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 58fdfd40f00060caf6819d4a78b16f38e6b426d4 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-ssh14290555329857768638.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-ssh2281702540556432033.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-ssh4040466693670508471.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-ssh11770579214554603898.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-ssh16947302689551549719.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-8781 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 58fdfd40f00060caf6819d4a78b16f38e6b426d4 Merge succeeded, producing 58fdfd40f00060caf6819d4a78b16f38e6b426d4 Checking out Revision 58fdfd40f00060caf6819d4a78b16f38e6b426d4 (PR-180) Commit message: "docs: quote python type hints" > git config core.sparsecheckout # timeout=10 > git checkout -f 58fdfd40f00060caf6819d4a78b16f38e6b426d4 # 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 58fdfd40f00060caf6819d4a78b16f38e6b426d4 # timeout=10 > git rev-list --no-walk 0ba7cfd313b4e56130368743e0e446052423e8f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:46:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:46:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:46:17 ========================================================= 18:46:17 EdgeX Global Pipelines Version Info 18:46:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:46:18 ------------------- 18:46:18 stable info: 18:46:18 ------------------- 18:46:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:46:18 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:46:18 Message: update stable to v1.0.243 18:46:18 ------------------- 18:46:18 experimental info: 18:46:18 ------------------- 18:46:18 Commited By: **** collab-it+edgex@linuxfoundation.org 18:46:18 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:46:18 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58fdfd40f00060caf6819d4a78b16f38e6b426d4 [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58fdfd4 [Pipeline] echo 18:46:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:19 provisioning config files... 18:46:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config14240419512644038747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:19 ---> docker-login.sh 18:46:19 nexus3.edgexfoundry.org:10001 18:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:20 Configure a credential helper to remove this warning. See 18:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:20 18:46:20 Login Succeeded 18:46:20 nexus3.edgexfoundry.org:10002 18:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:20 Configure a credential helper to remove this warning. See 18:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:20 18:46:20 Login Succeeded 18:46:20 nexus3.edgexfoundry.org:10003 18:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:20 Configure a credential helper to remove this warning. See 18:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:20 18:46:20 Login Succeeded 18:46:20 nexus3.edgexfoundry.org:10004 18:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:20 Configure a credential helper to remove this warning. See 18:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:20 18:46:20 Login Succeeded 18:46:20 docker.io 18:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:21 Configure a credential helper to remove this warning. See 18:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:21 18:46:21 Login Succeeded 18:46:21 ---> docker-login.sh ends [Pipeline] } 18:46:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:46:21 + git rev-list -1 --merges 58fdfd40f00060caf6819d4a78b16f38e6b426d4~1..58fdfd40f00060caf6819d4a78b16f38e6b426d4 [Pipeline] echo 18:46:21 -----------> git rev-list -1 --merges 58fdfd40f00060caf6819d4a78b16f38e6b426d4~1..58fdfd40f00060caf6819d4a78b16f38e6b426d4 58fdfd40f00060caf6819d4a78b16f38e6b426d4 [false] [Pipeline] sh 18:46:21 + git log --format=format:%s -1 58fdfd40f00060caf6819d4a78b16f38e6b426d4 [Pipeline] echo 18:46:21 ========================================================= 18:46:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:46:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:46:22 + git log --format=format:%s -1 58fdfd40f00060caf6819d4a78b16f38e6b426d4 [Pipeline] echo 18:46:22 [semverPrep] GIT_COMMIT: 58fdfd40f00060caf6819d4a78b16f38e6b426d4, Commit Message: docs: quote python type hints [Pipeline] echo 18:46:22 [semverPrep] This is not a build commit. [Pipeline] sh 18:46:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:46:22 + grep -v github /etc/ssh/ssh_known_hosts 18:46:22 + [ -e /tmp/ssh_known_hosts ] 18:46:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:46:22 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:46:22 sudo tee -a /etc/ssh/ssh_known_hosts 18:46:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:46:23 18:46:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:46:23 0.1.4: Pulling from edgex-devops/py-git-semver 18:46:23 b85a868b505f: Pulling fs layer 18:46:23 e2be974225ed: Pulling fs layer 18:46:23 339a4e72a1f5: Pulling fs layer 18:46:23 988bab9f4d93: Pulling fs layer 18:46:23 1469e6f7b9e6: Pulling fs layer 18:46:23 eaf3925da568: Pulling fs layer 18:46:23 bab4dde63d76: Pulling fs layer 18:46:23 bde34c3a00c8: Pulling fs layer 18:46:23 b352a97aabf1: Pulling fs layer 18:46:23 4872d77fe225: Pulling fs layer 18:46:23 5851b861e8e6: Pulling fs layer 18:46:23 1469e6f7b9e6: Waiting 18:46:23 b352a97aabf1: Waiting 18:46:23 988bab9f4d93: Waiting 18:46:23 5851b861e8e6: Waiting 18:46:23 bde34c3a00c8: Waiting 18:46:23 4872d77fe225: Waiting 18:46:23 eaf3925da568: Waiting 18:46:23 bab4dde63d76: Waiting 18:46:23 e2be974225ed: Verifying Checksum 18:46:23 e2be974225ed: Download complete 18:46:23 988bab9f4d93: Download complete 18:46:23 1469e6f7b9e6: Verifying Checksum 18:46:23 1469e6f7b9e6: Download complete 18:46:23 eaf3925da568: Verifying Checksum 18:46:23 eaf3925da568: Download complete 18:46:23 339a4e72a1f5: Verifying Checksum 18:46:23 339a4e72a1f5: Download complete 18:46:23 bde34c3a00c8: Verifying Checksum 18:46:23 bde34c3a00c8: Download complete 18:46:23 b352a97aabf1: Verifying Checksum 18:46:23 b352a97aabf1: Download complete 18:46:23 4872d77fe225: Download complete 18:46:23 5851b861e8e6: Verifying Checksum 18:46:23 5851b861e8e6: Download complete 18:46:23 b85a868b505f: Verifying Checksum 18:46:23 b85a868b505f: Download complete 18:46:23 bab4dde63d76: Verifying Checksum 18:46:23 bab4dde63d76: Download complete 18:46:24 b85a868b505f: Pull complete 18:46:24 e2be974225ed: Pull complete 18:46:25 339a4e72a1f5: Pull complete 18:46:25 988bab9f4d93: Pull complete 18:46:25 1469e6f7b9e6: Pull complete 18:46:25 eaf3925da568: Pull complete 18:46:27 bab4dde63d76: Pull complete 18:46:27 bde34c3a00c8: Pull complete 18:46:27 b352a97aabf1: Pull complete 18:46:27 4872d77fe225: Pull complete 18:46:27 5851b861e8e6: Pull complete 18:46:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:46:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:46:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:27 prd-ubuntu20.04-docker-8c-8g-8781 does not seem to be running inside a container 18:46:27 $ 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 18:46:28 $ docker top 1e3616267f048f98b8cf827fe7502440469fda0aa9d64cc2c32ce8ea7c381424 -eo pid,comm 18:46:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:46:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:46:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:46:28 [ssh-agent] Looking for ssh-agent implementation... 18:46:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:46:29 $ docker exec 1e3616267f048f98b8cf827fe7502440469fda0aa9d64cc2c32ce8ea7c381424 ssh-agent 18:46:29 SSH_AUTH_SOCK=/tmp/ssh-sPYAa9LCABPo/agent.32 18:46:29 SSH_AGENT_PID=38 18:46:29 Running ssh-add (command line suppressed) 18:46:29 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_9535826772246487710.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_9535826772246487710.key) 18:46:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:46:29 + git tag --points-at HEAD [Pipeline] } 18:46:29 $ docker exec --env ******** --env ******** 1e3616267f048f98b8cf827fe7502440469fda0aa9d64cc2c32ce8ea7c381424 ssh-agent -k 18:46:29 unset SSH_AUTH_SOCK; 18:46:29 unset SSH_AGENT_PID; 18:46:29 echo Agent pid 38 killed; 18:46:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:46:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:46:29 [ssh-agent] Looking for ssh-agent implementation... 18:46:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:46:29 $ docker exec 1e3616267f048f98b8cf827fe7502440469fda0aa9d64cc2c32ce8ea7c381424 ssh-agent 18:46:29 SSH_AUTH_SOCK=/tmp/ssh-tXutnuURQ4zV/agent.71 18:46:29 SSH_AGENT_PID=77 18:46:29 Running ssh-add (command line suppressed) 18:46:30 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_1598627645884946358.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_1598627645884946358.key) 18:46:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:46:30 + git semver init 18:46:30 2022-10-21 18:46:30,529 [run_init] DEBUG init version:0.0.0 force:False 18:46:30 2022-10-21 18:46:30,529 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver 18:46:30 2022-10-21 18:46:30,529 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-180/.semver 18:46:30 2022-10-21 18:46:30,530 [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) 18:46:31 2022-10-21 18:46:31,526 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude 18:46:31 2022-10-21 18:46:31,527 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 with force:False 18:46:31 2022-10-21 18:46:31,527 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 18:46:31 2022-10-21 18:46:31,531 [execute] INFO git cat-file --batch-check 18:46:31 2022-10-21 18:46:31,532 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 18:46:31 2022-10-21 18:46:31,537 [execute] INFO git cat-file --batch 18:46:31 2022-10-21 18:46:31,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 18:46:31 2022-10-21 18:46:31,542 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 18:46:31 0.0.0 [Pipeline] } 18:46:31 $ docker exec --env ******** --env ******** 1e3616267f048f98b8cf827fe7502440469fda0aa9d64cc2c32ce8ea7c381424 ssh-agent -k 18:46:31 unset SSH_AUTH_SOCK; 18:46:31 unset SSH_AGENT_PID; 18:46:31 echo Agent pid 77 killed; 18:46:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:46:32 + git semver [Pipeline] } 18:46:32 $ docker stop --time=1 1e3616267f048f98b8cf827fe7502440469fda0aa9d64cc2c32ce8ea7c381424 18:46:34 $ docker rm -f 1e3616267f048f98b8cf827fe7502440469fda0aa9d64cc2c32ce8ea7c381424 [Pipeline] // withDockerContainer [Pipeline] sh 18:46:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:46:34 Stashed 1 file(s) [Pipeline] echo 18:46:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:34 provisioning config files... 18:46:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config12485816921813463417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:34 ---> docker-login.sh 18:46:34 nexus3.edgexfoundry.org:10001 18:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:34 Configure a credential helper to remove this warning. See 18:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:34 18:46:34 Login Succeeded 18:46:34 nexus3.edgexfoundry.org:10002 18:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:34 Configure a credential helper to remove this warning. See 18:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:34 18:46:34 Login Succeeded 18:46:34 nexus3.edgexfoundry.org:10003 18:46:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:35 Configure a credential helper to remove this warning. See 18:46:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:35 18:46:35 Login Succeeded 18:46:35 nexus3.edgexfoundry.org:10004 18:46:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:35 Configure a credential helper to remove this warning. See 18:46:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:35 18:46:35 Login Succeeded 18:46:35 docker.io 18:46:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:35 Configure a credential helper to remove this warning. See 18:46:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:35 18:46:35 Login Succeeded 18:46:35 ---> docker-login.sh ends [Pipeline] } 18:46:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:46:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:46:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:46:35 ========================================================= 18:46:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:46:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:46:36 Sending build context to Docker daemon 27.08MB 18:46:36 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 18:46:36 Step 2/14 : FROM ${BASE} AS builder 18:46:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:46:36 213ec9aee27d: Pulling fs layer 18:46:36 4583459ba037: Pulling fs layer 18:46:36 93c1e223e6f2: Pulling fs layer 18:46:36 53926ce57604: Pulling fs layer 18:46:36 21b2b0c7a3f4: Pulling fs layer 18:46:36 30f14e443154: Pulling fs layer 18:46:36 801331c1e519: Pulling fs layer 18:46:36 99cc6dd402b0: Pulling fs layer 18:46:36 7d9ed39f4882: Pulling fs layer 18:46:36 99cc6dd402b0: Waiting 18:46:36 801331c1e519: Waiting 18:46:36 30f14e443154: Waiting 18:46:36 53926ce57604: Waiting 18:46:36 93c1e223e6f2: Verifying Checksum 18:46:36 93c1e223e6f2: Download complete 18:46:36 4583459ba037: Download complete 18:46:36 21b2b0c7a3f4: Verifying Checksum 18:46:36 21b2b0c7a3f4: Download complete 18:46:36 30f14e443154: Verifying Checksum 18:46:36 30f14e443154: Download complete 18:46:36 213ec9aee27d: Verifying Checksum 18:46:36 801331c1e519: Verifying Checksum 18:46:36 801331c1e519: Download complete 18:46:36 213ec9aee27d: Pull complete 18:46:36 4583459ba037: Pull complete 18:46:36 93c1e223e6f2: Pull complete 18:46:36 7d9ed39f4882: Verifying Checksum 18:46:36 7d9ed39f4882: Download complete 18:46:37 53926ce57604: Verifying Checksum 18:46:37 53926ce57604: Download complete 18:46:37 99cc6dd402b0: Verifying Checksum 18:46:37 99cc6dd402b0: Download complete 18:46:40 53926ce57604: Pull complete 18:46:40 21b2b0c7a3f4: Pull complete 18:46:40 30f14e443154: Pull complete 18:46:40 801331c1e519: Pull complete 18:46:42 99cc6dd402b0: Pull complete 18:46:43 7d9ed39f4882: Pull complete 18:46:43 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 18:46:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:46:43 ---> 1dedd983c030 18:46:43 Step 3/14 : ARG ADD_BUILD_TAGS="" 18:46:45 ---> Running in de16883e249d 18:46:45 Removing intermediate container de16883e249d 18:46:45 ---> 1346b7ee4870 18:46:45 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:46:45 ---> Running in 48e186288593 18:46:45 Removing intermediate container 48e186288593 18:46:45 ---> 0142ca3d3fd7 18:46:45 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:46:45 ---> Running in 50b5d3ce1506 18:46:45 Removing intermediate container 50b5d3ce1506 18:46:45 ---> d6d8916260c7 18:46:45 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 18:46:45 ---> Running in b848e6fce452 18:46:45 Removing intermediate container b848e6fce452 18:46:45 ---> 678b0f368da2 18:46:45 Step 7/14 : LABEL Name=edgex-device-onvif-camera 18:46:45 ---> Running in 391f9979fd93 18:46:45 Removing intermediate container 391f9979fd93 18:46:45 ---> ae54a1753050 18:46:45 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:46:45 ---> Running in 268dc470cb9b 18:46:46 Removing intermediate container 268dc470cb9b 18:46:46 ---> bd95bdcff181 18:46:46 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:46:46 ---> Running in 7c01f2cad833 18:46:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:46:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:46:47 OK: 211 MiB in 51 packages 18:46:47 Removing intermediate container 7c01f2cad833 18:46:47 ---> 67c29db3ca09 18:46:47 Step 10/14 : WORKDIR /device-onvif-camera 18:46:47 ---> Running in 4560b12aca3e 18:46:47 Removing intermediate container 4560b12aca3e 18:46:47 ---> 45551fb40305 18:46:47 Step 11/14 : COPY go.mod vendor* ./ 18:46:48 ---> 076013ad1c99 18:46:48 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:48 ---> Running in 53269edab421 18:46:49 Still waiting to schedule task 18:46:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:47:10 Removing intermediate container 53269edab421 18:47:10 ---> 95e44bd19420 18:47:10 Step 13/14 : COPY . . 18:47:10 ---> 3105253f1441 18:47:10 Step 14/14 : RUN ${MAKE} 18:47:10 ---> Running in e461b655c74e 18:47:10 noop 18:47:10 Removing intermediate container e461b655c74e 18:47:10 ---> 6e7bb9aea785 18:47:10 Successfully built 6e7bb9aea785 18:47:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:10 + docker inspect -f . ci-base-image-x86_64 18:47:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:10 prd-ubuntu20.04-docker-8c-8g-8781 does not seem to be running inside a container 18:47:10 $ 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 18:47:10 $ docker top 66125d7a81ea48ca804a96dd9401176f934c3dc1e09d2850bb1c0169dd239310 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:11 + go version 18:47:11 go version go1.18.7 linux/amd64 [Pipeline] } 18:47:11 $ docker stop --time=1 66125d7a81ea48ca804a96dd9401176f934c3dc1e09d2850bb1c0169dd239310 18:47:12 $ docker rm -f 66125d7a81ea48ca804a96dd9401176f934c3dc1e09d2850bb1c0169dd239310 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:12 + docker inspect -f . ci-base-image-x86_64 18:47:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:12 prd-ubuntu20.04-docker-8c-8g-8781 does not seem to be running inside a container 18:47:12 $ 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 18:47:13 $ docker top 929e4db55efbfd5d725a04c1125804e397379d7a1ee90922ee06fba6cca64f2c -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:13 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh 18:47:13 + make test 18:47:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:47:14 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:47:24 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:47:25 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.041s coverage: 28.2% of statements 18:47:25 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:47:25 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.417s coverage: 86.5% of statements 18:47:31 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:47:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:47:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:47:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:47:35 ./bin/test-attribution-txt.sh [Pipeline] echo 18:47:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:47:35 $ docker stop --time=1 929e4db55efbfd5d725a04c1125804e397379d7a1ee90922ee06fba6cca64f2c 18:47:37 $ docker rm -f 929e4db55efbfd5d725a04c1125804e397379d7a1ee90922ee06fba6cca64f2c [Pipeline] // withDockerContainer [Pipeline] sh 18:47:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:47:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:47:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:47:38 + ls -al . 18:47:38 total 236 18:47:38 drwxrwxr-x 10 jenkins jenkins 4096 Oct 21 18:47 . 18:47:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 18:46 .. 18:47:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 18:47 .git 18:47:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 18:46 .github 18:47:38 -rw-rw-r-- 1 jenkins jenkins 496 Oct 21 18:46 .gitignore 18:47:38 -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 18:46 .golangci.yml 18:47:38 drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 18:46 .semver 18:47:38 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 21 18:46 Attribution.txt 18:47:38 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 21 18:46 CHANGELOG.md 18:47:38 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 21 18:46 Dockerfile 18:47:38 -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 18:46 GOVERNANCE.md 18:47:38 -rw-rw-r-- 1 jenkins jenkins 734 Oct 21 18:46 Jenkinsfile 18:47:38 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 21 18:46 LICENSE 18:47:38 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 21 18:46 Makefile 18:47:38 -rw-rw-r-- 1 jenkins jenkins 625 Oct 21 18:46 OWNERS.md 18:47:38 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 21 18:46 README.md 18:47:38 -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 18:46 VERSION 18:47:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 18:46 bin 18:47:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 18:46 cmd 18:47:38 -rw-r--r-- 1 jenkins jenkins 78636 Oct 21 18:47 coverage.out 18:47:38 drwxrwxr-x 6 jenkins jenkins 4096 Oct 21 18:46 doc 18:47:38 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 21 18:46 go.mod 18:47:38 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 21 18:46 go.sum 18:47:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 18:46 internal 18:47:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 18:46 snap 18:47:38 -rw-rw-r-- 1 jenkins jenkins 236 Oct 21 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:38 + 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=58fdfd40f00060caf6819d4a78b16f38e6b426d4 --label arch=amd64 --label version=0.0.0 . 18:47:38 Sending build context to Docker daemon 27.16MB 18:47:38 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:47:38 Step 2/27 : FROM ${BASE} AS builder 18:47:38 ---> 6e7bb9aea785 18:47:38 Step 3/27 : ARG ADD_BUILD_TAGS="" 18:47:39 ---> Running in 8d69007c1e59 18:47:39 Removing intermediate container 8d69007c1e59 18:47:39 ---> df3f6f935d3b 18:47:39 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:47:39 ---> Running in 950482bbcc9b 18:47:39 Removing intermediate container 950482bbcc9b 18:47:39 ---> 2ea134186724 18:47:39 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:47:39 ---> Running in 0fdea61f2909 18:47:39 Removing intermediate container 0fdea61f2909 18:47:39 ---> 0701d8002227 18:47:39 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 18:47:39 ---> Running in 770b23fd40cb 18:47:39 Removing intermediate container 770b23fd40cb 18:47:39 ---> ee913472a9a2 18:47:39 Step 7/27 : LABEL Name=edgex-device-onvif-camera 18:47:39 ---> Running in 1901ed684c6a 18:47:39 Removing intermediate container 1901ed684c6a 18:47:39 ---> 1e6c774f2d9f 18:47:39 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:47:39 ---> Running in 05eed0c232d9 18:47:40 Removing intermediate container 05eed0c232d9 18:47:40 ---> e4ca01d46b42 18:47:40 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:47:40 ---> Running in f1da1abc3eb3 18:47:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:47:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:47:41 OK: 211 MiB in 51 packages 18:47:41 Removing intermediate container f1da1abc3eb3 18:47:41 ---> 9f2e8c116a3a 18:47:41 Step 10/27 : WORKDIR /device-onvif-camera 18:47:41 ---> Running in 6aa89a6c6e84 18:47:42 Removing intermediate container 6aa89a6c6e84 18:47:42 ---> 75bc8846d70b 18:47:42 Step 11/27 : COPY go.mod vendor* ./ 18:47:42 ---> 673a45589bf2 18:47:42 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:47:42 ---> Running in b0e394f28686 18:47:42 Removing intermediate container b0e394f28686 18:47:42 ---> c48ca6fea297 18:47:42 Step 13/27 : COPY . . 18:47:43 ---> e9b40b88cccc 18:47:43 Step 14/27 : RUN ${MAKE} 18:47:43 ---> Running in a45385baa1e6 18:47:43 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 18:48:05 Removing intermediate container a45385baa1e6 18:48:05 ---> da6fad4194f2 18:48:05 Step 15/27 : FROM alpine:3.16 18:48:05 3.16: Pulling from library/alpine 18:48:05 213ec9aee27d: Already exists 18:48:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:48:05 Status: Downloaded newer image for alpine:3.16 18:48:05 ---> 9c6f07244728 18:48:05 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:48:05 ---> Running in 5e908591a4f6 18:48:05 Removing intermediate container 5e908591a4f6 18:48:05 ---> fcbf85c6338d 18:48:05 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 18:48:05 ---> Running in 945522e5ea10 18:48:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:48:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:48:05 (1/6) Installing dumb-init (1.2.5-r1) 18:48:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:48:05 (3/6) Installing libsodium (1.0.18-r0) 18:48:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:48:05 (5/6) Installing libzmq (4.3.4-r0) 18:48:05 (6/6) Installing zeromq (4.3.4-r0) 18:48:05 Executing busybox-1.35.0-r17.trigger 18:48:05 OK: 8 MiB in 20 packages 18:48:05 Removing intermediate container 945522e5ea10 18:48:05 ---> 37cc1f70007e 18:48:05 Step 18/27 : WORKDIR / 18:48:05 ---> Running in cd9f6da5a8d9 18:48:05 Removing intermediate container cd9f6da5a8d9 18:48:05 ---> 9874035961a6 18:48:05 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 18:48:05 ---> c71c30cee3a6 18:48:05 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 18:48:05 ---> b75d4070c4be 18:48:05 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:48:05 ---> 2dfb8462af2d 18:48:05 Step 22/27 : EXPOSE 59984 18:48:05 ---> Running in 70a3302c2ea6 18:48:05 Removing intermediate container 70a3302c2ea6 18:48:05 ---> 5d4b2ca2987c 18:48:05 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 18:48:05 ---> Running in 108e25390e18 18:48:05 Removing intermediate container 108e25390e18 18:48:05 ---> 626818c42338 18:48:05 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:48:05 ---> Running in 609bfaba8c78 18:48:05 Removing intermediate container 609bfaba8c78 18:48:05 ---> 417bfb0db476 18:48:05 Step 25/27 : LABEL arch=amd64 18:48:05 ---> Running in 8740c8c33b43 18:48:05 Removing intermediate container 8740c8c33b43 18:48:05 ---> b61e1b335dca 18:48:05 Step 26/27 : LABEL git_sha=58fdfd40f00060caf6819d4a78b16f38e6b426d4 18:48:05 ---> Running in f5b92c09a506 18:48:05 Removing intermediate container f5b92c09a506 18:48:05 ---> 3d7f1f2a41f7 18:48:05 Step 27/27 : LABEL version=0.0.0 18:48:05 ---> Running in b356cc16de9f 18:48:05 Removing intermediate container b356cc16de9f 18:48:05 ---> 7197330928ba 18:48:05 [Warning] One or more build-args [ARCH] were not consumed 18:48:05 Successfully built 7197330928ba 18:48:05 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:06 18:48:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:06 latest: Pulling from edgex-lftools-log-publisher 18:48:06 5eb5b503b376: Pulling fs layer 18:48:06 5c69ac0246d0: Pulling fs layer 18:48:06 ec43610c2a17: Pulling fs layer 18:48:06 3a2ae6a8a46f: Pulling fs layer 18:48:06 33b1e0a273af: Pulling fs layer 18:48:06 5d3b04190fa2: Pulling fs layer 18:48:06 2f39f015ded8: Pulling fs layer 18:48:06 33b1e0a273af: Waiting 18:48:06 2f39f015ded8: Waiting 18:48:06 5d3b04190fa2: Waiting 18:48:06 3a2ae6a8a46f: Waiting 18:48:06 5c69ac0246d0: Download complete 18:48:06 3a2ae6a8a46f: Verifying Checksum 18:48:06 3a2ae6a8a46f: Download complete 18:48:06 33b1e0a273af: Verifying Checksum 18:48:06 33b1e0a273af: Download complete 18:48:06 5d3b04190fa2: Verifying Checksum 18:48:06 5d3b04190fa2: Download complete 18:48:07 ec43610c2a17: Verifying Checksum 18:48:07 ec43610c2a17: Download complete 18:48:07 5eb5b503b376: Verifying Checksum 18:48:07 5eb5b503b376: Download complete 18:48:07 2f39f015ded8: Verifying Checksum 18:48:07 2f39f015ded8: Download complete 18:48:08 5eb5b503b376: Pull complete 18:48:08 5c69ac0246d0: Pull complete 18:48:08 ec43610c2a17: Pull complete 18:48:08 3a2ae6a8a46f: Pull complete 18:48:08 33b1e0a273af: Pull complete 18:48:08 5d3b04190fa2: Pull complete 18:48:12 2f39f015ded8: Pull complete 18:48:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:48:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:13 prd-ubuntu20.04-docker-8c-8g-8781 does not seem to be running inside a container 18:48:13 $ 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 18:48:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8782 in /w/workspace/undry_device-onvif-camera_PR-180 18:48:14 $ docker top a458dbe3a4e9226ca6428e2ac47ac7e84bd80143d044614479c28b51ebfcb04f -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 18:48:14 Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout 18:48:14 The recommended git tool is: git 18:48:14 ---> job-cost.sh 18:48:14 lf-activate-venv: SKIPPING 18:48:14 INFO: No Stack... 18:48:15 INFO: Retrieving Pricing Info for: v3-standard-8 18:48:15 INFO: Archiving Costs [Pipeline] sh 18:48:16 + cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv 18:48:16 + cut -d, -f6 [Pipeline] lock 18:48:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-8-stack-cost] 18:48:16 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-8-stack-cost] did not exist. Created. 18:48:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:48:16 + echo total: 0.2199999988079071 [Pipeline] stash 18:48:16 Stashed 1 file(s) [Pipeline] } 18:48:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-8-stack-cost] [Pipeline] // lock [Pipeline] } 18:48:16 $ docker stop --time=1 a458dbe3a4e9226ca6428e2ac47ac7e84bd80143d044614479c28b51ebfcb04f 18:48:17 $ docker rm -f a458dbe3a4e9226ca6428e2ac47ac7e84bd80143d044614479c28b51ebfcb04f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:48:19 using credential edgex-jenkins-ssh 18:48:19 Cloning the remote Git repository 18:48:19 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:48:19 > git init /w/workspace/device-onvif-camera/8 # timeout=10 18:48:19 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:48:19 > git --version # timeout=10 18:48:19 > git --version # 'git version 2.25.1' 18:48:19 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:19 Verifying host key using known hosts file 18:48:20 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 18:48:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:48:22 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:48:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:48:22 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:48:22 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:48:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:22 Verifying host key using known hosts file 18:48:22 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 18:48:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:48:23 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit 58fdfd40f00060caf6819d4a78b16f38e6b426d4 18:48:24 Merge succeeded, producing 58fdfd40f00060caf6819d4a78b16f38e6b426d4 18:48:24 Checking out Revision 58fdfd40f00060caf6819d4a78b16f38e6b426d4 (PR-180) 18:48:23 > git config core.sparsecheckout # timeout=10 18:48:23 > git checkout -f 58fdfd40f00060caf6819d4a78b16f38e6b426d4 # timeout=10 18:48:24 > git remote # timeout=10 18:48:24 > git config --get remote.origin.url # timeout=10 18:48:24 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:24 Verifying host key using known hosts file 18:48:24 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 18:48:24 > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 18:48:24 > git rev-parse HEAD^{commit} # timeout=10 18:48:24 > git config core.sparsecheckout # timeout=10 18:48:24 > git checkout -f 58fdfd40f00060caf6819d4a78b16f38e6b426d4 # timeout=10 18:48:24 Commit message: "docs: quote python type hints" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:48:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:48:25 % Total % Received % Xferd Average Speed Time Time Time Current 18:48:25 Dload Upload Total Spent Left Speed 18:48:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 81303 0 --:--:-- --:--:-- --:--:-- 81831 [Pipeline] sh 18:48:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:48:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:48:26 + sudo tee /etc/docker/daemon.new 18:48:26 { 18:48:26 "registry-mirrors": [ 18:48:26 "https://nexus3.edgexfoundry.org:10001" 18:48:26 ], 18:48:26 "bip": "10.250.0.254/24", 18:48:26 "hosts": [ 18:48:26 "tcp://0.0.0.0:5555", 18:48:26 "unix:///var/run/docker.sock" 18:48:26 ], 18:48:26 "mtu": 1458, 18:48:26 "selinux-enabled": true, 18:48:26 "seccomp-profile": "/etc/docker/seccomp.json" 18:48:26 } [Pipeline] sh 18:48:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:48:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:45 provisioning config files... 18:48:45 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config8336369345694320457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:45 ---> docker-login.sh 18:48:45 nexus3.edgexfoundry.org:10001 18:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:46 Configure a credential helper to remove this warning. See 18:48:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:46 18:48:46 Login Succeeded 18:48:46 nexus3.edgexfoundry.org:10002 18:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:46 Configure a credential helper to remove this warning. See 18:48:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:46 18:48:46 Login Succeeded 18:48:47 nexus3.edgexfoundry.org:10003 18:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:47 Configure a credential helper to remove this warning. See 18:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:47 18:48:47 Login Succeeded 18:48:47 nexus3.edgexfoundry.org:10004 18:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:47 Configure a credential helper to remove this warning. See 18:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:47 18:48:47 Login Succeeded 18:48:47 docker.io 18:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:48 Configure a credential helper to remove this warning. See 18:48:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:48 18:48:48 Login Succeeded 18:48:48 ---> docker-login.sh ends [Pipeline] } 18:48:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:48:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:48 ========================================================= 18:48:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:48:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:48:49 Sending build context to Docker daemon 20.41MB 18:48:49 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 18:48:49 Step 2/14 : FROM ${BASE} AS builder 18:48:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:48:49 9b18e9b68314: Pulling fs layer 18:48:49 d32db5db7311: Pulling fs layer 18:48:49 d0c4b47475fc: Pulling fs layer 18:48:49 5831b945b038: Pulling fs layer 18:48:49 86bbec2aaacd: Pulling fs layer 18:48:49 e10730c5d714: Pulling fs layer 18:48:49 5dd5c2283517: Pulling fs layer 18:48:49 d5ac0230b979: Pulling fs layer 18:48:49 5831b945b038: Waiting 18:48:49 e10730c5d714: Waiting 18:48:49 86bbec2aaacd: Waiting 18:48:49 d5ac0230b979: Waiting 18:48:49 5dd5c2283517: Waiting 18:48:49 d0c4b47475fc: Verifying Checksum 18:48:49 d0c4b47475fc: Download complete 18:48:49 d32db5db7311: Verifying Checksum 18:48:49 d32db5db7311: Download complete 18:48:49 86bbec2aaacd: Verifying Checksum 18:48:49 86bbec2aaacd: Download complete 18:48:49 e10730c5d714: Verifying Checksum 18:48:49 e10730c5d714: Download complete 18:48:49 9b18e9b68314: Verifying Checksum 18:48:50 9b18e9b68314: Pull complete 18:48:51 d5ac0230b979: Verifying Checksum 18:48:51 d5ac0230b979: Download complete 18:48:51 d32db5db7311: Pull complete 18:48:51 d0c4b47475fc: Pull complete 18:48:52 5dd5c2283517: Verifying Checksum 18:48:52 5dd5c2283517: Download complete 18:48:52 5831b945b038: Verifying Checksum 18:48:52 5831b945b038: Download complete 18:49:05 5831b945b038: Pull complete 18:49:05 86bbec2aaacd: Pull complete 18:49:05 e10730c5d714: Pull complete 18:49:11 5dd5c2283517: Pull complete 18:49:13 d5ac0230b979: Pull complete 18:49:13 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 18:49:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:49:13 ---> 59b3b1a385d4 18:49:13 Step 3/14 : ARG ADD_BUILD_TAGS="" 18:49:15 ---> Running in 3e7edf8561d6 18:49:16 Removing intermediate container 3e7edf8561d6 18:49:16 ---> 4859869c6c90 18:49:16 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:49:16 ---> Running in 4af0abec3e47 18:49:16 Removing intermediate container 4af0abec3e47 18:49:16 ---> 91318ff50a76 18:49:16 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:49:16 ---> Running in a467519b9d3a 18:49:16 Removing intermediate container a467519b9d3a 18:49:16 ---> aa612d896444 18:49:16 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 18:49:16 ---> Running in ebff22348138 18:49:17 Removing intermediate container ebff22348138 18:49:17 ---> a781f0a3bd01 18:49:17 Step 7/14 : LABEL Name=edgex-device-onvif-camera 18:49:17 ---> Running in cd1bea9916b1 18:49:17 Removing intermediate container cd1bea9916b1 18:49:17 ---> 5cdec81c3c80 18:49:17 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:49:17 ---> Running in 8172cfd47228 18:49:19 Removing intermediate container 8172cfd47228 18:49:19 ---> 029db8e8d7ad 18:49:19 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:49:19 ---> Running in 68fb7ab93eee 18:49:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:49:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:49:21 OK: 221 MiB in 51 packages 18:49:22 Removing intermediate container 68fb7ab93eee 18:49:22 ---> fa5d241aba05 18:49:22 Step 10/14 : WORKDIR /device-onvif-camera 18:49:22 ---> Running in 554c1881fa06 18:49:22 Removing intermediate container 554c1881fa06 18:49:22 ---> bf02f0b6e4e4 18:49:22 Step 11/14 : COPY go.mod vendor* ./ 18:49:23 ---> cbe1a3281c95 18:49:23 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:49:23 ---> Running in 523ef163103f 18:50:19 Removing intermediate container 523ef163103f 18:50:19 ---> 7f4dbdfb9f24 18:50:19 Step 13/14 : COPY . . 18:50:19 ---> 58f7737c92c5 18:50:19 Step 14/14 : RUN ${MAKE} 18:50:19 ---> Running in 82ece05b64d7 18:50:19 noop 18:50:19 Removing intermediate container 82ece05b64d7 18:50:19 ---> 1810dc27974b 18:50:19 Successfully built 1810dc27974b 18:50:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:20 + docker inspect -f . ci-base-image-arm64 18:50:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:20 prd-ubuntu20.04-docker-arm64-4c-16g-8782 does not seem to be running inside a container 18:50:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:50:21 $ docker top e5c87b39c0b89bcfb68d58bf087506f5856955303cc543c65797dd5fb2c241eb -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:22 + go version 18:50:22 go version go1.18.7 linux/arm64 [Pipeline] } 18:50:22 $ docker stop --time=1 e5c87b39c0b89bcfb68d58bf087506f5856955303cc543c65797dd5fb2c241eb 18:50:24 $ docker rm -f e5c87b39c0b89bcfb68d58bf087506f5856955303cc543c65797dd5fb2c241eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:24 + docker inspect -f . ci-base-image-arm64 18:50:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:24 prd-ubuntu20.04-docker-arm64-4c-16g-8782 does not seem to be running inside a container 18:50:24 $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:50:26 $ docker top fb59058b7f56f4aaff0f502e09c083cd0f953156bf823bd4f8152bfd49b1e574 -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:26 + git config --global --add safe.directory /w/workspace/device-onvif-camera/8 [Pipeline] fileExists [Pipeline] sh 18:50:27 + make test 18:50:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:50:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:52:05 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:52:05 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.190s coverage: 28.2% of statements 18:52:05 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:52:18 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.142s coverage: 86.5% of statements 18:52:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:52:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:52:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:52:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:52:45 ./bin/test-attribution-txt.sh [Pipeline] echo 18:52:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:52:45 $ docker stop --time=1 fb59058b7f56f4aaff0f502e09c083cd0f953156bf823bd4f8152bfd49b1e574 18:52:47 $ docker rm -f fb59058b7f56f4aaff0f502e09c083cd0f953156bf823bd4f8152bfd49b1e574 [Pipeline] // withDockerContainer [Pipeline] sh 18:52:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:52:48 Warning: overwriting stash ‘coverage-report’ 18:52:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:49 + ls -al . 18:52:49 total 232 18:52:49 drwxrwxr-x 9 jenkins jenkins 4096 Oct 21 18:50 . 18:52:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 18:48 .. 18:52:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 18:48 .git 18:52:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 18:48 .github 18:52:49 -rw-rw-r-- 1 jenkins jenkins 496 Oct 21 18:48 .gitignore 18:52:49 -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 18:48 .golangci.yml 18:52:49 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 21 18:48 Attribution.txt 18:52:49 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 21 18:48 CHANGELOG.md 18:52:49 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 21 18:48 Dockerfile 18:52:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 18:48 GOVERNANCE.md 18:52:49 -rw-rw-r-- 1 jenkins jenkins 734 Oct 21 18:48 Jenkinsfile 18:52:49 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 21 18:48 LICENSE 18:52:49 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 21 18:48 Makefile 18:52:49 -rw-rw-r-- 1 jenkins jenkins 625 Oct 21 18:48 OWNERS.md 18:52:49 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 21 18:48 README.md 18:52:49 -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 18:46 VERSION 18:52:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 18:48 bin 18:52:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 18:48 cmd 18:52:49 -rw-r--r-- 1 jenkins jenkins 78636 Oct 21 18:52 coverage.out 18:52:49 drwxrwxr-x 6 jenkins jenkins 4096 Oct 21 18:48 doc 18:52:49 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 21 18:48 go.mod 18:52:49 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 21 18:48 go.sum 18:52:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 18:48 internal 18:52:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 18:48 snap 18:52:49 -rw-rw-r-- 1 jenkins jenkins 236 Oct 21 18:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:49 + 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=58fdfd40f00060caf6819d4a78b16f38e6b426d4 --label arch=arm64 --label version=0.0.0 . 18:52:50 Sending build context to Docker daemon 20.49MB 18:52:50 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:52:50 Step 2/27 : FROM ${BASE} AS builder 18:52:50 ---> 1810dc27974b 18:52:50 Step 3/27 : ARG ADD_BUILD_TAGS="" 18:52:50 ---> Running in 698aeb64671a 18:52:50 Removing intermediate container 698aeb64671a 18:52:50 ---> 26cee3dd1be7 18:52:50 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:52:51 ---> Running in 4a9f51e4ea68 18:52:51 Removing intermediate container 4a9f51e4ea68 18:52:51 ---> aa05fcd618a4 18:52:51 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:52:51 ---> Running in 4985132cd43f 18:52:52 Removing intermediate container 4985132cd43f 18:52:52 ---> d686e5030f8c 18:52:52 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 18:52:52 ---> Running in 92138dc2cba9 18:52:52 Removing intermediate container 92138dc2cba9 18:52:52 ---> 9bea97096e92 18:52:52 Step 7/27 : LABEL Name=edgex-device-onvif-camera 18:52:52 ---> Running in b4fb81615f3e 18:52:52 Removing intermediate container b4fb81615f3e 18:52:52 ---> c7ab5e4cb483 18:52:52 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:52:52 ---> Running in 9d0d31a24356 18:52:55 Removing intermediate container 9d0d31a24356 18:52:55 ---> 4b846c2ae28d 18:52:55 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:52:55 ---> Running in c0dfc601a8be 18:52:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:52:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:52:58 OK: 221 MiB in 51 packages 18:52:59 Removing intermediate container c0dfc601a8be 18:52:59 ---> bf0971fb7ead 18:52:59 Step 10/27 : WORKDIR /device-onvif-camera 18:52:59 ---> Running in dff97aaefb54 18:52:59 Removing intermediate container dff97aaefb54 18:52:59 ---> 692c6df61e39 18:52:59 Step 11/27 : COPY go.mod vendor* ./ 18:53:00 ---> 2cb6e1611ba7 18:53:00 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:00 ---> Running in 6e70be0c472c 18:53:02 Removing intermediate container 6e70be0c472c 18:53:02 ---> 7e29c44935db 18:53:02 Step 13/27 : COPY . . 18:53:04 ---> 3e5b2c6d3d92 18:53:04 Step 14/27 : RUN ${MAKE} 18:53:04 ---> Running in d36247b09555 18:53:05 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 18:55:42 Removing intermediate container d36247b09555 18:55:42 ---> 77f2b92b0a62 18:55:42 Step 15/27 : FROM alpine:3.16 18:55:42 3.16: Pulling from library/alpine 18:55:42 9b18e9b68314: Already exists 18:55:42 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:55:42 Status: Downloaded newer image for alpine:3.16 18:55:42 ---> a6215f271958 18:55:42 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:55:42 ---> Running in 3ab3c09a8e76 18:55:42 Removing intermediate container 3ab3c09a8e76 18:55:42 ---> 3758a0c5b63b 18:55:42 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 18:55:42 ---> Running in 1f6925340ef2 18:55:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:55:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:55:42 (1/6) Installing dumb-init (1.2.5-r1) 18:55:42 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:55:42 (3/6) Installing libsodium (1.0.18-r0) 18:55:42 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:55:42 (5/6) Installing libzmq (4.3.4-r0) 18:55:42 (6/6) Installing zeromq (4.3.4-r0) 18:55:42 Executing busybox-1.35.0-r17.trigger 18:55:42 OK: 8 MiB in 20 packages 18:55:42 Removing intermediate container 1f6925340ef2 18:55:42 ---> 64c935d5b214 18:55:42 Step 18/27 : WORKDIR / 18:55:42 ---> Running in 18090079c8da 18:55:42 Removing intermediate container 18090079c8da 18:55:42 ---> 8102c5ecebe2 18:55:42 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 18:55:42 ---> a0a47d1efcb5 18:55:42 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 18:55:42 ---> 782a2d14a6e6 18:55:42 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:55:42 ---> 78237d57670f 18:55:42 Step 22/27 : EXPOSE 59984 18:55:42 ---> Running in dbb5ae6ca21b 18:55:42 Removing intermediate container dbb5ae6ca21b 18:55:42 ---> b2adfae96d06 18:55:42 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 18:55:42 ---> Running in 00f74d2ee808 18:55:42 Removing intermediate container 00f74d2ee808 18:55:42 ---> 386e93c44206 18:55:42 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:55:42 ---> Running in ca341f608592 18:55:42 Removing intermediate container ca341f608592 18:55:42 ---> a57eb19a8555 18:55:42 Step 25/27 : LABEL arch=arm64 18:55:42 ---> Running in 59c5363db10b 18:55:42 Removing intermediate container 59c5363db10b 18:55:42 ---> be015e6a99ff 18:55:42 Step 26/27 : LABEL git_sha=58fdfd40f00060caf6819d4a78b16f38e6b426d4 18:55:42 ---> Running in 744dfe6c7962 18:55:42 Removing intermediate container 744dfe6c7962 18:55:42 ---> d73d3aac98b6 18:55:42 Step 27/27 : LABEL version=0.0.0 18:55:42 ---> Running in 2741148ea7cc 18:55:42 Removing intermediate container 2741148ea7cc 18:55:42 ---> bb374d4157b6 18:55:42 [Warning] One or more build-args [ARCH] were not consumed 18:55:42 Successfully built bb374d4157b6 18:55:42 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:42 18:55:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:42 arm64: Pulling from edgex-lftools-log-publisher 18:55:42 8998bd30e6a1: Pulling fs layer 18:55:42 04944245beec: Pulling fs layer 18:55:42 699f458cf7ca: Pulling fs layer 18:55:42 765212b225bb: Pulling fs layer 18:55:42 f23df028b6ca: Pulling fs layer 18:55:42 d65c8cfc05b1: Pulling fs layer 18:55:42 2437ff75d9bd: Pulling fs layer 18:55:42 765212b225bb: Waiting 18:55:42 f23df028b6ca: Waiting 18:55:42 d65c8cfc05b1: Waiting 18:55:42 2437ff75d9bd: Waiting 18:55:43 04944245beec: Verifying Checksum 18:55:43 04944245beec: Download complete 18:55:43 765212b225bb: Download complete 18:55:43 f23df028b6ca: Download complete 18:55:43 d65c8cfc05b1: Verifying Checksum 18:55:43 d65c8cfc05b1: Download complete 18:55:43 699f458cf7ca: Verifying Checksum 18:55:43 699f458cf7ca: Download complete 18:55:43 8998bd30e6a1: Verifying Checksum 18:55:43 8998bd30e6a1: Download complete 18:55:45 2437ff75d9bd: Verifying Checksum 18:55:45 2437ff75d9bd: Download complete 18:55:47 8998bd30e6a1: Pull complete 18:55:47 04944245beec: Pull complete 18:55:49 699f458cf7ca: Pull complete 18:55:49 765212b225bb: Pull complete 18:55:50 f23df028b6ca: Pull complete 18:55:50 d65c8cfc05b1: Pull complete 18:56:05 2437ff75d9bd: Pull complete 18:56:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:56:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:56:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:05 prd-ubuntu20.04-docker-arm64-4c-16g-8782 does not seem to be running inside a container 18:56:05 $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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:arm64 cat 18:56:07 $ docker top 9171537fe1f4a0bb0e04ff3861120c04151100134d89c4ddb102716e0d4c460e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:08 ---> job-cost.sh 18:56:08 lf-activate-venv: SKIPPING 18:56:08 INFO: No Stack... 18:56:08 INFO: Retrieving Pricing Info for: v3-standard-4 18:56:09 INFO: Archiving Costs [Pipeline] sh 18:56:09 + cat /w/workspace/device-onvif-camera/8/archives/cost.csv 18:56:09 + cut -d, -f6 [Pipeline] lock 18:56:10 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-8-stack-cost] 18:56:10 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-8-stack-cost] did not exist. Created. 18:56:10 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:56:10 /w/workspace/device-onvif-camera/8@tmp/durable-c198c704/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:56:11 + echo total: 0.10999999940395355 [Pipeline] stash 18:56:11 Warning: overwriting stash ‘stack-cost’ 18:56:11 Stashed 1 file(s) [Pipeline] } 18:56:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-8-stack-cost] [Pipeline] // lock [Pipeline] } 18:56:11 $ docker stop --time=1 9171537fe1f4a0bb0e04ff3861120c04151100134d89c4ddb102716e0d4c460e 18:56:12 $ docker rm -f 9171537fe1f4a0bb0e04ff3861120c04151100134d89c4ddb102716e0d4c460e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:56:13 provisioning config files... 18:56:13 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config18172878036466845936tmp [Pipeline] { [Pipeline] sh 18:56:13 + set +x 18:56:13 + + curlbash -s -s https://codecov.io/bash -- 18:56:13 18:56:13 18:56:13 _____ _ 18:56:13 / ____| | | 18:56:13 | | ___ __| | ___ ___ _____ __ 18:56:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:56:13 | |___| (_) | (_| | __/ (_| (_) \ V / 18:56:13 \_____\___/ \__,_|\___|\___\___/ \_/ 18:56:13 Bash-1.0.6 18:56:13 18:56:13 18:56:13 ==> git version 2.25.1 found 18:56:13 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:56:13 Release-Date: 2020-01-08 18:56:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:56:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:56:13 ==> Jenkins CI detected. 18:56:13 current dir:  /w/workspace/undry_device-onvif-camera_PR-180 18:56:13 project root: . 18:56:13 --> token set from env 18:56:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:56:13 ==> Running gcov in . (disable via -X gcov) 18:56:13 ==> Python coveragepy not found 18:56:13 ==> Searching for coverage reports in: 18:56:13 + . 18:56:13 -> Found 1 reports 18:56:13 ==> Detecting git/mercurial file structure 18:56:13 ==> Reading reports 18:56:13 + ./coverage.out bytes=78636 18:56:13 ==> Appending adjustments 18:56:13 https://docs.codecov.io/docs/fixing-reports 18:56:13 + Found adjustments 18:56:13 ==> Gzipping contents 18:56:13 12K /tmp/codecov.Caq2qN.gz 18:56:13 ==> Uploading reports 18:56:13 url: https://codecov.io 18:56:13 query: branch=PR-180&commit=58fdfd40f00060caf6819d4a78b16f38e6b426d4&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 18:56:13 -> Pinging Codecov 18:56:13 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=58fdfd40f00060caf6819d4a78b16f38e6b426d4&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 18:56:14 -> Uploading to 18:56:14 https://storage.googleapis.com/codecov/v4/raw/2022-10-21/F29A59C45E3A92E06B3E522C9905F8EF/58fdfd40f00060caf6819d4a78b16f38e6b426d4/bd81202f-bab8-45a6-9f4b-d774e3907b89.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221021%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221021T185614Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=250ed663e3a2541735b43dcd694069d52ab7a5322fe9f5a53ea74de80a58d0ec 18:56:14 % Total % Received % Xferd Average Speed Time Time Time Current 18:56:14 Dload Upload Total Spent Left Speed 18:56:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10806 0 0 100 10806 0 48241 --:--:-- --:--:-- --:--:-- 48241 18:56:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/58fdfd40f00060caf6819d4a78b16f38e6b426d4 [Pipeline] } 18:56:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:56:15 + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] 18:56:15 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 18:56:15 total 16 18:56:15 drwxr-xr-x 3 root root 4096 Oct 21 18:48 . 18:56:15 drwxrwxr-x 11 jenkins jenkins 4096 Oct 21 18:48 .. 18:56:15 drwxr-xr-x 2 root root 4096 Oct 21 18:48 cost 18:56:15 -rw-r--r-- 1 root root 91 Oct 21 18:48 cost.csv 18:56:15 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives 18:56:15 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 18:56:15 total 16 18:56:15 drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 18:48 . 18:56:15 drwxrwxr-x 11 jenkins jenkins 4096 Oct 21 18:48 .. 18:56:15 drwxr-xr-x 2 jenkins jenkins 4096 Oct 21 18:48 cost 18:56:15 -rw-r--r-- 1 jenkins jenkins 91 Oct 21 18:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:56:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:56:16 ---> package-listing.sh 18:56:16 ++ tr '[:upper:]' '[:lower:]' 18:56:16 ++ facter osfamily 18:56:16 + OS_FAMILY=debian 18:56:16 + workspace=/w/workspace/undry_device-onvif-camera_PR-180 18:56:16 + START_PACKAGES=/tmp/packages_start.txt 18:56:16 + END_PACKAGES=/tmp/packages_end.txt 18:56:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:56:16 + PACKAGES=/tmp/packages_start.txt 18:56:16 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 18:56:16 + PACKAGES=/tmp/packages_end.txt 18:56:16 + case "${OS_FAMILY}" in 18:56:16 + dpkg -l 18:56:16 + grep '^ii' 18:56:16 + '[' -f /tmp/packages_start.txt ']' 18:56:16 + '[' -f /tmp/packages_end.txt ']' 18:56:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:56:16 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 18:56:16 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ 18:56:16 + 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 18:56:16 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 18:56:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:17 prd-ubuntu20.04-docker-8c-8g-8781 does not seem to be running inside a container 18:56:17 $ 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 18:56:17 $ docker top f79d0f11ada4872cef2106aaae5d725405b98d8add18012457e2d9238dc74b23 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:17 + touch /tmp/pre-build-complete [Pipeline] sh 18:56:18 + mkdir -p /var/log/sysstat [Pipeline] sh 18:56:18 + ls /var/log/sa-host 18:56:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:18 provisioning config files... 18:56:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config14106066925682950339tmp [Pipeline] { [Pipeline] echo 18:56:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:56:18 ---> create-netrc.sh [Pipeline] } 18:56:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:56:19 ---> python-tools-install.sh [Pipeline] echo 18:56:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:56:19 ---> sudo-logs.sh 18:56:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:56:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:56:19 ---> job-cost.sh 18:56:19 lf-activate-venv: SKIPPING 18:56:19 DEBUG: total: 0.2199999988079071 18:56:19 INFO: Retrieving Stack Cost... 18:56:20 INFO: Retrieving Pricing Info for: v3-standard-8 18:56:20 INFO: Archiving Costs [Pipeline] echo 18:56:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:56:21 ---> logs-deploy.sh 18:56:21 lf-activate-venv: SKIPPING 18:56:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/8 18:56:21 INFO: archiving workspace using pattern(s): 18:56:21 Archives upload complete. 18:56:22 INFO: archiving logs to Nexus 18:56:22 ---> uname -a: 18:56:22 Linux prd-ubuntu20-04-docker-8c-8g-8781 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:56:22 18:56:22 18:56:22 ---> lscpu: 18:56:22 Architecture: x86_64 18:56:22 CPU op-mode(s): 32-bit, 64-bit 18:56:22 Byte Order: Little Endian 18:56:22 Address sizes: 40 bits physical, 48 bits virtual 18:56:22 CPU(s): 8 18:56:22 On-line CPU(s) list: 0-7 18:56:22 Thread(s) per core: 1 18:56:22 Core(s) per socket: 1 18:56:22 Socket(s): 8 18:56:22 NUMA node(s): 1 18:56:22 Vendor ID: AuthenticAMD 18:56:22 CPU family: 23 18:56:22 Model: 49 18:56:22 Model name: AMD EPYC-Rome Processor 18:56:22 Stepping: 0 18:56:22 CPU MHz: 2799.998 18:56:22 BogoMIPS: 5599.99 18:56:22 Virtualization: AMD-V 18:56:22 Hypervisor vendor: KVM 18:56:22 Virtualization type: full 18:56:22 L1d cache: 256 KiB 18:56:22 L1i cache: 256 KiB 18:56:22 L2 cache: 4 MiB 18:56:22 L3 cache: 128 MiB 18:56:22 NUMA node0 CPU(s): 0-7 18:56:22 Vulnerability Itlb multihit: Not affected 18:56:22 Vulnerability L1tf: Not affected 18:56:22 Vulnerability Mds: Not affected 18:56:22 Vulnerability Meltdown: Not affected 18:56:22 Vulnerability Mmio stale data: Not affected 18:56:22 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:56:22 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:56:22 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:56:22 Vulnerability Srbds: Not affected 18:56:22 Vulnerability Tsx async abort: Not affected 18:56:22 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 18:56:22 18:56:22 18:56:22 ---> nproc: 18:56:22 8 18:56:22 18:56:22 18:56:22 ---> df -h: 18:56:22 Filesystem Size Used Avail Use% Mounted on 18:56:22 overlay 155G 12G 144G 8% / 18:56:22 tmpfs 64M 0 64M 0% /dev 18:56:22 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:56:22 shm 64M 0 64M 0% /dev/shm 18:56:22 /dev/vda1 155G 12G 144G 8% /facter-os 18:56:22 18:56:22 18:56:22 ---> sar -b -r -n DEV: 18:56:22 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8781) 10/21/22 _x86_64_ (8 CPU) 18:56:22 18:56:22 18:45:45 LINUX RESTART (8 CPU) 18:56:22 18:56:22 18:46:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:56:22 18:47:01 243.71 48.31 195.40 0.00 5408.57 170753.54 0.00 18:56:22 18:48:01 147.13 0.23 146.89 0.00 15.73 38438.13 0.00 18:56:22 18:49:01 101.40 0.02 101.38 0.00 4.13 27001.42 0.00 18:56:22 18:50:01 3.70 1.65 2.05 0.00 37.73 23.46 0.00 18:56:22 18:51:01 37.84 9.33 28.51 0.00 2884.32 4763.87 0.00 18:56:22 18:52:01 2.43 0.00 2.43 0.00 0.00 28.53 0.00 18:56:22 18:53:01 1.38 0.00 1.38 0.00 0.00 15.60 0.00 18:56:22 18:54:01 1.58 0.00 1.58 0.00 0.00 17.60 0.00 18:56:22 18:55:01 0.93 0.00 0.93 0.00 0.00 10.40 0.00 18:56:22 18:56:01 4.05 1.02 3.03 0.00 21.86 49.33 0.00 18:56:22 Average: 54.42 6.06 48.36 0.00 837.22 24110.23 0.00 18:56:22 18:56:22 18:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:56:22 18:47:01 28471952 31579808 734088 2.23 104884 3219612 2050836 6.04 1133556 2857608 98268 18:56:22 18:48:01 28069684 31546768 760276 2.31 137684 3528884 2052244 6.05 1308364 3050176 138456 18:56:22 18:49:01 27740804 31584612 720792 2.19 147724 3845604 1769840 5.22 1285300 3356820 8 18:56:22 18:50:01 27730968 31577016 727688 2.21 147796 3846736 1769840 5.22 1297728 3357200 128 18:56:22 18:51:01 27436900 31551912 731568 2.22 166036 4095656 1801592 5.31 1459724 3464480 236 18:56:22 18:52:01 27449164 31564208 719912 2.19 166096 4095652 1817644 5.36 1445228 3464440 8 18:56:22 18:53:01 27453344 31568464 715528 2.18 166176 4095660 1817644 5.36 1439776 3464448 8 18:56:22 18:54:01 27453368 31568552 715436 2.18 166212 4095660 1817644 5.36 1439796 3464448 12 18:56:22 18:55:01 27453020 31568216 715696 2.18 166232 4095664 1817644 5.36 1439860 3464452 8 18:56:22 18:56:01 27451924 31568732 715624 2.18 166364 4096412 1780344 5.25 1439824 3465396 208 18:56:22 Average: 27671113 31567829 725661 2.21 153520 3901554 1849527 5.45 1368916 3340947 23734 18:56:22 18:56:22 18:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:56:22 18:47:01 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 18:56:22 18:47:01 ens3 872.92 616.73 8295.59 107.62 0.00 0.00 0.00 0.00 18:56:22 18:47:01 docker0 170.82 216.96 13.76 1844.31 0.00 0.00 0.00 0.00 18:56:22 18:48:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 18:56:22 18:48:01 ens3 77.19 67.01 90.84 87.90 0.00 0.00 0.00 0.00 18:56:22 18:48:01 docker0 8.22 10.03 0.48 40.91 0.00 0.00 0.00 0.00 18:56:22 18:49:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 18:56:22 18:49:01 ens3 117.48 73.24 2583.12 11.92 0.00 0.00 0.00 0.00 18:56:22 18:49:01 docker0 2.48 5.15 0.16 58.01 0.00 0.00 0.00 0.00 18:56:22 18:50:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 18:56:22 18:50:01 ens3 7.47 6.10 5.08 5.91 0.00 0.00 0.00 0.00 18:56:22 18:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:22 18:51:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 18:56:22 18:51:01 ens3 65.32 43.74 1298.01 3.23 0.00 0.00 0.00 0.00 18:56:22 18:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:22 18:52:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:56:22 18:52:01 ens3 0.38 0.28 0.09 0.08 0.00 0.00 0.00 0.00 18:56:22 18:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:22 18:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:22 18:53:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:22 18:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:22 18:54:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:56:22 18:54:01 ens3 0.10 0.12 0.01 0.01 0.00 0.00 0.00 0.00 18:56:22 18:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:22 18:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:22 18:55:01 ens3 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 18:56:22 18:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:22 18:56:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:56:22 18:56:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 18:56:22 18:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:22 Average: lo 1.04 1.04 0.10 0.10 0.00 0.00 0.00 0.00 18:56:22 Average: ens3 114.10 80.73 1227.30 21.67 0.00 0.00 0.00 0.00 18:56:22 Average: docker0 18.15 23.21 1.44 194.32 0.00 0.00 0.00 0.00 18:56:22 18:56:22 18:56:22 ---> sar -P ALL: 18:56:22 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8781) 10/21/22 _x86_64_ (8 CPU) 18:56:22 18:56:22 18:45:45 LINUX RESTART (8 CPU) 18:56:22 18:56:22 18:46:01 CPU %user %nice %system %iowait %steal %idle 18:56:22 18:47:01 all 10.82 0.00 3.84 1.77 0.06 83.51 18:56:22 18:47:01 0 14.20 0.00 5.06 2.37 0.05 78.33 18:56:22 18:47:01 1 10.10 0.00 4.25 1.76 0.05 83.84 18:56:22 18:47:01 2 11.64 0.00 3.51 1.70 0.05 83.10 18:56:22 18:47:01 3 12.82 0.00 3.62 3.45 0.07 80.04 18:56:22 18:47:01 4 8.03 0.00 3.75 1.24 0.07 86.92 18:56:22 18:47:01 5 9.95 0.00 3.74 2.22 0.05 84.05 18:56:22 18:47:01 6 9.78 0.00 3.21 1.13 0.05 85.83 18:56:22 18:47:01 7 9.99 0.00 3.60 0.32 0.07 86.01 18:56:22 18:48:01 all 38.93 0.00 7.02 1.04 0.08 52.94 18:56:22 18:48:01 0 38.87 0.00 7.36 5.39 0.08 48.30 18:56:22 18:48:01 1 38.83 0.00 7.28 0.10 0.08 53.71 18:56:22 18:48:01 2 39.03 0.00 7.14 1.66 0.08 52.09 18:56:22 18:48:01 3 38.69 0.00 6.34 0.47 0.08 54.41 18:56:22 18:48:01 4 37.92 0.00 7.14 0.08 0.08 54.77 18:56:22 18:48:01 5 38.22 0.00 7.17 0.07 0.07 54.47 18:56:22 18:48:01 6 38.85 0.00 6.61 0.39 0.07 54.08 18:56:22 18:48:01 7 41.02 0.00 7.12 0.14 0.08 51.64 18:56:22 18:49:01 all 3.19 0.00 1.47 0.51 0.02 94.81 18:56:22 18:49:01 0 2.90 0.00 1.66 2.16 0.03 93.24 18:56:22 18:49:01 1 3.38 0.00 1.66 0.07 0.02 94.88 18:56:22 18:49:01 2 2.51 0.00 1.51 1.06 0.02 94.91 18:56:22 18:49:01 3 4.79 0.00 1.39 0.18 0.02 93.63 18:56:22 18:49:01 4 3.17 0.00 1.14 0.25 0.03 95.41 18:56:22 18:49:01 5 2.90 0.00 1.07 0.10 0.02 95.91 18:56:22 18:49:01 6 2.81 0.00 1.52 0.13 0.02 95.51 18:56:22 18:49:01 7 3.02 0.00 1.81 0.10 0.02 95.05 18:56:22 18:50:01 all 0.46 0.00 0.03 0.01 0.01 99.49 18:56:22 18:50:01 0 0.28 0.00 0.02 0.02 0.00 99.68 18:56:22 18:50:01 1 0.18 0.00 0.00 0.00 0.00 99.82 18:56:22 18:50:01 2 0.08 0.00 0.05 0.02 0.02 99.83 18:56:22 18:50:01 3 2.02 0.00 0.03 0.00 0.00 97.95 18:56:22 18:50:01 4 0.20 0.00 0.08 0.03 0.03 99.65 18:56:22 18:50:01 5 0.05 0.00 0.03 0.00 0.00 99.92 18:56:22 18:50:01 6 0.62 0.00 0.02 0.00 0.00 99.37 18:56:22 18:50:01 7 0.25 0.00 0.03 0.02 0.00 99.70 18:56:22 18:51:01 all 1.14 0.00 0.74 0.40 0.01 97.70 18:56:22 18:51:01 0 0.85 0.00 0.48 0.02 0.00 98.65 18:56:22 18:51:01 1 1.32 0.00 1.67 0.05 0.02 96.95 18:56:22 18:51:01 2 1.27 0.00 1.00 2.09 0.02 95.63 18:56:22 18:51:01 3 2.63 0.00 0.57 0.39 0.02 96.40 18:56:22 18:51:01 4 0.77 0.00 0.40 0.13 0.02 98.68 18:56:22 18:51:01 5 0.73 0.00 0.63 0.13 0.02 98.48 18:56:22 18:51:01 6 0.63 0.00 0.42 0.02 0.02 98.92 18:56:22 18:51:01 7 0.92 0.00 0.74 0.40 0.02 97.93 18:56:22 18:52:01 all 0.01 0.00 0.02 0.01 0.00 99.96 18:56:22 18:52:01 0 0.00 0.00 0.00 0.00 0.00 100.00 18:56:22 18:52:01 1 0.00 0.00 0.00 0.00 0.00 100.00 18:56:22 18:52:01 2 0.00 0.00 0.05 0.00 0.00 99.95 18:56:22 18:52:01 3 0.00 0.00 0.00 0.03 0.00 99.97 18:56:22 18:52:01 4 0.03 0.00 0.02 0.03 0.02 99.90 18:56:22 18:52:01 5 0.03 0.00 0.03 0.00 0.00 99.93 18:56:22 18:52:01 6 0.02 0.00 0.02 0.00 0.00 99.97 18:56:22 18:52:01 7 0.03 0.00 0.03 0.00 0.00 99.93 18:56:22 18:53:01 all 0.01 0.00 0.01 0.01 0.01 99.96 18:56:22 18:53:01 0 0.00 0.00 0.02 0.00 0.02 99.97 18:56:22 18:53:01 1 0.02 0.00 0.00 0.00 0.00 99.98 18:56:22 18:53:01 2 0.03 0.00 0.02 0.00 0.00 99.95 18:56:22 18:53:01 3 0.02 0.00 0.02 0.05 0.02 99.90 18:56:22 18:53:01 4 0.02 0.00 0.00 0.00 0.02 99.97 18:56:22 18:53:01 5 0.00 0.00 0.00 0.00 0.00 100.00 18:56:22 18:53:01 6 0.03 0.00 0.00 0.00 0.00 99.97 18:56:22 18:53:01 7 0.00 0.00 0.02 0.00 0.02 99.97 18:56:22 18:54:01 all 0.01 0.00 0.01 0.00 0.01 99.97 18:56:22 18:54:01 0 0.00 0.00 0.00 0.00 0.00 100.00 18:56:22 18:54:01 1 0.00 0.00 0.00 0.00 0.00 100.00 18:56:22 18:54:01 2 0.02 0.00 0.00 0.00 0.00 99.98 18:56:22 18:54:01 3 0.02 0.00 0.00 0.02 0.00 99.97 18:56:22 18:54:01 4 0.02 0.00 0.00 0.02 0.02 99.95 18:56:22 18:54:01 5 0.02 0.00 0.02 0.00 0.00 99.97 18:56:22 18:54:01 6 0.02 0.00 0.02 0.00 0.00 99.97 18:56:22 18:54:01 7 0.02 0.00 0.02 0.00 0.03 99.93 18:56:22 18:55:01 all 0.02 0.00 0.00 0.00 0.00 99.97 18:56:22 18:55:01 0 0.02 0.00 0.00 0.00 0.00 99.98 18:56:22 18:55:01 1 0.00 0.00 0.00 0.00 0.00 100.00 18:56:22 18:55:01 2 0.02 0.00 0.00 0.00 0.02 99.97 18:56:22 18:55:01 3 0.02 0.00 0.02 0.02 0.00 99.95 18:56:22 18:55:01 4 0.03 0.00 0.00 0.02 0.00 99.95 18:56:22 18:55:01 5 0.00 0.00 0.00 0.00 0.00 100.00 18:56:22 18:55:01 6 0.00 0.00 0.00 0.00 0.00 100.00 18:56:22 18:55:01 7 0.05 0.00 0.02 0.00 0.00 99.93 18:56:22 18:56:01 all 0.05 0.00 0.04 0.01 0.01 99.89 18:56:22 18:56:01 0 0.02 0.00 0.05 0.00 0.00 99.93 18:56:22 18:56:01 1 0.18 0.00 0.08 0.05 0.00 99.68 18:56:22 18:56:01 2 0.03 0.00 0.02 0.00 0.00 99.95 18:56:22 18:56:01 3 0.07 0.00 0.05 0.03 0.02 99.83 18:56:22 18:56:01 4 0.03 0.00 0.02 0.03 0.02 99.90 18:56:22 18:56:01 5 0.03 0.00 0.03 0.00 0.00 99.93 18:56:22 18:56:01 6 0.03 0.00 0.00 0.00 0.00 99.97 18:56:22 18:56:01 7 0.03 0.00 0.03 0.00 0.02 99.92 18:56:22 Average: all 5.42 0.00 1.31 0.37 0.02 92.88 18:56:22 Average: 0 5.67 0.00 1.45 0.99 0.02 91.87 18:56:22 Average: 1 5.34 0.00 1.48 0.20 0.02 92.96 18:56:22 Average: 2 5.41 0.00 1.32 0.65 0.02 92.60 18:56:22 Average: 3 6.08 0.00 1.20 0.46 0.02 92.25 18:56:22 Average: 4 4.98 0.00 1.24 0.18 0.03 93.56 18:56:22 Average: 5 5.15 0.00 1.26 0.25 0.02 93.33 18:56:22 Average: 6 5.23 0.00 1.17 0.17 0.02 93.41 18:56:22 Average: 7 5.48 0.00 1.33 0.10 0.03 93.07 18:56:22 18:56:22 18:56:22