Pull request #124 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 rather than f1970cd91205d8c0700b0775ec55305e4195f9fd Obtained Jenkinsfile from 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 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-ssh13855994525011906806.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-ssh11583711880302592832.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-124/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-124/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7050559244011165404.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-ssh3505479642255510236.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-124/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-124/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13498477218023634707.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22169 in /w/workspace/undry_device-onvif-camera_PR-124 [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-124 # 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 Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit f1970cd91205d8c0700b0775ec55305e4195f9fd Merge succeeded, producing 71e4120d322583a7a9a040b7e72b5135d5cd0239 Checking out Revision 71e4120d322583a7a9a040b7e72b5135d5cd0239 (PR-124) > 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/124/head:refs/remotes/origin/PR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1970cd91205d8c0700b0775ec55305e4195f9fd # 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71e4120d322583a7a9a040b7e72b5135d5cd0239 # timeout=10 Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:28:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:28:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:28:49 ========================================================= 22:28:49 EdgeX Global Pipelines Version Info 22:28:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 3751f40083781d82111786f3947a4224e20023b5 # timeout=10 22:28:50 ------------------- 22:28:50 stable info: 22:28:50 ------------------- 22:28:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:28:50 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 22:28:50 Message: update stable to v1.0.238 22:28:51 ------------------- 22:28:51 experimental info: 22:28:51 ------------------- 22:28:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:28:51 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 22:28:51 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71e4120d322583a7a9a040b7e72b5135d5cd0239 [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71e4120 [Pipeline] echo 22:28:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:51 provisioning config files... 22:28:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config7713690313210440751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:52 ---> docker-login.sh 22:28:52 nexus3.edgexfoundry.org:10001 22:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:52 Configure a credential helper to remove this warning. See 22:28:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:52 22:28:52 Login Succeeded 22:28:52 nexus3.edgexfoundry.org:10002 22:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:52 Configure a credential helper to remove this warning. See 22:28:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:52 22:28:52 Login Succeeded 22:28:52 nexus3.edgexfoundry.org:10003 22:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:52 Configure a credential helper to remove this warning. See 22:28:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:52 22:28:52 Login Succeeded 22:28:52 nexus3.edgexfoundry.org:10004 22:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:53 Configure a credential helper to remove this warning. See 22:28:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:53 22:28:53 Login Succeeded 22:28:53 docker.io 22:28:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:53 Configure a credential helper to remove this warning. See 22:28:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:53 22:28:53 Login Succeeded 22:28:53 ---> docker-login.sh ends [Pipeline] } 22:28:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:28:53 + git rev-list -1 --merges 71e4120d322583a7a9a040b7e72b5135d5cd0239~1..71e4120d322583a7a9a040b7e72b5135d5cd0239 [Pipeline] echo 22:28:53 -----------> git rev-list -1 --merges 71e4120d322583a7a9a040b7e72b5135d5cd0239~1..71e4120d322583a7a9a040b7e72b5135d5cd0239 71e4120d322583a7a9a040b7e72b5135d5cd0239 22:28:53 71e4120d322583a7a9a040b7e72b5135d5cd0239 [false] [Pipeline] sh 22:28:54 + git log --format=format:%s -1 71e4120d322583a7a9a040b7e72b5135d5cd0239 [Pipeline] echo 22:28:54 ========================================================= 22:28:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:28:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:54 + git log --format=format:%s -1 71e4120d322583a7a9a040b7e72b5135d5cd0239 [Pipeline] echo 22:28:54 [semverPrep] GIT_COMMIT: 71e4120d322583a7a9a040b7e72b5135d5cd0239, Commit Message: Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD [Pipeline] echo 22:28:54 [semverPrep] This is not a build commit. [Pipeline] sh 22:28:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:28:54 + grep -v github /etc/ssh/ssh_known_hosts 22:28:54 + [ -e /tmp/ssh_known_hosts ] 22:28:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:28:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:28:54 + sudo tee -a /etc/ssh/ssh_known_hosts 22:28:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:55 22:28:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:55 0.1.4: Pulling from edgex-devops/py-git-semver 22:28:55 b85a868b505f: Pulling fs layer 22:28:55 e2be974225ed: Pulling fs layer 22:28:55 339a4e72a1f5: Pulling fs layer 22:28:55 988bab9f4d93: Pulling fs layer 22:28:55 1469e6f7b9e6: Pulling fs layer 22:28:55 eaf3925da568: Pulling fs layer 22:28:55 bab4dde63d76: Pulling fs layer 22:28:55 bde34c3a00c8: Pulling fs layer 22:28:55 b352a97aabf1: Pulling fs layer 22:28:55 4872d77fe225: Pulling fs layer 22:28:55 5851b861e8e6: Pulling fs layer 22:28:55 988bab9f4d93: Waiting 22:28:55 1469e6f7b9e6: Waiting 22:28:55 eaf3925da568: Waiting 22:28:55 bab4dde63d76: Waiting 22:28:55 bde34c3a00c8: Waiting 22:28:55 5851b861e8e6: Waiting 22:28:55 b352a97aabf1: Waiting 22:28:55 4872d77fe225: Waiting 22:28:55 e2be974225ed: Download complete 22:28:55 988bab9f4d93: Verifying Checksum 22:28:55 988bab9f4d93: Download complete 22:28:55 1469e6f7b9e6: Verifying Checksum 22:28:55 1469e6f7b9e6: Download complete 22:28:55 eaf3925da568: Verifying Checksum 22:28:55 eaf3925da568: Download complete 22:28:55 339a4e72a1f5: Verifying Checksum 22:28:55 339a4e72a1f5: Download complete 22:28:55 bde34c3a00c8: Download complete 22:28:55 b352a97aabf1: Verifying Checksum 22:28:55 b352a97aabf1: Download complete 22:28:55 4872d77fe225: Verifying Checksum 22:28:55 4872d77fe225: Download complete 22:28:55 5851b861e8e6: Verifying Checksum 22:28:55 5851b861e8e6: Download complete 22:28:55 b85a868b505f: Verifying Checksum 22:28:55 b85a868b505f: Download complete 22:28:56 bab4dde63d76: Verifying Checksum 22:28:56 bab4dde63d76: Download complete 22:28:57 b85a868b505f: Pull complete 22:28:57 e2be974225ed: Pull complete 22:28:58 339a4e72a1f5: Pull complete 22:28:58 988bab9f4d93: Pull complete 22:28:58 1469e6f7b9e6: Pull complete 22:28:58 eaf3925da568: Pull complete 22:29:00 bab4dde63d76: Pull complete 22:29:00 bde34c3a00c8: Pull complete 22:29:00 b352a97aabf1: Pull complete 22:29:00 4872d77fe225: Pull complete 22:29:00 5851b861e8e6: Pull complete 22:29:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:29:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:29:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:00 prd-ubuntu20.04-docker-8c-8g-22169 does not seem to be running inside a container 22:29:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:29:02 $ docker top 93de666afe1c1b2a1a7d0b2b52bad1fbd1b21cf3c39efb7067be44ce7659c7dd -eo pid,comm 22:29:02 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). 22:29:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:29:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:29:02 [ssh-agent] Looking for ssh-agent implementation... 22:29:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:29:02 $ docker exec 93de666afe1c1b2a1a7d0b2b52bad1fbd1b21cf3c39efb7067be44ce7659c7dd ssh-agent 22:29:02 SSH_AUTH_SOCK=/tmp/ssh-5j5viclkXx11/agent.34 22:29:02 SSH_AGENT_PID=40 22:29:02 Running ssh-add (command line suppressed) 22:29:03 Identity added: /w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_5806147510731470865.key (/w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_5806147510731470865.key) 22:29:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:29:03 + git tag --points-at HEAD [Pipeline] } 22:29:03 $ docker exec --env ******** --env ******** 93de666afe1c1b2a1a7d0b2b52bad1fbd1b21cf3c39efb7067be44ce7659c7dd ssh-agent -k 22:29:03 unset SSH_AUTH_SOCK; 22:29:03 unset SSH_AGENT_PID; 22:29:03 echo Agent pid 40 killed; 22:29:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:29:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:29:03 [ssh-agent] Looking for ssh-agent implementation... 22:29:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:29:03 $ docker exec 93de666afe1c1b2a1a7d0b2b52bad1fbd1b21cf3c39efb7067be44ce7659c7dd ssh-agent 22:29:03 SSH_AUTH_SOCK=/tmp/ssh-oGQOcZCJtYCF/agent.72 22:29:03 SSH_AGENT_PID=79 22:29:03 Running ssh-add (command line suppressed) 22:29:03 Identity added: /w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_9184195265126073454.key (/w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_9184195265126073454.key) 22:29:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:29:04 + git semver init 22:29:04 2022-08-08 22:29:04,482 [run_init] DEBUG init version:0.0.0 force:False 22:29:04 2022-08-08 22:29:04,483 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-124/.semver 22:29:04 2022-08-08 22:29:04,483 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-124/.semver 22:29:04 2022-08-08 22:29:04,484 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-124/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-124, universal_newlines=False, shell=None, istream=None) 22:29:05 2022-08-08 22:29:05,234 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-124/.git/info/exclude 22:29:05 2022-08-08 22:29:05,235 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 with force:False 22:29:05 2022-08-08 22:29:05,235 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 22:29:05 2022-08-08 22:29:05,239 [execute] INFO git cat-file --batch-check 22:29:05 2022-08-08 22:29:05,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-124/.semver, universal_newlines=False, shell=None, istream=) 22:29:05 2022-08-08 22:29:05,245 [execute] INFO git cat-file --batch 22:29:05 2022-08-08 22:29:05,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-124/.semver, universal_newlines=False, shell=None, istream=) 22:29:05 2022-08-08 22:29:05,251 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 22:29:05 0.0.0 [Pipeline] } 22:29:05 $ docker exec --env ******** --env ******** 93de666afe1c1b2a1a7d0b2b52bad1fbd1b21cf3c39efb7067be44ce7659c7dd ssh-agent -k 22:29:05 unset SSH_AUTH_SOCK; 22:29:05 unset SSH_AGENT_PID; 22:29:05 echo Agent pid 79 killed; 22:29:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:29:05 + git semver [Pipeline] } 22:29:06 $ docker stop --time=1 93de666afe1c1b2a1a7d0b2b52bad1fbd1b21cf3c39efb7067be44ce7659c7dd 22:29:07 $ docker rm -f 93de666afe1c1b2a1a7d0b2b52bad1fbd1b21cf3c39efb7067be44ce7659c7dd [Pipeline] // withDockerContainer [Pipeline] sh 22:29:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:29:08 Stashed 1 file(s) [Pipeline] echo 22:29:08 [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 22:29:08 provisioning config files... 22:29:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config585808905208745875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:29:08 ---> docker-login.sh 22:29:08 nexus3.edgexfoundry.org:10001 22:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:08 Configure a credential helper to remove this warning. See 22:29:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:08 22:29:08 Login Succeeded 22:29:08 nexus3.edgexfoundry.org:10002 22:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:08 Configure a credential helper to remove this warning. See 22:29:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:08 22:29:08 Login Succeeded 22:29:08 nexus3.edgexfoundry.org:10003 22:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:08 Configure a credential helper to remove this warning. See 22:29:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:08 22:29:08 Login Succeeded 22:29:08 nexus3.edgexfoundry.org:10004 22:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:09 Configure a credential helper to remove this warning. See 22:29:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:09 22:29:09 Login Succeeded 22:29:09 docker.io 22:29:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:09 Configure a credential helper to remove this warning. See 22:29:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:09 22:29:09 Login Succeeded 22:29:09 ---> docker-login.sh ends [Pipeline] } 22:29:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:29:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:29:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:29:09 ========================================================= 22:29:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:29:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:09 + 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 . 22:29:09 Sending build context to Docker daemon 20.22MB 22:29:09 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:29:09 Step 2/13 : FROM ${BASE} AS builder 22:29:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:29:10 2408cc74d12b: Pulling fs layer 22:29:10 ea60b727a1ce: Pulling fs layer 22:29:10 30c4a7721957: Pulling fs layer 22:29:10 370296b7ddb6: Pulling fs layer 22:29:10 7c6cee850709: Pulling fs layer 22:29:10 370296b7ddb6: Waiting 22:29:10 39a5fcdaea64: Pulling fs layer 22:29:10 7c6cee850709: Waiting 22:29:10 d94ebbe4e438: Pulling fs layer 22:29:10 bcfd1f05c69d: Pulling fs layer 22:29:10 59ccb84bbe0f: Pulling fs layer 22:29:10 d94ebbe4e438: Waiting 22:29:10 39a5fcdaea64: Waiting 22:29:10 bcfd1f05c69d: Waiting 22:29:10 59ccb84bbe0f: Waiting 22:29:10 30c4a7721957: Verifying Checksum 22:29:10 30c4a7721957: Download complete 22:29:10 ea60b727a1ce: Download complete 22:29:10 7c6cee850709: Verifying Checksum 22:29:10 7c6cee850709: Download complete 22:29:10 39a5fcdaea64: Verifying Checksum 22:29:10 39a5fcdaea64: Download complete 22:29:10 2408cc74d12b: Verifying Checksum 22:29:10 2408cc74d12b: Download complete 22:29:10 d94ebbe4e438: Download complete 22:29:10 2408cc74d12b: Pull complete 22:29:10 ea60b727a1ce: Pull complete 22:29:10 30c4a7721957: Pull complete 22:29:10 59ccb84bbe0f: Verifying Checksum 22:29:10 59ccb84bbe0f: Download complete 22:29:11 bcfd1f05c69d: Verifying Checksum 22:29:11 bcfd1f05c69d: Download complete 22:29:11 370296b7ddb6: Verifying Checksum 22:29:11 370296b7ddb6: Download complete 22:29:15 370296b7ddb6: Pull complete 22:29:15 7c6cee850709: Pull complete 22:29:15 39a5fcdaea64: Pull complete 22:29:15 d94ebbe4e438: Pull complete 22:29:17 bcfd1f05c69d: Pull complete 22:29:18 59ccb84bbe0f: Pull complete 22:29:18 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:29:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:29:18 ---> a4fb48ad2a94 22:29:18 Step 3/13 : ARG MAKE="make build" 22:29:20 ---> Running in 4aafc8427bed 22:29:20 Removing intermediate container 4aafc8427bed 22:29:20 ---> cb81006771b3 22:29:20 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:29:20 ---> Running in 2bf7c60d6373 22:29:20 Removing intermediate container 2bf7c60d6373 22:29:20 ---> d59ef6e99594 22:29:20 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 22:29:20 ---> Running in be4e843cb23d 22:29:20 Removing intermediate container be4e843cb23d 22:29:20 ---> 169c4818b7f8 22:29:20 Step 6/13 : LABEL Name=edgex-device-onvif-camera 22:29:20 ---> Running in 28ecfeae6b76 22:29:20 Removing intermediate container 28ecfeae6b76 22:29:20 ---> e996ee2772eb 22:29:20 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:29:20 ---> Running in 87e747afe2f1 22:29:21 Removing intermediate container 87e747afe2f1 22:29:21 ---> 08fbc0d13686 22:29:21 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:29:21 ---> Running in e7048a99e5a3 22:29:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:29:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:29:23 OK: 211 MiB in 51 packages 22:29:23 Still waiting to schedule task 22:29:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:29:23 Removing intermediate container e7048a99e5a3 22:29:23 ---> e2bbf897d72b 22:29:23 Step 9/13 : WORKDIR /device-onvif-camera 22:29:23 ---> Running in 362e898754a7 22:29:23 Removing intermediate container 362e898754a7 22:29:23 ---> 7b777d13f0da 22:29:23 Step 10/13 : COPY go.mod vendor* ./ 22:29:23 ---> 3f07dd8bb591 22:29:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:23 ---> Running in 7d6f1a328b8c 22:29:41 Removing intermediate container 7d6f1a328b8c 22:29:41 ---> d2ef0a96315e 22:29:41 Step 12/13 : COPY . . 22:29:41 ---> ab721a0116cb 22:29:41 Step 13/13 : RUN ${MAKE} 22:29:41 ---> Running in 76e6009d6b72 22:29:41 noop 22:29:41 Removing intermediate container 76e6009d6b72 22:29:41 ---> 3db382a6d201 22:29:41 Successfully built 3db382a6d201 22:29:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:42 + docker inspect -f . ci-base-image-x86_64 22:29:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:42 prd-ubuntu20.04-docker-8c-8g-22169 does not seem to be running inside a container 22:29:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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 ******** ci-base-image-x86_64 cat 22:29:42 $ docker top 38ec12d47cad5f7e49e885fb536affa2c5fa9054665087c4fdfff8877c5423d8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:42 + go version 22:29:42 go version go1.18.3 linux/amd64 [Pipeline] } 22:29:42 $ docker stop --time=1 38ec12d47cad5f7e49e885fb536affa2c5fa9054665087c4fdfff8877c5423d8 22:29:44 $ docker rm -f 38ec12d47cad5f7e49e885fb536affa2c5fa9054665087c4fdfff8877c5423d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:44 + docker inspect -f . ci-base-image-x86_64 22:29:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:44 prd-ubuntu20.04-docker-8c-8g-22169 does not seem to be running inside a container 22:29:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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 ******** ci-base-image-x86_64 cat 22:29:45 $ docker top ca98c29e31fde963059692b5d96d69c5fb6a62b4777370ceccc44389e45a8fb3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:45 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-124 [Pipeline] fileExists [Pipeline] sh 22:29:45 + make test 22:29:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:29:46 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:29:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:29:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.026s coverage: 10.6% of statements 22:29:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:30:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.040s coverage: 13.8% of statements 22:30:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:30:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:30:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:30:11 ./bin/test-attribution-txt.sh [Pipeline] echo 22:30:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:30:12 $ docker stop --time=1 ca98c29e31fde963059692b5d96d69c5fb6a62b4777370ceccc44389e45a8fb3 22:30:14 $ docker rm -f ca98c29e31fde963059692b5d96d69c5fb6a62b4777370ceccc44389e45a8fb3 [Pipeline] // withDockerContainer [Pipeline] sh 22:30:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:30:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:30:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:30:15 + ls -al . 22:30:15 total 232 22:30:15 drwxrwxr-x 10 jenkins jenkins 4096 Aug 8 22:30 . 22:30:15 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 22:28 .. 22:30:15 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 22:30 .git 22:30:15 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 22:28 .github 22:30:15 -rw-rw-r-- 1 jenkins jenkins 418 Aug 8 22:28 .gitignore 22:30:15 -rw-rw-r-- 1 jenkins jenkins 42 Aug 8 22:28 .golangci.yml 22:30:15 drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 22:29 .semver 22:30:15 -rw-rw-r-- 1 jenkins jenkins 9102 Aug 8 22:28 Attribution.txt 22:30:15 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 8 22:28 CHANGELOG.md 22:30:15 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 8 22:28 Dockerfile 22:30:15 -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 22:28 GOVERNANCE.md 22:30:15 -rw-rw-r-- 1 jenkins jenkins 660 Aug 8 22:28 Jenkinsfile 22:30:15 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 8 22:28 LICENSE 22:30:15 -rw-rw-r-- 1 jenkins jenkins 2615 Aug 8 22:28 Makefile 22:30:15 -rw-rw-r-- 1 jenkins jenkins 625 Aug 8 22:28 OWNERS.md 22:30:15 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 8 22:28 README.md 22:30:15 -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 22:29 VERSION 22:30:15 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 22:28 bin 22:30:15 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 22:28 cmd 22:30:15 -rw-r--r-- 1 jenkins jenkins 76856 Aug 8 22:30 coverage.out 22:30:15 drwxrwxr-x 5 jenkins jenkins 4096 Aug 8 22:28 doc 22:30:15 -rw-rw-r-- 1 jenkins jenkins 3496 Aug 8 22:28 go.mod 22:30:15 -rw-rw-r-- 1 jenkins jenkins 37305 Aug 8 22:28 go.sum 22:30:15 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 22:28 internal 22:30:15 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 22:28 snap 22:30:15 -rw-rw-r-- 1 jenkins jenkins 236 Aug 8 22:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:15 + 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=71e4120d322583a7a9a040b7e72b5135d5cd0239 --label arch=amd64 --label version=0.0.0 . 22:30:15 Sending build context to Docker daemon 20.3MB 22:30:15 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 22:30:15 Step 2/26 : FROM ${BASE} AS builder 22:30:15 ---> 3db382a6d201 22:30:15 Step 3/26 : ARG MAKE="make build" 22:30:15 ---> Running in e89061d08471 22:30:15 Removing intermediate container e89061d08471 22:30:15 ---> 4513bf9a847b 22:30:15 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:30:15 ---> Running in df6bc0e7a13b 22:30:15 Removing intermediate container df6bc0e7a13b 22:30:15 ---> ec896a20d305 22:30:15 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 22:30:16 ---> Running in c8bf19fa1baa 22:30:16 Removing intermediate container c8bf19fa1baa 22:30:16 ---> 43f0a6df13f2 22:30:16 Step 6/26 : LABEL Name=edgex-device-onvif-camera 22:30:16 ---> Running in 23adcf17cced 22:30:16 Removing intermediate container 23adcf17cced 22:30:16 ---> 86f6c7de056b 22:30:16 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:30:16 ---> Running in cc56bd75ac3a 22:30:17 Removing intermediate container cc56bd75ac3a 22:30:17 ---> ded4e46534f1 22:30:17 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:30:17 ---> Running in e43809a07750 22:30:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:30:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:30:18 OK: 211 MiB in 51 packages 22:30:18 Removing intermediate container e43809a07750 22:30:18 ---> c8d25b692ab9 22:30:18 Step 9/26 : WORKDIR /device-onvif-camera 22:30:18 ---> Running in 563e85039d02 22:30:18 Removing intermediate container 563e85039d02 22:30:18 ---> 9afda806d054 22:30:18 Step 10/26 : COPY go.mod vendor* ./ 22:30:18 ---> b1e6cecc0ff8 22:30:18 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:30:18 ---> Running in dc81b53915d7 22:30:19 Removing intermediate container dc81b53915d7 22:30:19 ---> 7c950c3c9a64 22:30:19 Step 12/26 : COPY . . 22:30:20 ---> 2ab83e2dcc01 22:30:20 Step 13/26 : RUN ${MAKE} 22:30:20 ---> Running in 1428051e2fd5 22:30:20 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 22:30:42 Removing intermediate container 1428051e2fd5 22:30:42 ---> f61a5d74fb51 22:30:42 Step 14/26 : FROM alpine:3.15 22:30:42 3.15: Pulling from library/alpine 22:30:42 ab6db1bc80d0: Pulling fs layer 22:30:42 ab6db1bc80d0: Verifying Checksum 22:30:42 ab6db1bc80d0: Download complete 22:30:42 ab6db1bc80d0: Pull complete 22:30:42 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 22:30:42 Status: Downloaded newer image for alpine:3.15 22:30:42 ---> 2720e26172a0 22:30:42 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:30:42 ---> Running in ebb7bfd83713 22:30:42 Removing intermediate container ebb7bfd83713 22:30:42 ---> 14d2286e8888 22:30:42 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 22:30:42 ---> Running in d18a896020cf 22:30:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:30:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:30:42 (1/6) Installing dumb-init (1.2.5-r1) 22:30:42 (2/6) Installing libgcc (10.3.1_git20211027-r0) 22:30:42 (3/6) Installing libsodium (1.0.18-r0) 22:30:42 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 22:30:42 (5/6) Installing libzmq (4.3.4-r0) 22:30:42 (6/6) Installing zeromq (4.3.4-r0) 22:30:42 Executing busybox-1.34.1-r7.trigger 22:30:42 OK: 8 MiB in 20 packages 22:30:42 Removing intermediate container d18a896020cf 22:30:42 ---> d8b75d26e67d 22:30:42 Step 17/26 : WORKDIR / 22:30:42 ---> Running in 9ecc9b108b53 22:30:42 Removing intermediate container 9ecc9b108b53 22:30:42 ---> cef4a3e6c129 22:30:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:30:42 ---> a79e334efedf 22:30:42 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:30:43 ---> 02f993f3feb7 22:30:43 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:30:43 ---> d163cf86821b 22:30:43 Step 21/26 : EXPOSE 59984 22:30:43 ---> Running in 9e3908be0ed3 22:30:43 Removing intermediate container 9e3908be0ed3 22:30:43 ---> ba511088340b 22:30:43 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:30:43 ---> Running in 3c3838ddaa8d 22:30:43 Removing intermediate container 3c3838ddaa8d 22:30:43 ---> 3b80fd062b90 22:30:43 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:30:43 ---> Running in 6d96fc0f0b94 22:30:43 Removing intermediate container 6d96fc0f0b94 22:30:43 ---> 6d43d6015836 22:30:43 Step 24/26 : LABEL arch=amd64 22:30:43 ---> Running in a3d03b69343f 22:30:43 Removing intermediate container a3d03b69343f 22:30:43 ---> 853fbf83b10a 22:30:43 Step 25/26 : LABEL git_sha=71e4120d322583a7a9a040b7e72b5135d5cd0239 22:30:43 ---> Running in 3e293e8ff4bd 22:30:43 Removing intermediate container 3e293e8ff4bd 22:30:43 ---> 2cd8cb4650d7 22:30:43 Step 26/26 : LABEL version=0.0.0 22:30:43 ---> Running in c176d8f0489e 22:30:43 Removing intermediate container c176d8f0489e 22:30:43 ---> aa6f0206a410 22:30:43 [Warning] One or more build-args [ARCH] were not consumed 22:30:43 Successfully built aa6f0206a410 22:30:43 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 22:30:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:44 22:30:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:44 latest: Pulling from edgex-lftools-log-publisher 22:30:44 5eb5b503b376: Pulling fs layer 22:30:44 5c69ac0246d0: Pulling fs layer 22:30:44 ec43610c2a17: Pulling fs layer 22:30:44 3a2ae6a8a46f: Pulling fs layer 22:30:44 33b1e0a273af: Pulling fs layer 22:30:44 5d3b04190fa2: Pulling fs layer 22:30:44 2f39f015ded8: Pulling fs layer 22:30:44 2f39f015ded8: Waiting 22:30:44 3a2ae6a8a46f: Waiting 22:30:44 33b1e0a273af: Waiting 22:30:44 5d3b04190fa2: Waiting 22:30:44 5c69ac0246d0: Download complete 22:30:44 3a2ae6a8a46f: Verifying Checksum 22:30:44 3a2ae6a8a46f: Download complete 22:30:44 33b1e0a273af: Verifying Checksum 22:30:44 33b1e0a273af: Download complete 22:30:44 5d3b04190fa2: Download complete 22:30:44 ec43610c2a17: Verifying Checksum 22:30:44 ec43610c2a17: Download complete 22:30:44 5eb5b503b376: Verifying Checksum 22:30:44 5eb5b503b376: Download complete 22:30:45 2f39f015ded8: Download complete 22:30:46 5eb5b503b376: Pull complete 22:30:46 5c69ac0246d0: Pull complete 22:30:46 ec43610c2a17: Pull complete 22:30:46 3a2ae6a8a46f: Pull complete 22:30:47 33b1e0a273af: Pull complete 22:30:47 5d3b04190fa2: Pull complete 22:30:52 2f39f015ded8: Pull complete 22:30:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:30:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:52 prd-ubuntu20.04-docker-8c-8g-22169 does not seem to be running inside a container 22:30:52 $ 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-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:30:54 $ docker top c99b431979d7ce6446345d6662c069f418a6ebc7bf3ab6bbe0ebb3d1827b61c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:54 ---> job-cost.sh 22:30:54 lf-activate-venv: SKIPPING 22:30:54 INFO: No Stack... 22:30:55 INFO: Retrieving Pricing Info for: v3-standard-8 22:30:55 INFO: Archiving Costs [Pipeline] sh 22:30:55 + cat /w/workspace/undry_device-onvif-camera_PR-124/archives/cost.csv 22:30:55 + cut -d, -f6 [Pipeline] lock 22:30:55 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-124-4-stack-cost] 22:30:55 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-4-stack-cost] did not exist. Created. 22:30:55 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-124-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:30:56 + echo total: 0.2199999988079071 [Pipeline] stash 22:30:56 Stashed 1 file(s) [Pipeline] } 22:30:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:30:56 $ docker stop --time=1 c99b431979d7ce6446345d6662c069f418a6ebc7bf3ab6bbe0ebb3d1827b61c0 22:30:57 $ docker rm -f c99b431979d7ce6446345d6662c069f418a6ebc7bf3ab6bbe0ebb3d1827b61c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:31:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22170 in /w/workspace/undry_device-onvif-camera_PR-124 [Pipeline] { [Pipeline] ws 22:31:01 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 22:31:01 Selected Git installation does not exist. Using Default 22:31:01 The recommended git tool is: NONE 22:31:08 using credential edgex-jenkins-ssh 22:31:08 Cloning the remote Git repository 22:31:08 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:31:08 > git init /w/workspace/device-onvif-camera/4 # timeout=10 22:31:09 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:31:09 > git --version # timeout=10 22:31:09 > git --version # 'git version 2.25.1' 22:31:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:31:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:31:11 Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit f1970cd91205d8c0700b0775ec55305e4195f9fd 22:31:10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:31:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:31:10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:31:10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:31:10 using GIT_SSH to set credentials SSH Credentials for GitHub 22:31:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:31:11 > git config core.sparsecheckout # timeout=10 22:31:11 > git checkout -f f1970cd91205d8c0700b0775ec55305e4195f9fd # timeout=10 22:31:11 > git remote # timeout=10 22:31:11 > git config --get remote.origin.url # timeout=10 22:31:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:31:11 > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 22:31:11 Merge succeeded, producing 3078a75336cd841bf194ec860dcba546ea5b599d 22:31:11 Checking out Revision 3078a75336cd841bf194ec860dcba546ea5b599d (PR-124) 22:31:11 > git rev-parse HEAD^{commit} # timeout=10 22:31:11 > git config core.sparsecheckout # timeout=10 22:31:11 > git checkout -f 3078a75336cd841bf194ec860dcba546ea5b599d # timeout=10 22:31:16 Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" 22:31:16 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:31:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:31:17 % Total % Received % Xferd Average Speed Time Time Time Current 22:31:17 Dload Upload Total Spent Left Speed 22:31:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90676 [Pipeline] sh 22:31:16 > git rev-list --no-walk 3751f40083781d82111786f3947a4224e20023b5 # timeout=10 22:31:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:31:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:31:18 + sudo tee /etc/docker/daemon.new 22:31:18 { 22:31:18 "registry-mirrors": [ 22:31:18 "https://nexus3.edgexfoundry.org:10001" 22:31:18 ], 22:31:18 "bip": "10.250.0.254/24", 22:31:18 "hosts": [ 22:31:18 "tcp://0.0.0.0:5555", 22:31:18 "unix:///var/run/docker.sock" 22:31:18 ], 22:31:18 "mtu": 1458, 22:31:18 "selinux-enabled": true, 22:31:18 "seccomp-profile": "/etc/docker/seccomp.json" 22:31:18 } [Pipeline] sh 22:31:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:31:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:31:37 provisioning config files... 22:31:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config991817573467078821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:37 ---> docker-login.sh 22:31:37 nexus3.edgexfoundry.org:10001 22:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:38 Configure a credential helper to remove this warning. See 22:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:38 22:31:38 Login Succeeded 22:31:38 nexus3.edgexfoundry.org:10002 22:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:39 Configure a credential helper to remove this warning. See 22:31:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:39 22:31:39 Login Succeeded 22:31:39 nexus3.edgexfoundry.org:10003 22:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:39 Configure a credential helper to remove this warning. See 22:31:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:39 22:31:39 Login Succeeded 22:31:39 nexus3.edgexfoundry.org:10004 22:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:40 Configure a credential helper to remove this warning. See 22:31:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:40 22:31:40 Login Succeeded 22:31:40 docker.io 22:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:40 Configure a credential helper to remove this warning. See 22:31:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:40 22:31:40 Login Succeeded 22:31:40 ---> docker-login.sh ends [Pipeline] } 22:31:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:31:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:31:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:31:41 ========================================================= 22:31:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:31:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:41 + 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 . 22:31:42 Sending build context to Docker daemon 13.85MB 22:31:42 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:31:42 Step 2/13 : FROM ${BASE} AS builder 22:31:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:31:42 b3c136eddcbf: Pulling fs layer 22:31:42 c0a3192eca97: Pulling fs layer 22:31:42 a050256f5b6f: Pulling fs layer 22:31:42 656be50a0ddc: Pulling fs layer 22:31:42 2bbca73fdf42: Pulling fs layer 22:31:42 46d945488cbd: Pulling fs layer 22:31:42 8a5474983e97: Pulling fs layer 22:31:42 329c88fbcd65: Pulling fs layer 22:31:42 46d945488cbd: Waiting 22:31:42 656be50a0ddc: Waiting 22:31:42 8a5474983e97: Waiting 22:31:42 2bbca73fdf42: Waiting 22:31:42 329c88fbcd65: Waiting 22:31:42 a050256f5b6f: Verifying Checksum 22:31:42 a050256f5b6f: Download complete 22:31:42 c0a3192eca97: Download complete 22:31:42 2bbca73fdf42: Verifying Checksum 22:31:42 2bbca73fdf42: Download complete 22:31:42 46d945488cbd: Verifying Checksum 22:31:42 46d945488cbd: Download complete 22:31:42 b3c136eddcbf: Download complete 22:31:43 b3c136eddcbf: Pull complete 22:31:43 329c88fbcd65: Verifying Checksum 22:31:43 329c88fbcd65: Download complete 22:31:44 c0a3192eca97: Pull complete 22:31:44 a050256f5b6f: Pull complete 22:31:44 8a5474983e97: Verifying Checksum 22:31:44 8a5474983e97: Download complete 22:31:45 656be50a0ddc: Verifying Checksum 22:31:45 656be50a0ddc: Download complete 22:32:00 656be50a0ddc: Pull complete 22:32:00 2bbca73fdf42: Pull complete 22:32:00 46d945488cbd: Pull complete 22:32:06 8a5474983e97: Pull complete 22:32:07 329c88fbcd65: Pull complete 22:32:07 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:32:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:32:07 ---> ff4287adb874 22:32:07 Step 3/13 : ARG MAKE="make build" 22:32:08 ---> Running in f1c64c49f384 22:32:08 Removing intermediate container f1c64c49f384 22:32:08 ---> 43d32c12db19 22:32:08 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:32:08 ---> Running in e2b150cf9e1d 22:32:08 Removing intermediate container e2b150cf9e1d 22:32:08 ---> 6f1895037a97 22:32:08 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 22:32:08 ---> Running in d4869e86d741 22:32:09 Removing intermediate container d4869e86d741 22:32:09 ---> ee1da2da8818 22:32:09 Step 6/13 : LABEL Name=edgex-device-onvif-camera 22:32:09 ---> Running in 5110164931a1 22:32:09 Removing intermediate container 5110164931a1 22:32:09 ---> 0158dc4d7e80 22:32:09 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:32:09 ---> Running in f0a839dd6171 22:32:12 Removing intermediate container f0a839dd6171 22:32:12 ---> 8e7cfde56a12 22:32:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:32:12 ---> Running in 94a58a4f396c 22:32:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:32:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:32:15 OK: 221 MiB in 51 packages 22:32:16 Removing intermediate container 94a58a4f396c 22:32:16 ---> 5f15b48c99a2 22:32:16 Step 9/13 : WORKDIR /device-onvif-camera 22:32:16 ---> Running in e4a9a30f78ec 22:32:16 Removing intermediate container e4a9a30f78ec 22:32:16 ---> 54225511342d 22:32:16 Step 10/13 : COPY go.mod vendor* ./ 22:32:16 ---> 3da6ead490b3 22:32:16 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:32:16 ---> Running in a5bb8cb4e003 22:33:03 Removing intermediate container a5bb8cb4e003 22:33:03 ---> b585b880ba31 22:33:03 Step 12/13 : COPY . . 22:33:03 ---> 24d54cc6807e 22:33:03 Step 13/13 : RUN ${MAKE} 22:33:03 ---> Running in d6dc88084011 22:33:03 noop 22:33:04 Removing intermediate container d6dc88084011 22:33:04 ---> bc5c1d698be8 22:33:04 Successfully built bc5c1d698be8 22:33:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:04 + docker inspect -f . ci-base-image-arm64 22:33:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:05 prd-ubuntu20.04-docker-arm64-4c-16g-22170 does not seem to be running inside a container 22:33:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** ci-base-image-arm64 cat 22:33:06 $ docker top 016881b525f1d1477ff73d44a1ed294d0cec2fad9de80495a0192e4ad7cc70a6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:07 + go version 22:33:07 go version go1.18.3 linux/arm64 [Pipeline] } 22:33:07 $ docker stop --time=1 016881b525f1d1477ff73d44a1ed294d0cec2fad9de80495a0192e4ad7cc70a6 22:33:09 $ docker rm -f 016881b525f1d1477ff73d44a1ed294d0cec2fad9de80495a0192e4ad7cc70a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:09 + docker inspect -f . ci-base-image-arm64 22:33:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:10 prd-ubuntu20.04-docker-arm64-4c-16g-22170 does not seem to be running inside a container 22:33:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** ci-base-image-arm64 cat 22:33:11 $ docker top 4255f86c4017a06080dc98572420894b6e048a38e9d48928169efb65cff96142 -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:12 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 22:33:12 + make test 22:33:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:33:14 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:34:36 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:34:41 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.131s coverage: 10.6% of statements 22:34:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:35:03 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.372s coverage: 13.8% of statements 22:35:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:35:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:35:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:35:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:35:25 ./bin/test-attribution-txt.sh [Pipeline] echo 22:35:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:35:27 $ docker stop --time=1 4255f86c4017a06080dc98572420894b6e048a38e9d48928169efb65cff96142 22:35:28 $ docker rm -f 4255f86c4017a06080dc98572420894b6e048a38e9d48928169efb65cff96142 [Pipeline] // withDockerContainer [Pipeline] sh 22:35:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:35:29 Warning: overwriting stash ‘coverage-report’ 22:35:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:35:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:35:30 + ls -al . 22:35:30 total 228 22:35:30 drwxrwxr-x 9 jenkins jenkins 4096 Aug 8 22:35 . 22:35:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 22:31 .. 22:35:30 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 22:31 .git 22:35:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 22:31 .github 22:35:30 -rw-rw-r-- 1 jenkins jenkins 418 Aug 8 22:31 .gitignore 22:35:30 -rw-rw-r-- 1 jenkins jenkins 42 Aug 8 22:31 .golangci.yml 22:35:30 -rw-rw-r-- 1 jenkins jenkins 9102 Aug 8 22:31 Attribution.txt 22:35:30 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 8 22:31 CHANGELOG.md 22:35:30 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 8 22:31 Dockerfile 22:35:30 -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 22:31 GOVERNANCE.md 22:35:30 -rw-rw-r-- 1 jenkins jenkins 660 Aug 8 22:31 Jenkinsfile 22:35:30 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 8 22:31 LICENSE 22:35:30 -rw-rw-r-- 1 jenkins jenkins 2615 Aug 8 22:31 Makefile 22:35:30 -rw-rw-r-- 1 jenkins jenkins 625 Aug 8 22:31 OWNERS.md 22:35:30 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 8 22:31 README.md 22:35:30 -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 22:29 VERSION 22:35:30 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 22:31 bin 22:35:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 22:31 cmd 22:35:30 -rw-r--r-- 1 jenkins jenkins 76856 Aug 8 22:35 coverage.out 22:35:30 drwxrwxr-x 5 jenkins jenkins 4096 Aug 8 22:31 doc 22:35:30 -rw-rw-r-- 1 jenkins jenkins 3496 Aug 8 22:31 go.mod 22:35:30 -rw-rw-r-- 1 jenkins jenkins 37305 Aug 8 22:31 go.sum 22:35:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 22:31 internal 22:35:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 22:31 snap 22:35:30 -rw-rw-r-- 1 jenkins jenkins 236 Aug 8 22:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:31 + 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=3078a75336cd841bf194ec860dcba546ea5b599d --label arch=arm64 --label version=0.0.0 . 22:35:31 Sending build context to Docker daemon 13.92MB 22:35:31 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 22:35:31 Step 2/26 : FROM ${BASE} AS builder 22:35:31 ---> bc5c1d698be8 22:35:31 Step 3/26 : ARG MAKE="make build" 22:35:31 ---> Running in 0d7f55e6d952 22:35:32 Removing intermediate container 0d7f55e6d952 22:35:32 ---> 596827686c5c 22:35:32 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:35:32 ---> Running in a026592b51d3 22:35:32 Removing intermediate container a026592b51d3 22:35:32 ---> ec5ddd9246e8 22:35:32 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 22:35:32 ---> Running in 3b2eb8f09b4a 22:35:33 Removing intermediate container 3b2eb8f09b4a 22:35:33 ---> 87b793cbb3a6 22:35:33 Step 6/26 : LABEL Name=edgex-device-onvif-camera 22:35:33 ---> Running in a88c4020689a 22:35:33 Removing intermediate container a88c4020689a 22:35:33 ---> eb8b2af1e8aa 22:35:33 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:35:33 ---> Running in 5870a994e295 22:35:35 Removing intermediate container 5870a994e295 22:35:35 ---> 83b1af4b549f 22:35:35 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:35:35 ---> Running in 7da813af5d2a 22:35:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:35:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:35:37 OK: 221 MiB in 51 packages 22:35:38 Removing intermediate container 7da813af5d2a 22:35:38 ---> 4f5e7ab954dd 22:35:38 Step 9/26 : WORKDIR /device-onvif-camera 22:35:38 ---> Running in 2c230cf7bac5 22:35:39 Removing intermediate container 2c230cf7bac5 22:35:39 ---> 66f09bcf82db 22:35:39 Step 10/26 : COPY go.mod vendor* ./ 22:35:39 ---> 0c1e1b6ba810 22:35:39 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:35:39 ---> Running in b50a0ae4690f 22:35:41 Removing intermediate container b50a0ae4690f 22:35:41 ---> a9463df8ea63 22:35:41 Step 12/26 : COPY . . 22:35:43 ---> 05944c9065bf 22:35:43 Step 13/26 : RUN ${MAKE} 22:35:43 ---> Running in 82771eab1fd5 22:35:44 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 22:37:51 Removing intermediate container 82771eab1fd5 22:37:51 ---> ffa424bff8ff 22:37:51 Step 14/26 : FROM alpine:3.15 22:37:51 3.15: Pulling from library/alpine 22:37:51 e0295fd11fe2: Pulling fs layer 22:37:51 e0295fd11fe2: Verifying Checksum 22:37:51 e0295fd11fe2: Download complete 22:37:51 e0295fd11fe2: Pull complete 22:37:51 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 22:37:51 Status: Downloaded newer image for alpine:3.15 22:37:51 ---> 60f2846fe774 22:37:51 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:37:51 ---> Running in eda59c7adf91 22:37:51 Removing intermediate container eda59c7adf91 22:37:51 ---> e214812d2f23 22:37:51 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 22:37:51 ---> Running in be3edb506f2d 22:37:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:37:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:37:53 (1/6) Installing dumb-init (1.2.5-r1) 22:37:53 (2/6) Installing libgcc (10.3.1_git20211027-r0) 22:37:53 (3/6) Installing libsodium (1.0.18-r0) 22:37:53 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 22:37:53 (5/6) Installing libzmq (4.3.4-r0) 22:37:53 (6/6) Installing zeromq (4.3.4-r0) 22:37:53 Executing busybox-1.34.1-r7.trigger 22:37:53 OK: 8 MiB in 20 packages 22:37:54 Removing intermediate container be3edb506f2d 22:37:54 ---> 3a0788f4f833 22:37:54 Step 17/26 : WORKDIR / 22:37:54 ---> Running in ac2bc3e4f157 22:37:54 Removing intermediate container ac2bc3e4f157 22:37:54 ---> a22f9bd770ca 22:37:54 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:37:56 ---> bcbbf963b601 22:37:56 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:37:56 ---> 4a9df758a398 22:37:56 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:37:57 ---> bfdcc2cbfc1e 22:37:57 Step 21/26 : EXPOSE 59984 22:37:57 ---> Running in eefe08cc8f7c 22:37:57 Removing intermediate container eefe08cc8f7c 22:37:57 ---> d0e6e3bf61c6 22:37:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:37:57 ---> Running in 4aac2c975da2 22:37:58 Removing intermediate container 4aac2c975da2 22:37:58 ---> 431c9f86b9a9 22:37:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:37:58 ---> Running in 1b21094bf2f1 22:37:58 Removing intermediate container 1b21094bf2f1 22:37:58 ---> be4a8d7e068d 22:37:58 Step 24/26 : LABEL arch=arm64 22:37:58 ---> Running in e6bea74140a9 22:37:58 Removing intermediate container e6bea74140a9 22:37:58 ---> 5dc7899738c4 22:37:58 Step 25/26 : LABEL git_sha=3078a75336cd841bf194ec860dcba546ea5b599d 22:37:58 ---> Running in 74464b3fba89 22:37:59 Removing intermediate container 74464b3fba89 22:37:59 ---> 7d56dbf1033c 22:37:59 Step 26/26 : LABEL version=0.0.0 22:37:59 ---> Running in 785e7139b50f 22:37:59 Removing intermediate container 785e7139b50f 22:37:59 ---> c21135224017 22:37:59 [Warning] One or more build-args [ARCH] were not consumed 22:37:59 Successfully built c21135224017 22:37:59 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 22:38:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:38:00 22:38:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:38:00 arm64: Pulling from edgex-lftools-log-publisher 22:38:00 8998bd30e6a1: Pulling fs layer 22:38:00 04944245beec: Pulling fs layer 22:38:00 699f458cf7ca: Pulling fs layer 22:38:00 765212b225bb: Pulling fs layer 22:38:00 f23df028b6ca: Pulling fs layer 22:38:00 d65c8cfc05b1: Pulling fs layer 22:38:00 2437ff75d9bd: Pulling fs layer 22:38:00 765212b225bb: Waiting 22:38:00 2437ff75d9bd: Waiting 22:38:00 f23df028b6ca: Waiting 22:38:00 d65c8cfc05b1: Waiting 22:38:00 04944245beec: Verifying Checksum 22:38:00 04944245beec: Download complete 22:38:00 765212b225bb: Download complete 22:38:00 f23df028b6ca: Verifying Checksum 22:38:00 f23df028b6ca: Download complete 22:38:00 d65c8cfc05b1: Verifying Checksum 22:38:00 d65c8cfc05b1: Download complete 22:38:01 699f458cf7ca: Verifying Checksum 22:38:01 699f458cf7ca: Download complete 22:38:01 8998bd30e6a1: Verifying Checksum 22:38:01 8998bd30e6a1: Download complete 22:38:04 2437ff75d9bd: Verifying Checksum 22:38:04 2437ff75d9bd: Download complete 22:38:06 8998bd30e6a1: Pull complete 22:38:06 04944245beec: Pull complete 22:38:07 699f458cf7ca: Pull complete 22:38:08 765212b225bb: Pull complete 22:38:08 f23df028b6ca: Pull complete 22:38:08 d65c8cfc05b1: Pull complete 22:38:24 2437ff75d9bd: Pull complete 22:38:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:38:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:38:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:24 prd-ubuntu20.04-docker-arm64-4c-16g-22170 does not seem to be running inside a container 22:38:24 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:38:27 $ docker top e1ab5241c24ccd71c58e77ec8caf3b7e37c85e70fa64b8b4ec786ad579d156bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:38:28 ---> job-cost.sh 22:38:28 lf-activate-venv: SKIPPING 22:38:28 INFO: No Stack... 22:38:28 INFO: Retrieving Pricing Info for: v3-standard-4 22:38:29 INFO: Archiving Costs [Pipeline] sh 22:38:29 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 22:38:29 + cut -d, -f6 [Pipeline] lock 22:38:29 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-124-4-stack-cost] 22:38:29 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-4-stack-cost] did not exist. Created. 22:38:29 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-124-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:38:30 /w/workspace/device-onvif-camera/4@tmp/durable-3ed57b2a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:38:31 + echo total: 0.10999999940395355 [Pipeline] stash 22:38:31 Warning: overwriting stash ‘stack-cost’ 22:38:31 Stashed 1 file(s) [Pipeline] } 22:38:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:38:31 $ docker stop --time=1 e1ab5241c24ccd71c58e77ec8caf3b7e37c85e70fa64b8b4ec786ad579d156bf 22:38:32 $ docker rm -f e1ab5241c24ccd71c58e77ec8caf3b7e37c85e70fa64b8b4ec786ad579d156bf [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 22:38:33 provisioning config files... 22:38:33 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config513239880629767482tmp [Pipeline] { [Pipeline] sh 22:38:33 + set +x 22:38:33 + curl -s https://codecov.io/bash 22:38:33 + bash -s -- 22:38:33 22:38:33 _____ _ 22:38:33 / ____| | | 22:38:33 | | ___ __| | ___ ___ _____ __ 22:38:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:38:33 | |___| (_) | (_| | __/ (_| (_) \ V / 22:38:33 \_____\___/ \__,_|\___|\___\___/ \_/ 22:38:33 Bash-1.0.6 22:38:33 22:38:33 22:38:33 ==> git version 2.25.1 found 22:38:33 ==> 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 22:38:33 Release-Date: 2020-01-08 22:38:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:38:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:38:33 ==> Jenkins CI detected. 22:38:33 current dir:  /w/workspace/undry_device-onvif-camera_PR-124 22:38:33 project root: . 22:38:33 --> token set from env 22:38:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:38:33 ==> Running gcov in . (disable via -X gcov) 22:38:33 ==> Python coveragepy not found 22:38:33 ==> Searching for coverage reports in: 22:38:33 + . 22:38:33 -> Found 1 reports 22:38:33 ==> Detecting git/mercurial file structure 22:38:33 ==> Reading reports 22:38:33 + ./coverage.out bytes=76856 22:38:33 ==> Appending adjustments 22:38:33 https://docs.codecov.io/docs/fixing-reports 22:38:33 + Found adjustments 22:38:33 ==> Gzipping contents 22:38:33 12K /tmp/codecov.dSBQHt.gz 22:38:33 ==> Uploading reports 22:38:33 url: https://codecov.io 22:38:33 query: branch=PR-124&commit=71e4120d322583a7a9a040b7e72b5135d5cd0239&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-124%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=124&job=&cmd_args= 22:38:33 -> Pinging Codecov 22:38:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-124&commit=71e4120d322583a7a9a040b7e72b5135d5cd0239&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-124%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=124&job=&cmd_args= 22:38:34 -> Uploading to 22:38:34 https://storage.googleapis.com/codecov/v4/raw/2022-08-08/F29A59C45E3A92E06B3E522C9905F8EF/71e4120d322583a7a9a040b7e72b5135d5cd0239/68aac13b-5a60-4ab4-a847-379bc341fee4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220808%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220808T223834Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1dd795baf8e0bf6034353022bdd2cf5537d9b70808d2ca6af2835e37e5ec1ca3 22:38:34 % Total % Received % Xferd Average Speed Time Time Time Current 22:38:34 Dload Upload Total Spent Left Speed 22:38:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10419 0 0 100 10419 0 38305 --:--:-- --:--:-- --:--:-- 38305 22:38:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/71e4120d322583a7a9a040b7e72b5135d5cd0239 [Pipeline] } 22:38:34 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 22:38:35 + [ -d /w/workspace/undry_device-onvif-camera_PR-124/archives ] 22:38:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-124/archives 22:38:35 total 16 22:38:35 drwxr-xr-x 3 root root 4096 Aug 8 22:30 . 22:38:35 drwxrwxr-x 11 jenkins jenkins 4096 Aug 8 22:30 .. 22:38:35 drwxr-xr-x 2 root root 4096 Aug 8 22:30 cost 22:38:35 -rw-r--r-- 1 root root 91 Aug 8 22:30 cost.csv 22:38:35 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-124/archives 22:38:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-124/archives 22:38:35 total 16 22:38:35 drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 22:30 . 22:38:35 drwxrwxr-x 11 jenkins jenkins 4096 Aug 8 22:30 .. 22:38:35 drwxr-xr-x 2 jenkins jenkins 4096 Aug 8 22:30 cost 22:38:35 -rw-r--r-- 1 jenkins jenkins 91 Aug 8 22:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:38:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:38:36 ---> package-listing.sh 22:38:36 ++ facter osfamily 22:38:36 ++ tr '[:upper:]' '[:lower:]' 22:38:36 + OS_FAMILY=debian 22:38:36 + workspace=/w/workspace/undry_device-onvif-camera_PR-124 22:38:36 + START_PACKAGES=/tmp/packages_start.txt 22:38:36 + END_PACKAGES=/tmp/packages_end.txt 22:38:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:38:36 + PACKAGES=/tmp/packages_start.txt 22:38:36 + '[' /w/workspace/undry_device-onvif-camera_PR-124 ']' 22:38:36 + PACKAGES=/tmp/packages_end.txt 22:38:36 + case "${OS_FAMILY}" in 22:38:36 + dpkg -l 22:38:36 + grep '^ii' 22:38:36 + '[' -f /tmp/packages_start.txt ']' 22:38:36 + '[' -f /tmp/packages_end.txt ']' 22:38:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:38:36 + '[' /w/workspace/undry_device-onvif-camera_PR-124 ']' 22:38:36 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-124/archives/ 22:38:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-124/archives/ [Pipeline] echo 22:38:36 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-124/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:38:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:38:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:37 prd-ubuntu20.04-docker-8c-8g-22169 does not seem to be running inside a container 22:38:37 $ 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-124/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-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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-lftools-log-publisher:latest cat 22:38:37 $ docker top 3c5ced2a196f3afb09aeab4ff2994c83034c1e38eb5dc2ec886d2cff5dc03ecd -eo pid,comm [Pipeline] { [Pipeline] sh 22:38:38 + touch /tmp/pre-build-complete [Pipeline] sh 22:38:38 + mkdir -p /var/log/sysstat [Pipeline] sh 22:38:38 + ls /var/log/sa-host 22:38:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:38:39 provisioning config files... 22:38:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config1693529201488814030tmp [Pipeline] { [Pipeline] echo 22:38:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:38:39 ---> create-netrc.sh [Pipeline] } 22:38:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:38:39 ---> python-tools-install.sh [Pipeline] echo 22:38:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:38:40 ---> sudo-logs.sh 22:38:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:38:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:38:40 ---> job-cost.sh 22:38:40 lf-activate-venv: SKIPPING 22:38:40 DEBUG: total: 0.2199999988079071 22:38:40 INFO: Retrieving Stack Cost... 22:38:40 INFO: Retrieving Pricing Info for: v3-standard-8 22:38:41 INFO: Archiving Costs [Pipeline] echo 22:38:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:38:41 ---> logs-deploy.sh 22:38:41 lf-activate-venv: SKIPPING 22:38:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-124/4 22:38:41 INFO: archiving workspace using pattern(s): 22:38:42 Archives upload complete. 22:38:43 INFO: archiving logs to Nexus 22:38:43 ---> uname -a: 22:38:43 Linux prd-ubuntu20-04-docker-8c-8g-22169 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 22:38:43 22:38:43 22:38:43 ---> lscpu: 22:38:43 Architecture: x86_64 22:38:43 CPU op-mode(s): 32-bit, 64-bit 22:38:43 Byte Order: Little Endian 22:38:43 Address sizes: 40 bits physical, 48 bits virtual 22:38:43 CPU(s): 8 22:38:43 On-line CPU(s) list: 0-7 22:38:43 Thread(s) per core: 1 22:38:43 Core(s) per socket: 1 22:38:43 Socket(s): 8 22:38:43 NUMA node(s): 1 22:38:43 Vendor ID: AuthenticAMD 22:38:43 CPU family: 23 22:38:43 Model: 49 22:38:43 Model name: AMD EPYC-Rome Processor 22:38:43 Stepping: 0 22:38:43 CPU MHz: 2799.998 22:38:43 BogoMIPS: 5599.99 22:38:43 Virtualization: AMD-V 22:38:43 Hypervisor vendor: KVM 22:38:43 Virtualization type: full 22:38:43 L1d cache: 256 KiB 22:38:43 L1i cache: 256 KiB 22:38:43 L2 cache: 4 MiB 22:38:43 L3 cache: 128 MiB 22:38:43 NUMA node0 CPU(s): 0-7 22:38:43 Vulnerability Itlb multihit: Not affected 22:38:43 Vulnerability L1tf: Not affected 22:38:43 Vulnerability Mds: Not affected 22:38:43 Vulnerability Meltdown: Not affected 22:38:43 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:38:43 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:38:43 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:38:43 Vulnerability Srbds: Not affected 22:38:43 Vulnerability Tsx async abort: Not affected 22:38:43 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 22:38:43 22:38:43 22:38:43 ---> nproc: 22:38:43 8 22:38:43 22:38:43 22:38:43 ---> df -h: 22:38:43 Filesystem Size Used Avail Use% Mounted on 22:38:43 overlay 155G 11G 145G 7% / 22:38:43 tmpfs 64M 0 64M 0% /dev 22:38:43 tmpfs 16G 0 16G 0% /sys/fs/cgroup 22:38:43 shm 64M 0 64M 0% /dev/shm 22:38:43 /dev/vda1 155G 11G 145G 7% /facter-os 22:38:43 22:38:43 22:38:43 ---> sar -b -r -n DEV: 22:38:43 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22169) 08/08/22 _x86_64_ (8 CPU) 22:38:43 22:38:43 22:28:13 LINUX RESTART (8 CPU) 22:38:43 22:38:43 22:29:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:38:43 22:30:01 189.52 4.15 185.37 0.00 372.07 71809.23 0.00 22:38:43 22:31:01 185.59 0.10 185.49 0.00 7.73 42440.13 0.00 22:38:43 22:32:01 1.20 0.00 1.20 0.00 0.00 16.81 0.00 22:38:43 22:33:01 1.65 0.00 1.65 0.00 0.00 18.93 0.00 22:38:43 22:34:01 1.20 0.02 1.18 0.00 0.13 13.86 0.00 22:38:43 22:35:01 1.52 0.00 1.52 0.00 0.00 16.93 0.00 22:38:43 22:36:01 0.95 0.00 0.95 0.00 0.00 10.80 0.00 22:38:43 22:37:01 1.57 0.00 1.57 0.00 0.00 17.20 0.00 22:38:43 22:38:01 0.95 0.00 0.95 0.00 0.00 11.06 0.00 22:38:43 Average: 42.68 0.47 42.21 0.00 42.21 12705.87 0.00 22:38:43 22:38:43 22:29:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:38:43 22:30:01 28262204 31756684 539252 1.64 161932 3525316 2041620 6.02 1314340 2848700 126592 22:38:43 22:31:01 27629592 31772052 523420 1.59 176888 4114556 1918948 5.66 1366500 3378396 84 22:38:43 22:32:01 27629916 31772404 522964 1.59 176916 4114560 1918948 5.66 1366196 3378400 36 22:38:43 22:33:01 27631000 31773500 521608 1.59 176952 4114564 1918948 5.66 1364368 3378404 16 22:38:43 22:34:01 27640652 31783196 511808 1.56 177000 4114564 1918948 5.66 1354508 3378408 8 22:38:43 22:35:01 27641936 31784532 510420 1.55 177032 4114572 1918948 5.66 1353212 3378412 16 22:38:43 22:36:01 27648148 31790848 504128 1.53 177044 4114576 1918948 5.66 1346524 3378480 12 22:38:43 22:37:01 27648608 31791332 503788 1.53 177076 4114580 1918948 5.66 1346548 3378492 12 22:38:43 22:38:01 27648732 31791528 503484 1.53 177112 4114580 1918948 5.66 1347144 3378492 180 22:38:43 Average: 27708976 31779564 515652 1.57 175328 4049096 1932578 5.70 1351038 3319576 14106 22:38:43 22:38:43 22:29:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:38:43 22:30:01 ens3 357.69 282.29 5161.13 93.06 0.00 0.00 0.00 0.00 22:38:43 22:30:01 lo 2.80 2.80 0.27 0.27 0.00 0.00 0.00 0.00 22:38:43 22:30:01 vethcb5d56b 0.00 0.18 0.00 0.02 0.00 0.00 0.00 0.00 22:38:43 22:30:01 docker0 120.60 145.01 9.80 1182.27 0.00 0.00 0.00 0.00 22:38:43 22:31:01 ens3 139.96 90.00 2683.96 21.75 0.00 0.00 0.00 0.00 22:38:43 22:31:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 22:38:43 22:31:01 docker0 8.93 13.30 0.53 94.53 0.00 0.00 0.00 0.00 22:38:43 22:32:01 ens3 0.45 0.28 0.26 0.22 0.00 0.00 0.00 0.00 22:38:43 22:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:43 22:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:43 22:33:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 22:38:43 22:33:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:38:43 22:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:43 22:34:01 ens3 0.15 0.12 0.08 0.07 0.00 0.00 0.00 0.00 22:38:43 22:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:43 22:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:43 22:35:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 22:38:43 22:35:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:38:43 22:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:43 22:36:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:43 22:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:43 22:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:43 22:37:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 22:38:43 22:37:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:38:43 22:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:43 22:38:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:43 22:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:43 22:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:38:43 Average: ens3 55.40 41.45 871.70 12.79 0.00 0.00 0.00 0.00 22:38:43 Average: lo 0.61 0.61 0.06 0.06 0.00 0.00 0.00 0.00 22:38:43 Average: docker0 14.39 17.59 1.15 141.86 0.00 0.00 0.00 0.00 22:38:43 22:38:43 22:38:43 ---> sar -P ALL: 22:38:43 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22169) 08/08/22 _x86_64_ (8 CPU) 22:38:43 22:38:43 22:28:13 LINUX RESTART (8 CPU) 22:38:43 22:38:43 22:29:01 CPU %user %nice %system %iowait %steal %idle 22:38:43 22:30:01 all 24.16 0.00 6.25 1.33 0.07 68.19 22:38:43 22:30:01 0 23.73 0.00 6.11 2.25 0.07 67.83 22:38:43 22:30:01 1 23.65 0.00 6.91 0.20 0.08 69.15 22:38:43 22:30:01 2 27.50 0.00 6.04 1.40 0.07 64.99 22:38:43 22:30:01 3 25.03 0.00 6.36 2.63 0.07 65.92 22:38:43 22:30:01 4 24.09 0.00 5.49 0.47 0.07 69.87 22:38:43 22:30:01 5 23.02 0.00 5.96 0.54 0.07 70.42 22:38:43 22:30:01 6 23.58 0.00 6.57 2.79 0.07 67.00 22:38:43 22:30:01 7 22.66 0.00 6.54 0.39 0.08 70.32 22:38:43 22:31:01 all 28.99 0.00 5.71 1.13 0.06 64.11 22:38:43 22:31:01 0 29.10 0.00 5.64 0.12 0.07 65.07 22:38:43 22:31:01 1 29.09 0.00 6.11 2.16 0.07 62.56 22:38:43 22:31:01 2 27.98 0.00 5.88 0.57 0.07 65.50 22:38:43 22:31:01 3 27.80 0.00 5.60 2.02 0.07 64.50 22:38:43 22:31:01 4 30.88 0.00 5.77 2.72 0.07 60.56 22:38:43 22:31:01 5 29.08 0.00 5.36 0.30 0.05 65.21 22:38:43 22:31:01 6 29.25 0.00 5.55 0.47 0.05 64.68 22:38:43 22:31:01 7 28.71 0.00 5.76 0.68 0.07 64.79 22:38:43 22:32:01 all 0.03 0.00 0.02 0.01 0.00 99.95 22:38:43 22:32:01 0 0.02 0.00 0.00 0.00 0.00 99.98 22:38:43 22:32:01 1 0.00 0.00 0.03 0.03 0.00 99.93 22:38:43 22:32:01 2 0.02 0.00 0.03 0.00 0.02 99.93 22:38:43 22:32:01 3 0.07 0.00 0.02 0.00 0.00 99.92 22:38:43 22:32:01 4 0.03 0.00 0.00 0.00 0.00 99.97 22:38:43 22:32:01 5 0.02 0.00 0.03 0.00 0.00 99.95 22:38:43 22:32:01 6 0.00 0.00 0.02 0.02 0.00 99.97 22:38:43 22:32:01 7 0.05 0.00 0.03 0.00 0.00 99.92 22:38:43 22:33:01 all 0.03 0.00 0.02 0.00 0.00 99.94 22:38:43 22:33:01 0 0.05 0.00 0.03 0.00 0.00 99.92 22:38:43 22:33:01 1 0.02 0.00 0.02 0.02 0.00 99.95 22:38:43 22:33:01 2 0.03 0.00 0.05 0.00 0.00 99.92 22:38:43 22:33:01 3 0.03 0.00 0.00 0.00 0.00 99.97 22:38:43 22:33:01 4 0.02 0.00 0.02 0.00 0.00 99.97 22:38:43 22:33:01 5 0.05 0.00 0.05 0.00 0.02 99.88 22:38:43 22:33:01 6 0.02 0.00 0.00 0.02 0.02 99.95 22:38:43 22:33:01 7 0.02 0.00 0.00 0.00 0.00 99.98 22:38:43 22:34:01 all 0.03 0.00 0.01 0.01 0.00 99.95 22:38:43 22:34:01 0 0.07 0.00 0.00 0.00 0.02 99.92 22:38:43 22:34:01 1 0.02 0.00 0.02 0.00 0.02 99.95 22:38:43 22:34:01 2 0.00 0.00 0.00 0.00 0.00 100.00 22:38:43 22:34:01 3 0.02 0.00 0.02 0.02 0.00 99.95 22:38:43 22:34:01 4 0.03 0.00 0.03 0.00 0.00 99.93 22:38:43 22:34:01 5 0.07 0.00 0.02 0.00 0.00 99.92 22:38:43 22:34:01 6 0.00 0.00 0.00 0.03 0.00 99.97 22:38:43 22:34:01 7 0.02 0.00 0.00 0.00 0.00 99.98 22:38:43 22:35:01 all 0.01 0.00 0.01 0.01 0.00 99.97 22:38:43 22:35:01 0 0.03 0.00 0.02 0.00 0.02 99.93 22:38:43 22:35:01 1 0.00 0.00 0.00 0.02 0.00 99.98 22:38:43 22:35:01 2 0.02 0.00 0.02 0.00 0.00 99.97 22:38:43 22:35:01 3 0.02 0.00 0.00 0.00 0.00 99.98 22:38:43 22:35:01 4 0.03 0.00 0.02 0.00 0.00 99.95 22:38:43 22:35:01 5 0.00 0.00 0.02 0.00 0.00 99.98 22:38:43 22:35:01 6 0.00 0.00 0.00 0.02 0.00 99.98 22:38:43 22:35:01 7 0.00 0.00 0.02 0.02 0.00 99.97 22:38:43 22:36:01 all 0.03 0.00 0.02 0.00 0.00 99.95 22:38:43 22:36:01 0 0.07 0.00 0.03 0.00 0.00 99.90 22:38:43 22:36:01 1 0.02 0.00 0.02 0.00 0.00 99.97 22:38:43 22:36:01 2 0.02 0.00 0.00 0.00 0.00 99.98 22:38:43 22:36:01 3 0.03 0.00 0.00 0.00 0.00 99.97 22:38:43 22:36:01 4 0.03 0.00 0.03 0.00 0.02 99.92 22:38:43 22:36:01 5 0.02 0.00 0.02 0.00 0.00 99.97 22:38:43 22:36:01 6 0.02 0.00 0.02 0.02 0.00 99.95 22:38:43 22:36:01 7 0.02 0.00 0.02 0.00 0.00 99.97 22:38:43 22:37:01 all 0.06 0.00 0.01 0.01 0.00 99.91 22:38:43 22:37:01 0 0.03 0.00 0.00 0.00 0.02 99.95 22:38:43 22:37:01 1 0.02 0.00 0.00 0.03 0.00 99.95 22:38:43 22:37:01 2 0.00 0.00 0.02 0.00 0.00 99.98 22:38:43 22:37:01 3 0.00 0.00 0.03 0.00 0.02 99.95 22:38:43 22:37:01 4 0.02 0.00 0.00 0.00 0.00 99.98 22:38:43 22:37:01 5 0.45 0.00 0.05 0.00 0.00 99.50 22:38:43 22:37:01 6 0.00 0.00 0.00 0.02 0.00 99.98 22:38:43 22:37:01 7 0.00 0.00 0.00 0.00 0.00 100.00 22:38:43 22:38:01 all 0.26 0.00 0.02 0.01 0.00 99.71 22:38:43 22:38:01 0 0.00 0.00 0.02 0.00 0.00 99.98 22:38:43 22:38:01 1 0.03 0.00 0.03 0.02 0.02 99.90 22:38:43 22:38:01 2 0.00 0.00 0.00 0.00 0.00 100.00 22:38:43 22:38:01 3 0.03 0.00 0.00 0.00 0.00 99.97 22:38:43 22:38:01 4 0.03 0.00 0.03 0.00 0.00 99.93 22:38:43 22:38:01 5 1.97 0.00 0.03 0.00 0.00 98.00 22:38:43 22:38:01 6 0.00 0.00 0.02 0.03 0.00 99.95 22:38:43 22:38:01 7 0.02 0.00 0.00 0.00 0.00 99.98 22:38:43 Average: all 5.89 0.00 1.33 0.27 0.02 92.49 22:38:43 Average: 0 5.84 0.00 1.30 0.26 0.02 92.57 22:38:43 Average: 1 5.81 0.00 1.45 0.27 0.02 92.45 22:38:43 Average: 2 6.11 0.00 1.32 0.22 0.02 92.34 22:38:43 Average: 3 5.83 0.00 1.32 0.51 0.02 92.32 22:38:43 Average: 4 6.07 0.00 1.25 0.35 0.02 92.31 22:38:43 Average: 5 6.03 0.00 1.27 0.09 0.01 92.59 22:38:43 Average: 6 5.81 0.00 1.34 0.37 0.01 92.47 22:38:43 Average: 7 5.65 0.00 1.36 0.12 0.02 92.86 22:38:43 22:38:43 22:38:43