Pull request #423 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8487e64a14669c407f294f7e2574842c343c6f2b+6e8cd5c7b327808cee3cdc8246778581b79512e2 (d8edf87f79065b08023f200e5567aa40cb7c1356) 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-ssh15872421373812818853.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-ssh5157477690540745441.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-423/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-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8867870256722223973.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-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3540611846655312610.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-ssh973929727545356472.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-423/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-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4752327276398074302.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-26547 in /w/workspace/undry_device-onvif-camera_PR-423 [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-423 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Merging remotes/origin/main commit 6e8cd5c7b327808cee3cdc8246778581b79512e2 into PR head commit 8487e64a14669c407f294f7e2574842c343c6f2b Merge succeeded, producing 8487e64a14669c407f294f7e2574842c343c6f2b Checking out Revision 8487e64a14669c407f294f7e2574842c343c6f2b (PR-423) 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 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/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8487e64a14669c407f294f7e2574842c343c6f2b # 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 6e8cd5c7b327808cee3cdc8246778581b79512e2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8487e64a14669c407f294f7e2574842c343c6f2b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:53:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:53:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:53:22 ========================================================= 03:53:22 EdgeX Global Pipelines Version Info 03:53:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:53:23 ------------------- 03:53:23 stable info: 03:53:23 ------------------- 03:53:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:53:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:53:23 Message: update stable to v1.0.258 03:53:23 ------------------- 03:53:23 experimental info: 03:53:23 ------------------- 03:53:23 Commited By: **** collab-it+edgex@linuxfoundation.org 03:53:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:53:23 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:53:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:53:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:53:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo 03:53:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo 03:53:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8487e64a14669c407f294f7e2574842c343c6f2b [Pipeline] echo 03:53:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8487e64 [Pipeline] echo 03:53:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:53:26 provisioning config files... 03:53:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-423@tmp/config5735773157504178039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:53:26 ---> ****-login.sh 03:53:26 nexus3.edgexfoundry.org:10001 03:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:27 Configure a credential helper to remove this warning. See 03:53:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:27 03:53:27 Login Succeeded 03:53:27 nexus3.edgexfoundry.org:10002 03:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:27 Configure a credential helper to remove this warning. See 03:53:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:27 03:53:27 Login Succeeded 03:53:27 nexus3.edgexfoundry.org:10003 03:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:27 Configure a credential helper to remove this warning. See 03:53:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:27 03:53:27 Login Succeeded 03:53:27 nexus3.edgexfoundry.org:10004 03:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:27 Configure a credential helper to remove this warning. See 03:53:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:27 03:53:27 Login Succeeded 03:53:27 ****.io 03:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:28 Configure a credential helper to remove this warning. See 03:53:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:28 03:53:28 Login Succeeded 03:53:28 ---> ****-login.sh ends [Pipeline] } 03:53:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:53:29 + git rev-list -1 --merges 8487e64a14669c407f294f7e2574842c343c6f2b~1..8487e64a14669c407f294f7e2574842c343c6f2b [Pipeline] echo 03:53:29 -----------> git rev-list -1 --merges 8487e64a14669c407f294f7e2574842c343c6f2b~1..8487e64a14669c407f294f7e2574842c343c6f2b 8487e64a14669c407f294f7e2574842c343c6f2b [false] [Pipeline] sh 03:53:29 + git log --format=format:%s -1 8487e64a14669c407f294f7e2574842c343c6f2b [Pipeline] echo 03:53:29 ========================================================= 03:53:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:53:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:53:29 + git log --format=format:%s -1 8487e64a14669c407f294f7e2574842c343c6f2b [Pipeline] echo 03:53:30 [semverPrep] GIT_COMMIT: 8487e64a14669c407f294f7e2574842c343c6f2b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:53:30 [semverPrep] This is not a build commit. [Pipeline] sh 03:53:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:53:30 + grep -v github /etc/ssh/ssh_known_hosts 03:53:30 + [ -e /tmp/ssh_known_hosts ] 03:53:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:53:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:53:30 + sudo tee -a /etc/ssh/ssh_known_hosts 03:53:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:31 03:53:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:31 0.1.4: Pulling from edgex-devops/py-git-semver 03:53:31 b85a868b505f: Pulling fs layer 03:53:31 e2be974225ed: Pulling fs layer 03:53:31 339a4e72a1f5: Pulling fs layer 03:53:31 988bab9f4d93: Pulling fs layer 03:53:31 1469e6f7b9e6: Pulling fs layer 03:53:31 eaf3925da568: Pulling fs layer 03:53:31 bab4dde63d76: Pulling fs layer 03:53:31 bde34c3a00c8: Pulling fs layer 03:53:31 b352a97aabf1: Pulling fs layer 03:53:31 4872d77fe225: Pulling fs layer 03:53:31 5851b861e8e6: Pulling fs layer 03:53:31 b352a97aabf1: Waiting 03:53:31 4872d77fe225: Waiting 03:53:31 988bab9f4d93: Waiting 03:53:31 5851b861e8e6: Waiting 03:53:31 bde34c3a00c8: Waiting 03:53:31 eaf3925da568: Waiting 03:53:31 1469e6f7b9e6: Waiting 03:53:31 bab4dde63d76: Waiting 03:53:31 e2be974225ed: Verifying Checksum 03:53:31 e2be974225ed: Download complete 03:53:31 988bab9f4d93: Verifying Checksum 03:53:31 1469e6f7b9e6: Verifying Checksum 03:53:31 1469e6f7b9e6: Download complete 03:53:31 eaf3925da568: Verifying Checksum 03:53:31 339a4e72a1f5: Verifying Checksum 03:53:31 339a4e72a1f5: Download complete 03:53:31 bde34c3a00c8: Download complete 03:53:31 b352a97aabf1: Download complete 03:53:31 4872d77fe225: Verifying Checksum 03:53:31 4872d77fe225: Download complete 03:53:31 5851b861e8e6: Verifying Checksum 03:53:31 5851b861e8e6: Download complete 03:53:31 b85a868b505f: Verifying Checksum 03:53:31 b85a868b505f: Download complete 03:53:31 bab4dde63d76: Verifying Checksum 03:53:31 bab4dde63d76: Download complete 03:53:32 b85a868b505f: Pull complete 03:53:33 e2be974225ed: Pull complete 03:53:33 339a4e72a1f5: Pull complete 03:53:33 988bab9f4d93: Pull complete 03:53:34 1469e6f7b9e6: Pull complete 03:53:34 eaf3925da568: Pull complete 03:53:36 bab4dde63d76: Pull complete 03:53:36 bde34c3a00c8: Pull complete 03:53:36 b352a97aabf1: Pull complete 03:53:36 4872d77fe225: Pull complete 03:53:36 5851b861e8e6: Pull complete 03:53:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:53:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:36 prd-ubuntu20.04-docker-8c-8g-26547 does not seem to be running inside a container 03:53:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-423 -v /w/workspace/undry_device-onvif-camera_PR-423:/w/workspace/undry_device-onvif-camera_PR-423:rw,z -v /w/workspace/undry_device-onvif-camera_PR-423@tmp:/w/workspace/undry_device-onvif-camera_PR-423@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:53:40 $ docker top a9c207570c417a63cb2e8325b3f37cbcbd8a3648cb6514863dff8d43e9c81f13 -eo pid,comm 03:53:40 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:53:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:53:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:53:40 [ssh-agent] Looking for ssh-agent implementation... 03:53:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:53:40 $ docker exec a9c207570c417a63cb2e8325b3f37cbcbd8a3648cb6514863dff8d43e9c81f13 ssh-agent 03:53:40 SSH_AUTH_SOCK=/tmp/ssh-kNzIce59QRXv/agent.32 03:53:40 SSH_AGENT_PID=38 03:53:40 Running ssh-add (command line suppressed) 03:53:40 Identity added: /w/workspace/undry_device-onvif-camera_PR-423@tmp/private_key_5920631142858474396.key (/w/workspace/undry_device-onvif-camera_PR-423@tmp/private_key_5920631142858474396.key) 03:53:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:53:41 + git tag --points-at HEAD [Pipeline] } 03:53:41 $ docker exec --env ******** --env ******** a9c207570c417a63cb2e8325b3f37cbcbd8a3648cb6514863dff8d43e9c81f13 ssh-agent -k 03:53:41 unset SSH_AUTH_SOCK; 03:53:41 unset SSH_AGENT_PID; 03:53:41 echo Agent pid 38 killed; 03:53:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:53:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:53:41 [ssh-agent] Looking for ssh-agent implementation... 03:53:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:53:41 $ docker exec a9c207570c417a63cb2e8325b3f37cbcbd8a3648cb6514863dff8d43e9c81f13 ssh-agent 03:53:41 SSH_AUTH_SOCK=/tmp/ssh-JcR19tlIzpOp/agent.70 03:53:41 SSH_AGENT_PID=77 03:53:41 Running ssh-add (command line suppressed) 03:53:41 Identity added: /w/workspace/undry_device-onvif-camera_PR-423@tmp/private_key_13332968580435316939.key (/w/workspace/undry_device-onvif-camera_PR-423@tmp/private_key_13332968580435316939.key) 03:53:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:53:42 + git semver init 03:53:42 2024-01-01 03:53:42,471 [run_init] DEBUG init version:0.0.0 force:False 03:53:42 2024-01-01 03:53:42,472 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-423/.semver 03:53:42 2024-01-01 03:53:42,473 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-423/.semver 03:53:42 2024-01-01 03:53:42,473 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-423/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-423, universal_newlines=False, shell=None, istream=None) 03:53:43 2024-01-01 03:53:43,889 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-423/.git/info/exclude 03:53:43 2024-01-01 03:53:43,890 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-423/.semver/PR-423 with force:False 03:53:43 2024-01-01 03:53:43,890 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-423/.semver/PR-423 03:53:43 2024-01-01 03:53:43,894 [execute] INFO git cat-file --batch-check 03:53:43 2024-01-01 03:53:43,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-423/.semver, universal_newlines=False, shell=None, istream=) 03:53:43 2024-01-01 03:53:43,899 [execute] INFO git cat-file --batch 03:53:43 2024-01-01 03:53:43,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-423/.semver, universal_newlines=False, shell=None, istream=) 03:53:43 2024-01-01 03:53:43,903 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-423/.semver/PR-423 03:53:43 0.0.0 [Pipeline] } 03:53:43 $ docker exec --env ******** --env ******** a9c207570c417a63cb2e8325b3f37cbcbd8a3648cb6514863dff8d43e9c81f13 ssh-agent -k 03:53:44 unset SSH_AUTH_SOCK; 03:53:44 unset SSH_AGENT_PID; 03:53:44 echo Agent pid 77 killed; 03:53:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:53:44 + git semver [Pipeline] } 03:53:44 $ docker stop --time=1 a9c207570c417a63cb2e8325b3f37cbcbd8a3648cb6514863dff8d43e9c81f13 03:53:46 $ docker rm -f --volumes a9c207570c417a63cb2e8325b3f37cbcbd8a3648cb6514863dff8d43e9c81f13 [Pipeline] // withDockerContainer [Pipeline] sh 03:53:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:53:47 Stashed 1 file(s) [Pipeline] echo 03:53:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:53:47 provisioning config files... 03:53:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-423@tmp/config6585143080874156517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:53:48 ---> ****-login.sh 03:53:48 nexus3.edgexfoundry.org:10001 03:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:48 Configure a credential helper to remove this warning. See 03:53:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:48 03:53:48 Login Succeeded 03:53:48 nexus3.edgexfoundry.org:10002 03:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:48 Configure a credential helper to remove this warning. See 03:53:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:48 03:53:48 Login Succeeded 03:53:48 nexus3.edgexfoundry.org:10003 03:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:48 Configure a credential helper to remove this warning. See 03:53:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:48 03:53:48 Login Succeeded 03:53:48 nexus3.edgexfoundry.org:10004 03:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:48 Configure a credential helper to remove this warning. See 03:53:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:48 03:53:48 Login Succeeded 03:53:48 ****.io 03:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:48 Configure a credential helper to remove this warning. See 03:53:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:48 03:53:48 Login Succeeded 03:53:48 ---> ****-login.sh ends [Pipeline] } 03:53:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:53:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:53:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:53:49 ========================================================= 03:53:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:53:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:53:49 Sending build context to Docker daemon 34.22MB 03:53:49 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:53:49 Step 2/13 : FROM ${BASE} AS builder 03:53:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:53:50 7264a8db6415: Pulling fs layer 03:53:50 c4d48a809fc2: Pulling fs layer 03:53:50 4f1c88b9dad5: Pulling fs layer 03:53:50 ad3a456e5733: Pulling fs layer 03:53:50 69c7f0334f64: Pulling fs layer 03:53:50 1f1c1a5573a3: Pulling fs layer 03:53:50 ce7588e14bc9: Pulling fs layer 03:53:50 b5e4710f87ac: Pulling fs layer 03:53:50 1f1c1a5573a3: Waiting 03:53:50 ce7588e14bc9: Waiting 03:53:50 ad3a456e5733: Waiting 03:53:50 b5e4710f87ac: Waiting 03:53:50 69c7f0334f64: Waiting 03:53:50 c4d48a809fc2: Download complete 03:53:50 ad3a456e5733: Download complete 03:53:50 69c7f0334f64: Download complete 03:53:50 7264a8db6415: Verifying Checksum 03:53:50 7264a8db6415: Download complete 03:53:50 1f1c1a5573a3: Verifying Checksum 03:53:50 1f1c1a5573a3: Download complete 03:53:50 7264a8db6415: Pull complete 03:53:50 b5e4710f87ac: Verifying Checksum 03:53:50 b5e4710f87ac: Download complete 03:53:50 c4d48a809fc2: Pull complete 03:53:50 4f1c88b9dad5: Verifying Checksum 03:53:50 4f1c88b9dad5: Download complete 03:53:51 ce7588e14bc9: Download complete 03:53:53 4f1c88b9dad5: Pull complete 03:53:53 ad3a456e5733: Pull complete 03:53:53 69c7f0334f64: Pull complete 03:53:53 1f1c1a5573a3: Pull complete 03:53:56 ce7588e14bc9: Pull complete 03:53:56 b5e4710f87ac: Pull complete 03:53:56 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 03:53:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:53:56 ---> 88b5674ff536 03:53:56 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:54:02 Still waiting to schedule task 03:54:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:54:03 ---> Running in 9675348967ef 03:54:03 Removing intermediate container 9675348967ef 03:54:03 ---> 252e05a293e6 03:54:03 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:54:03 ---> Running in 28cb50ac5717 03:54:03 Removing intermediate container 28cb50ac5717 03:54:03 ---> e278fea9fcf5 03:54:03 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:54:03 ---> Running in 153f634ac10e 03:54:03 Removing intermediate container 153f634ac10e 03:54:03 ---> 9a007ad1c471 03:54:03 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:54:03 ---> Running in 77b97c908890 03:54:03 Removing intermediate container 77b97c908890 03:54:03 ---> 7726e8544377 03:54:03 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:54:03 ---> Running in 19e1ebe37fd3 03:54:03 Removing intermediate container 19e1ebe37fd3 03:54:03 ---> dd818a719585 03:54:03 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:54:03 ---> Running in 59035d4f2ab5 03:54:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:54:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:54:03 OK: 264 MiB in 52 packages 03:54:03 Removing intermediate container 59035d4f2ab5 03:54:03 ---> 99b46ee27a80 03:54:03 Step 9/13 : WORKDIR /device-onvif-camera 03:54:03 ---> Running in 675b2cdcb495 03:54:03 Removing intermediate container 675b2cdcb495 03:54:03 ---> ea3cd395620d 03:54:03 Step 10/13 : COPY go.mod vendor* ./ 03:54:03 ---> f440b6af703d 03:54:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:54:03 ---> Running in 915d8e455522 03:54:50 Removing intermediate container 915d8e455522 03:54:50 ---> b80bb79dd6df 03:54:50 Step 12/13 : COPY . . 03:54:50 ---> b0c4446b817b 03:54:50 Step 13/13 : RUN ${MAKE} 03:54:50 ---> Running in 517a1f209217 03:54:50 noop 03:54:50 Removing intermediate container 517a1f209217 03:54:50 ---> 92991fe62cf5 03:54:50 Successfully built 92991fe62cf5 03:54:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:51 + docker inspect -f . ci-base-image-x86_64 03:54:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:51 prd-ubuntu20.04-docker-8c-8g-26547 does not seem to be running inside a container 03:54:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-423 -v /w/workspace/undry_device-onvif-camera_PR-423:/w/workspace/undry_device-onvif-camera_PR-423:rw,z -v /w/workspace/undry_device-onvif-camera_PR-423@tmp:/w/workspace/undry_device-onvif-camera_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:54:51 $ docker top c55013521d73b6e7b50efa3f5b9209df91193672d2ab3d5b9b727b0fedc8be8e -eo pid,comm [Pipeline] { [Pipeline] sh 03:54:52 + go version 03:54:52 go version go1.21.0 linux/amd64 [Pipeline] } 03:54:52 $ docker stop --time=1 c55013521d73b6e7b50efa3f5b9209df91193672d2ab3d5b9b727b0fedc8be8e 03:54:53 $ docker rm -f --volumes c55013521d73b6e7b50efa3f5b9209df91193672d2ab3d5b9b727b0fedc8be8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:54 + docker inspect -f . ci-base-image-x86_64 03:54:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:54 prd-ubuntu20.04-docker-8c-8g-26547 does not seem to be running inside a container 03:54:54 $ 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-423 -v /w/workspace/undry_device-onvif-camera_PR-423:/w/workspace/undry_device-onvif-camera_PR-423:rw,z -v /w/workspace/undry_device-onvif-camera_PR-423@tmp:/w/workspace/undry_device-onvif-camera_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:54:54 $ docker top 56694fa8f58791eb7cd39dce563233351126b29b9fb4cd0fd7272d218ddd7dcb -eo pid,comm [Pipeline] { [Pipeline] sh 03:54:55 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-423 [Pipeline] fileExists [Pipeline] sh 03:54:55 + make test 03:54:55 go test ./... -coverprofile=coverage.out ./... 03:54:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:55:09 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:55:09 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:55:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.104s coverage: 31.5% of statements 03:55:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.349s coverage: 86.5% of statements 03:55:19 go vet ./... 03:55:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:55:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:55:23 ./bin/test-attribution-txt.sh [Pipeline] echo 03:55:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:55:23 $ docker stop --time=1 56694fa8f58791eb7cd39dce563233351126b29b9fb4cd0fd7272d218ddd7dcb 03:55:27 $ docker rm -f --volumes 56694fa8f58791eb7cd39dce563233351126b29b9fb4cd0fd7272d218ddd7dcb [Pipeline] // withDockerContainer [Pipeline] sh 03:55:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:55:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:55:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:55:29 + ls -al . 03:55:29 total 240 03:55:29 drwxrwxr-x 9 jenkins jenkins 4096 Jan 1 03:54 . 03:55:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 1 03:53 .. 03:55:29 drwxrwxr-x 8 jenkins jenkins 4096 Jan 1 03:55 .git 03:55:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 1 03:53 .github 03:55:29 -rw-rw-r-- 1 jenkins jenkins 493 Jan 1 03:53 .gitignore 03:55:29 -rw-rw-r-- 1 jenkins jenkins 42 Jan 1 03:53 .golangci.yml 03:55:29 drwxr-xr-x 3 jenkins jenkins 4096 Jan 1 03:53 .semver 03:55:29 -rw-rw-r-- 1 jenkins jenkins 11155 Jan 1 03:53 Attribution.txt 03:55:29 -rw-rw-r-- 1 jenkins jenkins 17665 Jan 1 03:53 CHANGELOG.md 03:55:29 -rw-rw-r-- 1 jenkins jenkins 1683 Jan 1 03:53 Dockerfile 03:55:29 -rw-rw-r-- 1 jenkins jenkins 677 Jan 1 03:53 GOVERNANCE.md 03:55:29 -rw-rw-r-- 1 jenkins jenkins 739 Jan 1 03:53 Jenkinsfile 03:55:29 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 1 03:53 LICENSE 03:55:29 -rw-rw-r-- 1 jenkins jenkins 2883 Jan 1 03:53 Makefile 03:55:29 -rw-rw-r-- 1 jenkins jenkins 625 Jan 1 03:53 OWNERS.md 03:55:29 -rw-rw-r-- 1 jenkins jenkins 2620 Jan 1 03:53 README.md 03:55:29 -rw-rw-r-- 1 jenkins jenkins 5 Jan 1 03:53 VERSION 03:55:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 1 03:53 bin 03:55:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 1 03:53 cmd 03:55:29 -rw-r--r-- 1 jenkins jenkins 78456 Jan 1 03:55 coverage.out 03:55:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 1 03:53 doc 03:55:29 -rw-rw-r-- 1 jenkins jenkins 4083 Jan 1 03:53 go.mod 03:55:29 -rw-rw-r-- 1 jenkins jenkins 35189 Jan 1 03:53 go.sum 03:55:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 1 03:53 internal 03:55:29 -rw-rw-r-- 1 jenkins jenkins 236 Jan 1 03:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:29 + 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=8487e64a14669c407f294f7e2574842c343c6f2b --label arch=amd64 --label version=0.0.0 . 03:55:29 Sending build context to Docker daemon 34.3MB 03:55:29 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:55:29 Step 2/27 : FROM ${BASE} AS builder 03:55:29 ---> 92991fe62cf5 03:55:29 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:55:30 ---> Running in 1e5e016286a3 03:55:30 Removing intermediate container 1e5e016286a3 03:55:30 ---> 4493272099cb 03:55:30 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:55:30 ---> Running in 4bb9cb085c36 03:55:30 Removing intermediate container 4bb9cb085c36 03:55:30 ---> b1aa00ba9311 03:55:30 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:55:30 ---> Running in 51745cbec22b 03:55:30 Removing intermediate container 51745cbec22b 03:55:30 ---> ea23591b04de 03:55:30 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:55:30 ---> Running in 21166ec7e2ab 03:55:30 Removing intermediate container 21166ec7e2ab 03:55:30 ---> 8df8b37e02b7 03:55:30 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:55:30 ---> Running in e3a94eca4450 03:55:30 Removing intermediate container e3a94eca4450 03:55:30 ---> 6ba22e418363 03:55:30 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:55:30 ---> Running in c04e6533d908 03:55:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:55:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:55:31 OK: 264 MiB in 52 packages 03:55:31 Removing intermediate container c04e6533d908 03:55:31 ---> 1d8b2d7a8c76 03:55:31 Step 9/27 : WORKDIR /device-onvif-camera 03:55:31 ---> Running in 438457f68606 03:55:31 Removing intermediate container 438457f68606 03:55:31 ---> f3e72b2cf7ad 03:55:31 Step 10/27 : COPY go.mod vendor* ./ 03:55:31 ---> 99488611104b 03:55:31 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:55:31 ---> Running in bf9f184bfbb0 03:55:32 Removing intermediate container bf9f184bfbb0 03:55:32 ---> 8be681c53d94 03:55:32 Step 12/27 : COPY . . 03:55:33 ---> 3725180043e4 03:55:33 Step 13/27 : RUN ${MAKE} 03:55:33 ---> Running in 4326406e7127 03:55:33 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.6" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:55:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26548 in /w/workspace/undry_device-onvif-camera_PR-423 [Pipeline] { [Pipeline] ws 03:55:48 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:55:51 The recommended git tool is: git 03:55:55 Removing intermediate container 4326406e7127 03:55:55 ---> 605510742263 03:55:55 Step 14/27 : FROM alpine:3.18 03:55:55 3.18: Pulling from library/alpine 03:55:55 c926b61bad3b: Pulling fs layer 03:55:55 c926b61bad3b: Verifying Checksum 03:55:55 c926b61bad3b: Download complete 03:55:55 c926b61bad3b: Pull complete 03:55:55 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 03:55:55 Status: Downloaded newer image for alpine:3.18 03:55:55 ---> b541f2080109 03:55:55 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:55:55 ---> Running in e9607c116c14 03:55:55 Removing intermediate container e9607c116c14 03:55:55 ---> 66d9a198cc79 03:55:55 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:55:55 ---> Running in ff6c4e338c24 03:55:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:55:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:55:55 (1/1) Installing dumb-init (1.2.5-r2) 03:55:55 Executing busybox-1.36.1-r5.trigger 03:55:55 OK: 7 MiB in 16 packages 03:55:56 Removing intermediate container ff6c4e338c24 03:55:56 ---> e406126d09ec 03:55:56 Step 17/27 : RUN apk --no-cache upgrade 03:55:56 ---> Running in 7835ccaf75e6 03:55:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:55:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:55:56 OK: 7 MiB in 16 packages 03:55:57 Removing intermediate container 7835ccaf75e6 03:55:57 ---> 809e4f165852 03:55:57 Step 18/27 : WORKDIR / 03:55:57 ---> Running in 2cbce417462f 03:55:57 Removing intermediate container 2cbce417462f 03:55:57 ---> 8012b29ed9ca 03:55:57 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:55:58 ---> b98394142218 03:55:58 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:55:58 ---> d2788300468b 03:55:58 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:55:58 ---> ec77641f3a2c 03:55:58 Step 22/27 : EXPOSE 59984 03:55:58 ---> Running in b06058ed4fa6 03:55:58 Removing intermediate container b06058ed4fa6 03:55:58 ---> 643e2df1fb6e 03:55:58 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:55:58 ---> Running in 344ec789dfec 03:55:58 Removing intermediate container 344ec789dfec 03:55:58 ---> 3de9bc569968 03:55:58 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:55:58 ---> Running in 0eaaeb042d40 03:55:58 Removing intermediate container 0eaaeb042d40 03:55:58 ---> ff342845795f 03:55:58 Step 25/27 : LABEL arch=amd64 03:55:58 ---> Running in ecfd4971576b 03:55:58 Removing intermediate container ecfd4971576b 03:55:58 ---> 94e94d9e8f69 03:55:58 Step 26/27 : LABEL git_sha=8487e64a14669c407f294f7e2574842c343c6f2b 03:55:58 ---> Running in 293a7ecf4795 03:55:58 Removing intermediate container 293a7ecf4795 03:55:58 ---> 1210056abb6e 03:55:58 Step 27/27 : LABEL version=0.0.0 03:55:58 ---> Running in 9313f2431448 03:55:58 Removing intermediate container 9313f2431448 03:55:58 ---> c0ab06b17452 03:55:58 [Warning] One or more build-args [ARCH] were not consumed 03:55:58 Successfully built c0ab06b17452 03:55:58 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 03:55:59 using credential edgex-jenkins-ssh Post stage 03:55:59 Cloning the remote Git repository [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:56:00 03:56:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:59 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:55:59 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:55:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:55:59 > git --version # timeout=10 03:55:59 > git --version # 'git version 2.25.1' 03:55:59 using GIT_SSH to set credentials SSH Credentials for GitHub 03:56:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:56:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:56:00 latest: Pulling from edgex-lftools-log-publisher 03:56:00 5eb5b503b376: Pulling fs layer 03:56:00 5c69ac0246d0: Pulling fs layer 03:56:00 ec43610c2a17: Pulling fs layer 03:56:00 3a2ae6a8a46f: Pulling fs layer 03:56:00 33b1e0a273af: Pulling fs layer 03:56:00 5d3b04190fa2: Pulling fs layer 03:56:00 2f39f015ded8: Pulling fs layer 03:56:00 5d3b04190fa2: Waiting 03:56:00 2f39f015ded8: Waiting 03:56:00 3a2ae6a8a46f: Waiting 03:56:00 33b1e0a273af: Waiting 03:56:00 5c69ac0246d0: Verifying Checksum 03:56:00 5c69ac0246d0: Download complete 03:56:00 3a2ae6a8a46f: Verifying Checksum 03:56:00 3a2ae6a8a46f: Download complete 03:56:00 33b1e0a273af: Verifying Checksum 03:56:00 33b1e0a273af: Download complete 03:56:00 ec43610c2a17: Verifying Checksum 03:56:00 ec43610c2a17: Download complete 03:56:00 5d3b04190fa2: Verifying Checksum 03:56:00 5d3b04190fa2: Download complete 03:56:00 5eb5b503b376: Verifying Checksum 03:56:00 5eb5b503b376: Download complete 03:56:02 5eb5b503b376: Pull complete 03:56:02 2f39f015ded8: Verifying Checksum 03:56:02 2f39f015ded8: Download complete 03:56:02 5c69ac0246d0: Pull complete 03:56:02 ec43610c2a17: Pull complete 03:56:02 3a2ae6a8a46f: Pull complete 03:56:02 33b1e0a273af: Pull complete 03:56:03 5d3b04190fa2: Pull complete 03:56:02 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:56:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:56:04 Merging remotes/origin/main commit 6e8cd5c7b327808cee3cdc8246778581b79512e2 into PR head commit 8487e64a14669c407f294f7e2574842c343c6f2b 03:56:04 Merge succeeded, producing 8487e64a14669c407f294f7e2574842c343c6f2b 03:56:04 Checking out Revision 8487e64a14669c407f294f7e2574842c343c6f2b (PR-423) 03:56:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:56:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:56:03 using GIT_SSH to set credentials SSH Credentials for GitHub 03:56:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:56:04 > git config core.sparsecheckout # timeout=10 03:56:04 > git checkout -f 8487e64a14669c407f294f7e2574842c343c6f2b # timeout=10 03:56:04 > git remote # timeout=10 03:56:04 > git config --get remote.origin.url # timeout=10 03:56:04 using GIT_SSH to set credentials SSH Credentials for GitHub 03:56:04 > git merge 6e8cd5c7b327808cee3cdc8246778581b79512e2 # timeout=10 03:56:04 > git rev-parse HEAD^{commit} # timeout=10 03:56:04 > git config core.sparsecheckout # timeout=10 03:56:04 > git checkout -f 8487e64a14669c407f294f7e2574842c343c6f2b # timeout=10 03:56:05 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 03:56:05 > git --version # timeout=10 03:56:05 > git --version # 'git version 2.25.1' 03:56:05 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:56:05 03:56:05 GitHub has been notified of this commit’s build result 03:56:05 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:56:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:56:06 % Total % Received % Xferd Average Speed Time Time Time Current 03:56:06 Dload Upload Total Spent Left Speed 03:56:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96075 0 --:--:-- --:--:-- --:--:-- 96809 [Pipeline] sh 03:56:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:56:07 2f39f015ded8: Pull complete 03:56:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:56:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:56:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 03:56:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:56:07 + sudo tee /etc/docker/daemon.new 03:56:07 { 03:56:07 "registry-mirrors": [ 03:56:07 "https://nexus3.edgexfoundry.org:10001" 03:56:07 ], 03:56:07 "bip": "10.250.0.254/24", 03:56:07 "hosts": [ 03:56:07 "tcp://0.0.0.0:5555", 03:56:07 "unix:///var/run/docker.sock" 03:56:07 ], 03:56:07 "mtu": 1458, 03:56:07 "selinux-enabled": true, 03:56:07 "seccomp-profile": "/etc/docker/seccomp.json" 03:56:07 } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:07 prd-ubuntu20.04-docker-8c-8g-26547 does not seem to be running inside a container 03:56:07 $ 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-423 -v /w/workspace/undry_device-onvif-camera_PR-423:/w/workspace/undry_device-onvif-camera_PR-423:rw,z -v /w/workspace/undry_device-onvif-camera_PR-423@tmp:/w/workspace/undry_device-onvif-camera_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:56:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 03:56:12 $ docker top 1e889da981c3b2d26f55aa41d065d5c0f66fb7b0c438e8926f3754d69ffce7ba -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 03:56:12 + sudo service docker restart 03:56:13 ---> job-cost.sh 03:56:13 lf-activate-venv: SKIPPING 03:56:13 INFO: No Stack... 03:56:13 INFO: Retrieving Pricing Info for: v3-standard-8 03:56:13 INFO: Archiving Costs [Pipeline] sh 03:56:14 + cat /w/workspace/undry_device-onvif-camera_PR-423/archives/cost.csv 03:56:14 + cut -d, -f6 [Pipeline] lock 03:56:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-423-1-stack-cost] 03:56:14 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-423-1-stack-cost] did not exist. Created. 03:56:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-423-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:56:14 + echo total: 0.2199999988079071 [Pipeline] stash 03:56:14 Stashed 1 file(s) [Pipeline] } 03:56:14 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-423-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:56:15 $ docker stop --time=1 1e889da981c3b2d26f55aa41d065d5c0f66fb7b0c438e8926f3754d69ffce7ba 03:56:16 $ docker rm -f --volumes 1e889da981c3b2d26f55aa41d065d5c0f66fb7b0c438e8926f3754d69ffce7ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:56:31 provisioning config files... 03:56:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config18440845149036136995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:56:31 ---> ****-login.sh 03:56:31 nexus3.edgexfoundry.org:10001 03:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:32 Configure a credential helper to remove this warning. See 03:56:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:32 03:56:32 Login Succeeded 03:56:32 nexus3.edgexfoundry.org:10002 03:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:32 Configure a credential helper to remove this warning. See 03:56:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:32 03:56:32 Login Succeeded 03:56:32 nexus3.edgexfoundry.org:10003 03:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:32 Configure a credential helper to remove this warning. See 03:56:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:32 03:56:32 Login Succeeded 03:56:32 nexus3.edgexfoundry.org:10004 03:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:33 Configure a credential helper to remove this warning. See 03:56:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:33 03:56:33 Login Succeeded 03:56:33 ****.io 03:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:33 Configure a credential helper to remove this warning. See 03:56:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:33 03:56:33 Login Succeeded 03:56:33 ---> ****-login.sh ends [Pipeline] } 03:56:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:56:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:56:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:56:34 ========================================================= 03:56:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:56:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:56:35 #0 building with "default" instance using docker driver 03:56:35 03:56:35 #1 [internal] load .dockerignore 03:56:35 #1 transferring context: 2B done 03:56:35 #1 DONE 0.1s 03:56:35 03:56:35 #2 [internal] load build definition from Dockerfile 03:56:35 #2 transferring dockerfile: 1.72kB done 03:56:35 #2 DONE 0.1s 03:56:36 03:56:36 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:56:36 #3 DONE 0.1s 03:56:36 03:56:36 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 03:56:36 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 03:56:36 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 03:56:36 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 03:56:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 2.10MB / 63.99MB 0.2s 03:56:36 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 03:56:36 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 03:56:36 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 03:56:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.86MB / 63.99MB 0.3s 03:56:36 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 03:56:36 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 03:56:36 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 03:56:36 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 03:56:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 03:56:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.53MB / 63.99MB 0.4s 03:56:36 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.4s 03:56:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.5s 03:56:36 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.5s 03:56:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 6.29MB / 97.63MB 0.5s 03:56:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.92MB / 63.99MB 0.6s 03:56:36 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.75MB / 11.40MB 0.6s 03:56:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 24.12MB / 63.99MB 0.7s 03:56:36 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 03:56:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 13.63MB / 97.63MB 0.7s 03:56:36 #4 ... 03:56:36 03:56:36 #5 [internal] load build context 03:56:36 #5 transferring context: 20.32MB 0.7s done 03:56:36 #5 DONE 0.8s 03:56:36 03:56:36 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 03:56:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 0.8s 03:56:36 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.6s done 03:56:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18.87MB / 97.63MB 0.8s 03:56:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 0.9s 03:56:36 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 03:56:37 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.15MB / 63.99MB 1.1s 03:56:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.51MB / 97.63MB 1.1s 03:56:37 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 51.31MB / 63.99MB 1.2s 03:56:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 38.80MB / 97.63MB 1.2s 03:56:37 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.62MB / 63.99MB 1.3s 03:56:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 44.48MB / 97.63MB 1.3s 03:56:37 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 03:56:37 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s 03:56:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 55.57MB / 97.63MB 1.5s 03:56:37 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 03:56:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 61.66MB / 97.63MB 1.6s 03:56:37 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 03:56:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 67.11MB / 97.63MB 1.7s 03:56:38 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.40MB / 97.63MB 1.8s 03:56:38 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 85.98MB / 97.63MB 2.0s 03:56:38 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s 03:56:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 6.0s done 03:56:42 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.0s 03:56:48 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.4s 03:56:56 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.3s done 03:56:56 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 03:56:56 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 03:56:56 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 03:57:02 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 03:57:06 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.0s done 03:57:06 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 03:57:07 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 03:57:07 #4 DONE 31.8s 03:57:07 03:57:07 #6 [builder 2/7] RUN apk add --no-cache make git 03:57:08 #6 0.675 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:57:09 #6 1.049 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:57:10 #6 2.042 OK: 266 MiB in 52 packages 03:57:12 #6 DONE 3.9s 03:57:12 03:57:12 #7 [builder 3/7] WORKDIR /device-onvif-camera 03:57:12 #7 DONE 0.1s 03:57:12 03:57:12 #8 [builder 4/7] COPY go.mod vendor* ./ 03:57:12 #8 DONE 0.1s 03:57:12 03:57:12 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:57:34 #9 DONE 22.2s 03:57:34 03:57:34 #10 [builder 6/7] COPY . . 03:57:34 #10 DONE 0.4s 03:57:34 03:57:34 #11 [builder 7/7] RUN echo noop 03:57:35 #11 0.567 noop 03:57:35 #11 DONE 0.6s 03:57:35 03:57:35 #12 exporting to image 03:57:35 #12 exporting layers 03:57:57 #12 exporting layers 21.7s done 03:57:57 #12 writing image sha256:47c4c5c39df058c8d87d9519d47f5462081f544dd1d998e4dc31500fa4a88b68 done 03:57:57 #12 naming to docker.io/library/ci-base-image-arm64 done 03:57:57 #12 DONE 21.7s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:58 + docker inspect -f . ci-base-image-arm64 03:57:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:57:58 prd-ubuntu20.04-docker-arm64-4c-16g-26548 does not seem to be running inside a container 03:57:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:57:59 $ docker top cda43532a273adc11c5104bace77afd43ff69323fab989f53ce05347c5be1dd4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:58:00 + go version 03:58:00 go version go1.21.0 linux/arm64 [Pipeline] } 03:58:00 $ docker stop --time=1 cda43532a273adc11c5104bace77afd43ff69323fab989f53ce05347c5be1dd4 03:58:01 $ docker rm -f --volumes cda43532a273adc11c5104bace77afd43ff69323fab989f53ce05347c5be1dd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:03 + docker inspect -f . ci-base-image-arm64 03:58:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:58:03 prd-ubuntu20.04-docker-arm64-4c-16g-26548 does not seem to be running inside a container 03:58:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:58:04 $ docker top 6f91927b4d16b83c04a003fb5d3958bccc9ca6a0e60865c7f186e0717977ef8c -eo pid,comm [Pipeline] { [Pipeline] sh 03:58:05 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:58:05 + make test 03:58:05 go test ./... -coverprofile=coverage.out ./... 03:58:13 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:59:10 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:59:10 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:59:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.181s coverage: 31.5% of statements 03:59:32 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.529s coverage: 86.5% of statements 03:59:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:59:32 go vet ./... 03:59:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:59:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:59:47 ./bin/test-attribution-txt.sh [Pipeline] echo 03:59:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:59:47 $ docker stop --time=1 6f91927b4d16b83c04a003fb5d3958bccc9ca6a0e60865c7f186e0717977ef8c 03:59:49 $ docker rm -f --volumes 6f91927b4d16b83c04a003fb5d3958bccc9ca6a0e60865c7f186e0717977ef8c [Pipeline] // withDockerContainer [Pipeline] sh 03:59:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:59:51 Warning: overwriting stash ‘coverage-report’ 03:59:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:59:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:59:52 + ls -al . 03:59:52 total 236 03:59:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 1 03:58 . 03:59:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 1 03:56 .. 03:59:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 1 03:56 .git 03:59:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 1 03:56 .github 03:59:52 -rw-rw-r-- 1 jenkins jenkins 493 Jan 1 03:56 .gitignore 03:59:52 -rw-rw-r-- 1 jenkins jenkins 42 Jan 1 03:56 .golangci.yml 03:59:52 -rw-rw-r-- 1 jenkins jenkins 11155 Jan 1 03:56 Attribution.txt 03:59:52 -rw-rw-r-- 1 jenkins jenkins 17665 Jan 1 03:56 CHANGELOG.md 03:59:52 -rw-rw-r-- 1 jenkins jenkins 1683 Jan 1 03:56 Dockerfile 03:59:52 -rw-rw-r-- 1 jenkins jenkins 677 Jan 1 03:56 GOVERNANCE.md 03:59:52 -rw-rw-r-- 1 jenkins jenkins 739 Jan 1 03:56 Jenkinsfile 03:59:52 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 1 03:56 LICENSE 03:59:52 -rw-rw-r-- 1 jenkins jenkins 2883 Jan 1 03:56 Makefile 03:59:52 -rw-rw-r-- 1 jenkins jenkins 625 Jan 1 03:56 OWNERS.md 03:59:52 -rw-rw-r-- 1 jenkins jenkins 2620 Jan 1 03:56 README.md 03:59:52 -rw-rw-r-- 1 jenkins jenkins 5 Jan 1 03:53 VERSION 03:59:52 drwxrwxr-x 2 jenkins jenkins 4096 Jan 1 03:56 bin 03:59:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 1 03:56 cmd 03:59:52 -rw-r--r-- 1 jenkins jenkins 78456 Jan 1 03:59 coverage.out 03:59:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 1 03:56 doc 03:59:52 -rw-rw-r-- 1 jenkins jenkins 4083 Jan 1 03:56 go.mod 03:59:52 -rw-rw-r-- 1 jenkins jenkins 35189 Jan 1 03:56 go.sum 03:59:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 1 03:56 internal 03:59:52 -rw-rw-r-- 1 jenkins jenkins 236 Jan 1 03:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:53 + 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=8487e64a14669c407f294f7e2574842c343c6f2b --label arch=arm64 --label version=0.0.0 . 03:59:53 #0 building with "default" instance using docker driver 03:59:53 03:59:53 #1 [internal] load .dockerignore 03:59:53 #1 transferring context: 2B done 03:59:54 #1 DONE 0.0s 03:59:54 03:59:54 #2 [internal] load build definition from Dockerfile 03:59:54 #2 transferring dockerfile: 1.72kB 0.0s done 03:59:54 #2 DONE 0.0s 03:59:54 03:59:54 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 03:59:54 #3 DONE 0.0s 03:59:54 03:59:54 #4 [internal] load metadata for docker.io/library/alpine:3.18 03:59:54 #4 DONE 0.3s 03:59:54 03:59:54 #5 [internal] load build context 03:59:54 #5 transferring context: 89.08kB 0.1s done 03:59:54 #5 DONE 0.1s 03:59:54 03:59:54 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 03:59:54 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 03:59:54 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 03:59:54 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 03:59:54 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 03:59:54 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 03:59:54 #6 ... 03:59:54 03:59:54 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 03:59:54 #7 DONE 0.2s 03:59:54 03:59:54 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 03:59:54 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 03:59:54 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 03:59:55 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 03:59:55 #6 DONE 0.8s 03:59:55 03:59:55 #8 [builder 2/7] RUN apk add --no-cache make git 03:59:55 #8 0.733 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:59:55 #8 1.146 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:59:56 #8 2.184 OK: 266 MiB in 52 packages 03:59:57 #8 DONE 2.5s 03:59:57 03:59:57 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 03:59:57 #9 0.626 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:59:57 #9 0.933 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:59:57 #9 ... 03:59:57 03:59:57 #10 [builder 3/7] WORKDIR /device-onvif-camera 03:59:57 #10 DONE 0.1s 03:59:57 03:59:57 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 03:59:57 #9 1.948 (1/1) Installing dumb-init (1.2.5-r2) 03:59:57 #9 1.965 Executing busybox-1.36.1-r5.trigger 03:59:57 #9 1.995 OK: 8 MiB in 16 packages 03:59:57 #9 ... 03:59:57 03:59:57 #11 [builder 4/7] COPY go.mod vendor* ./ 03:59:57 #11 DONE 0.2s 03:59:57 03:59:57 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 03:59:57 #9 DONE 2.3s 03:59:57 03:59:57 #12 [stage-1 3/7] RUN apk --no-cache upgrade 03:59:58 #12 0.837 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:59:58 #12 1.156 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:59:59 #12 ... 03:59:59 03:59:59 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:59:59 #13 DONE 1.7s 03:59:59 03:59:59 #14 [builder 6/7] COPY . . 03:59:59 #14 DONE 0.4s 03:59:59 03:59:59 #15 [builder 7/7] RUN make build 04:00:00 #15 ... 04:00:00 04:00:00 #12 [stage-1 3/7] RUN apk --no-cache upgrade 04:00:00 #12 2.265 OK: 8 MiB in 16 packages 04:00:00 #12 DONE 2.6s 04:00:00 04:00:00 #15 [builder 7/7] RUN make build 04:00:00 #15 0.674 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.6" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:01:08 #15 DONE 63.3s 04:01:08 04:01:08 #16 [stage-1 4/7] COPY --from=builder /device-onvif-camera/cmd / 04:01:08 #16 DONE 0.3s 04:01:08 04:01:08 #17 [stage-1 5/7] COPY --from=builder /device-onvif-camera/LICENSE / 04:01:08 #17 DONE 0.1s 04:01:08 04:01:08 #18 [stage-1 6/7] COPY --from=builder /device-onvif-camera/Attribution.txt / 04:01:08 #18 DONE 0.1s 04:01:08 04:01:08 #19 exporting to image 04:01:08 #19 exporting layers 04:01:08 #19 exporting layers 0.4s done 04:01:08 #19 writing image sha256:d79acde5a2151bf83d8aab1aa276f32c74dbc42a8c38e6e6cc4422a9d7eff8f8 done 04:01:08 #19 naming to docker.io/library/device-onvif-camera-arm64 done 04:01:08 #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:01:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:01:09 04:01:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:01:10 arm64: Pulling from edgex-lftools-log-publisher 04:01:10 8998bd30e6a1: Pulling fs layer 04:01:10 04944245beec: Pulling fs layer 04:01:10 699f458cf7ca: Pulling fs layer 04:01:10 765212b225bb: Pulling fs layer 04:01:10 f23df028b6ca: Pulling fs layer 04:01:10 765212b225bb: Waiting 04:01:10 d65c8cfc05b1: Pulling fs layer 04:01:10 2437ff75d9bd: Pulling fs layer 04:01:10 f23df028b6ca: Waiting 04:01:10 d65c8cfc05b1: Waiting 04:01:10 2437ff75d9bd: Waiting 04:01:10 04944245beec: Verifying Checksum 04:01:10 04944245beec: Download complete 04:01:10 765212b225bb: Verifying Checksum 04:01:10 765212b225bb: Download complete 04:01:10 f23df028b6ca: Verifying Checksum 04:01:10 f23df028b6ca: Download complete 04:01:10 d65c8cfc05b1: Download complete 04:01:10 699f458cf7ca: Verifying Checksum 04:01:10 699f458cf7ca: Download complete 04:01:10 8998bd30e6a1: Verifying Checksum 04:01:10 8998bd30e6a1: Download complete 04:01:12 2437ff75d9bd: Verifying Checksum 04:01:12 2437ff75d9bd: Download complete 04:01:17 8998bd30e6a1: Pull complete 04:01:17 04944245beec: Pull complete 04:01:19 699f458cf7ca: Pull complete 04:01:19 765212b225bb: Pull complete 04:01:20 f23df028b6ca: Pull complete 04:01:20 d65c8cfc05b1: Pull complete 04:01:47 2437ff75d9bd: Pull complete 04:01:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:01:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:01:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:47 prd-ubuntu20.04-docker-arm64-4c-16g-26548 does not seem to be running inside a container 04:01:47 $ 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:01:49 $ docker top f413ec35966d4e903c8c72a5379f7a0300b5ae433a2377631debcdce39d98e6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:50 ---> job-cost.sh 04:01:50 lf-activate-venv: SKIPPING 04:01:50 INFO: No Stack... 04:01:50 INFO: Retrieving Pricing Info for: v3-standard-8 04:01:51 INFO: Archiving Costs [Pipeline] sh 04:01:52 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 04:01:52 + cut -d, -f6 [Pipeline] lock 04:01:52 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-423-1-stack-cost] 04:01:52 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-423-1-stack-cost] did not exist. Created. 04:01:52 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-423-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:01:52 /w/workspace/device-onvif-camera/1@tmp/durable-9fb48af5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:01:53 + echo total: 0.2199999988079071 [Pipeline] stash 04:01:53 Warning: overwriting stash ‘stack-cost’ 04:01:53 Stashed 1 file(s) [Pipeline] } 04:01:53 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-423-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:01:53 $ docker stop --time=1 f413ec35966d4e903c8c72a5379f7a0300b5ae433a2377631debcdce39d98e6d 04:01:54 $ docker rm -f --volumes f413ec35966d4e903c8c72a5379f7a0300b5ae433a2377631debcdce39d98e6d [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:01:56 provisioning config files... 04:01:56 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-423@tmp/config17236467600063093520tmp [Pipeline] { [Pipeline] sh 04:01:57 + set +x 04:01:57 + + bash -s -- 04:01:57 curl -s https://codecov.io/bash 04:01:57 04:01:57 _____ _ 04:01:57 / ____| | | 04:01:57 | | ___ __| | ___ ___ _____ __ 04:01:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:01:57 | |___| (_) | (_| | __/ (_| (_) \ V / 04:01:57 \_____\___/ \__,_|\___|\___\___/ \_/ 04:01:57 Bash-1.0.6 04:01:57 04:01:57 04:01:57 ==> git version 2.25.1 found 04:01:57 ==> 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:01:57 Release-Date: 2020-01-08 04:01:57 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:01:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:01:57 ==> Jenkins CI detected. 04:01:57 current dir:  /w/workspace/undry_device-onvif-camera_PR-423 04:01:57 project root: . 04:01:57 --> token set from env 04:01:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:01:57 ==> Running gcov in . (disable via -X gcov) 04:01:57 ==> Python coveragepy not found 04:01:57 ==> Searching for coverage reports in: 04:01:57 + . 04:01:57 -> Found 1 reports 04:01:57 ==> Detecting git/mercurial file structure 04:01:57 ==> Reading reports 04:01:57 + ./coverage.out bytes=78456 04:01:57 ==> Appending adjustments 04:01:57 https://docs.codecov.io/docs/fixing-reports 04:01:57 + Found adjustments 04:01:57 ==> Gzipping contents 04:01:57 12K /tmp/codecov.JvyB9a.gz 04:01:57 ==> Uploading reports 04:01:57 url: https://codecov.io 04:01:57 query: branch=PR-423&commit=8487e64a14669c407f294f7e2574842c343c6f2b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-423%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=423&job=&cmd_args= 04:01:57 -> Pinging Codecov 04:01:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-423&commit=8487e64a14669c407f294f7e2574842c343c6f2b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-423%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=423&job=&cmd_args= 04:01:57 -> Uploading to 04:01:57 https://storage.googleapis.com/codecov/v4/raw/2024-01-01/F29A59C45E3A92E06B3E522C9905F8EF/8487e64a14669c407f294f7e2574842c343c6f2b/9c15eb83-721f-4584-93be-0dea7a4eb891.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240101T040157Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b343ccb929a5b0fe2e71911cfdcd9df542dbf9b264856bf34826aff2bf334408 04:01:57 % Total % Received % Xferd Average Speed Time Time Time Current 04:01:57 Dload Upload Total Spent Left Speed 04:01:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 44350 --:--:-- --:--:-- --:--:-- 44350 04:01:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/8487e64a14669c407f294f7e2574842c343c6f2b [Pipeline] } 04:01:57 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:02:01 + [ -d /w/workspace/undry_device-onvif-camera_PR-423/archives ] 04:02:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-423/archives 04:02:01 total 16 04:02:01 drwxr-xr-x 3 root root 4096 Jan 1 03:56 . 04:02:01 drwxrwxr-x 10 jenkins jenkins 4096 Jan 1 03:56 .. 04:02:01 drwxr-xr-x 2 root root 4096 Jan 1 03:56 cost 04:02:01 -rw-r--r-- 1 root root 91 Jan 1 03:56 cost.csv 04:02:01 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-423/archives 04:02:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-423/archives 04:02:01 total 16 04:02:01 drwxr-xr-x 3 jenkins jenkins 4096 Jan 1 03:56 . 04:02:01 drwxrwxr-x 10 jenkins jenkins 4096 Jan 1 03:56 .. 04:02:01 drwxr-xr-x 2 jenkins jenkins 4096 Jan 1 03:56 cost 04:02:01 -rw-r--r-- 1 jenkins jenkins 91 Jan 1 03:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:02:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:02:02 ---> package-listing.sh 04:02:02 ++ facter osfamily 04:02:02 ++ tr '[:upper:]' '[:lower:]' 04:02:02 + OS_FAMILY=debian 04:02:02 + workspace=/w/workspace/undry_device-onvif-camera_PR-423 04:02:02 + START_PACKAGES=/tmp/packages_start.txt 04:02:02 + END_PACKAGES=/tmp/packages_end.txt 04:02:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:02:02 + PACKAGES=/tmp/packages_start.txt 04:02:02 + '[' /w/workspace/undry_device-onvif-camera_PR-423 ']' 04:02:02 + PACKAGES=/tmp/packages_end.txt 04:02:02 + case "${OS_FAMILY}" in 04:02:02 + dpkg -l 04:02:02 + grep '^ii' 04:02:03 + '[' -f /tmp/packages_start.txt ']' 04:02:03 + '[' -f /tmp/packages_end.txt ']' 04:02:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:02:03 + '[' /w/workspace/undry_device-onvif-camera_PR-423 ']' 04:02:03 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-423/archives/ 04:02:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-423/archives/ [Pipeline] echo 04:02:03 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-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:02:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:02:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:04 prd-ubuntu20.04-docker-8c-8g-26547 does not seem to be running inside a container 04:02:04 $ 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-423/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-423 -v /w/workspace/undry_device-onvif-camera_PR-423:/w/workspace/undry_device-onvif-camera_PR-423:rw,z -v /w/workspace/undry_device-onvif-camera_PR-423@tmp:/w/workspace/undry_device-onvif-camera_PR-423@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:02:04 $ docker top b2da562981e4eb311c07300ff5909550ec7e95713f757f1c66cd795818600564 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:05 + touch /tmp/pre-build-complete [Pipeline] sh 04:02:05 + mkdir -p /var/log/sysstat [Pipeline] sh 04:02:05 + ls /var/log/sa-host 04:02:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:02:05 provisioning config files... 04:02:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-423@tmp/config5377673882994467954tmp [Pipeline] { [Pipeline] echo 04:02:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:02:06 ---> create-netrc.sh [Pipeline] } 04:02:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:02:06 ---> python-tools-install.sh [Pipeline] echo 04:02:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:02:07 ---> sudo-logs.sh 04:02:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:02:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:02:07 ---> job-cost.sh 04:02:07 lf-activate-venv: SKIPPING 04:02:07 DEBUG: total: 0.2199999988079071 04:02:07 INFO: Retrieving Stack Cost... 04:02:07 INFO: Retrieving Pricing Info for: v3-standard-8 04:02:08 INFO: Archiving Costs [Pipeline] echo 04:02:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:02:08 ---> logs-deploy.sh 04:02:08 lf-activate-venv: SKIPPING 04:02:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-423/1 04:02:08 INFO: archiving workspace using pattern(s): 04:02:09 Archives upload complete. 04:02:09 INFO: archiving logs to Nexus