Pull request #436 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 393248944dc81822e0679d469390d8659acd64b6+347bedc82416808981921f39711ea6e4405fc751 (ef4204d3155d108c3caa07d4803b1e82ed4344f6) 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-ssh5281286143326804248.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh12865918136177779928.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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-436/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-436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3913202484661190725.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-436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7772919076737811586.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh2062762606843429158.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-436/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-436/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13715125498981255362.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-841 in /w/workspace/undry_device-onvif-camera_PR-436 [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-436 # 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 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/436/head:refs/remotes/origin/PR-436 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 Merging remotes/origin/napa commit 347bedc82416808981921f39711ea6e4405fc751 into PR head commit 393248944dc81822e0679d469390d8659acd64b6 Merge succeeded, producing 393248944dc81822e0679d469390d8659acd64b6 Checking out Revision 393248944dc81822e0679d469390d8659acd64b6 (PR-436) > git config core.sparsecheckout # timeout=10 > git checkout -f 393248944dc81822e0679d469390d8659acd64b6 # 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 347bedc82416808981921f39711ea6e4405fc751 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 393248944dc81822e0679d469390d8659acd64b6 # timeout=10 Commit message: "build: Bump SDK to v3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:39:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:39:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:39:55 ========================================================= 09:39:55 EdgeX Global Pipelines Version Info 09:39:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:39:56 ------------------- 09:39:56 stable info: 09:39:56 ------------------- 09:39:56 Commited By: Ginny Guan ginny@iotechsys.com 09:39:56 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 09:39:56 Message: update stable to v1.0.259 09:39:56 ------------------- 09:39:56 experimental info: 09:39:56 ------------------- 09:39:56 Commited By: Ginny Guan ginny@iotechsys.com 09:39:56 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 09:39:56 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:39:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:39:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:39:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 09:39:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:39:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:39:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:39:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:39:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:39:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-436 [Pipeline] echo 09:39:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-436 [Pipeline] echo 09:39:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-436 [Pipeline] echo 09:39:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 393248944dc81822e0679d469390d8659acd64b6 [Pipeline] echo 09:39:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3932489 [Pipeline] echo 09:39:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:39:58 provisioning config files... 09:39:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-436@tmp/config1360722553406468733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:39:59 ---> ****-login.sh 09:39:59 nexus3.edgexfoundry.org:10001 09:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:39:59 Configure a credential helper to remove this warning. See 09:39:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:39:59 09:39:59 Login Succeeded 09:39:59 nexus3.edgexfoundry.org:10002 09:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:39:59 Configure a credential helper to remove this warning. See 09:39:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:39:59 09:39:59 Login Succeeded 09:39:59 nexus3.edgexfoundry.org:10003 09:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:39:59 Configure a credential helper to remove this warning. See 09:39:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:39:59 09:39:59 Login Succeeded 09:39:59 nexus3.edgexfoundry.org:10004 09:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:39:59 Configure a credential helper to remove this warning. See 09:39:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:39:59 09:39:59 Login Succeeded 09:39:59 ****.io 09:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:00 Configure a credential helper to remove this warning. See 09:40:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:00 09:40:00 Login Succeeded 09:40:00 ---> ****-login.sh ends [Pipeline] } 09:40:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:40:00 + git rev-list -1 --merges 393248944dc81822e0679d469390d8659acd64b6~1..393248944dc81822e0679d469390d8659acd64b6 [Pipeline] echo 09:40:00 -----------> git rev-list -1 --merges 393248944dc81822e0679d469390d8659acd64b6~1..393248944dc81822e0679d469390d8659acd64b6 393248944dc81822e0679d469390d8659acd64b6 [false] [Pipeline] sh 09:40:01 + git log --format=format:%s -1 393248944dc81822e0679d469390d8659acd64b6 [Pipeline] echo 09:40:01 ========================================================= 09:40:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:40:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:40:01 + git log --format=format:%s -1 393248944dc81822e0679d469390d8659acd64b6 [Pipeline] echo 09:40:01 [semverPrep] GIT_COMMIT: 393248944dc81822e0679d469390d8659acd64b6, Commit Message: build: Bump SDK to v3.1.1 [Pipeline] echo 09:40:01 [semverPrep] This is not a build commit. [Pipeline] sh 09:40:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:40:02 + grep -v github /etc/ssh/ssh_known_hosts 09:40:02 + [ -e /tmp/ssh_known_hosts ] 09:40:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:40:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:40:02 + sudo tee -a /etc/ssh/ssh_known_hosts 09:40:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:02 09:40:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:03 0.1.4: Pulling from edgex-devops/py-git-semver 09:40:03 b85a868b505f: Pulling fs layer 09:40:03 e2be974225ed: Pulling fs layer 09:40:03 339a4e72a1f5: Pulling fs layer 09:40:03 988bab9f4d93: Pulling fs layer 09:40:03 1469e6f7b9e6: Pulling fs layer 09:40:03 eaf3925da568: Pulling fs layer 09:40:03 bab4dde63d76: Pulling fs layer 09:40:03 bde34c3a00c8: Pulling fs layer 09:40:03 b352a97aabf1: Pulling fs layer 09:40:03 4872d77fe225: Pulling fs layer 09:40:03 5851b861e8e6: Pulling fs layer 09:40:03 bde34c3a00c8: Waiting 09:40:03 988bab9f4d93: Waiting 09:40:03 1469e6f7b9e6: Waiting 09:40:03 eaf3925da568: Waiting 09:40:03 bab4dde63d76: Waiting 09:40:03 b352a97aabf1: Waiting 09:40:03 4872d77fe225: Waiting 09:40:03 5851b861e8e6: Waiting 09:40:03 e2be974225ed: Download complete 09:40:03 988bab9f4d93: Verifying Checksum 09:40:03 988bab9f4d93: Download complete 09:40:03 1469e6f7b9e6: Verifying Checksum 09:40:03 1469e6f7b9e6: Download complete 09:40:03 339a4e72a1f5: Verifying Checksum 09:40:03 339a4e72a1f5: Download complete 09:40:03 eaf3925da568: Verifying Checksum 09:40:03 eaf3925da568: Download complete 09:40:03 bde34c3a00c8: Verifying Checksum 09:40:03 bde34c3a00c8: Download complete 09:40:03 b352a97aabf1: Download complete 09:40:03 4872d77fe225: Download complete 09:40:03 5851b861e8e6: Verifying Checksum 09:40:03 5851b861e8e6: Download complete 09:40:03 b85a868b505f: Verifying Checksum 09:40:03 b85a868b505f: Download complete 09:40:03 bab4dde63d76: Verifying Checksum 09:40:03 bab4dde63d76: Download complete 09:40:04 b85a868b505f: Pull complete 09:40:04 e2be974225ed: Pull complete 09:40:05 339a4e72a1f5: Pull complete 09:40:05 988bab9f4d93: Pull complete 09:40:05 1469e6f7b9e6: Pull complete 09:40:05 eaf3925da568: Pull complete 09:40:06 bab4dde63d76: Pull complete 09:40:07 bde34c3a00c8: Pull complete 09:40:07 b352a97aabf1: Pull complete 09:40:07 4872d77fe225: Pull complete 09:40:07 5851b861e8e6: Pull complete 09:40:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:40:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:40:07 prd-ubuntu20.04-docker-8c-8g-841 does not seem to be running inside a container 09:40:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-436 -v /w/workspace/undry_device-onvif-camera_PR-436:/w/workspace/undry_device-onvif-camera_PR-436:rw,z -v /w/workspace/undry_device-onvif-camera_PR-436@tmp:/w/workspace/undry_device-onvif-camera_PR-436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:40:10 $ docker top bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 -eo pid,comm 09:40:10 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). 09:40:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:40:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:40:10 [ssh-agent] Looking for ssh-agent implementation... 09:40:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:40:10 $ docker exec bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 ssh-agent 09:40:10 SSH_AUTH_SOCK=/tmp/ssh-qoU0eJDFWAF6/agent.31 09:40:10 SSH_AGENT_PID=37 09:40:10 Running ssh-add (command line suppressed) 09:40:10 Identity added: /w/workspace/undry_device-onvif-camera_PR-436@tmp/private_key_13797043420878485613.key (/w/workspace/undry_device-onvif-camera_PR-436@tmp/private_key_13797043420878485613.key) 09:40:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:40:11 + git tag --points-at HEAD [Pipeline] } 09:40:11 $ docker exec --env ******** --env ******** bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 ssh-agent -k 09:40:11 unset SSH_AUTH_SOCK; 09:40:11 unset SSH_AGENT_PID; 09:40:11 echo Agent pid 37 killed; 09:40:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:40:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:40:11 [ssh-agent] Looking for ssh-agent implementation... 09:40:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:40:11 $ docker exec bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 ssh-agent 09:40:11 SSH_AUTH_SOCK=/tmp/ssh-7DGhbXXGtksx/agent.70 09:40:11 SSH_AGENT_PID=76 09:40:11 Running ssh-add (command line suppressed) 09:40:11 Identity added: /w/workspace/undry_device-onvif-camera_PR-436@tmp/private_key_6704999005069352228.key (/w/workspace/undry_device-onvif-camera_PR-436@tmp/private_key_6704999005069352228.key) 09:40:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:40:11 + git semver init 09:40:12 2024-05-27 09:40:12,054 [run_init] DEBUG init version:0.0.0 force:False 09:40:12 2024-05-27 09:40:12,055 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-436/.semver 09:40:12 2024-05-27 09:40:12,055 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-436/.semver 09:40:12 2024-05-27 09:40:12,056 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-436/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-436, universal_newlines=False, shell=None, istream=None) 09:40:13 2024-05-27 09:40:13,355 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-436/.git/info/exclude 09:40:13 2024-05-27 09:40:13,356 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-436/.semver/PR-436 with force:False 09:40:13 2024-05-27 09:40:13,356 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-436/.semver/PR-436 09:40:13 2024-05-27 09:40:13,360 [execute] INFO git cat-file --batch-check 09:40:13 2024-05-27 09:40:13,361 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-436/.semver, universal_newlines=False, shell=None, istream=) 09:40:13 2024-05-27 09:40:13,366 [execute] INFO git cat-file --batch 09:40:13 2024-05-27 09:40:13,367 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-436/.semver, universal_newlines=False, shell=None, istream=) 09:40:13 2024-05-27 09:40:13,371 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-436/.semver/PR-436 09:40:13 0.0.0 [Pipeline] } 09:40:13 $ docker exec --env ******** --env ******** bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 ssh-agent -k 09:40:13 unset SSH_AUTH_SOCK; 09:40:13 unset SSH_AGENT_PID; 09:40:13 echo Agent pid 76 killed; 09:40:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:40:14 + git semver [Pipeline] } 09:40:14 $ docker stop --time=1 bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 09:40:15 $ docker rm -f --volumes bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 [Pipeline] // withDockerContainer [Pipeline] sh 09:40:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:40:16 Stashed 1 file(s) [Pipeline] echo 09:40:16 [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 09:40:17 provisioning config files... 09:40:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-436@tmp/config9234350433406451404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:40:17 ---> ****-login.sh 09:40:17 nexus3.edgexfoundry.org:10001 09:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:17 Configure a credential helper to remove this warning. See 09:40:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:17 09:40:17 Login Succeeded 09:40:17 nexus3.edgexfoundry.org:10002 09:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:17 Configure a credential helper to remove this warning. See 09:40:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:17 09:40:17 Login Succeeded 09:40:17 nexus3.edgexfoundry.org:10003 09:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:17 Configure a credential helper to remove this warning. See 09:40:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:17 09:40:17 Login Succeeded 09:40:17 nexus3.edgexfoundry.org:10004 09:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:17 Configure a credential helper to remove this warning. See 09:40:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:17 09:40:17 Login Succeeded 09:40:17 ****.io 09:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:18 Configure a credential helper to remove this warning. See 09:40:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:18 09:40:18 Login Succeeded 09:40:18 ---> ****-login.sh ends [Pipeline] } 09:40:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:40:18 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 09:40:18 + grep ^go [0-9].[0-9]* go.mod 09:40:18 + cut -d -f 2 [Pipeline] echo 09:40:18 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:40:18 ========================================================= 09:40:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 09:40:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 09:40:19 Sending build context to Docker daemon 66.92MB 09:40:19 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 09:40:19 Step 2/13 : FROM ${BASE} AS builder 09:40:19 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 09:40:19 619be1103602: Pulling fs layer 09:40:19 7862e08f4a3e: Pulling fs layer 09:40:19 5df492c9dc93: Pulling fs layer 09:40:19 7629e6793208: Pulling fs layer 09:40:19 4f4fb700ef54: Pulling fs layer 09:40:19 8de7f028bff5: Pulling fs layer 09:40:19 44042ff1420b: Pulling fs layer 09:40:19 5cdaf54b7214: Pulling fs layer 09:40:19 38f3e5a9071a: Pulling fs layer 09:40:19 7629e6793208: Waiting 09:40:19 44042ff1420b: Waiting 09:40:19 4f4fb700ef54: Waiting 09:40:19 5cdaf54b7214: Waiting 09:40:19 38f3e5a9071a: Waiting 09:40:19 8de7f028bff5: Waiting 09:40:19 7862e08f4a3e: Verifying Checksum 09:40:19 7862e08f4a3e: Download complete 09:40:19 7629e6793208: Verifying Checksum 09:40:19 7629e6793208: Download complete 09:40:19 4f4fb700ef54: Verifying Checksum 09:40:19 4f4fb700ef54: Download complete 09:40:19 8de7f028bff5: Download complete 09:40:19 619be1103602: Download complete 09:40:19 44042ff1420b: Verifying Checksum 09:40:19 44042ff1420b: Download complete 09:40:20 619be1103602: Pull complete 09:40:20 38f3e5a9071a: Verifying Checksum 09:40:20 7862e08f4a3e: Pull complete 09:40:20 5df492c9dc93: Verifying Checksum 09:40:20 5df492c9dc93: Download complete 09:40:20 5cdaf54b7214: Verifying Checksum 09:40:20 5cdaf54b7214: Download complete 09:40:23 5df492c9dc93: Pull complete 09:40:23 7629e6793208: Pull complete 09:40:23 4f4fb700ef54: Pull complete 09:40:23 8de7f028bff5: Pull complete 09:40:23 44042ff1420b: Pull complete 09:40:25 5cdaf54b7214: Pull complete 09:40:27 38f3e5a9071a: Pull complete 09:40:27 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 09:40:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 09:40:27 ---> 60b93f829570 09:40:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:40:31 Still waiting to schedule task 09:40:31 ‘prd-centos7-blackbox-4c-2g-738’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 09:40:31 ‘prd-ubuntu20.04-docker-8c-8g-837’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 09:40:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-839’ is offline 09:40:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-842’ is offline 09:40:35 ---> Running in 682fe7d8d0d1 09:40:35 Removing intermediate container 682fe7d8d0d1 09:40:35 ---> 9044eabbe451 09:40:35 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:40:35 ---> Running in 99a632f2a9ad 09:40:35 Removing intermediate container 99a632f2a9ad 09:40:35 ---> c299842f3a9b 09:40:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 09:40:35 ---> Running in 30cf6047daf5 09:40:35 Removing intermediate container 30cf6047daf5 09:40:35 ---> 9f8fa9286557 09:40:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:40:35 ---> Running in fcb17e58fbd9 09:40:35 Removing intermediate container fcb17e58fbd9 09:40:35 ---> 4badcc552dd3 09:40:35 Step 7/13 : LABEL Name=edgex-device-onvif-camera 09:40:35 ---> Running in 586c6357fc9a 09:40:35 Removing intermediate container 586c6357fc9a 09:40:35 ---> 5fcc274128de 09:40:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:40:35 ---> Running in 432770634e8f 09:40:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:40:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:40:36 OK: 264 MiB in 52 packages 09:40:36 Removing intermediate container 432770634e8f 09:40:36 ---> 2629db998b62 09:40:36 Step 9/13 : WORKDIR /device-onvif-camera 09:40:36 ---> Running in 949efcb101cd 09:40:36 Removing intermediate container 949efcb101cd 09:40:36 ---> 20e48473244a 09:40:36 Step 10/13 : COPY go.mod vendor* ./ 09:40:38 ---> 4c7c20108cca 09:40:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:40:38 ---> Running in 44a75720e1c3 09:41:18 Removing intermediate container 44a75720e1c3 09:41:18 ---> b3e5d802a370 09:41:18 Step 12/13 : COPY . . 09:41:18 ---> cd6dcc2c1fa2 09:41:18 Step 13/13 : RUN ${MAKE} 09:41:18 ---> Running in 455f23a5b50b 09:41:18 noop 09:41:18 Removing intermediate container 455f23a5b50b 09:41:18 ---> c91ff46210f6 09:41:18 Successfully built c91ff46210f6 09:41:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:18 + docker inspect -f . ci-base-image-x86_64 09:41:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:41:19 prd-ubuntu20.04-docker-8c-8g-841 does not seem to be running inside a container 09:41:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-436 -v /w/workspace/undry_device-onvif-camera_PR-436:/w/workspace/undry_device-onvif-camera_PR-436:rw,z -v /w/workspace/undry_device-onvif-camera_PR-436@tmp:/w/workspace/undry_device-onvif-camera_PR-436@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 ******** -e ******** ci-base-image-x86_64 cat 09:41:19 $ docker top d75fb26e371d8276cb63e39f1f76e7a079219570d82c76e64324917c43f3d380 -eo pid,comm [Pipeline] { [Pipeline] sh 09:41:19 + go version 09:41:19 go version go1.21.9 linux/amd64 [Pipeline] } 09:41:19 $ docker stop --time=1 d75fb26e371d8276cb63e39f1f76e7a079219570d82c76e64324917c43f3d380 09:41:21 $ docker rm -f --volumes d75fb26e371d8276cb63e39f1f76e7a079219570d82c76e64324917c43f3d380 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:21 + docker inspect -f . ci-base-image-x86_64 09:41:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:41:22 prd-ubuntu20.04-docker-8c-8g-841 does not seem to be running inside a container 09:41:22 $ 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-436 -v /w/workspace/undry_device-onvif-camera_PR-436:/w/workspace/undry_device-onvif-camera_PR-436:rw,z -v /w/workspace/undry_device-onvif-camera_PR-436@tmp:/w/workspace/undry_device-onvif-camera_PR-436@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 ******** -e ******** ci-base-image-x86_64 cat 09:41:22 $ docker top 734080cad9add8c377ec28c242c6d29b49e3ab847ea99119e1f87fa3999911c8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:41:22 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-436 [Pipeline] fileExists [Pipeline] sh 09:41:23 + make test 09:41:23 go test ./... -coverprofile=coverage.out ./... 09:41:26 ? github.com/edgexfoundry/device-onvif-camera [no test files] 09:41:36 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 09:41:36 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 09:41:38 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.5% of statements 09:41:38 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.181s coverage: 86.5% of statements 09:41:45 go vet ./... 09:41:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:41:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:41:49 ./bin/test-attribution-txt.sh [Pipeline] echo 09:41:49 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:41:50 + go mod tidy [Pipeline] } 09:41:50 $ docker stop --time=1 734080cad9add8c377ec28c242c6d29b49e3ab847ea99119e1f87fa3999911c8 09:41:53 $ docker rm -f --volumes 734080cad9add8c377ec28c242c6d29b49e3ab847ea99119e1f87fa3999911c8 [Pipeline] // withDockerContainer [Pipeline] sh 09:41:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:41:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:41:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:41:54 + ls -al . 09:41:54 total 244 09:41:54 drwxrwxr-x 10 jenkins jenkins 4096 May 27 09:41 . 09:41:54 drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:39 .. 09:41:54 drwxrwxr-x 8 jenkins jenkins 4096 May 27 09:41 .git 09:41:54 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:39 .github 09:41:54 -rw-rw-r-- 1 jenkins jenkins 493 May 27 09:39 .gitignore 09:41:54 -rw-rw-r-- 1 jenkins jenkins 42 May 27 09:39 .golangci.yml 09:41:54 drwxr-xr-x 3 jenkins jenkins 4096 May 27 09:40 .semver 09:41:54 -rw-rw-r-- 1 jenkins jenkins 11174 May 27 09:39 Attribution.txt 09:41:54 -rw-rw-r-- 1 jenkins jenkins 17665 May 27 09:39 CHANGELOG.md 09:41:54 -rw-rw-r-- 1 jenkins jenkins 1683 May 27 09:39 Dockerfile 09:41:54 -rw-rw-r-- 1 jenkins jenkins 677 May 27 09:39 GOVERNANCE.md 09:41:54 -rw-rw-r-- 1 jenkins jenkins 739 May 27 09:39 Jenkinsfile 09:41:54 -rw-rw-r-- 1 jenkins jenkins 11348 May 27 09:39 LICENSE 09:41:54 -rw-rw-r-- 1 jenkins jenkins 2877 May 27 09:39 Makefile 09:41:54 -rw-rw-r-- 1 jenkins jenkins 625 May 27 09:39 OWNERS.md 09:41:54 -rw-rw-r-- 1 jenkins jenkins 2620 May 27 09:39 README.md 09:41:54 -rw-rw-r-- 1 jenkins jenkins 5 May 27 09:40 VERSION 09:41:54 drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:39 bin 09:41:54 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:39 cmd 09:41:54 -rw-r--r-- 1 jenkins jenkins 78456 May 27 09:41 coverage.out 09:41:54 drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:39 doc 09:41:54 -rw-rw-r-- 1 jenkins jenkins 4010 May 27 09:39 go.mod 09:41:54 -rw-rw-r-- 1 jenkins jenkins 34789 May 27 09:39 go.sum 09:41:54 drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:39 internal 09:41:54 drwxrwxr-x 6 jenkins jenkins 4096 May 27 09:39 vendor 09:41:54 -rw-rw-r-- 1 jenkins jenkins 236 May 27 09:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:55 + 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=393248944dc81822e0679d469390d8659acd64b6 --label arch=amd64 --label version=0.0.0 . 09:41:55 Sending build context to Docker daemon 67MB 09:41:55 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 09:41:55 Step 2/27 : FROM ${BASE} AS builder 09:41:55 ---> c91ff46210f6 09:41:55 Step 3/27 : ARG ADD_BUILD_TAGS="" 09:41:56 ---> Running in e3430766844a 09:41:56 Removing intermediate container e3430766844a 09:41:56 ---> 5f35fcc8c3d4 09:41:56 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:41:56 ---> Running in cba8af980386 09:41:56 Removing intermediate container cba8af980386 09:41:56 ---> 29ebdd6f7882 09:41:56 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 09:41:56 ---> Running in 8187c5bb98b5 09:41:56 Removing intermediate container 8187c5bb98b5 09:41:56 ---> 6a8b40affd7e 09:41:56 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 09:41:56 ---> Running in 9167382f00bf 09:41:56 Removing intermediate container 9167382f00bf 09:41:56 ---> 447eb9ef917d 09:41:56 Step 7/27 : LABEL Name=edgex-device-onvif-camera 09:41:56 ---> Running in 3d54fb98c7c5 09:41:56 Removing intermediate container 3d54fb98c7c5 09:41:56 ---> b2d25c7d5828 09:41:56 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:41:56 ---> Running in e81d3adcdfbc 09:41:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:41:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:41:57 OK: 264 MiB in 52 packages 09:41:57 Removing intermediate container e81d3adcdfbc 09:41:57 ---> 79d712471171 09:41:57 Step 9/27 : WORKDIR /device-onvif-camera 09:41:57 ---> Running in 5eab34b3e8df 09:41:57 Removing intermediate container 5eab34b3e8df 09:41:57 ---> 9dd1368b56ef 09:41:57 Step 10/27 : COPY go.mod vendor* ./ 09:41:59 ---> 3dff9ed55463 09:41:59 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:41:59 ---> Running in de9c5971f890 09:41:59 skipping... 09:41:59 Removing intermediate container de9c5971f890 09:41:59 ---> 1c8a9af8a6b9 09:41:59 Step 12/27 : COPY . . 09:42:02 ---> e5eeb3c4ff8d 09:42:02 Step 13/27 : RUN ${MAKE} 09:42:02 ---> Running in 670ee4a87240 09:42:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 09:42:24 Removing intermediate container 670ee4a87240 09:42:24 ---> e2379dcf8954 09:42:24 Step 14/27 : FROM alpine:3.18 09:42:24 3.18: Pulling from library/alpine 09:42:24 619be1103602: Already exists 09:42:24 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:42:24 Status: Downloaded newer image for alpine:3.18 09:42:24 ---> d3782b16ccc9 09:42:24 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 09:42:24 ---> Running in 1dd81e7d4ee5 09:42:24 Removing intermediate container 1dd81e7d4ee5 09:42:24 ---> 7c19971c24b9 09:42:24 Step 16/27 : RUN apk add --update --no-cache dumb-init 09:42:24 ---> Running in 23d01efc98f3 09:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:42:24 (1/1) Installing dumb-init (1.2.5-r2) 09:42:24 Executing busybox-1.36.1-r5.trigger 09:42:24 OK: 7 MiB in 16 packages 09:42:24 Removing intermediate container 23d01efc98f3 09:42:24 ---> c574bc4c1d9e 09:42:24 Step 17/27 : RUN apk --no-cache upgrade 09:42:24 ---> Running in 9d5fd8b9d58a 09:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:42:24 Upgrading critical system libraries and apk-tools: 09:42:24 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:42:24 Executing busybox-1.36.1-r5.trigger 09:42:24 Continuing the upgrade transaction with new apk-tools: 09:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:42:24 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:42:24 Executing busybox-1.36.1-r6.post-upgrade 09:42:24 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:42:24 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:42:24 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:42:24 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:42:24 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:42:24 Executing busybox-1.36.1-r6.trigger 09:42:24 OK: 7 MiB in 16 packages 09:42:24 Removing intermediate container 9d5fd8b9d58a 09:42:24 ---> dde3bc6f67ef 09:42:24 Step 18/27 : WORKDIR / 09:42:24 ---> Running in e3814a2a7840 09:42:24 Removing intermediate container e3814a2a7840 09:42:24 ---> 868f135d9378 09:42:24 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 09:42:25 ---> b56ecf452764 09:42:25 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 09:42:25 ---> 7cd48aa2571b 09:42:25 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 09:42:25 ---> 3240895d5e3f 09:42:25 Step 22/27 : EXPOSE 59984 09:42:25 ---> Running in cd221f57e271 09:42:25 Removing intermediate container cd221f57e271 09:42:25 ---> a8d342379844 09:42:25 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 09:42:25 ---> Running in f1cd6cb209c0 09:42:25 Removing intermediate container f1cd6cb209c0 09:42:25 ---> e7d0aecae519 09:42:25 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:42:25 ---> Running in 230f28bd678c 09:42:25 Removing intermediate container 230f28bd678c 09:42:25 ---> 02ed2b8231f0 09:42:25 Step 25/27 : LABEL arch=amd64 09:42:25 ---> Running in a0d91b46c7e8 09:42:26 Removing intermediate container a0d91b46c7e8 09:42:26 ---> 14ff7a456c91 09:42:26 Step 26/27 : LABEL git_sha=393248944dc81822e0679d469390d8659acd64b6 09:42:26 ---> Running in 4ffe484f5c67 09:42:26 Removing intermediate container 4ffe484f5c67 09:42:26 ---> 24e60618606f 09:42:26 Step 27/27 : LABEL version=0.0.0 09:42:26 ---> Running in 39ced96ac0bb 09:42:26 Removing intermediate container 39ced96ac0bb 09:42:26 ---> c0e438b4ee96 09:42:26 [Warning] One or more build-args [ARCH] were not consumed 09:42:26 Successfully built c0e438b4ee96 09:42:26 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:42:27 09:42:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:42:27 latest: Pulling from edgex-lftools-log-publisher 09:42:27 5eb5b503b376: Pulling fs layer 09:42:27 5c69ac0246d0: Pulling fs layer 09:42:27 ec43610c2a17: Pulling fs layer 09:42:27 3a2ae6a8a46f: Pulling fs layer 09:42:27 33b1e0a273af: Pulling fs layer 09:42:27 33b1e0a273af: Waiting 09:42:27 5d3b04190fa2: Pulling fs layer 09:42:27 2f39f015ded8: Pulling fs layer 09:42:27 3a2ae6a8a46f: Waiting 09:42:27 2f39f015ded8: Waiting 09:42:27 5d3b04190fa2: Waiting 09:42:27 5c69ac0246d0: Download complete 09:42:27 3a2ae6a8a46f: Verifying Checksum 09:42:27 3a2ae6a8a46f: Download complete 09:42:27 33b1e0a273af: Verifying Checksum 09:42:27 33b1e0a273af: Download complete 09:42:27 ec43610c2a17: Verifying Checksum 09:42:27 ec43610c2a17: Download complete 09:42:27 5d3b04190fa2: Download complete 09:42:28 5eb5b503b376: Verifying Checksum 09:42:28 5eb5b503b376: Download complete 09:42:28 5eb5b503b376: Pull complete 09:42:29 5c69ac0246d0: Pull complete 09:42:29 ec43610c2a17: Pull complete 09:42:29 3a2ae6a8a46f: Pull complete 09:42:29 33b1e0a273af: Pull complete 09:42:29 5d3b04190fa2: Pull complete 09:42:33 2f39f015ded8: Pull complete 09:42:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:42:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:42:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:34 prd-ubuntu20.04-docker-8c-8g-841 does not seem to be running inside a container 09:42:34 $ 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-436 -v /w/workspace/undry_device-onvif-camera_PR-436:/w/workspace/undry_device-onvif-camera_PR-436:rw,z -v /w/workspace/undry_device-onvif-camera_PR-436@tmp:/w/workspace/undry_device-onvif-camera_PR-436@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:42:37 $ docker top 97229b1d281ce698cdb13bddf7310c9e8f5e18e076ea3a6651c30b2bca2d6372 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:42:37 ---> job-cost.sh 09:42:37 lf-activate-venv: SKIPPING 09:42:37 INFO: No Stack... 09:42:37 INFO: Retrieving Pricing Info for: v3-standard-8 09:42:38 INFO: Archiving Costs [Pipeline] sh 09:42:38 + cat /w/workspace/undry_device-onvif-camera_PR-436/archives/cost.csv 09:42:38 + cut -d, -f6 [Pipeline] lock 09:42:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] 09:42:38 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] did not exist. Created. 09:42:38 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:42:39 + echo total: 0.2199999988079071 [Pipeline] stash 09:42:39 Stashed 1 file(s) [Pipeline] } 09:42:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:42:39 $ docker stop --time=1 97229b1d281ce698cdb13bddf7310c9e8f5e18e076ea3a6651c30b2bca2d6372 09:42:40 $ docker rm -f --volumes 97229b1d281ce698cdb13bddf7310c9e8f5e18e076ea3a6651c30b2bca2d6372 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:43:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-843 in /w/workspace/undry_device-onvif-camera_PR-436 [Pipeline] { [Pipeline] ws 09:43:12 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 09:43:12 The recommended git tool is: git 09:43:21 using credential edgex-jenkins-ssh 09:43:21 Cloning the remote Git repository 09:43:21 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 09:43:21 > git init /w/workspace/device-onvif-camera/1 # timeout=10 09:43:21 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 09:43:21 > git --version # timeout=10 09:43:21 > git --version # 'git version 2.25.1' 09:43:21 using GIT_SSH to set credentials SSH Credentials for GitHub 09:43:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:43:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 09:43:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:43:26 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 09:43:26 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 09:43:26 using GIT_SSH to set credentials SSH Credentials for GitHub 09:43:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/436/head:refs/remotes/origin/PR-436 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 09:43:27 Merging remotes/origin/napa commit 347bedc82416808981921f39711ea6e4405fc751 into PR head commit 393248944dc81822e0679d469390d8659acd64b6 09:43:28 > git config core.sparsecheckout # timeout=10 09:43:28 > git checkout -f 393248944dc81822e0679d469390d8659acd64b6 # timeout=10 09:43:29 Merge succeeded, producing 393248944dc81822e0679d469390d8659acd64b6 09:43:29 Checking out Revision 393248944dc81822e0679d469390d8659acd64b6 (PR-436) 09:43:29 > git remote # timeout=10 09:43:29 > git config --get remote.origin.url # timeout=10 09:43:29 using GIT_SSH to set credentials SSH Credentials for GitHub 09:43:29 > git merge 347bedc82416808981921f39711ea6e4405fc751 # timeout=10 09:43:29 > git rev-parse HEAD^{commit} # timeout=10 09:43:29 > git config core.sparsecheckout # timeout=10 09:43:29 > git checkout -f 393248944dc81822e0679d469390d8659acd64b6 # timeout=10 09:43:30 Commit message: "build: Bump SDK to v3.1.1" 09:43:30 > git --version # timeout=10 09:43:30 > git --version # 'git version 2.25.1' 09:43:30 fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:43:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:43:35 % Total % Received % Xferd Average Speed Time Time Time Current 09:43:35 Dload Upload Total Spent Left Speed 09:43:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 09:43:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:43:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 09:43:36 sudo tee /etc/docker/daemon.new 09:43:36 { 09:43:36 "registry-mirrors": [ 09:43:36 "https://nexus3.edgexfoundry.org:10001" 09:43:36 ], 09:43:36 "bip": "10.250.0.254/24", 09:43:36 "hosts": [ 09:43:36 "tcp://0.0.0.0:5555", 09:43:36 "unix:///var/run/docker.sock" 09:43:36 ], 09:43:36 "mtu": 1458, 09:43:36 "selinux-enabled": true, 09:43:36 "seccomp-profile": "/etc/docker/seccomp.json" 09:43:36 } [Pipeline] sh 09:43:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:43:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:43:55 provisioning config files... 09:43:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2716546308463002453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:56 ---> ****-login.sh 09:43:56 nexus3.edgexfoundry.org:10001 09:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:56 Configure a credential helper to remove this warning. See 09:43:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:56 09:43:56 Login Succeeded 09:43:56 nexus3.edgexfoundry.org:10002 09:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:57 Configure a credential helper to remove this warning. See 09:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:57 09:43:57 Login Succeeded 09:43:57 nexus3.edgexfoundry.org:10003 09:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:57 Configure a credential helper to remove this warning. See 09:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:57 09:43:57 Login Succeeded 09:43:57 nexus3.edgexfoundry.org:10004 09:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:57 Configure a credential helper to remove this warning. See 09:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:57 09:43:57 Login Succeeded 09:43:57 ****.io 09:43:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:58 Configure a credential helper to remove this warning. See 09:43:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:58 09:43:58 Login Succeeded 09:43:58 ---> ****-login.sh ends [Pipeline] } 09:43:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:43:59 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 09:43:59 + + cut -d -f 2 09:43:59 grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 09:43:59 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:43:59 ========================================================= 09:43:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 09:43:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 09:44:02 Sending build context to Docker daemon 53.12MB 09:44:02 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 09:44:02 Step 2/13 : FROM ${BASE} AS builder 09:44:02 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 09:44:02 c6b39de5b339: Pulling fs layer 09:44:02 a69c41024577: Pulling fs layer 09:44:02 d6de4b400683: Pulling fs layer 09:44:02 35cb2a7552d0: Pulling fs layer 09:44:02 4f4fb700ef54: Pulling fs layer 09:44:02 9e011611b7f5: Pulling fs layer 09:44:02 3bd174042beb: Pulling fs layer 09:44:02 4476f39b5e91: Pulling fs layer 09:44:02 4f4fb700ef54: Waiting 09:44:02 9e011611b7f5: Waiting 09:44:02 3bd174042beb: Waiting 09:44:02 4476f39b5e91: Waiting 09:44:02 35cb2a7552d0: Waiting 09:44:02 a69c41024577: Download complete 09:44:02 35cb2a7552d0: Verifying Checksum 09:44:02 35cb2a7552d0: Download complete 09:44:03 4f4fb700ef54: Verifying Checksum 09:44:03 4f4fb700ef54: Download complete 09:44:03 9e011611b7f5: Verifying Checksum 09:44:03 9e011611b7f5: Download complete 09:44:03 c6b39de5b339: Download complete 09:44:03 4476f39b5e91: Verifying Checksum 09:44:03 4476f39b5e91: Download complete 09:44:04 c6b39de5b339: Pull complete 09:44:04 a69c41024577: Pull complete 09:44:04 d6de4b400683: Verifying Checksum 09:44:04 d6de4b400683: Download complete 09:44:06 3bd174042beb: Verifying Checksum 09:44:06 3bd174042beb: Download complete 09:44:18 d6de4b400683: Pull complete 09:44:18 35cb2a7552d0: Pull complete 09:44:18 4f4fb700ef54: Pull complete 09:44:19 9e011611b7f5: Pull complete 09:44:29 3bd174042beb: Pull complete 09:44:30 4476f39b5e91: Pull complete 09:44:30 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 09:44:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 09:44:30 ---> 981a0608b64a 09:44:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:44:32 ---> Running in fbafcd09733c 09:44:32 Removing intermediate container fbafcd09733c 09:44:32 ---> 7749bd951e33 09:44:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:44:32 ---> Running in 6d902e3966c4 09:44:33 Removing intermediate container 6d902e3966c4 09:44:33 ---> e4229d19ba4d 09:44:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 09:44:33 ---> Running in 90fd8d166e66 09:44:33 Removing intermediate container 90fd8d166e66 09:44:33 ---> 873470542618 09:44:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:44:33 ---> Running in d48ff942ee0a 09:44:33 Removing intermediate container d48ff942ee0a 09:44:33 ---> 4e9cbfe122e1 09:44:33 Step 7/13 : LABEL Name=edgex-device-onvif-camera 09:44:34 ---> Running in a87bf354c975 09:44:34 Removing intermediate container a87bf354c975 09:44:34 ---> a555b5a3b7b3 09:44:34 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:44:34 ---> Running in f6d52d6169fc 09:44:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:44:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:44:37 OK: 266 MiB in 52 packages 09:44:38 Removing intermediate container f6d52d6169fc 09:44:38 ---> 4157beea8b86 09:44:38 Step 9/13 : WORKDIR /device-onvif-camera 09:44:38 ---> Running in c1311e7afaf9 09:44:38 Removing intermediate container c1311e7afaf9 09:44:38 ---> 13d423bb9942 09:44:38 Step 10/13 : COPY go.mod vendor* ./ 09:44:46 ---> ce0ece60c138 09:44:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:44:46 ---> Running in 246c4604b552 09:45:42 Removing intermediate container 246c4604b552 09:45:42 ---> 900678f3d946 09:45:42 Step 12/13 : COPY . . 09:45:51 ---> fdda711d8459 09:45:51 Step 13/13 : RUN ${MAKE} 09:45:51 ---> Running in 69839488dd13 09:45:51 noop 09:45:52 Removing intermediate container 69839488dd13 09:45:52 ---> d0452e3dd250 09:45:52 Successfully built d0452e3dd250 09:45:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:53 + docker inspect -f . ci-base-image-arm64 09:45:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:53 prd-ubuntu20.04-docker-arm64-4c-16g-843 does not seem to be running inside a container 09:45:53 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:45:54 $ docker top 82326583e0c1a9bc1e61687e2df0dc5540cede8ed4e1ae7089f636e53c28a4b1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:45:55 + go version 09:45:55 go version go1.21.9 linux/arm64 [Pipeline] } 09:45:55 $ docker stop --time=1 82326583e0c1a9bc1e61687e2df0dc5540cede8ed4e1ae7089f636e53c28a4b1 09:45:57 $ docker rm -f --volumes 82326583e0c1a9bc1e61687e2df0dc5540cede8ed4e1ae7089f636e53c28a4b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:58 + docker inspect -f . ci-base-image-arm64 09:45:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:58 prd-ubuntu20.04-docker-arm64-4c-16g-843 does not seem to be running inside a container 09:45:58 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:45:59 $ docker top 5f4080963753eff2bba13e6d8138625ddabae9da059eb8cbaf7972411a03f0d5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:46:00 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 09:46:00 + make test 09:46:00 go test ./... -coverprofile=coverage.out ./... 09:46:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 09:48:10 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 09:48:10 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 09:48:12 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.203s coverage: 31.5% of statements 09:48:39 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.799s coverage: 86.5% of statements 09:48:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:48:39 go vet ./... 09:49:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:49:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:49:11 ./bin/test-attribution-txt.sh [Pipeline] echo 09:49:11 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:49:12 + go mod tidy [Pipeline] } 09:49:15 $ docker stop --time=1 5f4080963753eff2bba13e6d8138625ddabae9da059eb8cbaf7972411a03f0d5 09:49:17 $ docker rm -f --volumes 5f4080963753eff2bba13e6d8138625ddabae9da059eb8cbaf7972411a03f0d5 [Pipeline] // withDockerContainer [Pipeline] sh 09:49:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:49:19 Warning: overwriting stash ‘coverage-report’ 09:49:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:49:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:49:21 + ls -al . 09:49:21 total 240 09:49:21 drwxrwxr-x 9 jenkins jenkins 4096 May 27 09:46 . 09:49:21 drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:43 .. 09:49:21 drwxrwxr-x 8 jenkins jenkins 4096 May 27 09:43 .git 09:49:21 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:43 .github 09:49:21 -rw-rw-r-- 1 jenkins jenkins 493 May 27 09:43 .gitignore 09:49:21 -rw-rw-r-- 1 jenkins jenkins 42 May 27 09:43 .golangci.yml 09:49:21 -rw-rw-r-- 1 jenkins jenkins 11174 May 27 09:43 Attribution.txt 09:49:21 -rw-rw-r-- 1 jenkins jenkins 17665 May 27 09:43 CHANGELOG.md 09:49:21 -rw-rw-r-- 1 jenkins jenkins 1683 May 27 09:43 Dockerfile 09:49:21 -rw-rw-r-- 1 jenkins jenkins 677 May 27 09:43 GOVERNANCE.md 09:49:21 -rw-rw-r-- 1 jenkins jenkins 739 May 27 09:43 Jenkinsfile 09:49:21 -rw-rw-r-- 1 jenkins jenkins 11348 May 27 09:43 LICENSE 09:49:21 -rw-rw-r-- 1 jenkins jenkins 2877 May 27 09:43 Makefile 09:49:21 -rw-rw-r-- 1 jenkins jenkins 625 May 27 09:43 OWNERS.md 09:49:21 -rw-rw-r-- 1 jenkins jenkins 2620 May 27 09:43 README.md 09:49:21 -rw-rw-r-- 1 jenkins jenkins 5 May 27 09:40 VERSION 09:49:21 drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:43 bin 09:49:21 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:43 cmd 09:49:21 -rw-r--r-- 1 jenkins jenkins 78456 May 27 09:48 coverage.out 09:49:21 drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:43 doc 09:49:21 -rw-rw-r-- 1 jenkins jenkins 4010 May 27 09:43 go.mod 09:49:21 -rw-rw-r-- 1 jenkins jenkins 34789 May 27 09:43 go.sum 09:49:21 drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:43 internal 09:49:21 drwxrwxr-x 6 jenkins jenkins 4096 May 27 09:43 vendor 09:49:21 -rw-rw-r-- 1 jenkins jenkins 236 May 27 09:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:21 + 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=393248944dc81822e0679d469390d8659acd64b6 --label arch=arm64 --label version=0.0.0 . 09:49:24 Sending build context to Docker daemon 53.2MB 09:49:24 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 09:49:24 Step 2/27 : FROM ${BASE} AS builder 09:49:24 ---> d0452e3dd250 09:49:24 Step 3/27 : ARG ADD_BUILD_TAGS="" 09:49:24 ---> Running in c781a4c94778 09:49:24 Removing intermediate container c781a4c94778 09:49:24 ---> 074e6b25dd0c 09:49:24 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:49:24 ---> Running in a5e5b0fc673a 09:49:25 Removing intermediate container a5e5b0fc673a 09:49:25 ---> 25c38ce28fd1 09:49:25 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 09:49:25 ---> Running in c71a85580189 09:49:25 Removing intermediate container c71a85580189 09:49:25 ---> e863611014ca 09:49:25 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 09:49:25 ---> Running in 48227c73618f 09:49:25 Removing intermediate container 48227c73618f 09:49:25 ---> cecdb15fad69 09:49:25 Step 7/27 : LABEL Name=edgex-device-onvif-camera 09:49:25 ---> Running in e06da5695cf2 09:49:26 Removing intermediate container e06da5695cf2 09:49:26 ---> 1804ba4b0d33 09:49:26 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:49:26 ---> Running in 56d04266398a 09:49:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:49:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:49:28 OK: 266 MiB in 52 packages 09:49:29 Removing intermediate container 56d04266398a 09:49:29 ---> 8a3bdcd95a62 09:49:29 Step 9/27 : WORKDIR /device-onvif-camera 09:49:29 ---> Running in 1d97be80e9c3 09:49:30 Removing intermediate container 1d97be80e9c3 09:49:30 ---> 4b4116b1539d 09:49:30 Step 10/27 : COPY go.mod vendor* ./ 09:49:38 ---> 94f493c686ee 09:49:38 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:49:38 ---> Running in c905191a38eb 09:49:38 skipping... 09:49:39 Removing intermediate container c905191a38eb 09:49:39 ---> cec6d2cdea15 09:49:39 Step 12/27 : COPY . . 09:49:49 ---> 25a352997ed4 09:49:49 Step 13/27 : RUN ${MAKE} 09:49:49 ---> Running in 0357e7584a58 09:49:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 09:52:26 Removing intermediate container 0357e7584a58 09:52:26 ---> a5fd7099562e 09:52:26 Step 14/27 : FROM alpine:3.18 09:52:26 3.18: Pulling from library/alpine 09:52:26 c6b39de5b339: Already exists 09:52:26 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:52:26 Status: Downloaded newer image for alpine:3.18 09:52:26 ---> 33abbf032149 09:52:26 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 09:52:26 ---> Running in 2bc8c74bfc9b 09:52:26 Removing intermediate container 2bc8c74bfc9b 09:52:26 ---> c0ef45fa72e9 09:52:26 Step 16/27 : RUN apk add --update --no-cache dumb-init 09:52:26 ---> Running in 6eb585540d3b 09:52:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:52:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:52:26 (1/1) Installing dumb-init (1.2.5-r2) 09:52:26 Executing busybox-1.36.1-r5.trigger 09:52:26 OK: 8 MiB in 16 packages 09:52:26 Removing intermediate container 6eb585540d3b 09:52:26 ---> 49cf83ac2813 09:52:26 Step 17/27 : RUN apk --no-cache upgrade 09:52:26 ---> Running in c0e0cc058e45 09:52:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:52:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:52:26 Upgrading critical system libraries and apk-tools: 09:52:26 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:52:26 Executing busybox-1.36.1-r5.trigger 09:52:26 Continuing the upgrade transaction with new apk-tools: 09:52:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:52:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:52:26 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:52:26 Executing busybox-1.36.1-r6.post-upgrade 09:52:26 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:52:26 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:52:26 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:52:26 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:52:26 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:52:26 Executing busybox-1.36.1-r6.trigger 09:52:26 OK: 8 MiB in 16 packages 09:52:26 Removing intermediate container c0e0cc058e45 09:52:26 ---> 1f3a12a459f5 09:52:26 Step 18/27 : WORKDIR / 09:52:26 ---> Running in d366ae34f03f 09:52:26 Removing intermediate container d366ae34f03f 09:52:26 ---> 97e55f4eeebf 09:52:26 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 09:52:26 ---> 13b3d4a80af5 09:52:26 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 09:52:26 ---> 3ccf6ec4e1a8 09:52:26 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 09:52:26 ---> 9760c34343af 09:52:26 Step 22/27 : EXPOSE 59984 09:52:26 ---> Running in 57a0ded1163e 09:52:26 Removing intermediate container 57a0ded1163e 09:52:26 ---> 6e6bb9cdd454 09:52:26 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 09:52:26 ---> Running in 5948d3b73a81 09:52:26 Removing intermediate container 5948d3b73a81 09:52:26 ---> e78af3148fe9 09:52:26 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:52:26 ---> Running in e296780d51c0 09:52:27 Removing intermediate container e296780d51c0 09:52:27 ---> e06276848f49 09:52:27 Step 25/27 : LABEL arch=arm64 09:52:27 ---> Running in 797f7fbc47dc 09:52:27 Removing intermediate container 797f7fbc47dc 09:52:27 ---> 2778579df851 09:52:27 Step 26/27 : LABEL git_sha=393248944dc81822e0679d469390d8659acd64b6 09:52:27 ---> Running in 3b37c579a260 09:52:28 Removing intermediate container 3b37c579a260 09:52:28 ---> d74ccab78482 09:52:28 Step 27/27 : LABEL version=0.0.0 09:52:28 ---> Running in 5a24c1f47c28 09:52:28 Removing intermediate container 5a24c1f47c28 09:52:28 ---> a4cb41cb2c9e 09:52:28 [Warning] One or more build-args [ARCH] were not consumed 09:52:28 Successfully built a4cb41cb2c9e 09:52:28 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:52:29 09:52:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:52:30 arm64: Pulling from edgex-lftools-log-publisher 09:52:30 8998bd30e6a1: Pulling fs layer 09:52:30 04944245beec: Pulling fs layer 09:52:30 699f458cf7ca: Pulling fs layer 09:52:30 765212b225bb: Pulling fs layer 09:52:30 f23df028b6ca: Pulling fs layer 09:52:30 d65c8cfc05b1: Pulling fs layer 09:52:30 2437ff75d9bd: Pulling fs layer 09:52:30 f23df028b6ca: Waiting 09:52:30 d65c8cfc05b1: Waiting 09:52:30 765212b225bb: Waiting 09:52:30 04944245beec: Download complete 09:52:30 699f458cf7ca: Verifying Checksum 09:52:30 699f458cf7ca: Download complete 09:52:30 f23df028b6ca: Verifying Checksum 09:52:30 f23df028b6ca: Download complete 09:52:30 d65c8cfc05b1: Verifying Checksum 09:52:30 d65c8cfc05b1: Download complete 09:52:31 8998bd30e6a1: Verifying Checksum 09:52:31 8998bd30e6a1: Download complete 09:52:31 765212b225bb: Verifying Checksum 09:52:31 765212b225bb: Download complete 09:52:34 2437ff75d9bd: Download complete 09:52:36 8998bd30e6a1: Pull complete 09:52:36 04944245beec: Pull complete 09:52:38 699f458cf7ca: Pull complete 09:52:38 765212b225bb: Pull complete 09:52:39 f23df028b6ca: Pull complete 09:52:39 d65c8cfc05b1: Pull complete 09:52:57 2437ff75d9bd: Pull complete 09:52:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:52:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:52:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:52:58 prd-ubuntu20.04-docker-arm64-4c-16g-843 does not seem to be running inside a container 09:52:58 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:53:01 $ docker top d51e6b0a2d6536629fdfff85a78784b37fe8153f72c3efa4e4713e5880e253f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:53:02 ---> job-cost.sh 09:53:02 lf-activate-venv: SKIPPING 09:53:02 INFO: No Stack... 09:53:02 INFO: Retrieving Pricing Info for: v3-standard-4 09:53:03 INFO: Archiving Costs [Pipeline] sh 09:53:03 + + catcut /w/workspace/device-onvif-camera/1/archives/cost.csv -d, 09:53:03 -f6 [Pipeline] lock 09:53:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] 09:53:04 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] did not exist. Created. 09:53:04 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:53:04 /w/workspace/device-onvif-camera/1@tmp/durable-152aba16/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:53:05 + echo total: 0.10999999940395355 [Pipeline] stash 09:53:05 Warning: overwriting stash ‘stack-cost’ 09:53:05 Stashed 1 file(s) [Pipeline] } 09:53:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:53:06 $ docker stop --time=1 d51e6b0a2d6536629fdfff85a78784b37fe8153f72c3efa4e4713e5880e253f1 09:53:07 $ docker rm -f --volumes d51e6b0a2d6536629fdfff85a78784b37fe8153f72c3efa4e4713e5880e253f1 [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 09:53:08 provisioning config files... 09:53:08 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-436@tmp/config16784285503759368096tmp [Pipeline] { [Pipeline] sh 09:53:09 + set +x 09:53:09 + curl -s https://codecov.io/bash 09:53:09 + bash -s -- 09:53:09 09:53:09 _____ _ 09:53:09 / ____| | | 09:53:09 | | ___ __| | ___ ___ _____ __ 09:53:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:53:09 | |___| (_) | (_| | __/ (_| (_) \ V / 09:53:09 \_____\___/ \__,_|\___|\___\___/ \_/ 09:53:09 Bash-1.0.6 09:53:09 09:53:09 09:53:09 ==> git version 2.25.1 found 09:53:09 ==> 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 09:53:09 Release-Date: 2020-01-08 09:53:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:53:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:53:09 ==> Jenkins CI detected. 09:53:09 current dir:  /w/workspace/undry_device-onvif-camera_PR-436 09:53:09 project root: . 09:53:09 --> token set from env 09:53:09 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 09:53:09 ==> Running gcov in . (disable via -X gcov) 09:53:09 ==> Python coveragepy not found 09:53:09 ==> Searching for coverage reports in: 09:53:09 + . 09:53:09 -> Found 1 reports 09:53:09 ==> Detecting git/mercurial file structure 09:53:09 ==> Reading reports 09:53:09 + ./coverage.out bytes=78456 09:53:09 ==> Appending adjustments 09:53:09 https://docs.codecov.io/docs/fixing-reports 09:53:09 + Found adjustments 09:53:09 ==> Gzipping contents 09:53:09 24K /tmp/codecov.nL8xAP.gz 09:53:09 ==> Uploading reports 09:53:09 url: https://codecov.io 09:53:09 query: branch=PR-436&commit=393248944dc81822e0679d469390d8659acd64b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-436%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=436&job=&cmd_args= 09:53:09 -> Pinging Codecov 09:53:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-436&commit=393248944dc81822e0679d469390d8659acd64b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-436%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=436&job=&cmd_args= 09:53:09 -> Uploading to 09:53:09 https://storage.googleapis.com/codecov/v4/raw/2024-05-27/F29A59C45E3A92E06B3E522C9905F8EF/393248944dc81822e0679d469390d8659acd64b6/8f96462d-2e03-4755-896e-b198c497d1d7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240527%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240527T095309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5539875b92f0fe631c3e3826ca7fae665d52efef6373741619920796f418b4ad 09:53:09 % Total % Received % Xferd Average Speed Time Time Time Current 09:53:09 Dload Upload Total Spent Left Speed 09:53:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23781 0 0 100 23781 0 97065 --:--:-- --:--:-- --:--:-- 97065 09:53:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/393248944dc81822e0679d469390d8659acd64b6 [Pipeline] } 09:53:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:53:12 + [ -d /w/workspace/undry_device-onvif-camera_PR-436/archives ] 09:53:12 + ls -al /w/workspace/undry_device-onvif-camera_PR-436/archives 09:53:12 total 16 09:53:12 drwxr-xr-x 3 root root 4096 May 27 09:42 . 09:53:12 drwxrwxr-x 11 jenkins jenkins 4096 May 27 09:42 .. 09:53:12 drwxr-xr-x 2 root root 4096 May 27 09:42 cost 09:53:12 -rw-r--r-- 1 root root 91 May 27 09:42 cost.csv 09:53:12 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-436/archives 09:53:12 + ls -al /w/workspace/undry_device-onvif-camera_PR-436/archives 09:53:12 total 16 09:53:12 drwxr-xr-x 3 jenkins jenkins 4096 May 27 09:42 . 09:53:12 drwxrwxr-x 11 jenkins jenkins 4096 May 27 09:42 .. 09:53:12 drwxr-xr-x 2 jenkins jenkins 4096 May 27 09:42 cost 09:53:12 -rw-r--r-- 1 jenkins jenkins 91 May 27 09:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:53:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:53:13 ---> package-listing.sh 09:53:13 ++ facter osfamily 09:53:13 ++ tr '[:upper:]' '[:lower:]' 09:53:13 + OS_FAMILY=debian 09:53:13 + workspace=/w/workspace/undry_device-onvif-camera_PR-436 09:53:13 + START_PACKAGES=/tmp/packages_start.txt 09:53:13 + END_PACKAGES=/tmp/packages_end.txt 09:53:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:53:13 + PACKAGES=/tmp/packages_start.txt 09:53:13 + '[' /w/workspace/undry_device-onvif-camera_PR-436 ']' 09:53:13 + PACKAGES=/tmp/packages_end.txt 09:53:13 + case "${OS_FAMILY}" in 09:53:13 + dpkg -l 09:53:13 + grep '^ii' 09:53:13 + '[' -f /tmp/packages_start.txt ']' 09:53:13 + '[' -f /tmp/packages_end.txt ']' 09:53:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:53:13 + '[' /w/workspace/undry_device-onvif-camera_PR-436 ']' 09:53:13 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-436/archives/ 09:53:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-436/archives/ [Pipeline] echo 09:53:13 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-436/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:53:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:53:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:14 prd-ubuntu20.04-docker-8c-8g-841 does not seem to be running inside a container 09:53:14 $ 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-436/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-436 -v /w/workspace/undry_device-onvif-camera_PR-436:/w/workspace/undry_device-onvif-camera_PR-436:rw,z -v /w/workspace/undry_device-onvif-camera_PR-436@tmp:/w/workspace/undry_device-onvif-camera_PR-436@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 09:53:15 $ docker top 12ce4598bb6c8bd2043228faff03fceca4ad966970f1b39fd9b2a0c557569624 -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:15 + touch /tmp/pre-build-complete [Pipeline] sh 09:53:15 + mkdir -p /var/log/sysstat [Pipeline] sh 09:53:16 + ls /var/log/sa-host 09:53:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:53:16 provisioning config files... 09:53:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-436@tmp/config963289168217720667tmp [Pipeline] { [Pipeline] echo 09:53:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:53:16 ---> create-netrc.sh [Pipeline] } 09:53:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:53:17 ---> python-tools-install.sh [Pipeline] echo 09:53:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:53:17 ---> sudo-logs.sh 09:53:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:53:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:53:18 ---> job-cost.sh 09:53:18 lf-activate-venv: SKIPPING 09:53:18 DEBUG: total: 0.2199999988079071 09:53:18 INFO: Retrieving Stack Cost... 09:53:18 INFO: Retrieving Pricing Info for: v3-standard-8 09:53:18 INFO: Archiving Costs [Pipeline] echo 09:53:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:53:19 ---> logs-deploy.sh 09:53:19 lf-activate-venv: SKIPPING 09:53:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-436/1 09:53:19 INFO: archiving workspace using pattern(s): 09:53:20 Archives upload complete. 09:53:20 INFO: archiving logs to Nexus