Pull request #146 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 weichou1229 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 7fdb570f67acbbcb31debbaa30cbaf156f58b692+5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 (8bce2b02aa083d355c92f283d7a7545a8ef14f06) 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-ssh15960459665080362762.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh3306802117493278036.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-146/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-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8318396934037909769.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-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh526446250880803402.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh5031617692599123773.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-146/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-146/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7288188602847331636.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23749 in /w/workspace/undry_device-onvif-camera_PR-146 [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-146 # 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 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 into PR head commit 7fdb570f67acbbcb31debbaa30cbaf156f58b692 Merge succeeded, producing 7fdb570f67acbbcb31debbaa30cbaf156f58b692 Checking out Revision 7fdb570f67acbbcb31debbaa30cbaf156f58b692 (PR-146) > 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/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fdb570f67acbbcb31debbaa30cbaf156f58b692 # 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 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fdb570f67acbbcb31debbaa30cbaf156f58b692 # timeout=10 Commit message: "fix: Check whether the onvif response is valid" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:14:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:14:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:14:28 ========================================================= 03:14:28 EdgeX Global Pipelines Version Info 03:14:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:14:29 ------------------- 03:14:29 stable info: 03:14:29 ------------------- 03:14:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:14:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:14:29 Message: update stable to v1.0.239 03:14:29 ------------------- 03:14:29 experimental info: 03:14:29 ------------------- 03:14:29 Commited By: **** collab-it+edgex@linuxfoundation.org 03:14:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:14:29 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:14:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7fdb570f67acbbcb31debbaa30cbaf156f58b692 [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7fdb570 [Pipeline] echo 03:14:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:14:31 provisioning config files... 03:14:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-146@tmp/config7985708228927665331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:32 ---> docker-login.sh 03:14:32 nexus3.edgexfoundry.org:10001 03:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:32 Configure a credential helper to remove this warning. See 03:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:32 03:14:32 Login Succeeded 03:14:32 nexus3.edgexfoundry.org:10002 03:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:32 Configure a credential helper to remove this warning. See 03:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:32 03:14:32 Login Succeeded 03:14:32 nexus3.edgexfoundry.org:10003 03:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:32 Configure a credential helper to remove this warning. See 03:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:32 03:14:32 Login Succeeded 03:14:32 nexus3.edgexfoundry.org:10004 03:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:33 Configure a credential helper to remove this warning. See 03:14:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:33 03:14:33 Login Succeeded 03:14:33 docker.io 03:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:33 Configure a credential helper to remove this warning. See 03:14:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:33 03:14:33 Login Succeeded 03:14:33 ---> docker-login.sh ends [Pipeline] } 03:14:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:14:34 + git rev-list -1 --merges 7fdb570f67acbbcb31debbaa30cbaf156f58b692~1..7fdb570f67acbbcb31debbaa30cbaf156f58b692 [Pipeline] echo 03:14:34 -----------> git rev-list -1 --merges 7fdb570f67acbbcb31debbaa30cbaf156f58b692~1..7fdb570f67acbbcb31debbaa30cbaf156f58b692 7fdb570f67acbbcb31debbaa30cbaf156f58b692 [false] [Pipeline] sh 03:14:34 + git log --format=format:%s -1 7fdb570f67acbbcb31debbaa30cbaf156f58b692 [Pipeline] echo 03:14:34 ========================================================= 03:14:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:14:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:14:35 + git log --format=format:%s -1 7fdb570f67acbbcb31debbaa30cbaf156f58b692 [Pipeline] echo 03:14:35 [semverPrep] GIT_COMMIT: 7fdb570f67acbbcb31debbaa30cbaf156f58b692, Commit Message: fix: Check whether the onvif response is valid [Pipeline] echo 03:14:35 [semverPrep] This is not a build commit. [Pipeline] sh 03:14:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:14:35 + grep -v github /etc/ssh/ssh_known_hosts 03:14:35 + [ -e /tmp/ssh_known_hosts ] 03:14:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:14:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:14:35 + sudo tee -a /etc/ssh/ssh_known_hosts 03:14:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:14:35 03:14:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:14:36 0.1.4: Pulling from edgex-devops/py-git-semver 03:14:36 b85a868b505f: Pulling fs layer 03:14:36 e2be974225ed: Pulling fs layer 03:14:36 339a4e72a1f5: Pulling fs layer 03:14:36 988bab9f4d93: Pulling fs layer 03:14:36 1469e6f7b9e6: Pulling fs layer 03:14:36 eaf3925da568: Pulling fs layer 03:14:36 bab4dde63d76: Pulling fs layer 03:14:36 bde34c3a00c8: Pulling fs layer 03:14:36 b352a97aabf1: Pulling fs layer 03:14:36 4872d77fe225: Pulling fs layer 03:14:36 5851b861e8e6: Pulling fs layer 03:14:36 1469e6f7b9e6: Waiting 03:14:36 bde34c3a00c8: Waiting 03:14:36 bab4dde63d76: Waiting 03:14:36 eaf3925da568: Waiting 03:14:36 988bab9f4d93: Waiting 03:14:36 4872d77fe225: Waiting 03:14:36 b352a97aabf1: Waiting 03:14:36 e2be974225ed: Verifying Checksum 03:14:36 e2be974225ed: Download complete 03:14:36 988bab9f4d93: Verifying Checksum 03:14:36 988bab9f4d93: Download complete 03:14:36 339a4e72a1f5: Verifying Checksum 03:14:36 339a4e72a1f5: Download complete 03:14:36 eaf3925da568: Verifying Checksum 03:14:36 eaf3925da568: Download complete 03:14:36 1469e6f7b9e6: Verifying Checksum 03:14:36 1469e6f7b9e6: Download complete 03:14:36 bde34c3a00c8: Download complete 03:14:36 b352a97aabf1: Verifying Checksum 03:14:36 4872d77fe225: Verifying Checksum 03:14:36 4872d77fe225: Download complete 03:14:36 5851b861e8e6: Verifying Checksum 03:14:36 5851b861e8e6: Download complete 03:14:36 b85a868b505f: Verifying Checksum 03:14:36 b85a868b505f: Download complete 03:14:37 bab4dde63d76: Verifying Checksum 03:14:37 bab4dde63d76: Download complete 03:14:37 b85a868b505f: Pull complete 03:14:37 e2be974225ed: Pull complete 03:14:38 339a4e72a1f5: Pull complete 03:14:38 988bab9f4d93: Pull complete 03:14:38 1469e6f7b9e6: Pull complete 03:14:38 eaf3925da568: Pull complete 03:14:40 bab4dde63d76: Pull complete 03:14:40 bde34c3a00c8: Pull complete 03:14:40 b352a97aabf1: Pull complete 03:14:40 4872d77fe225: Pull complete 03:14:40 5851b861e8e6: Pull complete 03:14:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:14:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:14:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:14:41 prd-ubuntu20.04-docker-8c-8g-23749 does not seem to be running inside a container 03:14:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@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 03:14:43 $ docker top e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 -eo pid,comm 03:14:43 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). 03:14:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:14:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:14:43 [ssh-agent] Looking for ssh-agent implementation... 03:14:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:14:43 $ docker exec e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 ssh-agent 03:14:43 SSH_AUTH_SOCK=/tmp/ssh-3ED4Akvhzvxw/agent.32 03:14:43 SSH_AGENT_PID=38 03:14:43 Running ssh-add (command line suppressed) 03:14:43 Identity added: /w/workspace/undry_device-onvif-camera_PR-146@tmp/private_key_3738126645363543283.key (/w/workspace/undry_device-onvif-camera_PR-146@tmp/private_key_3738126645363543283.key) 03:14:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:14:44 + git tag --points-at HEAD [Pipeline] } 03:14:44 $ docker exec --env ******** --env ******** e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 ssh-agent -k 03:14:44 unset SSH_AUTH_SOCK; 03:14:44 unset SSH_AGENT_PID; 03:14:44 echo Agent pid 38 killed; 03:14:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:14:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:14:44 [ssh-agent] Looking for ssh-agent implementation... 03:14:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:14:44 $ docker exec e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 ssh-agent 03:14:44 SSH_AUTH_SOCK=/tmp/ssh-tOwaOjV5TCNB/agent.70 03:14:44 SSH_AGENT_PID=76 03:14:44 Running ssh-add (command line suppressed) 03:14:44 Identity added: /w/workspace/undry_device-onvif-camera_PR-146@tmp/private_key_7459927138921556154.key (/w/workspace/undry_device-onvif-camera_PR-146@tmp/private_key_7459927138921556154.key) 03:14:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:14:44 + git semver init 03:14:45 2022-08-29 03:14:45,197 [run_init] DEBUG init version:0.0.0 force:False 03:14:45 2022-08-29 03:14:45,198 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-146/.semver 03:14:45 2022-08-29 03:14:45,198 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-146/.semver 03:14:45 2022-08-29 03:14:45,199 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-146/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-146, universal_newlines=False, shell=None, istream=None) 03:14:46 2022-08-29 03:14:46,056 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-146/.git/info/exclude 03:14:46 2022-08-29 03:14:46,057 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-146/.semver/PR-146 with force:False 03:14:46 2022-08-29 03:14:46,057 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-146/.semver/PR-146 03:14:46 2022-08-29 03:14:46,062 [execute] INFO git cat-file --batch-check 03:14:46 2022-08-29 03:14:46,062 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-146/.semver, universal_newlines=False, shell=None, istream=) 03:14:46 2022-08-29 03:14:46,069 [execute] INFO git cat-file --batch 03:14:46 2022-08-29 03:14:46,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-146/.semver, universal_newlines=False, shell=None, istream=) 03:14:46 2022-08-29 03:14:46,074 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-146/.semver/PR-146 03:14:46 0.0.0 [Pipeline] } 03:14:46 $ docker exec --env ******** --env ******** e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 ssh-agent -k 03:14:46 unset SSH_AUTH_SOCK; 03:14:46 unset SSH_AGENT_PID; 03:14:46 echo Agent pid 76 killed; 03:14:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:14:46 + git semver [Pipeline] } 03:14:47 $ docker stop --time=1 e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 03:14:48 $ docker rm -f e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 [Pipeline] // withDockerContainer [Pipeline] sh 03:14:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:14:49 Stashed 1 file(s) [Pipeline] echo 03:14:49 [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 03:14:49 provisioning config files... 03:14:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-146@tmp/config5417152227971638306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:50 ---> docker-login.sh 03:14:50 nexus3.edgexfoundry.org:10001 03:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:50 Configure a credential helper to remove this warning. See 03:14:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:50 03:14:50 Login Succeeded 03:14:50 nexus3.edgexfoundry.org:10002 03:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:50 Configure a credential helper to remove this warning. See 03:14:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:50 03:14:50 Login Succeeded 03:14:50 nexus3.edgexfoundry.org:10003 03:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:50 Configure a credential helper to remove this warning. See 03:14:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:50 03:14:50 Login Succeeded 03:14:50 nexus3.edgexfoundry.org:10004 03:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:50 Configure a credential helper to remove this warning. See 03:14:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:50 03:14:50 Login Succeeded 03:14:50 docker.io 03:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:50 Configure a credential helper to remove this warning. See 03:14:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:50 03:14:50 Login Succeeded 03:14:50 ---> docker-login.sh ends [Pipeline] } 03:14:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:14:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:14:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:14:51 ========================================================= 03:14:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:14:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:51 + 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 . 03:14:51 Sending build context to Docker daemon 20.58MB 03:14:51 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:14:51 Step 2/13 : FROM ${BASE} AS builder 03:14:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:14:51 2408cc74d12b: Pulling fs layer 03:14:51 ea60b727a1ce: Pulling fs layer 03:14:51 30c4a7721957: Pulling fs layer 03:14:51 370296b7ddb6: Pulling fs layer 03:14:51 7c6cee850709: Pulling fs layer 03:14:51 39a5fcdaea64: Pulling fs layer 03:14:51 d94ebbe4e438: Pulling fs layer 03:14:51 bcfd1f05c69d: Pulling fs layer 03:14:51 59ccb84bbe0f: Pulling fs layer 03:14:51 39a5fcdaea64: Waiting 03:14:51 370296b7ddb6: Waiting 03:14:51 d94ebbe4e438: Waiting 03:14:51 7c6cee850709: Waiting 03:14:51 bcfd1f05c69d: Waiting 03:14:51 59ccb84bbe0f: Waiting 03:14:51 30c4a7721957: Verifying Checksum 03:14:51 30c4a7721957: Download complete 03:14:51 ea60b727a1ce: Verifying Checksum 03:14:51 ea60b727a1ce: Download complete 03:14:51 7c6cee850709: Verifying Checksum 03:14:51 7c6cee850709: Download complete 03:14:51 2408cc74d12b: Verifying Checksum 03:14:51 2408cc74d12b: Download complete 03:14:51 39a5fcdaea64: Verifying Checksum 03:14:51 39a5fcdaea64: Download complete 03:14:51 d94ebbe4e438: Download complete 03:14:51 2408cc74d12b: Pull complete 03:14:52 ea60b727a1ce: Pull complete 03:14:52 30c4a7721957: Pull complete 03:14:52 bcfd1f05c69d: Verifying Checksum 03:14:52 bcfd1f05c69d: Download complete 03:14:53 59ccb84bbe0f: Verifying Checksum 03:14:53 59ccb84bbe0f: Download complete 03:14:53 370296b7ddb6: Verifying Checksum 03:14:53 370296b7ddb6: Download complete 03:14:57 370296b7ddb6: Pull complete 03:14:57 7c6cee850709: Pull complete 03:14:57 39a5fcdaea64: Pull complete 03:14:57 d94ebbe4e438: Pull complete 03:14:58 bcfd1f05c69d: Pull complete 03:14:59 59ccb84bbe0f: Pull complete 03:14:59 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 03:14:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:14:59 ---> a4fb48ad2a94 03:14:59 Step 3/13 : ARG MAKE="make build" 03:15:02 ---> Running in 1e13ec66b22b 03:15:02 Removing intermediate container 1e13ec66b22b 03:15:02 ---> d0a60d620747 03:15:02 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:15:02 ---> Running in b36bac48d644 03:15:02 Removing intermediate container b36bac48d644 03:15:02 ---> 32e09e03418c 03:15:02 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 03:15:02 ---> Running in 4ea196f74087 03:15:02 Removing intermediate container 4ea196f74087 03:15:02 ---> b4985e778d06 03:15:02 Step 6/13 : LABEL Name=edgex-device-onvif-camera 03:15:02 ---> Running in 18ba56dbd0a4 03:15:03 Removing intermediate container 18ba56dbd0a4 03:15:03 ---> fac79c38e117 03:15:03 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:15:03 ---> Running in 63f3581c97b7 03:15:03 Removing intermediate container 63f3581c97b7 03:15:03 ---> 3d1b2904a9dc 03:15:03 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:15:03 ---> Running in f0c1ca610b06 03:15:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:15:04 Still waiting to schedule task 03:15:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:15:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:15:05 OK: 211 MiB in 51 packages 03:15:05 Removing intermediate container f0c1ca610b06 03:15:05 ---> 3588f4505c00 03:15:05 Step 9/13 : WORKDIR /device-onvif-camera 03:15:05 ---> Running in 53781407a373 03:15:05 Removing intermediate container 53781407a373 03:15:05 ---> 8a5e503738c2 03:15:05 Step 10/13 : COPY go.mod vendor* ./ 03:15:05 ---> 145bfbb682ef 03:15:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:15:05 ---> Running in 3a386e8eaf3c 03:15:32 Removing intermediate container 3a386e8eaf3c 03:15:32 ---> 365aa0327ff5 03:15:32 Step 12/13 : COPY . . 03:15:32 ---> a1d37e4cffe8 03:15:32 Step 13/13 : RUN ${MAKE} 03:15:32 ---> Running in 2275eb6d7482 03:15:32 noop 03:15:32 Removing intermediate container 2275eb6d7482 03:15:32 ---> 1e14be789104 03:15:32 Successfully built 1e14be789104 03:15:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:32 + docker inspect -f . ci-base-image-x86_64 03:15:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:32 prd-ubuntu20.04-docker-8c-8g-23749 does not seem to be running inside a container 03:15:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@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 03:15:33 $ docker top 3d6392c9d9c5067e8f6bfbdfb680f3eac83f70f72bb864e224e0491e8b05fe93 -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:33 + go version 03:15:33 go version go1.18.3 linux/amd64 [Pipeline] } 03:15:33 $ docker stop --time=1 3d6392c9d9c5067e8f6bfbdfb680f3eac83f70f72bb864e224e0491e8b05fe93 03:15:34 $ docker rm -f 3d6392c9d9c5067e8f6bfbdfb680f3eac83f70f72bb864e224e0491e8b05fe93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:35 + docker inspect -f . ci-base-image-x86_64 03:15:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:35 prd-ubuntu20.04-docker-8c-8g-23749 does not seem to be running inside a container 03:15:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@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 03:15:36 $ docker top 01c46388026e799bdb9c43cbc567d12ecdaf42cbb832ea42425615437bb64df9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:36 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-146 [Pipeline] fileExists [Pipeline] sh 03:15:37 + make test 03:15:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:15:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:15:47 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:15:47 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.026s coverage: 10.5% of statements 03:15:47 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:15:50 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.789s coverage: 13.8% of statements 03:15:57 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 03:15:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:15:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:15:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:15:59 ./bin/test-attribution-txt.sh [Pipeline] echo 03:15:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:15:59 $ docker stop --time=1 01c46388026e799bdb9c43cbc567d12ecdaf42cbb832ea42425615437bb64df9 03:16:02 $ docker rm -f 01c46388026e799bdb9c43cbc567d12ecdaf42cbb832ea42425615437bb64df9 [Pipeline] // withDockerContainer [Pipeline] sh 03:16:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:16:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:16:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:16:03 + ls -al . 03:16:03 total 232 03:16:03 drwxrwxr-x 10 jenkins jenkins 4096 Aug 29 03:15 . 03:16:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:14 .. 03:16:03 drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 03:15 .git 03:16:03 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:14 .github 03:16:03 -rw-rw-r-- 1 jenkins jenkins 418 Aug 29 03:14 .gitignore 03:16:03 -rw-rw-r-- 1 jenkins jenkins 42 Aug 29 03:14 .golangci.yml 03:16:03 drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 03:14 .semver 03:16:03 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 29 03:14 Attribution.txt 03:16:03 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 29 03:14 CHANGELOG.md 03:16:03 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 29 03:14 Dockerfile 03:16:03 -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 03:14 GOVERNANCE.md 03:16:03 -rw-rw-r-- 1 jenkins jenkins 734 Aug 29 03:14 Jenkinsfile 03:16:03 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 29 03:14 LICENSE 03:16:03 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 29 03:14 Makefile 03:16:03 -rw-rw-r-- 1 jenkins jenkins 625 Aug 29 03:14 OWNERS.md 03:16:03 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 29 03:14 README.md 03:16:03 -rw-rw-r-- 1 jenkins jenkins 5 Aug 29 03:14 VERSION 03:16:03 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 03:14 bin 03:16:03 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:14 cmd 03:16:03 -rw-r--r-- 1 jenkins jenkins 77822 Aug 29 03:15 coverage.out 03:16:03 drwxrwxr-x 6 jenkins jenkins 4096 Aug 29 03:14 doc 03:16:03 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 29 03:14 go.mod 03:16:03 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 29 03:14 go.sum 03:16:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:14 internal 03:16:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:14 snap 03:16:03 -rw-rw-r-- 1 jenkins jenkins 236 Aug 29 03:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:04 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7fdb570f67acbbcb31debbaa30cbaf156f58b692 --label arch=amd64 --label version=0.0.0 . 03:16:04 Sending build context to Docker daemon 20.66MB 03:16:04 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 03:16:04 Step 2/26 : FROM ${BASE} AS builder 03:16:04 ---> 1e14be789104 03:16:04 Step 3/26 : ARG MAKE="make build" 03:16:04 ---> Running in 6b257f2585c2 03:16:04 Removing intermediate container 6b257f2585c2 03:16:04 ---> 90ee3cd349f8 03:16:04 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:16:04 ---> Running in 1abbfe029270 03:16:04 Removing intermediate container 1abbfe029270 03:16:04 ---> db59b252a349 03:16:04 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 03:16:04 ---> Running in 2343d343292d 03:16:04 Removing intermediate container 2343d343292d 03:16:04 ---> 1a5959c6d8fc 03:16:04 Step 6/26 : LABEL Name=edgex-device-onvif-camera 03:16:04 ---> Running in e71eaa0f4be5 03:16:04 Removing intermediate container e71eaa0f4be5 03:16:04 ---> ec13a95b6e0a 03:16:04 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:16:04 ---> Running in 9ce12b5c2d23 03:16:05 Removing intermediate container 9ce12b5c2d23 03:16:05 ---> a24a23f39759 03:16:05 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:16:05 ---> Running in a90d5371ad81 03:16:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:16:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:16:06 OK: 211 MiB in 51 packages 03:16:07 Removing intermediate container a90d5371ad81 03:16:07 ---> 3a0481b0a69c 03:16:07 Step 9/26 : WORKDIR /device-onvif-camera 03:16:07 ---> Running in 0d14f08292a5 03:16:07 Removing intermediate container 0d14f08292a5 03:16:07 ---> d33ac02dc427 03:16:07 Step 10/26 : COPY go.mod vendor* ./ 03:16:07 ---> 4fcd716a4a9b 03:16:07 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:16:07 ---> Running in 36227f7bc2e2 03:16:07 Removing intermediate container 36227f7bc2e2 03:16:07 ---> 5061958e730b 03:16:07 Step 12/26 : COPY . . 03:16:08 ---> d876cf529d44 03:16:08 Step 13/26 : RUN ${MAKE} 03:16:08 ---> Running in 8c3d716aa352 03:16:08 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:16:30 Removing intermediate container 8c3d716aa352 03:16:30 ---> 8cab17252ba1 03:16:30 Step 14/26 : FROM alpine:3.16 03:16:30 3.16: Pulling from library/alpine 03:16:30 213ec9aee27d: Pulling fs layer 03:16:30 213ec9aee27d: Verifying Checksum 03:16:30 213ec9aee27d: Download complete 03:16:30 213ec9aee27d: Pull complete 03:16:30 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:16:30 Status: Downloaded newer image for alpine:3.16 03:16:30 ---> 9c6f07244728 03:16:30 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:16:30 ---> Running in 2819641a149e 03:16:30 Removing intermediate container 2819641a149e 03:16:30 ---> bd4b1ace2648 03:16:30 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:16:30 ---> Running in 1b449761bfef 03:16:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:16:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:16:30 (1/6) Installing dumb-init (1.2.5-r1) 03:16:30 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:16:30 (3/6) Installing libsodium (1.0.18-r0) 03:16:30 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:16:30 (5/6) Installing libzmq (4.3.4-r0) 03:16:30 (6/6) Installing zeromq (4.3.4-r0) 03:16:30 Executing busybox-1.35.0-r17.trigger 03:16:30 OK: 8 MiB in 20 packages 03:16:30 Removing intermediate container 1b449761bfef 03:16:30 ---> 19b1e6104a93 03:16:30 Step 17/26 : WORKDIR / 03:16:30 ---> Running in a2037684cd81 03:16:30 Removing intermediate container a2037684cd81 03:16:30 ---> 635a1a101025 03:16:30 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:16:31 ---> b31ea528e7a3 03:16:31 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:16:31 ---> f904cb5929e6 03:16:31 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:16:31 ---> 81f839b121f1 03:16:31 Step 21/26 : EXPOSE 59984 03:16:31 ---> Running in 31f2b71461a2 03:16:31 Removing intermediate container 31f2b71461a2 03:16:31 ---> e758c4b56b47 03:16:31 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:16:31 ---> Running in 222534f3fbad 03:16:31 Removing intermediate container 222534f3fbad 03:16:31 ---> b24b34e9019c 03:16:31 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:16:31 ---> Running in 78a4ab6ad19e 03:16:31 Removing intermediate container 78a4ab6ad19e 03:16:31 ---> 30f23889b750 03:16:31 Step 24/26 : LABEL arch=amd64 03:16:31 ---> Running in a196b777b126 03:16:31 Removing intermediate container a196b777b126 03:16:31 ---> 7d7843f26832 03:16:31 Step 25/26 : LABEL git_sha=7fdb570f67acbbcb31debbaa30cbaf156f58b692 03:16:31 ---> Running in 8b8c2255ca8c 03:16:31 Removing intermediate container 8b8c2255ca8c 03:16:31 ---> de925dd9e06f 03:16:31 Step 26/26 : LABEL version=0.0.0 03:16:31 ---> Running in 6adba2203a74 03:16:31 Removing intermediate container 6adba2203a74 03:16:31 ---> b0925cff0ee4 03:16:31 [Warning] One or more build-args [ARCH] were not consumed 03:16:31 Successfully built b0925cff0ee4 03:16:31 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 03:16:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:32 03:16:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:33 latest: Pulling from edgex-lftools-log-publisher 03:16:33 5eb5b503b376: Pulling fs layer 03:16:33 5c69ac0246d0: Pulling fs layer 03:16:33 ec43610c2a17: Pulling fs layer 03:16:33 3a2ae6a8a46f: Pulling fs layer 03:16:33 33b1e0a273af: Pulling fs layer 03:16:33 5d3b04190fa2: Pulling fs layer 03:16:33 2f39f015ded8: Pulling fs layer 03:16:33 3a2ae6a8a46f: Waiting 03:16:33 33b1e0a273af: Waiting 03:16:33 5d3b04190fa2: Waiting 03:16:33 2f39f015ded8: Waiting 03:16:33 5c69ac0246d0: Download complete 03:16:33 3a2ae6a8a46f: Verifying Checksum 03:16:33 3a2ae6a8a46f: Download complete 03:16:33 33b1e0a273af: Verifying Checksum 03:16:33 33b1e0a273af: Download complete 03:16:33 5d3b04190fa2: Download complete 03:16:33 ec43610c2a17: Verifying Checksum 03:16:33 ec43610c2a17: Download complete 03:16:33 5eb5b503b376: Verifying Checksum 03:16:33 5eb5b503b376: Download complete 03:16:34 2f39f015ded8: Download complete 03:16:34 5eb5b503b376: Pull complete 03:16:34 5c69ac0246d0: Pull complete 03:16:35 ec43610c2a17: Pull complete 03:16:35 3a2ae6a8a46f: Pull complete 03:16:35 33b1e0a273af: Pull complete 03:16:35 5d3b04190fa2: Pull complete 03:16:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23750 in /w/workspace/undry_device-onvif-camera_PR-146 [Pipeline] { [Pipeline] ws 03:16:36 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:16:36 Selected Git installation does not exist. Using Default 03:16:36 The recommended git tool is: NONE 03:16:39 2f39f015ded8: Pull complete 03:16:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:16:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:40 prd-ubuntu20.04-docker-8c-8g-23749 does not seem to be running inside a container 03:16:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@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 03:16:41 $ docker top 38ac8033d408e0d70aca7a80249c5db21f9644cfe3b93c473508ec1421d93d3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:42 ---> job-cost.sh 03:16:42 lf-activate-venv: SKIPPING 03:16:42 INFO: No Stack... 03:16:42 INFO: Retrieving Pricing Info for: v3-standard-8 03:16:43 INFO: Archiving Costs [Pipeline] sh 03:16:43 using credential edgex-jenkins-ssh 03:16:43 Cloning the remote Git repository 03:16:43 + cat /w/workspace/undry_device-onvif-camera_PR-146/archives/cost.csv 03:16:43 + cut -d, -f6 [Pipeline] lock 03:16:43 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] 03:16:43 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] did not exist. Created. 03:16:43 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:16:44 + echo total: 0.2199999988079071 [Pipeline] stash 03:16:44 Stashed 1 file(s) [Pipeline] } 03:16:44 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:16:44 $ docker stop --time=1 38ac8033d408e0d70aca7a80249c5db21f9644cfe3b93c473508ec1421d93d3a 03:16:43 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:16:43 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:16:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:16:44 > git --version # timeout=10 03:16:44 > git --version # 'git version 2.25.1' 03:16:44 using GIT_SSH to set credentials SSH Credentials for GitHub 03:16:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:16:45 $ docker rm -f 38ac8033d408e0d70aca7a80249c5db21f9644cfe3b93c473508ec1421d93d3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:16:45 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:16:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:16:45 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:16:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:16:45 using GIT_SSH to set credentials SSH Credentials for GitHub 03:16:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:16:46 Merging remotes/origin/main commit 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 into PR head commit 7fdb570f67acbbcb31debbaa30cbaf156f58b692 03:16:46 Merge succeeded, producing 7fdb570f67acbbcb31debbaa30cbaf156f58b692 03:16:46 Checking out Revision 7fdb570f67acbbcb31debbaa30cbaf156f58b692 (PR-146) 03:16:46 > git config core.sparsecheckout # timeout=10 03:16:46 > git checkout -f 7fdb570f67acbbcb31debbaa30cbaf156f58b692 # timeout=10 03:16:46 > git remote # timeout=10 03:16:46 > git config --get remote.origin.url # timeout=10 03:16:46 using GIT_SSH to set credentials SSH Credentials for GitHub 03:16:46 > git merge 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 # timeout=10 03:16:46 > git rev-parse HEAD^{commit} # timeout=10 03:16:46 > git config core.sparsecheckout # timeout=10 03:16:46 > git checkout -f 7fdb570f67acbbcb31debbaa30cbaf156f58b692 # timeout=10 03:16:50 Commit message: "fix: Check whether the onvif response is valid" 03:16:50 > git --version # timeout=10 03:16:51 > git --version # 'git version 2.25.1' 03:16:51 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:16:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:16:52 % Total % Received % Xferd Average Speed Time Time Time Current 03:16:52 Dload Upload Total Spent Left Speed 03:16:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 03:16:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:16:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:16:53 + sudo tee /etc/docker/daemon.new 03:16:53 { 03:16:53 "registry-mirrors": [ 03:16:53 "https://nexus3.edgexfoundry.org:10001" 03:16:53 ], 03:16:53 "bip": "10.250.0.254/24", 03:16:53 "hosts": [ 03:16:53 "tcp://0.0.0.0:5555", 03:16:53 "unix:///var/run/docker.sock" 03:16:53 ], 03:16:53 "mtu": 1458, 03:16:53 "selinux-enabled": true, 03:16:53 "seccomp-profile": "/etc/docker/seccomp.json" 03:16:53 } [Pipeline] sh 03:16:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:16:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:17:12 provisioning config files... 03:17:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3684280881712704421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:12 ---> docker-login.sh 03:17:12 nexus3.edgexfoundry.org:10001 03:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:13 Configure a credential helper to remove this warning. See 03:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:13 03:17:13 Login Succeeded 03:17:13 nexus3.edgexfoundry.org:10002 03:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:14 Configure a credential helper to remove this warning. See 03:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:14 03:17:14 Login Succeeded 03:17:14 nexus3.edgexfoundry.org:10003 03:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:14 Configure a credential helper to remove this warning. See 03:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:14 03:17:14 Login Succeeded 03:17:14 nexus3.edgexfoundry.org:10004 03:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:15 Configure a credential helper to remove this warning. See 03:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:15 03:17:15 Login Succeeded 03:17:15 docker.io 03:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:15 Configure a credential helper to remove this warning. See 03:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:15 03:17:15 Login Succeeded 03:17:15 ---> docker-login.sh ends [Pipeline] } 03:17:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:17:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:17:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:17:16 ========================================================= 03:17:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:17:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:16 + 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 . 03:17:17 Sending build context to Docker daemon 14.09MB 03:17:17 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:17:17 Step 2/13 : FROM ${BASE} AS builder 03:17:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:17:17 b3c136eddcbf: Pulling fs layer 03:17:17 c0a3192eca97: Pulling fs layer 03:17:17 a050256f5b6f: Pulling fs layer 03:17:17 656be50a0ddc: Pulling fs layer 03:17:17 2bbca73fdf42: Pulling fs layer 03:17:17 46d945488cbd: Pulling fs layer 03:17:17 8a5474983e97: Pulling fs layer 03:17:17 329c88fbcd65: Pulling fs layer 03:17:17 8a5474983e97: Waiting 03:17:17 46d945488cbd: Waiting 03:17:17 656be50a0ddc: Waiting 03:17:17 2bbca73fdf42: Waiting 03:17:17 329c88fbcd65: Waiting 03:17:17 a050256f5b6f: Verifying Checksum 03:17:17 a050256f5b6f: Download complete 03:17:17 c0a3192eca97: Verifying Checksum 03:17:17 c0a3192eca97: Download complete 03:17:17 2bbca73fdf42: Download complete 03:17:17 46d945488cbd: Verifying Checksum 03:17:17 46d945488cbd: Download complete 03:17:17 b3c136eddcbf: Verifying Checksum 03:17:17 b3c136eddcbf: Download complete 03:17:18 b3c136eddcbf: Pull complete 03:17:18 329c88fbcd65: Verifying Checksum 03:17:18 329c88fbcd65: Download complete 03:17:19 c0a3192eca97: Pull complete 03:17:19 a050256f5b6f: Pull complete 03:17:19 8a5474983e97: Verifying Checksum 03:17:19 8a5474983e97: Download complete 03:17:20 656be50a0ddc: Verifying Checksum 03:17:20 656be50a0ddc: Download complete 03:17:33 656be50a0ddc: Pull complete 03:17:33 2bbca73fdf42: Pull complete 03:17:33 46d945488cbd: Pull complete 03:17:40 8a5474983e97: Pull complete 03:17:41 329c88fbcd65: Pull complete 03:17:42 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 03:17:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:17:42 ---> ff4287adb874 03:17:42 Step 3/13 : ARG MAKE="make build" 03:17:44 ---> Running in 6e9fb7544dd0 03:17:44 Removing intermediate container 6e9fb7544dd0 03:17:44 ---> 534bda18376d 03:17:44 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:17:44 ---> Running in f59327383752 03:17:44 Removing intermediate container f59327383752 03:17:44 ---> f8ef7157de40 03:17:44 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 03:17:44 ---> Running in 873e0f205906 03:17:44 Removing intermediate container 873e0f205906 03:17:44 ---> 95546c6aa05d 03:17:44 Step 6/13 : LABEL Name=edgex-device-onvif-camera 03:17:44 ---> Running in 59667190fdb9 03:17:45 Removing intermediate container 59667190fdb9 03:17:45 ---> c16405302d4d 03:17:45 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:17:45 ---> Running in 8b882d76ca85 03:17:47 Removing intermediate container 8b882d76ca85 03:17:47 ---> 2ac99537b6ec 03:17:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:17:47 ---> Running in 6e8c8fe2cdd9 03:17:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:17:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:17:50 OK: 221 MiB in 51 packages 03:17:51 Removing intermediate container 6e8c8fe2cdd9 03:17:51 ---> 0f0ca211906b 03:17:51 Step 9/13 : WORKDIR /device-onvif-camera 03:17:51 ---> Running in acd340205f83 03:17:51 Removing intermediate container acd340205f83 03:17:51 ---> fe18e594880f 03:17:51 Step 10/13 : COPY go.mod vendor* ./ 03:17:52 ---> aed234f0418c 03:17:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:17:52 ---> Running in 6087fb3b7394 03:18:48 Removing intermediate container 6087fb3b7394 03:18:48 ---> fa6aea985c4e 03:18:48 Step 12/13 : COPY . . 03:18:48 ---> 2c973404fecd 03:18:48 Step 13/13 : RUN ${MAKE} 03:18:48 ---> Running in 64fce907164f 03:18:48 noop 03:18:49 Removing intermediate container 64fce907164f 03:18:49 ---> 386c882c6173 03:18:49 Successfully built 386c882c6173 03:18:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:49 + docker inspect -f . ci-base-image-arm64 03:18:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:50 prd-ubuntu20.04-docker-arm64-4c-16g-23750 does not seem to be running inside a container 03:18:50 $ 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 03:18:51 $ docker top cc4e678c7a6861477ac20464d30681f44266f183329af5aafc00c429e318fece -eo pid,comm [Pipeline] { [Pipeline] sh 03:18:52 + go version 03:18:52 go version go1.18.3 linux/arm64 [Pipeline] } 03:18:52 $ docker stop --time=1 cc4e678c7a6861477ac20464d30681f44266f183329af5aafc00c429e318fece 03:18:54 $ docker rm -f cc4e678c7a6861477ac20464d30681f44266f183329af5aafc00c429e318fece [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:55 + docker inspect -f . ci-base-image-arm64 03:18:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:55 prd-ubuntu20.04-docker-arm64-4c-16g-23750 does not seem to be running inside a container 03:18:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/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 03:18:56 $ docker top 5eaf4ed230e3028024b61f65e9391439a60f1c4038e01efa14f90d547d8f26d1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:18:57 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:18:58 + make test 03:18:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:18:59 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:20:21 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:20:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.117s coverage: 10.5% of statements 03:20:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:20:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.397s coverage: 13.8% of statements 03:20:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:20:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:21:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:21:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:21:14 ./bin/test-attribution-txt.sh [Pipeline] echo 03:21:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:21:14 $ docker stop --time=1 5eaf4ed230e3028024b61f65e9391439a60f1c4038e01efa14f90d547d8f26d1 03:21:16 $ docker rm -f 5eaf4ed230e3028024b61f65e9391439a60f1c4038e01efa14f90d547d8f26d1 [Pipeline] // withDockerContainer [Pipeline] sh 03:21:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:21:17 Warning: overwriting stash ‘coverage-report’ 03:21:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:21:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:21:19 + ls -al . 03:21:19 total 228 03:21:19 drwxrwxr-x 9 jenkins jenkins 4096 Aug 29 03:18 . 03:21:19 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:16 .. 03:21:19 drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 03:16 .git 03:21:19 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:16 .github 03:21:19 -rw-rw-r-- 1 jenkins jenkins 418 Aug 29 03:16 .gitignore 03:21:19 -rw-rw-r-- 1 jenkins jenkins 42 Aug 29 03:16 .golangci.yml 03:21:19 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 29 03:16 Attribution.txt 03:21:19 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 29 03:16 CHANGELOG.md 03:21:19 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 29 03:16 Dockerfile 03:21:19 -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 03:16 GOVERNANCE.md 03:21:19 -rw-rw-r-- 1 jenkins jenkins 734 Aug 29 03:16 Jenkinsfile 03:21:19 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 29 03:16 LICENSE 03:21:19 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 29 03:16 Makefile 03:21:19 -rw-rw-r-- 1 jenkins jenkins 625 Aug 29 03:16 OWNERS.md 03:21:19 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 29 03:16 README.md 03:21:19 -rw-rw-r-- 1 jenkins jenkins 5 Aug 29 03:14 VERSION 03:21:19 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 03:16 bin 03:21:19 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:16 cmd 03:21:19 -rw-r--r-- 1 jenkins jenkins 77822 Aug 29 03:20 coverage.out 03:21:19 drwxrwxr-x 6 jenkins jenkins 4096 Aug 29 03:16 doc 03:21:19 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 29 03:16 go.mod 03:21:19 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 29 03:16 go.sum 03:21:19 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:16 internal 03:21:19 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:16 snap 03:21:19 -rw-rw-r-- 1 jenkins jenkins 236 Aug 29 03:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:19 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7fdb570f67acbbcb31debbaa30cbaf156f58b692 --label arch=arm64 --label version=0.0.0 . 03:21:20 Sending build context to Docker daemon 14.16MB 03:21:20 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 03:21:20 Step 2/26 : FROM ${BASE} AS builder 03:21:20 ---> 386c882c6173 03:21:20 Step 3/26 : ARG MAKE="make build" 03:21:20 ---> Running in 52c13c9a2c69 03:21:20 Removing intermediate container 52c13c9a2c69 03:21:20 ---> 0bef0d3d5bf7 03:21:20 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:21:20 ---> Running in 432cd3c15b40 03:21:21 Removing intermediate container 432cd3c15b40 03:21:21 ---> 2229bcb324ea 03:21:21 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 03:21:21 ---> Running in 2929e64a962d 03:21:21 Removing intermediate container 2929e64a962d 03:21:21 ---> 4861ee4ee0be 03:21:21 Step 6/26 : LABEL Name=edgex-device-onvif-camera 03:21:21 ---> Running in 16b894021e48 03:21:21 Removing intermediate container 16b894021e48 03:21:21 ---> 4a1e4bbf1c24 03:21:21 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:21:21 ---> Running in 587c99ab967b 03:21:23 Removing intermediate container 587c99ab967b 03:21:23 ---> c1f5223024ae 03:21:23 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:21:23 ---> Running in 1c7c657f346c 03:21:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:21:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:21:26 OK: 221 MiB in 51 packages 03:21:27 Removing intermediate container 1c7c657f346c 03:21:27 ---> 87fb1fdd55f1 03:21:27 Step 9/26 : WORKDIR /device-onvif-camera 03:21:27 ---> Running in a55bbccb79ce 03:21:27 Removing intermediate container a55bbccb79ce 03:21:27 ---> 2af568fe5518 03:21:27 Step 10/26 : COPY go.mod vendor* ./ 03:21:28 ---> f852adbb5a40 03:21:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:21:28 ---> Running in 3f7113b70d1a 03:21:30 Removing intermediate container 3f7113b70d1a 03:21:30 ---> 89412767711b 03:21:30 Step 12/26 : COPY . . 03:21:31 ---> bd9caae41474 03:21:31 Step 13/26 : RUN ${MAKE} 03:21:31 ---> Running in 8132e4bb3e72 03:21:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:23:54 Removing intermediate container 8132e4bb3e72 03:23:54 ---> 73287dd1de82 03:23:54 Step 14/26 : FROM alpine:3.16 03:23:54 3.16: Pulling from library/alpine 03:23:54 9b18e9b68314: Pulling fs layer 03:23:54 9b18e9b68314: Verifying Checksum 03:23:54 9b18e9b68314: Download complete 03:23:54 9b18e9b68314: Pull complete 03:23:54 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:23:54 Status: Downloaded newer image for alpine:3.16 03:23:54 ---> a6215f271958 03:23:54 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:23:54 ---> Running in 86b95b6afc35 03:23:54 Removing intermediate container 86b95b6afc35 03:23:54 ---> 6bc8864eae20 03:23:54 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:23:54 ---> Running in 954abacdaa8c 03:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:23:54 (1/6) Installing dumb-init (1.2.5-r1) 03:23:54 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:23:54 (3/6) Installing libsodium (1.0.18-r0) 03:23:54 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:23:54 (5/6) Installing libzmq (4.3.4-r0) 03:23:54 (6/6) Installing zeromq (4.3.4-r0) 03:23:54 Executing busybox-1.35.0-r17.trigger 03:23:54 OK: 8 MiB in 20 packages 03:23:54 Removing intermediate container 954abacdaa8c 03:23:54 ---> 0f2aafc0ed89 03:23:54 Step 17/26 : WORKDIR / 03:23:54 ---> Running in c749d6f01365 03:23:54 Removing intermediate container c749d6f01365 03:23:54 ---> 752896ea89a4 03:23:54 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:23:54 ---> 4353e74b476b 03:23:54 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:23:54 ---> 7e724bbef96e 03:23:54 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:23:54 ---> 3b7a6516715f 03:23:54 Step 21/26 : EXPOSE 59984 03:23:54 ---> Running in 878bd6195200 03:23:54 Removing intermediate container 878bd6195200 03:23:54 ---> 7b9eae294571 03:23:54 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:23:54 ---> Running in a35a0f6484b9 03:23:54 Removing intermediate container a35a0f6484b9 03:23:54 ---> 46caac6bf7f4 03:23:54 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:23:54 ---> Running in f8beea4651d1 03:23:54 Removing intermediate container f8beea4651d1 03:23:54 ---> 84377384a270 03:23:54 Step 24/26 : LABEL arch=arm64 03:23:54 ---> Running in 02ec79902173 03:23:54 Removing intermediate container 02ec79902173 03:23:54 ---> c316923b5a9a 03:23:54 Step 25/26 : LABEL git_sha=7fdb570f67acbbcb31debbaa30cbaf156f58b692 03:23:54 ---> Running in 710b5fe4a22f 03:23:54 Removing intermediate container 710b5fe4a22f 03:23:54 ---> 9d7801ca971b 03:23:54 Step 26/26 : LABEL version=0.0.0 03:23:54 ---> Running in 22624984a904 03:23:54 Removing intermediate container 22624984a904 03:23:54 ---> e7ee16a45f6c 03:23:54 [Warning] One or more build-args [ARCH] were not consumed 03:23:54 Successfully built e7ee16a45f6c 03:23:54 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 03:23:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:23:55 03:23:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:23:55 arm64: Pulling from edgex-lftools-log-publisher 03:23:55 8998bd30e6a1: Pulling fs layer 03:23:55 04944245beec: Pulling fs layer 03:23:55 699f458cf7ca: Pulling fs layer 03:23:55 765212b225bb: Pulling fs layer 03:23:55 f23df028b6ca: Pulling fs layer 03:23:55 d65c8cfc05b1: Pulling fs layer 03:23:55 2437ff75d9bd: Pulling fs layer 03:23:55 f23df028b6ca: Waiting 03:23:55 d65c8cfc05b1: Waiting 03:23:55 2437ff75d9bd: Waiting 03:23:55 765212b225bb: Waiting 03:23:55 04944245beec: Verifying Checksum 03:23:55 04944245beec: Download complete 03:23:55 765212b225bb: Verifying Checksum 03:23:55 765212b225bb: Download complete 03:23:55 f23df028b6ca: Verifying Checksum 03:23:55 f23df028b6ca: Download complete 03:23:55 d65c8cfc05b1: Verifying Checksum 03:23:55 d65c8cfc05b1: Download complete 03:23:56 699f458cf7ca: Verifying Checksum 03:23:56 699f458cf7ca: Download complete 03:23:56 8998bd30e6a1: Verifying Checksum 03:23:56 8998bd30e6a1: Download complete 03:23:59 2437ff75d9bd: Verifying Checksum 03:23:59 2437ff75d9bd: Download complete 03:24:01 8998bd30e6a1: Pull complete 03:24:01 04944245beec: Pull complete 03:24:02 699f458cf7ca: Pull complete 03:24:03 765212b225bb: Pull complete 03:24:04 f23df028b6ca: Pull complete 03:24:04 d65c8cfc05b1: Pull complete 03:24:19 2437ff75d9bd: Pull complete 03:24:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:24:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:24:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:19 prd-ubuntu20.04-docker-arm64-4c-16g-23750 does not seem to be running inside a container 03:24:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/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 03:24:22 $ docker top af3d53a78e59d5538d1352cdda92a7a7f8e19ff8dc665ab63e55c1699af43b67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:23 ---> job-cost.sh 03:24:23 lf-activate-venv: SKIPPING 03:24:23 INFO: No Stack... 03:24:24 INFO: Retrieving Pricing Info for: v3-standard-4 03:24:24 INFO: Archiving Costs [Pipeline] sh 03:24:25 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:24:25 + cut -d, -f6 [Pipeline] lock 03:24:25 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] 03:24:25 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] did not exist. Created. 03:24:25 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:24:26 /w/workspace/device-onvif-camera/1@tmp/durable-66907138/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:24:27 + echo total: 0.10999999940395355 [Pipeline] stash 03:24:27 Warning: overwriting stash ‘stack-cost’ 03:24:27 Stashed 1 file(s) [Pipeline] } 03:24:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:24:27 $ docker stop --time=1 af3d53a78e59d5538d1352cdda92a7a7f8e19ff8dc665ab63e55c1699af43b67 03:24:28 $ docker rm -f af3d53a78e59d5538d1352cdda92a7a7f8e19ff8dc665ab63e55c1699af43b67 [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 03:24:29 provisioning config files... 03:24:29 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-146@tmp/config602892633549484258tmp [Pipeline] { [Pipeline] sh 03:24:30 + set +x 03:24:30 + curl -s https://codecov.io/bash 03:24:30 + bash -s -- 03:24:30 03:24:30 _____ _ 03:24:30 / ____| | | 03:24:30 | | ___ __| | ___ ___ _____ __ 03:24:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:24:30 | |___| (_) | (_| | __/ (_| (_) \ V / 03:24:30 \_____\___/ \__,_|\___|\___\___/ \_/ 03:24:30 Bash-1.0.6 03:24:30 03:24:30 03:24:30 ==> git version 2.25.1 found 03:24:30 ==> 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 03:24:30 Release-Date: 2020-01-08 03:24:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:24:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:24:30 ==> Jenkins CI detected. 03:24:30 current dir:  /w/workspace/undry_device-onvif-camera_PR-146 03:24:30 project root: . 03:24:30 --> token set from env 03:24:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:24:30 ==> Running gcov in . (disable via -X gcov) 03:24:30 ==> Python coveragepy not found 03:24:30 ==> Searching for coverage reports in: 03:24:30 + . 03:24:30 -> Found 1 reports 03:24:30 ==> Detecting git/mercurial file structure 03:24:30 ==> Reading reports 03:24:30 + ./coverage.out bytes=77822 03:24:30 ==> Appending adjustments 03:24:30 https://docs.codecov.io/docs/fixing-reports 03:24:30 + Found adjustments 03:24:30 ==> Gzipping contents 03:24:30 12K /tmp/codecov.6vYFYJ.gz 03:24:30 ==> Uploading reports 03:24:30 url: https://codecov.io 03:24:30 query: branch=PR-146&commit=7fdb570f67acbbcb31debbaa30cbaf156f58b692&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=146&job=&cmd_args= 03:24:30 -> Pinging Codecov 03:24:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-146&commit=7fdb570f67acbbcb31debbaa30cbaf156f58b692&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=146&job=&cmd_args= 03:24:30 -> Uploading to 03:24:30 https://storage.googleapis.com/codecov/v4/raw/2022-08-29/F29A59C45E3A92E06B3E522C9905F8EF/7fdb570f67acbbcb31debbaa30cbaf156f58b692/ee2531da-747a-423d-b169-34add7b29f25.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220829%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220829T032430Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5c54c57bc57060e6923fe8e2bad30da6b7fbf5a04675bdcdf62010bd8edb18cd 03:24:30 % Total % Received % Xferd Average Speed Time Time Time Current 03:24:30 Dload Upload Total Spent Left Speed 03:24:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10481 0 0 100 10481 0 44411 --:--:-- --:--:-- --:--:-- 44411 03:24:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/7fdb570f67acbbcb31debbaa30cbaf156f58b692 [Pipeline] } 03:24:30 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 03:24:32 + [ -d /w/workspace/undry_device-onvif-camera_PR-146/archives ] 03:24:32 + ls -al /w/workspace/undry_device-onvif-camera_PR-146/archives 03:24:32 total 16 03:24:32 drwxr-xr-x 3 root root 4096 Aug 29 03:16 . 03:24:32 drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 03:16 .. 03:24:32 drwxr-xr-x 2 root root 4096 Aug 29 03:16 cost 03:24:32 -rw-r--r-- 1 root root 91 Aug 29 03:16 cost.csv 03:24:32 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-146/archives 03:24:32 + ls -al /w/workspace/undry_device-onvif-camera_PR-146/archives 03:24:32 total 16 03:24:32 drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 03:16 . 03:24:32 drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 03:16 .. 03:24:32 drwxr-xr-x 2 jenkins jenkins 4096 Aug 29 03:16 cost 03:24:32 -rw-r--r-- 1 jenkins jenkins 91 Aug 29 03:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:24:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:24:33 ---> package-listing.sh 03:24:33 ++ facter osfamily 03:24:33 ++ tr '[:upper:]' '[:lower:]' 03:24:34 + OS_FAMILY=debian 03:24:34 + workspace=/w/workspace/undry_device-onvif-camera_PR-146 03:24:34 + START_PACKAGES=/tmp/packages_start.txt 03:24:34 + END_PACKAGES=/tmp/packages_end.txt 03:24:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:24:34 + PACKAGES=/tmp/packages_start.txt 03:24:34 + '[' /w/workspace/undry_device-onvif-camera_PR-146 ']' 03:24:34 + PACKAGES=/tmp/packages_end.txt 03:24:34 + case "${OS_FAMILY}" in 03:24:34 + dpkg -l 03:24:34 + grep '^ii' 03:24:34 + '[' -f /tmp/packages_start.txt ']' 03:24:34 + '[' -f /tmp/packages_end.txt ']' 03:24:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:24:34 + '[' /w/workspace/undry_device-onvif-camera_PR-146 ']' 03:24:34 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-146/archives/ 03:24:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-146/archives/ [Pipeline] echo 03:24:34 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-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:24:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:24:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:35 prd-ubuntu20.04-docker-8c-8g-23749 does not seem to be running inside a container 03:24:35 $ 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-146/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-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@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 03:24:35 $ docker top ded58c55dc442685d361998c25d2a485dc667d9b105bd01807ef242534ab9e37 -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:35 + touch /tmp/pre-build-complete [Pipeline] sh 03:24:36 + mkdir -p /var/log/sysstat [Pipeline] sh 03:24:36 + ls /var/log/sa-host 03:24:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:24:36 provisioning config files... 03:24:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-146@tmp/config821134285199283694tmp [Pipeline] { [Pipeline] echo 03:24:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:24:37 ---> create-netrc.sh [Pipeline] } 03:24:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:24:37 ---> python-tools-install.sh [Pipeline] echo 03:24:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:24:37 ---> sudo-logs.sh 03:24:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:24:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:24:38 ---> job-cost.sh 03:24:38 lf-activate-venv: SKIPPING 03:24:38 DEBUG: total: 0.2199999988079071 03:24:38 INFO: Retrieving Stack Cost... 03:24:38 INFO: Retrieving Pricing Info for: v3-standard-8 03:24:39 INFO: Archiving Costs [Pipeline] echo 03:24:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:24:39 ---> logs-deploy.sh 03:24:39 lf-activate-venv: SKIPPING 03:24:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-146/1 03:24:39 INFO: archiving workspace using pattern(s): 03:24:40 Archives upload complete. 03:24:40 INFO: archiving logs to Nexus 03:24:41 ---> uname -a: 03:24:41 Linux prd-ubuntu20-04-docker-8c-8g-23749 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 03:24:41 03:24:41 03:24:41 ---> lscpu: 03:24:41 Architecture: x86_64 03:24:41 CPU op-mode(s): 32-bit, 64-bit 03:24:41 Byte Order: Little Endian 03:24:41 Address sizes: 40 bits physical, 48 bits virtual 03:24:41 CPU(s): 8 03:24:41 On-line CPU(s) list: 0-7 03:24:41 Thread(s) per core: 1 03:24:41 Core(s) per socket: 1 03:24:41 Socket(s): 8 03:24:41 NUMA node(s): 1 03:24:41 Vendor ID: AuthenticAMD 03:24:41 CPU family: 23 03:24:41 Model: 49 03:24:41 Model name: AMD EPYC-Rome Processor 03:24:41 Stepping: 0 03:24:41 CPU MHz: 2799.988 03:24:41 BogoMIPS: 5599.97 03:24:41 Virtualization: AMD-V 03:24:41 Hypervisor vendor: KVM 03:24:41 Virtualization type: full 03:24:41 L1d cache: 256 KiB 03:24:41 L1i cache: 256 KiB 03:24:41 L2 cache: 4 MiB 03:24:41 L3 cache: 128 MiB 03:24:41 NUMA node0 CPU(s): 0-7 03:24:41 Vulnerability Itlb multihit: Not affected 03:24:41 Vulnerability L1tf: Not affected 03:24:41 Vulnerability Mds: Not affected 03:24:41 Vulnerability Meltdown: Not affected 03:24:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:24:41 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:24:41 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:24:41 Vulnerability Srbds: Not affected 03:24:41 Vulnerability Tsx async abort: Not affected 03:24:41 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 03:24:41 03:24:41 03:24:41 ---> nproc: 03:24:41 8 03:24:41 03:24:41 03:24:41 ---> df -h: 03:24:41 Filesystem Size Used Avail Use% Mounted on 03:24:41 overlay 155G 11G 145G 8% / 03:24:41 tmpfs 64M 0 64M 0% /dev 03:24:41 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:24:41 shm 64M 0 64M 0% /dev/shm 03:24:41 /dev/vda1 155G 11G 145G 8% /facter-os 03:24:41 03:24:41 03:24:41 ---> sar -b -r -n DEV: 03:24:41 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-23749) 08/29/22 _x86_64_ (8 CPU) 03:24:41 03:24:41 03:13:50 LINUX RESTART (8 CPU) 03:24:41 03:24:41 03:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:24:41 03:15:01 415.81 55.76 360.06 0.00 7440.36 193007.70 0.00 03:24:41 03:16:01 160.87 0.67 160.21 0.00 17.20 48203.97 0.00 03:24:41 03:17:01 176.70 0.08 176.62 0.00 9.47 38917.91 0.00 03:24:41 03:18:01 1.93 0.02 1.92 0.00 0.13 22.95 0.00 03:24:41 03:19:01 1.20 0.02 1.18 0.00 0.13 12.93 0.00 03:24:41 03:20:01 0.93 0.00 0.93 0.00 0.00 12.13 0.00 03:24:41 03:21:01 1.12 0.00 1.12 0.00 0.00 13.06 0.00 03:24:41 03:22:01 0.92 0.00 0.92 0.00 0.00 11.86 0.00 03:24:41 03:23:01 1.13 0.00 1.13 0.00 0.00 12.40 0.00 03:24:41 03:24:01 1.45 0.00 1.45 0.00 0.00 18.26 0.00 03:24:41 Average: 76.21 5.65 70.55 0.00 746.73 28023.32 0.00 03:24:41 03:24:41 03:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:24:41 03:15:01 28863700 31786280 519024 1.58 115532 3074112 1972408 5.81 1099564 2539304 126804 03:24:41 03:16:01 28167892 31765304 522544 1.59 165444 3621800 2028160 5.98 1315380 2925452 19744 03:24:41 03:17:01 27563748 31791536 498448 1.52 177348 4193564 1798520 5.30 1338856 3459016 140 03:24:41 03:18:01 27564644 31792600 496868 1.51 177372 4193576 1798520 5.30 1337848 3459020 60 03:24:41 03:19:01 27566620 31794528 494808 1.50 177396 4193580 1798520 5.30 1336476 3459028 24 03:24:41 03:20:01 27566864 31794824 494480 1.50 177412 4193584 1798520 5.30 1337104 3459032 172 03:24:41 03:21:01 27573880 31801868 487388 1.48 177424 4193588 1798520 5.30 1329076 3459036 16 03:24:41 03:22:01 27574376 31802516 486840 1.48 177432 4193592 1798520 5.30 1328944 3459188 188 03:24:41 03:23:01 27574636 31802780 486556 1.48 177436 4193592 1798520 5.30 1328816 3459188 12 03:24:41 03:24:01 27574804 31803004 486500 1.48 177472 4193596 1798520 5.30 1328928 3459208 44 03:24:41 Average: 27759116 31793524 497346 1.51 170027 4024458 1838873 5.42 1308099 3313747 14720 03:24:41 03:24:41 03:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:24:41 03:15:01 lo 7.40 7.40 0.71 0.71 0.00 0.00 0.00 0.00 03:24:41 03:15:01 docker0 10.23 9.83 0.89 105.17 0.00 0.00 0.00 0.00 03:24:41 03:15:01 ens3 813.73 550.77 7558.38 111.30 0.00 0.00 0.00 0.00 03:24:41 03:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:24:41 03:16:01 docker0 148.23 183.24 11.64 1529.77 0.00 0.00 0.00 0.00 03:24:41 03:16:01 ens3 241.56 198.30 1564.33 78.54 0.00 0.00 0.00 0.00 03:24:41 03:17:01 lo 1.87 1.87 0.18 0.18 0.00 0.00 0.00 0.00 03:24:41 03:17:01 docker0 11.15 14.91 0.66 98.73 0.00 0.00 0.00 0.00 03:24:41 03:17:01 ens3 168.17 120.85 2690.64 65.41 0.00 0.00 0.00 0.00 03:24:41 03:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:24:41 03:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:24:41 03:18:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 03:24:41 03:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:24:41 03:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:24:41 03:19:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 03:24:41 03:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:24:41 03:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:24:41 03:20:01 ens3 0.30 0.23 0.09 0.08 0.00 0.00 0.00 0.00 03:24:41 03:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:24:41 03:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:24:41 03:21:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:24:41 03:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:24:41 03:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:24:41 03:22:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 03:24:41 03:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:24:41 03:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:24:41 03:23:01 ens3 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 03:24:41 03:24:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:24:41 03:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:24:41 03:24:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 03:24:41 Average: lo 1.03 1.03 0.10 0.10 0.00 0.00 0.00 0.00 03:24:41 Average: docker0 16.96 20.80 1.32 173.37 0.00 0.00 0.00 0.00 03:24:41 Average: ens3 122.42 87.05 1181.35 25.54 0.00 0.00 0.00 0.00 03:24:41 03:24:41 03:24:41 ---> sar -P ALL: 03:24:41 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-23749) 08/29/22 _x86_64_ (8 CPU) 03:24:41 03:24:41 03:13:50 LINUX RESTART (8 CPU) 03:24:41 03:24:41 03:14:01 CPU %user %nice %system %iowait %steal %idle 03:24:41 03:15:01 all 10.48 0.00 4.02 3.45 0.05 82.00 03:24:41 03:15:01 0 9.07 0.00 3.40 0.94 0.05 86.53 03:24:41 03:15:01 1 11.64 0.00 5.07 4.47 0.05 78.77 03:24:41 03:15:01 2 10.74 0.00 3.69 1.34 0.05 84.17 03:24:41 03:15:01 3 9.28 0.00 5.08 4.49 0.05 81.11 03:24:41 03:15:01 4 12.88 0.00 3.30 1.03 0.05 82.75 03:24:41 03:15:01 5 9.56 0.00 3.60 1.28 0.05 85.51 03:24:41 03:15:01 6 11.74 0.00 4.59 9.43 0.03 74.21 03:24:41 03:15:01 7 8.92 0.00 3.40 4.68 0.08 82.92 03:24:41 03:16:01 all 26.08 0.00 4.85 1.42 0.10 67.55 03:24:41 03:16:01 0 25.24 0.00 5.45 0.13 0.07 69.11 03:24:41 03:16:01 1 26.04 0.00 4.65 0.54 0.08 68.69 03:24:41 03:16:01 2 24.59 0.00 4.45 0.29 0.22 70.45 03:24:41 03:16:01 3 26.49 0.00 4.73 0.17 0.12 68.50 03:24:41 03:16:01 4 26.13 0.00 4.55 1.18 0.07 68.07 03:24:41 03:16:01 5 28.47 0.00 4.89 1.52 0.07 65.06 03:24:41 03:16:01 6 26.67 0.00 5.72 7.51 0.10 60.00 03:24:41 03:16:01 7 25.01 0.00 4.37 0.07 0.07 70.49 03:24:41 03:17:01 all 19.59 0.00 3.95 1.09 0.06 75.30 03:24:41 03:17:01 0 19.60 0.00 3.70 0.00 0.05 76.66 03:24:41 03:17:01 1 18.94 0.00 4.01 0.57 0.05 76.43 03:24:41 03:17:01 2 19.36 0.00 4.05 0.37 0.05 76.16 03:24:41 03:17:01 3 21.24 0.00 3.92 0.07 0.10 74.67 03:24:41 03:17:01 4 18.37 0.00 3.63 0.62 0.05 77.32 03:24:41 03:17:01 5 19.99 0.00 4.39 2.41 0.07 73.14 03:24:41 03:17:01 6 18.96 0.00 3.86 4.63 0.07 72.48 03:24:41 03:17:01 7 20.24 0.00 4.06 0.07 0.07 75.56 03:24:41 03:18:01 all 0.06 0.00 0.01 0.01 0.01 99.92 03:24:41 03:18:01 0 0.00 0.00 0.00 0.00 0.00 100.00 03:24:41 03:18:01 1 0.02 0.00 0.00 0.00 0.02 99.97 03:24:41 03:18:01 2 0.00 0.00 0.00 0.02 0.00 99.98 03:24:41 03:18:01 3 0.00 0.00 0.02 0.00 0.02 99.97 03:24:41 03:18:01 4 0.03 0.00 0.00 0.00 0.00 99.97 03:24:41 03:18:01 5 0.40 0.00 0.02 0.03 0.02 99.53 03:24:41 03:18:01 6 0.00 0.00 0.02 0.00 0.00 99.98 03:24:41 03:18:01 7 0.00 0.00 0.00 0.00 0.00 100.00 03:24:41 03:19:01 all 0.03 0.00 0.01 0.00 0.00 99.96 03:24:41 03:19:01 0 0.00 0.00 0.00 0.02 0.00 99.98 03:24:41 03:19:01 1 0.05 0.00 0.00 0.00 0.00 99.95 03:24:41 03:19:01 2 0.00 0.00 0.00 0.02 0.00 99.98 03:24:41 03:19:01 3 0.02 0.00 0.00 0.00 0.00 99.98 03:24:41 03:19:01 4 0.03 0.00 0.02 0.00 0.00 99.95 03:24:41 03:19:01 5 0.03 0.00 0.02 0.00 0.00 99.95 03:24:41 03:19:01 6 0.05 0.00 0.02 0.00 0.00 99.93 03:24:41 03:19:01 7 0.02 0.00 0.00 0.00 0.00 99.98 03:24:41 03:20:01 all 0.01 0.00 0.01 0.00 0.01 99.98 03:24:41 03:20:01 0 0.00 0.00 0.02 0.00 0.00 99.98 03:24:41 03:20:01 1 0.02 0.00 0.00 0.00 0.02 99.97 03:24:41 03:20:01 2 0.00 0.00 0.00 0.00 0.00 100.00 03:24:41 03:20:01 3 0.00 0.00 0.00 0.00 0.00 100.00 03:24:41 03:20:01 4 0.00 0.00 0.00 0.00 0.00 100.00 03:24:41 03:20:01 5 0.03 0.00 0.03 0.00 0.03 99.90 03:24:41 03:20:01 6 0.02 0.00 0.00 0.00 0.00 99.98 03:24:41 03:20:01 7 0.00 0.00 0.00 0.00 0.00 100.00 03:24:41 03:21:01 all 0.03 0.00 0.02 0.00 0.00 99.95 03:24:41 03:21:01 0 0.02 0.00 0.00 0.00 0.00 99.98 03:24:41 03:21:01 1 0.02 0.00 0.05 0.00 0.00 99.93 03:24:41 03:21:01 2 0.07 0.00 0.02 0.02 0.00 99.90 03:24:41 03:21:01 3 0.00 0.00 0.02 0.02 0.00 99.97 03:24:41 03:21:01 4 0.02 0.00 0.00 0.00 0.00 99.98 03:24:41 03:21:01 5 0.07 0.00 0.03 0.00 0.00 99.90 03:24:41 03:21:01 6 0.03 0.00 0.00 0.00 0.02 99.95 03:24:41 03:21:01 7 0.03 0.00 0.02 0.00 0.00 99.95 03:24:41 03:22:01 all 0.01 0.00 0.03 0.00 0.00 99.95 03:24:41 03:22:01 0 0.02 0.00 0.02 0.00 0.00 99.97 03:24:41 03:22:01 1 0.02 0.00 0.00 0.00 0.00 99.98 03:24:41 03:22:01 2 0.00 0.00 0.00 0.02 0.00 99.98 03:24:41 03:22:01 3 0.00 0.00 0.00 0.02 0.00 99.98 03:24:41 03:22:01 4 0.00 0.00 0.03 0.00 0.00 99.97 03:24:41 03:22:01 5 0.03 0.00 0.03 0.00 0.02 99.92 03:24:41 03:22:01 6 0.05 0.00 0.12 0.00 0.00 99.83 03:24:41 03:22:01 7 0.00 0.00 0.00 0.00 0.00 100.00 03:24:41 03:23:01 all 0.01 0.00 0.01 0.00 0.01 99.97 03:24:41 03:23:01 0 0.00 0.00 0.03 0.00 0.02 99.95 03:24:41 03:23:01 1 0.02 0.00 0.02 0.00 0.02 99.95 03:24:41 03:23:01 2 0.00 0.00 0.00 0.00 0.02 99.98 03:24:41 03:23:01 3 0.00 0.00 0.00 0.00 0.02 99.98 03:24:41 03:23:01 4 0.02 0.00 0.00 0.00 0.00 99.98 03:24:41 03:23:01 5 0.02 0.00 0.02 0.00 0.02 99.95 03:24:41 03:23:01 6 0.03 0.00 0.02 0.00 0.00 99.95 03:24:41 03:23:01 7 0.00 0.00 0.00 0.00 0.00 100.00 03:24:41 03:24:01 all 0.04 0.00 0.00 0.00 0.00 99.95 03:24:41 03:24:01 0 0.03 0.00 0.00 0.00 0.00 99.97 03:24:41 03:24:01 1 0.02 0.00 0.00 0.00 0.00 99.98 03:24:41 03:24:01 2 0.00 0.00 0.00 0.02 0.00 99.98 03:24:41 03:24:01 3 0.02 0.00 0.02 0.02 0.00 99.95 03:24:41 03:24:01 4 0.02 0.00 0.00 0.00 0.00 99.98 03:24:41 03:24:01 5 0.22 0.00 0.02 0.00 0.02 99.75 03:24:41 03:24:01 6 0.00 0.00 0.00 0.00 0.00 100.00 03:24:41 03:24:01 7 0.02 0.00 0.00 0.00 0.00 99.98 03:24:41 Average: all 5.59 0.00 1.28 0.60 0.02 92.50 03:24:41 Average: 0 5.37 0.00 1.25 0.11 0.02 93.25 03:24:41 Average: 1 5.64 0.00 1.37 0.55 0.02 92.41 03:24:41 Average: 2 5.44 0.00 1.21 0.21 0.03 93.11 03:24:41 Average: 3 5.66 0.00 1.37 0.47 0.03 92.47 03:24:41 Average: 4 5.71 0.00 1.15 0.28 0.02 92.85 03:24:41 Average: 5 5.86 0.00 1.30 0.52 0.03 92.28 03:24:41 Average: 6 5.71 0.00 1.42 2.14 0.02 90.71 03:24:41 Average: 7 5.37 0.00 1.17 0.48 0.02 92.96 03:24:41 03:24:41 03:24:41