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 04:03:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:03:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:03:58 ========================================================= 04:03:58 EdgeX Global Pipelines Version Info 04:03:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:03:59 ------------------- 04:03:59 stable info: 04:03:59 ------------------- 04:03:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:03:59 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:03:59 Message: update stable to v1.0.258 04:03:59 ------------------- 04:03:59 experimental info: 04:03:59 ------------------- 04:03:59 Commited By: **** collab-it+edgex@linuxfoundation.org 04:03:59 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:03:59 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:04:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:04:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:04:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 04:04:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:04:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:04:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:04:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:04:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:04:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-431 [Pipeline] echo 04:04:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-431 [Pipeline] echo 04:04:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-431 [Pipeline] echo 04:04:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8daca3b4879355421fd448c3da50a7b31ffaa1e [Pipeline] echo 04:04:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8daca3 [Pipeline] echo 04:04:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:01 provisioning config files... 04:04:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-431@tmp/config3461100063563494647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:02 ---> ****-login.sh 04:04:02 nexus3.edgexfoundry.org:10001 04:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:02 Configure a credential helper to remove this warning. See 04:04:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:02 04:04:02 Login Succeeded 04:04:02 nexus3.edgexfoundry.org:10002 04:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:02 Configure a credential helper to remove this warning. See 04:04:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:02 04:04:02 Login Succeeded 04:04:02 nexus3.edgexfoundry.org:10003 04:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:02 Configure a credential helper to remove this warning. See 04:04:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:02 04:04:02 Login Succeeded 04:04:02 nexus3.edgexfoundry.org:10004 04:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:02 Configure a credential helper to remove this warning. See 04:04:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:02 04:04:02 Login Succeeded 04:04:02 ****.io 04:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:03 Configure a credential helper to remove this warning. See 04:04:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:03 04:04:03 Login Succeeded 04:04:03 ---> ****-login.sh ends [Pipeline] } 04:04:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:04:04 + git rev-list -1 --merges c8daca3b4879355421fd448c3da50a7b31ffaa1e~1..c8daca3b4879355421fd448c3da50a7b31ffaa1e [Pipeline] echo 04:04:04 -----------> git rev-list -1 --merges c8daca3b4879355421fd448c3da50a7b31ffaa1e~1..c8daca3b4879355421fd448c3da50a7b31ffaa1e c8daca3b4879355421fd448c3da50a7b31ffaa1e [false] [Pipeline] sh 04:04:04 + git log --format=format:%s -1 c8daca3b4879355421fd448c3da50a7b31ffaa1e [Pipeline] echo 04:04:04 ========================================================= 04:04:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:04:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:04:04 + git log --format=format:%s -1 c8daca3b4879355421fd448c3da50a7b31ffaa1e [Pipeline] echo 04:04:04 [semverPrep] GIT_COMMIT: c8daca3b4879355421fd448c3da50a7b31ffaa1e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 04:04:04 [semverPrep] This is not a build commit. [Pipeline] sh 04:04:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:04:05 + grep -v github /etc/ssh/ssh_known_hosts 04:04:05 + [ -e /tmp/ssh_known_hosts ] 04:04:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:04:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:04:05 + sudo tee -a /etc/ssh/ssh_known_hosts 04:04:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:05 04:04:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:06 0.1.4: Pulling from edgex-devops/py-git-semver 04:04:06 b85a868b505f: Pulling fs layer 04:04:06 e2be974225ed: Pulling fs layer 04:04:06 339a4e72a1f5: Pulling fs layer 04:04:06 988bab9f4d93: Pulling fs layer 04:04:06 1469e6f7b9e6: Pulling fs layer 04:04:06 eaf3925da568: Pulling fs layer 04:04:06 bab4dde63d76: Pulling fs layer 04:04:06 bde34c3a00c8: Pulling fs layer 04:04:06 b352a97aabf1: Pulling fs layer 04:04:06 4872d77fe225: Pulling fs layer 04:04:06 5851b861e8e6: Pulling fs layer 04:04:06 bab4dde63d76: Waiting 04:04:06 bde34c3a00c8: Waiting 04:04:06 b352a97aabf1: Waiting 04:04:06 4872d77fe225: Waiting 04:04:06 5851b861e8e6: Waiting 04:04:06 988bab9f4d93: Waiting 04:04:06 1469e6f7b9e6: Waiting 04:04:06 eaf3925da568: Waiting 04:04:06 e2be974225ed: Verifying Checksum 04:04:06 e2be974225ed: Download complete 04:04:06 988bab9f4d93: Verifying Checksum 04:04:06 988bab9f4d93: Download complete 04:04:06 1469e6f7b9e6: Verifying Checksum 04:04:06 1469e6f7b9e6: Download complete 04:04:06 eaf3925da568: Verifying Checksum 04:04:06 eaf3925da568: Download complete 04:04:06 339a4e72a1f5: Verifying Checksum 04:04:06 339a4e72a1f5: Download complete 04:04:06 bde34c3a00c8: Download complete 04:04:06 b352a97aabf1: Verifying Checksum 04:04:06 b352a97aabf1: Download complete 04:04:06 4872d77fe225: Verifying Checksum 04:04:06 4872d77fe225: Download complete 04:04:06 5851b861e8e6: Verifying Checksum 04:04:06 5851b861e8e6: Download complete 04:04:06 b85a868b505f: Verifying Checksum 04:04:06 b85a868b505f: Download complete 04:04:07 bab4dde63d76: Verifying Checksum 04:04:07 bab4dde63d76: Download complete 04:04:07 b85a868b505f: Pull complete 04:04:07 e2be974225ed: Pull complete 04:04:08 339a4e72a1f5: Pull complete 04:04:08 988bab9f4d93: Pull complete 04:04:08 1469e6f7b9e6: Pull complete 04:04:08 eaf3925da568: Pull complete 04:04:10 bab4dde63d76: Pull complete 04:04:10 bde34c3a00c8: Pull complete 04:04:10 b352a97aabf1: Pull complete 04:04:10 4872d77fe225: Pull complete 04:04:10 5851b861e8e6: Pull complete 04:04:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:04:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:11 prd-ubuntu20.04-docker-8c-8g-521 does not seem to be running inside a container 04:04:11 $ 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 04:04:14 $ docker top 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 -eo pid,comm 04:04:14 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). 04:04:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:04:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:04:14 [ssh-agent] Looking for ssh-agent implementation... 04:04:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:04:14 $ docker exec 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 ssh-agent 04:04:14 SSH_AUTH_SOCK=/tmp/ssh-SFYpGMyA18NP/agent.31 04:04:14 SSH_AGENT_PID=37 04:04:14 Running ssh-add (command line suppressed) 04:04:15 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) 04:04:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:04:15 + git tag --points-at HEAD [Pipeline] } 04:04:15 $ docker exec --env ******** --env ******** 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 ssh-agent -k 04:04:15 unset SSH_AUTH_SOCK; 04:04:15 unset SSH_AGENT_PID; 04:04:15 echo Agent pid 37 killed; 04:04:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:04:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:04:15 [ssh-agent] Looking for ssh-agent implementation... 04:04:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:04:15 $ docker exec 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 ssh-agent 04:04:15 SSH_AUTH_SOCK=/tmp/ssh-MwsFu494yLCD/agent.70 04:04:15 SSH_AGENT_PID=76 04:04:15 Running ssh-add (command line suppressed) 04:04:15 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) 04:04:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:04:16 + git semver init 04:04:16 2024-03-21 04:04:16,521 [run_init] DEBUG init version:0.0.0 force:False 04:04:16 2024-03-21 04:04:16,522 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-431/.semver 04:04:16 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 04:04:16 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) 04:04:18 2024-03-21 04:04:18,108 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-431/.git/info/exclude 04:04:18 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 04:04:18 2024-03-21 04:04:18,109 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-431/.semver/PR-431 04:04:18 2024-03-21 04:04:18,113 [execute] INFO git cat-file --batch-check 04:04:18 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=) 04:04:18 2024-03-21 04:04:18,121 [execute] INFO git cat-file --batch 04:04:18 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=) 04:04:18 2024-03-21 04:04:18,126 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-431/.semver/PR-431 04:04:18 0.0.0 [Pipeline] } 04:04:18 $ docker exec --env ******** --env ******** 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 ssh-agent -k 04:04:18 unset SSH_AUTH_SOCK; 04:04:18 unset SSH_AGENT_PID; 04:04:18 echo Agent pid 76 killed; 04:04:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:04:19 + git semver [Pipeline] } 04:04:19 $ docker stop --time=1 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 04:04:20 $ docker rm -f --volumes 0241c868c9654acdf3bbc712d7e19cef7355a6987e00e3730852bffbe0bd0312 [Pipeline] // withDockerContainer [Pipeline] sh 04:04:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:04:21 Stashed 1 file(s) [Pipeline] echo 04:04:21 [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 04:04:22 provisioning config files... 04:04:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-431@tmp/config13876518480898173305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:22 ---> ****-login.sh 04:04:22 nexus3.edgexfoundry.org:10001 04:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:22 Configure a credential helper to remove this warning. See 04:04:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:22 04:04:22 Login Succeeded 04:04:22 nexus3.edgexfoundry.org:10002 04:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:22 Configure a credential helper to remove this warning. See 04:04:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:22 04:04:22 Login Succeeded 04:04:22 nexus3.edgexfoundry.org:10003 04:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:22 Configure a credential helper to remove this warning. See 04:04:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:22 04:04:22 Login Succeeded 04:04:22 nexus3.edgexfoundry.org:10004 04:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:22 Configure a credential helper to remove this warning. See 04:04:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:22 04:04:22 Login Succeeded 04:04:22 ****.io 04:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:22 Configure a credential helper to remove this warning. See 04:04:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:22 04:04:22 Login Succeeded 04:04:22 ---> ****-login.sh ends [Pipeline] } 04:04:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:04:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:04:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:04:23 ========================================================= 04:04:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:04:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:23 + 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 . 04:04:23 Sending build context to Docker daemon 34.4MB 04:04:23 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:04:23 Step 2/13 : FROM ${BASE} AS builder 04:04:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:04:24 7264a8db6415: Pulling fs layer 04:04:24 c4d48a809fc2: Pulling fs layer 04:04:24 4f1c88b9dad5: Pulling fs layer 04:04:24 ad3a456e5733: Pulling fs layer 04:04:24 69c7f0334f64: Pulling fs layer 04:04:24 1f1c1a5573a3: Pulling fs layer 04:04:24 ce7588e14bc9: Pulling fs layer 04:04:24 b5e4710f87ac: Pulling fs layer 04:04:24 1f1c1a5573a3: Waiting 04:04:24 69c7f0334f64: Waiting 04:04:24 b5e4710f87ac: Waiting 04:04:24 ce7588e14bc9: Waiting 04:04:24 ad3a456e5733: Waiting 04:04:24 c4d48a809fc2: Download complete 04:04:24 ad3a456e5733: Verifying Checksum 04:04:24 ad3a456e5733: Download complete 04:04:24 69c7f0334f64: Download complete 04:04:24 7264a8db6415: Verifying Checksum 04:04:24 7264a8db6415: Download complete 04:04:24 1f1c1a5573a3: Verifying Checksum 04:04:24 1f1c1a5573a3: Download complete 04:04:24 7264a8db6415: Pull complete 04:04:24 b5e4710f87ac: Verifying Checksum 04:04:24 b5e4710f87ac: Download complete 04:04:24 c4d48a809fc2: Pull complete 04:04:24 4f1c88b9dad5: Verifying Checksum 04:04:24 4f1c88b9dad5: Download complete 04:04:24 ce7588e14bc9: Verifying Checksum 04:04:24 ce7588e14bc9: Download complete 04:04:28 4f1c88b9dad5: Pull complete 04:04:28 ad3a456e5733: Pull complete 04:04:28 69c7f0334f64: Pull complete 04:04:28 1f1c1a5573a3: Pull complete 04:04:30 ce7588e14bc9: Pull complete 04:04:30 b5e4710f87ac: Pull complete 04:04:30 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:04:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:04:30 ---> 88b5674ff536 04:04:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:04:35 ---> Running in 9cf38c10fc53 04:04:35 Removing intermediate container 9cf38c10fc53 04:04:35 ---> 5bbeaedf2426 04:04:35 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:35 ---> Running in eb7c909ceb97 04:04:35 Removing intermediate container eb7c909ceb97 04:04:35 ---> 9281f6d46dd5 04:04:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:04:35 ---> Running in c5c8f6efbe10 04:04:35 Removing intermediate container c5c8f6efbe10 04:04:35 ---> c32becafbd9f 04:04:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:04:35 ---> Running in 54bda276fff4 04:04:35 Removing intermediate container 54bda276fff4 04:04:35 ---> 2edb7f85c96e 04:04:35 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:04:35 ---> Running in 5565606723a7 04:04:35 Removing intermediate container 5565606723a7 04:04:35 ---> 20a9964f61dd 04:04:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:35 ---> Running in 18913d3a9fad 04:04:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:04:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:04:35 OK: 264 MiB in 52 packages 04:04:35 Removing intermediate container 18913d3a9fad 04:04:35 ---> 920ad1f269a3 04:04:35 Step 9/13 : WORKDIR /device-onvif-camera 04:04:35 ---> Running in 8d81d02df314 04:04:35 Removing intermediate container 8d81d02df314 04:04:35 ---> a774a144946d 04:04:35 Step 10/13 : COPY go.mod vendor* ./ 04:04:36 ---> c62ae9fe1252 04:04:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:36 ---> Running in 1ff6654fe6b7 04:04:36 Still waiting to schedule task 04:04:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:05:32 Removing intermediate container 1ff6654fe6b7 04:05:32 ---> 588680f8a0bc 04:05:32 Step 12/13 : COPY . . 04:05:33 ---> f7d8b9235eda 04:05:33 Step 13/13 : RUN ${MAKE} 04:05:33 ---> Running in 178d97008082 04:05:33 noop 04:05:34 Removing intermediate container 178d97008082 04:05:34 ---> e3aba511f24d 04:05:34 Successfully built e3aba511f24d 04:05:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:34 + docker inspect -f . ci-base-image-x86_64 04:05:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:34 prd-ubuntu20.04-docker-8c-8g-521 does not seem to be running inside a container 04:05:34 $ 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 04:05:35 $ docker top fdab18ce8d5c9d02916fa76ccdf20658356392cec66242cee8d8e66a24d0958e -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:35 + go version 04:05:35 go version go1.21.0 linux/amd64 [Pipeline] } 04:05:35 $ docker stop --time=1 fdab18ce8d5c9d02916fa76ccdf20658356392cec66242cee8d8e66a24d0958e 04:05:36 $ 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 04:05:37 + docker inspect -f . ci-base-image-x86_64 04:05:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:37 prd-ubuntu20.04-docker-8c-8g-521 does not seem to be running inside a container 04:05:37 $ 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 04:05:38 $ docker top e8c51950ec898b35f54eb2d46a59f0ec7834a659b4ab907e2df9f752785de1b9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:38 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-431 [Pipeline] fileExists [Pipeline] sh 04:05:38 + make test 04:05:38 go test ./... -coverprofile=coverage.out ./... 04:05:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:05:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:05:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:05:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.028s coverage: 31.5% of statements 04:05:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.128s coverage: 86.5% of statements 04:06:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-523 in /w/workspace/undry_device-onvif-camera_PR-431 [Pipeline] { [Pipeline] ws 04:06:03 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:06:06 The recommended git tool is: git 04:06:07 go vet ./... 04:06:11 using credential edgex-jenkins-ssh 04:06:11 Cloning the remote Git repository 04:06:11 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:06:11 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:06:11 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:06:11 > git --version # timeout=10 04:06:11 > git --version # 'git version 2.25.1' 04:06:11 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:06:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:06:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:06:13 ./bin/test-attribution-txt.sh 04:06:13 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:06:13 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:06:13 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:06:13 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:06:13 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:06:13 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:06:13 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:06:13 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:06:13 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:06:13 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 04:06:13 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:06:13 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:06:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:06:13 $ docker stop --time=1 e8c51950ec898b35f54eb2d46a59f0ec7834a659b4ab907e2df9f752785de1b9 04:06:14 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:06:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:06:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:06:15 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:06:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:15 Merging remotes/origin/main commit 30f086e472ba45efbfdabc7b924c06da27b16fd7 into PR head commit c8daca3b4879355421fd448c3da50a7b31ffaa1e 04:06:16 Merge succeeded, producing c8daca3b4879355421fd448c3da50a7b31ffaa1e 04:06:16 Checking out Revision c8daca3b4879355421fd448c3da50a7b31ffaa1e (PR-431) 04:06:15 > 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 04:06:15 > git config core.sparsecheckout # timeout=10 04:06:15 > git checkout -f c8daca3b4879355421fd448c3da50a7b31ffaa1e # timeout=10 04:06:16 > git remote # timeout=10 04:06:16 > git config --get remote.origin.url # timeout=10 04:06:16 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:16 > git merge 30f086e472ba45efbfdabc7b924c06da27b16fd7 # timeout=10 04:06:16 > git rev-parse HEAD^{commit} # timeout=10 04:06:16 > git config core.sparsecheckout # timeout=10 04:06:16 > git checkout -f c8daca3b4879355421fd448c3da50a7b31ffaa1e # timeout=10 04:06:16 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 04:06:16 > git --version # timeout=10 04:06:16 > git --version # 'git version 2.25.1' 04:06:16 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:06:17 $ docker rm -f --volumes e8c51950ec898b35f54eb2d46a59f0ec7834a659b4ab907e2df9f752785de1b9 [Pipeline] // withDockerContainer [Pipeline] sh 04:06:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:06:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:06:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:06:18 + ls -al . 04:06:18 total 308 04:06:18 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 04:05 . 04:06:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:03 .. 04:06:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:05 .git 04:06:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:03 .github 04:06:18 -rw-rw-r-- 1 jenkins jenkins 493 Mar 21 04:03 .gitignore 04:06:18 -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 04:03 .golangci.yml 04:06:18 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 04:04 .semver 04:06:18 -rw-rw-r-- 1 jenkins jenkins 11155 Mar 21 04:03 Attribution.txt 04:06:18 -rw-rw-r-- 1 jenkins jenkins 17665 Mar 21 04:03 CHANGELOG.md 04:06:18 -rw-rw-r-- 1 jenkins jenkins 1683 Mar 21 04:03 Dockerfile 04:06:18 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 04:03 GOVERNANCE.md 04:06:18 -rw-rw-r-- 1 jenkins jenkins 739 Mar 21 04:03 Jenkinsfile 04:06:18 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 04:03 LICENSE 04:06:18 -rw-rw-r-- 1 jenkins jenkins 2883 Mar 21 04:03 Makefile 04:06:18 -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 04:03 OWNERS.md 04:06:18 -rw-rw-r-- 1 jenkins jenkins 2620 Mar 21 04:03 README.md 04:06:18 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 04:04 VERSION 04:06:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:03 bin 04:06:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:03 cmd 04:06:18 -rw-r--r-- 1 jenkins jenkins 78456 Mar 21 04:05 coverage.out 04:06:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:03 doc 04:06:18 -rw-rw-r-- 1 jenkins jenkins 7393 Mar 21 04:03 go.mod 04:06:18 -rw-rw-r-- 1 jenkins jenkins 101917 Mar 21 04:03 go.sum 04:06:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:03 internal 04:06:18 -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:19 + 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 . 04:06:19 Sending build context to Docker daemon 34.48MB 04:06:19 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:06:19 Step 2/27 : FROM ${BASE} AS builder 04:06:19 ---> e3aba511f24d 04:06:19 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:06:19 ---> Running in 8b81e50a49c9 04:06:19 Removing intermediate container 8b81e50a49c9 04:06:19 ---> 028d47c6c75d 04:06:19 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:06:19 ---> Running in 7ba99bebba4d 04:06:20 Removing intermediate container 7ba99bebba4d 04:06:20 ---> 0122a6a737b6 04:06:20 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:06:20 ---> Running in 1995cfb7fe46 04:06:20 Removing intermediate container 1995cfb7fe46 04:06:20 ---> f7a485566bcb 04:06:20 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:06:20 ---> Running in 01c8f43ed6cc 04:06:20 Removing intermediate container 01c8f43ed6cc 04:06:20 ---> b99a1e9358e2 04:06:20 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:06:20 ---> Running in 90d9598b1ddb 04:06:20 Removing intermediate container 90d9598b1ddb 04:06:20 ---> ab1b042a9f74 04:06:20 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:06:20 ---> Running in 52e49c52ff3a 04:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:06:20 OK: 264 MiB in 52 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:21 Removing intermediate container 52e49c52ff3a 04:06:21 ---> 981bcd73f4e8 04:06:21 Step 9/27 : WORKDIR /device-onvif-camera 04:06:21 ---> Running in 59df1a53f167 04:06:21 Removing intermediate container 59df1a53f167 04:06:21 ---> e90a99b66ff5 04:06:21 Step 10/27 : COPY go.mod vendor* ./ 04:06:21 ---> b50de354199d 04:06:21 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:21 ---> Running in 96ed02a062fb 04:06:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:06:21 % Total % Received % Xferd Average Speed Time Time Time Current 04:06:21 Dload Upload Total Spent Left Speed 04:06:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 80679 0 --:--:-- --:--:-- --:--:-- 80679 [Pipeline] sh 04:06:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:06:22 Removing intermediate container 96ed02a062fb 04:06:22 ---> df66f7815e8a 04:06:22 Step 12/27 : COPY . . 04:06:22 + sudo tee /etc/docker/daemon.new 04:06:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:06:22 { 04:06:22 "registry-mirrors": [ 04:06:22 "https://nexus3.edgexfoundry.org:10001" 04:06:22 ], 04:06:22 "bip": "10.250.0.254/24", 04:06:22 "hosts": [ 04:06:22 "tcp://0.0.0.0:5555", 04:06:22 "unix:///var/run/docker.sock" 04:06:22 ], 04:06:22 "mtu": 1458, 04:06:22 "selinux-enabled": true, 04:06:22 "seccomp-profile": "/etc/docker/seccomp.json" 04:06:22 } [Pipeline] sh 04:06:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:06:22 ---> 0b005e7a9bd1 04:06:22 Step 13/27 : RUN ${MAKE} 04:06:22 ---> Running in ac312220e846 04:06:23 + sudo service docker restart 04:06:23 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 04:06:41 provisioning config files... 04:06:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7292119332951315402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:41 ---> ****-login.sh 04:06:41 nexus3.edgexfoundry.org:10001 04:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:42 Configure a credential helper to remove this warning. See 04:06:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:42 04:06:42 Login Succeeded 04:06:42 nexus3.edgexfoundry.org:10002 04:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:42 Configure a credential helper to remove this warning. See 04:06:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:42 04:06:42 Login Succeeded 04:06:42 nexus3.edgexfoundry.org:10003 04:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:43 Configure a credential helper to remove this warning. See 04:06:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:43 04:06:43 Login Succeeded 04:06:43 nexus3.edgexfoundry.org:10004 04:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:43 Configure a credential helper to remove this warning. See 04:06:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:43 04:06:43 Login Succeeded 04:06:43 ****.io 04:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:44 Configure a credential helper to remove this warning. See 04:06:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:44 04:06:44 Login Succeeded 04:06:44 ---> ****-login.sh ends [Pipeline] } 04:06:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:06:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:06:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:06:44 ========================================================= 04:06:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:06:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:45 + 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 . 04:06:45 Sending build context to Docker daemon 20.6MB 04:06:45 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:06:45 Step 2/13 : FROM ${BASE} AS builder 04:06:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:06:45 9fda8d8052c6: Pulling fs layer 04:06:45 5d54e960e981: Pulling fs layer 04:06:45 c4a7e357bf2a: Pulling fs layer 04:06:45 f0e02332f6b5: Pulling fs layer 04:06:45 872ee5b61b7b: Pulling fs layer 04:06:45 0c6a40ed1a82: Pulling fs layer 04:06:45 94ae7d8d031c: Pulling fs layer 04:06:45 872ee5b61b7b: Waiting 04:06:45 94ae7d8d031c: Waiting 04:06:45 0c6a40ed1a82: Waiting 04:06:45 f0e02332f6b5: Waiting 04:06:45 5d54e960e981: Download complete 04:06:45 f0e02332f6b5: Verifying Checksum 04:06:45 f0e02332f6b5: Download complete 04:06:45 872ee5b61b7b: Verifying Checksum 04:06:45 872ee5b61b7b: Download complete 04:06:45 9fda8d8052c6: Download complete 04:06:46 94ae7d8d031c: Verifying Checksum 04:06:46 94ae7d8d031c: Download complete 04:06:46 9fda8d8052c6: Pull complete 04:06:47 5d54e960e981: Pull complete 04:06:47 c4a7e357bf2a: Download complete 04:06:48 0c6a40ed1a82: Verifying Checksum 04:06:48 0c6a40ed1a82: Download complete 04:06:55 Removing intermediate container ac312220e846 04:06:55 ---> bbc251fca5fd 04:06:55 Step 14/27 : FROM alpine:3.18 04:06:55 3.18: Pulling from library/alpine 04:06:55 619be1103602: Pulling fs layer 04:06:55 619be1103602: Verifying Checksum 04:06:55 619be1103602: Download complete 04:06:55 619be1103602: Pull complete 04:06:55 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 04:06:55 Status: Downloaded newer image for alpine:3.18 04:06:55 ---> d3782b16ccc9 04:06:55 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:06:55 ---> Running in 87a7b7943a51 04:06:55 Removing intermediate container 87a7b7943a51 04:06:55 ---> 9a41a62b649c 04:06:55 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:06:55 ---> Running in 2d372f92d01a 04:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:06:55 (1/1) Installing dumb-init (1.2.5-r2) 04:06:55 Executing busybox-1.36.1-r5.trigger 04:06:55 OK: 7 MiB in 16 packages 04:06:55 Removing intermediate container 2d372f92d01a 04:06:55 ---> 8fc306598c77 04:06:55 Step 17/27 : RUN apk --no-cache upgrade 04:06:55 ---> Running in d0774d61ad30 04:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:06:55 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 04:06:55 OK: 7 MiB in 16 packages 04:06:55 Removing intermediate container d0774d61ad30 04:06:55 ---> 65bfecd30467 04:06:55 Step 18/27 : WORKDIR / 04:06:55 ---> Running in e355c0674b69 04:06:55 Removing intermediate container e355c0674b69 04:06:55 ---> d5dc7c78dda6 04:06:55 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:06:55 ---> e7eb6c8b896e 04:06:55 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:06:55 ---> 9fde49fb264a 04:06:55 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:06:55 ---> 7c965b5624ad 04:06:55 Step 22/27 : EXPOSE 59984 04:06:55 ---> Running in 789e6e368415 04:06:55 Removing intermediate container 789e6e368415 04:06:55 ---> c1d483db460b 04:06:55 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:06:55 ---> Running in 40cdd69fb111 04:06:55 Removing intermediate container 40cdd69fb111 04:06:55 ---> 217a9d721ba0 04:06:55 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:06:55 ---> Running in 99b64304a46f 04:06:55 Removing intermediate container 99b64304a46f 04:06:55 ---> 7ed25642c177 04:06:55 Step 25/27 : LABEL arch=amd64 04:06:55 ---> Running in f918c8fdd324 04:06:55 Removing intermediate container f918c8fdd324 04:06:55 ---> 891722e2bd8f 04:06:55 Step 26/27 : LABEL git_sha=c8daca3b4879355421fd448c3da50a7b31ffaa1e 04:06:55 ---> Running in 4c6a1831c5d0 04:06:55 Removing intermediate container 4c6a1831c5d0 04:06:55 ---> 535048e0a124 04:06:55 Step 27/27 : LABEL version=0.0.0 04:06:55 ---> Running in 0fccbf4adc52 04:06:55 Removing intermediate container 0fccbf4adc52 04:06:55 ---> 157cf5e993ec 04:06:55 [Warning] One or more build-args [ARCH] were not consumed 04:06:55 Successfully built 157cf5e993ec 04:06:55 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 04:06:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:06:56 04:06:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:06:56 latest: Pulling from edgex-lftools-log-publisher 04:06:56 5eb5b503b376: Pulling fs layer 04:06:56 5c69ac0246d0: Pulling fs layer 04:06:56 ec43610c2a17: Pulling fs layer 04:06:56 3a2ae6a8a46f: Pulling fs layer 04:06:56 33b1e0a273af: Pulling fs layer 04:06:56 5d3b04190fa2: Pulling fs layer 04:06:56 2f39f015ded8: Pulling fs layer 04:06:56 33b1e0a273af: Waiting 04:06:56 2f39f015ded8: Waiting 04:06:56 5d3b04190fa2: Waiting 04:06:56 3a2ae6a8a46f: Waiting 04:06:56 5c69ac0246d0: Verifying Checksum 04:06:56 5c69ac0246d0: Download complete 04:06:56 3a2ae6a8a46f: Verifying Checksum 04:06:56 3a2ae6a8a46f: Download complete 04:06:56 33b1e0a273af: Verifying Checksum 04:06:56 33b1e0a273af: Download complete 04:06:56 5d3b04190fa2: Verifying Checksum 04:06:56 5d3b04190fa2: Download complete 04:06:57 ec43610c2a17: Verifying Checksum 04:06:57 ec43610c2a17: Download complete 04:06:57 5eb5b503b376: Verifying Checksum 04:06:57 5eb5b503b376: Download complete 04:06:58 2f39f015ded8: Download complete 04:06:58 5eb5b503b376: Pull complete 04:06:58 5c69ac0246d0: Pull complete 04:06:59 ec43610c2a17: Pull complete 04:06:59 3a2ae6a8a46f: Pull complete 04:06:59 33b1e0a273af: Pull complete 04:06:59 5d3b04190fa2: Pull complete 04:07:00 c4a7e357bf2a: Pull complete 04:07:00 f0e02332f6b5: Pull complete 04:07:00 872ee5b61b7b: Pull complete 04:07:04 2f39f015ded8: Pull complete 04:07:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:07:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:04 prd-ubuntu20.04-docker-8c-8g-521 does not seem to be running inside a container 04:07:04 $ 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 04:07:08 $ docker top d30910bd33296959973192743ac3ea7f912797541eca85d4b6275c409cdb9125 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:08 ---> job-cost.sh 04:07:08 lf-activate-venv: SKIPPING 04:07:08 INFO: No Stack... 04:07:09 0c6a40ed1a82: Pull complete 04:07:09 INFO: Retrieving Pricing Info for: v3-standard-8 04:07:09 INFO: Archiving Costs [Pipeline] sh 04:07:09 + + cat /w/workspace/undry_device-onvif-camera_PR-431/archives/cost.csv 04:07:09 cut -d, -f6 [Pipeline] lock 04:07:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] 04:07:09 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] did not exist. Created. 04:07:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:10 + echo total: 0.2199999988079071 [Pipeline] stash 04:07:10 Stashed 1 file(s) [Pipeline] } 04:07:10 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:07:10 $ docker stop --time=1 d30910bd33296959973192743ac3ea7f912797541eca85d4b6275c409cdb9125 04:07:11 94ae7d8d031c: Pull complete 04:07:11 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:07:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:07:11 ---> 86de565de09d 04:07:11 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:07:11 $ docker rm -f --volumes d30910bd33296959973192743ac3ea7f912797541eca85d4b6275c409cdb9125 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:07:12 ---> Running in fc3a3e86a98e 04:07:12 Removing intermediate container fc3a3e86a98e 04:07:12 ---> 0f82bef782a1 04:07:12 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:07:12 ---> Running in 7351b499e302 04:07:13 Removing intermediate container 7351b499e302 04:07:13 ---> 8480de18194e 04:07:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:07:13 ---> Running in a7f56c708634 04:07:13 Removing intermediate container a7f56c708634 04:07:13 ---> e49c9f1e6a10 04:07:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:07:13 ---> Running in 1feeb4ac9f55 04:07:13 Removing intermediate container 1feeb4ac9f55 04:07:13 ---> 3e9c8d763f20 04:07:13 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:07:13 ---> Running in 45fa2dc9efe9 04:07:14 Removing intermediate container 45fa2dc9efe9 04:07:14 ---> a20222f26d73 04:07:14 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:07:14 ---> Running in e69df62bff6d 04:07:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:07:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:07:16 OK: 266 MiB in 52 packages 04:07:17 Removing intermediate container e69df62bff6d 04:07:17 ---> 1562bff14b59 04:07:17 Step 9/13 : WORKDIR /device-onvif-camera 04:07:17 ---> Running in 8206e21852db 04:07:17 Removing intermediate container 8206e21852db 04:07:17 ---> 00f839003fa3 04:07:17 Step 10/13 : COPY go.mod vendor* ./ 04:07:18 ---> c219eb9cb3fe 04:07:18 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:18 ---> Running in 9270b8a2adba 04:09:25 Removing intermediate container 9270b8a2adba 04:09:25 ---> 6e428211f64d 04:09:25 Step 12/13 : COPY . . 04:09:25 ---> ff12389ef403 04:09:25 Step 13/13 : RUN ${MAKE} 04:09:25 ---> Running in 84fac2c39e9b 04:09:25 noop 04:09:25 Removing intermediate container 84fac2c39e9b 04:09:25 ---> b1909bcb9f23 04:09:25 Successfully built b1909bcb9f23 04:09:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:25 + docker inspect -f . ci-base-image-arm64 04:09:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:25 prd-ubuntu20.04-docker-arm64-4c-16g-523 does not seem to be running inside a container 04:09:25 $ 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 04:09:27 $ docker top bee3a12144b50dc4297b8db6c86b22bef7954f6bd62f26cc39e335e20d29d839 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:27 + go version 04:09:27 go version go1.21.0 linux/arm64 [Pipeline] } 04:09:27 $ docker stop --time=1 bee3a12144b50dc4297b8db6c86b22bef7954f6bd62f26cc39e335e20d29d839 04:09:29 $ 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 04:09:30 + docker inspect -f . ci-base-image-arm64 04:09:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:30 prd-ubuntu20.04-docker-arm64-4c-16g-523 does not seem to be running inside a container 04:09:30 $ 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 04:09:31 $ docker top 036535d07f25055fc557921d29cb6fe4cf699fd0f86b02fc51e880bca5b8c8b8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:32 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:09:33 + make test 04:09:33 go test ./... -coverprofile=coverage.out ./... 04:09:38 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:12:15 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:12:15 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:12:15 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.154s coverage: 31.5% of statements 04:12:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.615s coverage: 86.5% of statements 04:12:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:12:33 go vet ./... 04:13:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:13:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:13:12 ./bin/test-attribution-txt.sh 04:13:12 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:13:12 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:13:12 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:13:12 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:13:12 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:13:12 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:13:12 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:13:12 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:13:12 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:13:12 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 04:13:12 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:13:12 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:13:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:13:12 $ docker stop --time=1 036535d07f25055fc557921d29cb6fe4cf699fd0f86b02fc51e880bca5b8c8b8 04:13:14 $ docker rm -f --volumes 036535d07f25055fc557921d29cb6fe4cf699fd0f86b02fc51e880bca5b8c8b8 [Pipeline] // withDockerContainer [Pipeline] sh 04:13:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:13:16 Warning: overwriting stash ‘coverage-report’ 04:13:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:13:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:13:17 + ls -al . 04:13:17 total 304 04:13:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:09 . 04:13:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:06 .. 04:13:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:06 .git 04:13:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:06 .github 04:13:17 -rw-rw-r-- 1 jenkins jenkins 493 Mar 21 04:06 .gitignore 04:13:17 -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 04:06 .golangci.yml 04:13:17 -rw-rw-r-- 1 jenkins jenkins 11155 Mar 21 04:06 Attribution.txt 04:13:17 -rw-rw-r-- 1 jenkins jenkins 17665 Mar 21 04:06 CHANGELOG.md 04:13:17 -rw-rw-r-- 1 jenkins jenkins 1683 Mar 21 04:06 Dockerfile 04:13:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 04:06 GOVERNANCE.md 04:13:17 -rw-rw-r-- 1 jenkins jenkins 739 Mar 21 04:06 Jenkinsfile 04:13:17 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 04:06 LICENSE 04:13:17 -rw-rw-r-- 1 jenkins jenkins 2883 Mar 21 04:06 Makefile 04:13:17 -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 04:06 OWNERS.md 04:13:17 -rw-rw-r-- 1 jenkins jenkins 2620 Mar 21 04:06 README.md 04:13:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 04:04 VERSION 04:13:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:06 bin 04:13:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:06 cmd 04:13:17 -rw-r--r-- 1 jenkins jenkins 78456 Mar 21 04:12 coverage.out 04:13:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:06 doc 04:13:17 -rw-rw-r-- 1 jenkins jenkins 7393 Mar 21 04:06 go.mod 04:13:17 -rw-rw-r-- 1 jenkins jenkins 101917 Mar 21 04:06 go.sum 04:13:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:06 internal 04:13:17 -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:18 + 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 . 04:13:18 Sending build context to Docker daemon 20.68MB 04:13:18 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:13:18 Step 2/27 : FROM ${BASE} AS builder 04:13:18 ---> b1909bcb9f23 04:13:18 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:13:18 ---> Running in bb7e7528a794 04:13:19 Removing intermediate container bb7e7528a794 04:13:19 ---> 09b6551426f0 04:13:19 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:13:19 ---> Running in d1bfdc4b6385 04:13:19 Removing intermediate container d1bfdc4b6385 04:13:19 ---> 0b27f549702e 04:13:19 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:13:19 ---> Running in 173336a203f1 04:13:19 Removing intermediate container 173336a203f1 04:13:19 ---> 7b2abdfb0f4c 04:13:19 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:13:20 ---> Running in 0200349b80a9 04:13:20 Removing intermediate container 0200349b80a9 04:13:20 ---> 9b9548550007 04:13:20 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:13:20 ---> Running in c194a0a61cfa 04:13:20 Removing intermediate container c194a0a61cfa 04:13:20 ---> c3d9f77c4b90 04:13:20 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:13:20 ---> Running in 2dd8fe91780f 04:13:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:13:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:13:23 OK: 266 MiB in 52 packages 04:13:24 Removing intermediate container 2dd8fe91780f 04:13:24 ---> 7988cd2c23a8 04:13:24 Step 9/27 : WORKDIR /device-onvif-camera 04:13:24 ---> Running in 2ac0fba64e04 04:13:24 Removing intermediate container 2ac0fba64e04 04:13:24 ---> 885942d0c8ce 04:13:24 Step 10/27 : COPY go.mod vendor* ./ 04:13:24 ---> f31aacee51b3 04:13:24 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:24 ---> Running in 93a09a97f163 04:13:27 Removing intermediate container 93a09a97f163 04:13:27 ---> 1af053640d6a 04:13:27 Step 12/27 : COPY . . 04:13:28 ---> 23e183af31bb 04:13:28 Step 13/27 : RUN ${MAKE} 04:13:28 ---> Running in ebe46d71bfa5 04:13:29 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 04:16:06 Removing intermediate container ebe46d71bfa5 04:16:06 ---> 0c2fe38a9324 04:16:06 Step 14/27 : FROM alpine:3.18 04:16:06 3.18: Pulling from library/alpine 04:16:06 c6b39de5b339: Pulling fs layer 04:16:06 c6b39de5b339: Verifying Checksum 04:16:06 c6b39de5b339: Download complete 04:16:06 c6b39de5b339: Pull complete 04:16:06 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 04:16:06 Status: Downloaded newer image for alpine:3.18 04:16:06 ---> 33abbf032149 04:16:06 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:16:06 ---> Running in 4b068de73eb5 04:16:06 Removing intermediate container 4b068de73eb5 04:16:06 ---> 348fc7f4e822 04:16:06 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:16:06 ---> Running in c86e285275aa 04:16:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:16:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:16:06 (1/1) Installing dumb-init (1.2.5-r2) 04:16:06 Executing busybox-1.36.1-r5.trigger 04:16:06 OK: 8 MiB in 16 packages 04:16:06 Removing intermediate container c86e285275aa 04:16:06 ---> 0a7cdc58d9dc 04:16:06 Step 17/27 : RUN apk --no-cache upgrade 04:16:06 ---> Running in 28b59ed0bfd5 04:16:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:16:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:16:07 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 04:16:08 OK: 8 MiB in 16 packages 04:16:08 Removing intermediate container 28b59ed0bfd5 04:16:08 ---> 11c6656ccc0c 04:16:08 Step 18/27 : WORKDIR / 04:16:08 ---> Running in 6c3940681203 04:16:08 Removing intermediate container 6c3940681203 04:16:08 ---> 40b283449132 04:16:08 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:16:10 ---> b1c9dcc1e72d 04:16:10 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:16:11 ---> a9e9b01996f3 04:16:11 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:16:11 ---> 30d79a4af6f6 04:16:11 Step 22/27 : EXPOSE 59984 04:16:11 ---> Running in 29fea779addb 04:16:12 Removing intermediate container 29fea779addb 04:16:12 ---> 50cf48c3283f 04:16:12 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:16:12 ---> Running in 486c36195d6f 04:16:12 Removing intermediate container 486c36195d6f 04:16:12 ---> 6aac0688028e 04:16:12 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:16:12 ---> Running in eb759bc36e54 04:16:12 Removing intermediate container eb759bc36e54 04:16:12 ---> 8c5f381b19a0 04:16:12 Step 25/27 : LABEL arch=arm64 04:16:12 ---> Running in 9cf7f8c92283 04:16:13 Removing intermediate container 9cf7f8c92283 04:16:13 ---> 3888c6ae82e4 04:16:13 Step 26/27 : LABEL git_sha=c8daca3b4879355421fd448c3da50a7b31ffaa1e 04:16:13 ---> Running in b31218cd1d94 04:16:13 Removing intermediate container b31218cd1d94 04:16:13 ---> 865942633d97 04:16:13 Step 27/27 : LABEL version=0.0.0 04:16:13 ---> Running in 756d0a34804a 04:16:13 Removing intermediate container 756d0a34804a 04:16:13 ---> ba9d557f4fad 04:16:13 [Warning] One or more build-args [ARCH] were not consumed 04:16:13 Successfully built ba9d557f4fad 04:16:13 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 04:16:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:14 04:16:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:14 arm64: Pulling from edgex-lftools-log-publisher 04:16:14 8998bd30e6a1: Pulling fs layer 04:16:14 04944245beec: Pulling fs layer 04:16:14 699f458cf7ca: Pulling fs layer 04:16:14 765212b225bb: Pulling fs layer 04:16:14 f23df028b6ca: Pulling fs layer 04:16:14 d65c8cfc05b1: Pulling fs layer 04:16:14 2437ff75d9bd: Pulling fs layer 04:16:14 f23df028b6ca: Waiting 04:16:14 d65c8cfc05b1: Waiting 04:16:14 2437ff75d9bd: Waiting 04:16:14 765212b225bb: Waiting 04:16:15 04944245beec: Verifying Checksum 04:16:15 04944245beec: Download complete 04:16:15 765212b225bb: Verifying Checksum 04:16:15 765212b225bb: Download complete 04:16:15 f23df028b6ca: Verifying Checksum 04:16:15 f23df028b6ca: Download complete 04:16:15 d65c8cfc05b1: Verifying Checksum 04:16:15 d65c8cfc05b1: Download complete 04:16:15 699f458cf7ca: Verifying Checksum 04:16:15 699f458cf7ca: Download complete 04:16:15 8998bd30e6a1: Verifying Checksum 04:16:15 8998bd30e6a1: Download complete 04:16:18 2437ff75d9bd: Verifying Checksum 04:16:18 2437ff75d9bd: Download complete 04:16:20 8998bd30e6a1: Pull complete 04:16:20 04944245beec: Pull complete 04:16:22 699f458cf7ca: Pull complete 04:16:22 765212b225bb: Pull complete 04:16:23 f23df028b6ca: Pull complete 04:16:23 d65c8cfc05b1: Pull complete 04:16:41 2437ff75d9bd: Pull complete 04:16:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:16:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:41 prd-ubuntu20.04-docker-arm64-4c-16g-523 does not seem to be running inside a container 04:16:42 $ 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 04:16:44 $ docker top b030fcc3f83d27a326fa9383fb84446abc9fae8eb6f5e014cc69f7ee301115f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:45 ---> job-cost.sh 04:16:45 lf-activate-venv: SKIPPING 04:16:45 INFO: No Stack... 04:16:45 INFO: Retrieving Pricing Info for: v3-standard-4 04:16:46 INFO: Archiving Costs [Pipeline] sh 04:16:47 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 04:16:47 + cut -d, -f6 [Pipeline] lock 04:16:47 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] 04:16:47 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] did not exist. Created. 04:16:47 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:16:47 /w/workspace/device-onvif-camera/1@tmp/durable-bfaac8c7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:16:48 + echo total: 0.10999999940395355 [Pipeline] stash 04:16:48 Warning: overwriting stash ‘stack-cost’ 04:16:48 Stashed 1 file(s) [Pipeline] } 04:16:48 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-431-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:16:48 $ docker stop --time=1 b030fcc3f83d27a326fa9383fb84446abc9fae8eb6f5e014cc69f7ee301115f9 04:16:50 $ 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 04:16:51 provisioning config files... 04:16:51 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-431@tmp/config6607383684437931129tmp [Pipeline] { [Pipeline] sh 04:16:51 + set +x 04:16:51 + curl+ -s https://codecov.io/bash 04:16:51 bash -s -- 04:16:51 04:16:51 _____ _ 04:16:51 / ____| | | 04:16:51 | | ___ __| | ___ ___ _____ __ 04:16:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:16:51 | |___| (_) | (_| | __/ (_| (_) \ V / 04:16:51 \_____\___/ \__,_|\___|\___\___/ \_/ 04:16:51 Bash-1.0.6 04:16:51 04:16:51 04:16:51 ==> git version 2.25.1 found 04:16:51 ==> 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 04:16:51 Release-Date: 2020-01-08 04:16:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:16:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:16:51 ==> Jenkins CI detected. 04:16:51 current dir:  /w/workspace/undry_device-onvif-camera_PR-431 04:16:51 project root: . 04:16:51 --> token set from env 04:16:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:16:52 ==> Running gcov in . (disable via -X gcov) 04:16:52 ==> Python coveragepy not found 04:16:52 ==> Searching for coverage reports in: 04:16:52 + . 04:16:52 -> Found 1 reports 04:16:52 ==> Detecting git/mercurial file structure 04:16:52 ==> Reading reports 04:16:52 + ./coverage.out bytes=78456 04:16:52 ==> Appending adjustments 04:16:52 https://docs.codecov.io/docs/fixing-reports 04:16:52 + Found adjustments 04:16:52 ==> Gzipping contents 04:16:52 12K /tmp/codecov.hn0vHL.gz 04:16:52 ==> Uploading reports 04:16:52 url: https://codecov.io 04:16:52 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= 04:16:52 -> Pinging Codecov 04:16:52 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= 04:16:52 -> Uploading to 04:16:52 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 04:16:52 % Total % Received % Xferd Average Speed Time Time Time Current 04:16:52 Dload Upload Total Spent Left Speed 04:16:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 35419 --:--:-- --:--:-- --:--:-- 35419 04:16:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c8daca3b4879355421fd448c3da50a7b31ffaa1e [Pipeline] } 04:16:52 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 04:16:54 + [ -d /w/workspace/undry_device-onvif-camera_PR-431/archives ] 04:16:54 + ls -al /w/workspace/undry_device-onvif-camera_PR-431/archives 04:16:54 total 16 04:16:54 drwxr-xr-x 3 root root 4096 Mar 21 04:07 . 04:16:54 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 04:07 .. 04:16:54 drwxr-xr-x 2 root root 4096 Mar 21 04:07 cost 04:16:54 -rw-r--r-- 1 root root 91 Mar 21 04:07 cost.csv 04:16:54 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-431/archives 04:16:54 + ls -al /w/workspace/undry_device-onvif-camera_PR-431/archives 04:16:54 total 16 04:16:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 04:07 . 04:16:54 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 04:07 .. 04:16:54 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 04:07 cost 04:16:54 -rw-r--r-- 1 jenkins jenkins 91 Mar 21 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:16:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:16:55 ---> package-listing.sh 04:16:55 ++ facter osfamily 04:16:55 ++ tr '[:upper:]' '[:lower:]' 04:16:55 + OS_FAMILY=debian 04:16:55 + workspace=/w/workspace/undry_device-onvif-camera_PR-431 04:16:55 + START_PACKAGES=/tmp/packages_start.txt 04:16:55 + END_PACKAGES=/tmp/packages_end.txt 04:16:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:16:55 + PACKAGES=/tmp/packages_start.txt 04:16:55 + '[' /w/workspace/undry_device-onvif-camera_PR-431 ']' 04:16:55 + PACKAGES=/tmp/packages_end.txt 04:16:55 + case "${OS_FAMILY}" in 04:16:55 + dpkg -l 04:16:55 + grep '^ii' 04:16:55 + '[' -f /tmp/packages_start.txt ']' 04:16:55 + '[' -f /tmp/packages_end.txt ']' 04:16:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:16:55 + '[' /w/workspace/undry_device-onvif-camera_PR-431 ']' 04:16:55 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-431/archives/ 04:16:55 + 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 04:16:55 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 04:16:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:57 prd-ubuntu20.04-docker-8c-8g-521 does not seem to be running inside a container 04:16:57 $ 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 04:16:57 $ docker top bd15e0b5c5f2c43168c23313fcb4beeb4c3c5f3e4afbff99034ddc609ee4afac -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:57 + touch /tmp/pre-build-complete [Pipeline] sh 04:16:58 + mkdir -p /var/log/sysstat [Pipeline] sh 04:16:58 + ls /var/log/sa-host 04:16:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:16:58 provisioning config files... 04:16:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-431@tmp/config13610501038947103063tmp [Pipeline] { [Pipeline] echo 04:16:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:16:59 ---> create-netrc.sh [Pipeline] } 04:16:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:16:59 ---> python-tools-install.sh [Pipeline] echo 04:16:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:16:59 ---> sudo-logs.sh 04:16:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:17:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:17:00 ---> job-cost.sh 04:17:00 lf-activate-venv: SKIPPING 04:17:00 DEBUG: total: 0.2199999988079071 04:17:00 INFO: Retrieving Stack Cost... 04:17:00 INFO: Retrieving Pricing Info for: v3-standard-8 04:17:01 INFO: Archiving Costs [Pipeline] echo 04:17:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:17:01 ---> logs-deploy.sh 04:17:01 lf-activate-venv: SKIPPING 04:17:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-431/1 04:17:01 INFO: archiving workspace using pattern(s): 04:17:02 Archives upload complete. 04:17:02 INFO: archiving logs to Nexus