Pull request #113 opened 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 ajcasagrande for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 67a52f2999f45dedeb950717400ce7c03cd162d6+a761beb27065a69935e8288e1ea85e5d9ee20b97 (7ccc195b92ec32369b9985b998ad689172ccd104) 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-ssh12041555238583482798.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-ssh14522887609656343670.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-113/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-113/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6019781428080744746.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-113/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6357955154102481099.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh3062899597989141284.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-113/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-113/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh183373989132239398.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20534 in /w/workspace/undry_device-onvif-camera_PR-113 [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-113 # 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 a761beb27065a69935e8288e1ea85e5d9ee20b97 into PR head commit 67a52f2999f45dedeb950717400ce7c03cd162d6 Merge succeeded, producing 67a52f2999f45dedeb950717400ce7c03cd162d6 Checking out Revision 67a52f2999f45dedeb950717400ce7c03cd162d6 (PR-113) > 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/113/head:refs/remotes/origin/PR-113 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67a52f2999f45dedeb950717400ce7c03cd162d6 # 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 a761beb27065a69935e8288e1ea85e5d9ee20b97 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67a52f2999f45dedeb950717400ce7c03cd162d6 # timeout=10 Commit message: "fix: do not show NoAuth group or Create New on edit" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:54:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:54:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:54:38 ========================================================= 23:54:38 EdgeX Global Pipelines Version Info 23:54:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:54:39 ------------------- 23:54:39 stable info: 23:54:39 ------------------- 23:54:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:54:39 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 23:54:39 Message: update stable to v1.0.238 23:54:39 ------------------- 23:54:39 experimental info: 23:54:39 ------------------- 23:54:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:54:39 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 23:54:39 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:54:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:54:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:54:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:54:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-113 [Pipeline] echo 23:54:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-113 [Pipeline] echo 23:54:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-113 [Pipeline] echo 23:54:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67a52f2999f45dedeb950717400ce7c03cd162d6 [Pipeline] echo 23:54:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 67a52f2 [Pipeline] echo 23:54:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:54:41 provisioning config files... 23:54:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-113@tmp/config4149091352982087155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:41 ---> docker-login.sh 23:54:41 nexus3.edgexfoundry.org:10001 23:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:42 Configure a credential helper to remove this warning. See 23:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:42 23:54:42 Login Succeeded 23:54:42 nexus3.edgexfoundry.org:10002 23:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:42 Configure a credential helper to remove this warning. See 23:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:42 23:54:42 Login Succeeded 23:54:42 nexus3.edgexfoundry.org:10003 23:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:42 Configure a credential helper to remove this warning. See 23:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:42 23:54:42 Login Succeeded 23:54:42 nexus3.edgexfoundry.org:10004 23:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:42 Configure a credential helper to remove this warning. See 23:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:42 23:54:42 Login Succeeded 23:54:42 docker.io 23:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:43 Configure a credential helper to remove this warning. See 23:54:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:43 23:54:43 Login Succeeded 23:54:43 ---> docker-login.sh ends [Pipeline] } 23:54:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:54:44 + git rev-list -1 --merges 67a52f2999f45dedeb950717400ce7c03cd162d6~1..67a52f2999f45dedeb950717400ce7c03cd162d6 [Pipeline] echo 23:54:44 -----------> git rev-list -1 --merges 67a52f2999f45dedeb950717400ce7c03cd162d6~1..67a52f2999f45dedeb950717400ce7c03cd162d6 67a52f2999f45dedeb950717400ce7c03cd162d6 [false] [Pipeline] sh 23:54:44 + git log --format=format:%s -1 67a52f2999f45dedeb950717400ce7c03cd162d6 [Pipeline] echo 23:54:44 ========================================================= 23:54:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:54:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:54:44 + git log --format=format:%s -1 67a52f2999f45dedeb950717400ce7c03cd162d6 [Pipeline] echo 23:54:45 [semverPrep] GIT_COMMIT: 67a52f2999f45dedeb950717400ce7c03cd162d6, Commit Message: fix: do not show NoAuth group or Create New on edit [Pipeline] echo 23:54:45 [semverPrep] This is not a build commit. [Pipeline] sh 23:54:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:54:45 + grep -v github /etc/ssh/ssh_known_hosts 23:54:45 + [ -e /tmp/ssh_known_hosts ] 23:54:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:54:45 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:54:45 sudo tee -a /etc/ssh/ssh_known_hosts 23:54:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:54:45 23:54:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:54:46 0.1.4: Pulling from edgex-devops/py-git-semver 23:54:46 b85a868b505f: Pulling fs layer 23:54:46 e2be974225ed: Pulling fs layer 23:54:46 339a4e72a1f5: Pulling fs layer 23:54:46 988bab9f4d93: Pulling fs layer 23:54:46 1469e6f7b9e6: Pulling fs layer 23:54:46 988bab9f4d93: Waiting 23:54:46 1469e6f7b9e6: Waiting 23:54:46 eaf3925da568: Pulling fs layer 23:54:46 bab4dde63d76: Pulling fs layer 23:54:46 eaf3925da568: Waiting 23:54:46 bde34c3a00c8: Pulling fs layer 23:54:46 b352a97aabf1: Pulling fs layer 23:54:46 bab4dde63d76: Waiting 23:54:46 bde34c3a00c8: Waiting 23:54:46 b352a97aabf1: Waiting 23:54:46 4872d77fe225: Pulling fs layer 23:54:46 5851b861e8e6: Pulling fs layer 23:54:46 4872d77fe225: Waiting 23:54:46 5851b861e8e6: Waiting 23:54:46 e2be974225ed: Download complete 23:54:46 988bab9f4d93: Verifying Checksum 23:54:46 988bab9f4d93: Download complete 23:54:46 1469e6f7b9e6: Verifying Checksum 23:54:46 1469e6f7b9e6: Download complete 23:54:46 339a4e72a1f5: Verifying Checksum 23:54:46 339a4e72a1f5: Download complete 23:54:46 eaf3925da568: Verifying Checksum 23:54:46 eaf3925da568: Download complete 23:54:46 bde34c3a00c8: Download complete 23:54:46 b352a97aabf1: Download complete 23:54:46 4872d77fe225: Verifying Checksum 23:54:46 4872d77fe225: Download complete 23:54:46 5851b861e8e6: Download complete 23:54:46 b85a868b505f: Verifying Checksum 23:54:46 b85a868b505f: Download complete 23:54:46 bab4dde63d76: Verifying Checksum 23:54:46 bab4dde63d76: Download complete 23:54:48 b85a868b505f: Pull complete 23:54:48 e2be974225ed: Pull complete 23:54:48 339a4e72a1f5: Pull complete 23:54:48 988bab9f4d93: Pull complete 23:54:49 1469e6f7b9e6: Pull complete 23:54:49 eaf3925da568: Pull complete 23:54:50 bab4dde63d76: Pull complete 23:54:50 bde34c3a00c8: Pull complete 23:54:50 b352a97aabf1: Pull complete 23:54:51 4872d77fe225: Pull complete 23:54:51 5851b861e8e6: Pull complete 23:54:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:54:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:54:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:51 prd-ubuntu20.04-docker-8c-8g-20534 does not seem to be running inside a container 23:54:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-113 -v /w/workspace/undry_device-onvif-camera_PR-113:/w/workspace/undry_device-onvif-camera_PR-113:rw,z -v /w/workspace/undry_device-onvif-camera_PR-113@tmp:/w/workspace/undry_device-onvif-camera_PR-113@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:54:52 $ docker top 6f8087df0a9765cf981af642d9aed9398c6ce60efcd843b66ee257a3ca269e90 -eo pid,comm 23:54:53 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). 23:54:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:54:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:54:53 [ssh-agent] Looking for ssh-agent implementation... 23:54:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:54:53 $ docker exec 6f8087df0a9765cf981af642d9aed9398c6ce60efcd843b66ee257a3ca269e90 ssh-agent 23:54:53 SSH_AUTH_SOCK=/tmp/ssh-K9Fp3qDSuUIw/agent.33 23:54:53 SSH_AGENT_PID=39 23:54:53 Running ssh-add (command line suppressed) 23:54:53 Identity added: /w/workspace/undry_device-onvif-camera_PR-113@tmp/private_key_5864937838753233542.key (/w/workspace/undry_device-onvif-camera_PR-113@tmp/private_key_5864937838753233542.key) 23:54:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:54:53 + git tag --points-at HEAD [Pipeline] } 23:54:53 $ docker exec --env ******** --env ******** 6f8087df0a9765cf981af642d9aed9398c6ce60efcd843b66ee257a3ca269e90 ssh-agent -k 23:54:54 unset SSH_AUTH_SOCK; 23:54:54 unset SSH_AGENT_PID; 23:54:54 echo Agent pid 39 killed; 23:54:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:54:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:54:54 [ssh-agent] Looking for ssh-agent implementation... 23:54:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:54:54 $ docker exec 6f8087df0a9765cf981af642d9aed9398c6ce60efcd843b66ee257a3ca269e90 ssh-agent 23:54:54 SSH_AUTH_SOCK=/tmp/ssh-VaE51ThgmLDP/agent.73 23:54:54 SSH_AGENT_PID=81 23:54:54 Running ssh-add (command line suppressed) 23:54:54 Identity added: /w/workspace/undry_device-onvif-camera_PR-113@tmp/private_key_1430997397021857467.key (/w/workspace/undry_device-onvif-camera_PR-113@tmp/private_key_1430997397021857467.key) 23:54:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:54:54 + git semver init 23:54:55 2022-07-19 23:54:55,180 [run_init] DEBUG init version:0.0.0 force:False 23:54:55 2022-07-19 23:54:55,181 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-113/.semver 23:54:55 2022-07-19 23:54:55,181 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-113/.semver 23:54:55 2022-07-19 23:54:55,182 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-113/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-113, universal_newlines=False, shell=None, istream=None) 23:54:56 2022-07-19 23:54:55,965 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-113/.git/info/exclude 23:54:56 2022-07-19 23:54:55,965 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-113/.semver/PR-113 with force:False 23:54:56 2022-07-19 23:54:55,965 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-113/.semver/PR-113 23:54:56 2022-07-19 23:54:55,969 [execute] INFO git cat-file --batch-check 23:54:56 2022-07-19 23:54:55,970 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-113/.semver, universal_newlines=False, shell=None, istream=) 23:54:56 2022-07-19 23:54:55,976 [execute] INFO git cat-file --batch 23:54:56 2022-07-19 23:54:55,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-113/.semver, universal_newlines=False, shell=None, istream=) 23:54:56 2022-07-19 23:54:55,982 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-113/.semver/PR-113 23:54:56 0.0.0 [Pipeline] } 23:54:56 $ docker exec --env ******** --env ******** 6f8087df0a9765cf981af642d9aed9398c6ce60efcd843b66ee257a3ca269e90 ssh-agent -k 23:54:56 unset SSH_AUTH_SOCK; 23:54:56 unset SSH_AGENT_PID; 23:54:56 echo Agent pid 81 killed; 23:54:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:54:56 + git semver [Pipeline] } 23:54:57 $ docker stop --time=1 6f8087df0a9765cf981af642d9aed9398c6ce60efcd843b66ee257a3ca269e90 23:54:58 $ docker rm -f 6f8087df0a9765cf981af642d9aed9398c6ce60efcd843b66ee257a3ca269e90 [Pipeline] // withDockerContainer [Pipeline] sh 23:54:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:54:59 Stashed 1 file(s) [Pipeline] echo 23:54:59 [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 23:54:59 provisioning config files... 23:54:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-113@tmp/config6540711176840650771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:00 ---> docker-login.sh 23:55:00 nexus3.edgexfoundry.org:10001 23:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:00 Configure a credential helper to remove this warning. See 23:55:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:00 23:55:00 Login Succeeded 23:55:00 nexus3.edgexfoundry.org:10002 23:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:00 Configure a credential helper to remove this warning. See 23:55:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:00 23:55:00 Login Succeeded 23:55:00 nexus3.edgexfoundry.org:10003 23:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:00 Configure a credential helper to remove this warning. See 23:55:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:00 23:55:00 Login Succeeded 23:55:00 nexus3.edgexfoundry.org:10004 23:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:00 Configure a credential helper to remove this warning. See 23:55:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:00 23:55:00 Login Succeeded 23:55:00 docker.io 23:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:00 Configure a credential helper to remove this warning. See 23:55:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:00 23:55:00 Login Succeeded 23:55:00 ---> docker-login.sh ends [Pipeline] } 23:55:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:55:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:01 ========================================================= 23:55:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:55:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:01 + 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 . 23:55:01 Sending build context to Docker daemon 19.85MB 23:55:01 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:55:01 Step 2/13 : FROM ${BASE} AS builder 23:55:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:55:01 2408cc74d12b: Pulling fs layer 23:55:01 ea60b727a1ce: Pulling fs layer 23:55:01 30c4a7721957: Pulling fs layer 23:55:01 370296b7ddb6: Pulling fs layer 23:55:01 7c6cee850709: Pulling fs layer 23:55:01 39a5fcdaea64: Pulling fs layer 23:55:01 d94ebbe4e438: Pulling fs layer 23:55:01 bcfd1f05c69d: Pulling fs layer 23:55:01 59ccb84bbe0f: Pulling fs layer 23:55:01 370296b7ddb6: Waiting 23:55:01 d94ebbe4e438: Waiting 23:55:01 39a5fcdaea64: Waiting 23:55:01 7c6cee850709: Waiting 23:55:01 bcfd1f05c69d: Waiting 23:55:01 59ccb84bbe0f: Waiting 23:55:01 30c4a7721957: Verifying Checksum 23:55:01 ea60b727a1ce: Download complete 23:55:01 7c6cee850709: Download complete 23:55:01 39a5fcdaea64: Verifying Checksum 23:55:01 39a5fcdaea64: Download complete 23:55:01 2408cc74d12b: Verifying Checksum 23:55:01 2408cc74d12b: Download complete 23:55:01 d94ebbe4e438: Download complete 23:55:01 2408cc74d12b: Pull complete 23:55:02 ea60b727a1ce: Pull complete 23:55:02 30c4a7721957: Pull complete 23:55:02 59ccb84bbe0f: Verifying Checksum 23:55:02 59ccb84bbe0f: Download complete 23:55:02 bcfd1f05c69d: Verifying Checksum 23:55:02 bcfd1f05c69d: Download complete 23:55:02 370296b7ddb6: Verifying Checksum 23:55:02 370296b7ddb6: Download complete 23:55:06 370296b7ddb6: Pull complete 23:55:06 7c6cee850709: Pull complete 23:55:07 39a5fcdaea64: Pull complete 23:55:07 d94ebbe4e438: Pull complete 23:55:09 bcfd1f05c69d: Pull complete 23:55:09 59ccb84bbe0f: Pull complete 23:55:09 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:55:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:55:09 ---> a4fb48ad2a94 23:55:09 Step 3/13 : ARG MAKE="make build" 23:55:11 ---> Running in 392d241bf0f0 23:55:12 Removing intermediate container 392d241bf0f0 23:55:12 ---> eaa17936178a 23:55:12 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:55:12 ---> Running in 227b7448063c 23:55:12 Removing intermediate container 227b7448063c 23:55:12 ---> 0d7b49884ab6 23:55:12 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 23:55:12 ---> Running in 409654116b96 23:55:12 Removing intermediate container 409654116b96 23:55:12 ---> dfc80df90050 23:55:12 Step 6/13 : LABEL Name=edgex-device-onvif-camera 23:55:12 ---> Running in 42eb7c25f8e7 23:55:12 Removing intermediate container 42eb7c25f8e7 23:55:12 ---> a4cf04fc34d8 23:55:12 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:55:12 ---> Running in 80532b99f355 23:55:12 Removing intermediate container 80532b99f355 23:55:12 ---> f4401f3b9fe6 23:55:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:13 ---> Running in 90d66af50f55 23:55:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:55:14 Still waiting to schedule task 23:55:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:55:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:55:22 OK: 211 MiB in 51 packages 23:55:22 Removing intermediate container 90d66af50f55 23:55:22 ---> a8a13db33c78 23:55:22 Step 9/13 : WORKDIR /device-onvif-camera 23:55:22 ---> Running in 668b549eb803 23:55:22 Removing intermediate container 668b549eb803 23:55:22 ---> e03ab274d71e 23:55:22 Step 10/13 : COPY go.mod vendor* ./ 23:55:22 ---> 5b4b3702e0b8 23:55:22 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:22 ---> Running in eac9a0f1805f 23:55:37 Removing intermediate container eac9a0f1805f 23:55:37 ---> ef2e1b054f94 23:55:37 Step 12/13 : COPY . . 23:55:37 ---> 8912cf0943ce 23:55:37 Step 13/13 : RUN ${MAKE} 23:55:37 ---> Running in 059e0cd4e663 23:55:37 noop 23:55:38 Removing intermediate container 059e0cd4e663 23:55:38 ---> 34f6dfb4d6de 23:55:38 Successfully built 34f6dfb4d6de 23:55:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:38 + docker inspect -f . ci-base-image-x86_64 23:55:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:38 prd-ubuntu20.04-docker-8c-8g-20534 does not seem to be running inside a container 23:55:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-113 -v /w/workspace/undry_device-onvif-camera_PR-113:/w/workspace/undry_device-onvif-camera_PR-113:rw,z -v /w/workspace/undry_device-onvif-camera_PR-113@tmp:/w/workspace/undry_device-onvif-camera_PR-113@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 ******** ci-base-image-x86_64 cat 23:55:39 $ docker top bb37bfb36e9c6fb6bfa1ba5bc5d24239411404accfb942d0df2ce0daf26706c6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:39 + go version 23:55:39 go version go1.18.3 linux/amd64 [Pipeline] } 23:55:39 $ docker stop --time=1 bb37bfb36e9c6fb6bfa1ba5bc5d24239411404accfb942d0df2ce0daf26706c6 23:55:41 $ docker rm -f bb37bfb36e9c6fb6bfa1ba5bc5d24239411404accfb942d0df2ce0daf26706c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:41 + docker inspect -f . ci-base-image-x86_64 23:55:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:42 prd-ubuntu20.04-docker-8c-8g-20534 does not seem to be running inside a container 23:55:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-113 -v /w/workspace/undry_device-onvif-camera_PR-113:/w/workspace/undry_device-onvif-camera_PR-113:rw,z -v /w/workspace/undry_device-onvif-camera_PR-113@tmp:/w/workspace/undry_device-onvif-camera_PR-113@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 ******** ci-base-image-x86_64 cat 23:55:42 $ docker top 277fcafd932fa791d73c1a2ff34bd34f156949ae41574bc2dabdff666e2dcb4a -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:42 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-113 [Pipeline] fileExists [Pipeline] sh 23:55:43 + make test 23:55:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:55:43 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:55:53 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:55:53 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.020s coverage: 10.9% of statements 23:55:53 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:55:56 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.783s coverage: 13.8% of statements 23:56:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:56:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:56:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:56:05 ./bin/test-attribution-txt.sh [Pipeline] echo 23:56:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:56:06 $ docker stop --time=1 277fcafd932fa791d73c1a2ff34bd34f156949ae41574bc2dabdff666e2dcb4a 23:56:08 $ docker rm -f 277fcafd932fa791d73c1a2ff34bd34f156949ae41574bc2dabdff666e2dcb4a [Pipeline] // withDockerContainer [Pipeline] sh 23:56:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:56:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:56:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:56:10 + ls -al . 23:56:10 total 236 23:56:10 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 23:56 . 23:56:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 23:54 .. 23:56:10 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 23:55 .git 23:56:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 23:54 .github 23:56:10 -rw-rw-r-- 1 jenkins jenkins 418 Jul 19 23:54 .gitignore 23:56:10 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 23:54 .golangci.yml 23:56:10 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 23:54 .semver 23:56:10 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 19 23:54 Attribution.txt 23:56:10 -rw-rw-r-- 1 jenkins jenkins 189 Jul 19 23:54 CHANGELOG.md 23:56:10 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 19 23:54 Dockerfile 23:56:10 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 23:54 GOVERNANCE.md 23:56:10 -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 23:54 Jenkinsfile 23:56:10 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 23:54 LICENSE 23:56:10 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 19 23:54 Makefile 23:56:10 -rw-rw-r-- 1 jenkins jenkins 625 Jul 19 23:54 OWNERS.md 23:56:10 -rw-rw-r-- 1 jenkins jenkins 5796 Jul 19 23:54 README.md 23:56:10 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 23:54 VERSION 23:56:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 23:54 bin 23:56:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 23:54 cmd 23:56:10 -rw-r--r-- 1 jenkins jenkins 78637 Jul 19 23:55 coverage.out 23:56:10 drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 23:54 doc 23:56:10 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 19 23:54 go.mod 23:56:10 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 19 23:54 go.sum 23:56:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 23:54 internal 23:56:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 23:54 snap 23:56:10 -rw-rw-r-- 1 jenkins jenkins 236 Jul 19 23:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:10 + 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=67a52f2999f45dedeb950717400ce7c03cd162d6 --label arch=amd64 --label version=0.0.0 . 23:56:10 Sending build context to Docker daemon 19.93MB 23:56:10 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 23:56:10 Step 2/26 : FROM ${BASE} AS builder 23:56:10 ---> 34f6dfb4d6de 23:56:10 Step 3/26 : ARG MAKE="make build" 23:56:10 ---> Running in 8172f20e78d4 23:56:10 Removing intermediate container 8172f20e78d4 23:56:10 ---> 40d724ae5cd3 23:56:10 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:56:10 ---> Running in de2c8d601fe4 23:56:10 Removing intermediate container de2c8d601fe4 23:56:10 ---> 8f1f10b9dc07 23:56:10 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 23:56:10 ---> Running in 65c14196e0ea 23:56:10 Removing intermediate container 65c14196e0ea 23:56:10 ---> 16e07a12044a 23:56:10 Step 6/26 : LABEL Name=edgex-device-onvif-camera 23:56:10 ---> Running in ae7d5dc26a66 23:56:11 Removing intermediate container ae7d5dc26a66 23:56:11 ---> fc78177425db 23:56:11 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:56:11 ---> Running in 83d8145d5727 23:56:11 Removing intermediate container 83d8145d5727 23:56:11 ---> c43bd85a7ab3 23:56:11 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:56:11 ---> Running in 9f1b4c9951a8 23:56:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:56:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:56:13 OK: 211 MiB in 51 packages 23:56:13 Removing intermediate container 9f1b4c9951a8 23:56:13 ---> ee97f680859e 23:56:13 Step 9/26 : WORKDIR /device-onvif-camera 23:56:13 ---> Running in 7a49c775caee 23:56:13 Removing intermediate container 7a49c775caee 23:56:13 ---> 3e34539c7b2b 23:56:13 Step 10/26 : COPY go.mod vendor* ./ 23:56:13 ---> a5d5c7054046 23:56:13 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:56:14 ---> Running in fb8f8b460f85 23:56:14 Removing intermediate container fb8f8b460f85 23:56:14 ---> e25f87e17a06 23:56:14 Step 12/26 : COPY . . 23:56:15 ---> 557877f95870 23:56:15 Step 13/26 : RUN ${MAKE} 23:56:15 ---> Running in caa948ca00f6 23:56:15 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 23:56:37 Removing intermediate container caa948ca00f6 23:56:37 ---> c99d1056fb63 23:56:37 Step 14/26 : FROM alpine:3.15 23:56:37 3.15: Pulling from library/alpine 23:56:37 ab6db1bc80d0: Pulling fs layer 23:56:37 ab6db1bc80d0: Verifying Checksum 23:56:37 ab6db1bc80d0: Download complete 23:56:37 ab6db1bc80d0: Pull complete 23:56:37 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 23:56:37 Status: Downloaded newer image for alpine:3.15 23:56:37 ---> 2720e26172a0 23:56:37 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:56:37 ---> Running in e84b39bab413 23:56:37 Removing intermediate container e84b39bab413 23:56:37 ---> 74fb33208198 23:56:37 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:56:37 ---> Running in 76e80100b1c8 23:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:56:37 (1/6) Installing dumb-init (1.2.5-r1) 23:56:37 (2/6) Installing libgcc (10.3.1_git20211027-r0) 23:56:37 (3/6) Installing libsodium (1.0.18-r0) 23:56:37 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 23:56:37 (5/6) Installing libzmq (4.3.4-r0) 23:56:37 (6/6) Installing zeromq (4.3.4-r0) 23:56:37 Executing busybox-1.34.1-r7.trigger 23:56:37 OK: 8 MiB in 20 packages 23:56:37 Removing intermediate container 76e80100b1c8 23:56:37 ---> df643da26295 23:56:37 Step 17/26 : WORKDIR / 23:56:37 ---> Running in 43860cb9cb2b 23:56:37 Removing intermediate container 43860cb9cb2b 23:56:37 ---> e24bd8e16338 23:56:37 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:56:37 ---> 5b6c1bbb84ca 23:56:37 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:56:37 ---> 45c339e33560 23:56:37 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:56:37 ---> a79d96c8d9bb 23:56:37 Step 21/26 : EXPOSE 59984 23:56:37 ---> Running in 6142eb804a41 23:56:37 Removing intermediate container 6142eb804a41 23:56:37 ---> 4a89ea6c337c 23:56:37 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:56:37 ---> Running in 175f245bf4f1 23:56:37 Removing intermediate container 175f245bf4f1 23:56:37 ---> 278ed726250d 23:56:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:56:37 ---> Running in 2caa3a57a46d 23:56:37 Removing intermediate container 2caa3a57a46d 23:56:37 ---> a14c9c3e9128 23:56:37 Step 24/26 : LABEL arch=amd64 23:56:38 ---> Running in b45f0b29ed47 23:56:38 Removing intermediate container b45f0b29ed47 23:56:38 ---> 3745aeb61250 23:56:38 Step 25/26 : LABEL git_sha=67a52f2999f45dedeb950717400ce7c03cd162d6 23:56:38 ---> Running in 0f54e363c09e 23:56:38 Removing intermediate container 0f54e363c09e 23:56:38 ---> c9894fe6a4ac 23:56:38 Step 26/26 : LABEL version=0.0.0 23:56:38 ---> Running in bbbfc305893b 23:56:38 Removing intermediate container bbbfc305893b 23:56:38 ---> cfdb2e0525e0 23:56:38 [Warning] One or more build-args [ARCH] were not consumed 23:56:38 Successfully built cfdb2e0525e0 23:56:38 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 23:56:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:39 23:56:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:39 latest: Pulling from edgex-lftools-log-publisher 23:56:39 5eb5b503b376: Pulling fs layer 23:56:39 5c69ac0246d0: Pulling fs layer 23:56:39 ec43610c2a17: Pulling fs layer 23:56:39 3a2ae6a8a46f: Pulling fs layer 23:56:39 33b1e0a273af: Pulling fs layer 23:56:39 5d3b04190fa2: Pulling fs layer 23:56:39 2f39f015ded8: Pulling fs layer 23:56:39 33b1e0a273af: Waiting 23:56:39 3a2ae6a8a46f: Waiting 23:56:39 5d3b04190fa2: Waiting 23:56:39 2f39f015ded8: Waiting 23:56:39 5c69ac0246d0: Verifying Checksum 23:56:39 5c69ac0246d0: Download complete 23:56:39 3a2ae6a8a46f: Verifying Checksum 23:56:39 3a2ae6a8a46f: Download complete 23:56:39 33b1e0a273af: Verifying Checksum 23:56:39 33b1e0a273af: Download complete 23:56:39 5d3b04190fa2: Verifying Checksum 23:56:39 5d3b04190fa2: Download complete 23:56:39 ec43610c2a17: Verifying Checksum 23:56:39 ec43610c2a17: Download complete 23:56:39 5eb5b503b376: Verifying Checksum 23:56:39 5eb5b503b376: Download complete 23:56:40 2f39f015ded8: Download complete 23:56:41 5eb5b503b376: Pull complete 23:56:41 5c69ac0246d0: Pull complete 23:56:42 ec43610c2a17: Pull complete 23:56:42 3a2ae6a8a46f: Pull complete 23:56:42 33b1e0a273af: Pull complete 23:56:42 5d3b04190fa2: Pull complete 23:56:47 2f39f015ded8: Pull complete 23:56:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:56:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:47 prd-ubuntu20.04-docker-8c-8g-20534 does not seem to be running inside a container 23:56:47 $ 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-113 -v /w/workspace/undry_device-onvif-camera_PR-113:/w/workspace/undry_device-onvif-camera_PR-113:rw,z -v /w/workspace/undry_device-onvif-camera_PR-113@tmp:/w/workspace/undry_device-onvif-camera_PR-113@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 23:56:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20535 in /w/workspace/undry_device-onvif-camera_PR-113 23:56:49 $ docker top 2b078dfda10bef45f12f3ba2003ebe281b20679d65e4de5f2da4e8aeb7d5bb95 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 23:56:49 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 23:56:49 Selected Git installation does not exist. Using Default 23:56:49 The recommended git tool is: NONE 23:56:50 ---> job-cost.sh 23:56:50 lf-activate-venv: SKIPPING 23:56:50 INFO: No Stack... 23:56:50 INFO: Retrieving Pricing Info for: v3-standard-8 23:56:50 INFO: Archiving Costs [Pipeline] sh 23:56:51 + cat /w/workspace/undry_device-onvif-camera_PR-113/archives/cost.csv 23:56:51 + cut -d, -f6 [Pipeline] lock 23:56:51 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-113-1-stack-cost] 23:56:51 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-113-1-stack-cost] did not exist. Created. 23:56:51 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-113-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:56:51 + echo total: 0.2199999988079071 [Pipeline] stash 23:56:51 Stashed 1 file(s) [Pipeline] } 23:56:51 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-113-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:56:51 $ docker stop --time=1 2b078dfda10bef45f12f3ba2003ebe281b20679d65e4de5f2da4e8aeb7d5bb95 23:56:53 $ docker rm -f 2b078dfda10bef45f12f3ba2003ebe281b20679d65e4de5f2da4e8aeb7d5bb95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:56:55 using credential edgex-jenkins-ssh 23:56:55 Cloning the remote Git repository 23:56:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:56:55 > git init /w/workspace/device-onvif-camera/1 # timeout=10 23:56:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:56:55 > git --version # timeout=10 23:56:55 > git --version # 'git version 2.25.1' 23:56:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:57 Merging remotes/origin/main commit a761beb27065a69935e8288e1ea85e5d9ee20b97 into PR head commit 67a52f2999f45dedeb950717400ce7c03cd162d6 23:56:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:56:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:56:57 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:56:57 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:56:57 > git config core.sparsecheckout # timeout=10 23:56:57 > git checkout -f 67a52f2999f45dedeb950717400ce7c03cd162d6 # timeout=10 23:56:58 Merge succeeded, producing 67a52f2999f45dedeb950717400ce7c03cd162d6 23:56:58 Checking out Revision 67a52f2999f45dedeb950717400ce7c03cd162d6 (PR-113) 23:56:57 > git remote # timeout=10 23:56:57 > git config --get remote.origin.url # timeout=10 23:56:57 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:57 > git merge a761beb27065a69935e8288e1ea85e5d9ee20b97 # timeout=10 23:56:58 > git rev-parse HEAD^{commit} # timeout=10 23:56:58 > git config core.sparsecheckout # timeout=10 23:56:58 > git checkout -f 67a52f2999f45dedeb950717400ce7c03cd162d6 # timeout=10 23:57:02 Commit message: "fix: do not show NoAuth group or Create New on edit" 23:57:02 > git --version # timeout=10 23:57:02 > git --version # 'git version 2.25.1' 23:57:02 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:57:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:57:03 % Total % Received % Xferd Average Speed Time Time Time Current 23:57:03 Dload Upload Total Spent Left Speed 23:57:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 94861 0 --:--:-- --:--:-- --:--:-- 94861 100 12332 100 12332 0 0 94137 0 --:--:-- --:--:-- --:--:-- 93424 [Pipeline] sh 23:57:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:57:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:57:04 + sudo tee /etc/docker/daemon.new 23:57:04 { 23:57:04 "registry-mirrors": [ 23:57:04 "https://nexus3.edgexfoundry.org:10001" 23:57:04 ], 23:57:04 "bip": "10.250.0.254/24", 23:57:04 "hosts": [ 23:57:04 "tcp://0.0.0.0:5555", 23:57:04 "unix:///var/run/docker.sock" 23:57:04 ], 23:57:04 "mtu": 1458, 23:57:04 "selinux-enabled": true, 23:57:04 "seccomp-profile": "/etc/docker/seccomp.json" 23:57:04 } [Pipeline] sh 23:57:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:57:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:57:23 provisioning config files... 23:57:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1500540111809769095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:24 ---> docker-login.sh 23:57:24 nexus3.edgexfoundry.org:10001 23:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:25 Configure a credential helper to remove this warning. See 23:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:25 23:57:25 Login Succeeded 23:57:25 nexus3.edgexfoundry.org:10002 23:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:25 Configure a credential helper to remove this warning. See 23:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:25 23:57:25 Login Succeeded 23:57:25 nexus3.edgexfoundry.org:10003 23:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:26 Configure a credential helper to remove this warning. See 23:57:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:26 23:57:26 Login Succeeded 23:57:26 nexus3.edgexfoundry.org:10004 23:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:26 Configure a credential helper to remove this warning. See 23:57:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:26 23:57:26 Login Succeeded 23:57:26 docker.io 23:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:27 Configure a credential helper to remove this warning. See 23:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:27 23:57:27 Login Succeeded 23:57:27 ---> docker-login.sh ends [Pipeline] } 23:57:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:57:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:27 ========================================================= 23:57:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:57:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:28 + 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 . 23:57:28 Sending build context to Docker daemon 13.81MB 23:57:28 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:57:28 Step 2/13 : FROM ${BASE} AS builder 23:57:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:57:28 b3c136eddcbf: Pulling fs layer 23:57:28 c0a3192eca97: Pulling fs layer 23:57:28 a050256f5b6f: Pulling fs layer 23:57:28 656be50a0ddc: Pulling fs layer 23:57:28 2bbca73fdf42: Pulling fs layer 23:57:28 46d945488cbd: Pulling fs layer 23:57:28 8a5474983e97: Pulling fs layer 23:57:28 329c88fbcd65: Pulling fs layer 23:57:28 656be50a0ddc: Waiting 23:57:28 2bbca73fdf42: Waiting 23:57:28 329c88fbcd65: Waiting 23:57:28 46d945488cbd: Waiting 23:57:28 8a5474983e97: Waiting 23:57:28 a050256f5b6f: Verifying Checksum 23:57:28 a050256f5b6f: Download complete 23:57:28 c0a3192eca97: Download complete 23:57:28 2bbca73fdf42: Verifying Checksum 23:57:28 2bbca73fdf42: Download complete 23:57:28 46d945488cbd: Verifying Checksum 23:57:28 46d945488cbd: Download complete 23:57:28 b3c136eddcbf: Verifying Checksum 23:57:28 b3c136eddcbf: Download complete 23:57:29 b3c136eddcbf: Pull complete 23:57:30 329c88fbcd65: Verifying Checksum 23:57:30 329c88fbcd65: Download complete 23:57:30 c0a3192eca97: Pull complete 23:57:30 a050256f5b6f: Pull complete 23:57:30 8a5474983e97: Verifying Checksum 23:57:30 8a5474983e97: Download complete 23:57:31 656be50a0ddc: Verifying Checksum 23:57:31 656be50a0ddc: Download complete 23:57:44 656be50a0ddc: Pull complete 23:57:44 2bbca73fdf42: Pull complete 23:57:44 46d945488cbd: Pull complete 23:57:51 8a5474983e97: Pull complete 23:57:53 329c88fbcd65: Pull complete 23:57:53 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 23:57:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:57:53 ---> ff4287adb874 23:57:53 Step 3/13 : ARG MAKE="make build" 23:57:55 ---> Running in e7f32e5bf040 23:57:56 Removing intermediate container e7f32e5bf040 23:57:56 ---> 6d8807572940 23:57:56 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:57:56 ---> Running in 8c9de5bcc841 23:57:56 Removing intermediate container 8c9de5bcc841 23:57:56 ---> 1b6ab1d87cfe 23:57:56 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 23:57:56 ---> Running in 4a41fd1b7bb9 23:57:57 Removing intermediate container 4a41fd1b7bb9 23:57:57 ---> 38f01a1b223d 23:57:57 Step 6/13 : LABEL Name=edgex-device-onvif-camera 23:57:57 ---> Running in 29b15ac6ab4e 23:57:57 Removing intermediate container 29b15ac6ab4e 23:57:57 ---> 0b309221d8ef 23:57:57 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:57:57 ---> Running in 55f56ebfc434 23:57:59 Removing intermediate container 55f56ebfc434 23:57:59 ---> 05d76f94b1ed 23:57:59 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:57:59 ---> Running in 8726a26d1457 23:58:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:58:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:58:01 OK: 221 MiB in 51 packages 23:58:02 Removing intermediate container 8726a26d1457 23:58:02 ---> 482ead5962c7 23:58:02 Step 9/13 : WORKDIR /device-onvif-camera 23:58:02 ---> Running in 22bb1f4a3252 23:58:03 Removing intermediate container 22bb1f4a3252 23:58:03 ---> 43812f8b1b02 23:58:03 Step 10/13 : COPY go.mod vendor* ./ 23:58:03 ---> 2bc28d28e2c4 23:58:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:58:03 ---> Running in 27ccddd401b2 23:58:50 Removing intermediate container 27ccddd401b2 23:58:50 ---> 6d496107ec63 23:58:50 Step 12/13 : COPY . . 23:58:50 ---> 4ab07a6d17db 23:58:50 Step 13/13 : RUN ${MAKE} 23:58:50 ---> Running in 9cacb827c8c3 23:58:50 noop 23:58:51 Removing intermediate container 9cacb827c8c3 23:58:51 ---> 9b37606f451e 23:58:51 Successfully built 9b37606f451e 23:58:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:51 + docker inspect -f . ci-base-image-arm64 23:58:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:51 prd-ubuntu20.04-docker-arm64-4c-16g-20535 does not seem to be running inside a container 23:58:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 23:58:53 $ docker top fe44badf28fc90954df748e3e4027741a5b548430eed58e59b645e251489a351 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:54 + go version 23:58:54 go version go1.18.3 linux/arm64 [Pipeline] } 23:58:54 $ docker stop --time=1 fe44badf28fc90954df748e3e4027741a5b548430eed58e59b645e251489a351 23:58:55 $ docker rm -f fe44badf28fc90954df748e3e4027741a5b548430eed58e59b645e251489a351 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:56 + docker inspect -f . ci-base-image-arm64 23:58:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:57 prd-ubuntu20.04-docker-arm64-4c-16g-20535 does not seem to be running inside a container 23:58:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 23:58:58 $ docker top f4f62a5cf5f2a0196cc4bdc83848597ba5ef35de6c7bdd389c31484d9c366b4b -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:59 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 23:59:00 + make test 23:59:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:59:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:00:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:00:27 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.093s coverage: 10.9% of statements 00:00:27 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:00:49 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.941s coverage: 13.8% of statements 00:00:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:00:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:01:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:01:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:01:12 ./bin/test-attribution-txt.sh [Pipeline] echo 00:01:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:01:12 $ docker stop --time=1 f4f62a5cf5f2a0196cc4bdc83848597ba5ef35de6c7bdd389c31484d9c366b4b 00:01:14 $ docker rm -f f4f62a5cf5f2a0196cc4bdc83848597ba5ef35de6c7bdd389c31484d9c366b4b [Pipeline] // withDockerContainer [Pipeline] sh 00:01:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:01:15 Warning: overwriting stash ‘coverage-report’ 00:01:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:01:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:01:17 + ls -al . 00:01:17 total 232 00:01:17 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 00:01 . 00:01:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 23:56 .. 00:01:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 23:57 .git 00:01:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 23:56 .github 00:01:17 -rw-rw-r-- 1 jenkins jenkins 418 Jul 19 23:56 .gitignore 00:01:17 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 23:56 .golangci.yml 00:01:17 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 19 23:56 Attribution.txt 00:01:17 -rw-rw-r-- 1 jenkins jenkins 189 Jul 19 23:56 CHANGELOG.md 00:01:17 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 19 23:56 Dockerfile 00:01:17 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 23:56 GOVERNANCE.md 00:01:17 -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 23:56 Jenkinsfile 00:01:17 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 23:56 LICENSE 00:01:17 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 19 23:56 Makefile 00:01:17 -rw-rw-r-- 1 jenkins jenkins 625 Jul 19 23:56 OWNERS.md 00:01:17 -rw-rw-r-- 1 jenkins jenkins 5796 Jul 19 23:56 README.md 00:01:17 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 23:54 VERSION 00:01:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 23:56 bin 00:01:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 23:56 cmd 00:01:17 -rw-r--r-- 1 jenkins jenkins 78637 Jul 20 00:00 coverage.out 00:01:17 drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 23:56 doc 00:01:17 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 19 23:56 go.mod 00:01:17 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 19 23:56 go.sum 00:01:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 23:56 internal 00:01:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 23:56 snap 00:01:17 -rw-rw-r-- 1 jenkins jenkins 236 Jul 19 23:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:17 + 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=67a52f2999f45dedeb950717400ce7c03cd162d6 --label arch=arm64 --label version=0.0.0 . 00:01:18 Sending build context to Docker daemon 13.89MB 00:01:18 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 00:01:18 Step 2/26 : FROM ${BASE} AS builder 00:01:18 ---> 9b37606f451e 00:01:18 Step 3/26 : ARG MAKE="make build" 00:01:18 ---> Running in 0268340aec95 00:01:18 Removing intermediate container 0268340aec95 00:01:18 ---> 0a72f08a82f4 00:01:18 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:01:18 ---> Running in d8374e4b04e4 00:01:19 Removing intermediate container d8374e4b04e4 00:01:19 ---> 635bef50d323 00:01:19 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:01:19 ---> Running in db652e2f035d 00:01:19 Removing intermediate container db652e2f035d 00:01:19 ---> c6578d99f248 00:01:19 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:01:19 ---> Running in 1dc7bea2a46b 00:01:19 Removing intermediate container 1dc7bea2a46b 00:01:19 ---> 3376e50a16ea 00:01:19 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:01:19 ---> Running in c707da18ea6c 00:01:21 Removing intermediate container c707da18ea6c 00:01:21 ---> 343f28cfc0f8 00:01:21 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:01:21 ---> Running in 35c23609c7ad 00:01:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:01:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:01:24 OK: 221 MiB in 51 packages 00:01:25 Removing intermediate container 35c23609c7ad 00:01:25 ---> 292938f8f3ca 00:01:25 Step 9/26 : WORKDIR /device-onvif-camera 00:01:25 ---> Running in 9220e9fbd06a 00:01:25 Removing intermediate container 9220e9fbd06a 00:01:25 ---> 45c5c8312f5f 00:01:25 Step 10/26 : COPY go.mod vendor* ./ 00:01:26 ---> 1164067179d1 00:01:26 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:01:26 ---> Running in 8b924cc089d3 00:01:28 Removing intermediate container 8b924cc089d3 00:01:28 ---> f9d091aab19c 00:01:28 Step 12/26 : COPY . . 00:01:29 ---> d47de5d4ceca 00:01:29 Step 13/26 : RUN ${MAKE} 00:01:29 ---> Running in 2c1e92963199 00:01:30 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 00:03:37 Removing intermediate container 2c1e92963199 00:03:37 ---> 01bf784af769 00:03:37 Step 14/26 : FROM alpine:3.15 00:03:37 3.15: Pulling from library/alpine 00:03:37 e0295fd11fe2: Pulling fs layer 00:03:37 e0295fd11fe2: Verifying Checksum 00:03:37 e0295fd11fe2: Download complete 00:03:37 e0295fd11fe2: Pull complete 00:03:37 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 00:03:37 Status: Downloaded newer image for alpine:3.15 00:03:37 ---> 60f2846fe774 00:03:37 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:03:37 ---> Running in 9a1b1c8d7b06 00:03:37 Removing intermediate container 9a1b1c8d7b06 00:03:37 ---> 19c39e2a7994 00:03:37 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:03:37 ---> Running in e7e81667b5e1 00:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:03:39 (1/6) Installing dumb-init (1.2.5-r1) 00:03:39 (2/6) Installing libgcc (10.3.1_git20211027-r0) 00:03:39 (3/6) Installing libsodium (1.0.18-r0) 00:03:39 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 00:03:39 (5/6) Installing libzmq (4.3.4-r0) 00:03:39 (6/6) Installing zeromq (4.3.4-r0) 00:03:39 Executing busybox-1.34.1-r7.trigger 00:03:39 OK: 8 MiB in 20 packages 00:03:40 Removing intermediate container e7e81667b5e1 00:03:40 ---> 1b27df193bfd 00:03:40 Step 17/26 : WORKDIR / 00:03:40 ---> Running in be4a0d92bd72 00:03:40 Removing intermediate container be4a0d92bd72 00:03:40 ---> ddef0501fbdb 00:03:40 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:03:42 ---> cc1e5e810d39 00:03:42 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:03:42 ---> ecf542bdaf7e 00:03:42 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:03:43 ---> 0543237090bc 00:03:43 Step 21/26 : EXPOSE 59984 00:03:43 ---> Running in abd47cd26e07 00:03:43 Removing intermediate container abd47cd26e07 00:03:43 ---> b8aac00ad143 00:03:43 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:03:43 ---> Running in b80eb5a8be0f 00:03:43 Removing intermediate container b80eb5a8be0f 00:03:43 ---> da50f3c57717 00:03:43 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:03:43 ---> Running in bcad95430412 00:03:44 Removing intermediate container bcad95430412 00:03:44 ---> 1029ef2e2214 00:03:44 Step 24/26 : LABEL arch=arm64 00:03:44 ---> Running in 0f8954892439 00:03:44 Removing intermediate container 0f8954892439 00:03:44 ---> b9c304f853f7 00:03:44 Step 25/26 : LABEL git_sha=67a52f2999f45dedeb950717400ce7c03cd162d6 00:03:44 ---> Running in baac64e6948d 00:03:45 Removing intermediate container baac64e6948d 00:03:45 ---> ccb4ba173e51 00:03:45 Step 26/26 : LABEL version=0.0.0 00:03:45 ---> Running in 5e6b26f1cf0c 00:03:45 Removing intermediate container 5e6b26f1cf0c 00:03:45 ---> 53b83d2f4b79 00:03:45 [Warning] One or more build-args [ARCH] were not consumed 00:03:45 Successfully built 53b83d2f4b79 00:03:45 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:03:46 00:03:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:03:47 arm64: Pulling from edgex-lftools-log-publisher 00:03:47 8998bd30e6a1: Pulling fs layer 00:03:47 04944245beec: Pulling fs layer 00:03:47 699f458cf7ca: Pulling fs layer 00:03:47 765212b225bb: Pulling fs layer 00:03:47 f23df028b6ca: Pulling fs layer 00:03:47 d65c8cfc05b1: Pulling fs layer 00:03:47 2437ff75d9bd: Pulling fs layer 00:03:47 765212b225bb: Waiting 00:03:47 f23df028b6ca: Waiting 00:03:47 d65c8cfc05b1: Waiting 00:03:47 2437ff75d9bd: Waiting 00:03:47 04944245beec: Verifying Checksum 00:03:47 04944245beec: Download complete 00:03:47 765212b225bb: Download complete 00:03:47 f23df028b6ca: Verifying Checksum 00:03:47 f23df028b6ca: Download complete 00:03:47 d65c8cfc05b1: Verifying Checksum 00:03:47 d65c8cfc05b1: Download complete 00:03:47 699f458cf7ca: Verifying Checksum 00:03:47 699f458cf7ca: Download complete 00:03:47 8998bd30e6a1: Verifying Checksum 00:03:47 8998bd30e6a1: Download complete 00:03:50 2437ff75d9bd: Verifying Checksum 00:03:50 2437ff75d9bd: Download complete 00:03:52 8998bd30e6a1: Pull complete 00:03:52 04944245beec: Pull complete 00:03:54 699f458cf7ca: Pull complete 00:03:54 765212b225bb: Pull complete 00:03:55 f23df028b6ca: Pull complete 00:03:55 d65c8cfc05b1: Pull complete 00:04:10 2437ff75d9bd: Pull complete 00:04:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:04:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:04:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:10 prd-ubuntu20.04-docker-arm64-4c-16g-20535 does not seem to be running inside a container 00:04:10 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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:arm64 cat 00:04:13 $ docker top e8e342b4ca8ea5de582c2ec451de131b6c4394c641321c520cc6c9b3d9cdc660 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:04:14 ---> job-cost.sh 00:04:14 lf-activate-venv: SKIPPING 00:04:14 INFO: No Stack... 00:04:14 INFO: Retrieving Pricing Info for: v3-standard-4 00:04:15 INFO: Archiving Costs [Pipeline] sh 00:04:16 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 00:04:16 + cut -d, -f6 [Pipeline] lock 00:04:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-113-1-stack-cost] 00:04:16 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-113-1-stack-cost] did not exist. Created. 00:04:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-113-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:04:17 /w/workspace/device-onvif-camera/1@tmp/durable-ba205674/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:04:17 + echo total: 0.10999999940395355 [Pipeline] stash 00:04:17 Warning: overwriting stash ‘stack-cost’ 00:04:18 Stashed 1 file(s) [Pipeline] } 00:04:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-113-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:04:18 $ docker stop --time=1 e8e342b4ca8ea5de582c2ec451de131b6c4394c641321c520cc6c9b3d9cdc660 00:04:19 $ docker rm -f e8e342b4ca8ea5de582c2ec451de131b6c4394c641321c520cc6c9b3d9cdc660 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:04:20 provisioning config files... 00:04:20 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-113@tmp/config3834503474640692159tmp [Pipeline] { [Pipeline] sh 00:04:20 + set +x 00:04:20 + curl -s https://codecov.io/bash 00:04:20 + bash -s -- 00:04:20 00:04:20 _____ _ 00:04:20 / ____| | | 00:04:20 | | ___ __| | ___ ___ _____ __ 00:04:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:04:20 | |___| (_) | (_| | __/ (_| (_) \ V / 00:04:20 \_____\___/ \__,_|\___|\___\___/ \_/ 00:04:20 Bash-1.0.6 00:04:20 00:04:20 00:04:20 ==> git version 2.25.1 found 00:04:20 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:04:20 Release-Date: 2020-01-08 00:04:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:04:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:04:20 ==> Jenkins CI detected. 00:04:20 current dir:  /w/workspace/undry_device-onvif-camera_PR-113 00:04:20 project root: . 00:04:20 --> token set from env 00:04:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:04:20 ==> Running gcov in . (disable via -X gcov) 00:04:20 ==> Python coveragepy not found 00:04:20 ==> Searching for coverage reports in: 00:04:20 + . 00:04:20 -> Found 1 reports 00:04:20 ==> Detecting git/mercurial file structure 00:04:20 ==> Reading reports 00:04:20 + ./coverage.out bytes=78637 00:04:21 ==> Appending adjustments 00:04:21 https://docs.codecov.io/docs/fixing-reports 00:04:21 + Found adjustments 00:04:21 ==> Gzipping contents 00:04:21 12K /tmp/codecov.XbjCOl.gz 00:04:21 ==> Uploading reports 00:04:21 url: https://codecov.io 00:04:21 query: branch=PR-113&commit=67a52f2999f45dedeb950717400ce7c03cd162d6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=113&job=&cmd_args= 00:04:21 -> Pinging Codecov 00:04:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-113&commit=67a52f2999f45dedeb950717400ce7c03cd162d6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=113&job=&cmd_args= 00:04:21 -> Uploading to 00:04:21 https://storage.googleapis.com/codecov/v4/raw/2022-07-20/F29A59C45E3A92E06B3E522C9905F8EF/67a52f2999f45dedeb950717400ce7c03cd162d6/ab9ff286-0634-4ed6-9ee9-a0d5cd2b1aa8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220720T000421Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10ca94287eba239021e2ebe64c27a2c9ff76d25fe6061c8b9ac489389dbd56be 00:04:21 % Total % Received % Xferd Average Speed Time Time Time Current 00:04:21 Dload Upload Total Spent Left Speed 00:04:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10520 0 0 100 10520 0 45541 --:--:-- --:--:-- --:--:-- 45541 00:04:21 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/67a52f2999f45dedeb950717400ce7c03cd162d6 [Pipeline] } 00:04:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:04:23 + [ -d /w/workspace/undry_device-onvif-camera_PR-113/archives ] 00:04:23 + ls -al /w/workspace/undry_device-onvif-camera_PR-113/archives 00:04:23 total 16 00:04:23 drwxr-xr-x 3 root root 4096 Jul 19 23:56 . 00:04:23 drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 23:56 .. 00:04:23 drwxr-xr-x 2 root root 4096 Jul 19 23:56 cost 00:04:23 -rw-r--r-- 1 root root 90 Jul 19 23:56 cost.csv 00:04:23 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-113/archives 00:04:23 + ls -al /w/workspace/undry_device-onvif-camera_PR-113/archives 00:04:23 total 16 00:04:23 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 23:56 . 00:04:23 drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 23:56 .. 00:04:23 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 23:56 cost 00:04:23 -rw-r--r-- 1 jenkins jenkins 90 Jul 19 23:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:04:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:04:24 ---> package-listing.sh 00:04:24 ++ facter osfamily 00:04:24 ++ tr '[:upper:]' '[:lower:]' 00:04:25 + OS_FAMILY=debian 00:04:25 + workspace=/w/workspace/undry_device-onvif-camera_PR-113 00:04:25 + START_PACKAGES=/tmp/packages_start.txt 00:04:25 + END_PACKAGES=/tmp/packages_end.txt 00:04:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:04:25 + PACKAGES=/tmp/packages_start.txt 00:04:25 + '[' /w/workspace/undry_device-onvif-camera_PR-113 ']' 00:04:25 + PACKAGES=/tmp/packages_end.txt 00:04:25 + case "${OS_FAMILY}" in 00:04:25 + dpkg -l 00:04:25 + grep '^ii' 00:04:25 + '[' -f /tmp/packages_start.txt ']' 00:04:25 + '[' -f /tmp/packages_end.txt ']' 00:04:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:04:25 + '[' /w/workspace/undry_device-onvif-camera_PR-113 ']' 00:04:25 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-113/archives/ 00:04:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-113/archives/ [Pipeline] echo 00:04:25 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-113/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:04:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:26 prd-ubuntu20.04-docker-8c-8g-20534 does not seem to be running inside a container 00:04:26 $ 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-113/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-113 -v /w/workspace/undry_device-onvif-camera_PR-113:/w/workspace/undry_device-onvif-camera_PR-113:rw,z -v /w/workspace/undry_device-onvif-camera_PR-113@tmp:/w/workspace/undry_device-onvif-camera_PR-113@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:04:26 $ docker top a3fda76bf09fe536f8c81b4ec1b83ff1a5c8313253cf8f81970b66e756577d16 -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:26 + touch /tmp/pre-build-complete [Pipeline] sh 00:04:27 + mkdir -p /var/log/sysstat [Pipeline] sh 00:04:27 + ls /var/log/sa-host 00:04:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:04:27 provisioning config files... 00:04:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-113@tmp/config6246312391698432724tmp [Pipeline] { [Pipeline] echo 00:04:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:04:28 ---> create-netrc.sh [Pipeline] } 00:04:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:04:28 ---> python-tools-install.sh [Pipeline] echo 00:04:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:04:28 ---> sudo-logs.sh 00:04:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:04:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:04:29 ---> job-cost.sh 00:04:29 lf-activate-venv: SKIPPING 00:04:29 DEBUG: total: 0.2199999988079071 00:04:29 INFO: Retrieving Stack Cost... 00:04:29 INFO: Retrieving Pricing Info for: v3-standard-8 00:04:30 INFO: Archiving Costs [Pipeline] echo 00:04:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:04:30 ---> logs-deploy.sh 00:04:30 lf-activate-venv: SKIPPING 00:04:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-113/1 00:04:30 INFO: archiving workspace using pattern(s): 00:04:31 Archives upload complete. 00:04:31 INFO: archiving logs to Nexus 00:04:32 ---> uname -a: 00:04:32 Linux prd-ubuntu20-04-docker-8c-8g-20534 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 00:04:32 00:04:32 00:04:32 ---> lscpu: 00:04:32 Architecture: x86_64 00:04:32 CPU op-mode(s): 32-bit, 64-bit 00:04:32 Byte Order: Little Endian 00:04:32 Address sizes: 40 bits physical, 48 bits virtual 00:04:32 CPU(s): 8 00:04:32 On-line CPU(s) list: 0-7 00:04:32 Thread(s) per core: 1 00:04:32 Core(s) per socket: 1 00:04:32 Socket(s): 8 00:04:32 NUMA node(s): 1 00:04:32 Vendor ID: AuthenticAMD 00:04:32 CPU family: 23 00:04:32 Model: 49 00:04:32 Model name: AMD EPYC-Rome Processor 00:04:32 Stepping: 0 00:04:32 CPU MHz: 2799.996 00:04:32 BogoMIPS: 5599.99 00:04:32 Virtualization: AMD-V 00:04:32 Hypervisor vendor: KVM 00:04:32 Virtualization type: full 00:04:32 L1d cache: 256 KiB 00:04:32 L1i cache: 256 KiB 00:04:32 L2 cache: 4 MiB 00:04:32 L3 cache: 128 MiB 00:04:32 NUMA node0 CPU(s): 0-7 00:04:32 Vulnerability Itlb multihit: Not affected 00:04:32 Vulnerability L1tf: Not affected 00:04:32 Vulnerability Mds: Not affected 00:04:32 Vulnerability Meltdown: Not affected 00:04:32 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:04:32 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:04:32 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:04:32 Vulnerability Srbds: Not affected 00:04:32 Vulnerability Tsx async abort: Not affected 00:04:32 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:04:32 00:04:32 00:04:32 ---> nproc: 00:04:32 8 00:04:32 00:04:32 00:04:32 ---> df -h: 00:04:32 Filesystem Size Used Avail Use% Mounted on 00:04:32 overlay 155G 11G 145G 7% / 00:04:32 tmpfs 64M 0 64M 0% /dev 00:04:32 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:04:32 shm 64M 0 64M 0% /dev/shm 00:04:32 /dev/vda1 155G 11G 145G 7% /facter-os 00:04:32 00:04:32 00:04:32 ---> sar -b -r -n DEV: 00:04:32 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20534) 07/20/22 _x86_64_ (8 CPU) 00:04:32 00:04:32 00:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:04:32 00:00:01 250.00 0.00 250.00 0.00 0.00 4800.00 0.00 00:04:32 00:01:01 7.10 0.03 7.07 0.00 0.27 160.11 0.00 00:04:32 00:02:01 1.32 0.00 1.32 0.00 0.00 15.06 0.00 00:04:32 00:03:01 1.52 0.00 1.52 0.00 0.00 17.33 0.00 00:04:32 00:04:01 1.07 0.00 1.07 0.00 0.00 12.53 0.00 00:04:32 Average: 2.77 0.01 2.76 0.00 0.07 51.65 0.00 00:04:32 00:04:32 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:04:32 00:00:01 27629740 31768064 519168 1.58 175720 4113244 1864028 5.49 1362432 3376180 204 00:04:32 00:01:01 27629592 31768500 518440 1.58 175952 4113260 1887076 5.56 1361920 3375456 12 00:04:32 00:02:01 27635796 31774788 512072 1.56 176008 4113264 1887076 5.56 1355544 3375480 180 00:04:32 00:03:01 27635892 31774920 511976 1.56 176056 4113264 1887076 5.56 1355548 3375480 176 00:04:32 00:04:01 27636136 31775476 511688 1.56 176076 4113268 1887076 5.56 1356048 3375720 172 00:04:32 Average: 27633431 31772350 514669 1.57 175962 4113260 1882466 5.55 1358298 3375663 149 00:04:32 00:04:32 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:04:32 00:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:32 00:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:32 00:00:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:32 00:01:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 00:04:32 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:32 00:01:01 ens3 0.20 0.18 0.02 0.02 0.00 0.00 0.00 0.00 00:04:32 00:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:32 00:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:32 00:02:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:32 00:03:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:04:32 00:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:32 00:03:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 00:04:32 00:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:32 00:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:32 00:04:01 ens3 1.00 0.58 0.39 0.28 0.00 0.00 0.00 0.00 00:04:32 Average: lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 00:04:32 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:32 Average: ens3 0.33 0.22 0.10 0.08 0.00 0.00 0.00 0.00 00:04:32 00:04:32 00:04:32 ---> sar -P ALL: 00:04:32 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20534) 07/20/22 _x86_64_ (8 CPU) 00:04:32 00:04:32 00:00:01 CPU %user %nice %system %iowait %steal %idle 00:04:32 00:00:01 all 5.88 0.00 11.76 0.00 0.00 82.35 00:04:32 00:00:01 0 0.00 0.00 0.00 0.00 0.00 100.00 00:04:32 00:00:01 1 0.00 0.00 0.00 0.00 0.00 100.00 00:04:32 00:00:01 2 0.00 0.00 0.00 0.00 0.00 100.00 00:04:32 00:00:01 3 0.00 0.00 0.00 0.00 0.00 100.00 00:04:32 00:00:01 4 0.00 0.00 50.00 0.00 0.00 50.00 00:04:32 00:00:01 5 0.00 0.00 0.00 0.00 0.00 100.00 00:04:32 00:00:01 6 0.00 0.00 0.00 0.00 0.00 100.00 00:04:32 00:00:01 7 25.00 0.00 25.00 0.00 0.00 50.00 00:04:32 00:01:01 all 0.28 0.02 0.04 0.03 0.01 99.62 00:04:32 00:01:01 0 0.03 0.00 0.02 0.00 0.02 99.93 00:04:32 00:01:01 1 0.02 0.00 0.05 0.00 0.00 99.93 00:04:32 00:01:01 2 0.00 0.00 0.03 0.00 0.00 99.97 00:04:32 00:01:01 3 0.03 0.00 0.03 0.07 0.00 99.87 00:04:32 00:01:01 4 2.00 0.00 0.05 0.11 0.02 97.82 00:04:32 00:01:01 5 0.02 0.02 0.03 0.00 0.00 99.93 00:04:32 00:01:01 6 0.08 0.17 0.08 0.05 0.02 99.60 00:04:32 00:01:01 7 0.02 0.00 0.03 0.00 0.00 99.95 00:04:32 00:02:01 all 0.26 0.00 0.02 0.01 0.00 99.72 00:04:32 00:02:01 0 0.00 0.00 0.00 0.00 0.00 100.00 00:04:32 00:02:01 1 0.02 0.00 0.02 0.00 0.00 99.97 00:04:32 00:02:01 2 0.00 0.00 0.00 0.00 0.00 100.00 00:04:32 00:02:01 3 0.00 0.00 0.02 0.02 0.00 99.97 00:04:32 00:02:01 4 1.97 0.00 0.00 0.03 0.00 98.00 00:04:32 00:02:01 5 0.02 0.00 0.02 0.00 0.00 99.97 00:04:32 00:02:01 6 0.03 0.00 0.07 0.00 0.02 99.88 00:04:32 00:02:01 7 0.00 0.00 0.02 0.00 0.00 99.98 00:04:32 00:03:01 all 0.26 0.00 0.01 0.01 0.00 99.73 00:04:32 00:03:01 0 0.00 0.00 0.00 0.00 0.00 100.00 00:04:32 00:03:01 1 0.02 0.00 0.02 0.00 0.00 99.97 00:04:32 00:03:01 2 0.02 0.00 0.00 0.00 0.00 99.98 00:04:32 00:03:01 3 0.00 0.00 0.00 0.02 0.00 99.98 00:04:32 00:03:01 4 1.97 0.00 0.00 0.03 0.00 98.00 00:04:32 00:03:01 5 0.02 0.00 0.02 0.00 0.00 99.97 00:04:32 00:03:01 6 0.02 0.00 0.02 0.00 0.00 99.97 00:04:32 00:03:01 7 0.00 0.00 0.02 0.00 0.00 99.98 00:04:32 00:04:01 all 0.26 0.00 0.01 0.01 0.00 99.71 00:04:32 00:04:01 0 0.03 0.00 0.02 0.00 0.00 99.95 00:04:32 00:04:01 1 0.02 0.00 0.02 0.00 0.00 99.97 00:04:32 00:04:01 2 0.00 0.00 0.02 0.00 0.00 99.98 00:04:32 00:04:01 3 0.00 0.00 0.02 0.02 0.02 99.95 00:04:32 00:04:01 4 1.97 0.00 0.00 0.03 0.00 98.00 00:04:32 00:04:01 5 0.02 0.00 0.03 0.02 0.00 99.93 00:04:32 00:04:01 6 0.05 0.00 0.02 0.00 0.02 99.92 00:04:32 00:04:01 7 0.00 0.00 0.00 0.00 0.00 100.00 00:04:32 Average: all 0.27 0.01 0.02 0.01 0.00 99.69 00:04:32 Average: 0 0.02 0.00 0.01 0.00 0.00 99.97 00:04:32 Average: 1 0.02 0.00 0.02 0.00 0.00 99.96 00:04:32 Average: 2 0.00 0.00 0.01 0.00 0.00 99.98 00:04:32 Average: 3 0.01 0.00 0.02 0.03 0.00 99.94 00:04:32 Average: 4 1.98 0.00 0.02 0.05 0.00 97.95 00:04:32 Average: 5 0.02 0.00 0.02 0.00 0.00 99.95 00:04:32 Average: 6 0.05 0.04 0.05 0.01 0.01 99.84 00:04:32 Average: 7 0.01 0.00 0.02 0.00 0.00 99.97 00:04:32 00:04:32 00:04:32