Pull request #103 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 MonicaisHer for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e5053f8c731e365d1df3f2055d168c1a15fdfcf5 rather than 2bf559042982992f64f68e5626b8db21736c3a17 Obtained Jenkinsfile from e5053f8c731e365d1df3f2055d168c1a15fdfcf5 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-ssh14539874266415300344.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh3367620569793144128.key > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-103/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-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10133546102709745711.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh7566536389478561256.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-103/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-103/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2831543285497544814.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 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-19939’ is offline Running on prd-ubuntu20.04-docker-8c-8g-19942 in /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-103 # 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 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5053f8c731e365d1df3f2055d168c1a15fdfcf5 into PR head commit 2bf559042982992f64f68e5626b8db21736c3a17 Merge succeeded, producing 6da1d7c0d649491e94c9a9cd5c90b367c30d2086 Checking out Revision 6da1d7c0d649491e94c9a9cd5c90b367c30d2086 (PR-103) > git config core.sparsecheckout # timeout=10 > git checkout -f 2bf559042982992f64f68e5626b8db21736c3a17 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e5053f8c731e365d1df3f2055d168c1a15fdfcf5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6da1d7c0d649491e94c9a9cd5c90b367c30d2086 # timeout=10 Commit message: "Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:11:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:11:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:11:37 ========================================================= 14:11:37 EdgeX Global Pipelines Version Info 14:11:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cff4aca8f7d76d33ff69704428573c157e88f735 # timeout=10 14:11:38 ------------------- 14:11:38 stable info: 14:11:38 ------------------- 14:11:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:11:38 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 14:11:38 Message: update stable to v1.0.238 14:11:39 ------------------- 14:11:39 experimental info: 14:11:39 ------------------- 14:11:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:11:39 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 14:11:39 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-103 [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-103 [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-103 [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6da1d7c0d649491e94c9a9cd5c90b367c30d2086 [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6da1d7c [Pipeline] echo 14:11:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:39 provisioning config files... 14:11:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config5933734062231695175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:11:40 ---> docker-login.sh 14:11:40 nexus3.edgexfoundry.org:10001 14:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:40 Configure a credential helper to remove this warning. See 14:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:40 14:11:40 Login Succeeded 14:11:40 nexus3.edgexfoundry.org:10002 14:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:40 Configure a credential helper to remove this warning. See 14:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:40 14:11:40 Login Succeeded 14:11:40 nexus3.edgexfoundry.org:10003 14:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:40 Configure a credential helper to remove this warning. See 14:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:40 14:11:40 Login Succeeded 14:11:40 nexus3.edgexfoundry.org:10004 14:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:40 Configure a credential helper to remove this warning. See 14:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:40 14:11:40 Login Succeeded 14:11:40 docker.io 14:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:41 Configure a credential helper to remove this warning. See 14:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:41 14:11:41 Login Succeeded 14:11:41 ---> docker-login.sh ends [Pipeline] } 14:11:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:11:41 + git rev-list -1 --merges 6da1d7c0d649491e94c9a9cd5c90b367c30d2086~1..6da1d7c0d649491e94c9a9cd5c90b367c30d2086 [Pipeline] echo 14:11:41 -----------> git rev-list -1 --merges 6da1d7c0d649491e94c9a9cd5c90b367c30d2086~1..6da1d7c0d649491e94c9a9cd5c90b367c30d2086 6da1d7c0d649491e94c9a9cd5c90b367c30d2086 14:11:41 6da1d7c0d649491e94c9a9cd5c90b367c30d2086 [false] [Pipeline] sh 14:11:42 + git log --format=format:%s -1 6da1d7c0d649491e94c9a9cd5c90b367c30d2086 [Pipeline] echo 14:11:42 ========================================================= 14:11:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:11:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:11:42 + git log --format=format:%s -1 6da1d7c0d649491e94c9a9cd5c90b367c30d2086 [Pipeline] echo 14:11:42 [semverPrep] GIT_COMMIT: 6da1d7c0d649491e94c9a9cd5c90b367c30d2086, Commit Message: Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD [Pipeline] echo 14:11:42 [semverPrep] This is not a build commit. [Pipeline] sh 14:11:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:11:42 + grep -v github /etc/ssh/ssh_known_hosts 14:11:42 + [ -e /tmp/ssh_known_hosts ] 14:11:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:11:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:11:42 + sudo tee -a /etc/ssh/ssh_known_hosts 14:11:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:11:43 14:11:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:11:43 0.1.4: Pulling from edgex-devops/py-git-semver 14:11:43 b85a868b505f: Pulling fs layer 14:11:43 e2be974225ed: Pulling fs layer 14:11:43 339a4e72a1f5: Pulling fs layer 14:11:43 988bab9f4d93: Pulling fs layer 14:11:43 1469e6f7b9e6: Pulling fs layer 14:11:43 eaf3925da568: Pulling fs layer 14:11:43 bab4dde63d76: Pulling fs layer 14:11:43 bde34c3a00c8: Pulling fs layer 14:11:43 b352a97aabf1: Pulling fs layer 14:11:43 4872d77fe225: Pulling fs layer 14:11:43 5851b861e8e6: Pulling fs layer 14:11:43 988bab9f4d93: Waiting 14:11:43 eaf3925da568: Waiting 14:11:43 bab4dde63d76: Waiting 14:11:43 1469e6f7b9e6: Waiting 14:11:43 bde34c3a00c8: Waiting 14:11:43 b352a97aabf1: Waiting 14:11:43 5851b861e8e6: Waiting 14:11:43 4872d77fe225: Waiting 14:11:43 e2be974225ed: Download complete 14:11:43 988bab9f4d93: Verifying Checksum 14:11:43 988bab9f4d93: Download complete 14:11:43 1469e6f7b9e6: Verifying Checksum 14:11:43 1469e6f7b9e6: Download complete 14:11:43 eaf3925da568: Verifying Checksum 14:11:43 eaf3925da568: Download complete 14:11:43 339a4e72a1f5: Verifying Checksum 14:11:43 339a4e72a1f5: Download complete 14:11:43 bde34c3a00c8: Download complete 14:11:43 b352a97aabf1: Verifying Checksum 14:11:43 b352a97aabf1: Download complete 14:11:43 4872d77fe225: Verifying Checksum 14:11:43 4872d77fe225: Download complete 14:11:43 5851b861e8e6: Verifying Checksum 14:11:43 5851b861e8e6: Download complete 14:11:43 b85a868b505f: Verifying Checksum 14:11:43 b85a868b505f: Download complete 14:11:44 bab4dde63d76: Verifying Checksum 14:11:44 bab4dde63d76: Download complete 14:11:45 b85a868b505f: Pull complete 14:11:45 e2be974225ed: Pull complete 14:11:45 339a4e72a1f5: Pull complete 14:11:45 988bab9f4d93: Pull complete 14:11:45 1469e6f7b9e6: Pull complete 14:11:45 eaf3925da568: Pull complete 14:11:47 bab4dde63d76: Pull complete 14:11:47 bde34c3a00c8: Pull complete 14:11:47 b352a97aabf1: Pull complete 14:11:48 4872d77fe225: Pull complete 14:11:48 5851b861e8e6: Pull complete 14:11:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:11:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:11:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:11:48 prd-ubuntu20.04-docker-8c-8g-19942 does not seem to be running inside a container 14:11:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 14:11:50 $ docker top 01f271422c9141020fdb85359906b9ecb1d7c68d38ae311909f6fa11a4e1c238 -eo pid,comm 14:11:50 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). 14:11:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:11:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:11:50 [ssh-agent] Looking for ssh-agent implementation... 14:11:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:11:50 $ docker exec 01f271422c9141020fdb85359906b9ecb1d7c68d38ae311909f6fa11a4e1c238 ssh-agent 14:11:50 SSH_AUTH_SOCK=/tmp/ssh-jrIVlsRN6Ki8/agent.33 14:11:50 SSH_AGENT_PID=39 14:11:50 Running ssh-add (command line suppressed) 14:11:50 Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_2881166909242413876.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_2881166909242413876.key) 14:11:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:11:50 + git tag --points-at HEAD [Pipeline] } 14:11:50 $ docker exec --env ******** --env ******** 01f271422c9141020fdb85359906b9ecb1d7c68d38ae311909f6fa11a4e1c238 ssh-agent -k 14:11:51 unset SSH_AUTH_SOCK; 14:11:51 unset SSH_AGENT_PID; 14:11:51 echo Agent pid 39 killed; 14:11:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:11:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:11:51 [ssh-agent] Looking for ssh-agent implementation... 14:11:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:11:51 $ docker exec 01f271422c9141020fdb85359906b9ecb1d7c68d38ae311909f6fa11a4e1c238 ssh-agent 14:11:51 SSH_AUTH_SOCK=/tmp/ssh-qHq6kvuP55GS/agent.74 14:11:51 SSH_AGENT_PID=80 14:11:51 Running ssh-add (command line suppressed) 14:11:51 Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_1173566389481865918.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_1173566389481865918.key) 14:11:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:11:51 + git semver init 14:11:52 2022-07-14 14:11:52,019 [run_init] DEBUG init version:0.0.0 force:False 14:11:52 2022-07-14 14:11:52,020 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-103/.semver 14:11:52 2022-07-14 14:11:52,020 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-103/.semver 14:11:52 2022-07-14 14:11:52,021 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-103/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-103, universal_newlines=False, shell=None, istream=None) 14:11:53 2022-07-14 14:11:52,690 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-103/.git/info/exclude 14:11:53 2022-07-14 14:11:52,691 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 with force:False 14:11:53 2022-07-14 14:11:52,691 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 14:11:53 2022-07-14 14:11:52,695 [execute] INFO git cat-file --batch-check 14:11:53 2022-07-14 14:11:52,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) 14:11:53 2022-07-14 14:11:52,701 [execute] INFO git cat-file --batch 14:11:53 2022-07-14 14:11:52,701 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) 14:11:53 2022-07-14 14:11:52,705 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 14:11:53 0.0.0 [Pipeline] } 14:11:53 $ docker exec --env ******** --env ******** 01f271422c9141020fdb85359906b9ecb1d7c68d38ae311909f6fa11a4e1c238 ssh-agent -k 14:11:53 unset SSH_AUTH_SOCK; 14:11:53 unset SSH_AGENT_PID; 14:11:53 echo Agent pid 80 killed; 14:11:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:11:53 + git semver [Pipeline] } 14:11:53 $ docker stop --time=1 01f271422c9141020fdb85359906b9ecb1d7c68d38ae311909f6fa11a4e1c238 14:11:55 $ docker rm -f 01f271422c9141020fdb85359906b9ecb1d7c68d38ae311909f6fa11a4e1c238 [Pipeline] // withDockerContainer [Pipeline] sh 14:11:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:11:55 Stashed 1 file(s) [Pipeline] echo 14:11:55 [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 14:11:55 provisioning config files... 14:11:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config2145899722800724683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:11:56 ---> docker-login.sh 14:11:56 nexus3.edgexfoundry.org:10001 14:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:56 Configure a credential helper to remove this warning. See 14:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:56 14:11:56 Login Succeeded 14:11:56 nexus3.edgexfoundry.org:10002 14:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:56 Configure a credential helper to remove this warning. See 14:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:56 14:11:56 Login Succeeded 14:11:56 nexus3.edgexfoundry.org:10003 14:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:56 Configure a credential helper to remove this warning. See 14:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:56 14:11:56 Login Succeeded 14:11:56 nexus3.edgexfoundry.org:10004 14:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:56 Configure a credential helper to remove this warning. See 14:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:56 14:11:56 Login Succeeded 14:11:56 docker.io 14:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:57 Configure a credential helper to remove this warning. See 14:11:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:57 14:11:57 Login Succeeded 14:11:57 ---> docker-login.sh ends [Pipeline] } 14:11:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:11:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:11:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:11:57 ========================================================= 14:11:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 14:11:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:57 + 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 . 14:11:57 Sending build context to Docker daemon 9.44MB 14:11:57 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 14:11:57 Step 2/13 : FROM ${BASE} AS builder 14:11:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 14:11:57 2408cc74d12b: Pulling fs layer 14:11:57 ea60b727a1ce: Pulling fs layer 14:11:57 30c4a7721957: Pulling fs layer 14:11:57 370296b7ddb6: Pulling fs layer 14:11:57 7c6cee850709: Pulling fs layer 14:11:57 39a5fcdaea64: Pulling fs layer 14:11:57 d94ebbe4e438: Pulling fs layer 14:11:57 370296b7ddb6: Waiting 14:11:57 bcfd1f05c69d: Pulling fs layer 14:11:57 59ccb84bbe0f: Pulling fs layer 14:11:57 7c6cee850709: Waiting 14:11:57 d94ebbe4e438: Waiting 14:11:57 39a5fcdaea64: Waiting 14:11:57 bcfd1f05c69d: Waiting 14:11:57 59ccb84bbe0f: Waiting 14:11:57 30c4a7721957: Download complete 14:11:57 ea60b727a1ce: Verifying Checksum 14:11:57 ea60b727a1ce: Download complete 14:11:57 7c6cee850709: Download complete 14:11:57 39a5fcdaea64: Verifying Checksum 14:11:57 39a5fcdaea64: Download complete 14:11:57 2408cc74d12b: Verifying Checksum 14:11:57 2408cc74d12b: Download complete 14:11:57 d94ebbe4e438: Download complete 14:11:57 2408cc74d12b: Pull complete 14:11:58 ea60b727a1ce: Pull complete 14:11:58 30c4a7721957: Pull complete 14:11:58 59ccb84bbe0f: Download complete 14:11:58 bcfd1f05c69d: Verifying Checksum 14:11:58 bcfd1f05c69d: Download complete 14:11:58 370296b7ddb6: Download complete 14:12:02 370296b7ddb6: Pull complete 14:12:02 7c6cee850709: Pull complete 14:12:02 39a5fcdaea64: Pull complete 14:12:02 d94ebbe4e438: Pull complete 14:12:05 bcfd1f05c69d: Pull complete 14:12:05 59ccb84bbe0f: Pull complete 14:12:05 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 14:12:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:12:05 ---> a4fb48ad2a94 14:12:05 Step 3/13 : ARG MAKE="make build" 14:12:08 ---> Running in 6de583c2b236 14:12:08 Removing intermediate container 6de583c2b236 14:12:08 ---> dd7993526b19 14:12:08 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:12:08 ---> Running in a501facdf818 14:12:08 Removing intermediate container a501facdf818 14:12:08 ---> f6d26be9451e 14:12:08 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 14:12:08 ---> Running in 2debc90b8553 14:12:08 Removing intermediate container 2debc90b8553 14:12:08 ---> 0e347b1be708 14:12:08 Step 6/13 : LABEL Name=edgex-device-onvif-camera 14:12:08 ---> Running in b484f5fc275b 14:12:08 Removing intermediate container b484f5fc275b 14:12:08 ---> 33b263ff94ab 14:12:08 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:12:08 ---> Running in 8a5dc31dde8d 14:12:09 Removing intermediate container 8a5dc31dde8d 14:12:09 ---> f3f7580d9c52 14:12:09 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:12:09 ---> Running in 1a444ce92a78 14:12:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:12:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:12:10 OK: 211 MiB in 51 packages 14:12:10 Still waiting to schedule task 14:12:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-19940’ is offline 14:12:11 Removing intermediate container 1a444ce92a78 14:12:11 ---> 6f96e0b49f04 14:12:11 Step 9/13 : WORKDIR /device-onvif-camera 14:12:11 ---> Running in 649288c8bdb6 14:12:11 Removing intermediate container 649288c8bdb6 14:12:11 ---> b4d279a0b341 14:12:11 Step 10/13 : COPY go.mod vendor* ./ 14:12:11 ---> 6eadd8693522 14:12:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:12:11 ---> Running in a749d822fa17 14:12:33 Removing intermediate container a749d822fa17 14:12:33 ---> 9e03d1a0b18f 14:12:33 Step 12/13 : COPY . . 14:12:33 ---> aa833dc6ab4e 14:12:33 Step 13/13 : RUN ${MAKE} 14:12:33 ---> Running in 8887b48934ae 14:12:33 noop 14:12:33 Removing intermediate container 8887b48934ae 14:12:33 ---> 5877be019c08 14:12:33 Successfully built 5877be019c08 14:12:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:33 + docker inspect -f . ci-base-image-x86_64 14:12:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:33 prd-ubuntu20.04-docker-8c-8g-19942 does not seem to be running inside a container 14:12:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 14:12:34 $ docker top df481a593b524435dd33b26e1f7c688db4957f903d64451d84e8a82881ead806 -eo pid,comm [Pipeline] { [Pipeline] sh 14:12:34 + go version 14:12:34 go version go1.18.3 linux/amd64 [Pipeline] } 14:12:34 $ docker stop --time=1 df481a593b524435dd33b26e1f7c688db4957f903d64451d84e8a82881ead806 14:12:35 $ docker rm -f df481a593b524435dd33b26e1f7c688db4957f903d64451d84e8a82881ead806 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:36 + docker inspect -f . ci-base-image-x86_64 14:12:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:36 prd-ubuntu20.04-docker-8c-8g-19942 does not seem to be running inside a container 14:12:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 14:12:36 $ docker top 9e7bc4daf78143e6ab4e4a4a7910d36d13b6427387422ed958bb8d5aedba0917 -eo pid,comm [Pipeline] { [Pipeline] sh 14:12:37 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] fileExists [Pipeline] sh 14:12:37 + make test 14:12:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:12:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 14:12:47 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 14:12:47 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.020s coverage: 7.0% of statements 14:12:47 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 14:12:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.892s coverage: 13.8% of statements 14:12:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:13:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:13:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:13:00 ./bin/test-attribution-txt.sh [Pipeline] echo 14:13:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:13:00 $ docker stop --time=1 9e7bc4daf78143e6ab4e4a4a7910d36d13b6427387422ed958bb8d5aedba0917 14:13:02 $ docker rm -f 9e7bc4daf78143e6ab4e4a4a7910d36d13b6427387422ed958bb8d5aedba0917 [Pipeline] // withDockerContainer [Pipeline] sh 14:13:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:13:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:13:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:13:04 + ls -al . 14:13:04 total 252 14:13:04 drwxrwxr-x 10 jenkins jenkins 4096 Jul 14 14:13 . 14:13:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 14:11 .. 14:13:04 drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 14:12 .git 14:13:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 14:11 .github 14:13:04 -rw-rw-r-- 1 jenkins jenkins 418 Jul 14 14:11 .gitignore 14:13:04 -rw-rw-r-- 1 jenkins jenkins 42 Jul 14 14:11 .golangci.yml 14:13:04 drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 14:11 .semver 14:13:04 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 14 14:11 Attribution.txt 14:13:04 -rw-rw-r-- 1 jenkins jenkins 189 Jul 14 14:11 CHANGELOG.md 14:13:04 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 14 14:11 Dockerfile 14:13:04 -rw-rw-r-- 1 jenkins jenkins 677 Jul 14 14:11 GOVERNANCE.md 14:13:04 -rw-rw-r-- 1 jenkins jenkins 660 Jul 14 14:11 Jenkinsfile 14:13:04 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 14 14:11 LICENSE 14:13:04 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 14 14:11 Makefile 14:13:04 -rw-rw-r-- 1 jenkins jenkins 625 Jul 14 14:11 OWNERS.md 14:13:04 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 14 14:11 README.md 14:13:04 -rw-rw-r-- 1 jenkins jenkins 5 Jul 14 14:11 VERSION 14:13:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 14:11 bin 14:13:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 14:11 cmd 14:13:04 -rw-r--r-- 1 jenkins jenkins 70262 Jul 14 14:12 coverage.out 14:13:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 14:11 doc 14:13:04 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 14 14:11 go.mod 14:13:04 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 14 14:11 go.sum 14:13:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 14:11 internal 14:13:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 14:11 snap 14:13:04 -rw-rw-r-- 1 jenkins jenkins 236 Jul 14 14:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:04 + 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=6da1d7c0d649491e94c9a9cd5c90b367c30d2086 --label arch=amd64 --label version=0.0.0 . 14:13:04 Sending build context to Docker daemon 9.511MB 14:13:04 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 14:13:04 Step 2/26 : FROM ${BASE} AS builder 14:13:04 ---> 5877be019c08 14:13:04 Step 3/26 : ARG MAKE="make build" 14:13:04 ---> Running in f3676aa3abcb 14:13:04 Removing intermediate container f3676aa3abcb 14:13:04 ---> 804e90f4a509 14:13:04 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:13:04 ---> Running in 287875a25f31 14:13:04 Removing intermediate container 287875a25f31 14:13:04 ---> cad3fe4feaab 14:13:04 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 14:13:04 ---> Running in 6f78e27f0d4e 14:13:04 Removing intermediate container 6f78e27f0d4e 14:13:04 ---> 1ecf83ff4027 14:13:04 Step 6/26 : LABEL Name=edgex-device-onvif-camera 14:13:04 ---> Running in e59b2eee4119 14:13:04 Removing intermediate container e59b2eee4119 14:13:04 ---> ca0cdea9298e 14:13:04 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:13:05 ---> Running in 76b12d5ef769 14:13:05 Removing intermediate container 76b12d5ef769 14:13:05 ---> 2a85c56f2219 14:13:05 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:13:05 ---> Running in 18b39a38beb8 14:13:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:13:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:13:07 OK: 211 MiB in 51 packages 14:13:07 Removing intermediate container 18b39a38beb8 14:13:07 ---> c1895993dd15 14:13:07 Step 9/26 : WORKDIR /device-onvif-camera 14:13:07 ---> Running in b102a7339e73 14:13:07 Removing intermediate container b102a7339e73 14:13:07 ---> e9777ecff97b 14:13:07 Step 10/26 : COPY go.mod vendor* ./ 14:13:07 ---> f1b5d4811c94 14:13:07 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:13:07 ---> Running in 8e12b27afeb4 14:13:08 Removing intermediate container 8e12b27afeb4 14:13:08 ---> 966e432c904e 14:13:08 Step 12/26 : COPY . . 14:13:08 ---> 4dcf1526e35c 14:13:08 Step 13/26 : RUN ${MAKE} 14:13:08 ---> Running in 298e43bc3eb6 14:13:09 CGO_ENABLED=1 GO111MODULE=on go build -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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 14:13:31 Removing intermediate container 298e43bc3eb6 14:13:31 ---> 18093a56d6ec 14:13:31 Step 14/26 : FROM alpine:3.15 14:13:31 3.15: Pulling from library/alpine 14:13:31 df9b9388f04a: Pulling fs layer 14:13:31 df9b9388f04a: Verifying Checksum 14:13:31 df9b9388f04a: Download complete 14:13:31 df9b9388f04a: Pull complete 14:13:31 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 14:13:31 Status: Downloaded newer image for alpine:3.15 14:13:31 ---> 0ac33e5f5afa 14:13:31 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 14:13:31 ---> Running in 4008472e672f 14:13:31 Removing intermediate container 4008472e672f 14:13:31 ---> f3076662a223 14:13:31 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 14:13:31 ---> Running in 3283906d76f6 14:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:13:31 (1/6) Installing dumb-init (1.2.5-r1) 14:13:31 (2/6) Installing libgcc (10.3.1_git20211027-r0) 14:13:31 (3/6) Installing libsodium (1.0.18-r0) 14:13:31 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 14:13:31 (5/6) Installing libzmq (4.3.4-r0) 14:13:31 (6/6) Installing zeromq (4.3.4-r0) 14:13:31 Executing busybox-1.34.1-r5.trigger 14:13:31 OK: 8 MiB in 20 packages 14:13:31 Removing intermediate container 3283906d76f6 14:13:31 ---> 80e3905e2417 14:13:31 Step 17/26 : WORKDIR / 14:13:31 ---> Running in d695e7ad5d6a 14:13:31 Removing intermediate container d695e7ad5d6a 14:13:31 ---> b1b23c69a1ab 14:13:31 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 14:13:31 ---> bda639767fae 14:13:31 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 14:13:31 ---> 8204a91142e4 14:13:31 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 14:13:31 ---> 9a1d1c222468 14:13:31 Step 21/26 : EXPOSE 59984 14:13:31 ---> Running in 178301cb0239 14:13:31 Removing intermediate container 178301cb0239 14:13:31 ---> f78962ea7600 14:13:31 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 14:13:31 ---> Running in 0fbd7251e278 14:13:31 Removing intermediate container 0fbd7251e278 14:13:31 ---> f4e472efa48c 14:13:31 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:13:31 ---> Running in 432d06240f3a 14:13:31 Removing intermediate container 432d06240f3a 14:13:31 ---> 842cc2183a4b 14:13:31 Step 24/26 : LABEL arch=amd64 14:13:31 ---> Running in 91c172ea800d 14:13:32 Removing intermediate container 91c172ea800d 14:13:32 ---> ec7d1b3805f1 14:13:32 Step 25/26 : LABEL git_sha=6da1d7c0d649491e94c9a9cd5c90b367c30d2086 14:13:32 ---> Running in e3d928b97f11 14:13:32 Removing intermediate container e3d928b97f11 14:13:32 ---> 9224b9650afa 14:13:32 Step 26/26 : LABEL version=0.0.0 14:13:32 ---> Running in e67ae35b37d5 14:13:32 Removing intermediate container e67ae35b37d5 14:13:32 ---> 59ad56b25ad8 14:13:32 [Warning] One or more build-args [ARCH] were not consumed 14:13:32 Successfully built 59ad56b25ad8 14:13:32 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 14:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:13:32 14:13:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:13:33 latest: Pulling from edgex-lftools-log-publisher 14:13:33 5eb5b503b376: Pulling fs layer 14:13:33 5c69ac0246d0: Pulling fs layer 14:13:33 ec43610c2a17: Pulling fs layer 14:13:33 3a2ae6a8a46f: Pulling fs layer 14:13:33 33b1e0a273af: Pulling fs layer 14:13:33 5d3b04190fa2: Pulling fs layer 14:13:33 2f39f015ded8: Pulling fs layer 14:13:33 33b1e0a273af: Waiting 14:13:33 2f39f015ded8: Waiting 14:13:33 5c69ac0246d0: Download complete 14:13:33 3a2ae6a8a46f: Verifying Checksum 14:13:33 3a2ae6a8a46f: Download complete 14:13:33 33b1e0a273af: Download complete 14:13:33 ec43610c2a17: Verifying Checksum 14:13:33 ec43610c2a17: Download complete 14:13:33 5d3b04190fa2: Verifying Checksum 14:13:33 5d3b04190fa2: Download complete 14:13:33 5eb5b503b376: Verifying Checksum 14:13:33 5eb5b503b376: Download complete 14:13:34 2f39f015ded8: Verifying Checksum 14:13:34 2f39f015ded8: Download complete 14:13:34 5eb5b503b376: Pull complete 14:13:34 5c69ac0246d0: Pull complete 14:13:35 ec43610c2a17: Pull complete 14:13:35 3a2ae6a8a46f: Pull complete 14:13:35 33b1e0a273af: Pull complete 14:13:35 5d3b04190fa2: Pull complete 14:13:39 2f39f015ded8: Pull complete 14:13:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:13:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:13:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:40 prd-ubuntu20.04-docker-8c-8g-19942 does not seem to be running inside a container 14:13:40 $ 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-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 14:13:42 $ docker top 8f66d06b907afdabc6f756902e6d63a29ce371a249addb420050f796e8d00144 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:13:42 ---> job-cost.sh 14:13:42 lf-activate-venv: SKIPPING 14:13:42 INFO: No Stack... 14:13:42 INFO: Retrieving Pricing Info for: v3-standard-8 14:13:43 INFO: Archiving Costs [Pipeline] sh 14:13:43 + cat /w/workspace/undry_device-onvif-camera_PR-103/archives/cost.csv 14:13:43 + cut -d, -f6 [Pipeline] lock 14:13:43 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-8-stack-cost] 14:13:43 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-8-stack-cost] did not exist. Created. 14:13:43 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:13:44 + echo total: 0.2199999988079071 [Pipeline] stash 14:13:44 Stashed 1 file(s) [Pipeline] } 14:13:44 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-8-stack-cost] [Pipeline] // lock [Pipeline] } 14:13:44 $ docker stop --time=1 8f66d06b907afdabc6f756902e6d63a29ce371a249addb420050f796e8d00144 14:13:45 $ docker rm -f 8f66d06b907afdabc6f756902e6d63a29ce371a249addb420050f796e8d00144 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:13:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19943 in /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] { [Pipeline] ws 14:13:46 Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout 14:13:46 Selected Git installation does not exist. Using Default 14:13:46 The recommended git tool is: NONE 14:13:53 using credential edgex-jenkins-ssh 14:13:53 Cloning the remote Git repository 14:13:53 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 14:13:53 > git init /w/workspace/device-onvif-camera/8 # timeout=10 14:13:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 14:13:54 > git --version # timeout=10 14:13:54 > git --version # 'git version 2.25.1' 14:13:54 using GIT_SSH to set credentials SSH Credentials for GitHub 14:13:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:13:55 Merging remotes/origin/main commit e5053f8c731e365d1df3f2055d168c1a15fdfcf5 into PR head commit 2bf559042982992f64f68e5626b8db21736c3a17 14:13:55 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 14:13:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:13:55 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 14:13:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 14:13:55 using GIT_SSH to set credentials SSH Credentials for GitHub 14:13:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:13:55 > git config core.sparsecheckout # timeout=10 14:13:55 > git checkout -f 2bf559042982992f64f68e5626b8db21736c3a17 # timeout=10 14:13:55 > git remote # timeout=10 14:13:55 > git config --get remote.origin.url # timeout=10 14:13:55 using GIT_SSH to set credentials SSH Credentials for GitHub 14:13:55 > git merge e5053f8c731e365d1df3f2055d168c1a15fdfcf5 # timeout=10 14:13:56 Merge succeeded, producing c951291c4a9bd957a86320faa40be840d0a3d0f8 14:13:56 Checking out Revision c951291c4a9bd957a86320faa40be840d0a3d0f8 (PR-103) 14:13:56 > git rev-parse HEAD^{commit} # timeout=10 14:13:56 > git config core.sparsecheckout # timeout=10 14:13:56 > git checkout -f c951291c4a9bd957a86320faa40be840d0a3d0f8 # timeout=10 14:14:00 Commit message: "Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD" 14:14:00 First time build. Skipping changelog. 14:14:00 > git rev-list --no-walk cff4aca8f7d76d33ff69704428573c157e88f735 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:14:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:14:01 % Total % Received % Xferd Average Speed Time Time Time Current 14:14:01 Dload Upload Total Spent Left Speed 14:14:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 85638 0 --:--:-- --:--:-- --:--:-- 85638 [Pipeline] sh 14:14:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:14:02 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 14:14:02 tee /etc/docker/daemon.new 14:14:02 { 14:14:02 "registry-mirrors": [ 14:14:02 "https://nexus3.edgexfoundry.org:10001" 14:14:02 ], 14:14:02 "bip": "10.250.0.254/24", 14:14:02 "hosts": [ 14:14:02 "tcp://0.0.0.0:5555", 14:14:02 "unix:///var/run/docker.sock" 14:14:02 ], 14:14:02 "mtu": 1458, 14:14:02 "selinux-enabled": true, 14:14:02 "seccomp-profile": "/etc/docker/seccomp.json" 14:14:02 } [Pipeline] sh 14:14:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:14:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:14:21 provisioning config files... 14:14:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config8587979311107457576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:14:21 ---> docker-login.sh 14:14:21 nexus3.edgexfoundry.org:10001 14:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:22 Configure a credential helper to remove this warning. See 14:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:22 14:14:22 Login Succeeded 14:14:22 nexus3.edgexfoundry.org:10002 14:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:23 Configure a credential helper to remove this warning. See 14:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:23 14:14:23 Login Succeeded 14:14:23 nexus3.edgexfoundry.org:10003 14:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:23 Configure a credential helper to remove this warning. See 14:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:23 14:14:23 Login Succeeded 14:14:23 nexus3.edgexfoundry.org:10004 14:14:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:24 Configure a credential helper to remove this warning. See 14:14:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:24 14:14:24 Login Succeeded 14:14:24 docker.io 14:14:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:24 Configure a credential helper to remove this warning. See 14:14:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:24 14:14:24 Login Succeeded 14:14:24 ---> docker-login.sh ends [Pipeline] } 14:14:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:14:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:14:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:14:25 ========================================================= 14:14:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:14:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:25 + 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 . 14:14:26 Sending build context to Docker daemon 6.514MB 14:14:26 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 14:14:26 Step 2/13 : FROM ${BASE} AS builder 14:14:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:14:26 b3c136eddcbf: Pulling fs layer 14:14:26 c0a3192eca97: Pulling fs layer 14:14:26 a050256f5b6f: Pulling fs layer 14:14:26 656be50a0ddc: Pulling fs layer 14:14:26 2bbca73fdf42: Pulling fs layer 14:14:26 46d945488cbd: Pulling fs layer 14:14:26 8a5474983e97: Pulling fs layer 14:14:26 329c88fbcd65: Pulling fs layer 14:14:26 656be50a0ddc: Waiting 14:14:26 2bbca73fdf42: Waiting 14:14:26 46d945488cbd: Waiting 14:14:26 8a5474983e97: Waiting 14:14:26 329c88fbcd65: Waiting 14:14:26 a050256f5b6f: Verifying Checksum 14:14:26 c0a3192eca97: Verifying Checksum 14:14:26 c0a3192eca97: Download complete 14:14:26 2bbca73fdf42: Verifying Checksum 14:14:26 2bbca73fdf42: Download complete 14:14:26 46d945488cbd: Verifying Checksum 14:14:26 b3c136eddcbf: Download complete 14:14:27 b3c136eddcbf: Pull complete 14:14:27 329c88fbcd65: Verifying Checksum 14:14:27 329c88fbcd65: Download complete 14:14:28 c0a3192eca97: Pull complete 14:14:28 a050256f5b6f: Pull complete 14:14:29 8a5474983e97: Verifying Checksum 14:14:29 8a5474983e97: Download complete 14:14:29 656be50a0ddc: Verifying Checksum 14:14:29 656be50a0ddc: Download complete 14:14:44 656be50a0ddc: Pull complete 14:14:44 2bbca73fdf42: Pull complete 14:14:44 46d945488cbd: Pull complete 14:14:51 8a5474983e97: Pull complete 14:14:52 329c88fbcd65: Pull complete 14:14:52 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 14:14:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:14:52 ---> ff4287adb874 14:14:52 Step 3/13 : ARG MAKE="make build" 14:14:54 ---> Running in c34cbaa6a797 14:14:54 Removing intermediate container c34cbaa6a797 14:14:54 ---> 818931c967f4 14:14:54 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:14:54 ---> Running in 6b92f26e883a 14:14:55 Removing intermediate container 6b92f26e883a 14:14:55 ---> 2bf1bbc8a95c 14:14:55 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 14:14:55 ---> Running in 32be090058c1 14:14:55 Removing intermediate container 32be090058c1 14:14:55 ---> 8d12024c56d0 14:14:55 Step 6/13 : LABEL Name=edgex-device-onvif-camera 14:14:55 ---> Running in c8e2b7fd7a1f 14:14:57 Removing intermediate container c8e2b7fd7a1f 14:14:57 ---> d67e507ea4b3 14:14:57 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:14:57 ---> Running in 9c7b375520f4 14:14:58 Removing intermediate container 9c7b375520f4 14:14:58 ---> 811e5843dd90 14:14:58 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:14:58 ---> Running in 05c0e567704f 14:14:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:15:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:15:01 OK: 221 MiB in 51 packages 14:15:02 Removing intermediate container 05c0e567704f 14:15:02 ---> 64e539c37bbf 14:15:02 Step 9/13 : WORKDIR /device-onvif-camera 14:15:02 ---> Running in 658e45aab2d9 14:15:02 Removing intermediate container 658e45aab2d9 14:15:02 ---> ef8fd077c994 14:15:02 Step 10/13 : COPY go.mod vendor* ./ 14:15:03 ---> 46ca264cd42a 14:15:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:15:03 ---> Running in 571780217c8d 14:15:50 Removing intermediate container 571780217c8d 14:15:50 ---> c4a09bb2fbc4 14:15:50 Step 12/13 : COPY . . 14:15:50 ---> bf85b3f55dad 14:15:50 Step 13/13 : RUN ${MAKE} 14:15:50 ---> Running in 9fecd56e3623 14:15:50 noop 14:15:50 Removing intermediate container 9fecd56e3623 14:15:50 ---> af8c739786f9 14:15:50 Successfully built af8c739786f9 14:15:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:50 + docker inspect -f . ci-base-image-arm64 14:15:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:15:50 prd-ubuntu20.04-docker-arm64-4c-16g-19943 does not seem to be running inside a container 14:15:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:15:52 $ docker top f768fca8d49a9950ae1725c4280ef8b8ca721561c051a9ee04aa3ae45e4fed83 -eo pid,comm [Pipeline] { [Pipeline] sh 14:15:53 + go version 14:15:53 go version go1.18.3 linux/arm64 [Pipeline] } 14:15:53 $ docker stop --time=1 f768fca8d49a9950ae1725c4280ef8b8ca721561c051a9ee04aa3ae45e4fed83 14:15:54 $ docker rm -f f768fca8d49a9950ae1725c4280ef8b8ca721561c051a9ee04aa3ae45e4fed83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:55 + docker inspect -f . ci-base-image-arm64 14:15:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:15:55 prd-ubuntu20.04-docker-arm64-4c-16g-19943 does not seem to be running inside a container 14:15:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:15:56 $ docker top cfaa0e24032a417a27e9f0aaff795ea8506aff9db39de17bd22ddd46a5eb97ef -eo pid,comm [Pipeline] { [Pipeline] sh 14:15:57 + git config --global --add safe.directory /w/workspace/device-onvif-camera/8 [Pipeline] fileExists [Pipeline] sh 14:15:58 + make test 14:15:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:16:00 ? github.com/edgexfoundry/device-onvif-camera [no test files] 14:17:37 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 14:17:37 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.086s coverage: 7.0% of statements 14:17:37 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 14:17:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.819s coverage: 13.8% of statements 14:17:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:17:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:18:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:18:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:18:14 ./bin/test-attribution-txt.sh [Pipeline] echo 14:18:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:18:15 $ docker stop --time=1 cfaa0e24032a417a27e9f0aaff795ea8506aff9db39de17bd22ddd46a5eb97ef 14:18:17 $ docker rm -f cfaa0e24032a417a27e9f0aaff795ea8506aff9db39de17bd22ddd46a5eb97ef [Pipeline] // withDockerContainer [Pipeline] sh 14:18:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:18:18 Warning: overwriting stash ‘coverage-report’ 14:18:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:18:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:18:19 + ls -al . 14:18:19 total 248 14:18:19 drwxrwxr-x 9 jenkins jenkins 4096 Jul 14 14:18 . 14:18:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 14:13 .. 14:18:19 drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 14:13 .git 14:18:19 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 14:13 .github 14:18:19 -rw-rw-r-- 1 jenkins jenkins 418 Jul 14 14:13 .gitignore 14:18:19 -rw-rw-r-- 1 jenkins jenkins 42 Jul 14 14:13 .golangci.yml 14:18:19 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 14 14:13 Attribution.txt 14:18:19 -rw-rw-r-- 1 jenkins jenkins 189 Jul 14 14:13 CHANGELOG.md 14:18:19 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 14 14:13 Dockerfile 14:18:19 -rw-rw-r-- 1 jenkins jenkins 677 Jul 14 14:13 GOVERNANCE.md 14:18:19 -rw-rw-r-- 1 jenkins jenkins 660 Jul 14 14:13 Jenkinsfile 14:18:19 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 14 14:13 LICENSE 14:18:19 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 14 14:13 Makefile 14:18:19 -rw-rw-r-- 1 jenkins jenkins 625 Jul 14 14:13 OWNERS.md 14:18:19 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 14 14:13 README.md 14:18:19 -rw-rw-r-- 1 jenkins jenkins 5 Jul 14 14:11 VERSION 14:18:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 14:13 bin 14:18:19 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 14:13 cmd 14:18:19 -rw-r--r-- 1 jenkins jenkins 70262 Jul 14 14:17 coverage.out 14:18:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 14:13 doc 14:18:19 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 14 14:13 go.mod 14:18:19 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 14 14:13 go.sum 14:18:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 14:13 internal 14:18:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 14:13 snap 14:18:19 -rw-rw-r-- 1 jenkins jenkins 236 Jul 14 14:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:18:19 + 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=c951291c4a9bd957a86320faa40be840d0a3d0f8 --label arch=arm64 --label version=0.0.0 . 14:18:20 Sending build context to Docker daemon 6.585MB 14:18:20 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 14:18:20 Step 2/26 : FROM ${BASE} AS builder 14:18:20 ---> af8c739786f9 14:18:20 Step 3/26 : ARG MAKE="make build" 14:18:20 ---> Running in baf1212202d4 14:18:20 Removing intermediate container baf1212202d4 14:18:20 ---> 3b885bea2069 14:18:20 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:18:20 ---> Running in dff0eb0f64e0 14:18:21 Removing intermediate container dff0eb0f64e0 14:18:21 ---> 6bf8362f00a6 14:18:21 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 14:18:21 ---> Running in cddfdce69d69 14:18:21 Removing intermediate container cddfdce69d69 14:18:21 ---> 963946563586 14:18:21 Step 6/26 : LABEL Name=edgex-device-onvif-camera 14:18:21 ---> Running in 2a26f3db6076 14:18:21 Removing intermediate container 2a26f3db6076 14:18:21 ---> fd5a0aa6420c 14:18:21 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:18:21 ---> Running in 950fba70332f 14:18:23 Removing intermediate container 950fba70332f 14:18:23 ---> 87dd09332315 14:18:23 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:18:23 ---> Running in a2d82d2f1b67 14:18:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:18:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:18:26 OK: 221 MiB in 51 packages 14:18:27 Removing intermediate container a2d82d2f1b67 14:18:27 ---> 88b8352e81c5 14:18:27 Step 9/26 : WORKDIR /device-onvif-camera 14:18:27 ---> Running in a6dd87ef053f 14:18:27 Removing intermediate container a6dd87ef053f 14:18:27 ---> a89d05123b3b 14:18:27 Step 10/26 : COPY go.mod vendor* ./ 14:18:28 ---> e85b816518ae 14:18:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:18:28 ---> Running in 9baaf3b1b05f 14:18:30 Removing intermediate container 9baaf3b1b05f 14:18:30 ---> ca238544db6d 14:18:30 Step 12/26 : COPY . . 14:18:31 ---> d44eb16d6858 14:18:31 Step 13/26 : RUN ${MAKE} 14:18:31 ---> Running in ac526a850784 14:18:32 CGO_ENABLED=1 GO111MODULE=on go build -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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 14:20:39 Removing intermediate container ac526a850784 14:20:39 ---> e453068f18ae 14:20:39 Step 14/26 : FROM alpine:3.15 14:20:39 3.15: Pulling from library/alpine 14:20:39 9981e73032c8: Pulling fs layer 14:20:39 9981e73032c8: Verifying Checksum 14:20:39 9981e73032c8: Download complete 14:20:39 9981e73032c8: Pull complete 14:20:39 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 14:20:39 Status: Downloaded newer image for alpine:3.15 14:20:39 ---> 3fb3c9af89a9 14:20:39 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 14:20:39 ---> Running in 161fb8ba870a 14:20:39 Removing intermediate container 161fb8ba870a 14:20:39 ---> 19e7748b2be7 14:20:39 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 14:20:39 ---> Running in 143a9b3c17db 14:20:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:20:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:20:41 (1/6) Installing dumb-init (1.2.5-r1) 14:20:41 (2/6) Installing libgcc (10.3.1_git20211027-r0) 14:20:41 (3/6) Installing libsodium (1.0.18-r0) 14:20:41 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 14:20:41 (5/6) Installing libzmq (4.3.4-r0) 14:20:41 (6/6) Installing zeromq (4.3.4-r0) 14:20:41 Executing busybox-1.34.1-r5.trigger 14:20:41 OK: 8 MiB in 20 packages 14:20:42 Removing intermediate container 143a9b3c17db 14:20:42 ---> d0431b4ec350 14:20:42 Step 17/26 : WORKDIR / 14:20:42 ---> Running in fcdf2a525827 14:20:42 Removing intermediate container fcdf2a525827 14:20:42 ---> 9bcc9429fd9d 14:20:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 14:20:44 ---> f815ab59cb60 14:20:44 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 14:20:44 ---> 9e53dd6a9f23 14:20:44 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 14:20:45 ---> db57806cb88f 14:20:45 Step 21/26 : EXPOSE 59984 14:20:45 ---> Running in bf65017e2ee1 14:20:45 Removing intermediate container bf65017e2ee1 14:20:45 ---> 07c7a11a6fb9 14:20:45 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 14:20:45 ---> Running in 3bef56d89fff 14:20:45 Removing intermediate container 3bef56d89fff 14:20:45 ---> 5007550e8b1a 14:20:45 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:20:45 ---> Running in 346cf2c74d9e 14:20:46 Removing intermediate container 346cf2c74d9e 14:20:46 ---> ae8f7c5f6a56 14:20:46 Step 24/26 : LABEL arch=arm64 14:20:46 ---> Running in 89c15258f827 14:20:46 Removing intermediate container 89c15258f827 14:20:46 ---> 476bf00308fe 14:20:46 Step 25/26 : LABEL git_sha=c951291c4a9bd957a86320faa40be840d0a3d0f8 14:20:46 ---> Running in b3eb0860b588 14:20:47 Removing intermediate container b3eb0860b588 14:20:47 ---> 550d95beff39 14:20:47 Step 26/26 : LABEL version=0.0.0 14:20:47 ---> Running in 4821d730aade 14:20:47 Removing intermediate container 4821d730aade 14:20:47 ---> 9814e5d3f610 14:20:47 [Warning] One or more build-args [ARCH] were not consumed 14:20:47 Successfully built 9814e5d3f610 14:20:47 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 14:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:20:48 14:20:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:20:48 arm64: Pulling from edgex-lftools-log-publisher 14:20:48 8998bd30e6a1: Pulling fs layer 14:20:48 04944245beec: Pulling fs layer 14:20:48 699f458cf7ca: Pulling fs layer 14:20:48 765212b225bb: Pulling fs layer 14:20:48 f23df028b6ca: Pulling fs layer 14:20:48 d65c8cfc05b1: Pulling fs layer 14:20:48 2437ff75d9bd: Pulling fs layer 14:20:48 765212b225bb: Waiting 14:20:48 f23df028b6ca: Waiting 14:20:48 d65c8cfc05b1: Waiting 14:20:48 2437ff75d9bd: Waiting 14:20:48 04944245beec: Verifying Checksum 14:20:48 04944245beec: Download complete 14:20:48 765212b225bb: Verifying Checksum 14:20:48 765212b225bb: Download complete 14:20:48 f23df028b6ca: Verifying Checksum 14:20:48 f23df028b6ca: Download complete 14:20:48 d65c8cfc05b1: Verifying Checksum 14:20:48 d65c8cfc05b1: Download complete 14:20:48 699f458cf7ca: Verifying Checksum 14:20:48 699f458cf7ca: Download complete 14:20:49 8998bd30e6a1: Verifying Checksum 14:20:49 8998bd30e6a1: Download complete 14:20:51 2437ff75d9bd: Verifying Checksum 14:20:51 2437ff75d9bd: Download complete 14:20:53 8998bd30e6a1: Pull complete 14:20:54 04944245beec: Pull complete 14:20:55 699f458cf7ca: Pull complete 14:20:55 765212b225bb: Pull complete 14:20:56 f23df028b6ca: Pull complete 14:20:56 d65c8cfc05b1: Pull complete 14:21:11 2437ff75d9bd: Pull complete 14:21:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:21:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:21:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:21:12 prd-ubuntu20.04-docker-arm64-4c-16g-19943 does not seem to be running inside a container 14:21:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:21:14 $ docker top a27653e02d49b1b1e6d3d42f7d171004e66794a25e70dab9444d4fd48fb0fba3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:21:15 ---> job-cost.sh 14:21:15 lf-activate-venv: SKIPPING 14:21:15 INFO: No Stack... 14:21:16 INFO: Retrieving Pricing Info for: v3-standard-4 14:21:16 INFO: Archiving Costs [Pipeline] sh 14:21:17 + cat /w/workspace/device-onvif-camera/8/archives/cost.csv 14:21:17 + cut -d, -f6 [Pipeline] lock 14:21:17 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-8-stack-cost] 14:21:17 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-8-stack-cost] did not exist. Created. 14:21:17 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:21:18 /w/workspace/device-onvif-camera/8@tmp/durable-bf0e4c87/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:21:18 + echo total: 0.10999999940395355 [Pipeline] stash 14:21:18 Warning: overwriting stash ‘stack-cost’ 14:21:18 Stashed 1 file(s) [Pipeline] } 14:21:19 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-8-stack-cost] [Pipeline] // lock [Pipeline] } 14:21:19 $ docker stop --time=1 a27653e02d49b1b1e6d3d42f7d171004e66794a25e70dab9444d4fd48fb0fba3 14:21:20 $ docker rm -f a27653e02d49b1b1e6d3d42f7d171004e66794a25e70dab9444d4fd48fb0fba3 [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 14:21:20 provisioning config files... 14:21:21 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config6632591825723186211tmp [Pipeline] { [Pipeline] sh 14:21:21 + set +x 14:21:21 + + curl -s https://codecov.io/bash 14:21:21 bash -s -- 14:21:21 14:21:21 _____ _ 14:21:21 / ____| | | 14:21:21 | | ___ __| | ___ ___ _____ __ 14:21:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:21:21 | |___| (_) | (_| | __/ (_| (_) \ V / 14:21:21 \_____\___/ \__,_|\___|\___\___/ \_/ 14:21:21 Bash-1.0.6 14:21:21 14:21:21 14:21:21 ==> git version 2.25.1 found 14:21:21 ==> 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 14:21:21 Release-Date: 2020-01-08 14:21:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:21:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:21:21 ==> Jenkins CI detected. 14:21:21 current dir:  /w/workspace/undry_device-onvif-camera_PR-103 14:21:21 project root: . 14:21:21 --> token set from env 14:21:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:21:21 ==> Running gcov in . (disable via -X gcov) 14:21:21 ==> Python coveragepy not found 14:21:21 ==> Searching for coverage reports in: 14:21:21 + . 14:21:21 -> Found 1 reports 14:21:21 ==> Detecting git/mercurial file structure 14:21:21 ==> Reading reports 14:21:21 + ./coverage.out bytes=70262 14:21:21 ==> Appending adjustments 14:21:21 https://docs.codecov.io/docs/fixing-reports 14:21:21 + Found adjustments 14:21:21 ==> Gzipping contents 14:21:21 12K /tmp/codecov.z9uIrv.gz 14:21:21 ==> Uploading reports 14:21:21 url: https://codecov.io 14:21:21 query: branch=PR-103&commit=6da1d7c0d649491e94c9a9cd5c90b367c30d2086&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= 14:21:21 -> Pinging Codecov 14:21:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-103&commit=6da1d7c0d649491e94c9a9cd5c90b367c30d2086&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= 14:21:22 -> Uploading to 14:21:22 https://storage.googleapis.com/codecov/v4/raw/2022-07-14/F29A59C45E3A92E06B3E522C9905F8EF/6da1d7c0d649491e94c9a9cd5c90b367c30d2086/0755b681-e8ff-4d40-8e95-e64b342c9c6d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220714%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220714T142121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89b8cd84299ab7661b8f4adeb34d4b1c6904426feb8f050a1c180cded6ea7079 14:21:22 % Total % Received % Xferd Average Speed Time Time Time Current 14:21:22 Dload Upload Total Spent Left Speed 14:21:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9527 0 0 100 9527 0 38108 --:--:-- --:--:-- --:--:-- 38108 14:21:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/6da1d7c0d649491e94c9a9cd5c90b367c30d2086 [Pipeline] } 14:21:22 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 14:21:22 + [ -d /w/workspace/undry_device-onvif-camera_PR-103/archives ] 14:21:22 + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives 14:21:22 total 16 14:21:22 drwxr-xr-x 3 root root 4096 Jul 14 14:13 . 14:21:22 drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 14:13 .. 14:21:22 drwxr-xr-x 2 root root 4096 Jul 14 14:13 cost 14:21:22 -rw-r--r-- 1 root root 90 Jul 14 14:13 cost.csv 14:21:22 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-103/archives 14:21:22 + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives 14:21:22 total 16 14:21:22 drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 14:13 . 14:21:22 drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 14:13 .. 14:21:22 drwxr-xr-x 2 jenkins jenkins 4096 Jul 14 14:13 cost 14:21:22 -rw-r--r-- 1 jenkins jenkins 90 Jul 14 14:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:21:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:21:23 ---> package-listing.sh 14:21:23 ++ tr '[:upper:]' '[:lower:]' 14:21:23 ++ facter osfamily 14:21:24 + OS_FAMILY=debian 14:21:24 + workspace=/w/workspace/undry_device-onvif-camera_PR-103 14:21:24 + START_PACKAGES=/tmp/packages_start.txt 14:21:24 + END_PACKAGES=/tmp/packages_end.txt 14:21:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:21:24 + PACKAGES=/tmp/packages_start.txt 14:21:24 + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' 14:21:24 + PACKAGES=/tmp/packages_end.txt 14:21:24 + case "${OS_FAMILY}" in 14:21:24 + dpkg -l 14:21:24 + grep '^ii' 14:21:24 + '[' -f /tmp/packages_start.txt ']' 14:21:24 + '[' -f /tmp/packages_end.txt ']' 14:21:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:21:24 + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' 14:21:24 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-103/archives/ 14:21:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-103/archives/ [Pipeline] echo 14:21:24 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-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:21:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:21:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:21:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:21:25 prd-ubuntu20.04-docker-8c-8g-19942 does not seem to be running inside a container 14:21:25 $ 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-103/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-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 14:21:25 $ docker top 35201cf7ea9f2d63e8e7feb737c1d2a728005c4122f8ebbf8d033454437da3f8 -eo pid,comm [Pipeline] { [Pipeline] sh 14:21:25 + touch /tmp/pre-build-complete [Pipeline] sh 14:21:26 + mkdir -p /var/log/sysstat [Pipeline] sh 14:21:26 + ls /var/log/sa-host 14:21:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:21:26 provisioning config files... 14:21:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config3904813779233369207tmp [Pipeline] { [Pipeline] echo 14:21:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:21:26 ---> create-netrc.sh [Pipeline] } 14:21:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:21:26 ---> python-tools-install.sh [Pipeline] echo 14:21:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:21:27 ---> sudo-logs.sh 14:21:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:21:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:21:27 ---> job-cost.sh 14:21:27 lf-activate-venv: SKIPPING 14:21:27 DEBUG: total: 0.2199999988079071 14:21:27 INFO: Retrieving Stack Cost... 14:21:27 INFO: Retrieving Pricing Info for: v3-standard-8 14:21:28 INFO: Archiving Costs [Pipeline] echo 14:21:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:21:28 ---> logs-deploy.sh 14:21:28 lf-activate-venv: SKIPPING 14:21:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-103/8 14:21:28 INFO: archiving workspace using pattern(s): 14:21:29 Archives upload complete. 14:21:29 INFO: archiving logs to Nexus 14:21:30 ---> uname -a: 14:21:30 Linux prd-ubuntu20-04-docker-8c-8g-19942 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 14:21:30 14:21:30 14:21:30 ---> lscpu: 14:21:30 Architecture: x86_64 14:21:30 CPU op-mode(s): 32-bit, 64-bit 14:21:30 Byte Order: Little Endian 14:21:30 Address sizes: 40 bits physical, 48 bits virtual 14:21:30 CPU(s): 8 14:21:30 On-line CPU(s) list: 0-7 14:21:30 Thread(s) per core: 1 14:21:30 Core(s) per socket: 1 14:21:30 Socket(s): 8 14:21:30 NUMA node(s): 1 14:21:30 Vendor ID: AuthenticAMD 14:21:30 CPU family: 23 14:21:30 Model: 49 14:21:30 Model name: AMD EPYC-Rome Processor 14:21:30 Stepping: 0 14:21:30 CPU MHz: 2799.994 14:21:30 BogoMIPS: 5599.98 14:21:30 Virtualization: AMD-V 14:21:30 Hypervisor vendor: KVM 14:21:30 Virtualization type: full 14:21:30 L1d cache: 256 KiB 14:21:30 L1i cache: 256 KiB 14:21:30 L2 cache: 4 MiB 14:21:30 L3 cache: 128 MiB 14:21:30 NUMA node0 CPU(s): 0-7 14:21:30 Vulnerability Itlb multihit: Not affected 14:21:30 Vulnerability L1tf: Not affected 14:21:30 Vulnerability Mds: Not affected 14:21:30 Vulnerability Meltdown: Not affected 14:21:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:21:30 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 14:21:30 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 14:21:30 Vulnerability Srbds: Not affected 14:21:30 Vulnerability Tsx async abort: Not affected 14:21:30 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 14:21:30 14:21:30 14:21:30 ---> nproc: 14:21:30 8 14:21:30 14:21:30 14:21:30 ---> df -h: 14:21:30 Filesystem Size Used Avail Use% Mounted on 14:21:30 overlay 155G 11G 145G 7% / 14:21:30 tmpfs 64M 0 64M 0% /dev 14:21:30 tmpfs 16G 0 16G 0% /sys/fs/cgroup 14:21:30 shm 64M 0 64M 0% /dev/shm 14:21:30 /dev/vda1 155G 11G 145G 7% /facter-os 14:21:30 14:21:30 14:21:30 ---> sar -b -r -n DEV: 14:21:30 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19942) 07/14/22 _x86_64_ (8 CPU) 14:21:30 14:21:30 14:11:00 LINUX RESTART (8 CPU) 14:21:30 14:21:30 14:12:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:21:30 14:13:01 161.14 0.67 160.47 0.00 8.27 57538.94 0.00 14:21:30 14:14:01 182.04 0.05 181.99 0.00 1.87 41145.68 0.00 14:21:30 14:15:01 13.71 0.00 13.71 0.00 0.00 482.26 0.00 14:21:30 14:16:01 2.40 0.73 1.67 0.00 28.80 19.86 0.00 14:21:30 14:17:01 2.35 0.88 1.47 0.00 21.86 18.26 0.00 14:21:30 14:18:01 1.58 0.00 1.58 0.00 0.00 17.73 0.00 14:21:30 14:19:01 0.93 0.00 0.93 0.00 0.00 11.60 0.00 14:21:30 14:20:01 1.62 0.00 1.62 0.00 0.00 18.53 0.00 14:21:30 14:21:01 0.98 0.00 0.98 0.00 0.00 11.33 0.00 14:21:30 Average: 40.75 0.26 40.49 0.00 6.75 11028.75 0.00 14:21:30 14:21:30 14:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:21:30 14:13:01 28255096 31757988 535364 1.63 164380 3523264 2225024 6.56 1320900 2832884 148024 14:21:30 14:14:01 27663984 31773248 522012 1.59 176748 4082848 1925348 5.67 1354368 3358072 160 14:21:30 14:15:01 27663020 31773632 521348 1.59 177964 4082868 1878716 5.54 1355488 3358092 12 14:21:30 14:16:01 27669108 31781564 513204 1.56 178000 4083728 1878716 5.54 1346768 3358772 84 14:21:30 14:17:01 27667604 31780972 513336 1.56 178048 4084384 1878716 5.54 1350720 3357812 12 14:21:30 14:18:01 27673512 31787052 507040 1.54 178084 4084388 1878716 5.54 1342224 3357796 16 14:21:30 14:19:01 27673228 31787224 507120 1.54 178108 4084392 1878716 5.54 1341892 3358168 12 14:21:30 14:20:01 27673472 31787484 506796 1.54 178136 4084400 1878716 5.54 1341604 3358172 8 14:21:30 14:21:01 27673668 31787824 506508 1.54 178164 4084400 1878716 5.54 1341460 3358316 8 14:21:30 Average: 27734744 31779665 514748 1.57 176404 4021630 1922376 5.67 1343936 3299787 16482 14:21:30 14:21:30 14:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:21:30 14:13:01 ens3 223.20 176.05 1118.79 78.51 0.00 0.00 0.00 0.00 14:21:30 14:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:21:30 14:13:01 vethd536fcc 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 14:21:30 14:13:01 docker0 122.75 157.09 9.68 1080.84 0.00 0.00 0.00 0.00 14:21:30 14:14:01 ens3 132.21 87.75 2678.38 19.18 0.00 0.00 0.00 0.00 14:21:30 14:14:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 14:21:30 14:14:01 docker0 11.35 15.63 0.67 94.70 0.00 0.00 0.00 0.00 14:21:30 14:15:01 ens3 164.18 115.08 101.65 142.32 0.00 0.00 0.00 0.00 14:21:30 14:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:21:30 14:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:21:30 14:16:01 ens3 1.92 1.27 1.68 2.57 0.00 0.00 0.00 0.00 14:21:30 14:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:21:30 14:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:21:30 14:17:01 ens3 15.81 8.75 13.24 3.58 0.00 0.00 0.00 0.00 14:21:30 14:17:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 14:21:30 14:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:21:30 14:18:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 14:21:30 14:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:21:30 14:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:21:30 14:19:01 ens3 2.73 2.45 3.72 0.16 0.00 0.00 0.00 0.00 14:21:30 14:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:21:30 14:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:21:30 14:20:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 14:21:30 14:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:21:30 14:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:21:30 14:21:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:21:30 14:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:21:30 14:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:21:30 Average: ens3 60.03 43.51 435.25 27.37 0.00 0.00 0.00 0.00 14:21:30 Average: lo 0.31 0.31 0.03 0.03 0.00 0.00 0.00 0.00 14:21:30 Average: docker0 14.90 19.19 1.15 130.61 0.00 0.00 0.00 0.00 14:21:30 14:21:30 14:21:30 ---> sar -P ALL: 14:21:30 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19942) 07/14/22 _x86_64_ (8 CPU) 14:21:30 14:21:30 14:11:00 LINUX RESTART (8 CPU) 14:21:30 14:21:30 14:12:01 CPU %user %nice %system %iowait %steal %idle 14:21:30 14:13:01 all 26.90 0.00 5.50 1.56 0.07 65.97 14:21:30 14:13:01 0 26.10 0.00 5.55 2.37 0.07 65.92 14:21:30 14:13:01 1 26.76 0.00 5.33 0.12 0.07 67.73 14:21:30 14:13:01 2 25.86 0.00 5.45 0.17 0.07 68.45 14:21:30 14:13:01 3 27.02 0.00 5.26 0.12 0.08 67.52 14:21:30 14:13:01 4 26.93 0.00 6.31 5.21 0.07 61.48 14:21:30 14:13:01 5 27.98 0.00 5.30 0.19 0.08 66.45 14:21:30 14:13:01 6 28.48 0.00 5.24 3.57 0.07 62.65 14:21:30 14:13:01 7 26.04 0.00 5.57 0.75 0.07 67.58 14:21:30 14:14:01 all 19.66 0.00 4.36 1.35 0.06 74.57 14:21:30 14:14:01 0 19.26 0.00 4.66 0.29 0.07 75.72 14:21:30 14:14:01 1 19.18 0.00 4.11 0.27 0.05 76.38 14:21:30 14:14:01 2 20.34 0.00 3.78 0.40 0.05 75.43 14:21:30 14:14:01 3 19.73 0.00 4.94 5.10 0.08 70.15 14:21:30 14:14:01 4 19.30 0.00 4.15 1.64 0.07 74.85 14:21:30 14:14:01 5 18.67 0.00 4.35 1.75 0.05 75.18 14:21:30 14:14:01 6 20.94 0.00 4.41 0.90 0.05 73.71 14:21:30 14:14:01 7 19.83 0.00 4.48 0.47 0.07 75.15 14:21:30 14:15:01 all 0.52 0.00 0.23 0.10 0.02 99.14 14:21:30 14:15:01 0 0.48 0.00 0.17 0.02 0.00 99.33 14:21:30 14:15:01 1 0.40 0.00 0.25 0.03 0.02 99.30 14:21:30 14:15:01 2 1.01 0.00 0.18 0.00 0.02 98.79 14:21:30 14:15:01 3 0.55 0.00 0.43 0.07 0.02 98.93 14:21:30 14:15:01 4 0.52 0.00 0.30 0.03 0.03 99.11 14:21:30 14:15:01 5 0.37 0.00 0.08 0.63 0.02 98.90 14:21:30 14:15:01 6 0.50 0.00 0.25 0.02 0.02 99.22 14:21:30 14:15:01 7 0.32 0.00 0.15 0.00 0.02 99.52 14:21:30 14:16:01 all 0.09 0.00 0.02 0.01 0.01 99.87 14:21:30 14:16:01 0 0.10 0.00 0.02 0.00 0.02 99.87 14:21:30 14:16:01 1 0.10 0.00 0.03 0.02 0.00 99.85 14:21:30 14:16:01 2 0.02 0.00 0.00 0.00 0.02 99.97 14:21:30 14:16:01 3 0.15 0.00 0.02 0.02 0.02 99.80 14:21:30 14:16:01 4 0.05 0.00 0.03 0.00 0.03 99.88 14:21:30 14:16:01 5 0.12 0.00 0.03 0.02 0.00 99.83 14:21:30 14:16:01 6 0.03 0.00 0.00 0.00 0.00 99.97 14:21:30 14:16:01 7 0.15 0.00 0.03 0.02 0.00 99.80 14:21:30 14:17:01 all 0.11 0.00 0.03 0.01 0.01 99.84 14:21:30 14:17:01 0 0.08 0.00 0.03 0.00 0.00 99.88 14:21:30 14:17:01 1 0.08 0.00 0.02 0.00 0.00 99.90 14:21:30 14:17:01 2 0.08 0.00 0.03 0.00 0.00 99.88 14:21:30 14:17:01 3 0.22 0.00 0.03 0.03 0.02 99.70 14:21:30 14:17:01 4 0.18 0.00 0.00 0.02 0.02 99.78 14:21:30 14:17:01 5 0.08 0.00 0.00 0.03 0.02 99.87 14:21:30 14:17:01 6 0.08 0.00 0.03 0.02 0.00 99.87 14:21:30 14:17:01 7 0.10 0.00 0.10 0.00 0.00 99.80 14:21:30 14:18:01 all 0.03 0.00 0.01 0.00 0.01 99.95 14:21:30 14:18:01 0 0.02 0.00 0.00 0.00 0.02 99.97 14:21:30 14:18:01 1 0.02 0.00 0.00 0.00 0.02 99.97 14:21:30 14:18:01 2 0.00 0.00 0.00 0.00 0.02 99.98 14:21:30 14:18:01 3 0.02 0.00 0.02 0.02 0.00 99.95 14:21:30 14:18:01 4 0.05 0.00 0.00 0.00 0.00 99.95 14:21:30 14:18:01 5 0.08 0.00 0.05 0.02 0.03 99.82 14:21:30 14:18:01 6 0.00 0.00 0.02 0.00 0.00 99.98 14:21:30 14:18:01 7 0.02 0.00 0.00 0.00 0.00 99.98 14:21:30 14:19:01 all 0.02 0.00 0.01 0.00 0.01 99.96 14:21:30 14:19:01 0 0.03 0.00 0.00 0.00 0.00 99.97 14:21:30 14:19:01 1 0.02 0.00 0.00 0.00 0.00 99.98 14:21:30 14:19:01 2 0.02 0.00 0.00 0.00 0.00 99.98 14:21:30 14:19:01 3 0.03 0.00 0.05 0.02 0.02 99.88 14:21:30 14:19:01 4 0.02 0.00 0.02 0.00 0.02 99.95 14:21:30 14:19:01 5 0.03 0.00 0.03 0.02 0.03 99.88 14:21:30 14:19:01 6 0.00 0.00 0.00 0.00 0.00 100.00 14:21:30 14:19:01 7 0.00 0.00 0.00 0.00 0.00 100.00 14:21:30 14:20:01 all 0.12 0.00 0.01 0.00 0.00 99.85 14:21:30 14:20:01 0 0.00 0.00 0.02 0.00 0.00 99.98 14:21:30 14:20:01 1 0.00 0.00 0.00 0.00 0.00 100.00 14:21:30 14:20:01 2 0.86 0.00 0.03 0.00 0.02 99.09 14:21:30 14:20:01 3 0.03 0.00 0.02 0.02 0.00 99.93 14:21:30 14:20:01 4 0.02 0.00 0.02 0.00 0.00 99.97 14:21:30 14:20:01 5 0.03 0.00 0.03 0.02 0.02 99.90 14:21:30 14:20:01 6 0.02 0.00 0.00 0.00 0.00 99.98 14:21:30 14:20:01 7 0.02 0.00 0.00 0.00 0.00 99.98 14:21:30 14:21:01 all 0.26 0.00 0.01 0.00 0.01 99.72 14:21:30 14:21:01 0 0.00 0.00 0.02 0.00 0.02 99.97 14:21:30 14:21:01 1 0.02 0.00 0.00 0.00 0.00 99.98 14:21:30 14:21:01 2 1.99 0.00 0.03 0.00 0.00 97.98 14:21:30 14:21:01 3 0.02 0.00 0.02 0.02 0.02 99.93 14:21:30 14:21:01 4 0.00 0.00 0.02 0.00 0.00 99.98 14:21:30 14:21:01 5 0.00 0.00 0.00 0.02 0.00 99.98 14:21:30 14:21:01 6 0.03 0.00 0.02 0.00 0.03 99.92 14:21:30 14:21:01 7 0.00 0.00 0.00 0.00 0.00 100.00 14:21:30 Average: all 5.26 0.00 1.12 0.34 0.02 93.26 14:21:30 Average: 0 5.09 0.00 1.16 0.29 0.02 93.44 14:21:30 Average: 1 5.15 0.00 1.08 0.05 0.02 93.71 14:21:30 Average: 2 5.55 0.00 1.05 0.06 0.02 93.31 14:21:30 Average: 3 5.26 0.00 1.19 0.60 0.03 92.93 14:21:30 Average: 4 5.18 0.00 1.19 0.76 0.03 92.85 14:21:30 Average: 5 5.23 0.00 1.09 0.30 0.03 93.36 14:21:30 Average: 6 5.51 0.00 1.10 0.50 0.02 92.87 14:21:30 Average: 7 5.10 0.00 1.14 0.14 0.02 93.61 14:21:30 14:21:30 14:21:30