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 e2699209860831bfc2e8cdbc5fa14e64f6d8da3a 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-ssh624203391338349840.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-ssh10075038247140591677.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-ssh16235655804256679065.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-ssh8321307675534770793.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-ssh762300974561546464.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-8688’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8690 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. Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit e2699209860831bfc2e8cdbc5fa14e64f6d8da3a Merge succeeded, producing e2699209860831bfc2e8cdbc5fa14e64f6d8da3a Checking out Revision e2699209860831bfc2e8cdbc5fa14e64f6d8da3a (PR-180) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f e2699209860831bfc2e8cdbc5fa14e64f6d8da3a # 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 e2699209860831bfc2e8cdbc5fa14e64f6d8da3a # timeout=10 Commit message: "docs: replace postman env vars" > git rev-list --no-walk 4f315f802bf19a2e4c1d2b75a07498d8796cf70c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:45:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:45:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:45:16 ========================================================= 16:45:16 EdgeX Global Pipelines Version Info 16:45:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:45:17 ------------------- 16:45:17 stable info: 16:45:17 ------------------- 16:45:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:45:17 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:45:17 Message: update stable to v1.0.243 16:45:17 ------------------- 16:45:17 experimental info: 16:45:17 ------------------- 16:45:17 Commited By: **** collab-it+edgex@linuxfoundation.org 16:45:17 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:45:17 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:45:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:45:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:45:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2699209860831bfc2e8cdbc5fa14e64f6d8da3a [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e269920 [Pipeline] echo 16:45:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:45:18 provisioning config files... 16:45:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config8591792503704061790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:18 ---> docker-login.sh 16:45:18 nexus3.edgexfoundry.org:10001 16:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:20 Configure a credential helper to remove this warning. See 16:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:20 16:45:20 Login Succeeded 16:45:20 nexus3.edgexfoundry.org:10002 16:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:20 Configure a credential helper to remove this warning. See 16:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:20 16:45:20 Login Succeeded 16:45:20 nexus3.edgexfoundry.org:10003 16:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:20 Configure a credential helper to remove this warning. See 16:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:20 16:45:20 Login Succeeded 16:45:20 nexus3.edgexfoundry.org:10004 16:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:20 Configure a credential helper to remove this warning. See 16:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:20 16:45:20 Login Succeeded 16:45:20 docker.io 16:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:20 Configure a credential helper to remove this warning. See 16:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:20 16:45:20 Login Succeeded 16:45:20 ---> docker-login.sh ends [Pipeline] } 16:45:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:45:21 + git rev-list -1 --merges e2699209860831bfc2e8cdbc5fa14e64f6d8da3a~1..e2699209860831bfc2e8cdbc5fa14e64f6d8da3a [Pipeline] echo 16:45:21 -----------> git rev-list -1 --merges e2699209860831bfc2e8cdbc5fa14e64f6d8da3a~1..e2699209860831bfc2e8cdbc5fa14e64f6d8da3a e2699209860831bfc2e8cdbc5fa14e64f6d8da3a [false] [Pipeline] sh 16:45:21 + git log --format=format:%s -1 e2699209860831bfc2e8cdbc5fa14e64f6d8da3a [Pipeline] echo 16:45:21 ========================================================= 16:45:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:45:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:45:21 + git log --format=format:%s -1 e2699209860831bfc2e8cdbc5fa14e64f6d8da3a [Pipeline] echo 16:45:21 [semverPrep] GIT_COMMIT: e2699209860831bfc2e8cdbc5fa14e64f6d8da3a, Commit Message: docs: replace postman env vars [Pipeline] echo 16:45:21 [semverPrep] This is not a build commit. [Pipeline] sh 16:45:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:45:22 + grep -v github /etc/ssh/ssh_known_hosts 16:45:22 + [ -e /tmp/ssh_known_hosts ] 16:45:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:45:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:45:22 + sudo tee -a /etc/ssh/ssh_known_hosts 16:45:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:45:22 16:45:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:45:23 0.1.4: Pulling from edgex-devops/py-git-semver 16:45:23 b85a868b505f: Pulling fs layer 16:45:23 e2be974225ed: Pulling fs layer 16:45:23 339a4e72a1f5: Pulling fs layer 16:45:23 988bab9f4d93: Pulling fs layer 16:45:23 1469e6f7b9e6: Pulling fs layer 16:45:23 eaf3925da568: Pulling fs layer 16:45:23 bab4dde63d76: Pulling fs layer 16:45:23 bde34c3a00c8: Pulling fs layer 16:45:23 b352a97aabf1: Pulling fs layer 16:45:23 4872d77fe225: Pulling fs layer 16:45:23 5851b861e8e6: Pulling fs layer 16:45:23 988bab9f4d93: Waiting 16:45:23 1469e6f7b9e6: Waiting 16:45:23 eaf3925da568: Waiting 16:45:23 bab4dde63d76: Waiting 16:45:23 bde34c3a00c8: Waiting 16:45:23 b352a97aabf1: Waiting 16:45:23 4872d77fe225: Waiting 16:45:23 5851b861e8e6: Waiting 16:45:23 e2be974225ed: Download complete 16:45:23 988bab9f4d93: Download complete 16:45:23 1469e6f7b9e6: Verifying Checksum 16:45:23 1469e6f7b9e6: Download complete 16:45:23 eaf3925da568: Verifying Checksum 16:45:23 eaf3925da568: Download complete 16:45:23 339a4e72a1f5: Verifying Checksum 16:45:23 339a4e72a1f5: Download complete 16:45:23 bde34c3a00c8: Verifying Checksum 16:45:23 bde34c3a00c8: Download complete 16:45:23 b352a97aabf1: Verifying Checksum 16:45:23 b352a97aabf1: Download complete 16:45:23 4872d77fe225: Verifying Checksum 16:45:23 4872d77fe225: Download complete 16:45:23 5851b861e8e6: Download complete 16:45:23 b85a868b505f: Verifying Checksum 16:45:23 b85a868b505f: Download complete 16:45:24 bab4dde63d76: Verifying Checksum 16:45:24 bab4dde63d76: Download complete 16:45:25 b85a868b505f: Pull complete 16:45:25 e2be974225ed: Pull complete 16:45:26 339a4e72a1f5: Pull complete 16:45:26 988bab9f4d93: Pull complete 16:45:26 1469e6f7b9e6: Pull complete 16:45:26 eaf3925da568: Pull complete 16:45:28 bab4dde63d76: Pull complete 16:45:28 bde34c3a00c8: Pull complete 16:45:29 b352a97aabf1: Pull complete 16:45:29 4872d77fe225: Pull complete 16:45:30 5851b861e8e6: Pull complete 16:45:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:45:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:45:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:30 prd-ubuntu20.04-docker-8c-8g-8690 does not seem to be running inside a container 16:45:30 $ 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 16:45:34 $ docker top 40a5ab7d357588293b1be35ad2bf88b740ec9f5d014c6a4e0bd53f8bba27bb5e -eo pid,comm 16:45:34 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). 16:45:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:45:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:45:35 [ssh-agent] Looking for ssh-agent implementation... 16:45:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:45:35 $ docker exec 40a5ab7d357588293b1be35ad2bf88b740ec9f5d014c6a4e0bd53f8bba27bb5e ssh-agent 16:45:35 SSH_AUTH_SOCK=/tmp/ssh-vooAFvp2tA82/agent.33 16:45:35 SSH_AGENT_PID=39 16:45:35 Running ssh-add (command line suppressed) 16:45:35 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_7218482986142085868.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_7218482986142085868.key) 16:45:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:45:35 + git tag --points-at HEAD [Pipeline] } 16:45:35 $ docker exec --env ******** --env ******** 40a5ab7d357588293b1be35ad2bf88b740ec9f5d014c6a4e0bd53f8bba27bb5e ssh-agent -k 16:45:35 unset SSH_AUTH_SOCK; 16:45:35 unset SSH_AGENT_PID; 16:45:35 echo Agent pid 39 killed; 16:45:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:45:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:45:35 [ssh-agent] Looking for ssh-agent implementation... 16:45:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:45:35 $ docker exec 40a5ab7d357588293b1be35ad2bf88b740ec9f5d014c6a4e0bd53f8bba27bb5e ssh-agent 16:45:36 SSH_AUTH_SOCK=/tmp/ssh-lccjSEktDwOj/agent.71 16:45:36 SSH_AGENT_PID=77 16:45:36 Running ssh-add (command line suppressed) 16:45:36 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_17172674580630330324.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_17172674580630330324.key) 16:45:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:45:36 + git semver init 16:45:37 2022-10-20 16:45:36,740 [run_init] DEBUG init version:0.0.0 force:False 16:45:37 2022-10-20 16:45:36,741 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver 16:45:37 2022-10-20 16:45:36,742 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-180/.semver 16:45:37 2022-10-20 16:45:36,742 [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) 16:45:38 2022-10-20 16:45:37,992 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude 16:45:38 2022-10-20 16:45:37,992 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 with force:False 16:45:38 2022-10-20 16:45:37,993 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 16:45:38 2022-10-20 16:45:37,995 [execute] INFO git cat-file --batch-check 16:45:38 2022-10-20 16:45:37,996 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 16:45:38 2022-10-20 16:45:38,002 [execute] INFO git cat-file --batch 16:45:38 2022-10-20 16:45:38,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 16:45:38 2022-10-20 16:45:38,008 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 16:45:38 0.0.0 [Pipeline] } 16:45:38 $ docker exec --env ******** --env ******** 40a5ab7d357588293b1be35ad2bf88b740ec9f5d014c6a4e0bd53f8bba27bb5e ssh-agent -k 16:45:38 unset SSH_AUTH_SOCK; 16:45:38 unset SSH_AGENT_PID; 16:45:38 echo Agent pid 77 killed; 16:45:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:45:38 + git semver [Pipeline] } 16:45:39 $ docker stop --time=1 40a5ab7d357588293b1be35ad2bf88b740ec9f5d014c6a4e0bd53f8bba27bb5e 16:45:41 $ docker rm -f 40a5ab7d357588293b1be35ad2bf88b740ec9f5d014c6a4e0bd53f8bba27bb5e [Pipeline] // withDockerContainer [Pipeline] sh 16:45:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:45:41 Stashed 1 file(s) [Pipeline] echo 16:45:41 [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 16:45:41 provisioning config files... 16:45:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config6451496893793807423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:42 ---> docker-login.sh 16:45:42 nexus3.edgexfoundry.org:10001 16:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:42 Configure a credential helper to remove this warning. See 16:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:42 16:45:42 Login Succeeded 16:45:42 nexus3.edgexfoundry.org:10002 16:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:42 Configure a credential helper to remove this warning. See 16:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:42 16:45:42 Login Succeeded 16:45:42 nexus3.edgexfoundry.org:10003 16:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:42 Configure a credential helper to remove this warning. See 16:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:42 16:45:42 Login Succeeded 16:45:42 nexus3.edgexfoundry.org:10004 16:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:42 Configure a credential helper to remove this warning. See 16:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:42 16:45:42 Login Succeeded 16:45:42 docker.io 16:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:43 Configure a credential helper to remove this warning. See 16:45:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:43 16:45:43 Login Succeeded 16:45:43 ---> docker-login.sh ends [Pipeline] } 16:45:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:45:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:45:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:45:43 ========================================================= 16:45:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:45:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:43 + 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 . 16:45:43 Sending build context to Docker daemon 28.26MB 16:45:43 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 16:45:43 Step 2/14 : FROM ${BASE} AS builder 16:45:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:45:44 213ec9aee27d: Pulling fs layer 16:45:44 4583459ba037: Pulling fs layer 16:45:44 93c1e223e6f2: Pulling fs layer 16:45:44 53926ce57604: Pulling fs layer 16:45:44 21b2b0c7a3f4: Pulling fs layer 16:45:44 30f14e443154: Pulling fs layer 16:45:44 801331c1e519: Pulling fs layer 16:45:44 99cc6dd402b0: Pulling fs layer 16:45:44 53926ce57604: Waiting 16:45:44 21b2b0c7a3f4: Waiting 16:45:44 30f14e443154: Waiting 16:45:44 801331c1e519: Waiting 16:45:44 7d9ed39f4882: Pulling fs layer 16:45:44 99cc6dd402b0: Waiting 16:45:44 7d9ed39f4882: Waiting 16:45:44 93c1e223e6f2: Verifying Checksum 16:45:44 93c1e223e6f2: Download complete 16:45:44 4583459ba037: Verifying Checksum 16:45:44 4583459ba037: Download complete 16:45:44 21b2b0c7a3f4: Verifying Checksum 16:45:44 21b2b0c7a3f4: Download complete 16:45:44 30f14e443154: Download complete 16:45:44 213ec9aee27d: Verifying Checksum 16:45:44 213ec9aee27d: Download complete 16:45:44 801331c1e519: Verifying Checksum 16:45:44 801331c1e519: Download complete 16:45:44 213ec9aee27d: Pull complete 16:45:44 4583459ba037: Pull complete 16:45:45 7d9ed39f4882: Verifying Checksum 16:45:45 7d9ed39f4882: Download complete 16:45:45 53926ce57604: Verifying Checksum 16:45:45 53926ce57604: Download complete 16:45:45 99cc6dd402b0: Verifying Checksum 16:45:45 93c1e223e6f2: Pull complete 16:45:48 53926ce57604: Pull complete 16:45:48 21b2b0c7a3f4: Pull complete 16:45:48 30f14e443154: Pull complete 16:45:48 801331c1e519: Pull complete 16:45:50 99cc6dd402b0: Pull complete 16:45:51 7d9ed39f4882: Pull complete 16:45:51 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 16:45:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:45:51 ---> 1dedd983c030 16:45:51 Step 3/14 : ARG ADD_BUILD_TAGS="" 16:45:56 Still waiting to schedule task 16:45:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8689’ is offline 16:45:57 ---> Running in d2ca916e6907 16:45:57 Removing intermediate container d2ca916e6907 16:45:57 ---> 950f6f016e58 16:45:57 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:45:57 ---> Running in 062a657bc5ba 16:45:57 Removing intermediate container 062a657bc5ba 16:45:57 ---> 22487e14a555 16:45:57 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:45:57 ---> Running in d5ab15b562d4 16:45:57 Removing intermediate container d5ab15b562d4 16:45:57 ---> ca4b67bcec91 16:45:57 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 16:45:57 ---> Running in 08fa3f146e83 16:45:57 Removing intermediate container 08fa3f146e83 16:45:57 ---> 26ff41852902 16:45:57 Step 7/14 : LABEL Name=edgex-device-onvif-camera 16:45:57 ---> Running in 842c13895b92 16:45:57 Removing intermediate container 842c13895b92 16:45:57 ---> a3368eab6224 16:45:57 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:45:57 ---> Running in edce91aee197 16:45:58 Removing intermediate container edce91aee197 16:45:58 ---> 09527d0c99b5 16:45:58 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:45:58 ---> Running in 1f04bd0cce01 16:45:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:45:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:45:59 OK: 211 MiB in 51 packages 16:46:00 Removing intermediate container 1f04bd0cce01 16:46:00 ---> 944c6280f5f3 16:46:00 Step 10/14 : WORKDIR /device-onvif-camera 16:46:00 ---> Running in f46b652920df 16:46:00 Removing intermediate container f46b652920df 16:46:00 ---> 167451607dbb 16:46:00 Step 11/14 : COPY go.mod vendor* ./ 16:46:00 ---> b8399594491e 16:46:00 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:46:00 ---> Running in c87ebbb9c083 16:46:39 Removing intermediate container c87ebbb9c083 16:46:39 ---> 404cfad3a187 16:46:39 Step 13/14 : COPY . . 16:46:39 ---> 427f74017ecc 16:46:39 Step 14/14 : RUN ${MAKE} 16:46:39 ---> Running in d96d28aecb70 16:46:39 noop 16:46:39 Removing intermediate container d96d28aecb70 16:46:39 ---> de2bda2126cf 16:46:39 Successfully built de2bda2126cf 16:46:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:40 + docker inspect -f . ci-base-image-x86_64 16:46:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:40 prd-ubuntu20.04-docker-8c-8g-8690 does not seem to be running inside a container 16:46:40 $ 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 16:46:40 $ docker top 08471c54f5b8b2095cfce1ab340c9273444165daaf4f3a8527461a2b2b3b42ba -eo pid,comm [Pipeline] { [Pipeline] sh 16:46:41 + go version 16:46:41 go version go1.18.7 linux/amd64 [Pipeline] } 16:46:41 $ docker stop --time=1 08471c54f5b8b2095cfce1ab340c9273444165daaf4f3a8527461a2b2b3b42ba 16:46:43 $ docker rm -f 08471c54f5b8b2095cfce1ab340c9273444165daaf4f3a8527461a2b2b3b42ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:43 + docker inspect -f . ci-base-image-x86_64 16:46:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:43 prd-ubuntu20.04-docker-8c-8g-8690 does not seem to be running inside a container 16:46:43 $ 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 16:46:44 $ docker top 707e014c349fdda46ad76b16e0bf821b6fa6c5d9993879d91ca58934a88fb223 -eo pid,comm [Pipeline] { [Pipeline] sh 16:46:44 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh 16:46:44 + make test 16:46:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:46:45 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:46:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:46:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.029s coverage: 28.2% of statements 16:46:57 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:46:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.349s coverage: 86.5% of statements 16:47:03 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." 16:47:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:47:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:47:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:47:07 ./bin/test-attribution-txt.sh [Pipeline] echo 16:47:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:47:07 $ docker stop --time=1 707e014c349fdda46ad76b16e0bf821b6fa6c5d9993879d91ca58934a88fb223 16:47:12 $ docker rm -f 707e014c349fdda46ad76b16e0bf821b6fa6c5d9993879d91ca58934a88fb223 [Pipeline] // withDockerContainer [Pipeline] sh 16:47:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:47:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:47:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:47:13 + ls -al . 16:47:13 total 236 16:47:13 drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 16:46 . 16:47:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 16:45 .. 16:47:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 16:46 .git 16:47:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 16:45 .github 16:47:13 -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 16:45 .gitignore 16:47:13 -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 16:45 .golangci.yml 16:47:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 16:45 .semver 16:47:13 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 20 16:45 Attribution.txt 16:47:13 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 20 16:45 CHANGELOG.md 16:47:13 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 20 16:45 Dockerfile 16:47:13 -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 16:45 GOVERNANCE.md 16:47:13 -rw-rw-r-- 1 jenkins jenkins 734 Oct 20 16:45 Jenkinsfile 16:47:13 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 16:45 LICENSE 16:47:13 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 20 16:45 Makefile 16:47:13 -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 16:45 OWNERS.md 16:47:13 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 20 16:45 README.md 16:47:13 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 16:45 VERSION 16:47:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 16:45 bin 16:47:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 16:45 cmd 16:47:13 -rw-r--r-- 1 jenkins jenkins 78636 Oct 20 16:46 coverage.out 16:47:13 drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 16:45 doc 16:47:13 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 20 16:45 go.mod 16:47:13 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 20 16:45 go.sum 16:47:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 16:45 internal 16:47:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 16:45 snap 16:47:13 -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 16:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:14 + 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=e2699209860831bfc2e8cdbc5fa14e64f6d8da3a --label arch=amd64 --label version=0.0.0 . 16:47:14 Sending build context to Docker daemon 28.34MB 16:47:14 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 16:47:14 Step 2/27 : FROM ${BASE} AS builder 16:47:14 ---> de2bda2126cf 16:47:14 Step 3/27 : ARG ADD_BUILD_TAGS="" 16:47:14 ---> Running in ad8940495bce 16:47:14 Removing intermediate container ad8940495bce 16:47:14 ---> dabbbe73ca59 16:47:14 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:47:14 ---> Running in 3ec8f97e802e 16:47:14 Removing intermediate container 3ec8f97e802e 16:47:14 ---> 4d688c172808 16:47:14 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:47:14 ---> Running in 2efcdf971a38 16:47:15 Removing intermediate container 2efcdf971a38 16:47:15 ---> 7dc4a29536b4 16:47:15 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 16:47:15 ---> Running in 4234ce9ca5bb 16:47:15 Removing intermediate container 4234ce9ca5bb 16:47:15 ---> 628dff591a9b 16:47:15 Step 7/27 : LABEL Name=edgex-device-onvif-camera 16:47:15 ---> Running in 26d2f38451f3 16:47:15 Removing intermediate container 26d2f38451f3 16:47:15 ---> 4d48adcd87ba 16:47:15 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:47:15 ---> Running in 1a3f84022076 16:47:15 Removing intermediate container 1a3f84022076 16:47:15 ---> 16533c1e88a6 16:47:15 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:47:15 ---> Running in f42f68dc2d5f 16:47:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:47:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:47:17 OK: 211 MiB in 51 packages 16:47:17 Removing intermediate container f42f68dc2d5f 16:47:17 ---> d847b3fbf162 16:47:17 Step 10/27 : WORKDIR /device-onvif-camera 16:47:17 ---> Running in 42c4955cf7af 16:47:17 Removing intermediate container 42c4955cf7af 16:47:17 ---> 3674014f31ca 16:47:17 Step 11/27 : COPY go.mod vendor* ./ 16:47:17 ---> 2036297c97ca 16:47:17 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:47:17 ---> Running in d65f3c4a1eb3 16:47:18 Removing intermediate container d65f3c4a1eb3 16:47:18 ---> 26b91075fd95 16:47:18 Step 13/27 : COPY . . 16:47:19 ---> 48353cb58069 16:47:19 Step 14/27 : RUN ${MAKE} 16:47:19 ---> Running in 657021ef6330 16:47:20 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 16:47:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8691 in /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] { [Pipeline] ws 16:47:27 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 16:47:27 The recommended git tool is: git 16:47:32 using credential edgex-jenkins-ssh 16:47:32 Cloning the remote Git repository 16:47:32 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:47:32 > git init /w/workspace/device-onvif-camera/3 # timeout=10 16:47:32 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:47:32 > git --version # timeout=10 16:47:32 > git --version # 'git version 2.25.1' 16:47:32 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:33 Verifying host key using known hosts file 16:47:33 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. 16:47:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:47:35 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:47:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:47:36 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:47:36 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:47:36 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:36 Verifying host key using known hosts file 16:47:36 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. 16:47:36 > 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 16:47:37 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit e2699209860831bfc2e8cdbc5fa14e64f6d8da3a 16:47:37 > git config core.sparsecheckout # timeout=10 16:47:37 > git checkout -f e2699209860831bfc2e8cdbc5fa14e64f6d8da3a # timeout=10 16:47:38 Merge succeeded, producing e2699209860831bfc2e8cdbc5fa14e64f6d8da3a 16:47:38 Checking out Revision e2699209860831bfc2e8cdbc5fa14e64f6d8da3a (PR-180) 16:47:37 > git remote # timeout=10 16:47:37 > git config --get remote.origin.url # timeout=10 16:47:38 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:38 Verifying host key using known hosts file 16:47:38 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. 16:47:38 > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 16:47:38 > git rev-parse HEAD^{commit} # timeout=10 16:47:38 > git config core.sparsecheckout # timeout=10 16:47:38 > git checkout -f e2699209860831bfc2e8cdbc5fa14e64f6d8da3a # timeout=10 16:47:41 Commit message: "docs: replace postman env vars" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:47:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:47:42 % Total % Received % Xferd Average Speed Time Time Time Current 16:47:42 Dload Upload Total Spent Left Speed 16:47:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 95469 0 --:--:-- --:--:-- --:--:-- 95469 [Pipeline] sh 16:47:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:47:43 + sudo tee /etc/docker/daemon.new 16:47:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:47:43 { 16:47:43 "registry-mirrors": [ 16:47:43 "https://nexus3.edgexfoundry.org:10001" 16:47:43 ], 16:47:43 "bip": "10.250.0.254/24", 16:47:43 "hosts": [ 16:47:43 "tcp://0.0.0.0:5555", 16:47:43 "unix:///var/run/docker.sock" 16:47:43 ], 16:47:43 "mtu": 1458, 16:47:43 "selinux-enabled": true, 16:47:43 "seccomp-profile": "/etc/docker/seccomp.json" 16:47:43 } [Pipeline] sh 16:47:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:47:44 + sudo service docker restart 16:47:46 Removing intermediate container 657021ef6330 16:47:46 ---> ecb952debd58 16:47:46 Step 15/27 : FROM alpine:3.16 16:47:46 3.16: Pulling from library/alpine 16:47:46 213ec9aee27d: Already exists 16:47:47 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:47:47 Status: Downloaded newer image for alpine:3.16 16:47:47 ---> 9c6f07244728 16:47:47 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:47:47 ---> Running in 3cc55da78014 16:47:48 Removing intermediate container 3cc55da78014 16:47:48 ---> 07cafe782842 16:47:48 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 16:47:48 ---> Running in 730393b28268 16:47:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:47:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:47:49 (1/6) Installing dumb-init (1.2.5-r1) 16:47:49 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:47:49 (3/6) Installing libsodium (1.0.18-r0) 16:47:49 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:47:49 (5/6) Installing libzmq (4.3.4-r0) 16:47:49 (6/6) Installing zeromq (4.3.4-r0) 16:47:49 Executing busybox-1.35.0-r17.trigger 16:47:49 OK: 8 MiB in 20 packages 16:47:52 Removing intermediate container 730393b28268 16:47:52 ---> 7610ee13da90 16:47:52 Step 18/27 : WORKDIR / 16:47:52 ---> Running in 74ca34733b0b 16:47:53 Removing intermediate container 74ca34733b0b 16:47:53 ---> eddeb224f090 16:47:53 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 16:47:54 ---> 98a88da9316e 16:47:54 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 16:47:55 ---> 93d8357c07b3 16:47:55 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:47:55 ---> cfb1186ec3b1 16:47:55 Step 22/27 : EXPOSE 59984 16:47:56 ---> Running in f1a9d53c969c 16:47:57 Removing intermediate container f1a9d53c969c 16:47:57 ---> 31e4fb099189 16:47:57 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 16:47:58 ---> Running in a97309c479d4 16:47:58 Removing intermediate container a97309c479d4 16:47:58 ---> cf9da139deb2 16:47:58 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:47:59 ---> Running in fc06bcecb41c 16:48:00 Removing intermediate container fc06bcecb41c 16:48:00 ---> c050af034109 16:48:00 Step 25/27 : LABEL arch=amd64 16:48:00 ---> Running in 723c792d9d4c 16:48:01 Removing intermediate container 723c792d9d4c 16:48:01 ---> 6e6e33162b65 16:48:01 Step 26/27 : LABEL git_sha=e2699209860831bfc2e8cdbc5fa14e64f6d8da3a 16:48:01 ---> Running in a76ca5329419 16:48:02 Removing intermediate container a76ca5329419 16:48:02 ---> 2bc2a3660254 16:48:02 Step 27/27 : LABEL version=0.0.0 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:02 provisioning config files... 16:48:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config17240675336488538852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:02 ---> Running in 3b6ce9e0bb0d 16:48:03 ---> docker-login.sh 16:48:03 nexus3.edgexfoundry.org:10001 16:48:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:03 Configure a credential helper to remove this warning. See 16:48:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:03 16:48:03 Login Succeeded 16:48:03 nexus3.edgexfoundry.org:10002 16:48:03 Removing intermediate container 3b6ce9e0bb0d 16:48:03 ---> b43072124860 16:48:03 [Warning] One or more build-args [ARCH] were not consumed 16:48:03 Successfully built b43072124860 16:48:03 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 16:48:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:03 Configure a credential helper to remove this warning. See 16:48:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:03 16:48:03 Login Succeeded 16:48:03 nexus3.edgexfoundry.org:10003 16:48:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:48:04 16:48:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:48:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:04 Configure a credential helper to remove this warning. See 16:48:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:04 16:48:04 Login Succeeded 16:48:04 nexus3.edgexfoundry.org:10004 16:48:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:48:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:04 Configure a credential helper to remove this warning. See 16:48:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:04 16:48:04 Login Succeeded 16:48:04 docker.io 16:48:04 latest: Pulling from edgex-lftools-log-publisher 16:48:04 5eb5b503b376: Pulling fs layer 16:48:04 5c69ac0246d0: Pulling fs layer 16:48:04 ec43610c2a17: Pulling fs layer 16:48:04 3a2ae6a8a46f: Pulling fs layer 16:48:04 33b1e0a273af: Pulling fs layer 16:48:04 5d3b04190fa2: Pulling fs layer 16:48:04 2f39f015ded8: Pulling fs layer 16:48:04 3a2ae6a8a46f: Waiting 16:48:04 33b1e0a273af: Waiting 16:48:04 5d3b04190fa2: Waiting 16:48:04 2f39f015ded8: Waiting 16:48:04 5c69ac0246d0: Download complete 16:48:04 3a2ae6a8a46f: Download complete 16:48:05 33b1e0a273af: Verifying Checksum 16:48:05 33b1e0a273af: Download complete 16:48:05 5d3b04190fa2: Verifying Checksum 16:48:05 5d3b04190fa2: Download complete 16:48:05 ec43610c2a17: Verifying Checksum 16:48:05 ec43610c2a17: Download complete 16:48:05 5eb5b503b376: Verifying Checksum 16:48:05 5eb5b503b376: Download complete 16:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:05 Configure a credential helper to remove this warning. See 16:48:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:05 16:48:05 Login Succeeded 16:48:05 ---> docker-login.sh ends [Pipeline] } 16:48:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:48:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:05 ========================================================= 16:48:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:48:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:05 2f39f015ded8: Download complete 16:48:05 + 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 . 16:48:06 Sending build context to Docker daemon 21.68MB 16:48:06 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 16:48:06 Step 2/14 : FROM ${BASE} AS builder 16:48:06 5eb5b503b376: Pull complete 16:48:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:48:06 9b18e9b68314: Pulling fs layer 16:48:06 d32db5db7311: Pulling fs layer 16:48:06 d0c4b47475fc: Pulling fs layer 16:48:06 5831b945b038: Pulling fs layer 16:48:06 86bbec2aaacd: Pulling fs layer 16:48:06 e10730c5d714: Pulling fs layer 16:48:06 5dd5c2283517: Pulling fs layer 16:48:06 d5ac0230b979: Pulling fs layer 16:48:06 86bbec2aaacd: Waiting 16:48:06 e10730c5d714: Waiting 16:48:06 5dd5c2283517: Waiting 16:48:06 d5ac0230b979: Waiting 16:48:06 5831b945b038: Waiting 16:48:06 d0c4b47475fc: Verifying Checksum 16:48:06 d0c4b47475fc: Download complete 16:48:06 d32db5db7311: Verifying Checksum 16:48:06 d32db5db7311: Download complete 16:48:06 86bbec2aaacd: Verifying Checksum 16:48:06 86bbec2aaacd: Download complete 16:48:06 e10730c5d714: Verifying Checksum 16:48:06 e10730c5d714: Download complete 16:48:06 9b18e9b68314: Verifying Checksum 16:48:06 9b18e9b68314: Download complete 16:48:07 5c69ac0246d0: Pull complete 16:48:07 9b18e9b68314: Pull complete 16:48:07 d5ac0230b979: Verifying Checksum 16:48:07 d5ac0230b979: Download complete 16:48:08 ec43610c2a17: Pull complete 16:48:08 d32db5db7311: Pull complete 16:48:08 d0c4b47475fc: Pull complete 16:48:08 3a2ae6a8a46f: Pull complete 16:48:09 5dd5c2283517: Verifying Checksum 16:48:09 33b1e0a273af: Pull complete 16:48:09 5d3b04190fa2: Pull complete 16:48:09 5831b945b038: Verifying Checksum 16:48:09 5831b945b038: Download complete 16:48:13 2f39f015ded8: Pull complete 16:48:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:48:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:48:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:13 prd-ubuntu20.04-docker-8c-8g-8690 does not seem to be running inside a container 16: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 16:48:20 $ docker top 88b1ade66343cf18082075659368d6826959c8613fbf2e1b1c950f8ddb840701 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:20 ---> job-cost.sh 16:48:20 lf-activate-venv: SKIPPING 16:48:20 INFO: No Stack... 16:48:21 INFO: Retrieving Pricing Info for: v3-standard-8 16:48:21 INFO: Archiving Costs [Pipeline] sh 16:48:21 + cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv 16:48:21 + cut -d, -f6 [Pipeline] lock 16:48:21 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-3-stack-cost] 16:48:21 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-3-stack-cost] did not exist. Created. 16:48:21 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:48:22 5831b945b038: Pull complete 16:48:22 86bbec2aaacd: Pull complete 16:48:22 e10730c5d714: Pull complete 16:48:22 + echo total: 0.2199999988079071 [Pipeline] stash 16:48:22 Stashed 1 file(s) [Pipeline] } 16:48:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:48:22 $ docker stop --time=1 88b1ade66343cf18082075659368d6826959c8613fbf2e1b1c950f8ddb840701 16:48:23 $ docker rm -f 88b1ade66343cf18082075659368d6826959c8613fbf2e1b1c950f8ddb840701 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:48:28 5dd5c2283517: Pull complete 16:48:29 d5ac0230b979: Pull complete 16:48:29 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 16:48:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:48:29 ---> 59b3b1a385d4 16:48:29 Step 3/14 : ARG ADD_BUILD_TAGS="" 16:48:31 ---> Running in b6fedfdd77c4 16:48:32 Removing intermediate container b6fedfdd77c4 16:48:32 ---> 86b3e2fe3f22 16:48:32 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:48:32 ---> Running in 5da1b243d934 16:48:32 Removing intermediate container 5da1b243d934 16:48:32 ---> 131d4994069e 16:48:32 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:48:32 ---> Running in f580cabcb1d8 16:48:32 Removing intermediate container f580cabcb1d8 16:48:32 ---> 90d78f321c93 16:48:32 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 16:48:32 ---> Running in 28b8074acc17 16:48:33 Removing intermediate container 28b8074acc17 16:48:33 ---> e0a02436453b 16:48:33 Step 7/14 : LABEL Name=edgex-device-onvif-camera 16:48:33 ---> Running in 0cc132744976 16:48:33 Removing intermediate container 0cc132744976 16:48:33 ---> ba2e048455de 16:48:33 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:48:33 ---> Running in 97e82bb4ef85 16:48:35 Removing intermediate container 97e82bb4ef85 16:48:35 ---> 16a74fc390ac 16:48:35 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:48:35 ---> Running in 3b54842b5d83 16:48:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:48:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:48:38 OK: 221 MiB in 51 packages 16:48:38 Removing intermediate container 3b54842b5d83 16:48:38 ---> e86ffd7bede1 16:48:38 Step 10/14 : WORKDIR /device-onvif-camera 16:48:38 ---> Running in 08f5afe472ab 16:48:39 Removing intermediate container 08f5afe472ab 16:48:39 ---> a80539c96924 16:48:39 Step 11/14 : COPY go.mod vendor* ./ 16:48:39 ---> 666ace48aadb 16:48:39 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:48:39 ---> Running in a7da2b9cfcb6 16:49:36 Removing intermediate container a7da2b9cfcb6 16:49:36 ---> d0c94f1f798b 16:49:36 Step 13/14 : COPY . . 16:49:36 ---> 9b8d1df08b37 16:49:36 Step 14/14 : RUN ${MAKE} 16:49:36 ---> Running in 7a99db23a066 16:49:36 noop 16:49:36 Removing intermediate container 7a99db23a066 16:49:36 ---> 9390815fe220 16:49:36 Successfully built 9390815fe220 16:49:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:36 + docker inspect -f . ci-base-image-arm64 16:49:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:36 prd-ubuntu20.04-docker-arm64-4c-16g-8691 does not seem to be running inside a container 16:49:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:49:38 $ docker top 0404a7786ae4ae9718770c1dd7f6838463a49d06e5c838c140dbcb0941ea5d10 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:38 + go version 16:49:38 go version go1.18.7 linux/arm64 [Pipeline] } 16:49:38 $ docker stop --time=1 0404a7786ae4ae9718770c1dd7f6838463a49d06e5c838c140dbcb0941ea5d10 16:49:40 $ docker rm -f 0404a7786ae4ae9718770c1dd7f6838463a49d06e5c838c140dbcb0941ea5d10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:41 + docker inspect -f . ci-base-image-arm64 16:49:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:41 prd-ubuntu20.04-docker-arm64-4c-16g-8691 does not seem to be running inside a container 16:49:41 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:49:42 $ docker top 8226dafbde46ff9086edbdc6d1ccac1b623835c772b0a85ec283f244cfa33864 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:43 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 16:49:43 + make test 16:49:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:49:45 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:51:22 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:51:22 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.195s coverage: 28.2% of statements 16:51:22 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:51:40 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.449s coverage: 86.5% of statements 16:51:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:51:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:52:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:52:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:52:06 ./bin/test-attribution-txt.sh [Pipeline] echo 16:52:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:52:07 $ docker stop --time=1 8226dafbde46ff9086edbdc6d1ccac1b623835c772b0a85ec283f244cfa33864 16:52:09 $ docker rm -f 8226dafbde46ff9086edbdc6d1ccac1b623835c772b0a85ec283f244cfa33864 [Pipeline] // withDockerContainer [Pipeline] sh 16:52:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:52:10 Warning: overwriting stash ‘coverage-report’ 16:52:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:52:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:52:11 + ls -al . 16:52:11 total 232 16:52:11 drwxrwxr-x 9 jenkins jenkins 4096 Oct 20 16:49 . 16:52:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 16:47 .. 16:52:11 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 16:47 .git 16:52:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 16:47 .github 16:52:11 -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 16:47 .gitignore 16:52:11 -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 16:47 .golangci.yml 16:52:11 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 20 16:47 Attribution.txt 16:52:11 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 20 16:47 CHANGELOG.md 16:52:11 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 20 16:47 Dockerfile 16:52:11 -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 16:47 GOVERNANCE.md 16:52:11 -rw-rw-r-- 1 jenkins jenkins 734 Oct 20 16:47 Jenkinsfile 16:52:11 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 16:47 LICENSE 16:52:11 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 20 16:47 Makefile 16:52:11 -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 16:47 OWNERS.md 16:52:11 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 20 16:47 README.md 16:52:11 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 16:45 VERSION 16:52:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 16:47 bin 16:52:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 16:47 cmd 16:52:11 -rw-r--r-- 1 jenkins jenkins 78636 Oct 20 16:51 coverage.out 16:52:11 drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 16:47 doc 16:52:11 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 20 16:47 go.mod 16:52:11 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 20 16:47 go.sum 16:52:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 16:47 internal 16:52:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 16:47 snap 16:52:11 -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 16:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:52:11 + 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=e2699209860831bfc2e8cdbc5fa14e64f6d8da3a --label arch=arm64 --label version=0.0.0 . 16:52:12 Sending build context to Docker daemon 21.76MB 16:52:12 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 16:52:12 Step 2/27 : FROM ${BASE} AS builder 16:52:12 ---> 9390815fe220 16:52:12 Step 3/27 : ARG ADD_BUILD_TAGS="" 16:52:12 ---> Running in 809c9bb983ae 16:52:13 Removing intermediate container 809c9bb983ae 16:52:13 ---> 6a35accfcec4 16:52:13 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:52:13 ---> Running in f23f4f19cb97 16:52:13 Removing intermediate container f23f4f19cb97 16:52:13 ---> 4169cdf8019d 16:52:13 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:52:13 ---> Running in 29d794e1bcad 16:52:13 Removing intermediate container 29d794e1bcad 16:52:13 ---> f07966e7b4ce 16:52:13 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 16:52:14 ---> Running in 38d3da45de22 16:52:14 Removing intermediate container 38d3da45de22 16:52:14 ---> b59849952b2a 16:52:14 Step 7/27 : LABEL Name=edgex-device-onvif-camera 16:52:14 ---> Running in f57a4decd375 16:52:14 Removing intermediate container f57a4decd375 16:52:14 ---> 01d5ffcf17ac 16:52:14 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:52:14 ---> Running in 76db7c657164 16:52:16 Removing intermediate container 76db7c657164 16:52:16 ---> 924560b8f784 16:52:16 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:52:16 ---> Running in 42086e13a89c 16:52:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:52:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:52:19 OK: 221 MiB in 51 packages 16:52:20 Removing intermediate container 42086e13a89c 16:52:20 ---> 26b304cd97d3 16:52:20 Step 10/27 : WORKDIR /device-onvif-camera 16:52:20 ---> Running in 120309a4647d 16:52:20 Removing intermediate container 120309a4647d 16:52:20 ---> cb7e18132c98 16:52:20 Step 11/27 : COPY go.mod vendor* ./ 16:52:21 ---> 44d6eab658fc 16:52:21 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:52:21 ---> Running in 3deb5038cad7 16:52:24 Removing intermediate container 3deb5038cad7 16:52:24 ---> 122ee03ca80c 16:52:24 Step 13/27 : COPY . . 16:52:26 ---> a392340d1c6f 16:52:26 Step 14/27 : RUN ${MAKE} 16:52:26 ---> Running in 24d7cb586eca 16:52:27 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 16:54:48 Removing intermediate container 24d7cb586eca 16:54:48 ---> 05b11334b09a 16:54:48 Step 15/27 : FROM alpine:3.16 16:54:48 3.16: Pulling from library/alpine 16:54:48 9b18e9b68314: Already exists 16:54:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:54:48 Status: Downloaded newer image for alpine:3.16 16:54:48 ---> a6215f271958 16:54:48 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:54:48 ---> Running in 9e593c567449 16:54:48 Removing intermediate container 9e593c567449 16:54:48 ---> 617524ade633 16:54:48 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 16:54:48 ---> Running in ac4bfa545f65 16:54:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:54:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:54:49 (1/6) Installing dumb-init (1.2.5-r1) 16:54:49 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:54:49 (3/6) Installing libsodium (1.0.18-r0) 16:54:49 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:54:49 (5/6) Installing libzmq (4.3.4-r0) 16:54:49 (6/6) Installing zeromq (4.3.4-r0) 16:54:49 Executing busybox-1.35.0-r17.trigger 16:54:49 OK: 8 MiB in 20 packages 16:54:50 Removing intermediate container ac4bfa545f65 16:54:50 ---> c47e41786584 16:54:50 Step 18/27 : WORKDIR / 16:54:50 ---> Running in a324a046f36b 16:54:51 Removing intermediate container a324a046f36b 16:54:51 ---> 6ae7338258b1 16:54:51 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 16:54:52 ---> 1d0235a23b5c 16:54:52 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 16:54:53 ---> 9f437b5c2a85 16:54:53 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:54:53 ---> 2023ba846fdf 16:54:53 Step 22/27 : EXPOSE 59984 16:54:53 ---> Running in 32b6a792673a 16:54:54 Removing intermediate container 32b6a792673a 16:54:54 ---> b19f2b11245e 16:54:54 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 16:54:54 ---> Running in eecbedaf9214 16:54:54 Removing intermediate container eecbedaf9214 16:54:54 ---> 58e78cbe483c 16:54:54 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:54:54 ---> Running in ae0eb6a1f7c3 16:54:54 Removing intermediate container ae0eb6a1f7c3 16:54:54 ---> db32cbe476fa 16:54:54 Step 25/27 : LABEL arch=arm64 16:54:54 ---> Running in f4d56de5a64e 16:54:55 Removing intermediate container f4d56de5a64e 16:54:55 ---> bf7058a0a13b 16:54:55 Step 26/27 : LABEL git_sha=e2699209860831bfc2e8cdbc5fa14e64f6d8da3a 16:54:55 ---> Running in 11b53e6680ba 16:54:55 Removing intermediate container 11b53e6680ba 16:54:55 ---> f61c4bb0c4a5 16:54:55 Step 27/27 : LABEL version=0.0.0 16:54:55 ---> Running in 0ab070eda6c9 16:54:55 Removing intermediate container 0ab070eda6c9 16:54:55 ---> 394e05af3e3a 16:54:55 [Warning] One or more build-args [ARCH] were not consumed 16:54:55 Successfully built 394e05af3e3a 16:54:55 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 16:54:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:54:56 16:54:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:54:56 arm64: Pulling from edgex-lftools-log-publisher 16:54:56 8998bd30e6a1: Pulling fs layer 16:54:56 04944245beec: Pulling fs layer 16:54:56 699f458cf7ca: Pulling fs layer 16:54:56 765212b225bb: Pulling fs layer 16:54:56 f23df028b6ca: Pulling fs layer 16:54:56 d65c8cfc05b1: Pulling fs layer 16:54:56 2437ff75d9bd: Pulling fs layer 16:54:56 f23df028b6ca: Waiting 16:54:56 d65c8cfc05b1: Waiting 16:54:56 2437ff75d9bd: Waiting 16:54:56 04944245beec: Verifying Checksum 16:54:56 04944245beec: Download complete 16:54:56 765212b225bb: Verifying Checksum 16:54:56 765212b225bb: Download complete 16:54:56 f23df028b6ca: Download complete 16:54:56 d65c8cfc05b1: Verifying Checksum 16:54:56 d65c8cfc05b1: Download complete 16:54:56 699f458cf7ca: Verifying Checksum 16:54:56 699f458cf7ca: Download complete 16:54:57 8998bd30e6a1: Verifying Checksum 16:54:57 8998bd30e6a1: Download complete 16:54:59 2437ff75d9bd: Verifying Checksum 16:54:59 2437ff75d9bd: Download complete 16:55:01 8998bd30e6a1: Pull complete 16:55:01 04944245beec: Pull complete 16:55:03 699f458cf7ca: Pull complete 16:55:03 765212b225bb: Pull complete 16:55:04 f23df028b6ca: Pull complete 16:55:04 d65c8cfc05b1: Pull complete 16:55:19 2437ff75d9bd: Pull complete 16:55:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:55:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:55:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:55:19 prd-ubuntu20.04-docker-arm64-4c-16g-8691 does not seem to be running inside a container 16:55:19 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:55:22 $ docker top f27eeeee2a3152253ff1cedd7cb0a7c1bb8b0c84ef6e126b48aaa41e258defec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:55:22 ---> job-cost.sh 16:55:22 lf-activate-venv: SKIPPING 16:55:22 INFO: No Stack... 16:55:23 INFO: Retrieving Pricing Info for: v3-standard-4 16:55:24 INFO: Archiving Costs [Pipeline] sh 16:55:24 + cut -d, -f6 16:55:24 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock 16:55:24 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-3-stack-cost] 16:55:24 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-3-stack-cost] did not exist. Created. 16:55:24 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:55:25 /w/workspace/device-onvif-camera/3@tmp/durable-57cdd026/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:55:25 + echo total: 0.10999999940395355 [Pipeline] stash 16:55:25 Warning: overwriting stash ‘stack-cost’ 16:55:25 Stashed 1 file(s) [Pipeline] } 16:55:25 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:55:25 $ docker stop --time=1 f27eeeee2a3152253ff1cedd7cb0a7c1bb8b0c84ef6e126b48aaa41e258defec 16:55:27 $ docker rm -f f27eeeee2a3152253ff1cedd7cb0a7c1bb8b0c84ef6e126b48aaa41e258defec [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 16:55:27 provisioning config files... 16:55:27 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config17933211032619730668tmp [Pipeline] { [Pipeline] sh 16:55:27 + set +x 16:55:27 + curl -s https://codecov.io/bash 16:55:27 + bash -s -- 16:55:27 16:55:27 _____ _ 16:55:27 / ____| | | 16:55:27 | | ___ __| | ___ ___ _____ __ 16:55:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:55:27 | |___| (_) | (_| | __/ (_| (_) \ V / 16:55:27 \_____\___/ \__,_|\___|\___\___/ \_/ 16:55:27 Bash-1.0.6 16:55:27 16:55:27 16:55:27 ==> git version 2.25.1 found 16:55:27 ==> 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 16:55:27 Release-Date: 2020-01-08 16:55:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:55:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:55:27 ==> Jenkins CI detected. 16:55:27 current dir:  /w/workspace/undry_device-onvif-camera_PR-180 16:55:27 project root: . 16:55:27 --> token set from env 16:55:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:55:27 ==> Running gcov in . (disable via -X gcov) 16:55:27 ==> Python coveragepy not found 16:55:27 ==> Searching for coverage reports in: 16:55:27 + . 16:55:27 -> Found 1 reports 16:55:27 ==> Detecting git/mercurial file structure 16:55:27 ==> Reading reports 16:55:27 + ./coverage.out bytes=78636 16:55:27 ==> Appending adjustments 16:55:27 https://docs.codecov.io/docs/fixing-reports 16:55:27 + Found adjustments 16:55:27 ==> Gzipping contents 16:55:27 12K /tmp/codecov.MDCbXE.gz 16:55:27 ==> Uploading reports 16:55:27 url: https://codecov.io 16:55:27 query: branch=PR-180&commit=e2699209860831bfc2e8cdbc5fa14e64f6d8da3a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 16:55:27 -> Pinging Codecov 16:55:27 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=e2699209860831bfc2e8cdbc5fa14e64f6d8da3a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 16:55:28 -> Uploading to 16:55:28 https://storage.googleapis.com/codecov/v4/raw/2022-10-20/F29A59C45E3A92E06B3E522C9905F8EF/e2699209860831bfc2e8cdbc5fa14e64f6d8da3a/071197d0-f254-4e38-bf67-5cced65163ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221020%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221020T165528Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b70b5f2a19f8f42369f89023e2e87a544082fc2ddcf72d85c2a078c3889b3fa5 16:55:28 % Total % Received % Xferd Average Speed Time Time Time Current 16:55:28 Dload Upload Total Spent Left Speed 16:55:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10802 0 0 100 10802 0 44636 --:--:-- --:--:-- --:--:-- 44636 16:55:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e2699209860831bfc2e8cdbc5fa14e64f6d8da3a [Pipeline] } 16:55:28 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 16:55:29 + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] 16:55:29 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 16:55:29 total 16 16:55:29 drwxr-xr-x 3 root root 4096 Oct 20 16:48 . 16:55:29 drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 16:48 .. 16:55:29 drwxr-xr-x 2 root root 4096 Oct 20 16:48 cost 16:55:29 -rw-r--r-- 1 root root 91 Oct 20 16:48 cost.csv 16:55:29 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives 16:55:29 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 16:55:29 total 16 16:55:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 16:48 . 16:55:29 drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 16:48 .. 16:55:29 drwxr-xr-x 2 jenkins jenkins 4096 Oct 20 16:48 cost 16:55:29 -rw-r--r-- 1 jenkins jenkins 91 Oct 20 16:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:55:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:55:30 ---> package-listing.sh 16:55:30 ++ facter osfamily 16:55:30 ++ tr '[:upper:]' '[:lower:]' 16:55:30 + OS_FAMILY=debian 16:55:30 + workspace=/w/workspace/undry_device-onvif-camera_PR-180 16:55:30 + START_PACKAGES=/tmp/packages_start.txt 16:55:30 + END_PACKAGES=/tmp/packages_end.txt 16:55:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:55:30 + PACKAGES=/tmp/packages_start.txt 16:55:30 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 16:55:30 + PACKAGES=/tmp/packages_end.txt 16:55:30 + case "${OS_FAMILY}" in 16:55:30 + dpkg -l 16:55:30 + grep '^ii' 16:55:30 + '[' -f /tmp/packages_start.txt ']' 16:55:30 + '[' -f /tmp/packages_end.txt ']' 16:55:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:55:30 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 16:55:30 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ 16:55:30 + 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 16:55:30 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 16:55:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:55:31 prd-ubuntu20.04-docker-8c-8g-8690 does not seem to be running inside a container 16:55:31 $ 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 16:55:32 $ docker top 7acc3b451121bf847306e5c08c804680d12094658d54e95929fbe65ca28f928f -eo pid,comm [Pipeline] { [Pipeline] sh 16:55:32 + touch /tmp/pre-build-complete [Pipeline] sh 16:55:32 + mkdir -p /var/log/sysstat [Pipeline] sh 16:55:33 + ls /var/log/sa-host 16:55:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:55:33 provisioning config files... 16:55:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config13129734644559728121tmp [Pipeline] { [Pipeline] echo 16:55:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:55:33 ---> create-netrc.sh [Pipeline] } 16:55:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:55:33 ---> python-tools-install.sh [Pipeline] echo 16:55:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:55:34 ---> sudo-logs.sh 16:55:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:55:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:55:34 ---> job-cost.sh 16:55:34 lf-activate-venv: SKIPPING 16:55:34 DEBUG: total: 0.2199999988079071 16:55:34 INFO: Retrieving Stack Cost... 16:55:34 INFO: Retrieving Pricing Info for: v3-standard-8 16:55:35 INFO: Archiving Costs [Pipeline] echo 16:55:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:55:35 ---> logs-deploy.sh 16:55:35 lf-activate-venv: SKIPPING 16:55:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/3 16:55:35 INFO: archiving workspace using pattern(s): 16:55:36 Archives upload complete. 16:55:36 INFO: archiving logs to Nexus 16:55:37 ---> uname -a: 16:55:37 Linux prd-ubuntu20-04-docker-8c-8g-8690 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:55:37 16:55:37 16:55:37 ---> lscpu: 16:55:37 Architecture: x86_64 16:55:37 CPU op-mode(s): 32-bit, 64-bit 16:55:37 Byte Order: Little Endian 16:55:37 Address sizes: 40 bits physical, 48 bits virtual 16:55:37 CPU(s): 8 16:55:37 On-line CPU(s) list: 0-7 16:55:37 Thread(s) per core: 1 16:55:37 Core(s) per socket: 1 16:55:37 Socket(s): 8 16:55:37 NUMA node(s): 1 16:55:37 Vendor ID: AuthenticAMD 16:55:37 CPU family: 23 16:55:37 Model: 49 16:55:37 Model name: AMD EPYC-Rome Processor 16:55:37 Stepping: 0 16:55:37 CPU MHz: 2799.956 16:55:37 BogoMIPS: 5599.91 16:55:37 Virtualization: AMD-V 16:55:37 Hypervisor vendor: KVM 16:55:37 Virtualization type: full 16:55:37 L1d cache: 256 KiB 16:55:37 L1i cache: 256 KiB 16:55:37 L2 cache: 4 MiB 16:55:37 L3 cache: 128 MiB 16:55:37 NUMA node0 CPU(s): 0-7 16:55:37 Vulnerability Itlb multihit: Not affected 16:55:37 Vulnerability L1tf: Not affected 16:55:37 Vulnerability Mds: Not affected 16:55:37 Vulnerability Meltdown: Not affected 16:55:37 Vulnerability Mmio stale data: Not affected 16:55:37 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:55:37 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:55:37 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:55:37 Vulnerability Srbds: Not affected 16:55:37 Vulnerability Tsx async abort: Not affected 16:55:37 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 16:55:37 16:55:37 16:55:37 ---> nproc: 16:55:37 8 16:55:37 16:55:37 16:55:37 ---> df -h: 16:55:37 Filesystem Size Used Avail Use% Mounted on 16:55:37 overlay 155G 12G 144G 8% / 16:55:37 tmpfs 64M 0 64M 0% /dev 16:55:37 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:55:37 shm 64M 0 64M 0% /dev/shm 16:55:37 /dev/vda1 155G 12G 144G 8% /facter-os 16:55:37 16:55:37 16:55:37 ---> sar -b -r -n DEV: 16:55:37 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8690) 10/20/22 _x86_64_ (8 CPU) 16:55:37 16:55:37 16:44:27 LINUX RESTART (8 CPU) 16:55:37 16:55:37 16:45:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:55:37 16:46:01 192.50 31.96 160.55 0.00 4099.03 137117.09 0.00 16:55:37 16:47:01 99.57 0.87 98.70 0.00 14.00 44567.28 0.00 16:55:37 16:48:01 163.86 0.17 163.70 0.00 6.53 27189.47 0.00 16:55:37 16:49:01 40.03 0.02 40.01 0.00 2.13 16863.87 0.00 16:55:37 16:50:01 41.28 10.56 30.71 0.00 2909.92 4869.46 0.00 16:55:37 16:51:01 2.23 0.00 2.23 0.00 0.00 25.46 0.00 16:55:37 16:52:01 1.03 0.00 1.03 0.00 0.00 11.33 0.00 16:55:37 16:53:01 1.42 0.00 1.42 0.00 0.00 16.40 0.00 16:55:37 16:54:01 0.90 0.00 0.90 0.00 0.00 9.60 0.00 16:55:37 16:55:01 1.82 0.00 1.82 0.00 0.00 31.86 0.00 16:55:37 Average: 54.47 4.36 50.11 0.00 703.18 23072.12 0.00 16:55:37 16:55:37 16:45:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:55:37 16:46:01 29144068 31596016 722452 2.20 76188 2648768 1985320 5.85 1008320 2371676 1072 16:55:37 16:47:01 27948944 31157032 1146292 3.49 136564 3265328 2327320 6.86 1659292 2818728 146168 16:55:37 16:48:01 28228572 31591956 713684 2.17 141488 3424692 1855800 5.47 1270736 2942312 476 16:55:37 16:49:01 27758028 31601652 702052 2.14 149668 3848204 1714476 5.05 1275928 3352884 16 16:55:37 16:50:01 27460992 31582664 706800 2.15 168348 4097720 1796680 5.30 1431724 3467752 248 16:55:37 16:51:01 27466484 31588140 701480 2.13 168392 4097716 1812732 5.34 1426336 3467712 44 16:55:37 16:52:01 27466276 31588016 701432 2.13 168428 4097720 1812732 5.34 1426292 3467716 8 16:55:37 16:53:01 27471780 31593704 695764 2.12 168460 4097728 1812732 5.34 1420904 3467864 188 16:55:37 16:54:01 27472244 31594188 695232 2.11 168480 4097728 1812732 5.34 1421036 3467864 156 16:55:37 16:55:01 27472300 31594624 695084 2.11 168568 4097732 1812732 5.34 1420324 3468156 44 16:55:37 Average: 27788969 31548799 748027 2.27 151458 3777334 1874326 5.52 1376089 3229266 14842 16:55:37 16:55:37 16:45:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:55:37 16:46:01 lo 6.66 6.66 0.65 0.65 0.00 0.00 0.00 0.00 16:55:37 16:46:01 ens3 708.46 489.49 6583.75 96.76 0.00 0.00 0.00 0.00 16:55:37 16:46:01 docker0 43.35 51.98 3.51 182.79 0.00 0.00 0.00 0.00 16:55:37 16:46:01 veth1420f55 29.79 35.67 2.79 34.83 0.00 0.00 0.00 0.00 16:55:37 16:47:01 vethe29ad0a 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 16:55:37 16:47:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:55:37 16:47:01 ens3 209.05 145.60 1701.16 91.55 0.00 0.00 0.00 0.00 16:55:37 16:47:01 docker0 110.98 169.89 9.35 1666.16 0.00 0.00 0.00 0.00 16:55:37 16:48:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 16:55:37 16:48:01 ens3 52.47 33.32 131.55 15.77 0.00 0.00 0.00 0.00 16:55:37 16:48:01 docker0 8.80 13.91 0.53 98.74 0.00 0.00 0.00 0.00 16:55:37 16:49:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 16:55:37 16:49:01 ens3 97.58 64.49 2524.27 12.29 0.00 0.00 0.00 0.00 16:55:37 16:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:37 16:50:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 16:55:37 16:50:01 ens3 72.07 38.16 1298.50 2.88 0.00 0.00 0.00 0.00 16:55:37 16:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:37 16:51:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:55:37 16:51:01 ens3 0.40 0.32 0.09 0.08 0.00 0.00 0.00 0.00 16:55:37 16:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:37 16:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:37 16:52:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:37 16:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:37 16:53:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:55:37 16:53:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 16:55:37 16:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:37 16:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:37 16:54:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:37 16:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:37 16:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:55:37 16:55:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 16:55:37 16:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:37 Average: lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 16:55:37 Average: ens3 114.03 77.17 1223.99 21.94 0.00 0.00 0.00 0.00 16:55:37 Average: docker0 16.31 23.58 1.34 194.79 0.00 0.00 0.00 0.00 16:55:37 16:55:37 16:55:37 ---> sar -P ALL: 16:55:37 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8690) 10/20/22 _x86_64_ (8 CPU) 16:55:37 16:55:37 16:44:27 LINUX RESTART (8 CPU) 16:55:37 16:55:37 16:45:01 CPU %user %nice %system %iowait %steal %idle 16:55:37 16:46:01 all 8.61 0.00 2.95 5.59 0.07 82.78 16:55:37 16:46:01 0 8.17 0.00 2.76 2.73 0.07 86.28 16:55:37 16:46:01 1 9.50 0.00 2.67 3.36 0.05 84.42 16:55:37 16:46:01 2 6.99 0.00 3.42 1.01 0.07 88.51 16:55:37 16:46:01 3 7.78 0.00 3.12 16.72 0.07 72.31 16:55:37 16:46:01 4 7.95 0.00 2.51 2.94 0.05 86.55 16:55:37 16:46:01 5 9.61 0.00 3.50 6.31 0.07 80.51 16:55:37 16:46:01 6 8.24 0.00 2.29 10.10 0.07 79.30 16:55:37 16:46:01 7 10.67 0.00 3.37 1.52 0.08 84.36 16:55:37 16:47:01 all 20.93 0.00 4.37 6.68 0.09 67.93 16:55:37 16:47:01 0 19.75 0.00 3.68 0.69 0.07 75.81 16:55:37 16:47:01 1 22.46 0.00 5.51 12.56 0.12 59.35 16:55:37 16:47:01 2 22.50 0.00 4.72 1.69 0.10 70.99 16:55:37 16:47:01 3 19.06 0.00 3.36 0.49 0.05 77.04 16:55:37 16:47:01 4 22.33 0.00 4.98 23.66 0.10 48.93 16:55:37 16:47:01 5 22.40 0.00 4.81 5.10 0.05 67.64 16:55:37 16:47:01 6 19.91 0.00 3.81 8.88 0.15 67.25 16:55:37 16:47:01 7 19.01 0.00 4.08 0.37 0.12 76.42 16:55:37 16:48:01 all 21.21 0.00 3.75 6.50 0.07 68.46 16:55:37 16:48:01 0 19.81 0.00 4.12 0.42 0.05 75.60 16:55:37 16:48:01 1 22.75 0.00 4.20 23.89 0.07 49.09 16:55:37 16:48:01 2 23.17 0.00 3.40 0.44 0.07 72.93 16:55:37 16:48:01 3 20.01 0.00 3.32 1.87 0.10 74.70 16:55:37 16:48:01 4 22.26 0.00 4.12 4.95 0.07 68.61 16:55:37 16:48:01 5 23.06 0.00 3.88 1.83 0.07 71.16 16:55:37 16:48:01 6 19.03 0.00 3.60 16.05 0.08 61.23 16:55:37 16:48:01 7 19.60 0.00 3.40 2.59 0.07 74.34 16:55:37 16:49:01 all 2.48 0.00 1.03 2.89 0.02 93.58 16:55:37 16:49:01 0 3.53 0.00 0.52 0.30 0.02 95.63 16:55:37 16:49:01 1 2.11 0.00 1.51 3.15 0.02 93.22 16:55:37 16:49:01 2 2.66 0.00 0.85 6.48 0.02 89.99 16:55:37 16:49:01 3 2.44 0.00 0.75 0.25 0.02 96.54 16:55:37 16:49:01 4 2.98 0.00 1.09 3.27 0.02 92.65 16:55:37 16:49:01 5 2.43 0.00 1.47 0.65 0.02 95.43 16:55:37 16:49:01 6 2.01 0.00 1.04 8.57 0.02 88.36 16:55:37 16:49:01 7 1.68 0.00 1.04 0.45 0.03 96.80 16:55:37 16:50:01 all 1.25 0.00 0.83 3.62 0.03 94.28 16:55:37 16:50:01 0 1.43 0.00 0.67 1.60 0.02 96.28 16:55:37 16:50:01 1 1.57 0.00 0.55 5.18 0.02 92.69 16:55:37 16:50:01 2 1.15 0.00 0.43 1.05 0.02 97.34 16:55:37 16:50:01 3 1.19 0.00 0.37 0.89 0.02 97.54 16:55:37 16:50:01 4 1.09 0.00 0.70 0.63 0.03 97.55 16:55:37 16:50:01 5 0.90 0.00 0.72 1.27 0.02 97.09 16:55:37 16:50:01 6 1.72 0.00 2.66 17.55 0.02 78.06 16:55:37 16:50:01 7 0.92 0.00 0.53 0.75 0.07 97.73 16:55:37 16:51:01 all 0.12 0.00 0.01 0.11 0.01 99.75 16:55:37 16:51:01 0 0.03 0.00 0.03 0.00 0.02 99.92 16:55:37 16:51:01 1 0.00 0.00 0.02 0.00 0.00 99.98 16:55:37 16:51:01 2 0.02 0.00 0.00 0.00 0.02 99.97 16:55:37 16:51:01 3 0.83 0.00 0.00 0.00 0.02 99.15 16:55:37 16:51:01 4 0.05 0.00 0.02 0.00 0.00 99.93 16:55:37 16:51:01 5 0.02 0.00 0.03 0.00 0.00 99.95 16:55:37 16:51:01 6 0.00 0.00 0.00 0.88 0.00 99.12 16:55:37 16:51:01 7 0.03 0.00 0.02 0.00 0.00 99.95 16:55:37 16:52:01 all 0.01 0.00 0.01 0.03 0.00 99.95 16:55:37 16:52:01 0 0.02 0.00 0.03 0.00 0.00 99.95 16:55:37 16:52:01 1 0.00 0.00 0.00 0.00 0.02 99.98 16:55:37 16:52:01 2 0.00 0.00 0.00 0.00 0.00 100.00 16:55:37 16:52:01 3 0.00 0.00 0.00 0.00 0.00 100.00 16:55:37 16:52:01 4 0.03 0.00 0.02 0.00 0.00 99.95 16:55:37 16:52:01 5 0.02 0.00 0.00 0.00 0.00 99.98 16:55:37 16:52:01 6 0.02 0.00 0.00 0.22 0.00 99.77 16:55:37 16:52:01 7 0.02 0.00 0.00 0.00 0.00 99.98 16:55:37 16:53:01 all 0.11 0.00 0.04 0.08 0.01 99.76 16:55:37 16:53:01 0 0.07 0.00 0.05 0.00 0.02 99.87 16:55:37 16:53:01 1 0.02 0.00 0.02 0.00 0.00 99.97 16:55:37 16:53:01 2 0.02 0.00 0.00 0.00 0.00 99.98 16:55:37 16:53:01 3 0.73 0.00 0.07 0.00 0.00 99.20 16:55:37 16:53:01 4 0.05 0.00 0.10 0.00 0.00 99.85 16:55:37 16:53:01 5 0.00 0.00 0.02 0.00 0.02 99.97 16:55:37 16:53:01 6 0.02 0.00 0.03 0.33 0.02 99.60 16:55:37 16:53:01 7 0.02 0.00 0.02 0.32 0.02 99.63 16:55:37 16:54:01 all 0.04 0.00 0.01 0.08 0.00 99.87 16:55:37 16:54:01 0 0.05 0.00 0.02 0.00 0.00 99.93 16:55:37 16:54:01 1 0.02 0.00 0.00 0.00 0.00 99.98 16:55:37 16:54:01 2 0.02 0.00 0.00 0.00 0.00 99.98 16:55:37 16:54:01 3 0.20 0.00 0.02 0.00 0.00 99.78 16:55:37 16:54:01 4 0.03 0.00 0.00 0.00 0.02 99.95 16:55:37 16:54:01 5 0.00 0.00 0.00 0.00 0.00 100.00 16:55:37 16:54:01 6 0.00 0.00 0.00 0.28 0.02 99.70 16:55:37 16:54:01 7 0.03 0.00 0.02 0.35 0.00 99.60 16:55:37 16:55:01 all 0.04 0.00 0.01 0.07 0.00 99.88 16:55:37 16:55:01 0 0.02 0.00 0.02 0.00 0.02 99.95 16:55:37 16:55:01 1 0.05 0.00 0.02 0.00 0.00 99.93 16:55:37 16:55:01 2 0.00 0.00 0.00 0.00 0.00 100.00 16:55:37 16:55:01 3 0.17 0.00 0.00 0.05 0.00 99.78 16:55:37 16:55:01 4 0.03 0.00 0.02 0.12 0.00 99.83 16:55:37 16:55:01 5 0.03 0.00 0.00 0.08 0.00 99.88 16:55:37 16:55:01 6 0.00 0.00 0.02 0.32 0.00 99.67 16:55:37 16:55:01 7 0.02 0.00 0.00 0.00 0.00 99.98 16:55:37 Average: all 5.45 0.00 1.29 2.55 0.03 90.67 16:55:37 Average: 0 5.27 0.00 1.18 0.57 0.03 92.95 16:55:37 Average: 1 5.82 0.00 1.44 4.80 0.03 87.91 16:55:37 Average: 2 5.62 0.00 1.28 1.06 0.03 92.01 16:55:37 Average: 3 5.21 0.00 1.09 2.01 0.03 91.65 16:55:37 Average: 4 5.65 0.00 1.35 3.53 0.03 89.45 16:55:37 Average: 5 5.82 0.00 1.44 1.52 0.02 91.21 16:55:37 Average: 6 5.06 0.00 1.34 6.30 0.04 87.27 16:55:37 Average: 7 5.16 0.00 1.24 0.63 0.04 92.93 16:55:37 16:55:37 16:55:37