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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh16844674080676944726.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16596804261718362237.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-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-ssh994486202225700534.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6493406304030861801.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-ssh4755733128471534661.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-7023 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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 Checking out Revision 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 (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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 # timeout=10 Commit message: "Merge commit '22d74d2547d10604d43a59f451f2f1d479f6a1f2' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:13:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:13:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:13:27 ========================================================= 02:13:27 EdgeX Global Pipelines Version Info 02:13:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:13:27 ------------------- 02:13:27 stable info: 02:13:27 ------------------- 02:13:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:13:27 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:13:27 Message: update stable to v1.0.239 > git rev-list --no-walk ac48df99d62d077e86580b837722976113dedc64 # timeout=10 02:13:28 ------------------- 02:13:28 experimental info: 02:13:28 ------------------- 02:13:28 Commited By: **** collab-it+edgex@linuxfoundation.org 02:13:28 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:13:28 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d41d5f [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:13:29 provisioning config files... 02:13:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config10333927974671410779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:29 ---> docker-login.sh 02:13:29 nexus3.edgexfoundry.org:10001 02:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:29 Configure a credential helper to remove this warning. See 02:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:29 02:13:29 Login Succeeded 02:13:29 nexus3.edgexfoundry.org:10002 02:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:29 Configure a credential helper to remove this warning. See 02:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:29 02:13:29 Login Succeeded 02:13:29 nexus3.edgexfoundry.org:10003 02:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:30 Configure a credential helper to remove this warning. See 02:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:30 02:13:30 Login Succeeded 02:13:30 nexus3.edgexfoundry.org:10004 02:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:30 Configure a credential helper to remove this warning. See 02:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:30 02:13:30 Login Succeeded 02:13:30 docker.io 02:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:30 Configure a credential helper to remove this warning. See 02:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:30 02:13:30 Login Succeeded 02:13:30 ---> docker-login.sh ends [Pipeline] } 02:13:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:13:31 + git rev-list -1 --merges 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850~1..8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [Pipeline] echo 02:13:31 -----------> git rev-list -1 --merges 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850~1..8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 02:13:31 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [false] [Pipeline] sh 02:13:31 + git log --format=format:%s -1 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [Pipeline] echo 02:13:31 ========================================================= 02:13:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:13:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:13:31 + git log --format=format:%s -1 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [Pipeline] echo 02:13:31 [semverPrep] GIT_COMMIT: 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850, Commit Message: Merge commit '22d74d2547d10604d43a59f451f2f1d479f6a1f2' into HEAD [Pipeline] echo 02:13:31 [semverPrep] This is not a build commit. [Pipeline] sh 02:13:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:13:32 + grep -v github /etc/ssh/ssh_known_hosts 02:13:32 + [ -e /tmp/ssh_known_hosts ] 02:13:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:13:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:13:32 + sudo tee -a /etc/ssh/ssh_known_hosts 02:13:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:13:32 02:13:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:13:32 0.1.4: Pulling from edgex-devops/py-git-semver 02:13:32 b85a868b505f: Pulling fs layer 02:13:32 e2be974225ed: Pulling fs layer 02:13:32 339a4e72a1f5: Pulling fs layer 02:13:32 988bab9f4d93: Pulling fs layer 02:13:32 1469e6f7b9e6: Pulling fs layer 02:13:32 eaf3925da568: Pulling fs layer 02:13:32 bab4dde63d76: Pulling fs layer 02:13:32 bde34c3a00c8: Pulling fs layer 02:13:32 b352a97aabf1: Pulling fs layer 02:13:32 4872d77fe225: Pulling fs layer 02:13:32 5851b861e8e6: Pulling fs layer 02:13:32 1469e6f7b9e6: Waiting 02:13:32 eaf3925da568: Waiting 02:13:32 bab4dde63d76: Waiting 02:13:32 bde34c3a00c8: Waiting 02:13:32 b352a97aabf1: Waiting 02:13:32 4872d77fe225: Waiting 02:13:32 5851b861e8e6: Waiting 02:13:32 988bab9f4d93: Waiting 02:13:32 e2be974225ed: Verifying Checksum 02:13:32 e2be974225ed: Download complete 02:13:32 988bab9f4d93: Download complete 02:13:33 339a4e72a1f5: Verifying Checksum 02:13:33 339a4e72a1f5: Download complete 02:13:33 1469e6f7b9e6: Verifying Checksum 02:13:33 1469e6f7b9e6: Download complete 02:13:33 eaf3925da568: Download complete 02:13:33 bde34c3a00c8: Verifying Checksum 02:13:33 bde34c3a00c8: Download complete 02:13:33 b352a97aabf1: Download complete 02:13:33 4872d77fe225: Verifying Checksum 02:13:33 4872d77fe225: Download complete 02:13:33 5851b861e8e6: Verifying Checksum 02:13:33 5851b861e8e6: Download complete 02:13:33 b85a868b505f: Verifying Checksum 02:13:33 b85a868b505f: Download complete 02:13:33 bab4dde63d76: Verifying Checksum 02:13:33 bab4dde63d76: Download complete 02:13:34 b85a868b505f: Pull complete 02:13:34 e2be974225ed: Pull complete 02:13:35 339a4e72a1f5: Pull complete 02:13:35 988bab9f4d93: Pull complete 02:13:35 1469e6f7b9e6: Pull complete 02:13:35 eaf3925da568: Pull complete 02:13:37 bab4dde63d76: Pull complete 02:13:37 bde34c3a00c8: Pull complete 02:13:37 b352a97aabf1: Pull complete 02:13:37 4872d77fe225: Pull complete 02:13:37 5851b861e8e6: Pull complete 02:13:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:13:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:13:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:37 prd-ubuntu20.04-docker-8c-8g-7023 does not seem to be running inside a container 02:13:37 $ 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:13:40 $ docker top 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd -eo pid,comm 02:13:40 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:13:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:13:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:13:40 [ssh-agent] Looking for ssh-agent implementation... 02:13:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:13:40 $ docker exec 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd ssh-agent 02:13:40 SSH_AUTH_SOCK=/tmp/ssh-zXgRbwcPb0S5/agent.32 02:13:40 SSH_AGENT_PID=38 02:13:40 Running ssh-add (command line suppressed) 02:13:40 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4991355089785764589.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4991355089785764589.key) 02:13:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:13:41 + git tag --points-at HEAD [Pipeline] } 02:13:41 $ docker exec --env ******** --env ******** 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd ssh-agent -k 02:13:41 unset SSH_AUTH_SOCK; 02:13:41 unset SSH_AGENT_PID; 02:13:41 echo Agent pid 38 killed; 02:13:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:13:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:13:41 [ssh-agent] Looking for ssh-agent implementation... 02:13:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:13:41 $ docker exec 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd ssh-agent 02:13:41 SSH_AUTH_SOCK=/tmp/ssh-FbNYKkcByksR/agent.70 02:13:41 SSH_AGENT_PID=76 02:13:41 Running ssh-add (command line suppressed) 02:13:41 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_7314822792440318415.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_7314822792440318415.key) 02:13:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:13:42 + git semver init 02:13:42 2022-10-04 02:13:42,271 [run_init] DEBUG init version:0.0.0 force:False 02:13:42 2022-10-04 02:13:42,272 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver 02:13:42 2022-10-04 02:13:42,273 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver 02:13:42 2022-10-04 02:13:42,273 [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:13:43 2022-10-04 02:13:43,268 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude 02:13:43 2022-10-04 02:13:43,269 [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:13:43 2022-10-04 02:13:43,269 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 02:13:43 2022-10-04 02:13:43,273 [execute] INFO git cat-file --batch-check 02:13:43 2022-10-04 02:13:43,274 [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:13:43 2022-10-04 02:13:43,281 [execute] INFO git cat-file --batch 02:13:43 2022-10-04 02:13:43,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 02:13:43 2022-10-04 02:13:43,288 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 02:13:43 0.0.0 [Pipeline] } 02:13:43 $ docker exec --env ******** --env ******** 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd ssh-agent -k 02:13:43 unset SSH_AUTH_SOCK; 02:13:43 unset SSH_AGENT_PID; 02:13:43 echo Agent pid 76 killed; 02:13:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:13:43 + git semver [Pipeline] } 02:13:44 $ docker stop --time=1 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd 02:13:45 $ docker rm -f 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd [Pipeline] // withDockerContainer [Pipeline] sh 02:13:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:13:46 Stashed 1 file(s) [Pipeline] echo 02:13:46 [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:13:46 provisioning config files... 02:13:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1286813083457471108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:46 ---> docker-login.sh 02:13:46 nexus3.edgexfoundry.org:10001 02:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:46 Configure a credential helper to remove this warning. See 02:13:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:46 02:13:46 Login Succeeded 02:13:46 nexus3.edgexfoundry.org:10002 02:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:46 Configure a credential helper to remove this warning. See 02:13:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:46 02:13:46 Login Succeeded 02:13:46 nexus3.edgexfoundry.org:10003 02:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:46 Configure a credential helper to remove this warning. See 02:13:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:46 02:13:46 Login Succeeded 02:13:46 nexus3.edgexfoundry.org:10004 02:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:46 Configure a credential helper to remove this warning. See 02:13:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:46 02:13:46 Login Succeeded 02:13:46 docker.io 02:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:47 Configure a credential helper to remove this warning. See 02:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:47 02:13:47 Login Succeeded 02:13:47 ---> docker-login.sh ends [Pipeline] } 02:13:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:13:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:13:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:13:47 ========================================================= 02:13:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:13:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:47 + 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:13:47 Sending build context to Docker daemon 20.79MB 02:13:47 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 02:13:47 Step 2/14 : FROM ${BASE} AS builder 02:13:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:13:47 2408cc74d12b: Pulling fs layer 02:13:47 ea60b727a1ce: Pulling fs layer 02:13:47 30c4a7721957: Pulling fs layer 02:13:47 370296b7ddb6: Pulling fs layer 02:13:47 7c6cee850709: Pulling fs layer 02:13:47 aa9baa53a306: Pulling fs layer 02:13:47 8b309c321861: Pulling fs layer 02:13:47 d8d76fd02f46: Pulling fs layer 02:13:47 fa31f396de31: Pulling fs layer 02:13:47 8b309c321861: Waiting 02:13:47 aa9baa53a306: Waiting 02:13:47 370296b7ddb6: Waiting 02:13:47 7c6cee850709: Waiting 02:13:47 d8d76fd02f46: Waiting 02:13:47 fa31f396de31: Waiting 02:13:47 30c4a7721957: Verifying Checksum 02:13:47 30c4a7721957: Download complete 02:13:47 ea60b727a1ce: Verifying Checksum 02:13:47 ea60b727a1ce: Download complete 02:13:47 7c6cee850709: Verifying Checksum 02:13:47 7c6cee850709: Download complete 02:13:47 2408cc74d12b: Verifying Checksum 02:13:47 2408cc74d12b: Download complete 02:13:47 8b309c321861: Download complete 02:13:48 2408cc74d12b: Pull complete 02:13:48 ea60b727a1ce: Pull complete 02:13:48 30c4a7721957: Pull complete 02:13:48 fa31f396de31: Verifying Checksum 02:13:48 fa31f396de31: Download complete 02:13:48 370296b7ddb6: Verifying Checksum 02:13:48 370296b7ddb6: Download complete 02:13:48 d8d76fd02f46: Download complete 02:13:52 370296b7ddb6: Pull complete 02:13:52 7c6cee850709: Pull complete 02:13:52 aa9baa53a306: Pull complete 02:13:52 8b309c321861: Pull complete 02:13:54 d8d76fd02f46: Pull complete 02:13:55 fa31f396de31: Pull complete 02:13:55 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 02:13:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:13:55 ---> cef68f9685f8 02:13:55 Step 3/14 : ARG ADD_BUILD_TAGS="" 02:14:00 ---> Running in 14cb868c5378 02:14:00 Removing intermediate container 14cb868c5378 02:14:00 ---> c3a0ac317bd1 02:14:00 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:14:00 ---> Running in 9937e907cafe 02:14:00 Removing intermediate container 9937e907cafe 02:14:00 ---> ca3912bdaccc 02:14:00 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:14:00 ---> Running in 6dc6037aac45 02:14:00 Removing intermediate container 6dc6037aac45 02:14:00 ---> dbed813a8d7e 02:14:00 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 02:14:00 ---> Running in 51043781f239 02:14:00 Removing intermediate container 51043781f239 02:14:00 ---> a674b2b27854 02:14:00 Step 7/14 : LABEL Name=edgex-device-onvif-camera 02:14:00 ---> Running in 766e49135d71 02:14:00 Removing intermediate container 766e49135d71 02:14:00 ---> e022584d3a0c 02:14:00 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:14:00 ---> Running in a84cf9351876 02:14:01 Still waiting to schedule task 02:14:01 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:14:01 Removing intermediate container a84cf9351876 02:14:01 ---> d75ac8e5385f 02:14:01 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:14:01 ---> Running in 6aeb7605edf7 02:14:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:14:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:14:02 OK: 211 MiB in 51 packages 02:14:03 Removing intermediate container 6aeb7605edf7 02:14:03 ---> bf484bb342d2 02:14:03 Step 10/14 : WORKDIR /device-onvif-camera 02:14:03 ---> Running in d1963779e9ec 02:14:03 Removing intermediate container d1963779e9ec 02:14:03 ---> c501a091ccb4 02:14:03 Step 11/14 : COPY go.mod vendor* ./ 02:14:03 ---> b5fedbda33b9 02:14:03 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:14:03 ---> Running in 9ec6b5dbb19d 02:14:30 Removing intermediate container 9ec6b5dbb19d 02:14:30 ---> 52de37279947 02:14:30 Step 13/14 : COPY . . 02:14:30 ---> 271f75821576 02:14:30 Step 14/14 : RUN ${MAKE} 02:14:30 ---> Running in d8a42e794424 02:14:31 noop 02:14:31 Removing intermediate container d8a42e794424 02:14:31 ---> 7b68ea0439a1 02:14:31 Successfully built 7b68ea0439a1 02:14:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:32 + docker inspect -f . ci-base-image-x86_64 02:14:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:32 prd-ubuntu20.04-docker-8c-8g-7023 does not seem to be running inside a container 02:14:32 $ 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:14:32 $ docker top 5f437b505e904bd4ecaca87f1306c65dbad7eb1fea0a25f7b2ec7bfcb6241a3d -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:33 + go version 02:14:33 go version go1.18.3 linux/amd64 [Pipeline] } 02:14:33 $ docker stop --time=1 5f437b505e904bd4ecaca87f1306c65dbad7eb1fea0a25f7b2ec7bfcb6241a3d 02:14:34 $ docker rm -f 5f437b505e904bd4ecaca87f1306c65dbad7eb1fea0a25f7b2ec7bfcb6241a3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:34 + docker inspect -f . ci-base-image-x86_64 02:14:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:35 prd-ubuntu20.04-docker-8c-8g-7023 does not seem to be running inside a container 02:14:35 $ 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:14:35 $ docker top 723456f887253c2cf80964776c96b563fc15f41facd09714a48ca2797c060ea5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:35 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh 02:14:36 + make test 02:14:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:14:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:14:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:14:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.043s coverage: 28.2% of statements 02:14:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:14:49 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.328s coverage: 86.5% of statements 02:14:57 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:14:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:15:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:15:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:15:00 ./bin/test-attribution-txt.sh [Pipeline] echo 02:15:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:15:01 $ docker stop --time=1 723456f887253c2cf80964776c96b563fc15f41facd09714a48ca2797c060ea5 02:15:03 $ docker rm -f 723456f887253c2cf80964776c96b563fc15f41facd09714a48ca2797c060ea5 [Pipeline] // withDockerContainer [Pipeline] sh 02:15:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:15:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:15:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:15:05 + ls -al . 02:15:05 total 236 02:15:05 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 02:14 . 02:15:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:13 .. 02:15:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 02:14 .git 02:15:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:13 .github 02:15:05 -rw-rw-r-- 1 jenkins jenkins 418 Oct 4 02:13 .gitignore 02:15:05 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 02:13 .golangci.yml 02:15:05 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 02:13 .semver 02:15:05 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 4 02:13 Attribution.txt 02:15:05 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 4 02:13 CHANGELOG.md 02:15:05 -rw-rw-r-- 1 jenkins jenkins 1799 Oct 4 02:13 Dockerfile 02:15:05 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 02:13 GOVERNANCE.md 02:15:05 -rw-rw-r-- 1 jenkins jenkins 734 Oct 4 02:13 Jenkinsfile 02:15:05 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 4 02:13 LICENSE 02:15:05 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 4 02:13 Makefile 02:15:05 -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 02:13 OWNERS.md 02:15:05 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 4 02:13 README.md 02:15:05 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 02:13 VERSION 02:15:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 02:13 bin 02:15:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:13 cmd 02:15:05 -rw-r--r-- 1 jenkins jenkins 78461 Oct 4 02:14 coverage.out 02:15:05 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 02:13 doc 02:15:05 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 4 02:13 go.mod 02:15:05 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 4 02:13 go.sum 02:15:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:13 internal 02:15:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:13 snap 02:15:05 -rw-rw-r-- 1 jenkins jenkins 236 Oct 4 02:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:05 + 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=8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 --label arch=amd64 --label version=0.0.0 . 02:15:05 Sending build context to Docker daemon 20.87MB 02:15:05 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 02:15:05 Step 2/28 : FROM ${BASE} AS builder 02:15:05 ---> 7b68ea0439a1 02:15:05 Step 3/28 : ARG ADD_BUILD_TAGS="" 02:15:05 ---> Running in 41d0708b9bd1 02:15:05 Removing intermediate container 41d0708b9bd1 02:15:05 ---> d6332d920e93 02:15:05 Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:15:05 ---> Running in f9f70e05f43c 02:15:05 Removing intermediate container f9f70e05f43c 02:15:05 ---> 13cd849a6c88 02:15:05 Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:15:05 ---> Running in 5f625683bf27 02:15:05 Removing intermediate container 5f625683bf27 02:15:05 ---> 8ddb9940be13 02:15:05 Step 6/28 : ARG ALPINE_PKG_EXTRA="" 02:15:06 ---> Running in c0139686f536 02:15:06 Removing intermediate container c0139686f536 02:15:06 ---> dcac81c29fd1 02:15:06 Step 7/28 : LABEL Name=edgex-device-onvif-camera 02:15:06 ---> Running in cf6ddcaedc8b 02:15:06 Removing intermediate container cf6ddcaedc8b 02:15:06 ---> daffe9e17ebd 02:15:06 Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:15:06 ---> Running in 04bdfe19b6cc 02:15:06 Removing intermediate container 04bdfe19b6cc 02:15:06 ---> 7601c4d2b63f 02:15:06 Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:15:06 ---> Running in 5327b2709236 02:15:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:15:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:15:08 OK: 211 MiB in 51 packages 02:15:08 Removing intermediate container 5327b2709236 02:15:08 ---> e5a7ca92e1ce 02:15:08 Step 10/28 : WORKDIR /device-onvif-camera 02:15:08 ---> Running in 9e49848d24de 02:15:08 Removing intermediate container 9e49848d24de 02:15:08 ---> 1ed2798ee4de 02:15:08 Step 11/28 : COPY go.mod vendor* ./ 02:15:08 ---> 208ad81ffcd8 02:15:08 Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:15:08 ---> Running in d22a918034df 02:15:09 Removing intermediate container d22a918034df 02:15:09 ---> f6f103a1c20b 02:15:09 Step 13/28 : COPY . . 02:15:10 ---> 1f685eceadd0 02:15:10 Step 14/28 : RUN ${MAKE} 02:15:10 ---> Running in c042adf90ea3 02:15:10 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:15:37 Removing intermediate container c042adf90ea3 02:15:37 ---> d6fcf65ea2e4 02:15:37 Step 15/28 : FROM alpine:3.16 02:15:37 3.16: Pulling from library/alpine 02:15:37 213ec9aee27d: Pulling fs layer 02:15:37 213ec9aee27d: Verifying Checksum 02:15:37 213ec9aee27d: Download complete 02:15:37 213ec9aee27d: Pull complete 02:15:37 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:15:37 Status: Downloaded newer image for alpine:3.16 02:15:37 ---> 9c6f07244728 02:15:37 Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:15:37 ---> Running in c4ab347aab84 02:15:37 Removing intermediate container c4ab347aab84 02:15:37 ---> c11255b3a009 02:15:37 Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 02:15:37 ---> Running in 9ad3aec9bb3d 02:15:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:15:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:15:37 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 02:15:37 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 02:15:37 (3/21) Installing readline (8.1.2-r0) 02:15:37 (4/21) Installing bash (5.1.16-r2) 02:15:37 Executing bash-5.1.16-r2.post-install 02:15:37 (5/21) Installing ca-certificates (20220614-r0) 02:15:37 (6/21) Installing brotli-libs (1.0.9-r6) 02:15:37 (7/21) Installing nghttp2-libs (1.47.0-r0) 02:15:37 (8/21) Installing libcurl (7.83.1-r3) 02:15:37 (9/21) Installing curl (7.83.1-r3) 02:15:37 (10/21) Installing dumb-init (1.2.5-r1) 02:15:37 (11/21) Installing oniguruma (6.9.8-r0) 02:15:37 (12/21) Installing jq (1.6-r1) 02:15:37 (13/21) Installing popt (1.18-r0) 02:15:37 (14/21) Installing pcre (8.45-r2) 02:15:37 (15/21) Installing slang (2.3.2-r0) 02:15:37 (16/21) Installing newt (0.52.21-r2) 02:15:37 (17/21) Installing libgcc (11.2.1_git20220219-r2) 02:15:37 (18/21) Installing libsodium (1.0.18-r0) 02:15:37 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 02:15:37 (20/21) Installing libzmq (4.3.4-r0) 02:15:37 (21/21) Installing zeromq (4.3.4-r0) 02:15:37 Executing busybox-1.35.0-r17.trigger 02:15:37 Executing ca-certificates-20220614-r0.trigger 02:15:37 OK: 17 MiB in 35 packages 02:15:37 Removing intermediate container 9ad3aec9bb3d 02:15:37 ---> aad3f4289326 02:15:37 Step 18/28 : WORKDIR / 02:15:37 ---> Running in fa0c388f2389 02:15:37 Removing intermediate container fa0c388f2389 02:15:37 ---> ebbde5d499d1 02:15:37 Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / 02:15:37 ---> 5cd253483421 02:15:37 Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / 02:15:37 ---> 1d14bb09d28f 02:15:37 Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:15:38 ---> 1e86d93030d4 02:15:38 Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ 02:15:38 ---> 5b59288311d0 02:15:38 Step 23/28 : EXPOSE 59984 02:15:38 ---> Running in 07a6d6ef5180 02:15:38 Removing intermediate container 07a6d6ef5180 02:15:38 ---> 5f72474ee12c 02:15:38 Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] 02:15:38 ---> Running in f5b41d71c932 02:15:38 Removing intermediate container f5b41d71c932 02:15:38 ---> 60ae4d06dc5b 02:15:38 Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:15:38 ---> Running in 44b0c36b8626 02:15:38 Removing intermediate container 44b0c36b8626 02:15:38 ---> 44eed801d7f3 02:15:38 Step 26/28 : LABEL arch=amd64 02:15:38 ---> Running in 05dbbf06a0b6 02:15:38 Removing intermediate container 05dbbf06a0b6 02:15:38 ---> dfc45b7bd787 02:15:38 Step 27/28 : LABEL git_sha=8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 02:15:38 ---> Running in 244b844875f8 02:15:38 Removing intermediate container 244b844875f8 02:15:38 ---> 91357c9a373d 02:15:38 Step 28/28 : LABEL version=0.0.0 02:15:38 ---> Running in 20e9891b805c 02:15:38 Removing intermediate container 20e9891b805c 02:15:38 ---> 0fb904aae709 02:15:38 [Warning] One or more build-args [ARCH] were not consumed 02:15:38 Successfully built 0fb904aae709 02:15:38 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:15:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:15:39 02:15:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:15:39 latest: Pulling from edgex-lftools-log-publisher 02:15:39 5eb5b503b376: Pulling fs layer 02:15:39 5c69ac0246d0: Pulling fs layer 02:15:39 ec43610c2a17: Pulling fs layer 02:15:39 3a2ae6a8a46f: Pulling fs layer 02:15:39 33b1e0a273af: Pulling fs layer 02:15:39 5d3b04190fa2: Pulling fs layer 02:15:39 2f39f015ded8: Pulling fs layer 02:15:39 33b1e0a273af: Waiting 02:15:39 5d3b04190fa2: Waiting 02:15:39 2f39f015ded8: Waiting 02:15:39 3a2ae6a8a46f: Waiting 02:15:39 5c69ac0246d0: Download complete 02:15:39 3a2ae6a8a46f: Verifying Checksum 02:15:39 3a2ae6a8a46f: Download complete 02:15:39 33b1e0a273af: Verifying Checksum 02:15:39 33b1e0a273af: Download complete 02:15:39 ec43610c2a17: Verifying Checksum 02:15:39 ec43610c2a17: Download complete 02:15:39 5d3b04190fa2: Verifying Checksum 02:15:39 5d3b04190fa2: Download complete 02:15:39 5eb5b503b376: Verifying Checksum 02:15:39 5eb5b503b376: Download complete 02:15:40 2f39f015ded8: Download complete 02:15:41 5eb5b503b376: Pull complete 02:15:41 5c69ac0246d0: Pull complete 02:15:41 ec43610c2a17: Pull complete 02:15:41 3a2ae6a8a46f: Pull complete 02:15:42 33b1e0a273af: Pull complete 02:15:42 5d3b04190fa2: Pull complete 02:15:46 2f39f015ded8: Pull complete 02:15:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:15:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:15:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:15:46 prd-ubuntu20.04-docker-8c-8g-7023 does not seem to be running inside a container 02:15:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:15:51 $ docker top e2edbaae76443f2fdb55da2ba9fdf5ea9f50597a1dc704189f67f5dc9d69319e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:15:51 ---> job-cost.sh 02:15:51 lf-activate-venv: SKIPPING 02:15:51 INFO: No Stack... 02:15:51 INFO: Retrieving Pricing Info for: v3-standard-8 02:15:52 INFO: Archiving Costs [Pipeline] sh 02:15:52 + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv 02:15:52 + cut -d, -f6 [Pipeline] lock 02:15:52 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] 02:15:52 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] did not exist. Created. 02:15:52 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:15:53 + echo total: 0.2199999988079071 [Pipeline] stash 02:15:53 Stashed 1 file(s) [Pipeline] } 02:15:53 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] [Pipeline] // lock [Pipeline] } 02:15:53 $ docker stop --time=1 e2edbaae76443f2fdb55da2ba9fdf5ea9f50597a1dc704189f67f5dc9d69319e 02:15:54 $ docker rm -f e2edbaae76443f2fdb55da2ba9fdf5ea9f50597a1dc704189f67f5dc9d69319e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:18:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7024 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws 02:18:39 Running in /w/workspace/device-onvif-camera/18 [Pipeline] { [Pipeline] checkout 02:18:39 The recommended git tool is: git 02:18:44 using credential edgex-jenkins-ssh 02:18:44 Cloning the remote Git repository 02:18:44 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:18:45 > git init /w/workspace/device-onvif-camera/18 # timeout=10 02:18:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:18:45 > git --version # timeout=10 02:18:45 > git --version # 'git version 2.25.1' 02:18:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:18:45 Verifying host key using known hosts file 02:18:45 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:18:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:18:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:18:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:18:48 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 02:18:47 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:18:47 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:18:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:18:47 Verifying host key using known hosts file 02:18:47 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:18:47 > 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:18:48 > git config core.sparsecheckout # timeout=10 02:18:48 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 02:18:48 > git remote # timeout=10 02:18:48 > git config --get remote.origin.url # timeout=10 02:18:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:18:48 Verifying host key using known hosts file 02:18:48 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:18:48 > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 02:18:49 Merge succeeded, producing 89e5d6900a6dbc2cb88b7befb9a63728dacdb8c8 02:18:49 Checking out Revision 89e5d6900a6dbc2cb88b7befb9a63728dacdb8c8 (PR-125) 02:18:49 > git rev-parse HEAD^{commit} # timeout=10 02:18:49 > git config core.sparsecheckout # timeout=10 02:18:49 > git checkout -f 89e5d6900a6dbc2cb88b7befb9a63728dacdb8c8 # timeout=10 02:18:52 Commit message: "Merge commit '22d74d2547d10604d43a59f451f2f1d479f6a1f2' into HEAD" 02:18:52 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:18:52 > git rev-list --no-walk ac48df99d62d077e86580b837722976113dedc64 # timeout=10 02:18:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:18:53 % Total % Received % Xferd Average Speed Time Time Time Current 02:18:53 Dload Upload Total Spent Left Speed 02:18:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 64625 0 --:--:-- --:--:-- --:--:-- 64625 [Pipeline] sh 02:18:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:18:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:18:54 + sudo tee /etc/docker/daemon.new 02:18:54 { 02:18:54 "registry-mirrors": [ 02:18:54 "https://nexus3.edgexfoundry.org:10001" 02:18:54 ], 02:18:54 "bip": "10.250.0.254/24", 02:18:54 "hosts": [ 02:18:54 "tcp://0.0.0.0:5555", 02:18:54 "unix:///var/run/docker.sock" 02:18:54 ], 02:18:54 "mtu": 1458, 02:18:54 "selinux-enabled": true, 02:18:54 "seccomp-profile": "/etc/docker/seccomp.json" 02:18:54 } [Pipeline] sh 02:18:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:18:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:19:13 provisioning config files... 02:19:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/18@tmp/config2843981001766905584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:19:13 ---> docker-login.sh 02:19:13 nexus3.edgexfoundry.org:10001 02:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:19:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:19:14 Configure a credential helper to remove this warning. See 02:19:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:19:14 02:19:14 Login Succeeded 02:19:14 nexus3.edgexfoundry.org:10002 02:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:19:15 Configure a credential helper to remove this warning. See 02:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:19:15 02:19:15 Login Succeeded 02:19:15 nexus3.edgexfoundry.org:10003 02:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:19:15 Configure a credential helper to remove this warning. See 02:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:19:15 02:19:15 Login Succeeded 02:19:15 nexus3.edgexfoundry.org:10004 02:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:19:15 Configure a credential helper to remove this warning. See 02:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:19:15 02:19:15 Login Succeeded 02:19:15 docker.io 02:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:19:16 Configure a credential helper to remove this warning. See 02:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:19:16 02:19:16 Login Succeeded 02:19:16 ---> docker-login.sh ends [Pipeline] } 02:19:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:19:16 ========================================================= 02:19:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:19:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:19:16 + 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:19:17 Sending build context to Docker daemon 14.21MB 02:19:17 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 02:19:17 Step 2/14 : FROM ${BASE} AS builder 02:19:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:19:17 b3c136eddcbf: Pulling fs layer 02:19:17 c0a3192eca97: Pulling fs layer 02:19:17 a050256f5b6f: Pulling fs layer 02:19:17 656be50a0ddc: Pulling fs layer 02:19:17 2bbca73fdf42: Pulling fs layer 02:19:17 f607e4fc86c3: Pulling fs layer 02:19:17 4d572c569a2c: Pulling fs layer 02:19:17 fcf976331f73: Pulling fs layer 02:19:17 f607e4fc86c3: Waiting 02:19:17 656be50a0ddc: Waiting 02:19:17 2bbca73fdf42: Waiting 02:19:17 fcf976331f73: Waiting 02:19:17 4d572c569a2c: Waiting 02:19:17 a050256f5b6f: Verifying Checksum 02:19:17 a050256f5b6f: Download complete 02:19:17 c0a3192eca97: Verifying Checksum 02:19:17 c0a3192eca97: Download complete 02:19:17 2bbca73fdf42: Verifying Checksum 02:19:17 2bbca73fdf42: Download complete 02:19:17 f607e4fc86c3: Verifying Checksum 02:19:17 f607e4fc86c3: Download complete 02:19:17 b3c136eddcbf: Verifying Checksum 02:19:18 b3c136eddcbf: Pull complete 02:19:18 fcf976331f73: Verifying Checksum 02:19:18 fcf976331f73: Download complete 02:19:18 c0a3192eca97: Pull complete 02:19:19 a050256f5b6f: Pull complete 02:19:19 4d572c569a2c: Verifying Checksum 02:19:19 4d572c569a2c: Download complete 02:19:20 656be50a0ddc: Verifying Checksum 02:19:20 656be50a0ddc: Download complete 02:19:32 656be50a0ddc: Pull complete 02:19:32 2bbca73fdf42: Pull complete 02:19:32 f607e4fc86c3: Pull complete 02:19:37 4d572c569a2c: Pull complete 02:19:38 fcf976331f73: Pull complete 02:19:38 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 02:19:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:19:38 ---> 3970a7415f9e 02:19:38 Step 3/14 : ARG ADD_BUILD_TAGS="" 02:19:40 ---> Running in 25e103da3273 02:19:41 Removing intermediate container 25e103da3273 02:19:41 ---> f755796ee597 02:19:41 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:19:41 ---> Running in 73c842aaef9c 02:19:41 Removing intermediate container 73c842aaef9c 02:19:41 ---> f73caa27d0f5 02:19:41 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:19:41 ---> Running in e7578b747cd5 02:19:41 Removing intermediate container e7578b747cd5 02:19:41 ---> dfdfa8cb9d91 02:19:41 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 02:19:41 ---> Running in 51a19db70780 02:19:42 Removing intermediate container 51a19db70780 02:19:42 ---> eb9952655fbf 02:19:42 Step 7/14 : LABEL Name=edgex-device-onvif-camera 02:19:42 ---> Running in ce28d38b6e20 02:19:42 Removing intermediate container ce28d38b6e20 02:19:42 ---> 0fbba0b51068 02:19:42 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:19:42 ---> Running in e5bf5b367b8a 02:19:44 Removing intermediate container e5bf5b367b8a 02:19:44 ---> ce2775caba05 02:19:44 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:19:44 ---> Running in bb7576b5d1e5 02:19:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:19:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:19:47 OK: 221 MiB in 51 packages 02:19:48 Removing intermediate container bb7576b5d1e5 02:19:48 ---> 80beb5e934c0 02:19:48 Step 10/14 : WORKDIR /device-onvif-camera 02:19:48 ---> Running in af75d29f6223 02:19:48 Removing intermediate container af75d29f6223 02:19:48 ---> 4e056881719f 02:19:48 Step 11/14 : COPY go.mod vendor* ./ 02:19:49 ---> f8ffcddd643e 02:19:49 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:19:49 ---> Running in 5dbfbf60ce1a 02:20:45 Removing intermediate container 5dbfbf60ce1a 02:20:45 ---> 2d780d0e80e1 02:20:45 Step 13/14 : COPY . . 02:20:45 ---> 40ad0d5b506a 02:20:45 Step 14/14 : RUN ${MAKE} 02:20:45 ---> Running in 2c016824129f 02:20:45 noop 02:20:45 Removing intermediate container 2c016824129f 02:20:45 ---> db5652c1f01e 02:20:45 Successfully built db5652c1f01e 02:20:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:20:45 + docker inspect -f . ci-base-image-arm64 02:20:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:20:45 prd-ubuntu20.04-docker-arm64-4c-16g-7024 does not seem to be running inside a container 02:20:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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:20:47 $ docker top ecbe94d7eebf4016b1288a5e6cf69760a0ccb1118b3cfa587e170549a4039bc4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:20:48 + go version 02:20:48 go version go1.18.3 linux/arm64 [Pipeline] } 02:20:48 $ docker stop --time=1 ecbe94d7eebf4016b1288a5e6cf69760a0ccb1118b3cfa587e170549a4039bc4 02:20:49 $ docker rm -f ecbe94d7eebf4016b1288a5e6cf69760a0ccb1118b3cfa587e170549a4039bc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:20:50 + docker inspect -f . ci-base-image-arm64 02:20:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:20:50 prd-ubuntu20.04-docker-arm64-4c-16g-7024 does not seem to be running inside a container 02:20:50 $ 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/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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:20:51 $ docker top 55ce1659471f0385b11004619d5597994efd8a86fd06667b84e15905f48dcac9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:20:52 + git config --global --add safe.directory /w/workspace/device-onvif-camera/18 [Pipeline] fileExists [Pipeline] sh 02:20:52 + make test 02:20:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:20:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:22:31 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:22:32 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.207s coverage: 28.2% of statements 02:22:32 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:22:50 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.370s coverage: 86.5% of statements 02:22:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:22:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:23:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:23:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:23:22 ./bin/test-attribution-txt.sh [Pipeline] echo 02:23:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:23:22 $ docker stop --time=1 55ce1659471f0385b11004619d5597994efd8a86fd06667b84e15905f48dcac9 02:23:25 $ docker rm -f 55ce1659471f0385b11004619d5597994efd8a86fd06667b84e15905f48dcac9 [Pipeline] // withDockerContainer [Pipeline] sh 02:23:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:23:26 Warning: overwriting stash ‘coverage-report’ 02:23:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:23:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:23:27 + ls -al . 02:23:27 total 232 02:23:27 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 02:20 . 02:23:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:18 .. 02:23:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 02:18 .git 02:23:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:18 .github 02:23:27 -rw-rw-r-- 1 jenkins jenkins 418 Oct 4 02:18 .gitignore 02:23:27 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 02:18 .golangci.yml 02:23:27 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 4 02:18 Attribution.txt 02:23:27 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 4 02:18 CHANGELOG.md 02:23:27 -rw-rw-r-- 1 jenkins jenkins 1799 Oct 4 02:18 Dockerfile 02:23:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 02:18 GOVERNANCE.md 02:23:27 -rw-rw-r-- 1 jenkins jenkins 734 Oct 4 02:18 Jenkinsfile 02:23:27 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 4 02:18 LICENSE 02:23:27 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 4 02:18 Makefile 02:23:27 -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 02:18 OWNERS.md 02:23:27 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 4 02:18 README.md 02:23:27 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 02:13 VERSION 02:23:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 02:18 bin 02:23:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:18 cmd 02:23:27 -rw-r--r-- 1 jenkins jenkins 78461 Oct 4 02:22 coverage.out 02:23:27 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 02:18 doc 02:23:27 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 4 02:18 go.mod 02:23:27 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 4 02:18 go.sum 02:23:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:18 internal 02:23:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:18 snap 02:23:27 -rw-rw-r-- 1 jenkins jenkins 236 Oct 4 02:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:27 + 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=89e5d6900a6dbc2cb88b7befb9a63728dacdb8c8 --label arch=arm64 --label version=0.0.0 . 02:23:29 Sending build context to Docker daemon 14.29MB 02:23:29 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 02:23:29 Step 2/28 : FROM ${BASE} AS builder 02:23:29 ---> db5652c1f01e 02:23:29 Step 3/28 : ARG ADD_BUILD_TAGS="" 02:23:29 ---> Running in 5b7c5d632808 02:23:29 Removing intermediate container 5b7c5d632808 02:23:29 ---> fa87fb6b1cac 02:23:29 Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:23:30 ---> Running in 5aba3fba45ec 02:23:30 Removing intermediate container 5aba3fba45ec 02:23:30 ---> e5b56e7d1bbf 02:23:30 Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:23:30 ---> Running in 6c1d76bccd05 02:23:30 Removing intermediate container 6c1d76bccd05 02:23:30 ---> 442fd92f5f3a 02:23:30 Step 6/28 : ARG ALPINE_PKG_EXTRA="" 02:23:30 ---> Running in f0cc619c8e15 02:23:31 Removing intermediate container f0cc619c8e15 02:23:31 ---> 42f3c4433363 02:23:31 Step 7/28 : LABEL Name=edgex-device-onvif-camera 02:23:31 ---> Running in 9785527da304 02:23:31 Removing intermediate container 9785527da304 02:23:31 ---> c1a777b5a36a 02:23:31 Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:23:31 ---> Running in 026032fd85fb 02:23:33 Removing intermediate container 026032fd85fb 02:23:33 ---> 7a5cabfe7469 02:23:33 Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:23:33 ---> Running in 14e64fea033f 02:23:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:23:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:23:36 OK: 221 MiB in 51 packages 02:23:37 Removing intermediate container 14e64fea033f 02:23:37 ---> 02fedcb97ce6 02:23:37 Step 10/28 : WORKDIR /device-onvif-camera 02:23:37 ---> Running in 06314d579b07 02:23:37 Removing intermediate container 06314d579b07 02:23:37 ---> ca6105999e0a 02:23:37 Step 11/28 : COPY go.mod vendor* ./ 02:23:38 ---> f38e3a092293 02:23:38 Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:23:38 ---> Running in d46ac660ce09 02:23:41 Removing intermediate container d46ac660ce09 02:23:41 ---> 6af97a8fa539 02:23:41 Step 13/28 : COPY . . 02:23:43 ---> ef0e4f1acaa8 02:23:43 Step 14/28 : RUN ${MAKE} 02:23:43 ---> Running in 71cc7db98395 02:23:45 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:26:21 Removing intermediate container 71cc7db98395 02:26:21 ---> b189cf345c81 02:26:21 Step 15/28 : FROM alpine:3.16 02:26:21 3.16: Pulling from library/alpine 02:26:21 9b18e9b68314: Pulling fs layer 02:26:21 9b18e9b68314: Verifying Checksum 02:26:21 9b18e9b68314: Download complete 02:26:21 9b18e9b68314: Pull complete 02:26:21 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:26:21 Status: Downloaded newer image for alpine:3.16 02:26:21 ---> a6215f271958 02:26:21 Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:26:21 ---> Running in f9499d257bca 02:26:21 Removing intermediate container f9499d257bca 02:26:21 ---> 4d4863f8c706 02:26:21 Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 02:26:21 ---> Running in 21d665c9d082 02:26:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:26:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:26:21 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 02:26:21 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 02:26:21 (3/21) Installing readline (8.1.2-r0) 02:26:21 (4/21) Installing bash (5.1.16-r2) 02:26:21 Executing bash-5.1.16-r2.post-install 02:26:21 (5/21) Installing ca-certificates (20220614-r0) 02:26:21 (6/21) Installing brotli-libs (1.0.9-r6) 02:26:21 (7/21) Installing nghttp2-libs (1.47.0-r0) 02:26:21 (8/21) Installing libcurl (7.83.1-r3) 02:26:21 (9/21) Installing curl (7.83.1-r3) 02:26:21 (10/21) Installing dumb-init (1.2.5-r1) 02:26:21 (11/21) Installing oniguruma (6.9.8-r0) 02:26:21 (12/21) Installing jq (1.6-r1) 02:26:21 (13/21) Installing popt (1.18-r0) 02:26:21 (14/21) Installing pcre (8.45-r2) 02:26:21 (15/21) Installing slang (2.3.2-r0) 02:26:21 (16/21) Installing newt (0.52.21-r2) 02:26:21 (17/21) Installing libgcc (11.2.1_git20220219-r2) 02:26:21 (18/21) Installing libsodium (1.0.18-r0) 02:26:21 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 02:26:21 (20/21) Installing libzmq (4.3.4-r0) 02:26:21 (21/21) Installing zeromq (4.3.4-r0) 02:26:21 Executing busybox-1.35.0-r17.trigger 02:26:21 Executing ca-certificates-20220614-r0.trigger 02:26:21 OK: 16 MiB in 35 packages 02:26:21 Removing intermediate container 21d665c9d082 02:26:21 ---> 43cc5b2faeba 02:26:21 Step 18/28 : WORKDIR / 02:26:21 ---> Running in a07f7b698250 02:26:21 Removing intermediate container a07f7b698250 02:26:21 ---> 961b0785f00f 02:26:21 Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / 02:26:21 ---> 7dfd7eeaf427 02:26:21 Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / 02:26:21 ---> 13db9c5f46c5 02:26:21 Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:26:21 ---> b9f4c1d68a73 02:26:21 Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ 02:26:21 ---> b9533a460ca2 02:26:21 Step 23/28 : EXPOSE 59984 02:26:21 ---> Running in 8728a330b89e 02:26:21 Removing intermediate container 8728a330b89e 02:26:21 ---> a05cdbce479e 02:26:21 Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] 02:26:21 ---> Running in 4793cb1dea30 02:26:21 Removing intermediate container 4793cb1dea30 02:26:21 ---> 3e76b92ce2b2 02:26:21 Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:26:21 ---> Running in fa4cf5b475eb 02:26:21 Removing intermediate container fa4cf5b475eb 02:26:21 ---> bd2c1f47918e 02:26:21 Step 26/28 : LABEL arch=arm64 02:26:21 ---> Running in 6007edd84c3e 02:26:21 Removing intermediate container 6007edd84c3e 02:26:21 ---> 7049996049bb 02:26:21 Step 27/28 : LABEL git_sha=89e5d6900a6dbc2cb88b7befb9a63728dacdb8c8 02:26:21 ---> Running in 33703213e904 02:26:21 Removing intermediate container 33703213e904 02:26:21 ---> 4999f688c1c8 02:26:21 Step 28/28 : LABEL version=0.0.0 02:26:21 ---> Running in 2813c65f971c 02:26:21 Removing intermediate container 2813c65f971c 02:26:21 ---> 652c0cdfb32d 02:26:21 [Warning] One or more build-args [ARCH] were not consumed 02:26:21 Successfully built 652c0cdfb32d 02:26:21 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:26:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:26:22 02:26:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:26:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:26:22 arm64: Pulling from edgex-lftools-log-publisher 02:26:22 8998bd30e6a1: Pulling fs layer 02:26:22 04944245beec: Pulling fs layer 02:26:22 699f458cf7ca: Pulling fs layer 02:26:22 765212b225bb: Pulling fs layer 02:26:22 f23df028b6ca: Pulling fs layer 02:26:22 d65c8cfc05b1: Pulling fs layer 02:26:22 2437ff75d9bd: Pulling fs layer 02:26:22 d65c8cfc05b1: Waiting 02:26:22 f23df028b6ca: Waiting 02:26:22 2437ff75d9bd: Waiting 02:26:22 765212b225bb: Waiting 02:26:22 04944245beec: Verifying Checksum 02:26:22 04944245beec: Download complete 02:26:22 765212b225bb: Verifying Checksum 02:26:22 765212b225bb: Download complete 02:26:22 f23df028b6ca: Verifying Checksum 02:26:22 f23df028b6ca: Download complete 02:26:22 d65c8cfc05b1: Verifying Checksum 02:26:22 d65c8cfc05b1: Download complete 02:26:23 699f458cf7ca: Verifying Checksum 02:26:23 699f458cf7ca: Download complete 02:26:23 8998bd30e6a1: Verifying Checksum 02:26:23 8998bd30e6a1: Download complete 02:26:26 2437ff75d9bd: Verifying Checksum 02:26:26 2437ff75d9bd: Download complete 02:26:27 8998bd30e6a1: Pull complete 02:26:28 04944245beec: Pull complete 02:26:29 699f458cf7ca: Pull complete 02:26:29 765212b225bb: Pull complete 02:26:30 f23df028b6ca: Pull complete 02:26:30 d65c8cfc05b1: Pull complete 02:26:45 2437ff75d9bd: Pull complete 02:26:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:26:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:26:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:26:45 prd-ubuntu20.04-docker-arm64-4c-16g-7024 does not seem to be running inside a container 02:26:45 $ 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/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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:26:47 $ docker top 1a7d53eff25ee73b3baba7edf987ce4a45fe1e5fe6ef8a7270416db68932d1f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:26:48 ---> job-cost.sh 02:26:48 lf-activate-venv: SKIPPING 02:26:48 INFO: No Stack... 02:26:49 INFO: Retrieving Pricing Info for: v3-standard-4 02:26:50 INFO: Archiving Costs [Pipeline] sh 02:26:50 + cat /w/workspace/device-onvif-camera/18/archives/cost.csv 02:26:50 + cut -d, -f6 [Pipeline] lock 02:26:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] 02:26:50 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] did not exist. Created. 02:26:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:26:50 /w/workspace/device-onvif-camera/18@tmp/durable-d06b0ad2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:26:51 + echo total: 0.10999999940395355 [Pipeline] stash 02:26:51 Warning: overwriting stash ‘stack-cost’ 02:26:51 Stashed 1 file(s) [Pipeline] } 02:26:51 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] [Pipeline] // lock [Pipeline] } 02:26:51 $ docker stop --time=1 1a7d53eff25ee73b3baba7edf987ce4a45fe1e5fe6ef8a7270416db68932d1f7 02:26:52 $ docker rm -f 1a7d53eff25ee73b3baba7edf987ce4a45fe1e5fe6ef8a7270416db68932d1f7 [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:26:53 provisioning config files... 02:26:53 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config9572391321406776408tmp [Pipeline] { [Pipeline] sh 02:26:53 + set +x 02:26:53 + + curl -s https://codecov.io/bash 02:26:53 bash -s -- 02:26:53 02:26:53 _____ _ 02:26:53 / ____| | | 02:26:53 | | ___ __| | ___ ___ _____ __ 02:26:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:26:53 | |___| (_) | (_| | __/ (_| (_) \ V / 02:26:53 \_____\___/ \__,_|\___|\___\___/ \_/ 02:26:53 Bash-1.0.6 02:26:53 02:26:53 02:26:53 ==> git version 2.25.1 found 02:26:53 ==> 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:26:53 Release-Date: 2020-01-08 02:26:53 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:26:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:26:53 ==> Jenkins CI detected. 02:26:53 current dir:  /w/workspace/undry_device-onvif-camera_PR-125 02:26:53 project root: . 02:26:53 --> token set from env 02:26:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:26:53 ==> Running gcov in . (disable via -X gcov) 02:26:53 ==> Python coveragepy not found 02:26:53 ==> Searching for coverage reports in: 02:26:53 + . 02:26:53 -> Found 1 reports 02:26:53 ==> Detecting git/mercurial file structure 02:26:53 ==> Reading reports 02:26:53 + ./coverage.out bytes=78461 02:26:53 ==> Appending adjustments 02:26:53 https://docs.codecov.io/docs/fixing-reports 02:26:53 + Found adjustments 02:26:53 ==> Gzipping contents 02:26:53 12K /tmp/codecov.ufzGWm.gz 02:26:53 ==> Uploading reports 02:26:53 url: https://codecov.io 02:26:53 query: branch=PR-125&commit=8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 02:26:53 -> Pinging Codecov 02:26:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 02:26:53 -> Uploading to 02:26:53 https://storage.googleapis.com/codecov/v4/raw/2022-10-04/F29A59C45E3A92E06B3E522C9905F8EF/8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850/1503d8b7-f0d5-44b5-8c79-8a3b392a947e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221004T022653Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3b691f618147f1d7feb1ba4129917d070816bd12f293024e98be402c42ce649 02:26:53 % Total % Received % Xferd Average Speed Time Time Time Current 02:26:53 Dload Upload Total Spent Left Speed 02:26:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10729 0 0 100 10729 0 43613 --:--:-- --:--:-- --:--:-- 43613 02:26:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [Pipeline] } 02:26:54 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:26:54 + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] 02:26:54 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 02:26:54 total 16 02:26:54 drwxr-xr-x 3 root root 4096 Oct 4 02:15 . 02:26:54 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 02:15 .. 02:26:54 drwxr-xr-x 2 root root 4096 Oct 4 02:15 cost 02:26:54 -rw-r--r-- 1 root root 92 Oct 4 02:15 cost.csv 02:26:54 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives 02:26:54 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 02:26:54 total 16 02:26:54 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 02:15 . 02:26:54 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 02:15 .. 02:26:54 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 02:15 cost 02:26:54 -rw-r--r-- 1 jenkins jenkins 92 Oct 4 02:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:26:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:26:56 ---> package-listing.sh 02:26:56 ++ facter osfamily 02:26:56 ++ tr '[:upper:]' '[:lower:]' 02:26:56 + OS_FAMILY=debian 02:26:56 + workspace=/w/workspace/undry_device-onvif-camera_PR-125 02:26:56 + START_PACKAGES=/tmp/packages_start.txt 02:26:56 + END_PACKAGES=/tmp/packages_end.txt 02:26:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:26:56 + PACKAGES=/tmp/packages_start.txt 02:26:56 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 02:26:56 + PACKAGES=/tmp/packages_end.txt 02:26:56 + case "${OS_FAMILY}" in 02:26:56 + dpkg -l 02:26:56 + grep '^ii' 02:26:56 + '[' -f /tmp/packages_start.txt ']' 02:26:56 + '[' -f /tmp/packages_end.txt ']' 02:26:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:26:56 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 02:26:56 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ 02:26:56 + 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:26:56 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:26:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:26:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:26:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:26:57 prd-ubuntu20.04-docker-8c-8g-7023 does not seem to be running inside a container 02:26:57 $ 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:26:57 $ docker top 98f6ea234a4fad11c4378d7b63245fad2b58b68df587c0b971ebbe6c333b5fbf -eo pid,comm [Pipeline] { [Pipeline] sh 02:26:58 + touch /tmp/pre-build-complete [Pipeline] sh 02:26:58 + mkdir -p /var/log/sysstat [Pipeline] sh 02:26:58 + ls /var/log/sa-host 02:26:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:26:58 provisioning config files... 02:26:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1456995478037693708tmp [Pipeline] { [Pipeline] echo 02:26:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:26:58 ---> create-netrc.sh [Pipeline] } 02:26:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:26:59 ---> python-tools-install.sh [Pipeline] echo 02:26:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:26:59 ---> sudo-logs.sh 02:26:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:26:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:26:59 ---> job-cost.sh 02:26:59 lf-activate-venv: SKIPPING 02:26:59 DEBUG: total: 0.2199999988079071 02:26:59 INFO: Retrieving Stack Cost... 02:27:00 INFO: Retrieving Pricing Info for: v3-standard-8 02:27:00 INFO: Archiving Costs [Pipeline] echo 02:27:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:27:01 ---> logs-deploy.sh 02:27:01 lf-activate-venv: SKIPPING 02:27:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/18 02:27:01 INFO: archiving workspace using pattern(s): 02:27:01 Archives upload complete. 02:27:01 INFO: archiving logs to Nexus