Pull request #437 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5ca31a4853723d312d54030e4b9793cf57c825d1+30f086e472ba45efbfdabc7b924c06da27b16fd7 (feea3f6bc693313b0118880a0f47240f4188f0c3) 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-ssh2870801128650219927.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6204734192812142935.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 590556114a56c6d90cc8043840e039c2f74196dc 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-437/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-437/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17909370980880574842.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-437/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15459902686200334420.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh13722347664020877601.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-437/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-437/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17475755886994852892.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 590556114a56c6d90cc8043840e039c2f74196dc 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-1002 in /w/workspace/undry_device-onvif-camera_PR-437 [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-437 # 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 Merging remotes/origin/main commit 30f086e472ba45efbfdabc7b924c06da27b16fd7 into PR head commit 5ca31a4853723d312d54030e4b9793cf57c825d1 Merge succeeded, producing 5ca31a4853723d312d54030e4b9793cf57c825d1 Checking out Revision 5ca31a4853723d312d54030e4b9793cf57c825d1 (PR-437) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/437/head:refs/remotes/origin/PR-437 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ca31a4853723d312d54030e4b9793cf57c825d1 # 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 5ca31a4853723d312d54030e4b9793cf57c825d1 # timeout=10 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 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:39:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:39:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:39:58 ========================================================= 03:39:58 EdgeX Global Pipelines Version Info 03:39:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:39:59 ------------------- 03:39:59 stable info: 03:39:59 ------------------- 03:39:59 Commited By: Ginny Guan ginny@iotechsys.com 03:39:59 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 03:39:59 Message: update stable to v1.0.260 03:40:00 ------------------- 03:40:00 experimental info: 03:40:00 ------------------- 03:40:00 Commited By: Ginny Guan ginny@iotechsys.com 03:40:00 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:40:00 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:40:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:40:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:40:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:40:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:40:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:40:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:40:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:40:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:40:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:40:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:40:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:40:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:40:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:40:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:40:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:40:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:40:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:40:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:40:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:40:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:40:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-437 [Pipeline] echo 03:40:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-437 [Pipeline] echo 03:40:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-437 [Pipeline] echo 03:40:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ca31a4853723d312d54030e4b9793cf57c825d1 [Pipeline] echo 03:40:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ca31a4 [Pipeline] echo 03:40:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:40:03 provisioning config files... 03:40:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-437@tmp/config16650030809100654657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:40:03 ---> ****-login.sh 03:40:03 nexus3.edgexfoundry.org:10001 03:40:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:04 Configure a credential helper to remove this warning. See 03:40:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:04 03:40:04 Login Succeeded 03:40:04 nexus3.edgexfoundry.org:10002 03:40:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:04 Configure a credential helper to remove this warning. See 03:40:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:04 03:40:04 Login Succeeded 03:40:04 nexus3.edgexfoundry.org:10003 03:40:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:04 Configure a credential helper to remove this warning. See 03:40:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:04 03:40:04 Login Succeeded 03:40:04 nexus3.edgexfoundry.org:10004 03:40:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:04 Configure a credential helper to remove this warning. See 03:40:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:04 03:40:04 Login Succeeded 03:40:04 ****.io 03:40:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:04 Configure a credential helper to remove this warning. See 03:40:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:04 03:40:04 Login Succeeded 03:40:04 ---> ****-login.sh ends [Pipeline] } 03:40:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:40:06 + git rev-list -1 --merges 5ca31a4853723d312d54030e4b9793cf57c825d1~1..5ca31a4853723d312d54030e4b9793cf57c825d1 [Pipeline] echo 03:40:06 -----------> git rev-list -1 --merges 5ca31a4853723d312d54030e4b9793cf57c825d1~1..5ca31a4853723d312d54030e4b9793cf57c825d1 5ca31a4853723d312d54030e4b9793cf57c825d1 [false] [Pipeline] sh 03:40:06 + git log --format=format:%s -1 5ca31a4853723d312d54030e4b9793cf57c825d1 [Pipeline] echo 03:40:06 ========================================================= 03:40:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:40:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:40:07 + git log --format=format:%s -1 5ca31a4853723d312d54030e4b9793cf57c825d1 [Pipeline] echo 03:40:07 [semverPrep] GIT_COMMIT: 5ca31a4853723d312d54030e4b9793cf57c825d1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:40:07 [semverPrep] This is not a build commit. [Pipeline] sh 03:40:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:40:07 + grep -v github /etc/ssh/ssh_known_hosts 03:40:07 + [ -e /tmp/ssh_known_hosts ] 03:40:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:40:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:40:07 + sudo tee -a /etc/ssh/ssh_known_hosts 03:40:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:40:08 03:40:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:40:08 0.1.4: Pulling from edgex-devops/py-git-semver 03:40:08 b85a868b505f: Pulling fs layer 03:40:08 e2be974225ed: Pulling fs layer 03:40:08 339a4e72a1f5: Pulling fs layer 03:40:08 988bab9f4d93: Pulling fs layer 03:40:08 1469e6f7b9e6: Pulling fs layer 03:40:08 eaf3925da568: Pulling fs layer 03:40:08 bab4dde63d76: Pulling fs layer 03:40:08 bde34c3a00c8: Pulling fs layer 03:40:08 b352a97aabf1: Pulling fs layer 03:40:08 4872d77fe225: Pulling fs layer 03:40:08 5851b861e8e6: Pulling fs layer 03:40:08 eaf3925da568: Waiting 03:40:08 bab4dde63d76: Waiting 03:40:08 bde34c3a00c8: Waiting 03:40:08 4872d77fe225: Waiting 03:40:08 988bab9f4d93: Waiting 03:40:08 1469e6f7b9e6: Waiting 03:40:08 b352a97aabf1: Waiting 03:40:08 5851b861e8e6: Waiting 03:40:08 e2be974225ed: Download complete 03:40:08 988bab9f4d93: Verifying Checksum 03:40:08 988bab9f4d93: Download complete 03:40:08 339a4e72a1f5: Verifying Checksum 03:40:08 339a4e72a1f5: Download complete 03:40:08 1469e6f7b9e6: Verifying Checksum 03:40:08 1469e6f7b9e6: Download complete 03:40:08 eaf3925da568: Verifying Checksum 03:40:08 eaf3925da568: Download complete 03:40:08 bde34c3a00c8: Verifying Checksum 03:40:08 bde34c3a00c8: Download complete 03:40:08 b352a97aabf1: Verifying Checksum 03:40:08 b352a97aabf1: Download complete 03:40:08 4872d77fe225: Download complete 03:40:08 5851b861e8e6: Verifying Checksum 03:40:08 5851b861e8e6: Download complete 03:40:09 b85a868b505f: Download complete 03:40:09 bab4dde63d76: Verifying Checksum 03:40:09 bab4dde63d76: Download complete 03:40:10 b85a868b505f: Pull complete 03:40:10 e2be974225ed: Pull complete 03:40:10 339a4e72a1f5: Pull complete 03:40:10 988bab9f4d93: Pull complete 03:40:10 1469e6f7b9e6: Pull complete 03:40:10 eaf3925da568: Pull complete 03:40:12 bab4dde63d76: Pull complete 03:40:12 bde34c3a00c8: Pull complete 03:40:12 b352a97aabf1: Pull complete 03:40:12 4872d77fe225: Pull complete 03:40:12 5851b861e8e6: Pull complete 03:40:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:40:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:40:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:13 prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container 03:40:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-437 -v /w/workspace/undry_device-onvif-camera_PR-437:/w/workspace/undry_device-onvif-camera_PR-437:rw,z -v /w/workspace/undry_device-onvif-camera_PR-437@tmp:/w/workspace/undry_device-onvif-camera_PR-437@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 03:40:15 $ docker top 931a19ab891d12f2cf02010ed55969c83d8a58d4d7022a1a576b555264896b7c -eo pid,comm 03:40:15 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). 03:40:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:40:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:40:15 [ssh-agent] Looking for ssh-agent implementation... 03:40:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:40:15 $ docker exec 931a19ab891d12f2cf02010ed55969c83d8a58d4d7022a1a576b555264896b7c ssh-agent 03:40:15 SSH_AUTH_SOCK=/tmp/ssh-8KopnpwoBvs0/agent.31 03:40:15 SSH_AGENT_PID=37 03:40:15 Running ssh-add (command line suppressed) 03:40:15 Identity added: /w/workspace/undry_device-onvif-camera_PR-437@tmp/private_key_12388058372963239435.key (/w/workspace/undry_device-onvif-camera_PR-437@tmp/private_key_12388058372963239435.key) 03:40:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:40:16 + git tag --points-at HEAD [Pipeline] } 03:40:16 $ docker exec --env ******** --env ******** 931a19ab891d12f2cf02010ed55969c83d8a58d4d7022a1a576b555264896b7c ssh-agent -k 03:40:16 unset SSH_AUTH_SOCK; 03:40:16 unset SSH_AGENT_PID; 03:40:16 echo Agent pid 37 killed; 03:40:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:40:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:40:16 [ssh-agent] Looking for ssh-agent implementation... 03:40:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:40:16 $ docker exec 931a19ab891d12f2cf02010ed55969c83d8a58d4d7022a1a576b555264896b7c ssh-agent 03:40:16 SSH_AUTH_SOCK=/tmp/ssh-DsAeRxE1IZ3v/agent.70 03:40:16 SSH_AGENT_PID=76 03:40:16 Running ssh-add (command line suppressed) 03:40:16 Identity added: /w/workspace/undry_device-onvif-camera_PR-437@tmp/private_key_8050349507013430516.key (/w/workspace/undry_device-onvif-camera_PR-437@tmp/private_key_8050349507013430516.key) 03:40:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:40:16 + git semver init 03:40:17 2024-05-29 03:40:17,159 [run_init] DEBUG init version:0.0.0 force:False 03:40:17 2024-05-29 03:40:17,160 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-437/.semver 03:40:17 2024-05-29 03:40:17,161 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-437/.semver 03:40:17 2024-05-29 03:40:17,161 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-437/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-437, universal_newlines=False, shell=None, istream=None) 03:40:18 2024-05-29 03:40:18,541 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-437/.git/info/exclude 03:40:18 2024-05-29 03:40:18,541 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-437/.semver/PR-437 with force:False 03:40:18 2024-05-29 03:40:18,541 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-437/.semver/PR-437 03:40:18 2024-05-29 03:40:18,546 [execute] INFO git cat-file --batch-check 03:40:18 2024-05-29 03:40:18,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-437/.semver, universal_newlines=False, shell=None, istream=) 03:40:18 2024-05-29 03:40:18,552 [execute] INFO git cat-file --batch 03:40:18 2024-05-29 03:40:18,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-437/.semver, universal_newlines=False, shell=None, istream=) 03:40:18 2024-05-29 03:40:18,557 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-437/.semver/PR-437 03:40:18 0.0.0 [Pipeline] } 03:40:18 $ docker exec --env ******** --env ******** 931a19ab891d12f2cf02010ed55969c83d8a58d4d7022a1a576b555264896b7c ssh-agent -k 03:40:18 unset SSH_AUTH_SOCK; 03:40:18 unset SSH_AGENT_PID; 03:40:18 echo Agent pid 76 killed; 03:40:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:40:19 + git semver [Pipeline] } 03:40:19 $ docker stop --time=1 931a19ab891d12f2cf02010ed55969c83d8a58d4d7022a1a576b555264896b7c 03:40:20 $ docker rm -f --volumes 931a19ab891d12f2cf02010ed55969c83d8a58d4d7022a1a576b555264896b7c [Pipeline] // withDockerContainer [Pipeline] sh 03:40:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:40:21 Stashed 1 file(s) [Pipeline] echo 03:40: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 03:40:22 provisioning config files... 03:40:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-437@tmp/config11070913047195513125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:40:22 ---> ****-login.sh 03:40:22 nexus3.edgexfoundry.org:10001 03:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:22 Configure a credential helper to remove this warning. See 03:40:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:22 03:40:22 Login Succeeded 03:40:22 nexus3.edgexfoundry.org:10002 03:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:22 Configure a credential helper to remove this warning. See 03:40:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:22 03:40:22 Login Succeeded 03:40:22 nexus3.edgexfoundry.org:10003 03:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:22 Configure a credential helper to remove this warning. See 03:40:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:22 03:40:22 Login Succeeded 03:40:22 nexus3.edgexfoundry.org:10004 03:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:22 Configure a credential helper to remove this warning. See 03:40:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:22 03:40:22 Login Succeeded 03:40:22 ****.io 03:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:23 Configure a credential helper to remove this warning. See 03:40:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:23 03:40:23 Login Succeeded 03:40:23 ---> ****-login.sh ends [Pipeline] } 03:40:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:40:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:40:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:40:23 ========================================================= 03:40:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:40:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:24 + 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 . 03:40:24 Sending build context to Docker daemon 37.75MB 03:40:24 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:40:24 Step 2/13 : FROM ${BASE} AS builder 03:40:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:40:24 619be1103602: Pulling fs layer 03:40:24 7862e08f4a3e: Pulling fs layer 03:40:24 5df492c9dc93: Pulling fs layer 03:40:24 7629e6793208: Pulling fs layer 03:40:24 4f4fb700ef54: Pulling fs layer 03:40:24 fb5054dd5b73: Pulling fs layer 03:40:24 eeca6798cff9: Pulling fs layer 03:40:24 aa269ceb94a6: Pulling fs layer 03:40:24 ada007ff1a6a: Pulling fs layer 03:40:24 fb5054dd5b73: Waiting 03:40:24 ada007ff1a6a: Waiting 03:40:24 eeca6798cff9: Waiting 03:40:24 7629e6793208: Waiting 03:40:24 4f4fb700ef54: Waiting 03:40:24 aa269ceb94a6: Waiting 03:40:24 7862e08f4a3e: Download complete 03:40:24 7629e6793208: Verifying Checksum 03:40:24 7629e6793208: Download complete 03:40:24 4f4fb700ef54: Verifying Checksum 03:40:24 4f4fb700ef54: Download complete 03:40:24 fb5054dd5b73: Verifying Checksum 03:40:24 fb5054dd5b73: Download complete 03:40:24 619be1103602: Verifying Checksum 03:40:24 619be1103602: Download complete 03:40:24 eeca6798cff9: Verifying Checksum 03:40:24 eeca6798cff9: Download complete 03:40:24 619be1103602: Pull complete 03:40:24 7862e08f4a3e: Pull complete 03:40:24 ada007ff1a6a: Verifying Checksum 03:40:24 ada007ff1a6a: Download complete 03:40:25 5df492c9dc93: Verifying Checksum 03:40:25 5df492c9dc93: Download complete 03:40:25 aa269ceb94a6: Verifying Checksum 03:40:25 aa269ceb94a6: Download complete 03:40:27 5df492c9dc93: Pull complete 03:40:27 7629e6793208: Pull complete 03:40:27 4f4fb700ef54: Pull complete 03:40:28 fb5054dd5b73: Pull complete 03:40:28 eeca6798cff9: Pull complete 03:40:30 aa269ceb94a6: Pull complete 03:40:30 ada007ff1a6a: Pull complete 03:40:30 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:40:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:40:30 ---> f489d0715acc 03:40:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:40:33 ---> Running in 4aff7525f6a0 03:40:33 Removing intermediate container 4aff7525f6a0 03:40:33 ---> 1cf411d89d1f 03:40:33 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:40:33 ---> Running in d2cdf77287e8 03:40:33 Removing intermediate container d2cdf77287e8 03:40:33 ---> 570611bce7a2 03:40:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:40:33 ---> Running in fa1390c6a719 03:40:33 Removing intermediate container fa1390c6a719 03:40:33 ---> d1c186359fae 03:40:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:40:33 ---> Running in c98fb0f14ba4 03:40:33 Removing intermediate container c98fb0f14ba4 03:40:33 ---> 64817b008bba 03:40:33 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:40:33 ---> Running in 6f00cd66e6b0 03:40:33 Removing intermediate container 6f00cd66e6b0 03:40:33 ---> 4dd166b2e8e0 03:40:33 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:40:33 ---> Running in 2a81fe11a893 03:40:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:40:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:40:34 OK: 264 MiB in 52 packages 03:40:34 Removing intermediate container 2a81fe11a893 03:40:34 ---> 7610841bfcd2 03:40:34 Step 9/13 : WORKDIR /device-onvif-camera 03:40:34 ---> Running in bf3c5146f4f4 03:40:34 Removing intermediate container bf3c5146f4f4 03:40:34 ---> fce4180802ba 03:40:34 Step 10/13 : COPY go.mod vendor* ./ 03:40:34 ---> 57a160aeb17b 03:40:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:40:34 ---> Running in f04b55a25177 03:40:37 Still waiting to schedule task 03:40:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:41:31 Removing intermediate container f04b55a25177 03:41:31 ---> 02456fa9d241 03:41:31 Step 12/13 : COPY . . 03:41:31 ---> bc61cb56bc26 03:41:31 Step 13/13 : RUN ${MAKE} 03:41:31 ---> Running in 0cece5f2ff4d 03:41:31 noop 03:41:31 Removing intermediate container 0cece5f2ff4d 03:41:31 ---> 5372f18a663a 03:41:31 Successfully built 5372f18a663a 03:41:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:31 + docker inspect -f . ci-base-image-x86_64 03:41:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:41:31 prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container 03:41:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-437 -v /w/workspace/undry_device-onvif-camera_PR-437:/w/workspace/undry_device-onvif-camera_PR-437:rw,z -v /w/workspace/undry_device-onvif-camera_PR-437@tmp:/w/workspace/undry_device-onvif-camera_PR-437@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 03:41:32 $ docker top cca6179ed9efe31da43053666ac2afe4a2172e25fe78e36f9ab51039e999d721 -eo pid,comm [Pipeline] { [Pipeline] sh 03:41:32 + go version 03:41:32 go version go1.21.9 linux/amd64 [Pipeline] } 03:41:32 $ docker stop --time=1 cca6179ed9efe31da43053666ac2afe4a2172e25fe78e36f9ab51039e999d721 03:41:33 $ docker rm -f --volumes cca6179ed9efe31da43053666ac2afe4a2172e25fe78e36f9ab51039e999d721 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:34 + docker inspect -f . ci-base-image-x86_64 03:41:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:41:34 prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container 03:41:34 $ 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-437 -v /w/workspace/undry_device-onvif-camera_PR-437:/w/workspace/undry_device-onvif-camera_PR-437:rw,z -v /w/workspace/undry_device-onvif-camera_PR-437@tmp:/w/workspace/undry_device-onvif-camera_PR-437@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 03:41:35 $ docker top 31e824b7572c7a0a93df9eaab12a21ce9d165bd99c5146d4ea861d0fcabc2ad5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:41:35 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-437 [Pipeline] fileExists [Pipeline] sh 03:41:35 + make test 03:41:35 go test ./... -coverprofile=coverage.out ./... 03:41:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:41:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:41:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:41:56 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 31.5% of statements 03:41:56 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.048s coverage: 86.5% of statements 03:42:06 go vet ./... 03:42:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:42:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:42:10 ./bin/test-attribution-txt.sh 03:42:10 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:42:10 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:42:10 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:42:10 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:42:10 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:42:10 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:42:10 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:42:10 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:42:10 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:42:10 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:42:10 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:42:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:42:10 $ docker stop --time=1 31e824b7572c7a0a93df9eaab12a21ce9d165bd99c5146d4ea861d0fcabc2ad5 03:42:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1003 in /w/workspace/undry_device-onvif-camera_PR-437 03:42:12 $ docker rm -f --volumes 31e824b7572c7a0a93df9eaab12a21ce9d165bd99c5146d4ea861d0fcabc2ad5 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 03:42:13 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:42:13 The recommended git tool is: git 03:42:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:42:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:42:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:42:14 + ls -al . 03:42:14 total 308 03:42:14 drwxrwxr-x 9 jenkins jenkins 4096 May 29 03:41 . 03:42:14 drwxrwxr-x 4 jenkins jenkins 4096 May 29 03:39 .. 03:42:14 drwxrwxr-x 8 jenkins jenkins 4096 May 29 03:41 .git 03:42:14 drwxrwxr-x 3 jenkins jenkins 4096 May 29 03:39 .github 03:42:14 -rw-rw-r-- 1 jenkins jenkins 493 May 29 03:39 .gitignore 03:42:14 -rw-rw-r-- 1 jenkins jenkins 42 May 29 03:39 .golangci.yml 03:42:14 drwxr-xr-x 3 jenkins jenkins 4096 May 29 03:40 .semver 03:42:14 -rw-rw-r-- 1 jenkins jenkins 11155 May 29 03:39 Attribution.txt 03:42:14 -rw-rw-r-- 1 jenkins jenkins 17665 May 29 03:39 CHANGELOG.md 03:42:14 -rw-rw-r-- 1 jenkins jenkins 1683 May 29 03:39 Dockerfile 03:42:14 -rw-rw-r-- 1 jenkins jenkins 677 May 29 03:39 GOVERNANCE.md 03:42:14 -rw-rw-r-- 1 jenkins jenkins 739 May 29 03:39 Jenkinsfile 03:42:14 -rw-rw-r-- 1 jenkins jenkins 11348 May 29 03:39 LICENSE 03:42:14 -rw-rw-r-- 1 jenkins jenkins 2883 May 29 03:39 Makefile 03:42:14 -rw-rw-r-- 1 jenkins jenkins 625 May 29 03:39 OWNERS.md 03:42:14 -rw-rw-r-- 1 jenkins jenkins 2620 May 29 03:39 README.md 03:42:14 -rw-rw-r-- 1 jenkins jenkins 5 May 29 03:40 VERSION 03:42:14 drwxrwxr-x 2 jenkins jenkins 4096 May 29 03:39 bin 03:42:14 drwxrwxr-x 3 jenkins jenkins 4096 May 29 03:39 cmd 03:42:14 -rw-r--r-- 1 jenkins jenkins 78456 May 29 03:41 coverage.out 03:42:14 drwxrwxr-x 4 jenkins jenkins 4096 May 29 03:39 doc 03:42:14 -rw-rw-r-- 1 jenkins jenkins 7387 May 29 03:39 go.mod 03:42:14 -rw-rw-r-- 1 jenkins jenkins 102284 May 29 03:39 go.sum 03:42:14 drwxrwxr-x 4 jenkins jenkins 4096 May 29 03:39 internal 03:42:14 -rw-rw-r-- 1 jenkins jenkins 236 May 29 03:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:15 + 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=5ca31a4853723d312d54030e4b9793cf57c825d1 --label arch=amd64 --label version=0.0.0 . 03:42:15 Sending build context to Docker daemon 37.83MB 03:42:15 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:42:15 Step 2/27 : FROM ${BASE} AS builder 03:42:15 ---> 5372f18a663a 03:42:15 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:42:15 ---> Running in 6f11e0145549 03:42:15 Removing intermediate container 6f11e0145549 03:42:15 ---> 168f3b464c3b 03:42:15 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:42:15 ---> Running in 85de51c07402 03:42:15 Removing intermediate container 85de51c07402 03:42:15 ---> 97ac5623161e 03:42:15 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:42:15 ---> Running in 0980de9383e5 03:42:15 Removing intermediate container 0980de9383e5 03:42:15 ---> ba5c1057aadb 03:42:15 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:42:15 ---> Running in 1ce5b68a427b 03:42:15 Removing intermediate container 1ce5b68a427b 03:42:15 ---> b41335e7dbc1 03:42:15 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:42:15 ---> Running in c3316be843d6 03:42:15 Removing intermediate container c3316be843d6 03:42:15 ---> 6fd44e071379 03:42:15 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:42:15 ---> Running in d3409943491e 03:42:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:42:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:42:16 OK: 264 MiB in 52 packages 03:42:17 Removing intermediate container d3409943491e 03:42:17 ---> b275ba1a0f94 03:42:17 Step 9/27 : WORKDIR /device-onvif-camera 03:42:17 ---> Running in e33a8b67b0a7 03:42:17 Removing intermediate container e33a8b67b0a7 03:42:17 ---> fd781e3bc88b 03:42:17 Step 10/27 : COPY go.mod vendor* ./ 03:42:17 ---> 2851e22e601d 03:42:17 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:42:17 ---> Running in 085f9d6fefc1 03:42:17 Removing intermediate container 085f9d6fefc1 03:42:17 ---> 856dd236917f 03:42:17 Step 12/27 : COPY . . 03:42:18 ---> c81a1eb33d8b 03:42:18 Step 13/27 : RUN ${MAKE} 03:42:18 ---> Running in 426581c60935 03:42:18 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.15" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:42:20 using credential edgex-jenkins-ssh 03:42:20 Cloning the remote Git repository 03:42:20 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:42:20 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:42:21 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:42:21 > git --version # timeout=10 03:42:21 > git --version # 'git version 2.25.1' 03:42:21 using GIT_SSH to set credentials SSH Credentials for GitHub 03:42:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:42:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:42:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:42:26 Merging remotes/origin/main commit 30f086e472ba45efbfdabc7b924c06da27b16fd7 into PR head commit 5ca31a4853723d312d54030e4b9793cf57c825d1 03:42:26 Merge succeeded, producing 5ca31a4853723d312d54030e4b9793cf57c825d1 03:42:26 Checking out Revision 5ca31a4853723d312d54030e4b9793cf57c825d1 (PR-437) 03:42:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:42:25 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:42:25 using GIT_SSH to set credentials SSH Credentials for GitHub 03:42:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/437/head:refs/remotes/origin/PR-437 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:42:26 > git config core.sparsecheckout # timeout=10 03:42:26 > git checkout -f 5ca31a4853723d312d54030e4b9793cf57c825d1 # timeout=10 03:42:26 > git remote # timeout=10 03:42:26 > git config --get remote.origin.url # timeout=10 03:42:26 using GIT_SSH to set credentials SSH Credentials for GitHub 03:42:26 > git merge 30f086e472ba45efbfdabc7b924c06da27b16fd7 # timeout=10 03:42:26 > git rev-parse HEAD^{commit} # timeout=10 03:42:26 > git config core.sparsecheckout # timeout=10 03:42:26 > git checkout -f 5ca31a4853723d312d54030e4b9793cf57c825d1 # timeout=10 03:42:27 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 03:42:27 > git --version # timeout=10 03:42:27 > git --version # 'git version 2.25.1' 03:42:27 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:42:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:42:32 % Total % Received % Xferd Average Speed Time Time Time Current 03:42:32 Dload Upload Total Spent Left Speed 03:42:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 115k 0 --:--:-- --:--:-- --:--:-- 117k [Pipeline] sh 03:42:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:42:33 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 03:42:33 03:42:33 { 03:42:33 "registry-mirrors": [ 03:42:33 "https://nexus3.edgexfoundry.org:10001" 03:42:33 ], 03:42:33 "bip": "10.250.0.254/24", 03:42:33 "hosts": [ 03:42:33 "tcp://0.0.0.0:5555", 03:42:33 "unix:///var/run/docker.sock" 03:42:33 ], 03:42:33 "mtu": 1458, 03:42:33 "selinux-enabled": true, 03:42:33 "seccomp-profile": "/etc/docker/seccomp.json" 03:42:33 } [Pipeline] sh 03:42:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:42:33 + sudo service docker restart 03:42:45 Removing intermediate container 426581c60935 03:42:45 ---> 228fa3b064c5 03:42:45 Step 14/27 : FROM alpine:3.18 03:42:45 3.18: Pulling from library/alpine 03:42:45 619be1103602: Already exists 03:42:45 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 03:42:45 Status: Downloaded newer image for alpine:3.18 03:42:45 ---> d3782b16ccc9 03:42:45 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:42:45 ---> Running in 127d0d21db23 03:42:45 Removing intermediate container 127d0d21db23 03:42:45 ---> b42507e391f5 03:42:45 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:42:45 ---> Running in 5d1bd522222a 03:42:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:42:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:42:45 (1/1) Installing dumb-init (1.2.5-r2) 03:42:45 Executing busybox-1.36.1-r5.trigger 03:42:45 OK: 7 MiB in 16 packages 03:42:45 Removing intermediate container 5d1bd522222a 03:42:45 ---> b4379647c18e 03:42:45 Step 17/27 : RUN apk --no-cache upgrade 03:42:45 ---> Running in 39c66543e94f 03:42:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:42:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:42:45 Upgrading critical system libraries and apk-tools: 03:42:45 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 03:42:45 Executing busybox-1.36.1-r5.trigger 03:42:46 Continuing the upgrade transaction with new apk-tools: 03:42:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:42:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:42:46 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 03:42:46 Executing busybox-1.36.1-r6.post-upgrade 03:42:46 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 03:42:46 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 03:42:46 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 03:42:46 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 03:42:46 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 03:42:46 Executing busybox-1.36.1-r6.trigger 03:42:46 OK: 7 MiB in 16 packages 03:42:46 Removing intermediate container 39c66543e94f 03:42:46 ---> 59f7167d86b4 03:42:46 Step 18/27 : WORKDIR / 03:42:46 ---> Running in 5c7830adbea1 03:42:46 Removing intermediate container 5c7830adbea1 03:42:46 ---> fecbeedbb7ad 03:42:46 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:42:47 ---> 9b531e3d7313 03:42:47 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:42:47 ---> 27916fbabd1a 03:42:47 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:42:47 ---> 330464693c32 03:42:47 Step 22/27 : EXPOSE 59984 03:42:47 ---> Running in b97a5e776447 03:42:47 Removing intermediate container b97a5e776447 03:42:47 ---> ed32a2ca7c63 03:42:47 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:42:48 ---> Running in 95b6d61b45c8 03:42:48 Removing intermediate container 95b6d61b45c8 03:42:48 ---> f75160c5a6fa 03:42:48 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:42:48 ---> Running in 92b0bb538f66 03:42:48 Removing intermediate container 92b0bb538f66 03:42:48 ---> 7a291fc67340 03:42:48 Step 25/27 : LABEL arch=amd64 03:42:48 ---> Running in 3511a835e90b 03:42:48 Removing intermediate container 3511a835e90b 03:42:48 ---> 291e9d965da8 03:42:48 Step 26/27 : LABEL git_sha=5ca31a4853723d312d54030e4b9793cf57c825d1 03:42:48 ---> Running in 75e761185cc3 03:42:48 Removing intermediate container 75e761185cc3 03:42:48 ---> 087ad900db38 03:42:48 Step 27/27 : LABEL version=0.0.0 03:42:48 ---> Running in cc0a7c542129 03:42:48 Removing intermediate container cc0a7c542129 03:42:48 ---> 81abb271e0e7 03:42:48 [Warning] One or more build-args [ARCH] were not consumed 03:42:48 Successfully built 81abb271e0e7 03:42:48 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:42:49 03:42:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:42:49 latest: Pulling from edgex-lftools-log-publisher 03:42:49 5eb5b503b376: Pulling fs layer 03:42:49 5c69ac0246d0: Pulling fs layer 03:42:49 ec43610c2a17: Pulling fs layer 03:42:49 3a2ae6a8a46f: Pulling fs layer 03:42:49 33b1e0a273af: Pulling fs layer 03:42:49 5d3b04190fa2: Pulling fs layer 03:42:49 2f39f015ded8: Pulling fs layer 03:42:49 5d3b04190fa2: Waiting 03:42:49 33b1e0a273af: Waiting 03:42:49 5c69ac0246d0: Verifying Checksum 03:42:49 5c69ac0246d0: Download complete 03:42:49 3a2ae6a8a46f: Verifying Checksum 03:42:49 3a2ae6a8a46f: Download complete 03:42:49 33b1e0a273af: Verifying Checksum 03:42:49 33b1e0a273af: Download complete 03:42:49 5d3b04190fa2: Verifying Checksum 03:42:49 5d3b04190fa2: Download complete 03:42:49 ec43610c2a17: Verifying Checksum 03:42:49 ec43610c2a17: Download complete 03:42:49 5eb5b503b376: Verifying Checksum 03:42:49 5eb5b503b376: Download complete 03:42:50 2f39f015ded8: Download complete 03:42:51 5eb5b503b376: Pull complete 03:42:51 5c69ac0246d0: Pull complete 03:42:51 ec43610c2a17: Pull complete 03:42:51 3a2ae6a8a46f: Pull complete 03:42:51 33b1e0a273af: Pull complete 03:42:51 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:42:52 provisioning config files... 03:42:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3420033738349107538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:52 ---> ****-login.sh 03:42:52 nexus3.edgexfoundry.org:10001 03:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:42:53 Configure a credential helper to remove this warning. See 03:42:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:42:53 03:42:53 Login Succeeded 03:42:53 nexus3.edgexfoundry.org:10002 03:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:42:53 Configure a credential helper to remove this warning. See 03:42:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:42:53 03:42:53 Login Succeeded 03:42:53 nexus3.edgexfoundry.org:10003 03:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:42:54 Configure a credential helper to remove this warning. See 03:42:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:42:54 03:42:54 Login Succeeded 03:42:54 nexus3.edgexfoundry.org:10004 03:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:42:54 Configure a credential helper to remove this warning. See 03:42:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:42:54 03:42:54 Login Succeeded 03:42:54 ****.io 03:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:42:54 Configure a credential helper to remove this warning. See 03:42:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:42:54 03:42:54 Login Succeeded 03:42:54 ---> ****-login.sh ends [Pipeline] } 03:42:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:42:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:42:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:42:55 ========================================================= 03:42:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:42:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:56 + 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 . 03:42:56 2f39f015ded8: Pull complete 03:42:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:42:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:42:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:56 prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container 03:42:56 $ 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-437 -v /w/workspace/undry_device-onvif-camera_PR-437:/w/workspace/undry_device-onvif-camera_PR-437:rw,z -v /w/workspace/undry_device-onvif-camera_PR-437@tmp:/w/workspace/undry_device-onvif-camera_PR-437@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 03:42:57 Sending build context to Docker daemon 22.28MB 03:42:57 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:42:57 Step 2/13 : FROM ${BASE} AS builder 03:42:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:42:57 c6b39de5b339: Pulling fs layer 03:42:57 a69c41024577: Pulling fs layer 03:42:57 d6de4b400683: Pulling fs layer 03:42:57 35cb2a7552d0: Pulling fs layer 03:42:57 4f4fb700ef54: Pulling fs layer 03:42:57 464afbd9ba4c: Pulling fs layer 03:42:57 00f215d4a9da: Pulling fs layer 03:42:57 d496ad576159: Pulling fs layer 03:42:57 35cb2a7552d0: Waiting 03:42:57 4f4fb700ef54: Waiting 03:42:57 464afbd9ba4c: Waiting 03:42:57 00f215d4a9da: Waiting 03:42:57 d496ad576159: Waiting 03:42:57 a69c41024577: Verifying Checksum 03:42:57 a69c41024577: Download complete 03:42:57 35cb2a7552d0: Verifying Checksum 03:42:57 35cb2a7552d0: Download complete 03:42:57 4f4fb700ef54: Verifying Checksum 03:42:57 4f4fb700ef54: Download complete 03:42:57 464afbd9ba4c: Verifying Checksum 03:42:57 464afbd9ba4c: Download complete 03:42:57 c6b39de5b339: Verifying Checksum 03:42:57 c6b39de5b339: Download complete 03:42:57 d496ad576159: Verifying Checksum 03:42:57 d496ad576159: Download complete 03:42:57 c6b39de5b339: Pull complete 03:42:58 a69c41024577: Pull complete 03:42:58 $ docker top 4b462876d8f5163b82a71d6c296703d2509e2adc02d754a4a42cf43b31aa29ee -eo pid,comm [Pipeline] { 03:42:59 d6de4b400683: Download complete [Pipeline] libraryResource [Pipeline] sh 03:42:59 ---> job-cost.sh 03:42:59 lf-activate-venv: SKIPPING 03:42:59 INFO: No Stack... 03:42:59 INFO: Retrieving Pricing Info for: v3-standard-8 03:43:00 00f215d4a9da: Verifying Checksum 03:43:00 00f215d4a9da: Download complete 03:43:00 INFO: Archiving Costs [Pipeline] sh 03:43:00 + cat /w/workspace/undry_device-onvif-camera_PR-437/archives/cost.csv 03:43:00 + cut -d, -f6 [Pipeline] lock 03:43:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-437-1-stack-cost] 03:43:00 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-437-1-stack-cost] did not exist. Created. 03:43:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-437-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:43:00 + echo total: 0.2199999988079071 [Pipeline] stash 03:43:00 Stashed 1 file(s) [Pipeline] } 03:43:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-437-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:43:01 $ docker stop --time=1 4b462876d8f5163b82a71d6c296703d2509e2adc02d754a4a42cf43b31aa29ee 03:43:02 $ docker rm -f --volumes 4b462876d8f5163b82a71d6c296703d2509e2adc02d754a4a42cf43b31aa29ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:43:12 d6de4b400683: Pull complete 03:43:12 35cb2a7552d0: Pull complete 03:43:12 4f4fb700ef54: Pull complete 03:43:12 464afbd9ba4c: Pull complete 03:43:22 00f215d4a9da: Pull complete 03:43:22 d496ad576159: Pull complete 03:43:22 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:43:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:43:22 ---> f246e2811388 03:43:22 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:43:23 ---> Running in 14f4264ce85e 03:43:23 Removing intermediate container 14f4264ce85e 03:43:23 ---> 58bd8a1fd483 03:43:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:43:23 ---> Running in fb2ff8f363e2 03:43:24 Removing intermediate container fb2ff8f363e2 03:43:24 ---> c01fe393a44b 03:43:24 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:43:24 ---> Running in 692ed8197d4a 03:43:24 Removing intermediate container 692ed8197d4a 03:43:24 ---> cbceb543d9ac 03:43:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:43:24 ---> Running in e0c736f8e6a9 03:43:24 Removing intermediate container e0c736f8e6a9 03:43:24 ---> e3609d288c0d 03:43:24 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:43:24 ---> Running in fc4fb7d5c1e0 03:43:25 Removing intermediate container fc4fb7d5c1e0 03:43:25 ---> 4244c8ac6d19 03:43:25 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:43:25 ---> Running in 143d3d37fe0b 03:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:43:27 OK: 266 MiB in 52 packages 03:43:28 Removing intermediate container 143d3d37fe0b 03:43:28 ---> cc80b706de32 03:43:28 Step 9/13 : WORKDIR /device-onvif-camera 03:43:28 ---> Running in 1ec43acfb298 03:43:29 Removing intermediate container 1ec43acfb298 03:43:29 ---> 5ea109627395 03:43:29 Step 10/13 : COPY go.mod vendor* ./ 03:43:29 ---> 0d36f0b16067 03:43:29 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:43:29 ---> Running in f7aa17089483 03:45:21 Removing intermediate container f7aa17089483 03:45:21 ---> 3cba2ef20fc5 03:45:21 Step 12/13 : COPY . . 03:45:21 ---> a85beb3fa52f 03:45:21 Step 13/13 : RUN ${MAKE} 03:45:21 ---> Running in 12d34f61f552 03:45:21 noop 03:45:21 Removing intermediate container 12d34f61f552 03:45:21 ---> 85c3e38d2bbe 03:45:21 Successfully built 85c3e38d2bbe 03:45:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:21 + docker inspect -f . ci-base-image-arm64 03:45:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:45:22 prd-ubuntu20.04-docker-arm64-4c-16g-1003 does not seem to be running inside a container 03:45:22 $ 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 03:45:23 $ docker top dd3945ded9e93a13ed59a1ea8905bc2966c8f7be7905c7624885da04de1f1133 -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:24 + go version 03:45:24 go version go1.21.9 linux/arm64 [Pipeline] } 03:45:24 $ docker stop --time=1 dd3945ded9e93a13ed59a1ea8905bc2966c8f7be7905c7624885da04de1f1133 03:45:26 $ docker rm -f --volumes dd3945ded9e93a13ed59a1ea8905bc2966c8f7be7905c7624885da04de1f1133 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:27 + docker inspect -f . ci-base-image-arm64 03:45:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:45:27 prd-ubuntu20.04-docker-arm64-4c-16g-1003 does not seem to be running inside a container 03:45:27 $ 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 03:45:28 $ docker top cf6ec55961438aa67017a8ec673b7d5ad34ec553905abfe625e1b292b8545bdb -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:29 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:45:30 + make test 03:45:30 go test ./... -coverprofile=coverage.out ./... 03:45:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:48:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:48:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:48:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.202s coverage: 31.5% of statements 03:49:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.669s coverage: 86.5% of statements 03:49:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:49:20 go vet ./... 03:50:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:50:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:50:07 ./bin/test-attribution-txt.sh 03:50:07 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:50:07 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:50:07 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:50:07 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:50:07 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:50:07 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:50:07 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:50:07 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:50:07 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:50:07 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:50:07 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:50:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:50:07 $ docker stop --time=1 cf6ec55961438aa67017a8ec673b7d5ad34ec553905abfe625e1b292b8545bdb 03:50:09 $ docker rm -f --volumes cf6ec55961438aa67017a8ec673b7d5ad34ec553905abfe625e1b292b8545bdb [Pipeline] // withDockerContainer [Pipeline] sh 03:50:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:50:11 Warning: overwriting stash ‘coverage-report’ 03:50:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:50:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:50:12 + ls -al . 03:50:12 total 304 03:50:12 drwxrwxr-x 8 jenkins jenkins 4096 May 29 03:45 . 03:50:12 drwxrwxr-x 4 jenkins jenkins 4096 May 29 03:42 .. 03:50:12 drwxrwxr-x 8 jenkins jenkins 4096 May 29 03:42 .git 03:50:12 drwxrwxr-x 3 jenkins jenkins 4096 May 29 03:42 .github 03:50:12 -rw-rw-r-- 1 jenkins jenkins 493 May 29 03:42 .gitignore 03:50:12 -rw-rw-r-- 1 jenkins jenkins 42 May 29 03:42 .golangci.yml 03:50:12 -rw-rw-r-- 1 jenkins jenkins 11155 May 29 03:42 Attribution.txt 03:50:12 -rw-rw-r-- 1 jenkins jenkins 17665 May 29 03:42 CHANGELOG.md 03:50:12 -rw-rw-r-- 1 jenkins jenkins 1683 May 29 03:42 Dockerfile 03:50:12 -rw-rw-r-- 1 jenkins jenkins 677 May 29 03:42 GOVERNANCE.md 03:50:12 -rw-rw-r-- 1 jenkins jenkins 739 May 29 03:42 Jenkinsfile 03:50:12 -rw-rw-r-- 1 jenkins jenkins 11348 May 29 03:42 LICENSE 03:50:12 -rw-rw-r-- 1 jenkins jenkins 2883 May 29 03:42 Makefile 03:50:12 -rw-rw-r-- 1 jenkins jenkins 625 May 29 03:42 OWNERS.md 03:50:12 -rw-rw-r-- 1 jenkins jenkins 2620 May 29 03:42 README.md 03:50:12 -rw-rw-r-- 1 jenkins jenkins 5 May 29 03:40 VERSION 03:50:12 drwxrwxr-x 2 jenkins jenkins 4096 May 29 03:42 bin 03:50:12 drwxrwxr-x 3 jenkins jenkins 4096 May 29 03:42 cmd 03:50:12 -rw-r--r-- 1 jenkins jenkins 78456 May 29 03:49 coverage.out 03:50:12 drwxrwxr-x 4 jenkins jenkins 4096 May 29 03:42 doc 03:50:12 -rw-rw-r-- 1 jenkins jenkins 7387 May 29 03:42 go.mod 03:50:12 -rw-rw-r-- 1 jenkins jenkins 102284 May 29 03:42 go.sum 03:50:12 drwxrwxr-x 4 jenkins jenkins 4096 May 29 03:42 internal 03:50:12 -rw-rw-r-- 1 jenkins jenkins 236 May 29 03:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:13 + 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=5ca31a4853723d312d54030e4b9793cf57c825d1 --label arch=arm64 --label version=0.0.0 . 03:50:13 Sending build context to Docker daemon 22.36MB 03:50:13 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:50:13 Step 2/27 : FROM ${BASE} AS builder 03:50:13 ---> 85c3e38d2bbe 03:50:13 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:50:13 ---> Running in 8710c0381fca 03:50:14 Removing intermediate container 8710c0381fca 03:50:14 ---> e3921630627d 03:50:14 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:50:14 ---> Running in 80920595bd01 03:50:14 Removing intermediate container 80920595bd01 03:50:14 ---> 037097efcc48 03:50:14 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:50:14 ---> Running in 21660ab8440a 03:50:14 Removing intermediate container 21660ab8440a 03:50:14 ---> 672f738018bb 03:50:14 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:50:14 ---> Running in 7f11a4dccefe 03:50:15 Removing intermediate container 7f11a4dccefe 03:50:15 ---> b0a227531b7e 03:50:15 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:50:15 ---> Running in 1edebb991d0d 03:50:15 Removing intermediate container 1edebb991d0d 03:50:15 ---> 21ff4a2c0279 03:50:15 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:50:15 ---> Running in 9e8a3c79a2a5 03:50:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:50:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:50:17 OK: 266 MiB in 52 packages 03:50:18 Removing intermediate container 9e8a3c79a2a5 03:50:18 ---> 926cb503d4b6 03:50:18 Step 9/27 : WORKDIR /device-onvif-camera 03:50:18 ---> Running in 530861334d74 03:50:19 Removing intermediate container 530861334d74 03:50:19 ---> 89f772c2049c 03:50:19 Step 10/27 : COPY go.mod vendor* ./ 03:50:19 ---> ee8f0a892e6f 03:50:19 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:50:19 ---> Running in da6c3b038081 03:50:22 Removing intermediate container da6c3b038081 03:50:22 ---> 6933a0de04e8 03:50:22 Step 12/27 : COPY . . 03:50:23 ---> b8bf6a1a7343 03:50:23 Step 13/27 : RUN ${MAKE} 03:50:23 ---> Running in 7d8db8cb4d90 03:50:24 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.15" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:53:46 Removing intermediate container 7d8db8cb4d90 03:53:46 ---> bcb31bb90ff8 03:53:46 Step 14/27 : FROM alpine:3.18 03:53:46 3.18: Pulling from library/alpine 03:53:46 c6b39de5b339: Already exists 03:53:46 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 03:53:46 Status: Downloaded newer image for alpine:3.18 03:53:46 ---> 33abbf032149 03:53:46 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:53:46 ---> Running in 86e47c32e1f6 03:53:46 Removing intermediate container 86e47c32e1f6 03:53:46 ---> 5b670c9e3584 03:53:46 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:53:46 ---> Running in 1721b49b5a79 03:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:53:48 (1/1) Installing dumb-init (1.2.5-r2) 03:53:48 Executing busybox-1.36.1-r5.trigger 03:53:48 OK: 8 MiB in 16 packages 03:53:49 Removing intermediate container 1721b49b5a79 03:53:49 ---> 90a1d7b70a7a 03:53:49 Step 17/27 : RUN apk --no-cache upgrade 03:53:49 ---> Running in 001cbc0c33b4 03:53:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:53:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:53:51 Upgrading critical system libraries and apk-tools: 03:53:51 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 03:53:51 Executing busybox-1.36.1-r5.trigger 03:53:52 Continuing the upgrade transaction with new apk-tools: 03:53:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:53:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:53:53 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 03:53:53 Executing busybox-1.36.1-r6.post-upgrade 03:53:53 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 03:53:53 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 03:53:53 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 03:53:53 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 03:53:53 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 03:53:53 Executing busybox-1.36.1-r6.trigger 03:53:53 OK: 8 MiB in 16 packages 03:53:54 Removing intermediate container 001cbc0c33b4 03:53:54 ---> dbb398050e90 03:53:54 Step 18/27 : WORKDIR / 03:53:54 ---> Running in fef4274124f0 03:53:55 Removing intermediate container fef4274124f0 03:53:55 ---> 3b51263e33c4 03:53:55 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:53:57 ---> 7d14930eeb6f 03:53:57 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:53:57 ---> 554c86ecc711 03:53:57 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:53:57 ---> dbfd88043427 03:53:57 Step 22/27 : EXPOSE 59984 03:53:57 ---> Running in 051ab56cd289 03:53:58 Removing intermediate container 051ab56cd289 03:53:58 ---> 786b5a35b0ee 03:53:58 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:53:58 ---> Running in 60e8f4a689d6 03:53:58 Removing intermediate container 60e8f4a689d6 03:53:58 ---> 39504465fae2 03:53:58 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:53:58 ---> Running in d759adbd262c 03:53:59 Removing intermediate container d759adbd262c 03:53:59 ---> 3e0607c064ba 03:53:59 Step 25/27 : LABEL arch=arm64 03:53:59 ---> Running in 56f0a11ae890 03:53:59 Removing intermediate container 56f0a11ae890 03:53:59 ---> fc3f4409b468 03:53:59 Step 26/27 : LABEL git_sha=5ca31a4853723d312d54030e4b9793cf57c825d1 03:53:59 ---> Running in 38a271a33c10 03:53:59 Removing intermediate container 38a271a33c10 03:53:59 ---> eaf4b76c2e4b 03:53:59 Step 27/27 : LABEL version=0.0.0 03:53:59 ---> Running in 8bb8f00a20bc 03:54:00 Removing intermediate container 8bb8f00a20bc 03:54:00 ---> c2fe74b0bf1b 03:54:00 [Warning] One or more build-args [ARCH] were not consumed 03:54:00 Successfully built c2fe74b0bf1b 03:54:00 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:54:01 03:54:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:54:01 arm64: Pulling from edgex-lftools-log-publisher 03:54:01 8998bd30e6a1: Pulling fs layer 03:54:01 04944245beec: Pulling fs layer 03:54:01 699f458cf7ca: Pulling fs layer 03:54:01 765212b225bb: Pulling fs layer 03:54:01 f23df028b6ca: Pulling fs layer 03:54:01 d65c8cfc05b1: Pulling fs layer 03:54:01 2437ff75d9bd: Pulling fs layer 03:54:01 765212b225bb: Waiting 03:54:01 f23df028b6ca: Waiting 03:54:01 d65c8cfc05b1: Waiting 03:54:01 2437ff75d9bd: Waiting 03:54:01 04944245beec: Verifying Checksum 03:54:01 04944245beec: Download complete 03:54:01 765212b225bb: Verifying Checksum 03:54:01 765212b225bb: Download complete 03:54:01 f23df028b6ca: Download complete 03:54:01 d65c8cfc05b1: Verifying Checksum 03:54:01 d65c8cfc05b1: Download complete 03:54:02 699f458cf7ca: Verifying Checksum 03:54:02 699f458cf7ca: Download complete 03:54:02 8998bd30e6a1: Verifying Checksum 03:54:02 8998bd30e6a1: Download complete 03:54:05 2437ff75d9bd: Verifying Checksum 03:54:05 2437ff75d9bd: Download complete 03:54:07 8998bd30e6a1: Pull complete 03:54:07 04944245beec: Pull complete 03:54:09 699f458cf7ca: Pull complete 03:54:09 765212b225bb: Pull complete 03:54:10 f23df028b6ca: Pull complete 03:54:10 d65c8cfc05b1: Pull complete 03:54:29 2437ff75d9bd: Pull complete 03:54:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:54:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:54:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:29 prd-ubuntu20.04-docker-arm64-4c-16g-1003 does not seem to be running inside a container 03:54:29 $ 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 03:54:32 $ docker top 13feceada6b8228d8cc7198d3ace2307dd8096b1cb5dfffa7ae643ebbea40771 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:54:33 ---> job-cost.sh 03:54:33 lf-activate-venv: SKIPPING 03:54:33 INFO: No Stack... 03:54:33 INFO: Retrieving Pricing Info for: v3-standard-4 03:54:34 INFO: Archiving Costs [Pipeline] sh 03:54:34 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:54:34 + cut -d, -f6 [Pipeline] lock 03:54:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-437-1-stack-cost] 03:54:35 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-437-1-stack-cost] did not exist. Created. 03:54:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-437-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:54:35 /w/workspace/device-onvif-camera/1@tmp/durable-604c0139/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:54:36 + echo total: 0.10999999940395355 [Pipeline] stash 03:54:36 Warning: overwriting stash ‘stack-cost’ 03:54:36 Stashed 1 file(s) [Pipeline] } 03:54:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-437-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:54:36 $ docker stop --time=1 13feceada6b8228d8cc7198d3ace2307dd8096b1cb5dfffa7ae643ebbea40771 03:54:38 $ docker rm -f --volumes 13feceada6b8228d8cc7198d3ace2307dd8096b1cb5dfffa7ae643ebbea40771 [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 03:54:39 provisioning config files... 03:54:39 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-437@tmp/config3141133428030543280tmp [Pipeline] { [Pipeline] sh 03:54:39 + set +x 03:54:39 + bash -s -- 03:54:39 + curl -s https://codecov.io/bash 03:54:39 03:54:39 _____ _ 03:54:39 / ____| | | 03:54:39 | | ___ __| | ___ ___ _____ __ 03:54:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:54:39 | |___| (_) | (_| | __/ (_| (_) \ V / 03:54:39 \_____\___/ \__,_|\___|\___\___/ \_/ 03:54:39 Bash-1.0.6 03:54:39 03:54:39 03:54:39 ==> git version 2.25.1 found 03:54:40 ==> 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 03:54:40 Release-Date: 2020-01-08 03:54:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:54:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:54:40 ==> Jenkins CI detected. 03:54:40 current dir:  /w/workspace/undry_device-onvif-camera_PR-437 03:54:40 project root: . 03:54:40 --> token set from env 03:54:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:54:40 ==> Running gcov in . (disable via -X gcov) 03:54:40 ==> Python coveragepy not found 03:54:40 ==> Searching for coverage reports in: 03:54:40 + . 03:54:40 -> Found 1 reports 03:54:40 ==> Detecting git/mercurial file structure 03:54:40 ==> Reading reports 03:54:40 + ./coverage.out bytes=78456 03:54:40 ==> Appending adjustments 03:54:40 https://docs.codecov.io/docs/fixing-reports 03:54:40 + Found adjustments 03:54:40 ==> Gzipping contents 03:54:40 12K /tmp/codecov.6aVY3U.gz 03:54:40 ==> Uploading reports 03:54:40 url: https://codecov.io 03:54:40 query: branch=PR-437&commit=5ca31a4853723d312d54030e4b9793cf57c825d1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-437%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=437&job=&cmd_args= 03:54:40 -> Pinging Codecov 03:54:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-437&commit=5ca31a4853723d312d54030e4b9793cf57c825d1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-437%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=437&job=&cmd_args= 03:54:40 -> Uploading to 03:54:40 https://storage.googleapis.com/codecov/v4/raw/2024-05-29/F29A59C45E3A92E06B3E522C9905F8EF/5ca31a4853723d312d54030e4b9793cf57c825d1/c38dd6f0-3a91-4dd9-92d8-caf45601149b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T035440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b9625ad0a7b8976bea39c56466adef97187499b542a6976c9ee942a46d30285 03:54:40 % Total % Received % Xferd Average Speed Time Time Time Current 03:54:40 Dload Upload Total Spent Left Speed 03:54:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 44926 --:--:-- --:--:-- --:--:-- 44926 03:54:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/5ca31a4853723d312d54030e4b9793cf57c825d1 [Pipeline] } 03:54:40 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:54:43 + [ -d /w/workspace/undry_device-onvif-camera_PR-437/archives ] 03:54:43 + ls -al /w/workspace/undry_device-onvif-camera_PR-437/archives 03:54:43 total 16 03:54:43 drwxr-xr-x 3 root root 4096 May 29 03:42 . 03:54:43 drwxrwxr-x 10 jenkins jenkins 4096 May 29 03:43 .. 03:54:43 drwxr-xr-x 2 root root 4096 May 29 03:42 cost 03:54:43 -rw-r--r-- 1 root root 91 May 29 03:42 cost.csv 03:54:43 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-437/archives 03:54:43 + ls -al /w/workspace/undry_device-onvif-camera_PR-437/archives 03:54:43 total 16 03:54:43 drwxr-xr-x 3 jenkins jenkins 4096 May 29 03:42 . 03:54:43 drwxrwxr-x 10 jenkins jenkins 4096 May 29 03:43 .. 03:54:43 drwxr-xr-x 2 jenkins jenkins 4096 May 29 03:42 cost 03:54:43 -rw-r--r-- 1 jenkins jenkins 91 May 29 03:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:54:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:54:44 ---> package-listing.sh 03:54:44 ++ facter osfamily 03:54:44 ++ tr '[:upper:]' '[:lower:]' 03:54:44 + OS_FAMILY=debian 03:54:44 + workspace=/w/workspace/undry_device-onvif-camera_PR-437 03:54:44 + START_PACKAGES=/tmp/packages_start.txt 03:54:44 + END_PACKAGES=/tmp/packages_end.txt 03:54:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:54:44 + PACKAGES=/tmp/packages_start.txt 03:54:44 + '[' /w/workspace/undry_device-onvif-camera_PR-437 ']' 03:54:44 + PACKAGES=/tmp/packages_end.txt 03:54:44 + case "${OS_FAMILY}" in 03:54:44 + dpkg -l 03:54:44 + grep '^ii' 03:54:44 + '[' -f /tmp/packages_start.txt ']' 03:54:44 + '[' -f /tmp/packages_end.txt ']' 03:54:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:54:44 + '[' /w/workspace/undry_device-onvif-camera_PR-437 ']' 03:54:44 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-437/archives/ 03:54:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-437/archives/ [Pipeline] echo 03:54:44 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-437/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:54:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:54:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:45 prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container 03:54:45 $ 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-437/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-437 -v /w/workspace/undry_device-onvif-camera_PR-437:/w/workspace/undry_device-onvif-camera_PR-437:rw,z -v /w/workspace/undry_device-onvif-camera_PR-437@tmp:/w/workspace/undry_device-onvif-camera_PR-437@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 03:54:46 $ docker top 730815da3a83dd320aeb5072315a8d846126d40e0ecbc6d47fc34b41eca59951 -eo pid,comm [Pipeline] { [Pipeline] sh 03:54:46 + touch /tmp/pre-build-complete [Pipeline] sh 03:54:46 + mkdir -p /var/log/sysstat [Pipeline] sh 03:54:47 + ls /var/log/sa-host 03:54:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:54:47 provisioning config files... 03:54:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-437@tmp/config4100473870877922990tmp [Pipeline] { [Pipeline] echo 03:54:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:54:47 ---> create-netrc.sh [Pipeline] } 03:54:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:54:48 ---> python-tools-install.sh [Pipeline] echo 03:54:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:54:48 ---> sudo-logs.sh 03:54:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:54:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:54:49 ---> job-cost.sh 03:54:49 lf-activate-venv: SKIPPING 03:54:49 DEBUG: total: 0.2199999988079071 03:54:49 INFO: Retrieving Stack Cost... 03:54:49 INFO: Retrieving Pricing Info for: v3-standard-8 03:54:50 INFO: Archiving Costs [Pipeline] echo 03:54:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:54:50 ---> logs-deploy.sh 03:54:50 lf-activate-venv: SKIPPING 03:54:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-437/1 03:54:50 INFO: archiving workspace using pattern(s): 03:54:51 Archives upload complete. 03:54:51 INFO: archiving logs to Nexus