Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1+85f19cd4395ab38c9fed3c9acaecd010dfd8799e (c50075f86b129072b558d76679d4e2eca4538488) 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-ssh6504816386067017117.key Verifying host key using known hosts file > 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-ssh2621767442317345756.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5159859037032647972.key Verifying host key using known hosts file > 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 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-ssh6864395119255963342.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11320050656144198120.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118560 in /w/workspace/undry_device-onvif-camera_PR-184 [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-184 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Merging remotes/origin/main commit 85f19cd4395ab38c9fed3c9acaecd010dfd8799e into PR head commit 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 Merge succeeded, producing 3cc95fc883c530adb799c5755c420174109e905a Checking out Revision 3cc95fc883c530adb799c5755c420174109e905a (PR-184) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 85f19cd4395ab38c9fed3c9acaecd010dfd8799e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3cc95fc883c530adb799c5755c420174109e905a # timeout=10 Commit message: "Merge commit '85f19cd4395ab38c9fed3c9acaecd010dfd8799e' into HEAD" > git rev-list --no-walk 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:10:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:10:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:10:49 ========================================================= 02:10:49 EdgeX Global Pipelines Version Info 02:10:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:10:49 ------------------- 02:10:49 stable info: 02:10:49 ------------------- 02:10:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:10:49 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:10:49 Message: update stable to v1.0.244 02:10:50 ------------------- 02:10:50 experimental info: 02:10:50 ------------------- 02:10:50 Commited By: **** collab-it+edgex@linuxfoundation.org 02:10:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:10:50 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3cc95fc883c530adb799c5755c420174109e905a [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3cc95fc [Pipeline] echo 02:10:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:10:50 provisioning config files... 02:10:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config8672764811997081276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:10:51 ---> docker-login.sh 02:10:51 nexus3.edgexfoundry.org:10001 02:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:51 Configure a credential helper to remove this warning. See 02:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:51 02:10:51 Login Succeeded 02:10:51 nexus3.edgexfoundry.org:10002 02:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:51 Configure a credential helper to remove this warning. See 02:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:51 02:10:51 Login Succeeded 02:10:51 nexus3.edgexfoundry.org:10003 02:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:52 Configure a credential helper to remove this warning. See 02:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:52 02:10:52 Login Succeeded 02:10:52 nexus3.edgexfoundry.org:10004 02:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:52 Configure a credential helper to remove this warning. See 02:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:52 02:10:52 Login Succeeded 02:10:52 docker.io 02:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:52 Configure a credential helper to remove this warning. See 02:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:52 02:10:52 Login Succeeded 02:10:52 ---> docker-login.sh ends [Pipeline] } 02:10:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:10:52 + git rev-list -1 --merges 3cc95fc883c530adb799c5755c420174109e905a~1..3cc95fc883c530adb799c5755c420174109e905a [Pipeline] echo 02:10:53 -----------> git rev-list -1 --merges 3cc95fc883c530adb799c5755c420174109e905a~1..3cc95fc883c530adb799c5755c420174109e905a 3cc95fc883c530adb799c5755c420174109e905a 02:10:53 3cc95fc883c530adb799c5755c420174109e905a [false] [Pipeline] sh 02:10:53 + git log --format=format:%s -1 3cc95fc883c530adb799c5755c420174109e905a [Pipeline] echo 02:10:53 ========================================================= 02:10:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:10:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:10:53 + git log --format=format:%s -1 3cc95fc883c530adb799c5755c420174109e905a [Pipeline] echo 02:10:53 [semverPrep] GIT_COMMIT: 3cc95fc883c530adb799c5755c420174109e905a, Commit Message: Merge commit '85f19cd4395ab38c9fed3c9acaecd010dfd8799e' into HEAD [Pipeline] echo 02:10:53 [semverPrep] This is not a build commit. [Pipeline] sh 02:10:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:10:54 + grep -v github /etc/ssh/ssh_known_hosts 02:10:54 + [ -e /tmp/ssh_known_hosts ] 02:10:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:10:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:10:54 + sudo tee -a /etc/ssh/ssh_known_hosts 02:10:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:54 02:10:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:54 0.1.4: Pulling from edgex-devops/py-git-semver 02:10:54 b85a868b505f: Pulling fs layer 02:10:54 e2be974225ed: Pulling fs layer 02:10:54 339a4e72a1f5: Pulling fs layer 02:10:54 988bab9f4d93: Pulling fs layer 02:10:54 1469e6f7b9e6: Pulling fs layer 02:10:54 eaf3925da568: Pulling fs layer 02:10:54 bab4dde63d76: Pulling fs layer 02:10:54 bde34c3a00c8: Pulling fs layer 02:10:54 b352a97aabf1: Pulling fs layer 02:10:54 4872d77fe225: Pulling fs layer 02:10:54 5851b861e8e6: Pulling fs layer 02:10:54 988bab9f4d93: Waiting 02:10:54 1469e6f7b9e6: Waiting 02:10:54 eaf3925da568: Waiting 02:10:54 bab4dde63d76: Waiting 02:10:54 bde34c3a00c8: Waiting 02:10:54 5851b861e8e6: Waiting 02:10:54 4872d77fe225: Waiting 02:10:54 b352a97aabf1: Waiting 02:10:54 e2be974225ed: Verifying Checksum 02:10:54 e2be974225ed: Download complete 02:10:54 988bab9f4d93: Verifying Checksum 02:10:54 988bab9f4d93: Download complete 02:10:54 1469e6f7b9e6: Verifying Checksum 02:10:54 1469e6f7b9e6: Download complete 02:10:54 339a4e72a1f5: Verifying Checksum 02:10:54 339a4e72a1f5: Download complete 02:10:54 eaf3925da568: Verifying Checksum 02:10:54 eaf3925da568: Download complete 02:10:54 bde34c3a00c8: Verifying Checksum 02:10:54 bde34c3a00c8: Download complete 02:10:54 b352a97aabf1: Download complete 02:10:54 4872d77fe225: Verifying Checksum 02:10:54 4872d77fe225: Download complete 02:10:54 5851b861e8e6: Verifying Checksum 02:10:54 5851b861e8e6: Download complete 02:10:54 b85a868b505f: Download complete 02:10:55 bab4dde63d76: Download complete 02:10:56 b85a868b505f: Pull complete 02:10:56 e2be974225ed: Pull complete 02:10:56 339a4e72a1f5: Pull complete 02:10:57 988bab9f4d93: Pull complete 02:10:57 1469e6f7b9e6: Pull complete 02:10:57 eaf3925da568: Pull complete 02:10:59 bab4dde63d76: Pull complete 02:10:59 bde34c3a00c8: Pull complete 02:10:59 b352a97aabf1: Pull complete 02:10:59 4872d77fe225: Pull complete 02:10:59 5851b861e8e6: Pull complete 02:10:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:59 prd-ubuntu20.04-docker-8c-8g-118560 does not seem to be running inside a container 02:10:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@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 02:11:03 $ docker top f05c31fc20a23e1edb0f38afa0e0458547ece1d73e3c6ab4647e7656bfd72441 -eo pid,comm 02:11:03 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). 02:11:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:11:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:03 [ssh-agent] Looking for ssh-agent implementation... 02:11:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:03 $ docker exec f05c31fc20a23e1edb0f38afa0e0458547ece1d73e3c6ab4647e7656bfd72441 ssh-agent 02:11:03 SSH_AUTH_SOCK=/tmp/ssh-In7fGkHPaoNo/agent.34 02:11:03 SSH_AGENT_PID=40 02:11:03 Running ssh-add (command line suppressed) 02:11:03 Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_1434060203801553408.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_1434060203801553408.key) 02:11:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:04 + git tag --points-at HEAD [Pipeline] } 02:11:04 $ docker exec --env ******** --env ******** f05c31fc20a23e1edb0f38afa0e0458547ece1d73e3c6ab4647e7656bfd72441 ssh-agent -k 02:11:04 unset SSH_AUTH_SOCK; 02:11:04 unset SSH_AGENT_PID; 02:11:04 echo Agent pid 40 killed; 02:11:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:11:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:04 [ssh-agent] Looking for ssh-agent implementation... 02:11:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:04 $ docker exec f05c31fc20a23e1edb0f38afa0e0458547ece1d73e3c6ab4647e7656bfd72441 ssh-agent 02:11:04 SSH_AUTH_SOCK=/tmp/ssh-QgZb1694C9Gm/agent.72 02:11:04 SSH_AGENT_PID=78 02:11:04 Running ssh-add (command line suppressed) 02:11:04 Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_14530594161192224765.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_14530594161192224765.key) 02:11:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:05 + git semver init 02:11:05 2022-11-08 02:11:05,336 [run_init] DEBUG init version:0.0.0 force:False 02:11:05 2022-11-08 02:11:05,337 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-184/.semver 02:11:05 2022-11-08 02:11:05,338 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-184/.semver 02:11:05 2022-11-08 02:11:05,338 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-184/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-184, universal_newlines=False, shell=None, istream=None) 02:11:06 2022-11-08 02:11:06,472 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-184/.git/info/exclude 02:11:06 2022-11-08 02:11:06,472 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 with force:False 02:11:06 2022-11-08 02:11:06,473 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 02:11:06 2022-11-08 02:11:06,478 [execute] INFO git cat-file --batch-check 02:11:06 2022-11-08 02:11:06,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) 02:11:06 2022-11-08 02:11:06,485 [execute] INFO git cat-file --batch 02:11:06 2022-11-08 02:11:06,485 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) 02:11:06 2022-11-08 02:11:06,491 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 02:11:06 0.0.0 [Pipeline] } 02:11:06 $ docker exec --env ******** --env ******** f05c31fc20a23e1edb0f38afa0e0458547ece1d73e3c6ab4647e7656bfd72441 ssh-agent -k 02:11:06 unset SSH_AUTH_SOCK; 02:11:06 unset SSH_AGENT_PID; 02:11:06 echo Agent pid 78 killed; 02:11:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:11:07 + git semver [Pipeline] } 02:11:07 $ docker stop --time=1 f05c31fc20a23e1edb0f38afa0e0458547ece1d73e3c6ab4647e7656bfd72441 02:11:08 $ docker rm -f f05c31fc20a23e1edb0f38afa0e0458547ece1d73e3c6ab4647e7656bfd72441 [Pipeline] // withDockerContainer [Pipeline] sh 02:11:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:11:09 Stashed 1 file(s) [Pipeline] echo 02:11:09 [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 02:11:09 provisioning config files... 02:11:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config12049664567039650313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:09 ---> docker-login.sh 02:11:09 nexus3.edgexfoundry.org:10001 02:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:09 Configure a credential helper to remove this warning. See 02:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:09 02:11:09 Login Succeeded 02:11:09 nexus3.edgexfoundry.org:10002 02:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:09 Configure a credential helper to remove this warning. See 02:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:09 02:11:09 Login Succeeded 02:11:09 nexus3.edgexfoundry.org:10003 02:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:10 Configure a credential helper to remove this warning. See 02:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:10 02:11:10 Login Succeeded 02:11:10 nexus3.edgexfoundry.org:10004 02:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:10 Configure a credential helper to remove this warning. See 02:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:10 02:11:10 Login Succeeded 02:11:10 docker.io 02:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:10 Configure a credential helper to remove this warning. See 02:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:10 02:11:10 Login Succeeded 02:11:10 ---> docker-login.sh ends [Pipeline] } 02:11:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:11:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:10 ========================================================= 02:11:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:11:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:11 + 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 . 02:11:11 Sending build context to Docker daemon 27.54MB 02:11:11 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 02:11:11 Step 2/13 : FROM ${BASE} AS builder 02:11:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:11:11 213ec9aee27d: Pulling fs layer 02:11:11 4583459ba037: Pulling fs layer 02:11:11 93c1e223e6f2: Pulling fs layer 02:11:11 53926ce57604: Pulling fs layer 02:11:11 21b2b0c7a3f4: Pulling fs layer 02:11:11 22ff95d597cd: Pulling fs layer 02:11:11 12d6caf4c0d1: Pulling fs layer 02:11:11 96b7cbca73a9: Pulling fs layer 02:11:11 a7acece74701: Pulling fs layer 02:11:11 22ff95d597cd: Waiting 02:11:11 12d6caf4c0d1: Waiting 02:11:11 21b2b0c7a3f4: Waiting 02:11:11 96b7cbca73a9: Waiting 02:11:11 a7acece74701: Waiting 02:11:11 53926ce57604: Waiting 02:11:11 93c1e223e6f2: Verifying Checksum 02:11:11 93c1e223e6f2: Download complete 02:11:11 4583459ba037: Download complete 02:11:11 21b2b0c7a3f4: Verifying Checksum 02:11:11 21b2b0c7a3f4: Download complete 02:11:11 22ff95d597cd: Verifying Checksum 02:11:11 22ff95d597cd: Download complete 02:11:11 213ec9aee27d: Verifying Checksum 02:11:11 213ec9aee27d: Download complete 02:11:11 12d6caf4c0d1: Download complete 02:11:11 213ec9aee27d: Pull complete 02:11:11 4583459ba037: Pull complete 02:11:12 93c1e223e6f2: Pull complete 02:11:12 a7acece74701: Verifying Checksum 02:11:12 a7acece74701: Download complete 02:11:12 53926ce57604: Verifying Checksum 02:11:12 53926ce57604: Download complete 02:11:12 96b7cbca73a9: Verifying Checksum 02:11:12 96b7cbca73a9: Download complete 02:11:17 53926ce57604: Pull complete 02:11:17 21b2b0c7a3f4: Pull complete 02:11:17 22ff95d597cd: Pull complete 02:11:17 12d6caf4c0d1: Pull complete 02:11:18 96b7cbca73a9: Pull complete 02:11:19 a7acece74701: Pull complete 02:11:19 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:11:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:11:19 ---> db6d94c90886 02:11:19 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:11:24 Still waiting to schedule task 02:11:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118555’ 02:11:25 ---> Running in 3a02eec7f733 02:11:25 Removing intermediate container 3a02eec7f733 02:11:25 ---> 15ffb931edad 02:11:25 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:11:25 ---> Running in 86c75735cdea 02:11:25 Removing intermediate container 86c75735cdea 02:11:25 ---> 30cd21352728 02:11:25 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:11:25 ---> Running in afd50af0a650 02:11:25 Removing intermediate container afd50af0a650 02:11:25 ---> 2393ffb28bc2 02:11:25 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:11:25 ---> Running in e8686e99909a 02:11:25 Removing intermediate container e8686e99909a 02:11:25 ---> 35ad64c88aa5 02:11:25 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:11:25 ---> Running in b2bdb5e09801 02:11:25 Removing intermediate container b2bdb5e09801 02:11:25 ---> 29e5c63283b6 02:11:25 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:11:25 ---> Running in 305ea25df198 02:11:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:11:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:11:25 OK: 211 MiB in 51 packages 02:11:26 Removing intermediate container 305ea25df198 02:11:26 ---> 69253d738b83 02:11:26 Step 9/13 : WORKDIR /device-onvif-camera 02:11:26 ---> Running in 472ff11bd646 02:11:26 Removing intermediate container 472ff11bd646 02:11:26 ---> 8aa36f538849 02:11:26 Step 10/13 : COPY go.mod vendor* ./ 02:11:26 ---> 23004a05753c 02:11:26 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:11:26 ---> Running in e43fe0930746 02:11:58 Removing intermediate container e43fe0930746 02:11:58 ---> ceca1a40ca98 02:11:58 Step 12/13 : COPY . . 02:11:58 ---> 015c9de944c0 02:11:58 Step 13/13 : RUN ${MAKE} 02:11:58 ---> Running in 5d13dbcc06d1 02:11:58 noop 02:11:58 Removing intermediate container 5d13dbcc06d1 02:11:58 ---> d390f30d2613 02:11:58 Successfully built d390f30d2613 02:11:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:58 + docker inspect -f . ci-base-image-x86_64 02:11:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:58 prd-ubuntu20.04-docker-8c-8g-118560 does not seem to be running inside a container 02:11:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@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 02:11:59 $ docker top 84d37b2132839cd91745508d1877e2696f5dc84d9430830a1daccfca73c419ce -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:59 + go version 02:11:59 go version go1.18.7 linux/amd64 [Pipeline] } 02:11:59 $ docker stop --time=1 84d37b2132839cd91745508d1877e2696f5dc84d9430830a1daccfca73c419ce 02:12:00 $ docker rm -f 84d37b2132839cd91745508d1877e2696f5dc84d9430830a1daccfca73c419ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:01 + docker inspect -f . ci-base-image-x86_64 02:12:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:01 prd-ubuntu20.04-docker-8c-8g-118560 does not seem to be running inside a container 02:12:01 $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@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 02:12:01 $ docker top 81e1f6ced2aa87564bb4e20d627230f8772319a404b9f61d319085d8d17beec2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:01 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] fileExists [Pipeline] sh 02:12:02 + make test 02:12:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:12:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:12:15 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:12:17 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 29.3% of statements 02:12:17 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:12:17 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.449s coverage: 86.5% of statements 02:12:25 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." 02:12:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:12:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:12:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:12:28 ./bin/test-attribution-txt.sh [Pipeline] echo 02:12:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:12:29 $ docker stop --time=1 81e1f6ced2aa87564bb4e20d627230f8772319a404b9f61d319085d8d17beec2 02:12:32 $ docker rm -f 81e1f6ced2aa87564bb4e20d627230f8772319a404b9f61d319085d8d17beec2 [Pipeline] // withDockerContainer [Pipeline] sh 02:12:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:12:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:12:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:12:33 + ls -al . 02:12:33 total 248 02:12:33 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 02:12 . 02:12:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:10 .. 02:12:33 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 02:12 .git 02:12:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:10 .github 02:12:33 -rw-rw-r-- 1 jenkins jenkins 496 Nov 8 02:10 .gitignore 02:12:33 -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 02:10 .golangci.yml 02:12:33 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 02:11 .semver 02:12:33 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 8 02:10 Attribution.txt 02:12:33 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 8 02:10 CHANGELOG.md 02:12:33 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 8 02:10 Dockerfile 02:12:33 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 02:10 GOVERNANCE.md 02:12:33 -rw-rw-r-- 1 jenkins jenkins 734 Nov 8 02:10 Jenkinsfile 02:12:33 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 02:10 LICENSE 02:12:33 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 8 02:10 Makefile 02:12:33 -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 02:10 OWNERS.md 02:12:33 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 8 02:10 README.md 02:12:33 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:11 VERSION 02:12:33 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:10 bin 02:12:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:10 cmd 02:12:33 -rw-r--r-- 1 jenkins jenkins 79184 Nov 8 02:12 coverage.out 02:12:33 drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 02:10 doc 02:12:33 -rw-rw-r-- 1 jenkins jenkins 3694 Nov 8 02:10 go.mod 02:12:33 -rw-rw-r-- 1 jenkins jenkins 46296 Nov 8 02:10 go.sum 02:12:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:10 internal 02:12:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:10 snap 02:12:33 -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 02:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:33 + 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=3cc95fc883c530adb799c5755c420174109e905a --label arch=amd64 --label version=0.0.0 . 02:12:33 Sending build context to Docker daemon 27.62MB 02:12:33 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 02:12:33 Step 2/26 : FROM ${BASE} AS builder 02:12:33 ---> d390f30d2613 02:12:33 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:12:34 ---> Running in c8c457770967 02:12:34 Removing intermediate container c8c457770967 02:12:34 ---> 8a2e869160ed 02:12:34 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:12:34 ---> Running in c00c777990f4 02:12:34 Removing intermediate container c00c777990f4 02:12:34 ---> 491ad2dbfe88 02:12:34 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:12:34 ---> Running in c1235f4b0038 02:12:34 Removing intermediate container c1235f4b0038 02:12:34 ---> ac1bdd576a23 02:12:34 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:12:34 ---> Running in d2dc2ab4bc08 02:12:34 Removing intermediate container d2dc2ab4bc08 02:12:34 ---> e709f0d99ec6 02:12:34 Step 7/26 : LABEL Name=edgex-device-onvif-camera 02:12:34 ---> Running in 634497817e2b 02:12:34 Removing intermediate container 634497817e2b 02:12:34 ---> e0ec319cfcfd 02:12:34 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:12:34 ---> Running in 59eba3b69bdc 02:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:12:35 OK: 211 MiB in 51 packages 02:12:35 Removing intermediate container 59eba3b69bdc 02:12:35 ---> 1f6b21854287 02:12:35 Step 9/26 : WORKDIR /device-onvif-camera 02:12:35 ---> Running in 852020bb9662 02:12:35 Removing intermediate container 852020bb9662 02:12:35 ---> dcedebeafab1 02:12:35 Step 10/26 : COPY go.mod vendor* ./ 02:12:35 ---> 083cc45e6748 02:12:35 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:36 ---> Running in af8378d3e07b 02:12:36 Removing intermediate container af8378d3e07b 02:12:36 ---> 254ad6af7b08 02:12:36 Step 12/26 : COPY . . 02:12:37 ---> f6bc8857f550 02:12:37 Step 13/26 : RUN ${MAKE} 02:12:37 ---> Running in b770c45bd0d4 02:12:37 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/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:13:04 Removing intermediate container b770c45bd0d4 02:13:04 ---> 4e5cd24b32e6 02:13:04 Step 14/26 : FROM alpine:3.16 02:13:04 3.16: Pulling from library/alpine 02:13:04 213ec9aee27d: Already exists 02:13:04 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:13:04 Status: Downloaded newer image for alpine:3.16 02:13:04 ---> 9c6f07244728 02:13:04 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:13:04 ---> Running in 597413de421e 02:13:04 Removing intermediate container 597413de421e 02:13:04 ---> 7c79babc8485 02:13:04 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:13:04 ---> Running in 561f5256a292 02:13:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:13:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:13:04 (1/6) Installing dumb-init (1.2.5-r1) 02:13:04 (2/6) Installing libgcc (11.2.1_git20220219-r2) 02:13:04 (3/6) Installing libsodium (1.0.18-r0) 02:13:04 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 02:13:04 (5/6) Installing libzmq (4.3.4-r0) 02:13:04 (6/6) Installing zeromq (4.3.4-r0) 02:13:04 Executing busybox-1.35.0-r17.trigger 02:13:04 OK: 8 MiB in 20 packages 02:13:05 Removing intermediate container 561f5256a292 02:13:05 ---> cbfeb707d015 02:13:05 Step 17/26 : WORKDIR / 02:13:05 ---> Running in 1d283e77640a 02:13:05 Removing intermediate container 1d283e77640a 02:13:05 ---> 1af8b8b7b62c 02:13:05 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 02:13:06 ---> 26b1179898de 02:13:06 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 02:13:06 ---> bdc85db5f3f9 02:13:06 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:13:06 ---> 8298a25fdd3f 02:13:06 Step 21/26 : EXPOSE 59984 02:13:06 ---> Running in 8bc4681dd681 02:13:06 Removing intermediate container 8bc4681dd681 02:13:06 ---> 2a58752a6e75 02:13:06 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 02:13:06 ---> Running in 3aef882767d3 02:13:06 Removing intermediate container 3aef882767d3 02:13:06 ---> ef02cf68a5cb 02:13:06 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:13:06 ---> Running in 32045ef0bdf6 02:13:06 Removing intermediate container 32045ef0bdf6 02:13:06 ---> 3b487a31e3ce 02:13:06 Step 24/26 : LABEL arch=amd64 02:13:06 ---> Running in 2439a4f1d70b 02:13:06 Removing intermediate container 2439a4f1d70b 02:13:06 ---> 425ef4ac7374 02:13:06 Step 25/26 : LABEL git_sha=3cc95fc883c530adb799c5755c420174109e905a 02:13:06 ---> Running in 9761021fc545 02:13:06 Removing intermediate container 9761021fc545 02:13:06 ---> b438c1c92035 02:13:06 Step 26/26 : LABEL version=0.0.0 02:13:06 ---> Running in aa32350141cf 02:13:06 Removing intermediate container aa32350141cf 02:13:06 ---> 1f984b284234 02:13:06 [Warning] One or more build-args [ARCH] were not consumed 02:13:06 Successfully built 1f984b284234 02:13:06 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 02:13:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:07 02:13:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:07 latest: Pulling from edgex-lftools-log-publisher 02:13:07 5eb5b503b376: Pulling fs layer 02:13:07 5c69ac0246d0: Pulling fs layer 02:13:07 ec43610c2a17: Pulling fs layer 02:13:07 3a2ae6a8a46f: Pulling fs layer 02:13:07 33b1e0a273af: Pulling fs layer 02:13:07 5d3b04190fa2: Pulling fs layer 02:13:07 2f39f015ded8: Pulling fs layer 02:13:07 33b1e0a273af: Waiting 02:13:07 5d3b04190fa2: Waiting 02:13:07 2f39f015ded8: Waiting 02:13:07 3a2ae6a8a46f: Waiting 02:13:07 5c69ac0246d0: Download complete 02:13:07 3a2ae6a8a46f: Verifying Checksum 02:13:07 3a2ae6a8a46f: Download complete 02:13:07 33b1e0a273af: Verifying Checksum 02:13:07 33b1e0a273af: Download complete 02:13:07 ec43610c2a17: Verifying Checksum 02:13:07 ec43610c2a17: Download complete 02:13:07 5d3b04190fa2: Download complete 02:13:07 5eb5b503b376: Verifying Checksum 02:13:07 5eb5b503b376: Download complete 02:13:08 2f39f015ded8: Verifying Checksum 02:13:08 2f39f015ded8: Download complete 02:13:09 5eb5b503b376: Pull complete 02:13:09 5c69ac0246d0: Pull complete 02:13:09 ec43610c2a17: Pull complete 02:13:09 3a2ae6a8a46f: Pull complete 02:13:10 33b1e0a273af: Pull complete 02:13:10 5d3b04190fa2: Pull complete 02:13:15 2f39f015ded8: Pull complete 02:13:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:13:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:15 prd-ubuntu20.04-docker-8c-8g-118560 does not seem to be running inside a container 02:13:15 $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@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 02:13:20 $ docker top afb29b91d381a89fb35539b023bdf2219eee9836726db077de802df6ef333bfc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:20 ---> job-cost.sh 02:13:20 lf-activate-venv: SKIPPING 02:13:20 INFO: No Stack... 02:13:21 INFO: Retrieving Pricing Info for: v3-standard-8 02:13:21 INFO: Archiving Costs [Pipeline] sh 02:13:21 + cat /w/workspace/undry_device-onvif-camera_PR-184/archives/cost.csv 02:13:21 + cut -d, -f6 [Pipeline] lock 02:13:21 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-10-stack-cost] 02:13:21 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-10-stack-cost] did not exist. Created. 02:13:21 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:21 + echo total: 0.2199999988079071 [Pipeline] stash 02:13:22 Stashed 1 file(s) [Pipeline] } 02:13:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-10-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:22 $ docker stop --time=1 afb29b91d381a89fb35539b023bdf2219eee9836726db077de802df6ef333bfc 02:13:23 $ docker rm -f afb29b91d381a89fb35539b023bdf2219eee9836726db077de802df6ef333bfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:13:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118564 in /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] { [Pipeline] ws 02:13:47 Running in /w/workspace/device-onvif-camera/10 [Pipeline] { [Pipeline] checkout 02:13:47 The recommended git tool is: git 02:13:53 using credential edgex-jenkins-ssh 02:13:53 Cloning the remote Git repository 02:13:53 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:13:53 > git init /w/workspace/device-onvif-camera/10 # timeout=10 02:13:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:13:54 > git --version # timeout=10 02:13:54 > git --version # 'git version 2.25.1' 02:13:54 using GIT_SSH to set credentials SSH Credentials for GitHub 02:13:54 Verifying host key using known hosts file 02:13:54 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 02:13:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:13:55 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:13:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:13:57 Merging remotes/origin/main commit 85f19cd4395ab38c9fed3c9acaecd010dfd8799e into PR head commit 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 02:13:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:13:57 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:13:57 using GIT_SSH to set credentials SSH Credentials for GitHub 02:13:57 Verifying host key using known hosts file 02:13:57 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 02:13:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:13:57 > git config core.sparsecheckout # timeout=10 02:13:57 > git checkout -f 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 # timeout=10 02:13:58 Merge succeeded, producing 50c43fe1fc09c3b8f6a44b5a692a53a4158763ba 02:13:58 Checking out Revision 50c43fe1fc09c3b8f6a44b5a692a53a4158763ba (PR-184) 02:13:58 > git remote # timeout=10 02:13:58 > git config --get remote.origin.url # timeout=10 02:13:58 using GIT_SSH to set credentials SSH Credentials for GitHub 02:13:58 Verifying host key using known hosts file 02:13:58 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 02:13:58 > git merge 85f19cd4395ab38c9fed3c9acaecd010dfd8799e # timeout=10 02:13:58 > git rev-parse HEAD^{commit} # timeout=10 02:13:58 > git config core.sparsecheckout # timeout=10 02:13:58 > git checkout -f 50c43fe1fc09c3b8f6a44b5a692a53a4158763ba # timeout=10 02:14:01 Commit message: "Merge commit '85f19cd4395ab38c9fed3c9acaecd010dfd8799e' into HEAD" 02:14:01 > git rev-list --no-walk 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:14:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:14:03 % Total % Received % Xferd Average Speed Time Time Time Current 02:14:03 Dload Upload Total Spent Left Speed 02:14:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 73267 0 --:--:-- --:--:-- --:--:-- 72843 [Pipeline] sh 02:14:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:14:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:14:04 + sudo tee /etc/docker/daemon.new 02:14:04 { 02:14:04 "registry-mirrors": [ 02:14:04 "https://nexus3.edgexfoundry.org:10001" 02:14:04 ], 02:14:04 "bip": "10.250.0.254/24", 02:14:04 "hosts": [ 02:14:04 "tcp://0.0.0.0:5555", 02:14:04 "unix:///var/run/docker.sock" 02:14:04 ], 02:14:04 "mtu": 1458, 02:14:04 "selinux-enabled": true, 02:14:04 "seccomp-profile": "/etc/docker/seccomp.json" 02:14:04 } [Pipeline] sh 02:14:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:14:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:14:22 provisioning config files... 02:14:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/10@tmp/config8035916092405442990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:14:23 ---> docker-login.sh 02:14:23 nexus3.edgexfoundry.org:10001 02:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:23 Configure a credential helper to remove this warning. See 02:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:23 02:14:23 Login Succeeded 02:14:23 nexus3.edgexfoundry.org:10002 02:14:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:24 Configure a credential helper to remove this warning. See 02:14:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:24 02:14:24 Login Succeeded 02:14:24 nexus3.edgexfoundry.org:10003 02:14:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:24 Configure a credential helper to remove this warning. See 02:14:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:24 02:14:24 Login Succeeded 02:14:24 nexus3.edgexfoundry.org:10004 02:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:25 Configure a credential helper to remove this warning. See 02:14:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:25 02:14:25 Login Succeeded 02:14:25 docker.io 02:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:25 Configure a credential helper to remove this warning. See 02:14:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:25 02:14:25 Login Succeeded 02:14:25 ---> docker-login.sh ends [Pipeline] } 02:14:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:14:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:14:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:14:26 ========================================================= 02:14:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:14:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:26 + 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 . 02:14:27 Sending build context to Docker daemon 20.47MB 02:14:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 02:14:27 Step 2/13 : FROM ${BASE} AS builder 02:14:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:14:27 9b18e9b68314: Pulling fs layer 02:14:27 35d82f9e3411: Pulling fs layer 02:14:27 e16973657156: Pulling fs layer 02:14:27 fc693d55d65f: Pulling fs layer 02:14:27 7e9fc2657dce: Pulling fs layer 02:14:27 dda99020689f: Pulling fs layer 02:14:27 db1c61fa0a46: Pulling fs layer 02:14:27 891c053d2c06: Pulling fs layer 02:14:27 fc693d55d65f: Waiting 02:14:27 dda99020689f: Waiting 02:14:27 db1c61fa0a46: Waiting 02:14:27 7e9fc2657dce: Waiting 02:14:27 891c053d2c06: Waiting 02:14:27 e16973657156: Download complete 02:14:27 35d82f9e3411: Verifying Checksum 02:14:27 35d82f9e3411: Download complete 02:14:27 7e9fc2657dce: Verifying Checksum 02:14:27 7e9fc2657dce: Download complete 02:14:27 dda99020689f: Download complete 02:14:27 9b18e9b68314: Verifying Checksum 02:14:27 9b18e9b68314: Download complete 02:14:28 9b18e9b68314: Pull complete 02:14:28 891c053d2c06: Verifying Checksum 02:14:28 891c053d2c06: Download complete 02:14:28 35d82f9e3411: Pull complete 02:14:29 e16973657156: Pull complete 02:14:29 db1c61fa0a46: Verifying Checksum 02:14:29 db1c61fa0a46: Download complete 02:14:30 fc693d55d65f: Verifying Checksum 02:14:30 fc693d55d65f: Download complete 02:14:42 fc693d55d65f: Pull complete 02:14:42 7e9fc2657dce: Pull complete 02:14:42 dda99020689f: Pull complete 02:14:49 db1c61fa0a46: Pull complete 02:14:50 891c053d2c06: Pull complete 02:14:50 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:14:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:14:50 ---> f96f9c87975a 02:14:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:14:52 ---> Running in c037d77f8c0e 02:14:53 Removing intermediate container c037d77f8c0e 02:14:53 ---> e550ca25b106 02:14:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:14:53 ---> Running in 02b195a59f43 02:14:53 Removing intermediate container 02b195a59f43 02:14:53 ---> 971c9982e659 02:14:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:14:53 ---> Running in 517682b5be0d 02:14:53 Removing intermediate container 517682b5be0d 02:14:53 ---> fbd3237282eb 02:14:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:14:54 ---> Running in 5093ba5ce61e 02:14:54 Removing intermediate container 5093ba5ce61e 02:14:54 ---> 46c99209835d 02:14:54 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:14:54 ---> Running in 9e46945500eb 02:14:54 Removing intermediate container 9e46945500eb 02:14:54 ---> 31caf2e67098 02:14:54 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:14:54 ---> Running in 66ddabd629f2 02:14:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:14:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:14:57 OK: 221 MiB in 51 packages 02:14:58 Removing intermediate container 66ddabd629f2 02:14:58 ---> 74a08b5bbe43 02:14:58 Step 9/13 : WORKDIR /device-onvif-camera 02:14:58 ---> Running in fb030fb3c115 02:14:59 Removing intermediate container fb030fb3c115 02:14:59 ---> 425ec9c09b26 02:14:59 Step 10/13 : COPY go.mod vendor* ./ 02:14:59 ---> 391d7b47f8c4 02:14:59 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:14:59 ---> Running in 58fdffaa5dd4 02:15:56 Removing intermediate container 58fdffaa5dd4 02:15:56 ---> 465603b344b6 02:15:56 Step 12/13 : COPY . . 02:15:56 ---> 462ab0606a04 02:15:56 Step 13/13 : RUN ${MAKE} 02:15:56 ---> Running in 3ca898b878f1 02:15:57 noop 02:15:57 Removing intermediate container 3ca898b878f1 02:15:57 ---> f4aa0c11cfaf 02:15:57 Successfully built f4aa0c11cfaf 02:15:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:58 + docker inspect -f . ci-base-image-arm64 02:15:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:15:58 prd-ubuntu20.04-docker-arm64-4c-16g-118564 does not seem to be running inside a container 02:15:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 02:15:59 $ docker top 7aa2a88cf55192a14f4c6c27ff258d922ee41d19ab354768881755094bdcef8d -eo pid,comm [Pipeline] { [Pipeline] sh 02:16:00 + go version 02:16:00 go version go1.18.7 linux/arm64 [Pipeline] } 02:16:00 $ docker stop --time=1 7aa2a88cf55192a14f4c6c27ff258d922ee41d19ab354768881755094bdcef8d 02:16:02 $ docker rm -f 7aa2a88cf55192a14f4c6c27ff258d922ee41d19ab354768881755094bdcef8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:02 + docker inspect -f . ci-base-image-arm64 02:16:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:16:02 prd-ubuntu20.04-docker-arm64-4c-16g-118564 does not seem to be running inside a container 02:16:02 $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 02:16:04 $ docker top f7c4630319d410040b0b5d467f75285ba40ade5e3bb34e2e2aaed4f639a29f03 -eo pid,comm [Pipeline] { [Pipeline] sh 02:16:05 + git config --global --add safe.directory /w/workspace/device-onvif-camera/10 [Pipeline] fileExists [Pipeline] sh 02:16:05 + make test 02:16:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:16:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:17:59 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:17:59 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.205s coverage: 29.3% of statements 02:17:59 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:18:06 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.335s coverage: 86.5% of statements 02:18:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:18:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:18:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:18:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:18:45 ./bin/test-attribution-txt.sh [Pipeline] echo 02:18:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:18:45 $ docker stop --time=1 f7c4630319d410040b0b5d467f75285ba40ade5e3bb34e2e2aaed4f639a29f03 02:18:47 $ docker rm -f f7c4630319d410040b0b5d467f75285ba40ade5e3bb34e2e2aaed4f639a29f03 [Pipeline] // withDockerContainer [Pipeline] sh 02:18:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:18:48 Warning: overwriting stash ‘coverage-report’ 02:18:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:18:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:18:50 + ls -al . 02:18:50 total 244 02:18:50 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 02:16 . 02:18:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:13 .. 02:18:50 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 02:13 .git 02:18:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:13 .github 02:18:50 -rw-rw-r-- 1 jenkins jenkins 496 Nov 8 02:13 .gitignore 02:18:50 -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 02:13 .golangci.yml 02:18:50 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 8 02:13 Attribution.txt 02:18:50 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 8 02:13 CHANGELOG.md 02:18:50 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 8 02:13 Dockerfile 02:18:50 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 02:13 GOVERNANCE.md 02:18:50 -rw-rw-r-- 1 jenkins jenkins 734 Nov 8 02:13 Jenkinsfile 02:18:50 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 02:13 LICENSE 02:18:50 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 8 02:13 Makefile 02:18:50 -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 02:13 OWNERS.md 02:18:50 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 8 02:13 README.md 02:18:50 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:11 VERSION 02:18:50 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:13 bin 02:18:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:13 cmd 02:18:50 -rw-r--r-- 1 jenkins jenkins 79184 Nov 8 02:18 coverage.out 02:18:50 drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 02:13 doc 02:18:50 -rw-rw-r-- 1 jenkins jenkins 3694 Nov 8 02:13 go.mod 02:18:50 -rw-rw-r-- 1 jenkins jenkins 46296 Nov 8 02:13 go.sum 02:18:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:13 internal 02:18:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:13 snap 02:18:50 -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 02:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:50 + 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=50c43fe1fc09c3b8f6a44b5a692a53a4158763ba --label arch=arm64 --label version=0.0.0 . 02:18:51 Sending build context to Docker daemon 20.55MB 02:18:51 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 02:18:51 Step 2/26 : FROM ${BASE} AS builder 02:18:51 ---> f4aa0c11cfaf 02:18:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:18:51 ---> Running in 558288a3938e 02:18:52 Removing intermediate container 558288a3938e 02:18:52 ---> df114fd5ade6 02:18:52 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:18:52 ---> Running in 4426d1db049a 02:18:52 Removing intermediate container 4426d1db049a 02:18:52 ---> 477d78840d89 02:18:52 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:18:52 ---> Running in bad5efcc7d0d 02:18:53 Removing intermediate container bad5efcc7d0d 02:18:53 ---> 89220fb375c7 02:18:53 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:18:53 ---> Running in afde81badd26 02:18:53 Removing intermediate container afde81badd26 02:18:53 ---> 34e16ca9f22f 02:18:53 Step 7/26 : LABEL Name=edgex-device-onvif-camera 02:18:53 ---> Running in 6e8c69ecde9c 02:18:54 Removing intermediate container 6e8c69ecde9c 02:18:54 ---> 1c9c18fe47f1 02:18:54 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:18:54 ---> Running in d567561fb337 02:18:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:18:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:18:56 OK: 221 MiB in 51 packages 02:18:59 Removing intermediate container d567561fb337 02:18:59 ---> cd870ebec920 02:18:59 Step 9/26 : WORKDIR /device-onvif-camera 02:18:59 ---> Running in a2977fe31f5b 02:18:59 Removing intermediate container a2977fe31f5b 02:18:59 ---> 6eefe30ae03f 02:18:59 Step 10/26 : COPY go.mod vendor* ./ 02:19:00 ---> 0565f9d8f9cf 02:19:00 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:19:00 ---> Running in 81f51db20b48 02:19:04 Removing intermediate container 81f51db20b48 02:19:04 ---> 6c02ec830d59 02:19:04 Step 12/26 : COPY . . 02:19:08 ---> e45d6595ecea 02:19:08 Step 13/26 : RUN ${MAKE} 02:19:08 ---> Running in d334feff713f 02:19:10 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/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:21:47 Removing intermediate container d334feff713f 02:21:47 ---> 1b3b2d26d5bc 02:21:47 Step 14/26 : FROM alpine:3.16 02:21:47 3.16: Pulling from library/alpine 02:21:47 9b18e9b68314: Already exists 02:21:47 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:21:47 Status: Downloaded newer image for alpine:3.16 02:21:47 ---> a6215f271958 02:21:47 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:21:47 ---> Running in 340697f073d3 02:21:47 Removing intermediate container 340697f073d3 02:21:47 ---> ebb6ad15aece 02:21:47 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:21:47 ---> Running in 1084a43ecc36 02:21:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:21:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:21:48 (1/6) Installing dumb-init (1.2.5-r1) 02:21:48 (2/6) Installing libgcc (11.2.1_git20220219-r2) 02:21:48 (3/6) Installing libsodium (1.0.18-r0) 02:21:48 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 02:21:48 (5/6) Installing libzmq (4.3.4-r0) 02:21:48 (6/6) Installing zeromq (4.3.4-r0) 02:21:48 Executing busybox-1.35.0-r17.trigger 02:21:48 OK: 8 MiB in 20 packages 02:21:49 Removing intermediate container 1084a43ecc36 02:21:49 ---> 889f21873de0 02:21:49 Step 17/26 : WORKDIR / 02:21:49 ---> Running in 52ae04050b66 02:21:49 Removing intermediate container 52ae04050b66 02:21:49 ---> cfcf683eaa0c 02:21:49 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 02:21:51 ---> 5917dc699bb7 02:21:51 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 02:21:51 ---> d8fc134dd6a7 02:21:51 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:21:52 ---> 2aa6876107ef 02:21:52 Step 21/26 : EXPOSE 59984 02:21:52 ---> Running in 0ea327b85298 02:21:52 Removing intermediate container 0ea327b85298 02:21:52 ---> 9eda3df5bcd3 02:21:52 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 02:21:52 ---> Running in feef3ac4929b 02:21:52 Removing intermediate container feef3ac4929b 02:21:52 ---> 1bba7bda9ca6 02:21:52 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:21:52 ---> Running in 2fb25032d5de 02:21:53 Removing intermediate container 2fb25032d5de 02:21:53 ---> 8a3473cfbdc2 02:21:53 Step 24/26 : LABEL arch=arm64 02:21:53 ---> Running in 759aae779048 02:21:53 Removing intermediate container 759aae779048 02:21:53 ---> 3697f9b99028 02:21:53 Step 25/26 : LABEL git_sha=50c43fe1fc09c3b8f6a44b5a692a53a4158763ba 02:21:53 ---> Running in 65922bd6d619 02:21:53 Removing intermediate container 65922bd6d619 02:21:53 ---> e5201a821e03 02:21:53 Step 26/26 : LABEL version=0.0.0 02:21:53 ---> Running in 159200a7b6f8 02:21:54 Removing intermediate container 159200a7b6f8 02:21:54 ---> 8a7ce5585d6f 02:21:54 [Warning] One or more build-args [ARCH] were not consumed 02:21:54 Successfully built 8a7ce5585d6f 02:21:54 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 02:21:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:21:54 02:21:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:21:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:21:56 arm64: Pulling from edgex-lftools-log-publisher 02:21:56 8998bd30e6a1: Pulling fs layer 02:21:56 04944245beec: Pulling fs layer 02:21:56 699f458cf7ca: Pulling fs layer 02:21:56 765212b225bb: Pulling fs layer 02:21:56 f23df028b6ca: Pulling fs layer 02:21:56 d65c8cfc05b1: Pulling fs layer 02:21:56 2437ff75d9bd: Pulling fs layer 02:21:56 f23df028b6ca: Waiting 02:21:56 d65c8cfc05b1: Waiting 02:21:56 2437ff75d9bd: Waiting 02:21:56 765212b225bb: Waiting 02:21:56 04944245beec: Verifying Checksum 02:21:56 04944245beec: Download complete 02:21:56 765212b225bb: Verifying Checksum 02:21:56 765212b225bb: Download complete 02:21:56 f23df028b6ca: Verifying Checksum 02:21:56 f23df028b6ca: Download complete 02:21:56 d65c8cfc05b1: Verifying Checksum 02:21:56 d65c8cfc05b1: Download complete 02:21:56 699f458cf7ca: Verifying Checksum 02:21:56 699f458cf7ca: Download complete 02:21:57 8998bd30e6a1: Verifying Checksum 02:21:57 8998bd30e6a1: Download complete 02:21:58 2437ff75d9bd: Verifying Checksum 02:21:58 2437ff75d9bd: Download complete 02:22:00 8998bd30e6a1: Pull complete 02:22:00 04944245beec: Pull complete 02:22:02 699f458cf7ca: Pull complete 02:22:02 765212b225bb: Pull complete 02:22:03 f23df028b6ca: Pull complete 02:22:03 d65c8cfc05b1: Pull complete 02:22:18 2437ff75d9bd: Pull complete 02:22:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:22:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:22:18 prd-ubuntu20.04-docker-arm64-4c-16g-118564 does not seem to be running inside a container 02:22:18 $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 02:22:21 $ docker top bd582723abdbf366efade2a9f850dbde9e7f9b0f376450fbc844e0a76286e364 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:22:22 ---> job-cost.sh 02:22:22 lf-activate-venv: SKIPPING 02:22:22 INFO: No Stack... 02:22:22 INFO: Retrieving Pricing Info for: v3-standard-4 02:22:23 INFO: Archiving Costs [Pipeline] sh 02:22:24 + cat /w/workspace/device-onvif-camera/10/archives/cost.csv 02:22:24 + cut -d, -f6 [Pipeline] lock 02:22:24 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-10-stack-cost] 02:22:24 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-10-stack-cost] did not exist. Created. 02:22:24 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:22:24 /w/workspace/device-onvif-camera/10@tmp/durable-cdd89ceb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:22:25 + echo total: 0.10999999940395355 [Pipeline] stash 02:22:25 Warning: overwriting stash ‘stack-cost’ 02:22:25 Stashed 1 file(s) [Pipeline] } 02:22:25 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-10-stack-cost] [Pipeline] // lock [Pipeline] } 02:22:25 $ docker stop --time=1 bd582723abdbf366efade2a9f850dbde9e7f9b0f376450fbc844e0a76286e364 02:22:26 $ docker rm -f bd582723abdbf366efade2a9f850dbde9e7f9b0f376450fbc844e0a76286e364 [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 02:22:27 provisioning config files... 02:22:27 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config7166119446867000069tmp [Pipeline] { [Pipeline] sh 02:22:27 + set +x 02:22:27 + curl -s https://codecov.io/bash 02:22:27 + bash -s -- 02:22:27 02:22:27 _____ _ 02:22:27 / ____| | | 02:22:27 | | ___ __| | ___ ___ _____ __ 02:22:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:22:27 | |___| (_) | (_| | __/ (_| (_) \ V / 02:22:27 \_____\___/ \__,_|\___|\___\___/ \_/ 02:22:27 Bash-1.0.6 02:22:27 02:22:27 02:22:27 ==> git version 2.25.1 found 02:22:27 ==> 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 02:22:27 Release-Date: 2020-01-08 02:22:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:22:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:22:27 ==> Jenkins CI detected. 02:22:27 current dir:  /w/workspace/undry_device-onvif-camera_PR-184 02:22:27 project root: . 02:22:27 --> token set from env 02:22:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:22:27 ==> Running gcov in . (disable via -X gcov) 02:22:27 ==> Python coveragepy not found 02:22:27 ==> Searching for coverage reports in: 02:22:27 + . 02:22:27 -> Found 1 reports 02:22:27 ==> Detecting git/mercurial file structure 02:22:27 ==> Reading reports 02:22:27 + ./coverage.out bytes=79184 02:22:27 ==> Appending adjustments 02:22:27 https://docs.codecov.io/docs/fixing-reports 02:22:27 + Found adjustments 02:22:27 ==> Gzipping contents 02:22:27 12K /tmp/codecov.NSOwik.gz 02:22:27 ==> Uploading reports 02:22:27 url: https://codecov.io 02:22:27 query: branch=PR-184&commit=3cc95fc883c530adb799c5755c420174109e905a&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= 02:22:27 -> Pinging Codecov 02:22:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-184&commit=3cc95fc883c530adb799c5755c420174109e905a&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= 02:22:28 -> Uploading to 02:22:28 https://storage.googleapis.com/codecov/v4/raw/2022-11-08/F29A59C45E3A92E06B3E522C9905F8EF/3cc95fc883c530adb799c5755c420174109e905a/c5795089-200d-4ac7-9205-07ed9200cfa4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T022227Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0bb2312c2bfb275c108754a2a0b871a9b7e641600f478ce49dc542921502d11f 02:22:28 % Total % Received % Xferd Average Speed Time Time Time Current 02:22:28 Dload Upload Total Spent Left Speed 02:22:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10865 0 0 100 10865 0 42944 --:--:-- --:--:-- --:--:-- 42944 02:22:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3cc95fc883c530adb799c5755c420174109e905a [Pipeline] } 02:22:28 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 02:22:29 + [ -d /w/workspace/undry_device-onvif-camera_PR-184/archives ] 02:22:29 + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives 02:22:29 total 16 02:22:29 drwxr-xr-x 3 root root 4096 Nov 8 02:13 . 02:22:29 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 02:13 .. 02:22:29 drwxr-xr-x 2 root root 4096 Nov 8 02:13 cost 02:22:29 -rw-r--r-- 1 root root 92 Nov 8 02:13 cost.csv 02:22:29 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-184/archives 02:22:29 + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives 02:22:29 total 16 02:22:29 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 02:13 . 02:22:29 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 02:13 .. 02:22:29 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 02:13 cost 02:22:29 -rw-r--r-- 1 jenkins jenkins 92 Nov 8 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:22:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:22:30 ---> package-listing.sh 02:22:30 ++ facter osfamily 02:22:30 ++ tr '[:upper:]' '[:lower:]' 02:22:30 + OS_FAMILY=debian 02:22:30 + workspace=/w/workspace/undry_device-onvif-camera_PR-184 02:22:30 + START_PACKAGES=/tmp/packages_start.txt 02:22:30 + END_PACKAGES=/tmp/packages_end.txt 02:22:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:22:30 + PACKAGES=/tmp/packages_start.txt 02:22:30 + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' 02:22:30 + PACKAGES=/tmp/packages_end.txt 02:22:30 + case "${OS_FAMILY}" in 02:22:30 + dpkg -l 02:22:30 + grep '^ii' 02:22:30 + '[' -f /tmp/packages_start.txt ']' 02:22:30 + '[' -f /tmp/packages_end.txt ']' 02:22:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:22:30 + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' 02:22:30 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-184/archives/ 02:22:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-184/archives/ [Pipeline] echo 02:22:30 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-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:22:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:22:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:22:31 prd-ubuntu20.04-docker-8c-8g-118560 does not seem to be running inside a container 02:22:31 $ 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-184/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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@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 02:22:31 $ docker top 597d190246537b37947509aae57eb30c1f3cd7cf184c5cc620a742a09ce1c8cd -eo pid,comm [Pipeline] { [Pipeline] sh 02:22:32 + touch /tmp/pre-build-complete [Pipeline] sh 02:22:32 + mkdir -p /var/log/sysstat [Pipeline] sh 02:22:32 + ls /var/log/sa-host 02:22:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:22:32 provisioning config files... 02:22:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config16250920691575662593tmp [Pipeline] { [Pipeline] echo 02:22:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:22:33 ---> create-netrc.sh [Pipeline] } 02:22:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:22:33 ---> python-tools-install.sh [Pipeline] echo 02:22:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:22:33 ---> sudo-logs.sh 02:22:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:22:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:22:34 ---> job-cost.sh 02:22:34 lf-activate-venv: SKIPPING 02:22:34 DEBUG: total: 0.2199999988079071 02:22:34 INFO: Retrieving Stack Cost... 02:22:34 INFO: Retrieving Pricing Info for: v3-standard-8 02:22:34 INFO: Archiving Costs [Pipeline] echo 02:22:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:22:35 ---> logs-deploy.sh 02:22:35 lf-activate-venv: SKIPPING 02:22:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-184/10 02:22:35 INFO: archiving workspace using pattern(s): 02:22:36 Archives upload complete. 02:22:36 INFO: archiving logs to Nexus 02:22:36 ---> uname -a: 02:22:36 Linux prd-ubuntu20-04-docker-8c-8g-118560 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:22:36 02:22:36 02:22:36 ---> lscpu: 02:22:36 Architecture: x86_64 02:22:36 CPU op-mode(s): 32-bit, 64-bit 02:22:36 Byte Order: Little Endian 02:22:36 Address sizes: 40 bits physical, 48 bits virtual 02:22:36 CPU(s): 8 02:22:36 On-line CPU(s) list: 0-7 02:22:36 Thread(s) per core: 1 02:22:36 Core(s) per socket: 1 02:22:36 Socket(s): 8 02:22:36 NUMA node(s): 1 02:22:36 Vendor ID: AuthenticAMD 02:22:36 CPU family: 23 02:22:36 Model: 49 02:22:36 Model name: AMD EPYC-Rome Processor 02:22:36 Stepping: 0 02:22:36 CPU MHz: 2799.998 02:22:36 BogoMIPS: 5599.99 02:22:36 Virtualization: AMD-V 02:22:36 Hypervisor vendor: KVM 02:22:36 Virtualization type: full 02:22:36 L1d cache: 256 KiB 02:22:36 L1i cache: 256 KiB 02:22:36 L2 cache: 4 MiB 02:22:36 L3 cache: 128 MiB 02:22:36 NUMA node0 CPU(s): 0-7 02:22:36 Vulnerability Itlb multihit: Not affected 02:22:36 Vulnerability L1tf: Not affected 02:22:36 Vulnerability Mds: Not affected 02:22:36 Vulnerability Meltdown: Not affected 02:22:36 Vulnerability Mmio stale data: Not affected 02:22:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:22:36 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:22:36 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:22:36 Vulnerability Srbds: Not affected 02:22:36 Vulnerability Tsx async abort: Not affected 02:22:36 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 02:22:36 02:22:36 02:22:36 ---> nproc: 02:22:36 8 02:22:36 02:22:36 02:22:36 ---> df -h: 02:22:36 Filesystem Size Used Avail Use% Mounted on 02:22:36 overlay 155G 12G 144G 8% / 02:22:36 tmpfs 64M 0 64M 0% /dev 02:22:36 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:22:36 shm 64M 0 64M 0% /dev/shm 02:22:36 /dev/vda1 155G 12G 144G 8% /facter-os 02:22:36 02:22:36 02:22:36 ---> sar -b -r -n DEV: 02:22:36 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118560) 11/08/22 _x86_64_ (8 CPU) 02:22:36 02:22:36 02:10:07 LINUX RESTART (8 CPU) 02:22:36 02:22:36 02:11:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:22:36 02:12:01 192.12 4.13 187.99 0.00 432.86 72715.61 0.00 02:22:36 02:13:01 90.47 0.23 90.23 0.00 14.40 20521.11 0.00 02:22:36 02:14:01 96.85 0.02 96.83 0.00 0.53 23726.64 0.00 02:22:36 02:15:01 1.97 0.00 1.97 0.00 0.00 21.86 0.00 02:22:36 02:16:01 38.79 9.33 29.46 0.00 2884.32 4784.40 0.00 02:22:36 02:17:01 2.50 0.02 2.48 0.00 0.13 25.72 0.00 02:22:36 02:18:01 1.60 0.00 1.60 0.00 0.00 17.20 0.00 02:22:36 02:19:01 1.78 0.00 1.78 0.00 0.00 19.06 0.00 02:22:36 02:20:01 1.23 0.00 1.23 0.00 0.00 13.73 0.00 02:22:36 02:21:01 2.48 0.00 2.48 0.00 0.00 37.46 0.00 02:22:36 02:22:01 0.92 0.00 0.92 0.00 0.00 9.87 0.00 02:22:36 Average: 39.15 1.25 37.91 0.00 302.91 11080.84 0.00 02:22:36 02:22:36 02:11:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:22:36 02:12:01 28491184 31572772 734872 2.23 138868 3159732 1840980 5.43 1091992 2872680 616 02:22:36 02:13:01 27977492 31575140 729300 2.22 142876 3642672 1897268 5.59 1288992 3153560 104544 02:22:36 02:14:01 27699728 31585860 717352 2.18 152944 3884248 1760644 5.19 1295852 3386984 168 02:22:36 02:15:01 27700056 31586296 716696 2.18 153032 3884252 1778420 5.24 1296164 3386988 228 02:22:36 02:16:01 27408604 31571384 718448 2.18 171548 4133192 1821292 5.37 1447248 3501656 156 02:22:36 02:17:01 27408404 31571280 718460 2.18 171640 4133188 1821292 5.37 1447332 3501656 4 02:22:36 02:18:01 27419456 31582488 706812 2.15 171708 4133196 1821292 5.37 1436704 3501696 160 02:22:36 02:19:01 27419676 31582768 706528 2.15 171764 4133196 1821292 5.37 1436744 3501696 8 02:22:36 02:20:01 27419596 31582916 706456 2.15 171824 4133192 1821292 5.37 1436632 3501880 8 02:22:36 02:21:01 27418684 31582200 706864 2.15 171960 4133204 1821292 5.37 1436812 3501892 4 02:22:36 02:22:01 27419488 31583004 705992 2.15 171984 4133204 1821292 5.37 1436804 3501892 16 02:22:36 Average: 27616579 31579646 715253 2.18 162741 3954843 1820578 5.37 1368298 3392053 9628 02:22:36 02:22:36 02:11:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:22:36 02:12:01 veth7ddc059 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:12:01 ens3 444.54 289.59 5965.19 42.25 0.00 0.00 0.00 0.00 02:22:36 02:12:01 docker0 164.21 244.01 13.88 1925.17 0.00 0.00 0.00 0.00 02:22:36 02:12:01 lo 2.73 2.73 0.27 0.27 0.00 0.00 0.00 0.00 02:22:36 02:13:01 ens3 32.21 18.55 65.84 12.37 0.00 0.00 0.00 0.00 02:22:36 02:13:01 docker0 1.60 3.68 0.10 40.54 0.00 0.00 0.00 0.00 02:22:36 02:13:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 02:22:36 02:14:01 ens3 112.98 72.86 2588.79 12.96 0.00 0.00 0.00 0.00 02:22:36 02:14:01 docker0 2.43 5.40 0.16 58.01 0.00 0.00 0.00 0.00 02:22:36 02:14:01 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 02:22:36 02:15:01 ens3 0.80 0.45 0.36 0.27 0.00 0.00 0.00 0.00 02:22:36 02:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:22:36 02:16:01 ens3 55.66 32.21 1342.54 2.76 0.00 0.00 0.00 0.00 02:22:36 02:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:16:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 02:22:36 02:17:01 ens3 0.22 0.13 0.01 0.01 0.00 0.00 0.00 0.00 02:22:36 02:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:22:36 02:18:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:19:01 ens3 0.38 0.18 0.52 0.01 0.00 0.00 0.00 0.00 02:22:36 02:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:22:36 02:20:01 ens3 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:21:01 ens3 0.27 0.18 0.08 0.07 0.00 0.00 0.00 0.00 02:22:36 02:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:22:36 02:22:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 02:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:36 Average: ens3 58.83 37.65 905.74 6.43 0.00 0.00 0.00 0.00 02:22:36 Average: docker0 15.29 23.01 1.29 183.96 0.00 0.00 0.00 0.00 02:22:36 Average: lo 0.55 0.55 0.05 0.05 0.00 0.00 0.00 0.00 02:22:36 02:22:36 02:22:36 ---> sar -P ALL: 02:22:36 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118560) 11/08/22 _x86_64_ (8 CPU) 02:22:36 02:22:36 02:10:07 LINUX RESTART (8 CPU) 02:22:36 02:22:36 02:11:01 CPU %user %nice %system %iowait %steal %idle 02:22:36 02:12:01 all 8.50 0.00 4.35 4.28 0.07 82.80 02:22:36 02:12:01 0 9.15 0.00 5.90 19.95 0.07 64.93 02:22:36 02:12:01 1 9.11 0.00 3.99 0.12 0.08 86.69 02:22:36 02:12:01 2 7.40 0.00 3.23 0.03 0.05 89.29 02:22:36 02:12:01 3 9.16 0.00 4.17 1.47 0.10 85.10 02:22:36 02:12:01 4 8.62 0.00 4.44 3.81 0.07 83.06 02:22:36 02:12:01 5 8.45 0.00 4.26 0.88 0.05 86.36 02:22:36 02:12:01 6 7.02 0.00 4.01 5.78 0.05 83.13 02:22:36 02:12:01 7 9.06 0.00 4.83 2.18 0.09 83.84 02:22:36 02:13:01 all 44.50 0.00 7.37 1.56 0.11 46.47 02:22:36 02:13:01 0 45.11 0.00 7.67 1.38 0.08 45.75 02:22:36 02:13:01 1 43.22 0.00 7.07 1.20 0.10 48.40 02:22:36 02:13:01 2 44.47 0.00 6.96 0.32 0.08 48.16 02:22:36 02:13:01 3 45.27 0.00 7.93 1.58 0.10 45.12 02:22:36 02:13:01 4 44.34 0.00 7.70 1.86 0.10 46.01 02:22:36 02:13:01 5 44.89 0.00 7.26 4.39 0.12 43.34 02:22:36 02:13:01 6 43.48 0.00 7.00 0.44 0.10 48.99 02:22:36 02:13:01 7 45.19 0.00 7.37 1.27 0.17 46.00 02:22:36 02:14:01 all 3.72 0.00 1.67 1.21 0.08 93.32 02:22:36 02:14:01 0 3.62 0.00 1.64 0.94 0.10 93.70 02:22:36 02:14:01 1 3.15 0.00 1.86 0.08 0.05 94.86 02:22:36 02:14:01 2 4.04 0.00 2.22 5.41 0.10 88.23 02:22:36 02:14:01 3 3.71 0.00 1.34 0.57 0.08 94.30 02:22:36 02:14:01 4 3.06 0.00 1.29 0.25 0.08 95.32 02:22:36 02:14:01 5 4.58 0.00 1.52 2.32 0.08 91.50 02:22:36 02:14:01 6 3.99 0.00 1.84 0.03 0.05 94.08 02:22:36 02:14:01 7 3.61 0.00 1.68 0.10 0.07 94.55 02:22:36 02:15:01 all 0.04 0.00 0.01 0.01 0.00 99.93 02:22:36 02:15:01 0 0.08 0.00 0.03 0.00 0.00 99.88 02:22:36 02:15:01 1 0.00 0.00 0.02 0.00 0.00 99.98 02:22:36 02:15:01 2 0.02 0.00 0.02 0.07 0.00 99.90 02:22:36 02:15:01 3 0.00 0.00 0.00 0.03 0.00 99.97 02:22:36 02:15:01 4 0.00 0.00 0.00 0.02 0.00 99.98 02:22:36 02:15:01 5 0.12 0.00 0.02 0.00 0.02 99.85 02:22:36 02:15:01 6 0.00 0.00 0.02 0.00 0.00 99.98 02:22:36 02:15:01 7 0.12 0.00 0.00 0.00 0.02 99.87 02:22:36 02:16:01 all 1.35 0.00 0.90 0.60 0.01 97.13 02:22:36 02:16:01 0 1.35 0.00 0.98 0.90 0.02 96.75 02:22:36 02:16:01 1 1.30 0.00 0.78 0.67 0.02 97.23 02:22:36 02:16:01 2 0.80 0.00 0.68 1.85 0.02 96.65 02:22:36 02:16:01 3 2.50 0.00 0.79 0.41 0.02 96.28 02:22:36 02:16:01 4 1.18 0.00 1.27 0.53 0.02 97.00 02:22:36 02:16:01 5 1.10 0.00 1.27 0.03 0.02 97.58 02:22:36 02:16:01 6 1.92 0.00 0.60 0.32 0.02 97.14 02:22:36 02:16:01 7 0.67 0.00 0.80 0.10 0.00 98.43 02:22:36 02:17:01 all 0.27 0.00 0.02 0.01 0.01 99.70 02:22:36 02:17:01 0 0.03 0.00 0.05 0.00 0.00 99.92 02:22:36 02:17:01 1 0.02 0.00 0.02 0.00 0.00 99.97 02:22:36 02:17:01 2 0.00 0.00 0.02 0.05 0.00 99.93 02:22:36 02:17:01 3 2.00 0.00 0.05 0.00 0.03 97.91 02:22:36 02:17:01 4 0.02 0.00 0.00 0.00 0.00 99.98 02:22:36 02:17:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:22:36 02:17:01 6 0.05 0.00 0.00 0.00 0.02 99.93 02:22:36 02:17:01 7 0.00 0.00 0.00 0.00 0.00 100.00 02:22:36 02:18:01 all 0.08 0.00 0.02 0.01 0.01 99.89 02:22:36 02:18:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:22:36 02:18:01 1 0.03 0.00 0.02 0.00 0.00 99.95 02:22:36 02:18:01 2 0.03 0.00 0.00 0.08 0.00 99.88 02:22:36 02:18:01 3 0.47 0.00 0.05 0.00 0.02 99.47 02:22:36 02:18:01 4 0.00 0.00 0.00 0.00 0.00 100.00 02:22:36 02:18:01 5 0.00 0.00 0.03 0.00 0.02 99.95 02:22:36 02:18:01 6 0.07 0.00 0.02 0.00 0.00 99.92 02:22:36 02:18:01 7 0.00 0.00 0.02 0.00 0.02 99.97 02:22:36 02:19:01 all 0.12 0.00 0.01 0.01 0.00 99.86 02:22:36 02:19:01 0 0.02 0.00 0.00 0.00 0.00 99.98 02:22:36 02:19:01 1 0.00 0.00 0.00 0.00 0.00 100.00 02:22:36 02:19:01 2 0.00 0.00 0.00 0.08 0.00 99.92 02:22:36 02:19:01 3 0.86 0.00 0.03 0.00 0.03 99.07 02:22:36 02:19:01 4 0.00 0.00 0.00 0.00 0.00 100.00 02:22:36 02:19:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:22:36 02:19:01 6 0.02 0.00 0.02 0.00 0.00 99.97 02:22:36 02:19:01 7 0.03 0.00 0.02 0.00 0.00 99.95 02:22:36 02:20:01 all 0.03 0.00 0.01 0.01 0.01 99.94 02:22:36 02:20:01 0 0.05 0.00 0.03 0.00 0.02 99.90 02:22:36 02:20:01 1 0.05 0.00 0.02 0.00 0.02 99.92 02:22:36 02:20:01 2 0.00 0.00 0.00 0.02 0.02 99.97 02:22:36 02:20:01 3 0.02 0.00 0.03 0.03 0.02 99.90 02:22:36 02:20:01 4 0.00 0.00 0.00 0.00 0.00 100.00 02:22:36 02:20:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:22:36 02:20:01 6 0.07 0.00 0.02 0.00 0.02 99.90 02:22:36 02:20:01 7 0.02 0.00 0.00 0.00 0.00 99.98 02:22:36 02:21:01 all 0.07 0.00 0.02 0.03 0.00 99.87 02:22:36 02:21:01 0 0.02 0.00 0.07 0.00 0.00 99.92 02:22:36 02:21:01 1 0.02 0.00 0.00 0.00 0.00 99.98 02:22:36 02:21:01 2 0.02 0.00 0.03 0.13 0.02 99.80 02:22:36 02:21:01 3 0.45 0.00 0.05 0.10 0.02 99.38 02:22:36 02:21:01 4 0.00 0.00 0.00 0.00 0.00 100.00 02:22:36 02:21:01 5 0.02 0.00 0.02 0.00 0.00 99.97 02:22:36 02:21:01 6 0.02 0.00 0.00 0.00 0.00 99.98 02:22:36 02:21:01 7 0.03 0.00 0.00 0.00 0.00 99.97 02:22:36 02:22:01 all 0.08 0.00 0.02 0.01 0.01 99.89 02:22:36 02:22:01 0 0.03 0.00 0.03 0.00 0.02 99.92 02:22:36 02:22:01 1 0.03 0.00 0.00 0.00 0.00 99.97 02:22:36 02:22:01 2 0.00 0.00 0.00 0.02 0.00 99.98 02:22:36 02:22:01 3 0.05 0.00 0.05 0.00 0.03 99.87 02:22:36 02:22:01 4 0.00 0.00 0.02 0.05 0.00 99.93 02:22:36 02:22:01 5 0.02 0.00 0.02 0.00 0.00 99.97 02:22:36 02:22:01 6 0.03 0.00 0.02 0.00 0.00 99.95 02:22:36 02:22:01 7 0.43 0.00 0.02 0.00 0.00 99.55 02:22:36 02:22:36 Average: CPU %user %nice %system %iowait %steal %idle 02:22:36 Average: all 5.29 0.00 1.30 0.70 0.03 92.69 02:22:36 Average: 0 5.36 0.00 1.48 2.08 0.03 91.04 02:22:36 Average: 1 5.12 0.00 1.24 0.19 0.02 93.43 02:22:36 Average: 2 5.11 0.00 1.18 0.73 0.03 92.96 02:22:36 Average: 3 5.82 0.00 1.31 0.38 0.04 92.45 02:22:36 Average: 4 5.15 0.00 1.33 0.59 0.02 92.91 02:22:36 Average: 5 5.33 0.00 1.30 0.69 0.03 92.65 02:22:36 Average: 6 5.10 0.00 1.22 0.59 0.02 93.07 02:22:36 Average: 7 5.32 0.00 1.32 0.33 0.03 93.00 02:22:36 02:22:36 02:22:36