Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b14db977a21d4911b4a94164344e882f0b450d6f+5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 (e7e04bdd73969cd0a27a1805997556b94bbc95fc) 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-ssh14075092542540922355.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-ssh9400469091679502888.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-139/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-139/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6369688132202543160.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 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-ssh5963987765546426464.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-139/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-139/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2088731999533596299.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23537 in /w/workspace/undry_device-onvif-camera_PR-139 [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-139 # 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 b14db977a21d4911b4a94164344e882f0b450d6f Merge succeeded, producing 251291d3a3a0a415dbb64be81ac5ca476c9d0e77 Checking out Revision 251291d3a3a0a415dbb64be81ac5ca476c9d0e77 (PR-139) > 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/139/head:refs/remotes/origin/PR-139 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b14db977a21d4911b4a94164344e882f0b450d6f # 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 251291d3a3a0a415dbb64be81ac5ca476c9d0e77 # timeout=10 Commit message: "Merge commit '5e91d4f85419f84dfbfc8f3e713bc0113c4e4412' into HEAD" > git rev-list --no-walk b14db977a21d4911b4a94164344e882f0b450d6f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:10:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:10:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:10:21 ========================================================= 10:10:21 EdgeX Global Pipelines Version Info 10:10:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:10:21 ------------------- 10:10:21 stable info: 10:10:21 ------------------- 10:10:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:10:21 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:10:21 Message: update stable to v1.0.239 10:10:22 ------------------- 10:10:22 experimental info: 10:10:22 ------------------- 10:10:22 Commited By: **** collab-it+edgex@linuxfoundation.org 10:10:22 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:10:22 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:10:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-139 [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-139 [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-139 [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 251291d3a3a0a415dbb64be81ac5ca476c9d0e77 [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 251291d [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:23 provisioning config files... 10:10:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-139@tmp/config3406866175412478832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:23 ---> docker-login.sh 10:10:23 nexus3.edgexfoundry.org:10001 10:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 nexus3.edgexfoundry.org:10002 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 nexus3.edgexfoundry.org:10003 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 nexus3.edgexfoundry.org:10004 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 docker.io 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 ---> docker-login.sh ends [Pipeline] } 10:10:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:10:25 + git rev-list -1 --merges 251291d3a3a0a415dbb64be81ac5ca476c9d0e77~1..251291d3a3a0a415dbb64be81ac5ca476c9d0e77 [Pipeline] echo 10:10:25 -----------> git rev-list -1 --merges 251291d3a3a0a415dbb64be81ac5ca476c9d0e77~1..251291d3a3a0a415dbb64be81ac5ca476c9d0e77 251291d3a3a0a415dbb64be81ac5ca476c9d0e77 10:10:25 251291d3a3a0a415dbb64be81ac5ca476c9d0e77 [false] [Pipeline] sh 10:10:25 + git log --format=format:%s -1 251291d3a3a0a415dbb64be81ac5ca476c9d0e77 [Pipeline] echo 10:10:25 ========================================================= 10:10:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:10:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:25 + git log --format=format:%s -1 251291d3a3a0a415dbb64be81ac5ca476c9d0e77 [Pipeline] echo 10:10:25 [semverPrep] GIT_COMMIT: 251291d3a3a0a415dbb64be81ac5ca476c9d0e77, Commit Message: Merge commit '5e91d4f85419f84dfbfc8f3e713bc0113c4e4412' into HEAD [Pipeline] echo 10:10:25 [semverPrep] This is not a build commit. [Pipeline] sh 10:10:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:10:26 + grep -v github /etc/ssh/ssh_known_hosts 10:10:26 + [ -e /tmp/ssh_known_hosts ] 10:10:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:10:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:10:26 + sudo tee -a /etc/ssh/ssh_known_hosts 10:10:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:26 10:10:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:27 0.1.4: Pulling from edgex-devops/py-git-semver 10:10:27 b85a868b505f: Pulling fs layer 10:10:27 e2be974225ed: Pulling fs layer 10:10:27 339a4e72a1f5: Pulling fs layer 10:10:27 988bab9f4d93: Pulling fs layer 10:10:27 1469e6f7b9e6: Pulling fs layer 10:10:27 eaf3925da568: Pulling fs layer 10:10:27 bab4dde63d76: Pulling fs layer 10:10:27 bde34c3a00c8: Pulling fs layer 10:10:27 b352a97aabf1: Pulling fs layer 10:10:27 4872d77fe225: Pulling fs layer 10:10:27 5851b861e8e6: Pulling fs layer 10:10:27 5851b861e8e6: Waiting 10:10:27 bab4dde63d76: Waiting 10:10:27 4872d77fe225: Waiting 10:10:27 bde34c3a00c8: Waiting 10:10:27 988bab9f4d93: Waiting 10:10:27 1469e6f7b9e6: Waiting 10:10:27 b352a97aabf1: Waiting 10:10:27 e2be974225ed: Download complete 10:10:27 988bab9f4d93: Verifying Checksum 10:10:27 988bab9f4d93: Download complete 10:10:27 1469e6f7b9e6: Verifying Checksum 10:10:27 1469e6f7b9e6: Download complete 10:10:27 339a4e72a1f5: Verifying Checksum 10:10:27 339a4e72a1f5: Download complete 10:10:27 eaf3925da568: Verifying Checksum 10:10:27 eaf3925da568: Download complete 10:10:27 bde34c3a00c8: Verifying Checksum 10:10:27 bde34c3a00c8: Download complete 10:10:27 b352a97aabf1: Download complete 10:10:27 4872d77fe225: Verifying Checksum 10:10:27 4872d77fe225: Download complete 10:10:27 5851b861e8e6: Verifying Checksum 10:10:27 5851b861e8e6: Download complete 10:10:27 b85a868b505f: Verifying Checksum 10:10:27 b85a868b505f: Download complete 10:10:27 bab4dde63d76: Verifying Checksum 10:10:27 bab4dde63d76: Download complete 10:10:29 b85a868b505f: Pull complete 10:10:29 e2be974225ed: Pull complete 10:10:29 339a4e72a1f5: Pull complete 10:10:29 988bab9f4d93: Pull complete 10:10:29 1469e6f7b9e6: Pull complete 10:10:29 eaf3925da568: Pull complete 10:10:31 bab4dde63d76: Pull complete 10:10:32 bde34c3a00c8: Pull complete 10:10:32 b352a97aabf1: Pull complete 10:10:32 4872d77fe225: Pull complete 10:10:32 5851b861e8e6: Pull complete 10:10:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:10:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:32 prd-ubuntu20.04-docker-8c-8g-23537 does not seem to be running inside a container 10:10:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@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 10:10:34 $ docker top 4b882f7b8f1b63f15a9f1dcf706a3ca8212a44676d5f2abfd9cc0ea9b9b277a1 -eo pid,comm 10:10:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:10:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:10:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:34 [ssh-agent] Looking for ssh-agent implementation... 10:10:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:34 $ docker exec 4b882f7b8f1b63f15a9f1dcf706a3ca8212a44676d5f2abfd9cc0ea9b9b277a1 ssh-agent 10:10:34 SSH_AUTH_SOCK=/tmp/ssh-mtGNbDU0F8uK/agent.32 10:10:34 SSH_AGENT_PID=38 10:10:34 Running ssh-add (command line suppressed) 10:10:34 Identity added: /w/workspace/undry_device-onvif-camera_PR-139@tmp/private_key_2080123371868816684.key (/w/workspace/undry_device-onvif-camera_PR-139@tmp/private_key_2080123371868816684.key) 10:10:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:35 + git tag --points-at HEAD [Pipeline] } 10:10:35 $ docker exec --env ******** --env ******** 4b882f7b8f1b63f15a9f1dcf706a3ca8212a44676d5f2abfd9cc0ea9b9b277a1 ssh-agent -k 10:10:35 unset SSH_AUTH_SOCK; 10:10:35 unset SSH_AGENT_PID; 10:10:35 echo Agent pid 38 killed; 10:10:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:10:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:35 [ssh-agent] Looking for ssh-agent implementation... 10:10:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:35 $ docker exec 4b882f7b8f1b63f15a9f1dcf706a3ca8212a44676d5f2abfd9cc0ea9b9b277a1 ssh-agent 10:10:35 SSH_AUTH_SOCK=/tmp/ssh-fsPnXyMQtCwk/agent.71 10:10:35 SSH_AGENT_PID=77 10:10:35 Running ssh-add (command line suppressed) 10:10:35 Identity added: /w/workspace/undry_device-onvif-camera_PR-139@tmp/private_key_615628055877164039.key (/w/workspace/undry_device-onvif-camera_PR-139@tmp/private_key_615628055877164039.key) 10:10:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:36 + git semver init 10:10:36 2022-08-25 10:10:36,258 [run_init] DEBUG init version:0.0.0 force:False 10:10:36 2022-08-25 10:10:36,259 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-139/.semver 10:10:36 2022-08-25 10:10:36,261 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-139/.semver 10:10:36 2022-08-25 10:10:36,261 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-139/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-139, universal_newlines=False, shell=None, istream=None) 10:10:37 2022-08-25 10:10:37,089 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-139/.git/info/exclude 10:10:37 2022-08-25 10:10:37,089 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-139/.semver/PR-139 with force:False 10:10:37 2022-08-25 10:10:37,089 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-139/.semver/PR-139 10:10:37 2022-08-25 10:10:37,094 [execute] INFO git cat-file --batch-check 10:10:37 2022-08-25 10:10:37,094 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-139/.semver, universal_newlines=False, shell=None, istream=) 10:10:37 2022-08-25 10:10:37,100 [execute] INFO git cat-file --batch 10:10:37 2022-08-25 10:10:37,100 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-139/.semver, universal_newlines=False, shell=None, istream=) 10:10:37 2022-08-25 10:10:37,104 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-139/.semver/PR-139 10:10:37 0.0.0 [Pipeline] } 10:10:37 $ docker exec --env ******** --env ******** 4b882f7b8f1b63f15a9f1dcf706a3ca8212a44676d5f2abfd9cc0ea9b9b277a1 ssh-agent -k 10:10:37 unset SSH_AUTH_SOCK; 10:10:37 unset SSH_AGENT_PID; 10:10:37 echo Agent pid 77 killed; 10:10:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:10:37 + git semver [Pipeline] } 10:10:37 $ docker stop --time=1 4b882f7b8f1b63f15a9f1dcf706a3ca8212a44676d5f2abfd9cc0ea9b9b277a1 10:10:39 $ docker rm -f 4b882f7b8f1b63f15a9f1dcf706a3ca8212a44676d5f2abfd9cc0ea9b9b277a1 [Pipeline] // withDockerContainer [Pipeline] sh 10:10:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:10:40 Stashed 1 file(s) [Pipeline] echo 10:10:40 [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 10:10:40 provisioning config files... 10:10:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-139@tmp/config8150641779199886962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:40 ---> docker-login.sh 10:10:40 nexus3.edgexfoundry.org:10001 10:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:40 Configure a credential helper to remove this warning. See 10:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:40 10:10:40 Login Succeeded 10:10:40 nexus3.edgexfoundry.org:10002 10:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:40 Configure a credential helper to remove this warning. See 10:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:40 10:10:40 Login Succeeded 10:10:40 nexus3.edgexfoundry.org:10003 10:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:40 Configure a credential helper to remove this warning. See 10:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:40 10:10:40 Login Succeeded 10:10:40 nexus3.edgexfoundry.org:10004 10:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:41 Configure a credential helper to remove this warning. See 10:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:41 10:10:41 Login Succeeded 10:10:41 docker.io 10:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:41 Configure a credential helper to remove this warning. See 10:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:41 10:10:41 Login Succeeded 10:10:41 ---> docker-login.sh ends [Pipeline] } 10:10:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:41 ========================================================= 10:10:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:10:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:41 + 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 . 10:10:41 Sending build context to Docker daemon 20.58MB 10:10:41 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:10:41 Step 2/13 : FROM ${BASE} AS builder 10:10:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:10:41 2408cc74d12b: Pulling fs layer 10:10:41 ea60b727a1ce: Pulling fs layer 10:10:41 30c4a7721957: Pulling fs layer 10:10:41 370296b7ddb6: Pulling fs layer 10:10:41 7c6cee850709: Pulling fs layer 10:10:41 370296b7ddb6: Waiting 10:10:42 7c6cee850709: Waiting 10:10:42 39a5fcdaea64: Pulling fs layer 10:10:42 d94ebbe4e438: Pulling fs layer 10:10:42 bcfd1f05c69d: Pulling fs layer 10:10:42 59ccb84bbe0f: Pulling fs layer 10:10:42 39a5fcdaea64: Waiting 10:10:42 d94ebbe4e438: Waiting 10:10:42 59ccb84bbe0f: Waiting 10:10:42 bcfd1f05c69d: Waiting 10:10:42 30c4a7721957: Verifying Checksum 10:10:42 30c4a7721957: Download complete 10:10:42 ea60b727a1ce: Verifying Checksum 10:10:42 ea60b727a1ce: Download complete 10:10:42 7c6cee850709: Verifying Checksum 10:10:42 7c6cee850709: Download complete 10:10:42 39a5fcdaea64: Download complete 10:10:42 2408cc74d12b: Verifying Checksum 10:10:42 2408cc74d12b: Download complete 10:10:42 d94ebbe4e438: Verifying Checksum 10:10:42 d94ebbe4e438: Download complete 10:10:42 2408cc74d12b: Pull complete 10:10:42 ea60b727a1ce: Pull complete 10:10:42 30c4a7721957: Pull complete 10:10:42 59ccb84bbe0f: Verifying Checksum 10:10:42 59ccb84bbe0f: Download complete 10:10:42 bcfd1f05c69d: Verifying Checksum 10:10:42 bcfd1f05c69d: Download complete 10:10:42 370296b7ddb6: Verifying Checksum 10:10:42 370296b7ddb6: Download complete 10:10:47 370296b7ddb6: Pull complete 10:10:47 7c6cee850709: Pull complete 10:10:47 39a5fcdaea64: Pull complete 10:10:47 d94ebbe4e438: Pull complete 10:10:48 bcfd1f05c69d: Pull complete 10:10:49 59ccb84bbe0f: Pull complete 10:10:49 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 10:10:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:10:49 ---> a4fb48ad2a94 10:10:49 Step 3/13 : ARG MAKE="make build" 10:10:52 ---> Running in 15c88a2999bf 10:10:52 Removing intermediate container 15c88a2999bf 10:10:52 ---> 6a756f95ec74 10:10:52 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:10:52 ---> Running in 8b8926e6f4e8 10:10:52 Removing intermediate container 8b8926e6f4e8 10:10:52 ---> 39c6751ebf3a 10:10:52 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:10:52 ---> Running in 4fc60e4f65cb 10:10:52 Removing intermediate container 4fc60e4f65cb 10:10:52 ---> 823332a9c754 10:10:52 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:10:52 ---> Running in 3328b0f08d40 10:10:52 Removing intermediate container 3328b0f08d40 10:10:52 ---> c6d6ac09ea07 10:10:52 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:10:52 ---> Running in bcfbb8982fb7 10:10:53 Removing intermediate container bcfbb8982fb7 10:10:53 ---> e2c23af3b8f7 10:10:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:10:53 ---> Running in a1007ea81a11 10:10:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:10:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:10:54 OK: 211 MiB in 51 packages 10:10:55 Removing intermediate container a1007ea81a11 10:10:55 ---> f6a88dd48679 10:10:55 Step 9/13 : WORKDIR /device-onvif-camera 10:10:55 ---> Running in f7f1b1ce4c53 10:10:55 Still waiting to schedule task 10:10:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:10:55 Removing intermediate container f7f1b1ce4c53 10:10:55 ---> 8bc19f463796 10:10:55 Step 10/13 : COPY go.mod vendor* ./ 10:10:55 ---> 1741d1fa855a 10:10:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:10:55 ---> Running in 8b2d7f5057c5 10:11:21 Removing intermediate container 8b2d7f5057c5 10:11:21 ---> 5c2f09c3d35d 10:11:21 Step 12/13 : COPY . . 10:11:21 ---> b6f6cdb69325 10:11:21 Step 13/13 : RUN ${MAKE} 10:11:21 ---> Running in f5a6b895c854 10:11:21 noop 10:11:21 Removing intermediate container f5a6b895c854 10:11:21 ---> 80af6289b4f6 10:11:21 Successfully built 80af6289b4f6 10:11:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:22 + docker inspect -f . ci-base-image-x86_64 10:11:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:22 prd-ubuntu20.04-docker-8c-8g-23537 does not seem to be running inside a container 10:11:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@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 10:11:22 $ docker top e26f566012357000e3fd7d18638af5e17ebe910df1eedef5f9d9c66df0fee571 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:23 + go version 10:11:23 go version go1.18.3 linux/amd64 [Pipeline] } 10:11:23 $ docker stop --time=1 e26f566012357000e3fd7d18638af5e17ebe910df1eedef5f9d9c66df0fee571 10:11:24 $ docker rm -f e26f566012357000e3fd7d18638af5e17ebe910df1eedef5f9d9c66df0fee571 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:24 + docker inspect -f . ci-base-image-x86_64 10:11:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:24 prd-ubuntu20.04-docker-8c-8g-23537 does not seem to be running inside a container 10:11:24 $ 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-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@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 10:11:25 $ docker top 1e7d0e8a0f167a0db5ebb139e4af624cac554a3f560bc0198a023d90b1519377 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:25 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-139 [Pipeline] fileExists [Pipeline] sh 10:11:25 + make test 10:11:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:11:26 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:11:36 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:11:37 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.026s coverage: 10.6% of statements 10:11:37 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:11:40 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.836s coverage: 13.8% of statements 10:11:48 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." 10:11:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:11:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:11:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:11:51 ./bin/test-attribution-txt.sh [Pipeline] echo 10:11:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:11:51 $ docker stop --time=1 1e7d0e8a0f167a0db5ebb139e4af624cac554a3f560bc0198a023d90b1519377 10:11:53 $ docker rm -f 1e7d0e8a0f167a0db5ebb139e4af624cac554a3f560bc0198a023d90b1519377 [Pipeline] // withDockerContainer [Pipeline] sh 10:11:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:11:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:11:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:11:54 + ls -al . 10:11:54 total 232 10:11:54 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 10:11 . 10:11:54 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:10 .. 10:11:54 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 10:11 .git 10:11:54 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:10 .github 10:11:54 -rw-rw-r-- 1 jenkins jenkins 418 Aug 25 10:10 .gitignore 10:11:54 -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 10:10 .golangci.yml 10:11:54 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 10:10 .semver 10:11:54 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 25 10:10 Attribution.txt 10:11:54 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 25 10:10 CHANGELOG.md 10:11:54 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 25 10:10 Dockerfile 10:11:54 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 10:10 GOVERNANCE.md 10:11:54 -rw-rw-r-- 1 jenkins jenkins 734 Aug 25 10:10 Jenkinsfile 10:11:54 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 10:10 LICENSE 10:11:54 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 25 10:10 Makefile 10:11:54 -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 10:10 OWNERS.md 10:11:54 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 25 10:10 README.md 10:11:54 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 10:10 VERSION 10:11:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 10:10 bin 10:11:54 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:10 cmd 10:11:54 -rw-r--r-- 1 jenkins jenkins 76854 Aug 25 10:11 coverage.out 10:11:54 drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 10:10 doc 10:11:54 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 25 10:10 go.mod 10:11:54 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 25 10:10 go.sum 10:11:54 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:10 internal 10:11:54 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:10 snap 10:11:54 -rw-rw-r-- 1 jenkins jenkins 236 Aug 25 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:55 + 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=251291d3a3a0a415dbb64be81ac5ca476c9d0e77 --label arch=amd64 --label version=0.0.0 . 10:11:55 Sending build context to Docker daemon 20.66MB 10:11:55 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 10:11:55 Step 2/26 : FROM ${BASE} AS builder 10:11:55 ---> 80af6289b4f6 10:11:55 Step 3/26 : ARG MAKE="make build" 10:11:55 ---> Running in 0ae6fbff9c05 10:11:55 Removing intermediate container 0ae6fbff9c05 10:11:55 ---> f8892f20fcb1 10:11:55 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:11:55 ---> Running in 5cd02831df4b 10:11:55 Removing intermediate container 5cd02831df4b 10:11:55 ---> 6de8756d547e 10:11:55 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:11:55 ---> Running in 371e88627230 10:11:55 Removing intermediate container 371e88627230 10:11:55 ---> 9277c7838022 10:11:55 Step 6/26 : LABEL Name=edgex-device-onvif-camera 10:11:55 ---> Running in b6ca5b4a9e96 10:11:55 Removing intermediate container b6ca5b4a9e96 10:11:55 ---> 4fbe8e573563 10:11:55 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:55 ---> Running in fa133004e751 10:11:56 Removing intermediate container fa133004e751 10:11:56 ---> 0a7da79959b6 10:11:56 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:56 ---> Running in 845aeec2fe86 10:11:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:12:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:12:12 OK: 211 MiB in 51 packages 10:12:12 Removing intermediate container 845aeec2fe86 10:12:12 ---> 9e82dbf6d0a4 10:12:12 Step 9/26 : WORKDIR /device-onvif-camera 10:12:12 ---> Running in b901c0b25959 10:12:12 Removing intermediate container b901c0b25959 10:12:12 ---> c55fd221777c 10:12:12 Step 10/26 : COPY go.mod vendor* ./ 10:12:12 ---> 08d8f7031e99 10:12:12 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:12:12 ---> Running in a121b96f5936 10:12:12 Removing intermediate container a121b96f5936 10:12:12 ---> 5f59819fb8cd 10:12:12 Step 12/26 : COPY . . 10:12:13 ---> cf5bf807c47b 10:12:13 Step 13/26 : RUN ${MAKE} 10:12:13 ---> Running in c8717fedbfef 10:12:13 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 10:12:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23539 in /w/workspace/undry_device-onvif-camera_PR-139 [Pipeline] { [Pipeline] ws 10:12:29 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 10:12:29 Selected Git installation does not exist. Using Default 10:12:29 The recommended git tool is: NONE 10:12:35 using credential edgex-jenkins-ssh 10:12:35 Cloning the remote Git repository 10:12:35 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:12:35 > git init /w/workspace/device-onvif-camera/2 # timeout=10 10:12:35 Removing intermediate container c8717fedbfef 10:12:35 ---> 3113b54020da 10:12:35 Step 14/26 : FROM alpine:3.16 10:12:35 3.16: Pulling from library/alpine 10:12:35 213ec9aee27d: Pulling fs layer 10:12:35 213ec9aee27d: Verifying Checksum 10:12:35 213ec9aee27d: Download complete 10:12:35 213ec9aee27d: Pull complete 10:12:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:12:35 Status: Downloaded newer image for alpine:3.16 10:12:35 ---> 9c6f07244728 10:12:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:12:35 ---> Running in 8a7621756240 10:12:35 Removing intermediate container 8a7621756240 10:12:35 ---> b3aa04f432a1 10:12:35 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:12:35 ---> Running in 8cb2e127661c 10:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:12:35 (1/6) Installing dumb-init (1.2.5-r1) 10:12:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:12:35 (3/6) Installing libsodium (1.0.18-r0) 10:12:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:12:35 (5/6) Installing libzmq (4.3.4-r0) 10:12:35 (6/6) Installing zeromq (4.3.4-r0) 10:12:35 Executing busybox-1.35.0-r17.trigger 10:12:35 OK: 8 MiB in 20 packages 10:12:35 Removing intermediate container 8cb2e127661c 10:12:35 ---> ce265552075b 10:12:35 Step 17/26 : WORKDIR / 10:12:35 ---> Running in 724aeffbb5b7 10:12:35 Removing intermediate container 724aeffbb5b7 10:12:35 ---> b3ed8c9ebead 10:12:35 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:12:36 ---> 023936e77f5f 10:12:36 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:12:36 ---> d8258b29b1af 10:12:36 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:12:36 ---> 2b5977eb373e 10:12:36 Step 21/26 : EXPOSE 59984 10:12:36 ---> Running in 7145e23c6eb3 10:12:35 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:12:35 > git --version # timeout=10 10:12:35 > git --version # 'git version 2.25.1' 10:12:35 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:36 Removing intermediate container 7145e23c6eb3 10:12:36 ---> b370b507cfc2 10:12:36 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:12:36 ---> Running in 15b80794478e 10:12:36 Removing intermediate container 15b80794478e 10:12:36 ---> cb5a9f8ef564 10:12:36 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:12:36 ---> Running in 7097ab6e6a96 10:12:36 Removing intermediate container 7097ab6e6a96 10:12:36 ---> f65131b0d1d6 10:12:36 Step 24/26 : LABEL arch=amd64 10:12:36 ---> Running in 09fdef5cfede 10:12:37 Removing intermediate container 09fdef5cfede 10:12:37 ---> b996958686a6 10:12:37 Step 25/26 : LABEL git_sha=251291d3a3a0a415dbb64be81ac5ca476c9d0e77 10:12:37 ---> Running in 911b26b03287 10:12:37 Removing intermediate container 911b26b03287 10:12:37 ---> bb6d1c835685 10:12:37 Step 26/26 : LABEL version=0.0.0 10:12:37 ---> Running in 3cf709d628d0 10:12:37 Removing intermediate container 3cf709d628d0 10:12:37 ---> e603fade5b79 10:12:37 [Warning] One or more build-args [ARCH] were not consumed 10:12:37 Successfully built e603fade5b79 10:12:37 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 10:12:37 Merging remotes/origin/main commit 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 into PR head commit b14db977a21d4911b4a94164344e882f0b450d6f 10:12:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:37 10:12:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:37 latest: Pulling from edgex-lftools-log-publisher 10:12:37 5eb5b503b376: Pulling fs layer 10:12:37 5c69ac0246d0: Pulling fs layer 10:12:37 ec43610c2a17: Pulling fs layer 10:12:37 3a2ae6a8a46f: Pulling fs layer 10:12:37 33b1e0a273af: Pulling fs layer 10:12:37 5d3b04190fa2: Pulling fs layer 10:12:37 2f39f015ded8: Pulling fs layer 10:12:37 33b1e0a273af: Waiting 10:12:37 5d3b04190fa2: Waiting 10:12:37 3a2ae6a8a46f: Waiting 10:12:37 2f39f015ded8: Waiting 10:12:37 5c69ac0246d0: Download complete 10:12:37 3a2ae6a8a46f: Verifying Checksum 10:12:37 3a2ae6a8a46f: Download complete 10:12:37 33b1e0a273af: Verifying Checksum 10:12:37 33b1e0a273af: Download complete 10:12:37 5d3b04190fa2: Verifying Checksum 10:12:37 5d3b04190fa2: Download complete 10:12:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:12:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:12:37 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:12:37 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:12:37 > git config core.sparsecheckout # timeout=10 10:12:37 > git checkout -f b14db977a21d4911b4a94164344e882f0b450d6f # timeout=10 10:12:37 > git remote # timeout=10 10:12:37 > git config --get remote.origin.url # timeout=10 10:12:37 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:37 > git merge 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 # timeout=10 10:12:38 Merge succeeded, producing c0a81166a94da268c9a562b0584205eac582111d 10:12:38 Checking out Revision c0a81166a94da268c9a562b0584205eac582111d (PR-139) 10:12:38 ec43610c2a17: Verifying Checksum 10:12:38 ec43610c2a17: Download complete 10:12:38 5eb5b503b376: Verifying Checksum 10:12:38 5eb5b503b376: Download complete 10:12:38 2f39f015ded8: Download complete 10:12:38 > git rev-parse HEAD^{commit} # timeout=10 10:12:38 > git config core.sparsecheckout # timeout=10 10:12:38 > git checkout -f c0a81166a94da268c9a562b0584205eac582111d # timeout=10 10:12:39 5eb5b503b376: Pull complete 10:12:39 5c69ac0246d0: Pull complete 10:12:40 ec43610c2a17: Pull complete 10:12:40 3a2ae6a8a46f: Pull complete 10:12:40 33b1e0a273af: Pull complete 10:12:40 5d3b04190fa2: Pull complete 10:12:42 Commit message: "Merge commit '5e91d4f85419f84dfbfc8f3e713bc0113c4e4412' into HEAD" 10:12:42 > git rev-list --no-walk b14db977a21d4911b4a94164344e882f0b450d6f # timeout=10 10:12:42 10:12:42 GitHub has been notified of this commit’s build result 10:12:42 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:12:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:12:43 % Total % Received % Xferd Average Speed Time Time Time Current 10:12:43 Dload Upload Total Spent Left Speed 10:12:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94751 0 --:--:-- --:--:-- --:--:-- 95469 [Pipeline] sh 10:12:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:12:44 + sudo tee /etc/docker/daemon.new 10:12:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:12:44 { 10:12:44 "registry-mirrors": [ 10:12:44 "https://nexus3.edgexfoundry.org:10001" 10:12:44 ], 10:12:44 "bip": "10.250.0.254/24", 10:12:44 "hosts": [ 10:12:44 "tcp://0.0.0.0:5555", 10:12:44 "unix:///var/run/docker.sock" 10:12:44 ], 10:12:44 "mtu": 1458, 10:12:44 "selinux-enabled": true, 10:12:44 "seccomp-profile": "/etc/docker/seccomp.json" 10:12:44 } [Pipeline] sh 10:12:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:12:45 + sudo service docker restart 10:12:45 2f39f015ded8: Pull complete 10:12:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:12:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:45 prd-ubuntu20.04-docker-8c-8g-23537 does not seem to be running inside a container 10:12:45 $ 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-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@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 10:12:47 $ docker top d8d5a456b086f857f4aaa9aa13566649138d2d70f7d1f4761e995d52d30c2cb9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:47 ---> job-cost.sh 10:12:47 lf-activate-venv: SKIPPING 10:12:47 INFO: No Stack... 10:12:48 INFO: Retrieving Pricing Info for: v3-standard-8 10:12:49 INFO: Archiving Costs [Pipeline] sh 10:12:49 + cat /w/workspace/undry_device-onvif-camera_PR-139/archives/cost.csv 10:12:49 + cut -d, -f6 [Pipeline] lock 10:12:49 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-139-2-stack-cost] 10:12:49 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-139-2-stack-cost] did not exist. Created. 10:12:49 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-139-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:12:49 + echo total: 0.2199999988079071 [Pipeline] stash 10:12:49 Stashed 1 file(s) [Pipeline] } 10:12:49 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-139-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:12:49 $ docker stop --time=1 d8d5a456b086f857f4aaa9aa13566649138d2d70f7d1f4761e995d52d30c2cb9 10:12:50 $ docker rm -f d8d5a456b086f857f4aaa9aa13566649138d2d70f7d1f4761e995d52d30c2cb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:13:03 provisioning config files... 10:13:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config535985764453655868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:03 ---> docker-login.sh 10:13:03 nexus3.edgexfoundry.org:10001 10:13:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:04 Configure a credential helper to remove this warning. See 10:13:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:04 10:13:04 Login Succeeded 10:13:04 nexus3.edgexfoundry.org:10002 10:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:05 Configure a credential helper to remove this warning. See 10:13:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:05 10:13:05 Login Succeeded 10:13:05 nexus3.edgexfoundry.org:10003 10:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:05 Configure a credential helper to remove this warning. See 10:13:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:05 10:13:05 Login Succeeded 10:13:05 nexus3.edgexfoundry.org:10004 10:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:06 Configure a credential helper to remove this warning. See 10:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:06 10:13:06 Login Succeeded 10:13:06 docker.io 10:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:06 Configure a credential helper to remove this warning. See 10:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:06 10:13:06 Login Succeeded 10:13:06 ---> docker-login.sh ends [Pipeline] } 10:13:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:13:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:13:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:13:07 ========================================================= 10:13:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:13:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:07 + 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 . 10:13:08 Sending build context to Docker daemon 14.07MB 10:13:08 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:13:08 Step 2/13 : FROM ${BASE} AS builder 10:13:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:13:08 b3c136eddcbf: Pulling fs layer 10:13:08 c0a3192eca97: Pulling fs layer 10:13:08 a050256f5b6f: Pulling fs layer 10:13:08 656be50a0ddc: Pulling fs layer 10:13:08 2bbca73fdf42: Pulling fs layer 10:13:08 46d945488cbd: Pulling fs layer 10:13:08 8a5474983e97: Pulling fs layer 10:13:08 329c88fbcd65: Pulling fs layer 10:13:08 2bbca73fdf42: Waiting 10:13:08 46d945488cbd: Waiting 10:13:08 8a5474983e97: Waiting 10:13:08 656be50a0ddc: Waiting 10:13:08 329c88fbcd65: Waiting 10:13:08 a050256f5b6f: Verifying Checksum 10:13:08 a050256f5b6f: Download complete 10:13:08 c0a3192eca97: Verifying Checksum 10:13:08 c0a3192eca97: Download complete 10:13:08 2bbca73fdf42: Verifying Checksum 10:13:08 2bbca73fdf42: Download complete 10:13:08 b3c136eddcbf: Verifying Checksum 10:13:08 b3c136eddcbf: Download complete 10:13:08 46d945488cbd: Verifying Checksum 10:13:08 46d945488cbd: Download complete 10:13:09 b3c136eddcbf: Pull complete 10:13:09 329c88fbcd65: Verifying Checksum 10:13:09 329c88fbcd65: Download complete 10:13:09 c0a3192eca97: Pull complete 10:13:10 a050256f5b6f: Pull complete 10:13:10 8a5474983e97: Verifying Checksum 10:13:10 8a5474983e97: Download complete 10:13:11 656be50a0ddc: Verifying Checksum 10:13:11 656be50a0ddc: Download complete 10:13:26 656be50a0ddc: Pull complete 10:13:26 2bbca73fdf42: Pull complete 10:13:26 46d945488cbd: Pull complete 10:13:31 8a5474983e97: Pull complete 10:13:33 329c88fbcd65: Pull complete 10:13:33 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 10:13:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:13:33 ---> ff4287adb874 10:13:33 Step 3/13 : ARG MAKE="make build" 10:13:35 ---> Running in c448e5330703 10:13:36 Removing intermediate container c448e5330703 10:13:36 ---> 07523d2d0899 10:13:36 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:13:36 ---> Running in 955d919f45e8 10:13:36 Removing intermediate container 955d919f45e8 10:13:36 ---> 668197624ffc 10:13:36 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:13:36 ---> Running in 0980875db7d3 10:13:37 Removing intermediate container 0980875db7d3 10:13:37 ---> e5afc980c3af 10:13:37 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:13:37 ---> Running in 0c38949190f0 10:13:37 Removing intermediate container 0c38949190f0 10:13:37 ---> 4c9ea8b2f5a6 10:13:37 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:13:37 ---> Running in 25e5214a56c0 10:13:39 Removing intermediate container 25e5214a56c0 10:13:39 ---> 25db79d024ca 10:13:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:13:39 ---> Running in 527c1cd2aa41 10:13:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:13:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:13:42 OK: 221 MiB in 51 packages 10:13:43 Removing intermediate container 527c1cd2aa41 10:13:43 ---> f473a92a4923 10:13:43 Step 9/13 : WORKDIR /device-onvif-camera 10:13:43 ---> Running in c0210af8173c 10:13:43 Removing intermediate container c0210af8173c 10:13:43 ---> 031b97182dd2 10:13:43 Step 10/13 : COPY go.mod vendor* ./ 10:13:44 ---> c5691b4ec4f1 10:13:44 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:13:44 ---> Running in 9212cf586d50 10:14:40 Removing intermediate container 9212cf586d50 10:14:40 ---> 5131845604bb 10:14:40 Step 12/13 : COPY . . 10:14:40 ---> 72d827680d9f 10:14:40 Step 13/13 : RUN ${MAKE} 10:14:40 ---> Running in 186dcc430907 10:14:40 noop 10:14:40 Removing intermediate container 186dcc430907 10:14:40 ---> 0104ca5d9af4 10:14:40 Successfully built 0104ca5d9af4 10:14:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:41 + docker inspect -f . ci-base-image-arm64 10:14:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:41 prd-ubuntu20.04-docker-arm64-4c-16g-23539 does not seem to be running inside a container 10:14:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 10:14:42 $ docker top 935850d28b45719004e20168bb8c76d30180887477efe0fe56f0e5b0cde2e8ed -eo pid,comm [Pipeline] { [Pipeline] sh 10:14:43 + go version 10:14:43 go version go1.18.3 linux/arm64 [Pipeline] } 10:14:43 $ docker stop --time=1 935850d28b45719004e20168bb8c76d30180887477efe0fe56f0e5b0cde2e8ed 10:14:45 $ docker rm -f 935850d28b45719004e20168bb8c76d30180887477efe0fe56f0e5b0cde2e8ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:45 + docker inspect -f . ci-base-image-arm64 10:14:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:46 prd-ubuntu20.04-docker-arm64-4c-16g-23539 does not seem to be running inside a container 10:14:46 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 10:14:47 $ docker top 9c8d763290827ae734f082a5dfde6d024160df73777ae68015f893b1e3a63767 -eo pid,comm [Pipeline] { [Pipeline] sh 10:14:48 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 10:14:49 + make test 10:14:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:14:50 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:16:27 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:16:27 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.148s coverage: 10.6% of statements 10:16:27 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:16:59 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 40.379s coverage: 13.8% of statements 10:16:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:16:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:17:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:17:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:17:26 ./bin/test-attribution-txt.sh [Pipeline] echo 10:17:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:17:26 $ docker stop --time=1 9c8d763290827ae734f082a5dfde6d024160df73777ae68015f893b1e3a63767 10:17:28 $ docker rm -f 9c8d763290827ae734f082a5dfde6d024160df73777ae68015f893b1e3a63767 [Pipeline] // withDockerContainer [Pipeline] sh 10:17:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:17:29 Warning: overwriting stash ‘coverage-report’ 10:17:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:17:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:17:30 + ls -al . 10:17:30 total 228 10:17:30 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 10:14 . 10:17:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:12 .. 10:17:30 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 10:12 .git 10:17:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:12 .github 10:17:30 -rw-rw-r-- 1 jenkins jenkins 418 Aug 25 10:12 .gitignore 10:17:30 -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 10:12 .golangci.yml 10:17:30 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 25 10:12 Attribution.txt 10:17:30 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 25 10:12 CHANGELOG.md 10:17:30 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 25 10:12 Dockerfile 10:17:30 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 10:12 GOVERNANCE.md 10:17:30 -rw-rw-r-- 1 jenkins jenkins 734 Aug 25 10:12 Jenkinsfile 10:17:30 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 10:12 LICENSE 10:17:30 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 25 10:12 Makefile 10:17:30 -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 10:12 OWNERS.md 10:17:30 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 25 10:12 README.md 10:17:30 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 10:10 VERSION 10:17:30 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 10:12 bin 10:17:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:12 cmd 10:17:30 -rw-r--r-- 1 jenkins jenkins 76854 Aug 25 10:16 coverage.out 10:17:30 drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 10:12 doc 10:17:30 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 25 10:12 go.mod 10:17:30 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 25 10:12 go.sum 10:17:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:12 internal 10:17:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:12 snap 10:17:30 -rw-rw-r-- 1 jenkins jenkins 236 Aug 25 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:31 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c0a81166a94da268c9a562b0584205eac582111d --label arch=arm64 --label version=0.0.0 . 10:17:31 Sending build context to Docker daemon 14.15MB 10:17:31 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 10:17:31 Step 2/26 : FROM ${BASE} AS builder 10:17:31 ---> 0104ca5d9af4 10:17:31 Step 3/26 : ARG MAKE="make build" 10:17:32 ---> Running in 764cc63ef3d6 10:17:32 Removing intermediate container 764cc63ef3d6 10:17:32 ---> 0570b651312f 10:17:32 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:17:32 ---> Running in 7fa0a6ce0a3b 10:17:32 Removing intermediate container 7fa0a6ce0a3b 10:17:32 ---> d8af2fdc6802 10:17:32 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:17:32 ---> Running in b00e2f7a2e47 10:17:32 Removing intermediate container b00e2f7a2e47 10:17:32 ---> 95397f9ac441 10:17:32 Step 6/26 : LABEL Name=edgex-device-onvif-camera 10:17:33 ---> Running in dbe0dbd099a2 10:17:33 Removing intermediate container dbe0dbd099a2 10:17:33 ---> 589001599f6f 10:17:33 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:17:33 ---> Running in 31b02ac4f273 10:17:35 Removing intermediate container 31b02ac4f273 10:17:35 ---> 423fb7c42e80 10:17:35 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:17:35 ---> Running in 327076ec96f9 10:17:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:17:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:17:38 OK: 221 MiB in 51 packages 10:17:39 Removing intermediate container 327076ec96f9 10:17:39 ---> 2a0a8b9da7cc 10:17:39 Step 9/26 : WORKDIR /device-onvif-camera 10:17:39 ---> Running in fa61d4344600 10:17:39 Removing intermediate container fa61d4344600 10:17:39 ---> 1ba7c1988716 10:17:39 Step 10/26 : COPY go.mod vendor* ./ 10:17:39 ---> 65791e6568c4 10:17:39 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:17:39 ---> Running in 2e74f70f99e0 10:17:41 Removing intermediate container 2e74f70f99e0 10:17:41 ---> 3765d7866ddb 10:17:41 Step 12/26 : COPY . . 10:17:43 ---> 9addfcc5fbe5 10:17:43 Step 13/26 : RUN ${MAKE} 10:17:43 ---> Running in d207b7227a76 10:17:44 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:20:06 Removing intermediate container d207b7227a76 10:20:06 ---> 63a480d447bf 10:20:06 Step 14/26 : FROM alpine:3.16 10:20:06 3.16: Pulling from library/alpine 10:20:06 9b18e9b68314: Pulling fs layer 10:20:06 9b18e9b68314: Verifying Checksum 10:20:06 9b18e9b68314: Download complete 10:20:06 9b18e9b68314: Pull complete 10:20:06 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:20:06 Status: Downloaded newer image for alpine:3.16 10:20:06 ---> a6215f271958 10:20:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:20:06 ---> Running in 74e188bfbe3f 10:20:06 Removing intermediate container 74e188bfbe3f 10:20:06 ---> d7a9cbf011ed 10:20:06 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:20:06 ---> Running in 4ee4cb727c65 10:20:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:20:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:20:08 (1/6) Installing dumb-init (1.2.5-r1) 10:20:08 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:20:08 (3/6) Installing libsodium (1.0.18-r0) 10:20:08 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:20:08 (5/6) Installing libzmq (4.3.4-r0) 10:20:08 (6/6) Installing zeromq (4.3.4-r0) 10:20:08 Executing busybox-1.35.0-r17.trigger 10:20:08 OK: 8 MiB in 20 packages 10:20:09 Removing intermediate container 4ee4cb727c65 10:20:09 ---> d93c096b5bf7 10:20:09 Step 17/26 : WORKDIR / 10:20:09 ---> Running in 6e346b326e22 10:20:09 Removing intermediate container 6e346b326e22 10:20:09 ---> 12d7e8e4603a 10:20:09 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:20:11 ---> b767119f57ad 10:20:11 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:20:12 ---> 896063fef687 10:20:12 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:20:12 ---> 223587a31405 10:20:12 Step 21/26 : EXPOSE 59984 10:20:12 ---> Running in 54b07bb4eb0a 10:20:13 Removing intermediate container 54b07bb4eb0a 10:20:13 ---> b7db757c90d3 10:20:13 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:20:13 ---> Running in 6ee324425b21 10:20:13 Removing intermediate container 6ee324425b21 10:20:13 ---> 7677f674e3cd 10:20:13 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:20:13 ---> Running in 19cf3940ca50 10:20:13 Removing intermediate container 19cf3940ca50 10:20:13 ---> 00abba56d0dd 10:20:13 Step 24/26 : LABEL arch=arm64 10:20:13 ---> Running in 5af68b6144dc 10:20:14 Removing intermediate container 5af68b6144dc 10:20:14 ---> 2415efcc7988 10:20:14 Step 25/26 : LABEL git_sha=c0a81166a94da268c9a562b0584205eac582111d 10:20:14 ---> Running in 5da1c1f76a3f 10:20:14 Removing intermediate container 5da1c1f76a3f 10:20:14 ---> f4f5b984ad81 10:20:14 Step 26/26 : LABEL version=0.0.0 10:20:14 ---> Running in 962fc9bb2a61 10:20:15 Removing intermediate container 962fc9bb2a61 10:20:15 ---> a1bf767301c2 10:20:15 [Warning] One or more build-args [ARCH] were not consumed 10:20:15 Successfully built a1bf767301c2 10:20:15 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 10:20:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:20:15 10:20:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:20:16 arm64: Pulling from edgex-lftools-log-publisher 10:20:16 8998bd30e6a1: Pulling fs layer 10:20:16 04944245beec: Pulling fs layer 10:20:16 699f458cf7ca: Pulling fs layer 10:20:16 765212b225bb: Pulling fs layer 10:20:16 f23df028b6ca: Pulling fs layer 10:20:16 d65c8cfc05b1: Pulling fs layer 10:20:16 2437ff75d9bd: Pulling fs layer 10:20:16 f23df028b6ca: Waiting 10:20:16 d65c8cfc05b1: Waiting 10:20:16 2437ff75d9bd: Waiting 10:20:16 765212b225bb: Waiting 10:20:16 04944245beec: Verifying Checksum 10:20:16 04944245beec: Download complete 10:20:16 765212b225bb: Download complete 10:20:16 f23df028b6ca: Verifying Checksum 10:20:16 f23df028b6ca: Download complete 10:20:16 d65c8cfc05b1: Verifying Checksum 10:20:16 d65c8cfc05b1: Download complete 10:20:16 699f458cf7ca: Verifying Checksum 10:20:16 699f458cf7ca: Download complete 10:20:16 8998bd30e6a1: Verifying Checksum 10:20:16 8998bd30e6a1: Download complete 10:20:19 2437ff75d9bd: Verifying Checksum 10:20:19 2437ff75d9bd: Download complete 10:20:21 8998bd30e6a1: Pull complete 10:20:21 04944245beec: Pull complete 10:20:23 699f458cf7ca: Pull complete 10:20:23 765212b225bb: Pull complete 10:20:24 f23df028b6ca: Pull complete 10:20:24 d65c8cfc05b1: Pull complete 10:20:39 2437ff75d9bd: Pull complete 10:20:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:20:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:20:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:40 prd-ubuntu20.04-docker-arm64-4c-16g-23539 does not seem to be running inside a container 10:20: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/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 10:20:43 $ docker top 6c1669a43dc706e79c006382bb2391c39d363819a0d9537b63eeb0b4c5de2a6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:44 ---> job-cost.sh 10:20:44 lf-activate-venv: SKIPPING 10:20:44 INFO: No Stack... 10:20:44 INFO: Retrieving Pricing Info for: v3-standard-4 10:20:45 INFO: Archiving Costs [Pipeline] sh 10:20:46 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 10:20:46 + cut -d, -f6 [Pipeline] lock 10:20:46 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-139-2-stack-cost] 10:20:46 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-139-2-stack-cost] did not exist. Created. 10:20:46 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-139-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:20:47 /w/workspace/device-onvif-camera/2@tmp/durable-c243c7bb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:20:47 + echo total: 0.10999999940395355 [Pipeline] stash 10:20:47 Warning: overwriting stash ‘stack-cost’ 10:20:47 Stashed 1 file(s) [Pipeline] } 10:20:47 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-139-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:20:47 $ docker stop --time=1 6c1669a43dc706e79c006382bb2391c39d363819a0d9537b63eeb0b4c5de2a6b 10:20:49 $ docker rm -f 6c1669a43dc706e79c006382bb2391c39d363819a0d9537b63eeb0b4c5de2a6b [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 10:20:49 provisioning config files... 10:20:49 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-139@tmp/config3460584135675849943tmp [Pipeline] { [Pipeline] sh 10:20:50 + set +x 10:20:50 + curl -s https://codecov.io/bash 10:20:50 + bash -s -- 10:20:50 10:20:50 _____ _ 10:20:50 / ____| | | 10:20:50 | | ___ __| | ___ ___ _____ __ 10:20:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:20:50 | |___| (_) | (_| | __/ (_| (_) \ V / 10:20:50 \_____\___/ \__,_|\___|\___\___/ \_/ 10:20:50 Bash-1.0.6 10:20:50 10:20:50 10:20:50 ==> git version 2.25.1 found 10:20:50 ==> 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 10:20:50 Release-Date: 2020-01-08 10:20:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:20:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:20:50 ==> Jenkins CI detected. 10:20:50 current dir:  /w/workspace/undry_device-onvif-camera_PR-139 10:20:50 project root: . 10:20:50 --> token set from env 10:20:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:20:50 ==> Running gcov in . (disable via -X gcov) 10:20:50 ==> Python coveragepy not found 10:20:50 ==> Searching for coverage reports in: 10:20:50 + . 10:20:50 -> Found 1 reports 10:20:50 ==> Detecting git/mercurial file structure 10:20:50 ==> Reading reports 10:20:50 + ./coverage.out bytes=76854 10:20:50 ==> Appending adjustments 10:20:50 https://docs.codecov.io/docs/fixing-reports 10:20:50 + Found adjustments 10:20:50 ==> Gzipping contents 10:20:50 12K /tmp/codecov.ffji2C.gz 10:20:50 ==> Uploading reports 10:20:50 url: https://codecov.io 10:20:50 query: branch=PR-139&commit=251291d3a3a0a415dbb64be81ac5ca476c9d0e77&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-139%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=139&job=&cmd_args= 10:20:50 -> Pinging Codecov 10:20:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-139&commit=251291d3a3a0a415dbb64be81ac5ca476c9d0e77&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-139%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=139&job=&cmd_args= 10:20:50 -> Uploading to 10:20:50 https://storage.googleapis.com/codecov/v4/raw/2022-08-25/F29A59C45E3A92E06B3E522C9905F8EF/251291d3a3a0a415dbb64be81ac5ca476c9d0e77/13e47b15-b90a-4d53-b10c-a06f1e1a946b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220825T102050Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6132f6106cb5da51bade8d4c907153970f0cd1d55ce8012f0163b6f7cf5fdf4f 10:20:50 % Total % Received % Xferd Average Speed Time Time Time Current 10:20:50 Dload Upload Total Spent Left Speed 10:20:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10376 0 0 100 10376 0 44153 --:--:-- --:--:-- --:--:-- 43966 10:20:50 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/251291d3a3a0a415dbb64be81ac5ca476c9d0e77 [Pipeline] } 10:20:50 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 10:20:51 + [ -d /w/workspace/undry_device-onvif-camera_PR-139/archives ] 10:20:51 + ls -al /w/workspace/undry_device-onvif-camera_PR-139/archives 10:20:51 total 16 10:20:51 drwxr-xr-x 3 root root 4096 Aug 25 10:12 . 10:20:51 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 10:12 .. 10:20:51 drwxr-xr-x 2 root root 4096 Aug 25 10:12 cost 10:20:51 -rw-r--r-- 1 root root 91 Aug 25 10:12 cost.csv 10:20:51 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-139/archives 10:20:51 + ls -al /w/workspace/undry_device-onvif-camera_PR-139/archives 10:20:51 total 16 10:20:51 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 10:12 . 10:20:51 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 10:12 .. 10:20:51 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 10:12 cost 10:20:51 -rw-r--r-- 1 jenkins jenkins 91 Aug 25 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:20:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:20:52 ---> package-listing.sh 10:20:52 ++ facter osfamily 10:20:52 ++ tr '[:upper:]' '[:lower:]' 10:20:53 + OS_FAMILY=debian 10:20:53 + workspace=/w/workspace/undry_device-onvif-camera_PR-139 10:20:53 + START_PACKAGES=/tmp/packages_start.txt 10:20:53 + END_PACKAGES=/tmp/packages_end.txt 10:20:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:20:53 + PACKAGES=/tmp/packages_start.txt 10:20:53 + '[' /w/workspace/undry_device-onvif-camera_PR-139 ']' 10:20:53 + PACKAGES=/tmp/packages_end.txt 10:20:53 + case "${OS_FAMILY}" in 10:20:53 + dpkg -l 10:20:53 + grep '^ii' 10:20:53 + '[' -f /tmp/packages_start.txt ']' 10:20:53 + '[' -f /tmp/packages_end.txt ']' 10:20:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:20:53 + '[' /w/workspace/undry_device-onvif-camera_PR-139 ']' 10:20:53 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-139/archives/ 10:20:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-139/archives/ [Pipeline] echo 10:20:53 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-139/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:20:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:53 prd-ubuntu20.04-docker-8c-8g-23537 does not seem to be running inside a container 10:20:53 $ 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-139/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-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@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 10:20:54 $ docker top 27d4d560b8402d386d1bac30c0fce41506cad4e4981a01fbd4a85743f8b16ceb -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:54 + touch /tmp/pre-build-complete [Pipeline] sh 10:20:54 + mkdir -p /var/log/sysstat [Pipeline] sh 10:20:55 + ls /var/log/sa-host 10:20:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:55 provisioning config files... 10:20:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-139@tmp/config8702661869983513829tmp [Pipeline] { [Pipeline] echo 10:20:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:20:55 ---> create-netrc.sh [Pipeline] } 10:20:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:20:55 ---> python-tools-install.sh [Pipeline] echo 10:20:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:20:56 ---> sudo-logs.sh 10:20:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:20:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:20:56 ---> job-cost.sh 10:20:56 lf-activate-venv: SKIPPING 10:20:56 DEBUG: total: 0.2199999988079071 10:20:56 INFO: Retrieving Stack Cost... 10:20:57 INFO: Retrieving Pricing Info for: v3-standard-8 10:20:57 INFO: Archiving Costs [Pipeline] echo 10:20:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:20:57 ---> logs-deploy.sh 10:20:57 lf-activate-venv: SKIPPING 10:20:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-139/2 10:20:57 INFO: archiving workspace using pattern(s): 10:20:58 Archives upload complete. 10:20:58 INFO: archiving logs to Nexus 10:20:59 ---> uname -a: 10:20:59 Linux prd-ubuntu20-04-docker-8c-8g-23537 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 10:20:59 10:20:59 10:20:59 ---> lscpu: 10:20:59 Architecture: x86_64 10:20:59 CPU op-mode(s): 32-bit, 64-bit 10:20:59 Byte Order: Little Endian 10:20:59 Address sizes: 40 bits physical, 48 bits virtual 10:20:59 CPU(s): 8 10:20:59 On-line CPU(s) list: 0-7 10:20:59 Thread(s) per core: 1 10:20:59 Core(s) per socket: 1 10:20:59 Socket(s): 8 10:20:59 NUMA node(s): 1 10:20:59 Vendor ID: AuthenticAMD 10:20:59 CPU family: 23 10:20:59 Model: 49 10:20:59 Model name: AMD EPYC-Rome Processor 10:20:59 Stepping: 0 10:20:59 CPU MHz: 2799.998 10:20:59 BogoMIPS: 5599.99 10:20:59 Virtualization: AMD-V 10:20:59 Hypervisor vendor: KVM 10:20:59 Virtualization type: full 10:20:59 L1d cache: 256 KiB 10:20:59 L1i cache: 256 KiB 10:20:59 L2 cache: 4 MiB 10:20:59 L3 cache: 128 MiB 10:20:59 NUMA node0 CPU(s): 0-7 10:20:59 Vulnerability Itlb multihit: Not affected 10:20:59 Vulnerability L1tf: Not affected 10:20:59 Vulnerability Mds: Not affected 10:20:59 Vulnerability Meltdown: Not affected 10:20:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:20:59 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:20:59 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:20:59 Vulnerability Srbds: Not affected 10:20:59 Vulnerability Tsx async abort: Not affected 10:20:59 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 10:20:59 10:20:59 10:20:59 ---> nproc: 10:20:59 8 10:20:59 10:20:59 10:20:59 ---> df -h: 10:20:59 Filesystem Size Used Avail Use% Mounted on 10:20:59 overlay 155G 11G 145G 8% / 10:20:59 tmpfs 64M 0 64M 0% /dev 10:20:59 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:20:59 shm 64M 0 64M 0% /dev/shm 10:20:59 /dev/vda1 155G 11G 145G 8% /facter-os 10:20:59 10:20:59 10:20:59 ---> sar -b -r -n DEV: 10:20:59 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-23537) 08/25/22 _x86_64_ (8 CPU) 10:20:59 10:20:59 10:09:41 LINUX RESTART (8 CPU) 10:20:59 10:20:59 10:10:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:20:59 10:11:01 399.07 44.94 354.13 0.00 4077.31 174047.45 0.00 10:20:59 10:12:01 129.61 0.83 128.78 0.00 13.06 44264.62 0.00 10:20:59 10:13:01 141.90 0.02 141.89 0.00 2.67 36165.41 0.00 10:20:59 10:14:01 2.45 0.00 2.45 0.00 0.00 30.28 0.00 10:20:59 10:15:01 1.35 0.02 1.33 0.00 0.13 14.93 0.00 10:20:59 10:16:01 1.48 0.00 1.48 0.00 0.00 17.86 0.00 10:20:59 10:17:01 1.05 0.02 1.03 0.00 0.13 11.06 0.00 10:20:59 10:18:01 1.23 0.00 1.23 0.00 0.00 14.53 0.00 10:20:59 10:19:01 1.13 0.00 1.13 0.00 0.00 12.80 0.00 10:20:59 10:20:01 1.88 0.00 1.88 0.00 0.00 24.93 0.00 10:20:59 Average: 68.12 4.58 63.54 0.00 409.38 25463.04 0.00 10:20:59 10:20:59 10:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:20:59 10:11:01 28824020 31764956 531140 1.62 121304 3085760 2226468 6.56 1127240 2544404 4372 10:20:59 10:12:01 28301188 31757484 536540 1.63 166076 3497684 2184680 6.44 1320068 2807256 608 10:20:59 10:13:01 27563208 31788084 502384 1.53 176904 4192756 1825972 5.38 1345912 3456568 376 10:20:59 10:14:01 27563552 31788396 502272 1.53 176940 4192764 1825972 5.38 1345480 3456568 12 10:20:59 10:15:01 27567820 31792720 497888 1.51 176980 4192764 1825972 5.38 1341064 3456584 12 10:20:59 10:16:01 27568244 31793148 497380 1.51 176996 4192776 1825972 5.38 1340524 3456588 48 10:20:59 10:17:01 27568732 31793772 496608 1.51 177016 4192772 1825972 5.38 1338836 3456588 8 10:20:59 10:18:01 27572832 31798220 491948 1.50 177036 4192780 1825972 5.38 1334852 3456884 168 10:20:59 10:19:01 27573108 31798496 491636 1.50 177060 4192780 1825972 5.38 1334836 3456884 12 10:20:59 10:20:01 27573288 31798720 491416 1.49 177112 4192752 1825972 5.38 1334896 3456868 8 10:20:59 Average: 27767599 31787400 503921 1.53 170342 4012559 1901892 5.61 1316371 3300519 562 10:20:59 10:20:59 10:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:20:59 10:11:01 lo 6.73 6.73 0.65 0.65 0.00 0.00 0.00 0.00 10:20:59 10:11:01 ens3 869.84 582.21 6610.00 153.07 0.00 0.00 0.00 0.00 10:20:59 10:11:01 veth0934784 57.91 73.06 5.48 51.70 0.00 0.00 0.00 0.00 10:20:59 10:11:01 docker0 76.22 91.74 6.06 197.72 0.00 0.00 0.00 0.00 10:20:59 10:12:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 10:20:59 10:12:01 ens3 137.79 99.12 1484.75 23.28 0.00 0.00 0.00 0.00 10:20:59 10:12:01 docker0 74.27 92.65 6.14 1442.99 0.00 0.00 0.00 0.00 10:20:59 10:12:01 veth1942615 3.37 3.58 0.24 6.26 0.00 0.00 0.00 0.00 10:20:59 10:13:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 10:20:59 10:13:01 ens3 168.64 120.59 2672.13 73.54 0.00 0.00 0.00 0.00 10:20:59 10:13:01 docker0 13.85 21.89 0.77 93.12 0.00 0.00 0.00 0.00 10:20:59 10:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:20:59 10:14:01 ens3 0.72 0.22 0.15 0.08 0.00 0.00 0.00 0.00 10:20:59 10:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:59 10:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:59 10:15:01 ens3 0.47 0.25 0.26 0.19 0.00 0.00 0.00 0.00 10:20:59 10:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:59 10:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:20:59 10:16:01 ens3 0.28 0.20 0.09 0.07 0.00 0.00 0.00 0.00 10:20:59 10:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:59 10:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:59 10:17:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:59 10:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:59 10:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:20:59 10:18:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 10:20:59 10:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:59 10:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:59 10:19:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:59 10:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:59 10:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:20:59 10:20:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 10:20:59 10:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:59 Average: lo 0.96 0.96 0.09 0.09 0.00 0.00 0.00 0.00 10:20:59 Average: ens3 117.82 80.29 1076.86 25.03 0.00 0.00 0.00 0.00 10:20:59 Average: docker0 16.44 20.63 1.30 173.38 0.00 0.00 0.00 0.00 10:20:59 10:20:59 10:20:59 ---> sar -P ALL: 10:20:59 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-23537) 08/25/22 _x86_64_ (8 CPU) 10:20:59 10:20:59 10:09:41 LINUX RESTART (8 CPU) 10:20:59 10:20:59 10:10:01 CPU %user %nice %system %iowait %steal %idle 10:20:59 10:11:01 all 10.74 0.00 4.43 2.95 0.07 81.81 10:20:59 10:11:01 0 10.27 0.00 4.33 1.81 0.07 83.52 10:20:59 10:11:01 1 11.50 0.00 5.22 3.90 0.05 79.34 10:20:59 10:11:01 2 10.25 0.00 4.32 3.83 0.07 81.54 10:20:59 10:11:01 3 10.53 0.00 4.50 1.65 0.07 83.25 10:20:59 10:11:01 4 12.95 0.00 4.57 4.43 0.07 77.98 10:20:59 10:11:01 5 10.34 0.00 4.39 4.00 0.07 81.21 10:20:59 10:11:01 6 10.93 0.00 3.55 0.45 0.07 85.00 10:20:59 10:11:01 7 9.12 0.00 4.60 3.56 0.09 82.63 10:20:59 10:12:01 all 28.63 0.00 5.22 1.17 0.07 64.90 10:20:59 10:12:01 0 29.20 0.00 4.95 0.05 0.05 65.75 10:20:59 10:12:01 1 29.65 0.00 5.79 0.59 0.08 63.89 10:20:59 10:12:01 2 30.37 0.00 6.37 1.42 0.05 61.79 10:20:59 10:12:01 3 28.54 0.00 5.23 0.34 0.07 65.82 10:20:59 10:12:01 4 28.86 0.00 4.79 0.52 0.08 65.74 10:20:59 10:12:01 5 30.30 0.00 5.32 1.51 0.07 62.80 10:20:59 10:12:01 6 24.72 0.00 4.52 0.08 0.07 70.60 10:20:59 10:12:01 7 27.40 0.00 4.83 4.91 0.07 62.80 10:20:59 10:13:01 all 20.37 0.00 4.20 0.75 0.06 74.62 10:20:59 10:13:01 0 20.79 0.00 4.10 0.22 0.05 74.84 10:20:59 10:13:01 1 21.16 0.00 4.62 0.27 0.05 73.89 10:20:59 10:13:01 2 20.37 0.00 4.35 1.55 0.07 73.66 10:20:59 10:13:01 3 22.87 0.00 5.02 3.63 0.07 68.41 10:20:59 10:13:01 4 21.24 0.00 4.03 0.07 0.05 74.61 10:20:59 10:13:01 5 21.13 0.00 4.44 0.27 0.07 74.10 10:20:59 10:13:01 6 17.70 0.00 3.61 0.00 0.05 78.64 10:20:59 10:13:01 7 17.72 0.00 3.43 0.02 0.05 78.78 10:20:59 10:14:01 all 0.01 0.00 0.01 0.01 0.00 99.97 10:20:59 10:14:01 0 0.00 0.00 0.02 0.00 0.02 99.97 10:20:59 10:14:01 1 0.00 0.00 0.00 0.00 0.00 100.00 10:20:59 10:14:01 2 0.02 0.00 0.00 0.02 0.00 99.97 10:20:59 10:14:01 3 0.00 0.00 0.02 0.02 0.00 99.97 10:20:59 10:14:01 4 0.02 0.00 0.02 0.00 0.00 99.97 10:20:59 10:14:01 5 0.02 0.00 0.05 0.02 0.02 99.90 10:20:59 10:14:01 6 0.00 0.00 0.02 0.00 0.00 99.98 10:20:59 10:14:01 7 0.00 0.00 0.00 0.00 0.00 100.00 10:20:59 10:15:01 all 0.03 0.00 0.01 0.01 0.01 99.94 10:20:59 10:15:01 0 0.05 0.00 0.02 0.00 0.02 99.92 10:20:59 10:15:01 1 0.02 0.00 0.00 0.00 0.00 99.98 10:20:59 10:15:01 2 0.03 0.00 0.02 0.03 0.02 99.90 10:20:59 10:15:01 3 0.02 0.00 0.00 0.00 0.02 99.97 10:20:59 10:15:01 4 0.05 0.00 0.00 0.00 0.02 99.93 10:20:59 10:15:01 5 0.05 0.00 0.05 0.02 0.02 99.87 10:20:59 10:15:01 6 0.00 0.00 0.02 0.00 0.00 99.98 10:20:59 10:15:01 7 0.02 0.00 0.00 0.00 0.00 99.98 10:20:59 10:16:01 all 0.01 0.00 0.01 0.00 0.00 99.97 10:20:59 10:16:01 0 0.02 0.00 0.05 0.00 0.00 99.93 10:20:59 10:16:01 1 0.02 0.00 0.00 0.00 0.02 99.97 10:20:59 10:16:01 2 0.00 0.00 0.00 0.02 0.00 99.98 10:20:59 10:16:01 3 0.00 0.00 0.00 0.00 0.00 100.00 10:20:59 10:16:01 4 0.00 0.00 0.00 0.00 0.00 100.00 10:20:59 10:16:01 5 0.03 0.00 0.02 0.02 0.02 99.92 10:20:59 10:16:01 6 0.02 0.00 0.00 0.00 0.00 99.98 10:20:59 10:16:01 7 0.00 0.00 0.00 0.00 0.00 100.00 10:20:59 10:17:01 all 0.01 0.00 0.01 0.00 0.00 99.97 10:20:59 10:17:01 0 0.05 0.00 0.00 0.00 0.02 99.93 10:20:59 10:17:01 1 0.00 0.00 0.03 0.00 0.00 99.97 10:20:59 10:17:01 2 0.02 0.00 0.02 0.02 0.00 99.95 10:20:59 10:17:01 3 0.02 0.00 0.00 0.00 0.00 99.98 10:20:59 10:17:01 4 0.00 0.00 0.00 0.00 0.00 100.00 10:20:59 10:17:01 5 0.02 0.00 0.02 0.00 0.02 99.95 10:20:59 10:17:01 6 0.00 0.00 0.02 0.00 0.00 99.98 10:20:59 10:17:01 7 0.00 0.00 0.00 0.00 0.00 100.00 10:20:59 10:18:01 all 0.02 0.00 0.04 0.00 0.01 99.93 10:20:59 10:18:01 0 0.03 0.00 0.12 0.00 0.02 99.83 10:20:59 10:18:01 1 0.02 0.00 0.02 0.00 0.00 99.97 10:20:59 10:18:01 2 0.02 0.00 0.03 0.02 0.00 99.93 10:20:59 10:18:01 3 0.00 0.00 0.00 0.00 0.00 100.00 10:20:59 10:18:01 4 0.02 0.00 0.00 0.00 0.00 99.98 10:20:59 10:18:01 5 0.05 0.00 0.08 0.02 0.02 99.83 10:20:59 10:18:01 6 0.03 0.00 0.02 0.00 0.02 99.93 10:20:59 10:18:01 7 0.02 0.00 0.02 0.00 0.02 99.95 10:20:59 10:19:01 all 0.01 0.00 0.00 0.00 0.01 99.97 10:20:59 10:19:01 0 0.05 0.00 0.02 0.00 0.03 99.90 10:20:59 10:19:01 1 0.00 0.00 0.00 0.00 0.00 100.00 10:20:59 10:19:01 2 0.00 0.00 0.00 0.02 0.00 99.98 10:20:59 10:19:01 3 0.00 0.00 0.00 0.00 0.00 100.00 10:20:59 10:19:01 4 0.00 0.00 0.00 0.00 0.02 99.98 10:20:59 10:19:01 5 0.02 0.00 0.00 0.02 0.00 99.97 10:20:59 10:19:01 6 0.02 0.00 0.02 0.00 0.00 99.97 10:20:59 10:19:01 7 0.00 0.00 0.00 0.00 0.00 100.00 10:20:59 10:20:01 all 0.01 0.00 0.01 0.01 0.00 99.97 10:20:59 10:20:01 0 0.02 0.00 0.03 0.00 0.02 99.93 10:20:59 10:20:01 1 0.02 0.00 0.00 0.00 0.00 99.98 10:20:59 10:20:01 2 0.00 0.00 0.02 0.05 0.02 99.92 10:20:59 10:20:01 3 0.02 0.00 0.02 0.00 0.00 99.97 10:20:59 10:20:01 4 0.00 0.00 0.00 0.00 0.00 100.00 10:20:59 10:20:01 5 0.00 0.00 0.02 0.02 0.00 99.97 10:20:59 10:20:01 6 0.02 0.00 0.00 0.00 0.00 99.98 10:20:59 10:20:01 7 0.00 0.00 0.02 0.00 0.00 99.98 10:20:59 Average: all 5.95 0.00 1.39 0.49 0.02 92.16 10:20:59 Average: 0 6.05 0.00 1.36 0.21 0.03 92.36 10:20:59 Average: 1 6.20 0.00 1.56 0.47 0.02 91.76 10:20:59 Average: 2 6.06 0.00 1.50 0.69 0.02 91.73 10:20:59 Average: 3 6.14 0.00 1.47 0.56 0.02 91.81 10:20:59 Average: 4 6.29 0.00 1.34 0.50 0.02 91.85 10:20:59 Average: 5 6.16 0.00 1.43 0.58 0.03 91.80 10:20:59 Average: 6 5.31 0.00 1.17 0.05 0.02 93.45 10:20:59 Average: 7 5.37 0.00 1.27 0.84 0.02 92.49 10:20:59 10:20:59 10:20:59