Pull request #431 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c8daca3b4879355421fd448c3da50a7b31ffaa1e+30f086e472ba45efbfdabc7b924c06da27b16fd7 (62799fde00efed1551a6c4d8ec6066f1e7a608a0) 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-ssh10107516855199748958.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-ssh4640595720850996454.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-431/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-431/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17359096543014579488.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-431/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11352805668929980254.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-ssh11497690292951920486.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-431/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-431/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10285660407978794174.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-521 in /w/workspace/undry_device-onvif-camera_PR-431 [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-431 # 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 c8daca3b4879355421fd448c3da50a7b31ffaa1e Merge succeeded, producing c8daca3b4879355421fd448c3da50a7b31ffaa1e Checking out Revision c8daca3b4879355421fd448c3da50a7b31ffaa1e (PR-431) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 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/431/head:refs/remotes/origin/PR-431 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8daca3b4879355421fd448c3da50a7b31ffaa1e # 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 c8daca3b4879355421fd448c3da50a7b31ffaa1e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-21T04:03:58.184Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-21T04:03:58.381Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-21T04:03:58.494Z] ========================================================= [2024-03-21T04:03:58.494Z] EdgeX Global Pipelines Version Info [2024-03-21T04:03:58.494Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-21T04:03:59.262Z] ------------------- [2024-03-21T04:03:59.262Z] stable info: [2024-03-21T04:03:59.262Z] ------------------- [2024-03-21T04:03:59.262Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-21T04:03:59.262Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T04:03:59.262Z] Message: update stable to v1.0.258 [2024-03-21T04:03:59.834Z] ------------------- [2024-03-21T04:03:59.834Z] experimental info: [2024-03-21T04:03:59.834Z] ------------------- [2024-03-21T04:03:59.834Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-21T04:03:59.834Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T04:03:59.834Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-21T04:04:00.033Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-03-21T04:04:00.084Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-03-21T04:04:00.129Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-21T04:04:00.174Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-21T04:04:00.221Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-21T04:04:00.273Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-21T04:04:00.318Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-21T04:04:00.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-21T04:04:00.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-21T04:04:00.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-21T04:04:00.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-21T04:04:00.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-03-21T04:04:00.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-21T04:04:00.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-21T04:04:00.715Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-21T04:04:00.765Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-21T04:04:00.810Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-21T04:04:00.867Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-21T04:04:00.921Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-21T04:04:00.969Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-21T04:04:01.018Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-03-21T04:04:01.066Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-03-21T04:04:01.114Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-21T04:04:01.163Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-21T04:04:01.217Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-21T04:04:01.266Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-21T04:04:01.317Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-21T04:04:01.364Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-431 [Pipeline] echo [2024-03-21T04:04:01.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-431 [Pipeline] echo [2024-03-21T04:04:01.463Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-431 [Pipeline] echo [2024-03-21T04:04:01.513Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8daca3b4879355421fd448c3da50a7b31ffaa1e [Pipeline] echo [2024-03-21T04:04:01.566Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8daca3 [Pipeline] echo [2024-03-21T04:04:01.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T04:04:01.763Z] provisioning config files... [2024-03-21T04:04:01.777Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-431@tmp/config3461100063563494647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T04:04:02.170Z] ---> ****-login.sh [2024-03-21T04:04:02.170Z] nexus3.edgexfoundry.org:10001 [2024-03-21T04:04:02.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:04:02.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:04:02.690Z] Configure a credential helper to remove this warning. See [2024-03-21T04:04:02.690Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:04:02.690Z] [2024-03-21T04:04:02.690Z] Login Succeeded [2024-03-21T04:04:02.690Z] nexus3.edgexfoundry.org:10002 [2024-03-21T04:04:02.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:04:02.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:04:02.691Z] Configure a credential helper to remove this warning. See [2024-03-21T04:04:02.691Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:04:02.691Z] [2024-03-21T04:04:02.691Z] Login Succeeded [2024-03-21T04:04:02.691Z] nexus3.edgexfoundry.org:10003 [2024-03-21T04:04:02.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:04:02.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:04:02.691Z] Configure a credential helper to remove this warning. See [2024-03-21T04:04:02.691Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:04:02.691Z] [2024-03-21T04:04:02.691Z] Login Succeeded [2024-03-21T04:04:02.691Z] nexus3.edgexfoundry.org:10004 [2024-03-21T04:04:02.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:04:02.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:04:02.951Z] Configure a credential helper to remove this warning. See [2024-03-21T04:04:02.951Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:04:02.951Z] [2024-03-21T04:04:02.951Z] Login Succeeded [2024-03-21T04:04:02.951Z] ****.io [2024-03-21T04:04:02.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:04:03.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:04:03.211Z] Configure a credential helper to remove this warning. See [2024-03-21T04:04:03.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:04:03.211Z] [2024-03-21T04:04:03.211Z] Login Succeeded [2024-03-21T04:04:03.211Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T04:04:03.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-21T04:04:04.016Z] + git rev-list -1 --merges c8daca3b4879355421fd448c3da50a7b31ffaa1e~1..c8daca3b4879355421fd448c3da50a7b31ffaa1e [Pipeline] echo [2024-03-21T04:04:04.060Z] -----------> git rev-list -1 --merges c8daca3b4879355421fd448c3da50a7b31ffaa1e~1..c8daca3b4879355421fd448c3da50a7b31ffaa1e c8daca3b4879355421fd448c3da50a7b31ffaa1e [false] [Pipeline] sh [2024-03-21T04:04:04.394Z] + git log --format=format:%s -1 c8daca3b4879355421fd448c3da50a7b31ffaa1e [Pipeline] echo [2024-03-21T04:04:04.432Z] ========================================================= [2024-03-21T04:04:04.432Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-21T04:04:04.432Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T04:04:04.882Z] + git log --format=format:%s -1 c8daca3b4879355421fd448c3da50a7b31ffaa1e [Pipeline] echo [2024-03-21T04:04:04.916Z] [semverPrep] GIT_COMMIT: c8daca3b4879355421fd448c3da50a7b31ffaa1e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-03-21T04:04:04.950Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-21T04:04:05.356Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-21T04:04:05.356Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-21T04:04:05.356Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-21T04:04:05.356Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-21T04:04:05.356Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-21T04:04:05.356Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-21T04:04:05.356Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T04:04:05.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T04:04:05.843Z] [2024-03-21T04:04:05.843Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T04:04:06.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T04:04:06.211Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-21T04:04:06.211Z] b85a868b505f: Pulling fs layer [2024-03-21T04:04:06.211Z] e2be974225ed: Pulling fs layer [2024-03-21T04:04:06.211Z] 339a4e72a1f5: Pulling fs layer [2024-03-21T04:04:06.211Z] 988bab9f4d93: Pulling fs layer [2024-03-21T04:04:06.211Z] 1469e6f7b9e6: Pulling fs layer [2024-03-21T04:04:06.211Z] eaf3925da568: Pulling fs layer [2024-03-21T04:04:06.211Z] bab4dde63d76: Pulling fs layer [2024-03-21T04:04:06.211Z] bde34c3a00c8: Pulling fs layer [2024-03-21T04:04:06.211Z] b352a97aabf1: Pulling fs layer [2024-03-21T04:04:06.211Z] 4872d77fe225: Pulling fs layer [2024-03-21T04:04:06.211Z] 5851b861e8e6: Pulling fs layer [2024-03-21T04:04:06.211Z] bab4dde63d76: Waiting [2024-03-21T04:04:06.211Z] bde34c3a00c8: Waiting [2024-03-21T04:04:06.211Z] b352a97aabf1: Waiting [2024-03-21T04:04:06.211Z] 4872d77fe225: Waiting [2024-03-21T04:04:06.211Z] 5851b861e8e6: Waiting [2024-03-21T04:04:06.211Z] 988bab9f4d93: Waiting [2024-03-21T04:04:06.211Z] 1469e6f7b9e6: Waiting [2024-03-21T04:04:06.211Z] eaf3925da568: Waiting [2024-03-21T04:04:06.211Z] e2be974225ed: Verifying Checksum [2024-03-21T04:04:06.211Z] e2be974225ed: Download complete [2024-03-21T04:04:06.211Z] 988bab9f4d93: Verifying Checksum [2024-03-21T04:04:06.211Z] 988bab9f4d93: Download complete [2024-03-21T04:04:06.470Z] 1469e6f7b9e6: Verifying Checksum [2024-03-21T04:04:06.470Z] 1469e6f7b9e6: Download complete [2024-03-21T04:04:06.470Z] eaf3925da568: Verifying Checksum [2024-03-21T04:04:06.470Z] eaf3925da568: Download complete [2024-03-21T04:04:06.470Z] 339a4e72a1f5: Verifying Checksum [2024-03-21T04:04:06.470Z] 339a4e72a1f5: Download complete [2024-03-21T04:04:06.470Z] bde34c3a00c8: Download complete [2024-03-21T04:04:06.470Z] b352a97aabf1: Verifying Checksum [2024-03-21T04:04:06.470Z] b352a97aabf1: Download complete [2024-03-21T04:04:06.470Z] 4872d77fe225: Verifying Checksum [2024-03-21T04:04:06.470Z] 4872d77fe225: Download complete [2024-03-21T04:04:06.470Z] 5851b861e8e6: Verifying Checksum [2024-03-21T04:04:06.470Z] 5851b861e8e6: Download complete [2024-03-21T04:04:06.470Z] b85a868b505f: Verifying Checksum [2024-03-21T04:04:06.470Z] b85a868b505f: Download complete [2024-03-21T04:04:07.037Z] bab4dde63d76: Verifying Checksum [2024-03-21T04:04:07.037Z] bab4dde63d76: Download complete [2024-03-21T04:04:07.975Z] b85a868b505f: Pull complete [2024-03-21T04:04:07.975Z] e2be974225ed: Pull complete [2024-03-21T04:04:08.543Z] 339a4e72a1f5: Pull complete [2024-03-21T04:04:08.543Z] 988bab9f4d93: Pull complete [2024-03-21T04:04:08.802Z] 1469e6f7b9e6: Pull complete [2024-03-21T04:04:08.802Z] eaf3925da568: Pull complete [2024-03-21T04:04:10.701Z] bab4dde63d76: Pull complete [2024-03-21T04:04:10.701Z] bde34c3a00c8: Pull complete [2024-03-21T04:04:10.960Z] b352a97aabf1: Pull complete [2024-03-21T04:04:10.960Z] 4872d77fe225: Pull complete [2024-03-21T04:04:10.960Z] 5851b861e8e6: Pull complete [2024-03-21T04:04:10.960Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-21T04:04:10.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T04:04:10.960Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T04:04:11.232Z] prd-ubuntu20.04-docker-8c-8g-521 does not seem to be running inside a container [2024-03-21T04:04:11.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-431 -v /w/workspace/undry_device-onvif-camera_PR-431:/w/workspace/undry_device-onvif-camera_PR-431:rw,z -v /w/workspace/undry_device-onvif-camera_PR-431@tmp:/w/workspace/undry_device-onvif-camera_PR-431@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-03-21T04:04:14.520Z] $ docker top 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 -eo pid,comm [2024-03-21T04:04:14.580Z] 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-03-21T04:04:14.580Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-21T04:04:14.733Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T04:04:14.734Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T04:04:14.841Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T04:04:14.839Z] $ docker exec 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 ssh-agent [2024-03-21T04:04:14.952Z] SSH_AUTH_SOCK=/tmp/ssh-SFYpGMyA18NP/agent.31 [2024-03-21T04:04:14.952Z] SSH_AGENT_PID=37 [2024-03-21T04:04:14.958Z] Running ssh-add (command line suppressed) [2024-03-21T04:04:15.057Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-431@tmp/private_key_9352930651401137083.key (/w/workspace/undry_device-onvif-camera_PR-431@tmp/private_key_9352930651401137083.key) [2024-03-21T04:04:15.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T04:04:15.425Z] + git tag --points-at HEAD [Pipeline] } [2024-03-21T04:04:15.448Z] $ docker exec --env ******** --env ******** 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 ssh-agent -k [2024-03-21T04:04:15.538Z] unset SSH_AUTH_SOCK; [2024-03-21T04:04:15.539Z] unset SSH_AGENT_PID; [2024-03-21T04:04:15.539Z] echo Agent pid 37 killed; [2024-03-21T04:04:15.552Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-21T04:04:15.647Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T04:04:15.647Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T04:04:15.762Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T04:04:15.760Z] $ docker exec 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 ssh-agent [2024-03-21T04:04:15.873Z] SSH_AUTH_SOCK=/tmp/ssh-MwsFu494yLCD/agent.70 [2024-03-21T04:04:15.873Z] SSH_AGENT_PID=76 [2024-03-21T04:04:15.877Z] Running ssh-add (command line suppressed) [2024-03-21T04:04:15.986Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-431@tmp/private_key_1251945744294956919.key (/w/workspace/undry_device-onvif-camera_PR-431@tmp/private_key_1251945744294956919.key) [2024-03-21T04:04:16.003Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T04:04:16.331Z] + git semver init [2024-03-21T04:04:16.593Z] 2024-03-21 04:04:16,521 [run_init] DEBUG init version:0.0.0 force:False [2024-03-21T04:04:16.593Z] 2024-03-21 04:04:16,522 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-431/.semver [2024-03-21T04:04:16.593Z] 2024-03-21 04:04:16,523 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-431/.semver [2024-03-21T04:04:16.593Z] 2024-03-21 04:04:16,523 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-431/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-431, universal_newlines=False, shell=None, istream=None) [2024-03-21T04:04:18.499Z] 2024-03-21 04:04:18,108 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-431/.git/info/exclude [2024-03-21T04:04:18.500Z] 2024-03-21 04:04:18,109 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-431/.semver/PR-431 with force:False [2024-03-21T04:04:18.500Z] 2024-03-21 04:04:18,109 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-431/.semver/PR-431 [2024-03-21T04:04:18.500Z] 2024-03-21 04:04:18,113 [execute] INFO git cat-file --batch-check [2024-03-21T04:04:18.500Z] 2024-03-21 04:04:18,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-431/.semver, universal_newlines=False, shell=None, istream=) [2024-03-21T04:04:18.500Z] 2024-03-21 04:04:18,121 [execute] INFO git cat-file --batch [2024-03-21T04:04:18.500Z] 2024-03-21 04:04:18,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-431/.semver, universal_newlines=False, shell=None, istream=) [2024-03-21T04:04:18.500Z] 2024-03-21 04:04:18,126 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-431/.semver/PR-431 [2024-03-21T04:04:18.500Z] 0.0.0 [Pipeline] } [2024-03-21T04:04:18.522Z] $ docker exec --env ******** --env ******** 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 ssh-agent -k [2024-03-21T04:04:18.636Z] unset SSH_AUTH_SOCK; [2024-03-21T04:04:18.637Z] unset SSH_AGENT_PID; [2024-03-21T04:04:18.637Z] echo Agent pid 76 killed; [2024-03-21T04:04:18.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-21T04:04:19.091Z] + git semver [Pipeline] } [2024-03-21T04:04:19.372Z] $ docker stop --time=1 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 [2024-03-21T04:04:20.678Z] $ docker rm -f --volumes 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T04:04:21.087Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-21T04:04:21.360Z] Stashed 1 file(s) [Pipeline] echo [2024-03-21T04:04:21.377Z] [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-03-21T04:04:22.029Z] provisioning config files... [2024-03-21T04:04:22.042Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-431@tmp/config13876518480898173305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T04:04:22.401Z] ---> ****-login.sh [2024-03-21T04:04:22.402Z] nexus3.edgexfoundry.org:10001 [2024-03-21T04:04:22.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:04:22.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:04:22.402Z] Configure a credential helper to remove this warning. See [2024-03-21T04:04:22.402Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:04:22.402Z] [2024-03-21T04:04:22.402Z] Login Succeeded [2024-03-21T04:04:22.402Z] nexus3.edgexfoundry.org:10002 [2024-03-21T04:04:22.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:04:22.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:04:22.402Z] Configure a credential helper to remove this warning. See [2024-03-21T04:04:22.402Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:04:22.402Z] [2024-03-21T04:04:22.402Z] Login Succeeded [2024-03-21T04:04:22.402Z] nexus3.edgexfoundry.org:10003 [2024-03-21T04:04:22.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:04:22.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:04:22.665Z] Configure a credential helper to remove this warning. See [2024-03-21T04:04:22.665Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:04:22.665Z] [2024-03-21T04:04:22.665Z] Login Succeeded [2024-03-21T04:04:22.665Z] nexus3.edgexfoundry.org:10004 [2024-03-21T04:04:22.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:04:22.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:04:22.666Z] Configure a credential helper to remove this warning. See [2024-03-21T04:04:22.666Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:04:22.666Z] [2024-03-21T04:04:22.666Z] Login Succeeded [2024-03-21T04:04:22.666Z] ****.io [2024-03-21T04:04:22.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:04:22.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:04:22.927Z] Configure a credential helper to remove this warning. See [2024-03-21T04:04:22.928Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:04:22.928Z] [2024-03-21T04:04:22.928Z] Login Succeeded [2024-03-21T04:04:22.928Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T04:04:22.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-21T04:04:23.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T04:04:23.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T04:04:23.263Z] ========================================================= [2024-03-21T04:04:23.263Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-21T04:04:23.263Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T04:04:23.751Z] + 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-03-21T04:04:23.751Z] Sending build context to Docker daemon 34.4MB [2024-03-21T04:04:23.751Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T04:04:23.751Z] Step 2/13 : FROM ${BASE} AS builder [2024-03-21T04:04:24.010Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-21T04:04:24.010Z] 7264a8db6415: Pulling fs layer [2024-03-21T04:04:24.010Z] c4d48a809fc2: Pulling fs layer [2024-03-21T04:04:24.010Z] 4f1c88b9dad5: Pulling fs layer [2024-03-21T04:04:24.010Z] ad3a456e5733: Pulling fs layer [2024-03-21T04:04:24.010Z] 69c7f0334f64: Pulling fs layer [2024-03-21T04:04:24.010Z] 1f1c1a5573a3: Pulling fs layer [2024-03-21T04:04:24.010Z] ce7588e14bc9: Pulling fs layer [2024-03-21T04:04:24.010Z] b5e4710f87ac: Pulling fs layer [2024-03-21T04:04:24.010Z] 1f1c1a5573a3: Waiting [2024-03-21T04:04:24.010Z] 69c7f0334f64: Waiting [2024-03-21T04:04:24.010Z] b5e4710f87ac: Waiting [2024-03-21T04:04:24.010Z] ce7588e14bc9: Waiting [2024-03-21T04:04:24.010Z] ad3a456e5733: Waiting [2024-03-21T04:04:24.010Z] c4d48a809fc2: Download complete [2024-03-21T04:04:24.010Z] ad3a456e5733: Verifying Checksum [2024-03-21T04:04:24.010Z] ad3a456e5733: Download complete [2024-03-21T04:04:24.010Z] 69c7f0334f64: Download complete [2024-03-21T04:04:24.010Z] 7264a8db6415: Verifying Checksum [2024-03-21T04:04:24.010Z] 7264a8db6415: Download complete [2024-03-21T04:04:24.010Z] 1f1c1a5573a3: Verifying Checksum [2024-03-21T04:04:24.010Z] 1f1c1a5573a3: Download complete [2024-03-21T04:04:24.270Z] 7264a8db6415: Pull complete [2024-03-21T04:04:24.270Z] b5e4710f87ac: Verifying Checksum [2024-03-21T04:04:24.270Z] b5e4710f87ac: Download complete [2024-03-21T04:04:24.270Z] c4d48a809fc2: Pull complete [2024-03-21T04:04:24.529Z] 4f1c88b9dad5: Verifying Checksum [2024-03-21T04:04:24.529Z] 4f1c88b9dad5: Download complete [2024-03-21T04:04:24.787Z] ce7588e14bc9: Verifying Checksum [2024-03-21T04:04:24.787Z] ce7588e14bc9: Download complete [2024-03-21T04:04:28.076Z] 4f1c88b9dad5: Pull complete [2024-03-21T04:04:28.076Z] ad3a456e5733: Pull complete [2024-03-21T04:04:28.076Z] 69c7f0334f64: Pull complete [2024-03-21T04:04:28.076Z] 1f1c1a5573a3: Pull complete [2024-03-21T04:04:30.605Z] ce7588e14bc9: Pull complete [2024-03-21T04:04:30.605Z] b5e4710f87ac: Pull complete [2024-03-21T04:04:30.605Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-21T04:04:30.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-21T04:04:30.862Z] ---> 88b5674ff536 [2024-03-21T04:04:30.862Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-03-21T04:04:35.053Z] ---> Running in 9cf38c10fc53 [2024-03-21T04:04:35.053Z] Removing intermediate container 9cf38c10fc53 [2024-03-21T04:04:35.053Z] ---> 5bbeaedf2426 [2024-03-21T04:04:35.053Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T04:04:35.053Z] ---> Running in eb7c909ceb97 [2024-03-21T04:04:35.053Z] Removing intermediate container eb7c909ceb97 [2024-03-21T04:04:35.053Z] ---> 9281f6d46dd5 [2024-03-21T04:04:35.053Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-03-21T04:04:35.053Z] ---> Running in c5c8f6efbe10 [2024-03-21T04:04:35.053Z] Removing intermediate container c5c8f6efbe10 [2024-03-21T04:04:35.053Z] ---> c32becafbd9f [2024-03-21T04:04:35.053Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T04:04:35.053Z] ---> Running in 54bda276fff4 [2024-03-21T04:04:35.053Z] Removing intermediate container 54bda276fff4 [2024-03-21T04:04:35.053Z] ---> 2edb7f85c96e [2024-03-21T04:04:35.053Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-03-21T04:04:35.053Z] ---> Running in 5565606723a7 [2024-03-21T04:04:35.053Z] Removing intermediate container 5565606723a7 [2024-03-21T04:04:35.053Z] ---> 20a9964f61dd [2024-03-21T04:04:35.053Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T04:04:35.053Z] ---> Running in 18913d3a9fad [2024-03-21T04:04:35.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T04:04:35.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T04:04:35.571Z] OK: 264 MiB in 52 packages [2024-03-21T04:04:35.830Z] Removing intermediate container 18913d3a9fad [2024-03-21T04:04:35.830Z] ---> 920ad1f269a3 [2024-03-21T04:04:35.830Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-03-21T04:04:35.830Z] ---> Running in 8d81d02df314 [2024-03-21T04:04:35.830Z] Removing intermediate container 8d81d02df314 [2024-03-21T04:04:35.830Z] ---> a774a144946d [2024-03-21T04:04:35.830Z] Step 10/13 : COPY go.mod vendor* ./ [2024-03-21T04:04:36.090Z] ---> c62ae9fe1252 [2024-03-21T04:04:36.090Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T04:04:36.090Z] ---> Running in 1ff6654fe6b7 [2024-03-21T04:04:36.829Z] Still waiting to schedule task [2024-03-21T04:04:36.829Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-21T04:05:32.361Z] Removing intermediate container 1ff6654fe6b7 [2024-03-21T04:05:32.361Z] ---> 588680f8a0bc [2024-03-21T04:05:32.361Z] Step 12/13 : COPY . . [2024-03-21T04:05:33.737Z] ---> f7d8b9235eda [2024-03-21T04:05:33.737Z] Step 13/13 : RUN ${MAKE} [2024-03-21T04:05:33.737Z] ---> Running in 178d97008082 [2024-03-21T04:05:33.995Z] noop [2024-03-21T04:05:34.253Z] Removing intermediate container 178d97008082 [2024-03-21T04:05:34.253Z] ---> e3aba511f24d [2024-03-21T04:05:34.253Z] Successfully built e3aba511f24d [2024-03-21T04:05:34.253Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T04:05:34.730Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-21T04:05:34.730Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T04:05:34.892Z] prd-ubuntu20.04-docker-8c-8g-521 does not seem to be running inside a container [2024-03-21T04:05:34.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-431 -v /w/workspace/undry_device-onvif-camera_PR-431:/w/workspace/undry_device-onvif-camera_PR-431:rw,z -v /w/workspace/undry_device-onvif-camera_PR-431@tmp:/w/workspace/undry_device-onvif-camera_PR-431@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-03-21T04:05:35.273Z] $ docker top fdab18ce8d5c9d02916fa76ccdf20658356392cec66242cee8d8e66a24d0958e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T04:05:35.652Z] + go version [2024-03-21T04:05:35.652Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-21T04:05:35.694Z] $ docker stop --time=1 fdab18ce8d5c9d02916fa76ccdf20658356392cec66242cee8d8e66a24d0958e [2024-03-21T04:05:36.972Z] $ docker rm -f --volumes fdab18ce8d5c9d02916fa76ccdf20658356392cec66242cee8d8e66a24d0958e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T04:05:37.704Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-21T04:05:37.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T04:05:37.860Z] prd-ubuntu20.04-docker-8c-8g-521 does not seem to be running inside a container [2024-03-21T04:05:37.900Z] $ 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-431 -v /w/workspace/undry_device-onvif-camera_PR-431:/w/workspace/undry_device-onvif-camera_PR-431:rw,z -v /w/workspace/undry_device-onvif-camera_PR-431@tmp:/w/workspace/undry_device-onvif-camera_PR-431@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-03-21T04:05:38.192Z] $ docker top e8c51950ec898b35f54eb2d46a59f0ec7834a659b4ab907e2df9f752785de1b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T04:05:38.588Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-431 [Pipeline] fileExists [Pipeline] sh [2024-03-21T04:05:38.954Z] + make test [2024-03-21T04:05:38.954Z] go test ./... -coverprofile=coverage.out ./... [2024-03-21T04:05:40.329Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-03-21T04:05:55.205Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-03-21T04:05:55.774Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-03-21T04:05:57.677Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.028s coverage: 31.5% of statements [2024-03-21T04:05:57.936Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.128s coverage: 86.5% of statements [2024-03-21T04:06:03.252Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-523 in /w/workspace/undry_device-onvif-camera_PR-431 [Pipeline] { [Pipeline] ws [2024-03-21T04:06:03.319Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-03-21T04:06:06.415Z] The recommended git tool is: git [2024-03-21T04:06:07.899Z] go vet ./... [2024-03-21T04:06:11.325Z] using credential edgex-jenkins-ssh [2024-03-21T04:06:11.347Z] Cloning the remote Git repository [2024-03-21T04:06:11.450Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-03-21T04:06:11.567Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-03-21T04:06:11.736Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-03-21T04:06:11.737Z] > git --version # timeout=10 [2024-03-21T04:06:11.757Z] > git --version # 'git version 2.25.1' [2024-03-21T04:06:11.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T04:06:11.925Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-21T04:06:13.165Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-21T04:06:13.165Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-21T04:06:13.165Z] ./bin/test-attribution-txt.sh [2024-03-21T04:06:13.165Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-21T04:06:13.165Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-21T04:06:13.166Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-21T04:06:13.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-21T04:06:13.281Z] $ docker stop --time=1 e8c51950ec898b35f54eb2d46a59f0ec7834a659b4ab907e2df9f752785de1b9 [2024-03-21T04:06:14.321Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-03-21T04:06:14.351Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-21T04:06:15.271Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-03-21T04:06:15.307Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-03-21T04:06:15.307Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T04:06:15.852Z] Merging remotes/origin/main commit 30f086e472ba45efbfdabc7b924c06da27b16fd7 into PR head commit c8daca3b4879355421fd448c3da50a7b31ffaa1e [2024-03-21T04:06:16.200Z] Merge succeeded, producing c8daca3b4879355421fd448c3da50a7b31ffaa1e [2024-03-21T04:06:16.201Z] Checking out Revision c8daca3b4879355421fd448c3da50a7b31ffaa1e (PR-431) [2024-03-21T04:06:15.330Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/431/head:refs/remotes/origin/PR-431 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-21T04:06:15.866Z] > git config core.sparsecheckout # timeout=10 [2024-03-21T04:06:15.924Z] > git checkout -f c8daca3b4879355421fd448c3da50a7b31ffaa1e # timeout=10 [2024-03-21T04:06:16.097Z] > git remote # timeout=10 [2024-03-21T04:06:16.115Z] > git config --get remote.origin.url # timeout=10 [2024-03-21T04:06:16.132Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T04:06:16.152Z] > git merge 30f086e472ba45efbfdabc7b924c06da27b16fd7 # timeout=10 [2024-03-21T04:06:16.183Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-21T04:06:16.204Z] > git config core.sparsecheckout # timeout=10 [2024-03-21T04:06:16.219Z] > git checkout -f c8daca3b4879355421fd448c3da50a7b31ffaa1e # timeout=10 [2024-03-21T04:06:16.799Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-03-21T04:06:16.849Z] > git --version # timeout=10 [2024-03-21T04:06:16.860Z] > git --version # 'git version 2.25.1' [2024-03-21T04:06:16.874Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T04:06:17.076Z] $ docker rm -f --volumes e8c51950ec898b35f54eb2d46a59f0ec7834a659b4ab907e2df9f752785de1b9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T04:06:17.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-21T04:06:17.733Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-21T04:06:18.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-21T04:06:18.735Z] + ls -al . [2024-03-21T04:06:18.736Z] total 308 [2024-03-21T04:06:18.736Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 04:05 . [2024-03-21T04:06:18.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:03 .. [2024-03-21T04:06:18.736Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:05 .git [2024-03-21T04:06:18.736Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:03 .github [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 493 Mar 21 04:03 .gitignore [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 04:03 .golangci.yml [2024-03-21T04:06:18.736Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 04:04 .semver [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 11155 Mar 21 04:03 Attribution.txt [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 17665 Mar 21 04:03 CHANGELOG.md [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 1683 Mar 21 04:03 Dockerfile [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 04:03 GOVERNANCE.md [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 739 Mar 21 04:03 Jenkinsfile [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 04:03 LICENSE [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 2883 Mar 21 04:03 Makefile [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 04:03 OWNERS.md [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 2620 Mar 21 04:03 README.md [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 04:04 VERSION [2024-03-21T04:06:18.736Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:03 bin [2024-03-21T04:06:18.736Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:03 cmd [2024-03-21T04:06:18.736Z] -rw-r--r-- 1 jenkins jenkins 78456 Mar 21 04:05 coverage.out [2024-03-21T04:06:18.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:03 doc [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 7393 Mar 21 04:03 go.mod [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 101917 Mar 21 04:03 go.sum [2024-03-21T04:06:18.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:03 internal [2024-03-21T04:06:18.736Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T04:06:19.184Z] + 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=c8daca3b4879355421fd448c3da50a7b31ffaa1e --label arch=amd64 --label version=0.0.0 . [2024-03-21T04:06:19.184Z] Sending build context to Docker daemon 34.48MB [2024-03-21T04:06:19.184Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T04:06:19.184Z] Step 2/27 : FROM ${BASE} AS builder [2024-03-21T04:06:19.184Z] ---> e3aba511f24d [2024-03-21T04:06:19.184Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-03-21T04:06:19.752Z] ---> Running in 8b81e50a49c9 [2024-03-21T04:06:19.752Z] Removing intermediate container 8b81e50a49c9 [2024-03-21T04:06:19.752Z] ---> 028d47c6c75d [2024-03-21T04:06:19.752Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T04:06:19.752Z] ---> Running in 7ba99bebba4d [2024-03-21T04:06:20.012Z] Removing intermediate container 7ba99bebba4d [2024-03-21T04:06:20.012Z] ---> 0122a6a737b6 [2024-03-21T04:06:20.012Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-03-21T04:06:20.012Z] ---> Running in 1995cfb7fe46 [2024-03-21T04:06:20.012Z] Removing intermediate container 1995cfb7fe46 [2024-03-21T04:06:20.012Z] ---> f7a485566bcb [2024-03-21T04:06:20.012Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T04:06:20.012Z] ---> Running in 01c8f43ed6cc [2024-03-21T04:06:20.012Z] Removing intermediate container 01c8f43ed6cc [2024-03-21T04:06:20.012Z] ---> b99a1e9358e2 [2024-03-21T04:06:20.012Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-03-21T04:06:20.012Z] ---> Running in 90d9598b1ddb [2024-03-21T04:06:20.272Z] Removing intermediate container 90d9598b1ddb [2024-03-21T04:06:20.272Z] ---> ab1b042a9f74 [2024-03-21T04:06:20.272Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T04:06:20.272Z] ---> Running in 52e49c52ff3a [2024-03-21T04:06:20.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T04:06:20.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T04:06:20.793Z] OK: 264 MiB in 52 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T04:06:21.362Z] Removing intermediate container 52e49c52ff3a [2024-03-21T04:06:21.362Z] ---> 981bcd73f4e8 [2024-03-21T04:06:21.362Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-03-21T04:06:21.362Z] ---> Running in 59df1a53f167 [2024-03-21T04:06:21.362Z] Removing intermediate container 59df1a53f167 [2024-03-21T04:06:21.362Z] ---> e90a99b66ff5 [2024-03-21T04:06:21.362Z] Step 10/27 : COPY go.mod vendor* ./ [2024-03-21T04:06:21.362Z] ---> b50de354199d [2024-03-21T04:06:21.362Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T04:06:21.362Z] ---> Running in 96ed02a062fb [2024-03-21T04:06:21.684Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-21T04:06:21.684Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-21T04:06:21.684Z] Dload Upload Total Spent Left Speed [2024-03-21T04:06:21.684Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 80679 0 --:--:-- --:--:-- --:--:-- 80679 [Pipeline] sh [2024-03-21T04:06:22.020Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-21T04:06:22.298Z] Removing intermediate container 96ed02a062fb [2024-03-21T04:06:22.298Z] ---> df66f7815e8a [2024-03-21T04:06:22.298Z] Step 12/27 : COPY . . [2024-03-21T04:06:22.380Z] + sudo tee /etc/docker/daemon.new [2024-03-21T04:06:22.380Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-21T04:06:22.380Z] { [2024-03-21T04:06:22.380Z] "registry-mirrors": [ [2024-03-21T04:06:22.380Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-21T04:06:22.380Z] ], [2024-03-21T04:06:22.380Z] "bip": "10.250.0.254/24", [2024-03-21T04:06:22.380Z] "hosts": [ [2024-03-21T04:06:22.380Z] "tcp://0.0.0.0:5555", [2024-03-21T04:06:22.380Z] "unix:///var/run/docker.sock" [2024-03-21T04:06:22.380Z] ], [2024-03-21T04:06:22.380Z] "mtu": 1458, [2024-03-21T04:06:22.380Z] "selinux-enabled": true, [2024-03-21T04:06:22.380Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-21T04:06:22.380Z] } [Pipeline] sh [2024-03-21T04:06:22.751Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-21T04:06:22.865Z] ---> 0b005e7a9bd1 [2024-03-21T04:06:22.865Z] Step 13/27 : RUN ${MAKE} [2024-03-21T04:06:22.865Z] ---> Running in ac312220e846 [2024-03-21T04:06:23.094Z] + sudo service docker restart [2024-03-21T04:06:23.126Z] 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.12" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T04:06:41.400Z] provisioning config files... [2024-03-21T04:06:41.422Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7292119332951315402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T04:06:41.879Z] ---> ****-login.sh [2024-03-21T04:06:41.880Z] nexus3.edgexfoundry.org:10001 [2024-03-21T04:06:42.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:06:42.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:06:42.419Z] Configure a credential helper to remove this warning. See [2024-03-21T04:06:42.419Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:06:42.419Z] [2024-03-21T04:06:42.419Z] Login Succeeded [2024-03-21T04:06:42.419Z] nexus3.edgexfoundry.org:10002 [2024-03-21T04:06:42.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:06:42.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:06:42.687Z] Configure a credential helper to remove this warning. See [2024-03-21T04:06:42.687Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:06:42.687Z] [2024-03-21T04:06:42.687Z] Login Succeeded [2024-03-21T04:06:42.687Z] nexus3.edgexfoundry.org:10003 [2024-03-21T04:06:42.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:06:43.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:06:43.228Z] Configure a credential helper to remove this warning. See [2024-03-21T04:06:43.228Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:06:43.228Z] [2024-03-21T04:06:43.228Z] Login Succeeded [2024-03-21T04:06:43.228Z] nexus3.edgexfoundry.org:10004 [2024-03-21T04:06:43.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:06:43.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:06:43.494Z] Configure a credential helper to remove this warning. See [2024-03-21T04:06:43.494Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:06:43.494Z] [2024-03-21T04:06:43.494Z] Login Succeeded [2024-03-21T04:06:43.494Z] ****.io [2024-03-21T04:06:43.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T04:06:44.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T04:06:44.028Z] Configure a credential helper to remove this warning. See [2024-03-21T04:06:44.028Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T04:06:44.028Z] [2024-03-21T04:06:44.028Z] Login Succeeded [2024-03-21T04:06:44.028Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T04:06:44.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-21T04:06:44.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T04:06:44.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T04:06:44.537Z] ========================================================= [2024-03-21T04:06:44.537Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-21T04:06:44.537Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T04:06:45.036Z] + 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-03-21T04:06:45.631Z] Sending build context to Docker daemon 20.6MB [2024-03-21T04:06:45.631Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T04:06:45.631Z] Step 2/13 : FROM ${BASE} AS builder [2024-03-21T04:06:45.631Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-21T04:06:45.631Z] 9fda8d8052c6: Pulling fs layer [2024-03-21T04:06:45.631Z] 5d54e960e981: Pulling fs layer [2024-03-21T04:06:45.631Z] c4a7e357bf2a: Pulling fs layer [2024-03-21T04:06:45.631Z] f0e02332f6b5: Pulling fs layer [2024-03-21T04:06:45.631Z] 872ee5b61b7b: Pulling fs layer [2024-03-21T04:06:45.631Z] 0c6a40ed1a82: Pulling fs layer [2024-03-21T04:06:45.631Z] 94ae7d8d031c: Pulling fs layer [2024-03-21T04:06:45.631Z] 872ee5b61b7b: Waiting [2024-03-21T04:06:45.631Z] 94ae7d8d031c: Waiting [2024-03-21T04:06:45.631Z] 0c6a40ed1a82: Waiting [2024-03-21T04:06:45.631Z] f0e02332f6b5: Waiting [2024-03-21T04:06:45.903Z] 5d54e960e981: Download complete [2024-03-21T04:06:45.903Z] f0e02332f6b5: Verifying Checksum [2024-03-21T04:06:45.903Z] f0e02332f6b5: Download complete [2024-03-21T04:06:45.903Z] 872ee5b61b7b: Verifying Checksum [2024-03-21T04:06:45.903Z] 872ee5b61b7b: Download complete [2024-03-21T04:06:45.903Z] 9fda8d8052c6: Download complete [2024-03-21T04:06:46.173Z] 94ae7d8d031c: Verifying Checksum [2024-03-21T04:06:46.173Z] 94ae7d8d031c: Download complete [2024-03-21T04:06:46.761Z] 9fda8d8052c6: Pull complete [2024-03-21T04:06:47.353Z] 5d54e960e981: Pull complete [2024-03-21T04:06:47.621Z] c4a7e357bf2a: Download complete [2024-03-21T04:06:48.586Z] 0c6a40ed1a82: Verifying Checksum [2024-03-21T04:06:48.586Z] 0c6a40ed1a82: Download complete [2024-03-21T04:06:55.205Z] Removing intermediate container ac312220e846 [2024-03-21T04:06:55.205Z] ---> bbc251fca5fd [2024-03-21T04:06:55.205Z] Step 14/27 : FROM alpine:3.18 [2024-03-21T04:06:55.205Z] 3.18: Pulling from library/alpine [2024-03-21T04:06:55.205Z] 619be1103602: Pulling fs layer [2024-03-21T04:06:55.205Z] 619be1103602: Verifying Checksum [2024-03-21T04:06:55.205Z] 619be1103602: Download complete [2024-03-21T04:06:55.205Z] 619be1103602: Pull complete [2024-03-21T04:06:55.205Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-21T04:06:55.206Z] Status: Downloaded newer image for alpine:3.18 [2024-03-21T04:06:55.206Z] ---> d3782b16ccc9 [2024-03-21T04:06:55.206Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-03-21T04:06:55.206Z] ---> Running in 87a7b7943a51 [2024-03-21T04:06:55.206Z] Removing intermediate container 87a7b7943a51 [2024-03-21T04:06:55.206Z] ---> 9a41a62b649c [2024-03-21T04:06:55.206Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-03-21T04:06:55.206Z] ---> Running in 2d372f92d01a [2024-03-21T04:06:55.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T04:06:55.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T04:06:55.206Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-21T04:06:55.206Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T04:06:55.206Z] OK: 7 MiB in 16 packages [2024-03-21T04:06:55.206Z] Removing intermediate container 2d372f92d01a [2024-03-21T04:06:55.206Z] ---> 8fc306598c77 [2024-03-21T04:06:55.206Z] Step 17/27 : RUN apk --no-cache upgrade [2024-03-21T04:06:55.206Z] ---> Running in d0774d61ad30 [2024-03-21T04:06:55.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T04:06:55.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T04:06:55.206Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-21T04:06:55.206Z] OK: 7 MiB in 16 packages [2024-03-21T04:06:55.206Z] Removing intermediate container d0774d61ad30 [2024-03-21T04:06:55.206Z] ---> 65bfecd30467 [2024-03-21T04:06:55.206Z] Step 18/27 : WORKDIR / [2024-03-21T04:06:55.206Z] ---> Running in e355c0674b69 [2024-03-21T04:06:55.206Z] Removing intermediate container e355c0674b69 [2024-03-21T04:06:55.206Z] ---> d5dc7c78dda6 [2024-03-21T04:06:55.206Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-03-21T04:06:55.206Z] ---> e7eb6c8b896e [2024-03-21T04:06:55.206Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-03-21T04:06:55.206Z] ---> 9fde49fb264a [2024-03-21T04:06:55.206Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-03-21T04:06:55.206Z] ---> 7c965b5624ad [2024-03-21T04:06:55.206Z] Step 22/27 : EXPOSE 59984 [2024-03-21T04:06:55.206Z] ---> Running in 789e6e368415 [2024-03-21T04:06:55.206Z] Removing intermediate container 789e6e368415 [2024-03-21T04:06:55.206Z] ---> c1d483db460b [2024-03-21T04:06:55.206Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-03-21T04:06:55.206Z] ---> Running in 40cdd69fb111 [2024-03-21T04:06:55.206Z] Removing intermediate container 40cdd69fb111 [2024-03-21T04:06:55.206Z] ---> 217a9d721ba0 [2024-03-21T04:06:55.206Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-21T04:06:55.206Z] ---> Running in 99b64304a46f [2024-03-21T04:06:55.206Z] Removing intermediate container 99b64304a46f [2024-03-21T04:06:55.206Z] ---> 7ed25642c177 [2024-03-21T04:06:55.206Z] Step 25/27 : LABEL arch=amd64 [2024-03-21T04:06:55.206Z] ---> Running in f918c8fdd324 [2024-03-21T04:06:55.206Z] Removing intermediate container f918c8fdd324 [2024-03-21T04:06:55.206Z] ---> 891722e2bd8f [2024-03-21T04:06:55.206Z] Step 26/27 : LABEL git_sha=c8daca3b4879355421fd448c3da50a7b31ffaa1e [2024-03-21T04:06:55.206Z] ---> Running in 4c6a1831c5d0 [2024-03-21T04:06:55.206Z] Removing intermediate container 4c6a1831c5d0 [2024-03-21T04:06:55.206Z] ---> 535048e0a124 [2024-03-21T04:06:55.206Z] Step 27/27 : LABEL version=0.0.0 [2024-03-21T04:06:55.206Z] ---> Running in 0fccbf4adc52 [2024-03-21T04:06:55.206Z] Removing intermediate container 0fccbf4adc52 [2024-03-21T04:06:55.206Z] ---> 157cf5e993ec [2024-03-21T04:06:55.206Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-21T04:06:55.206Z] Successfully built 157cf5e993ec [2024-03-21T04:06:55.206Z] 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-03-21T04:06:56.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T04:06:56.401Z] [2024-03-21T04:06:56.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T04:06:56.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T04:06:56.806Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-21T04:06:56.806Z] 5eb5b503b376: Pulling fs layer [2024-03-21T04:06:56.806Z] 5c69ac0246d0: Pulling fs layer [2024-03-21T04:06:56.806Z] ec43610c2a17: Pulling fs layer [2024-03-21T04:06:56.806Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-21T04:06:56.806Z] 33b1e0a273af: Pulling fs layer [2024-03-21T04:06:56.806Z] 5d3b04190fa2: Pulling fs layer [2024-03-21T04:06:56.806Z] 2f39f015ded8: Pulling fs layer [2024-03-21T04:06:56.806Z] 33b1e0a273af: Waiting [2024-03-21T04:06:56.806Z] 2f39f015ded8: Waiting [2024-03-21T04:06:56.806Z] 5d3b04190fa2: Waiting [2024-03-21T04:06:56.806Z] 3a2ae6a8a46f: Waiting [2024-03-21T04:06:56.806Z] 5c69ac0246d0: Verifying Checksum [2024-03-21T04:06:56.806Z] 5c69ac0246d0: Download complete [2024-03-21T04:06:56.806Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-21T04:06:56.806Z] 3a2ae6a8a46f: Download complete [2024-03-21T04:06:56.806Z] 33b1e0a273af: Verifying Checksum [2024-03-21T04:06:56.806Z] 33b1e0a273af: Download complete [2024-03-21T04:06:56.806Z] 5d3b04190fa2: Verifying Checksum [2024-03-21T04:06:56.806Z] 5d3b04190fa2: Download complete [2024-03-21T04:06:57.068Z] ec43610c2a17: Verifying Checksum [2024-03-21T04:06:57.068Z] ec43610c2a17: Download complete [2024-03-21T04:06:57.068Z] 5eb5b503b376: Verifying Checksum [2024-03-21T04:06:57.068Z] 5eb5b503b376: Download complete [2024-03-21T04:06:58.002Z] 2f39f015ded8: Download complete [2024-03-21T04:06:58.260Z] 5eb5b503b376: Pull complete [2024-03-21T04:06:58.519Z] 5c69ac0246d0: Pull complete [2024-03-21T04:06:59.085Z] ec43610c2a17: Pull complete [2024-03-21T04:06:59.085Z] 3a2ae6a8a46f: Pull complete [2024-03-21T04:06:59.344Z] 33b1e0a273af: Pull complete [2024-03-21T04:06:59.344Z] 5d3b04190fa2: Pull complete [2024-03-21T04:07:00.905Z] c4a7e357bf2a: Pull complete [2024-03-21T04:07:00.905Z] f0e02332f6b5: Pull complete [2024-03-21T04:07:00.905Z] 872ee5b61b7b: Pull complete [2024-03-21T04:07:04.613Z] 2f39f015ded8: Pull complete [2024-03-21T04:07:04.613Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-21T04:07:04.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T04:07:04.613Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T04:07:04.870Z] prd-ubuntu20.04-docker-8c-8g-521 does not seem to be running inside a container [2024-03-21T04:07:04.917Z] $ 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-431 -v /w/workspace/undry_device-onvif-camera_PR-431:/w/workspace/undry_device-onvif-camera_PR-431:rw,z -v /w/workspace/undry_device-onvif-camera_PR-431@tmp:/w/workspace/undry_device-onvif-camera_PR-431@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-03-21T04:07:08.527Z] $ docker top d30910bd33296959973192743ac3ea7f912797541eca85d4b6275c409cdb9125 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T04:07:08.989Z] ---> job-cost.sh [2024-03-21T04:07:08.989Z] lf-activate-venv: SKIPPING [2024-03-21T04:07:08.989Z] INFO: No Stack... [2024-03-21T04:07:09.124Z] 0c6a40ed1a82: Pull complete [2024-03-21T04:07:09.248Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-21T04:07:09.507Z] INFO: Archiving Costs [Pipeline] sh [2024-03-21T04:07:09.823Z] + + cat /w/workspace/undry_device-onvif-camera_PR-431/archives/cost.csv [2024-03-21T04:07:09.823Z] cut -d, -f6 [Pipeline] lock [2024-03-21T04:07:09.870Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] [2024-03-21T04:07:09.875Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] did not exist. Created. [2024-03-21T04:07:09.881Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-21T04:07:10.285Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-21T04:07:10.338Z] Stashed 1 file(s) [Pipeline] } [2024-03-21T04:07:10.365Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-21T04:07:10.476Z] $ docker stop --time=1 d30910bd33296959973192743ac3ea7f912797541eca85d4b6275c409cdb9125 [2024-03-21T04:07:11.067Z] 94ae7d8d031c: Pull complete [2024-03-21T04:07:11.067Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-21T04:07:11.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-21T04:07:11.067Z] ---> 86de565de09d [2024-03-21T04:07:11.067Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-03-21T04:07:11.637Z] $ docker rm -f --volumes d30910bd33296959973192743ac3ea7f912797541eca85d4b6275c409cdb9125 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-21T04:07:12.495Z] ---> Running in fc3a3e86a98e [2024-03-21T04:07:12.762Z] Removing intermediate container fc3a3e86a98e [2024-03-21T04:07:12.762Z] ---> 0f82bef782a1 [2024-03-21T04:07:12.762Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T04:07:12.762Z] ---> Running in 7351b499e302 [2024-03-21T04:07:13.028Z] Removing intermediate container 7351b499e302 [2024-03-21T04:07:13.028Z] ---> 8480de18194e [2024-03-21T04:07:13.028Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-03-21T04:07:13.301Z] ---> Running in a7f56c708634 [2024-03-21T04:07:13.586Z] Removing intermediate container a7f56c708634 [2024-03-21T04:07:13.586Z] ---> e49c9f1e6a10 [2024-03-21T04:07:13.586Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T04:07:13.586Z] ---> Running in 1feeb4ac9f55 [2024-03-21T04:07:13.858Z] Removing intermediate container 1feeb4ac9f55 [2024-03-21T04:07:13.858Z] ---> 3e9c8d763f20 [2024-03-21T04:07:13.858Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-03-21T04:07:13.858Z] ---> Running in 45fa2dc9efe9 [2024-03-21T04:07:14.127Z] Removing intermediate container 45fa2dc9efe9 [2024-03-21T04:07:14.127Z] ---> a20222f26d73 [2024-03-21T04:07:14.127Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T04:07:14.394Z] ---> Running in e69df62bff6d [2024-03-21T04:07:15.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T04:07:15.623Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T04:07:16.585Z] OK: 266 MiB in 52 packages [2024-03-21T04:07:17.546Z] Removing intermediate container e69df62bff6d [2024-03-21T04:07:17.546Z] ---> 1562bff14b59 [2024-03-21T04:07:17.546Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-03-21T04:07:17.546Z] ---> Running in 8206e21852db [2024-03-21T04:07:17.813Z] Removing intermediate container 8206e21852db [2024-03-21T04:07:17.813Z] ---> 00f839003fa3 [2024-03-21T04:07:17.813Z] Step 10/13 : COPY go.mod vendor* ./ [2024-03-21T04:07:18.397Z] ---> c219eb9cb3fe [2024-03-21T04:07:18.397Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T04:07:18.397Z] ---> Running in 9270b8a2adba [2024-03-21T04:09:25.050Z] Removing intermediate container 9270b8a2adba [2024-03-21T04:09:25.050Z] ---> 6e428211f64d [2024-03-21T04:09:25.050Z] Step 12/13 : COPY . . [2024-03-21T04:09:25.050Z] ---> ff12389ef403 [2024-03-21T04:09:25.050Z] Step 13/13 : RUN ${MAKE} [2024-03-21T04:09:25.050Z] ---> Running in 84fac2c39e9b [2024-03-21T04:09:25.050Z] noop [2024-03-21T04:09:25.050Z] Removing intermediate container 84fac2c39e9b [2024-03-21T04:09:25.050Z] ---> b1909bcb9f23 [2024-03-21T04:09:25.050Z] Successfully built b1909bcb9f23 [2024-03-21T04:09:25.050Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T04:09:25.554Z] + docker inspect -f . ci-base-image-arm64 [2024-03-21T04:09:25.554Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T04:09:25.831Z] prd-ubuntu20.04-docker-arm64-4c-16g-523 does not seem to be running inside a container [2024-03-21T04:09:25.901Z] $ 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-03-21T04:09:27.016Z] $ docker top bee3a12144b50dc4297b8db6c86b22bef7954f6bd62f26cc39e335e20d29d839 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T04:09:27.876Z] + go version [2024-03-21T04:09:27.876Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-21T04:09:27.910Z] $ docker stop --time=1 bee3a12144b50dc4297b8db6c86b22bef7954f6bd62f26cc39e335e20d29d839 [2024-03-21T04:09:29.488Z] $ docker rm -f --volumes bee3a12144b50dc4297b8db6c86b22bef7954f6bd62f26cc39e335e20d29d839 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T04:09:30.370Z] + docker inspect -f . ci-base-image-arm64 [2024-03-21T04:09:30.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T04:09:30.606Z] prd-ubuntu20.04-docker-arm64-4c-16g-523 does not seem to be running inside a container [2024-03-21T04:09:30.666Z] $ 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-03-21T04:09:31.749Z] $ docker top 036535d07f25055fc557921d29cb6fe4cf699fd0f86b02fc51e880bca5b8c8b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T04:09:32.308Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-03-21T04:09:33.263Z] + make test [2024-03-21T04:09:33.263Z] go test ./... -coverprofile=coverage.out ./... [2024-03-21T04:09:38.588Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-03-21T04:12:15.269Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-03-21T04:12:15.269Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-03-21T04:12:15.269Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.154s coverage: 31.5% of statements [2024-03-21T04:12:33.509Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.615s coverage: 86.5% of statements [2024-03-21T04:12:33.509Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-21T04:12:33.509Z] go vet ./... [2024-03-21T04:13:12.395Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-21T04:13:12.395Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-21T04:13:12.395Z] ./bin/test-attribution-txt.sh [2024-03-21T04:13:12.395Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-21T04:13:12.395Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-21T04:13:12.395Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-21T04:13:12.395Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-21T04:13:12.396Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-21T04:13:12.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-21T04:13:12.476Z] $ docker stop --time=1 036535d07f25055fc557921d29cb6fe4cf699fd0f86b02fc51e880bca5b8c8b8 [2024-03-21T04:13:14.358Z] $ docker rm -f --volumes 036535d07f25055fc557921d29cb6fe4cf699fd0f86b02fc51e880bca5b8c8b8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T04:13:16.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-21T04:13:16.039Z] Warning: overwriting stash ‘coverage-report’ [2024-03-21T04:13:16.597Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T04:13:17.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-21T04:13:17.623Z] + ls -al . [2024-03-21T04:13:17.623Z] total 304 [2024-03-21T04:13:17.623Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:09 . [2024-03-21T04:13:17.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:06 .. [2024-03-21T04:13:17.623Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:06 .git [2024-03-21T04:13:17.623Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:06 .github [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 493 Mar 21 04:06 .gitignore [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 04:06 .golangci.yml [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 11155 Mar 21 04:06 Attribution.txt [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 17665 Mar 21 04:06 CHANGELOG.md [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 1683 Mar 21 04:06 Dockerfile [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 04:06 GOVERNANCE.md [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 739 Mar 21 04:06 Jenkinsfile [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 04:06 LICENSE [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 2883 Mar 21 04:06 Makefile [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 04:06 OWNERS.md [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 2620 Mar 21 04:06 README.md [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 04:04 VERSION [2024-03-21T04:13:17.623Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:06 bin [2024-03-21T04:13:17.623Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:06 cmd [2024-03-21T04:13:17.623Z] -rw-r--r-- 1 jenkins jenkins 78456 Mar 21 04:12 coverage.out [2024-03-21T04:13:17.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:06 doc [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 7393 Mar 21 04:06 go.mod [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 101917 Mar 21 04:06 go.sum [2024-03-21T04:13:17.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:06 internal [2024-03-21T04:13:17.623Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T04:13:18.061Z] + 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=c8daca3b4879355421fd448c3da50a7b31ffaa1e --label arch=arm64 --label version=0.0.0 . [2024-03-21T04:13:18.687Z] Sending build context to Docker daemon 20.68MB [2024-03-21T04:13:18.687Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T04:13:18.687Z] Step 2/27 : FROM ${BASE} AS builder [2024-03-21T04:13:18.687Z] ---> b1909bcb9f23 [2024-03-21T04:13:18.687Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-03-21T04:13:18.956Z] ---> Running in bb7e7528a794 [2024-03-21T04:13:19.221Z] Removing intermediate container bb7e7528a794 [2024-03-21T04:13:19.221Z] ---> 09b6551426f0 [2024-03-21T04:13:19.221Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T04:13:19.221Z] ---> Running in d1bfdc4b6385 [2024-03-21T04:13:19.488Z] Removing intermediate container d1bfdc4b6385 [2024-03-21T04:13:19.488Z] ---> 0b27f549702e [2024-03-21T04:13:19.488Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-03-21T04:13:19.488Z] ---> Running in 173336a203f1 [2024-03-21T04:13:19.761Z] Removing intermediate container 173336a203f1 [2024-03-21T04:13:19.761Z] ---> 7b2abdfb0f4c [2024-03-21T04:13:19.761Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T04:13:20.027Z] ---> Running in 0200349b80a9 [2024-03-21T04:13:20.293Z] Removing intermediate container 0200349b80a9 [2024-03-21T04:13:20.294Z] ---> 9b9548550007 [2024-03-21T04:13:20.294Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-03-21T04:13:20.294Z] ---> Running in c194a0a61cfa [2024-03-21T04:13:20.562Z] Removing intermediate container c194a0a61cfa [2024-03-21T04:13:20.562Z] ---> c3d9f77c4b90 [2024-03-21T04:13:20.562Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T04:13:20.562Z] ---> Running in 2dd8fe91780f [2024-03-21T04:13:21.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T04:13:22.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T04:13:23.067Z] OK: 266 MiB in 52 packages [2024-03-21T04:13:24.029Z] Removing intermediate container 2dd8fe91780f [2024-03-21T04:13:24.029Z] ---> 7988cd2c23a8 [2024-03-21T04:13:24.029Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-03-21T04:13:24.029Z] ---> Running in 2ac0fba64e04 [2024-03-21T04:13:24.302Z] Removing intermediate container 2ac0fba64e04 [2024-03-21T04:13:24.302Z] ---> 885942d0c8ce [2024-03-21T04:13:24.302Z] Step 10/27 : COPY go.mod vendor* ./ [2024-03-21T04:13:24.894Z] ---> f31aacee51b3 [2024-03-21T04:13:24.894Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T04:13:24.894Z] ---> Running in 93a09a97f163 [2024-03-21T04:13:27.479Z] Removing intermediate container 93a09a97f163 [2024-03-21T04:13:27.479Z] ---> 1af053640d6a [2024-03-21T04:13:27.479Z] Step 12/27 : COPY . . [2024-03-21T04:13:28.892Z] ---> 23e183af31bb [2024-03-21T04:13:28.892Z] Step 13/27 : RUN ${MAKE} [2024-03-21T04:13:28.892Z] ---> Running in ebe46d71bfa5 [2024-03-21T04:13:29.852Z] 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.12" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-03-21T04:16:06.524Z] Removing intermediate container ebe46d71bfa5 [2024-03-21T04:16:06.524Z] ---> 0c2fe38a9324 [2024-03-21T04:16:06.524Z] Step 14/27 : FROM alpine:3.18 [2024-03-21T04:16:06.524Z] 3.18: Pulling from library/alpine [2024-03-21T04:16:06.524Z] c6b39de5b339: Pulling fs layer [2024-03-21T04:16:06.524Z] c6b39de5b339: Verifying Checksum [2024-03-21T04:16:06.524Z] c6b39de5b339: Download complete [2024-03-21T04:16:06.524Z] c6b39de5b339: Pull complete [2024-03-21T04:16:06.524Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-21T04:16:06.524Z] Status: Downloaded newer image for alpine:3.18 [2024-03-21T04:16:06.524Z] ---> 33abbf032149 [2024-03-21T04:16:06.524Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-03-21T04:16:06.524Z] ---> Running in 4b068de73eb5 [2024-03-21T04:16:06.524Z] Removing intermediate container 4b068de73eb5 [2024-03-21T04:16:06.524Z] ---> 348fc7f4e822 [2024-03-21T04:16:06.524Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-03-21T04:16:06.524Z] ---> Running in c86e285275aa [2024-03-21T04:16:06.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T04:16:06.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T04:16:06.524Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-21T04:16:06.524Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T04:16:06.524Z] OK: 8 MiB in 16 packages [2024-03-21T04:16:06.524Z] Removing intermediate container c86e285275aa [2024-03-21T04:16:06.524Z] ---> 0a7cdc58d9dc [2024-03-21T04:16:06.524Z] Step 17/27 : RUN apk --no-cache upgrade [2024-03-21T04:16:06.524Z] ---> Running in 28b59ed0bfd5 [2024-03-21T04:16:06.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T04:16:06.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T04:16:07.748Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-21T04:16:08.013Z] OK: 8 MiB in 16 packages [2024-03-21T04:16:08.971Z] Removing intermediate container 28b59ed0bfd5 [2024-03-21T04:16:08.971Z] ---> 11c6656ccc0c [2024-03-21T04:16:08.971Z] Step 18/27 : WORKDIR / [2024-03-21T04:16:08.971Z] ---> Running in 6c3940681203 [2024-03-21T04:16:08.971Z] Removing intermediate container 6c3940681203 [2024-03-21T04:16:08.971Z] ---> 40b283449132 [2024-03-21T04:16:08.971Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-03-21T04:16:10.901Z] ---> b1c9dcc1e72d [2024-03-21T04:16:10.901Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-03-21T04:16:11.166Z] ---> a9e9b01996f3 [2024-03-21T04:16:11.166Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-03-21T04:16:11.747Z] ---> 30d79a4af6f6 [2024-03-21T04:16:11.747Z] Step 22/27 : EXPOSE 59984 [2024-03-21T04:16:11.747Z] ---> Running in 29fea779addb [2024-03-21T04:16:12.012Z] Removing intermediate container 29fea779addb [2024-03-21T04:16:12.012Z] ---> 50cf48c3283f [2024-03-21T04:16:12.012Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-03-21T04:16:12.012Z] ---> Running in 486c36195d6f [2024-03-21T04:16:12.277Z] Removing intermediate container 486c36195d6f [2024-03-21T04:16:12.277Z] ---> 6aac0688028e [2024-03-21T04:16:12.277Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-21T04:16:12.277Z] ---> Running in eb759bc36e54 [2024-03-21T04:16:12.541Z] Removing intermediate container eb759bc36e54 [2024-03-21T04:16:12.541Z] ---> 8c5f381b19a0 [2024-03-21T04:16:12.541Z] Step 25/27 : LABEL arch=arm64 [2024-03-21T04:16:12.805Z] ---> Running in 9cf7f8c92283 [2024-03-21T04:16:13.069Z] Removing intermediate container 9cf7f8c92283 [2024-03-21T04:16:13.069Z] ---> 3888c6ae82e4 [2024-03-21T04:16:13.069Z] Step 26/27 : LABEL git_sha=c8daca3b4879355421fd448c3da50a7b31ffaa1e [2024-03-21T04:16:13.069Z] ---> Running in b31218cd1d94 [2024-03-21T04:16:13.335Z] Removing intermediate container b31218cd1d94 [2024-03-21T04:16:13.335Z] ---> 865942633d97 [2024-03-21T04:16:13.335Z] Step 27/27 : LABEL version=0.0.0 [2024-03-21T04:16:13.335Z] ---> Running in 756d0a34804a [2024-03-21T04:16:13.601Z] Removing intermediate container 756d0a34804a [2024-03-21T04:16:13.601Z] ---> ba9d557f4fad [2024-03-21T04:16:13.601Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-21T04:16:13.601Z] Successfully built ba9d557f4fad [2024-03-21T04:16:13.601Z] 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-03-21T04:16:14.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T04:16:14.486Z] [2024-03-21T04:16:14.486Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T04:16:14.899Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T04:16:14.899Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-21T04:16:14.899Z] 8998bd30e6a1: Pulling fs layer [2024-03-21T04:16:14.899Z] 04944245beec: Pulling fs layer [2024-03-21T04:16:14.899Z] 699f458cf7ca: Pulling fs layer [2024-03-21T04:16:14.899Z] 765212b225bb: Pulling fs layer [2024-03-21T04:16:14.899Z] f23df028b6ca: Pulling fs layer [2024-03-21T04:16:14.899Z] d65c8cfc05b1: Pulling fs layer [2024-03-21T04:16:14.899Z] 2437ff75d9bd: Pulling fs layer [2024-03-21T04:16:14.899Z] f23df028b6ca: Waiting [2024-03-21T04:16:14.899Z] d65c8cfc05b1: Waiting [2024-03-21T04:16:14.899Z] 2437ff75d9bd: Waiting [2024-03-21T04:16:14.899Z] 765212b225bb: Waiting [2024-03-21T04:16:15.177Z] 04944245beec: Verifying Checksum [2024-03-21T04:16:15.177Z] 04944245beec: Download complete [2024-03-21T04:16:15.177Z] 765212b225bb: Verifying Checksum [2024-03-21T04:16:15.177Z] 765212b225bb: Download complete [2024-03-21T04:16:15.177Z] f23df028b6ca: Verifying Checksum [2024-03-21T04:16:15.177Z] f23df028b6ca: Download complete [2024-03-21T04:16:15.177Z] d65c8cfc05b1: Verifying Checksum [2024-03-21T04:16:15.177Z] d65c8cfc05b1: Download complete [2024-03-21T04:16:15.177Z] 699f458cf7ca: Verifying Checksum [2024-03-21T04:16:15.177Z] 699f458cf7ca: Download complete [2024-03-21T04:16:15.760Z] 8998bd30e6a1: Verifying Checksum [2024-03-21T04:16:15.760Z] 8998bd30e6a1: Download complete [2024-03-21T04:16:18.338Z] 2437ff75d9bd: Verifying Checksum [2024-03-21T04:16:18.338Z] 2437ff75d9bd: Download complete [2024-03-21T04:16:20.276Z] 8998bd30e6a1: Pull complete [2024-03-21T04:16:20.542Z] 04944245beec: Pull complete [2024-03-21T04:16:22.484Z] 699f458cf7ca: Pull complete [2024-03-21T04:16:22.484Z] 765212b225bb: Pull complete [2024-03-21T04:16:23.443Z] f23df028b6ca: Pull complete [2024-03-21T04:16:23.443Z] d65c8cfc05b1: Pull complete [2024-03-21T04:16:41.636Z] 2437ff75d9bd: Pull complete [2024-03-21T04:16:41.636Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-21T04:16:41.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T04:16:41.636Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T04:16:41.989Z] prd-ubuntu20.04-docker-arm64-4c-16g-523 does not seem to be running inside a container [2024-03-21T04:16:42.043Z] $ 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-03-21T04:16:44.690Z] $ docker top b030fcc3f83d27a326fa9383fb84446abc9fae8eb6f5e014cc69f7ee301115f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T04:16:45.597Z] ---> job-cost.sh [2024-03-21T04:16:45.597Z] lf-activate-venv: SKIPPING [2024-03-21T04:16:45.597Z] INFO: No Stack... [2024-03-21T04:16:45.861Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-21T04:16:46.812Z] INFO: Archiving Costs [Pipeline] sh [2024-03-21T04:16:47.463Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-03-21T04:16:47.463Z] + cut -d, -f6 [Pipeline] lock [2024-03-21T04:16:47.532Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] [2024-03-21T04:16:47.538Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] did not exist. Created. [2024-03-21T04:16:47.543Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-21T04:16:47.962Z] /w/workspace/device-onvif-camera/1@tmp/durable-bfaac8c7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-21T04:16:48.570Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-21T04:16:48.615Z] Warning: overwriting stash ‘stack-cost’ [2024-03-21T04:16:48.669Z] Stashed 1 file(s) [Pipeline] } [2024-03-21T04:16:48.685Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-21T04:16:48.778Z] $ docker stop --time=1 b030fcc3f83d27a326fa9383fb84446abc9fae8eb6f5e014cc69f7ee301115f9 [2024-03-21T04:16:50.302Z] $ docker rm -f --volumes b030fcc3f83d27a326fa9383fb84446abc9fae8eb6f5e014cc69f7ee301115f9 [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-03-21T04:16:51.384Z] provisioning config files... [2024-03-21T04:16:51.392Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-431@tmp/config6607383684437931129tmp [Pipeline] { [Pipeline] sh [2024-03-21T04:16:51.746Z] + set +x [2024-03-21T04:16:51.746Z] + curl+ -s https://codecov.io/bash [2024-03-21T04:16:51.746Z] bash -s -- [2024-03-21T04:16:51.746Z] [2024-03-21T04:16:51.746Z] _____ _ [2024-03-21T04:16:51.746Z] / ____| | | [2024-03-21T04:16:51.746Z] | | ___ __| | ___ ___ _____ __ [2024-03-21T04:16:51.746Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-21T04:16:51.746Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-21T04:16:51.746Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-21T04:16:51.746Z] Bash-1.0.6 [2024-03-21T04:16:51.746Z] [2024-03-21T04:16:51.746Z] [2024-03-21T04:16:51.746Z] ==> git version 2.25.1 found [2024-03-21T04:16:51.746Z] ==> 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-03-21T04:16:51.746Z] Release-Date: 2020-01-08 [2024-03-21T04:16:51.746Z] 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-03-21T04:16:51.746Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-21T04:16:51.746Z] ==> Jenkins CI detected. [2024-03-21T04:16:51.746Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-431 [2024-03-21T04:16:51.746Z] project root: . [2024-03-21T04:16:51.746Z] --> token set from env [2024-03-21T04:16:51.746Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-21T04:16:52.005Z] ==> Running gcov in . (disable via -X gcov) [2024-03-21T04:16:52.005Z] ==> Python coveragepy not found [2024-03-21T04:16:52.005Z] ==> Searching for coverage reports in: [2024-03-21T04:16:52.005Z] + . [2024-03-21T04:16:52.005Z] -> Found 1 reports [2024-03-21T04:16:52.005Z] ==> Detecting git/mercurial file structure [2024-03-21T04:16:52.005Z] ==> Reading reports [2024-03-21T04:16:52.005Z] + ./coverage.out bytes=78456 [2024-03-21T04:16:52.005Z] ==> Appending adjustments [2024-03-21T04:16:52.005Z] https://docs.codecov.io/docs/fixing-reports [2024-03-21T04:16:52.005Z] + Found adjustments [2024-03-21T04:16:52.005Z] ==> Gzipping contents [2024-03-21T04:16:52.005Z] 12K /tmp/codecov.hn0vHL.gz [2024-03-21T04:16:52.005Z] ==> Uploading reports [2024-03-21T04:16:52.005Z] url: https://codecov.io [2024-03-21T04:16:52.005Z] query: branch=PR-431&commit=c8daca3b4879355421fd448c3da50a7b31ffaa1e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-431%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=431&job=&cmd_args= [2024-03-21T04:16:52.005Z] -> Pinging Codecov [2024-03-21T04:16:52.006Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-431&commit=c8daca3b4879355421fd448c3da50a7b31ffaa1e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-431%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=431&job=&cmd_args= [2024-03-21T04:16:52.265Z] -> Uploading to [2024-03-21T04:16:52.265Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-21/F29A59C45E3A92E06B3E522C9905F8EF/c8daca3b4879355421fd448c3da50a7b31ffaa1e/e2d7004e-00fa-426c-b7a7-cdb65f46e81b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T041652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b7f65c393c41341508d82c64209b49db164f8220498d7fe3ef28660fa7ad5d9 [2024-03-21T04:16:52.265Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-21T04:16:52.265Z] Dload Upload Total Spent Left Speed [2024-03-21T04:16:52.524Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 35419 --:--:-- --:--:-- --:--:-- 35419 [2024-03-21T04:16:52.524Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c8daca3b4879355421fd448c3da50a7b31ffaa1e [Pipeline] } [2024-03-21T04:16:52.553Z] 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-03-21T04:16:54.462Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-431/archives ] [2024-03-21T04:16:54.462Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-431/archives [2024-03-21T04:16:54.462Z] total 16 [2024-03-21T04:16:54.462Z] drwxr-xr-x 3 root root 4096 Mar 21 04:07 . [2024-03-21T04:16:54.462Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 04:07 .. [2024-03-21T04:16:54.462Z] drwxr-xr-x 2 root root 4096 Mar 21 04:07 cost [2024-03-21T04:16:54.462Z] -rw-r--r-- 1 root root 91 Mar 21 04:07 cost.csv [2024-03-21T04:16:54.462Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-431/archives [2024-03-21T04:16:54.462Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-431/archives [2024-03-21T04:16:54.462Z] total 16 [2024-03-21T04:16:54.462Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 04:07 . [2024-03-21T04:16:54.462Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 04:07 .. [2024-03-21T04:16:54.462Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 04:07 cost [2024-03-21T04:16:54.462Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 21 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-21T04:16:54.798Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T04:16:55.690Z] ---> package-listing.sh [2024-03-21T04:16:55.690Z] ++ facter osfamily [2024-03-21T04:16:55.690Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-21T04:16:55.949Z] + OS_FAMILY=debian [2024-03-21T04:16:55.949Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-431 [2024-03-21T04:16:55.949Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-21T04:16:55.949Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-21T04:16:55.949Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-21T04:16:55.949Z] + PACKAGES=/tmp/packages_start.txt [2024-03-21T04:16:55.949Z] + '[' /w/workspace/undry_device-onvif-camera_PR-431 ']' [2024-03-21T04:16:55.949Z] + PACKAGES=/tmp/packages_end.txt [2024-03-21T04:16:55.949Z] + case "${OS_FAMILY}" in [2024-03-21T04:16:55.949Z] + dpkg -l [2024-03-21T04:16:55.949Z] + grep '^ii' [2024-03-21T04:16:55.949Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-21T04:16:55.949Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-21T04:16:55.949Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-21T04:16:55.949Z] + '[' /w/workspace/undry_device-onvif-camera_PR-431 ']' [2024-03-21T04:16:55.949Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-431/archives/ [2024-03-21T04:16:55.949Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-431/archives/ [Pipeline] echo [2024-03-21T04:16:55.981Z] 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-431/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-21T04:16:56.273Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T04:16:56.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T04:16:56.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T04:16:57.076Z] prd-ubuntu20.04-docker-8c-8g-521 does not seem to be running inside a container [2024-03-21T04:16:57.167Z] $ 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-431/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-431 -v /w/workspace/undry_device-onvif-camera_PR-431:/w/workspace/undry_device-onvif-camera_PR-431:rw,z -v /w/workspace/undry_device-onvif-camera_PR-431@tmp:/w/workspace/undry_device-onvif-camera_PR-431@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-03-21T04:16:57.358Z] $ docker top bd15e0b5c5f2c43168c23313fcb4beeb4c3c5f3e4afbff99034ddc609ee4afac -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T04:16:57.820Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-21T04:16:58.217Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-21T04:16:58.533Z] + ls /var/log/sa-host [2024-03-21T04:16:58.533Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T04:16:58.757Z] provisioning config files... [2024-03-21T04:16:58.765Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-431@tmp/config13610501038947103063tmp [Pipeline] { [Pipeline] echo [2024-03-21T04:16:58.827Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T04:16:59.145Z] ---> create-netrc.sh [Pipeline] } [2024-03-21T04:16:59.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-21T04:16:59.590Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-21T04:16:59.625Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T04:16:59.935Z] ---> sudo-logs.sh [2024-03-21T04:16:59.935Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-21T04:17:00.029Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T04:17:00.340Z] ---> job-cost.sh [2024-03-21T04:17:00.340Z] lf-activate-venv: SKIPPING [2024-03-21T04:17:00.340Z] DEBUG: total: 0.2199999988079071 [2024-03-21T04:17:00.340Z] INFO: Retrieving Stack Cost... [2024-03-21T04:17:00.601Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-21T04:17:01.169Z] INFO: Archiving Costs [Pipeline] echo [2024-03-21T04:17:01.208Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T04:17:01.524Z] ---> logs-deploy.sh [2024-03-21T04:17:01.524Z] lf-activate-venv: SKIPPING [2024-03-21T04:17:01.524Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-431/1 [2024-03-21T04:17:01.524Z] INFO: archiving workspace using pattern(s): [2024-03-21T04:17:02.459Z] Archives upload complete. [2024-03-21T04:17:02.459Z] INFO: archiving logs to Nexus