Pull request #171 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 rather than 0098c075bcc993362c49da90c8b4ea59cb51e9ec Obtained Jenkinsfile from 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 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-ssh4769853493849190041.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh13996696723102044874.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-171/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-171/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16677755359521826433.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh9545619756898220447.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-171/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-171/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7879547115786201206.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 Running on prd-ubuntu20.04-docker-8c-8g-7554 in /w/workspace/undry_device-onvif-camera_PR-171 [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-171 # 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 > 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/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit 0098c075bcc993362c49da90c8b4ea59cb51e9ec Merge succeeded, producing 72c4c4c250e2bbea19f542fbc8589bd260d79f24 Checking out Revision 72c4c4c250e2bbea19f542fbc8589bd260d79f24 (PR-171) > git config core.sparsecheckout # timeout=10 > git checkout -f 0098c075bcc993362c49da90c8b4ea59cb51e9ec # 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 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72c4c4c250e2bbea19f542fbc8589bd260d79f24 # timeout=10 Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:22:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:22:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:22:46 ========================================================= 18:22:46 EdgeX Global Pipelines Version Info 18:22:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:22:46 ------------------- 18:22:46 stable info: 18:22:46 ------------------- 18:22:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:22:46 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 18:22:46 Message: update stable to v1.0.239 > git rev-list --no-walk 3a896a9a9fef18f6179b9077942c70eae6bdba11 # timeout=10 18:22:47 ------------------- 18:22:47 experimental info: 18:22:47 ------------------- 18:22:47 Commited By: **** collab-it+edgex@linuxfoundation.org 18:22:47 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 18:22:47 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72c4c4c250e2bbea19f542fbc8589bd260d79f24 [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 72c4c4c [Pipeline] echo 18:22:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:22:47 provisioning config files... 18:22:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config7436566175036893669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:22:48 ---> docker-login.sh 18:22:48 nexus3.edgexfoundry.org:10001 18:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:48 Configure a credential helper to remove this warning. See 18:22:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:48 18:22:48 Login Succeeded 18:22:48 nexus3.edgexfoundry.org:10002 18:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:48 Configure a credential helper to remove this warning. See 18:22:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:48 18:22:48 Login Succeeded 18:22:48 nexus3.edgexfoundry.org:10003 18:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:49 Configure a credential helper to remove this warning. See 18:22:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:49 18:22:49 Login Succeeded 18:22:49 nexus3.edgexfoundry.org:10004 18:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:49 Configure a credential helper to remove this warning. See 18:22:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:49 18:22:49 Login Succeeded 18:22:49 docker.io 18:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:49 Configure a credential helper to remove this warning. See 18:22:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:49 18:22:49 Login Succeeded 18:22:49 ---> docker-login.sh ends [Pipeline] } 18:22:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:22:49 + git rev-list -1 --merges 72c4c4c250e2bbea19f542fbc8589bd260d79f24~1..72c4c4c250e2bbea19f542fbc8589bd260d79f24 [Pipeline] echo 18:22:50 -----------> git rev-list -1 --merges 72c4c4c250e2bbea19f542fbc8589bd260d79f24~1..72c4c4c250e2bbea19f542fbc8589bd260d79f24 72c4c4c250e2bbea19f542fbc8589bd260d79f24 18:22:50 72c4c4c250e2bbea19f542fbc8589bd260d79f24 [false] [Pipeline] sh 18:22:50 + git log --format=format:%s -1 72c4c4c250e2bbea19f542fbc8589bd260d79f24 [Pipeline] echo 18:22:50 ========================================================= 18:22:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:22:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:22:50 + git log --format=format:%s -1 72c4c4c250e2bbea19f542fbc8589bd260d79f24 [Pipeline] echo 18:22:50 [semverPrep] GIT_COMMIT: 72c4c4c250e2bbea19f542fbc8589bd260d79f24, Commit Message: Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD [Pipeline] echo 18:22:50 [semverPrep] This is not a build commit. [Pipeline] sh 18:22:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:22:51 + grep -v github /etc/ssh/ssh_known_hosts 18:22:51 + [ -e /tmp/ssh_known_hosts ] 18:22:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:22:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:22:51 + sudo tee -a /etc/ssh/ssh_known_hosts 18:22:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:22:51 18:22:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:22:51 0.1.4: Pulling from edgex-devops/py-git-semver 18:22:51 b85a868b505f: Pulling fs layer 18:22:51 e2be974225ed: Pulling fs layer 18:22:51 339a4e72a1f5: Pulling fs layer 18:22:51 988bab9f4d93: Pulling fs layer 18:22:51 1469e6f7b9e6: Pulling fs layer 18:22:51 eaf3925da568: Pulling fs layer 18:22:51 bab4dde63d76: Pulling fs layer 18:22:51 bde34c3a00c8: Pulling fs layer 18:22:51 b352a97aabf1: Pulling fs layer 18:22:51 4872d77fe225: Pulling fs layer 18:22:51 5851b861e8e6: Pulling fs layer 18:22:51 bde34c3a00c8: Waiting 18:22:51 eaf3925da568: Waiting 18:22:51 4872d77fe225: Waiting 18:22:51 b352a97aabf1: Waiting 18:22:51 5851b861e8e6: Waiting 18:22:51 988bab9f4d93: Waiting 18:22:51 bab4dde63d76: Waiting 18:22:51 1469e6f7b9e6: Waiting 18:22:51 e2be974225ed: Verifying Checksum 18:22:51 e2be974225ed: Download complete 18:22:51 988bab9f4d93: Download complete 18:22:52 1469e6f7b9e6: Verifying Checksum 18:22:52 1469e6f7b9e6: Download complete 18:22:52 eaf3925da568: Verifying Checksum 18:22:52 eaf3925da568: Download complete 18:22:52 339a4e72a1f5: Verifying Checksum 18:22:52 339a4e72a1f5: Download complete 18:22:52 bde34c3a00c8: Verifying Checksum 18:22:52 bde34c3a00c8: Download complete 18:22:52 b352a97aabf1: Download complete 18:22:52 4872d77fe225: Verifying Checksum 18:22:52 4872d77fe225: Download complete 18:22:52 5851b861e8e6: Verifying Checksum 18:22:52 5851b861e8e6: Download complete 18:22:52 b85a868b505f: Verifying Checksum 18:22:52 b85a868b505f: Download complete 18:22:54 bab4dde63d76: Verifying Checksum 18:22:54 bab4dde63d76: Download complete 18:22:54 b85a868b505f: Pull complete 18:22:54 e2be974225ed: Pull complete 18:22:54 339a4e72a1f5: Pull complete 18:22:54 988bab9f4d93: Pull complete 18:22:54 1469e6f7b9e6: Pull complete 18:22:54 eaf3925da568: Pull complete 18:22:57 bab4dde63d76: Pull complete 18:22:57 bde34c3a00c8: Pull complete 18:22:57 b352a97aabf1: Pull complete 18:22:57 4872d77fe225: Pull complete 18:22:57 5851b861e8e6: Pull complete 18:22:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:22:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:22:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:22:57 prd-ubuntu20.04-docker-8c-8g-7554 does not seem to be running inside a container 18:22:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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-devops/py-git-semver:0.1.4 cat 18:22:59 $ docker top bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c -eo pid,comm 18:22:59 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). 18:22:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:22:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:22:59 [ssh-agent] Looking for ssh-agent implementation... 18:22:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:22:59 $ docker exec bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c ssh-agent 18:22:59 SSH_AUTH_SOCK=/tmp/ssh-t2VQNz4fihJV/agent.32 18:22:59 SSH_AGENT_PID=38 18:22:59 Running ssh-add (command line suppressed) 18:22:59 Identity added: /w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_14841034806358657564.key (/w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_14841034806358657564.key) 18:22:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:23:00 + git tag --points-at HEAD [Pipeline] } 18:23:00 $ docker exec --env ******** --env ******** bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c ssh-agent -k 18:23:00 unset SSH_AUTH_SOCK; 18:23:00 unset SSH_AGENT_PID; 18:23:00 echo Agent pid 38 killed; 18:23:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:23:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:23:00 [ssh-agent] Looking for ssh-agent implementation... 18:23:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:23:00 $ docker exec bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c ssh-agent 18:23:00 SSH_AUTH_SOCK=/tmp/ssh-iXI5c0OWgFlp/agent.70 18:23:00 SSH_AGENT_PID=76 18:23:00 Running ssh-add (command line suppressed) 18:23:00 Identity added: /w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_10749014241181497059.key (/w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_10749014241181497059.key) 18:23:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:23:00 + git semver init 18:23:01 2022-10-10 18:23:01,033 [run_init] DEBUG init version:0.0.0 force:False 18:23:01 2022-10-10 18:23:01,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-171/.semver 18:23:01 2022-10-10 18:23:01,034 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-171/.semver 18:23:01 2022-10-10 18:23:01,035 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-171/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-171, universal_newlines=False, shell=None, istream=None) 18:23:02 2022-10-10 18:23:02,035 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-171/.git/info/exclude 18:23:02 2022-10-10 18:23:02,035 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 with force:False 18:23:02 2022-10-10 18:23:02,035 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 18:23:02 2022-10-10 18:23:02,040 [execute] INFO git cat-file --batch-check 18:23:02 2022-10-10 18:23:02,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-171/.semver, universal_newlines=False, shell=None, istream=) 18:23:02 2022-10-10 18:23:02,046 [execute] INFO git cat-file --batch 18:23:02 2022-10-10 18:23:02,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-171/.semver, universal_newlines=False, shell=None, istream=) 18:23:02 2022-10-10 18:23:02,051 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 18:23:02 0.0.0 [Pipeline] } 18:23:02 $ docker exec --env ******** --env ******** bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c ssh-agent -k 18:23:02 unset SSH_AUTH_SOCK; 18:23:02 unset SSH_AGENT_PID; 18:23:02 echo Agent pid 76 killed; 18:23:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:23:02 + git semver [Pipeline] } 18:23:03 $ docker stop --time=1 bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c 18:23:04 $ docker rm -f bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c [Pipeline] // withDockerContainer [Pipeline] sh 18:23:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:23:04 Stashed 1 file(s) [Pipeline] echo 18:23:04 [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 18:23:04 provisioning config files... 18:23:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config5063371342356015564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:05 ---> docker-login.sh 18:23:05 nexus3.edgexfoundry.org:10001 18:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:05 Configure a credential helper to remove this warning. See 18:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:05 18:23:05 Login Succeeded 18:23:05 nexus3.edgexfoundry.org:10002 18:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:05 Configure a credential helper to remove this warning. See 18:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:05 18:23:05 Login Succeeded 18:23:05 nexus3.edgexfoundry.org:10003 18:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:05 Configure a credential helper to remove this warning. See 18:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:05 18:23:05 Login Succeeded 18:23:05 nexus3.edgexfoundry.org:10004 18:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:05 Configure a credential helper to remove this warning. See 18:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:05 18:23:05 Login Succeeded 18:23:05 docker.io 18:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:05 Configure a credential helper to remove this warning. See 18:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:05 18:23:05 Login Succeeded 18:23:05 ---> docker-login.sh ends [Pipeline] } 18:23:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:23:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:23:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:23:06 ========================================================= 18:23:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:23:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:06 + 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 . 18:23:06 Sending build context to Docker daemon 20.84MB 18:23:06 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 18:23:06 Step 2/14 : FROM ${BASE} AS builder 18:23:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:23:06 2408cc74d12b: Pulling fs layer 18:23:06 ea60b727a1ce: Pulling fs layer 18:23:06 30c4a7721957: Pulling fs layer 18:23:06 370296b7ddb6: Pulling fs layer 18:23:06 7c6cee850709: Pulling fs layer 18:23:06 aa9baa53a306: Pulling fs layer 18:23:06 8b309c321861: Pulling fs layer 18:23:06 d8d76fd02f46: Pulling fs layer 18:23:06 fa31f396de31: Pulling fs layer 18:23:06 370296b7ddb6: Waiting 18:23:06 7c6cee850709: Waiting 18:23:06 aa9baa53a306: Waiting 18:23:06 8b309c321861: Waiting 18:23:06 d8d76fd02f46: Waiting 18:23:06 fa31f396de31: Waiting 18:23:06 30c4a7721957: Verifying Checksum 18:23:06 30c4a7721957: Download complete 18:23:06 ea60b727a1ce: Download complete 18:23:06 7c6cee850709: Verifying Checksum 18:23:06 7c6cee850709: Download complete 18:23:06 aa9baa53a306: Download complete 18:23:06 2408cc74d12b: Verifying Checksum 18:23:06 2408cc74d12b: Download complete 18:23:06 8b309c321861: Download complete 18:23:06 2408cc74d12b: Pull complete 18:23:06 ea60b727a1ce: Pull complete 18:23:06 30c4a7721957: Pull complete 18:23:06 fa31f396de31: Verifying Checksum 18:23:07 d8d76fd02f46: Verifying Checksum 18:23:07 d8d76fd02f46: Download complete 18:23:07 370296b7ddb6: Verifying Checksum 18:23:07 370296b7ddb6: Download complete 18:23:11 370296b7ddb6: Pull complete 18:23:11 7c6cee850709: Pull complete 18:23:11 aa9baa53a306: Pull complete 18:23:11 8b309c321861: Pull complete 18:23:13 d8d76fd02f46: Pull complete 18:23:14 fa31f396de31: Pull complete 18:23:14 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 18:23:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:23:14 ---> cef68f9685f8 18:23:14 Step 3/14 : ARG ADD_BUILD_TAGS="" 18:23:17 ---> Running in b0c0c733ef30 18:23:17 Removing intermediate container b0c0c733ef30 18:23:17 ---> bb4f4cd5a479 18:23:17 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:23:17 ---> Running in 4e5b4a62a314 18:23:17 Removing intermediate container 4e5b4a62a314 18:23:17 ---> 21d74e079ad8 18:23:17 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:23:17 ---> Running in f88e1cecb21d 18:23:17 Removing intermediate container f88e1cecb21d 18:23:17 ---> 181c3989f6bb 18:23:17 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 18:23:17 ---> Running in deaa202465eb 18:23:17 Removing intermediate container deaa202465eb 18:23:17 ---> 3f30057bc233 18:23:17 Step 7/14 : LABEL Name=edgex-device-onvif-camera 18:23:17 ---> Running in 9a7ed7cfb665 18:23:17 Removing intermediate container 9a7ed7cfb665 18:23:17 ---> 2c0b0f3468af 18:23:17 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:23:17 ---> Running in 40d99ebffb28 18:23:18 Removing intermediate container 40d99ebffb28 18:23:18 ---> a56bb60b18eb 18:23:18 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:23:18 ---> Running in c3cecc6d41a6 18:23:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:23:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:23:19 Still waiting to schedule task 18:23:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:23:19 OK: 211 MiB in 51 packages 18:23:20 Removing intermediate container c3cecc6d41a6 18:23:20 ---> 0cf6ad834af9 18:23:20 Step 10/14 : WORKDIR /device-onvif-camera 18:23:20 ---> Running in a69ef866b87e 18:23:20 Removing intermediate container a69ef866b87e 18:23:20 ---> 89e102447870 18:23:20 Step 11/14 : COPY go.mod vendor* ./ 18:23:20 ---> d0f3ab24fc18 18:23:20 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:23:20 ---> Running in 17f1a40eb6a8 18:23:42 Removing intermediate container 17f1a40eb6a8 18:23:42 ---> aad99c57ad04 18:23:42 Step 13/14 : COPY . . 18:23:42 ---> d39c3eba0571 18:23:42 Step 14/14 : RUN ${MAKE} 18:23:42 ---> Running in acf058167ab0 18:23:42 noop 18:23:42 Removing intermediate container acf058167ab0 18:23:42 ---> 3755f624274f 18:23:42 Successfully built 3755f624274f 18:23:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:42 + docker inspect -f . ci-base-image-x86_64 18:23:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:23:42 prd-ubuntu20.04-docker-8c-8g-7554 does not seem to be running inside a container 18:23:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 ******** -e ******** ci-base-image-x86_64 cat 18:23:43 $ docker top a2dafe3f00eefb4114e9f960a94413e152956c8bcac837c9d9fa44ee5c6f5d4b -eo pid,comm [Pipeline] { [Pipeline] sh 18:23:43 + go version 18:23:43 go version go1.18.3 linux/amd64 [Pipeline] } 18:23:43 $ docker stop --time=1 a2dafe3f00eefb4114e9f960a94413e152956c8bcac837c9d9fa44ee5c6f5d4b 18:23:45 $ docker rm -f a2dafe3f00eefb4114e9f960a94413e152956c8bcac837c9d9fa44ee5c6f5d4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:45 + docker inspect -f . ci-base-image-x86_64 18:23:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:23:45 prd-ubuntu20.04-docker-8c-8g-7554 does not seem to be running inside a container 18:23:45 $ 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-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 ******** -e ******** ci-base-image-x86_64 cat 18:23:45 $ docker top 6dd76e5e66630f6286c3cf930fe343e50764654dc5b2844d10f0c437a8e2ad4a -eo pid,comm [Pipeline] { [Pipeline] sh 18:23:46 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-171 [Pipeline] fileExists [Pipeline] sh 18:23:46 + make test 18:23:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:23:46 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:23:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:23:59 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements 18:23:59 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:23:59 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.366s coverage: 86.5% of statements 18:24:07 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:24:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:24:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:24:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:24:10 ./bin/test-attribution-txt.sh [Pipeline] echo 18:24:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:24:10 $ docker stop --time=1 6dd76e5e66630f6286c3cf930fe343e50764654dc5b2844d10f0c437a8e2ad4a 18:24:12 $ docker rm -f 6dd76e5e66630f6286c3cf930fe343e50764654dc5b2844d10f0c437a8e2ad4a [Pipeline] // withDockerContainer [Pipeline] sh 18:24:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:24:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:24:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:24:14 + ls -al . 18:24:14 total 236 18:24:14 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 18:23 . 18:24:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:22 .. 18:24:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 18:24 .git 18:24:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 18:22 .github 18:24:14 -rw-rw-r-- 1 jenkins jenkins 418 Oct 10 18:22 .gitignore 18:24:14 -rw-rw-r-- 1 jenkins jenkins 42 Oct 10 18:22 .golangci.yml 18:24:14 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 18:23 .semver 18:24:14 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 10 18:22 Attribution.txt 18:24:14 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 10 18:22 CHANGELOG.md 18:24:14 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 10 18:22 Dockerfile 18:24:14 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 18:22 GOVERNANCE.md 18:24:14 -rw-rw-r-- 1 jenkins jenkins 734 Oct 10 18:22 Jenkinsfile 18:24:14 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 10 18:22 LICENSE 18:24:14 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 10 18:22 Makefile 18:24:14 -rw-rw-r-- 1 jenkins jenkins 625 Oct 10 18:22 OWNERS.md 18:24:14 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 10 18:22 README.md 18:24:14 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 18:23 VERSION 18:24:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 18:22 bin 18:24:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 18:22 cmd 18:24:14 -rw-r--r-- 1 jenkins jenkins 78461 Oct 10 18:23 coverage.out 18:24:14 drwxrwxr-x 6 jenkins jenkins 4096 Oct 10 18:22 doc 18:24:14 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 10 18:22 go.mod 18:24:14 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 10 18:22 go.sum 18:24:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:22 internal 18:24:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:22 snap 18:24:14 -rw-rw-r-- 1 jenkins jenkins 236 Oct 10 18:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:14 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=72c4c4c250e2bbea19f542fbc8589bd260d79f24 --label arch=amd64 --label version=0.0.0 . 18:24:14 Sending build context to Docker daemon 20.92MB 18:24:14 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:24:14 Step 2/27 : FROM ${BASE} AS builder 18:24:14 ---> 3755f624274f 18:24:14 Step 3/27 : ARG ADD_BUILD_TAGS="" 18:24:14 ---> Running in bfc03b6025af 18:24:14 Removing intermediate container bfc03b6025af 18:24:14 ---> e3ded1439d9e 18:24:14 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:24:14 ---> Running in 80e176015010 18:24:15 Removing intermediate container 80e176015010 18:24:15 ---> 21241078e984 18:24:15 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:24:15 ---> Running in bbc9e952646b 18:24:15 Removing intermediate container bbc9e952646b 18:24:15 ---> ab96ab3ac45a 18:24:15 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 18:24:15 ---> Running in 46467fe5bafd 18:24:15 Removing intermediate container 46467fe5bafd 18:24:15 ---> ccea28a543ac 18:24:15 Step 7/27 : LABEL Name=edgex-device-onvif-camera 18:24:15 ---> Running in 6485d83cc315 18:24:15 Removing intermediate container 6485d83cc315 18:24:15 ---> 6c9a3e7cdfec 18:24:15 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:24:15 ---> Running in 9e5131f95f5e 18:24:15 Removing intermediate container 9e5131f95f5e 18:24:15 ---> 65869a638daa 18:24:15 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:24:15 ---> Running in 9ff91d62ec2f 18:24:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:24:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:24:17 OK: 211 MiB in 51 packages 18:24:17 Removing intermediate container 9ff91d62ec2f 18:24:17 ---> 9e50aae32fc4 18:24:17 Step 10/27 : WORKDIR /device-onvif-camera 18:24:17 ---> Running in 7834658c298e 18:24:17 Removing intermediate container 7834658c298e 18:24:17 ---> f9c516156fa0 18:24:17 Step 11/27 : COPY go.mod vendor* ./ 18:24:17 ---> 9bbb08c7d8fe 18:24:17 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:24:17 ---> Running in 1db4bbfd8ca2 18:24:18 Removing intermediate container 1db4bbfd8ca2 18:24:18 ---> 2f23d50a0ec8 18:24:18 Step 13/27 : COPY . . 18:24:18 ---> 0c56552543ee 18:24:18 Step 14/27 : RUN ${MAKE} 18:24:18 ---> Running in 59094fbd50af 18:24:19 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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 18:24:41 Removing intermediate container 59094fbd50af 18:24:41 ---> 33cdde164d40 18:24:41 Step 15/27 : FROM alpine:3.16 18:24:41 3.16: Pulling from library/alpine 18:24:41 213ec9aee27d: Pulling fs layer 18:24:41 213ec9aee27d: Download complete 18:24:41 213ec9aee27d: Pull complete 18:24:41 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:24:41 Status: Downloaded newer image for alpine:3.16 18:24:41 ---> 9c6f07244728 18:24:41 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:24:41 ---> Running in a25e58db3f7b 18:24:42 Removing intermediate container a25e58db3f7b 18:24:42 ---> e3923cd007b2 18:24:42 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 18:24:42 ---> Running in 6ce0ab392606 18:24:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:24:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:24:42 (1/6) Installing dumb-init (1.2.5-r1) 18:24:42 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:24:42 (3/6) Installing libsodium (1.0.18-r0) 18:24:42 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:24:42 (5/6) Installing libzmq (4.3.4-r0) 18:24:42 (6/6) Installing zeromq (4.3.4-r0) 18:24:42 Executing busybox-1.35.0-r17.trigger 18:24:42 OK: 8 MiB in 20 packages 18:24:43 Removing intermediate container 6ce0ab392606 18:24:43 ---> 1a65aad7909f 18:24:43 Step 18/27 : WORKDIR / 18:24:43 ---> Running in edba52c25861 18:24:43 Removing intermediate container edba52c25861 18:24:43 ---> 4583367ce75b 18:24:43 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 18:24:44 ---> ef9c5e4a3ee4 18:24:44 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 18:24:44 ---> 9ad5d2721036 18:24:44 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:24:44 ---> 019d9cfc3b8a 18:24:44 Step 22/27 : EXPOSE 59984 18:24:44 ---> Running in cdac46ad03f0 18:24:44 Removing intermediate container cdac46ad03f0 18:24:44 ---> 00ae0058916d 18:24:44 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 18:24:44 ---> Running in 5320d9f79793 18:24:44 Removing intermediate container 5320d9f79793 18:24:44 ---> b352db65a965 18:24:44 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:24:44 ---> Running in d4f79245a14d 18:24:44 Removing intermediate container d4f79245a14d 18:24:44 ---> 7750f81475f1 18:24:44 Step 25/27 : LABEL arch=amd64 18:24:44 ---> Running in 09ffb9c69d00 18:24:44 Removing intermediate container 09ffb9c69d00 18:24:44 ---> 5a2eb61ad89c 18:24:44 Step 26/27 : LABEL git_sha=72c4c4c250e2bbea19f542fbc8589bd260d79f24 18:24:44 ---> Running in e77f2d40a028 18:24:44 Removing intermediate container e77f2d40a028 18:24:44 ---> 6d696cc8a752 18:24:44 Step 27/27 : LABEL version=0.0.0 18:24:44 ---> Running in 2770db3b734a 18:24:44 Removing intermediate container 2770db3b734a 18:24:44 ---> 6c3ae87b9ca6 18:24:44 [Warning] One or more build-args [ARCH] were not consumed 18:24:44 Successfully built 6c3ae87b9ca6 18:24:44 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 18:24:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:24:45 18:24:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:24:45 latest: Pulling from edgex-lftools-log-publisher 18:24:45 5eb5b503b376: Pulling fs layer 18:24:45 5c69ac0246d0: Pulling fs layer 18:24:45 ec43610c2a17: Pulling fs layer 18:24:45 3a2ae6a8a46f: Pulling fs layer 18:24:45 33b1e0a273af: Pulling fs layer 18:24:45 5d3b04190fa2: Pulling fs layer 18:24:45 2f39f015ded8: Pulling fs layer 18:24:45 3a2ae6a8a46f: Waiting 18:24:45 5d3b04190fa2: Waiting 18:24:45 33b1e0a273af: Waiting 18:24:45 3a2ae6a8a46f: Verifying Checksum 18:24:45 3a2ae6a8a46f: Download complete 18:24:45 33b1e0a273af: Verifying Checksum 18:24:45 33b1e0a273af: Download complete 18:24:45 5d3b04190fa2: Verifying Checksum 18:24:45 5d3b04190fa2: Download complete 18:24:45 ec43610c2a17: Verifying Checksum 18:24:45 ec43610c2a17: Download complete 18:24:45 5eb5b503b376: Verifying Checksum 18:24:45 5eb5b503b376: Download complete 18:24:46 2f39f015ded8: Download complete 18:24:46 5eb5b503b376: Pull complete 18:24:47 5c69ac0246d0: Pull complete 18:24:47 ec43610c2a17: Pull complete 18:24:47 3a2ae6a8a46f: Pull complete 18:24:47 33b1e0a273af: Pull complete 18:24:48 5d3b04190fa2: Pull complete 18:24:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7555 in /w/workspace/undry_device-onvif-camera_PR-171 [Pipeline] { [Pipeline] ws 18:24:48 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 18:24:48 The recommended git tool is: git 18:24:52 2f39f015ded8: Pull complete 18:24:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:24:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:24:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:52 prd-ubuntu20.04-docker-8c-8g-7554 does not seem to be running inside a container 18:24:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:24:53 using credential edgex-jenkins-ssh 18:24:53 Cloning the remote Git repository 18:24:54 $ docker top 497c776bef9a77776b04c1fa03d28c6296f027888fc03b5881aa7d145938f125 -eo pid,comm [Pipeline] { 18:24:53 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:24:53 > git init /w/workspace/device-onvif-camera/2 # timeout=10 18:24:53 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:24:53 > git --version # timeout=10 18:24:53 > git --version # 'git version 2.25.1' 18:24:53 using GIT_SSH to set credentials SSH Credentials for GitHub 18:24:54 Verifying host key using known hosts file 18:24: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. 18:24:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] libraryResource [Pipeline] sh 18:24:55 ---> job-cost.sh 18:24:55 lf-activate-venv: SKIPPING 18:24:55 INFO: No Stack... 18:24:55 INFO: Retrieving Pricing Info for: v3-standard-8 18:24:56 INFO: Archiving Costs [Pipeline] sh 18:24:55 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:24:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:24:56 + cat /w/workspace/undry_device-onvif-camera_PR-171/archives/cost.csv 18:24:56 + cut -d, -f6 [Pipeline] lock 18:24:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] 18:24:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] did not exist. Created. 18:24:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:24:56 + echo total: 0.2199999988079071 [Pipeline] stash 18:24:56 Stashed 1 file(s) [Pipeline] } 18:24:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:24:56 $ docker stop --time=1 497c776bef9a77776b04c1fa03d28c6296f027888fc03b5881aa7d145938f125 18:24:57 Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit 0098c075bcc993362c49da90c8b4ea59cb51e9ec 18:24:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:24:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:24:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:24:56 Verifying host key using known hosts file 18:24:56 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. 18:24:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:24:57 > git config core.sparsecheckout # timeout=10 18:24:57 > git checkout -f 0098c075bcc993362c49da90c8b4ea59cb51e9ec # timeout=10 18:24:57 > git remote # timeout=10 18:24:57 > git config --get remote.origin.url # timeout=10 18:24:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:24:57 Verifying host key using known hosts file 18:24: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. 18:24:57 > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 18:24:57 Merge succeeded, producing 7d903ae391fffcabcbc1ff83650844782f9aa216 18:24:57 Checking out Revision 7d903ae391fffcabcbc1ff83650844782f9aa216 (PR-171) 18:24:57 $ docker rm -f 497c776bef9a77776b04c1fa03d28c6296f027888fc03b5881aa7d145938f125 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:24:57 > git rev-parse HEAD^{commit} # timeout=10 18:24:57 > git config core.sparsecheckout # timeout=10 18:24:57 > git checkout -f 7d903ae391fffcabcbc1ff83650844782f9aa216 # timeout=10 18:25:01 Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" 18:25:01 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:25:01 > git rev-list --no-walk 3a896a9a9fef18f6179b9077942c70eae6bdba11 # timeout=10 18:25:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:25:02 % Total % Received % Xferd Average Speed Time Time Time Current 18:25:02 Dload Upload Total Spent Left Speed 18:25:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 72425 0 --:--:-- --:--:-- --:--:-- 72425 [Pipeline] sh 18:25:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:25:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:25:03 + sudo tee /etc/docker/daemon.new 18:25:03 { 18:25:03 "registry-mirrors": [ 18:25:03 "https://nexus3.edgexfoundry.org:10001" 18:25:03 ], 18:25:03 "bip": "10.250.0.254/24", 18:25:03 "hosts": [ 18:25:03 "tcp://0.0.0.0:5555", 18:25:03 "unix:///var/run/docker.sock" 18:25:03 ], 18:25:03 "mtu": 1458, 18:25:03 "selinux-enabled": true, 18:25:03 "seccomp-profile": "/etc/docker/seccomp.json" 18:25:03 } [Pipeline] sh 18:25:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:25:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:25:22 provisioning config files... 18:25:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config8576635501043940858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:22 ---> docker-login.sh 18:25:22 nexus3.edgexfoundry.org:10001 18:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:23 Configure a credential helper to remove this warning. See 18:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:23 18:25:23 Login Succeeded 18:25:23 nexus3.edgexfoundry.org:10002 18:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:23 Configure a credential helper to remove this warning. See 18:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:23 18:25:23 Login Succeeded 18:25:23 nexus3.edgexfoundry.org:10003 18:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:24 Configure a credential helper to remove this warning. See 18:25:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:24 18:25:24 Login Succeeded 18:25:24 nexus3.edgexfoundry.org:10004 18:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:24 Configure a credential helper to remove this warning. See 18:25:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:24 18:25:24 Login Succeeded 18:25:24 docker.io 18:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:24 Configure a credential helper to remove this warning. See 18:25:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:24 18:25:24 Login Succeeded 18:25:24 ---> docker-login.sh ends [Pipeline] } 18:25:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:25:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:25:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:25:25 ========================================================= 18:25:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:25:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:25 + 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 . 18:25:25 Sending build context to Docker daemon 14.27MB 18:25:25 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 18:25:25 Step 2/14 : FROM ${BASE} AS builder 18:25:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:25:25 b3c136eddcbf: Pulling fs layer 18:25:25 c0a3192eca97: Pulling fs layer 18:25:25 a050256f5b6f: Pulling fs layer 18:25:25 656be50a0ddc: Pulling fs layer 18:25:25 2bbca73fdf42: Pulling fs layer 18:25:25 f607e4fc86c3: Pulling fs layer 18:25:25 4d572c569a2c: Pulling fs layer 18:25:25 fcf976331f73: Pulling fs layer 18:25:25 f607e4fc86c3: Waiting 18:25:25 4d572c569a2c: Waiting 18:25:25 fcf976331f73: Waiting 18:25:25 656be50a0ddc: Waiting 18:25:25 2bbca73fdf42: Waiting 18:25:25 a050256f5b6f: Download complete 18:25:25 c0a3192eca97: Download complete 18:25:25 2bbca73fdf42: Verifying Checksum 18:25:25 2bbca73fdf42: Download complete 18:25:25 f607e4fc86c3: Download complete 18:25:25 b3c136eddcbf: Verifying Checksum 18:25:25 b3c136eddcbf: Download complete 18:25:26 b3c136eddcbf: Pull complete 18:25:27 fcf976331f73: Verifying Checksum 18:25:27 fcf976331f73: Download complete 18:25:27 c0a3192eca97: Pull complete 18:25:28 a050256f5b6f: Pull complete 18:25:28 4d572c569a2c: Verifying Checksum 18:25:28 4d572c569a2c: Download complete 18:25:28 656be50a0ddc: Verifying Checksum 18:25:28 656be50a0ddc: Download complete 18:25:41 656be50a0ddc: Pull complete 18:25:41 2bbca73fdf42: Pull complete 18:25:41 f607e4fc86c3: Pull complete 18:25:48 4d572c569a2c: Pull complete 18:25:50 fcf976331f73: Pull complete 18:25:50 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 18:25:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:25:50 ---> 3970a7415f9e 18:25:50 Step 3/14 : ARG ADD_BUILD_TAGS="" 18:25:51 ---> Running in a27375780ba3 18:25:51 Removing intermediate container a27375780ba3 18:25:51 ---> 852983b93f91 18:25:51 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:25:51 ---> Running in 394a6f942e50 18:25:52 Removing intermediate container 394a6f942e50 18:25:52 ---> 5d30a08e6f40 18:25:52 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:25:52 ---> Running in e4b7cac8cba1 18:25:52 Removing intermediate container e4b7cac8cba1 18:25:52 ---> 3188989e5145 18:25:52 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 18:25:52 ---> Running in af235b407018 18:25:53 Removing intermediate container af235b407018 18:25:53 ---> 31fbaf03656c 18:25:53 Step 7/14 : LABEL Name=edgex-device-onvif-camera 18:25:53 ---> Running in a9302c0ccb0d 18:25:53 Removing intermediate container a9302c0ccb0d 18:25:53 ---> 7c97861f7810 18:25:53 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:25:53 ---> Running in ce0a20d5a0f6 18:25:54 Removing intermediate container ce0a20d5a0f6 18:25:54 ---> 19e82875dea5 18:25:54 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:25:55 ---> Running in 712ec41b48e2 18:25:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:25:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:25:57 OK: 221 MiB in 51 packages 18:25:58 Removing intermediate container 712ec41b48e2 18:25:58 ---> 2352552383ff 18:25:58 Step 10/14 : WORKDIR /device-onvif-camera 18:25:58 ---> Running in f36796909621 18:25:58 Removing intermediate container f36796909621 18:25:58 ---> 89288152f7ca 18:25:58 Step 11/14 : COPY go.mod vendor* ./ 18:25:59 ---> 28459c7128f4 18:25:59 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:25:59 ---> Running in f728a567b34f 18:26:55 Removing intermediate container f728a567b34f 18:26:55 ---> 57e66520fa96 18:26:55 Step 13/14 : COPY . . 18:26:55 ---> 5a12dba5742a 18:26:55 Step 14/14 : RUN ${MAKE} 18:26:55 ---> Running in c27be0ed34c3 18:26:55 noop 18:26:55 Removing intermediate container c27be0ed34c3 18:26:55 ---> cc075ddc5846 18:26:55 Successfully built cc075ddc5846 18:26:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:56 + docker inspect -f . ci-base-image-arm64 18:26:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:56 prd-ubuntu20.04-docker-arm64-4c-16g-7555 does not seem to be running inside a container 18:26:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** ci-base-image-arm64 cat 18:26:57 $ docker top 213176aa8dd7ef3f80443b6f7ca6a5e544f1a906f3251c8593d8daad0ed25995 -eo pid,comm [Pipeline] { [Pipeline] sh 18:26:58 + go version 18:26:58 go version go1.18.3 linux/arm64 [Pipeline] } 18:26:58 $ docker stop --time=1 213176aa8dd7ef3f80443b6f7ca6a5e544f1a906f3251c8593d8daad0ed25995 18:27:00 $ docker rm -f 213176aa8dd7ef3f80443b6f7ca6a5e544f1a906f3251c8593d8daad0ed25995 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:00 + docker inspect -f . ci-base-image-arm64 18:27:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:27:00 prd-ubuntu20.04-docker-arm64-4c-16g-7555 does not seem to be running inside a container 18:27:01 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** ci-base-image-arm64 cat 18:27:02 $ docker top 59fc345f8f96487abaa3bf5a0902afb63a9bdf388349ac5451b7aac2a0cc7ecf -eo pid,comm [Pipeline] { [Pipeline] sh 18:27:03 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 18:27:03 + make test 18:27:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:27:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:28:42 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:28:42 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.170s coverage: 28.2% of statements 18:28:42 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:29:00 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.465s coverage: 86.5% of statements 18:29:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:29:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:29:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:29:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:29:33 ./bin/test-attribution-txt.sh [Pipeline] echo 18:29:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:29:33 $ docker stop --time=1 59fc345f8f96487abaa3bf5a0902afb63a9bdf388349ac5451b7aac2a0cc7ecf 18:29:35 $ docker rm -f 59fc345f8f96487abaa3bf5a0902afb63a9bdf388349ac5451b7aac2a0cc7ecf [Pipeline] // withDockerContainer [Pipeline] sh 18:29:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:29:36 Warning: overwriting stash ‘coverage-report’ 18:29:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:29:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:29:37 + ls -al . 18:29:37 total 232 18:29:37 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 18:27 . 18:29:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:24 .. 18:29:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 18:24 .git 18:29:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 18:24 .github 18:29:37 -rw-rw-r-- 1 jenkins jenkins 418 Oct 10 18:24 .gitignore 18:29:37 -rw-rw-r-- 1 jenkins jenkins 42 Oct 10 18:24 .golangci.yml 18:29:37 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 10 18:24 Attribution.txt 18:29:37 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 10 18:24 CHANGELOG.md 18:29:37 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 10 18:24 Dockerfile 18:29:37 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 18:24 GOVERNANCE.md 18:29:37 -rw-rw-r-- 1 jenkins jenkins 734 Oct 10 18:24 Jenkinsfile 18:29:37 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 10 18:24 LICENSE 18:29:37 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 10 18:24 Makefile 18:29:37 -rw-rw-r-- 1 jenkins jenkins 625 Oct 10 18:24 OWNERS.md 18:29:37 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 10 18:24 README.md 18:29:37 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 18:23 VERSION 18:29:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 18:24 bin 18:29:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 18:24 cmd 18:29:37 -rw-r--r-- 1 jenkins jenkins 78461 Oct 10 18:29 coverage.out 18:29:37 drwxrwxr-x 6 jenkins jenkins 4096 Oct 10 18:24 doc 18:29:37 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 10 18:24 go.mod 18:29:37 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 10 18:24 go.sum 18:29:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:24 internal 18:29:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:24 snap 18:29:37 -rw-rw-r-- 1 jenkins jenkins 236 Oct 10 18:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:38 + 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=7d903ae391fffcabcbc1ff83650844782f9aa216 --label arch=arm64 --label version=0.0.0 . 18:29:40 Sending build context to Docker daemon 14.35MB 18:29:40 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:29:40 Step 2/27 : FROM ${BASE} AS builder 18:29:40 ---> cc075ddc5846 18:29:40 Step 3/27 : ARG ADD_BUILD_TAGS="" 18:29:40 ---> Running in 6d0bf7136531 18:29:40 Removing intermediate container 6d0bf7136531 18:29:40 ---> 10defa8be928 18:29:40 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:29:40 ---> Running in 9afa9e662423 18:29:40 Removing intermediate container 9afa9e662423 18:29:40 ---> cf52911024b5 18:29:40 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:29:40 ---> Running in b059bf43a075 18:29:41 Removing intermediate container b059bf43a075 18:29:41 ---> b22ac0111256 18:29:41 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 18:29:41 ---> Running in 2d12d40c72a7 18:29:41 Removing intermediate container 2d12d40c72a7 18:29:41 ---> 3e3e2eab4ed9 18:29:41 Step 7/27 : LABEL Name=edgex-device-onvif-camera 18:29:42 ---> Running in 02f8825c4488 18:29:42 Removing intermediate container 02f8825c4488 18:29:42 ---> 6b36222e81c9 18:29:42 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:29:42 ---> Running in 6906d8863a3e 18:29:44 Removing intermediate container 6906d8863a3e 18:29:44 ---> cd6c4a807711 18:29:44 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:29:44 ---> Running in 36ded9435b87 18:29:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:29:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:29:47 OK: 221 MiB in 51 packages 18:29:48 Removing intermediate container 36ded9435b87 18:29:48 ---> a65a250c8e40 18:29:48 Step 10/27 : WORKDIR /device-onvif-camera 18:29:48 ---> Running in 3387be46f876 18:29:48 Removing intermediate container 3387be46f876 18:29:48 ---> ea42587dc3db 18:29:48 Step 11/27 : COPY go.mod vendor* ./ 18:29:49 ---> dc8e0bc0ecc6 18:29:49 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:29:49 ---> Running in b91e5cd9cc6e 18:29:52 Removing intermediate container b91e5cd9cc6e 18:29:52 ---> 6ef990cd3f9d 18:29:52 Step 13/27 : COPY . . 18:29:55 ---> 4ad5f5f8bcd6 18:29:55 Step 14/27 : RUN ${MAKE} 18:29:55 ---> Running in 6b7e1cb43db2 18:29:56 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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 18:32:18 Removing intermediate container 6b7e1cb43db2 18:32:18 ---> ad8cdde1630e 18:32:18 Step 15/27 : FROM alpine:3.16 18:32:18 3.16: Pulling from library/alpine 18:32:18 9b18e9b68314: Pulling fs layer 18:32:18 9b18e9b68314: Verifying Checksum 18:32:18 9b18e9b68314: Download complete 18:32:18 9b18e9b68314: Pull complete 18:32:18 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:32:18 Status: Downloaded newer image for alpine:3.16 18:32:18 ---> a6215f271958 18:32:18 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:32:18 ---> Running in ac85f19f60a1 18:32:18 Removing intermediate container ac85f19f60a1 18:32:18 ---> 7ed6ca72a4da 18:32:18 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 18:32:18 ---> Running in 9f08978e851e 18:32:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:32:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:32:18 (1/6) Installing dumb-init (1.2.5-r1) 18:32:18 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:32:18 (3/6) Installing libsodium (1.0.18-r0) 18:32:18 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:32:18 (5/6) Installing libzmq (4.3.4-r0) 18:32:18 (6/6) Installing zeromq (4.3.4-r0) 18:32:18 Executing busybox-1.35.0-r17.trigger 18:32:18 OK: 8 MiB in 20 packages 18:32:18 Removing intermediate container 9f08978e851e 18:32:18 ---> 4be29f05d367 18:32:18 Step 18/27 : WORKDIR / 18:32:18 ---> Running in a4aa19ac9e0f 18:32:18 Removing intermediate container a4aa19ac9e0f 18:32:18 ---> 1ee894cc3ac7 18:32:18 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 18:32:20 ---> a3fba499dc85 18:32:20 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 18:32:20 ---> 5508573bc802 18:32:20 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:32:21 ---> 5113806d79df 18:32:21 Step 22/27 : EXPOSE 59984 18:32:21 ---> Running in 9373b904f044 18:32:21 Removing intermediate container 9373b904f044 18:32:21 ---> 37acdb8da8f7 18:32:21 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 18:32:21 ---> Running in 61093343dd44 18:32:21 Removing intermediate container 61093343dd44 18:32:21 ---> 225231331c1a 18:32:21 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:32:21 ---> Running in 0b37f1670fe2 18:32:22 Removing intermediate container 0b37f1670fe2 18:32:22 ---> 2f0ace69de2c 18:32:22 Step 25/27 : LABEL arch=arm64 18:32:22 ---> Running in 0393fc1c5ff2 18:32:22 Removing intermediate container 0393fc1c5ff2 18:32:22 ---> 5557281f70f8 18:32:22 Step 26/27 : LABEL git_sha=7d903ae391fffcabcbc1ff83650844782f9aa216 18:32:22 ---> Running in 8917faa26541 18:32:22 Removing intermediate container 8917faa26541 18:32:22 ---> b7ed3ed758f1 18:32:22 Step 27/27 : LABEL version=0.0.0 18:32:22 ---> Running in c94e5770ccaa 18:32:23 Removing intermediate container c94e5770ccaa 18:32:23 ---> a6bf9f0b905c 18:32:23 [Warning] One or more build-args [ARCH] were not consumed 18:32:23 Successfully built a6bf9f0b905c 18:32:23 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:32:23 18:32:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:32:23 arm64: Pulling from edgex-lftools-log-publisher 18:32:23 8998bd30e6a1: Pulling fs layer 18:32:23 04944245beec: Pulling fs layer 18:32:23 699f458cf7ca: Pulling fs layer 18:32:23 765212b225bb: Pulling fs layer 18:32:23 f23df028b6ca: Pulling fs layer 18:32:23 d65c8cfc05b1: Pulling fs layer 18:32:23 2437ff75d9bd: Pulling fs layer 18:32:23 765212b225bb: Waiting 18:32:23 f23df028b6ca: Waiting 18:32:23 d65c8cfc05b1: Waiting 18:32:23 2437ff75d9bd: Waiting 18:32:24 04944245beec: Verifying Checksum 18:32:24 04944245beec: Download complete 18:32:24 765212b225bb: Verifying Checksum 18:32:24 765212b225bb: Download complete 18:32:24 f23df028b6ca: Download complete 18:32:24 d65c8cfc05b1: Verifying Checksum 18:32:24 d65c8cfc05b1: Download complete 18:32:24 699f458cf7ca: Verifying Checksum 18:32:24 699f458cf7ca: Download complete 18:32:24 8998bd30e6a1: Verifying Checksum 18:32:24 8998bd30e6a1: Download complete 18:32:27 2437ff75d9bd: Verifying Checksum 18:32:27 2437ff75d9bd: Download complete 18:32:28 8998bd30e6a1: Pull complete 18:32:29 04944245beec: Pull complete 18:32:30 699f458cf7ca: Pull complete 18:32:30 765212b225bb: Pull complete 18:32:31 f23df028b6ca: Pull complete 18:32:31 d65c8cfc05b1: Pull complete 18:32:46 2437ff75d9bd: Pull complete 18:32:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:32:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:32:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:46 prd-ubuntu20.04-docker-arm64-4c-16g-7555 does not seem to be running inside a container 18:32:46 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:32:49 $ docker top e3f8be7eba2896ea56e0c2379617705348f275db009b85ec9280d4b2f52e6cbb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:32:50 ---> job-cost.sh 18:32:50 lf-activate-venv: SKIPPING 18:32:50 INFO: No Stack... 18:32:50 INFO: Retrieving Pricing Info for: v3-standard-4 18:32:51 INFO: Archiving Costs [Pipeline] sh 18:32:51 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 18:32:51 + cut -d, -f6 [Pipeline] lock 18:32:52 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] 18:32:52 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] did not exist. Created. 18:32:52 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:32:52 /w/workspace/device-onvif-camera/2@tmp/durable-6ef6b9ea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:32:52 + echo total: 0.10999999940395355 [Pipeline] stash 18:32:52 Warning: overwriting stash ‘stack-cost’ 18:32:52 Stashed 1 file(s) [Pipeline] } 18:32:52 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:32:52 $ docker stop --time=1 e3f8be7eba2896ea56e0c2379617705348f275db009b85ec9280d4b2f52e6cbb 18:32:54 $ docker rm -f e3f8be7eba2896ea56e0c2379617705348f275db009b85ec9280d4b2f52e6cbb [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 18:32:54 provisioning config files... 18:32:54 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config1221904536736338106tmp [Pipeline] { [Pipeline] sh 18:32:54 + set +x 18:32:54 + curl -s https://codecov.io/bash 18:32:54 + bash -s -- 18:32:54 18:32:54 _____ _ 18:32:54 / ____| | | 18:32:54 | | ___ __| | ___ ___ _____ __ 18:32:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:32:54 | |___| (_) | (_| | __/ (_| (_) \ V / 18:32:54 \_____\___/ \__,_|\___|\___\___/ \_/ 18:32:54 Bash-1.0.6 18:32:54 18:32:54 18:32:54 ==> git version 2.25.1 found 18:32:54 ==> 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 18:32:54 Release-Date: 2020-01-08 18:32:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:32:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:32:54 ==> Jenkins CI detected. 18:32:54 current dir:  /w/workspace/undry_device-onvif-camera_PR-171 18:32:54 project root: . 18:32:54 --> token set from env 18:32:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:32:54 ==> Running gcov in . (disable via -X gcov) 18:32:54 ==> Python coveragepy not found 18:32:54 ==> Searching for coverage reports in: 18:32:54 + . 18:32:54 -> Found 1 reports 18:32:54 ==> Detecting git/mercurial file structure 18:32:55 ==> Reading reports 18:32:55 + ./coverage.out bytes=78461 18:32:55 ==> Appending adjustments 18:32:55 https://docs.codecov.io/docs/fixing-reports 18:32:55 + Found adjustments 18:32:55 ==> Gzipping contents 18:32:55 12K /tmp/codecov.qYhBPc.gz 18:32:55 ==> Uploading reports 18:32:55 url: https://codecov.io 18:32:55 query: branch=PR-171&commit=72c4c4c250e2bbea19f542fbc8589bd260d79f24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-171%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=171&job=&cmd_args= 18:32:55 -> Pinging Codecov 18:32:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-171&commit=72c4c4c250e2bbea19f542fbc8589bd260d79f24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-171%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=171&job=&cmd_args= 18:32:55 -> Uploading to 18:32:55 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/F29A59C45E3A92E06B3E522C9905F8EF/72c4c4c250e2bbea19f542fbc8589bd260d79f24/f218e2f2-52cd-4406-bb70-4254bdcfa13f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T183255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42fe3267fe926cb452cafee9c69bea018eb4b6d4a3dd033cf11e2741b876351f 18:32:55 % Total % Received % Xferd Average Speed Time Time Time Current 18:32:55 Dload Upload Total Spent Left Speed 18:32:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10756 0 0 100 10756 0 45576 --:--:-- --:--:-- --:--:-- 45383 18:32:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/72c4c4c250e2bbea19f542fbc8589bd260d79f24 [Pipeline] } 18:32:55 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 18:32:56 + [ -d /w/workspace/undry_device-onvif-camera_PR-171/archives ] 18:32:56 + ls -al /w/workspace/undry_device-onvif-camera_PR-171/archives 18:32:56 total 16 18:32:56 drwxr-xr-x 3 root root 4096 Oct 10 18:24 . 18:32:56 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 18:24 .. 18:32:56 drwxr-xr-x 2 root root 4096 Oct 10 18:24 cost 18:32:56 -rw-r--r-- 1 root root 91 Oct 10 18:24 cost.csv 18:32:56 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-171/archives 18:32:56 + ls -al /w/workspace/undry_device-onvif-camera_PR-171/archives 18:32:56 total 16 18:32:56 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 18:24 . 18:32:56 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 18:24 .. 18:32:56 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 18:24 cost 18:32:56 -rw-r--r-- 1 jenkins jenkins 91 Oct 10 18:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:32:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:32:57 ---> package-listing.sh 18:32:57 ++ facter osfamily 18:32:57 ++ tr '[:upper:]' '[:lower:]' 18:32:57 + OS_FAMILY=debian 18:32:57 + workspace=/w/workspace/undry_device-onvif-camera_PR-171 18:32:57 + START_PACKAGES=/tmp/packages_start.txt 18:32:57 + END_PACKAGES=/tmp/packages_end.txt 18:32:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:32:57 + PACKAGES=/tmp/packages_start.txt 18:32:57 + '[' /w/workspace/undry_device-onvif-camera_PR-171 ']' 18:32:57 + PACKAGES=/tmp/packages_end.txt 18:32:57 + case "${OS_FAMILY}" in 18:32:57 + dpkg -l 18:32:57 + grep '^ii' 18:32:57 + '[' -f /tmp/packages_start.txt ']' 18:32:57 + '[' -f /tmp/packages_end.txt ']' 18:32:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:32:57 + '[' /w/workspace/undry_device-onvif-camera_PR-171 ']' 18:32:57 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-171/archives/ 18:32:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-171/archives/ [Pipeline] echo 18:32:57 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:32:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:32:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:58 prd-ubuntu20.04-docker-8c-8g-7554 does not seem to be running inside a container 18:32:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-171/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-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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:latest cat 18:32:58 $ docker top 77427929e780eb9b5942f7c557c73eeedf1684cd962842d428f7f81c4a44dd29 -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:59 + touch /tmp/pre-build-complete [Pipeline] sh 18:32:59 + mkdir -p /var/log/sysstat [Pipeline] sh 18:32:59 + ls /var/log/sa-host 18:32:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:32:59 provisioning config files... 18:32:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config18309849881774331249tmp [Pipeline] { [Pipeline] echo 18:33:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:33:00 ---> create-netrc.sh [Pipeline] } 18:33:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:33:00 ---> python-tools-install.sh [Pipeline] echo 18:33:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:33:00 ---> sudo-logs.sh 18:33:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:33:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:33:01 ---> job-cost.sh 18:33:01 lf-activate-venv: SKIPPING 18:33:01 DEBUG: total: 0.2199999988079071 18:33:01 INFO: Retrieving Stack Cost... 18:33:01 INFO: Retrieving Pricing Info for: v3-standard-8 18:33:02 INFO: Archiving Costs [Pipeline] echo 18:33:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:33:02 ---> logs-deploy.sh 18:33:02 lf-activate-venv: SKIPPING 18:33:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-171/2 18:33:02 INFO: archiving workspace using pattern(s): 18:33:03 Archives upload complete. 18:33:03 INFO: archiving logs to Nexus