Pull request #433 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2e27cbd6fcc71841d42891bb243eba61834b58f2+30f086e472ba45efbfdabc7b924c06da27b16fd7 (9d9956373ee3af14c696b2a33b39c3ad6c9833e3) 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-ssh13122449243461534290.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh5394584223270463070.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-433/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-433/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4176707668688892380.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-433/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6716050957789283811.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8724497054714440140.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-433/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-433/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12857456686210173197.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/v3]] ========================================================= [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.21 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2524 in /w/workspace/undry_device-onvif-camera_PR-433 [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-433 # 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 30f086e472ba45efbfdabc7b924c06da27b16fd7 into PR head commit 2e27cbd6fcc71841d42891bb243eba61834b58f2 Merge succeeded, producing 2e27cbd6fcc71841d42891bb243eba61834b58f2 Checking out Revision 2e27cbd6fcc71841d42891bb243eba61834b58f2 (PR-433) Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.4 to 4.12.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/433/head:refs/remotes/origin/PR-433 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e27cbd6fcc71841d42891bb243eba61834b58f2 # 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 30f086e472ba45efbfdabc7b924c06da27b16fd7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e27cbd6fcc71841d42891bb243eba61834b58f2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-16T03:23:53.917Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-16T03:23:54.150Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-16T03:23:54.279Z] ========================================================= [2024-04-16T03:23:54.279Z] EdgeX Global Pipelines Version Info [2024-04-16T03:23:54.279Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-16T03:23:55.033Z] ------------------- [2024-04-16T03:23:55.033Z] stable info: [2024-04-16T03:23:55.033Z] ------------------- [2024-04-16T03:23:55.033Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-16T03:23:55.033Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-16T03:23:55.033Z] Message: update stable to v1.0.258 [2024-04-16T03:23:55.973Z] ------------------- [2024-04-16T03:23:55.973Z] experimental info: [2024-04-16T03:23:55.973Z] ------------------- [2024-04-16T03:23:55.973Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-16T03:23:55.973Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-16T03:23:55.973Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-16T03:23:56.177Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-04-16T03:23:56.226Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-04-16T03:23:56.291Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-16T03:23:56.342Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-16T03:23:56.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-16T03:23:56.446Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-04-16T03:23:56.494Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-04-16T03:23:56.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-04-16T03:23:56.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-04-16T03:23:56.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-16T03:23:56.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-16T03:23:56.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-04-16T03:23:56.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-16T03:23:56.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-16T03:23:56.894Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-16T03:23:56.944Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-04-16T03:23:56.991Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-04-16T03:23:57.043Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-04-16T03:23:57.091Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-16T03:23:57.150Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-16T03:23:57.200Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-04-16T03:23:57.249Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-04-16T03:23:57.297Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-04-16T03:23:57.352Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-04-16T03:23:57.405Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-04-16T03:23:57.458Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-16T03:23:57.507Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-04-16T03:23:57.559Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-433 [Pipeline] echo [2024-04-16T03:23:57.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-433 [Pipeline] echo [2024-04-16T03:23:57.661Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-433 [Pipeline] echo [2024-04-16T03:23:57.723Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e27cbd6fcc71841d42891bb243eba61834b58f2 [Pipeline] echo [2024-04-16T03:23:57.772Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e27cbd [Pipeline] echo [2024-04-16T03:23:57.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-16T03:23:57.954Z] provisioning config files... [2024-04-16T03:23:57.966Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-433@tmp/config6661890028387330697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T03:23:58.356Z] ---> ****-login.sh [2024-04-16T03:23:58.356Z] nexus3.edgexfoundry.org:10001 [2024-04-16T03:23:58.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:23:58.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:23:58.617Z] Configure a credential helper to remove this warning. See [2024-04-16T03:23:58.617Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:23:58.617Z] [2024-04-16T03:23:58.617Z] Login Succeeded [2024-04-16T03:23:58.617Z] nexus3.edgexfoundry.org:10002 [2024-04-16T03:23:58.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:23:58.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:23:58.617Z] Configure a credential helper to remove this warning. See [2024-04-16T03:23:58.617Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:23:58.617Z] [2024-04-16T03:23:58.617Z] Login Succeeded [2024-04-16T03:23:58.617Z] nexus3.edgexfoundry.org:10003 [2024-04-16T03:23:58.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:23:58.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:23:58.877Z] Configure a credential helper to remove this warning. See [2024-04-16T03:23:58.877Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:23:58.877Z] [2024-04-16T03:23:58.877Z] Login Succeeded [2024-04-16T03:23:58.877Z] nexus3.edgexfoundry.org:10004 [2024-04-16T03:23:58.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:23:58.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:23:58.877Z] Configure a credential helper to remove this warning. See [2024-04-16T03:23:58.877Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:23:58.877Z] [2024-04-16T03:23:58.877Z] Login Succeeded [2024-04-16T03:23:58.877Z] ****.io [2024-04-16T03:23:58.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:23:59.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:23:59.136Z] Configure a credential helper to remove this warning. See [2024-04-16T03:23:59.136Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:23:59.136Z] [2024-04-16T03:23:59.136Z] Login Succeeded [2024-04-16T03:23:59.136Z] ---> ****-login.sh ends [Pipeline] } [2024-04-16T03:23:59.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-04-16T03:23:59.803Z] + git rev-list -1 --merges 2e27cbd6fcc71841d42891bb243eba61834b58f2~1..2e27cbd6fcc71841d42891bb243eba61834b58f2 [Pipeline] echo [2024-04-16T03:23:59.845Z] -----------> git rev-list -1 --merges 2e27cbd6fcc71841d42891bb243eba61834b58f2~1..2e27cbd6fcc71841d42891bb243eba61834b58f2 2e27cbd6fcc71841d42891bb243eba61834b58f2 [false] [Pipeline] sh [2024-04-16T03:24:00.163Z] + git log --format=format:%s -1 2e27cbd6fcc71841d42891bb243eba61834b58f2 [Pipeline] echo [2024-04-16T03:24:00.198Z] ========================================================= [2024-04-16T03:24:00.198Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-16T03:24:00.198Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-16T03:24:00.639Z] + git log --format=format:%s -1 2e27cbd6fcc71841d42891bb243eba61834b58f2 [Pipeline] echo [2024-04-16T03:24:00.691Z] [semverPrep] GIT_COMMIT: 2e27cbd6fcc71841d42891bb243eba61834b58f2, Commit Message: build(deps): Bump github.com/labstack/echo/v4 from 4.11.4 to 4.12.0 [Pipeline] echo [2024-04-16T03:24:00.731Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-04-16T03:24:01.120Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-16T03:24:01.120Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-16T03:24:01.120Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-16T03:24:01.120Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-16T03:24:01.120Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-16T03:24:01.120Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-16T03:24:01.120Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:24:01.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-16T03:24:01.559Z] [2024-04-16T03:24:01.559Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:24:01.947Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-16T03:24:01.947Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-16T03:24:01.947Z] b85a868b505f: Pulling fs layer [2024-04-16T03:24:01.947Z] e2be974225ed: Pulling fs layer [2024-04-16T03:24:01.947Z] 339a4e72a1f5: Pulling fs layer [2024-04-16T03:24:01.947Z] 988bab9f4d93: Pulling fs layer [2024-04-16T03:24:01.947Z] 1469e6f7b9e6: Pulling fs layer [2024-04-16T03:24:01.947Z] eaf3925da568: Pulling fs layer [2024-04-16T03:24:01.947Z] bab4dde63d76: Pulling fs layer [2024-04-16T03:24:01.947Z] bde34c3a00c8: Pulling fs layer [2024-04-16T03:24:01.947Z] b352a97aabf1: Pulling fs layer [2024-04-16T03:24:01.947Z] 4872d77fe225: Pulling fs layer [2024-04-16T03:24:01.947Z] 5851b861e8e6: Pulling fs layer [2024-04-16T03:24:01.947Z] bde34c3a00c8: Waiting [2024-04-16T03:24:01.947Z] b352a97aabf1: Waiting [2024-04-16T03:24:01.947Z] 988bab9f4d93: Waiting [2024-04-16T03:24:01.947Z] 1469e6f7b9e6: Waiting [2024-04-16T03:24:01.947Z] eaf3925da568: Waiting [2024-04-16T03:24:01.947Z] 4872d77fe225: Waiting [2024-04-16T03:24:01.947Z] 5851b861e8e6: Waiting [2024-04-16T03:24:01.947Z] bab4dde63d76: Waiting [2024-04-16T03:24:01.947Z] e2be974225ed: Verifying Checksum [2024-04-16T03:24:01.947Z] e2be974225ed: Download complete [2024-04-16T03:24:01.947Z] 988bab9f4d93: Verifying Checksum [2024-04-16T03:24:01.947Z] 988bab9f4d93: Download complete [2024-04-16T03:24:01.947Z] 1469e6f7b9e6: Verifying Checksum [2024-04-16T03:24:01.947Z] 1469e6f7b9e6: Download complete [2024-04-16T03:24:02.206Z] eaf3925da568: Verifying Checksum [2024-04-16T03:24:02.206Z] eaf3925da568: Download complete [2024-04-16T03:24:02.206Z] 339a4e72a1f5: Verifying Checksum [2024-04-16T03:24:02.206Z] 339a4e72a1f5: Download complete [2024-04-16T03:24:02.206Z] bde34c3a00c8: Verifying Checksum [2024-04-16T03:24:02.206Z] bde34c3a00c8: Download complete [2024-04-16T03:24:02.206Z] b352a97aabf1: Verifying Checksum [2024-04-16T03:24:02.206Z] b352a97aabf1: Download complete [2024-04-16T03:24:02.206Z] 4872d77fe225: Verifying Checksum [2024-04-16T03:24:02.206Z] 4872d77fe225: Download complete [2024-04-16T03:24:02.206Z] 5851b861e8e6: Download complete [2024-04-16T03:24:02.206Z] b85a868b505f: Verifying Checksum [2024-04-16T03:24:02.206Z] b85a868b505f: Download complete [2024-04-16T03:24:02.464Z] bab4dde63d76: Verifying Checksum [2024-04-16T03:24:02.464Z] bab4dde63d76: Download complete [2024-04-16T03:24:03.401Z] b85a868b505f: Pull complete [2024-04-16T03:24:03.661Z] e2be974225ed: Pull complete [2024-04-16T03:24:03.926Z] 339a4e72a1f5: Pull complete [2024-04-16T03:24:04.187Z] 988bab9f4d93: Pull complete [2024-04-16T03:24:04.446Z] 1469e6f7b9e6: Pull complete [2024-04-16T03:24:04.446Z] eaf3925da568: Pull complete [2024-04-16T03:24:06.350Z] bab4dde63d76: Pull complete [2024-04-16T03:24:06.350Z] bde34c3a00c8: Pull complete [2024-04-16T03:24:06.350Z] b352a97aabf1: Pull complete [2024-04-16T03:24:06.350Z] 4872d77fe225: Pull complete [2024-04-16T03:24:06.350Z] 5851b861e8e6: Pull complete [2024-04-16T03:24:06.350Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-16T03:24:06.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-16T03:24:06.350Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T03:24:06.633Z] prd-ubuntu20.04-docker-8c-8g-2524 does not seem to be running inside a container [2024-04-16T03:24:06.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-433 -v /w/workspace/undry_device-onvif-camera_PR-433:/w/workspace/undry_device-onvif-camera_PR-433:rw,z -v /w/workspace/undry_device-onvif-camera_PR-433@tmp:/w/workspace/undry_device-onvif-camera_PR-433@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-16T03:24:10.575Z] $ docker top 0cf5a4d0fd0ad18ab44ca7ff29fd08ae1c243ee9e0c04ad43ef7a9b745373f2e -eo pid,comm [2024-04-16T03:24:10.622Z] 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). [2024-04-16T03:24:10.622Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-16T03:24:10.759Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-16T03:24:10.759Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-16T03:24:10.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-16T03:24:10.873Z] $ docker exec 0cf5a4d0fd0ad18ab44ca7ff29fd08ae1c243ee9e0c04ad43ef7a9b745373f2e ssh-agent [2024-04-16T03:24:10.986Z] SSH_AUTH_SOCK=/tmp/ssh-Txsk8BjysDHr/agent.32 [2024-04-16T03:24:10.986Z] SSH_AGENT_PID=38 [2024-04-16T03:24:10.994Z] Running ssh-add (command line suppressed) [2024-04-16T03:24:11.104Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-433@tmp/private_key_11342408778170678214.key (/w/workspace/undry_device-onvif-camera_PR-433@tmp/private_key_11342408778170678214.key) [2024-04-16T03:24:11.116Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-16T03:24:11.447Z] + git tag --points-at HEAD [Pipeline] } [2024-04-16T03:24:11.475Z] $ docker exec --env ******** --env ******** 0cf5a4d0fd0ad18ab44ca7ff29fd08ae1c243ee9e0c04ad43ef7a9b745373f2e ssh-agent -k [2024-04-16T03:24:11.563Z] unset SSH_AUTH_SOCK; [2024-04-16T03:24:11.564Z] unset SSH_AGENT_PID; [2024-04-16T03:24:11.564Z] echo Agent pid 38 killed; [2024-04-16T03:24:11.572Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-16T03:24:11.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-16T03:24:11.672Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-16T03:24:11.793Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-16T03:24:11.799Z] $ docker exec 0cf5a4d0fd0ad18ab44ca7ff29fd08ae1c243ee9e0c04ad43ef7a9b745373f2e ssh-agent [2024-04-16T03:24:11.894Z] SSH_AUTH_SOCK=/tmp/ssh-9OyOEEDuZtta/agent.72 [2024-04-16T03:24:11.894Z] SSH_AGENT_PID=78 [2024-04-16T03:24:11.899Z] Running ssh-add (command line suppressed) [2024-04-16T03:24:12.043Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-433@tmp/private_key_4139802626187529493.key (/w/workspace/undry_device-onvif-camera_PR-433@tmp/private_key_4139802626187529493.key) [2024-04-16T03:24:12.053Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-16T03:24:12.388Z] + git semver init [2024-04-16T03:24:12.647Z] 2024-04-16 03:24:12,586 [run_init] DEBUG init version:0.0.0 force:False [2024-04-16T03:24:12.647Z] 2024-04-16 03:24:12,587 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-433/.semver [2024-04-16T03:24:12.647Z] 2024-04-16 03:24:12,587 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-433/.semver [2024-04-16T03:24:12.647Z] 2024-04-16 03:24:12,587 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-433/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-433, universal_newlines=False, shell=None, istream=None) [2024-04-16T03:24:14.553Z] 2024-04-16 03:24:14,039 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-433/.git/info/exclude [2024-04-16T03:24:14.553Z] 2024-04-16 03:24:14,039 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-433/.semver/PR-433 with force:False [2024-04-16T03:24:14.553Z] 2024-04-16 03:24:14,039 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-433/.semver/PR-433 [2024-04-16T03:24:14.553Z] 2024-04-16 03:24:14,043 [execute] INFO git cat-file --batch-check [2024-04-16T03:24:14.553Z] 2024-04-16 03:24:14,044 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-433/.semver, universal_newlines=False, shell=None, istream=) [2024-04-16T03:24:14.553Z] 2024-04-16 03:24:14,049 [execute] INFO git cat-file --batch [2024-04-16T03:24:14.553Z] 2024-04-16 03:24:14,050 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-433/.semver, universal_newlines=False, shell=None, istream=) [2024-04-16T03:24:14.553Z] 2024-04-16 03:24:14,053 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-433/.semver/PR-433 [2024-04-16T03:24:14.553Z] 0.0.0 [Pipeline] } [2024-04-16T03:24:14.579Z] $ docker exec --env ******** --env ******** 0cf5a4d0fd0ad18ab44ca7ff29fd08ae1c243ee9e0c04ad43ef7a9b745373f2e ssh-agent -k [2024-04-16T03:24:14.676Z] unset SSH_AUTH_SOCK; [2024-04-16T03:24:14.676Z] unset SSH_AGENT_PID; [2024-04-16T03:24:14.676Z] echo Agent pid 78 killed; [2024-04-16T03:24:14.685Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-16T03:24:15.127Z] + git semver [Pipeline] } [2024-04-16T03:24:15.413Z] $ docker stop --time=1 0cf5a4d0fd0ad18ab44ca7ff29fd08ae1c243ee9e0c04ad43ef7a9b745373f2e [2024-04-16T03:24:16.742Z] $ docker rm -f --volumes 0cf5a4d0fd0ad18ab44ca7ff29fd08ae1c243ee9e0c04ad43ef7a9b745373f2e [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-16T03:24:17.150Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-16T03:24:17.448Z] Stashed 1 file(s) [Pipeline] echo [2024-04-16T03:24:17.465Z] [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 [2024-04-16T03:24:18.121Z] provisioning config files... [2024-04-16T03:24:18.131Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-433@tmp/config14948444678459779233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T03:24:18.485Z] ---> ****-login.sh [2024-04-16T03:24:18.485Z] nexus3.edgexfoundry.org:10001 [2024-04-16T03:24:18.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:24:18.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:24:18.485Z] Configure a credential helper to remove this warning. See [2024-04-16T03:24:18.485Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:24:18.485Z] [2024-04-16T03:24:18.485Z] Login Succeeded [2024-04-16T03:24:18.485Z] nexus3.edgexfoundry.org:10002 [2024-04-16T03:24:18.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:24:18.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:24:18.485Z] Configure a credential helper to remove this warning. See [2024-04-16T03:24:18.485Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:24:18.485Z] [2024-04-16T03:24:18.485Z] Login Succeeded [2024-04-16T03:24:18.485Z] nexus3.edgexfoundry.org:10003 [2024-04-16T03:24:18.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:24:18.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:24:18.745Z] Configure a credential helper to remove this warning. See [2024-04-16T03:24:18.745Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:24:18.745Z] [2024-04-16T03:24:18.745Z] Login Succeeded [2024-04-16T03:24:18.746Z] nexus3.edgexfoundry.org:10004 [2024-04-16T03:24:18.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:24:18.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:24:18.746Z] Configure a credential helper to remove this warning. See [2024-04-16T03:24:18.746Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:24:18.746Z] [2024-04-16T03:24:18.746Z] Login Succeeded [2024-04-16T03:24:18.746Z] ****.io [2024-04-16T03:24:18.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:24:19.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:24:19.006Z] Configure a credential helper to remove this warning. See [2024-04-16T03:24:19.006Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:24:19.006Z] [2024-04-16T03:24:19.006Z] Login Succeeded [2024-04-16T03:24:19.006Z] ---> ****-login.sh ends [Pipeline] } [2024-04-16T03:24:19.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-16T03:24:19.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T03:24:19.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T03:24:19.324Z] ========================================================= [2024-04-16T03:24:19.324Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-04-16T03:24:19.324Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:24:19.808Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-16T03:24:19.809Z] Sending build context to Docker daemon 34.33MB [2024-04-16T03:24:19.809Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-04-16T03:24:19.809Z] Step 2/13 : FROM ${BASE} AS builder [2024-04-16T03:24:20.068Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-04-16T03:24:20.069Z] 7264a8db6415: Pulling fs layer [2024-04-16T03:24:20.069Z] c4d48a809fc2: Pulling fs layer [2024-04-16T03:24:20.069Z] 4f1c88b9dad5: Pulling fs layer [2024-04-16T03:24:20.069Z] ad3a456e5733: Pulling fs layer [2024-04-16T03:24:20.069Z] 69c7f0334f64: Pulling fs layer [2024-04-16T03:24:20.069Z] 1f1c1a5573a3: Pulling fs layer [2024-04-16T03:24:20.069Z] ce7588e14bc9: Pulling fs layer [2024-04-16T03:24:20.069Z] b5e4710f87ac: Pulling fs layer [2024-04-16T03:24:20.069Z] ad3a456e5733: Waiting [2024-04-16T03:24:20.069Z] 69c7f0334f64: Waiting [2024-04-16T03:24:20.069Z] 1f1c1a5573a3: Waiting [2024-04-16T03:24:20.069Z] ce7588e14bc9: Waiting [2024-04-16T03:24:20.069Z] b5e4710f87ac: Waiting [2024-04-16T03:24:20.069Z] c4d48a809fc2: Download complete [2024-04-16T03:24:20.069Z] ad3a456e5733: Verifying Checksum [2024-04-16T03:24:20.069Z] ad3a456e5733: Download complete [2024-04-16T03:24:20.069Z] 69c7f0334f64: Verifying Checksum [2024-04-16T03:24:20.069Z] 69c7f0334f64: Download complete [2024-04-16T03:24:20.069Z] 7264a8db6415: Verifying Checksum [2024-04-16T03:24:20.069Z] 7264a8db6415: Download complete [2024-04-16T03:24:20.069Z] 1f1c1a5573a3: Verifying Checksum [2024-04-16T03:24:20.069Z] 1f1c1a5573a3: Download complete [2024-04-16T03:24:20.328Z] b5e4710f87ac: Verifying Checksum [2024-04-16T03:24:20.328Z] b5e4710f87ac: Download complete [2024-04-16T03:24:20.586Z] 7264a8db6415: Pull complete [2024-04-16T03:24:20.844Z] 4f1c88b9dad5: Verifying Checksum [2024-04-16T03:24:20.844Z] 4f1c88b9dad5: Download complete [2024-04-16T03:24:20.844Z] c4d48a809fc2: Pull complete [2024-04-16T03:24:21.106Z] ce7588e14bc9: Verifying Checksum [2024-04-16T03:24:21.106Z] ce7588e14bc9: Download complete [2024-04-16T03:24:24.394Z] 4f1c88b9dad5: Pull complete [2024-04-16T03:24:24.394Z] ad3a456e5733: Pull complete [2024-04-16T03:24:24.394Z] 69c7f0334f64: Pull complete [2024-04-16T03:24:24.394Z] 1f1c1a5573a3: Pull complete [2024-04-16T03:24:26.934Z] ce7588e14bc9: Pull complete [2024-04-16T03:24:27.194Z] b5e4710f87ac: Pull complete [2024-04-16T03:24:27.194Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-04-16T03:24:27.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-16T03:24:27.194Z] ---> 88b5674ff536 [2024-04-16T03:24:27.194Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-04-16T03:24:32.467Z] ---> Running in dc7e2ed74cf5 [2024-04-16T03:24:32.467Z] Removing intermediate container dc7e2ed74cf5 [2024-04-16T03:24:32.467Z] ---> 8650c94e386f [2024-04-16T03:24:32.467Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-16T03:24:32.467Z] ---> Running in 772768d8a7a8 [2024-04-16T03:24:32.468Z] Removing intermediate container 772768d8a7a8 [2024-04-16T03:24:32.468Z] ---> cb09bc6fe3b1 [2024-04-16T03:24:32.468Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-04-16T03:24:32.468Z] ---> Running in f1c4d2adf8ff [2024-04-16T03:24:32.468Z] Removing intermediate container f1c4d2adf8ff [2024-04-16T03:24:32.468Z] ---> baf020fe1805 [2024-04-16T03:24:32.468Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-04-16T03:24:32.468Z] ---> Running in 0d0825edd22b [2024-04-16T03:24:32.468Z] Removing intermediate container 0d0825edd22b [2024-04-16T03:24:32.468Z] ---> 1435cf63440a [2024-04-16T03:24:32.468Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-04-16T03:24:32.468Z] ---> Running in 4e1374828990 [2024-04-16T03:24:32.468Z] Removing intermediate container 4e1374828990 [2024-04-16T03:24:32.468Z] ---> 1858a0ce3747 [2024-04-16T03:24:32.468Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-04-16T03:24:32.468Z] ---> Running in 0e3941d92452 [2024-04-16T03:24:32.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T03:24:32.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T03:24:32.919Z] Still waiting to schedule task [2024-04-16T03:24:32.920Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-04-16T03:24:32.985Z] OK: 264 MiB in 52 packages [2024-04-16T03:24:33.552Z] Removing intermediate container 0e3941d92452 [2024-04-16T03:24:33.552Z] ---> 4c2b8386d0a4 [2024-04-16T03:24:33.552Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-04-16T03:24:33.552Z] ---> Running in de9d413bd45e [2024-04-16T03:24:33.552Z] Removing intermediate container de9d413bd45e [2024-04-16T03:24:33.552Z] ---> bd1fcc6b9ac7 [2024-04-16T03:24:33.552Z] Step 10/13 : COPY go.mod vendor* ./ [2024-04-16T03:24:33.552Z] ---> 2f9c59cca556 [2024-04-16T03:24:33.552Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-16T03:24:33.552Z] ---> Running in 0a47f45ceb89 [2024-04-16T03:25:05.632Z] Removing intermediate container 0a47f45ceb89 [2024-04-16T03:25:05.632Z] ---> 5d04e72f5073 [2024-04-16T03:25:05.632Z] Step 12/13 : COPY . . [2024-04-16T03:25:05.632Z] ---> ab10798b71a9 [2024-04-16T03:25:05.632Z] Step 13/13 : RUN ${MAKE} [2024-04-16T03:25:05.632Z] ---> Running in aae9caa16fc5 [2024-04-16T03:25:05.632Z] noop [2024-04-16T03:25:05.891Z] Removing intermediate container aae9caa16fc5 [2024-04-16T03:25:05.891Z] ---> 0d1d5e57beea [2024-04-16T03:25:05.891Z] Successfully built 0d1d5e57beea [2024-04-16T03:25:05.891Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:25:06.355Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-16T03:25:06.355Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T03:25:06.504Z] prd-ubuntu20.04-docker-8c-8g-2524 does not seem to be running inside a container [2024-04-16T03:25:06.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-433 -v /w/workspace/undry_device-onvif-camera_PR-433:/w/workspace/undry_device-onvif-camera_PR-433:rw,z -v /w/workspace/undry_device-onvif-camera_PR-433@tmp:/w/workspace/undry_device-onvif-camera_PR-433@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 ******** ci-base-image-x86_64 cat [2024-04-16T03:25:06.849Z] $ docker top a574d82e7c8301edaa7b9b37d93fceaf5281e666179ef6f1a8b01c7f4098fb0b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T03:25:07.239Z] + go version [2024-04-16T03:25:07.239Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-04-16T03:25:07.273Z] $ docker stop --time=1 a574d82e7c8301edaa7b9b37d93fceaf5281e666179ef6f1a8b01c7f4098fb0b [2024-04-16T03:25:08.540Z] $ docker rm -f --volumes a574d82e7c8301edaa7b9b37d93fceaf5281e666179ef6f1a8b01c7f4098fb0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:25:09.285Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-16T03:25:09.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T03:25:09.458Z] prd-ubuntu20.04-docker-8c-8g-2524 does not seem to be running inside a container [2024-04-16T03:25:09.494Z] $ 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-433 -v /w/workspace/undry_device-onvif-camera_PR-433:/w/workspace/undry_device-onvif-camera_PR-433:rw,z -v /w/workspace/undry_device-onvif-camera_PR-433@tmp:/w/workspace/undry_device-onvif-camera_PR-433@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 ******** ci-base-image-x86_64 cat [2024-04-16T03:25:09.847Z] $ docker top 27f99d2912c060b828f69a851be057e82613b6628c85ce66836861a9a725204b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T03:25:10.240Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-433 [Pipeline] fileExists [Pipeline] sh [2024-04-16T03:25:10.608Z] + make test [2024-04-16T03:25:10.609Z] go test ./... -coverprofile=coverage.out ./... [2024-04-16T03:25:11.989Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-04-16T03:25:21.959Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-04-16T03:25:22.216Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-04-16T03:25:24.770Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.047s coverage: 31.5% of statements [2024-04-16T03:25:24.770Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.147s coverage: 86.5% of statements [2024-04-16T03:25:31.318Z] go vet ./... [2024-04-16T03:25:34.597Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-16T03:25:34.597Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-16T03:25:34.597Z] ./bin/test-attribution-txt.sh [2024-04-16T03:25:34.597Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-16T03:25:34.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-16T03:25:34.682Z] $ docker stop --time=1 27f99d2912c060b828f69a851be057e82613b6628c85ce66836861a9a725204b [2024-04-16T03:25:41.647Z] $ docker rm -f --volumes 27f99d2912c060b828f69a851be057e82613b6628c85ce66836861a9a725204b [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-16T03:25:42.195Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-16T03:25:42.290Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-04-16T03:25:43.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-16T03:25:43.317Z] + ls -al . [2024-04-16T03:25:43.317Z] total 248 [2024-04-16T03:25:43.317Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 03:25 . [2024-04-16T03:25:43.317Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 03:23 .. [2024-04-16T03:25:43.317Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 03:25 .git [2024-04-16T03:25:43.317Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 03:23 .github [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 493 Apr 16 03:23 .gitignore [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 16 03:23 .golangci.yml [2024-04-16T03:25:43.317Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 16 03:24 .semver [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 11155 Apr 16 03:23 Attribution.txt [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 17665 Apr 16 03:23 CHANGELOG.md [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 1683 Apr 16 03:23 Dockerfile [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 16 03:23 GOVERNANCE.md [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 739 Apr 16 03:23 Jenkinsfile [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 16 03:23 LICENSE [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 2883 Apr 16 03:23 Makefile [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 16 03:23 OWNERS.md [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 2620 Apr 16 03:23 README.md [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 03:24 VERSION [2024-04-16T03:25:43.317Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 03:23 bin [2024-04-16T03:25:43.317Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 03:23 cmd [2024-04-16T03:25:43.317Z] -rw-r--r-- 1 jenkins jenkins 78456 Apr 16 03:25 coverage.out [2024-04-16T03:25:43.317Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 03:23 doc [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 4132 Apr 16 03:23 go.mod [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 36973 Apr 16 03:23 go.sum [2024-04-16T03:25:43.317Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 03:23 internal [2024-04-16T03:25:43.317Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 16 03:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:25:43.834Z] + 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=2e27cbd6fcc71841d42891bb243eba61834b58f2 --label arch=amd64 --label version=0.0.0 . [2024-04-16T03:25:43.834Z] Sending build context to Docker daemon 34.41MB [2024-04-16T03:25:43.834Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-04-16T03:25:43.834Z] Step 2/27 : FROM ${BASE} AS builder [2024-04-16T03:25:43.834Z] ---> 0d1d5e57beea [2024-04-16T03:25:43.834Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-04-16T03:25:46.375Z] ---> Running in 10c3e4f73a43 [2024-04-16T03:25:46.635Z] Removing intermediate container 10c3e4f73a43 [2024-04-16T03:25:46.635Z] ---> a848a742792e [2024-04-16T03:25:46.635Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-16T03:25:46.635Z] ---> Running in 7eaed74847f0 [2024-04-16T03:25:46.635Z] Removing intermediate container 7eaed74847f0 [2024-04-16T03:25:46.635Z] ---> 51942dee5e3f [2024-04-16T03:25:46.635Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-04-16T03:25:46.635Z] ---> Running in 425887c1c931 [2024-04-16T03:25:46.895Z] Removing intermediate container 425887c1c931 [2024-04-16T03:25:46.895Z] ---> 8110838832e8 [2024-04-16T03:25:46.895Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-04-16T03:25:46.895Z] ---> Running in 465944079a25 [2024-04-16T03:25:46.895Z] Removing intermediate container 465944079a25 [2024-04-16T03:25:46.895Z] ---> 17ca90a96f7e [2024-04-16T03:25:46.895Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-04-16T03:25:47.153Z] ---> Running in 1c82489483f2 [2024-04-16T03:25:47.153Z] Removing intermediate container 1c82489483f2 [2024-04-16T03:25:47.153Z] ---> 1c5f173f1e73 [2024-04-16T03:25:47.153Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-04-16T03:25:47.153Z] ---> Running in b371c9af7b8f [2024-04-16T03:25:47.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T03:25:47.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T03:25:47.981Z] OK: 264 MiB in 52 packages [2024-04-16T03:25:48.549Z] Removing intermediate container b371c9af7b8f [2024-04-16T03:25:48.549Z] ---> 13496db405e9 [2024-04-16T03:25:48.549Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-04-16T03:25:48.549Z] ---> Running in 63dc5b57aaeb [2024-04-16T03:25:48.549Z] Removing intermediate container 63dc5b57aaeb [2024-04-16T03:25:48.549Z] ---> 473a2147c5a5 [2024-04-16T03:25:48.549Z] Step 10/27 : COPY go.mod vendor* ./ [2024-04-16T03:25:48.549Z] ---> 04c4c0ab8461 [2024-04-16T03:25:48.549Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-16T03:25:48.549Z] ---> Running in 1fac6edc925c [2024-04-16T03:25:50.458Z] Removing intermediate container 1fac6edc925c [2024-04-16T03:25:50.458Z] ---> 64beb9f3dbdd [2024-04-16T03:25:50.458Z] Step 12/27 : COPY . . [2024-04-16T03:25:51.394Z] ---> ee871d1b9f0e [2024-04-16T03:25:51.394Z] Step 13/27 : RUN ${MAKE} [2024-04-16T03:25:51.394Z] ---> Running in cbb1603c6907 [2024-04-16T03:25:51.655Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-04-16T03:26:13.664Z] Removing intermediate container cbb1603c6907 [2024-04-16T03:26:13.664Z] ---> fcedafb0605c [2024-04-16T03:26:13.664Z] Step 14/27 : FROM alpine:3.18 [2024-04-16T03:26:13.664Z] 3.18: Pulling from library/alpine [2024-04-16T03:26:13.664Z] 619be1103602: Pulling fs layer [2024-04-16T03:26:13.664Z] 619be1103602: Verifying Checksum [2024-04-16T03:26:13.664Z] 619be1103602: Download complete [2024-04-16T03:26:13.664Z] 619be1103602: Pull complete [2024-04-16T03:26:13.664Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-16T03:26:13.664Z] Status: Downloaded newer image for alpine:3.18 [2024-04-16T03:26:13.664Z] ---> d3782b16ccc9 [2024-04-16T03:26:13.664Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-04-16T03:26:13.924Z] ---> Running in c640862a0416 [2024-04-16T03:26:13.924Z] Removing intermediate container c640862a0416 [2024-04-16T03:26:13.924Z] ---> 4d32b4f2b2c2 [2024-04-16T03:26:13.924Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-04-16T03:26:13.924Z] ---> Running in 10061045f809 [2024-04-16T03:26:14.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T03:26:14.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T03:26:14.771Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-16T03:26:14.771Z] Executing busybox-1.36.1-r5.trigger [2024-04-16T03:26:14.771Z] OK: 7 MiB in 16 packages [2024-04-16T03:26:19.382Z] Removing intermediate container 10061045f809 [2024-04-16T03:26:19.382Z] ---> 111cc7559102 [2024-04-16T03:26:19.382Z] Step 17/27 : RUN apk --no-cache upgrade [2024-04-16T03:26:19.382Z] ---> Running in 8f567abb16db [2024-04-16T03:26:21.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T03:26:21.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T03:26:21.744Z] Upgrading critical system libraries and apk-tools: [2024-04-16T03:26:21.744Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.3-r1) [2024-04-16T03:26:21.744Z] Executing busybox-1.36.1-r5.trigger [2024-04-16T03:26:21.744Z] Continuing the upgrade transaction with new apk-tools: [2024-04-16T03:26:21.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T03:26:21.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T03:26:22.002Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-16T03:26:22.002Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-16T03:26:22.002Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-16T03:26:22.002Z] OK: 7 MiB in 16 packages [2024-04-16T03:26:30.191Z] Removing intermediate container 8f567abb16db [2024-04-16T03:26:30.191Z] ---> c99bb12c9a8f [2024-04-16T03:26:30.191Z] Step 18/27 : WORKDIR / [2024-04-16T03:26:30.191Z] ---> Running in 9b4aff7f9c97 [2024-04-16T03:26:31.598Z] Removing intermediate container 9b4aff7f9c97 [2024-04-16T03:26:31.598Z] ---> 1d69e4f90180 [2024-04-16T03:26:31.598Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-04-16T03:26:33.521Z] ---> 24afb3e13386 [2024-04-16T03:26:33.521Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-04-16T03:26:34.919Z] ---> dcd987f1f652 [2024-04-16T03:26:34.919Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-04-16T03:26:37.466Z] ---> 392db7cb2ad6 [2024-04-16T03:26:37.466Z] Step 22/27 : EXPOSE 59984 [2024-04-16T03:26:38.411Z] ---> Running in 0eacbcc43ac6 [2024-04-16T03:26:40.982Z] Removing intermediate container 0eacbcc43ac6 [2024-04-16T03:26:40.982Z] ---> 23d3adb8344d [2024-04-16T03:26:40.982Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-04-16T03:26:41.930Z] ---> Running in 908a787d530c [2024-04-16T03:26:43.849Z] Removing intermediate container 908a787d530c [2024-04-16T03:26:43.849Z] ---> 8b5013ef1255 [2024-04-16T03:26:43.849Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-04-16T03:26:45.235Z] ---> Running in f4b483192e78 [2024-04-16T03:26:47.790Z] Removing intermediate container f4b483192e78 [2024-04-16T03:26:47.790Z] ---> fc512b0d4eb5 [2024-04-16T03:26:47.790Z] Step 25/27 : LABEL arch=amd64 [2024-04-16T03:26:50.339Z] ---> Running in a03adb09f2db [2024-04-16T03:26:51.282Z] Removing intermediate container a03adb09f2db [2024-04-16T03:26:51.282Z] ---> 3ddfc47c00ee [2024-04-16T03:26:51.282Z] Step 26/27 : LABEL git_sha=2e27cbd6fcc71841d42891bb243eba61834b58f2 [2024-04-16T03:26:51.282Z] ---> Running in 3d3ba0294d15 [2024-04-16T03:26:51.543Z] Removing intermediate container 3d3ba0294d15 [2024-04-16T03:26:51.543Z] ---> c786201d492a [2024-04-16T03:26:51.543Z] Step 27/27 : LABEL version=0.0.0 [2024-04-16T03:26:51.543Z] ---> Running in 2c64e9f6508a [2024-04-16T03:26:51.543Z] Removing intermediate container 2c64e9f6508a [2024-04-16T03:26:51.543Z] ---> 0c5c94c3bbe6 [2024-04-16T03:26:51.543Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-16T03:26:51.543Z] Successfully built 0c5c94c3bbe6 [2024-04-16T03:26:51.543Z] 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 [2024-04-16T03:26:52.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T03:26:52.552Z] [2024-04-16T03:26:52.552Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:26:52.945Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T03:26:52.945Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-16T03:26:52.945Z] 5eb5b503b376: Pulling fs layer [2024-04-16T03:26:52.945Z] 5c69ac0246d0: Pulling fs layer [2024-04-16T03:26:52.945Z] ec43610c2a17: Pulling fs layer [2024-04-16T03:26:52.945Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-16T03:26:52.945Z] 33b1e0a273af: Pulling fs layer [2024-04-16T03:26:52.945Z] 5d3b04190fa2: Pulling fs layer [2024-04-16T03:26:52.945Z] 2f39f015ded8: Pulling fs layer [2024-04-16T03:26:52.945Z] 2f39f015ded8: Waiting [2024-04-16T03:26:52.945Z] 3a2ae6a8a46f: Waiting [2024-04-16T03:26:52.945Z] 5d3b04190fa2: Waiting [2024-04-16T03:26:52.945Z] 5c69ac0246d0: Verifying Checksum [2024-04-16T03:26:52.945Z] 5c69ac0246d0: Download complete [2024-04-16T03:26:52.945Z] 3a2ae6a8a46f: Download complete [2024-04-16T03:26:52.945Z] 33b1e0a273af: Verifying Checksum [2024-04-16T03:26:52.945Z] 33b1e0a273af: Download complete [2024-04-16T03:26:52.945Z] ec43610c2a17: Verifying Checksum [2024-04-16T03:26:52.945Z] ec43610c2a17: Download complete [2024-04-16T03:26:52.945Z] 5d3b04190fa2: Verifying Checksum [2024-04-16T03:26:52.945Z] 5d3b04190fa2: Download complete [2024-04-16T03:26:53.202Z] 5eb5b503b376: Verifying Checksum [2024-04-16T03:26:53.202Z] 5eb5b503b376: Download complete [2024-04-16T03:26:53.767Z] 2f39f015ded8: Download complete [2024-04-16T03:26:54.334Z] 5eb5b503b376: Pull complete [2024-04-16T03:26:54.592Z] 5c69ac0246d0: Pull complete [2024-04-16T03:26:54.849Z] ec43610c2a17: Pull complete [2024-04-16T03:26:54.849Z] 3a2ae6a8a46f: Pull complete [2024-04-16T03:26:55.109Z] 33b1e0a273af: Pull complete [2024-04-16T03:26:55.367Z] 5d3b04190fa2: Pull complete [2024-04-16T03:26:59.554Z] 2f39f015ded8: Pull complete [2024-04-16T03:26:59.554Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-16T03:26:59.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T03:26:59.554Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T03:26:59.894Z] prd-ubuntu20.04-docker-8c-8g-2524 does not seem to be running inside a container [2024-04-16T03:26:59.986Z] $ 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-433 -v /w/workspace/undry_device-onvif-camera_PR-433:/w/workspace/undry_device-onvif-camera_PR-433:rw,z -v /w/workspace/undry_device-onvif-camera_PR-433@tmp:/w/workspace/undry_device-onvif-camera_PR-433@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-16T03:27:06.763Z] $ docker top fdec9bdb53f96acc86ecf5140e7dbd26356dd393e8ca950638402da3ca3c1bb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T03:27:07.270Z] ---> job-cost.sh [2024-04-16T03:27:07.271Z] lf-activate-venv: SKIPPING [2024-04-16T03:27:07.271Z] INFO: No Stack... [2024-04-16T03:27:07.528Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-16T03:27:07.786Z] INFO: Archiving Costs [Pipeline] sh [2024-04-16T03:27:08.100Z] + cat /w/workspace/undry_device-onvif-camera_PR-433/archives/cost.csv [2024-04-16T03:27:08.100Z] + cut -d, -f6 [Pipeline] lock [2024-04-16T03:27:08.140Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-433-1-stack-cost] [2024-04-16T03:27:08.145Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-433-1-stack-cost] did not exist. Created. [2024-04-16T03:27:08.149Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-433-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-16T03:27:08.622Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-16T03:27:08.784Z] Stashed 1 file(s) [Pipeline] } [2024-04-16T03:27:08.818Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-433-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-16T03:27:08.961Z] $ docker stop --time=1 fdec9bdb53f96acc86ecf5140e7dbd26356dd393e8ca950638402da3ca3c1bb1 [2024-04-16T03:27:10.233Z] $ docker rm -f --volumes fdec9bdb53f96acc86ecf5140e7dbd26356dd393e8ca950638402da3ca3c1bb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-16T03:27:13.279Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2526 in /w/workspace/undry_device-onvif-camera_PR-433 [Pipeline] { [Pipeline] ws [2024-04-16T03:27:13.345Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-04-16T03:27:16.443Z] The recommended git tool is: git [2024-04-16T03:27:21.640Z] using credential edgex-jenkins-ssh [2024-04-16T03:27:21.668Z] Cloning the remote Git repository [2024-04-16T03:27:21.714Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-04-16T03:27:21.810Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-04-16T03:27:21.962Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-04-16T03:27:21.963Z] > git --version # timeout=10 [2024-04-16T03:27:21.984Z] > git --version # 'git version 2.25.1' [2024-04-16T03:27:21.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-16T03:27:22.156Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-16T03:27:24.732Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-04-16T03:27:24.761Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-16T03:27:26.429Z] Merging remotes/origin/main commit 30f086e472ba45efbfdabc7b924c06da27b16fd7 into PR head commit 2e27cbd6fcc71841d42891bb243eba61834b58f2 [2024-04-16T03:27:25.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-04-16T03:27:25.914Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-04-16T03:27:25.915Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-16T03:27:25.941Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/433/head:refs/remotes/origin/PR-433 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-16T03:27:26.451Z] > git config core.sparsecheckout # timeout=10 [2024-04-16T03:27:26.812Z] Merge succeeded, producing 2e27cbd6fcc71841d42891bb243eba61834b58f2 [2024-04-16T03:27:26.813Z] Checking out Revision 2e27cbd6fcc71841d42891bb243eba61834b58f2 (PR-433) [2024-04-16T03:27:27.541Z] Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.4 to 4.12.0" [2024-04-16T03:27:27.592Z] > git --version # timeout=10 [2024-04-16T03:27:27.604Z] > git --version # 'git version 2.25.1' [2024-04-16T03:27:27.630Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-16T03:27:26.529Z] > git checkout -f 2e27cbd6fcc71841d42891bb243eba61834b58f2 # timeout=10 [2024-04-16T03:27:26.707Z] > git remote # timeout=10 [2024-04-16T03:27:26.726Z] > git config --get remote.origin.url # timeout=10 [2024-04-16T03:27:26.754Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-16T03:27:26.773Z] > git merge 30f086e472ba45efbfdabc7b924c06da27b16fd7 # timeout=10 [2024-04-16T03:27:26.797Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-16T03:27:26.820Z] > git config core.sparsecheckout # timeout=10 [2024-04-16T03:27:26.835Z] > git checkout -f 2e27cbd6fcc71841d42891bb243eba61834b58f2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-16T03:27:32.854Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-16T03:27:32.854Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-16T03:27:32.854Z] Dload Upload Total Spent Left Speed [2024-04-16T03:27:32.854Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 260k 0 --:--:-- --:--:-- --:--:-- 260k [Pipeline] sh [2024-04-16T03:27:33.205Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-16T03:27:33.547Z] + sudo tee /etc/docker/daemon.new [2024-04-16T03:27:33.547Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-16T03:27:33.547Z] { [2024-04-16T03:27:33.547Z] "registry-mirrors": [ [2024-04-16T03:27:33.547Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-16T03:27:33.547Z] ], [2024-04-16T03:27:33.547Z] "bip": "10.250.0.254/24", [2024-04-16T03:27:33.547Z] "hosts": [ [2024-04-16T03:27:33.547Z] "tcp://0.0.0.0:5555", [2024-04-16T03:27:33.547Z] "unix:///var/run/docker.sock" [2024-04-16T03:27:33.547Z] ], [2024-04-16T03:27:33.547Z] "mtu": 1458, [2024-04-16T03:27:33.547Z] "selinux-enabled": true, [2024-04-16T03:27:33.547Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-16T03:27:33.547Z] } [Pipeline] sh [2024-04-16T03:27:33.904Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-16T03:27:34.261Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-16T03:27:52.644Z] provisioning config files... [2024-04-16T03:27:52.676Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config17930393042965371955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T03:27:53.148Z] ---> ****-login.sh [2024-04-16T03:27:53.148Z] nexus3.edgexfoundry.org:10001 [2024-04-16T03:27:53.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:27:53.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:27:53.740Z] Configure a credential helper to remove this warning. See [2024-04-16T03:27:53.740Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:27:53.740Z] [2024-04-16T03:27:53.740Z] Login Succeeded [2024-04-16T03:27:53.740Z] nexus3.edgexfoundry.org:10002 [2024-04-16T03:27:54.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:27:54.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:27:54.281Z] Configure a credential helper to remove this warning. See [2024-04-16T03:27:54.281Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:27:54.281Z] [2024-04-16T03:27:54.281Z] Login Succeeded [2024-04-16T03:27:54.281Z] nexus3.edgexfoundry.org:10003 [2024-04-16T03:27:54.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:27:54.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:27:54.554Z] Configure a credential helper to remove this warning. See [2024-04-16T03:27:54.554Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:27:54.554Z] [2024-04-16T03:27:54.554Z] Login Succeeded [2024-04-16T03:27:54.554Z] nexus3.edgexfoundry.org:10004 [2024-04-16T03:27:54.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:27:54.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:27:54.824Z] Configure a credential helper to remove this warning. See [2024-04-16T03:27:54.824Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:27:54.824Z] [2024-04-16T03:27:54.824Z] Login Succeeded [2024-04-16T03:27:54.824Z] ****.io [2024-04-16T03:27:55.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T03:27:55.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T03:27:55.371Z] Configure a credential helper to remove this warning. See [2024-04-16T03:27:55.371Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T03:27:55.371Z] [2024-04-16T03:27:55.371Z] Login Succeeded [2024-04-16T03:27:55.371Z] ---> ****-login.sh ends [Pipeline] } [2024-04-16T03:27:55.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-16T03:27:55.840Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T03:27:55.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T03:27:55.932Z] ========================================================= [2024-04-16T03:27:55.932Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-04-16T03:27:55.932Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:27:56.452Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-16T03:27:57.039Z] Sending build context to Docker daemon 20.54MB [2024-04-16T03:27:57.039Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-04-16T03:27:57.039Z] Step 2/13 : FROM ${BASE} AS builder [2024-04-16T03:27:57.309Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-04-16T03:27:57.309Z] 9fda8d8052c6: Pulling fs layer [2024-04-16T03:27:57.309Z] 5d54e960e981: Pulling fs layer [2024-04-16T03:27:57.309Z] c4a7e357bf2a: Pulling fs layer [2024-04-16T03:27:57.309Z] f0e02332f6b5: Pulling fs layer [2024-04-16T03:27:57.309Z] 872ee5b61b7b: Pulling fs layer [2024-04-16T03:27:57.309Z] 0c6a40ed1a82: Pulling fs layer [2024-04-16T03:27:57.309Z] 94ae7d8d031c: Pulling fs layer [2024-04-16T03:27:57.309Z] 872ee5b61b7b: Waiting [2024-04-16T03:27:57.309Z] 0c6a40ed1a82: Waiting [2024-04-16T03:27:57.309Z] 94ae7d8d031c: Waiting [2024-04-16T03:27:57.309Z] f0e02332f6b5: Waiting [2024-04-16T03:27:57.309Z] 5d54e960e981: Verifying Checksum [2024-04-16T03:27:57.309Z] 5d54e960e981: Download complete [2024-04-16T03:27:57.309Z] f0e02332f6b5: Verifying Checksum [2024-04-16T03:27:57.309Z] f0e02332f6b5: Download complete [2024-04-16T03:27:57.309Z] 872ee5b61b7b: Download complete [2024-04-16T03:27:57.309Z] 9fda8d8052c6: Verifying Checksum [2024-04-16T03:27:57.309Z] 9fda8d8052c6: Download complete [2024-04-16T03:27:57.902Z] 94ae7d8d031c: Verifying Checksum [2024-04-16T03:27:57.902Z] 94ae7d8d031c: Download complete [2024-04-16T03:27:58.489Z] 9fda8d8052c6: Pull complete [2024-04-16T03:27:59.076Z] 5d54e960e981: Pull complete [2024-04-16T03:27:59.345Z] c4a7e357bf2a: Verifying Checksum [2024-04-16T03:27:59.345Z] c4a7e357bf2a: Download complete [2024-04-16T03:28:00.309Z] 0c6a40ed1a82: Verifying Checksum [2024-04-16T03:28:00.309Z] 0c6a40ed1a82: Download complete [2024-04-16T03:28:12.637Z] c4a7e357bf2a: Pull complete [2024-04-16T03:28:13.602Z] f0e02332f6b5: Pull complete [2024-04-16T03:28:13.602Z] 872ee5b61b7b: Pull complete [2024-04-16T03:28:21.832Z] 0c6a40ed1a82: Pull complete [2024-04-16T03:28:23.254Z] 94ae7d8d031c: Pull complete [2024-04-16T03:28:23.254Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-04-16T03:28:23.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-16T03:28:23.254Z] ---> 86de565de09d [2024-04-16T03:28:23.254Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-04-16T03:28:25.194Z] ---> Running in 3443d64ea695 [2024-04-16T03:28:25.470Z] Removing intermediate container 3443d64ea695 [2024-04-16T03:28:25.470Z] ---> c2dd5174fe76 [2024-04-16T03:28:25.470Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-16T03:28:25.470Z] ---> Running in 591d9ca8396e [2024-04-16T03:28:25.738Z] Removing intermediate container 591d9ca8396e [2024-04-16T03:28:25.738Z] ---> 6bfb56fc6398 [2024-04-16T03:28:25.738Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-04-16T03:28:25.738Z] ---> Running in 01ddf55e9b64 [2024-04-16T03:28:26.010Z] Removing intermediate container 01ddf55e9b64 [2024-04-16T03:28:26.010Z] ---> a1f0b57657af [2024-04-16T03:28:26.010Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-04-16T03:28:26.281Z] ---> Running in 7c9e3f81c142 [2024-04-16T03:28:26.550Z] Removing intermediate container 7c9e3f81c142 [2024-04-16T03:28:26.550Z] ---> 3602e4cf670a [2024-04-16T03:28:26.550Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-04-16T03:28:26.550Z] ---> Running in 9dc5f5e43d84 [2024-04-16T03:28:26.820Z] Removing intermediate container 9dc5f5e43d84 [2024-04-16T03:28:26.820Z] ---> 7b02f8eebbe6 [2024-04-16T03:28:26.820Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-04-16T03:28:27.088Z] ---> Running in e25cbd6e6093 [2024-04-16T03:28:28.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T03:28:28.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-16T03:28:29.600Z] OK: 266 MiB in 52 packages [2024-04-16T03:28:30.563Z] Removing intermediate container e25cbd6e6093 [2024-04-16T03:28:30.563Z] ---> 94c11d0ddb87 [2024-04-16T03:28:30.563Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-04-16T03:28:30.563Z] ---> Running in 25738df17e9f [2024-04-16T03:28:30.834Z] Removing intermediate container 25738df17e9f [2024-04-16T03:28:30.834Z] ---> cafc92b0cf02 [2024-04-16T03:28:30.834Z] Step 10/13 : COPY go.mod vendor* ./ [2024-04-16T03:28:31.424Z] ---> 6136196a5b74 [2024-04-16T03:28:31.424Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-16T03:28:31.424Z] ---> Running in 03efd4d9b6b6 [2024-04-16T03:29:39.399Z] Removing intermediate container 03efd4d9b6b6 [2024-04-16T03:29:39.399Z] ---> f920c6c626fe [2024-04-16T03:29:39.399Z] Step 12/13 : COPY . . [2024-04-16T03:29:39.399Z] ---> 115315dddae0 [2024-04-16T03:29:39.399Z] Step 13/13 : RUN ${MAKE} [2024-04-16T03:29:39.399Z] ---> Running in 743c25dc8725 [2024-04-16T03:29:39.399Z] noop [2024-04-16T03:29:39.399Z] Removing intermediate container 743c25dc8725 [2024-04-16T03:29:39.399Z] ---> f5e664004643 [2024-04-16T03:29:39.399Z] Successfully built f5e664004643 [2024-04-16T03:29:39.399Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:29:39.904Z] + docker inspect -f . ci-base-image-arm64 [2024-04-16T03:29:39.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T03:29:40.204Z] prd-ubuntu20.04-docker-arm64-4c-16g-2526 does not seem to be running inside a container [2024-04-16T03:29:40.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2024-04-16T03:29:41.557Z] $ docker top 0549ec456c012476e4897f9cf6b2b95a03f516c1aa56baa17b07e4594a4a6137 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T03:29:42.476Z] + go version [2024-04-16T03:29:42.476Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-04-16T03:29:42.515Z] $ docker stop --time=1 0549ec456c012476e4897f9cf6b2b95a03f516c1aa56baa17b07e4594a4a6137 [2024-04-16T03:29:44.171Z] $ docker rm -f --volumes 0549ec456c012476e4897f9cf6b2b95a03f516c1aa56baa17b07e4594a4a6137 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:29:45.069Z] + docker inspect -f . ci-base-image-arm64 [2024-04-16T03:29:45.069Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T03:29:45.329Z] prd-ubuntu20.04-docker-arm64-4c-16g-2526 does not seem to be running inside a container [2024-04-16T03:29:45.392Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2024-04-16T03:29:46.620Z] $ docker top 1e81a612424b42b3569871fa8bc9a81dd8a7d2d2abd6ef391c0c17782b7dafc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T03:29:47.521Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-04-16T03:29:48.248Z] + make test [2024-04-16T03:29:48.248Z] go test ./... -coverprofile=coverage.out ./... [2024-04-16T03:29:51.597Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-04-16T03:31:43.251Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-04-16T03:31:43.251Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-04-16T03:31:43.251Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.176s coverage: 31.5% of statements [2024-04-16T03:31:51.477Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.068s coverage: 86.5% of statements [2024-04-16T03:31:51.747Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-04-16T03:31:51.747Z] go vet ./... [2024-04-16T03:32:18.402Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-16T03:32:18.402Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-16T03:32:18.402Z] ./bin/test-attribution-txt.sh [2024-04-16T03:32:18.402Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-16T03:32:18.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-16T03:32:18.631Z] $ docker stop --time=1 1e81a612424b42b3569871fa8bc9a81dd8a7d2d2abd6ef391c0c17782b7dafc6 [2024-04-16T03:32:20.356Z] $ docker rm -f --volumes 1e81a612424b42b3569871fa8bc9a81dd8a7d2d2abd6ef391c0c17782b7dafc6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-16T03:32:21.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-16T03:32:21.692Z] Warning: overwriting stash ‘coverage-report’ [2024-04-16T03:32:22.190Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-16T03:32:22.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-16T03:32:23.136Z] + ls -al . [2024-04-16T03:32:23.136Z] total 244 [2024-04-16T03:32:23.136Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 03:29 . [2024-04-16T03:32:23.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 03:27 .. [2024-04-16T03:32:23.136Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 03:27 .git [2024-04-16T03:32:23.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 03:27 .github [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 493 Apr 16 03:27 .gitignore [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 16 03:27 .golangci.yml [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 11155 Apr 16 03:27 Attribution.txt [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 17665 Apr 16 03:27 CHANGELOG.md [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 1683 Apr 16 03:27 Dockerfile [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 16 03:27 GOVERNANCE.md [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 739 Apr 16 03:27 Jenkinsfile [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 16 03:27 LICENSE [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 2883 Apr 16 03:27 Makefile [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 16 03:27 OWNERS.md [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 2620 Apr 16 03:27 README.md [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 03:24 VERSION [2024-04-16T03:32:23.136Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 03:27 bin [2024-04-16T03:32:23.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 03:27 cmd [2024-04-16T03:32:23.136Z] -rw-r--r-- 1 jenkins jenkins 78456 Apr 16 03:31 coverage.out [2024-04-16T03:32:23.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 03:27 doc [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 4132 Apr 16 03:27 go.mod [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 36973 Apr 16 03:27 go.sum [2024-04-16T03:32:23.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 03:27 internal [2024-04-16T03:32:23.136Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 16 03:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:32:23.556Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2e27cbd6fcc71841d42891bb243eba61834b58f2 --label arch=arm64 --label version=0.0.0 . [2024-04-16T03:32:24.134Z] Sending build context to Docker daemon 20.62MB [2024-04-16T03:32:24.134Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-04-16T03:32:24.134Z] Step 2/27 : FROM ${BASE} AS builder [2024-04-16T03:32:24.134Z] ---> f5e664004643 [2024-04-16T03:32:24.134Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-04-16T03:32:24.399Z] ---> Running in 90f55cf1a3f5 [2024-04-16T03:32:24.665Z] Removing intermediate container 90f55cf1a3f5 [2024-04-16T03:32:24.665Z] ---> 5c3f732b6ab5 [2024-04-16T03:32:24.665Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-16T03:32:24.665Z] ---> Running in ab378ac07c44 [2024-04-16T03:32:24.930Z] Removing intermediate container ab378ac07c44 [2024-04-16T03:32:24.930Z] ---> ad3dc37a616d [2024-04-16T03:32:24.930Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-04-16T03:32:25.194Z] ---> Running in ab78df476a23 [2024-04-16T03:32:25.459Z] Removing intermediate container ab78df476a23 [2024-04-16T03:32:25.459Z] ---> 568e0bed122f [2024-04-16T03:32:25.459Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-04-16T03:32:25.459Z] ---> Running in 010b8b54477c [2024-04-16T03:32:25.724Z] Removing intermediate container 010b8b54477c [2024-04-16T03:32:25.724Z] ---> 5478d4db1028 [2024-04-16T03:32:25.724Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-04-16T03:32:25.724Z] ---> Running in 1655fdcbd1bd [2024-04-16T03:32:25.999Z] Removing intermediate container 1655fdcbd1bd [2024-04-16T03:32:25.999Z] ---> e2e75c484ec7 [2024-04-16T03:32:25.999Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-04-16T03:32:25.999Z] ---> Running in 55ed267219b2 [2024-04-16T03:32:26.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T03:32:27.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-16T03:32:28.496Z] OK: 266 MiB in 52 packages [2024-04-16T03:32:29.452Z] Removing intermediate container 55ed267219b2 [2024-04-16T03:32:29.452Z] ---> 40e5f8c412ab [2024-04-16T03:32:29.452Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-04-16T03:32:29.452Z] ---> Running in f7f46abc4e8b [2024-04-16T03:32:29.717Z] Removing intermediate container f7f46abc4e8b [2024-04-16T03:32:29.717Z] ---> 94888274a205 [2024-04-16T03:32:29.717Z] Step 10/27 : COPY go.mod vendor* ./ [2024-04-16T03:32:29.984Z] ---> 7fa3cb52a090 [2024-04-16T03:32:29.984Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-16T03:32:30.253Z] ---> Running in 34c501568a42 [2024-04-16T03:32:32.200Z] Removing intermediate container 34c501568a42 [2024-04-16T03:32:32.200Z] ---> 9559fd1ba94f [2024-04-16T03:32:32.200Z] Step 12/27 : COPY . . [2024-04-16T03:32:33.610Z] ---> a65c03d828cd [2024-04-16T03:32:33.610Z] Step 13/27 : RUN ${MAKE} [2024-04-16T03:32:33.610Z] ---> Running in 93cbc1fe740a [2024-04-16T03:32:34.569Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-04-16T03:34:26.285Z] Removing intermediate container 93cbc1fe740a [2024-04-16T03:34:26.285Z] ---> e27817ce88f1 [2024-04-16T03:34:26.285Z] Step 14/27 : FROM alpine:3.18 [2024-04-16T03:34:26.285Z] 3.18: Pulling from library/alpine [2024-04-16T03:34:26.285Z] c6b39de5b339: Pulling fs layer [2024-04-16T03:34:26.285Z] c6b39de5b339: Verifying Checksum [2024-04-16T03:34:26.285Z] c6b39de5b339: Download complete [2024-04-16T03:34:26.285Z] c6b39de5b339: Pull complete [2024-04-16T03:34:26.285Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-16T03:34:26.285Z] Status: Downloaded newer image for alpine:3.18 [2024-04-16T03:34:26.285Z] ---> 33abbf032149 [2024-04-16T03:34:26.285Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-04-16T03:34:26.285Z] ---> Running in b85194b1be77 [2024-04-16T03:34:26.285Z] Removing intermediate container b85194b1be77 [2024-04-16T03:34:26.285Z] ---> e17461872d31 [2024-04-16T03:34:26.285Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-04-16T03:34:26.285Z] ---> Running in 6e9eef2dc230 [2024-04-16T03:34:26.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T03:34:26.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-16T03:34:27.954Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-16T03:34:27.954Z] Executing busybox-1.36.1-r5.trigger [2024-04-16T03:34:27.954Z] OK: 8 MiB in 16 packages [2024-04-16T03:34:28.915Z] Removing intermediate container 6e9eef2dc230 [2024-04-16T03:34:28.915Z] ---> 3ca986cd2e0f [2024-04-16T03:34:28.915Z] Step 17/27 : RUN apk --no-cache upgrade [2024-04-16T03:34:28.915Z] ---> Running in abec59941892 [2024-04-16T03:34:29.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T03:34:30.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-16T03:34:31.107Z] Upgrading critical system libraries and apk-tools: [2024-04-16T03:34:31.107Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.3-r1) [2024-04-16T03:34:31.107Z] Executing busybox-1.36.1-r5.trigger [2024-04-16T03:34:31.374Z] Continuing the upgrade transaction with new apk-tools: [2024-04-16T03:34:31.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T03:34:31.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-16T03:34:32.603Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-16T03:34:32.603Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-16T03:34:32.603Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-16T03:34:32.872Z] OK: 8 MiB in 16 packages [2024-04-16T03:34:33.827Z] Removing intermediate container abec59941892 [2024-04-16T03:34:33.827Z] ---> a4af54e97600 [2024-04-16T03:34:33.827Z] Step 18/27 : WORKDIR / [2024-04-16T03:34:33.827Z] ---> Running in 8cef222539d8 [2024-04-16T03:34:34.094Z] Removing intermediate container 8cef222539d8 [2024-04-16T03:34:34.094Z] ---> 9ddc562df7d4 [2024-04-16T03:34:34.094Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-04-16T03:34:35.497Z] ---> 642d09957c83 [2024-04-16T03:34:35.497Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-04-16T03:34:36.079Z] ---> 9f5163607216 [2024-04-16T03:34:36.079Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-04-16T03:34:36.347Z] ---> af31b4ddabb3 [2024-04-16T03:34:36.347Z] Step 22/27 : EXPOSE 59984 [2024-04-16T03:34:36.618Z] ---> Running in ebb956884fb0 [2024-04-16T03:34:36.885Z] Removing intermediate container ebb956884fb0 [2024-04-16T03:34:36.885Z] ---> 919b324f9fde [2024-04-16T03:34:36.885Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-04-16T03:34:36.885Z] ---> Running in 1413a90990f2 [2024-04-16T03:34:37.153Z] Removing intermediate container 1413a90990f2 [2024-04-16T03:34:37.153Z] ---> fc3ccfec4e18 [2024-04-16T03:34:37.153Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-04-16T03:34:37.422Z] ---> Running in e80eefd61cb9 [2024-04-16T03:34:37.688Z] Removing intermediate container e80eefd61cb9 [2024-04-16T03:34:37.688Z] ---> 3938c52c298c [2024-04-16T03:34:37.688Z] Step 25/27 : LABEL arch=arm64 [2024-04-16T03:34:37.688Z] ---> Running in 7f99c7064570 [2024-04-16T03:34:37.955Z] Removing intermediate container 7f99c7064570 [2024-04-16T03:34:37.955Z] ---> b5ab3138e9b3 [2024-04-16T03:34:37.955Z] Step 26/27 : LABEL git_sha=2e27cbd6fcc71841d42891bb243eba61834b58f2 [2024-04-16T03:34:37.955Z] ---> Running in 03ec472e4478 [2024-04-16T03:34:38.222Z] Removing intermediate container 03ec472e4478 [2024-04-16T03:34:38.222Z] ---> a1c5047770db [2024-04-16T03:34:38.222Z] Step 27/27 : LABEL version=0.0.0 [2024-04-16T03:34:38.222Z] ---> Running in 8d750f9820e2 [2024-04-16T03:34:38.805Z] Removing intermediate container 8d750f9820e2 [2024-04-16T03:34:38.805Z] ---> 8fe44e792d5b [2024-04-16T03:34:38.805Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-16T03:34:38.805Z] Successfully built 8fe44e792d5b [2024-04-16T03:34:38.805Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:34:39.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-16T03:34:39.722Z] [2024-04-16T03:34:39.722Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:34:40.159Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-16T03:34:40.159Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-16T03:34:40.159Z] 8998bd30e6a1: Pulling fs layer [2024-04-16T03:34:40.159Z] 04944245beec: Pulling fs layer [2024-04-16T03:34:40.159Z] 699f458cf7ca: Pulling fs layer [2024-04-16T03:34:40.159Z] 765212b225bb: Pulling fs layer [2024-04-16T03:34:40.159Z] f23df028b6ca: Pulling fs layer [2024-04-16T03:34:40.159Z] d65c8cfc05b1: Pulling fs layer [2024-04-16T03:34:40.159Z] 2437ff75d9bd: Pulling fs layer [2024-04-16T03:34:40.159Z] 765212b225bb: Waiting [2024-04-16T03:34:40.159Z] f23df028b6ca: Waiting [2024-04-16T03:34:40.159Z] d65c8cfc05b1: Waiting [2024-04-16T03:34:40.159Z] 2437ff75d9bd: Waiting [2024-04-16T03:34:40.439Z] 04944245beec: Verifying Checksum [2024-04-16T03:34:40.439Z] 04944245beec: Download complete [2024-04-16T03:34:40.439Z] 765212b225bb: Verifying Checksum [2024-04-16T03:34:40.439Z] 765212b225bb: Download complete [2024-04-16T03:34:40.439Z] f23df028b6ca: Verifying Checksum [2024-04-16T03:34:40.439Z] f23df028b6ca: Download complete [2024-04-16T03:34:40.439Z] d65c8cfc05b1: Verifying Checksum [2024-04-16T03:34:40.439Z] d65c8cfc05b1: Download complete [2024-04-16T03:34:40.713Z] 699f458cf7ca: Verifying Checksum [2024-04-16T03:34:40.713Z] 699f458cf7ca: Download complete [2024-04-16T03:34:40.985Z] 8998bd30e6a1: Verifying Checksum [2024-04-16T03:34:40.985Z] 8998bd30e6a1: Download complete [2024-04-16T03:34:43.581Z] 2437ff75d9bd: Verifying Checksum [2024-04-16T03:34:43.581Z] 2437ff75d9bd: Download complete [2024-04-16T03:34:46.162Z] 8998bd30e6a1: Pull complete [2024-04-16T03:34:46.162Z] 04944245beec: Pull complete [2024-04-16T03:34:48.106Z] 699f458cf7ca: Pull complete [2024-04-16T03:34:48.106Z] 765212b225bb: Pull complete [2024-04-16T03:34:49.066Z] f23df028b6ca: Pull complete [2024-04-16T03:34:49.066Z] d65c8cfc05b1: Pull complete [2024-04-16T03:35:07.259Z] 2437ff75d9bd: Pull complete [2024-04-16T03:35:07.259Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-16T03:35:07.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-16T03:35:07.259Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T03:35:07.602Z] prd-ubuntu20.04-docker-arm64-4c-16g-2526 does not seem to be running inside a container [2024-04-16T03:35:07.661Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-04-16T03:35:10.496Z] $ docker top fb83274b433a3845e50ce20e7bcf1ed31a82baf20ed1e698e9ca4780909c8cd6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T03:35:11.409Z] ---> job-cost.sh [2024-04-16T03:35:11.409Z] lf-activate-venv: SKIPPING [2024-04-16T03:35:11.409Z] INFO: No Stack... [2024-04-16T03:35:11.684Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-16T03:35:12.642Z] INFO: Archiving Costs [Pipeline] sh [2024-04-16T03:35:13.305Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-04-16T03:35:13.305Z] + cut -d, -f6 [Pipeline] lock [2024-04-16T03:35:13.378Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-433-1-stack-cost] [2024-04-16T03:35:13.387Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-433-1-stack-cost] did not exist. Created. [2024-04-16T03:35:13.394Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-433-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-16T03:35:14.135Z] /w/workspace/device-onvif-camera/1@tmp/durable-acf2a104/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-16T03:35:14.798Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-16T03:35:14.833Z] Warning: overwriting stash ‘stack-cost’ [2024-04-16T03:35:14.895Z] Stashed 1 file(s) [Pipeline] } [2024-04-16T03:35:14.910Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-433-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-16T03:35:14.995Z] $ docker stop --time=1 fb83274b433a3845e50ce20e7bcf1ed31a82baf20ed1e698e9ca4780909c8cd6 [2024-04-16T03:35:16.554Z] $ docker rm -f --volumes fb83274b433a3845e50ce20e7bcf1ed31a82baf20ed1e698e9ca4780909c8cd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-04-16T03:35:17.737Z] provisioning config files... [2024-04-16T03:35:17.744Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-433@tmp/config7172906028149564210tmp [Pipeline] { [Pipeline] sh [2024-04-16T03:35:18.106Z] + set +x [2024-04-16T03:35:18.106Z] + + curl -s https://codecov.io/bash [2024-04-16T03:35:18.106Z] bash -s -- [2024-04-16T03:35:18.106Z] [2024-04-16T03:35:18.106Z] _____ _ [2024-04-16T03:35:18.106Z] / ____| | | [2024-04-16T03:35:18.106Z] | | ___ __| | ___ ___ _____ __ [2024-04-16T03:35:18.106Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-04-16T03:35:18.106Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-04-16T03:35:18.106Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-04-16T03:35:18.106Z] Bash-1.0.6 [2024-04-16T03:35:18.106Z] [2024-04-16T03:35:18.106Z] [2024-04-16T03:35:18.106Z] ==> git version 2.25.1 found [2024-04-16T03:35:18.106Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-04-16T03:35:18.106Z] Release-Date: 2020-01-08 [2024-04-16T03:35:18.106Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-04-16T03:35:18.106Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-04-16T03:35:18.106Z] ==> Jenkins CI detected. [2024-04-16T03:35:18.106Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-433 [2024-04-16T03:35:18.106Z] project root: . [2024-04-16T03:35:18.106Z] --> token set from env [2024-04-16T03:35:18.106Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-04-16T03:35:18.365Z] ==> Running gcov in . (disable via -X gcov) [2024-04-16T03:35:18.365Z] ==> Python coveragepy not found [2024-04-16T03:35:18.365Z] ==> Searching for coverage reports in: [2024-04-16T03:35:18.365Z] + . [2024-04-16T03:35:18.365Z] -> Found 1 reports [2024-04-16T03:35:18.365Z] ==> Detecting git/mercurial file structure [2024-04-16T03:35:18.365Z] ==> Reading reports [2024-04-16T03:35:18.365Z] + ./coverage.out bytes=78456 [2024-04-16T03:35:18.365Z] ==> Appending adjustments [2024-04-16T03:35:18.365Z] https://docs.codecov.io/docs/fixing-reports [2024-04-16T03:35:18.365Z] + Found adjustments [2024-04-16T03:35:18.365Z] ==> Gzipping contents [2024-04-16T03:35:18.365Z] 12K /tmp/codecov.dQ28Fh.gz [2024-04-16T03:35:18.365Z] ==> Uploading reports [2024-04-16T03:35:18.365Z] url: https://codecov.io [2024-04-16T03:35:18.365Z] query: branch=PR-433&commit=2e27cbd6fcc71841d42891bb243eba61834b58f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-433%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=433&job=&cmd_args= [2024-04-16T03:35:18.365Z] -> Pinging Codecov [2024-04-16T03:35:18.365Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-433&commit=2e27cbd6fcc71841d42891bb243eba61834b58f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-433%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=433&job=&cmd_args= [2024-04-16T03:35:18.625Z] -> Uploading to [2024-04-16T03:35:18.625Z] https://storage.googleapis.com/codecov/v4/raw/2024-04-16/F29A59C45E3A92E06B3E522C9905F8EF/2e27cbd6fcc71841d42891bb243eba61834b58f2/39f406e7-dbec-45e9-83e7-0ac431871aa3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240416%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240416T033518Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a53d2eded9b2562a07b92d8fc8c9e5a99efed87ebc2c5f4465ad71a8153c72e [2024-04-16T03:35:18.625Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-16T03:35:18.625Z] Dload Upload Total Spent Left Speed [2024-04-16T03:35:18.885Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 37330 --:--:-- --:--:-- --:--:-- 37330 [2024-04-16T03:35:18.885Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/2e27cbd6fcc71841d42891bb243eba61834b58f2 [Pipeline] } [2024-04-16T03:35:18.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-04-16T03:35:20.773Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-433/archives ] [2024-04-16T03:35:20.773Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-433/archives [2024-04-16T03:35:20.773Z] total 16 [2024-04-16T03:35:20.773Z] drwxr-xr-x 3 root root 4096 Apr 16 03:27 . [2024-04-16T03:35:20.773Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 03:27 .. [2024-04-16T03:35:20.773Z] drwxr-xr-x 2 root root 4096 Apr 16 03:27 cost [2024-04-16T03:35:20.773Z] -rw-r--r-- 1 root root 91 Apr 16 03:27 cost.csv [2024-04-16T03:35:20.773Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-433/archives [2024-04-16T03:35:20.773Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-433/archives [2024-04-16T03:35:20.773Z] total 16 [2024-04-16T03:35:20.773Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 16 03:27 . [2024-04-16T03:35:20.773Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 03:27 .. [2024-04-16T03:35:20.773Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 16 03:27 cost [2024-04-16T03:35:20.773Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 16 03:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-16T03:35:21.101Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T03:35:21.977Z] ---> package-listing.sh [2024-04-16T03:35:21.977Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-16T03:35:21.977Z] ++ facter osfamily [2024-04-16T03:35:22.237Z] + OS_FAMILY=debian [2024-04-16T03:35:22.237Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-433 [2024-04-16T03:35:22.237Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-16T03:35:22.237Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-16T03:35:22.237Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-16T03:35:22.237Z] + PACKAGES=/tmp/packages_start.txt [2024-04-16T03:35:22.237Z] + '[' /w/workspace/undry_device-onvif-camera_PR-433 ']' [2024-04-16T03:35:22.237Z] + PACKAGES=/tmp/packages_end.txt [2024-04-16T03:35:22.237Z] + case "${OS_FAMILY}" in [2024-04-16T03:35:22.237Z] + dpkg -l [2024-04-16T03:35:22.237Z] + grep '^ii' [2024-04-16T03:35:22.237Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-16T03:35:22.237Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-16T03:35:22.237Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-16T03:35:22.237Z] + '[' /w/workspace/undry_device-onvif-camera_PR-433 ']' [2024-04-16T03:35:22.237Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-433/archives/ [2024-04-16T03:35:22.237Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-433/archives/ [Pipeline] echo [2024-04-16T03:35:22.268Z] 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-433/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-16T03:35:22.556Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T03:35:23.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T03:35:23.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T03:35:23.331Z] prd-ubuntu20.04-docker-8c-8g-2524 does not seem to be running inside a container [2024-04-16T03:35:23.359Z] $ 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-433/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-433 -v /w/workspace/undry_device-onvif-camera_PR-433:/w/workspace/undry_device-onvif-camera_PR-433:rw,z -v /w/workspace/undry_device-onvif-camera_PR-433@tmp:/w/workspace/undry_device-onvif-camera_PR-433@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-16T03:35:25.128Z] $ docker top e9343394e6468560ef82691cc33866165eff7511a4080d43821af31313b47241 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T03:35:25.524Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-16T03:35:25.832Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-16T03:35:26.134Z] + ls /var/log/sa-host [2024-04-16T03:35:26.134Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-16T03:35:26.373Z] provisioning config files... [2024-04-16T03:35:26.381Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-433@tmp/config9586496980976385267tmp [Pipeline] { [Pipeline] echo [2024-04-16T03:35:26.446Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T03:35:26.759Z] ---> create-netrc.sh [Pipeline] } [2024-04-16T03:35:26.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-16T03:35:27.200Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-16T03:35:27.234Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T03:35:27.541Z] ---> sudo-logs.sh [2024-04-16T03:35:27.541Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-16T03:35:27.635Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T03:35:28.010Z] ---> job-cost.sh [2024-04-16T03:35:28.010Z] lf-activate-venv: SKIPPING [2024-04-16T03:35:28.010Z] DEBUG: total: 0.2199999988079071 [2024-04-16T03:35:28.010Z] INFO: Retrieving Stack Cost... [2024-04-16T03:35:28.269Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-16T03:35:28.838Z] INFO: Archiving Costs [Pipeline] echo [2024-04-16T03:35:28.873Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T03:35:29.178Z] ---> logs-deploy.sh [2024-04-16T03:35:29.178Z] lf-activate-venv: SKIPPING [2024-04-16T03:35:29.178Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-433/1 [2024-04-16T03:35:29.178Z] INFO: archiving workspace using pattern(s): [2024-04-16T03:35:30.113Z] Archives upload complete. [2024-04-16T03:35:30.113Z] INFO: archiving logs to Nexus