Pull request #199 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from babb2ac482dc51e1accc3d7228e7eed259e620bc+12ac4ca00df350acb7aaa5b8264558c40625f436 (a9031c13187e1983f56003f772d47c38547526fe) 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-ssh4479842457660271159.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17357685313270334253.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-199/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-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11442841484462576778.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-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13186135030907011499.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2580130537451930585.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-199/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-199/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13957710347515031526.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-121210’ Running on prd-ubuntu20.04-docker-8c-8g-121212 in /w/workspace/undry_device-onvif-camera_PR-199 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-199 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 12ac4ca00df350acb7aaa5b8264558c40625f436 into PR head commit babb2ac482dc51e1accc3d7228e7eed259e620bc Merge succeeded, producing babb2ac482dc51e1accc3d7228e7eed259e620bc Checking out Revision babb2ac482dc51e1accc3d7228e7eed259e620bc (PR-199) > 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/199/head:refs/remotes/origin/PR-199 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f babb2ac482dc51e1accc3d7228e7eed259e620bc # 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 12ac4ca00df350acb7aaa5b8264558c40625f436 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f babb2ac482dc51e1accc3d7228e7eed259e620bc # timeout=10 Commit message: "refactor!: use latest SDK for flattened config stem" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:26:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:26:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:26:54 ========================================================= 16:26:54 EdgeX Global Pipelines Version Info 16:26:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:26:55 ------------------- 16:26:55 stable info: 16:26:55 ------------------- 16:26:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:26:55 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:26:55 Message: update stable to v1.0.244 16:26:55 ------------------- 16:26:55 experimental info: 16:26:55 ------------------- 16:26:55 Commited By: **** collab-it+edgex@linuxfoundation.org 16:26:55 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:26:55 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:26:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:26:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:26:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:26:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-199 [Pipeline] echo 16:26:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-199 [Pipeline] echo 16:26:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-199 [Pipeline] echo 16:26:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = babb2ac482dc51e1accc3d7228e7eed259e620bc [Pipeline] echo 16:26:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = babb2ac [Pipeline] echo 16:26:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:26:57 provisioning config files... 16:26:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-199@tmp/config4895466087034117171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:26:57 ---> docker-login.sh 16:26:57 nexus3.edgexfoundry.org:10001 16:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:58 Configure a credential helper to remove this warning. See 16:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:58 16:26:58 Login Succeeded 16:26:58 nexus3.edgexfoundry.org:10002 16:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:58 Configure a credential helper to remove this warning. See 16:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:58 16:26:58 Login Succeeded 16:26:58 nexus3.edgexfoundry.org:10003 16:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:58 Configure a credential helper to remove this warning. See 16:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:58 16:26:58 Login Succeeded 16:26:58 nexus3.edgexfoundry.org:10004 16:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:58 Configure a credential helper to remove this warning. See 16:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:58 16:26:58 Login Succeeded 16:26:58 docker.io 16:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:58 Configure a credential helper to remove this warning. See 16:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:58 16:26:58 Login Succeeded 16:26:58 ---> docker-login.sh ends [Pipeline] } 16:26:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:26:59 + git rev-list -1 --merges babb2ac482dc51e1accc3d7228e7eed259e620bc~1..babb2ac482dc51e1accc3d7228e7eed259e620bc [Pipeline] echo 16:26:59 -----------> git rev-list -1 --merges babb2ac482dc51e1accc3d7228e7eed259e620bc~1..babb2ac482dc51e1accc3d7228e7eed259e620bc babb2ac482dc51e1accc3d7228e7eed259e620bc [false] [Pipeline] sh 16:26:59 + git log --format=format:%s -1 babb2ac482dc51e1accc3d7228e7eed259e620bc [Pipeline] echo 16:26:59 ========================================================= 16:26:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:26:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:27:00 + git log --format=format:%s -1 babb2ac482dc51e1accc3d7228e7eed259e620bc [Pipeline] echo 16:27:00 [semverPrep] GIT_COMMIT: babb2ac482dc51e1accc3d7228e7eed259e620bc, Commit Message: refactor!: use latest SDK for flattened config stem [Pipeline] echo 16:27:00 [semverPrep] This is not a build commit. [Pipeline] sh 16:27:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:27:00 + grep -v github /etc/ssh/ssh_known_hosts 16:27:00 + [ -e /tmp/ssh_known_hosts ] 16:27:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:27:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:27:00 + sudo tee -a /etc/ssh/ssh_known_hosts 16:27:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:27:01 16:27:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:27:01 0.1.4: Pulling from edgex-devops/py-git-semver 16:27:01 b85a868b505f: Pulling fs layer 16:27:01 e2be974225ed: Pulling fs layer 16:27:01 339a4e72a1f5: Pulling fs layer 16:27:01 988bab9f4d93: Pulling fs layer 16:27:01 1469e6f7b9e6: Pulling fs layer 16:27:01 eaf3925da568: Pulling fs layer 16:27:01 bab4dde63d76: Pulling fs layer 16:27:01 bde34c3a00c8: Pulling fs layer 16:27:01 b352a97aabf1: Pulling fs layer 16:27:01 4872d77fe225: Pulling fs layer 16:27:01 5851b861e8e6: Pulling fs layer 16:27:01 bde34c3a00c8: Waiting 16:27:01 b352a97aabf1: Waiting 16:27:01 988bab9f4d93: Waiting 16:27:01 1469e6f7b9e6: Waiting 16:27:01 eaf3925da568: Waiting 16:27:01 4872d77fe225: Waiting 16:27:01 e2be974225ed: Verifying Checksum 16:27:01 e2be974225ed: Download complete 16:27:01 988bab9f4d93: Verifying Checksum 16:27:01 988bab9f4d93: Download complete 16:27:01 339a4e72a1f5: Verifying Checksum 16:27:01 339a4e72a1f5: Download complete 16:27:01 1469e6f7b9e6: Verifying Checksum 16:27:01 1469e6f7b9e6: Download complete 16:27:01 eaf3925da568: Verifying Checksum 16:27:01 eaf3925da568: Download complete 16:27:01 bde34c3a00c8: Verifying Checksum 16:27:01 bde34c3a00c8: Download complete 16:27:01 b352a97aabf1: Download complete 16:27:01 4872d77fe225: Verifying Checksum 16:27:01 4872d77fe225: Download complete 16:27:01 5851b861e8e6: Download complete 16:27:01 b85a868b505f: Download complete 16:27:02 bab4dde63d76: Verifying Checksum 16:27:02 bab4dde63d76: Download complete 16:27:03 b85a868b505f: Pull complete 16:27:03 e2be974225ed: Pull complete 16:27:03 339a4e72a1f5: Pull complete 16:27:03 988bab9f4d93: Pull complete 16:27:03 1469e6f7b9e6: Pull complete 16:27:04 eaf3925da568: Pull complete 16:27:05 bab4dde63d76: Pull complete 16:27:05 bde34c3a00c8: Pull complete 16:27:05 b352a97aabf1: Pull complete 16:27:05 4872d77fe225: Pull complete 16:27:05 5851b861e8e6: Pull complete 16:27:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:27:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:27:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:05 prd-ubuntu20.04-docker-8c-8g-121212 does not seem to be running inside a container 16:27:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-199 -v /w/workspace/undry_device-onvif-camera_PR-199:/w/workspace/undry_device-onvif-camera_PR-199:rw,z -v /w/workspace/undry_device-onvif-camera_PR-199@tmp:/w/workspace/undry_device-onvif-camera_PR-199@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-devops/py-git-semver:0.1.4 cat 16:27:07 $ docker top cfe49e2ec281119e576143596e9532879c2626e22923c693084b2a6266939f39 -eo pid,comm 16:27:07 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). 16:27:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:27:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:27:07 [ssh-agent] Looking for ssh-agent implementation... 16:27:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:27:07 $ docker exec cfe49e2ec281119e576143596e9532879c2626e22923c693084b2a6266939f39 ssh-agent 16:27:07 SSH_AUTH_SOCK=/tmp/ssh-FHZ4D9tEZQfN/agent.33 16:27:07 SSH_AGENT_PID=39 16:27:07 Running ssh-add (command line suppressed) 16:27:07 Identity added: /w/workspace/undry_device-onvif-camera_PR-199@tmp/private_key_17343441756338943569.key (/w/workspace/undry_device-onvif-camera_PR-199@tmp/private_key_17343441756338943569.key) 16:27:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:27:08 + git tag --points-at HEAD [Pipeline] } 16:27:08 $ docker exec --env ******** --env ******** cfe49e2ec281119e576143596e9532879c2626e22923c693084b2a6266939f39 ssh-agent -k 16:27:08 unset SSH_AUTH_SOCK; 16:27:08 unset SSH_AGENT_PID; 16:27:08 echo Agent pid 39 killed; 16:27:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:27:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:27:08 [ssh-agent] Looking for ssh-agent implementation... 16:27:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:27:08 $ docker exec cfe49e2ec281119e576143596e9532879c2626e22923c693084b2a6266939f39 ssh-agent 16:27:08 SSH_AUTH_SOCK=/tmp/ssh-SbZEaJDqBgrI/agent.72 16:27:08 SSH_AGENT_PID=78 16:27:08 Running ssh-add (command line suppressed) 16:27:08 Identity added: /w/workspace/undry_device-onvif-camera_PR-199@tmp/private_key_7848875744194702186.key (/w/workspace/undry_device-onvif-camera_PR-199@tmp/private_key_7848875744194702186.key) 16:27:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:27:09 + git semver init 16:27:09 2022-12-14 16:27:09,208 [run_init] DEBUG init version:0.0.0 force:False 16:27:09 2022-12-14 16:27:09,209 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-199/.semver 16:27:09 2022-12-14 16:27:09,209 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-199/.semver 16:27:09 2022-12-14 16:27:09,210 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-199/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-199, universal_newlines=False, shell=None, istream=None) 16:27:10 2022-12-14 16:27:10,471 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-199/.git/info/exclude 16:27:10 2022-12-14 16:27:10,472 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-199/.semver/PR-199 with force:False 16:27:10 2022-12-14 16:27:10,472 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-199/.semver/PR-199 16:27:10 2022-12-14 16:27:10,474 [execute] INFO git cat-file --batch-check 16:27:10 2022-12-14 16:27:10,474 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-199/.semver, universal_newlines=False, shell=None, istream=) 16:27:10 2022-12-14 16:27:10,479 [execute] INFO git cat-file --batch 16:27:10 2022-12-14 16:27:10,480 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-199/.semver, universal_newlines=False, shell=None, istream=) 16:27:10 2022-12-14 16:27:10,485 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-199/.semver/PR-199 16:27:10 0.0.0 [Pipeline] } 16:27:10 $ docker exec --env ******** --env ******** cfe49e2ec281119e576143596e9532879c2626e22923c693084b2a6266939f39 ssh-agent -k 16:27:10 unset SSH_AUTH_SOCK; 16:27:10 unset SSH_AGENT_PID; 16:27:10 echo Agent pid 78 killed; 16:27:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:27:11 + git semver [Pipeline] } 16:27:11 $ docker stop --time=1 cfe49e2ec281119e576143596e9532879c2626e22923c693084b2a6266939f39 16:27:12 $ docker rm -f cfe49e2ec281119e576143596e9532879c2626e22923c693084b2a6266939f39 [Pipeline] // withDockerContainer [Pipeline] sh 16:27:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:27:13 Stashed 1 file(s) [Pipeline] echo 16:27:13 [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 16:27:14 provisioning config files... 16:27:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-199@tmp/config7413216602196951968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:14 ---> docker-login.sh 16:27:14 nexus3.edgexfoundry.org:10001 16:27:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:14 Configure a credential helper to remove this warning. See 16:27:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:14 16:27:14 Login Succeeded 16:27:14 nexus3.edgexfoundry.org:10002 16:27:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:14 Configure a credential helper to remove this warning. See 16:27:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:14 16:27:14 Login Succeeded 16:27:14 nexus3.edgexfoundry.org:10003 16:27:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:14 Configure a credential helper to remove this warning. See 16:27:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:14 16:27:14 Login Succeeded 16:27:14 nexus3.edgexfoundry.org:10004 16:27:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:14 Configure a credential helper to remove this warning. See 16:27:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:14 16:27:14 Login Succeeded 16:27:14 docker.io 16:27:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:14 Configure a credential helper to remove this warning. See 16:27:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:14 16:27:14 Login Succeeded 16:27:14 ---> docker-login.sh ends [Pipeline] } 16:27:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:27:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:27:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:27:15 ========================================================= 16:27:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:27:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:15 + 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 . 16:27:15 Sending build context to Docker daemon 27.71MB 16:27:15 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:27:15 Step 2/13 : FROM ${BASE} AS builder 16:27:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:27:15 213ec9aee27d: Pulling fs layer 16:27:15 4583459ba037: Pulling fs layer 16:27:15 93c1e223e6f2: Pulling fs layer 16:27:15 53926ce57604: Pulling fs layer 16:27:15 21b2b0c7a3f4: Pulling fs layer 16:27:15 22ff95d597cd: Pulling fs layer 16:27:15 12d6caf4c0d1: Pulling fs layer 16:27:15 96b7cbca73a9: Pulling fs layer 16:27:15 a7acece74701: Pulling fs layer 16:27:15 12d6caf4c0d1: Waiting 16:27:15 22ff95d597cd: Waiting 16:27:15 96b7cbca73a9: Waiting 16:27:15 53926ce57604: Waiting 16:27:15 21b2b0c7a3f4: Waiting 16:27:15 a7acece74701: Waiting 16:27:15 93c1e223e6f2: Verifying Checksum 16:27:15 93c1e223e6f2: Download complete 16:27:15 4583459ba037: Verifying Checksum 16:27:15 4583459ba037: Download complete 16:27:15 21b2b0c7a3f4: Download complete 16:27:15 22ff95d597cd: Verifying Checksum 16:27:15 22ff95d597cd: Download complete 16:27:15 213ec9aee27d: Verifying Checksum 16:27:15 213ec9aee27d: Download complete 16:27:15 12d6caf4c0d1: Verifying Checksum 16:27:15 12d6caf4c0d1: Download complete 16:27:15 213ec9aee27d: Pull complete 16:27:16 4583459ba037: Pull complete 16:27:16 93c1e223e6f2: Pull complete 16:27:16 a7acece74701: Verifying Checksum 16:27:16 a7acece74701: Download complete 16:27:16 53926ce57604: Verifying Checksum 16:27:16 53926ce57604: Download complete 16:27:16 96b7cbca73a9: Verifying Checksum 16:27:16 96b7cbca73a9: Download complete 16:27:20 53926ce57604: Pull complete 16:27:20 21b2b0c7a3f4: Pull complete 16:27:20 22ff95d597cd: Pull complete 16:27:20 12d6caf4c0d1: Pull complete 16:27:22 96b7cbca73a9: Pull complete 16:27:22 a7acece74701: Pull complete 16:27:22 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:27:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:27:22 ---> db6d94c90886 16:27:22 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:27:24 ---> Running in 1525854620c3 16:27:24 Removing intermediate container 1525854620c3 16:27:24 ---> dfec204413da 16:27:24 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:27:24 ---> Running in a3a2c66b9598 16:27:24 Removing intermediate container a3a2c66b9598 16:27:24 ---> f2186bfaa96b 16:27:24 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:27:24 ---> Running in ba79bcf11831 16:27:24 Removing intermediate container ba79bcf11831 16:27:24 ---> 18de9e04d446 16:27:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:27:24 ---> Running in e0b41a888c4b 16:27:24 Removing intermediate container e0b41a888c4b 16:27:24 ---> 07e51f6144c2 16:27:24 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:27:24 ---> Running in 3bccdb17de61 16:27:24 Removing intermediate container 3bccdb17de61 16:27:24 ---> 820d3f3516b0 16:27:24 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:27:24 ---> Running in 74361c2e50bb 16:27:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:27:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:27:25 OK: 211 MiB in 51 packages 16:27:25 Removing intermediate container 74361c2e50bb 16:27:25 ---> f025be7ed3ee 16:27:25 Step 9/13 : WORKDIR /device-onvif-camera 16:27:25 ---> Running in 3dac2b41fe36 16:27:25 Removing intermediate container 3dac2b41fe36 16:27:25 ---> 8fb3cee907e9 16:27:25 Step 10/13 : COPY go.mod vendor* ./ 16:27:26 ---> bc51a0b702d3 16:27:26 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:27:26 ---> Running in f87a484d9345 16:27:28 Still waiting to schedule task 16:27:28 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-121211’ 16:27:44 Removing intermediate container f87a484d9345 16:27:44 ---> 3c7be7dc4253 16:27:44 Step 12/13 : COPY . . 16:27:44 ---> c4d701f20aab 16:27:44 Step 13/13 : RUN ${MAKE} 16:27:44 ---> Running in 10d47636a6a4 16:27:44 noop 16:27:44 Removing intermediate container 10d47636a6a4 16:27:44 ---> 9fa9d445bb4a 16:27:44 Successfully built 9fa9d445bb4a 16:27:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:44 + docker inspect -f . ci-base-image-x86_64 16:27:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:44 prd-ubuntu20.04-docker-8c-8g-121212 does not seem to be running inside a container 16:27:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-199 -v /w/workspace/undry_device-onvif-camera_PR-199:/w/workspace/undry_device-onvif-camera_PR-199:rw,z -v /w/workspace/undry_device-onvif-camera_PR-199@tmp:/w/workspace/undry_device-onvif-camera_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:27:45 $ docker top 1c50cf7643c635cdb33d71863e275664fa1c75a8461bb4d63346e02158c472c0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:45 + go version 16:27:45 go version go1.18.7 linux/amd64 [Pipeline] } 16:27:45 $ docker stop --time=1 1c50cf7643c635cdb33d71863e275664fa1c75a8461bb4d63346e02158c472c0 16:27:46 $ docker rm -f 1c50cf7643c635cdb33d71863e275664fa1c75a8461bb4d63346e02158c472c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:47 + docker inspect -f . ci-base-image-x86_64 16:27:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:47 prd-ubuntu20.04-docker-8c-8g-121212 does not seem to be running inside a container 16:27:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-199 -v /w/workspace/undry_device-onvif-camera_PR-199:/w/workspace/undry_device-onvif-camera_PR-199:rw,z -v /w/workspace/undry_device-onvif-camera_PR-199@tmp:/w/workspace/undry_device-onvif-camera_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:27:48 $ docker top a3acfffab5f5156515824ea56bddfb29713d3683aefd3585a0bdab19e1179bac -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:48 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-199 [Pipeline] fileExists [Pipeline] sh 16:27:48 + make test 16:27:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:27:49 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:27:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:28:00 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s coverage: 29.3% of statements 16:28:00 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:28:00 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.266s coverage: 86.5% of statements 16:28:07 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." 16:28:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:28:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:28:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:28:09 ./bin/test-attribution-txt.sh [Pipeline] echo 16:28:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:28:10 $ docker stop --time=1 a3acfffab5f5156515824ea56bddfb29713d3683aefd3585a0bdab19e1179bac 16:28:12 $ docker rm -f a3acfffab5f5156515824ea56bddfb29713d3683aefd3585a0bdab19e1179bac [Pipeline] // withDockerContainer [Pipeline] sh 16:28:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:28:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:28:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:28:13 + ls -al . 16:28:13 total 248 16:28:13 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 16:27 . 16:28:13 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:26 .. 16:28:13 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 16:28 .git 16:28:13 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:26 .github 16:28:13 -rw-rw-r-- 1 jenkins jenkins 496 Dec 14 16:26 .gitignore 16:28:13 -rw-rw-r-- 1 jenkins jenkins 42 Dec 14 16:26 .golangci.yml 16:28:13 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 16:27 .semver 16:28:13 -rw-rw-r-- 1 jenkins jenkins 9742 Dec 14 16:26 Attribution.txt 16:28:13 -rw-rw-r-- 1 jenkins jenkins 6312 Dec 14 16:26 CHANGELOG.md 16:28:13 -rw-rw-r-- 1 jenkins jenkins 1637 Dec 14 16:26 Dockerfile 16:28:13 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 16:26 GOVERNANCE.md 16:28:13 -rw-rw-r-- 1 jenkins jenkins 734 Dec 14 16:26 Jenkinsfile 16:28:13 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 14 16:26 LICENSE 16:28:13 -rw-rw-r-- 1 jenkins jenkins 2858 Dec 14 16:26 Makefile 16:28:13 -rw-rw-r-- 1 jenkins jenkins 625 Dec 14 16:26 OWNERS.md 16:28:13 -rw-rw-r-- 1 jenkins jenkins 6595 Dec 14 16:26 README.md 16:28:13 -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 16:27 VERSION 16:28:13 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:26 bin 16:28:13 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:26 cmd 16:28:13 -rw-r--r-- 1 jenkins jenkins 79184 Dec 14 16:28 coverage.out 16:28:13 drwxrwxr-x 6 jenkins jenkins 4096 Dec 14 16:26 doc 16:28:13 -rw-rw-r-- 1 jenkins jenkins 3688 Dec 14 16:26 go.mod 16:28:13 -rw-rw-r-- 1 jenkins jenkins 46249 Dec 14 16:26 go.sum 16:28:13 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:26 internal 16:28:13 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:26 snap 16:28:13 -rw-rw-r-- 1 jenkins jenkins 236 Dec 14 16:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:14 + 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=babb2ac482dc51e1accc3d7228e7eed259e620bc --label arch=amd64 --label version=0.0.0 . 16:28:14 Sending build context to Docker daemon 27.79MB 16:28:14 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:28:14 Step 2/26 : FROM ${BASE} AS builder 16:28:14 ---> 9fa9d445bb4a 16:28:14 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:28:14 ---> Running in 991a2617e0fa 16:28:14 Removing intermediate container 991a2617e0fa 16:28:14 ---> e1017fead851 16:28:14 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:28:14 ---> Running in 8b88fe5fee76 16:28:14 Removing intermediate container 8b88fe5fee76 16:28:14 ---> 7a18db65a98c 16:28:14 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:28:14 ---> Running in ae3f404d6822 16:28:14 Removing intermediate container ae3f404d6822 16:28:14 ---> c7a7c7b7899c 16:28:14 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:28:14 ---> Running in d7e23bede468 16:28:14 Removing intermediate container d7e23bede468 16:28:14 ---> 15e544f9d203 16:28:14 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:28:14 ---> Running in 7f3331fc6618 16:28:14 Removing intermediate container 7f3331fc6618 16:28:14 ---> 59a66303cc9f 16:28:14 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:28:14 ---> Running in c7e915d162e6 16:28:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:28:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:28:15 OK: 211 MiB in 51 packages 16:28:15 Removing intermediate container c7e915d162e6 16:28:15 ---> e3fa3faaeb57 16:28:15 Step 9/26 : WORKDIR /device-onvif-camera 16:28:15 ---> Running in 0e7fc2818f86 16:28:15 Removing intermediate container 0e7fc2818f86 16:28:15 ---> 11445990fcea 16:28:15 Step 10/26 : COPY go.mod vendor* ./ 16:28:15 ---> 9b7f1ffb8296 16:28:15 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:28:15 ---> Running in aee4eb400625 16:28:16 Removing intermediate container aee4eb400625 16:28:16 ---> 123d97966398 16:28:16 Step 12/26 : COPY . . 16:28:17 ---> b2711fca2580 16:28:17 Step 13/26 : RUN ${MAKE} 16:28:17 ---> Running in 1441d279da20 16:28:17 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 16:28:39 Removing intermediate container 1441d279da20 16:28:39 ---> a4631666c728 16:28:39 Step 14/26 : FROM alpine:3.16 16:28:39 3.16: Pulling from library/alpine 16:28:39 ca7dd9ec2225: Pulling fs layer 16:28:39 ca7dd9ec2225: Verifying Checksum 16:28:39 ca7dd9ec2225: Download complete 16:28:39 ca7dd9ec2225: Pull complete 16:28:39 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:28:39 Status: Downloaded newer image for alpine:3.16 16:28:39 ---> bfe296a52501 16:28:39 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:28:39 ---> Running in f1b95284749f 16:28:39 Removing intermediate container f1b95284749f 16:28:39 ---> 42b772623701 16:28:39 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:28:39 ---> Running in 7700cd676788 16:28:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:28:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:28:39 (1/6) Installing dumb-init (1.2.5-r1) 16:28:39 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:28:39 (3/6) Installing libsodium (1.0.18-r0) 16:28:39 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:28:39 (5/6) Installing libzmq (4.3.4-r0) 16:28:39 (6/6) Installing zeromq (4.3.4-r0) 16:28:39 Executing busybox-1.35.0-r17.trigger 16:28:39 OK: 8 MiB in 20 packages 16:28:39 Removing intermediate container 7700cd676788 16:28:39 ---> bfc0f169df6d 16:28:39 Step 17/26 : WORKDIR / 16:28:39 ---> Running in 40da89ccfeff 16:28:39 Removing intermediate container 40da89ccfeff 16:28:39 ---> 1c6369fd0b14 16:28:39 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:28:39 ---> d415d557d3a8 16:28:39 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:28:39 ---> 3818208244b1 16:28:39 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:28:39 ---> ff6a429d89f6 16:28:39 Step 21/26 : EXPOSE 59984 16:28:39 ---> Running in 6ff50e056b60 16:28:39 Removing intermediate container 6ff50e056b60 16:28:39 ---> 9c5390c92e13 16:28:39 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:28:39 ---> Running in be6dc834ee3d 16:28:39 Removing intermediate container be6dc834ee3d 16:28:39 ---> fd7c1f02c170 16:28:39 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:28:39 ---> Running in 676d22f66373 16:28:39 Removing intermediate container 676d22f66373 16:28:39 ---> e458ab80de45 16:28:39 Step 24/26 : LABEL arch=amd64 16:28:39 ---> Running in 78529b5e20a7 16:28:39 Removing intermediate container 78529b5e20a7 16:28:39 ---> f14474b1333a 16:28:39 Step 25/26 : LABEL git_sha=babb2ac482dc51e1accc3d7228e7eed259e620bc 16:28:39 ---> Running in 7c7f81047f12 16:28:39 Removing intermediate container 7c7f81047f12 16:28:39 ---> 53c1b82736c3 16:28:39 Step 26/26 : LABEL version=0.0.0 16:28:39 ---> Running in 5572d9434f4e 16:28:39 Removing intermediate container 5572d9434f4e 16:28:39 ---> e5c653b86383 16:28:39 [Warning] One or more build-args [ARCH] were not consumed 16:28:39 Successfully built e5c653b86383 16:28:39 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 16:28:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:28:40 16:28:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:28:41 latest: Pulling from edgex-lftools-log-publisher 16:28:41 5eb5b503b376: Pulling fs layer 16:28:41 5c69ac0246d0: Pulling fs layer 16:28:41 ec43610c2a17: Pulling fs layer 16:28:41 3a2ae6a8a46f: Pulling fs layer 16:28:41 33b1e0a273af: Pulling fs layer 16:28:41 5d3b04190fa2: Pulling fs layer 16:28:41 2f39f015ded8: Pulling fs layer 16:28:41 3a2ae6a8a46f: Waiting 16:28:41 5d3b04190fa2: Waiting 16:28:41 33b1e0a273af: Waiting 16:28:41 2f39f015ded8: Waiting 16:28:41 5c69ac0246d0: Download complete 16:28:41 3a2ae6a8a46f: Verifying Checksum 16:28:41 3a2ae6a8a46f: Download complete 16:28:41 33b1e0a273af: Verifying Checksum 16:28:41 33b1e0a273af: Download complete 16:28:41 ec43610c2a17: Verifying Checksum 16:28:41 ec43610c2a17: Download complete 16:28:41 5d3b04190fa2: Verifying Checksum 16:28:41 5d3b04190fa2: Download complete 16:28:41 5eb5b503b376: Verifying Checksum 16:28:41 5eb5b503b376: Download complete 16:28:41 2f39f015ded8: Download complete 16:28:42 5eb5b503b376: Pull complete 16:28:42 5c69ac0246d0: Pull complete 16:28:43 ec43610c2a17: Pull complete 16:28:43 3a2ae6a8a46f: Pull complete 16:28:43 33b1e0a273af: Pull complete 16:28:43 5d3b04190fa2: Pull complete 16:28:47 2f39f015ded8: Pull complete 16:28:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:28:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:28:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:47 prd-ubuntu20.04-docker-8c-8g-121212 does not seem to be running inside a container 16:28:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-199 -v /w/workspace/undry_device-onvif-camera_PR-199:/w/workspace/undry_device-onvif-camera_PR-199:rw,z -v /w/workspace/undry_device-onvif-camera_PR-199@tmp:/w/workspace/undry_device-onvif-camera_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:28:49 $ docker top f99099ef6c107368d6b3c7fa1fd1b7343ea41bb09d1d33317161f9b21f8d0071 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:28:49 ---> job-cost.sh 16:28:49 lf-activate-venv: SKIPPING 16:28:49 INFO: No Stack... 16:28:50 INFO: Retrieving Pricing Info for: v3-standard-8 16:28:50 INFO: Archiving Costs [Pipeline] sh 16:28:51 + cat /w/workspace/undry_device-onvif-camera_PR-199/archives/cost.csv 16:28:51 + cut -d, -f6 [Pipeline] lock 16:28:51 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-199-1-stack-cost] 16:28:51 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-199-1-stack-cost] did not exist. Created. 16:28:51 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-199-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:28:51 + echo total: 0.2199999988079071 [Pipeline] stash 16:28:51 Stashed 1 file(s) [Pipeline] } 16:28:51 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-199-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:28:51 $ docker stop --time=1 f99099ef6c107368d6b3c7fa1fd1b7343ea41bb09d1d33317161f9b21f8d0071 16:28:52 $ docker rm -f f99099ef6c107368d6b3c7fa1fd1b7343ea41bb09d1d33317161f9b21f8d0071 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:30:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121214 in /w/workspace/undry_device-onvif-camera_PR-199 [Pipeline] { [Pipeline] ws 16:30:02 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 16:30:02 The recommended git tool is: git 16:30:08 using credential edgex-jenkins-ssh 16:30:08 Cloning the remote Git repository 16:30:08 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:30:08 > git init /w/workspace/device-onvif-camera/1 # timeout=10 16:30:08 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:30:08 > git --version # timeout=10 16:30:08 > git --version # 'git version 2.25.1' 16:30:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:30:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:30:10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:30:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:30:11 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:30:11 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:30:11 using GIT_SSH to set credentials SSH Credentials for GitHub 16:30:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:30:11 Merging remotes/origin/main commit 12ac4ca00df350acb7aaa5b8264558c40625f436 into PR head commit babb2ac482dc51e1accc3d7228e7eed259e620bc 16:30:12 Merge succeeded, producing babb2ac482dc51e1accc3d7228e7eed259e620bc 16:30:12 Checking out Revision babb2ac482dc51e1accc3d7228e7eed259e620bc (PR-199) 16:30:11 > git config core.sparsecheckout # timeout=10 16:30:11 > git checkout -f babb2ac482dc51e1accc3d7228e7eed259e620bc # timeout=10 16:30:12 > git remote # timeout=10 16:30:12 > git config --get remote.origin.url # timeout=10 16:30:12 using GIT_SSH to set credentials SSH Credentials for GitHub 16:30:12 > git merge 12ac4ca00df350acb7aaa5b8264558c40625f436 # timeout=10 16:30:12 > git rev-parse HEAD^{commit} # timeout=10 16:30:12 > git config core.sparsecheckout # timeout=10 16:30:12 > git checkout -f babb2ac482dc51e1accc3d7228e7eed259e620bc # timeout=10 16:30:15 Commit message: "refactor!: use latest SDK for flattened config stem" 16:30:15 > git --version # timeout=10 16:30:15 > git --version # 'git version 2.25.1' 16:30:15 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:30:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:30:16 % Total % Received % Xferd Average Speed Time Time Time Current 16:30:16 Dload Upload Total Spent Left Speed 16:30:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh 16:30:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:30:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:30:17 + sudo tee /etc/docker/daemon.new 16:30:17 { 16:30:17 "registry-mirrors": [ 16:30:17 "https://nexus3.edgexfoundry.org:10001" 16:30:17 ], 16:30:17 "bip": "10.250.0.254/24", 16:30:17 "hosts": [ 16:30:17 "tcp://0.0.0.0:5555", 16:30:17 "unix:///var/run/docker.sock" 16:30:17 ], 16:30:17 "mtu": 1458, 16:30:17 "selinux-enabled": true, 16:30:17 "seccomp-profile": "/etc/docker/seccomp.json" 16:30:17 } [Pipeline] sh 16:30:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:30:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:30:36 provisioning config files... 16:30:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7551322553307738176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:37 ---> docker-login.sh 16:30:37 nexus3.edgexfoundry.org:10001 16:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:37 Configure a credential helper to remove this warning. See 16:30:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:37 16:30:37 Login Succeeded 16:30:37 nexus3.edgexfoundry.org:10002 16:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:38 Configure a credential helper to remove this warning. See 16:30:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:38 16:30:38 Login Succeeded 16:30:38 nexus3.edgexfoundry.org:10003 16:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:38 Configure a credential helper to remove this warning. See 16:30:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:38 16:30:38 Login Succeeded 16:30:38 nexus3.edgexfoundry.org:10004 16:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:38 Configure a credential helper to remove this warning. See 16:30:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:38 16:30:38 Login Succeeded 16:30:38 docker.io 16:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:39 Configure a credential helper to remove this warning. See 16:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:39 16:30:39 Login Succeeded 16:30:39 ---> docker-login.sh ends [Pipeline] } 16:30:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:30:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:30:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:30:39 ========================================================= 16:30:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:30:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:40 + 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 . 16:30:40 Sending build context to Docker daemon 20.61MB 16:30:40 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:30:40 Step 2/13 : FROM ${BASE} AS builder 16:30:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:30:42 9b18e9b68314: Pulling fs layer 16:30:42 35d82f9e3411: Pulling fs layer 16:30:42 e16973657156: Pulling fs layer 16:30:42 fc693d55d65f: Pulling fs layer 16:30:42 7e9fc2657dce: Pulling fs layer 16:30:42 dda99020689f: Pulling fs layer 16:30:42 db1c61fa0a46: Pulling fs layer 16:30:42 891c053d2c06: Pulling fs layer 16:30:42 dda99020689f: Waiting 16:30:42 fc693d55d65f: Waiting 16:30:42 db1c61fa0a46: Waiting 16:30:42 7e9fc2657dce: Waiting 16:30:42 891c053d2c06: Waiting 16:30:42 e16973657156: Download complete 16:30:42 35d82f9e3411: Verifying Checksum 16:30:42 35d82f9e3411: Download complete 16:30:42 7e9fc2657dce: Verifying Checksum 16:30:42 7e9fc2657dce: Download complete 16:30:42 dda99020689f: Verifying Checksum 16:30:42 dda99020689f: Download complete 16:30:42 9b18e9b68314: Verifying Checksum 16:30:42 9b18e9b68314: Download complete 16:30:43 9b18e9b68314: Pull complete 16:30:43 891c053d2c06: Verifying Checksum 16:30:43 891c053d2c06: Download complete 16:30:43 35d82f9e3411: Pull complete 16:30:44 e16973657156: Pull complete 16:30:44 db1c61fa0a46: Verifying Checksum 16:30:44 db1c61fa0a46: Download complete 16:30:45 fc693d55d65f: Verifying Checksum 16:30:45 fc693d55d65f: Download complete 16:30:57 fc693d55d65f: Pull complete 16:30:57 7e9fc2657dce: Pull complete 16:30:57 dda99020689f: Pull complete 16:31:03 db1c61fa0a46: Pull complete 16:31:04 891c053d2c06: Pull complete 16:31:04 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:31:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:31:04 ---> f96f9c87975a 16:31:04 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:31:06 ---> Running in 8cc2ea22fc1c 16:31:06 Removing intermediate container 8cc2ea22fc1c 16:31:06 ---> fdc7a6206116 16:31:06 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:31:06 ---> Running in bc8d633b210a 16:31:07 Removing intermediate container bc8d633b210a 16:31:07 ---> 13cc0b2fcecf 16:31:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:31:07 ---> Running in 6133e46c89bd 16:31:07 Removing intermediate container 6133e46c89bd 16:31:07 ---> cd264e405523 16:31:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:31:07 ---> Running in 9b6da98218a8 16:31:07 Removing intermediate container 9b6da98218a8 16:31:07 ---> c3316e01700b 16:31:07 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:31:07 ---> Running in d41eb751e5a8 16:31:08 Removing intermediate container d41eb751e5a8 16:31:08 ---> 4aecedfa6ef8 16:31:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:31:08 ---> Running in 00d1fec3ce06 16:31:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:31:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:31:11 OK: 221 MiB in 51 packages 16:31:12 Removing intermediate container 00d1fec3ce06 16:31:12 ---> 018fc948732c 16:31:12 Step 9/13 : WORKDIR /device-onvif-camera 16:31:12 ---> Running in fadaac00ad2d 16:31:12 Removing intermediate container fadaac00ad2d 16:31:12 ---> 4515188651c0 16:31:12 Step 10/13 : COPY go.mod vendor* ./ 16:31:12 ---> 269827f168a2 16:31:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:31:12 ---> Running in aefa945e29b4 16:32:09 Removing intermediate container aefa945e29b4 16:32:09 ---> c9f9ff5de251 16:32:09 Step 12/13 : COPY . . 16:32:09 ---> 1f232f8d1529 16:32:09 Step 13/13 : RUN ${MAKE} 16:32:09 ---> Running in 17937210768c 16:32:09 noop 16:32:09 Removing intermediate container 17937210768c 16:32:09 ---> 56419461f8c8 16:32:09 Successfully built 56419461f8c8 16:32:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:09 + docker inspect -f . ci-base-image-arm64 16:32:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:09 prd-ubuntu20.04-docker-arm64-4c-16g-121214 does not seem to be running inside a container 16:32:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:32:11 $ docker top f2e175d6aaf42688ef5f6845bad6f1200edda920629f969f65090a7275c2ce27 -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:12 + go version 16:32:12 go version go1.18.7 linux/arm64 [Pipeline] } 16:32:12 $ docker stop --time=1 f2e175d6aaf42688ef5f6845bad6f1200edda920629f969f65090a7275c2ce27 16:32:13 $ docker rm -f f2e175d6aaf42688ef5f6845bad6f1200edda920629f969f65090a7275c2ce27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:14 + docker inspect -f . ci-base-image-arm64 16:32:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:14 prd-ubuntu20.04-docker-arm64-4c-16g-121214 does not seem to be running inside a container 16:32:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:32:16 $ docker top 5d8c6b1361bba031e9fc7b9ffc91129d1742d4c6283e42bb557a264a5eb88794 -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:16 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 16:32:16 + make test 16:32:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:32:18 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:33:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:33:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.159s coverage: 29.3% of statements 16:33:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:33:58 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 15.808s coverage: 86.5% of statements 16:33:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:33:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:34:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:34:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:34:25 ./bin/test-attribution-txt.sh [Pipeline] echo 16:34:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:34:25 $ docker stop --time=1 5d8c6b1361bba031e9fc7b9ffc91129d1742d4c6283e42bb557a264a5eb88794 16:34:27 $ docker rm -f 5d8c6b1361bba031e9fc7b9ffc91129d1742d4c6283e42bb557a264a5eb88794 [Pipeline] // withDockerContainer [Pipeline] sh 16:34:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:34:28 Warning: overwriting stash ‘coverage-report’ 16:34:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:34:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:34:30 + ls -al . 16:34:30 total 244 16:34:30 drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 16:32 . 16:34:30 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:30 .. 16:34:30 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 16:30 .git 16:34:30 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:30 .github 16:34:30 -rw-rw-r-- 1 jenkins jenkins 496 Dec 14 16:30 .gitignore 16:34:30 -rw-rw-r-- 1 jenkins jenkins 42 Dec 14 16:30 .golangci.yml 16:34:30 -rw-rw-r-- 1 jenkins jenkins 9742 Dec 14 16:30 Attribution.txt 16:34:30 -rw-rw-r-- 1 jenkins jenkins 6312 Dec 14 16:30 CHANGELOG.md 16:34:30 -rw-rw-r-- 1 jenkins jenkins 1637 Dec 14 16:30 Dockerfile 16:34:30 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 16:30 GOVERNANCE.md 16:34:30 -rw-rw-r-- 1 jenkins jenkins 734 Dec 14 16:30 Jenkinsfile 16:34:30 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 14 16:30 LICENSE 16:34:30 -rw-rw-r-- 1 jenkins jenkins 2858 Dec 14 16:30 Makefile 16:34:30 -rw-rw-r-- 1 jenkins jenkins 625 Dec 14 16:30 OWNERS.md 16:34:30 -rw-rw-r-- 1 jenkins jenkins 6595 Dec 14 16:30 README.md 16:34:30 -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 16:27 VERSION 16:34:30 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:30 bin 16:34:30 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:30 cmd 16:34:30 -rw-r--r-- 1 jenkins jenkins 79184 Dec 14 16:33 coverage.out 16:34:30 drwxrwxr-x 6 jenkins jenkins 4096 Dec 14 16:30 doc 16:34:30 -rw-rw-r-- 1 jenkins jenkins 3688 Dec 14 16:30 go.mod 16:34:30 -rw-rw-r-- 1 jenkins jenkins 46249 Dec 14 16:30 go.sum 16:34:30 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:30 internal 16:34:30 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:30 snap 16:34:30 -rw-rw-r-- 1 jenkins jenkins 236 Dec 14 16:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:30 + 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=babb2ac482dc51e1accc3d7228e7eed259e620bc --label arch=arm64 --label version=0.0.0 . 16:34:31 Sending build context to Docker daemon 20.69MB 16:34:31 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:34:31 Step 2/26 : FROM ${BASE} AS builder 16:34:31 ---> 56419461f8c8 16:34:31 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:34:31 ---> Running in 10c2abb7db42 16:34:31 Removing intermediate container 10c2abb7db42 16:34:31 ---> e22d3e2b93c7 16:34:31 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:34:32 ---> Running in 09e3b1fadd88 16:34:32 Removing intermediate container 09e3b1fadd88 16:34:32 ---> 02afeae728b8 16:34:32 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:34:32 ---> Running in 995eac268a8b 16:34:32 Removing intermediate container 995eac268a8b 16:34:32 ---> 88b2ff8b1f14 16:34:32 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:34:32 ---> Running in d0df5c985659 16:34:33 Removing intermediate container d0df5c985659 16:34:33 ---> 32de15b8ec44 16:34:33 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:34:33 ---> Running in 048726209d96 16:34:33 Removing intermediate container 048726209d96 16:34:33 ---> 4787739774e0 16:34:33 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:34:33 ---> Running in ba5409d98896 16:34:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:34:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:34:36 OK: 221 MiB in 51 packages 16:34:37 Removing intermediate container ba5409d98896 16:34:37 ---> c10b96365e6a 16:34:37 Step 9/26 : WORKDIR /device-onvif-camera 16:34:37 ---> Running in d82f7d2a3652 16:34:37 Removing intermediate container d82f7d2a3652 16:34:37 ---> 39b57279e1d2 16:34:37 Step 10/26 : COPY go.mod vendor* ./ 16:34:38 ---> 5aad0f1d5710 16:34:38 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:34:38 ---> Running in f1c20a61e6e2 16:34:41 Removing intermediate container f1c20a61e6e2 16:34:41 ---> 7a26503fffa2 16:34:41 Step 12/26 : COPY . . 16:34:43 ---> 69f169b93e2a 16:34:43 Step 13/26 : RUN ${MAKE} 16:34:43 ---> Running in 695242d72d15 16:34:44 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 16:37:21 Removing intermediate container 695242d72d15 16:37:21 ---> 263204649e83 16:37:21 Step 14/26 : FROM alpine:3.16 16:37:21 3.16: Pulling from library/alpine 16:37:21 6875df1f5354: Pulling fs layer 16:37:21 6875df1f5354: Verifying Checksum 16:37:21 6875df1f5354: Download complete 16:37:21 6875df1f5354: Pull complete 16:37:21 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:37:21 Status: Downloaded newer image for alpine:3.16 16:37:21 ---> 2b4661558fb8 16:37:21 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:37:21 ---> Running in 08e35a5c1e45 16:37:21 Removing intermediate container 08e35a5c1e45 16:37:21 ---> ed4a0b2adf08 16:37:21 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:37:21 ---> Running in 2cf0316f4c7b 16:37:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:37:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:37:23 (1/6) Installing dumb-init (1.2.5-r1) 16:37:23 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:37:23 (3/6) Installing libsodium (1.0.18-r0) 16:37:23 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:37:23 (5/6) Installing libzmq (4.3.4-r0) 16:37:23 (6/6) Installing zeromq (4.3.4-r0) 16:37:23 Executing busybox-1.35.0-r17.trigger 16:37:23 OK: 8 MiB in 20 packages 16:37:24 Removing intermediate container 2cf0316f4c7b 16:37:24 ---> b3b631e49720 16:37:24 Step 17/26 : WORKDIR / 16:37:24 ---> Running in ec430cd9b786 16:37:24 Removing intermediate container ec430cd9b786 16:37:24 ---> 8b2ced66e32d 16:37:24 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:37:25 ---> ef54246e29aa 16:37:25 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:37:26 ---> 9d2a81293780 16:37:26 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:37:26 ---> 154d1ecf00a1 16:37:26 Step 21/26 : EXPOSE 59984 16:37:26 ---> Running in d405b2258aa8 16:37:27 Removing intermediate container d405b2258aa8 16:37:27 ---> 6c953d2f82d9 16:37:27 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:37:27 ---> Running in 644404b9faf5 16:37:27 Removing intermediate container 644404b9faf5 16:37:27 ---> 6b84aff80b8f 16:37:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:37:27 ---> Running in bb54ab349fe4 16:37:27 Removing intermediate container bb54ab349fe4 16:37:27 ---> dd2449de8480 16:37:27 Step 24/26 : LABEL arch=arm64 16:37:27 ---> Running in 16cb2618633e 16:37:28 Removing intermediate container 16cb2618633e 16:37:28 ---> 98c2399599b0 16:37:28 Step 25/26 : LABEL git_sha=babb2ac482dc51e1accc3d7228e7eed259e620bc 16:37:28 ---> Running in f1f8495cb35c 16:37:28 Removing intermediate container f1f8495cb35c 16:37:28 ---> 82222940799d 16:37:28 Step 26/26 : LABEL version=0.0.0 16:37:28 ---> Running in 4355b2bbb8bc 16:37:28 Removing intermediate container 4355b2bbb8bc 16:37:28 ---> ea47f2de68dd 16:37:28 [Warning] One or more build-args [ARCH] were not consumed 16:37:28 Successfully built ea47f2de68dd 16:37:28 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:37:29 16:37:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:37:30 arm64: Pulling from edgex-lftools-log-publisher 16:37:30 8998bd30e6a1: Pulling fs layer 16:37:30 04944245beec: Pulling fs layer 16:37:30 699f458cf7ca: Pulling fs layer 16:37:30 765212b225bb: Pulling fs layer 16:37:30 f23df028b6ca: Pulling fs layer 16:37:30 d65c8cfc05b1: Pulling fs layer 16:37:30 2437ff75d9bd: Pulling fs layer 16:37:30 765212b225bb: Waiting 16:37:30 f23df028b6ca: Waiting 16:37:30 d65c8cfc05b1: Waiting 16:37:30 2437ff75d9bd: Waiting 16:37:30 04944245beec: Verifying Checksum 16:37:30 04944245beec: Download complete 16:37:30 765212b225bb: Verifying Checksum 16:37:30 765212b225bb: Download complete 16:37:30 f23df028b6ca: Verifying Checksum 16:37:30 f23df028b6ca: Download complete 16:37:30 d65c8cfc05b1: Verifying Checksum 16:37:30 d65c8cfc05b1: Download complete 16:37:30 699f458cf7ca: Verifying Checksum 16:37:30 699f458cf7ca: Download complete 16:37:30 8998bd30e6a1: Verifying Checksum 16:37:30 8998bd30e6a1: Download complete 16:37:32 2437ff75d9bd: Verifying Checksum 16:37:32 2437ff75d9bd: Download complete 16:37:34 8998bd30e6a1: Pull complete 16:37:34 04944245beec: Pull complete 16:37:36 699f458cf7ca: Pull complete 16:37:36 765212b225bb: Pull complete 16:37:37 f23df028b6ca: Pull complete 16:37:37 d65c8cfc05b1: Pull complete 16:37:52 2437ff75d9bd: Pull complete 16:37:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:37:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:37:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:52 prd-ubuntu20.04-docker-arm64-4c-16g-121214 does not seem to be running inside a container 16:37:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:37:55 $ docker top e5c3b4f4430429a65a99e6a18168435d3aeaf23aed09b3307fbcee633531db98 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:37:56 ---> job-cost.sh 16:37:56 lf-activate-venv: SKIPPING 16:37:56 INFO: No Stack... 16:37:56 INFO: Retrieving Pricing Info for: v3-standard-4 16:37:57 INFO: Archiving Costs [Pipeline] sh 16:37:58 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 16:37:58 + cut -d, -f6 [Pipeline] lock 16:37:58 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-199-1-stack-cost] 16:37:58 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-199-1-stack-cost] did not exist. Created. 16:37:58 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-199-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:37:59 /w/workspace/device-onvif-camera/1@tmp/durable-ffb9f0d9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:37:59 + echo total: 0.10999999940395355 [Pipeline] stash 16:37:59 Warning: overwriting stash ‘stack-cost’ 16:37:59 Stashed 1 file(s) [Pipeline] } 16:37:59 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-199-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:38:00 $ docker stop --time=1 e5c3b4f4430429a65a99e6a18168435d3aeaf23aed09b3307fbcee633531db98 16:38:01 $ docker rm -f e5c3b4f4430429a65a99e6a18168435d3aeaf23aed09b3307fbcee633531db98 [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 16:38:02 provisioning config files... 16:38:02 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-199@tmp/config2842883892062778983tmp [Pipeline] { [Pipeline] sh 16:38:02 + set +x 16:38:02 + bash -s -- 16:38:02 + curl -s https://codecov.io/bash 16:38:02 16:38:02 _____ _ 16:38:02 / ____| | | 16:38:02 | | ___ __| | ___ ___ _____ __ 16:38:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:38:02 | |___| (_) | (_| | __/ (_| (_) \ V / 16:38:02 \_____\___/ \__,_|\___|\___\___/ \_/ 16:38:02 Bash-1.0.6 16:38:02 16:38:02 16:38:02 ==> git version 2.25.1 found 16:38:02 ==> 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 16:38:02 Release-Date: 2020-01-08 16:38:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:38:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:38:02 ==> Jenkins CI detected. 16:38:02 current dir:  /w/workspace/undry_device-onvif-camera_PR-199 16:38:02 project root: . 16:38:02 --> token set from env 16:38:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:38:02 ==> Running gcov in . (disable via -X gcov) 16:38:02 ==> Python coveragepy not found 16:38:02 ==> Searching for coverage reports in: 16:38:02 + . 16:38:02 -> Found 1 reports 16:38:02 ==> Detecting git/mercurial file structure 16:38:02 ==> Reading reports 16:38:02 + ./coverage.out bytes=79184 16:38:02 ==> Appending adjustments 16:38:02 https://docs.codecov.io/docs/fixing-reports 16:38:03 + Found adjustments 16:38:03 ==> Gzipping contents 16:38:03 12K /tmp/codecov.Q7EM8i.gz 16:38:03 ==> Uploading reports 16:38:03 url: https://codecov.io 16:38:03 query: branch=PR-199&commit=babb2ac482dc51e1accc3d7228e7eed259e620bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-199%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=199&job=&cmd_args= 16:38:03 -> Pinging Codecov 16:38:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-199&commit=babb2ac482dc51e1accc3d7228e7eed259e620bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-199%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=199&job=&cmd_args= 16:38:03 -> Uploading to 16:38:03 https://storage.googleapis.com/codecov/v4/raw/2022-12-14/F29A59C45E3A92E06B3E522C9905F8EF/babb2ac482dc51e1accc3d7228e7eed259e620bc/1a5c15a3-7e4c-4dbd-ba11-6ceb956447e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221214T163803Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a33eff8368991216acfe0904020bfaf9f21d81b5349eeb171991dc57fc08efb8 16:38:03 % Total % Received % Xferd Average Speed Time Time Time Current 16:38:03 Dload Upload Total Spent Left Speed 16:38:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10864 0 0 100 10864 0 49834 --:--:-- --:--:-- --:--:-- 49607 16:38:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/babb2ac482dc51e1accc3d7228e7eed259e620bc [Pipeline] } 16:38:03 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 16:38:05 + [ -d /w/workspace/undry_device-onvif-camera_PR-199/archives ] 16:38:05 + ls -al /w/workspace/undry_device-onvif-camera_PR-199/archives 16:38:05 total 16 16:38:05 drwxr-xr-x 3 root root 4096 Dec 14 16:28 . 16:38:05 drwxrwxr-x 11 jenkins jenkins 4096 Dec 14 16:28 .. 16:38:05 drwxr-xr-x 2 root root 4096 Dec 14 16:28 cost 16:38:05 -rw-r--r-- 1 root root 91 Dec 14 16:28 cost.csv 16:38:05 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-199/archives 16:38:05 + ls -al /w/workspace/undry_device-onvif-camera_PR-199/archives 16:38:05 total 16 16:38:05 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 16:28 . 16:38:05 drwxrwxr-x 11 jenkins jenkins 4096 Dec 14 16:28 .. 16:38:05 drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 16:28 cost 16:38:05 -rw-r--r-- 1 jenkins jenkins 91 Dec 14 16:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:38:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:38:06 ---> package-listing.sh 16:38:06 ++ facter osfamily 16:38:06 ++ tr '[:upper:]' '[:lower:]' 16:38:06 + OS_FAMILY=debian 16:38:06 + workspace=/w/workspace/undry_device-onvif-camera_PR-199 16:38:06 + START_PACKAGES=/tmp/packages_start.txt 16:38:06 + END_PACKAGES=/tmp/packages_end.txt 16:38:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:38:06 + PACKAGES=/tmp/packages_start.txt 16:38:06 + '[' /w/workspace/undry_device-onvif-camera_PR-199 ']' 16:38:06 + PACKAGES=/tmp/packages_end.txt 16:38:06 + case "${OS_FAMILY}" in 16:38:06 + dpkg -l 16:38:06 + grep '^ii' 16:38:06 + '[' -f /tmp/packages_start.txt ']' 16:38:06 + '[' -f /tmp/packages_end.txt ']' 16:38:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:38:06 + '[' /w/workspace/undry_device-onvif-camera_PR-199 ']' 16:38:06 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-199/archives/ 16:38:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-199/archives/ [Pipeline] echo 16:38:06 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-199/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:38:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:38:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:38:07 prd-ubuntu20.04-docker-8c-8g-121212 does not seem to be running inside a container 16:38:07 $ 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-199/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-199 -v /w/workspace/undry_device-onvif-camera_PR-199:/w/workspace/undry_device-onvif-camera_PR-199:rw,z -v /w/workspace/undry_device-onvif-camera_PR-199@tmp:/w/workspace/undry_device-onvif-camera_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:38:08 $ docker top c10709694bd7795b8fb07261ce2d34e2e45ef813815fab02a9e0a8c86d0d584a -eo pid,comm [Pipeline] { [Pipeline] sh 16:38:08 + touch /tmp/pre-build-complete [Pipeline] sh 16:38:08 + mkdir -p /var/log/sysstat [Pipeline] sh 16:38:09 + ls /var/log/sa-host 16:38:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:38:09 provisioning config files... 16:38:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-199@tmp/config15246493498515613566tmp [Pipeline] { [Pipeline] echo 16:38:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:38:09 ---> create-netrc.sh [Pipeline] } 16:38:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:38:10 ---> python-tools-install.sh [Pipeline] echo 16:38:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:38:10 ---> sudo-logs.sh 16:38:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:38:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:38:10 ---> job-cost.sh 16:38:10 lf-activate-venv: SKIPPING 16:38:10 DEBUG: total: 0.2199999988079071 16:38:10 INFO: Retrieving Stack Cost... 16:38:11 INFO: Retrieving Pricing Info for: v3-standard-8 16:38:11 INFO: Archiving Costs [Pipeline] echo 16:38:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:38:12 ---> logs-deploy.sh 16:38:12 lf-activate-venv: SKIPPING 16:38:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-199/1 16:38:12 INFO: archiving workspace using pattern(s): 16:38:12 Archives upload complete. 16:38:13 INFO: archiving logs to Nexus 16:38:13 ---> uname -a: 16:38:13 Linux prd-ubuntu20-04-docker-8c-8g-121212 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:38:13 16:38:13 16:38:13 ---> lscpu: 16:38:13 Architecture: x86_64 16:38:13 CPU op-mode(s): 32-bit, 64-bit 16:38:13 Byte Order: Little Endian 16:38:13 Address sizes: 40 bits physical, 48 bits virtual 16:38:13 CPU(s): 8 16:38:13 On-line CPU(s) list: 0-7 16:38:13 Thread(s) per core: 1 16:38:13 Core(s) per socket: 1 16:38:13 Socket(s): 8 16:38:13 NUMA node(s): 1 16:38:13 Vendor ID: AuthenticAMD 16:38:13 CPU family: 23 16:38:13 Model: 49 16:38:13 Model name: AMD EPYC-Rome Processor 16:38:13 Stepping: 0 16:38:13 CPU MHz: 2799.998 16:38:13 BogoMIPS: 5599.99 16:38:13 Virtualization: AMD-V 16:38:13 Hypervisor vendor: KVM 16:38:13 Virtualization type: full 16:38:13 L1d cache: 256 KiB 16:38:13 L1i cache: 256 KiB 16:38:13 L2 cache: 4 MiB 16:38:13 L3 cache: 128 MiB 16:38:13 NUMA node0 CPU(s): 0-7 16:38:13 Vulnerability Itlb multihit: Not affected 16:38:13 Vulnerability L1tf: Not affected 16:38:13 Vulnerability Mds: Not affected 16:38:13 Vulnerability Meltdown: Not affected 16:38:13 Vulnerability Mmio stale data: Not affected 16:38:13 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:38:13 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:38:13 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:38:13 Vulnerability Srbds: Not affected 16:38:13 Vulnerability Tsx async abort: Not affected 16:38:13 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 16:38:13 16:38:13 16:38:13 ---> nproc: 16:38:13 8 16:38:13 16:38:13 16:38:13 ---> df -h: 16:38:13 Filesystem Size Used Avail Use% Mounted on 16:38:13 overlay 155G 12G 144G 8% / 16:38:13 tmpfs 64M 0 64M 0% /dev 16:38:13 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:38:13 shm 64M 0 64M 0% /dev/shm 16:38:13 /dev/vda1 155G 12G 144G 8% /facter-os 16:38:13 16:38:13 16:38:13 ---> sar -b -r -n DEV: 16:38:13 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-121212) 12/14/22 _x86_64_ (8 CPU) 16:38:13 16:38:13 16:26:15 LINUX RESTART (8 CPU) 16:38:13 16:38:13 16:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:38:13 16:28:01 210.80 4.33 206.47 0.00 464.46 91980.94 0.00 16:38:13 16:29:01 183.45 0.20 183.25 0.00 4.40 43926.15 0.00 16:38:13 16:30:01 1.63 0.00 1.63 0.00 0.00 19.21 0.00 16:38:13 16:31:01 1.70 0.00 1.70 0.00 0.00 19.86 0.00 16:38:13 16:32:02 52.18 10.56 41.62 0.00 5152.17 8675.42 0.00 16:38:13 16:33:01 6.74 0.02 6.73 0.00 0.14 134.89 0.00 16:38:13 16:34:01 0.95 0.00 0.95 0.00 0.00 10.53 0.00 16:38:13 16:35:01 1.53 0.00 1.53 0.00 0.00 17.20 0.00 16:38:13 16:36:01 0.92 0.00 0.92 0.00 0.00 10.00 0.00 16:38:13 16:37:01 1.77 0.00 1.77 0.00 0.00 20.93 0.00 16:38:13 16:38:01 0.98 0.00 0.98 0.00 0.00 11.46 0.00 16:38:13 Average: 42.11 1.38 40.74 0.00 512.00 13185.62 0.00 16:38:13 16:38:13 16:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:38:13 16:28:01 28288376 31516932 780056 2.37 140620 3286344 1862096 5.49 1305092 2836408 133004 16:38:13 16:29:01 27673208 31558744 737580 2.24 154160 3885688 1755356 5.17 1320960 3384656 336 16:38:13 16:30:01 27673856 31559564 736536 2.24 154184 3885692 1755356 5.17 1321024 3384660 20 16:38:13 16:31:01 27675152 31560948 734968 2.24 154224 3885696 1755356 5.17 1319352 3384708 8 16:38:13 16:32:02 27155180 31547080 735036 2.24 187412 4339884 1822568 5.37 1634116 3554344 1068 16:38:13 16:33:01 27162160 31549188 732692 2.23 186008 4336628 1778664 5.24 1630512 3551120 16 16:38:13 16:34:01 27162828 31549872 731912 2.23 186020 4336632 1778664 5.24 1629492 3551124 164 16:38:13 16:35:01 27163392 31550500 731212 2.22 186044 4336636 1778664 5.24 1629516 3551128 8 16:38:13 16:36:01 27163336 31550468 731140 2.22 186068 4336636 1778664 5.24 1629548 3551128 172 16:38:13 16:37:01 27163100 31550444 731300 2.22 186112 4336640 1778664 5.24 1629552 3551292 12 16:38:13 16:38:01 27163536 31550896 731008 2.22 186128 4336644 1778664 5.24 1629628 3551292 16 16:38:13 Average: 27404011 31549512 737585 2.24 173362 4118465 1783883 5.26 1516254 3441078 12257 16:38:13 16:38:13 16:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:38:13 16:28:01 docker0 143.63 218.80 12.57 1924.76 0.00 0.00 0.00 0.00 16:38:13 16:28:01 lo 2.80 2.80 0.27 0.27 0.00 0.00 0.00 0.00 16:38:13 16:28:01 veth5cb6791 0.05 0.17 0.00 0.01 0.00 0.00 0.00 0.00 16:38:13 16:28:01 ens3 413.53 277.82 6052.39 46.36 0.00 0.00 0.00 0.00 16:38:13 16:29:01 docker0 4.15 8.48 0.26 98.55 0.00 0.00 0.00 0.00 16:38:13 16:29:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 16:38:13 16:29:01 ens3 129.41 84.07 2683.79 19.67 0.00 0.00 0.00 0.00 16:38:13 16:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:30:01 ens3 0.78 0.12 0.13 0.07 0.00 0.00 0.00 0.00 16:38:13 16:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:31:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:38:13 16:31:01 ens3 7.37 3.05 7.63 0.45 0.00 0.00 0.00 0.00 16:38:13 16:32:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:32:02 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 16:38:13 16:32:02 ens3 125.42 74.43 2745.59 5.60 0.00 0.00 0.00 0.00 16:38:13 16:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:33:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:38:13 16:33:01 ens3 0.29 0.20 0.02 0.01 0.00 0.00 0.00 0.00 16:38:13 16:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:34:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:35:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:38:13 16:35:01 ens3 0.18 0.12 0.01 0.01 0.00 0.00 0.00 0.00 16:38:13 16:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:36:01 ens3 0.13 0.05 0.06 0.00 0.00 0.00 0.00 0.00 16:38:13 16:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:37:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:38:13 16:37:01 ens3 0.67 0.18 0.13 0.07 0.00 0.00 0.00 0.00 16:38:13 16:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:38:13 16:38:01 ens3 1.07 0.40 0.40 0.27 0.00 0.00 0.00 0.00 16:38:13 Average: docker0 13.45 20.69 1.17 184.21 0.00 0.00 0.00 0.00 16:38:13 Average: lo 0.57 0.57 0.05 0.05 0.00 0.00 0.00 0.00 16:38:13 Average: ens3 61.81 40.10 1046.22 6.60 0.00 0.00 0.00 0.00 16:38:13 16:38:13 16:38:13 ---> sar -P ALL: 16:38:13 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-121212) 12/14/22 _x86_64_ (8 CPU) 16:38:13 16:38:13 16:26:15 LINUX RESTART (8 CPU) 16:38:13 16:38:13 16:27:01 CPU %user %nice %system %iowait %steal %idle 16:38:13 16:28:01 all 20.53 0.00 5.93 1.69 0.08 71.77 16:38:13 16:28:01 0 20.11 0.00 6.36 2.69 0.07 70.77 16:38:13 16:28:01 1 20.74 0.00 4.89 0.36 0.08 73.93 16:38:13 16:28:01 2 20.88 0.00 7.33 3.88 0.07 67.84 16:38:13 16:28:01 3 20.47 0.00 4.80 0.36 0.07 74.30 16:38:13 16:28:01 4 20.28 0.00 5.67 0.71 0.07 73.27 16:38:13 16:28:01 5 20.67 0.00 6.04 2.11 0.15 71.03 16:38:13 16:28:01 6 19.52 0.00 5.72 1.53 0.07 73.17 16:38:13 16:28:01 7 21.57 0.00 6.61 1.89 0.07 69.87 16:38:13 16:29:01 all 26.01 0.00 4.78 1.16 0.06 67.99 16:38:13 16:29:01 0 25.43 0.00 4.64 0.17 0.12 69.64 16:38:13 16:29:01 1 26.71 0.00 5.11 2.20 0.05 65.93 16:38:13 16:29:01 2 24.92 0.00 4.54 2.65 0.07 67.83 16:38:13 16:29:01 3 27.22 0.00 4.94 0.23 0.05 67.56 16:38:13 16:29:01 4 25.65 0.00 4.60 0.34 0.05 69.36 16:38:13 16:29:01 5 26.01 0.00 4.23 0.02 0.05 69.70 16:38:13 16:29:01 6 25.99 0.00 5.09 1.08 0.05 67.79 16:38:13 16:29:01 7 26.15 0.00 5.13 2.59 0.07 66.06 16:38:13 16:30:01 all 0.28 0.00 0.02 0.00 0.01 99.68 16:38:13 16:30:01 0 0.02 0.00 0.02 0.00 0.02 99.95 16:38:13 16:30:01 1 0.10 0.00 0.03 0.00 0.02 99.85 16:38:13 16:30:01 2 0.07 0.00 0.03 0.02 0.03 99.85 16:38:13 16:30:01 3 1.99 0.00 0.02 0.00 0.00 98.00 16:38:13 16:30:01 4 0.02 0.00 0.02 0.00 0.00 99.97 16:38:13 16:30:01 5 0.00 0.00 0.00 0.00 0.00 100.00 16:38:13 16:30:01 6 0.00 0.00 0.02 0.00 0.02 99.97 16:38:13 16:30:01 7 0.05 0.00 0.02 0.02 0.00 99.92 16:38:13 16:31:01 all 0.12 0.00 0.01 0.01 0.01 99.86 16:38:13 16:31:01 0 0.03 0.00 0.00 0.00 0.00 99.97 16:38:13 16:31:01 1 0.05 0.00 0.02 0.00 0.00 99.93 16:38:13 16:31:01 2 0.05 0.00 0.03 0.02 0.02 99.88 16:38:13 16:31:01 3 0.73 0.00 0.00 0.00 0.02 99.25 16:38:13 16:31:01 4 0.00 0.00 0.00 0.00 0.00 100.00 16:38:13 16:31:01 5 0.00 0.00 0.00 0.02 0.00 99.98 16:38:13 16:31:01 6 0.02 0.00 0.02 0.00 0.00 99.97 16:38:13 16:31:01 7 0.07 0.00 0.02 0.02 0.02 99.88 16:38:13 16:32:02 all 2.00 0.00 1.49 0.43 0.03 96.05 16:38:13 16:32:02 0 0.97 0.00 1.35 0.60 0.02 97.06 16:38:13 16:32:02 1 2.74 0.00 0.97 0.47 0.03 95.79 16:38:13 16:32:02 2 1.32 0.00 0.85 0.85 0.03 96.94 16:38:13 16:32:02 3 1.20 0.00 2.81 0.17 0.03 95.78 16:38:13 16:32:02 4 3.02 0.00 1.58 0.35 0.02 95.03 16:38:13 16:32:02 5 2.49 0.00 1.15 0.38 0.03 95.95 16:38:13 16:32:02 6 1.95 0.00 2.10 0.60 0.02 95.32 16:38:13 16:32:02 7 2.33 0.00 1.07 0.02 0.02 96.57 16:38:13 16:33:01 all 0.08 0.00 0.06 0.01 0.01 99.84 16:38:13 16:33:01 0 0.25 0.00 0.08 0.00 0.00 99.66 16:38:13 16:33:01 1 0.10 0.00 0.05 0.00 0.00 99.85 16:38:13 16:33:01 2 0.05 0.00 0.05 0.00 0.02 99.88 16:38:13 16:33:01 3 0.02 0.00 0.05 0.00 0.00 99.93 16:38:13 16:33:01 4 0.05 0.00 0.08 0.00 0.02 99.85 16:38:13 16:33:01 5 0.05 0.00 0.03 0.08 0.00 99.83 16:38:13 16:33:01 6 0.05 0.00 0.03 0.00 0.00 99.92 16:38:13 16:33:01 7 0.05 0.00 0.07 0.03 0.03 99.81 16:38:13 16:34:01 all 0.02 0.00 0.02 0.00 0.01 99.96 16:38:13 16:34:01 0 0.05 0.00 0.05 0.00 0.02 99.88 16:38:13 16:34:01 1 0.02 0.00 0.00 0.00 0.00 99.98 16:38:13 16:34:01 2 0.03 0.00 0.05 0.00 0.02 99.90 16:38:13 16:34:01 3 0.00 0.00 0.00 0.00 0.00 100.00 16:38:13 16:34:01 4 0.03 0.00 0.02 0.00 0.02 99.93 16:38:13 16:34:01 5 0.00 0.00 0.00 0.00 0.00 100.00 16:38:13 16:34:01 6 0.00 0.00 0.00 0.00 0.02 99.98 16:38:13 16:34:01 7 0.02 0.00 0.02 0.00 0.00 99.97 16:38:13 16:35:01 all 0.03 0.00 0.01 0.01 0.01 99.94 16:38:13 16:35:01 0 0.02 0.00 0.00 0.00 0.00 99.98 16:38:13 16:35:01 1 0.03 0.00 0.00 0.00 0.02 99.95 16:38:13 16:35:01 2 0.05 0.00 0.00 0.00 0.02 99.93 16:38:13 16:35:01 3 0.00 0.00 0.00 0.00 0.00 100.00 16:38:13 16:35:01 4 0.05 0.00 0.02 0.00 0.03 99.90 16:38:13 16:35:01 5 0.02 0.00 0.00 0.03 0.02 99.93 16:38:13 16:35:01 6 0.00 0.00 0.02 0.00 0.00 99.98 16:38:13 16:35:01 7 0.08 0.00 0.02 0.02 0.02 99.87 16:38:13 16:36:01 all 0.02 0.00 0.01 0.00 0.01 99.96 16:38:13 16:36:01 0 0.02 0.00 0.02 0.00 0.00 99.97 16:38:13 16:36:01 1 0.02 0.00 0.00 0.00 0.00 99.98 16:38:13 16:36:01 2 0.02 0.00 0.02 0.00 0.02 99.95 16:38:13 16:36:01 3 0.02 0.00 0.00 0.00 0.00 99.98 16:38:13 16:36:01 4 0.03 0.00 0.03 0.00 0.02 99.92 16:38:13 16:36:01 5 0.00 0.00 0.00 0.02 0.00 99.98 16:38:13 16:36:01 6 0.00 0.00 0.00 0.00 0.00 100.00 16:38:13 16:36:01 7 0.05 0.00 0.02 0.00 0.02 99.92 16:38:13 16:37:01 all 0.05 0.00 0.01 0.00 0.01 99.93 16:38:13 16:37:01 0 0.00 0.00 0.02 0.00 0.02 99.97 16:38:13 16:37:01 1 0.03 0.00 0.02 0.00 0.02 99.93 16:38:13 16:37:01 2 0.02 0.00 0.02 0.00 0.02 99.95 16:38:13 16:37:01 3 0.23 0.00 0.02 0.00 0.00 99.75 16:38:13 16:37:01 4 0.03 0.00 0.02 0.00 0.02 99.93 16:38:13 16:37:01 5 0.00 0.00 0.00 0.02 0.00 99.98 16:38:13 16:37:01 6 0.00 0.00 0.00 0.00 0.02 99.98 16:38:13 16:37:01 7 0.05 0.00 0.03 0.00 0.00 99.92 16:38:13 16:38:01 all 0.04 0.00 0.01 0.00 0.01 99.94 16:38:13 16:38:01 0 0.02 0.00 0.00 0.00 0.00 99.98 16:38:13 16:38:01 1 0.07 0.00 0.02 0.00 0.00 99.92 16:38:13 16:38:01 2 0.07 0.00 0.03 0.00 0.02 99.88 16:38:13 16:38:01 3 0.07 0.00 0.00 0.00 0.00 99.93 16:38:13 16:38:01 4 0.03 0.00 0.02 0.00 0.02 99.93 16:38:13 16:38:01 5 0.00 0.00 0.00 0.03 0.02 99.95 16:38:13 16:38:01 6 0.02 0.00 0.00 0.00 0.00 99.98 16:38:13 16:38:01 7 0.03 0.00 0.00 0.00 0.00 99.97 16:38:13 16:38:13 Average: CPU %user %nice %system %iowait %steal %idle 16:38:13 Average: all 4.43 0.00 1.11 0.30 0.02 94.13 16:38:13 Average: 0 4.23 0.00 1.13 0.31 0.02 94.30 16:38:13 Average: 1 4.55 0.00 1.00 0.27 0.02 94.16 16:38:13 Average: 2 4.29 0.00 1.17 0.67 0.03 93.84 16:38:13 Average: 3 4.69 0.00 1.14 0.07 0.02 94.08 16:38:13 Average: 4 4.44 0.00 1.09 0.13 0.02 94.32 16:38:13 Average: 5 4.44 0.00 1.03 0.24 0.02 94.26 16:38:13 Average: 6 4.29 0.00 1.17 0.29 0.02 94.23 16:38:13 Average: 7 4.54 0.00 1.17 0.41 0.02 93.86 16:38:13 16:38:13 16:38:13