Pull request #418 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2e44e4a3827fa68798793d40e798b5607fffb595+5c31a42961058bd23b8ccbd80479928550a3acc6 (df1bdb84d2c66ad9cf8e34fe7782d6e7c98b0958) 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-ssh2868435525650040698.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10105715408317855144.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-418/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-418/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11201714390871900784.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-418/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9523252238000278859.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6558681918228337430.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-418/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-418/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4298860066142930423.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24633 in /w/workspace/undry_device-onvif-camera_PR-418 [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-418 # 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 5c31a42961058bd23b8ccbd80479928550a3acc6 into PR head commit 2e44e4a3827fa68798793d40e798b5607fffb595 Merge succeeded, producing 2e44e4a3827fa68798793d40e798b5607fffb595 Checking out Revision 2e44e4a3827fa68798793d40e798b5607fffb595 (PR-418) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > 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/418/head:refs/remotes/origin/PR-418 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e44e4a3827fa68798793d40e798b5607fffb595 # 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 5c31a42961058bd23b8ccbd80479928550a3acc6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e44e4a3827fa68798793d40e798b5607fffb595 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:59:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:59:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:59:34 ========================================================= 03:59:34 EdgeX Global Pipelines Version Info 03:59:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:59:35 ------------------- 03:59:35 stable info: 03:59:35 ------------------- 03:59:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:59:35 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:59:35 Message: update stable to v1.0.258 03:59:35 ------------------- 03:59:35 experimental info: 03:59:35 ------------------- 03:59:35 Commited By: **** collab-it+edgex@linuxfoundation.org 03:59:35 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:59:35 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:59:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:59:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-418 [Pipeline] echo 03:59:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-418 [Pipeline] echo 03:59:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-418 [Pipeline] echo 03:59:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e44e4a3827fa68798793d40e798b5607fffb595 [Pipeline] echo 03:59:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e44e4a [Pipeline] echo 03:59:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:59:38 provisioning config files... 03:59:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-418@tmp/config4095374423940971320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:59:38 ---> ****-login.sh 03:59:38 nexus3.edgexfoundry.org:10001 03:59:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:59:40 Configure a credential helper to remove this warning. See 03:59:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:59:40 03:59:40 Login Succeeded 03:59:40 nexus3.edgexfoundry.org:10002 03:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:59:40 Configure a credential helper to remove this warning. See 03:59:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:59:40 03:59:40 Login Succeeded 03:59:40 nexus3.edgexfoundry.org:10003 03:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:59:40 Configure a credential helper to remove this warning. See 03:59:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:59:40 03:59:40 Login Succeeded 03:59:40 nexus3.edgexfoundry.org:10004 03:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:59:40 Configure a credential helper to remove this warning. See 03:59:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:59:40 03:59:40 Login Succeeded 03:59:40 ****.io 03:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:59:40 Configure a credential helper to remove this warning. See 03:59:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:59:40 03:59:40 Login Succeeded 03:59:40 ---> ****-login.sh ends [Pipeline] } 03:59:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:59:41 + git rev-list -1 --merges 2e44e4a3827fa68798793d40e798b5607fffb595~1..2e44e4a3827fa68798793d40e798b5607fffb595 [Pipeline] echo 03:59:41 -----------> git rev-list -1 --merges 2e44e4a3827fa68798793d40e798b5607fffb595~1..2e44e4a3827fa68798793d40e798b5607fffb595 2e44e4a3827fa68798793d40e798b5607fffb595 [false] [Pipeline] sh 03:59:42 + git log --format=format:%s -1 2e44e4a3827fa68798793d40e798b5607fffb595 [Pipeline] echo 03:59:42 ========================================================= 03:59:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:59:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:59:42 + git log --format=format:%s -1 2e44e4a3827fa68798793d40e798b5607fffb595 [Pipeline] echo 03:59:42 [semverPrep] GIT_COMMIT: 2e44e4a3827fa68798793d40e798b5607fffb595, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:59:42 [semverPrep] This is not a build commit. [Pipeline] sh 03:59:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:59:43 + grep -v github /etc/ssh/ssh_known_hosts 03:59:43 + [ -e /tmp/ssh_known_hosts ] 03:59:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:59:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:59:43 + sudo tee -a /etc/ssh/ssh_known_hosts 03:59:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:59:43 03:59:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:59:44 0.1.4: Pulling from edgex-devops/py-git-semver 03:59:44 b85a868b505f: Pulling fs layer 03:59:44 e2be974225ed: Pulling fs layer 03:59:44 339a4e72a1f5: Pulling fs layer 03:59:44 988bab9f4d93: Pulling fs layer 03:59:44 1469e6f7b9e6: Pulling fs layer 03:59:44 eaf3925da568: Pulling fs layer 03:59:44 bab4dde63d76: Pulling fs layer 03:59:44 bde34c3a00c8: Pulling fs layer 03:59:44 b352a97aabf1: Pulling fs layer 03:59:44 4872d77fe225: Pulling fs layer 03:59:44 5851b861e8e6: Pulling fs layer 03:59:44 988bab9f4d93: Waiting 03:59:44 bde34c3a00c8: Waiting 03:59:44 1469e6f7b9e6: Waiting 03:59:44 4872d77fe225: Waiting 03:59:44 bab4dde63d76: Waiting 03:59:44 5851b861e8e6: Waiting 03:59:44 e2be974225ed: Download complete 03:59:44 988bab9f4d93: Download complete 03:59:44 1469e6f7b9e6: Verifying Checksum 03:59:44 1469e6f7b9e6: Download complete 03:59:44 eaf3925da568: Verifying Checksum 03:59:44 eaf3925da568: Download complete 03:59:44 339a4e72a1f5: Verifying Checksum 03:59:44 339a4e72a1f5: Download complete 03:59:44 bde34c3a00c8: Verifying Checksum 03:59:44 bde34c3a00c8: Download complete 03:59:44 b352a97aabf1: Verifying Checksum 03:59:44 4872d77fe225: Verifying Checksum 03:59:44 4872d77fe225: Download complete 03:59:44 5851b861e8e6: Verifying Checksum 03:59:44 5851b861e8e6: Download complete 03:59:44 b85a868b505f: Verifying Checksum 03:59:44 b85a868b505f: Download complete 03:59:44 bab4dde63d76: Verifying Checksum 03:59:44 bab4dde63d76: Download complete 03:59:45 b85a868b505f: Pull complete 03:59:45 e2be974225ed: Pull complete 03:59:46 339a4e72a1f5: Pull complete 03:59:46 988bab9f4d93: Pull complete 03:59:46 1469e6f7b9e6: Pull complete 03:59:46 eaf3925da568: Pull complete 03:59:48 bab4dde63d76: Pull complete 03:59:48 bde34c3a00c8: Pull complete 03:59:48 b352a97aabf1: Pull complete 03:59:48 4872d77fe225: Pull complete 03:59:48 5851b861e8e6: Pull complete 03:59:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:59:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:59:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:49 prd-ubuntu20.04-docker-8c-8g-24633 does not seem to be running inside a container 03:59:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-418 -v /w/workspace/undry_device-onvif-camera_PR-418:/w/workspace/undry_device-onvif-camera_PR-418:rw,z -v /w/workspace/undry_device-onvif-camera_PR-418@tmp:/w/workspace/undry_device-onvif-camera_PR-418@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:59:52 $ docker top a7117785bc142b7f2db081719c897daeed603f902a8448b5d2e5cd632815ce85 -eo pid,comm 03:59:52 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:59:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:59:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:59:53 [ssh-agent] Looking for ssh-agent implementation... 03:59:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:59:53 $ docker exec a7117785bc142b7f2db081719c897daeed603f902a8448b5d2e5cd632815ce85 ssh-agent 03:59:53 SSH_AUTH_SOCK=/tmp/ssh-1yexlKgpbAJW/agent.32 03:59:53 SSH_AGENT_PID=38 03:59:53 Running ssh-add (command line suppressed) 03:59:53 Identity added: /w/workspace/undry_device-onvif-camera_PR-418@tmp/private_key_16450828616337159741.key (/w/workspace/undry_device-onvif-camera_PR-418@tmp/private_key_16450828616337159741.key) 03:59:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:59:53 + git tag --points-at HEAD [Pipeline] } 03:59:53 $ docker exec --env ******** --env ******** a7117785bc142b7f2db081719c897daeed603f902a8448b5d2e5cd632815ce85 ssh-agent -k 03:59:53 unset SSH_AUTH_SOCK; 03:59:53 unset SSH_AGENT_PID; 03:59:53 echo Agent pid 38 killed; 03:59:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:59:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:59:54 [ssh-agent] Looking for ssh-agent implementation... 03:59:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:59:54 $ docker exec a7117785bc142b7f2db081719c897daeed603f902a8448b5d2e5cd632815ce85 ssh-agent 03:59:54 SSH_AUTH_SOCK=/tmp/ssh-m1GjLYfZeIS0/agent.70 03:59:54 SSH_AGENT_PID=76 03:59:54 Running ssh-add (command line suppressed) 03:59:54 Identity added: /w/workspace/undry_device-onvif-camera_PR-418@tmp/private_key_10660950639461160328.key (/w/workspace/undry_device-onvif-camera_PR-418@tmp/private_key_10660950639461160328.key) 03:59:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:59:54 + git semver init 03:59:55 2023-12-07 03:59:54,923 [run_init] DEBUG init version:0.0.0 force:False 03:59:55 2023-12-07 03:59:54,924 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-418/.semver 03:59:55 2023-12-07 03:59:54,924 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-418/.semver 03:59:55 2023-12-07 03:59:54,924 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-418/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-418, universal_newlines=False, shell=None, istream=None) 03:59:56 2023-12-07 03:59:56,899 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-418/.git/info/exclude 03:59:56 2023-12-07 03:59:56,900 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-418/.semver/PR-418 with force:False 03:59:56 2023-12-07 03:59:56,900 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-418/.semver/PR-418 03:59:56 2023-12-07 03:59:56,904 [execute] INFO git cat-file --batch-check 03:59:56 2023-12-07 03:59:56,904 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-418/.semver, universal_newlines=False, shell=None, istream=) 03:59:56 2023-12-07 03:59:56,909 [execute] INFO git cat-file --batch 03:59:56 2023-12-07 03:59:56,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-418/.semver, universal_newlines=False, shell=None, istream=) 03:59:57 2023-12-07 03:59:56,914 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-418/.semver/PR-418 03:59:57 0.0.0 [Pipeline] } 03:59:57 $ docker exec --env ******** --env ******** a7117785bc142b7f2db081719c897daeed603f902a8448b5d2e5cd632815ce85 ssh-agent -k 03:59:57 unset SSH_AUTH_SOCK; 03:59:57 unset SSH_AGENT_PID; 03:59:57 echo Agent pid 76 killed; 03:59:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:59:57 + git semver [Pipeline] } 03:59:58 $ docker stop --time=1 a7117785bc142b7f2db081719c897daeed603f902a8448b5d2e5cd632815ce85 03:59:59 $ docker rm -f --volumes a7117785bc142b7f2db081719c897daeed603f902a8448b5d2e5cd632815ce85 [Pipeline] // withDockerContainer [Pipeline] sh 03:59:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:00:00 Stashed 1 file(s) [Pipeline] echo 04:00:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:00:01 provisioning config files... 04:00:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-418@tmp/config2945676670112415307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:01 ---> ****-login.sh 04:00:01 nexus3.edgexfoundry.org:10001 04:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:01 Configure a credential helper to remove this warning. See 04:00:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:01 04:00:01 Login Succeeded 04:00:01 nexus3.edgexfoundry.org:10002 04:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:01 Configure a credential helper to remove this warning. See 04:00:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:01 04:00:01 Login Succeeded 04:00:01 nexus3.edgexfoundry.org:10003 04:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:01 Configure a credential helper to remove this warning. See 04:00:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:01 04:00:01 Login Succeeded 04:00:01 nexus3.edgexfoundry.org:10004 04:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:01 Configure a credential helper to remove this warning. See 04:00:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:01 04:00:01 Login Succeeded 04:00:01 ****.io 04:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:03 Configure a credential helper to remove this warning. See 04:00:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:03 04:00:03 Login Succeeded 04:00:03 ---> ****-login.sh ends [Pipeline] } 04:00:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:00:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:00:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:00:04 ========================================================= 04:00:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:00:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:00:04 Sending build context to Docker daemon 34.19MB 04:00:04 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:00:04 Step 2/13 : FROM ${BASE} AS builder 04:00:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:00:05 7264a8db6415: Pulling fs layer 04:00:05 c4d48a809fc2: Pulling fs layer 04:00:05 4f1c88b9dad5: Pulling fs layer 04:00:05 ad3a456e5733: Pulling fs layer 04:00:05 69c7f0334f64: Pulling fs layer 04:00:05 1f1c1a5573a3: Pulling fs layer 04:00:05 ce7588e14bc9: Pulling fs layer 04:00:05 b5e4710f87ac: Pulling fs layer 04:00:05 1f1c1a5573a3: Waiting 04:00:05 ce7588e14bc9: Waiting 04:00:05 b5e4710f87ac: Waiting 04:00:05 ad3a456e5733: Waiting 04:00:05 69c7f0334f64: Waiting 04:00:05 c4d48a809fc2: Download complete 04:00:05 ad3a456e5733: Verifying Checksum 04:00:05 ad3a456e5733: Download complete 04:00:05 69c7f0334f64: Download complete 04:00:05 7264a8db6415: Verifying Checksum 04:00:05 7264a8db6415: Download complete 04:00:05 1f1c1a5573a3: Download complete 04:00:05 b5e4710f87ac: Verifying Checksum 04:00:05 b5e4710f87ac: Download complete 04:00:05 7264a8db6415: Pull complete 04:00:05 c4d48a809fc2: Pull complete 04:00:05 4f1c88b9dad5: Verifying Checksum 04:00:05 4f1c88b9dad5: Download complete 04:00:05 ce7588e14bc9: Verifying Checksum 04:00:05 ce7588e14bc9: Download complete 04:00:09 4f1c88b9dad5: Pull complete 04:00:09 ad3a456e5733: Pull complete 04:00:09 69c7f0334f64: Pull complete 04:00:09 1f1c1a5573a3: Pull complete 04:00:11 ce7588e14bc9: Pull complete 04:00:11 b5e4710f87ac: Pull complete 04:00:11 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:00:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:00:11 ---> 88b5674ff536 04:00:11 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:00:15 Still waiting to schedule task 04:00:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:00:19 ---> Running in 9844b8fec004 04:00:19 Removing intermediate container 9844b8fec004 04:00:19 ---> c6d445849167 04:00:19 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:00:19 ---> Running in cf65bc5be139 04:00:19 Removing intermediate container cf65bc5be139 04:00:19 ---> d47c44191b5d 04:00:19 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:00:19 ---> Running in c4a7e6cf4b52 04:00:19 Removing intermediate container c4a7e6cf4b52 04:00:19 ---> 4c9d27e1cd59 04:00:19 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:00:19 ---> Running in cf27a0868afb 04:00:19 Removing intermediate container cf27a0868afb 04:00:19 ---> 52c5ae77959a 04:00:19 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:00:19 ---> Running in 14cbac450bac 04:00:19 Removing intermediate container 14cbac450bac 04:00:19 ---> 30ab156b8203 04:00:19 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:00:19 ---> Running in 921a80f59446 04:00:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:00:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:00:19 OK: 264 MiB in 52 packages 04:00:20 Removing intermediate container 921a80f59446 04:00:20 ---> be9528e7fa25 04:00:20 Step 9/13 : WORKDIR /device-onvif-camera 04:00:20 ---> Running in 1dbcfc3de12d 04:00:20 Removing intermediate container 1dbcfc3de12d 04:00:20 ---> 77f9c58c9d17 04:00:20 Step 10/13 : COPY go.mod vendor* ./ 04:00:20 ---> a326752423dd 04:00:20 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:00:20 ---> Running in ff9de6fc1935 04:01:27 Removing intermediate container ff9de6fc1935 04:01:27 ---> 76745ae2ae8f 04:01:27 Step 12/13 : COPY . . 04:01:27 ---> 86549803f90b 04:01:27 Step 13/13 : RUN ${MAKE} 04:01:27 ---> Running in bbbc82be6add 04:01:27 noop 04:01:27 Removing intermediate container bbbc82be6add 04:01:27 ---> caa02e66ae6b 04:01:27 Successfully built caa02e66ae6b 04:01:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:28 + docker inspect -f . ci-base-image-x86_64 04:01:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:28 prd-ubuntu20.04-docker-8c-8g-24633 does not seem to be running inside a container 04:01:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-418 -v /w/workspace/undry_device-onvif-camera_PR-418:/w/workspace/undry_device-onvif-camera_PR-418:rw,z -v /w/workspace/undry_device-onvif-camera_PR-418@tmp:/w/workspace/undry_device-onvif-camera_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:01:28 $ docker top d9073ef02d187235519d8413f6865b191d3ccb021366076fcbd595bb9d9252b2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:01:29 + go version 04:01:29 go version go1.21.0 linux/amd64 [Pipeline] } 04:01:29 $ docker stop --time=1 d9073ef02d187235519d8413f6865b191d3ccb021366076fcbd595bb9d9252b2 04:01:30 $ docker rm -f --volumes d9073ef02d187235519d8413f6865b191d3ccb021366076fcbd595bb9d9252b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:31 + docker inspect -f . ci-base-image-x86_64 04:01:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:31 prd-ubuntu20.04-docker-8c-8g-24633 does not seem to be running inside a container 04:01:31 $ 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-418 -v /w/workspace/undry_device-onvif-camera_PR-418:/w/workspace/undry_device-onvif-camera_PR-418:rw,z -v /w/workspace/undry_device-onvif-camera_PR-418@tmp:/w/workspace/undry_device-onvif-camera_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:01:32 $ docker top fb14bbc30695c1fe4dc196e8871a03b445d8bdb6392a9b8890f223eb9d331bc1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:01:32 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-418 [Pipeline] fileExists [Pipeline] sh 04:01:32 + make test 04:01:32 go test ./... -coverprofile=coverage.out ./... 04:01:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:01:44 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:01:44 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:01:46 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 31.5% of statements 04:01:46 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.065s coverage: 86.5% of statements 04:01:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24634 in /w/workspace/undry_device-onvif-camera_PR-418 [Pipeline] { [Pipeline] ws 04:01:51 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:01:53 go vet ./... 04:01:54 The recommended git tool is: git 04:01:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:01:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:01:56 ./bin/test-attribution-txt.sh [Pipeline] echo 04:01:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:01:56 $ docker stop --time=1 fb14bbc30695c1fe4dc196e8871a03b445d8bdb6392a9b8890f223eb9d331bc1 04:02:00 $ docker rm -f --volumes fb14bbc30695c1fe4dc196e8871a03b445d8bdb6392a9b8890f223eb9d331bc1 [Pipeline] // withDockerContainer [Pipeline] sh 04:02:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:02:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:02:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:02:02 + ls -al . 04:02:02 total 240 04:02:02 drwxrwxr-x 9 jenkins jenkins 4096 Dec 7 04:01 . 04:02:02 drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 03:59 .. 04:02:02 drwxrwxr-x 8 jenkins jenkins 4096 Dec 7 04:01 .git 04:02:02 drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 03:59 .github 04:02:02 -rw-rw-r-- 1 jenkins jenkins 493 Dec 7 03:59 .gitignore 04:02:02 -rw-rw-r-- 1 jenkins jenkins 42 Dec 7 03:59 .golangci.yml 04:02:02 drwxr-xr-x 3 jenkins jenkins 4096 Dec 7 03:59 .semver 04:02:02 -rw-rw-r-- 1 jenkins jenkins 11155 Dec 7 03:59 Attribution.txt 04:02:02 -rw-rw-r-- 1 jenkins jenkins 17665 Dec 7 03:59 CHANGELOG.md 04:02:02 -rw-rw-r-- 1 jenkins jenkins 1683 Dec 7 03:59 Dockerfile 04:02:02 -rw-rw-r-- 1 jenkins jenkins 677 Dec 7 03:59 GOVERNANCE.md 04:02:02 -rw-rw-r-- 1 jenkins jenkins 739 Dec 7 03:59 Jenkinsfile 04:02:02 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 7 03:59 LICENSE 04:02:02 -rw-rw-r-- 1 jenkins jenkins 2877 Dec 7 03:59 Makefile 04:02:02 -rw-rw-r-- 1 jenkins jenkins 625 Dec 7 03:59 OWNERS.md 04:02:02 -rw-rw-r-- 1 jenkins jenkins 2620 Dec 7 03:59 README.md 04:02:02 -rw-rw-r-- 1 jenkins jenkins 5 Dec 7 03:59 VERSION 04:02:02 drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 03:59 bin 04:02:02 drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 03:59 cmd 04:02:02 -rw-r--r-- 1 jenkins jenkins 78456 Dec 7 04:01 coverage.out 04:02:02 drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 03:59 doc 04:02:02 -rw-rw-r-- 1 jenkins jenkins 4082 Dec 7 03:59 go.mod 04:02:02 -rw-rw-r-- 1 jenkins jenkins 35678 Dec 7 03:59 go.sum 04:02:02 drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 03:59 internal 04:02:02 -rw-rw-r-- 1 jenkins jenkins 236 Dec 7 03:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:02 + 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=2e44e4a3827fa68798793d40e798b5607fffb595 --label arch=amd64 --label version=0.0.0 . 04:02:02 Sending build context to Docker daemon 34.27MB 04:02:02 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:02:02 Step 2/27 : FROM ${BASE} AS builder 04:02:02 ---> caa02e66ae6b 04:02:02 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:02:03 using credential edgex-jenkins-ssh 04:02:03 Cloning the remote Git repository 04:02:03 ---> Running in dfe49ad3ec0d 04:02:03 Removing intermediate container dfe49ad3ec0d 04:02:03 ---> 4e2d1dda410f 04:02:03 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:02:03 ---> Running in 34f81c594132 04:02:03 Removing intermediate container 34f81c594132 04:02:03 ---> ecd5d7c5d51b 04:02:03 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:02:03 ---> Running in f9119bbc9763 04:02:03 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:02:03 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:02:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:02:03 > git --version # timeout=10 04:02:03 > git --version # 'git version 2.25.1' 04:02:03 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:04 Removing intermediate container f9119bbc9763 04:02:04 ---> 72ff38d81f61 04:02:04 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:02:04 ---> Running in a1c2d1095f19 04:02:04 Removing intermediate container a1c2d1095f19 04:02:04 ---> 125987401bf4 04:02:04 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:02:04 ---> Running in f4fec469d978 04:02:04 Removing intermediate container f4fec469d978 04:02:04 ---> 04d715229868 04:02:04 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:02:04 ---> Running in cfe4bf61c823 04:02:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:02:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:02:04 OK: 264 MiB in 52 packages 04:02:05 Removing intermediate container cfe4bf61c823 04:02:05 ---> f450c5d3894d 04:02:05 Step 9/27 : WORKDIR /device-onvif-camera 04:02:05 ---> Running in 897d982c7877 04:02:05 Removing intermediate container 897d982c7877 04:02:05 ---> 9cd475e3c551 04:02:05 Step 10/27 : COPY go.mod vendor* ./ 04:02:05 ---> 5579c1fb4591 04:02:05 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:06 ---> Running in e52e54dd7e65 04:02:06 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:02:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:06 Removing intermediate container e52e54dd7e65 04:02:06 ---> 607b93ca3d4f 04:02:06 Step 12/27 : COPY . . 04:02:07 ---> a6d09d1534e6 04:02:07 Step 13/27 : RUN ${MAKE} 04:02:07 ---> Running in 2a29abd4ce03 04:02:07 Merging remotes/origin/main commit 5c31a42961058bd23b8ccbd80479928550a3acc6 into PR head commit 2e44e4a3827fa68798793d40e798b5607fffb595 04:02:07 CGO_ENABLED=0 go build -tags "" -ldflags "-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.3" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:02:07 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:02:07 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:02:07 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/418/head:refs/remotes/origin/PR-418 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:02:07 > git config core.sparsecheckout # timeout=10 04:02:07 > git checkout -f 2e44e4a3827fa68798793d40e798b5607fffb595 # timeout=10 04:02:07 Merge succeeded, producing 2e44e4a3827fa68798793d40e798b5607fffb595 04:02:07 Checking out Revision 2e44e4a3827fa68798793d40e798b5607fffb595 (PR-418) 04:02:08 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 04:02:08 > git --version # timeout=10 04:02:08 > git --version # 'git version 2.25.1' 04:02:08 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 04:02:07 > git remote # timeout=10 04:02:07 > git config --get remote.origin.url # timeout=10 04:02:07 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:07 > git merge 5c31a42961058bd23b8ccbd80479928550a3acc6 # timeout=10 04:02:07 > git rev-parse HEAD^{commit} # timeout=10 04:02:07 > git config core.sparsecheckout # timeout=10 04:02:07 > git checkout -f 2e44e4a3827fa68798793d40e798b5607fffb595 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 04:02:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:02:09 % Total % Received % Xferd Average Speed Time Time Time Current 04:02:09 Dload Upload Total Spent Left Speed 04:02:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 82888 0 --:--:-- --:--:-- --:--:-- 83434 [Pipeline] sh 04:02:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:02:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 04:02:10 sudo tee /etc/docker/daemon.new 04:02:10 { 04:02:10 "registry-mirrors": [ 04:02:10 "https://nexus3.edgexfoundry.org:10001" 04:02:10 ], 04:02:10 "bip": "10.250.0.254/24", 04:02:10 "hosts": [ 04:02:10 "tcp://0.0.0.0:5555", 04:02:10 "unix:///var/run/docker.sock" 04:02:10 ], 04:02:10 "mtu": 1458, 04:02:10 "selinux-enabled": true, 04:02:10 "seccomp-profile": "/etc/docker/seccomp.json" 04:02:10 } [Pipeline] sh 04:02:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:02:11 + sudo service docker restart 04:02:29 Removing intermediate container 2a29abd4ce03 04:02:29 ---> bed58a893562 04:02:29 Step 14/27 : FROM alpine:3.18 04:02:29 3.18: Pulling from library/alpine 04:02:29 c926b61bad3b: Pulling fs layer 04:02:29 c926b61bad3b: Verifying Checksum 04:02:29 c926b61bad3b: Download complete 04:02:29 c926b61bad3b: Pull complete 04:02:29 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:02:29 Status: Downloaded newer image for alpine:3.18 04:02:29 ---> b541f2080109 04:02:29 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:02:29 ---> Running in a2df89d93f03 04:02:29 Removing intermediate container a2df89d93f03 04:02:29 ---> 3143a1018b53 04:02:29 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:02:29 ---> Running in ec0fd985a3cd 04:02:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:02:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:02:30 (1/1) Installing dumb-init (1.2.5-r2) 04:02:30 Executing busybox-1.36.1-r5.trigger 04:02:30 OK: 7 MiB in 16 packages 04:02:30 Removing intermediate container ec0fd985a3cd 04:02:30 ---> ea8541faf46c 04:02:30 Step 17/27 : RUN apk --no-cache upgrade 04:02:30 ---> Running in 011f4c2609cc 04:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:02:30 OK: 7 MiB in 16 packages 04:02:31 Removing intermediate container 011f4c2609cc 04:02:31 ---> cb874c48edbd 04:02:31 Step 18/27 : WORKDIR / 04:02:31 ---> Running in c4c558fb23a2 04:02:31 Removing intermediate container c4c558fb23a2 04:02:31 ---> 0ef17ebe0ee3 04:02:31 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:02:32 ---> 81a2a0451e46 04:02:32 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:02:32 ---> 9c40a2df33d1 04:02:32 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:02:32 ---> 14cad0bfe4cf 04:02:32 Step 22/27 : EXPOSE 59984 04:02:33 ---> Running in 8aa01df371b9 04:02:33 Removing intermediate container 8aa01df371b9 04:02:33 ---> 200379b60291 04:02:33 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:02:33 ---> Running in c5e961efc5ba 04:02:33 Removing intermediate container c5e961efc5ba 04:02:33 ---> 0d1c3e0f7393 04:02:33 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:02:33 ---> Running in 9d985c01c7f8 04:02:33 Removing intermediate container 9d985c01c7f8 04:02:33 ---> 3f98cf49687a 04:02:33 Step 25/27 : LABEL arch=amd64 04:02:33 ---> Running in de8190518b2f 04:02:33 Removing intermediate container de8190518b2f 04:02:33 ---> 0cb5540efb35 04:02:33 Step 26/27 : LABEL git_sha=2e44e4a3827fa68798793d40e798b5607fffb595 04:02:33 ---> Running in d9b485c8fafc 04:02:33 Removing intermediate container d9b485c8fafc 04:02:33 ---> 7ce326b4beb8 04:02:33 Step 27/27 : LABEL version=0.0.0 04:02:33 ---> Running in 5dcd24b882fc [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:02:33 provisioning config files... 04:02:33 Removing intermediate container 5dcd24b882fc 04:02:33 ---> ef56b9ed82ff 04:02:33 [Warning] One or more build-args [ARCH] were not consumed 04:02:33 Successfully built ef56b9ed82ff 04:02:33 Successfully tagged device-onvif-camera:latest 04:02:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config16237725803221867366tmp [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 04:02:34 ---> ****-login.sh 04:02:34 nexus3.edgexfoundry.org:10001 [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 04:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 04:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:02:34 Configure a credential helper to remove this warning. See 04:02:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:02:34 04:02:34 Login Succeeded 04:02:34 nexus3.edgexfoundry.org:10002 04:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:02:34 Configure a credential helper to remove this warning. See 04:02:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:02:34 04:02:34 Login Succeeded 04:02:34 nexus3.edgexfoundry.org:10003 04:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:02:35 Configure a credential helper to remove this warning. See 04:02:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:02:35 04:02:35 Login Succeeded 04:02:35 nexus3.edgexfoundry.org:10004 04:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:02:35 04:02:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:02:35 Configure a credential helper to remove this warning. See 04:02:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:02:35 04:02:35 Login Succeeded 04:02:35 ****.io 04:02:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:02:35 latest: Pulling from edgex-lftools-log-publisher 04:02:35 5eb5b503b376: Pulling fs layer 04:02:35 5c69ac0246d0: Pulling fs layer 04:02:35 ec43610c2a17: Pulling fs layer 04:02:35 3a2ae6a8a46f: Pulling fs layer 04:02:35 33b1e0a273af: Pulling fs layer 04:02:35 5d3b04190fa2: Pulling fs layer 04:02:35 2f39f015ded8: Pulling fs layer 04:02:35 33b1e0a273af: Waiting 04:02:35 5d3b04190fa2: Waiting 04:02:35 2f39f015ded8: Waiting 04:02:35 3a2ae6a8a46f: Waiting 04:02:35 5c69ac0246d0: Download complete 04:02:35 3a2ae6a8a46f: Verifying Checksum 04:02:35 3a2ae6a8a46f: Download complete 04:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:02:35 Configure a credential helper to remove this warning. See 04:02:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:02:35 04:02:35 Login Succeeded 04:02:35 ---> ****-login.sh ends 04:02:35 33b1e0a273af: Verifying Checksum 04:02:35 33b1e0a273af: Download complete 04:02:35 5d3b04190fa2: Verifying Checksum 04:02:35 5d3b04190fa2: Download complete 04:02:35 ec43610c2a17: Verifying Checksum 04:02:35 ec43610c2a17: Download complete 04:02:35 5eb5b503b376: Verifying Checksum 04:02:35 5eb5b503b376: Download complete [Pipeline] } 04:02:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:02:36 2f39f015ded8: Download complete [Pipeline] echo 04:02:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:02:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:02:36 ========================================================= 04:02:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:02:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 04:02:37 5eb5b503b376: Pull complete [Pipeline] sh 04:02:37 5c69ac0246d0: Pull complete 04:02:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:02:37 ec43610c2a17: Pull complete 04:02:37 3a2ae6a8a46f: Pull complete 04:02:37 33b1e0a273af: Pull complete 04:02:38 5d3b04190fa2: Pull complete 04:02:38 #0 building with "default" instance using docker driver 04:02:38 04:02:38 #1 [internal] load build definition from Dockerfile 04:02:38 #1 DONE 0.0s 04:02:38 04:02:38 #2 [internal] load .dockerignore 04:02:38 #2 transferring context: 2B done 04:02:38 #2 DONE 0.1s 04:02:38 04:02:38 #1 [internal] load build definition from Dockerfile 04:02:38 #1 transferring dockerfile: 1.72kB 0.0s done 04:02:38 #1 DONE 0.1s 04:02:38 04:02:38 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:02:38 #3 DONE 0.1s 04:02:38 04:02:38 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:02:38 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 04:02:38 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 04:02:38 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 04:02:38 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 2.10MB / 63.99MB 0.1s 04:02:38 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 04:02:38 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.10MB / 3.33MB 0.2s 04:02:38 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.76MB / 63.99MB 0.3s 04:02:38 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 04:02:38 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 04:02:38 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 04:02:38 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 04:02:38 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 04:02:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.4s 04:02:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.4s 04:02:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.26MB / 63.99MB 0.5s 04:02:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 6.91MB / 97.63MB 0.5s 04:02:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.19MB / 11.40MB 0.5s 04:02:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.26MB / 63.99MB 0.7s 04:02:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 12.58MB / 97.63MB 0.7s 04:02:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s 04:02:39 #4 ... 04:02:39 04:02:39 #5 [internal] load build context 04:02:39 #5 transferring context: 20.32MB 0.7s done 04:02:39 #5 DONE 0.8s 04:02:39 04:02:39 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:02:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 32.51MB / 63.99MB 0.8s 04:02:39 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.6s done 04:02:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 04:02:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.84MB / 63.99MB 0.9s 04:02:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 22.02MB / 97.63MB 0.9s 04:02:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.36MB / 63.99MB 1.1s 04:02:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 31.46MB / 97.63MB 1.1s 04:02:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 54.53MB / 63.99MB 1.2s 04:02:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.70MB / 97.63MB 1.2s 04:02:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 61.58MB / 63.99MB 1.3s 04:02:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 41.94MB / 97.63MB 1.3s 04:02:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.23MB / 97.63MB 1.4s 04:02:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.77MB / 97.63MB 1.6s 04:02:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.01MB / 97.63MB 1.7s 04:02:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 76.55MB / 97.63MB 1.9s 04:02:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.84MB / 97.63MB 2.0s 04:02:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 94.37MB / 97.63MB 2.2s 04:02:42 2f39f015ded8: Pull complete 04:02:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:02:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:42 prd-ubuntu20.04-docker-8c-8g-24633 does not seem to be running inside a container 04:02:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-418 -v /w/workspace/undry_device-onvif-camera_PR-418:/w/workspace/undry_device-onvif-camera_PR-418:rw,z -v /w/workspace/undry_device-onvif-camera_PR-418@tmp:/w/workspace/undry_device-onvif-camera_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:02:43 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 4.5s done 04:02:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 4.6s done 04:02:43 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 04:02:43 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 04:02:43 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 04:02:47 $ docker top 296cb4fbe659ea2e9b012ea9a020aedb71d689c62ab401cee012bf2d93d48d85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:48 ---> job-cost.sh 04:02:48 lf-activate-venv: SKIPPING 04:02:48 INFO: No Stack... 04:02:48 INFO: Retrieving Pricing Info for: v3-standard-8 04:02:48 INFO: Archiving Costs [Pipeline] sh 04:02:48 + cat /w/workspace/undry_device-onvif-camera_PR-418/archives/cost.csv 04:02:48 + cut -d, -f6 [Pipeline] lock 04:02:48 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-418-1-stack-cost] 04:02:48 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-418-1-stack-cost] did not exist. Created. 04:02:48 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-418-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:02:49 + echo total: 0.2199999988079071 [Pipeline] stash 04:02:49 Stashed 1 file(s) [Pipeline] } 04:02:49 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-418-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:02:49 $ docker stop --time=1 296cb4fbe659ea2e9b012ea9a020aedb71d689c62ab401cee012bf2d93d48d85 04:02:50 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.7s 04:02:50 $ docker rm -f --volumes 296cb4fbe659ea2e9b012ea9a020aedb71d689c62ab401cee012bf2d93d48d85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:02:55 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.1s 04:03:00 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.2s done 04:03:02 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 04:03:02 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 04:03:02 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 04:03:02 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 04:03:08 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 04:03:11 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.6s done 04:03:11 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 04:03:13 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 04:03:13 #4 DONE 35.2s 04:03:13 04:03:13 #6 [builder 2/7] RUN apk add --no-cache make git 04:03:14 #6 0.676 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:03:15 #6 1.055 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:03:16 #6 2.034 OK: 266 MiB in 52 packages 04:03:17 #6 DONE 3.8s 04:03:17 04:03:17 #7 [builder 3/7] WORKDIR /device-onvif-camera 04:03:17 #7 DONE 0.1s 04:03:17 04:03:17 #8 [builder 4/7] COPY go.mod vendor* ./ 04:03:17 #8 DONE 0.1s 04:03:17 04:03:17 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:03:44 #9 DONE 22.6s 04:03:44 04:03:44 #10 [builder 6/7] COPY . . 04:03:44 #10 DONE 0.4s 04:03:44 04:03:44 #11 [builder 7/7] RUN echo noop 04:03:44 #11 0.592 noop 04:03:44 #11 DONE 0.7s 04:03:44 04:03:44 #12 exporting to image 04:03:44 #12 exporting layers 04:04:06 #12 exporting layers 23.4s done 04:04:06 #12 writing image sha256:0156aed63ad2ccb04017a9b5885c8641b778e30f0a25c622ab651874e7517789 done 04:04:06 #12 naming to docker.io/library/ci-base-image-arm64 done 04:04:06 #12 DONE 23.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:07 + docker inspect -f . ci-base-image-arm64 04:04:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:07 prd-ubuntu20.04-docker-arm64-4c-16g-24634 does not seem to be running inside a container 04:04:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:04:08 $ docker top 3cff4480b78a2da8bc6bb32189af1933946d0f53589e3f0538d3fda76d681b22 -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:09 + go version 04:04:09 go version go1.21.0 linux/arm64 [Pipeline] } 04:04:09 $ docker stop --time=1 3cff4480b78a2da8bc6bb32189af1933946d0f53589e3f0538d3fda76d681b22 04:04:11 $ docker rm -f --volumes 3cff4480b78a2da8bc6bb32189af1933946d0f53589e3f0538d3fda76d681b22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:12 + docker inspect -f . ci-base-image-arm64 04:04:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:13 prd-ubuntu20.04-docker-arm64-4c-16g-24634 does not seem to be running inside a container 04:04:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:04:14 $ docker top 7e56c5bb7d0b2068b4587b926c81efe65248ea53a18870874dbc0007bc078939 -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:14 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:04:15 + make test 04:04:15 go test ./... -coverprofile=coverage.out ./... 04:04:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:05:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:05:17 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:05:20 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.197s coverage: 31.5% of statements 04:05:38 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.577s coverage: 86.5% of statements 04:05:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:05:39 go vet ./... 04:05:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:05:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:05:54 ./bin/test-attribution-txt.sh [Pipeline] echo 04:05:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:05:55 $ docker stop --time=1 7e56c5bb7d0b2068b4587b926c81efe65248ea53a18870874dbc0007bc078939 04:05:56 $ docker rm -f --volumes 7e56c5bb7d0b2068b4587b926c81efe65248ea53a18870874dbc0007bc078939 [Pipeline] // withDockerContainer [Pipeline] sh 04:05:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:05:58 Warning: overwriting stash ‘coverage-report’ 04:05:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:05:59 + ls -al . 04:05:59 total 236 04:05:59 drwxrwxr-x 8 jenkins jenkins 4096 Dec 7 04:04 . 04:05:59 drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 04:02 .. 04:05:59 drwxrwxr-x 8 jenkins jenkins 4096 Dec 7 04:02 .git 04:05:59 drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 04:02 .github 04:05:59 -rw-rw-r-- 1 jenkins jenkins 493 Dec 7 04:02 .gitignore 04:05:59 -rw-rw-r-- 1 jenkins jenkins 42 Dec 7 04:02 .golangci.yml 04:05:59 -rw-rw-r-- 1 jenkins jenkins 11155 Dec 7 04:02 Attribution.txt 04:05:59 -rw-rw-r-- 1 jenkins jenkins 17665 Dec 7 04:02 CHANGELOG.md 04:05:59 -rw-rw-r-- 1 jenkins jenkins 1683 Dec 7 04:02 Dockerfile 04:05:59 -rw-rw-r-- 1 jenkins jenkins 677 Dec 7 04:02 GOVERNANCE.md 04:05:59 -rw-rw-r-- 1 jenkins jenkins 739 Dec 7 04:02 Jenkinsfile 04:05:59 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 7 04:02 LICENSE 04:05:59 -rw-rw-r-- 1 jenkins jenkins 2877 Dec 7 04:02 Makefile 04:05:59 -rw-rw-r-- 1 jenkins jenkins 625 Dec 7 04:02 OWNERS.md 04:05:59 -rw-rw-r-- 1 jenkins jenkins 2620 Dec 7 04:02 README.md 04:05:59 -rw-rw-r-- 1 jenkins jenkins 5 Dec 7 03:59 VERSION 04:05:59 drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 04:02 bin 04:05:59 drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 04:02 cmd 04:05:59 -rw-r--r-- 1 jenkins jenkins 78456 Dec 7 04:05 coverage.out 04:05:59 drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 04:02 doc 04:05:59 -rw-rw-r-- 1 jenkins jenkins 4082 Dec 7 04:02 go.mod 04:05:59 -rw-rw-r-- 1 jenkins jenkins 35678 Dec 7 04:02 go.sum 04:05:59 drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 04:02 internal 04:05:59 -rw-rw-r-- 1 jenkins jenkins 236 Dec 7 04:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:00 + 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=2e44e4a3827fa68798793d40e798b5607fffb595 --label arch=arm64 --label version=0.0.0 . 04:06:01 #0 building with "default" instance using docker driver 04:06:01 04:06:01 #1 [internal] load build definition from Dockerfile 04:06:01 #1 transferring dockerfile: 1.72kB done 04:06:01 #1 DONE 0.0s 04:06:01 04:06:01 #2 [internal] load .dockerignore 04:06:01 #2 transferring context: 2B done 04:06:01 #2 DONE 0.0s 04:06:01 04:06:01 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 04:06:01 #3 DONE 0.0s 04:06:01 04:06:01 #4 [internal] load metadata for docker.io/library/alpine:3.18 04:06:01 #4 DONE 0.2s 04:06:01 04:06:01 #5 [internal] load build context 04:06:01 #5 transferring context: 88.37kB 0.1s done 04:06:01 #5 DONE 0.1s 04:06:01 04:06:01 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:06:01 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 04:06:01 #6 ... 04:06:01 04:06:01 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 04:06:01 #7 DONE 0.2s 04:06:01 04:06:01 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:06:01 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 04:06:01 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 04:06:01 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 04:06:01 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 04:06:01 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 04:06:01 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 04:06:01 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 04:06:02 #6 DONE 0.9s 04:06:02 04:06:02 #8 [builder 2/7] RUN apk add --no-cache make git 04:06:02 #8 0.723 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:06:02 #8 1.176 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:06:04 #8 2.313 OK: 266 MiB in 52 packages 04:06:08 #8 DONE 6.4s 04:06:08 04:06:08 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 04:06:08 #9 0.691 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:06:08 #9 1.007 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:06:08 #9 2.037 (1/1) Installing dumb-init (1.2.5-r2) 04:06:08 #9 2.051 Executing busybox-1.36.1-r5.trigger 04:06:08 #9 2.077 OK: 8 MiB in 16 packages 04:06:08 #9 DONE 5.7s 04:06:08 04:06:08 #10 [stage-1 3/7] RUN apk --no-cache upgrade 04:06:08 #10 ... 04:06:08 04:06:08 #11 [builder 3/7] WORKDIR /device-onvif-camera 04:06:08 #11 DONE 0.1s 04:06:08 04:06:08 #12 [builder 4/7] COPY go.mod vendor* ./ 04:06:08 #12 DONE 0.2s 04:06:08 04:06:08 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:10 #13 DONE 2.0s 04:06:10 04:06:10 #14 [builder 6/7] COPY . . 04:06:10 #14 DONE 0.5s 04:06:10 04:06:10 #10 [stage-1 3/7] RUN apk --no-cache upgrade 04:06:10 #10 1.197 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:06:10 #10 1.529 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:06:10 #10 2.624 OK: 8 MiB in 16 packages 04:06:10 #10 DONE 2.9s 04:06:10 04:06:10 #15 [builder 7/7] RUN make build 04:06:11 #15 0.751 CGO_ENABLED=0 go build -tags "" -ldflags "-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.3" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:07:33 #15 DONE 78.0s 04:07:33 04:07:33 #16 [stage-1 4/7] COPY --from=builder /device-onvif-camera/cmd / 04:07:33 #16 DONE 0.4s 04:07:33 04:07:33 #17 [stage-1 5/7] COPY --from=builder /device-onvif-camera/LICENSE / 04:07:33 #17 DONE 0.1s 04:07:33 04:07:33 #18 [stage-1 6/7] COPY --from=builder /device-onvif-camera/Attribution.txt / 04:07:33 #18 DONE 0.1s 04:07:33 04:07:33 #19 exporting to image 04:07:33 #19 exporting layers 04:07:33 #19 exporting layers 0.3s done 04:07:33 #19 writing image sha256:75d6bbfe58b3abd4fc62c4ab485aec17018652e2ca1bb3950bd091cbcd212ce1 done 04:07:33 #19 naming to docker.io/library/device-onvif-camera-arm64 done 04:07:33 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:07:34 04:07:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:07:35 arm64: Pulling from edgex-lftools-log-publisher 04:07:35 8998bd30e6a1: Pulling fs layer 04:07:35 04944245beec: Pulling fs layer 04:07:35 699f458cf7ca: Pulling fs layer 04:07:35 765212b225bb: Pulling fs layer 04:07:35 f23df028b6ca: Pulling fs layer 04:07:35 d65c8cfc05b1: Pulling fs layer 04:07:35 2437ff75d9bd: Pulling fs layer 04:07:35 765212b225bb: Waiting 04:07:35 f23df028b6ca: Waiting 04:07:35 d65c8cfc05b1: Waiting 04:07:35 2437ff75d9bd: Waiting 04:07:35 04944245beec: Verifying Checksum 04:07:35 04944245beec: Download complete 04:07:35 765212b225bb: Download complete 04:07:35 f23df028b6ca: Verifying Checksum 04:07:35 f23df028b6ca: Download complete 04:07:35 d65c8cfc05b1: Verifying Checksum 04:07:35 d65c8cfc05b1: Download complete 04:07:35 699f458cf7ca: Verifying Checksum 04:07:35 699f458cf7ca: Download complete 04:07:35 8998bd30e6a1: Verifying Checksum 04:07:35 8998bd30e6a1: Download complete 04:07:37 2437ff75d9bd: Verifying Checksum 04:07:37 2437ff75d9bd: Download complete 04:07:42 8998bd30e6a1: Pull complete 04:07:42 04944245beec: Pull complete 04:07:44 699f458cf7ca: Pull complete 04:07:44 765212b225bb: Pull complete 04:07:45 f23df028b6ca: Pull complete 04:07:45 d65c8cfc05b1: Pull complete 04:08:12 2437ff75d9bd: Pull complete 04:08:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:08:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:08:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:12 prd-ubuntu20.04-docker-arm64-4c-16g-24634 does not seem to be running inside a container 04:08:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:08:14 $ docker top c12be0049e8bbbc318ef82c0f3f4409fca30c986a68047aeb1de0cee5b2baf7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:15 ---> job-cost.sh 04:08:15 lf-activate-venv: SKIPPING 04:08:15 INFO: No Stack... 04:08:16 INFO: Retrieving Pricing Info for: v3-standard-8 04:08:16 INFO: Archiving Costs [Pipeline] sh 04:08:17 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 04:08:17 + cut -d, -f6 [Pipeline] lock 04:08:17 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-418-1-stack-cost] 04:08:17 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-418-1-stack-cost] did not exist. Created. 04:08:17 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-418-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:08:17 /w/workspace/device-onvif-camera/1@tmp/durable-396a1402/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:08:18 + echo total: 0.2199999988079071 [Pipeline] stash 04:08:18 Warning: overwriting stash ‘stack-cost’ 04:08:18 Stashed 1 file(s) [Pipeline] } 04:08:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-418-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:08:18 $ docker stop --time=1 c12be0049e8bbbc318ef82c0f3f4409fca30c986a68047aeb1de0cee5b2baf7e 04:08:20 $ docker rm -f --volumes c12be0049e8bbbc318ef82c0f3f4409fca30c986a68047aeb1de0cee5b2baf7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:08:22 provisioning config files... 04:08:22 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-418@tmp/config5813388570733255498tmp [Pipeline] { [Pipeline] sh 04:08:22 + set +x 04:08:22 + curl -s https://codecov.io/bash 04:08:22 + bash -s -- 04:08:22 04:08:22 _____ _ 04:08:22 / ____| | | 04:08:22 | | ___ __| | ___ ___ _____ __ 04:08:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:08:22 | |___| (_) | (_| | __/ (_| (_) \ V / 04:08:22 \_____\___/ \__,_|\___|\___\___/ \_/ 04:08:22 Bash-1.0.6 04:08:22 04:08:22 04:08:22 ==> git version 2.25.1 found 04:08:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:08:22 Release-Date: 2020-01-08 04:08:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:08:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:08:22 ==> Jenkins CI detected. 04:08:22 current dir:  /w/workspace/undry_device-onvif-camera_PR-418 04:08:22 project root: . 04:08:22 --> token set from env 04:08:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:08:22 ==> Running gcov in . (disable via -X gcov) 04:08:22 ==> Python coveragepy not found 04:08:22 ==> Searching for coverage reports in: 04:08:22 + . 04:08:22 -> Found 1 reports 04:08:22 ==> Detecting git/mercurial file structure 04:08:22 ==> Reading reports 04:08:22 + ./coverage.out bytes=78456 04:08:22 ==> Appending adjustments 04:08:22 https://docs.codecov.io/docs/fixing-reports 04:08:22 + Found adjustments 04:08:22 ==> Gzipping contents 04:08:22 12K /tmp/codecov.d7CMhl.gz 04:08:22 ==> Uploading reports 04:08:22 url: https://codecov.io 04:08:22 query: branch=PR-418&commit=2e44e4a3827fa68798793d40e798b5607fffb595&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-418%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=418&job=&cmd_args= 04:08:22 -> Pinging Codecov 04:08:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-418&commit=2e44e4a3827fa68798793d40e798b5607fffb595&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-418%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=418&job=&cmd_args= 04:08:23 -> Uploading to 04:08:23 https://storage.googleapis.com/codecov/v4/raw/2023-12-07/F29A59C45E3A92E06B3E522C9905F8EF/2e44e4a3827fa68798793d40e798b5607fffb595/0aa91b9d-2c02-426a-a916-9986e47373bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231207T040823Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=089c24b98e03502c9d1d84ac223a4edb41d9fa20b991903de8ce745d34f8c73e 04:08:23 % Total % Received % Xferd Average Speed Time Time Time Current 04:08:23 Dload Upload Total Spent Left Speed 04:08:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 44732 --:--:-- --:--:-- --:--:-- 44732 04:08:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/2e44e4a3827fa68798793d40e798b5607fffb595 [Pipeline] } 04:08:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:08:26 + [ -d /w/workspace/undry_device-onvif-camera_PR-418/archives ] 04:08:26 + ls -al /w/workspace/undry_device-onvif-camera_PR-418/archives 04:08:26 total 16 04:08:26 drwxr-xr-x 3 root root 4096 Dec 7 04:02 . 04:08:26 drwxrwxr-x 10 jenkins jenkins 4096 Dec 7 04:02 .. 04:08:26 drwxr-xr-x 2 root root 4096 Dec 7 04:02 cost 04:08:26 -rw-r--r-- 1 root root 91 Dec 7 04:02 cost.csv 04:08:26 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-418/archives 04:08:26 + ls -al /w/workspace/undry_device-onvif-camera_PR-418/archives 04:08:26 total 16 04:08:26 drwxr-xr-x 3 jenkins jenkins 4096 Dec 7 04:02 . 04:08:26 drwxrwxr-x 10 jenkins jenkins 4096 Dec 7 04:02 .. 04:08:26 drwxr-xr-x 2 jenkins jenkins 4096 Dec 7 04:02 cost 04:08:26 -rw-r--r-- 1 jenkins jenkins 91 Dec 7 04:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:08:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:08:27 ---> package-listing.sh 04:08:27 ++ facter osfamily 04:08:27 ++ tr '[:upper:]' '[:lower:]' 04:08:28 + OS_FAMILY=debian 04:08:28 + workspace=/w/workspace/undry_device-onvif-camera_PR-418 04:08:28 + START_PACKAGES=/tmp/packages_start.txt 04:08:28 + END_PACKAGES=/tmp/packages_end.txt 04:08:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:08:28 + PACKAGES=/tmp/packages_start.txt 04:08:28 + '[' /w/workspace/undry_device-onvif-camera_PR-418 ']' 04:08:28 + PACKAGES=/tmp/packages_end.txt 04:08:28 + case "${OS_FAMILY}" in 04:08:28 + dpkg -l 04:08:28 + grep '^ii' 04:08:28 + '[' -f /tmp/packages_start.txt ']' 04:08:28 + '[' -f /tmp/packages_end.txt ']' 04:08:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:08:28 + '[' /w/workspace/undry_device-onvif-camera_PR-418 ']' 04:08:28 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-418/archives/ 04:08:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-418/archives/ [Pipeline] echo 04:08:28 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-418/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:08:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:29 prd-ubuntu20.04-docker-8c-8g-24633 does not seem to be running inside a container 04:08:29 $ 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-418/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-418 -v /w/workspace/undry_device-onvif-camera_PR-418:/w/workspace/undry_device-onvif-camera_PR-418:rw,z -v /w/workspace/undry_device-onvif-camera_PR-418@tmp:/w/workspace/undry_device-onvif-camera_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:08:29 $ docker top d92be3cf9877e6ab3154b2aa2818309942ccca48a1074bae0bdc3facdc261737 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:30 + touch /tmp/pre-build-complete [Pipeline] sh 04:08:30 + mkdir -p /var/log/sysstat [Pipeline] sh 04:08:30 + ls /var/log/sa-host 04:08:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:31 provisioning config files... 04:08:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-418@tmp/config5870230887788074453tmp [Pipeline] { [Pipeline] echo 04:08:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:08:31 ---> create-netrc.sh [Pipeline] } 04:08:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:08:32 ---> python-tools-install.sh [Pipeline] echo 04:08:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:08:32 ---> sudo-logs.sh 04:08:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:08:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:08:32 ---> job-cost.sh 04:08:32 lf-activate-venv: SKIPPING 04:08:32 DEBUG: total: 0.2199999988079071 04:08:32 INFO: Retrieving Stack Cost... 04:08:33 INFO: Retrieving Pricing Info for: v3-standard-8 04:08:33 INFO: Archiving Costs [Pipeline] echo 04:08:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:08:33 ---> logs-deploy.sh 04:08:33 lf-activate-venv: SKIPPING 04:08:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-418/1 04:08:33 INFO: archiving workspace using pattern(s): 04:08:34 Archives upload complete. 04:08:34 INFO: archiving logs to Nexus