Branch indexing 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 12ac4ca00df350acb7aaa5b8264558c40625f436 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 12ac4ca00df350acb7aaa5b8264558c40625f436 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-ssh7761479446903247612.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10530672815934171185.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12097207459775666274.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4824099515474567978.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-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11361052194838716618.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118983 in /w/workspace/undry_device-onvif-camera_PR-125 [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-125 # 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/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 12ac4ca00df350acb7aaa5b8264558c40625f436 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 000d5d7ded594ac533218f718a89cf2931e733a5 Checking out Revision 000d5d7ded594ac533218f718a89cf2931e733a5 (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # 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 12ac4ca00df350acb7aaa5b8264558c40625f436 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 000d5d7ded594ac533218f718a89cf2931e733a5 # timeout=10 Commit message: "Merge commit '12ac4ca00df350acb7aaa5b8264558c40625f436' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:11:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:11:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:11:41 ========================================================= 02:11:41 EdgeX Global Pipelines Version Info 02:11:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ba182baa3c849c5f872290e6923ab5641fd37d5d # timeout=10 02:11:41 ------------------- 02:11:41 stable info: 02:11:41 ------------------- 02:11:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:11:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:11:41 Message: update stable to v1.0.244 02:11:42 ------------------- 02:11:42 experimental info: 02:11:42 ------------------- 02:11:42 Commited By: **** collab-it+edgex@linuxfoundation.org 02:11:42 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:11:42 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 000d5d7ded594ac533218f718a89cf2931e733a5 [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 000d5d7 [Pipeline] echo 02:11:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:43 provisioning config files... 02:11:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config15400384923957203816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:43 ---> docker-login.sh 02:11:43 nexus3.edgexfoundry.org:10001 02:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:43 Configure a credential helper to remove this warning. See 02:11:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:43 02:11:43 Login Succeeded 02:11:43 nexus3.edgexfoundry.org:10002 02:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:43 Configure a credential helper to remove this warning. See 02:11:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:43 02:11:43 Login Succeeded 02:11:43 nexus3.edgexfoundry.org:10003 02:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:43 Configure a credential helper to remove this warning. See 02:11:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:43 02:11:43 Login Succeeded 02:11:43 nexus3.edgexfoundry.org:10004 02:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:43 Configure a credential helper to remove this warning. See 02:11:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:43 02:11:43 Login Succeeded 02:11:43 docker.io 02:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:44 Configure a credential helper to remove this warning. See 02:11:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:44 02:11:44 Login Succeeded 02:11:44 ---> docker-login.sh ends [Pipeline] } 02:11:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:11:44 + git rev-list -1 --merges 000d5d7ded594ac533218f718a89cf2931e733a5~1..000d5d7ded594ac533218f718a89cf2931e733a5 [Pipeline] echo 02:11:44 -----------> git rev-list -1 --merges 000d5d7ded594ac533218f718a89cf2931e733a5~1..000d5d7ded594ac533218f718a89cf2931e733a5 000d5d7ded594ac533218f718a89cf2931e733a5 02:11:44 000d5d7ded594ac533218f718a89cf2931e733a5 [false] [Pipeline] sh 02:11:45 + git log --format=format:%s -1 000d5d7ded594ac533218f718a89cf2931e733a5 [Pipeline] echo 02:11:45 ========================================================= 02:11:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:11:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:11:45 + git log --format=format:%s -1 000d5d7ded594ac533218f718a89cf2931e733a5 [Pipeline] echo 02:11:45 [semverPrep] GIT_COMMIT: 000d5d7ded594ac533218f718a89cf2931e733a5, Commit Message: Merge commit '12ac4ca00df350acb7aaa5b8264558c40625f436' into HEAD [Pipeline] echo 02:11:45 [semverPrep] This is not a build commit. [Pipeline] sh 02:11:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:11:45 + grep -v github /etc/ssh/ssh_known_hosts 02:11:45 + [ -e /tmp/ssh_known_hosts ] 02:11:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:11:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:11:45 + sudo tee -a /etc/ssh/ssh_known_hosts 02:11:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:46 02:11:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:46 0.1.4: Pulling from edgex-devops/py-git-semver 02:11:46 b85a868b505f: Pulling fs layer 02:11:46 e2be974225ed: Pulling fs layer 02:11:46 339a4e72a1f5: Pulling fs layer 02:11:46 988bab9f4d93: Pulling fs layer 02:11:46 1469e6f7b9e6: Pulling fs layer 02:11:46 eaf3925da568: Pulling fs layer 02:11:46 bab4dde63d76: Pulling fs layer 02:11:46 bde34c3a00c8: Pulling fs layer 02:11:46 b352a97aabf1: Pulling fs layer 02:11:46 4872d77fe225: Pulling fs layer 02:11:46 5851b861e8e6: Pulling fs layer 02:11:46 bde34c3a00c8: Waiting 02:11:46 b352a97aabf1: Waiting 02:11:46 988bab9f4d93: Waiting 02:11:46 1469e6f7b9e6: Waiting 02:11:46 4872d77fe225: Waiting 02:11:46 5851b861e8e6: Waiting 02:11:46 eaf3925da568: Waiting 02:11:46 bab4dde63d76: Waiting 02:11:46 e2be974225ed: Verifying Checksum 02:11:46 e2be974225ed: Download complete 02:11:46 988bab9f4d93: Verifying Checksum 02:11:46 988bab9f4d93: Download complete 02:11:46 1469e6f7b9e6: Verifying Checksum 02:11:46 1469e6f7b9e6: Download complete 02:11:46 eaf3925da568: Verifying Checksum 02:11:46 eaf3925da568: Download complete 02:11:46 339a4e72a1f5: Verifying Checksum 02:11:46 339a4e72a1f5: Download complete 02:11:46 bde34c3a00c8: Verifying Checksum 02:11:46 bde34c3a00c8: Download complete 02:11:46 b352a97aabf1: Download complete 02:11:46 4872d77fe225: Verifying Checksum 02:11:46 4872d77fe225: Download complete 02:11:46 5851b861e8e6: Verifying Checksum 02:11:46 5851b861e8e6: Download complete 02:11:46 b85a868b505f: Download complete 02:11:46 bab4dde63d76: Verifying Checksum 02:11:46 bab4dde63d76: Download complete 02:11:47 b85a868b505f: Pull complete 02:11:48 e2be974225ed: Pull complete 02:11:48 339a4e72a1f5: Pull complete 02:11:48 988bab9f4d93: Pull complete 02:11:49 1469e6f7b9e6: Pull complete 02:11:49 eaf3925da568: Pull complete 02:11:50 bab4dde63d76: Pull complete 02:11:50 bde34c3a00c8: Pull complete 02:11:51 b352a97aabf1: Pull complete 02:11:51 4872d77fe225: Pull complete 02:11:51 5851b861e8e6: Pull complete 02:11:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:11:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:51 prd-ubuntu20.04-docker-8c-8g-118983 does not seem to be running inside a container 02:11:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-devops/py-git-semver:0.1.4 cat 02:11:52 $ docker top ee7dcd1318cb0d5393f4fb8343dc6ef7d027796cb3bf8527204aedcb7c2b6e82 -eo pid,comm 02:11:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:11:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:11:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:52 [ssh-agent] Looking for ssh-agent implementation... 02:11:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:52 $ docker exec ee7dcd1318cb0d5393f4fb8343dc6ef7d027796cb3bf8527204aedcb7c2b6e82 ssh-agent 02:11:53 SSH_AUTH_SOCK=/tmp/ssh-LvwOi86wzNhc/agent.33 02:11:53 SSH_AGENT_PID=39 02:11:53 Running ssh-add (command line suppressed) 02:11:53 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_18138052643899286899.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_18138052643899286899.key) 02:11:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:53 + git tag --points-at HEAD [Pipeline] } 02:11:53 $ docker exec --env ******** --env ******** ee7dcd1318cb0d5393f4fb8343dc6ef7d027796cb3bf8527204aedcb7c2b6e82 ssh-agent -k 02:11:53 unset SSH_AUTH_SOCK; 02:11:53 unset SSH_AGENT_PID; 02:11:53 echo Agent pid 39 killed; 02:11:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:11:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:53 [ssh-agent] Looking for ssh-agent implementation... 02:11:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:53 $ docker exec ee7dcd1318cb0d5393f4fb8343dc6ef7d027796cb3bf8527204aedcb7c2b6e82 ssh-agent 02:11:53 SSH_AUTH_SOCK=/tmp/ssh-PO42fOx77crR/agent.71 02:11:53 SSH_AGENT_PID=77 02:11:53 Running ssh-add (command line suppressed) 02:11:54 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_17848721101623362818.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_17848721101623362818.key) 02:11:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:54 + git semver init 02:11:54 2022-11-11 02:11:54,496 [run_init] DEBUG init version:0.0.0 force:False 02:11:54 2022-11-11 02:11:54,497 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver 02:11:54 2022-11-11 02:11:54,497 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver 02:11:54 2022-11-11 02:11:54,498 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) 02:11:55 2022-11-11 02:11:55,614 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude 02:11:55 2022-11-11 02:11:55,615 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False 02:11:55 2022-11-11 02:11:55,615 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 02:11:55 2022-11-11 02:11:55,620 [execute] INFO git cat-file --batch-check 02:11:55 2022-11-11 02:11:55,621 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 02:11:55 2022-11-11 02:11:55,627 [execute] INFO git cat-file --batch 02:11:55 2022-11-11 02:11:55,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 02:11:55 2022-11-11 02:11:55,634 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 02:11:55 0.0.0 [Pipeline] } 02:11:55 $ docker exec --env ******** --env ******** ee7dcd1318cb0d5393f4fb8343dc6ef7d027796cb3bf8527204aedcb7c2b6e82 ssh-agent -k 02:11:56 unset SSH_AUTH_SOCK; 02:11:56 unset SSH_AGENT_PID; 02:11:56 echo Agent pid 77 killed; 02:11:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:11:56 + git semver [Pipeline] } 02:11:56 $ docker stop --time=1 ee7dcd1318cb0d5393f4fb8343dc6ef7d027796cb3bf8527204aedcb7c2b6e82 02:11:58 $ docker rm -f ee7dcd1318cb0d5393f4fb8343dc6ef7d027796cb3bf8527204aedcb7c2b6e82 [Pipeline] // withDockerContainer [Pipeline] sh 02:11:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:11:58 Stashed 1 file(s) [Pipeline] echo 02:11:58 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:58 provisioning config files... 02:11:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config10681393858937531844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:58 ---> docker-login.sh 02:11:58 nexus3.edgexfoundry.org:10001 02:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:58 Configure a credential helper to remove this warning. See 02:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:58 02:11:58 Login Succeeded 02:11:58 nexus3.edgexfoundry.org:10002 02:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:58 Configure a credential helper to remove this warning. See 02:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:58 02:11:58 Login Succeeded 02:11:58 nexus3.edgexfoundry.org:10003 02:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:59 Configure a credential helper to remove this warning. See 02:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:59 02:11:59 Login Succeeded 02:11:59 nexus3.edgexfoundry.org:10004 02:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:59 Configure a credential helper to remove this warning. See 02:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:59 02:11:59 Login Succeeded 02:11:59 docker.io 02:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:59 Configure a credential helper to remove this warning. See 02:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:59 02:11:59 Login Succeeded 02:11:59 ---> docker-login.sh ends [Pipeline] } 02:11:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:11:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:59 ========================================================= 02:11:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:11:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:12:00 Sending build context to Docker daemon 27.55MB 02:12:00 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 02:12:00 Step 2/13 : FROM ${BASE} AS builder 02:12:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:12:00 213ec9aee27d: Pulling fs layer 02:12:00 4583459ba037: Pulling fs layer 02:12:00 93c1e223e6f2: Pulling fs layer 02:12:00 53926ce57604: Pulling fs layer 02:12:00 21b2b0c7a3f4: Pulling fs layer 02:12:00 22ff95d597cd: Pulling fs layer 02:12:00 12d6caf4c0d1: Pulling fs layer 02:12:00 96b7cbca73a9: Pulling fs layer 02:12:00 a7acece74701: Pulling fs layer 02:12:00 12d6caf4c0d1: Waiting 02:12:00 53926ce57604: Waiting 02:12:00 96b7cbca73a9: Waiting 02:12:00 21b2b0c7a3f4: Waiting 02:12:00 22ff95d597cd: Waiting 02:12:00 a7acece74701: Waiting 02:12:00 93c1e223e6f2: Download complete 02:12:00 4583459ba037: Verifying Checksum 02:12:00 4583459ba037: Download complete 02:12:00 21b2b0c7a3f4: Verifying Checksum 02:12:00 21b2b0c7a3f4: Download complete 02:12:00 22ff95d597cd: Download complete 02:12:00 213ec9aee27d: Verifying Checksum 02:12:00 213ec9aee27d: Download complete 02:12:00 12d6caf4c0d1: Verifying Checksum 02:12:00 12d6caf4c0d1: Download complete 02:12:00 213ec9aee27d: Pull complete 02:12:00 4583459ba037: Pull complete 02:12:00 93c1e223e6f2: Pull complete 02:12:01 a7acece74701: Verifying Checksum 02:12:01 a7acece74701: Download complete 02:12:01 96b7cbca73a9: Verifying Checksum 02:12:01 96b7cbca73a9: Download complete 02:12:01 53926ce57604: Verifying Checksum 02:12:01 53926ce57604: Download complete 02:12:05 53926ce57604: Pull complete 02:12:05 21b2b0c7a3f4: Pull complete 02:12:05 22ff95d597cd: Pull complete 02:12:05 12d6caf4c0d1: Pull complete 02:12:07 96b7cbca73a9: Pull complete 02:12:08 a7acece74701: Pull complete 02:12:08 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:12:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:12:08 ---> db6d94c90886 02:12:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:12:10 ---> Running in ab8e8188655a 02:12:10 Removing intermediate container ab8e8188655a 02:12:10 ---> 5706848fdf67 02:12:10 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:12:10 ---> Running in 87fbaaf68175 02:12:10 Removing intermediate container 87fbaaf68175 02:12:10 ---> 50957ad977ec 02:12:10 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:12:10 ---> Running in cca24481b065 02:12:10 Removing intermediate container cca24481b065 02:12:10 ---> d724237f69c3 02:12:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:12:10 ---> Running in 8fad39a6d841 02:12:10 Removing intermediate container 8fad39a6d841 02:12:10 ---> 91096ff62ffa 02:12:10 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:12:10 ---> Running in d868e9588b87 02:12:10 Removing intermediate container d868e9588b87 02:12:10 ---> dfaf0079441e 02:12:10 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:12:10 ---> Running in b411b7ea6a80 02:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:12:11 OK: 211 MiB in 51 packages 02:12:11 Removing intermediate container b411b7ea6a80 02:12:11 ---> 4d4a022b0113 02:12:11 Step 9/13 : WORKDIR /device-onvif-camera 02:12:11 ---> Running in d652a263a7ed 02:12:11 Removing intermediate container d652a263a7ed 02:12:11 ---> 744fbff29aff 02:12:11 Step 10/13 : COPY go.mod vendor* ./ 02:12:12 ---> 2929f5608d7b 02:12:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:12 ---> Running in 146f050aea88 02:12:13 Still waiting to schedule task 02:12:13 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118979’ 02:12:30 Removing intermediate container 146f050aea88 02:12:30 ---> e79dc5e097a9 02:12:30 Step 12/13 : COPY . . 02:12:30 ---> 956701a55bf2 02:12:30 Step 13/13 : RUN ${MAKE} 02:12:30 ---> Running in fe8873fc80f9 02:12:30 noop 02:12:31 Removing intermediate container fe8873fc80f9 02:12:31 ---> bd7da1140749 02:12:31 Successfully built bd7da1140749 02:12:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:31 + docker inspect -f . ci-base-image-x86_64 02:12:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:31 prd-ubuntu20.04-docker-8c-8g-118983 does not seem to be running inside a container 02:12:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:12:32 $ docker top 2c65c3f7709bffae585627d9485245b26aa2defa9430fc6ab8351b4543458ad0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:32 + go version 02:12:32 go version go1.18.7 linux/amd64 [Pipeline] } 02:12:32 $ docker stop --time=1 2c65c3f7709bffae585627d9485245b26aa2defa9430fc6ab8351b4543458ad0 02:12:34 $ docker rm -f 2c65c3f7709bffae585627d9485245b26aa2defa9430fc6ab8351b4543458ad0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:34 + docker inspect -f . ci-base-image-x86_64 02:12:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:34 prd-ubuntu20.04-docker-8c-8g-118983 does not seem to be running inside a container 02:12:34 $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:12:34 $ docker top a1ba70aedc61ea78601016252f9d3c356f0242987eec1ce5b9bd2492b80a0816 -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:35 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh 02:12:35 + make test 02:12:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:12:35 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:12:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:12:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 29.3% of statements 02:12:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:12:49 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.458s coverage: 86.5% of statements 02:12:58 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 02:12:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:13:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:13:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:13:01 ./bin/test-attribution-txt.sh [Pipeline] echo 02:13:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:13:01 $ docker stop --time=1 a1ba70aedc61ea78601016252f9d3c356f0242987eec1ce5b9bd2492b80a0816 02:13:03 $ docker rm -f a1ba70aedc61ea78601016252f9d3c356f0242987eec1ce5b9bd2492b80a0816 [Pipeline] // withDockerContainer [Pipeline] sh 02:13:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:13:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:13:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:13:04 + ls -al . 02:13:04 total 248 02:13:04 drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 02:12 . 02:13:04 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:11 .. 02:13:04 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 02:12 .git 02:13:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:11 .github 02:13:04 -rw-rw-r-- 1 jenkins jenkins 496 Nov 11 02:11 .gitignore 02:13:04 -rw-rw-r-- 1 jenkins jenkins 42 Nov 11 02:11 .golangci.yml 02:13:04 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 02:11 .semver 02:13:04 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 11 02:11 Attribution.txt 02:13:04 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 11 02:11 CHANGELOG.md 02:13:04 -rw-rw-r-- 1 jenkins jenkins 1710 Nov 11 02:11 Dockerfile 02:13:04 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 02:11 GOVERNANCE.md 02:13:04 -rw-rw-r-- 1 jenkins jenkins 734 Nov 11 02:11 Jenkinsfile 02:13:04 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 11 02:11 LICENSE 02:13:04 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 11 02:11 Makefile 02:13:04 -rw-rw-r-- 1 jenkins jenkins 625 Nov 11 02:11 OWNERS.md 02:13:04 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 11 02:11 README.md 02:13:04 -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 02:11 VERSION 02:13:04 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 02:11 bin 02:13:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:11 cmd 02:13:04 -rw-r--r-- 1 jenkins jenkins 79184 Nov 11 02:12 coverage.out 02:13:04 drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 02:11 doc 02:13:04 -rw-rw-r-- 1 jenkins jenkins 3687 Nov 11 02:11 go.mod 02:13:04 -rw-rw-r-- 1 jenkins jenkins 46105 Nov 11 02:11 go.sum 02:13:04 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:11 internal 02:13:04 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:11 snap 02:13:04 -rw-rw-r-- 1 jenkins jenkins 236 Nov 11 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:04 + 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=000d5d7ded594ac533218f718a89cf2931e733a5 --label arch=amd64 --label version=0.0.0 . 02:13:04 Sending build context to Docker daemon 27.63MB 02:13:04 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 02:13:04 Step 2/27 : FROM ${BASE} AS builder 02:13:04 ---> bd7da1140749 02:13:04 Step 3/27 : ARG ADD_BUILD_TAGS="" 02:13:04 ---> Running in a80e210e2a65 02:13:04 Removing intermediate container a80e210e2a65 02:13:04 ---> 6e5fbe1d4958 02:13:04 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:13:04 ---> Running in 4dd3b97600cd 02:13:05 Removing intermediate container 4dd3b97600cd 02:13:05 ---> 1114305c54a4 02:13:05 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:13:05 ---> Running in b194c7564ca9 02:13:05 Removing intermediate container b194c7564ca9 02:13:05 ---> 17a1819e8dda 02:13:05 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 02:13:05 ---> Running in 47d50de4aacf 02:13:05 Removing intermediate container 47d50de4aacf 02:13:05 ---> 26a7fe9cfeed 02:13:05 Step 7/27 : LABEL Name=edgex-device-onvif-camera 02:13:05 ---> Running in 4cc44d1f83f9 02:13:05 Removing intermediate container 4cc44d1f83f9 02:13:05 ---> de306b8082a6 02:13:05 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:13:05 ---> Running in 87860311dc68 02:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:13:06 OK: 211 MiB in 51 packages 02:13:06 Removing intermediate container 87860311dc68 02:13:06 ---> 2b28e8ff4ab1 02:13:06 Step 9/27 : WORKDIR /device-onvif-camera 02:13:06 ---> Running in 03f2dc30fe6b 02:13:06 Removing intermediate container 03f2dc30fe6b 02:13:06 ---> 39791ad6575d 02:13:06 Step 10/27 : COPY go.mod vendor* ./ 02:13:06 ---> 251d6123066f 02:13:06 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:13:06 ---> Running in 90f046680097 02:13:07 Removing intermediate container 90f046680097 02:13:07 ---> cf8ec4ff9260 02:13:07 Step 12/27 : COPY . . 02:13:08 ---> 6d92f40dceda 02:13:08 Step 13/27 : RUN ${MAKE} 02:13:08 ---> Running in 13d49a415d69 02:13:08 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" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:13:30 Removing intermediate container 13d49a415d69 02:13:30 ---> d84a31132c4d 02:13:30 Step 14/27 : FROM alpine:3.16 02:13:30 3.16: Pulling from library/alpine 02:13:30 213ec9aee27d: Already exists 02:13:30 Digest: sha256:65a2763f593ae85fab3b5406dc9e80f744ec5b449f269b699b5efd37a07ad32e 02:13:30 Status: Downloaded newer image for alpine:3.16 02:13:30 ---> 9c6f07244728 02:13:30 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:13:30 ---> Running in 8daa40311820 02:13:30 Removing intermediate container 8daa40311820 02:13:30 ---> 231eb2e3c154 02:13:30 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 02:13:30 ---> Running in 33dbae2572d0 02:13:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:13:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:13:30 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 02:13:30 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 02:13:30 (3/21) Installing readline (8.1.2-r0) 02:13:30 (4/21) Installing bash (5.1.16-r2) 02:13:30 Executing bash-5.1.16-r2.post-install 02:13:30 (5/21) Installing ca-certificates (20220614-r0) 02:13:30 (6/21) Installing brotli-libs (1.0.9-r6) 02:13:30 (7/21) Installing nghttp2-libs (1.47.0-r0) 02:13:30 (8/21) Installing libcurl (7.83.1-r4) 02:13:30 (9/21) Installing curl (7.83.1-r4) 02:13:30 (10/21) Installing dumb-init (1.2.5-r1) 02:13:30 (11/21) Installing oniguruma (6.9.8-r0) 02:13:30 (12/21) Installing jq (1.6-r1) 02:13:30 (13/21) Installing popt (1.18-r0) 02:13:30 (14/21) Installing pcre (8.45-r2) 02:13:30 (15/21) Installing slang (2.3.2-r0) 02:13:30 (16/21) Installing newt (0.52.21-r2) 02:13:30 (17/21) Installing libgcc (11.2.1_git20220219-r2) 02:13:30 (18/21) Installing libsodium (1.0.18-r0) 02:13:30 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 02:13:30 (20/21) Installing libzmq (4.3.4-r0) 02:13:30 (21/21) Installing zeromq (4.3.4-r0) 02:13:30 Executing busybox-1.35.0-r17.trigger 02:13:30 Executing ca-certificates-20220614-r0.trigger 02:13:30 OK: 17 MiB in 35 packages 02:13:30 Removing intermediate container 33dbae2572d0 02:13:30 ---> 6a25328738d9 02:13:30 Step 17/27 : WORKDIR / 02:13:30 ---> Running in 3f093abc776c 02:13:30 Removing intermediate container 3f093abc776c 02:13:30 ---> 56393157b0b6 02:13:30 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 02:13:31 ---> 0eab4ee039a2 02:13:31 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 02:13:31 ---> aea98eee7090 02:13:31 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:13:31 ---> 2d2831cb10b7 02:13:31 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 02:13:31 ---> 0e40917ce53c 02:13:31 Step 22/27 : EXPOSE 59984 02:13:31 ---> Running in 5d75e97d1217 02:13:31 Removing intermediate container 5d75e97d1217 02:13:31 ---> c08720943b66 02:13:31 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 02:13:31 ---> Running in d4ca0675959a 02:13:31 Removing intermediate container d4ca0675959a 02:13:31 ---> 7f0bda79f553 02:13:31 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:13:31 ---> Running in a1871830e551 02:13:31 Removing intermediate container a1871830e551 02:13:31 ---> be2a469952ce 02:13:31 Step 25/27 : LABEL arch=amd64 02:13:31 ---> Running in 7546c23f38db 02:13:32 Removing intermediate container 7546c23f38db 02:13:32 ---> 260a8edbaccb 02:13:32 Step 26/27 : LABEL git_sha=000d5d7ded594ac533218f718a89cf2931e733a5 02:13:32 ---> Running in 7dc6452bb41b 02:13:32 Removing intermediate container 7dc6452bb41b 02:13:32 ---> 6282ec9e1818 02:13:32 Step 27/27 : LABEL version=0.0.0 02:13:32 ---> Running in ec92af61842e 02:13:32 Removing intermediate container ec92af61842e 02:13:32 ---> b235e11633d5 02:13:32 [Warning] One or more build-args [ARCH] were not consumed 02:13:32 Successfully built b235e11633d5 02:13:32 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:32 02:13:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:33 latest: Pulling from edgex-lftools-log-publisher 02:13:33 5eb5b503b376: Pulling fs layer 02:13:33 5c69ac0246d0: Pulling fs layer 02:13:33 ec43610c2a17: Pulling fs layer 02:13:33 3a2ae6a8a46f: Pulling fs layer 02:13:33 33b1e0a273af: Pulling fs layer 02:13:33 5d3b04190fa2: Pulling fs layer 02:13:33 2f39f015ded8: Pulling fs layer 02:13:33 2f39f015ded8: Waiting 02:13:33 5d3b04190fa2: Waiting 02:13:33 3a2ae6a8a46f: Waiting 02:13:33 33b1e0a273af: Waiting 02:13:33 5c69ac0246d0: Download complete 02:13:33 3a2ae6a8a46f: Verifying Checksum 02:13:33 3a2ae6a8a46f: Download complete 02:13:33 33b1e0a273af: Verifying Checksum 02:13:33 33b1e0a273af: Download complete 02:13:33 ec43610c2a17: Verifying Checksum 02:13:33 ec43610c2a17: Download complete 02:13:33 5d3b04190fa2: Verifying Checksum 02:13:33 5d3b04190fa2: Download complete 02:13:33 5eb5b503b376: Verifying Checksum 02:13:33 5eb5b503b376: Download complete 02:13:34 2f39f015ded8: Download complete 02:13:34 5eb5b503b376: Pull complete 02:13:34 5c69ac0246d0: Pull complete 02:13:35 ec43610c2a17: Pull complete 02:13:35 3a2ae6a8a46f: Pull complete 02:13:35 33b1e0a273af: Pull complete 02:13:35 5d3b04190fa2: Pull complete 02:13:39 2f39f015ded8: Pull complete 02:13:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:13:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:39 prd-ubuntu20.04-docker-8c-8g-118983 does not seem to be running inside a container 02:13:39 $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:13:41 $ docker top 71441c6c376dc0498d237a59a29ce31ed15f76a6ccd844706f74d77ace44a06c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:41 ---> job-cost.sh 02:13:41 lf-activate-venv: SKIPPING 02:13:41 INFO: No Stack... 02:13:42 INFO: Retrieving Pricing Info for: v3-standard-8 02:13:42 INFO: Archiving Costs [Pipeline] sh 02:13:42 + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv 02:13:42 + cut -d, -f6 [Pipeline] lock 02:13:42 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-30-stack-cost] 02:13:42 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-30-stack-cost] did not exist. Created. 02:13:42 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:43 + echo total: 0.2199999988079071 [Pipeline] stash 02:13:43 Stashed 1 file(s) [Pipeline] } 02:13:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-30-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:43 $ docker stop --time=1 71441c6c376dc0498d237a59a29ce31ed15f76a6ccd844706f74d77ace44a06c 02:13:44 $ docker rm -f 71441c6c376dc0498d237a59a29ce31ed15f76a6ccd844706f74d77ace44a06c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:14:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118987 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws 02:14:53 Running in /w/workspace/device-onvif-camera/30 [Pipeline] { [Pipeline] checkout 02:14:53 The recommended git tool is: git 02:14:59 using credential edgex-jenkins-ssh 02:14:59 Cloning the remote Git repository 02:14:59 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:14:59 > git init /w/workspace/device-onvif-camera/30 # timeout=10 02:14:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:14:59 > git --version # timeout=10 02:14:59 > git --version # 'git version 2.25.1' 02:14:59 using GIT_SSH to set credentials SSH Credentials for GitHub 02:14:59 Verifying host key using known hosts file 02:14:59 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 02:14:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:15:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:15:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:15:02 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:15:03 Merging remotes/origin/main commit 12ac4ca00df350acb7aaa5b8264558c40625f436 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 02:15:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:15:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:02 Verifying host key using known hosts file 02:15:02 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 02:15:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:15:03 > git config core.sparsecheckout # timeout=10 02:15:03 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 02:15:03 > git remote # timeout=10 02:15:03 > git config --get remote.origin.url # timeout=10 02:15:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:03 Verifying host key using known hosts file 02:15:03 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 02:15:03 > git merge 12ac4ca00df350acb7aaa5b8264558c40625f436 # timeout=10 02:15:04 Merge succeeded, producing 7ab38b5064460d20a0ba9652b5c3974c395ca986 02:15:04 Checking out Revision 7ab38b5064460d20a0ba9652b5c3974c395ca986 (PR-125) 02:15:04 > git rev-parse HEAD^{commit} # timeout=10 02:15:04 > git config core.sparsecheckout # timeout=10 02:15:04 > git checkout -f 7ab38b5064460d20a0ba9652b5c3974c395ca986 # timeout=10 02:15:07 Commit message: "Merge commit '12ac4ca00df350acb7aaa5b8264558c40625f436' into HEAD" 02:15:07 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:15:07 > git rev-list --no-walk ba182baa3c849c5f872290e6923ab5641fd37d5d # timeout=10 02:15:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:15:08 % Total % Received % Xferd Average Speed Time Time Time Current 02:15:08 Dload Upload Total Spent Left Speed 02:15:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh 02:15:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:15:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:15:09 + sudo tee /etc/docker/daemon.new 02:15:09 { 02:15:09 "registry-mirrors": [ 02:15:09 "https://nexus3.edgexfoundry.org:10001" 02:15:09 ], 02:15:09 "bip": "10.250.0.254/24", 02:15:09 "hosts": [ 02:15:09 "tcp://0.0.0.0:5555", 02:15:09 "unix:///var/run/docker.sock" 02:15:09 ], 02:15:09 "mtu": 1458, 02:15:09 "selinux-enabled": true, 02:15:09 "seccomp-profile": "/etc/docker/seccomp.json" 02:15:09 } [Pipeline] sh 02:15:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:15:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:15:28 provisioning config files... 02:15:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/30@tmp/config18184937616346719271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:15:29 ---> docker-login.sh 02:15:29 nexus3.edgexfoundry.org:10001 02:15:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:29 Configure a credential helper to remove this warning. See 02:15:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:29 02:15:29 Login Succeeded 02:15:29 nexus3.edgexfoundry.org:10002 02:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:30 Configure a credential helper to remove this warning. See 02:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:30 02:15:30 Login Succeeded 02:15:30 nexus3.edgexfoundry.org:10003 02:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:30 Configure a credential helper to remove this warning. See 02:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:30 02:15:30 Login Succeeded 02:15:30 nexus3.edgexfoundry.org:10004 02:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:31 Configure a credential helper to remove this warning. See 02:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:31 02:15:31 Login Succeeded 02:15:31 docker.io 02:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:31 Configure a credential helper to remove this warning. See 02:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:31 02:15:31 Login Succeeded 02:15:31 ---> docker-login.sh ends [Pipeline] } 02:15:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:15:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:15:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:15:32 ========================================================= 02:15:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:15:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:15:32 Sending build context to Docker daemon 20.47MB 02:15:32 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 02:15:32 Step 2/13 : FROM ${BASE} AS builder 02:15:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:15:33 9b18e9b68314: Pulling fs layer 02:15:33 35d82f9e3411: Pulling fs layer 02:15:33 e16973657156: Pulling fs layer 02:15:33 fc693d55d65f: Pulling fs layer 02:15:33 7e9fc2657dce: Pulling fs layer 02:15:33 dda99020689f: Pulling fs layer 02:15:33 db1c61fa0a46: Pulling fs layer 02:15:33 891c053d2c06: Pulling fs layer 02:15:33 7e9fc2657dce: Waiting 02:15:33 dda99020689f: Waiting 02:15:33 db1c61fa0a46: Waiting 02:15:33 891c053d2c06: Waiting 02:15:33 fc693d55d65f: Waiting 02:15:33 e16973657156: Verifying Checksum 02:15:33 e16973657156: Download complete 02:15:33 35d82f9e3411: Download complete 02:15:33 7e9fc2657dce: Verifying Checksum 02:15:33 7e9fc2657dce: Download complete 02:15:33 dda99020689f: Verifying Checksum 02:15:33 dda99020689f: Download complete 02:15:33 9b18e9b68314: Download complete 02:15:34 9b18e9b68314: Pull complete 02:15:34 891c053d2c06: Verifying Checksum 02:15:34 891c053d2c06: Download complete 02:15:35 35d82f9e3411: Pull complete 02:15:35 e16973657156: Pull complete 02:15:36 db1c61fa0a46: Verifying Checksum 02:15:36 db1c61fa0a46: Download complete 02:15:36 fc693d55d65f: Verifying Checksum 02:15:36 fc693d55d65f: Download complete 02:15:49 fc693d55d65f: Pull complete 02:15:49 7e9fc2657dce: Pull complete 02:15:49 dda99020689f: Pull complete 02:15:55 db1c61fa0a46: Pull complete 02:15:57 891c053d2c06: Pull complete 02:15:57 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:15:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:15:57 ---> f96f9c87975a 02:15:57 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:15:59 ---> Running in 9b7762254c6f 02:15:59 Removing intermediate container 9b7762254c6f 02:15:59 ---> c63cb81c09cd 02:15:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:15:59 ---> Running in 5b3103a1e7f0 02:15:59 Removing intermediate container 5b3103a1e7f0 02:15:59 ---> 2b8e233ffb3e 02:15:59 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:15:59 ---> Running in aac582f8425a 02:16:00 Removing intermediate container aac582f8425a 02:16:00 ---> 67f1cf9d6db0 02:16:00 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:16:00 ---> Running in 0cbd2b485b86 02:16:00 Removing intermediate container 0cbd2b485b86 02:16:00 ---> 53780887be08 02:16:00 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:16:00 ---> Running in fbfe92fbb583 02:16:01 Removing intermediate container fbfe92fbb583 02:16:01 ---> ef787d68abc0 02:16:01 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:16:01 ---> Running in 0be5efdbcbb7 02:16:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:16:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:16:03 OK: 221 MiB in 51 packages 02:16:04 Removing intermediate container 0be5efdbcbb7 02:16:04 ---> 9ace5dc9a67a 02:16:04 Step 9/13 : WORKDIR /device-onvif-camera 02:16:05 ---> Running in 6b8d344ba9c9 02:16:05 Removing intermediate container 6b8d344ba9c9 02:16:05 ---> ea4b753c02ee 02:16:05 Step 10/13 : COPY go.mod vendor* ./ 02:16:05 ---> dda391c22d27 02:16:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:16:05 ---> Running in 88346eb703ce 02:17:02 Removing intermediate container 88346eb703ce 02:17:02 ---> 5f29c840c53d 02:17:02 Step 12/13 : COPY . . 02:17:02 ---> ff1128c32879 02:17:02 Step 13/13 : RUN ${MAKE} 02:17:02 ---> Running in c594e9ce57e0 02:17:02 noop 02:17:02 Removing intermediate container c594e9ce57e0 02:17:02 ---> b5ab45bae3f4 02:17:02 Successfully built b5ab45bae3f4 02:17:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:03 + docker inspect -f . ci-base-image-arm64 02:17:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:03 prd-ubuntu20.04-docker-arm64-4c-16g-118987 does not seem to be running inside a container 02:17:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/30 -v /w/workspace/device-onvif-camera/30:/w/workspace/device-onvif-camera/30:rw,z -v /w/workspace/device-onvif-camera/30@tmp:/w/workspace/device-onvif-camera/30@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 02:17:04 $ docker top bfc8dcfb623abd913c94ed8759cd41a6c43aa4e48872b3829850744c3d4cdd58 -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:05 + go version 02:17:05 go version go1.18.7 linux/arm64 [Pipeline] } 02:17:05 $ docker stop --time=1 bfc8dcfb623abd913c94ed8759cd41a6c43aa4e48872b3829850744c3d4cdd58 02:17:07 $ docker rm -f bfc8dcfb623abd913c94ed8759cd41a6c43aa4e48872b3829850744c3d4cdd58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:07 + docker inspect -f . ci-base-image-arm64 02:17:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:08 prd-ubuntu20.04-docker-arm64-4c-16g-118987 does not seem to be running inside a container 02:17:08 $ 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/30 -v /w/workspace/device-onvif-camera/30:/w/workspace/device-onvif-camera/30:rw,z -v /w/workspace/device-onvif-camera/30@tmp:/w/workspace/device-onvif-camera/30@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 02:17:09 $ docker top 2555b38d68ad4037f7cf717c1e2eb8fc5ffc2879f96fb8d48467af178c91b727 -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:10 + git config --global --add safe.directory /w/workspace/device-onvif-camera/30 [Pipeline] fileExists [Pipeline] sh 02:17:10 + make test 02:17:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:17:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:19:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:19:07 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.212s coverage: 29.3% of statements 02:19:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:19:22 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.557s coverage: 86.5% of statements 02:19:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:19:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:20:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:20:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:20:01 ./bin/test-attribution-txt.sh [Pipeline] echo 02:20:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:20:01 $ docker stop --time=1 2555b38d68ad4037f7cf717c1e2eb8fc5ffc2879f96fb8d48467af178c91b727 02:20:03 $ docker rm -f 2555b38d68ad4037f7cf717c1e2eb8fc5ffc2879f96fb8d48467af178c91b727 [Pipeline] // withDockerContainer [Pipeline] sh 02:20:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:20:04 Warning: overwriting stash ‘coverage-report’ 02:20:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:20:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:20:06 + ls -al . 02:20:06 total 244 02:20:06 drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 02:17 . 02:20:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:14 .. 02:20:06 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 02:15 .git 02:20:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:15 .github 02:20:06 -rw-rw-r-- 1 jenkins jenkins 496 Nov 11 02:15 .gitignore 02:20:06 -rw-rw-r-- 1 jenkins jenkins 42 Nov 11 02:15 .golangci.yml 02:20:06 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 11 02:15 Attribution.txt 02:20:06 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 11 02:15 CHANGELOG.md 02:20:06 -rw-rw-r-- 1 jenkins jenkins 1710 Nov 11 02:15 Dockerfile 02:20:06 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 02:15 GOVERNANCE.md 02:20:06 -rw-rw-r-- 1 jenkins jenkins 734 Nov 11 02:15 Jenkinsfile 02:20:06 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 11 02:15 LICENSE 02:20:06 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 11 02:15 Makefile 02:20:06 -rw-rw-r-- 1 jenkins jenkins 625 Nov 11 02:15 OWNERS.md 02:20:06 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 11 02:15 README.md 02:20:06 -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 02:11 VERSION 02:20:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 02:15 bin 02:20:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:15 cmd 02:20:06 -rw-r--r-- 1 jenkins jenkins 79184 Nov 11 02:19 coverage.out 02:20:06 drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 02:15 doc 02:20:06 -rw-rw-r-- 1 jenkins jenkins 3687 Nov 11 02:15 go.mod 02:20:06 -rw-rw-r-- 1 jenkins jenkins 46105 Nov 11 02:15 go.sum 02:20:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:15 internal 02:20:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:15 snap 02:20:06 -rw-rw-r-- 1 jenkins jenkins 236 Nov 11 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:20:06 + 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=7ab38b5064460d20a0ba9652b5c3974c395ca986 --label arch=arm64 --label version=0.0.0 . 02:20:07 Sending build context to Docker daemon 20.55MB 02:20:07 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 02:20:07 Step 2/27 : FROM ${BASE} AS builder 02:20:07 ---> b5ab45bae3f4 02:20:07 Step 3/27 : ARG ADD_BUILD_TAGS="" 02:20:08 ---> Running in 11a49dd1f8d0 02:20:09 Removing intermediate container 11a49dd1f8d0 02:20:09 ---> 9cc761a70198 02:20:09 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:20:09 ---> Running in fa19456ace25 02:20:09 Removing intermediate container fa19456ace25 02:20:09 ---> c887748530ed 02:20:09 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:20:09 ---> Running in c8f3397e7ce2 02:20:10 Removing intermediate container c8f3397e7ce2 02:20:10 ---> 63a2894f0a98 02:20:10 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 02:20:10 ---> Running in ca41aab37d0c 02:20:10 Removing intermediate container ca41aab37d0c 02:20:10 ---> 4c3952acacca 02:20:10 Step 7/27 : LABEL Name=edgex-device-onvif-camera 02:20:10 ---> Running in 5746ad507375 02:20:11 Removing intermediate container 5746ad507375 02:20:11 ---> 801b851d4f60 02:20:11 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:20:11 ---> Running in 98d3952f53d9 02:20:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:20:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:20:14 OK: 221 MiB in 51 packages 02:20:16 Removing intermediate container 98d3952f53d9 02:20:16 ---> 5b87f9f88deb 02:20:16 Step 9/27 : WORKDIR /device-onvif-camera 02:20:16 ---> Running in e03f6039d01e 02:20:17 Removing intermediate container e03f6039d01e 02:20:17 ---> 75ad2329491c 02:20:17 Step 10/27 : COPY go.mod vendor* ./ 02:20:17 ---> 37f19fd7676a 02:20:17 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:20:17 ---> Running in b34576e5dcb5 02:20:20 Removing intermediate container b34576e5dcb5 02:20:20 ---> ee9aae15729c 02:20:20 Step 12/27 : COPY . . 02:20:23 ---> a3b9f5b295f3 02:20:23 Step 13/27 : RUN ${MAKE} 02:20:23 ---> Running in 904dd101c8f2 02:20:23 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" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:23:00 Removing intermediate container 904dd101c8f2 02:23:00 ---> d4d6f9bfe904 02:23:00 Step 14/27 : FROM alpine:3.16 02:23:00 3.16: Pulling from library/alpine 02:23:00 9b18e9b68314: Already exists 02:23:00 Digest: sha256:65a2763f593ae85fab3b5406dc9e80f744ec5b449f269b699b5efd37a07ad32e 02:23:00 Status: Downloaded newer image for alpine:3.16 02:23:00 ---> 16d65c69c39d 02:23:00 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:23:00 ---> Running in 3a18769b2db0 02:23:00 Removing intermediate container 3a18769b2db0 02:23:00 ---> 44a559f7cc2b 02:23:00 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 02:23:00 ---> Running in bcddd33d5fd1 02:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:23:01 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 02:23:01 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 02:23:01 (3/21) Installing readline (8.1.2-r0) 02:23:01 (4/21) Installing bash (5.1.16-r2) 02:23:01 Executing bash-5.1.16-r2.post-install 02:23:01 (5/21) Installing ca-certificates (20220614-r0) 02:23:01 (6/21) Installing brotli-libs (1.0.9-r6) 02:23:01 (7/21) Installing nghttp2-libs (1.47.0-r0) 02:23:01 (8/21) Installing libcurl (7.83.1-r4) 02:23:01 (9/21) Installing curl (7.83.1-r4) 02:23:01 (10/21) Installing dumb-init (1.2.5-r1) 02:23:01 (11/21) Installing oniguruma (6.9.8-r0) 02:23:01 (12/21) Installing jq (1.6-r1) 02:23:01 (13/21) Installing popt (1.18-r0) 02:23:01 (14/21) Installing pcre (8.45-r2) 02:23:01 (15/21) Installing slang (2.3.2-r0) 02:23:01 (16/21) Installing newt (0.52.21-r2) 02:23:01 (17/21) Installing libgcc (11.2.1_git20220219-r2) 02:23:01 (18/21) Installing libsodium (1.0.18-r0) 02:23:01 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 02:23:01 (20/21) Installing libzmq (4.3.4-r0) 02:23:01 (21/21) Installing zeromq (4.3.4-r0) 02:23:01 Executing busybox-1.35.0-r17.trigger 02:23:01 Executing ca-certificates-20220614-r0.trigger 02:23:02 OK: 16 MiB in 35 packages 02:23:03 Removing intermediate container bcddd33d5fd1 02:23:03 ---> d20b7bf353ac 02:23:03 Step 17/27 : WORKDIR / 02:23:03 ---> Running in a095e5f25c92 02:23:03 Removing intermediate container a095e5f25c92 02:23:03 ---> 81626c69ab61 02:23:03 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 02:23:05 ---> ac3810a650fa 02:23:05 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 02:23:05 ---> e1423b8137c8 02:23:05 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:23:06 ---> 79540cd6022c 02:23:06 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 02:23:06 ---> 350f4a40400c 02:23:06 Step 22/27 : EXPOSE 59984 02:23:06 ---> Running in f55ed23df2d2 02:23:07 Removing intermediate container f55ed23df2d2 02:23:07 ---> 2493e9ad1d25 02:23:07 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 02:23:07 ---> Running in cf2b8b9096c6 02:23:07 Removing intermediate container cf2b8b9096c6 02:23:07 ---> b1893b01c587 02:23:07 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:23:07 ---> Running in dda26710c053 02:23:07 Removing intermediate container dda26710c053 02:23:07 ---> 465e224cb2e1 02:23:07 Step 25/27 : LABEL arch=arm64 02:23:08 ---> Running in d142642d33c8 02:23:08 Removing intermediate container d142642d33c8 02:23:08 ---> a89a78187c3d 02:23:08 Step 26/27 : LABEL git_sha=7ab38b5064460d20a0ba9652b5c3974c395ca986 02:23:08 ---> Running in 2abff61d23d7 02:23:08 Removing intermediate container 2abff61d23d7 02:23:08 ---> c0505e05ef04 02:23:08 Step 27/27 : LABEL version=0.0.0 02:23:08 ---> Running in 2ec6d133cd31 02:23:08 Removing intermediate container 2ec6d133cd31 02:23:08 ---> 9e16e81129ea 02:23:08 [Warning] One or more build-args [ARCH] were not consumed 02:23:08 Successfully built 9e16e81129ea 02:23:09 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:09 02:23:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:09 arm64: Pulling from edgex-lftools-log-publisher 02:23:09 8998bd30e6a1: Pulling fs layer 02:23:09 04944245beec: Pulling fs layer 02:23:09 699f458cf7ca: Pulling fs layer 02:23:09 765212b225bb: Pulling fs layer 02:23:09 f23df028b6ca: Pulling fs layer 02:23:09 d65c8cfc05b1: Pulling fs layer 02:23:09 2437ff75d9bd: Pulling fs layer 02:23:09 d65c8cfc05b1: Waiting 02:23:09 2437ff75d9bd: Waiting 02:23:09 765212b225bb: Waiting 02:23:09 f23df028b6ca: Waiting 02:23:10 04944245beec: Verifying Checksum 02:23:10 04944245beec: Download complete 02:23:10 765212b225bb: Download complete 02:23:10 f23df028b6ca: Download complete 02:23:10 d65c8cfc05b1: Verifying Checksum 02:23:10 d65c8cfc05b1: Download complete 02:23:10 699f458cf7ca: Verifying Checksum 02:23:10 699f458cf7ca: Download complete 02:23:10 8998bd30e6a1: Verifying Checksum 02:23:10 8998bd30e6a1: Download complete 02:23:12 2437ff75d9bd: Verifying Checksum 02:23:12 2437ff75d9bd: Download complete 02:23:14 8998bd30e6a1: Pull complete 02:23:14 04944245beec: Pull complete 02:23:16 699f458cf7ca: Pull complete 02:23:16 765212b225bb: Pull complete 02:23:16 f23df028b6ca: Pull complete 02:23:16 d65c8cfc05b1: Pull complete 02:23:29 2437ff75d9bd: Pull complete 02:23:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:23:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:29 prd-ubuntu20.04-docker-arm64-4c-16g-118987 does not seem to be running inside a container 02:23:29 $ 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/30 -v /w/workspace/device-onvif-camera/30:/w/workspace/device-onvif-camera/30:rw,z -v /w/workspace/device-onvif-camera/30@tmp:/w/workspace/device-onvif-camera/30@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:23:31 $ docker top c96b9c0769c0b520dbc21f9a6f19ee8faf98d0c7d0a0d002b49a43aac1d73126 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:23:32 ---> job-cost.sh 02:23:32 lf-activate-venv: SKIPPING 02:23:32 INFO: No Stack... 02:23:33 INFO: Retrieving Pricing Info for: v3-standard-4 02:23:33 INFO: Archiving Costs [Pipeline] sh 02:23:34 + cat /w/workspace/device-onvif-camera/30/archives/cost.csv 02:23:34 + cut -d, -f6 [Pipeline] lock 02:23:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-30-stack-cost] 02:23:34 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-30-stack-cost] did not exist. Created. 02:23:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:23:34 /w/workspace/device-onvif-camera/30@tmp/durable-adb4567c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:23:35 + echo total: 0.10999999940395355 [Pipeline] stash 02:23:35 Warning: overwriting stash ‘stack-cost’ 02:23:35 Stashed 1 file(s) [Pipeline] } 02:23:35 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-30-stack-cost] [Pipeline] // lock [Pipeline] } 02:23:35 $ docker stop --time=1 c96b9c0769c0b520dbc21f9a6f19ee8faf98d0c7d0a0d002b49a43aac1d73126 02:23:37 $ docker rm -f c96b9c0769c0b520dbc21f9a6f19ee8faf98d0c7d0a0d002b49a43aac1d73126 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:23:37 provisioning config files... 02:23:37 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config17930376520025122232tmp [Pipeline] { [Pipeline] sh 02:23:37 + set +x 02:23:37 + curl -s https://codecov.io/bash 02:23:37 + bash -s -- 02:23:37 02:23:37 _____ _ 02:23:37 / ____| | | 02:23:37 | | ___ __| | ___ ___ _____ __ 02:23:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:23:37 | |___| (_) | (_| | __/ (_| (_) \ V / 02:23:37 \_____\___/ \__,_|\___|\___\___/ \_/ 02:23:37 Bash-1.0.6 02:23:37 02:23:37 02:23:37 ==> git version 2.25.1 found 02:23:37 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:23:37 Release-Date: 2020-01-08 02:23:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:23:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:23:37 ==> Jenkins CI detected. 02:23:37 current dir:  /w/workspace/undry_device-onvif-camera_PR-125 02:23:37 project root: . 02:23:37 --> token set from env 02:23:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:23:37 ==> Running gcov in . (disable via -X gcov) 02:23:37 ==> Python coveragepy not found 02:23:37 ==> Searching for coverage reports in: 02:23:37 + . 02:23:37 -> Found 1 reports 02:23:37 ==> Detecting git/mercurial file structure 02:23:37 ==> Reading reports 02:23:37 + ./coverage.out bytes=79184 02:23:37 ==> Appending adjustments 02:23:37 https://docs.codecov.io/docs/fixing-reports 02:23:38 + Found adjustments 02:23:38 ==> Gzipping contents 02:23:38 12K /tmp/codecov.Ut5F6A.gz 02:23:38 ==> Uploading reports 02:23:38 url: https://codecov.io 02:23:38 query: branch=PR-125&commit=000d5d7ded594ac533218f718a89cf2931e733a5&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 02:23:38 -> Pinging Codecov 02:23:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=000d5d7ded594ac533218f718a89cf2931e733a5&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 02:23:38 -> Uploading to 02:23:38 https://storage.googleapis.com/codecov/v4/raw/2022-11-11/F29A59C45E3A92E06B3E522C9905F8EF/000d5d7ded594ac533218f718a89cf2931e733a5/be3199fe-ffae-4f6d-8ec3-1909bf7d6c8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221111T022338Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=184ea873f56bc72543ff471a9fc3204b9ea214c4e9bee7c850b6f1c27232cf9d 02:23:38 % Total % Received % Xferd Average Speed Time Time Time Current 02:23:38 Dload Upload Total Spent Left Speed 02:23:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10879 0 0 100 10879 0 38578 --:--:-- --:--:-- --:--:-- 38578 02:23:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/000d5d7ded594ac533218f718a89cf2931e733a5 [Pipeline] } 02:23:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:23:39 + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] 02:23:39 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 02:23:39 total 16 02:23:39 drwxr-xr-x 3 root root 4096 Nov 11 02:13 . 02:23:39 drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 02:13 .. 02:23:39 drwxr-xr-x 2 root root 4096 Nov 11 02:13 cost 02:23:39 -rw-r--r-- 1 root root 92 Nov 11 02:13 cost.csv 02:23:39 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives 02:23:39 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 02:23:39 total 16 02:23:39 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 02:13 . 02:23:39 drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 02:13 .. 02:23:39 drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 02:13 cost 02:23:39 -rw-r--r-- 1 jenkins jenkins 92 Nov 11 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:23:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:23:40 ---> package-listing.sh 02:23:40 ++ facter osfamily 02:23:40 ++ tr '[:upper:]' '[:lower:]' 02:23:40 + OS_FAMILY=debian 02:23:40 + workspace=/w/workspace/undry_device-onvif-camera_PR-125 02:23:40 + START_PACKAGES=/tmp/packages_start.txt 02:23:40 + END_PACKAGES=/tmp/packages_end.txt 02:23:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:23:40 + PACKAGES=/tmp/packages_start.txt 02:23:40 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 02:23:40 + PACKAGES=/tmp/packages_end.txt 02:23:40 + case "${OS_FAMILY}" in 02:23:40 + dpkg -l 02:23:40 + grep '^ii' 02:23:40 + '[' -f /tmp/packages_start.txt ']' 02:23:40 + '[' -f /tmp/packages_end.txt ']' 02:23:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:23:40 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 02:23:40 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ 02:23:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo 02:23:40 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:23:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:23:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:41 prd-ubuntu20.04-docker-8c-8g-118983 does not seem to be running inside a container 02:23:41 $ 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-125/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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:23:41 $ docker top eac40d4606aa5b55d6209a23d2c3812cc0b9480f95522181f1c58c9d55e97d72 -eo pid,comm [Pipeline] { [Pipeline] sh 02:23:42 + touch /tmp/pre-build-complete [Pipeline] sh 02:23:42 + mkdir -p /var/log/sysstat [Pipeline] sh 02:23:42 + ls /var/log/sa-host 02:23:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:23:42 provisioning config files... 02:23:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config17362644026618090479tmp [Pipeline] { [Pipeline] echo 02:23:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:23:43 ---> create-netrc.sh [Pipeline] } 02:23:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:23:43 ---> python-tools-install.sh [Pipeline] echo 02:23:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:23:43 ---> sudo-logs.sh 02:23:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:23:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:23:44 ---> job-cost.sh 02:23:44 lf-activate-venv: SKIPPING 02:23:44 DEBUG: total: 0.2199999988079071 02:23:44 INFO: Retrieving Stack Cost... 02:23:44 INFO: Retrieving Pricing Info for: v3-standard-8 02:23:45 INFO: Archiving Costs [Pipeline] echo 02:23:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:23:45 ---> logs-deploy.sh 02:23:45 lf-activate-venv: SKIPPING 02:23:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/30 02:23:45 INFO: archiving workspace using pattern(s): 02:23:46 Archives upload complete. 02:23:46 INFO: archiving logs to Nexus