Pull request #111 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 201cf242bae9e183bc4bdc133a26c0afb244aa26+58a46bebf81eee9640e76b602e43d09af82d89e1 (672f7d0bee1e028e4790dd0f0a694429d4515e1a) 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-ssh6934792949410719975.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh1207517443368163442.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-111/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-111/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16278455475543770219.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-111/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10071684975298615376.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh9947696747267872972.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-111/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-111/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14813132564600972219.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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] ========================================================= [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.18 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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20366 in /w/workspace/undry_device-onvif-camera_PR-111 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-111 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 58a46bebf81eee9640e76b602e43d09af82d89e1 into PR head commit 201cf242bae9e183bc4bdc133a26c0afb244aa26 Merge succeeded, producing 201cf242bae9e183bc4bdc133a26c0afb244aa26 Checking out Revision 201cf242bae9e183bc4bdc133a26c0afb244aa26 (PR-111) > 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/111/head:refs/remotes/origin/PR-111 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 201cf242bae9e183bc4bdc133a26c0afb244aa26 # 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 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 201cf242bae9e183bc4bdc133a26c0afb244aa26 # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:28:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:28:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:28:59 ========================================================= 03:28:59 EdgeX Global Pipelines Version Info 03:28:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:29:00 ------------------- 03:29:00 stable info: 03:29:00 ------------------- 03:29:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:29:00 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 03:29:00 Message: update stable to v1.0.238 03:29:01 ------------------- 03:29:01 experimental info: 03:29:01 ------------------- 03:29:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:29:01 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 03:29:01 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:29:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-111 [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-111 [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-111 [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 201cf242bae9e183bc4bdc133a26c0afb244aa26 [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 201cf24 [Pipeline] echo 03:29:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:29:02 provisioning config files... 03:29:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config1342115897291967397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:29:03 ---> docker-login.sh 03:29:03 nexus3.edgexfoundry.org:10001 03:29:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:03 Configure a credential helper to remove this warning. See 03:29:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:03 03:29:03 Login Succeeded 03:29:03 nexus3.edgexfoundry.org:10002 03:29:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:04 Configure a credential helper to remove this warning. See 03:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:04 03:29:04 Login Succeeded 03:29:04 nexus3.edgexfoundry.org:10003 03:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:04 Configure a credential helper to remove this warning. See 03:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:04 03:29:04 Login Succeeded 03:29:04 nexus3.edgexfoundry.org:10004 03:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:04 Configure a credential helper to remove this warning. See 03:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:04 03:29:04 Login Succeeded 03:29:04 docker.io 03:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:04 Configure a credential helper to remove this warning. See 03:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:04 03:29:04 Login Succeeded 03:29:04 ---> docker-login.sh ends [Pipeline] } 03:29:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:29:05 + git rev-list -1 --merges 201cf242bae9e183bc4bdc133a26c0afb244aa26~1..201cf242bae9e183bc4bdc133a26c0afb244aa26 [Pipeline] echo 03:29:05 -----------> git rev-list -1 --merges 201cf242bae9e183bc4bdc133a26c0afb244aa26~1..201cf242bae9e183bc4bdc133a26c0afb244aa26 201cf242bae9e183bc4bdc133a26c0afb244aa26 [false] [Pipeline] sh 03:29:05 + git log --format=format:%s -1 201cf242bae9e183bc4bdc133a26c0afb244aa26 [Pipeline] echo 03:29:05 ========================================================= 03:29:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:29:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:29:06 + git log --format=format:%s -1 201cf242bae9e183bc4bdc133a26c0afb244aa26 [Pipeline] echo 03:29:06 [semverPrep] GIT_COMMIT: 201cf242bae9e183bc4bdc133a26c0afb244aa26, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 [Pipeline] echo 03:29:06 [semverPrep] This is not a build commit. [Pipeline] sh 03:29:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:29:06 + grep -v github /etc/ssh/ssh_known_hosts 03:29:06 + [ -e /tmp/ssh_known_hosts ] 03:29:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:29:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:29:06 + sudo tee -a /etc/ssh/ssh_known_hosts 03:29:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:29:07 03:29:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:29:07 0.1.4: Pulling from edgex-devops/py-git-semver 03:29:07 b85a868b505f: Pulling fs layer 03:29:07 e2be974225ed: Pulling fs layer 03:29:07 339a4e72a1f5: Pulling fs layer 03:29:07 988bab9f4d93: Pulling fs layer 03:29:07 1469e6f7b9e6: Pulling fs layer 03:29:07 eaf3925da568: Pulling fs layer 03:29:07 bab4dde63d76: Pulling fs layer 03:29:07 bde34c3a00c8: Pulling fs layer 03:29:07 b352a97aabf1: Pulling fs layer 03:29:07 4872d77fe225: Pulling fs layer 03:29:07 5851b861e8e6: Pulling fs layer 03:29:07 988bab9f4d93: Waiting 03:29:07 1469e6f7b9e6: Waiting 03:29:07 bde34c3a00c8: Waiting 03:29:07 bab4dde63d76: Waiting 03:29:07 5851b861e8e6: Waiting 03:29:07 b352a97aabf1: Waiting 03:29:07 4872d77fe225: Waiting 03:29:07 e2be974225ed: Download complete 03:29:07 988bab9f4d93: Verifying Checksum 03:29:07 988bab9f4d93: Download complete 03:29:07 339a4e72a1f5: Verifying Checksum 03:29:07 339a4e72a1f5: Download complete 03:29:07 1469e6f7b9e6: Verifying Checksum 03:29:07 1469e6f7b9e6: Download complete 03:29:07 eaf3925da568: Verifying Checksum 03:29:07 eaf3925da568: Download complete 03:29:07 bde34c3a00c8: Verifying Checksum 03:29:07 bde34c3a00c8: Download complete 03:29:07 b352a97aabf1: Verifying Checksum 03:29:07 b352a97aabf1: Download complete 03:29:07 4872d77fe225: Verifying Checksum 03:29:07 4872d77fe225: Download complete 03:29:07 5851b861e8e6: Verifying Checksum 03:29:07 5851b861e8e6: Download complete 03:29:07 b85a868b505f: Verifying Checksum 03:29:07 b85a868b505f: Download complete 03:29:08 bab4dde63d76: Verifying Checksum 03:29:08 bab4dde63d76: Download complete 03:29:09 b85a868b505f: Pull complete 03:29:09 e2be974225ed: Pull complete 03:29:09 339a4e72a1f5: Pull complete 03:29:09 988bab9f4d93: Pull complete 03:29:10 1469e6f7b9e6: Pull complete 03:29:10 eaf3925da568: Pull complete 03:29:12 bab4dde63d76: Pull complete 03:29:12 bde34c3a00c8: Pull complete 03:29:12 b352a97aabf1: Pull complete 03:29:12 4872d77fe225: Pull complete 03:29:12 5851b861e8e6: Pull complete 03:29:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:29:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:29:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:13 prd-ubuntu20.04-docker-8c-8g-20366 does not seem to be running inside a container 03:29:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:29:14 $ docker top 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f -eo pid,comm 03:29:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:29:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:29:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:29:14 [ssh-agent] Looking for ssh-agent implementation... 03:29:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:29:14 $ docker exec 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f ssh-agent 03:29:14 SSH_AUTH_SOCK=/tmp/ssh-hbGhq25ebzZd/agent.34 03:29:14 SSH_AGENT_PID=40 03:29:14 Running ssh-add (command line suppressed) 03:29:14 Identity added: /w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_6917465944426780134.key (/w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_6917465944426780134.key) 03:29:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:29:15 + git tag --points-at HEAD [Pipeline] } 03:29:15 $ docker exec --env ******** --env ******** 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f ssh-agent -k 03:29:15 unset SSH_AUTH_SOCK; 03:29:15 unset SSH_AGENT_PID; 03:29:15 echo Agent pid 40 killed; 03:29:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:29:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:29:15 [ssh-agent] Looking for ssh-agent implementation... 03:29:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:29:15 $ docker exec 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f ssh-agent 03:29:15 SSH_AUTH_SOCK=/tmp/ssh-Y1y5UaRlktRG/agent.73 03:29:15 SSH_AGENT_PID=79 03:29:15 Running ssh-add (command line suppressed) 03:29:15 Identity added: /w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_4754541567397058466.key (/w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_4754541567397058466.key) 03:29:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:29:16 + git semver init 03:29:16 2022-07-18 03:29:16,542 [run_init] DEBUG init version:0.0.0 force:False 03:29:16 2022-07-18 03:29:16,543 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-111/.semver 03:29:16 2022-07-18 03:29:16,543 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-111/.semver 03:29:16 2022-07-18 03:29:16,544 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-111/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-111, universal_newlines=False, shell=None, istream=None) 03:29:17 2022-07-18 03:29:17,229 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-111/.git/info/exclude 03:29:17 2022-07-18 03:29:17,230 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-111/.semver/PR-111 with force:False 03:29:17 2022-07-18 03:29:17,230 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-111/.semver/PR-111 03:29:17 2022-07-18 03:29:17,234 [execute] INFO git cat-file --batch-check 03:29:17 2022-07-18 03:29:17,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-111/.semver, universal_newlines=False, shell=None, istream=) 03:29:17 2022-07-18 03:29:17,243 [execute] INFO git cat-file --batch 03:29:17 2022-07-18 03:29:17,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-111/.semver, universal_newlines=False, shell=None, istream=) 03:29:17 2022-07-18 03:29:17,250 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-111/.semver/PR-111 03:29:17 0.0.0 [Pipeline] } 03:29:17 $ docker exec --env ******** --env ******** 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f ssh-agent -k 03:29:17 unset SSH_AUTH_SOCK; 03:29:17 unset SSH_AGENT_PID; 03:29:17 echo Agent pid 79 killed; 03:29:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:29:18 + git semver [Pipeline] } 03:29:18 $ docker stop --time=1 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f 03:29:19 $ docker rm -f 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f [Pipeline] // withDockerContainer [Pipeline] sh 03:29:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:29:20 Stashed 1 file(s) [Pipeline] echo 03:29:20 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:29:21 provisioning config files... 03:29:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config4931577912352718682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:29:21 ---> docker-login.sh 03:29:21 nexus3.edgexfoundry.org:10001 03:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:21 Configure a credential helper to remove this warning. See 03:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:21 03:29:21 Login Succeeded 03:29:21 nexus3.edgexfoundry.org:10002 03:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:21 Configure a credential helper to remove this warning. See 03:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:21 03:29:21 Login Succeeded 03:29:21 nexus3.edgexfoundry.org:10003 03:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:21 Configure a credential helper to remove this warning. See 03:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:21 03:29:21 Login Succeeded 03:29:21 nexus3.edgexfoundry.org:10004 03:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:21 Configure a credential helper to remove this warning. See 03:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:21 03:29:21 Login Succeeded 03:29:21 docker.io 03:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:22 Configure a credential helper to remove this warning. See 03:29:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:22 03:29:22 Login Succeeded 03:29:22 ---> docker-login.sh ends [Pipeline] } 03:29:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:29:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:29:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:29:22 ========================================================= 03:29:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:29:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:23 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 03:29:23 Sending build context to Docker daemon 9.333MB 03:29:23 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 03:29:23 Step 2/13 : FROM ${BASE} AS builder 03:29:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:29:23 2408cc74d12b: Pulling fs layer 03:29:23 ea60b727a1ce: Pulling fs layer 03:29:23 30c4a7721957: Pulling fs layer 03:29:23 370296b7ddb6: Pulling fs layer 03:29:23 7c6cee850709: Pulling fs layer 03:29:23 39a5fcdaea64: Pulling fs layer 03:29:23 d94ebbe4e438: Pulling fs layer 03:29:23 bcfd1f05c69d: Pulling fs layer 03:29:23 59ccb84bbe0f: Pulling fs layer 03:29:23 370296b7ddb6: Waiting 03:29:23 7c6cee850709: Waiting 03:29:23 39a5fcdaea64: Waiting 03:29:23 bcfd1f05c69d: Waiting 03:29:23 d94ebbe4e438: Waiting 03:29:23 59ccb84bbe0f: Waiting 03:29:23 30c4a7721957: Verifying Checksum 03:29:23 30c4a7721957: Download complete 03:29:23 ea60b727a1ce: Download complete 03:29:23 7c6cee850709: Download complete 03:29:23 39a5fcdaea64: Verifying Checksum 03:29:23 39a5fcdaea64: Download complete 03:29:23 2408cc74d12b: Verifying Checksum 03:29:23 2408cc74d12b: Download complete 03:29:23 d94ebbe4e438: Verifying Checksum 03:29:23 d94ebbe4e438: Download complete 03:29:23 2408cc74d12b: Pull complete 03:29:23 ea60b727a1ce: Pull complete 03:29:23 30c4a7721957: Pull complete 03:29:23 59ccb84bbe0f: Verifying Checksum 03:29:23 59ccb84bbe0f: Download complete 03:29:23 bcfd1f05c69d: Verifying Checksum 03:29:23 bcfd1f05c69d: Download complete 03:29:23 370296b7ddb6: Verifying Checksum 03:29:23 370296b7ddb6: Download complete 03:29:29 370296b7ddb6: Pull complete 03:29:29 7c6cee850709: Pull complete 03:29:29 39a5fcdaea64: Pull complete 03:29:29 d94ebbe4e438: Pull complete 03:29:30 bcfd1f05c69d: Pull complete 03:29:31 59ccb84bbe0f: Pull complete 03:29:31 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 03:29:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:29:31 ---> a4fb48ad2a94 03:29:31 Step 3/13 : ARG MAKE="make build" 03:29:32 ---> Running in f4d696758003 03:29:33 Removing intermediate container f4d696758003 03:29:33 ---> b08d3352c7a5 03:29:33 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:29:33 ---> Running in dbd043882590 03:29:33 Removing intermediate container dbd043882590 03:29:33 ---> 805ac3d62f16 03:29:33 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 03:29:33 ---> Running in d179b03fdb01 03:29:33 Removing intermediate container d179b03fdb01 03:29:33 ---> 4abc73ba7df7 03:29:33 Step 6/13 : LABEL Name=edgex-device-onvif-camera 03:29:33 ---> Running in bf2e5268feee 03:29:33 Removing intermediate container bf2e5268feee 03:29:33 ---> f58a01e6ba83 03:29:33 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:29:33 ---> Running in e68d1024bf60 03:29:34 Removing intermediate container e68d1024bf60 03:29:34 ---> f38df39d328b 03:29:34 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:29:34 ---> Running in 7aec93b83447 03:29:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:29:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:29:35 OK: 211 MiB in 51 packages 03:29:35 Still waiting to schedule task 03:29:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:29:36 Removing intermediate container 7aec93b83447 03:29:36 ---> ecc8f6224bcc 03:29:36 Step 9/13 : WORKDIR /device-onvif-camera 03:29:36 ---> Running in a05808a28cdd 03:29:36 Removing intermediate container a05808a28cdd 03:29:36 ---> 2e2aace0e0a1 03:29:36 Step 10/13 : COPY go.mod vendor* ./ 03:29:36 ---> fb250294c3a6 03:29:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:29:36 ---> Running in b824cd335794 03:29:54 Removing intermediate container b824cd335794 03:29:54 ---> b31f7fae6147 03:29:54 Step 12/13 : COPY . . 03:29:54 ---> 37f6d15ce806 03:29:54 Step 13/13 : RUN ${MAKE} 03:29:54 ---> Running in 370f4b772be3 03:29:54 noop 03:29:54 Removing intermediate container 370f4b772be3 03:29:54 ---> 57f068c2d377 03:29:54 Successfully built 57f068c2d377 03:29:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:55 + docker inspect -f . ci-base-image-x86_64 03:29:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:55 prd-ubuntu20.04-docker-8c-8g-20366 does not seem to be running inside a container 03:29:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:29:55 $ docker top 9a26e53cc9bd93a078ed67f66c89b442ac3acfa0d36a6358f200f4763befdfc6 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:56 + go version 03:29:56 go version go1.18.3 linux/amd64 [Pipeline] } 03:29:56 $ docker stop --time=1 9a26e53cc9bd93a078ed67f66c89b442ac3acfa0d36a6358f200f4763befdfc6 03:29:57 $ docker rm -f 9a26e53cc9bd93a078ed67f66c89b442ac3acfa0d36a6358f200f4763befdfc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:58 + docker inspect -f . ci-base-image-x86_64 03:29:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:58 prd-ubuntu20.04-docker-8c-8g-20366 does not seem to be running inside a container 03:29:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:29:58 $ docker top d9f8d653feec5b1bca4204584fb2a9475ccb95d13825f0dcf95209e51516d499 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:59 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-111 [Pipeline] fileExists [Pipeline] sh 03:29:59 + make test 03:29:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:29:59 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:30:09 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:30:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 7.0% of statements 03:30:10 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:30:15 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.887s coverage: 13.8% of statements 03:30:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:30:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:30:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:30:24 ./bin/test-attribution-txt.sh [Pipeline] echo 03:30:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:30:25 $ docker stop --time=1 d9f8d653feec5b1bca4204584fb2a9475ccb95d13825f0dcf95209e51516d499 03:30:27 $ docker rm -f d9f8d653feec5b1bca4204584fb2a9475ccb95d13825f0dcf95209e51516d499 [Pipeline] // withDockerContainer [Pipeline] sh 03:30:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:30:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:30:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:30:28 + ls -al . 03:30:28 total 252 03:30:28 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 03:30 . 03:30:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:28 .. 03:30:28 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 03:30 .git 03:30:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 03:28 .github 03:30:28 -rw-rw-r-- 1 jenkins jenkins 418 Jul 18 03:28 .gitignore 03:30:28 -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 03:28 .golangci.yml 03:30:28 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 03:29 .semver 03:30:28 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 18 03:28 Attribution.txt 03:30:28 -rw-rw-r-- 1 jenkins jenkins 189 Jul 18 03:28 CHANGELOG.md 03:30:28 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 18 03:28 Dockerfile 03:30:28 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 03:28 GOVERNANCE.md 03:30:28 -rw-rw-r-- 1 jenkins jenkins 660 Jul 18 03:28 Jenkinsfile 03:30:28 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 18 03:28 LICENSE 03:30:28 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 18 03:28 Makefile 03:30:28 -rw-rw-r-- 1 jenkins jenkins 625 Jul 18 03:28 OWNERS.md 03:30:28 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 18 03:28 README.md 03:30:28 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 03:29 VERSION 03:30:28 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 03:28 bin 03:30:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 03:28 cmd 03:30:28 -rw-r--r-- 1 jenkins jenkins 70262 Jul 18 03:30 coverage.out 03:30:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:28 doc 03:30:28 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 18 03:28 go.mod 03:30:28 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 18 03:28 go.sum 03:30:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:28 internal 03:30:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:28 snap 03:30:28 -rw-rw-r-- 1 jenkins jenkins 236 Jul 18 03:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:29 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=201cf242bae9e183bc4bdc133a26c0afb244aa26 --label arch=amd64 --label version=0.0.0 . 03:30:29 Sending build context to Docker daemon 9.404MB 03:30:29 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 03:30:29 Step 2/26 : FROM ${BASE} AS builder 03:30:29 ---> 57f068c2d377 03:30:29 Step 3/26 : ARG MAKE="make build" 03:30:29 ---> Running in c7795b99dea1 03:30:29 Removing intermediate container c7795b99dea1 03:30:29 ---> 8eb3a472e88f 03:30:29 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:30:29 ---> Running in 67070d003794 03:30:29 Removing intermediate container 67070d003794 03:30:29 ---> 398633b57d14 03:30:29 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 03:30:29 ---> Running in 2ad90947c817 03:30:29 Removing intermediate container 2ad90947c817 03:30:29 ---> df32ca661905 03:30:29 Step 6/26 : LABEL Name=edgex-device-onvif-camera 03:30:29 ---> Running in d2d7a9953c4a 03:30:29 Removing intermediate container d2d7a9953c4a 03:30:29 ---> 4bee2fd78ef5 03:30:29 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:30:29 ---> Running in 7ceb1ed2b8f7 03:30:30 Removing intermediate container 7ceb1ed2b8f7 03:30:30 ---> 467f1544e67b 03:30:30 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:30:30 ---> Running in a071e87dd57f 03:30:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:30:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:30:31 OK: 211 MiB in 51 packages 03:30:32 Removing intermediate container a071e87dd57f 03:30:32 ---> ce2bbcdee191 03:30:32 Step 9/26 : WORKDIR /device-onvif-camera 03:30:32 ---> Running in 94313747f512 03:30:32 Removing intermediate container 94313747f512 03:30:32 ---> ae73a74c4d50 03:30:32 Step 10/26 : COPY go.mod vendor* ./ 03:30:32 ---> 0035db1eac86 03:30:32 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:30:32 ---> Running in 7f93c6cb8964 03:30:33 Removing intermediate container 7f93c6cb8964 03:30:33 ---> aea9c2fb71b6 03:30:33 Step 12/26 : COPY . . 03:30:33 ---> 7944c5474d27 03:30:33 Step 13/26 : RUN ${MAKE} 03:30:33 ---> Running in 00320c0cb604 03:30:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:30:55 Removing intermediate container 00320c0cb604 03:30:55 ---> 98cbcc142e3c 03:30:55 Step 14/26 : FROM alpine:3.15 03:30:55 3.15: Pulling from library/alpine 03:30:55 df9b9388f04a: Pulling fs layer 03:30:55 df9b9388f04a: Verifying Checksum 03:30:55 df9b9388f04a: Download complete 03:30:55 df9b9388f04a: Pull complete 03:30:55 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 03:30:55 Status: Downloaded newer image for alpine:3.15 03:30:55 ---> 0ac33e5f5afa 03:30:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:30:55 ---> Running in 0ccef2603266 03:30:55 Removing intermediate container 0ccef2603266 03:30:55 ---> c1e2ec17610f 03:30:55 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:30:55 ---> Running in 7e901e5ed962 03:30:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:30:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:30:55 (1/6) Installing dumb-init (1.2.5-r1) 03:30:55 (2/6) Installing libgcc (10.3.1_git20211027-r0) 03:30:55 (3/6) Installing libsodium (1.0.18-r0) 03:30:55 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 03:30:55 (5/6) Installing libzmq (4.3.4-r0) 03:30:55 (6/6) Installing zeromq (4.3.4-r0) 03:30:55 Executing busybox-1.34.1-r5.trigger 03:30:55 OK: 8 MiB in 20 packages 03:30:55 Removing intermediate container 7e901e5ed962 03:30:55 ---> f3428cc43fa6 03:30:55 Step 17/26 : WORKDIR / 03:30:55 ---> Running in aa173d793bcf 03:30:55 Removing intermediate container aa173d793bcf 03:30:55 ---> 1a806aa7cd91 03:30:55 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:30:55 ---> 7e61f3b49fda 03:30:55 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:30:55 ---> b258bcbbcb61 03:30:55 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:30:55 ---> fa737f238104 03:30:55 Step 21/26 : EXPOSE 59984 03:30:56 ---> Running in 5d3b8f2909e6 03:30:56 Removing intermediate container 5d3b8f2909e6 03:30:56 ---> 2482931c6b2e 03:30:56 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:30:56 ---> Running in ec722caad59b 03:30:56 Removing intermediate container ec722caad59b 03:30:56 ---> 49e3f7a8cf46 03:30:56 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:30:56 ---> Running in 9b53aff111a3 03:30:56 Removing intermediate container 9b53aff111a3 03:30:56 ---> 998eb4e02bf1 03:30:56 Step 24/26 : LABEL arch=amd64 03:30:56 ---> Running in 5b56fd6f2882 03:30:56 Removing intermediate container 5b56fd6f2882 03:30:56 ---> 8f2462515d69 03:30:56 Step 25/26 : LABEL git_sha=201cf242bae9e183bc4bdc133a26c0afb244aa26 03:30:56 ---> Running in 7177e46cd6d2 03:30:56 Removing intermediate container 7177e46cd6d2 03:30:56 ---> aebaebf0e7c9 03:30:56 Step 26/26 : LABEL version=0.0.0 03:30:56 ---> Running in ffa3e072dbd0 03:30:56 Removing intermediate container ffa3e072dbd0 03:30:56 ---> b13ca49bdd04 03:30:56 [Warning] One or more build-args [ARCH] were not consumed 03:30:56 Successfully built b13ca49bdd04 03:30:56 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:30:57 03:30:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:30:58 latest: Pulling from edgex-lftools-log-publisher 03:30:58 5eb5b503b376: Pulling fs layer 03:30:58 5c69ac0246d0: Pulling fs layer 03:30:58 ec43610c2a17: Pulling fs layer 03:30:58 3a2ae6a8a46f: Pulling fs layer 03:30:58 33b1e0a273af: Pulling fs layer 03:30:58 5d3b04190fa2: Pulling fs layer 03:30:58 2f39f015ded8: Pulling fs layer 03:30:58 5d3b04190fa2: Waiting 03:30:58 2f39f015ded8: Waiting 03:30:58 33b1e0a273af: Waiting 03:30:58 3a2ae6a8a46f: Waiting 03:30:58 5c69ac0246d0: Verifying Checksum 03:30:58 5c69ac0246d0: Download complete 03:30:58 3a2ae6a8a46f: Verifying Checksum 03:30:58 3a2ae6a8a46f: Download complete 03:30:58 33b1e0a273af: Verifying Checksum 03:30:58 33b1e0a273af: Download complete 03:30:58 5d3b04190fa2: Verifying Checksum 03:30:58 5d3b04190fa2: Download complete 03:30:58 ec43610c2a17: Download complete 03:30:58 5eb5b503b376: Verifying Checksum 03:30:58 5eb5b503b376: Download complete 03:30:58 2f39f015ded8: Verifying Checksum 03:30:58 2f39f015ded8: Download complete 03:30:59 5eb5b503b376: Pull complete 03:30:59 5c69ac0246d0: Pull complete 03:30:59 ec43610c2a17: Pull complete 03:31:00 3a2ae6a8a46f: Pull complete 03:31:00 33b1e0a273af: Pull complete 03:31:00 5d3b04190fa2: Pull complete 03:31:05 2f39f015ded8: Pull complete 03:31:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:31:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:31:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:31:06 prd-ubuntu20.04-docker-8c-8g-20366 does not seem to be running inside a container 03:31:06 $ 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-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:31:07 $ docker top 7b93c40224b64583b32ff5398aecbcbc148597b44729590b30e5290fcf93296c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:31:07 ---> job-cost.sh 03:31:07 lf-activate-venv: SKIPPING 03:31:07 INFO: No Stack... 03:31:08 INFO: Retrieving Pricing Info for: v3-standard-8 03:31:08 INFO: Archiving Costs [Pipeline] sh 03:31:09 + + cat /w/workspace/undry_device-onvif-camera_PR-111/archives/cost.csv 03:31:09 cut -d, -f6 [Pipeline] lock 03:31:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] 03:31:09 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] did not exist. Created. 03:31:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:31:09 + echo total: 0.2199999988079071 [Pipeline] stash 03:31:09 Stashed 1 file(s) [Pipeline] } 03:31:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:31:09 $ docker stop --time=1 7b93c40224b64583b32ff5398aecbcbc148597b44729590b30e5290fcf93296c 03:31:10 $ docker rm -f 7b93c40224b64583b32ff5398aecbcbc148597b44729590b30e5290fcf93296c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:31:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20367 in /w/workspace/undry_device-onvif-camera_PR-111 [Pipeline] { [Pipeline] ws 03:31:15 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:31:15 Selected Git installation does not exist. Using Default 03:31:15 The recommended git tool is: NONE 03:31:22 using credential edgex-jenkins-ssh 03:31:22 Cloning the remote Git repository 03:31:22 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:31:23 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:31:23 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:31:23 > git --version # timeout=10 03:31:23 > git --version # 'git version 2.25.1' 03:31:23 using GIT_SSH to set credentials SSH Credentials for GitHub 03:31:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:31:24 Merging remotes/origin/main commit 58a46bebf81eee9640e76b602e43d09af82d89e1 into PR head commit 201cf242bae9e183bc4bdc133a26c0afb244aa26 03:31:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:31:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:31:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:31:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:31:24 using GIT_SSH to set credentials SSH Credentials for GitHub 03:31:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/111/head:refs/remotes/origin/PR-111 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:31:24 > git config core.sparsecheckout # timeout=10 03:31:24 > git checkout -f 201cf242bae9e183bc4bdc133a26c0afb244aa26 # timeout=10 03:31:24 Merge succeeded, producing 201cf242bae9e183bc4bdc133a26c0afb244aa26 03:31:24 Checking out Revision 201cf242bae9e183bc4bdc133a26c0afb244aa26 (PR-111) 03:31:24 > git remote # timeout=10 03:31:24 > git config --get remote.origin.url # timeout=10 03:31:24 using GIT_SSH to set credentials SSH Credentials for GitHub 03:31:24 > git merge 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 03:31:24 > git rev-parse HEAD^{commit} # timeout=10 03:31:24 > git config core.sparsecheckout # timeout=10 03:31:24 > git checkout -f 201cf242bae9e183bc4bdc133a26c0afb244aa26 # timeout=10 03:31:29 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2" 03:31:29 > git --version # timeout=10 03:31:29 > git --version # 'git version 2.25.1' 03:31:29 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:31:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:31:30 % Total % Received % Xferd Average Speed Time Time Time Current 03:31:30 Dload Upload Total Spent Left Speed 03:31:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 92721 0 --:--:-- --:--:-- --:--:-- 92721 [Pipeline] sh 03:31:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:31:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:31:31 + sudo tee /etc/docker/daemon.new 03:31:31 { 03:31:31 "registry-mirrors": [ 03:31:31 "https://nexus3.edgexfoundry.org:10001" 03:31:31 ], 03:31:31 "bip": "10.250.0.254/24", 03:31:31 "hosts": [ 03:31:31 "tcp://0.0.0.0:5555", 03:31:31 "unix:///var/run/docker.sock" 03:31:31 ], 03:31:31 "mtu": 1458, 03:31:31 "selinux-enabled": true, 03:31:31 "seccomp-profile": "/etc/docker/seccomp.json" 03:31:31 } [Pipeline] sh 03:31:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:31:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:31:50 provisioning config files... 03:31:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config608594969985349761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:31:51 ---> docker-login.sh 03:31:51 nexus3.edgexfoundry.org:10001 03:31:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:31:52 Configure a credential helper to remove this warning. See 03:31:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:31:52 03:31:52 Login Succeeded 03:31:52 nexus3.edgexfoundry.org:10002 03:31:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:31:52 Configure a credential helper to remove this warning. See 03:31:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:31:52 03:31:52 Login Succeeded 03:31:52 nexus3.edgexfoundry.org:10003 03:31:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:31:53 Configure a credential helper to remove this warning. See 03:31:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:31:53 03:31:53 Login Succeeded 03:31:53 nexus3.edgexfoundry.org:10004 03:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:31:53 Configure a credential helper to remove this warning. See 03:31:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:31:53 03:31:53 Login Succeeded 03:31:53 docker.io 03:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:31:54 Configure a credential helper to remove this warning. See 03:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:31:54 03:31:54 Login Succeeded 03:31:54 ---> docker-login.sh ends [Pipeline] } 03:31:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:31:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:31:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:31:54 ========================================================= 03:31:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:31:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 03:31:55 Sending build context to Docker daemon 6.422MB 03:31:55 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 03:31:55 Step 2/13 : FROM ${BASE} AS builder 03:31:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:31:55 b3c136eddcbf: Pulling fs layer 03:31:55 c0a3192eca97: Pulling fs layer 03:31:55 a050256f5b6f: Pulling fs layer 03:31:55 656be50a0ddc: Pulling fs layer 03:31:55 2bbca73fdf42: Pulling fs layer 03:31:55 46d945488cbd: Pulling fs layer 03:31:55 8a5474983e97: Pulling fs layer 03:31:55 329c88fbcd65: Pulling fs layer 03:31:55 2bbca73fdf42: Waiting 03:31:55 46d945488cbd: Waiting 03:31:55 8a5474983e97: Waiting 03:31:55 329c88fbcd65: Waiting 03:31:55 656be50a0ddc: Waiting 03:31:55 a050256f5b6f: Download complete 03:31:55 c0a3192eca97: Verifying Checksum 03:31:55 c0a3192eca97: Download complete 03:31:55 2bbca73fdf42: Verifying Checksum 03:31:55 2bbca73fdf42: Download complete 03:31:55 46d945488cbd: Verifying Checksum 03:31:55 46d945488cbd: Download complete 03:31:55 b3c136eddcbf: Verifying Checksum 03:31:55 b3c136eddcbf: Download complete 03:31:56 b3c136eddcbf: Pull complete 03:31:57 329c88fbcd65: Verifying Checksum 03:31:57 329c88fbcd65: Download complete 03:31:57 c0a3192eca97: Pull complete 03:31:57 a050256f5b6f: Pull complete 03:31:58 8a5474983e97: Verifying Checksum 03:31:58 8a5474983e97: Download complete 03:31:58 656be50a0ddc: Verifying Checksum 03:31:58 656be50a0ddc: Download complete 03:32:13 656be50a0ddc: Pull complete 03:32:13 2bbca73fdf42: Pull complete 03:32:13 46d945488cbd: Pull complete 03:32:18 8a5474983e97: Pull complete 03:32:20 329c88fbcd65: Pull complete 03:32:20 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 03:32:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:32:20 ---> ff4287adb874 03:32:20 Step 3/13 : ARG MAKE="make build" 03:32:21 ---> Running in c35ac5398840 03:32:21 Removing intermediate container c35ac5398840 03:32:21 ---> d69c9ea739b0 03:32:21 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:32:21 ---> Running in 5461c038f65e 03:32:22 Removing intermediate container 5461c038f65e 03:32:22 ---> e9ee19db46c9 03:32:22 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 03:32:22 ---> Running in 79943b01f773 03:32:22 Removing intermediate container 79943b01f773 03:32:22 ---> a40075c48cdf 03:32:22 Step 6/13 : LABEL Name=edgex-device-onvif-camera 03:32:22 ---> Running in 9aa15645590c 03:32:22 Removing intermediate container 9aa15645590c 03:32:22 ---> 9ccc01e4354e 03:32:22 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:32:22 ---> Running in e0b322c944de 03:32:26 Removing intermediate container e0b322c944de 03:32:26 ---> 393549e42402 03:32:26 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:32:26 ---> Running in a08328954e3e 03:32:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:32:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:32:28 OK: 221 MiB in 51 packages 03:32:29 Removing intermediate container a08328954e3e 03:32:29 ---> b6944d19a438 03:32:29 Step 9/13 : WORKDIR /device-onvif-camera 03:32:29 ---> Running in c2a11474793f 03:32:29 Removing intermediate container c2a11474793f 03:32:29 ---> 36f29f51837d 03:32:29 Step 10/13 : COPY go.mod vendor* ./ 03:32:30 ---> 8b77e40dc3e6 03:32:30 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:32:30 ---> Running in 2d76b377c185 03:33:17 Removing intermediate container 2d76b377c185 03:33:17 ---> c381a02a8e96 03:33:17 Step 12/13 : COPY . . 03:33:17 ---> 2341b5fb4719 03:33:17 Step 13/13 : RUN ${MAKE} 03:33:17 ---> Running in a23b71f4b827 03:33:18 noop 03:33:18 Removing intermediate container a23b71f4b827 03:33:18 ---> 7b2f40320df5 03:33:18 Successfully built 7b2f40320df5 03:33:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:19 + docker inspect -f . ci-base-image-arm64 03:33:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:19 prd-ubuntu20.04-docker-arm64-4c-16g-20367 does not seem to be running inside a container 03:33:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:33:20 $ docker top 9866cea72ab9475d87c7289fdca2b250109c9219a7c045a756b1e67345c7fee4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:33:21 + go version 03:33:21 go version go1.18.3 linux/arm64 [Pipeline] } 03:33:21 $ docker stop --time=1 9866cea72ab9475d87c7289fdca2b250109c9219a7c045a756b1e67345c7fee4 03:33:23 $ docker rm -f 9866cea72ab9475d87c7289fdca2b250109c9219a7c045a756b1e67345c7fee4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:24 + docker inspect -f . ci-base-image-arm64 03:33:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:24 prd-ubuntu20.04-docker-arm64-4c-16g-20367 does not seem to be running inside a container 03:33:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:33:25 $ docker top 4c69e6974fc9db45ef2cd1a687e9417236b551cabd5db6e801043995b08f5bb4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:33:26 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:33:27 + make test 03:33:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:33:28 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:34:50 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:34:56 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.098s coverage: 7.0% of statements 03:34:56 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:35:28 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 35.916s coverage: 13.8% of statements 03:35:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:35:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:35:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:35:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:35:47 ./bin/test-attribution-txt.sh [Pipeline] echo 03:35:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:35:49 $ docker stop --time=1 4c69e6974fc9db45ef2cd1a687e9417236b551cabd5db6e801043995b08f5bb4 03:35:51 $ docker rm -f 4c69e6974fc9db45ef2cd1a687e9417236b551cabd5db6e801043995b08f5bb4 [Pipeline] // withDockerContainer [Pipeline] sh 03:35:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:35:52 Warning: overwriting stash ‘coverage-report’ 03:35:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:35:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:35:54 + ls -al . 03:35:54 total 248 03:35:54 drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 03:35 . 03:35:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:31 .. 03:35:54 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 03:31 .git 03:35:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 03:31 .github 03:35:54 -rw-rw-r-- 1 jenkins jenkins 418 Jul 18 03:31 .gitignore 03:35:54 -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 03:31 .golangci.yml 03:35:54 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 18 03:31 Attribution.txt 03:35:54 -rw-rw-r-- 1 jenkins jenkins 189 Jul 18 03:31 CHANGELOG.md 03:35:54 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 18 03:31 Dockerfile 03:35:54 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 03:31 GOVERNANCE.md 03:35:54 -rw-rw-r-- 1 jenkins jenkins 660 Jul 18 03:31 Jenkinsfile 03:35:54 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 18 03:31 LICENSE 03:35:54 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 18 03:31 Makefile 03:35:54 -rw-rw-r-- 1 jenkins jenkins 625 Jul 18 03:31 OWNERS.md 03:35:54 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 18 03:31 README.md 03:35:54 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 03:29 VERSION 03:35:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 03:31 bin 03:35:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 03:31 cmd 03:35:54 -rw-r--r-- 1 jenkins jenkins 70262 Jul 18 03:35 coverage.out 03:35:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:31 doc 03:35:54 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 18 03:31 go.mod 03:35:54 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 18 03:31 go.sum 03:35:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:31 internal 03:35:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:31 snap 03:35:54 -rw-rw-r-- 1 jenkins jenkins 236 Jul 18 03:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:54 + 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=201cf242bae9e183bc4bdc133a26c0afb244aa26 --label arch=arm64 --label version=0.0.0 . 03:35:54 Sending build context to Docker daemon 6.493MB 03:35:55 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 03:35:55 Step 2/26 : FROM ${BASE} AS builder 03:35:55 ---> 7b2f40320df5 03:35:55 Step 3/26 : ARG MAKE="make build" 03:35:55 ---> Running in f22eb5cd1b0b 03:35:55 Removing intermediate container f22eb5cd1b0b 03:35:55 ---> a46ee1980d80 03:35:55 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:35:55 ---> Running in 3ae77c423f00 03:35:56 Removing intermediate container 3ae77c423f00 03:35:56 ---> a0462cd204f6 03:35:56 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 03:35:56 ---> Running in 956dcfe1b63d 03:35:56 Removing intermediate container 956dcfe1b63d 03:35:56 ---> 6d1c1ace1d2f 03:35:56 Step 6/26 : LABEL Name=edgex-device-onvif-camera 03:35:56 ---> Running in 2d540560c185 03:35:56 Removing intermediate container 2d540560c185 03:35:56 ---> ffa85f38b070 03:35:56 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:35:56 ---> Running in a325caefffa2 03:35:58 Removing intermediate container a325caefffa2 03:35:58 ---> d4a929d5b112 03:35:58 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:35:58 ---> Running in 308103756a88 03:35:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:36:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:36:01 OK: 221 MiB in 51 packages 03:36:01 Removing intermediate container 308103756a88 03:36:01 ---> 8dad4751f7c7 03:36:01 Step 9/26 : WORKDIR /device-onvif-camera 03:36:01 ---> Running in 34b17b2b12e2 03:36:02 Removing intermediate container 34b17b2b12e2 03:36:02 ---> b6b432af3f45 03:36:02 Step 10/26 : COPY go.mod vendor* ./ 03:36:02 ---> 5985d2bb46c9 03:36:02 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:36:02 ---> Running in dab617532549 03:36:04 Removing intermediate container dab617532549 03:36:04 ---> b42612a13c79 03:36:04 Step 12/26 : COPY . . 03:36:05 ---> b8a6a404337c 03:36:05 Step 13/26 : RUN ${MAKE} 03:36:05 ---> Running in fb079b1c8baa 03:36:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:38:13 Removing intermediate container fb079b1c8baa 03:38:13 ---> 7fe116472d47 03:38:13 Step 14/26 : FROM alpine:3.15 03:38:13 3.15: Pulling from library/alpine 03:38:13 9981e73032c8: Pulling fs layer 03:38:14 9981e73032c8: Verifying Checksum 03:38:14 9981e73032c8: Pull complete 03:38:14 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 03:38:14 Status: Downloaded newer image for alpine:3.15 03:38:14 ---> 3fb3c9af89a9 03:38:14 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:38:14 ---> Running in a134a029cad5 03:38:15 Removing intermediate container a134a029cad5 03:38:15 ---> 98cc5b5ed1e2 03:38:15 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:38:15 ---> Running in eef9bb031401 03:38:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:38:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:38:17 (1/6) Installing dumb-init (1.2.5-r1) 03:38:17 (2/6) Installing libgcc (10.3.1_git20211027-r0) 03:38:17 (3/6) Installing libsodium (1.0.18-r0) 03:38:17 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 03:38:17 (5/6) Installing libzmq (4.3.4-r0) 03:38:17 (6/6) Installing zeromq (4.3.4-r0) 03:38:17 Executing busybox-1.34.1-r5.trigger 03:38:17 OK: 8 MiB in 20 packages 03:38:18 Removing intermediate container eef9bb031401 03:38:18 ---> 08e451b6e773 03:38:18 Step 17/26 : WORKDIR / 03:38:18 ---> Running in 2ce0f5bee17a 03:38:18 Removing intermediate container 2ce0f5bee17a 03:38:18 ---> 5ae1fb100764 03:38:18 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:38:20 ---> 82db312a2ece 03:38:20 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:38:20 ---> df8e45cb2edf 03:38:20 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:38:21 ---> 24a2373d878b 03:38:21 Step 21/26 : EXPOSE 59984 03:38:21 ---> Running in b4b639b5de96 03:38:21 Removing intermediate container b4b639b5de96 03:38:21 ---> 195a0174886b 03:38:21 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:38:21 ---> Running in d2821c2e454b 03:38:21 Removing intermediate container d2821c2e454b 03:38:21 ---> c9f9d50cded8 03:38:21 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:38:21 ---> Running in 8201009e71e9 03:38:22 Removing intermediate container 8201009e71e9 03:38:22 ---> 05a5b533baad 03:38:22 Step 24/26 : LABEL arch=arm64 03:38:22 ---> Running in 4c649424906b 03:38:22 Removing intermediate container 4c649424906b 03:38:22 ---> f7add1dd5079 03:38:22 Step 25/26 : LABEL git_sha=201cf242bae9e183bc4bdc133a26c0afb244aa26 03:38:22 ---> Running in 57f4fb63efb4 03:38:23 Removing intermediate container 57f4fb63efb4 03:38:23 ---> 05188246e393 03:38:23 Step 26/26 : LABEL version=0.0.0 03:38:23 ---> Running in a1e491e4b0b8 03:38:23 Removing intermediate container a1e491e4b0b8 03:38:23 ---> b9f58db1ee90 03:38:23 [Warning] One or more build-args [ARCH] were not consumed 03:38:23 Successfully built b9f58db1ee90 03:38:23 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:38:24 03:38:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:38:24 arm64: Pulling from edgex-lftools-log-publisher 03:38:24 8998bd30e6a1: Pulling fs layer 03:38:24 04944245beec: Pulling fs layer 03:38:24 699f458cf7ca: Pulling fs layer 03:38:24 765212b225bb: Pulling fs layer 03:38:24 f23df028b6ca: Pulling fs layer 03:38:24 d65c8cfc05b1: Pulling fs layer 03:38:24 2437ff75d9bd: Pulling fs layer 03:38:24 765212b225bb: Waiting 03:38:24 f23df028b6ca: Waiting 03:38:24 d65c8cfc05b1: Waiting 03:38:24 2437ff75d9bd: Waiting 03:38:25 04944245beec: Verifying Checksum 03:38:25 04944245beec: Download complete 03:38:25 765212b225bb: Download complete 03:38:25 f23df028b6ca: Verifying Checksum 03:38:25 f23df028b6ca: Download complete 03:38:25 d65c8cfc05b1: Verifying Checksum 03:38:25 d65c8cfc05b1: Download complete 03:38:25 699f458cf7ca: Verifying Checksum 03:38:25 699f458cf7ca: Download complete 03:38:25 8998bd30e6a1: Verifying Checksum 03:38:25 8998bd30e6a1: Download complete 03:38:28 2437ff75d9bd: Verifying Checksum 03:38:28 2437ff75d9bd: Download complete 03:38:29 8998bd30e6a1: Pull complete 03:38:30 04944245beec: Pull complete 03:38:31 699f458cf7ca: Pull complete 03:38:32 765212b225bb: Pull complete 03:38:33 f23df028b6ca: Pull complete 03:38:33 d65c8cfc05b1: Pull complete 03:38:48 2437ff75d9bd: Pull complete 03:38:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:38:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:38:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:48 prd-ubuntu20.04-docker-arm64-4c-16g-20367 does not seem to be running inside a container 03:38:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:38:51 $ docker top 9af5e5fc0d90a7a11b6633c315f93e4c309d8616d997fbfd1ffc71d91fdefa3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:38:52 ---> job-cost.sh 03:38:52 lf-activate-venv: SKIPPING 03:38:52 INFO: No Stack... 03:38:52 INFO: Retrieving Pricing Info for: v3-standard-4 03:38:53 INFO: Archiving Costs [Pipeline] sh 03:38:54 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:38:54 + cut -d, -f6 [Pipeline] lock 03:38:54 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] 03:38:54 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] did not exist. Created. 03:38:54 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:38:55 /w/workspace/device-onvif-camera/1@tmp/durable-05a3e408/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:38:55 + echo total: 0.10999999940395355 [Pipeline] stash 03:38:55 Warning: overwriting stash ‘stack-cost’ 03:38:55 Stashed 1 file(s) [Pipeline] } 03:38:55 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:38:55 $ docker stop --time=1 9af5e5fc0d90a7a11b6633c315f93e4c309d8616d997fbfd1ffc71d91fdefa3c 03:38:57 $ docker rm -f 9af5e5fc0d90a7a11b6633c315f93e4c309d8616d997fbfd1ffc71d91fdefa3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:38:58 provisioning config files... 03:38:58 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config5780490725484459810tmp [Pipeline] { [Pipeline] sh 03:38:58 + set +x 03:38:58 + curl -s https://codecov.io/bash 03:38:58 + bash -s -- 03:38:58 03:38:58 _____ _ 03:38:58 / ____| | | 03:38:58 | | ___ __| | ___ ___ _____ __ 03:38:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:38:58 | |___| (_) | (_| | __/ (_| (_) \ V / 03:38:58 \_____\___/ \__,_|\___|\___\___/ \_/ 03:38:58 Bash-1.0.6 03:38:58 03:38:58 03:38:58 ==> git version 2.25.1 found 03:38:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:38:58 Release-Date: 2020-01-08 03:38:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:38:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:38:58 ==> Jenkins CI detected. 03:38:58 current dir:  /w/workspace/undry_device-onvif-camera_PR-111 03:38:58 project root: . 03:38:58 --> token set from env 03:38:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:38:58 ==> Running gcov in . (disable via -X gcov) 03:38:58 ==> Python coveragepy not found 03:38:58 ==> Searching for coverage reports in: 03:38:58 + . 03:38:58 -> Found 1 reports 03:38:58 ==> Detecting git/mercurial file structure 03:38:58 ==> Reading reports 03:38:59 + ./coverage.out bytes=70262 03:38:59 ==> Appending adjustments 03:38:59 https://docs.codecov.io/docs/fixing-reports 03:38:59 + Found adjustments 03:38:59 ==> Gzipping contents 03:38:59 12K /tmp/codecov.Cl0A4e.gz 03:38:59 ==> Uploading reports 03:38:59 url: https://codecov.io 03:38:59 query: branch=PR-111&commit=201cf242bae9e183bc4bdc133a26c0afb244aa26&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-111%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=111&job=&cmd_args= 03:38:59 -> Pinging Codecov 03:38:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-111&commit=201cf242bae9e183bc4bdc133a26c0afb244aa26&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-111%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=111&job=&cmd_args= 03:38:59 -> Uploading to 03:38:59 https://storage.googleapis.com/codecov/v4/raw/2022-07-18/F29A59C45E3A92E06B3E522C9905F8EF/201cf242bae9e183bc4bdc133a26c0afb244aa26/3bbbcbad-a32e-4ac7-8c2d-44bbcb79040e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T033859Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6526056f9e7636c482dfa3c575498704734ac348ee0b471508d410c9c807fbe 03:38:59 % Total % Received % Xferd Average Speed Time Time Time Current 03:38:59 Dload Upload Total Spent Left Speed 03:38:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9485 0 0 100 9485 0 42725 --:--:-- --:--:-- --:--:-- 42533 100 9485 0 0 100 9485 0 39356 --:--:-- --:--:-- --:--:-- 39356 03:38:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/201cf242bae9e183bc4bdc133a26c0afb244aa26 [Pipeline] } 03:38:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:39:01 + [ -d /w/workspace/undry_device-onvif-camera_PR-111/archives ] 03:39:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-111/archives 03:39:01 total 16 03:39:01 drwxr-xr-x 3 root root 4096 Jul 18 03:31 . 03:39:01 drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 03:31 .. 03:39:01 drwxr-xr-x 2 root root 4096 Jul 18 03:31 cost 03:39:01 -rw-r--r-- 1 root root 90 Jul 18 03:31 cost.csv 03:39:01 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-111/archives 03:39:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-111/archives 03:39:01 total 16 03:39:01 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 03:31 . 03:39:01 drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 03:31 .. 03:39:01 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 03:31 cost 03:39:01 -rw-r--r-- 1 jenkins jenkins 90 Jul 18 03:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:39:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:39:02 ---> package-listing.sh 03:39:02 ++ facter osfamily 03:39:02 ++ tr '[:upper:]' '[:lower:]' 03:39:02 + OS_FAMILY=debian 03:39:02 + workspace=/w/workspace/undry_device-onvif-camera_PR-111 03:39:02 + START_PACKAGES=/tmp/packages_start.txt 03:39:02 + END_PACKAGES=/tmp/packages_end.txt 03:39:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:39:02 + PACKAGES=/tmp/packages_start.txt 03:39:02 + '[' /w/workspace/undry_device-onvif-camera_PR-111 ']' 03:39:02 + PACKAGES=/tmp/packages_end.txt 03:39:02 + case "${OS_FAMILY}" in 03:39:02 + dpkg -l 03:39:02 + grep '^ii' 03:39:02 + '[' -f /tmp/packages_start.txt ']' 03:39:02 + '[' -f /tmp/packages_end.txt ']' 03:39:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:39:02 + '[' /w/workspace/undry_device-onvif-camera_PR-111 ']' 03:39:02 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-111/archives/ 03:39:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-111/archives/ [Pipeline] echo 03:39:02 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-111/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:39:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:39:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:04 prd-ubuntu20.04-docker-8c-8g-20366 does not seem to be running inside a container 03:39:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-111/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-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:39:04 $ docker top 89549ffe2c8aa8e68386b042114432ae4f266cbbcec87f83112e5f7eb36ab4a3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:04 + touch /tmp/pre-build-complete [Pipeline] sh 03:39:05 + mkdir -p /var/log/sysstat [Pipeline] sh 03:39:05 + ls /var/log/sa-host 03:39:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:39:05 provisioning config files... 03:39:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config2195436204633253681tmp [Pipeline] { [Pipeline] echo 03:39:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:39:05 ---> create-netrc.sh [Pipeline] } 03:39:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:39:06 ---> python-tools-install.sh [Pipeline] echo 03:39:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:39:06 ---> sudo-logs.sh 03:39:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:39:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:39:07 ---> job-cost.sh 03:39:07 lf-activate-venv: SKIPPING 03:39:07 DEBUG: total: 0.2199999988079071 03:39:07 INFO: Retrieving Stack Cost... 03:39:07 INFO: Retrieving Pricing Info for: v3-standard-8 03:39:07 INFO: Archiving Costs [Pipeline] echo 03:39:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:39:08 ---> logs-deploy.sh 03:39:08 lf-activate-venv: SKIPPING 03:39:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-111/1 03:39:08 INFO: archiving workspace using pattern(s): 03:39:09 Archives upload complete. 03:39:09 INFO: archiving logs to Nexus 03:39:10 ---> uname -a: 03:39:10 Linux prd-ubuntu20-04-docker-8c-8g-20366 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 03:39:10 03:39:10 03:39:10 ---> lscpu: 03:39:10 Architecture: x86_64 03:39:10 CPU op-mode(s): 32-bit, 64-bit 03:39:10 Byte Order: Little Endian 03:39:10 Address sizes: 40 bits physical, 48 bits virtual 03:39:10 CPU(s): 8 03:39:10 On-line CPU(s) list: 0-7 03:39:10 Thread(s) per core: 1 03:39:10 Core(s) per socket: 1 03:39:10 Socket(s): 8 03:39:10 NUMA node(s): 1 03:39:10 Vendor ID: AuthenticAMD 03:39:10 CPU family: 23 03:39:10 Model: 49 03:39:10 Model name: AMD EPYC-Rome Processor 03:39:10 Stepping: 0 03:39:10 CPU MHz: 2799.998 03:39:10 BogoMIPS: 5599.99 03:39:10 Virtualization: AMD-V 03:39:10 Hypervisor vendor: KVM 03:39:10 Virtualization type: full 03:39:10 L1d cache: 256 KiB 03:39:10 L1i cache: 256 KiB 03:39:10 L2 cache: 4 MiB 03:39:10 L3 cache: 128 MiB 03:39:10 NUMA node0 CPU(s): 0-7 03:39:10 Vulnerability Itlb multihit: Not affected 03:39:10 Vulnerability L1tf: Not affected 03:39:10 Vulnerability Mds: Not affected 03:39:10 Vulnerability Meltdown: Not affected 03:39:10 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:39:10 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:39:10 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:39:10 Vulnerability Srbds: Not affected 03:39:10 Vulnerability Tsx async abort: Not affected 03:39:10 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 03:39:10 03:39:10 03:39:10 ---> nproc: 03:39:10 8 03:39:10 03:39:10 03:39:10 ---> df -h: 03:39:10 Filesystem Size Used Avail Use% Mounted on 03:39:10 overlay 155G 11G 145G 7% / 03:39:10 tmpfs 64M 0 64M 0% /dev 03:39:10 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:39:10 shm 64M 0 64M 0% /dev/shm 03:39:10 /dev/vda1 155G 11G 145G 7% /facter-os 03:39:10 03:39:10 03:39:10 ---> sar -b -r -n DEV: 03:39:10 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20366) 07/18/22 _x86_64_ (8 CPU) 03:39:10 03:39:10 03:28:22 LINUX RESTART (8 CPU) 03:39:10 03:39:10 03:29:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:39:10 03:30:01 213.86 11.83 202.03 0.00 1983.80 109956.47 0.00 03:39:10 03:31:01 156.60 0.98 155.61 0.00 27.19 25158.95 0.00 03:39:10 03:32:01 30.64 0.00 30.64 0.00 0.00 16453.67 0.00 03:39:10 03:33:01 1.62 0.00 1.62 0.00 0.00 19.19 0.00 03:39:10 03:34:01 1.25 0.02 1.23 0.00 0.13 14.40 0.00 03:39:10 03:35:01 1.38 0.00 1.38 0.00 0.00 16.80 0.00 03:39:10 03:36:01 1.03 0.00 1.03 0.00 0.00 11.73 0.00 03:39:10 03:37:01 1.58 0.00 1.58 0.00 0.00 18.66 0.00 03:39:10 03:38:01 2.65 1.57 1.08 0.00 49.05 13.73 0.00 03:39:10 03:39:01 2.18 0.07 2.12 0.00 4.80 34.26 0.00 03:39:10 Average: 41.28 1.45 39.83 0.00 206.49 15169.20 0.00 03:39:10 03:39:10 03:29:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:39:10 03:30:01 28296892 31672168 616500 1.87 160292 3424176 2493016 7.35 1313312 2819800 42276 03:39:10 03:31:01 27724864 31661292 628412 1.91 169224 3948028 2390548 7.05 1442772 3233948 322664 03:39:10 03:32:01 27567324 31673096 615448 1.87 175800 4082732 1976164 5.82 1448712 3356104 16 03:39:10 03:33:01 27565964 31671872 616128 1.87 175824 4082736 1976164 5.82 1447916 3356108 28 03:39:10 03:34:01 27573336 31679272 608644 1.85 175864 4082736 1994748 5.88 1439840 3356116 28 03:39:10 03:35:01 27573548 31679532 608332 1.85 175892 4082748 1994748 5.88 1439920 3356116 60 03:39:10 03:36:01 27574968 31681052 607052 1.85 175908 4082752 1994748 5.88 1438536 3356288 12 03:39:10 03:37:01 27575180 31681284 606772 1.85 175936 4082756 1994748 5.88 1438592 3356292 8 03:39:10 03:38:01 27568856 31677648 610268 1.86 175984 4084228 1994748 5.88 1447532 3355824 152 03:39:10 03:39:01 27565756 31674692 612820 1.86 176060 4084356 2027688 5.98 1447876 3355692 56 03:39:10 Average: 27658669 31675191 613038 1.86 173678 4003725 2083732 6.14 1430501 3290229 36530 03:39:10 03:39:10 03:29:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:39:10 03:30:01 docker0 122.45 146.94 9.80 1125.58 0.00 0.00 0.00 0.00 03:39:10 03:30:01 veth2d2bd20 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 03:39:10 03:30:01 ens3 415.83 292.23 6747.57 53.26 0.00 0.00 0.00 0.00 03:39:10 03:30:01 lo 5.73 5.73 0.56 0.56 0.00 0.00 0.00 0.00 03:39:10 03:31:01 docker0 9.00 14.46 0.53 94.61 0.00 0.00 0.00 0.00 03:39:10 03:31:01 ens3 131.37 84.54 2674.10 18.93 0.00 0.00 0.00 0.00 03:39:10 03:31:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 03:39:10 03:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:39:10 03:32:01 ens3 25.93 14.68 26.67 5.44 0.00 0.00 0.00 0.00 03:39:10 03:32:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 03:39:10 03:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:39:10 03:33:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 03:39:10 03:33:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:39:10 03:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:39:10 03:34:01 ens3 0.18 0.12 0.08 0.07 0.00 0.00 0.00 0.00 03:39:10 03:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:39:10 03:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:39:10 03:35:01 ens3 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:39:10 03:35:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:39:10 03:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:39:10 03:36:01 ens3 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 03:39:10 03:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:39:10 03:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:39:10 03:37:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 03:39:10 03:37:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:39:10 03:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:39:10 03:38:01 ens3 64.33 66.74 8.93 107.63 0.00 0.00 0.00 0.00 03:39:10 03:38:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 03:39:10 03:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:39:10 03:39:01 ens3 5.07 3.65 5.09 1.79 0.00 0.00 0.00 0.00 03:39:10 03:39:01 lo 0.53 0.53 0.04 0.04 0.00 0.00 0.00 0.00 03:39:10 Average: docker0 13.14 16.14 1.03 122.01 0.00 0.00 0.00 0.00 03:39:10 Average: ens3 64.31 46.23 946.23 18.71 0.00 0.00 0.00 0.00 03:39:10 Average: lo 0.91 0.91 0.09 0.09 0.00 0.00 0.00 0.00 03:39:10 03:39:10 03:39:10 ---> sar -P ALL: 03:39:10 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20366) 07/18/22 _x86_64_ (8 CPU) 03:39:10 03:39:10 03:28:22 LINUX RESTART (8 CPU) 03:39:10 03:39:10 03:29:01 CPU %user %nice %system %iowait %steal %idle 03:39:10 03:30:01 all 12.88 0.00 5.32 1.15 0.06 80.59 03:39:10 03:30:01 0 13.48 0.00 5.02 1.08 0.07 80.35 03:39:10 03:30:01 1 13.95 0.00 5.27 0.25 0.05 80.48 03:39:10 03:30:01 2 12.91 0.00 5.50 1.88 0.05 79.67 03:39:10 03:30:01 3 12.01 0.00 4.83 1.29 0.07 81.80 03:39:10 03:30:01 4 13.45 0.00 5.42 0.08 0.05 81.00 03:39:10 03:30:01 5 12.95 0.00 5.46 1.03 0.07 80.49 03:39:10 03:30:01 6 12.16 0.00 5.03 0.19 0.05 82.57 03:39:10 03:30:01 7 12.17 0.00 6.01 3.40 0.07 78.36 03:39:10 03:31:01 all 40.93 0.00 6.61 0.58 0.09 51.80 03:39:10 03:31:01 0 40.98 0.00 6.68 0.34 0.08 51.93 03:39:10 03:31:01 1 42.77 0.00 6.61 0.88 0.08 49.64 03:39:10 03:31:01 2 41.23 0.00 6.62 0.20 0.08 51.87 03:39:10 03:31:01 3 39.75 0.00 6.54 0.15 0.08 53.48 03:39:10 03:31:01 4 39.66 0.00 6.96 1.77 0.08 51.52 03:39:10 03:31:01 5 40.71 0.00 6.26 0.25 0.08 52.69 03:39:10 03:31:01 6 40.81 0.00 6.54 0.35 0.08 52.21 03:39:10 03:31:01 7 41.53 0.00 6.69 0.66 0.10 51.02 03:39:10 03:32:01 all 1.99 0.00 0.74 0.21 0.01 97.05 03:39:10 03:32:01 0 1.84 0.00 0.69 0.10 0.02 97.36 03:39:10 03:32:01 1 2.20 0.00 0.63 0.15 0.00 97.01 03:39:10 03:32:01 2 1.65 0.00 0.78 0.05 0.02 97.49 03:39:10 03:32:01 3 3.55 0.00 0.54 0.00 0.02 95.89 03:39:10 03:32:01 4 1.65 0.00 0.55 0.02 0.02 97.76 03:39:10 03:32:01 5 1.84 0.00 0.72 0.02 0.00 97.43 03:39:10 03:32:01 6 1.54 0.00 1.30 1.20 0.00 95.96 03:39:10 03:32:01 7 1.61 0.00 0.72 0.17 0.00 97.51 03:39:10 03:33:01 all 0.27 0.00 0.02 0.00 0.00 99.70 03:39:10 03:33:01 0 0.02 0.00 0.05 0.00 0.00 99.93 03:39:10 03:33:01 1 0.02 0.00 0.00 0.00 0.00 99.98 03:39:10 03:33:01 2 0.07 0.00 0.03 0.00 0.00 99.90 03:39:10 03:33:01 3 1.99 0.00 0.02 0.00 0.00 98.00 03:39:10 03:33:01 4 0.03 0.00 0.00 0.00 0.00 99.97 03:39:10 03:33:01 5 0.00 0.00 0.02 0.00 0.02 99.97 03:39:10 03:33:01 6 0.00 0.00 0.02 0.03 0.00 99.95 03:39:10 03:33:01 7 0.02 0.00 0.02 0.00 0.00 99.97 03:39:10 03:34:01 all 0.28 0.00 0.02 0.00 0.01 99.69 03:39:10 03:34:01 0 0.03 0.00 0.03 0.00 0.00 99.93 03:39:10 03:34:01 1 0.03 0.00 0.00 0.00 0.02 99.95 03:39:10 03:34:01 2 0.05 0.00 0.03 0.00 0.02 99.90 03:39:10 03:34:01 3 1.99 0.00 0.03 0.00 0.00 97.98 03:39:10 03:34:01 4 0.03 0.00 0.03 0.00 0.00 99.93 03:39:10 03:34:01 5 0.03 0.00 0.00 0.00 0.00 99.97 03:39:10 03:34:01 6 0.03 0.00 0.00 0.02 0.02 99.93 03:39:10 03:34:01 7 0.03 0.00 0.02 0.00 0.02 99.93 03:39:10 03:35:01 all 0.26 0.00 0.01 0.02 0.00 99.70 03:39:10 03:35:01 0 0.02 0.00 0.02 0.02 0.00 99.95 03:39:10 03:35:01 1 0.00 0.00 0.00 0.00 0.00 100.00 03:39:10 03:35:01 2 0.02 0.00 0.05 0.00 0.02 99.92 03:39:10 03:35:01 3 2.00 0.00 0.02 0.00 0.02 97.97 03:39:10 03:35:01 4 0.00 0.00 0.00 0.00 0.00 100.00 03:39:10 03:35:01 5 0.02 0.00 0.00 0.00 0.00 99.98 03:39:10 03:35:01 6 0.00 0.00 0.02 0.12 0.00 99.87 03:39:10 03:35:01 7 0.02 0.00 0.02 0.00 0.00 99.97 03:39:10 03:36:01 all 0.27 0.00 0.01 0.00 0.00 99.71 03:39:10 03:36:01 0 0.03 0.00 0.00 0.02 0.00 99.95 03:39:10 03:36:01 1 0.02 0.00 0.02 0.00 0.00 99.97 03:39:10 03:36:01 2 0.03 0.00 0.03 0.00 0.00 99.93 03:39:10 03:36:01 3 1.99 0.00 0.02 0.00 0.00 98.00 03:39:10 03:36:01 4 0.02 0.00 0.00 0.00 0.02 99.97 03:39:10 03:36:01 5 0.02 0.00 0.02 0.00 0.00 99.97 03:39:10 03:36:01 6 0.02 0.00 0.02 0.02 0.00 99.95 03:39:10 03:36:01 7 0.05 0.00 0.00 0.00 0.00 99.95 03:39:10 03:37:01 all 0.03 0.00 0.01 0.00 0.00 99.96 03:39:10 03:37:01 0 0.00 0.00 0.00 0.02 0.00 99.98 03:39:10 03:37:01 1 0.00 0.00 0.00 0.00 0.00 100.00 03:39:10 03:37:01 2 0.05 0.00 0.03 0.00 0.00 99.92 03:39:10 03:37:01 3 0.10 0.00 0.02 0.00 0.00 99.88 03:39:10 03:37:01 4 0.02 0.00 0.00 0.00 0.00 99.98 03:39:10 03:37:01 5 0.02 0.00 0.02 0.00 0.00 99.97 03:39:10 03:37:01 6 0.00 0.00 0.03 0.00 0.00 99.97 03:39:10 03:37:01 7 0.02 0.00 0.00 0.00 0.00 99.98 03:39:10 03:38:01 all 0.52 0.00 0.09 0.01 0.00 99.38 03:39:10 03:38:01 0 0.23 0.00 0.22 0.02 0.00 99.53 03:39:10 03:38:01 1 1.67 0.00 0.12 0.00 0.00 98.22 03:39:10 03:38:01 2 0.55 0.00 0.12 0.00 0.02 99.32 03:39:10 03:38:01 3 0.30 0.00 0.05 0.00 0.00 99.65 03:39:10 03:38:01 4 0.27 0.00 0.05 0.00 0.00 99.68 03:39:10 03:38:01 5 0.18 0.00 0.08 0.02 0.00 99.72 03:39:10 03:38:01 6 0.40 0.00 0.05 0.03 0.00 99.52 03:39:10 03:38:01 7 0.52 0.00 0.05 0.00 0.00 99.43 03:39:10 03:39:01 all 0.35 0.00 0.07 0.01 0.00 99.58 03:39:10 03:39:01 0 0.13 0.00 0.10 0.02 0.02 99.73 03:39:10 03:39:01 1 2.00 0.00 0.10 0.00 0.00 97.90 03:39:10 03:39:01 2 0.10 0.00 0.12 0.02 0.00 99.77 03:39:10 03:39:01 3 0.10 0.00 0.03 0.00 0.00 99.87 03:39:10 03:39:01 4 0.08 0.00 0.08 0.00 0.00 99.83 03:39:10 03:39:01 5 0.03 0.00 0.05 0.00 0.00 99.92 03:39:10 03:39:01 6 0.10 0.00 0.02 0.05 0.00 99.83 03:39:10 03:39:01 7 0.18 0.00 0.03 0.00 0.00 99.78 03:39:10 Average: all 5.72 0.00 1.28 0.20 0.02 92.79 03:39:10 Average: 0 5.63 0.00 1.27 0.16 0.02 92.92 03:39:10 Average: 1 6.18 0.00 1.26 0.13 0.02 92.42 03:39:10 Average: 2 5.60 0.00 1.32 0.21 0.02 92.85 03:39:10 Average: 3 6.31 0.00 1.19 0.14 0.02 92.34 03:39:10 Average: 4 5.46 0.00 1.30 0.19 0.02 93.04 03:39:10 Average: 5 5.54 0.00 1.25 0.13 0.02 93.06 03:39:10 Average: 6 5.45 0.00 1.29 0.20 0.02 93.05 03:39:10 Average: 7 5.54 0.00 1.34 0.42 0.02 92.69 03:39:10 03:39:10 03:39:10