Pull request #438 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c22d2ec69f2b760c24b58923a926cb3588d72cfa+9e152f0eea3cbe8e1fbe8298102668336ecdbf0d (45b5139886f38f0dbf6c28dddbf2db6586f47187) 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-ssh7277033783999963859.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-ssh12708450606916964616.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-438/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-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13159823842219104823.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-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5969469201383077612.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-ssh7493314996530511537.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-438/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-438/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16674458306375891506.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1580 in /w/workspace/undry_device-onvif-camera_PR-438 [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-438 # 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 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d into PR head commit c22d2ec69f2b760c24b58923a926cb3588d72cfa Merge succeeded, producing c22d2ec69f2b760c24b58923a926cb3588d72cfa Checking out Revision c22d2ec69f2b760c24b58923a926cb3588d72cfa (PR-438) > 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/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c22d2ec69f2b760c24b58923a926cb3588d72cfa # 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 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c22d2ec69f2b760c24b58923a926cb3588d72cfa # 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 06:03:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:03:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:03:03 ========================================================= 06:03:03 EdgeX Global Pipelines Version Info 06:03:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:03:04 ------------------- 06:03:04 stable info: 06:03:04 ------------------- 06:03:04 Commited By: Ginny Guan ginny@iotechsys.com 06:03:04 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 06:03:04 Message: update stable to v1.0.260 06:03:05 ------------------- 06:03:05 experimental info: 06:03:05 ------------------- 06:03:05 Commited By: Ginny Guan ginny@iotechsys.com 06:03:05 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 06:03:05 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:03:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 06:03:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 06:03:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:03:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:03:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:03:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:03:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:03:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:03:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 06:03:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:03:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:03:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:03:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:03:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:03:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-438 [Pipeline] echo 06:03:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-438 [Pipeline] echo 06:03:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-438 [Pipeline] echo 06:03:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c22d2ec69f2b760c24b58923a926cb3588d72cfa [Pipeline] echo 06:03:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c22d2ec [Pipeline] echo 06:03:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:07 provisioning config files... 06:03:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config13758367237490696761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:08 ---> ****-login.sh 06:03:08 nexus3.edgexfoundry.org:10001 06:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:08 Configure a credential helper to remove this warning. See 06:03:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:08 06:03:08 Login Succeeded 06:03:08 nexus3.edgexfoundry.org:10002 06:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:08 Configure a credential helper to remove this warning. See 06:03:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:08 06:03:08 Login Succeeded 06:03:08 nexus3.edgexfoundry.org:10003 06:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:08 Configure a credential helper to remove this warning. See 06:03:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:08 06:03:08 Login Succeeded 06:03:08 nexus3.edgexfoundry.org:10004 06:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:08 Configure a credential helper to remove this warning. See 06:03:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:08 06:03:08 Login Succeeded 06:03:08 ****.io 06:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:09 Configure a credential helper to remove this warning. See 06:03:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:09 06:03:09 Login Succeeded 06:03:09 ---> ****-login.sh ends [Pipeline] } 06:03:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:03:09 + git rev-list -1 --merges c22d2ec69f2b760c24b58923a926cb3588d72cfa~1..c22d2ec69f2b760c24b58923a926cb3588d72cfa [Pipeline] echo 06:03:09 -----------> git rev-list -1 --merges c22d2ec69f2b760c24b58923a926cb3588d72cfa~1..c22d2ec69f2b760c24b58923a926cb3588d72cfa c22d2ec69f2b760c24b58923a926cb3588d72cfa [false] [Pipeline] sh 06:03:10 + git log --format=format:%s -1 c22d2ec69f2b760c24b58923a926cb3588d72cfa [Pipeline] echo 06:03:10 ========================================================= 06:03:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:03:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:10 + git log --format=format:%s -1 c22d2ec69f2b760c24b58923a926cb3588d72cfa [Pipeline] echo 06:03:10 [semverPrep] GIT_COMMIT: c22d2ec69f2b760c24b58923a926cb3588d72cfa, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 06:03:10 [semverPrep] This is not a build commit. [Pipeline] sh 06:03:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:03:11 + grep -v github /etc/ssh/ssh_known_hosts 06:03:11 + [ -e /tmp/ssh_known_hosts ] 06:03:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:03:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:03:11 + sudo tee -a /etc/ssh/ssh_known_hosts 06:03:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:03:11 06:03:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:03:12 0.1.4: Pulling from edgex-devops/py-git-semver 06:03:12 b85a868b505f: Pulling fs layer 06:03:12 e2be974225ed: Pulling fs layer 06:03:12 339a4e72a1f5: Pulling fs layer 06:03:12 988bab9f4d93: Pulling fs layer 06:03:12 1469e6f7b9e6: Pulling fs layer 06:03:12 eaf3925da568: Pulling fs layer 06:03:12 bab4dde63d76: Pulling fs layer 06:03:12 bde34c3a00c8: Pulling fs layer 06:03:12 b352a97aabf1: Pulling fs layer 06:03:12 4872d77fe225: Pulling fs layer 06:03:12 5851b861e8e6: Pulling fs layer 06:03:12 988bab9f4d93: Waiting 06:03:12 1469e6f7b9e6: Waiting 06:03:12 eaf3925da568: Waiting 06:03:12 4872d77fe225: Waiting 06:03:12 bab4dde63d76: Waiting 06:03:12 5851b861e8e6: Waiting 06:03:12 e2be974225ed: Verifying Checksum 06:03:12 e2be974225ed: Download complete 06:03:12 988bab9f4d93: Verifying Checksum 06:03:12 988bab9f4d93: Download complete 06:03:12 339a4e72a1f5: Verifying Checksum 06:03:12 339a4e72a1f5: Download complete 06:03:12 1469e6f7b9e6: Verifying Checksum 06:03:12 1469e6f7b9e6: Download complete 06:03:12 eaf3925da568: Download complete 06:03:12 bde34c3a00c8: Download complete 06:03:12 b352a97aabf1: Download complete 06:03:12 4872d77fe225: Download complete 06:03:12 5851b861e8e6: Download complete 06:03:12 b85a868b505f: Verifying Checksum 06:03:12 b85a868b505f: Download complete 06:03:13 bab4dde63d76: Verifying Checksum 06:03:13 bab4dde63d76: Download complete 06:03:13 b85a868b505f: Pull complete 06:03:13 e2be974225ed: Pull complete 06:03:14 339a4e72a1f5: Pull complete 06:03:14 988bab9f4d93: Pull complete 06:03:14 1469e6f7b9e6: Pull complete 06:03:14 eaf3925da568: Pull complete 06:03:16 bab4dde63d76: Pull complete 06:03:16 bde34c3a00c8: Pull complete 06:03:17 b352a97aabf1: Pull complete 06:03:17 4872d77fe225: Pull complete 06:03:17 5851b861e8e6: Pull complete 06:03:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:03:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:03:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:18 prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container 06:03:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:03:25 $ docker top 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 -eo pid,comm 06:03:25 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). 06:03:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:03:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:25 [ssh-agent] Looking for ssh-agent implementation... 06:03:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:25 $ docker exec 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 ssh-agent 06:03:25 SSH_AUTH_SOCK=/tmp/ssh-8q74dwsKsjzf/agent.32 06:03:25 SSH_AGENT_PID=38 06:03:25 Running ssh-add (command line suppressed) 06:03:25 Identity added: /w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_11978044513441855624.key (/w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_11978044513441855624.key) 06:03:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:26 + git tag --points-at HEAD [Pipeline] } 06:03:26 $ docker exec --env ******** --env ******** 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 ssh-agent -k 06:03:26 unset SSH_AUTH_SOCK; 06:03:26 unset SSH_AGENT_PID; 06:03:26 echo Agent pid 38 killed; 06:03:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:03:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:26 [ssh-agent] Looking for ssh-agent implementation... 06:03:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:26 $ docker exec 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 ssh-agent 06:03:26 SSH_AUTH_SOCK=/tmp/ssh-1NQ7yJ3X3IA3/agent.71 06:03:26 SSH_AGENT_PID=77 06:03:26 Running ssh-add (command line suppressed) 06:03:26 Identity added: /w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_8039871334987350364.key (/w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_8039871334987350364.key) 06:03:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:27 + git semver init 06:03:27 2024-05-30 06:03:27,356 [run_init] DEBUG init version:0.0.0 force:False 06:03:27 2024-05-30 06:03:27,357 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-438/.semver 06:03:27 2024-05-30 06:03:27,357 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-438/.semver 06:03:27 2024-05-30 06:03:27,357 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-438/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-438, universal_newlines=False, shell=None, istream=None) 06:03:29 2024-05-30 06:03:28,979 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-438/.git/info/exclude 06:03:29 2024-05-30 06:03:28,980 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-438/.semver/PR-438 with force:False 06:03:29 2024-05-30 06:03:28,980 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-438/.semver/PR-438 06:03:29 2024-05-30 06:03:28,984 [execute] INFO git cat-file --batch-check 06:03:29 2024-05-30 06:03:28,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-438/.semver, universal_newlines=False, shell=None, istream=) 06:03:29 2024-05-30 06:03:28,990 [execute] INFO git cat-file --batch 06:03:29 2024-05-30 06:03:28,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-438/.semver, universal_newlines=False, shell=None, istream=) 06:03:29 2024-05-30 06:03:28,994 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-438/.semver/PR-438 06:03:29 0.0.0 [Pipeline] } 06:03:29 $ docker exec --env ******** --env ******** 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 ssh-agent -k 06:03:29 unset SSH_AUTH_SOCK; 06:03:29 unset SSH_AGENT_PID; 06:03:29 echo Agent pid 77 killed; 06:03:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:03:29 + git semver [Pipeline] } 06:03:30 $ docker stop --time=1 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 06:03:31 $ docker rm -f --volumes 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 [Pipeline] // withDockerContainer [Pipeline] sh 06:03:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:03:32 Stashed 1 file(s) [Pipeline] echo 06:03:32 [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 06:03:33 provisioning config files... 06:03:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config1250881621950967777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:33 ---> ****-login.sh 06:03:33 nexus3.edgexfoundry.org:10001 06:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:33 Configure a credential helper to remove this warning. See 06:03:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:33 06:03:33 Login Succeeded 06:03:33 nexus3.edgexfoundry.org:10002 06:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:33 Configure a credential helper to remove this warning. See 06:03:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:33 06:03:33 Login Succeeded 06:03:33 nexus3.edgexfoundry.org:10003 06:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:33 Configure a credential helper to remove this warning. See 06:03:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:33 06:03:33 Login Succeeded 06:03:33 nexus3.edgexfoundry.org:10004 06:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:33 Configure a credential helper to remove this warning. See 06:03:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:33 06:03:33 Login Succeeded 06:03:33 ****.io 06:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:34 Configure a credential helper to remove this warning. See 06:03:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:34 06:03:34 Login Succeeded 06:03:34 ---> ****-login.sh ends [Pipeline] } 06:03:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:03:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:03:34 ========================================================= 06:03:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:03:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:34 + 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 . 06:03:34 Sending build context to Docker daemon 37.75MB 06:03:34 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 06:03:34 Step 2/13 : FROM ${BASE} AS builder 06:03:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:03:35 619be1103602: Pulling fs layer 06:03:35 7862e08f4a3e: Pulling fs layer 06:03:35 5df492c9dc93: Pulling fs layer 06:03:35 7629e6793208: Pulling fs layer 06:03:35 4f4fb700ef54: Pulling fs layer 06:03:35 fb5054dd5b73: Pulling fs layer 06:03:35 eeca6798cff9: Pulling fs layer 06:03:35 aa269ceb94a6: Pulling fs layer 06:03:35 ada007ff1a6a: Pulling fs layer 06:03:35 4f4fb700ef54: Waiting 06:03:35 eeca6798cff9: Waiting 06:03:35 aa269ceb94a6: Waiting 06:03:35 ada007ff1a6a: Waiting 06:03:35 fb5054dd5b73: Waiting 06:03:35 7862e08f4a3e: Download complete 06:03:35 7629e6793208: Download complete 06:03:35 4f4fb700ef54: Verifying Checksum 06:03:35 4f4fb700ef54: Download complete 06:03:35 fb5054dd5b73: Verifying Checksum 06:03:35 fb5054dd5b73: Download complete 06:03:35 619be1103602: Verifying Checksum 06:03:35 619be1103602: Download complete 06:03:35 eeca6798cff9: Verifying Checksum 06:03:35 eeca6798cff9: Download complete 06:03:35 619be1103602: Pull complete 06:03:35 ada007ff1a6a: Verifying Checksum 06:03:35 ada007ff1a6a: Download complete 06:03:35 7862e08f4a3e: Pull complete 06:03:35 5df492c9dc93: Verifying Checksum 06:03:35 5df492c9dc93: Download complete 06:03:36 aa269ceb94a6: Verifying Checksum 06:03:36 aa269ceb94a6: Download complete 06:03:38 5df492c9dc93: Pull complete 06:03:38 7629e6793208: Pull complete 06:03:38 4f4fb700ef54: Pull complete 06:03:38 fb5054dd5b73: Pull complete 06:03:38 eeca6798cff9: Pull complete 06:03:41 aa269ceb94a6: Pull complete 06:03:41 ada007ff1a6a: Pull complete 06:03:41 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:03:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:03:41 ---> f489d0715acc 06:03:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:03:47 ---> Running in 59d4984030f6 06:03:47 Removing intermediate container 59d4984030f6 06:03:47 ---> cf8d47a8f4e6 06:03:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:03:47 ---> Running in 9eebc9142141 06:03:47 Removing intermediate container 9eebc9142141 06:03:47 ---> 2585eb334959 06:03:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:03:47 ---> Running in 1d9e931b449a 06:03:47 Removing intermediate container 1d9e931b449a 06:03:47 ---> 8c04f8f79563 06:03:47 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:03:47 ---> Running in de29c3049496 06:03:47 Removing intermediate container de29c3049496 06:03:47 ---> 526d52599462 06:03:47 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:03:47 ---> Running in b061c67843e6 06:03:47 Still waiting to schedule task 06:03:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:03:48 Removing intermediate container b061c67843e6 06:03:48 ---> 1b3ade149afd 06:03:48 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:03:48 ---> Running in e474bb8e8806 06:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:03:48 OK: 264 MiB in 52 packages 06:03:49 Removing intermediate container e474bb8e8806 06:03:49 ---> d76239b098f8 06:03:49 Step 9/13 : WORKDIR /device-onvif-camera 06:03:49 ---> Running in ef8588b6d6ef 06:03:49 Removing intermediate container ef8588b6d6ef 06:03:49 ---> cd68b020a58c 06:03:49 Step 10/13 : COPY go.mod vendor* ./ 06:03:49 ---> e382e3aeb159 06:03:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:03:49 ---> Running in 033f06276bcd 06:05:10 Removing intermediate container 033f06276bcd 06:05:10 ---> 9024254a680b 06:05:10 Step 12/13 : COPY . . 06:05:10 ---> 7a6381596188 06:05:10 Step 13/13 : RUN ${MAKE} 06:05:10 ---> Running in 04a41542f771 06:05:10 noop 06:05:10 Removing intermediate container 04a41542f771 06:05:10 ---> 3adabd61aa98 06:05:10 Successfully built 3adabd61aa98 06:05:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:11 + docker inspect -f . ci-base-image-x86_64 06:05:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:11 prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container 06:05:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@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 ******** ci-base-image-x86_64 cat 06:05:11 $ docker top 3c17d0f7631bc12930edccae95b6b1925aa93fc642ce00fc0ba045bf5549a071 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:12 + go version 06:05:12 go version go1.21.9 linux/amd64 [Pipeline] } 06:05:12 $ docker stop --time=1 3c17d0f7631bc12930edccae95b6b1925aa93fc642ce00fc0ba045bf5549a071 06:05:13 $ docker rm -f --volumes 3c17d0f7631bc12930edccae95b6b1925aa93fc642ce00fc0ba045bf5549a071 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:14 + docker inspect -f . ci-base-image-x86_64 06:05:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:14 prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container 06:05:14 $ 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-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@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 ******** ci-base-image-x86_64 cat 06:05:14 $ docker top 7333bcf503b7476d15c608c123cf82baf9ffc058fc6e09530c15e68eee8e522e -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:15 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-438 [Pipeline] fileExists [Pipeline] sh 06:05:15 + make test 06:05:15 go test ./... -coverprofile=coverage.out ./... 06:05:16 go: updates to go.mod needed; to update it: 06:05:16 go mod tidy 06:05:16 make: *** [Makefile:60: unittest] Error 1 [Pipeline] } 06:05:16 $ docker stop --time=1 7333bcf503b7476d15c608c123cf82baf9ffc058fc6e09530c15e68eee8e522e 06:05:17 $ docker rm -f --volumes 7333bcf503b7476d15c608c123cf82baf9ffc058fc6e09530c15e68eee8e522e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:18 06:05:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:19 latest: Pulling from edgex-lftools-log-publisher 06:05:19 5eb5b503b376: Pulling fs layer 06:05:19 5c69ac0246d0: Pulling fs layer 06:05:19 ec43610c2a17: Pulling fs layer 06:05:19 3a2ae6a8a46f: Pulling fs layer 06:05:19 33b1e0a273af: Pulling fs layer 06:05:19 5d3b04190fa2: Pulling fs layer 06:05:19 2f39f015ded8: Pulling fs layer 06:05:19 5d3b04190fa2: Waiting 06:05:19 3a2ae6a8a46f: Waiting 06:05:19 2f39f015ded8: Waiting 06:05:19 33b1e0a273af: Waiting 06:05:19 5c69ac0246d0: Verifying Checksum 06:05:19 5c69ac0246d0: Download complete 06:05:19 3a2ae6a8a46f: Verifying Checksum 06:05:19 3a2ae6a8a46f: Download complete 06:05:19 33b1e0a273af: Verifying Checksum 06:05:19 33b1e0a273af: Download complete 06:05:19 5d3b04190fa2: Verifying Checksum 06:05:19 5d3b04190fa2: Download complete 06:05:19 ec43610c2a17: Verifying Checksum 06:05:19 ec43610c2a17: Download complete 06:05:19 5eb5b503b376: Verifying Checksum 06:05:19 5eb5b503b376: Download complete 06:05:20 2f39f015ded8: Download complete 06:05:20 5eb5b503b376: Pull complete 06:05:20 5c69ac0246d0: Pull complete 06:05:21 ec43610c2a17: Pull complete 06:05:21 3a2ae6a8a46f: Pull complete 06:05:21 33b1e0a273af: Pull complete 06:05:21 5d3b04190fa2: Pull complete 06:05:25 2f39f015ded8: Pull complete 06:05:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:05:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:26 prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container 06:05:26 $ 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-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@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 06:05:35 $ docker top 4d5ae34a36e843f0ba4030e222dce9629c9471c77c0f69df1b8d3e9e831d2e2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:35 ---> job-cost.sh 06:05:35 lf-activate-venv: SKIPPING 06:05:35 INFO: No Stack... 06:05:36 INFO: Retrieving Pricing Info for: v3-standard-8 06:05:36 INFO: Archiving Costs [Pipeline] sh 06:05:36 + cat /w/workspace/undry_device-onvif-camera_PR-438/archives/cost.csv 06:05:36 + cut -d, -f6 [Pipeline] lock 06:05:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] 06:05:36 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] did not exist. Created. 06:05:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:37 + echo total: 0.2199999988079071 [Pipeline] stash 06:05:37 Stashed 1 file(s) [Pipeline] } 06:05:37 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:05:37 $ docker stop --time=1 4d5ae34a36e843f0ba4030e222dce9629c9471c77c0f69df1b8d3e9e831d2e2b 06:05:38 $ docker rm -f --volumes 4d5ae34a36e843f0ba4030e222dce9629c9471c77c0f69df1b8d3e9e831d2e2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:05:39 Failed in branch amd64 06:06:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1589 in /w/workspace/undry_device-onvif-camera_PR-438 [Pipeline] { [Pipeline] ws 06:06:40 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 06:06:40 The recommended git tool is: git 06:06:49 using credential edgex-jenkins-ssh 06:06:49 Cloning the remote Git repository 06:06:50 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:06:50 > git init /w/workspace/device-onvif-camera/1 # timeout=10 06:06:50 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:06:50 > git --version # timeout=10 06:06:50 > git --version # 'git version 2.25.1' 06:06:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:53 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:06:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:55 Merging remotes/origin/main commit 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d into PR head commit c22d2ec69f2b760c24b58923a926cb3588d72cfa 06:06:56 Merge succeeded, producing c22d2ec69f2b760c24b58923a926cb3588d72cfa 06:06:56 Checking out Revision c22d2ec69f2b760c24b58923a926cb3588d72cfa (PR-438) 06:06:55 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:06:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:06:55 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:06:55 > git config core.sparsecheckout # timeout=10 06:06:55 > git checkout -f c22d2ec69f2b760c24b58923a926cb3588d72cfa # timeout=10 06:06:55 > git remote # timeout=10 06:06:55 > git config --get remote.origin.url # timeout=10 06:06:55 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:55 > git merge 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d # timeout=10 06:06:56 > git rev-parse HEAD^{commit} # timeout=10 06:06:56 > git config core.sparsecheckout # timeout=10 06:06:56 > git checkout -f c22d2ec69f2b760c24b58923a926cb3588d72cfa # timeout=10 06:06:56 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:06:56 > git --version # timeout=10 06:06:56 > git --version # 'git version 2.25.1' 06:06:56 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:07:01 % Total % Received % Xferd Average Speed Time Time Time Current 06:07:01 Dload Upload Total Spent Left Speed 06:07:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh 06:07:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:07:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:07:02 + sudo tee /etc/docker/daemon.new 06:07:02 { 06:07:02 "registry-mirrors": [ 06:07:02 "https://nexus3.edgexfoundry.org:10001" 06:07:02 ], 06:07:02 "bip": "10.250.0.254/24", 06:07:02 "hosts": [ 06:07:02 "tcp://0.0.0.0:5555", 06:07:02 "unix:///var/run/docker.sock" 06:07:02 ], 06:07:02 "mtu": 1458, 06:07:02 "selinux-enabled": true, 06:07:02 "seccomp-profile": "/etc/docker/seccomp.json" 06:07:02 } [Pipeline] sh 06:07:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:07:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:21 provisioning config files... 06:07:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config16580746677073744258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:07:22 ---> ****-login.sh 06:07:22 nexus3.edgexfoundry.org:10001 06:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:23 Configure a credential helper to remove this warning. See 06:07:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:23 06:07:23 Login Succeeded 06:07:23 nexus3.edgexfoundry.org:10002 06:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:23 Configure a credential helper to remove this warning. See 06:07:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:23 06:07:23 Login Succeeded 06:07:23 nexus3.edgexfoundry.org:10003 06:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:23 Configure a credential helper to remove this warning. See 06:07:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:23 06:07:23 Login Succeeded 06:07:23 nexus3.edgexfoundry.org:10004 06:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:24 Configure a credential helper to remove this warning. See 06:07:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:24 06:07:24 Login Succeeded 06:07:24 ****.io 06:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:26 Configure a credential helper to remove this warning. See 06:07:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:26 06:07:26 Login Succeeded 06:07:26 ---> ****-login.sh ends [Pipeline] } 06:07:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:07:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:07:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:07:26 ========================================================= 06:07:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:07:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:27 + 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 . 06:07:27 Sending build context to Docker daemon 22.28MB 06:07:28 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 06:07:28 Step 2/13 : FROM ${BASE} AS builder 06:07:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:07:28 c6b39de5b339: Pulling fs layer 06:07:28 a69c41024577: Pulling fs layer 06:07:28 d6de4b400683: Pulling fs layer 06:07:28 35cb2a7552d0: Pulling fs layer 06:07:28 4f4fb700ef54: Pulling fs layer 06:07:28 35cb2a7552d0: Waiting 06:07:28 464afbd9ba4c: Pulling fs layer 06:07:28 00f215d4a9da: Pulling fs layer 06:07:28 d496ad576159: Pulling fs layer 06:07:28 4f4fb700ef54: Waiting 06:07:28 464afbd9ba4c: Waiting 06:07:28 00f215d4a9da: Waiting 06:07:28 d496ad576159: Waiting 06:07:28 a69c41024577: Download complete 06:07:28 35cb2a7552d0: Verifying Checksum 06:07:28 35cb2a7552d0: Download complete 06:07:28 4f4fb700ef54: Verifying Checksum 06:07:28 4f4fb700ef54: Download complete 06:07:28 c6b39de5b339: Verifying Checksum 06:07:28 c6b39de5b339: Download complete 06:07:28 464afbd9ba4c: Verifying Checksum 06:07:28 464afbd9ba4c: Download complete 06:07:29 d496ad576159: Verifying Checksum 06:07:29 d496ad576159: Download complete 06:07:29 c6b39de5b339: Pull complete 06:07:30 a69c41024577: Pull complete 06:07:30 d6de4b400683: Verifying Checksum 06:07:30 d6de4b400683: Download complete 06:07:31 00f215d4a9da: Verifying Checksum 06:07:31 00f215d4a9da: Download complete 06:07:44 d6de4b400683: Pull complete 06:07:44 35cb2a7552d0: Pull complete 06:07:44 4f4fb700ef54: Pull complete 06:07:44 464afbd9ba4c: Pull complete 06:07:52 00f215d4a9da: Pull complete 06:07:54 d496ad576159: Pull complete 06:07:54 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:07:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:07:54 ---> f246e2811388 06:07:54 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:07:56 ---> Running in ce6f35fda7d9 06:07:56 Removing intermediate container ce6f35fda7d9 06:07:56 ---> b1bc57f654da 06:07:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:07:56 ---> Running in e33983bd1c24 06:07:57 Removing intermediate container e33983bd1c24 06:07:57 ---> b3b382933763 06:07:57 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:07:57 ---> Running in 9c0265a6f95a 06:07:57 Removing intermediate container 9c0265a6f95a 06:07:57 ---> cff03389978f 06:07:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:07:57 ---> Running in 763b7f01f7c5 06:07:57 Removing intermediate container 763b7f01f7c5 06:07:57 ---> d6316909db9c 06:07:57 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:07:57 ---> Running in 625a9e3ae732 06:07:58 Removing intermediate container 625a9e3ae732 06:07:58 ---> 7fd7ffb32506 06:07:58 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:07:58 ---> Running in 38b8a1064c37 06:07:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:08:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:08:04 OK: 266 MiB in 52 packages 06:08:05 Removing intermediate container 38b8a1064c37 06:08:05 ---> e02a23209bd6 06:08:05 Step 9/13 : WORKDIR /device-onvif-camera 06:08:05 ---> Running in 59ae510aee72 06:08:05 Removing intermediate container 59ae510aee72 06:08:05 ---> 5d2e2b1620b9 06:08:05 Step 10/13 : COPY go.mod vendor* ./ 06:08:05 ---> 28d8bef6dc47 06:08:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:08:05 ---> Running in cd02a3d945a5 06:10:27 Removing intermediate container cd02a3d945a5 06:10:27 ---> e6a6d7460faf 06:10:27 Step 12/13 : COPY . . 06:10:27 ---> f7f68856363a 06:10:27 Step 13/13 : RUN ${MAKE} 06:10:27 ---> Running in 374745f29fe8 06:10:27 noop 06:10:27 Removing intermediate container 374745f29fe8 06:10:27 ---> d4f482d378cf 06:10:27 Successfully built d4f482d378cf 06:10:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:28 + docker inspect -f . ci-base-image-arm64 06:10:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:28 prd-ubuntu20.04-docker-arm64-4c-16g-1589 does not seem to be running inside a container 06:10:28 $ 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 06:10:30 $ docker top 513a2d14df6d3f490831ce6cb75c1cc49949f443792b37e83de98e299820d7af -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:31 + go version 06:10:31 go version go1.21.9 linux/arm64 [Pipeline] } 06:10:31 $ docker stop --time=1 513a2d14df6d3f490831ce6cb75c1cc49949f443792b37e83de98e299820d7af 06:10:32 $ docker rm -f --volumes 513a2d14df6d3f490831ce6cb75c1cc49949f443792b37e83de98e299820d7af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:33 + docker inspect -f . ci-base-image-arm64 06:10:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:34 prd-ubuntu20.04-docker-arm64-4c-16g-1589 does not seem to be running inside a container 06:10:34 $ 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 06:10:35 $ docker top 7f6ddf633a140cee3acc4c2080de36b8324f09ca57143a996b730c7d92026b14 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:36 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 06:10:37 + make test 06:10:37 go test ./... -coverprofile=coverage.out ./... 06:10:42 go: updates to go.mod needed; to update it: 06:10:42 go mod tidy 06:10:42 make: *** [Makefile:60: unittest] Error 1 [Pipeline] } 06:10:42 $ docker stop --time=1 7f6ddf633a140cee3acc4c2080de36b8324f09ca57143a996b730c7d92026b14 06:10:44 $ docker rm -f --volumes 7f6ddf633a140cee3acc4c2080de36b8324f09ca57143a996b730c7d92026b14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:46 06:10:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:46 arm64: Pulling from edgex-lftools-log-publisher 06:10:46 8998bd30e6a1: Pulling fs layer 06:10:46 04944245beec: Pulling fs layer 06:10:46 699f458cf7ca: Pulling fs layer 06:10:46 765212b225bb: Pulling fs layer 06:10:46 f23df028b6ca: Pulling fs layer 06:10:46 d65c8cfc05b1: Pulling fs layer 06:10:46 765212b225bb: Waiting 06:10:46 2437ff75d9bd: Pulling fs layer 06:10:46 f23df028b6ca: Waiting 06:10:46 d65c8cfc05b1: Waiting 06:10:46 2437ff75d9bd: Waiting 06:10:46 04944245beec: Verifying Checksum 06:10:46 765212b225bb: Download complete 06:10:46 f23df028b6ca: Verifying Checksum 06:10:46 f23df028b6ca: Download complete 06:10:47 d65c8cfc05b1: Download complete 06:10:47 699f458cf7ca: Verifying Checksum 06:10:47 699f458cf7ca: Download complete 06:10:47 8998bd30e6a1: Verifying Checksum 06:10:47 8998bd30e6a1: Download complete 06:10:50 2437ff75d9bd: Verifying Checksum 06:10:50 2437ff75d9bd: Download complete 06:10:52 8998bd30e6a1: Pull complete 06:10:53 04944245beec: Pull complete 06:10:55 699f458cf7ca: Pull complete 06:10:55 765212b225bb: Pull complete 06:10:55 f23df028b6ca: Pull complete 06:10:56 d65c8cfc05b1: Pull complete 06:11:14 2437ff75d9bd: Pull complete 06:11:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:11:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:14 prd-ubuntu20.04-docker-arm64-4c-16g-1589 does not seem to be running inside a container 06:11:14 $ 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 06:11:17 $ docker top 7747f9decad9b7b0b3488970edae8e0b72f3dafc5725429d7f269c03593b5f18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:18 ---> job-cost.sh 06:11:18 lf-activate-venv: SKIPPING 06:11:18 INFO: No Stack... 06:11:19 INFO: Retrieving Pricing Info for: v3-standard-4 06:11:20 INFO: Archiving Costs [Pipeline] sh 06:11:20 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 06:11:20 + cut -d, -f6 [Pipeline] lock 06:11:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] 06:11:20 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] did not exist. Created. 06:11:20 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:11:21 /w/workspace/device-onvif-camera/1@tmp/durable-b2b4df09/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:11:22 + echo total: 0.10999999940395355 [Pipeline] stash 06:11:22 Warning: overwriting stash ‘stack-cost’ 06:11:23 Stashed 1 file(s) [Pipeline] } 06:11:23 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:11:23 $ docker stop --time=1 7747f9decad9b7b0b3488970edae8e0b72f3dafc5725429d7f269c03593b5f18 06:11:24 $ docker rm -f --volumes 7747f9decad9b7b0b3488970edae8e0b72f3dafc5725429d7f269c03593b5f18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:11:25 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 06:11:28 + [ -d /w/workspace/undry_device-onvif-camera_PR-438/archives ] 06:11:28 + ls -al /w/workspace/undry_device-onvif-camera_PR-438/archives 06:11:28 total 16 06:11:28 drwxr-xr-x 3 root root 4096 May 30 06:05 . 06:11:28 drwxrwxr-x 10 jenkins jenkins 4096 May 30 06:05 .. 06:11:28 drwxr-xr-x 2 root root 4096 May 30 06:05 cost 06:11:28 -rw-r--r-- 1 root root 91 May 30 06:05 cost.csv 06:11:28 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-438/archives 06:11:28 + ls -al /w/workspace/undry_device-onvif-camera_PR-438/archives 06:11:28 total 16 06:11:28 drwxr-xr-x 3 jenkins jenkins 4096 May 30 06:05 . 06:11:28 drwxrwxr-x 10 jenkins jenkins 4096 May 30 06:05 .. 06:11:28 drwxr-xr-x 2 jenkins jenkins 4096 May 30 06:05 cost 06:11:28 -rw-r--r-- 1 jenkins jenkins 91 May 30 06:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:11:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:11:29 ---> package-listing.sh 06:11:29 ++ facter osfamily 06:11:29 ++ tr '[:upper:]' '[:lower:]' 06:11:29 + OS_FAMILY=debian 06:11:29 + workspace=/w/workspace/undry_device-onvif-camera_PR-438 06:11:29 + START_PACKAGES=/tmp/packages_start.txt 06:11:29 + END_PACKAGES=/tmp/packages_end.txt 06:11:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:11:29 + PACKAGES=/tmp/packages_start.txt 06:11:29 + '[' /w/workspace/undry_device-onvif-camera_PR-438 ']' 06:11:29 + PACKAGES=/tmp/packages_end.txt 06:11:29 + case "${OS_FAMILY}" in 06:11:29 + dpkg -l 06:11:29 + grep '^ii' 06:11:29 + '[' -f /tmp/packages_start.txt ']' 06:11:29 + '[' -f /tmp/packages_end.txt ']' 06:11:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:11:29 + '[' /w/workspace/undry_device-onvif-camera_PR-438 ']' 06:11:29 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-438/archives/ 06:11:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-438/archives/ [Pipeline] echo 06:11:29 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-438/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:11:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:30 prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container 06:11:30 $ 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-438/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-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:11:31 $ docker top 0db35ea0354b2716de8b9751b6abc5031a4ecaf355459ac76789dd0129f09ca8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:31 + touch /tmp/pre-build-complete [Pipeline] sh 06:11:31 + mkdir -p /var/log/sysstat [Pipeline] sh 06:11:32 + ls /var/log/sa-host 06:11:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:32 provisioning config files... 06:11:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config2094870672483190420tmp [Pipeline] { [Pipeline] echo 06:11:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:11:32 ---> create-netrc.sh [Pipeline] } 06:11:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:11:33 ---> python-tools-install.sh [Pipeline] echo 06:11:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:11:33 ---> sudo-logs.sh 06:11:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:11:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:11:34 ---> job-cost.sh 06:11:34 lf-activate-venv: SKIPPING 06:11:34 DEBUG: total: 0.2199999988079071 06:11:34 INFO: Retrieving Stack Cost... 06:11:34 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:34 INFO: Archiving Costs [Pipeline] echo 06:11:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:11:35 ---> logs-deploy.sh 06:11:35 lf-activate-venv: SKIPPING 06:11:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-438/1 06:11:35 INFO: archiving workspace using pattern(s): 06:11:36 Archives upload complete. 06:11:36 INFO: archiving logs to Nexus