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 4f315f802bf19a2e4c1d2b75a07498d8796cf70c 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-ssh16717995279396321553.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-ssh3664115203092369224.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-ssh11492905124139405040.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-ssh4006594340419263052.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-ssh15032925064296881000.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8641 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 4f315f802bf19a2e4c1d2b75a07498d8796cf70c Merge succeeded, producing 4f315f802bf19a2e4c1d2b75a07498d8796cf70c Checking out Revision 4f315f802bf19a2e4c1d2b75a07498d8796cf70c (PR-180) > git config core.sparsecheckout # timeout=10 > git checkout -f 4f315f802bf19a2e4c1d2b75a07498d8796cf70c # 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 4f315f802bf19a2e4c1d2b75a07498d8796cf70c # timeout=10 Commit message: "docs: remove unused onvif schemas from swagger file" > git rev-list --no-walk 3cb33cdf5438b92aa5f3efd3ec84d2543962f520 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:11:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:11:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:11:05 ========================================================= 00:11:05 EdgeX Global Pipelines Version Info 00:11:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:11:06 ------------------- 00:11:06 stable info: 00:11:06 ------------------- 00:11:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:11:06 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 00:11:06 Message: update stable to v1.0.243 00:11:06 ------------------- 00:11:06 experimental info: 00:11:06 ------------------- 00:11:06 Commited By: **** collab-it+edgex@linuxfoundation.org 00:11:06 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 00:11:06 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f315f802bf19a2e4c1d2b75a07498d8796cf70c [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f315f8 [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:11:07 provisioning config files... 00:11:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config8299343912901149608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:07 ---> docker-login.sh 00:11:07 nexus3.edgexfoundry.org:10001 00:11:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:08 Configure a credential helper to remove this warning. See 00:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:08 00:11:08 Login Succeeded 00:11:08 nexus3.edgexfoundry.org:10002 00:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:08 Configure a credential helper to remove this warning. See 00:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:08 00:11:08 Login Succeeded 00:11:08 nexus3.edgexfoundry.org:10003 00:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:08 Configure a credential helper to remove this warning. See 00:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:08 00:11:08 Login Succeeded 00:11:08 nexus3.edgexfoundry.org:10004 00:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:08 Configure a credential helper to remove this warning. See 00:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:08 00:11:08 Login Succeeded 00:11:08 docker.io 00:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:08 Configure a credential helper to remove this warning. See 00:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:08 00:11:08 Login Succeeded 00:11:08 ---> docker-login.sh ends [Pipeline] } 00:11:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:11:09 + git rev-list -1 --merges 4f315f802bf19a2e4c1d2b75a07498d8796cf70c~1..4f315f802bf19a2e4c1d2b75a07498d8796cf70c [Pipeline] echo 00:11:09 -----------> git rev-list -1 --merges 4f315f802bf19a2e4c1d2b75a07498d8796cf70c~1..4f315f802bf19a2e4c1d2b75a07498d8796cf70c 4f315f802bf19a2e4c1d2b75a07498d8796cf70c [false] [Pipeline] sh 00:11:09 + git log --format=format:%s -1 4f315f802bf19a2e4c1d2b75a07498d8796cf70c [Pipeline] echo 00:11:09 ========================================================= 00:11:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:11:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:11:09 + git log --format=format:%s -1 4f315f802bf19a2e4c1d2b75a07498d8796cf70c [Pipeline] echo 00:11:09 [semverPrep] GIT_COMMIT: 4f315f802bf19a2e4c1d2b75a07498d8796cf70c, Commit Message: docs: remove unused onvif schemas from swagger file [Pipeline] echo 00:11:09 [semverPrep] This is not a build commit. [Pipeline] sh 00:11:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:11:10 + grep -v github /etc/ssh/ssh_known_hosts 00:11:10 + [ -e /tmp/ssh_known_hosts ] 00:11:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:11:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:11:10 + sudo tee -a /etc/ssh/ssh_known_hosts 00:11:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:10 00:11:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:11 0.1.4: Pulling from edgex-devops/py-git-semver 00:11:11 b85a868b505f: Pulling fs layer 00:11:11 e2be974225ed: Pulling fs layer 00:11:11 339a4e72a1f5: Pulling fs layer 00:11:11 988bab9f4d93: Pulling fs layer 00:11:11 1469e6f7b9e6: Pulling fs layer 00:11:11 eaf3925da568: Pulling fs layer 00:11:11 bab4dde63d76: Pulling fs layer 00:11:11 bde34c3a00c8: Pulling fs layer 00:11:11 b352a97aabf1: Pulling fs layer 00:11:11 4872d77fe225: Pulling fs layer 00:11:11 5851b861e8e6: Pulling fs layer 00:11:11 1469e6f7b9e6: Waiting 00:11:11 eaf3925da568: Waiting 00:11:11 bab4dde63d76: Waiting 00:11:11 988bab9f4d93: Waiting 00:11:11 5851b861e8e6: Waiting 00:11:11 e2be974225ed: Download complete 00:11:11 988bab9f4d93: Verifying Checksum 00:11:11 988bab9f4d93: Download complete 00:11:11 339a4e72a1f5: Verifying Checksum 00:11:11 339a4e72a1f5: Download complete 00:11:11 1469e6f7b9e6: Verifying Checksum 00:11:11 1469e6f7b9e6: Download complete 00:11:11 eaf3925da568: Verifying Checksum 00:11:11 eaf3925da568: Download complete 00:11:11 bde34c3a00c8: Download complete 00:11:11 b352a97aabf1: Verifying Checksum 00:11:11 b352a97aabf1: Download complete 00:11:11 4872d77fe225: Verifying Checksum 00:11:11 4872d77fe225: Download complete 00:11:11 5851b861e8e6: Verifying Checksum 00:11:11 5851b861e8e6: Download complete 00:11:11 b85a868b505f: Verifying Checksum 00:11:11 b85a868b505f: Download complete 00:11:11 bab4dde63d76: Verifying Checksum 00:11:11 bab4dde63d76: Download complete 00:11:12 b85a868b505f: Pull complete 00:11:12 e2be974225ed: Pull complete 00:11:13 339a4e72a1f5: Pull complete 00:11:13 988bab9f4d93: Pull complete 00:11:13 1469e6f7b9e6: Pull complete 00:11:13 eaf3925da568: Pull complete 00:11:15 bab4dde63d76: Pull complete 00:11:15 bde34c3a00c8: Pull complete 00:11:15 b352a97aabf1: Pull complete 00:11:15 4872d77fe225: Pull complete 00:11:15 5851b861e8e6: Pull complete 00:11:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:11:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:15 prd-ubuntu20.04-docker-8c-8g-8641 does not seem to be running inside a container 00:11:15 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:11:18 $ docker top edc8b3f5f239047a374f64cd7ef217b19eff4a9e5bff76779fd4fda558bdc668 -eo pid,comm 00:11:18 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). 00:11:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:11:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:18 [ssh-agent] Looking for ssh-agent implementation... 00:11:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:18 $ docker exec edc8b3f5f239047a374f64cd7ef217b19eff4a9e5bff76779fd4fda558bdc668 ssh-agent 00:11:18 SSH_AUTH_SOCK=/tmp/ssh-JV0AoUyeYUvi/agent.32 00:11:18 SSH_AGENT_PID=38 00:11:18 Running ssh-add (command line suppressed) 00:11:18 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_631457490767788736.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_631457490767788736.key) 00:11:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:19 + git tag --points-at HEAD [Pipeline] } 00:11:19 $ docker exec --env ******** --env ******** edc8b3f5f239047a374f64cd7ef217b19eff4a9e5bff76779fd4fda558bdc668 ssh-agent -k 00:11:19 unset SSH_AUTH_SOCK; 00:11:19 unset SSH_AGENT_PID; 00:11:19 echo Agent pid 38 killed; 00:11:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:11:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:19 [ssh-agent] Looking for ssh-agent implementation... 00:11:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:19 $ docker exec edc8b3f5f239047a374f64cd7ef217b19eff4a9e5bff76779fd4fda558bdc668 ssh-agent 00:11:19 SSH_AUTH_SOCK=/tmp/ssh-xcw7CtHW38vL/agent.70 00:11:19 SSH_AGENT_PID=76 00:11:19 Running ssh-add (command line suppressed) 00:11:19 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_16346344304748220068.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_16346344304748220068.key) 00:11:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:20 + git semver init 00:11:20 2022-10-20 00:11:20,252 [run_init] DEBUG init version:0.0.0 force:False 00:11:20 2022-10-20 00:11:20,253 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver 00:11:20 2022-10-20 00:11:20,254 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-180/.semver 00:11:20 2022-10-20 00:11:20,254 [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) 00:11:21 2022-10-20 00:11:21,278 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude 00:11:21 2022-10-20 00:11:21,278 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 with force:False 00:11:21 2022-10-20 00:11:21,278 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 00:11:21 2022-10-20 00:11:21,282 [execute] INFO git cat-file --batch-check 00:11:21 2022-10-20 00:11:21,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 00:11:21 2022-10-20 00:11:21,290 [execute] INFO git cat-file --batch 00:11:21 2022-10-20 00:11:21,290 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 00:11:21 2022-10-20 00:11:21,295 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 00:11:21 0.0.0 [Pipeline] } 00:11:21 $ docker exec --env ******** --env ******** edc8b3f5f239047a374f64cd7ef217b19eff4a9e5bff76779fd4fda558bdc668 ssh-agent -k 00:11:21 unset SSH_AUTH_SOCK; 00:11:21 unset SSH_AGENT_PID; 00:11:21 echo Agent pid 76 killed; 00:11:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:11:22 + git semver [Pipeline] } 00:11:22 $ docker stop --time=1 edc8b3f5f239047a374f64cd7ef217b19eff4a9e5bff76779fd4fda558bdc668 00:11:23 $ docker rm -f edc8b3f5f239047a374f64cd7ef217b19eff4a9e5bff76779fd4fda558bdc668 [Pipeline] // withDockerContainer [Pipeline] sh 00:11:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:11:24 Stashed 1 file(s) [Pipeline] echo 00:11:24 [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 00:11:24 provisioning config files... 00:11:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config13318585499807175605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:24 ---> docker-login.sh 00:11:24 nexus3.edgexfoundry.org:10001 00:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:24 Configure a credential helper to remove this warning. See 00:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:24 00:11:24 Login Succeeded 00:11:24 nexus3.edgexfoundry.org:10002 00:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:24 Configure a credential helper to remove this warning. See 00:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:24 00:11:24 Login Succeeded 00:11:24 nexus3.edgexfoundry.org:10003 00:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:24 Configure a credential helper to remove this warning. See 00:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:24 00:11:24 Login Succeeded 00:11:24 nexus3.edgexfoundry.org:10004 00:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:24 Configure a credential helper to remove this warning. See 00:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:24 00:11:24 Login Succeeded 00:11:24 docker.io 00:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:25 Configure a credential helper to remove this warning. See 00:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:25 00:11:25 Login Succeeded 00:11:25 ---> docker-login.sh ends [Pipeline] } 00:11:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:11:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:25 ========================================================= 00:11:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:11:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:25 + 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 . 00:11:25 Sending build context to Docker daemon 28.14MB 00:11:25 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 00:11:25 Step 2/14 : FROM ${BASE} AS builder 00:11:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:11:26 213ec9aee27d: Pulling fs layer 00:11:26 4583459ba037: Pulling fs layer 00:11:26 93c1e223e6f2: Pulling fs layer 00:11:26 53926ce57604: Pulling fs layer 00:11:26 21b2b0c7a3f4: Pulling fs layer 00:11:26 30f14e443154: Pulling fs layer 00:11:26 801331c1e519: Pulling fs layer 00:11:26 99cc6dd402b0: Pulling fs layer 00:11:26 7d9ed39f4882: Pulling fs layer 00:11:26 53926ce57604: Waiting 00:11:26 21b2b0c7a3f4: Waiting 00:11:26 7d9ed39f4882: Waiting 00:11:26 30f14e443154: Waiting 00:11:26 99cc6dd402b0: Waiting 00:11:26 801331c1e519: Waiting 00:11:26 4583459ba037: Verifying Checksum 00:11:26 4583459ba037: Download complete 00:11:26 21b2b0c7a3f4: Verifying Checksum 00:11:26 21b2b0c7a3f4: Download complete 00:11:26 30f14e443154: Verifying Checksum 00:11:26 30f14e443154: Download complete 00:11:26 213ec9aee27d: Verifying Checksum 00:11:26 213ec9aee27d: Download complete 00:11:26 801331c1e519: Verifying Checksum 00:11:26 801331c1e519: Download complete 00:11:26 213ec9aee27d: Pull complete 00:11:26 4583459ba037: Pull complete 00:11:26 93c1e223e6f2: Pull complete 00:11:26 7d9ed39f4882: Verifying Checksum 00:11:26 7d9ed39f4882: Download complete 00:11:26 99cc6dd402b0: Verifying Checksum 00:11:26 99cc6dd402b0: Download complete 00:11:26 53926ce57604: Verifying Checksum 00:11:26 53926ce57604: Download complete 00:11:30 53926ce57604: Pull complete 00:11:30 21b2b0c7a3f4: Pull complete 00:11:30 30f14e443154: Pull complete 00:11:30 801331c1e519: Pull complete 00:11:32 99cc6dd402b0: Pull complete 00:11:33 7d9ed39f4882: Pull complete 00:11:33 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 00:11:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:11:33 ---> 1dedd983c030 00:11:33 Step 3/14 : ARG ADD_BUILD_TAGS="" 00:11:35 ---> Running in 80aef7d73c40 00:11:35 Removing intermediate container 80aef7d73c40 00:11:35 ---> 3d4ef1951024 00:11:35 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:11:35 ---> Running in b501ac2f74af 00:11:35 Removing intermediate container b501ac2f74af 00:11:35 ---> 8863138297bd 00:11:35 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:11:35 ---> Running in 9c6015ba7941 00:11:35 Removing intermediate container 9c6015ba7941 00:11:35 ---> 0385e4b23786 00:11:35 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 00:11:35 ---> Running in ee3a3626c267 00:11:36 Removing intermediate container ee3a3626c267 00:11:36 ---> aa5145725a57 00:11:36 Step 7/14 : LABEL Name=edgex-device-onvif-camera 00:11:36 ---> Running in 38f5da3f87f5 00:11:36 Removing intermediate container 38f5da3f87f5 00:11:36 ---> 5d8999db0c37 00:11:36 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:11:36 ---> Running in 588bca667765 00:11:36 Removing intermediate container 588bca667765 00:11:36 ---> fdb0159e475a 00:11:36 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:11:36 ---> Running in afde3287acc3 00:11:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:11:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:11:38 OK: 211 MiB in 51 packages 00:11:38 Removing intermediate container afde3287acc3 00:11:38 ---> a39f1dc0eea1 00:11:38 Step 10/14 : WORKDIR /device-onvif-camera 00:11:38 ---> Running in 0607ab1bf476 00:11:38 Removing intermediate container 0607ab1bf476 00:11:38 ---> 0da9069d2f02 00:11:38 Step 11/14 : COPY go.mod vendor* ./ 00:11:39 ---> 07d31f91ad15 00:11:39 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:11:39 ---> Running in f5135e78dc4f 00:11:39 Still waiting to schedule task 00:11:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:12:01 Removing intermediate container f5135e78dc4f 00:12:01 ---> d22a5690a26e 00:12:01 Step 13/14 : COPY . . 00:12:01 ---> 6785ba81bdfb 00:12:01 Step 14/14 : RUN ${MAKE} 00:12:01 ---> Running in 06833aaf3544 00:12:01 noop 00:12:01 Removing intermediate container 06833aaf3544 00:12:01 ---> 94c89618faec 00:12:01 Successfully built 94c89618faec 00:12:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:01 + docker inspect -f . ci-base-image-x86_64 00:12:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:01 prd-ubuntu20.04-docker-8c-8g-8641 does not seem to be running inside a container 00:12:01 $ 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 ******** -e ******** ci-base-image-x86_64 cat 00:12:01 $ docker top d018a706f03831d124f13c6282ef6ddabedf0d98cb81960bc5243d9de1bd4265 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:02 + go version 00:12:02 go version go1.18.7 linux/amd64 [Pipeline] } 00:12:02 $ docker stop --time=1 d018a706f03831d124f13c6282ef6ddabedf0d98cb81960bc5243d9de1bd4265 00:12:03 $ docker rm -f d018a706f03831d124f13c6282ef6ddabedf0d98cb81960bc5243d9de1bd4265 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:03 + docker inspect -f . ci-base-image-x86_64 00:12:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:03 prd-ubuntu20.04-docker-8c-8g-8641 does not seem to be running inside a container 00:12:03 $ 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 ******** -e ******** ci-base-image-x86_64 cat 00:12:04 $ docker top 7242b607518b230f7940e352d677a363704a85e8011647a4b6a2b95aef37a807 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:04 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh 00:12:05 + make test 00:12:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:12:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:12:15 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:12:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.030s coverage: 28.2% of statements 00:12:16 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:12:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.351s coverage: 86.5% of statements 00:12:24 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." 00:12:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:12:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:12:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:12:26 ./bin/test-attribution-txt.sh [Pipeline] echo 00:12:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:12:27 $ docker stop --time=1 7242b607518b230f7940e352d677a363704a85e8011647a4b6a2b95aef37a807 00:12:28 $ docker rm -f 7242b607518b230f7940e352d677a363704a85e8011647a4b6a2b95aef37a807 [Pipeline] // withDockerContainer [Pipeline] sh 00:12:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:12:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:12:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:12:30 + ls -al . 00:12:30 total 236 00:12:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 00:12 . 00:12:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 00:10 .. 00:12:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 00:12 .git 00:12:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 00:11 .github 00:12:30 -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 00:11 .gitignore 00:12:30 -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 00:11 .golangci.yml 00:12:30 drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 00:11 .semver 00:12:30 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 20 00:11 Attribution.txt 00:12:30 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 20 00:11 CHANGELOG.md 00:12:30 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 20 00:11 Dockerfile 00:12:30 -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 00:11 GOVERNANCE.md 00:12:30 -rw-rw-r-- 1 jenkins jenkins 734 Oct 20 00:11 Jenkinsfile 00:12:30 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 00:11 LICENSE 00:12:30 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 20 00:11 Makefile 00:12:30 -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 00:11 OWNERS.md 00:12:30 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 20 00:11 README.md 00:12:30 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 00:11 VERSION 00:12:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 00:11 bin 00:12:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 00:11 cmd 00:12:30 -rw-r--r-- 1 jenkins jenkins 78636 Oct 20 00:12 coverage.out 00:12:30 drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 00:11 doc 00:12:30 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 20 00:11 go.mod 00:12:30 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 20 00:11 go.sum 00:12:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 00:11 internal 00:12:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 00:11 snap 00:12:30 -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 00:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:30 + 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=4f315f802bf19a2e4c1d2b75a07498d8796cf70c --label arch=amd64 --label version=0.0.0 . 00:12:30 Sending build context to Docker daemon 28.22MB 00:12:30 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 00:12:30 Step 2/27 : FROM ${BASE} AS builder 00:12:30 ---> 94c89618faec 00:12:30 Step 3/27 : ARG ADD_BUILD_TAGS="" 00:12:30 ---> Running in 2cc69ffe0d08 00:12:30 Removing intermediate container 2cc69ffe0d08 00:12:30 ---> dc698c8d2f09 00:12:30 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:12:30 ---> Running in 330e78e95a3a 00:12:30 Removing intermediate container 330e78e95a3a 00:12:30 ---> fe5312057c0c 00:12:30 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:12:30 ---> Running in 6b549b9b91cd 00:12:30 Removing intermediate container 6b549b9b91cd 00:12:30 ---> aebf6eea3c9e 00:12:30 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 00:12:30 ---> Running in f6449ce600f3 00:12:31 Removing intermediate container f6449ce600f3 00:12:31 ---> 864466c46080 00:12:31 Step 7/27 : LABEL Name=edgex-device-onvif-camera 00:12:31 ---> Running in eabd4387ad9f 00:12:31 Removing intermediate container eabd4387ad9f 00:12:31 ---> 3b22efdcef8f 00:12:31 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:12:31 ---> Running in 759082b8fcc9 00:12:32 Removing intermediate container 759082b8fcc9 00:12:32 ---> 1c1451d415df 00:12:32 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:12:32 ---> Running in 7f3981e4e543 00:12:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:12:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:12:33 OK: 211 MiB in 51 packages 00:12:33 Removing intermediate container 7f3981e4e543 00:12:33 ---> 6d1b1daa16b8 00:12:33 Step 10/27 : WORKDIR /device-onvif-camera 00:12:33 ---> Running in 0baf2f5334db 00:12:33 Removing intermediate container 0baf2f5334db 00:12:33 ---> 1569916c5a6e 00:12:33 Step 11/27 : COPY go.mod vendor* ./ 00:12:34 ---> 4e59162e0f50 00:12:34 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:12:34 ---> Running in ee2d4cca33ca 00:12:34 Removing intermediate container ee2d4cca33ca 00:12:34 ---> d83d622c367d 00:12:34 Step 13/27 : COPY . . 00:12:35 ---> 7f8d7d5826b1 00:12:35 Step 14/27 : RUN ${MAKE} 00:12:35 ---> Running in 221f9820575c 00:12:36 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 00:12:57 Removing intermediate container 221f9820575c 00:12:57 ---> c19a16345078 00:12:57 Step 15/27 : FROM alpine:3.16 00:12:57 3.16: Pulling from library/alpine 00:12:57 213ec9aee27d: Already exists 00:12:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:12:57 Status: Downloaded newer image for alpine:3.16 00:12:57 ---> 9c6f07244728 00:12:57 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:12:57 ---> Running in 1d46bfbbd2e1 00:12:57 Removing intermediate container 1d46bfbbd2e1 00:12:57 ---> 963845be913a 00:12:57 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 00:12:57 ---> Running in 0f2fa13b8e4a 00:12:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:12:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:12:57 (1/6) Installing dumb-init (1.2.5-r1) 00:12:57 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:12:57 (3/6) Installing libsodium (1.0.18-r0) 00:12:57 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:12:57 (5/6) Installing libzmq (4.3.4-r0) 00:12:57 (6/6) Installing zeromq (4.3.4-r0) 00:12:57 Executing busybox-1.35.0-r17.trigger 00:12:57 OK: 8 MiB in 20 packages 00:12:57 Removing intermediate container 0f2fa13b8e4a 00:12:57 ---> 7c246bc8890d 00:12:57 Step 18/27 : WORKDIR / 00:12:57 ---> Running in 83ea077f7bf1 00:12:57 Removing intermediate container 83ea077f7bf1 00:12:57 ---> e4396da6abc7 00:12:57 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 00:12:57 ---> ad9715df8942 00:12:57 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 00:12:58 ---> efd9dbb46211 00:12:58 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:12:58 ---> 9dea5a9dc4e8 00:12:58 Step 22/27 : EXPOSE 59984 00:12:58 ---> Running in fe0e8685a648 00:12:58 Removing intermediate container fe0e8685a648 00:12:58 ---> cf2ce58d001c 00:12:58 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 00:12:58 ---> Running in 2b411b3a7e44 00:12:58 Removing intermediate container 2b411b3a7e44 00:12:58 ---> 43e425d4374d 00:12:58 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:12:58 ---> Running in 6147b6504116 00:12:58 Removing intermediate container 6147b6504116 00:12:58 ---> d010a37bf6d6 00:12:58 Step 25/27 : LABEL arch=amd64 00:12:58 ---> Running in 11fd960e099b 00:12:58 Removing intermediate container 11fd960e099b 00:12:58 ---> 8fe858c33800 00:12:58 Step 26/27 : LABEL git_sha=4f315f802bf19a2e4c1d2b75a07498d8796cf70c 00:12:58 ---> Running in 221a23cb665a 00:12:58 Removing intermediate container 221a23cb665a 00:12:58 ---> 59966c455e3e 00:12:58 Step 27/27 : LABEL version=0.0.0 00:12:58 ---> Running in c0a672abaf1b 00:12:59 Removing intermediate container c0a672abaf1b 00:12:59 ---> 9a94f09e7737 00:12:59 [Warning] One or more build-args [ARCH] were not consumed 00:12:59 Successfully built 9a94f09e7737 00:12:59 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:59 00:12:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:59 latest: Pulling from edgex-lftools-log-publisher 00:12:59 5eb5b503b376: Pulling fs layer 00:12:59 5c69ac0246d0: Pulling fs layer 00:12:59 ec43610c2a17: Pulling fs layer 00:12:59 3a2ae6a8a46f: Pulling fs layer 00:12:59 33b1e0a273af: Pulling fs layer 00:12:59 5d3b04190fa2: Pulling fs layer 00:12:59 2f39f015ded8: Pulling fs layer 00:12:59 5d3b04190fa2: Waiting 00:12:59 3a2ae6a8a46f: Waiting 00:12:59 2f39f015ded8: Waiting 00:12:59 33b1e0a273af: Waiting 00:12:59 5c69ac0246d0: Download complete 00:12:59 3a2ae6a8a46f: Verifying Checksum 00:12:59 3a2ae6a8a46f: Download complete 00:12:59 33b1e0a273af: Verifying Checksum 00:12:59 33b1e0a273af: Download complete 00:13:00 5d3b04190fa2: Verifying Checksum 00:13:00 5d3b04190fa2: Download complete 00:13:00 ec43610c2a17: Verifying Checksum 00:13:00 ec43610c2a17: Download complete 00:13:00 5eb5b503b376: Download complete 00:13:00 2f39f015ded8: Download complete 00:13:01 5eb5b503b376: Pull complete 00:13:01 5c69ac0246d0: Pull complete 00:13:01 ec43610c2a17: Pull complete 00:13:01 3a2ae6a8a46f: Pull complete 00:13:02 33b1e0a273af: Pull complete 00:13:02 5d3b04190fa2: Pull complete 00:13:06 2f39f015ded8: Pull complete 00:13:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:13:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:06 prd-ubuntu20.04-docker-8c-8g-8641 does not seem to be running inside a container 00:13:06 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:13:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8642 in /w/workspace/undry_device-onvif-camera_PR-180 00:13:08 $ docker top 66d7dc1a5c8e7e66949ae81483e93e33dc4d18386f237771e2b18560d304d9d7 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 00:13:08 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 00:13:08 The recommended git tool is: git 00:13:08 ---> job-cost.sh 00:13:08 lf-activate-venv: SKIPPING 00:13:08 INFO: No Stack... 00:13:09 INFO: Retrieving Pricing Info for: v3-standard-8 00:13:09 INFO: Archiving Costs [Pipeline] sh 00:13:09 + cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv 00:13:09 + cut -d, -f6 [Pipeline] lock 00:13:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-2-stack-cost] 00:13:09 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-2-stack-cost] did not exist. Created. 00:13:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:13:09 + echo total: 0.2199999988079071 [Pipeline] stash 00:13:10 Stashed 1 file(s) [Pipeline] } 00:13:10 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:13:10 $ docker stop --time=1 66d7dc1a5c8e7e66949ae81483e93e33dc4d18386f237771e2b18560d304d9d7 00:13:11 $ docker rm -f 66d7dc1a5c8e7e66949ae81483e93e33dc4d18386f237771e2b18560d304d9d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:13:13 using credential edgex-jenkins-ssh 00:13:13 Cloning the remote Git repository 00:13:13 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:13:13 > git init /w/workspace/device-onvif-camera/2 # timeout=10 00:13:14 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:13:14 > git --version # timeout=10 00:13:14 > git --version # 'git version 2.25.1' 00:13:14 using GIT_SSH to set credentials SSH Credentials for GitHub 00:13:14 Verifying host key using known hosts file 00:13:14 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. 00:13:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:13:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:13:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:13:16 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:13:16 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:13:16 using GIT_SSH to set credentials SSH Credentials for GitHub 00:13:16 Verifying host key using known hosts file 00:13:16 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. 00:13:16 > 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 00:13:17 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit 4f315f802bf19a2e4c1d2b75a07498d8796cf70c 00:13:18 Merge succeeded, producing 4f315f802bf19a2e4c1d2b75a07498d8796cf70c 00:13:18 Checking out Revision 4f315f802bf19a2e4c1d2b75a07498d8796cf70c (PR-180) 00:13:17 > git config core.sparsecheckout # timeout=10 00:13:17 > git checkout -f 4f315f802bf19a2e4c1d2b75a07498d8796cf70c # timeout=10 00:13:18 > git remote # timeout=10 00:13:18 > git config --get remote.origin.url # timeout=10 00:13:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:13:18 Verifying host key using known hosts file 00:13:18 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. 00:13:18 > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 00:13:18 > git rev-parse HEAD^{commit} # timeout=10 00:13:18 > git config core.sparsecheckout # timeout=10 00:13:18 > git checkout -f 4f315f802bf19a2e4c1d2b75a07498d8796cf70c # timeout=10 00:13:22 Commit message: "docs: remove unused onvif schemas from swagger file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:13:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:13:23 % Total % Received % Xferd Average Speed Time Time Time Current 00:13:23 Dload Upload Total Spent Left Speed 00:13:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 93348 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 91985 [Pipeline] sh 00:13:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:13:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:13:24 + sudo tee /etc/docker/daemon.new 00:13:24 { 00:13:24 "registry-mirrors": [ 00:13:24 "https://nexus3.edgexfoundry.org:10001" 00:13:24 ], 00:13:24 "bip": "10.250.0.254/24", 00:13:24 "hosts": [ 00:13:24 "tcp://0.0.0.0:5555", 00:13:24 "unix:///var/run/docker.sock" 00:13:24 ], 00:13:24 "mtu": 1458, 00:13:24 "selinux-enabled": true, 00:13:24 "seccomp-profile": "/etc/docker/seccomp.json" 00:13:24 } [Pipeline] sh 00:13:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:13:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:42 provisioning config files... 00:13:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config17643898022934979387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:43 ---> docker-login.sh 00:13:43 nexus3.edgexfoundry.org:10001 00:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:43 Configure a credential helper to remove this warning. See 00:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:43 00:13:43 Login Succeeded 00:13:43 nexus3.edgexfoundry.org:10002 00:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:44 Configure a credential helper to remove this warning. See 00:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:44 00:13:44 Login Succeeded 00:13:44 nexus3.edgexfoundry.org:10003 00:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:44 Configure a credential helper to remove this warning. See 00:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:44 00:13:44 Login Succeeded 00:13:44 nexus3.edgexfoundry.org:10004 00:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:44 Configure a credential helper to remove this warning. See 00:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:44 00:13:44 Login Succeeded 00:13:44 docker.io 00:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:45 Configure a credential helper to remove this warning. See 00:13:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:45 00:13:45 Login Succeeded 00:13:45 ---> docker-login.sh ends [Pipeline] } 00:13:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:13:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:13:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:13:46 ========================================================= 00:13:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:13:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:46 + 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 . 00:13:46 Sending build context to Docker daemon 21.5MB 00:13:46 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 00:13:46 Step 2/14 : FROM ${BASE} AS builder 00:13:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:13:47 9b18e9b68314: Pulling fs layer 00:13:47 d32db5db7311: Pulling fs layer 00:13:47 d0c4b47475fc: Pulling fs layer 00:13:47 5831b945b038: Pulling fs layer 00:13:47 86bbec2aaacd: Pulling fs layer 00:13:47 e10730c5d714: Pulling fs layer 00:13:47 5dd5c2283517: Pulling fs layer 00:13:47 d5ac0230b979: Pulling fs layer 00:13:47 e10730c5d714: Waiting 00:13:47 5dd5c2283517: Waiting 00:13:47 d5ac0230b979: Waiting 00:13:47 5831b945b038: Waiting 00:13:47 86bbec2aaacd: Waiting 00:13:47 d0c4b47475fc: Verifying Checksum 00:13:47 d0c4b47475fc: Download complete 00:13:47 d32db5db7311: Verifying Checksum 00:13:47 d32db5db7311: Download complete 00:13:47 86bbec2aaacd: Verifying Checksum 00:13:47 86bbec2aaacd: Download complete 00:13:47 e10730c5d714: Verifying Checksum 00:13:47 e10730c5d714: Download complete 00:13:47 9b18e9b68314: Verifying Checksum 00:13:47 9b18e9b68314: Download complete 00:13:48 9b18e9b68314: Pull complete 00:13:48 d5ac0230b979: Verifying Checksum 00:13:48 d5ac0230b979: Download complete 00:13:48 d32db5db7311: Pull complete 00:13:49 d0c4b47475fc: Pull complete 00:13:49 5dd5c2283517: Verifying Checksum 00:13:49 5dd5c2283517: Download complete 00:13:50 5831b945b038: Verifying Checksum 00:13:50 5831b945b038: Download complete 00:14:02 5831b945b038: Pull complete 00:14:02 86bbec2aaacd: Pull complete 00:14:02 e10730c5d714: Pull complete 00:14:08 5dd5c2283517: Pull complete 00:14:10 d5ac0230b979: Pull complete 00:14:10 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 00:14:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:14:10 ---> 59b3b1a385d4 00:14:10 Step 3/14 : ARG ADD_BUILD_TAGS="" 00:14:12 ---> Running in f48cb70b39f6 00:14:12 Removing intermediate container f48cb70b39f6 00:14:12 ---> 9fb3271f1671 00:14:12 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:14:12 ---> Running in 00329b328d95 00:14:12 Removing intermediate container 00329b328d95 00:14:12 ---> cc4873837d3a 00:14:12 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:14:12 ---> Running in 0fd03aafa963 00:14:13 Removing intermediate container 0fd03aafa963 00:14:13 ---> 19d9e7e9bdb0 00:14:13 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 00:14:13 ---> Running in 23b84f82913b 00:14:13 Removing intermediate container 23b84f82913b 00:14:13 ---> b1be86773842 00:14:13 Step 7/14 : LABEL Name=edgex-device-onvif-camera 00:14:13 ---> Running in 8ebb8423cbb1 00:14:13 Removing intermediate container 8ebb8423cbb1 00:14:13 ---> 164032efdb89 00:14:13 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:14:13 ---> Running in 4ab6a3f28d45 00:14:15 Removing intermediate container 4ab6a3f28d45 00:14:15 ---> 0162a7703b7e 00:14:15 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:14:15 ---> Running in 1301b3d4480e 00:14:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:14:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:14:18 OK: 221 MiB in 51 packages 00:14:19 Removing intermediate container 1301b3d4480e 00:14:19 ---> 6d754151da0d 00:14:19 Step 10/14 : WORKDIR /device-onvif-camera 00:14:19 ---> Running in 83733cb3a4b4 00:14:19 Removing intermediate container 83733cb3a4b4 00:14:19 ---> 583198ffc306 00:14:19 Step 11/14 : COPY go.mod vendor* ./ 00:14:20 ---> 7f5131246770 00:14:20 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:14:20 ---> Running in f239eb7bee08 00:15:16 Removing intermediate container f239eb7bee08 00:15:16 ---> 49395f20f56c 00:15:16 Step 13/14 : COPY . . 00:15:16 ---> 725b34993419 00:15:16 Step 14/14 : RUN ${MAKE} 00:15:16 ---> Running in 65506519b53c 00:15:16 noop 00:15:16 Removing intermediate container 65506519b53c 00:15:16 ---> cd455185cace 00:15:16 Successfully built cd455185cace 00:15:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:16 + docker inspect -f . ci-base-image-arm64 00:15:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:17 prd-ubuntu20.04-docker-arm64-4c-16g-8642 does not seem to be running inside a container 00:15:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:15:18 $ docker top 498a9cd05a2041b1c816a1d8c628b2ee04202bf3a56540e559c8a8b21c533abd -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:19 + go version 00:15:19 go version go1.18.7 linux/arm64 [Pipeline] } 00:15:19 $ docker stop --time=1 498a9cd05a2041b1c816a1d8c628b2ee04202bf3a56540e559c8a8b21c533abd 00:15:20 $ docker rm -f 498a9cd05a2041b1c816a1d8c628b2ee04202bf3a56540e559c8a8b21c533abd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:21 + docker inspect -f . ci-base-image-arm64 00:15:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:21 prd-ubuntu20.04-docker-arm64-4c-16g-8642 does not seem to be running inside a container 00:15:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:15:22 $ docker top fe7ad5a65d42015832b990a56eaa1d5686f3b839dbec6c5d88f1ec3d0998931e -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:23 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 00:15:24 + make test 00:15:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:15:25 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:17:02 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:17:02 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.177s coverage: 28.2% of statements 00:17:02 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:17:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.126s coverage: 86.5% of statements 00:17:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:17:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:17:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:17:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:17:47 ./bin/test-attribution-txt.sh [Pipeline] echo 00:17:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:17:47 $ docker stop --time=1 fe7ad5a65d42015832b990a56eaa1d5686f3b839dbec6c5d88f1ec3d0998931e 00:17:49 $ docker rm -f fe7ad5a65d42015832b990a56eaa1d5686f3b839dbec6c5d88f1ec3d0998931e [Pipeline] // withDockerContainer [Pipeline] sh 00:17:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:17:50 Warning: overwriting stash ‘coverage-report’ 00:17:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:17:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:17:51 + ls -al . 00:17:51 total 232 00:17:51 drwxrwxr-x 9 jenkins jenkins 4096 Oct 20 00:15 . 00:17:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 00:13 .. 00:17:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 00:13 .git 00:17:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 00:13 .github 00:17:51 -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 00:13 .gitignore 00:17:51 -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 00:13 .golangci.yml 00:17:51 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 20 00:13 Attribution.txt 00:17:51 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 20 00:13 CHANGELOG.md 00:17:51 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 20 00:13 Dockerfile 00:17:51 -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 00:13 GOVERNANCE.md 00:17:51 -rw-rw-r-- 1 jenkins jenkins 734 Oct 20 00:13 Jenkinsfile 00:17:51 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 00:13 LICENSE 00:17:51 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 20 00:13 Makefile 00:17:51 -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 00:13 OWNERS.md 00:17:51 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 20 00:13 README.md 00:17:51 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 00:11 VERSION 00:17:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 00:13 bin 00:17:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 00:13 cmd 00:17:51 -rw-r--r-- 1 jenkins jenkins 78636 Oct 20 00:17 coverage.out 00:17:51 drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 00:13 doc 00:17:51 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 20 00:13 go.mod 00:17:51 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 20 00:13 go.sum 00:17:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 00:13 internal 00:17:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 00:13 snap 00:17:51 -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 00:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17: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=4f315f802bf19a2e4c1d2b75a07498d8796cf70c --label arch=arm64 --label version=0.0.0 . 00:17:52 Sending build context to Docker daemon 21.58MB 00:17:52 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 00:17:52 Step 2/27 : FROM ${BASE} AS builder 00:17:52 ---> cd455185cace 00:17:52 Step 3/27 : ARG ADD_BUILD_TAGS="" 00:17:52 ---> Running in a73219f00965 00:17:53 Removing intermediate container a73219f00965 00:17:53 ---> a5b9bff0e5e1 00:17:53 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:17:53 ---> Running in 9d44479a989e 00:17:53 Removing intermediate container 9d44479a989e 00:17:53 ---> 13a156c58eee 00:17:53 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:17:53 ---> Running in 8756c004fa95 00:17:53 Removing intermediate container 8756c004fa95 00:17:53 ---> 98b9431d87ae 00:17:53 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 00:17:53 ---> Running in d9455799233a 00:17:54 Removing intermediate container d9455799233a 00:17:54 ---> 8a7df36234f2 00:17:54 Step 7/27 : LABEL Name=edgex-device-onvif-camera 00:17:54 ---> Running in a8bc3ef94f55 00:17:54 Removing intermediate container a8bc3ef94f55 00:17:54 ---> 8df3f8b5dcef 00:17:54 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:17:54 ---> Running in eb4220550162 00:17:58 Removing intermediate container eb4220550162 00:17:58 ---> f27ccf67f0b2 00:17:58 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:17:58 ---> Running in 00652e67de75 00:18:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:18:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:18:02 OK: 221 MiB in 51 packages 00:18:03 Removing intermediate container 00652e67de75 00:18:03 ---> 76865b466833 00:18:03 Step 10/27 : WORKDIR /device-onvif-camera 00:18:03 ---> Running in 4c45e217737d 00:18:04 Removing intermediate container 4c45e217737d 00:18:04 ---> 9d0881c9ebed 00:18:04 Step 11/27 : COPY go.mod vendor* ./ 00:18:06 ---> 2f8fe8f39c6b 00:18:06 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:18:06 ---> Running in 1b12f61866cd 00:18:08 Removing intermediate container 1b12f61866cd 00:18:08 ---> 1c0ac2241c47 00:18:08 Step 13/27 : COPY . . 00:18:10 ---> 87a94129d5ae 00:18:10 Step 14/27 : RUN ${MAKE} 00:18:10 ---> Running in 7a309d56bac0 00:18:11 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 00:20:33 Removing intermediate container 7a309d56bac0 00:20:33 ---> 9f840bc7e0fc 00:20:33 Step 15/27 : FROM alpine:3.16 00:20:33 3.16: Pulling from library/alpine 00:20:33 9b18e9b68314: Already exists 00:20:33 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:20:33 Status: Downloaded newer image for alpine:3.16 00:20:33 ---> a6215f271958 00:20:33 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:20:33 ---> Running in b6feca843b90 00:20:33 Removing intermediate container b6feca843b90 00:20:33 ---> 9647191ae753 00:20:33 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 00:20:33 ---> Running in bb9444dcb954 00:20:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:20:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:20:33 (1/6) Installing dumb-init (1.2.5-r1) 00:20:33 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:20:33 (3/6) Installing libsodium (1.0.18-r0) 00:20:33 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:20:33 (5/6) Installing libzmq (4.3.4-r0) 00:20:33 (6/6) Installing zeromq (4.3.4-r0) 00:20:33 Executing busybox-1.35.0-r17.trigger 00:20:33 OK: 8 MiB in 20 packages 00:20:33 Removing intermediate container bb9444dcb954 00:20:33 ---> 627a55c35597 00:20:33 Step 18/27 : WORKDIR / 00:20:33 ---> Running in 276665bf16c1 00:20:33 Removing intermediate container 276665bf16c1 00:20:33 ---> 0fbb69bcecf2 00:20:33 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 00:20:33 ---> bff4a97d0973 00:20:33 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 00:20:33 ---> 4a25f44aba5c 00:20:33 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:20:33 ---> f21824f734d3 00:20:33 Step 22/27 : EXPOSE 59984 00:20:33 ---> Running in 003b984904ae 00:20:33 Removing intermediate container 003b984904ae 00:20:33 ---> e3b48292b5cb 00:20:33 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 00:20:33 ---> Running in 118587810af4 00:20:33 Removing intermediate container 118587810af4 00:20:33 ---> 8deaab9b7eea 00:20:33 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:20:33 ---> Running in 8782ef4ff6f2 00:20:33 Removing intermediate container 8782ef4ff6f2 00:20:33 ---> 466ed91d828e 00:20:33 Step 25/27 : LABEL arch=arm64 00:20:33 ---> Running in 39ede5754843 00:20:34 Removing intermediate container 39ede5754843 00:20:34 ---> 81c7d53700cd 00:20:34 Step 26/27 : LABEL git_sha=4f315f802bf19a2e4c1d2b75a07498d8796cf70c 00:20:34 ---> Running in d409167e6289 00:20:34 Removing intermediate container d409167e6289 00:20:34 ---> 866d49d17357 00:20:34 Step 27/27 : LABEL version=0.0.0 00:20:34 ---> Running in 83a630303557 00:20:34 Removing intermediate container 83a630303557 00:20:34 ---> e358369ca7ea 00:20:34 [Warning] One or more build-args [ARCH] were not consumed 00:20:34 Successfully built e358369ca7ea 00:20:34 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 00:20:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:20:35 00:20:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:20:35 arm64: Pulling from edgex-lftools-log-publisher 00:20:35 8998bd30e6a1: Pulling fs layer 00:20:35 04944245beec: Pulling fs layer 00:20:35 699f458cf7ca: Pulling fs layer 00:20:35 765212b225bb: Pulling fs layer 00:20:35 f23df028b6ca: Pulling fs layer 00:20:35 d65c8cfc05b1: Pulling fs layer 00:20:35 2437ff75d9bd: Pulling fs layer 00:20:35 765212b225bb: Waiting 00:20:35 f23df028b6ca: Waiting 00:20:35 d65c8cfc05b1: Waiting 00:20:35 2437ff75d9bd: Waiting 00:20:35 04944245beec: Verifying Checksum 00:20:35 04944245beec: Download complete 00:20:35 765212b225bb: Verifying Checksum 00:20:35 765212b225bb: Download complete 00:20:35 f23df028b6ca: Verifying Checksum 00:20:35 f23df028b6ca: Download complete 00:20:35 d65c8cfc05b1: Verifying Checksum 00:20:35 d65c8cfc05b1: Download complete 00:20:35 699f458cf7ca: Verifying Checksum 00:20:35 699f458cf7ca: Download complete 00:20:36 8998bd30e6a1: Verifying Checksum 00:20:36 8998bd30e6a1: Download complete 00:20:39 2437ff75d9bd: Verifying Checksum 00:20:41 8998bd30e6a1: Pull complete 00:20:41 04944245beec: Pull complete 00:20:42 699f458cf7ca: Pull complete 00:20:42 765212b225bb: Pull complete 00:20:43 f23df028b6ca: Pull complete 00:20:43 d65c8cfc05b1: Pull complete 00:20:58 2437ff75d9bd: Pull complete 00:20:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:20:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:20:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:58 prd-ubuntu20.04-docker-arm64-4c-16g-8642 does not seem to be running inside a container 00:20:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:21:01 $ docker top d326ce3b65baca00f04e808ab9208014990fb107307ac844537c8362b2d4d9cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:02 ---> job-cost.sh 00:21:02 lf-activate-venv: SKIPPING 00:21:02 INFO: No Stack... 00:21:02 INFO: Retrieving Pricing Info for: v3-standard-4 00:21:03 INFO: Archiving Costs [Pipeline] sh 00:21:03 + + cutcat -d, /w/workspace/device-onvif-camera/2/archives/cost.csv -f6 00:21:03 [Pipeline] lock 00:21:04 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-2-stack-cost] 00:21:04 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-2-stack-cost] did not exist. Created. 00:21:04 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:21:04 /w/workspace/device-onvif-camera/2@tmp/durable-2b8be72e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:21:04 + echo total: 0.10999999940395355 [Pipeline] stash 00:21:04 Warning: overwriting stash ‘stack-cost’ 00:21:04 Stashed 1 file(s) [Pipeline] } 00:21:04 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:21:04 $ docker stop --time=1 d326ce3b65baca00f04e808ab9208014990fb107307ac844537c8362b2d4d9cc 00:21:06 $ docker rm -f d326ce3b65baca00f04e808ab9208014990fb107307ac844537c8362b2d4d9cc [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 00:21:06 provisioning config files... 00:21:06 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config11925232401502089203tmp [Pipeline] { [Pipeline] sh 00:21:06 + set +x 00:21:06 + bash -s -- 00:21:06 + curl -s https://codecov.io/bash 00:21:06 00:21:06 _____ _ 00:21:06 / ____| | | 00:21:06 | | ___ __| | ___ ___ _____ __ 00:21:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:21:06 | |___| (_) | (_| | __/ (_| (_) \ V / 00:21:06 \_____\___/ \__,_|\___|\___\___/ \_/ 00:21:06 Bash-1.0.6 00:21:06 00:21:06 00:21:06 ==> git version 2.25.1 found 00:21:06 ==> 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 00:21:06 Release-Date: 2020-01-08 00:21:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:21:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:21:06 ==> Jenkins CI detected. 00:21:06 current dir:  /w/workspace/undry_device-onvif-camera_PR-180 00:21:06 project root: . 00:21:06 --> token set from env 00:21:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:21:06 ==> Running gcov in . (disable via -X gcov) 00:21:06 ==> Python coveragepy not found 00:21:06 ==> Searching for coverage reports in: 00:21:06 + . 00:21:06 -> Found 1 reports 00:21:06 ==> Detecting git/mercurial file structure 00:21:06 ==> Reading reports 00:21:06 + ./coverage.out bytes=78636 00:21:06 ==> Appending adjustments 00:21:06 https://docs.codecov.io/docs/fixing-reports 00:21:07 + Found adjustments 00:21:07 ==> Gzipping contents 00:21:07 12K /tmp/codecov.QBy48L.gz 00:21:07 ==> Uploading reports 00:21:07 url: https://codecov.io 00:21:07 query: branch=PR-180&commit=4f315f802bf19a2e4c1d2b75a07498d8796cf70c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 00:21:07 -> Pinging Codecov 00:21:07 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=4f315f802bf19a2e4c1d2b75a07498d8796cf70c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 00:21:07 -> Uploading to 00:21:07 https://storage.googleapis.com/codecov/v4/raw/2022-10-20/F29A59C45E3A92E06B3E522C9905F8EF/4f315f802bf19a2e4c1d2b75a07498d8796cf70c/5bf8d84d-fae9-46d4-b8de-47f5664099bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221020%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221020T002107Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e91b0ffb8ba647d085bf88b291819658ce6de55067d72c0c3a3408efd1c1bcd 00:21:07 % Total % Received % Xferd Average Speed Time Time Time Current 00:21:07 Dload Upload Total Spent Left Speed 00:21:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10791 0 0 100 10791 0 42317 --:--:-- --:--:-- --:--:-- 42317 00:21:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4f315f802bf19a2e4c1d2b75a07498d8796cf70c [Pipeline] } 00:21:08 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 00:21:08 + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] 00:21:08 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 00:21:08 total 16 00:21:08 drwxr-xr-x 3 root root 4096 Oct 20 00:13 . 00:21:08 drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 00:13 .. 00:21:08 drwxr-xr-x 2 root root 4096 Oct 20 00:13 cost 00:21:08 -rw-r--r-- 1 root root 91 Oct 20 00:13 cost.csv 00:21:08 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives 00:21:08 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 00:21:08 total 16 00:21:08 drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 00:13 . 00:21:08 drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 00:13 .. 00:21:08 drwxr-xr-x 2 jenkins jenkins 4096 Oct 20 00:13 cost 00:21:08 -rw-r--r-- 1 jenkins jenkins 91 Oct 20 00:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:21:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:21:09 ---> package-listing.sh 00:21:09 ++ facter osfamily 00:21:09 ++ tr '[:upper:]' '[:lower:]' 00:21:10 + OS_FAMILY=debian 00:21:10 + workspace=/w/workspace/undry_device-onvif-camera_PR-180 00:21:10 + START_PACKAGES=/tmp/packages_start.txt 00:21:10 + END_PACKAGES=/tmp/packages_end.txt 00:21:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:21:10 + PACKAGES=/tmp/packages_start.txt 00:21:10 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 00:21:10 + PACKAGES=/tmp/packages_end.txt 00:21:10 + case "${OS_FAMILY}" in 00:21:10 + dpkg -l 00:21:10 + grep '^ii' 00:21:10 + '[' -f /tmp/packages_start.txt ']' 00:21:10 + '[' -f /tmp/packages_end.txt ']' 00:21:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:21:10 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 00:21:10 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ 00:21:10 + 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 00:21:10 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 00:21:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:21:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:10 prd-ubuntu20.04-docker-8c-8g-8641 does not seem to be running inside a container 00:21:10 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:21:11 $ docker top 11690c4ea22ae10007f40d8cbc2c32a090845e7b1fdae57f78c9c1ea5b2bb36e -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:11 + touch /tmp/pre-build-complete [Pipeline] sh 00:21:11 + mkdir -p /var/log/sysstat [Pipeline] sh 00:21:12 + ls /var/log/sa-host 00:21:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:21:12 provisioning config files... 00:21:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config8545251898846753129tmp [Pipeline] { [Pipeline] echo 00:21:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:21:12 ---> create-netrc.sh [Pipeline] } 00:21:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:21:12 ---> python-tools-install.sh [Pipeline] echo 00:21:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:21:13 ---> sudo-logs.sh 00:21:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:21:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:21:13 ---> job-cost.sh 00:21:13 lf-activate-venv: SKIPPING 00:21:13 DEBUG: total: 0.2199999988079071 00:21:13 INFO: Retrieving Stack Cost... 00:21:14 INFO: Retrieving Pricing Info for: v3-standard-8 00:21:14 INFO: Archiving Costs [Pipeline] echo 00:21:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:21:14 ---> logs-deploy.sh 00:21:14 lf-activate-venv: SKIPPING 00:21:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/2 00:21:14 INFO: archiving workspace using pattern(s): 00:21:15 Archives upload complete. 00:21:15 INFO: archiving logs to Nexus 00:21:16 ---> uname -a: 00:21:16 Linux prd-ubuntu20-04-docker-8c-8g-8641 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 00:21:16 00:21:16 00:21:16 ---> lscpu: 00:21:16 Architecture: x86_64 00:21:16 CPU op-mode(s): 32-bit, 64-bit 00:21:16 Byte Order: Little Endian 00:21:16 Address sizes: 40 bits physical, 48 bits virtual 00:21:16 CPU(s): 8 00:21:16 On-line CPU(s) list: 0-7 00:21:16 Thread(s) per core: 1 00:21:16 Core(s) per socket: 1 00:21:16 Socket(s): 8 00:21:16 NUMA node(s): 1 00:21:16 Vendor ID: AuthenticAMD 00:21:16 CPU family: 23 00:21:16 Model: 49 00:21:16 Model name: AMD EPYC-Rome Processor 00:21:16 Stepping: 0 00:21:16 CPU MHz: 2799.998 00:21:16 BogoMIPS: 5599.99 00:21:16 Virtualization: AMD-V 00:21:16 Hypervisor vendor: KVM 00:21:16 Virtualization type: full 00:21:16 L1d cache: 256 KiB 00:21:16 L1i cache: 256 KiB 00:21:16 L2 cache: 4 MiB 00:21:16 L3 cache: 128 MiB 00:21:16 NUMA node0 CPU(s): 0-7 00:21:16 Vulnerability Itlb multihit: Not affected 00:21:16 Vulnerability L1tf: Not affected 00:21:16 Vulnerability Mds: Not affected 00:21:16 Vulnerability Meltdown: Not affected 00:21:16 Vulnerability Mmio stale data: Not affected 00:21:16 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:21:16 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:21:16 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:21:16 Vulnerability Srbds: Not affected 00:21:16 Vulnerability Tsx async abort: Not affected 00:21:16 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 00:21:16 00:21:16 00:21:16 ---> nproc: 00:21:16 8 00:21:16 00:21:16 00:21:16 ---> df -h: 00:21:16 Filesystem Size Used Avail Use% Mounted on 00:21:16 overlay 155G 12G 144G 8% / 00:21:16 tmpfs 64M 0 64M 0% /dev 00:21:16 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:21:16 shm 64M 0 64M 0% /dev/shm 00:21:16 /dev/vda1 155G 12G 144G 8% /facter-os 00:21:16 00:21:16 00:21:16 ---> sar -b -r -n DEV: 00:21:16 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8641) 10/20/22 _x86_64_ (8 CPU) 00:21:16 00:21:16 00:10:27 LINUX RESTART (8 CPU) 00:21:16 00:21:16 00:11:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:21:16 00:12:01 392.42 11.26 381.15 0.00 1794.63 78774.47 0.00 00:21:16 00:13:01 178.89 0.27 178.62 0.00 13.46 27895.22 0.00 00:21:16 00:14:01 32.56 0.00 32.56 0.00 0.00 16494.18 0.00 00:21:16 00:15:01 1.30 0.00 1.30 0.00 0.00 15.21 0.00 00:21:16 00:16:01 38.15 9.33 28.82 0.00 2883.84 4765.74 0.00 00:21:16 00:17:01 2.73 0.02 2.71 0.00 0.14 30.23 0.00 00:21:16 00:18:01 1.43 0.00 1.43 0.00 0.00 16.66 0.00 00:21:16 00:19:01 1.60 0.00 1.60 0.00 0.00 18.00 0.00 00:21:16 00:20:01 0.92 0.00 0.92 0.00 0.00 10.40 0.00 00:21:16 00:21:01 2.35 0.00 2.35 0.00 0.00 36.53 0.00 00:21:16 Average: 65.34 2.09 63.25 0.00 470.01 12826.43 0.00 00:21:16 00:21:16 00:11:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:21:16 00:12:01 28506564 31539192 764896 2.33 134512 3122496 1887916 5.56 1112348 2841572 528 00:21:16 00:13:01 27955228 31540316 758948 2.31 142256 3632812 1878704 5.54 1315840 3147996 243468 00:21:16 00:14:01 27712172 31550516 746936 2.27 149368 3846068 1743740 5.14 1322964 3348884 132 00:21:16 00:15:01 27711640 31550112 747088 2.27 149392 3846072 1743740 5.14 1323644 3348892 128 00:21:16 00:16:01 27429136 31542912 740744 2.25 167616 4094860 1780232 5.25 1466600 3462188 240 00:21:16 00:17:01 27431048 31544948 738584 2.25 167700 4094864 1780208 5.25 1466216 3462148 204 00:21:16 00:18:01 27432744 31546708 736824 2.24 167764 4094868 1780208 5.25 1464944 3462156 8 00:21:16 00:19:01 27432560 31546684 736772 2.24 167804 4095000 1780208 5.25 1465024 3462288 12 00:21:16 00:20:01 27432772 31546928 736408 2.24 167828 4094996 1780208 5.25 1465040 3462292 60 00:21:16 00:21:01 27432732 31547096 736244 2.24 167928 4095008 1780208 5.25 1464976 3462432 8 00:21:16 Average: 27647660 31545541 744344 2.26 158217 3901704 1793537 5.29 1386760 3346085 24479 00:21:16 00:21:16 00:11:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:21:16 00:12:01 lo 5.93 5.93 0.57 0.57 0.00 0.00 0.00 0.00 00:21:16 00:12:01 ens3 547.29 380.27 7524.17 83.92 0.00 0.00 0.00 0.00 00:21:16 00:12:01 vethfda2908 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 00:21:16 00:12:01 docker0 167.97 212.98 13.64 1844.22 0.00 0.00 0.00 0.00 00:21:16 00:13:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 00:21:16 00:13:01 ens3 136.63 89.09 2641.46 21.81 0.00 0.00 0.00 0.00 00:21:16 00:13:01 docker0 9.80 12.80 0.59 98.69 0.00 0.00 0.00 0.00 00:21:16 00:14:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 00:21:16 00:14:01 ens3 14.86 9.88 13.85 5.39 0.00 0.00 0.00 0.00 00:21:16 00:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:21:16 00:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:21:16 00:15:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 00:21:16 00:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:21:16 00:16:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 00:21:16 00:16:01 ens3 55.03 33.11 1297.19 2.60 0.00 0.00 0.00 0.00 00:21:16 00:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:21:16 00:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:21:16 00:17:01 ens3 0.20 0.17 0.01 0.01 0.00 0.00 0.00 0.00 00:21:16 00:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:21:16 00:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:21:16 00:18:01 ens3 13.80 5.97 12.88 0.40 0.00 0.00 0.00 0.00 00:21:16 00:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:21:16 00:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:21:16 00:19:01 ens3 1.50 0.43 0.44 0.27 0.00 0.00 0.00 0.00 00:21:16 00:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:21:16 00:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:21:16 00:20:01 ens3 0.88 0.32 0.30 0.21 0.00 0.00 0.00 0.00 00:21:16 00:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:21:16 00:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:21:16 00:21:01 ens3 1.38 0.52 0.40 0.28 0.00 0.00 0.00 0.00 00:21:16 00:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:21:16 Average: lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 00:21:16 Average: ens3 77.30 52.07 1150.95 11.51 0.00 0.00 0.00 0.00 00:21:16 Average: docker0 17.81 22.61 1.43 194.61 0.00 0.00 0.00 0.00 00:21:16 00:21:16 00:21:16 ---> sar -P ALL: 00:21:16 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8641) 10/20/22 _x86_64_ (8 CPU) 00:21:16 00:21:16 00:10:27 LINUX RESTART (8 CPU) 00:21:16 00:21:16 00:11:01 CPU %user %nice %system %iowait %steal %idle 00:21:16 00:12:01 all 9.68 0.00 4.48 2.92 0.07 82.85 00:21:16 00:12:01 0 8.23 0.00 4.39 2.81 0.07 84.50 00:21:16 00:12:01 1 8.85 0.00 4.63 4.97 0.07 81.48 00:21:16 00:12:01 2 10.18 0.00 6.75 5.38 0.07 77.62 00:21:16 00:12:01 3 13.87 0.00 4.04 1.30 0.07 80.72 00:21:16 00:12:01 4 9.10 0.00 5.01 6.53 0.08 79.27 00:21:16 00:12:01 5 8.71 0.00 3.31 0.15 0.08 87.74 00:21:16 00:12:01 6 9.07 0.00 3.74 0.27 0.05 86.87 00:21:16 00:12:01 7 9.44 0.00 3.95 1.94 0.08 84.59 00:21:16 00:13:01 all 40.09 0.00 6.79 1.00 0.10 52.03 00:21:16 00:13:01 0 41.09 0.00 7.30 0.47 0.08 51.06 00:21:16 00:13:01 1 39.70 0.00 6.58 0.46 0.10 53.16 00:21:16 00:13:01 2 39.00 0.00 6.94 1.61 0.08 52.37 00:21:16 00:13:01 3 40.33 0.00 7.39 3.17 0.10 49.01 00:21:16 00:13:01 4 40.86 0.00 6.82 1.68 0.10 50.53 00:21:16 00:13:01 5 38.04 0.00 6.48 0.10 0.08 55.30 00:21:16 00:13:01 6 40.36 0.00 6.33 0.08 0.12 53.11 00:21:16 00:13:01 7 41.30 0.00 6.52 0.42 0.08 51.68 00:21:16 00:14:01 all 1.86 0.00 0.70 0.32 0.01 97.11 00:21:16 00:14:01 0 1.64 0.00 0.60 0.00 0.02 97.74 00:21:16 00:14:01 1 1.62 0.00 0.75 0.22 0.02 97.39 00:21:16 00:14:01 2 1.19 0.00 0.80 0.49 0.02 97.51 00:21:16 00:14:01 3 1.64 0.00 0.80 0.07 0.00 97.49 00:21:16 00:14:01 4 3.54 0.00 0.51 0.02 0.02 95.92 00:21:16 00:14:01 5 1.57 0.00 0.79 1.74 0.02 95.88 00:21:16 00:14:01 6 1.52 0.00 0.50 0.02 0.02 97.95 00:21:16 00:14:01 7 2.10 0.00 0.89 0.00 0.02 96.99 00:21:16 00:15:01 all 0.22 0.00 0.03 0.00 0.00 99.74 00:21:16 00:15:01 0 0.02 0.00 0.00 0.00 0.00 99.98 00:21:16 00:15:01 1 0.03 0.00 0.03 0.00 0.00 99.93 00:21:16 00:15:01 2 0.00 0.00 0.02 0.02 0.00 99.97 00:21:16 00:15:01 3 0.00 0.00 0.03 0.00 0.00 99.97 00:21:16 00:15:01 4 1.62 0.00 0.10 0.02 0.00 98.27 00:21:16 00:15:01 5 0.02 0.00 0.05 0.00 0.00 99.93 00:21:16 00:15:01 6 0.02 0.00 0.00 0.00 0.00 99.98 00:21:16 00:15:01 7 0.05 0.00 0.00 0.00 0.02 99.93 00:21:16 00:16:01 all 1.13 0.00 0.78 0.36 0.01 97.71 00:21:16 00:16:01 0 2.22 0.00 0.65 0.15 0.00 96.99 00:21:16 00:16:01 1 1.42 0.00 0.95 0.58 0.02 97.03 00:21:16 00:16:01 2 0.45 0.00 0.40 1.25 0.00 97.90 00:21:16 00:16:01 3 0.80 0.00 0.58 0.07 0.02 98.53 00:21:16 00:16:01 4 1.06 0.00 0.47 0.08 0.02 98.37 00:21:16 00:16:01 5 1.28 0.00 0.38 0.33 0.02 97.98 00:21:16 00:16:01 6 1.18 0.00 1.00 0.37 0.02 97.43 00:21:16 00:16:01 7 0.65 0.00 1.82 0.07 0.00 97.46 00:21:16 00:17:01 all 0.02 0.00 0.02 0.01 0.00 99.95 00:21:16 00:17:01 0 0.02 0.00 0.00 0.00 0.00 99.98 00:21:16 00:17:01 1 0.02 0.00 0.02 0.00 0.00 99.97 00:21:16 00:17:01 2 0.03 0.00 0.03 0.05 0.00 99.88 00:21:16 00:17:01 3 0.00 0.00 0.02 0.00 0.00 99.98 00:21:16 00:17:01 4 0.07 0.00 0.00 0.00 0.00 99.93 00:21:16 00:17:01 5 0.00 0.00 0.05 0.00 0.00 99.95 00:21:16 00:17:01 6 0.00 0.00 0.00 0.03 0.00 99.97 00:21:16 00:17:01 7 0.02 0.00 0.02 0.00 0.00 99.97 00:21:16 00:18:01 all 0.19 0.00 0.02 0.01 0.01 99.77 00:21:16 00:18:01 0 0.00 0.00 0.00 0.00 0.00 100.00 00:21:16 00:18:01 1 0.05 0.00 0.03 0.00 0.00 99.92 00:21:16 00:18:01 2 1.35 0.00 0.02 0.03 0.02 98.58 00:21:16 00:18:01 3 0.02 0.00 0.02 0.00 0.02 99.95 00:21:16 00:18:01 4 0.02 0.00 0.02 0.00 0.02 99.95 00:21:16 00:18:01 5 0.03 0.00 0.03 0.00 0.00 99.93 00:21:16 00:18:01 6 0.02 0.00 0.03 0.02 0.00 99.93 00:21:16 00:18:01 7 0.03 0.00 0.02 0.00 0.02 99.93 00:21:16 00:19:01 all 0.26 0.00 0.00 0.01 0.01 99.72 00:21:16 00:19:01 0 0.02 0.00 0.00 0.00 0.02 99.97 00:21:16 00:19:01 1 0.03 0.00 0.02 0.00 0.02 99.93 00:21:16 00:19:01 2 1.95 0.00 0.00 0.02 0.00 98.03 00:21:16 00:19:01 3 0.02 0.00 0.00 0.00 0.00 99.98 00:21:16 00:19:01 4 0.00 0.00 0.00 0.00 0.00 100.00 00:21:16 00:19:01 5 0.03 0.00 0.02 0.00 0.02 99.93 00:21:16 00:19:01 6 0.02 0.00 0.00 0.03 0.00 99.95 00:21:16 00:19:01 7 0.02 0.00 0.00 0.00 0.00 99.98 00:21:16 00:20:01 all 0.14 0.00 0.01 0.00 0.00 99.84 00:21:16 00:20:01 0 0.00 0.00 0.00 0.00 0.00 100.00 00:21:16 00:20:01 1 0.03 0.00 0.00 0.00 0.00 99.97 00:21:16 00:20:01 2 0.99 0.00 0.02 0.02 0.00 98.97 00:21:16 00:20:01 3 0.03 0.00 0.05 0.00 0.02 99.90 00:21:16 00:20:01 4 0.02 0.00 0.00 0.00 0.00 99.98 00:21:16 00:20:01 5 0.02 0.00 0.03 0.00 0.00 99.95 00:21:16 00:20:01 6 0.02 0.00 0.00 0.02 0.00 99.97 00:21:16 00:20:01 7 0.00 0.00 0.02 0.00 0.00 99.98 00:21:16 00:21:01 all 0.05 0.00 0.02 0.01 0.00 99.92 00:21:16 00:21:01 0 0.03 0.00 0.00 0.00 0.00 99.97 00:21:16 00:21:01 1 0.02 0.00 0.02 0.00 0.00 99.97 00:21:16 00:21:01 2 0.00 0.00 0.02 0.05 0.02 99.92 00:21:16 00:21:01 3 0.03 0.00 0.03 0.05 0.00 99.88 00:21:16 00:21:01 4 0.03 0.00 0.02 0.00 0.00 99.95 00:21:16 00:21:01 5 0.03 0.00 0.05 0.00 0.00 99.92 00:21:16 00:21:01 6 0.00 0.00 0.00 0.00 0.00 100.00 00:21:16 00:21:01 7 0.23 0.00 0.00 0.00 0.00 99.77 00:21:16 Average: all 5.32 0.00 1.28 0.46 0.02 92.92 00:21:16 Average: 0 5.28 0.00 1.28 0.34 0.02 93.07 00:21:16 Average: 1 5.13 0.00 1.29 0.62 0.02 92.94 00:21:16 Average: 2 5.46 0.00 1.48 0.88 0.02 92.15 00:21:16 Average: 3 5.62 0.00 1.29 0.46 0.02 92.61 00:21:16 Average: 4 5.61 0.00 1.29 0.83 0.02 92.26 00:21:16 Average: 5 4.91 0.00 1.11 0.23 0.02 93.72 00:21:16 Average: 6 5.18 0.00 1.15 0.08 0.02 93.56 00:21:16 Average: 7 5.35 0.00 1.32 0.24 0.02 93.08 00:21:16 00:21:16 00:21:16