Pull request #139 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b14db977a21d4911b4a94164344e882f0b450d6f+a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 (8a7b0e75ad5d31ad994a38c2c889586e5619d7a9) 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-ssh7762355934864839686.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-ssh7237689051104312072.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-139/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-139/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13125339064395203879.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-139/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14124005986220471056.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-ssh3506149199585524950.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-139/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-139/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10666483375485957300.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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: true SWAGGER_API_FOLDERS: doc/openapi/v2 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-23276 in /w/workspace/undry_device-onvif-camera_PR-139 [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-139 # 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 a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 into PR head commit b14db977a21d4911b4a94164344e882f0b450d6f Merge succeeded, producing b14db977a21d4911b4a94164344e882f0b450d6f Checking out Revision b14db977a21d4911b4a94164344e882f0b450d6f (PR-139) > 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/139/head:refs/remotes/origin/PR-139 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b14db977a21d4911b4a94164344e882f0b450d6f # 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 a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b14db977a21d4911b4a94164344e882f0b450d6f # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/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:34:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:34:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:34:55 ========================================================= 03:34:55 EdgeX Global Pipelines Version Info 03:34:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:34:55 ------------------- 03:34:55 stable info: 03:34:55 ------------------- 03:34:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:34:55 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 03:34:55 Message: update stable to v1.0.238 03:34:56 ------------------- 03:34:56 experimental info: 03:34:56 ------------------- 03:34:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:34:56 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 03:34:56 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:34:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:34:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:34:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:34:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:34:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:34:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-139 [Pipeline] echo 03:34:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-139 [Pipeline] echo 03:34:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-139 [Pipeline] echo 03:34:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b14db977a21d4911b4a94164344e882f0b450d6f [Pipeline] echo 03:34:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b14db97 [Pipeline] echo 03:34:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:34:58 provisioning config files... 03:34:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-139@tmp/config1867139411857387285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:34:58 ---> docker-login.sh 03:34:58 nexus3.edgexfoundry.org:10001 03:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:59 Configure a credential helper to remove this warning. See 03:34:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:59 03:34:59 Login Succeeded 03:34:59 nexus3.edgexfoundry.org:10002 03:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:59 Configure a credential helper to remove this warning. See 03:34:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:59 03:34:59 Login Succeeded 03:34:59 nexus3.edgexfoundry.org:10003 03:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:59 Configure a credential helper to remove this warning. See 03:34:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:59 03:34:59 Login Succeeded 03:34:59 nexus3.edgexfoundry.org:10004 03:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:59 Configure a credential helper to remove this warning. See 03:34:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:59 03:34:59 Login Succeeded 03:34:59 docker.io 03:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:00 Configure a credential helper to remove this warning. See 03:35:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:00 03:35:00 Login Succeeded 03:35:00 ---> docker-login.sh ends [Pipeline] } 03:35:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:35:00 + git rev-list -1 --merges b14db977a21d4911b4a94164344e882f0b450d6f~1..b14db977a21d4911b4a94164344e882f0b450d6f [Pipeline] echo 03:35:00 -----------> git rev-list -1 --merges b14db977a21d4911b4a94164344e882f0b450d6f~1..b14db977a21d4911b4a94164344e882f0b450d6f b14db977a21d4911b4a94164344e882f0b450d6f [false] [Pipeline] sh 03:35:01 + git log --format=format:%s -1 b14db977a21d4911b4a94164344e882f0b450d6f [Pipeline] echo 03:35:01 ========================================================= 03:35:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:35:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:35:01 + git log --format=format:%s -1 b14db977a21d4911b4a94164344e882f0b450d6f [Pipeline] echo 03:35:01 [semverPrep] GIT_COMMIT: b14db977a21d4911b4a94164344e882f0b450d6f, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 03:35:01 [semverPrep] This is not a build commit. [Pipeline] sh 03:35:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:35:02 + grep -v github /etc/ssh/ssh_known_hosts 03:35:02 + [ -e /tmp/ssh_known_hosts ] 03:35:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:35:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:35:02 + sudo tee -a /etc/ssh/ssh_known_hosts 03:35:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:35:02 03:35:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:35:03 0.1.4: Pulling from edgex-devops/py-git-semver 03:35:03 b85a868b505f: Pulling fs layer 03:35:03 e2be974225ed: Pulling fs layer 03:35:03 339a4e72a1f5: Pulling fs layer 03:35:03 988bab9f4d93: Pulling fs layer 03:35:03 1469e6f7b9e6: Pulling fs layer 03:35:03 eaf3925da568: Pulling fs layer 03:35:03 bab4dde63d76: Pulling fs layer 03:35:03 bde34c3a00c8: Pulling fs layer 03:35:03 b352a97aabf1: Pulling fs layer 03:35:03 4872d77fe225: Pulling fs layer 03:35:03 988bab9f4d93: Waiting 03:35:03 5851b861e8e6: Pulling fs layer 03:35:03 1469e6f7b9e6: Waiting 03:35:03 eaf3925da568: Waiting 03:35:03 bab4dde63d76: Waiting 03:35:03 bde34c3a00c8: Waiting 03:35:03 b352a97aabf1: Waiting 03:35:03 4872d77fe225: Waiting 03:35:03 5851b861e8e6: Waiting 03:35:03 e2be974225ed: Verifying Checksum 03:35:03 e2be974225ed: Download complete 03:35:03 988bab9f4d93: Verifying Checksum 03:35:03 988bab9f4d93: Download complete 03:35:03 339a4e72a1f5: Verifying Checksum 03:35:03 339a4e72a1f5: Download complete 03:35:03 1469e6f7b9e6: Verifying Checksum 03:35:03 1469e6f7b9e6: Download complete 03:35:03 eaf3925da568: Verifying Checksum 03:35:03 eaf3925da568: Download complete 03:35:03 bde34c3a00c8: Download complete 03:35:03 b352a97aabf1: Download complete 03:35:03 4872d77fe225: Verifying Checksum 03:35:03 4872d77fe225: Download complete 03:35:03 b85a868b505f: Verifying Checksum 03:35:03 b85a868b505f: Download complete 03:35:03 5851b861e8e6: Download complete 03:35:03 bab4dde63d76: Verifying Checksum 03:35:03 bab4dde63d76: Download complete 03:35:04 b85a868b505f: Pull complete 03:35:04 e2be974225ed: Pull complete 03:35:05 339a4e72a1f5: Pull complete 03:35:05 988bab9f4d93: Pull complete 03:35:05 1469e6f7b9e6: Pull complete 03:35:05 eaf3925da568: Pull complete 03:35:07 bab4dde63d76: Pull complete 03:35:07 bde34c3a00c8: Pull complete 03:35:07 b352a97aabf1: Pull complete 03:35:07 4872d77fe225: Pull complete 03:35:07 5851b861e8e6: Pull complete 03:35:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:35:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:35:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:07 prd-ubuntu20.04-docker-8c-8g-23276 does not seem to be running inside a container 03:35:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@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:35:10 $ docker top 1723da639b70509b4b7f4a290a9b2d485e73d6f378f188d366c71738470a03c5 -eo pid,comm 03:35:10 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:35:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:35:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:10 [ssh-agent] Looking for ssh-agent implementation... 03:35:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:10 $ docker exec 1723da639b70509b4b7f4a290a9b2d485e73d6f378f188d366c71738470a03c5 ssh-agent 03:35:10 SSH_AUTH_SOCK=/tmp/ssh-4WnnPrRp3nCx/agent.32 03:35:10 SSH_AGENT_PID=38 03:35:10 Running ssh-add (command line suppressed) 03:35:10 Identity added: /w/workspace/undry_device-onvif-camera_PR-139@tmp/private_key_1484306825010339903.key (/w/workspace/undry_device-onvif-camera_PR-139@tmp/private_key_1484306825010339903.key) 03:35:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:11 + git tag --points-at HEAD [Pipeline] } 03:35:11 $ docker exec --env ******** --env ******** 1723da639b70509b4b7f4a290a9b2d485e73d6f378f188d366c71738470a03c5 ssh-agent -k 03:35:11 unset SSH_AUTH_SOCK; 03:35:11 unset SSH_AGENT_PID; 03:35:11 echo Agent pid 38 killed; 03:35:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:35:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:11 [ssh-agent] Looking for ssh-agent implementation... 03:35:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:11 $ docker exec 1723da639b70509b4b7f4a290a9b2d485e73d6f378f188d366c71738470a03c5 ssh-agent 03:35:11 SSH_AUTH_SOCK=/tmp/ssh-QunwRqwPgreZ/agent.73 03:35:11 SSH_AGENT_PID=79 03:35:11 Running ssh-add (command line suppressed) 03:35:11 Identity added: /w/workspace/undry_device-onvif-camera_PR-139@tmp/private_key_2153386560097248224.key (/w/workspace/undry_device-onvif-camera_PR-139@tmp/private_key_2153386560097248224.key) 03:35:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:12 + git semver init 03:35:12 2022-08-22 03:35:12,271 [run_init] DEBUG init version:0.0.0 force:False 03:35:12 2022-08-22 03:35:12,271 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-139/.semver 03:35:12 2022-08-22 03:35:12,272 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-139/.semver 03:35:12 2022-08-22 03:35:12,272 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-139/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-139, universal_newlines=False, shell=None, istream=None) 03:35:13 2022-08-22 03:35:13,066 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-139/.git/info/exclude 03:35:13 2022-08-22 03:35:13,067 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-139/.semver/PR-139 with force:False 03:35:13 2022-08-22 03:35:13,067 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-139/.semver/PR-139 03:35:13 2022-08-22 03:35:13,069 [execute] INFO git cat-file --batch-check 03:35:13 2022-08-22 03:35:13,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-139/.semver, universal_newlines=False, shell=None, istream=) 03:35:13 2022-08-22 03:35:13,074 [execute] INFO git cat-file --batch 03:35:13 2022-08-22 03:35:13,074 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-139/.semver, universal_newlines=False, shell=None, istream=) 03:35:13 2022-08-22 03:35:13,080 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-139/.semver/PR-139 03:35:13 0.0.0 [Pipeline] } 03:35:13 $ docker exec --env ******** --env ******** 1723da639b70509b4b7f4a290a9b2d485e73d6f378f188d366c71738470a03c5 ssh-agent -k 03:35:13 unset SSH_AUTH_SOCK; 03:35:13 unset SSH_AGENT_PID; 03:35:13 echo Agent pid 79 killed; 03:35:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:35:13 + git semver [Pipeline] } 03:35:14 $ docker stop --time=1 1723da639b70509b4b7f4a290a9b2d485e73d6f378f188d366c71738470a03c5 03:35:15 $ docker rm -f 1723da639b70509b4b7f4a290a9b2d485e73d6f378f188d366c71738470a03c5 [Pipeline] // withDockerContainer [Pipeline] sh 03:35:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:35:16 Stashed 1 file(s) [Pipeline] echo 03:35:16 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:35:16 provisioning config files... 03:35:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-139@tmp/config6413190375191414856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:17 ---> docker-login.sh 03:35:17 nexus3.edgexfoundry.org:10001 03:35:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:17 Configure a credential helper to remove this warning. See 03:35:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:17 03:35:17 Login Succeeded 03:35:17 nexus3.edgexfoundry.org:10002 03:35:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:17 Configure a credential helper to remove this warning. See 03:35:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:17 03:35:17 Login Succeeded 03:35:17 nexus3.edgexfoundry.org:10003 03:35:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:17 Configure a credential helper to remove this warning. See 03:35:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:17 03:35:17 Login Succeeded 03:35:17 nexus3.edgexfoundry.org:10004 03:35:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:17 Configure a credential helper to remove this warning. See 03:35:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:17 03:35:17 Login Succeeded 03:35:17 docker.io 03:35:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:17 Configure a credential helper to remove this warning. See 03:35:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:17 03:35:17 Login Succeeded 03:35:17 ---> docker-login.sh ends [Pipeline] } 03:35:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:35:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:35:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:35:18 ========================================================= 03:35:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:35:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:18 + 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:35:18 Sending build context to Docker daemon 20.52MB 03:35:18 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:35:18 Step 2/13 : FROM ${BASE} AS builder 03:35:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:35:19 2408cc74d12b: Pulling fs layer 03:35:19 ea60b727a1ce: Pulling fs layer 03:35:19 30c4a7721957: Pulling fs layer 03:35:19 370296b7ddb6: Pulling fs layer 03:35:19 7c6cee850709: Pulling fs layer 03:35:19 39a5fcdaea64: Pulling fs layer 03:35:19 d94ebbe4e438: Pulling fs layer 03:35:19 bcfd1f05c69d: Pulling fs layer 03:35:19 59ccb84bbe0f: Pulling fs layer 03:35:19 7c6cee850709: Waiting 03:35:19 39a5fcdaea64: Waiting 03:35:19 d94ebbe4e438: Waiting 03:35:19 bcfd1f05c69d: Waiting 03:35:19 59ccb84bbe0f: Waiting 03:35:19 370296b7ddb6: Waiting 03:35:19 30c4a7721957: Download complete 03:35:19 ea60b727a1ce: Download complete 03:35:19 7c6cee850709: Verifying Checksum 03:35:19 7c6cee850709: Download complete 03:35:19 39a5fcdaea64: Verifying Checksum 03:35:19 39a5fcdaea64: Download complete 03:35:19 2408cc74d12b: Verifying Checksum 03:35:19 2408cc74d12b: Download complete 03:35:19 d94ebbe4e438: Verifying Checksum 03:35:19 d94ebbe4e438: Download complete 03:35:19 2408cc74d12b: Pull complete 03:35:19 ea60b727a1ce: Pull complete 03:35:19 30c4a7721957: Pull complete 03:35:19 59ccb84bbe0f: Verifying Checksum 03:35:19 59ccb84bbe0f: Download complete 03:35:19 370296b7ddb6: Verifying Checksum 03:35:19 370296b7ddb6: Download complete 03:35:19 bcfd1f05c69d: Verifying Checksum 03:35:19 bcfd1f05c69d: Download complete 03:35:24 370296b7ddb6: Pull complete 03:35:24 7c6cee850709: Pull complete 03:35:24 39a5fcdaea64: Pull complete 03:35:24 d94ebbe4e438: Pull complete 03:35:26 bcfd1f05c69d: Pull complete 03:35:26 59ccb84bbe0f: Pull complete 03:35:26 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 03:35:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:35:26 ---> a4fb48ad2a94 03:35:26 Step 3/13 : ARG MAKE="make build" 03:35:31 ---> Running in 00ccaab33ce1 03:35:31 Removing intermediate container 00ccaab33ce1 03:35:31 ---> 4b595787eb4d 03:35:31 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:35:31 ---> Running in 62598a0dfb04 03:35:31 Removing intermediate container 62598a0dfb04 03:35:31 ---> 7ffc2087309a 03:35:31 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 03:35:31 ---> Running in ee8891ff5c2e 03:35:31 Removing intermediate container ee8891ff5c2e 03:35:31 ---> 6f3de4355824 03:35:31 Step 6/13 : LABEL Name=edgex-device-onvif-camera 03:35:31 ---> Running in 5b438cf13982 03:35:31 Removing intermediate container 5b438cf13982 03:35:31 ---> fdae265b1100 03:35:31 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:35:31 ---> Running in c1baeb094cea 03:35:31 Removing intermediate container c1baeb094cea 03:35:31 ---> 7c2922d58bf7 03:35:31 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:35:31 ---> Running in 5043cf50dda2 03:35:31 Still waiting to schedule task 03:35:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:35:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:35:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:35:33 OK: 211 MiB in 51 packages 03:35:33 Removing intermediate container 5043cf50dda2 03:35:33 ---> a9446cfd3ca9 03:35:33 Step 9/13 : WORKDIR /device-onvif-camera 03:35:33 ---> Running in c77b90ae2a8e 03:35:33 Removing intermediate container c77b90ae2a8e 03:35:33 ---> 79c5016c493b 03:35:33 Step 10/13 : COPY go.mod vendor* ./ 03:35:33 ---> 372895e935a5 03:35:33 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:35:33 ---> Running in ec202f8ca9c6 03:36:00 Removing intermediate container ec202f8ca9c6 03:36:00 ---> ce7b9e1d3fa3 03:36:00 Step 12/13 : COPY . . 03:36:00 ---> 2517a7341749 03:36:00 Step 13/13 : RUN ${MAKE} 03:36:00 ---> Running in 982749df2a61 03:36:00 noop 03:36:00 Removing intermediate container 982749df2a61 03:36:00 ---> bd2965361893 03:36:00 Successfully built bd2965361893 03:36:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:00 + docker inspect -f . ci-base-image-x86_64 03:36:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:00 prd-ubuntu20.04-docker-8c-8g-23276 does not seem to be running inside a container 03:36:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@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:36:01 $ docker top fb048f6cbdab534b443e231a82a557538abb38eb38fa06b2bcc2d2c5662d724b -eo pid,comm [Pipeline] { [Pipeline] sh 03:36:01 + go version 03:36:01 go version go1.18.3 linux/amd64 [Pipeline] } 03:36:01 $ docker stop --time=1 fb048f6cbdab534b443e231a82a557538abb38eb38fa06b2bcc2d2c5662d724b 03:36:03 $ docker rm -f fb048f6cbdab534b443e231a82a557538abb38eb38fa06b2bcc2d2c5662d724b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:03 + docker inspect -f . ci-base-image-x86_64 03:36:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:03 prd-ubuntu20.04-docker-8c-8g-23276 does not seem to be running inside a container 03:36:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@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:36:04 $ docker top 19d8663cfde99230b1bd211aad286aead10bbb57f1f39be097c1e1816c240c4c -eo pid,comm [Pipeline] { [Pipeline] sh 03:36:04 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-139 [Pipeline] fileExists [Pipeline] sh 03:36:05 + make test 03:36:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:36:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:36:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:36:17 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.027s coverage: 10.6% of statements 03:36:17 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:36:19 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.333s coverage: 13.8% of statements 03:36:27 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 03:36:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:36:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:36:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:36:31 ./bin/test-attribution-txt.sh [Pipeline] echo 03:36:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:36:31 $ docker stop --time=1 19d8663cfde99230b1bd211aad286aead10bbb57f1f39be097c1e1816c240c4c 03:36:33 $ docker rm -f 19d8663cfde99230b1bd211aad286aead10bbb57f1f39be097c1e1816c240c4c [Pipeline] // withDockerContainer [Pipeline] sh 03:36:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:36:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:36:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:36:35 + ls -al . 03:36:35 total 232 03:36:35 drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 03:36 . 03:36:35 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 03:34 .. 03:36:35 drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 03:36 .git 03:36:35 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 03:34 .github 03:36:35 -rw-rw-r-- 1 jenkins jenkins 418 Aug 22 03:34 .gitignore 03:36:35 -rw-rw-r-- 1 jenkins jenkins 42 Aug 22 03:34 .golangci.yml 03:36:35 drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 03:35 .semver 03:36:35 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 22 03:34 Attribution.txt 03:36:35 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 22 03:34 CHANGELOG.md 03:36:35 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 22 03:34 Dockerfile 03:36:35 -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 03:34 GOVERNANCE.md 03:36:35 -rw-rw-r-- 1 jenkins jenkins 734 Aug 22 03:34 Jenkinsfile 03:36:35 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 22 03:34 LICENSE 03:36:35 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 22 03:34 Makefile 03:36:35 -rw-rw-r-- 1 jenkins jenkins 625 Aug 22 03:34 OWNERS.md 03:36:35 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 22 03:34 README.md 03:36:35 -rw-rw-r-- 1 jenkins jenkins 5 Aug 22 03:35 VERSION 03:36:35 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 03:34 bin 03:36:35 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 03:34 cmd 03:36:35 -rw-r--r-- 1 jenkins jenkins 76854 Aug 22 03:36 coverage.out 03:36:35 drwxrwxr-x 6 jenkins jenkins 4096 Aug 22 03:34 doc 03:36:35 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 22 03:34 go.mod 03:36:35 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 22 03:34 go.sum 03:36:35 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 03:34 internal 03:36:35 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 03:34 snap 03:36:35 -rw-rw-r-- 1 jenkins jenkins 236 Aug 22 03:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:35 + 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=b14db977a21d4911b4a94164344e882f0b450d6f --label arch=amd64 --label version=0.0.0 . 03:36:35 Sending build context to Docker daemon 20.6MB 03:36:35 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 03:36:35 Step 2/26 : FROM ${BASE} AS builder 03:36:35 ---> bd2965361893 03:36:35 Step 3/26 : ARG MAKE="make build" 03:36:35 ---> Running in c6fd383afee7 03:36:35 Removing intermediate container c6fd383afee7 03:36:35 ---> 08a4ff8a7a3a 03:36:35 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:36:35 ---> Running in 084c3baa8b7f 03:36:35 Removing intermediate container 084c3baa8b7f 03:36:35 ---> 7217601fb7ae 03:36:35 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 03:36:35 ---> Running in 819057bae803 03:36:35 Removing intermediate container 819057bae803 03:36:35 ---> 2c9da96e67cd 03:36:35 Step 6/26 : LABEL Name=edgex-device-onvif-camera 03:36:35 ---> Running in 1fc7e94fbe61 03:36:36 Removing intermediate container 1fc7e94fbe61 03:36:36 ---> ada568a1b7cf 03:36:36 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:36:36 ---> Running in 5b7d36fd48f9 03:36:36 Removing intermediate container 5b7d36fd48f9 03:36:36 ---> 8d23d60110a3 03:36:36 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:36:36 ---> Running in a77de2c3a852 03:36:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:36:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:36:38 OK: 211 MiB in 51 packages 03:36:38 Removing intermediate container a77de2c3a852 03:36:38 ---> 16ea5faea779 03:36:38 Step 9/26 : WORKDIR /device-onvif-camera 03:36:38 ---> Running in 1d5b51677218 03:36:38 Removing intermediate container 1d5b51677218 03:36:38 ---> a06dc32b763b 03:36:38 Step 10/26 : COPY go.mod vendor* ./ 03:36:38 ---> 478a33673311 03:36:38 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:36:38 ---> Running in db0a9f143f72 03:36:39 Removing intermediate container db0a9f143f72 03:36:39 ---> 7edd89dbbc10 03:36:39 Step 12/26 : COPY . . 03:36:40 ---> 313cd730ca20 03:36:40 Step 13/26 : RUN ${MAKE} 03:36:40 ---> Running in 555f036688b0 03:36:40 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:37:02 Removing intermediate container 555f036688b0 03:37:02 ---> 61420a748a2f 03:37:02 Step 14/26 : FROM alpine:3.16 03:37:02 3.16: Pulling from library/alpine 03:37:02 213ec9aee27d: Pulling fs layer 03:37:02 213ec9aee27d: Verifying Checksum 03:37:02 213ec9aee27d: Download complete 03:37:02 213ec9aee27d: Pull complete 03:37:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:37:02 Status: Downloaded newer image for alpine:3.16 03:37:02 ---> 9c6f07244728 03:37:02 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:37:02 ---> Running in 6b37c7880367 03:37:02 Removing intermediate container 6b37c7880367 03:37:02 ---> 46413f894f79 03:37:02 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:37:02 ---> Running in 9afb53fa1bbc 03:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:37:03 (1/6) Installing dumb-init (1.2.5-r1) 03:37:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:37:03 (3/6) Installing libsodium (1.0.18-r0) 03:37:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:37:03 (5/6) Installing libzmq (4.3.4-r0) 03:37:03 (6/6) Installing zeromq (4.3.4-r0) 03:37:03 Executing busybox-1.35.0-r17.trigger 03:37:03 OK: 8 MiB in 20 packages 03:37:03 Removing intermediate container 9afb53fa1bbc 03:37:03 ---> 4a5eeee7a97a 03:37:03 Step 17/26 : WORKDIR / 03:37:03 ---> Running in de3aab549240 03:37:04 Removing intermediate container de3aab549240 03:37:04 ---> c233cd0c50d8 03:37:04 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:37:04 ---> eadaaa6bf00b 03:37:04 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:37:04 ---> 2a1b7a9bdec3 03:37:04 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:37:04 ---> 9476575b68f4 03:37:04 Step 21/26 : EXPOSE 59984 03:37:04 ---> Running in bfc151b7cbca 03:37:04 Removing intermediate container bfc151b7cbca 03:37:04 ---> a09232e11342 03:37:04 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:37:04 ---> Running in c7cb5608a64c 03:37:05 Removing intermediate container c7cb5608a64c 03:37:05 ---> f151d5a278a3 03:37:05 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:37:05 ---> Running in 2ed7ab52d682 03:37:05 Removing intermediate container 2ed7ab52d682 03:37:05 ---> 817036441f5f 03:37:05 Step 24/26 : LABEL arch=amd64 03:37:05 ---> Running in 5a6d3e4d5543 03:37:05 Removing intermediate container 5a6d3e4d5543 03:37:05 ---> 80ddfc0485de 03:37:05 Step 25/26 : LABEL git_sha=b14db977a21d4911b4a94164344e882f0b450d6f 03:37:05 ---> Running in d3bc89050420 03:37:05 Removing intermediate container d3bc89050420 03:37:05 ---> 98fd271ef537 03:37:05 Step 26/26 : LABEL version=0.0.0 03:37:05 ---> Running in 3920d5d9278d 03:37:05 Removing intermediate container 3920d5d9278d 03:37:05 ---> 536b4473d0b7 03:37:05 [Warning] One or more build-args [ARCH] were not consumed 03:37:05 Successfully built 536b4473d0b7 03:37:05 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:37:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:37:06 03:37:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:37:06 latest: Pulling from edgex-lftools-log-publisher 03:37:06 5eb5b503b376: Pulling fs layer 03:37:06 5c69ac0246d0: Pulling fs layer 03:37:06 ec43610c2a17: Pulling fs layer 03:37:06 3a2ae6a8a46f: Pulling fs layer 03:37:06 33b1e0a273af: Pulling fs layer 03:37:06 5d3b04190fa2: Pulling fs layer 03:37:06 2f39f015ded8: Pulling fs layer 03:37:06 2f39f015ded8: Waiting 03:37:06 3a2ae6a8a46f: Waiting 03:37:06 33b1e0a273af: Waiting 03:37:06 5d3b04190fa2: Waiting 03:37:06 5c69ac0246d0: Download complete 03:37:06 3a2ae6a8a46f: Download complete 03:37:06 33b1e0a273af: Verifying Checksum 03:37:06 33b1e0a273af: Download complete 03:37:06 ec43610c2a17: Verifying Checksum 03:37:06 ec43610c2a17: Download complete 03:37:07 5d3b04190fa2: Verifying Checksum 03:37:07 5d3b04190fa2: Download complete 03:37:07 5eb5b503b376: Verifying Checksum 03:37:07 5eb5b503b376: Download complete 03:37:07 2f39f015ded8: Download complete 03:37:08 5eb5b503b376: Pull complete 03:37:08 5c69ac0246d0: Pull complete 03:37:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23277 in /w/workspace/undry_device-onvif-camera_PR-139 [Pipeline] { [Pipeline] ws 03:37:08 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:37:08 Selected Git installation does not exist. Using Default 03:37:08 The recommended git tool is: NONE 03:37:08 ec43610c2a17: Pull complete 03:37:08 3a2ae6a8a46f: Pull complete 03:37:08 33b1e0a273af: Pull complete 03:37:09 5d3b04190fa2: Pull complete 03:37:13 2f39f015ded8: Pull complete 03:37:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:37:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:37:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:13 prd-ubuntu20.04-docker-8c-8g-23276 does not seem to be running inside a container 03:37:13 $ 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-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@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:37:14 using credential edgex-jenkins-ssh 03:37:14 Cloning the remote Git repository 03:37:14 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:37:14 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:37:14 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:37:14 > git --version # timeout=10 03:37:14 > git --version # 'git version 2.25.1' 03:37:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:37:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:37:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:37:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:37:16 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:37:16 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:37:16 Merging remotes/origin/main commit a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 into PR head commit b14db977a21d4911b4a94164344e882f0b450d6f 03:37:16 $ docker top 0958efbf1743dd03f14cd4a9eba34980c681ff36bb0eb1bfa73427ca3dc8ddaf -eo pid,comm 03:37:16 Merge succeeded, producing b14db977a21d4911b4a94164344e882f0b450d6f 03:37:16 Checking out Revision b14db977a21d4911b4a94164344e882f0b450d6f (PR-139) [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:17 ---> job-cost.sh 03:37:17 lf-activate-venv: SKIPPING 03:37:17 INFO: No Stack... 03:37:16 > git config core.sparsecheckout # timeout=10 03:37:16 > git checkout -f b14db977a21d4911b4a94164344e882f0b450d6f # timeout=10 03:37:16 > git remote # timeout=10 03:37:16 > git config --get remote.origin.url # timeout=10 03:37:16 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:16 > git merge a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 # timeout=10 03:37:16 > git rev-parse HEAD^{commit} # timeout=10 03:37:16 > git config core.sparsecheckout # timeout=10 03:37:16 > git checkout -f b14db977a21d4911b4a94164344e882f0b450d6f # timeout=10 03:37:17 INFO: Retrieving Pricing Info for: v3-standard-8 03:37:18 INFO: Archiving Costs [Pipeline] sh 03:37:18 + cat /w/workspace/undry_device-onvif-camera_PR-139/archives/cost.csv 03:37:18 + cut -d, -f6 [Pipeline] lock 03:37:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-139-1-stack-cost] 03:37:18 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-139-1-stack-cost] did not exist. Created. 03:37:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-139-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:37:18 + echo total: 0.2199999988079071 [Pipeline] stash 03:37:19 Stashed 1 file(s) [Pipeline] } 03:37:19 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-139-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:37:19 $ docker stop --time=1 0958efbf1743dd03f14cd4a9eba34980c681ff36bb0eb1bfa73427ca3dc8ddaf 03:37:20 $ docker rm -f 0958efbf1743dd03f14cd4a9eba34980c681ff36bb0eb1bfa73427ca3dc8ddaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:37:21 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 03:37:21 > git --version # timeout=10 03:37:21 > git --version # 'git version 2.25.1' 03:37:21 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:37:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:37:22 % Total % Received % Xferd Average Speed Time Time Time Current 03:37:22 Dload Upload Total Spent Left Speed 03:37:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh 03:37:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:37:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:37:23 + sudo tee /etc/docker/daemon.new 03:37:23 { 03:37:23 "registry-mirrors": [ 03:37:23 "https://nexus3.edgexfoundry.org:10001" 03:37:23 ], 03:37:23 "bip": "10.250.0.254/24", 03:37:23 "hosts": [ 03:37:23 "tcp://0.0.0.0:5555", 03:37:23 "unix:///var/run/docker.sock" 03:37:23 ], 03:37:23 "mtu": 1458, 03:37:23 "selinux-enabled": true, 03:37:23 "seccomp-profile": "/etc/docker/seccomp.json" 03:37:23 } [Pipeline] sh 03:37:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:37:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:37:42 provisioning config files... 03:37:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5364572345347483981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:43 ---> docker-login.sh 03:37:43 nexus3.edgexfoundry.org:10001 03:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:44 Configure a credential helper to remove this warning. See 03:37:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:44 03:37:44 Login Succeeded 03:37:44 nexus3.edgexfoundry.org:10002 03:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:44 Configure a credential helper to remove this warning. See 03:37:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:44 03:37:44 Login Succeeded 03:37:44 nexus3.edgexfoundry.org:10003 03:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:45 Configure a credential helper to remove this warning. See 03:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:45 03:37:45 Login Succeeded 03:37:45 nexus3.edgexfoundry.org:10004 03:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:45 Configure a credential helper to remove this warning. See 03:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:45 03:37:45 Login Succeeded 03:37:45 docker.io 03:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:46 Configure a credential helper to remove this warning. See 03:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:46 03:37:46 Login Succeeded 03:37:46 ---> docker-login.sh ends [Pipeline] } 03:37:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:37:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:37:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:37:46 ========================================================= 03:37:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:37:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:47 + 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:37:47 Sending build context to Docker daemon 14.05MB 03:37:47 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:37:47 Step 2/13 : FROM ${BASE} AS builder 03:37:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:37:47 b3c136eddcbf: Pulling fs layer 03:37:47 c0a3192eca97: Pulling fs layer 03:37:47 a050256f5b6f: Pulling fs layer 03:37:47 656be50a0ddc: Pulling fs layer 03:37:47 2bbca73fdf42: Pulling fs layer 03:37:47 46d945488cbd: Pulling fs layer 03:37:47 8a5474983e97: Pulling fs layer 03:37:47 329c88fbcd65: Pulling fs layer 03:37:47 656be50a0ddc: Waiting 03:37:47 46d945488cbd: Waiting 03:37:47 8a5474983e97: Waiting 03:37:47 329c88fbcd65: Waiting 03:37:47 2bbca73fdf42: Waiting 03:37:48 a050256f5b6f: Verifying Checksum 03:37:48 a050256f5b6f: Download complete 03:37:48 c0a3192eca97: Verifying Checksum 03:37:48 2bbca73fdf42: Verifying Checksum 03:37:48 2bbca73fdf42: Download complete 03:37:48 46d945488cbd: Verifying Checksum 03:37:48 46d945488cbd: Download complete 03:37:48 b3c136eddcbf: Verifying Checksum 03:37:48 b3c136eddcbf: Download complete 03:37:49 b3c136eddcbf: Pull complete 03:37:49 329c88fbcd65: Verifying Checksum 03:37:49 329c88fbcd65: Download complete 03:37:49 c0a3192eca97: Pull complete 03:37:50 a050256f5b6f: Pull complete 03:37:50 8a5474983e97: Verifying Checksum 03:37:50 8a5474983e97: Download complete 03:37:50 656be50a0ddc: Verifying Checksum 03:37:50 656be50a0ddc: Download complete 03:38:03 656be50a0ddc: Pull complete 03:38:03 2bbca73fdf42: Pull complete 03:38:03 46d945488cbd: Pull complete 03:38:10 8a5474983e97: Pull complete 03:38:12 329c88fbcd65: Pull complete 03:38:12 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 03:38:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:38:12 ---> ff4287adb874 03:38:12 Step 3/13 : ARG MAKE="make build" 03:38:14 ---> Running in 02fa823a0149 03:38:14 Removing intermediate container 02fa823a0149 03:38:14 ---> 6257127a2087 03:38:14 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:38:14 ---> Running in 0976968a139f 03:38:14 Removing intermediate container 0976968a139f 03:38:14 ---> 8bd68c96d734 03:38:14 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 03:38:14 ---> Running in 7c72a975162a 03:38:14 Removing intermediate container 7c72a975162a 03:38:14 ---> 36ec9dd1a4f9 03:38:14 Step 6/13 : LABEL Name=edgex-device-onvif-camera 03:38:15 ---> Running in 00eb830017c5 03:38:15 Removing intermediate container 00eb830017c5 03:38:15 ---> e495ab017bdb 03:38:15 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:38:15 ---> Running in 0bc27db94655 03:38:17 Removing intermediate container 0bc27db94655 03:38:17 ---> af72f820ffcb 03:38:17 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:38:17 ---> Running in 60f5bc004d11 03:38:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:38:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:38:20 OK: 221 MiB in 51 packages 03:38:20 Removing intermediate container 60f5bc004d11 03:38:20 ---> 9cce996fb1b4 03:38:20 Step 9/13 : WORKDIR /device-onvif-camera 03:38:20 ---> Running in edf1ddd585ca 03:38:21 Removing intermediate container edf1ddd585ca 03:38:21 ---> 319e3cac16da 03:38:21 Step 10/13 : COPY go.mod vendor* ./ 03:38:21 ---> 08d16fd37233 03:38:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:38:21 ---> Running in bab774c3ed66 03:39:18 Removing intermediate container bab774c3ed66 03:39:18 ---> ef44b0d404a3 03:39:18 Step 12/13 : COPY . . 03:39:18 ---> 1980af227c65 03:39:18 Step 13/13 : RUN ${MAKE} 03:39:18 ---> Running in 58adc320a9d5 03:39:18 noop 03:39:18 Removing intermediate container 58adc320a9d5 03:39:18 ---> 467350516e07 03:39:18 Successfully built 467350516e07 03:39:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:18 + docker inspect -f . ci-base-image-arm64 03:39:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:19 prd-ubuntu20.04-docker-arm64-4c-16g-23277 does not seem to be running inside a container 03:39: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:39:20 $ docker top 258f044ca7732a564206ca69320b73d31f6c4540b50582179eadf24db1fae8bc -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:21 + go version 03:39:21 go version go1.18.3 linux/arm64 [Pipeline] } 03:39:21 $ docker stop --time=1 258f044ca7732a564206ca69320b73d31f6c4540b50582179eadf24db1fae8bc 03:39:23 $ docker rm -f 258f044ca7732a564206ca69320b73d31f6c4540b50582179eadf24db1fae8bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:24 + docker inspect -f . ci-base-image-arm64 03:39:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:24 prd-ubuntu20.04-docker-arm64-4c-16g-23277 does not seem to be running inside a container 03:39: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:39:25 $ docker top b6894d94dabdd645248468be3d4fccf1bae5fb211dd8e0975b09c5f3d37356aa -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:26 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:39:27 + make test 03:39:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:39:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:40:51 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:40:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.112s coverage: 10.6% of statements 03:40:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:41:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.016s coverage: 13.8% of statements 03:41:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:41:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:41:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:41:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:41:42 ./bin/test-attribution-txt.sh [Pipeline] echo 03:41:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:41:42 $ docker stop --time=1 b6894d94dabdd645248468be3d4fccf1bae5fb211dd8e0975b09c5f3d37356aa 03:41:44 $ docker rm -f b6894d94dabdd645248468be3d4fccf1bae5fb211dd8e0975b09c5f3d37356aa [Pipeline] // withDockerContainer [Pipeline] sh 03:41:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:41:45 Warning: overwriting stash ‘coverage-report’ 03:41:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:41:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:41:46 + ls -al . 03:41:46 total 228 03:41:46 drwxrwxr-x 9 jenkins jenkins 4096 Aug 22 03:39 . 03:41:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 03:37 .. 03:41:46 drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 03:37 .git 03:41:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 03:37 .github 03:41:46 -rw-rw-r-- 1 jenkins jenkins 418 Aug 22 03:37 .gitignore 03:41:46 -rw-rw-r-- 1 jenkins jenkins 42 Aug 22 03:37 .golangci.yml 03:41:46 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 22 03:37 Attribution.txt 03:41:46 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 22 03:37 CHANGELOG.md 03:41:46 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 22 03:37 Dockerfile 03:41:46 -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 03:37 GOVERNANCE.md 03:41:46 -rw-rw-r-- 1 jenkins jenkins 734 Aug 22 03:37 Jenkinsfile 03:41:46 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 22 03:37 LICENSE 03:41:46 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 22 03:37 Makefile 03:41:46 -rw-rw-r-- 1 jenkins jenkins 625 Aug 22 03:37 OWNERS.md 03:41:46 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 22 03:37 README.md 03:41:46 -rw-rw-r-- 1 jenkins jenkins 5 Aug 22 03:35 VERSION 03:41:46 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 03:37 bin 03:41:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 03:37 cmd 03:41:46 -rw-r--r-- 1 jenkins jenkins 76854 Aug 22 03:41 coverage.out 03:41:46 drwxrwxr-x 6 jenkins jenkins 4096 Aug 22 03:37 doc 03:41:46 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 22 03:37 go.mod 03:41:46 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 22 03:37 go.sum 03:41:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 03:37 internal 03:41:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 03:37 snap 03:41:46 -rw-rw-r-- 1 jenkins jenkins 236 Aug 22 03:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:47 + 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=b14db977a21d4911b4a94164344e882f0b450d6f --label arch=arm64 --label version=0.0.0 . 03:41:47 Sending build context to Docker daemon 14.12MB 03:41:47 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 03:41:47 Step 2/26 : FROM ${BASE} AS builder 03:41:47 ---> 467350516e07 03:41:47 Step 3/26 : ARG MAKE="make build" 03:41:47 ---> Running in 9976d7850b94 03:41:48 Removing intermediate container 9976d7850b94 03:41:48 ---> 95ca659f5acf 03:41:48 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:41:48 ---> Running in 5fb1c519ffc1 03:41:48 Removing intermediate container 5fb1c519ffc1 03:41:48 ---> 5ef7fd63f50a 03:41:48 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 03:41:48 ---> Running in a3a89d0016af 03:41:49 Removing intermediate container a3a89d0016af 03:41:49 ---> aa7587d0515f 03:41:49 Step 6/26 : LABEL Name=edgex-device-onvif-camera 03:41:49 ---> Running in e2709723ce5b 03:41:49 Removing intermediate container e2709723ce5b 03:41:49 ---> f5a6f7f21be1 03:41:49 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:41:49 ---> Running in 4b4438425b06 03:41:51 Removing intermediate container 4b4438425b06 03:41:51 ---> 15b5e47b0a17 03:41:51 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:41:51 ---> Running in 5bca7a4c1ad7 03:41:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:41:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:41:53 OK: 221 MiB in 51 packages 03:41:54 Removing intermediate container 5bca7a4c1ad7 03:41:54 ---> 21fb0e827766 03:41:54 Step 9/26 : WORKDIR /device-onvif-camera 03:41:54 ---> Running in 6bebef82b813 03:41:55 Removing intermediate container 6bebef82b813 03:41:55 ---> 943e8077c00e 03:41:55 Step 10/26 : COPY go.mod vendor* ./ 03:41:55 ---> 2baa24a65c83 03:41:55 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:41:55 ---> Running in 573726ae04de 03:41:57 Removing intermediate container 573726ae04de 03:41:57 ---> 86c13a6cc1ce 03:41:57 Step 12/26 : COPY . . 03:41:59 ---> 0e468f5c5997 03:41:59 Step 13/26 : RUN ${MAKE} 03:41:59 ---> Running in 3e60121ed43e 03:42:00 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:44:07 Removing intermediate container 3e60121ed43e 03:44:07 ---> 9496941345a0 03:44:07 Step 14/26 : FROM alpine:3.16 03:44:07 3.16: Pulling from library/alpine 03:44:07 9b18e9b68314: Pulling fs layer 03:44:07 9b18e9b68314: Download complete 03:44:08 9b18e9b68314: Pull complete 03:44:08 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:44:08 Status: Downloaded newer image for alpine:3.16 03:44:08 ---> a6215f271958 03:44:08 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:44:08 ---> Running in 61f80779b6e9 03:44:08 Removing intermediate container 61f80779b6e9 03:44:08 ---> a188399bfff9 03:44:08 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:44:09 ---> Running in 07ca8cc3040e 03:44:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:44:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:44:11 (1/6) Installing dumb-init (1.2.5-r1) 03:44:11 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:44:11 (3/6) Installing libsodium (1.0.18-r0) 03:44:11 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:44:11 (5/6) Installing libzmq (4.3.4-r0) 03:44:11 (6/6) Installing zeromq (4.3.4-r0) 03:44:11 Executing busybox-1.35.0-r17.trigger 03:44:11 OK: 8 MiB in 20 packages 03:44:12 Removing intermediate container 07ca8cc3040e 03:44:12 ---> d1201c7db0f4 03:44:12 Step 17/26 : WORKDIR / 03:44:12 ---> Running in 31df735a5598 03:44:12 Removing intermediate container 31df735a5598 03:44:12 ---> 51ab2cb4ced0 03:44:12 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:44:14 ---> 38ee4a01ab47 03:44:14 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:44:14 ---> 5f92a82c1fcd 03:44:14 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:44:15 ---> 9ed0cf964890 03:44:15 Step 21/26 : EXPOSE 59984 03:44:15 ---> Running in 36b9a07134e8 03:44:15 Removing intermediate container 36b9a07134e8 03:44:15 ---> 668ba2e35527 03:44:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:44:15 ---> Running in 141f338ac56c 03:44:15 Removing intermediate container 141f338ac56c 03:44:15 ---> 63be83fb7629 03:44:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:44:16 ---> Running in d14753b4aa0a 03:44:16 Removing intermediate container d14753b4aa0a 03:44:16 ---> be79fe25110f 03:44:16 Step 24/26 : LABEL arch=arm64 03:44:16 ---> Running in 0462cc8771d9 03:44:16 Removing intermediate container 0462cc8771d9 03:44:16 ---> 6a49759b0ccd 03:44:16 Step 25/26 : LABEL git_sha=b14db977a21d4911b4a94164344e882f0b450d6f 03:44:16 ---> Running in c2c7137685d5 03:44:16 Removing intermediate container c2c7137685d5 03:44:16 ---> e4135438ad74 03:44:16 Step 26/26 : LABEL version=0.0.0 03:44:17 ---> Running in 65bbca083e11 03:44:17 Removing intermediate container 65bbca083e11 03:44:17 ---> b88beae0f0c9 03:44:17 [Warning] One or more build-args [ARCH] were not consumed 03:44:17 Successfully built b88beae0f0c9 03:44:17 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:44:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:44:18 03:44:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:44:19 arm64: Pulling from edgex-lftools-log-publisher 03:44:19 8998bd30e6a1: Pulling fs layer 03:44:19 04944245beec: Pulling fs layer 03:44:19 699f458cf7ca: Pulling fs layer 03:44:19 765212b225bb: Pulling fs layer 03:44:19 f23df028b6ca: Pulling fs layer 03:44:19 d65c8cfc05b1: Pulling fs layer 03:44:19 2437ff75d9bd: Pulling fs layer 03:44:19 765212b225bb: Waiting 03:44:19 f23df028b6ca: Waiting 03:44:19 2437ff75d9bd: Waiting 03:44:19 d65c8cfc05b1: Waiting 03:44:19 04944245beec: Verifying Checksum 03:44:19 04944245beec: Download complete 03:44:19 765212b225bb: Verifying Checksum 03:44:19 765212b225bb: Download complete 03:44:19 f23df028b6ca: Download complete 03:44:19 d65c8cfc05b1: Verifying Checksum 03:44:19 d65c8cfc05b1: Download complete 03:44:19 699f458cf7ca: Verifying Checksum 03:44:19 699f458cf7ca: Download complete 03:44:19 8998bd30e6a1: Verifying Checksum 03:44:19 8998bd30e6a1: Download complete 03:44:22 2437ff75d9bd: Verifying Checksum 03:44:22 2437ff75d9bd: Download complete 03:44:24 8998bd30e6a1: Pull complete 03:44:24 04944245beec: Pull complete 03:44:25 699f458cf7ca: Pull complete 03:44:26 765212b225bb: Pull complete 03:44:27 f23df028b6ca: Pull complete 03:44:27 d65c8cfc05b1: Pull complete 03:44:42 2437ff75d9bd: Pull complete 03:44:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:44:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:44:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:42 prd-ubuntu20.04-docker-arm64-4c-16g-23277 does not seem to be running inside a container 03:44:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:44:45 $ docker top 82bddf32584b00bf94ff57e61209feb9f276f3666bfd96bfcd5e2bccba23932a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:44:46 ---> job-cost.sh 03:44:46 lf-activate-venv: SKIPPING 03:44:46 INFO: No Stack... 03:44:46 INFO: Retrieving Pricing Info for: v3-standard-4 03:44:47 INFO: Archiving Costs [Pipeline] sh 03:44:48 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:44:48 + cut -d, -f6 [Pipeline] lock 03:44:48 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-139-1-stack-cost] 03:44:48 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-139-1-stack-cost] did not exist. Created. 03:44:48 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-139-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:44:49 /w/workspace/device-onvif-camera/1@tmp/durable-4ce980df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:44:49 + echo total: 0.10999999940395355 [Pipeline] stash 03:44:49 Warning: overwriting stash ‘stack-cost’ 03:44:49 Stashed 1 file(s) [Pipeline] } 03:44:49 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-139-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:44:49 $ docker stop --time=1 82bddf32584b00bf94ff57e61209feb9f276f3666bfd96bfcd5e2bccba23932a 03:44:51 $ docker rm -f 82bddf32584b00bf94ff57e61209feb9f276f3666bfd96bfcd5e2bccba23932a [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:44:52 provisioning config files... 03:44:52 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-139@tmp/config2896472130114950574tmp [Pipeline] { [Pipeline] sh 03:44:52 + set +x 03:44:52 + curl -s https://codecov.io/bash 03:44:52 + bash -s -- 03:44:52 03:44:52 _____ _ 03:44:52 / ____| | | 03:44:52 | | ___ __| | ___ ___ _____ __ 03:44:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:44:52 | |___| (_) | (_| | __/ (_| (_) \ V / 03:44:52 \_____\___/ \__,_|\___|\___\___/ \_/ 03:44:52 Bash-1.0.6 03:44:52 03:44:52 03:44:52 ==> git version 2.25.1 found 03:44:52 ==> 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:44:52 Release-Date: 2020-01-08 03:44:52 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:44:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:44:52 ==> Jenkins CI detected. 03:44:52 current dir:  /w/workspace/undry_device-onvif-camera_PR-139 03:44:52 project root: . 03:44:52 --> token set from env 03:44:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:44:52 ==> Running gcov in . (disable via -X gcov) 03:44:52 ==> Python coveragepy not found 03:44:52 ==> Searching for coverage reports in: 03:44:52 + . 03:44:52 -> Found 1 reports 03:44:52 ==> Detecting git/mercurial file structure 03:44:52 ==> Reading reports 03:44:53 + ./coverage.out bytes=76854 03:44:53 ==> Appending adjustments 03:44:53 https://docs.codecov.io/docs/fixing-reports 03:44:53 + Found adjustments 03:44:53 ==> Gzipping contents 03:44:53 12K /tmp/codecov.3Oz40t.gz 03:44:53 ==> Uploading reports 03:44:53 url: https://codecov.io 03:44:53 query: branch=PR-139&commit=b14db977a21d4911b4a94164344e882f0b450d6f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-139%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=139&job=&cmd_args= 03:44:53 -> Pinging Codecov 03:44:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-139&commit=b14db977a21d4911b4a94164344e882f0b450d6f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-139%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=139&job=&cmd_args= 03:44:53 -> Uploading to 03:44:53 https://storage.googleapis.com/codecov/v4/raw/2022-08-22/F29A59C45E3A92E06B3E522C9905F8EF/b14db977a21d4911b4a94164344e882f0b450d6f/aa3d6eb2-61ed-42ba-b6f9-89335eb662f5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220822%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220822T034453Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=41b2dcff8d90962e75d371a5e9127f603bf70e01122bb2a084fd021cca383a90 03:44:53 % Total % Received % Xferd Average Speed Time Time Time Current 03:44:53 Dload Upload Total Spent Left Speed 03:44:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10347 0 0 100 10347 0 43112 --:--:-- --:--:-- --:--:-- 43292 03:44:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/b14db977a21d4911b4a94164344e882f0b450d6f [Pipeline] } 03:44:53 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:44:55 + [ -d /w/workspace/undry_device-onvif-camera_PR-139/archives ] 03:44:55 + ls -al /w/workspace/undry_device-onvif-camera_PR-139/archives 03:44:55 total 16 03:44:55 drwxr-xr-x 3 root root 4096 Aug 22 03:37 . 03:44:55 drwxrwxr-x 11 jenkins jenkins 4096 Aug 22 03:37 .. 03:44:55 drwxr-xr-x 2 root root 4096 Aug 22 03:37 cost 03:44:55 -rw-r--r-- 1 root root 91 Aug 22 03:37 cost.csv 03:44:55 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-139/archives 03:44:55 + ls -al /w/workspace/undry_device-onvif-camera_PR-139/archives 03:44:55 total 16 03:44:55 drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 03:37 . 03:44:55 drwxrwxr-x 11 jenkins jenkins 4096 Aug 22 03:37 .. 03:44:55 drwxr-xr-x 2 jenkins jenkins 4096 Aug 22 03:37 cost 03:44:55 -rw-r--r-- 1 jenkins jenkins 91 Aug 22 03:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:44:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:44:56 ---> package-listing.sh 03:44:56 ++ facter osfamily 03:44:56 ++ tr '[:upper:]' '[:lower:]' 03:44:57 + OS_FAMILY=debian 03:44:57 + workspace=/w/workspace/undry_device-onvif-camera_PR-139 03:44:57 + START_PACKAGES=/tmp/packages_start.txt 03:44:57 + END_PACKAGES=/tmp/packages_end.txt 03:44:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:44:57 + PACKAGES=/tmp/packages_start.txt 03:44:57 + '[' /w/workspace/undry_device-onvif-camera_PR-139 ']' 03:44:57 + PACKAGES=/tmp/packages_end.txt 03:44:57 + case "${OS_FAMILY}" in 03:44:57 + dpkg -l 03:44:57 + grep '^ii' 03:44:57 + '[' -f /tmp/packages_start.txt ']' 03:44:57 + '[' -f /tmp/packages_end.txt ']' 03:44:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:44:57 + '[' /w/workspace/undry_device-onvif-camera_PR-139 ']' 03:44:57 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-139/archives/ 03:44:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-139/archives/ [Pipeline] echo 03:44:57 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-139/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:44:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:58 prd-ubuntu20.04-docker-8c-8g-23276 does not seem to be running inside a container 03:44:58 $ 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-139/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-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@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:44:58 $ docker top 0944448007cdb7dfb1cc573d15ae805758e1b51f54161ca0d74b4fc430297618 -eo pid,comm [Pipeline] { [Pipeline] sh 03:44:58 + touch /tmp/pre-build-complete [Pipeline] sh 03:44:59 + mkdir -p /var/log/sysstat [Pipeline] sh 03:44:59 + ls /var/log/sa-host 03:44:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:44:59 provisioning config files... 03:44:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-139@tmp/config1838972090574426612tmp [Pipeline] { [Pipeline] echo 03:44:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:45:00 ---> create-netrc.sh [Pipeline] } 03:45:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:45:00 ---> python-tools-install.sh [Pipeline] echo 03:45:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:45:00 ---> sudo-logs.sh 03:45:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:45:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:45:01 ---> job-cost.sh 03:45:01 lf-activate-venv: SKIPPING 03:45:01 DEBUG: total: 0.2199999988079071 03:45:01 INFO: Retrieving Stack Cost... 03:45:01 INFO: Retrieving Pricing Info for: v3-standard-8 03:45:02 INFO: Archiving Costs [Pipeline] echo 03:45:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:45:02 ---> logs-deploy.sh 03:45:02 lf-activate-venv: SKIPPING 03:45:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-139/1 03:45:02 INFO: archiving workspace using pattern(s): 03:45:03 Archives upload complete. 03:45:03 INFO: archiving logs to Nexus 03:45:04 ---> uname -a: 03:45:04 Linux prd-ubuntu20-04-docker-8c-8g-23276 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 03:45:04 03:45:04 03:45:04 ---> lscpu: 03:45:04 Architecture: x86_64 03:45:04 CPU op-mode(s): 32-bit, 64-bit 03:45:04 Byte Order: Little Endian 03:45:04 Address sizes: 40 bits physical, 48 bits virtual 03:45:04 CPU(s): 8 03:45:04 On-line CPU(s) list: 0-7 03:45:04 Thread(s) per core: 1 03:45:04 Core(s) per socket: 1 03:45:04 Socket(s): 8 03:45:04 NUMA node(s): 1 03:45:04 Vendor ID: AuthenticAMD 03:45:04 CPU family: 23 03:45:04 Model: 49 03:45:04 Model name: AMD EPYC-Rome Processor 03:45:04 Stepping: 0 03:45:04 CPU MHz: 2799.864 03:45:04 BogoMIPS: 5599.72 03:45:04 Virtualization: AMD-V 03:45:04 Hypervisor vendor: KVM 03:45:04 Virtualization type: full 03:45:04 L1d cache: 256 KiB 03:45:04 L1i cache: 256 KiB 03:45:04 L2 cache: 4 MiB 03:45:04 L3 cache: 128 MiB 03:45:04 NUMA node0 CPU(s): 0-7 03:45:04 Vulnerability Itlb multihit: Not affected 03:45:04 Vulnerability L1tf: Not affected 03:45:04 Vulnerability Mds: Not affected 03:45:04 Vulnerability Meltdown: Not affected 03:45:04 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:45:04 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:45:04 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:45:04 Vulnerability Srbds: Not affected 03:45:04 Vulnerability Tsx async abort: Not affected 03:45:04 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:45:04 03:45:04 03:45:04 ---> nproc: 03:45:04 8 03:45:04 03:45:04 03:45:04 ---> df -h: 03:45:04 Filesystem Size Used Avail Use% Mounted on 03:45:04 overlay 155G 11G 145G 8% / 03:45:04 tmpfs 64M 0 64M 0% /dev 03:45:04 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:45:04 shm 64M 0 64M 0% /dev/shm 03:45:04 /dev/vda1 155G 11G 145G 8% /facter-os 03:45:04 03:45:04 03:45:04 ---> sar -b -r -n DEV: 03:45:04 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-23276) 08/22/22 _x86_64_ (8 CPU) 03:45:04 03:45:04 03:34:12 LINUX RESTART (8 CPU) 03:45:04 03:45:04 03:35:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:45:04 03:36:01 206.70 3.95 202.75 0.00 414.73 107338.38 0.00 03:45:04 03:37:01 111.78 0.08 111.70 0.00 1.33 56250.22 0.00 03:45:04 03:38:01 97.18 0.00 97.18 0.00 0.00 53044.45 0.00 03:45:04 03:39:01 5.37 0.00 5.37 0.00 0.00 27169.22 0.00 03:45:04 03:40:01 1.28 0.03 1.25 0.00 1.47 14.93 0.00 03:45:04 03:41:01 2.05 0.00 2.05 0.00 0.00 23.60 0.00 03:45:04 03:42:01 1.47 0.00 1.47 0.00 0.00 16.66 0.00 03:45:04 03:43:01 2.12 0.00 2.12 0.00 0.00 24.53 0.00 03:45:04 03:44:01 1.50 0.00 1.50 0.00 0.00 16.53 0.00 03:45:04 03:45:01 8.13 0.27 7.87 0.00 19.46 149.84 0.00 03:45:04 Average: 43.76 0.43 43.32 0.00 43.70 24404.91 0.00 03:45:04 03:45:04 03:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:45:04 03:36:01 28338036 31771260 522120 1.59 162952 3479396 2040620 6.01 1146868 2950416 528 03:45:04 03:37:01 28047344 31749064 541880 1.65 167000 3728520 2128576 6.27 1333460 3032764 0 03:45:04 03:38:01 27542032 31771680 517608 1.57 177148 4195316 1937576 5.71 1360160 3459328 164 03:45:04 03:39:01 27543252 31772948 516236 1.57 177204 4195316 1937576 5.71 1359108 3459328 12 03:45:04 03:40:01 27551952 31781720 507284 1.54 177252 4195356 1937576 5.71 1350504 3459376 24 03:45:04 03:41:01 27552132 31782000 506924 1.54 177300 4195364 1937576 5.71 1350468 3459376 184 03:45:04 03:42:01 27560332 31790156 498764 1.52 177348 4195368 1937576 5.71 1342388 3459380 12 03:45:04 03:43:01 27560460 31790400 498716 1.52 177416 4195372 1937576 5.71 1342516 3459388 12 03:45:04 03:44:01 27560728 31790688 498396 1.52 177468 4195372 1937576 5.71 1342504 3459392 16 03:45:04 03:45:01 27528076 31761056 522664 1.59 177632 4196672 2045716 6.03 1369464 3457256 60 03:45:04 Average: 27678434 31776097 513059 1.56 174872 4077205 1977794 5.83 1329744 3365600 101 03:45:04 03:45:04 03:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:45:04 03:36:01 docker0 149.56 183.74 12.06 1634.98 0.00 0.00 0.00 0.00 03:45:04 03:36:01 ens3 426.26 327.66 7235.96 45.79 0.00 0.00 0.00 0.00 03:45:04 03:36:01 veth0a75c06 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 03:45:04 03:36:01 lo 4.13 4.13 0.41 0.41 0.00 0.00 0.00 0.00 03:45:04 03:37:01 docker0 7.37 9.18 0.42 40.76 0.00 0.00 0.00 0.00 03:45:04 03:37:01 ens3 83.40 62.69 87.95 67.22 0.00 0.00 0.00 0.00 03:45:04 03:37:01 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 03:45:04 03:38:01 docker0 2.48 5.35 0.16 57.91 0.00 0.00 0.00 0.00 03:45:04 03:38:01 ens3 143.99 103.08 2630.80 61.15 0.00 0.00 0.00 0.00 03:45:04 03:38:01 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 03:45:04 03:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:45:04 03:39:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 03:45:04 03:39:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:45:04 03:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:45:04 03:40:01 ens3 0.17 0.10 0.08 0.07 0.00 0.00 0.00 0.00 03:45:04 03:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:45:04 03:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:45:04 03:41:01 ens3 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 03:45:04 03:41:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:45:04 03:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:45:04 03:42:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 03:45:04 03:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:45:04 03:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:45:04 03:43:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 03:45:04 03:43:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:45:04 03:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:45:04 03:44:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:45:04 03:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:45:04 03:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:45:04 03:45:01 ens3 27.21 16.41 28.28 9.58 0.00 0.00 0.00 0.00 03:45:04 03:45:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 03:45:04 Average: docker0 15.94 19.83 1.26 173.36 0.00 0.00 0.00 0.00 03:45:04 Average: ens3 68.14 51.03 998.32 18.38 0.00 0.00 0.00 0.00 03:45:04 Average: lo 0.77 0.77 0.07 0.07 0.00 0.00 0.00 0.00 03:45:04 03:45:04 03:45:04 ---> sar -P ALL: 03:45:04 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-23276) 08/22/22 _x86_64_ (8 CPU) 03:45:04 03:45:04 03:34:12 LINUX RESTART (8 CPU) 03:45:04 03:45:04 03:35:01 CPU %user %nice %system %iowait %steal %idle 03:45:04 03:36:01 all 10.00 0.00 4.15 2.88 0.08 82.89 03:45:04 03:36:01 0 11.42 0.00 3.51 3.38 0.07 81.62 03:45:04 03:36:01 1 6.47 0.00 6.76 12.39 0.07 74.32 03:45:04 03:36:01 2 10.31 0.00 4.15 1.20 0.10 84.23 03:45:04 03:36:01 3 8.57 0.00 4.44 0.13 0.07 86.79 03:45:04 03:36:01 4 11.15 0.00 4.08 3.37 0.05 81.35 03:45:04 03:36:01 5 9.57 0.00 3.38 0.12 0.05 86.88 03:45:04 03:36:01 6 10.50 0.00 3.51 1.42 0.10 84.47 03:45:04 03:36:01 7 12.01 0.00 3.35 1.05 0.15 83.44 03:45:04 03:37:01 all 42.55 0.00 6.45 0.97 0.07 49.96 03:45:04 03:37:01 0 42.45 0.00 6.45 0.56 0.07 50.48 03:45:04 03:37:01 1 42.40 0.00 6.39 4.00 0.08 47.13 03:45:04 03:37:01 2 41.16 0.00 6.68 0.66 0.07 51.43 03:45:04 03:37:01 3 45.22 0.00 7.74 0.25 0.07 46.72 03:45:04 03:37:01 4 41.60 0.00 6.36 0.20 0.07 51.77 03:45:04 03:37:01 5 41.94 0.00 5.56 0.05 0.07 52.38 03:45:04 03:37:01 6 43.95 0.00 6.29 0.61 0.07 49.08 03:45:04 03:37:01 7 41.67 0.00 6.12 1.45 0.08 50.67 03:45:04 03:38:01 all 3.06 0.00 1.36 0.86 0.03 94.69 03:45:04 03:38:01 0 3.76 0.00 1.99 0.12 0.03 94.10 03:45:04 03:38:01 1 3.52 0.00 1.27 3.91 0.05 91.24 03:45:04 03:38:01 2 3.25 0.00 1.27 0.40 0.03 95.05 03:45:04 03:38:01 3 3.05 0.00 1.21 0.27 0.05 95.43 03:45:04 03:38:01 4 2.80 0.00 1.14 1.32 0.05 94.69 03:45:04 03:38:01 5 2.64 0.00 1.24 0.12 0.02 95.99 03:45:04 03:38:01 6 2.60 0.00 1.61 0.54 0.02 95.23 03:45:04 03:38:01 7 2.85 0.00 1.17 0.20 0.02 95.76 03:45:04 03:39:01 all 0.01 0.00 0.00 0.01 0.00 99.97 03:45:04 03:39:01 0 0.02 0.00 0.00 0.05 0.00 99.93 03:45:04 03:39:01 1 0.00 0.00 0.02 0.00 0.00 99.98 03:45:04 03:39:01 2 0.03 0.00 0.00 0.05 0.02 99.90 03:45:04 03:39:01 3 0.00 0.00 0.02 0.00 0.00 99.98 03:45:04 03:39:01 4 0.00 0.00 0.00 0.00 0.00 100.00 03:45:04 03:39:01 5 0.00 0.00 0.00 0.00 0.00 100.00 03:45:04 03:39:01 6 0.03 0.00 0.00 0.00 0.02 99.95 03:45:04 03:39:01 7 0.00 0.00 0.00 0.00 0.00 100.00 03:45:04 03:40:01 all 0.02 0.00 0.01 0.01 0.01 99.95 03:45:04 03:40:01 0 0.00 0.00 0.00 0.03 0.00 99.97 03:45:04 03:40:01 1 0.03 0.00 0.00 0.02 0.02 99.93 03:45:04 03:40:01 2 0.07 0.00 0.07 0.00 0.02 99.85 03:45:04 03:40:01 3 0.02 0.00 0.03 0.00 0.02 99.93 03:45:04 03:40:01 4 0.02 0.00 0.00 0.02 0.00 99.97 03:45:04 03:40:01 5 0.02 0.00 0.00 0.00 0.00 99.98 03:45:04 03:40:01 6 0.03 0.00 0.00 0.00 0.02 99.95 03:45:04 03:40:01 7 0.00 0.00 0.02 0.00 0.00 99.98 03:45:04 03:41:01 all 0.01 0.00 0.01 0.01 0.01 99.96 03:45:04 03:41:01 0 0.00 0.00 0.02 0.03 0.02 99.93 03:45:04 03:41:01 1 0.00 0.00 0.00 0.00 0.00 100.00 03:45:04 03:41:01 2 0.07 0.00 0.03 0.02 0.02 99.87 03:45:04 03:41:01 3 0.02 0.00 0.00 0.00 0.00 99.98 03:45:04 03:41:01 4 0.02 0.00 0.02 0.00 0.00 99.97 03:45:04 03:41:01 5 0.00 0.00 0.02 0.00 0.00 99.98 03:45:04 03:41:01 6 0.02 0.00 0.00 0.00 0.00 99.98 03:45:04 03:41:01 7 0.00 0.00 0.00 0.00 0.02 99.98 03:45:04 03:42:01 all 0.02 0.00 0.01 0.01 0.00 99.95 03:45:04 03:42:01 0 0.02 0.00 0.00 0.03 0.00 99.95 03:45:04 03:42:01 1 0.02 0.00 0.03 0.00 0.00 99.95 03:45:04 03:42:01 2 0.03 0.00 0.00 0.02 0.02 99.93 03:45:04 03:42:01 3 0.07 0.00 0.02 0.00 0.00 99.92 03:45:04 03:42:01 4 0.02 0.00 0.00 0.00 0.00 99.98 03:45:04 03:42:01 5 0.00 0.00 0.00 0.00 0.00 100.00 03:45:04 03:42:01 6 0.02 0.00 0.03 0.00 0.02 99.93 03:45:04 03:42:01 7 0.02 0.00 0.02 0.00 0.00 99.97 03:45:04 03:43:01 all 0.01 0.00 0.00 0.01 0.01 99.97 03:45:04 03:43:01 0 0.00 0.00 0.02 0.03 0.00 99.95 03:45:04 03:43:01 1 0.00 0.00 0.00 0.00 0.00 100.00 03:45:04 03:43:01 2 0.05 0.00 0.00 0.02 0.02 99.92 03:45:04 03:43:01 3 0.00 0.00 0.02 0.00 0.02 99.97 03:45:04 03:43:01 4 0.00 0.00 0.00 0.00 0.00 100.00 03:45:04 03:43:01 5 0.00 0.00 0.00 0.00 0.02 99.98 03:45:04 03:43:01 6 0.02 0.00 0.00 0.00 0.00 99.98 03:45:04 03:43:01 7 0.00 0.00 0.00 0.00 0.00 100.00 03:45:04 03:44:01 all 0.01 0.00 0.00 0.00 0.01 99.97 03:45:04 03:44:01 0 0.02 0.00 0.00 0.03 0.02 99.93 03:45:04 03:44:01 1 0.02 0.00 0.00 0.00 0.00 99.98 03:45:04 03:44:01 2 0.03 0.00 0.02 0.00 0.02 99.93 03:45:04 03:44:01 3 0.03 0.00 0.00 0.00 0.00 99.97 03:45:04 03:44:01 4 0.00 0.00 0.00 0.00 0.00 100.00 03:45:04 03:44:01 5 0.00 0.00 0.00 0.00 0.00 100.00 03:45:04 03:44:01 6 0.00 0.00 0.00 0.00 0.03 99.97 03:45:04 03:44:01 7 0.02 0.00 0.00 0.00 0.00 99.98 03:45:04 03:45:01 all 0.57 0.00 0.24 0.04 0.01 99.14 03:45:04 03:45:01 0 0.32 0.00 0.23 0.08 0.02 99.35 03:45:04 03:45:01 1 0.33 0.00 0.18 0.02 0.02 99.45 03:45:04 03:45:01 2 0.57 0.00 0.27 0.18 0.00 98.98 03:45:04 03:45:01 3 1.00 0.00 0.25 0.02 0.02 98.72 03:45:04 03:45:01 4 0.42 0.00 0.22 0.00 0.02 99.35 03:45:04 03:45:01 5 0.32 0.00 0.22 0.00 0.00 99.47 03:45:04 03:45:01 6 0.75 0.00 0.28 0.00 0.03 98.93 03:45:04 03:45:01 7 0.83 0.00 0.28 0.00 0.00 98.88 03:45:04 Average: all 5.58 0.00 1.21 0.48 0.02 92.71 03:45:04 Average: 0 5.74 0.00 1.21 0.43 0.02 92.59 03:45:04 Average: 1 5.22 0.00 1.45 2.01 0.02 91.30 03:45:04 Average: 2 5.51 0.00 1.24 0.25 0.03 92.97 03:45:04 Average: 3 5.74 0.00 1.36 0.07 0.02 92.81 03:45:04 Average: 4 5.56 0.00 1.17 0.49 0.02 92.77 03:45:04 Average: 5 5.40 0.00 1.03 0.03 0.02 93.52 03:45:04 Average: 6 5.76 0.00 1.17 0.25 0.03 92.79 03:45:04 Average: 7 5.68 0.00 1.08 0.27 0.03 92.94 03:45:04 03:45:04 03:45:04