Pull request #180 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at c32d12cb3f3d5bd786ac66f0af1d84994387a230 rather than 68169d1bfd71bebd11a366dae991164454c6cc80 Obtained Jenkinsfile from c32d12cb3f3d5bd786ac66f0af1d84994387a230 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-ssh4884186747671586720.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh6371178178439707695.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-180/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-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15854716723929273276.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh12804672878421721453.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-180/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-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2591499874648196192.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 ‘prd-ubuntu20.04-docker-8c-8g-8692’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8695 in /w/workspace/undry_device-onvif-camera_PR-180 [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-180 # 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/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit 68169d1bfd71bebd11a366dae991164454c6cc80 Merge succeeded, producing 68169d1bfd71bebd11a366dae991164454c6cc80 Checking out Revision 68169d1bfd71bebd11a366dae991164454c6cc80 (PR-180) > git config core.sparsecheckout # timeout=10 > git checkout -f 68169d1bfd71bebd11a366dae991164454c6cc80 # 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 c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68169d1bfd71bebd11a366dae991164454c6cc80 # timeout=10 Commit message: "docs: update postman collection" > git rev-list --no-walk 6f511cfdc54a5faed542fac4ba7365aa731660a0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:08:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:08:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:08:57 ========================================================= 17:08:57 EdgeX Global Pipelines Version Info 17:08:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:08:58 ------------------- 17:08:58 stable info: 17:08:58 ------------------- 17:08:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:08:58 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 17:08:58 Message: update stable to v1.0.243 17:08:59 ------------------- 17:08:59 experimental info: 17:08:59 ------------------- 17:08:59 Commited By: **** collab-it+edgex@linuxfoundation.org 17:08:59 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 17:08:59 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68169d1bfd71bebd11a366dae991164454c6cc80 [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68169d1 [Pipeline] echo 17:08:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:08:59 provisioning config files... 17:08:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config14985786960250374514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:00 ---> docker-login.sh 17:09:00 nexus3.edgexfoundry.org:10001 17:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:01 Configure a credential helper to remove this warning. See 17:09:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:01 17:09:01 Login Succeeded 17:09:01 nexus3.edgexfoundry.org:10002 17:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:01 Configure a credential helper to remove this warning. See 17:09:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:01 17:09:01 Login Succeeded 17:09:01 nexus3.edgexfoundry.org:10003 17:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:01 Configure a credential helper to remove this warning. See 17:09:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:01 17:09:01 Login Succeeded 17:09:01 nexus3.edgexfoundry.org:10004 17:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:02 Configure a credential helper to remove this warning. See 17:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:02 17:09:02 Login Succeeded 17:09:02 docker.io 17:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:02 Configure a credential helper to remove this warning. See 17:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:02 17:09:02 Login Succeeded 17:09:02 ---> docker-login.sh ends [Pipeline] } 17:09:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:09:03 + git rev-list -1 --merges 68169d1bfd71bebd11a366dae991164454c6cc80~1..68169d1bfd71bebd11a366dae991164454c6cc80 [Pipeline] echo 17:09:03 -----------> git rev-list -1 --merges 68169d1bfd71bebd11a366dae991164454c6cc80~1..68169d1bfd71bebd11a366dae991164454c6cc80 68169d1bfd71bebd11a366dae991164454c6cc80 [false] [Pipeline] sh 17:09:03 + git log --format=format:%s -1 68169d1bfd71bebd11a366dae991164454c6cc80 [Pipeline] echo 17:09:03 ========================================================= 17:09:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:09:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:09:03 + git log --format=format:%s -1 68169d1bfd71bebd11a366dae991164454c6cc80 [Pipeline] echo 17:09:03 [semverPrep] GIT_COMMIT: 68169d1bfd71bebd11a366dae991164454c6cc80, Commit Message: docs: update postman collection [Pipeline] echo 17:09:03 [semverPrep] This is not a build commit. [Pipeline] sh 17:09:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:09:04 + grep -v github /etc/ssh/ssh_known_hosts 17:09:04 + [ -e /tmp/ssh_known_hosts ] 17:09:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:09:04 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:09:04 sudo tee -a /etc/ssh/ssh_known_hosts 17:09:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:09:04 17:09:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:09:05 0.1.4: Pulling from edgex-devops/py-git-semver 17:09:05 b85a868b505f: Pulling fs layer 17:09:05 e2be974225ed: Pulling fs layer 17:09:05 339a4e72a1f5: Pulling fs layer 17:09:05 988bab9f4d93: Pulling fs layer 17:09:05 1469e6f7b9e6: Pulling fs layer 17:09:05 eaf3925da568: Pulling fs layer 17:09:05 bab4dde63d76: Pulling fs layer 17:09:05 bde34c3a00c8: Pulling fs layer 17:09:05 b352a97aabf1: Pulling fs layer 17:09:05 4872d77fe225: Pulling fs layer 17:09:05 5851b861e8e6: Pulling fs layer 17:09:05 4872d77fe225: Waiting 17:09:05 bab4dde63d76: Waiting 17:09:05 5851b861e8e6: Waiting 17:09:05 b352a97aabf1: Waiting 17:09:05 1469e6f7b9e6: Waiting 17:09:05 eaf3925da568: Waiting 17:09:05 bde34c3a00c8: Waiting 17:09:05 988bab9f4d93: Waiting 17:09:05 e2be974225ed: Download complete 17:09:05 988bab9f4d93: Verifying Checksum 17:09:05 988bab9f4d93: Download complete 17:09:06 1469e6f7b9e6: Verifying Checksum 17:09:06 1469e6f7b9e6: Download complete 17:09:06 eaf3925da568: Verifying Checksum 17:09:06 eaf3925da568: Download complete 17:09:06 339a4e72a1f5: Verifying Checksum 17:09:06 339a4e72a1f5: Download complete 17:09:06 bde34c3a00c8: Download complete 17:09:06 b352a97aabf1: Download complete 17:09:06 4872d77fe225: Download complete 17:09:06 5851b861e8e6: Download complete 17:09:06 b85a868b505f: Verifying Checksum 17:09:06 b85a868b505f: Download complete 17:09:06 bab4dde63d76: Verifying Checksum 17:09:06 bab4dde63d76: Download complete 17:09:08 b85a868b505f: Pull complete 17:09:09 e2be974225ed: Pull complete 17:09:11 339a4e72a1f5: Pull complete 17:09:11 988bab9f4d93: Pull complete 17:09:11 1469e6f7b9e6: Pull complete 17:09:11 eaf3925da568: Pull complete 17:09:14 bab4dde63d76: Pull complete 17:09:14 bde34c3a00c8: Pull complete 17:09:15 b352a97aabf1: Pull complete 17:09:15 4872d77fe225: Pull complete 17:09:16 5851b861e8e6: Pull complete 17:09:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:09:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:09:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:09:16 prd-ubuntu20.04-docker-8c-8g-8695 does not seem to be running inside a container 17:09:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:09:26 $ docker top 06c9553e443d1134d8fee0ba754568c6b012b7c2c037d49453bdbbc9b417b9f8 -eo pid,comm 17:09:26 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). 17:09:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:09:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:26 [ssh-agent] Looking for ssh-agent implementation... 17:09:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:26 $ docker exec 06c9553e443d1134d8fee0ba754568c6b012b7c2c037d49453bdbbc9b417b9f8 ssh-agent 17:09:26 SSH_AUTH_SOCK=/tmp/ssh-t9UBLkZIfTZg/agent.13 17:09:26 SSH_AGENT_PID=19 17:09:26 Running ssh-add (command line suppressed) 17:09:26 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_16961861676306356861.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_16961861676306356861.key) 17:09:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:27 + git tag --points-at HEAD [Pipeline] } 17:09:27 $ docker exec --env ******** --env ******** 06c9553e443d1134d8fee0ba754568c6b012b7c2c037d49453bdbbc9b417b9f8 ssh-agent -k 17:09:27 unset SSH_AUTH_SOCK; 17:09:27 unset SSH_AGENT_PID; 17:09:27 echo Agent pid 19 killed; 17:09:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:09:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:27 [ssh-agent] Looking for ssh-agent implementation... 17:09:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:27 $ docker exec 06c9553e443d1134d8fee0ba754568c6b012b7c2c037d49453bdbbc9b417b9f8 ssh-agent 17:09:27 SSH_AUTH_SOCK=/tmp/ssh-OrnAxEi8NDWq/agent.51 17:09:27 SSH_AGENT_PID=63 17:09:27 Running ssh-add (command line suppressed) 17:09:27 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_9224747453571790682.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_9224747453571790682.key) 17:09:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:27 + git semver init 17:09:28 2022-10-20 17:09:28,119 [run_init] DEBUG init version:0.0.0 force:False 17:09:28 2022-10-20 17:09:28,120 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver 17:09:28 2022-10-20 17:09:28,121 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-180/.semver 17:09:28 2022-10-20 17:09:28,121 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-180/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-180, universal_newlines=False, shell=None, istream=None) 17:09:29 2022-10-20 17:09:29,732 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude 17:09:29 2022-10-20 17:09:29,733 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 with force:False 17:09:29 2022-10-20 17:09:29,733 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 17:09:29 2022-10-20 17:09:29,737 [execute] INFO git cat-file --batch-check 17:09:29 2022-10-20 17:09:29,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 17:09:29 2022-10-20 17:09:29,744 [execute] INFO git cat-file --batch 17:09:29 2022-10-20 17:09:29,745 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 17:09:29 2022-10-20 17:09:29,749 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 17:09:29 0.0.0 [Pipeline] } 17:09:29 $ docker exec --env ******** --env ******** 06c9553e443d1134d8fee0ba754568c6b012b7c2c037d49453bdbbc9b417b9f8 ssh-agent -k 17:09:29 unset SSH_AUTH_SOCK; 17:09:29 unset SSH_AGENT_PID; 17:09:29 echo Agent pid 63 killed; 17:09:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:09:30 + git semver [Pipeline] } 17:09:30 $ docker stop --time=1 06c9553e443d1134d8fee0ba754568c6b012b7c2c037d49453bdbbc9b417b9f8 17:09:33 $ docker rm -f 06c9553e443d1134d8fee0ba754568c6b012b7c2c037d49453bdbbc9b417b9f8 [Pipeline] // withDockerContainer [Pipeline] sh 17:09:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:09:33 Stashed 1 file(s) [Pipeline] echo 17:09:33 [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 17:09:33 provisioning config files... 17:09:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config14539557253494819104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:34 ---> docker-login.sh 17:09:34 nexus3.edgexfoundry.org:10001 17:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:34 Configure a credential helper to remove this warning. See 17:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:34 17:09:34 Login Succeeded 17:09:34 nexus3.edgexfoundry.org:10002 17:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:34 Configure a credential helper to remove this warning. See 17:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:34 17:09:34 Login Succeeded 17:09:34 nexus3.edgexfoundry.org:10003 17:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:34 Configure a credential helper to remove this warning. See 17:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:34 17:09:34 Login Succeeded 17:09:34 nexus3.edgexfoundry.org:10004 17:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:34 Configure a credential helper to remove this warning. See 17:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:34 17:09:34 Login Succeeded 17:09:34 docker.io 17:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:34 Configure a credential helper to remove this warning. See 17:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:34 17:09:34 Login Succeeded 17:09:34 ---> docker-login.sh ends [Pipeline] } 17:09:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:09:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:09:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:09:34 ========================================================= 17:09:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:09:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:35 + 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 . 17:09:35 Sending build context to Docker daemon 27.03MB 17:09:35 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 17:09:35 Step 2/14 : FROM ${BASE} AS builder 17:09:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:09:35 213ec9aee27d: Pulling fs layer 17:09:35 4583459ba037: Pulling fs layer 17:09:35 93c1e223e6f2: Pulling fs layer 17:09:35 53926ce57604: Pulling fs layer 17:09:35 21b2b0c7a3f4: Pulling fs layer 17:09:35 53926ce57604: Waiting 17:09:35 21b2b0c7a3f4: Waiting 17:09:35 30f14e443154: Pulling fs layer 17:09:35 801331c1e519: Pulling fs layer 17:09:35 99cc6dd402b0: Pulling fs layer 17:09:35 7d9ed39f4882: Pulling fs layer 17:09:35 801331c1e519: Waiting 17:09:35 30f14e443154: Waiting 17:09:35 99cc6dd402b0: Waiting 17:09:35 7d9ed39f4882: Waiting 17:09:35 93c1e223e6f2: Verifying Checksum 17:09:35 93c1e223e6f2: Download complete 17:09:35 4583459ba037: Verifying Checksum 17:09:35 4583459ba037: Download complete 17:09:35 21b2b0c7a3f4: Verifying Checksum 17:09:35 21b2b0c7a3f4: Download complete 17:09:35 30f14e443154: Download complete 17:09:35 213ec9aee27d: Verifying Checksum 17:09:35 213ec9aee27d: Download complete 17:09:35 801331c1e519: Verifying Checksum 17:09:35 801331c1e519: Download complete 17:09:36 7d9ed39f4882: Verifying Checksum 17:09:36 7d9ed39f4882: Download complete 17:09:36 213ec9aee27d: Pull complete 17:09:36 53926ce57604: Verifying Checksum 17:09:36 53926ce57604: Download complete 17:09:36 99cc6dd402b0: Verifying Checksum 17:09:36 99cc6dd402b0: Download complete 17:09:37 4583459ba037: Pull complete 17:09:38 93c1e223e6f2: Pull complete 17:09:42 53926ce57604: Pull complete 17:09:42 21b2b0c7a3f4: Pull complete 17:09:42 30f14e443154: Pull complete 17:09:42 801331c1e519: Pull complete 17:09:44 99cc6dd402b0: Pull complete 17:09:44 7d9ed39f4882: Pull complete 17:09:44 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 17:09:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:09:44 ---> 1dedd983c030 17:09:44 Step 3/14 : ARG ADD_BUILD_TAGS="" 17:09:48 Still waiting to schedule task 17:09:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:09:51 ---> Running in f4912e3cf8e2 17:09:51 Removing intermediate container f4912e3cf8e2 17:09:51 ---> baf2e7bdb8ff 17:09:51 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:09:51 ---> Running in 7ee1e6647913 17:09:51 Removing intermediate container 7ee1e6647913 17:09:51 ---> a7eb4f0c9e34 17:09:51 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:09:51 ---> Running in 6a6eb6d79170 17:09:51 Removing intermediate container 6a6eb6d79170 17:09:51 ---> 378de9d21813 17:09:51 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 17:09:51 ---> Running in f7b2c5872504 17:09:51 Removing intermediate container f7b2c5872504 17:09:51 ---> 2ad7481918a8 17:09:51 Step 7/14 : LABEL Name=edgex-device-onvif-camera 17:09:51 ---> Running in 533c909c9ac7 17:09:51 Removing intermediate container 533c909c9ac7 17:09:51 ---> c8d613297400 17:09:51 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:09:51 ---> Running in 74cd47c77403 17:09:51 Removing intermediate container 74cd47c77403 17:09:51 ---> 506fe4a950bb 17:09:51 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:09:51 ---> Running in 76424766a248 17:09:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:09:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:09:53 OK: 211 MiB in 51 packages 17:09:54 Removing intermediate container 76424766a248 17:09:54 ---> 7e6c3bea9f0b 17:09:54 Step 10/14 : WORKDIR /device-onvif-camera 17:09:55 ---> Running in 8d1abc27a0ca 17:09:55 Removing intermediate container 8d1abc27a0ca 17:09:55 ---> af883f325339 17:09:55 Step 11/14 : COPY go.mod vendor* ./ 17:09:56 ---> d0e8389b4302 17:09:56 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:09:56 ---> Running in 3107b4892b16 17:10:35 Removing intermediate container 3107b4892b16 17:10:35 ---> 05cc8a31cb18 17:10:35 Step 13/14 : COPY . . 17:10:35 ---> 62832a59cd17 17:10:35 Step 14/14 : RUN ${MAKE} 17:10:35 ---> Running in 60b90da6de9a 17:10:35 noop 17:10:35 Removing intermediate container 60b90da6de9a 17:10:35 ---> 04412b85b30d 17:10:35 Successfully built 04412b85b30d 17:10:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:36 + docker inspect -f . ci-base-image-x86_64 17:10:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:36 prd-ubuntu20.04-docker-8c-8g-8695 does not seem to be running inside a container 17:10:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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 ******** ci-base-image-x86_64 cat 17:10:37 $ docker top 85dfd32e1663da2e4ad3097bc57d3ffcbe1475543ddd3747d9d451af0cf7fc5a -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:37 + go version 17:10:37 go version go1.18.7 linux/amd64 [Pipeline] } 17:10:37 $ docker stop --time=1 85dfd32e1663da2e4ad3097bc57d3ffcbe1475543ddd3747d9d451af0cf7fc5a 17:10:39 $ docker rm -f 85dfd32e1663da2e4ad3097bc57d3ffcbe1475543ddd3747d9d451af0cf7fc5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:40 + docker inspect -f . ci-base-image-x86_64 17:10:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:40 prd-ubuntu20.04-docker-8c-8g-8695 does not seem to be running inside a container 17:10:40 $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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 ******** ci-base-image-x86_64 cat 17:10:42 $ docker top 3b5cff4c1a1529595bea2de9128fc106d3c0de652a7602f268b8988e8655fe7c -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:42 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh 17:10:42 + make test 17:10:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:10:43 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:10:53 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:10:54 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements 17:10:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:10:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.341s coverage: 86.5% of statements 17:11:00 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." 17:11:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:11:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:11:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:11:04 ./bin/test-attribution-txt.sh [Pipeline] echo 17:11:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:11:04 $ docker stop --time=1 3b5cff4c1a1529595bea2de9128fc106d3c0de652a7602f268b8988e8655fe7c 17:11:06 $ docker rm -f 3b5cff4c1a1529595bea2de9128fc106d3c0de652a7602f268b8988e8655fe7c [Pipeline] // withDockerContainer [Pipeline] sh 17:11:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:11:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:11:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:11:08 + ls -al . 17:11:08 total 236 17:11:08 drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 17:10 . 17:11:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 17:08 .. 17:11:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 17:10 .git 17:11:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 17:08 .github 17:11:08 -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 17:08 .gitignore 17:11:08 -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 17:08 .golangci.yml 17:11:08 drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 17:09 .semver 17:11:08 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 20 17:08 Attribution.txt 17:11:08 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 20 17:08 CHANGELOG.md 17:11:08 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 20 17:08 Dockerfile 17:11:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 17:08 GOVERNANCE.md 17:11:08 -rw-rw-r-- 1 jenkins jenkins 734 Oct 20 17:08 Jenkinsfile 17:11:08 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 17:08 LICENSE 17:11:08 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 20 17:08 Makefile 17:11:08 -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 17:08 OWNERS.md 17:11:08 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 20 17:08 README.md 17:11:08 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 17:09 VERSION 17:11:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 17:08 bin 17:11:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 17:08 cmd 17:11:08 -rw-r--r-- 1 jenkins jenkins 78636 Oct 20 17:10 coverage.out 17:11:08 drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 17:08 doc 17:11:08 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 20 17:08 go.mod 17:11:08 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 20 17:08 go.sum 17:11:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 17:08 internal 17:11:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 17:08 snap 17:11:08 -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 17:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:08 + 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=68169d1bfd71bebd11a366dae991164454c6cc80 --label arch=amd64 --label version=0.0.0 . 17:11:08 Sending build context to Docker daemon 27.11MB 17:11:08 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 17:11:08 Step 2/27 : FROM ${BASE} AS builder 17:11:08 ---> 04412b85b30d 17:11:08 Step 3/27 : ARG ADD_BUILD_TAGS="" 17:11:08 ---> Running in b0ff4209d0d0 17:11:08 Removing intermediate container b0ff4209d0d0 17:11:08 ---> 5e0cb39a9d05 17:11:08 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:11:08 ---> Running in af0c7eacaf36 17:11:09 Removing intermediate container af0c7eacaf36 17:11:09 ---> 88dcf4434442 17:11:09 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:11:09 ---> Running in 2b087d94cd76 17:11:09 Removing intermediate container 2b087d94cd76 17:11:09 ---> 33d4d0689a40 17:11:09 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 17:11:09 ---> Running in 8b1a1f5f3ec8 17:11:09 Removing intermediate container 8b1a1f5f3ec8 17:11:09 ---> cd4fd6844de4 17:11:09 Step 7/27 : LABEL Name=edgex-device-onvif-camera 17:11:09 ---> Running in 5cbdf25fe6f2 17:11:09 Removing intermediate container 5cbdf25fe6f2 17:11:09 ---> 891dbe3fda35 17:11:09 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:11:09 ---> Running in 95efa0d2e3ad 17:11:10 Removing intermediate container 95efa0d2e3ad 17:11:10 ---> c7ea3f0bfc8d 17:11:10 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:11:10 ---> Running in 62f0f0028aad 17:11:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:11:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:11:11 OK: 211 MiB in 51 packages 17:11:12 Removing intermediate container 62f0f0028aad 17:11:12 ---> 5522edcccadb 17:11:12 Step 10/27 : WORKDIR /device-onvif-camera 17:11:12 ---> Running in 2c0bf02d36b5 17:11:12 Removing intermediate container 2c0bf02d36b5 17:11:12 ---> 04032df9a49a 17:11:12 Step 11/27 : COPY go.mod vendor* ./ 17:11:12 ---> 7c0db5da87f2 17:11:12 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:11:12 ---> Running in 155c679aedea 17:11:13 Removing intermediate container 155c679aedea 17:11:13 ---> 31a0c7b65dd3 17:11:13 Step 13/27 : COPY . . 17:11:14 ---> b02104ce1e5a 17:11:14 Step 14/27 : RUN ${MAKE} 17:11:14 ---> Running in f29fc5b8f152 17:11:14 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 17:11:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8696 in /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] { [Pipeline] ws 17:11:14 Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout 17:11:14 The recommended git tool is: git 17:11:19 using credential edgex-jenkins-ssh 17:11:19 Cloning the remote Git repository 17:11:19 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:11:19 > git init /w/workspace/device-onvif-camera/5 # timeout=10 17:11:19 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:11:19 > git --version # timeout=10 17:11:19 > git --version # 'git version 2.25.1' 17:11:19 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:19 Verifying host key using known hosts file 17:11:19 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. 17:11:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:21 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:11:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:23 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit 68169d1bfd71bebd11a366dae991164454c6cc80 17:11:22 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:11:22 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:11:22 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:22 Verifying host key using known hosts file 17:11:22 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. 17:11:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:11:23 > git config core.sparsecheckout # timeout=10 17:11:23 > git checkout -f 68169d1bfd71bebd11a366dae991164454c6cc80 # timeout=10 17:11:23 Merge succeeded, producing 68169d1bfd71bebd11a366dae991164454c6cc80 17:11:23 Checking out Revision 68169d1bfd71bebd11a366dae991164454c6cc80 (PR-180) 17:11:24 Commit message: "docs: update postman collection" 17:11:23 > git remote # timeout=10 17:11:23 > git config --get remote.origin.url # timeout=10 17:11:23 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:23 Verifying host key using known hosts file 17:11:23 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. 17:11:23 > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 17:11:23 > git rev-parse HEAD^{commit} # timeout=10 17:11:23 > git config core.sparsecheckout # timeout=10 17:11:23 > git checkout -f 68169d1bfd71bebd11a366dae991164454c6cc80 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:11:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:11:25 % Total % Received % Xferd Average Speed Time Time Time Current 17:11:25 Dload Upload Total Spent Left Speed 17:11:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 78762 0 --:--:-- --:--:-- --:--:-- 78762 [Pipeline] sh 17:11:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:11:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:11:26 + sudo tee /etc/docker/daemon.new 17:11:26 { 17:11:26 "registry-mirrors": [ 17:11:26 "https://nexus3.edgexfoundry.org:10001" 17:11:26 ], 17:11:26 "bip": "10.250.0.254/24", 17:11:26 "hosts": [ 17:11:26 "tcp://0.0.0.0:5555", 17:11:26 "unix:///var/run/docker.sock" 17:11:26 ], 17:11:26 "mtu": 1458, 17:11:26 "selinux-enabled": true, 17:11:26 "seccomp-profile": "/etc/docker/seccomp.json" 17:11:26 } [Pipeline] sh 17:11:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:11:26 + sudo service docker restart 17:11:41 Removing intermediate container f29fc5b8f152 17:11:41 ---> 136add66608d 17:11:41 Step 15/27 : FROM alpine:3.16 17:11:41 3.16: Pulling from library/alpine 17:11:41 213ec9aee27d: Already exists 17:11:41 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:11:41 Status: Downloaded newer image for alpine:3.16 17:11:41 ---> 9c6f07244728 17:11:41 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:11:41 ---> Running in fbc302cc9f41 17:11:41 Removing intermediate container fbc302cc9f41 17:11:41 ---> e928bae9fc56 17:11:41 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 17:11:41 ---> Running in 489eab8bf037 17:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:11:41 (1/6) Installing dumb-init (1.2.5-r1) 17:11:41 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:11:41 (3/6) Installing libsodium (1.0.18-r0) 17:11:41 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:11:41 (5/6) Installing libzmq (4.3.4-r0) 17:11:41 (6/6) Installing zeromq (4.3.4-r0) 17:11:41 Executing busybox-1.35.0-r17.trigger 17:11:41 OK: 8 MiB in 20 packages 17:11:41 Removing intermediate container 489eab8bf037 17:11:41 ---> a198012955f7 17:11:41 Step 18/27 : WORKDIR / 17:11:42 ---> Running in 278dab75e4cf 17:11:42 Removing intermediate container 278dab75e4cf 17:11:42 ---> 2ee77b0ac415 17:11:42 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 17:11:43 ---> b86925f309c8 17:11:43 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 17:11:44 ---> a7121bd11cd9 17:11:44 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:11:45 ---> 1632accf00b7 17:11:45 Step 22/27 : EXPOSE 59984 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:11:45 provisioning config files... 17:11:45 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config5129990420600876994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:11:45 ---> docker-login.sh 17:11:45 nexus3.edgexfoundry.org:10001 17:11:45 ---> Running in 30ac3da8437e 17:11:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:45 Removing intermediate container 30ac3da8437e 17:11:45 ---> feddfc305a9e 17:11:45 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 17:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:46 Configure a credential helper to remove this warning. See 17:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:46 17:11:46 Login Succeeded 17:11:46 nexus3.edgexfoundry.org:10002 17:11:46 ---> Running in 8013be5fad6a 17:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:46 Configure a credential helper to remove this warning. See 17:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:46 17:11:46 Login Succeeded 17:11:46 nexus3.edgexfoundry.org:10003 17:11:46 Removing intermediate container 8013be5fad6a 17:11:46 ---> 69deb0cdbaec 17:11:46 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:11:46 ---> Running in da5f6e6b4a10 17:11:46 Removing intermediate container da5f6e6b4a10 17:11:46 ---> 0acf1e8fe07a 17:11:46 Step 25/27 : LABEL arch=amd64 17:11:46 ---> Running in 657cdaeaa000 17:11:46 Removing intermediate container 657cdaeaa000 17:11:46 ---> 985ddd6b47ce 17:11:46 Step 26/27 : LABEL git_sha=68169d1bfd71bebd11a366dae991164454c6cc80 17:11:46 ---> Running in 3c5a2bf8861f 17:11:46 Removing intermediate container 3c5a2bf8861f 17:11:46 ---> 95419c02d5d2 17:11:46 Step 27/27 : LABEL version=0.0.0 17:11:46 ---> Running in eead5c18253b 17:11:46 Removing intermediate container eead5c18253b 17:11:46 ---> 04a404007cb4 17:11:46 [Warning] One or more build-args [ARCH] were not consumed 17:11:46 Successfully built 04a404007cb4 17:11:46 Successfully tagged device-onvif-camera:latest 17:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:46 Configure a credential helper to remove this warning. See 17:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:46 17:11:46 Login Succeeded 17:11:46 nexus3.edgexfoundry.org:10004 [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 17:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:11:47 17:11:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:47 Configure a credential helper to remove this warning. See 17:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:47 17:11:47 Login Succeeded 17:11:47 docker.io 17:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:11:47 latest: Pulling from edgex-lftools-log-publisher 17:11:47 5eb5b503b376: Pulling fs layer 17:11:47 5c69ac0246d0: Pulling fs layer 17:11:47 ec43610c2a17: Pulling fs layer 17:11:47 3a2ae6a8a46f: Pulling fs layer 17:11:47 33b1e0a273af: Pulling fs layer 17:11:47 5d3b04190fa2: Pulling fs layer 17:11:47 2f39f015ded8: Pulling fs layer 17:11:47 33b1e0a273af: Waiting 17:11:47 5d3b04190fa2: Waiting 17:11:47 3a2ae6a8a46f: Waiting 17:11:47 5c69ac0246d0: Verifying Checksum 17:11:47 5c69ac0246d0: Download complete 17:11:47 3a2ae6a8a46f: Verifying Checksum 17:11:47 3a2ae6a8a46f: Download complete 17:11:47 33b1e0a273af: Verifying Checksum 17:11:47 33b1e0a273af: Download complete 17:11:47 ec43610c2a17: Verifying Checksum 17:11:47 ec43610c2a17: Download complete 17:11:47 5d3b04190fa2: Verifying Checksum 17:11:47 5d3b04190fa2: Download complete 17:11:47 5eb5b503b376: Verifying Checksum 17:11:47 5eb5b503b376: Download complete 17:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:48 Configure a credential helper to remove this warning. See 17:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:48 17:11:48 Login Succeeded 17:11:48 ---> docker-login.sh ends [Pipeline] } 17:11:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:11:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:11:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:11:48 ========================================================= 17:11:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:11:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:48 2f39f015ded8: Download complete 17:11:48 + 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 . 17:11:49 5eb5b503b376: Pull complete 17:11:49 5c69ac0246d0: Pull complete 17:11:49 Sending build context to Docker daemon 20.38MB 17:11:49 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 17:11:49 Step 2/14 : FROM ${BASE} AS builder 17:11:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:11:49 9b18e9b68314: Pulling fs layer 17:11:49 d32db5db7311: Pulling fs layer 17:11:49 d0c4b47475fc: Pulling fs layer 17:11:49 5831b945b038: Pulling fs layer 17:11:49 86bbec2aaacd: Pulling fs layer 17:11:49 e10730c5d714: Pulling fs layer 17:11:49 5dd5c2283517: Pulling fs layer 17:11:49 d5ac0230b979: Pulling fs layer 17:11:49 e10730c5d714: Waiting 17:11:49 5831b945b038: Waiting 17:11:49 5dd5c2283517: Waiting 17:11:49 d5ac0230b979: Waiting 17:11:49 86bbec2aaacd: Waiting 17:11:49 d0c4b47475fc: Verifying Checksum 17:11:49 d0c4b47475fc: Download complete 17:11:49 d32db5db7311: Download complete 17:11:49 86bbec2aaacd: Verifying Checksum 17:11:49 86bbec2aaacd: Download complete 17:11:49 9b18e9b68314: Verifying Checksum 17:11:49 9b18e9b68314: Download complete 17:11:49 e10730c5d714: Verifying Checksum 17:11:49 e10730c5d714: Download complete 17:11:49 ec43610c2a17: Pull complete 17:11:49 3a2ae6a8a46f: Pull complete 17:11:49 33b1e0a273af: Pull complete 17:11:49 5d3b04190fa2: Pull complete 17:11:50 9b18e9b68314: Pull complete 17:11:50 d5ac0230b979: Verifying Checksum 17:11:50 d5ac0230b979: Download complete 17:11:50 d32db5db7311: Pull complete 17:11:50 d0c4b47475fc: Pull complete 17:11:51 5dd5c2283517: Verifying Checksum 17:11:51 5dd5c2283517: Download complete 17:11:52 5831b945b038: Download complete 17:11:54 2f39f015ded8: Pull complete 17:11:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:11:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:11:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:54 prd-ubuntu20.04-docker-8c-8g-8695 does not seem to be running inside a container 17:11:54 $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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 17:11:57 $ docker top 8ce1674096b4b85458868771007ecf8ad38491eec7f50f367dd8bbd4d607a18c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:11:57 ---> job-cost.sh 17:11:57 lf-activate-venv: SKIPPING 17:11:57 INFO: No Stack... 17:11:58 INFO: Retrieving Pricing Info for: v3-standard-8 17:11:58 INFO: Archiving Costs [Pipeline] sh 17:11:59 + cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv 17:11:59 + cut -d, -f6 [Pipeline] lock 17:11:59 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-5-stack-cost] 17:11:59 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-5-stack-cost] did not exist. Created. 17:11:59 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:11:59 + echo total: 0.2199999988079071 [Pipeline] stash 17:11:59 Stashed 1 file(s) [Pipeline] } 17:11:59 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-5-stack-cost] [Pipeline] // lock [Pipeline] } 17:11:59 $ docker stop --time=1 8ce1674096b4b85458868771007ecf8ad38491eec7f50f367dd8bbd4d607a18c 17:12:00 $ docker rm -f 8ce1674096b4b85458868771007ecf8ad38491eec7f50f367dd8bbd4d607a18c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:12:04 5831b945b038: Pull complete 17:12:04 86bbec2aaacd: Pull complete 17:12:04 e10730c5d714: Pull complete 17:12:09 5dd5c2283517: Pull complete 17:12:12 d5ac0230b979: Pull complete 17:12:12 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 17:12:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:12:12 ---> 59b3b1a385d4 17:12:12 Step 3/14 : ARG ADD_BUILD_TAGS="" 17:12:13 ---> Running in 98ad938b4f3c 17:12:14 Removing intermediate container 98ad938b4f3c 17:12:14 ---> ae46e2aa4cb0 17:12:14 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:12:14 ---> Running in 4235cad88fc1 17:12:14 Removing intermediate container 4235cad88fc1 17:12:14 ---> 3c8c12562d3a 17:12:14 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:12:14 ---> Running in d159f9d69b47 17:12:15 Removing intermediate container d159f9d69b47 17:12:15 ---> a1053f7e9e29 17:12:15 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 17:12:15 ---> Running in d5adfa12f106 17:12:15 Removing intermediate container d5adfa12f106 17:12:15 ---> 596cd1987e9d 17:12:15 Step 7/14 : LABEL Name=edgex-device-onvif-camera 17:12:15 ---> Running in 90cd42124615 17:12:15 Removing intermediate container 90cd42124615 17:12:15 ---> 33765e05257f 17:12:15 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:12:15 ---> Running in 3ba1238e77fa 17:12:17 Removing intermediate container 3ba1238e77fa 17:12:17 ---> 4797ab7617c0 17:12:17 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:12:17 ---> Running in 751fa1572805 17:12:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:12:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:12:20 OK: 221 MiB in 51 packages 17:12:21 Removing intermediate container 751fa1572805 17:12:21 ---> de3514521aff 17:12:21 Step 10/14 : WORKDIR /device-onvif-camera 17:12:21 ---> Running in 51d9fe831ab1 17:12:21 Removing intermediate container 51d9fe831ab1 17:12:21 ---> ac7f79f17f31 17:12:21 Step 11/14 : COPY go.mod vendor* ./ 17:12:21 ---> 38c0e6aa27b3 17:12:21 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:12:22 ---> Running in 8b2737730b71 17:13:18 Removing intermediate container 8b2737730b71 17:13:18 ---> f27410737f4c 17:13:18 Step 13/14 : COPY . . 17:13:18 ---> 36250ae526ea 17:13:18 Step 14/14 : RUN ${MAKE} 17:13:18 ---> Running in 65b8020576be 17:13:18 noop 17:13:18 Removing intermediate container 65b8020576be 17:13:18 ---> 46b9d8750c56 17:13:18 Successfully built 46b9d8750c56 17:13:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:18 + docker inspect -f . ci-base-image-arm64 17:13:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:18 prd-ubuntu20.04-docker-arm64-4c-16g-8696 does not seem to be running inside a container 17:13:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 17:13:20 $ docker top 164772be3ffd2a15cf4a063d1180e2b9386cf27aebb3a5bd4777b5dc8b7e14a9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:13:20 + go version 17:13:20 go version go1.18.7 linux/arm64 [Pipeline] } 17:13:21 $ docker stop --time=1 164772be3ffd2a15cf4a063d1180e2b9386cf27aebb3a5bd4777b5dc8b7e14a9 17:13:22 $ docker rm -f 164772be3ffd2a15cf4a063d1180e2b9386cf27aebb3a5bd4777b5dc8b7e14a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:23 + docker inspect -f . ci-base-image-arm64 17:13:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:23 prd-ubuntu20.04-docker-arm64-4c-16g-8696 does not seem to be running inside a container 17:13:23 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 17:13:24 $ docker top a13c289148b3ebbd4ce2258b1e18928509068192931d63a3d452b05e97e67069 -eo pid,comm [Pipeline] { [Pipeline] sh 17:13:25 + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh 17:13:25 + make test 17:13:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:13:27 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:15:03 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:15:03 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.206s coverage: 28.2% of statements 17:15:03 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:15:19 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.710s coverage: 86.5% of statements 17:15:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:15:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:15:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:15:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:15:45 ./bin/test-attribution-txt.sh [Pipeline] echo 17:15:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:15:45 $ docker stop --time=1 a13c289148b3ebbd4ce2258b1e18928509068192931d63a3d452b05e97e67069 17:15:48 $ docker rm -f a13c289148b3ebbd4ce2258b1e18928509068192931d63a3d452b05e97e67069 [Pipeline] // withDockerContainer [Pipeline] sh 17:15:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:15:49 Warning: overwriting stash ‘coverage-report’ 17:15:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:15:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:15:50 + ls -al . 17:15:50 total 232 17:15:50 drwxrwxr-x 9 jenkins jenkins 4096 Oct 20 17:13 . 17:15:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 17:11 .. 17:15:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 17:11 .git 17:15:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 17:11 .github 17:15:50 -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 17:11 .gitignore 17:15:50 -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 17:11 .golangci.yml 17:15:50 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 20 17:11 Attribution.txt 17:15:50 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 20 17:11 CHANGELOG.md 17:15:50 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 20 17:11 Dockerfile 17:15:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 17:11 GOVERNANCE.md 17:15:50 -rw-rw-r-- 1 jenkins jenkins 734 Oct 20 17:11 Jenkinsfile 17:15:50 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 17:11 LICENSE 17:15:50 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 20 17:11 Makefile 17:15:50 -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 17:11 OWNERS.md 17:15:50 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 20 17:11 README.md 17:15:50 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 17:09 VERSION 17:15:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 17:11 bin 17:15:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 17:11 cmd 17:15:50 -rw-r--r-- 1 jenkins jenkins 78636 Oct 20 17:15 coverage.out 17:15:50 drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 17:11 doc 17:15:50 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 20 17:11 go.mod 17:15:50 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 20 17:11 go.sum 17:15:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 17:11 internal 17:15:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 17:11 snap 17:15:50 -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 17:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:51 + 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=68169d1bfd71bebd11a366dae991164454c6cc80 --label arch=arm64 --label version=0.0.0 . 17:15:52 Sending build context to Docker daemon 20.46MB 17:15:52 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 17:15:52 Step 2/27 : FROM ${BASE} AS builder 17:15:52 ---> 46b9d8750c56 17:15:52 Step 3/27 : ARG ADD_BUILD_TAGS="" 17:15:52 ---> Running in 1ff43482bb84 17:15:52 Removing intermediate container 1ff43482bb84 17:15:52 ---> 30c7a0ed5b8b 17:15:52 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:15:52 ---> Running in 0ef13158bf31 17:15:53 Removing intermediate container 0ef13158bf31 17:15:53 ---> 0ff43c805acd 17:15:53 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:15:53 ---> Running in 0c64f4da1de7 17:15:53 Removing intermediate container 0c64f4da1de7 17:15:53 ---> d7a29d7c8e82 17:15:53 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 17:15:53 ---> Running in 316590ff2704 17:15:54 Removing intermediate container 316590ff2704 17:15:54 ---> fe5330dbb06f 17:15:54 Step 7/27 : LABEL Name=edgex-device-onvif-camera 17:15:54 ---> Running in 4c434c5f531e 17:15:54 Removing intermediate container 4c434c5f531e 17:15:54 ---> e77c425b1c5d 17:15:54 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:15:54 ---> Running in e367c1a8b0b1 17:15:56 Removing intermediate container e367c1a8b0b1 17:15:56 ---> ebcb00ce9d2a 17:15:56 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:15:56 ---> Running in 64484d106708 17:15:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:15:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:15:59 OK: 221 MiB in 51 packages 17:16:00 Removing intermediate container 64484d106708 17:16:00 ---> fee04e20d783 17:16:00 Step 10/27 : WORKDIR /device-onvif-camera 17:16:01 ---> Running in 1ab89e4dd653 17:16:01 Removing intermediate container 1ab89e4dd653 17:16:01 ---> 1d95ef5669e6 17:16:01 Step 11/27 : COPY go.mod vendor* ./ 17:16:02 ---> d60c041ee1b1 17:16:02 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:16:02 ---> Running in 24377ae2870c 17:16:04 Removing intermediate container 24377ae2870c 17:16:04 ---> 726a539f1304 17:16:04 Step 13/27 : COPY . . 17:16:06 ---> 4d5e318bb76a 17:16:06 Step 14/27 : RUN ${MAKE} 17:16:06 ---> Running in bd5228892376 17:16:07 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 17:18:29 Removing intermediate container bd5228892376 17:18:29 ---> 4fbef0512c61 17:18:29 Step 15/27 : FROM alpine:3.16 17:18:29 3.16: Pulling from library/alpine 17:18:30 9b18e9b68314: Already exists 17:18:30 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:18:30 Status: Downloaded newer image for alpine:3.16 17:18:30 ---> a6215f271958 17:18:30 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:18:30 ---> Running in fa8b77ff7d56 17:18:30 Removing intermediate container fa8b77ff7d56 17:18:30 ---> 39606d3f5ff5 17:18:30 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 17:18:30 ---> Running in f8112cdcff9b 17:18:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:18:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:18:32 (1/6) Installing dumb-init (1.2.5-r1) 17:18:32 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:18:32 (3/6) Installing libsodium (1.0.18-r0) 17:18:32 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:18:32 (5/6) Installing libzmq (4.3.4-r0) 17:18:32 (6/6) Installing zeromq (4.3.4-r0) 17:18:32 Executing busybox-1.35.0-r17.trigger 17:18:32 OK: 8 MiB in 20 packages 17:18:34 Removing intermediate container f8112cdcff9b 17:18:34 ---> 455f2e0aa789 17:18:34 Step 18/27 : WORKDIR / 17:18:34 ---> Running in c645f2261c62 17:18:34 Removing intermediate container c645f2261c62 17:18:34 ---> da1eaa130076 17:18:34 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 17:18:36 ---> c00f22d63c01 17:18:36 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 17:18:36 ---> 094fd288ca46 17:18:36 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:18:37 ---> 18f25c755dbe 17:18:37 Step 22/27 : EXPOSE 59984 17:18:37 ---> Running in 8c3420ade3cf 17:18:37 Removing intermediate container 8c3420ade3cf 17:18:37 ---> 4a72074c74b9 17:18:37 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 17:18:37 ---> Running in 8650d25b5da3 17:18:37 Removing intermediate container 8650d25b5da3 17:18:37 ---> 723f3e215d3e 17:18:37 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:18:37 ---> Running in b759c9f62d67 17:18:38 Removing intermediate container b759c9f62d67 17:18:38 ---> 3c4f7167d3bf 17:18:38 Step 25/27 : LABEL arch=arm64 17:18:38 ---> Running in 3040337d7854 17:18:38 Removing intermediate container 3040337d7854 17:18:38 ---> 7aff71e7d7ec 17:18:38 Step 26/27 : LABEL git_sha=68169d1bfd71bebd11a366dae991164454c6cc80 17:18:38 ---> Running in 928e868bbfc5 17:18:38 Removing intermediate container 928e868bbfc5 17:18:38 ---> fc20348e5477 17:18:38 Step 27/27 : LABEL version=0.0.0 17:18:38 ---> Running in dfb8f7d24a7c 17:18:39 Removing intermediate container dfb8f7d24a7c 17:18:39 ---> 5b161c75cfd0 17:18:39 [Warning] One or more build-args [ARCH] were not consumed 17:18:39 Successfully built 5b161c75cfd0 17:18:39 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 17:18:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:18:39 17:18:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:18:40 arm64: Pulling from edgex-lftools-log-publisher 17:18:40 8998bd30e6a1: Pulling fs layer 17:18:40 04944245beec: Pulling fs layer 17:18:40 699f458cf7ca: Pulling fs layer 17:18:40 765212b225bb: Pulling fs layer 17:18:40 f23df028b6ca: Pulling fs layer 17:18:40 d65c8cfc05b1: Pulling fs layer 17:18:40 2437ff75d9bd: Pulling fs layer 17:18:40 765212b225bb: Waiting 17:18:40 f23df028b6ca: Waiting 17:18:40 d65c8cfc05b1: Waiting 17:18:40 2437ff75d9bd: Waiting 17:18:40 04944245beec: Verifying Checksum 17:18:40 04944245beec: Download complete 17:18:40 765212b225bb: Verifying Checksum 17:18:40 765212b225bb: Download complete 17:18:40 f23df028b6ca: Verifying Checksum 17:18:40 f23df028b6ca: Download complete 17:18:40 d65c8cfc05b1: Verifying Checksum 17:18:40 d65c8cfc05b1: Download complete 17:18:40 699f458cf7ca: Verifying Checksum 17:18:40 699f458cf7ca: Download complete 17:18:40 8998bd30e6a1: Verifying Checksum 17:18:40 8998bd30e6a1: Download complete 17:18:43 2437ff75d9bd: Verifying Checksum 17:18:43 2437ff75d9bd: Download complete 17:18:45 8998bd30e6a1: Pull complete 17:18:46 04944245beec: Pull complete 17:18:47 699f458cf7ca: Pull complete 17:18:47 765212b225bb: Pull complete 17:18:48 f23df028b6ca: Pull complete 17:18:48 d65c8cfc05b1: Pull complete 17:19:03 2437ff75d9bd: Pull complete 17:19:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:19:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:19:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:19:03 prd-ubuntu20.04-docker-arm64-4c-16g-8696 does not seem to be running inside a container 17:19:03 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 17:19:06 $ docker top 08e504024a60ef6533aa906246700a13a263235b52a75385dafd964eeb0ae553 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:19:07 ---> job-cost.sh 17:19:07 lf-activate-venv: SKIPPING 17:19:07 INFO: No Stack... 17:19:07 INFO: Retrieving Pricing Info for: v3-standard-4 17:19:08 INFO: Archiving Costs [Pipeline] sh 17:19:08 + + catcut /w/workspace/device-onvif-camera/5/archives/cost.csv -d, 17:19:08 -f6 [Pipeline] lock 17:19:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-5-stack-cost] 17:19:09 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-5-stack-cost] did not exist. Created. 17:19:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:19:09 /w/workspace/device-onvif-camera/5@tmp/durable-82b98f7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:19:10 + echo total: 0.10999999940395355 [Pipeline] stash 17:19:10 Warning: overwriting stash ‘stack-cost’ 17:19:10 Stashed 1 file(s) [Pipeline] } 17:19:10 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-5-stack-cost] [Pipeline] // lock [Pipeline] } 17:19:10 $ docker stop --time=1 08e504024a60ef6533aa906246700a13a263235b52a75385dafd964eeb0ae553 17:19:11 $ docker rm -f 08e504024a60ef6533aa906246700a13a263235b52a75385dafd964eeb0ae553 [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 17:19:12 provisioning config files... 17:19:12 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config16162695785274915398tmp [Pipeline] { [Pipeline] sh 17:19:12 + set +x 17:19:12 + curl -s https://codecov.io/bash 17:19:12 + bash -s -- 17:19:12 17:19:12 _____ _ 17:19:12 / ____| | | 17:19:12 | | ___ __| | ___ ___ _____ __ 17:19:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:19:12 | |___| (_) | (_| | __/ (_| (_) \ V / 17:19:12 \_____\___/ \__,_|\___|\___\___/ \_/ 17:19:12 Bash-1.0.6 17:19:12 17:19:12 17:19:12 ==> git version 2.25.1 found 17:19:12 ==> 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 17:19:12 Release-Date: 2020-01-08 17:19:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:19:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:19:12 ==> Jenkins CI detected. 17:19:12 current dir:  /w/workspace/undry_device-onvif-camera_PR-180 17:19:12 project root: . 17:19:12 --> token set from env 17:19:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:19:12 ==> Running gcov in . (disable via -X gcov) 17:19:12 ==> Python coveragepy not found 17:19:12 ==> Searching for coverage reports in: 17:19:12 + . 17:19:12 -> Found 1 reports 17:19:12 ==> Detecting git/mercurial file structure 17:19:12 ==> Reading reports 17:19:12 + ./coverage.out bytes=78636 17:19:12 ==> Appending adjustments 17:19:12 https://docs.codecov.io/docs/fixing-reports 17:19:12 + Found adjustments 17:19:12 ==> Gzipping contents 17:19:12 12K /tmp/codecov.GKpRv8.gz 17:19:12 ==> Uploading reports 17:19:12 url: https://codecov.io 17:19:12 query: branch=PR-180&commit=68169d1bfd71bebd11a366dae991164454c6cc80&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 17:19:12 -> Pinging Codecov 17:19:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-180&commit=68169d1bfd71bebd11a366dae991164454c6cc80&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 17:19:13 -> Uploading to 17:19:13 https://storage.googleapis.com/codecov/v4/raw/2022-10-20/F29A59C45E3A92E06B3E522C9905F8EF/68169d1bfd71bebd11a366dae991164454c6cc80/9ea23483-cce6-4032-918d-7301615d4915.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221020%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221020T171913Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a074be25d21963c42e49d4ad0d56b59902e57fc0ae9817ea9d5f85b177128fd0 17:19:13 % Total % Received % Xferd Average Speed Time Time Time Current 17:19:13 Dload Upload Total Spent Left Speed 17:19:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10784 0 0 100 10784 0 44196 --:--:-- --:--:-- --:--:-- 44196 17:19:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/68169d1bfd71bebd11a366dae991164454c6cc80 [Pipeline] } 17:19:13 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 17:19:14 + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] 17:19:14 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 17:19:14 total 16 17:19:14 drwxr-xr-x 3 root root 4096 Oct 20 17:11 . 17:19:14 drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 17:11 .. 17:19:14 drwxr-xr-x 2 root root 4096 Oct 20 17:11 cost 17:19:14 -rw-r--r-- 1 root root 91 Oct 20 17:11 cost.csv 17:19:14 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives 17:19:14 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 17:19:14 total 16 17:19:14 drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 17:11 . 17:19:14 drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 17:11 .. 17:19:14 drwxr-xr-x 2 jenkins jenkins 4096 Oct 20 17:11 cost 17:19:14 -rw-r--r-- 1 jenkins jenkins 91 Oct 20 17:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:19:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:19:15 ---> package-listing.sh 17:19:15 ++ facter osfamily 17:19:15 ++ tr '[:upper:]' '[:lower:]' 17:19:15 + OS_FAMILY=debian 17:19:15 + workspace=/w/workspace/undry_device-onvif-camera_PR-180 17:19:15 + START_PACKAGES=/tmp/packages_start.txt 17:19:15 + END_PACKAGES=/tmp/packages_end.txt 17:19:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:19:15 + PACKAGES=/tmp/packages_start.txt 17:19:15 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 17:19:15 + PACKAGES=/tmp/packages_end.txt 17:19:15 + case "${OS_FAMILY}" in 17:19:15 + dpkg -l 17:19:15 + grep '^ii' 17:19:15 + '[' -f /tmp/packages_start.txt ']' 17:19:15 + '[' -f /tmp/packages_end.txt ']' 17:19:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:19:15 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 17:19:15 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ 17:19:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-180/archives/ [Pipeline] echo 17:19:15 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-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:19:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:19:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:19:16 prd-ubuntu20.04-docker-8c-8g-8695 does not seem to be running inside a container 17:19:16 $ 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-180/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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:19:16 $ docker top c87d941c0127fafef154aafd5478159792914b9a6bfef9bec0d7b52b03a18c2d -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:17 + touch /tmp/pre-build-complete [Pipeline] sh 17:19:17 + mkdir -p /var/log/sysstat [Pipeline] sh 17:19:17 + ls /var/log/sa-host 17:19:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:19:17 provisioning config files... 17:19:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config6051901345677945898tmp [Pipeline] { [Pipeline] echo 17:19:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:19:18 ---> create-netrc.sh [Pipeline] } 17:19:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:19:18 ---> python-tools-install.sh [Pipeline] echo 17:19:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:19:18 ---> sudo-logs.sh 17:19:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:19:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:19:19 ---> job-cost.sh 17:19:19 lf-activate-venv: SKIPPING 17:19:19 DEBUG: total: 0.2199999988079071 17:19:19 INFO: Retrieving Stack Cost... 17:19:19 INFO: Retrieving Pricing Info for: v3-standard-8 17:19:19 INFO: Archiving Costs [Pipeline] echo 17:19:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:19:20 ---> logs-deploy.sh 17:19:20 lf-activate-venv: SKIPPING 17:19:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/5 17:19:20 INFO: archiving workspace using pattern(s): 17:19:21 Archives upload complete. 17:19:21 INFO: archiving logs to Nexus 17:19:21 ---> uname -a: 17:19:21 Linux prd-ubuntu20-04-docker-8c-8g-8695 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:19:21 17:19:21 17:19:21 ---> lscpu: 17:19:21 Architecture: x86_64 17:19:21 CPU op-mode(s): 32-bit, 64-bit 17:19:21 Byte Order: Little Endian 17:19:21 Address sizes: 40 bits physical, 48 bits virtual 17:19:21 CPU(s): 8 17:19:21 On-line CPU(s) list: 0-7 17:19:21 Thread(s) per core: 1 17:19:21 Core(s) per socket: 1 17:19:21 Socket(s): 8 17:19:21 NUMA node(s): 1 17:19:21 Vendor ID: AuthenticAMD 17:19:21 CPU family: 23 17:19:21 Model: 49 17:19:21 Model name: AMD EPYC-Rome Processor 17:19:21 Stepping: 0 17:19:21 CPU MHz: 2799.956 17:19:21 BogoMIPS: 5599.91 17:19:21 Virtualization: AMD-V 17:19:21 Hypervisor vendor: KVM 17:19:21 Virtualization type: full 17:19:21 L1d cache: 256 KiB 17:19:21 L1i cache: 256 KiB 17:19:21 L2 cache: 4 MiB 17:19:21 L3 cache: 128 MiB 17:19:21 NUMA node0 CPU(s): 0-7 17:19:21 Vulnerability Itlb multihit: Not affected 17:19:21 Vulnerability L1tf: Not affected 17:19:21 Vulnerability Mds: Not affected 17:19:21 Vulnerability Meltdown: Not affected 17:19:21 Vulnerability Mmio stale data: Not affected 17:19:21 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:19:21 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:19:21 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:19:21 Vulnerability Srbds: Not affected 17:19:21 Vulnerability Tsx async abort: Not affected 17:19:21 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 17:19:21 17:19:21 17:19:21 ---> nproc: 17:19:21 8 17:19:21 17:19:21 17:19:21 ---> df -h: 17:19:21 Filesystem Size Used Avail Use% Mounted on 17:19:21 overlay 155G 12G 144G 8% / 17:19:21 tmpfs 64M 0 64M 0% /dev 17:19:21 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:19:21 shm 64M 0 64M 0% /dev/shm 17:19:21 /dev/vda1 155G 12G 144G 8% /facter-os 17:19:21 17:19:21 17:19:21 ---> sar -b -r -n DEV: 17:19:21 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8695) 10/20/22 _x86_64_ (8 CPU) 17:19:21 17:19:21 17:08:12 LINUX RESTART (8 CPU) 17:19:21 17:19:21 17:09:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:19:21 17:10:01 141.76 4.58 137.18 0.00 476.12 69540.35 0.00 17:19:21 17:11:01 94.10 0.22 93.88 0.00 2.00 69741.44 0.00 17:19:21 17:12:01 207.65 0.17 207.48 0.00 7.60 75303.72 0.00 17:19:21 17:13:01 6.13 0.00 6.13 0.00 0.00 32013.48 0.00 17:19:21 17:14:01 40.83 9.33 31.49 0.00 2884.32 7428.63 0.00 17:19:21 17:15:01 2.35 0.00 2.35 0.00 0.00 26.26 0.00 17:19:21 17:16:01 0.97 0.00 0.97 0.00 0.00 10.80 0.00 17:19:21 17:17:01 1.72 0.02 1.70 0.00 0.13 18.26 0.00 17:19:21 17:18:01 1.07 0.00 1.07 0.00 0.00 11.73 0.00 17:19:21 17:19:01 2.48 0.00 2.48 0.00 0.00 38.13 0.00 17:19:21 Average: 49.75 1.43 48.33 0.00 336.79 25339.62 0.00 17:19:21 17:19:21 17:09:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:19:21 17:10:01 28735216 31534608 772268 2.35 96348 2928472 2023160 5.96 1124188 2605208 297088 17:19:21 17:11:01 28305456 31519860 783184 2.38 135884 3266280 1932040 5.69 1294392 2821148 151644 17:19:21 17:12:01 27691860 31531644 770524 2.34 148172 3842572 1766912 5.21 1340972 3351088 368 17:19:21 17:13:01 27703444 31543140 759240 2.31 148240 3842492 1766912 5.21 1328452 3350892 44 17:19:21 17:14:01 27411808 31524028 760036 2.31 166844 4091288 1788600 5.27 1483884 3460916 328 17:19:21 17:15:01 27421420 31533644 750764 2.28 166880 4091268 1788600 5.27 1474100 3460872 4 17:19:21 17:16:01 27421364 31533608 750640 2.28 166916 4091288 1788600 5.27 1474596 3460876 164 17:19:21 17:17:01 27425276 31537724 746524 2.27 166956 4091288 1788600 5.27 1470508 3460916 184 17:19:21 17:18:01 27425480 31537976 746208 2.27 166980 4091292 1788600 5.27 1470308 3460916 164 17:19:21 17:19:01 27426048 31538788 745620 2.27 167104 4091300 1788600 5.27 1470180 3461056 164 17:19:21 Average: 27696737 31533502 758501 2.31 153032 3842754 1822062 5.37 1393158 3289389 45015 17:19:21 17:19:21 17:09:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:19:21 17:10:01 ens3 435.13 310.79 7548.41 48.53 0.00 0.00 0.00 0.00 17:19:21 17:10:01 docker0 140.52 191.24 12.04 1845.86 0.00 0.00 0.00 0.00 17:19:21 17:10:01 veth3073ba3 121.78 171.70 12.22 1695.08 0.00 0.00 0.00 0.14 17:19:21 17:10:01 lo 4.34 4.34 0.43 0.43 0.00 0.00 0.00 0.00 17:19:21 17:11:01 veth487c941 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 17:19:21 17:11:01 ens3 29.80 19.01 54.88 10.90 0.00 0.00 0.00 0.00 17:19:21 17:11:01 docker0 2.78 4.97 0.18 28.76 0.00 0.00 0.00 0.00 17:19:21 17:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:19:21 17:12:01 ens3 164.52 130.26 2654.51 112.60 0.00 0.00 0.00 0.00 17:19:21 17:12:01 docker0 9.67 14.11 0.57 98.79 0.00 0.00 0.00 0.00 17:19:21 17:12:01 lo 1.87 1.87 0.18 0.18 0.00 0.00 0.00 0.00 17:19:21 17:13:01 ens3 0.15 0.17 0.01 0.04 0.00 0.00 0.00 0.00 17:19:21 17:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:21 17:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:19:21 17:14:01 ens3 85.64 49.19 1299.50 3.65 0.00 0.00 0.00 0.00 17:19:21 17:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:21 17:14:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 17:19:21 17:15:01 ens3 0.20 0.17 0.01 0.01 0.00 0.00 0.00 0.00 17:19:21 17:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:21 17:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:19:21 17:16:01 ens3 0.42 0.28 1.72 0.02 0.00 0.00 0.00 0.00 17:19:21 17:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:21 17:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:21 17:17:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 17:19:21 17:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:21 17:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:19:21 17:18:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:19:21 17:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:21 17:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:21 17:19:01 ens3 0.30 0.22 0.08 0.07 0.00 0.00 0.00 0.00 17:19:21 17:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:21 17:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:19:21 Average: ens3 71.02 50.59 1145.24 17.53 0.00 0.00 0.00 0.00 17:19:21 Average: docker0 15.09 20.75 1.26 194.59 0.00 0.00 0.00 0.00 17:19:21 Average: lo 0.77 0.77 0.07 0.07 0.00 0.00 0.00 0.00 17:19:21 17:19:21 17:19:21 ---> sar -P ALL: 17:19:21 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8695) 10/20/22 _x86_64_ (8 CPU) 17:19:21 17:19:21 17:08:12 LINUX RESTART (8 CPU) 17:19:21 17:19:21 17:09:02 CPU %user %nice %system %iowait %steal %idle 17:19:21 17:10:01 all 7.08 0.00 3.12 7.96 0.07 81.76 17:19:21 17:10:01 0 6.33 0.00 2.37 9.18 0.05 82.07 17:19:21 17:10:01 1 8.79 0.00 3.57 1.51 0.05 86.08 17:19:21 17:10:01 2 6.14 0.00 3.30 14.04 0.09 76.44 17:19:21 17:10:01 3 7.25 0.00 3.27 10.19 0.05 79.24 17:19:21 17:10:01 4 7.80 0.00 3.48 19.03 0.10 69.59 17:19:21 17:10:01 5 6.94 0.00 2.26 3.64 0.08 87.08 17:19:21 17:10:01 6 6.05 0.00 3.77 3.14 0.09 86.96 17:19:21 17:10:01 7 7.38 0.00 2.95 2.93 0.09 86.65 17:19:21 17:11:01 all 21.08 0.00 3.67 7.21 0.08 67.97 17:19:21 17:11:01 0 20.68 0.00 3.55 1.37 0.08 74.31 17:19:21 17:11:01 1 21.76 0.00 3.28 1.31 0.08 73.57 17:19:21 17:11:01 2 19.92 0.00 4.67 38.52 0.10 36.79 17:19:21 17:11:01 3 21.09 0.00 4.46 4.01 0.07 70.37 17:19:21 17:11:01 4 20.64 0.00 3.31 6.35 0.05 69.65 17:19:21 17:11:01 5 21.96 0.00 3.28 3.81 0.07 70.89 17:19:21 17:11:01 6 21.10 0.00 3.01 0.60 0.07 75.22 17:19:21 17:11:01 7 21.50 0.00 3.78 1.77 0.10 72.85 17:19:21 17:12:01 all 20.76 0.00 4.61 4.42 0.07 70.14 17:19:21 17:12:01 0 19.50 0.00 4.78 0.27 0.07 75.39 17:19:21 17:12:01 1 21.36 0.00 4.24 0.37 0.05 73.98 17:19:21 17:12:01 2 19.84 0.00 4.68 13.65 0.07 61.76 17:19:21 17:12:01 3 22.18 0.00 5.64 1.82 0.07 70.29 17:19:21 17:12:01 4 20.87 0.00 3.84 1.72 0.07 73.50 17:19:21 17:12:01 5 20.65 0.00 5.00 15.13 0.07 59.15 17:19:21 17:12:01 6 21.27 0.00 4.20 0.17 0.07 74.29 17:19:21 17:12:01 7 20.41 0.00 4.53 2.20 0.08 72.78 17:19:21 17:13:01 all 0.12 0.00 0.01 0.13 0.01 99.73 17:19:21 17:13:01 0 0.00 0.00 0.03 0.00 0.00 99.97 17:19:21 17:13:01 1 0.81 0.00 0.00 0.00 0.02 99.17 17:19:21 17:13:01 2 0.03 0.00 0.03 0.93 0.02 98.98 17:19:21 17:13:01 3 0.03 0.00 0.00 0.00 0.00 99.97 17:19:21 17:13:01 4 0.02 0.00 0.02 0.00 0.02 99.95 17:19:21 17:13:01 5 0.02 0.00 0.00 0.08 0.00 99.90 17:19:21 17:13:01 6 0.02 0.00 0.02 0.00 0.02 99.95 17:19:21 17:13:01 7 0.00 0.00 0.00 0.02 0.00 99.98 17:19:21 17:14:01 all 1.30 0.00 0.78 3.67 0.03 94.21 17:19:21 17:14:01 0 1.45 0.00 0.92 1.12 0.02 96.50 17:19:21 17:14:01 1 2.11 0.00 0.52 0.99 0.02 96.36 17:19:21 17:14:01 2 1.27 0.00 0.60 20.34 0.02 77.77 17:19:21 17:14:01 3 0.97 0.00 0.57 1.77 0.05 96.64 17:19:21 17:14:01 4 0.92 0.00 0.73 1.85 0.03 96.46 17:19:21 17:14:01 5 1.12 0.00 1.20 2.67 0.02 94.99 17:19:21 17:14:01 6 1.03 0.00 0.90 0.30 0.03 97.73 17:19:21 17:14:01 7 1.54 0.00 0.80 0.33 0.07 97.26 17:19:21 17:15:01 all 0.02 0.00 0.01 0.06 0.00 99.91 17:19:21 17:15:01 0 0.00 0.00 0.00 0.00 0.00 100.00 17:19:21 17:15:01 1 0.02 0.00 0.00 0.00 0.02 99.97 17:19:21 17:15:01 2 0.03 0.00 0.02 0.12 0.00 99.83 17:19:21 17:15:01 3 0.03 0.00 0.02 0.00 0.00 99.95 17:19:21 17:15:01 4 0.03 0.00 0.00 0.38 0.00 99.58 17:19:21 17:15:01 5 0.02 0.00 0.02 0.00 0.00 99.97 17:19:21 17:15:01 6 0.00 0.00 0.02 0.00 0.00 99.98 17:19:21 17:15:01 7 0.03 0.00 0.00 0.00 0.00 99.97 17:19:21 17:16:01 all 0.02 0.00 0.01 0.06 0.01 99.90 17:19:21 17:16:01 0 0.00 0.00 0.02 0.00 0.00 99.98 17:19:21 17:16:01 1 0.03 0.00 0.02 0.00 0.03 99.92 17:19:21 17:16:01 2 0.03 0.00 0.02 0.37 0.02 99.57 17:19:21 17:16:01 3 0.03 0.00 0.02 0.00 0.00 99.95 17:19:21 17:16:01 4 0.02 0.00 0.00 0.00 0.05 99.93 17:19:21 17:16:01 5 0.00 0.00 0.00 0.13 0.00 99.87 17:19:21 17:16:01 6 0.02 0.00 0.00 0.00 0.00 99.98 17:19:21 17:16:01 7 0.00 0.00 0.02 0.00 0.00 99.98 17:19:21 17:17:01 all 0.05 0.00 0.01 0.03 0.01 99.90 17:19:21 17:17:01 0 0.02 0.00 0.02 0.00 0.00 99.97 17:19:21 17:17:01 1 0.22 0.00 0.02 0.00 0.00 99.77 17:19:21 17:17:01 2 0.02 0.00 0.00 0.08 0.00 99.90 17:19:21 17:17:01 3 0.00 0.00 0.02 0.00 0.00 99.98 17:19:21 17:17:01 4 0.03 0.00 0.02 0.00 0.00 99.95 17:19:21 17:17:01 5 0.03 0.00 0.02 0.17 0.02 99.77 17:19:21 17:17:01 6 0.02 0.00 0.03 0.00 0.02 99.93 17:19:21 17:17:01 7 0.03 0.00 0.00 0.00 0.02 99.95 17:19:21 17:18:01 all 0.03 0.00 0.01 0.01 0.00 99.95 17:19:21 17:18:01 0 0.00 0.00 0.00 0.00 0.00 100.00 17:19:21 17:18:01 1 0.15 0.00 0.00 0.00 0.00 99.85 17:19:21 17:18:01 2 0.00 0.00 0.02 0.07 0.00 99.92 17:19:21 17:18:01 3 0.03 0.00 0.02 0.00 0.00 99.95 17:19:21 17:18:01 4 0.00 0.00 0.02 0.00 0.02 99.97 17:19:21 17:18:01 5 0.00 0.00 0.00 0.00 0.00 100.00 17:19:21 17:18:01 6 0.02 0.00 0.02 0.02 0.00 99.95 17:19:21 17:18:01 7 0.02 0.00 0.02 0.00 0.00 99.97 17:19:21 17:19:01 all 0.04 0.00 0.01 0.12 0.01 99.81 17:19:21 17:19:01 0 0.02 0.00 0.00 0.00 0.02 99.97 17:19:21 17:19:01 1 0.12 0.00 0.00 0.00 0.05 99.83 17:19:21 17:19:01 2 0.00 0.00 0.02 0.65 0.02 99.32 17:19:21 17:19:01 3 0.03 0.00 0.02 0.03 0.02 99.90 17:19:21 17:19:01 4 0.05 0.00 0.03 0.17 0.02 99.73 17:19:21 17:19:01 5 0.05 0.00 0.00 0.13 0.00 99.82 17:19:21 17:19:01 6 0.03 0.00 0.03 0.00 0.00 99.93 17:19:21 17:19:01 7 0.03 0.00 0.02 0.00 0.00 99.95 17:19:21 Average: all 5.01 0.00 1.21 2.35 0.03 91.40 17:19:21 Average: 0 4.76 0.00 1.16 1.18 0.02 92.88 17:19:21 Average: 1 5.51 0.00 1.15 0.41 0.03 92.89 17:19:21 Average: 2 4.69 0.00 1.32 8.82 0.03 85.13 17:19:21 Average: 3 5.13 0.00 1.39 1.76 0.03 91.70 17:19:21 Average: 4 5.00 0.00 1.14 2.91 0.04 90.91 17:19:21 Average: 5 5.04 0.00 1.17 2.56 0.03 91.21 17:19:21 Average: 6 4.93 0.00 1.19 0.42 0.03 93.44 17:19:21 Average: 7 5.05 0.00 1.20 0.71 0.04 93.00 17:19:21 17:19:21 17:19:21