Pull request #172 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than face5d6007145a468790ace10b56d6957ea9f84d Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh5882813216770682480.key Verifying host key using known hosts file > 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-ssh9537941316272033407.key Verifying host key using known hosts file > 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-172/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-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12568156770638048344.key Verifying host key using known hosts file > 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-ssh13485446992449182312.key Verifying host key using known hosts file > 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-172/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-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2313441466947350411.key Verifying host key using known hosts file > 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-7314 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-172 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit face5d6007145a468790ace10b56d6957ea9f84d Merge succeeded, producing face5d6007145a468790ace10b56d6957ea9f84d Checking out Revision face5d6007145a468790ace10b56d6957ea9f84d (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f face5d6007145a468790ace10b56d6957ea9f84d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f face5d6007145a468790ace10b56d6957ea9f84d # timeout=10 Commit message: "fix: discovery mode netscan when using docker-compose" > git rev-list --no-walk 113fc3ce294a7190ec15fa491cc1d8d39721b235 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:05:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:05:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:05:15 ========================================================= 10:05:15 EdgeX Global Pipelines Version Info 10:05:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:05:15 ------------------- 10:05:15 stable info: 10:05:15 ------------------- 10:05:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:05:15 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:05:15 Message: update stable to v1.0.239 10:05:16 ------------------- 10:05:16 experimental info: 10:05:16 ------------------- 10:05:16 Commited By: **** collab-it+edgex@linuxfoundation.org 10:05:16 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:05:16 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = face5d6 [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:05:17 provisioning config files... 10:05:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config6284004133619427899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:17 ---> docker-login.sh 10:05:17 nexus3.edgexfoundry.org:10001 10:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:17 Configure a credential helper to remove this warning. See 10:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:17 10:05:17 Login Succeeded 10:05:17 nexus3.edgexfoundry.org:10002 10:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:17 Configure a credential helper to remove this warning. See 10:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:17 10:05:17 Login Succeeded 10:05:17 nexus3.edgexfoundry.org:10003 10:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:17 Configure a credential helper to remove this warning. See 10:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:17 10:05:17 Login Succeeded 10:05:17 nexus3.edgexfoundry.org:10004 10:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:18 Configure a credential helper to remove this warning. See 10:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:18 10:05:18 Login Succeeded 10:05:18 docker.io 10:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:18 Configure a credential helper to remove this warning. See 10:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:18 10:05:18 Login Succeeded 10:05:18 ---> docker-login.sh ends [Pipeline] } 10:05:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:05:18 + git rev-list -1 --merges face5d6007145a468790ace10b56d6957ea9f84d~1..face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] echo 10:05:18 -----------> git rev-list -1 --merges face5d6007145a468790ace10b56d6957ea9f84d~1..face5d6007145a468790ace10b56d6957ea9f84d face5d6007145a468790ace10b56d6957ea9f84d [false] [Pipeline] sh 10:05:19 + git log --format=format:%s -1 face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] echo 10:05:19 ========================================================= 10:05:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:05:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:05:19 + git log --format=format:%s -1 face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] echo 10:05:19 [semverPrep] GIT_COMMIT: face5d6007145a468790ace10b56d6957ea9f84d, Commit Message: fix: discovery mode netscan when using docker-compose [Pipeline] echo 10:05:19 [semverPrep] This is not a build commit. [Pipeline] sh 10:05:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:05:19 + grep -v github /etc/ssh/ssh_known_hosts 10:05:19 + [ -e /tmp/ssh_known_hosts ] 10:05:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:05:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:05:19 + sudo tee -a /etc/ssh/ssh_known_hosts 10:05:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:05:20 10:05:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:05:20 0.1.4: Pulling from edgex-devops/py-git-semver 10:05:20 b85a868b505f: Pulling fs layer 10:05:20 e2be974225ed: Pulling fs layer 10:05:20 339a4e72a1f5: Pulling fs layer 10:05:20 988bab9f4d93: Pulling fs layer 10:05:20 1469e6f7b9e6: Pulling fs layer 10:05:20 eaf3925da568: Pulling fs layer 10:05:20 bab4dde63d76: Pulling fs layer 10:05:20 bde34c3a00c8: Pulling fs layer 10:05:20 b352a97aabf1: Pulling fs layer 10:05:20 4872d77fe225: Pulling fs layer 10:05:20 5851b861e8e6: Pulling fs layer 10:05:20 bab4dde63d76: Waiting 10:05:20 bde34c3a00c8: Waiting 10:05:20 1469e6f7b9e6: Waiting 10:05:20 b352a97aabf1: Waiting 10:05:20 eaf3925da568: Waiting 10:05:20 5851b861e8e6: Waiting 10:05:20 4872d77fe225: Waiting 10:05:20 e2be974225ed: Verifying Checksum 10:05:20 e2be974225ed: Download complete 10:05:20 988bab9f4d93: Download complete 10:05:20 1469e6f7b9e6: Verifying Checksum 10:05:20 1469e6f7b9e6: Download complete 10:05:20 eaf3925da568: Verifying Checksum 10:05:20 eaf3925da568: Download complete 10:05:20 339a4e72a1f5: Verifying Checksum 10:05:20 339a4e72a1f5: Download complete 10:05:20 bde34c3a00c8: Verifying Checksum 10:05:20 bde34c3a00c8: Download complete 10:05:20 b352a97aabf1: Download complete 10:05:20 4872d77fe225: Verifying Checksum 10:05:20 4872d77fe225: Download complete 10:05:20 5851b861e8e6: Verifying Checksum 10:05:20 5851b861e8e6: Download complete 10:05:20 b85a868b505f: Verifying Checksum 10:05:20 b85a868b505f: Download complete 10:05:21 bab4dde63d76: Download complete 10:05:22 b85a868b505f: Pull complete 10:05:22 e2be974225ed: Pull complete 10:05:22 339a4e72a1f5: Pull complete 10:05:22 988bab9f4d93: Pull complete 10:05:22 1469e6f7b9e6: Pull complete 10:05:22 eaf3925da568: Pull complete 10:05:24 bab4dde63d76: Pull complete 10:05:24 bde34c3a00c8: Pull complete 10:05:24 b352a97aabf1: Pull complete 10:05:24 4872d77fe225: Pull complete 10:05:24 5851b861e8e6: Pull complete 10:05:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:05:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:05:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:24 prd-ubuntu20.04-docker-8c-8g-7314 does not seem to be running inside a container 10:05:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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:05:26 $ docker top bbca0a504bfab1fd3710a629722ae0183c32bbf02bbf13e7799d736e566a7861 -eo pid,comm 10:05:26 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:05:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:05:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:05:26 [ssh-agent] Looking for ssh-agent implementation... 10:05:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:05:26 $ docker exec bbca0a504bfab1fd3710a629722ae0183c32bbf02bbf13e7799d736e566a7861 ssh-agent 10:05:26 SSH_AUTH_SOCK=/tmp/ssh-sTg1D1gvXbg1/agent.33 10:05:26 SSH_AGENT_PID=39 10:05:26 Running ssh-add (command line suppressed) 10:05:26 Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_9536583425365298860.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_9536583425365298860.key) 10:05:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:05:26 + git tag --points-at HEAD [Pipeline] } 10:05:26 $ docker exec --env ******** --env ******** bbca0a504bfab1fd3710a629722ae0183c32bbf02bbf13e7799d736e566a7861 ssh-agent -k 10:05:26 unset SSH_AUTH_SOCK; 10:05:26 unset SSH_AGENT_PID; 10:05:26 echo Agent pid 39 killed; 10:05:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:05:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:05:26 [ssh-agent] Looking for ssh-agent implementation... 10:05:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:05:27 $ docker exec bbca0a504bfab1fd3710a629722ae0183c32bbf02bbf13e7799d736e566a7861 ssh-agent 10:05:27 SSH_AUTH_SOCK=/tmp/ssh-qI2Zobehw47d/agent.71 10:05:27 SSH_AGENT_PID=77 10:05:27 Running ssh-add (command line suppressed) 10:05:27 Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_17378086479567321256.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_17378086479567321256.key) 10:05:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:05:27 + git semver init 10:05:27 2022-10-07 10:05:27,650 [run_init] DEBUG init version:0.0.0 force:False 10:05:27 2022-10-07 10:05:27,651 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver 10:05:27 2022-10-07 10:05:27,651 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver 10:05:27 2022-10-07 10:05:27,652 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) 10:05:28 2022-10-07 10:05:28,614 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude 10:05:28 2022-10-07 10:05:28,615 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False 10:05:28 2022-10-07 10:05:28,615 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 10:05:28 2022-10-07 10:05:28,618 [execute] INFO git cat-file --batch-check 10:05:28 2022-10-07 10:05:28,618 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) 10:05:28 2022-10-07 10:05:28,624 [execute] INFO git cat-file --batch 10:05:28 2022-10-07 10:05:28,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) 10:05:28 2022-10-07 10:05:28,629 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 10:05:28 0.0.0 [Pipeline] } 10:05:28 $ docker exec --env ******** --env ******** bbca0a504bfab1fd3710a629722ae0183c32bbf02bbf13e7799d736e566a7861 ssh-agent -k 10:05:28 unset SSH_AUTH_SOCK; 10:05:28 unset SSH_AGENT_PID; 10:05:28 echo Agent pid 77 killed; 10:05:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:05:29 + git semver [Pipeline] } 10:05:29 $ docker stop --time=1 bbca0a504bfab1fd3710a629722ae0183c32bbf02bbf13e7799d736e566a7861 10:05:30 $ docker rm -f bbca0a504bfab1fd3710a629722ae0183c32bbf02bbf13e7799d736e566a7861 [Pipeline] // withDockerContainer [Pipeline] sh 10:05:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:05:31 Stashed 1 file(s) [Pipeline] echo 10:05:31 [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:05:31 provisioning config files... 10:05:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config17381345870280011983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:31 ---> docker-login.sh 10:05:31 nexus3.edgexfoundry.org:10001 10:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:31 Configure a credential helper to remove this warning. See 10:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:31 10:05:31 Login Succeeded 10:05:31 nexus3.edgexfoundry.org:10002 10:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:31 Configure a credential helper to remove this warning. See 10:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:31 10:05:31 Login Succeeded 10:05:31 nexus3.edgexfoundry.org:10003 10:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:31 Configure a credential helper to remove this warning. See 10:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:31 10:05:31 Login Succeeded 10:05:31 nexus3.edgexfoundry.org:10004 10:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:31 Configure a credential helper to remove this warning. See 10:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:31 10:05:31 Login Succeeded 10:05:31 docker.io 10:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:32 Configure a credential helper to remove this warning. See 10:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:32 10:05:32 Login Succeeded 10:05:32 ---> docker-login.sh ends [Pipeline] } 10:05:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:05:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:05:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:05:32 ========================================================= 10:05:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:05:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:32 + 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:05:32 Sending build context to Docker daemon 21.01MB 10:05:32 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 10:05:32 Step 2/14 : FROM ${BASE} AS builder 10:05:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:05:32 2408cc74d12b: Pulling fs layer 10:05:32 ea60b727a1ce: Pulling fs layer 10:05:32 30c4a7721957: Pulling fs layer 10:05:32 370296b7ddb6: Pulling fs layer 10:05:32 7c6cee850709: Pulling fs layer 10:05:32 aa9baa53a306: Pulling fs layer 10:05:32 8b309c321861: Pulling fs layer 10:05:32 d8d76fd02f46: Pulling fs layer 10:05:32 fa31f396de31: Pulling fs layer 10:05:32 7c6cee850709: Waiting 10:05:32 aa9baa53a306: Waiting 10:05:32 8b309c321861: Waiting 10:05:32 d8d76fd02f46: Waiting 10:05:32 fa31f396de31: Waiting 10:05:32 370296b7ddb6: Waiting 10:05:33 30c4a7721957: Verifying Checksum 10:05:33 30c4a7721957: Download complete 10:05:33 ea60b727a1ce: Download complete 10:05:33 7c6cee850709: Verifying Checksum 10:05:33 7c6cee850709: Download complete 10:05:33 aa9baa53a306: Download complete 10:05:33 2408cc74d12b: Verifying Checksum 10:05:33 2408cc74d12b: Download complete 10:05:33 8b309c321861: Download complete 10:05:33 2408cc74d12b: Pull complete 10:05:33 ea60b727a1ce: Pull complete 10:05:33 30c4a7721957: Pull complete 10:05:33 fa31f396de31: Verifying Checksum 10:05:33 fa31f396de31: Download complete 10:05:33 d8d76fd02f46: Verifying Checksum 10:05:33 d8d76fd02f46: Download complete 10:05:33 370296b7ddb6: Verifying Checksum 10:05:33 370296b7ddb6: Download complete 10:05:37 370296b7ddb6: Pull complete 10:05:37 7c6cee850709: Pull complete 10:05:37 aa9baa53a306: Pull complete 10:05:37 8b309c321861: Pull complete 10:05:39 d8d76fd02f46: Pull complete 10:05:40 fa31f396de31: Pull complete 10:05:40 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 10:05:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:05:40 ---> cef68f9685f8 10:05:40 Step 3/14 : ARG ADD_BUILD_TAGS="" 10:05:41 ---> Running in e06ad9e06745 10:05:41 Removing intermediate container e06ad9e06745 10:05:41 ---> 6dcbd1281ac3 10:05:41 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:05:41 ---> Running in 1b806b386687 10:05:41 Removing intermediate container 1b806b386687 10:05:41 ---> 16fae9bbe278 10:05:41 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:05:41 ---> Running in 24596a147057 10:05:41 Removing intermediate container 24596a147057 10:05:41 ---> 8bcbe10100f7 10:05:41 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 10:05:41 ---> Running in 4d1ae3011134 10:05:41 Removing intermediate container 4d1ae3011134 10:05:41 ---> 6277335826d5 10:05:41 Step 7/14 : LABEL Name=edgex-device-onvif-camera 10:05:41 ---> Running in ed435d1fe5af 10:05:42 Removing intermediate container ed435d1fe5af 10:05:42 ---> 9b4f3e5888f9 10:05:42 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:05:42 ---> Running in 41da6d9969ef 10:05:42 Removing intermediate container 41da6d9969ef 10:05:42 ---> 9996c82990ab 10:05:42 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:05:42 ---> Running in ee746bb512bf 10:05:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:05:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:05:43 OK: 211 MiB in 51 packages 10:05:44 Removing intermediate container ee746bb512bf 10:05:44 ---> e1b7672577a2 10:05:44 Step 10/14 : WORKDIR /device-onvif-camera 10:05:44 ---> Running in 5d78becc5a40 10:05:44 Removing intermediate container 5d78becc5a40 10:05:44 ---> f387fdffd525 10:05:44 Step 11/14 : COPY go.mod vendor* ./ 10:05:44 ---> a03d56e2354c 10:05:44 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:44 ---> Running in 9a51c82dd772 10:05:46 Still waiting to schedule task 10:05:46 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:06:02 Removing intermediate container 9a51c82dd772 10:06:02 ---> 87a5926f1bf4 10:06:02 Step 13/14 : COPY . . 10:06:03 ---> ee2053e33a63 10:06:03 Step 14/14 : RUN ${MAKE} 10:06:03 ---> Running in 80e3e10a29ba 10:06:03 noop 10:06:03 Removing intermediate container 80e3e10a29ba 10:06:03 ---> a5a6cb9b52c7 10:06:03 Successfully built a5a6cb9b52c7 10:06:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:03 + docker inspect -f . ci-base-image-x86_64 10:06:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:04 prd-ubuntu20.04-docker-8c-8g-7314 does not seem to be running inside a container 10:06:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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:06:04 $ docker top 854d01d1af8887e650f715453ba5ef5c183adc6683455a32613147ebaf4906ec -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:04 + go version 10:06:04 go version go1.18.3 linux/amd64 [Pipeline] } 10:06:04 $ docker stop --time=1 854d01d1af8887e650f715453ba5ef5c183adc6683455a32613147ebaf4906ec 10:06:05 $ docker rm -f 854d01d1af8887e650f715453ba5ef5c183adc6683455a32613147ebaf4906ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:06 + docker inspect -f . ci-base-image-x86_64 10:06:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:06 prd-ubuntu20.04-docker-8c-8g-7314 does not seem to be running inside a container 10:06:06 $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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:06:06 $ docker top bf7e42823e27e664f475a84613b740095884dcfc6f5365cd59fcdf0b98094fb1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:07 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh 10:06:07 + make test 10:06:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:06:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:06:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:06:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.039s coverage: 28.2% of statements 10:06:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:06:18 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.250s coverage: 86.5% of statements 10:06:25 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:06:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:06:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:06:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:06:28 ./bin/test-attribution-txt.sh [Pipeline] echo 10:06:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:06:28 $ docker stop --time=1 bf7e42823e27e664f475a84613b740095884dcfc6f5365cd59fcdf0b98094fb1 10:06:30 $ docker rm -f bf7e42823e27e664f475a84613b740095884dcfc6f5365cd59fcdf0b98094fb1 [Pipeline] // withDockerContainer [Pipeline] sh 10:06:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:06:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:06:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:06:31 + ls -al . 10:06:31 total 236 10:06:31 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 10:06 . 10:06:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:05 .. 10:06:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 10:06 .git 10:06:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:05 .github 10:06:31 -rw-rw-r-- 1 jenkins jenkins 418 Oct 7 10:05 .gitignore 10:06:31 -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 10:05 .golangci.yml 10:06:31 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 10:05 .semver 10:06:31 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 10:05 Attribution.txt 10:06:31 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 10:05 CHANGELOG.md 10:06:31 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 10:05 Dockerfile 10:06:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 10:05 GOVERNANCE.md 10:06:31 -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 10:05 Jenkinsfile 10:06:31 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 10:05 LICENSE 10:06:31 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 10:05 Makefile 10:06:31 -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 10:05 OWNERS.md 10:06:31 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 10:05 README.md 10:06:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 10:05 VERSION 10:06:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:05 bin 10:06:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:05 cmd 10:06:31 -rw-r--r-- 1 jenkins jenkins 78636 Oct 7 10:06 coverage.out 10:06:31 drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 10:05 doc 10:06:31 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 10:05 go.mod 10:06:31 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 10:05 go.sum 10:06:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:05 internal 10:06:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:05 snap 10:06:31 -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 10:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:32 + 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=face5d6007145a468790ace10b56d6957ea9f84d --label arch=amd64 --label version=0.0.0 . 10:06:32 Sending build context to Docker daemon 21.09MB 10:06:32 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 10:06:32 Step 2/27 : FROM ${BASE} AS builder 10:06:32 ---> a5a6cb9b52c7 10:06:32 Step 3/27 : ARG ADD_BUILD_TAGS="" 10:06:32 ---> Running in f2da991cbca7 10:06:32 Removing intermediate container f2da991cbca7 10:06:32 ---> 79ab4f6773e1 10:06:32 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:06:32 ---> Running in eb88686803a5 10:06:32 Removing intermediate container eb88686803a5 10:06:32 ---> dbe7f9c96d74 10:06:32 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:06:32 ---> Running in 02b001d26f61 10:06:32 Removing intermediate container 02b001d26f61 10:06:32 ---> e13737cf7094 10:06:32 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 10:06:32 ---> Running in 8d375a430cbc 10:06:32 Removing intermediate container 8d375a430cbc 10:06:32 ---> eb6c1df25348 10:06:32 Step 7/27 : LABEL Name=edgex-device-onvif-camera 10:06:32 ---> Running in 90af31bb7bde 10:06:32 Removing intermediate container 90af31bb7bde 10:06:32 ---> 255ce925523b 10:06:32 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:06:32 ---> Running in b82755f01b5a 10:06:33 Removing intermediate container b82755f01b5a 10:06:33 ---> 5927463463b5 10:06:33 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:06:33 ---> Running in 1fb1018f636d 10:06:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:06:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:06:34 OK: 211 MiB in 51 packages 10:06:35 Removing intermediate container 1fb1018f636d 10:06:35 ---> 815c27722bd7 10:06:35 Step 10/27 : WORKDIR /device-onvif-camera 10:06:35 ---> Running in d262b5a8ce75 10:06:35 Removing intermediate container d262b5a8ce75 10:06:35 ---> 50e90cab05cf 10:06:35 Step 11/27 : COPY go.mod vendor* ./ 10:06:35 ---> fcda3b29ec0b 10:06:35 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:06:35 ---> Running in d424f57f39f4 10:06:36 Removing intermediate container d424f57f39f4 10:06:36 ---> 3b3fa40b2557 10:06:36 Step 13/27 : COPY . . 10:06:36 ---> f222b17621fa 10:06:36 Step 14/27 : RUN ${MAKE} 10:06:36 ---> Running in 21abf3582c59 10:06:36 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:06:58 Removing intermediate container 21abf3582c59 10:06:58 ---> db4f7b062ac7 10:06:58 Step 15/27 : FROM alpine:3.16 10:06:58 3.16: Pulling from library/alpine 10:06:58 213ec9aee27d: Pulling fs layer 10:06:58 213ec9aee27d: Verifying Checksum 10:06:58 213ec9aee27d: Download complete 10:06:58 213ec9aee27d: Pull complete 10:06:58 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:06:58 Status: Downloaded newer image for alpine:3.16 10:06:58 ---> 9c6f07244728 10:06:58 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:06:58 ---> Running in a2a5590acad4 10:06:58 Removing intermediate container a2a5590acad4 10:06:58 ---> 5991631b8d9b 10:06:58 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 10:06:58 ---> Running in 6014b8eb082d 10:06:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:06:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:06:58 (1/6) Installing dumb-init (1.2.5-r1) 10:06:58 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:06:58 (3/6) Installing libsodium (1.0.18-r0) 10:06:58 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:06:58 (5/6) Installing libzmq (4.3.4-r0) 10:06:58 (6/6) Installing zeromq (4.3.4-r0) 10:06:58 Executing busybox-1.35.0-r17.trigger 10:06:58 OK: 8 MiB in 20 packages 10:06:59 Removing intermediate container 6014b8eb082d 10:06:59 ---> e4d6f67e5ce2 10:06:59 Step 18/27 : WORKDIR / 10:06:59 ---> Running in 58b6e3a5ccce 10:06:59 Removing intermediate container 58b6e3a5ccce 10:06:59 ---> 7716626c43b6 10:06:59 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 10:06:59 ---> c72945a365d7 10:06:59 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 10:06:59 ---> c8b9bc358c95 10:06:59 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:07:00 ---> ec8e8e552961 10:07:00 Step 22/27 : EXPOSE 59984 10:07:00 ---> Running in 4cb6bbafc0a6 10:07:00 Removing intermediate container 4cb6bbafc0a6 10:07:00 ---> dc5236c10aa3 10:07:00 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 10:07:00 ---> Running in c1a8db9ac774 10:07:00 Removing intermediate container c1a8db9ac774 10:07:00 ---> 7ca4af890712 10:07:00 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:07:00 ---> Running in bbae97a54659 10:07:00 Removing intermediate container bbae97a54659 10:07:00 ---> 8e16d122b3be 10:07:00 Step 25/27 : LABEL arch=amd64 10:07:00 ---> Running in ea5e80e3d0da 10:07:00 Removing intermediate container ea5e80e3d0da 10:07:00 ---> c49de17549f8 10:07:00 Step 26/27 : LABEL git_sha=face5d6007145a468790ace10b56d6957ea9f84d 10:07:00 ---> Running in 50d6c14ec106 10:07:00 Removing intermediate container 50d6c14ec106 10:07:00 ---> 01580c7061f0 10:07:00 Step 27/27 : LABEL version=0.0.0 10:07:00 ---> Running in bd02ce064a13 10:07:00 Removing intermediate container bd02ce064a13 10:07:00 ---> 71e76c07f65a 10:07:00 [Warning] One or more build-args [ARCH] were not consumed 10:07:00 Successfully built 71e76c07f65a 10:07:00 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:07:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:07:01 10:07:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:07:01 latest: Pulling from edgex-lftools-log-publisher 10:07:01 5eb5b503b376: Pulling fs layer 10:07:01 5c69ac0246d0: Pulling fs layer 10:07:01 ec43610c2a17: Pulling fs layer 10:07:01 3a2ae6a8a46f: Pulling fs layer 10:07:01 33b1e0a273af: Pulling fs layer 10:07:01 5d3b04190fa2: Pulling fs layer 10:07:01 2f39f015ded8: Pulling fs layer 10:07:01 3a2ae6a8a46f: Waiting 10:07:01 33b1e0a273af: Waiting 10:07:01 5d3b04190fa2: Waiting 10:07:01 2f39f015ded8: Waiting 10:07:01 5c69ac0246d0: Download complete 10:07:01 3a2ae6a8a46f: Verifying Checksum 10:07:01 3a2ae6a8a46f: Download complete 10:07:01 33b1e0a273af: Verifying Checksum 10:07:01 33b1e0a273af: Download complete 10:07:01 5d3b04190fa2: Verifying Checksum 10:07:01 5d3b04190fa2: Download complete 10:07:01 ec43610c2a17: Verifying Checksum 10:07:01 ec43610c2a17: Download complete 10:07:01 5eb5b503b376: Verifying Checksum 10:07:01 5eb5b503b376: Download complete 10:07:02 2f39f015ded8: Download complete 10:07:02 5eb5b503b376: Pull complete 10:07:03 5c69ac0246d0: Pull complete 10:07:03 ec43610c2a17: Pull complete 10:07:03 3a2ae6a8a46f: Pull complete 10:07:03 33b1e0a273af: Pull complete 10:07:04 5d3b04190fa2: Pull complete 10:07:08 2f39f015ded8: Pull complete 10:07:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:07:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:07:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:08 prd-ubuntu20.04-docker-8c-8g-7314 does not seem to be running inside a container 10:07:08 $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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:07:10 $ docker top 9e287a98f1323a01f7f0082280f580382f09d7ba5d8818460f18913815e162bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:10 ---> job-cost.sh 10:07:10 lf-activate-venv: SKIPPING 10:07:10 INFO: No Stack... 10:07:10 INFO: Retrieving Pricing Info for: v3-standard-8 10:07:11 INFO: Archiving Costs [Pipeline] sh 10:07:11 + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv 10:07:11 + cut -d, -f6 [Pipeline] lock 10:07:11 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-9-stack-cost] 10:07:11 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-9-stack-cost] did not exist. Created. 10:07:11 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:07:11 + echo total: 0.2199999988079071 [Pipeline] stash 10:07:11 Stashed 1 file(s) [Pipeline] } 10:07:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-9-stack-cost] [Pipeline] // lock [Pipeline] } 10:07:11 $ docker stop --time=1 9e287a98f1323a01f7f0082280f580382f09d7ba5d8818460f18913815e162bf 10:07:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7315 in /w/workspace/undry_device-onvif-camera_PR-172 10:07:12 $ docker rm -f 9e287a98f1323a01f7f0082280f580382f09d7ba5d8818460f18913815e162bf [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws 10:07:13 Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } 10:07:13 The recommended git tool is: git [Pipeline] // stage [Pipeline] } 10:07:17 using credential edgex-jenkins-ssh 10:07:17 Cloning the remote Git repository 10:07:17 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:07:18 > git init /w/workspace/device-onvif-camera/9 # timeout=10 10:07:18 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:07:18 > git --version # timeout=10 10:07:18 > git --version # 'git version 2.25.1' 10:07:18 using GIT_SSH to set credentials SSH Credentials for GitHub 10:07:18 Verifying host key using known hosts file 10:07:18 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 10:07:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:07:19 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:07:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:07:20 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:07:20 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:07:20 using GIT_SSH to set credentials SSH Credentials for GitHub 10:07:20 Verifying host key using known hosts file 10:07:20 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 10:07:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:07:21 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit face5d6007145a468790ace10b56d6957ea9f84d 10:07:21 Merge succeeded, producing face5d6007145a468790ace10b56d6957ea9f84d 10:07:21 Checking out Revision face5d6007145a468790ace10b56d6957ea9f84d (PR-172) 10:07:21 > git config core.sparsecheckout # timeout=10 10:07:21 > git checkout -f face5d6007145a468790ace10b56d6957ea9f84d # timeout=10 10:07:21 > git remote # timeout=10 10:07:21 > git config --get remote.origin.url # timeout=10 10:07:21 using GIT_SSH to set credentials SSH Credentials for GitHub 10:07:21 Verifying host key using known hosts file 10:07:21 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 10:07:21 > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 10:07:21 > git rev-parse HEAD^{commit} # timeout=10 10:07:21 > git config core.sparsecheckout # timeout=10 10:07:21 > git checkout -f face5d6007145a468790ace10b56d6957ea9f84d # timeout=10 10:07:25 Commit message: "fix: discovery mode netscan when using docker-compose" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:07:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:07:26 % Total % Received % Xferd Average Speed Time Time Time Current 10:07:26 Dload Upload Total Spent Left Speed 10:07:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 95469 0 --:--:-- --:--:-- --:--:-- 96198 [Pipeline] sh 10:07:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:07:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:07:27 + sudo tee /etc/docker/daemon.new 10:07:27 { 10:07:27 "registry-mirrors": [ 10:07:27 "https://nexus3.edgexfoundry.org:10001" 10:07:27 ], 10:07:27 "bip": "10.250.0.254/24", 10:07:27 "hosts": [ 10:07:27 "tcp://0.0.0.0:5555", 10:07:27 "unix:///var/run/docker.sock" 10:07:27 ], 10:07:27 "mtu": 1458, 10:07:27 "selinux-enabled": true, 10:07:27 "seccomp-profile": "/etc/docker/seccomp.json" 10:07:27 } [Pipeline] sh 10:07:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:07:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:07:46 provisioning config files... 10:07:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config10100032257147479013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:46 ---> docker-login.sh 10:07:46 nexus3.edgexfoundry.org:10001 10:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:47 Configure a credential helper to remove this warning. See 10:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:47 10:07:47 Login Succeeded 10:07:47 nexus3.edgexfoundry.org:10002 10:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:47 Configure a credential helper to remove this warning. See 10:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:47 10:07:47 Login Succeeded 10:07:47 nexus3.edgexfoundry.org:10003 10:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:47 Configure a credential helper to remove this warning. See 10:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:47 10:07:47 Login Succeeded 10:07:47 nexus3.edgexfoundry.org:10004 10:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:48 Configure a credential helper to remove this warning. See 10:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:48 10:07:48 Login Succeeded 10:07:48 docker.io 10:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:48 Configure a credential helper to remove this warning. See 10:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:48 10:07:48 Login Succeeded 10:07:48 ---> docker-login.sh ends [Pipeline] } 10:07:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:07:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:07:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:07:48 ========================================================= 10:07:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:07:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:49 + 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:07:49 Sending build context to Docker daemon 14.43MB 10:07:49 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 10:07:49 Step 2/14 : FROM ${BASE} AS builder 10:07:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:07:49 b3c136eddcbf: Pulling fs layer 10:07:49 c0a3192eca97: Pulling fs layer 10:07:49 a050256f5b6f: Pulling fs layer 10:07:49 656be50a0ddc: Pulling fs layer 10:07:49 2bbca73fdf42: Pulling fs layer 10:07:49 f607e4fc86c3: Pulling fs layer 10:07:49 4d572c569a2c: Pulling fs layer 10:07:49 fcf976331f73: Pulling fs layer 10:07:49 656be50a0ddc: Waiting 10:07:49 2bbca73fdf42: Waiting 10:07:49 f607e4fc86c3: Waiting 10:07:49 4d572c569a2c: Waiting 10:07:49 fcf976331f73: Waiting 10:07:50 a050256f5b6f: Verifying Checksum 10:07:50 a050256f5b6f: Download complete 10:07:50 c0a3192eca97: Verifying Checksum 10:07:50 c0a3192eca97: Download complete 10:07:50 2bbca73fdf42: Verifying Checksum 10:07:50 2bbca73fdf42: Download complete 10:07:50 f607e4fc86c3: Verifying Checksum 10:07:50 f607e4fc86c3: Download complete 10:07:50 b3c136eddcbf: Verifying Checksum 10:07:51 b3c136eddcbf: Pull complete 10:07:51 fcf976331f73: Verifying Checksum 10:07:51 fcf976331f73: Download complete 10:07:51 c0a3192eca97: Pull complete 10:07:51 a050256f5b6f: Pull complete 10:07:52 4d572c569a2c: Verifying Checksum 10:07:52 4d572c569a2c: Download complete 10:07:52 656be50a0ddc: Verifying Checksum 10:07:52 656be50a0ddc: Download complete 10:08:05 656be50a0ddc: Pull complete 10:08:05 2bbca73fdf42: Pull complete 10:08:05 f607e4fc86c3: Pull complete 10:08:10 4d572c569a2c: Pull complete 10:08:13 fcf976331f73: Pull complete 10:08:13 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 10:08:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:08:13 ---> 3970a7415f9e 10:08:13 Step 3/14 : ARG ADD_BUILD_TAGS="" 10:08:14 ---> Running in 3c7a562c3f6b 10:08:14 Removing intermediate container 3c7a562c3f6b 10:08:14 ---> dcca8c456447 10:08:14 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:08:14 ---> Running in af77fd7fbbc6 10:08:15 Removing intermediate container af77fd7fbbc6 10:08:15 ---> d2576a94c64c 10:08:15 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:08:15 ---> Running in 8818371f3b4d 10:08:15 Removing intermediate container 8818371f3b4d 10:08:15 ---> 1e33158a2014 10:08:15 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 10:08:15 ---> Running in b925415877a3 10:08:15 Removing intermediate container b925415877a3 10:08:15 ---> ac285e71409a 10:08:15 Step 7/14 : LABEL Name=edgex-device-onvif-camera 10:08:16 ---> Running in 6e82d3f7c829 10:08:16 Removing intermediate container 6e82d3f7c829 10:08:16 ---> 93f1e57f670b 10:08:16 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:08:16 ---> Running in 212c4be9625e 10:08:18 Removing intermediate container 212c4be9625e 10:08:18 ---> 9cb471297827 10:08:18 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:08:18 ---> Running in 8a9ce9867f6a 10:08:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:08:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:08:20 OK: 221 MiB in 51 packages 10:08:21 Removing intermediate container 8a9ce9867f6a 10:08:21 ---> 4019a7ddae1b 10:08:21 Step 10/14 : WORKDIR /device-onvif-camera 10:08:21 ---> Running in ece5dff7c85d 10:08:22 Removing intermediate container ece5dff7c85d 10:08:22 ---> b8ea09a8f929 10:08:22 Step 11/14 : COPY go.mod vendor* ./ 10:08:22 ---> 14a2de9535fd 10:08:22 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:08:22 ---> Running in 65d4ba024af0 10:09:09 Removing intermediate container 65d4ba024af0 10:09:09 ---> 1878fbc3956e 10:09:09 Step 13/14 : COPY . . 10:09:11 ---> fc1440dd7d6d 10:09:11 Step 14/14 : RUN ${MAKE} 10:09:11 ---> Running in a7b6f20bf9c8 10:09:12 noop 10:09:13 Removing intermediate container a7b6f20bf9c8 10:09:13 ---> 1724971726d5 10:09:13 Successfully built 1724971726d5 10:09:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:13 + docker inspect -f . ci-base-image-arm64 10:09:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:13 prd-ubuntu20.04-docker-arm64-4c-16g-7315 does not seem to be running inside a container 10:09:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 ******** ci-base-image-arm64 cat 10:09:14 $ docker top a3f05644d6617ee2cf26c7c6887794adbbe3ac845bca0609e1b99498e156fca8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:09:15 + go version 10:09:15 go version go1.18.3 linux/arm64 [Pipeline] } 10:09:15 $ docker stop --time=1 a3f05644d6617ee2cf26c7c6887794adbbe3ac845bca0609e1b99498e156fca8 10:09:17 $ docker rm -f a3f05644d6617ee2cf26c7c6887794adbbe3ac845bca0609e1b99498e156fca8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:17 + docker inspect -f . ci-base-image-arm64 10:09:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:17 prd-ubuntu20.04-docker-arm64-4c-16g-7315 does not seem to be running inside a container 10:09:18 $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 ******** ci-base-image-arm64 cat 10:09:19 $ docker top e991afecb9c32bf25a11d4bc31a143554713f27e9df09848c64d30ff008f6bcf -eo pid,comm [Pipeline] { [Pipeline] sh 10:09:19 + git config --global --add safe.directory /w/workspace/device-onvif-camera/9 [Pipeline] fileExists [Pipeline] sh 10:09:19 + make test 10:09:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:09:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:10:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:10:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.197s coverage: 28.2% of statements 10:10:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:11:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.208s coverage: 86.5% of statements 10:11:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:11:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:11:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:11:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:11:38 ./bin/test-attribution-txt.sh [Pipeline] echo 10:11:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:11:39 $ docker stop --time=1 e991afecb9c32bf25a11d4bc31a143554713f27e9df09848c64d30ff008f6bcf 10:11:40 $ docker rm -f e991afecb9c32bf25a11d4bc31a143554713f27e9df09848c64d30ff008f6bcf [Pipeline] // withDockerContainer [Pipeline] sh 10:11:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:11:41 Warning: overwriting stash ‘coverage-report’ 10:11:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:11:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:11:43 + ls -al . 10:11:43 total 232 10:11:43 drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 10:09 . 10:11:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:07 .. 10:11:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 10:07 .git 10:11:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:07 .github 10:11:43 -rw-rw-r-- 1 jenkins jenkins 418 Oct 7 10:07 .gitignore 10:11:43 -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 10:07 .golangci.yml 10:11:43 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 10:07 Attribution.txt 10:11:43 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 10:07 CHANGELOG.md 10:11:43 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 10:07 Dockerfile 10:11:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 10:07 GOVERNANCE.md 10:11:43 -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 10:07 Jenkinsfile 10:11:43 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 10:07 LICENSE 10:11:43 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 10:07 Makefile 10:11:43 -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 10:07 OWNERS.md 10:11:43 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 10:07 README.md 10:11:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 10:05 VERSION 10:11:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:07 bin 10:11:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:07 cmd 10:11:43 -rw-r--r-- 1 jenkins jenkins 78636 Oct 7 10:11 coverage.out 10:11:43 drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 10:07 doc 10:11:43 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 10:07 go.mod 10:11:43 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 10:07 go.sum 10:11:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:07 internal 10:11:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:07 snap 10:11:43 -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 10:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:43 + 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=face5d6007145a468790ace10b56d6957ea9f84d --label arch=arm64 --label version=0.0.0 . 10:11:44 Sending build context to Docker daemon 14.51MB 10:11:44 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 10:11:44 Step 2/27 : FROM ${BASE} AS builder 10:11:44 ---> 1724971726d5 10:11:44 Step 3/27 : ARG ADD_BUILD_TAGS="" 10:11:44 ---> Running in 7f6feaaf2f3e 10:11:44 Removing intermediate container 7f6feaaf2f3e 10:11:44 ---> d8f617ea6a7d 10:11:44 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:11:44 ---> Running in 3932910ae5d3 10:11:44 Removing intermediate container 3932910ae5d3 10:11:44 ---> d361abafd2af 10:11:44 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:11:45 ---> Running in e541162cf156 10:11:45 Removing intermediate container e541162cf156 10:11:45 ---> 20140d920f0a 10:11:45 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 10:11:45 ---> Running in cc2ee883c705 10:11:45 Removing intermediate container cc2ee883c705 10:11:45 ---> c2f1adaea540 10:11:45 Step 7/27 : LABEL Name=edgex-device-onvif-camera 10:11:45 ---> Running in 346147a5bd84 10:11:46 Removing intermediate container 346147a5bd84 10:11:46 ---> fb38f66aa31d 10:11:46 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:46 ---> Running in 13e54a0bff73 10:11:48 Removing intermediate container 13e54a0bff73 10:11:48 ---> 11321a0cfb8b 10:11:48 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:48 ---> Running in bf4db7857620 10:11:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:11:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:11:51 OK: 221 MiB in 51 packages 10:11:52 Removing intermediate container bf4db7857620 10:11:52 ---> 4d299d7a19f5 10:11:52 Step 10/27 : WORKDIR /device-onvif-camera 10:11:52 ---> Running in e9a0073dbb3f 10:11:53 Removing intermediate container e9a0073dbb3f 10:11:53 ---> 7469e8b509d0 10:11:53 Step 11/27 : COPY go.mod vendor* ./ 10:11:53 ---> aeb00cbd1613 10:11:53 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:53 ---> Running in 021e50e54ff0 10:11:55 Removing intermediate container 021e50e54ff0 10:11:55 ---> 5a020cb26855 10:11:55 Step 13/27 : COPY . . 10:11:59 ---> 5763f6ad3daf 10:11:59 Step 14/27 : RUN ${MAKE} 10:11:59 ---> Running in 3ee996b40a7a 10:12:00 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:14:37 Removing intermediate container 3ee996b40a7a 10:14:37 ---> b7b5042d229a 10:14:37 Step 15/27 : FROM alpine:3.16 10:14:37 3.16: Pulling from library/alpine 10:14:37 9b18e9b68314: Pulling fs layer 10:14:37 9b18e9b68314: Download complete 10:14:37 9b18e9b68314: Pull complete 10:14:37 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:14:37 Status: Downloaded newer image for alpine:3.16 10:14:37 ---> a6215f271958 10:14:37 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:14:37 ---> Running in 8a336e89ff61 10:14:37 Removing intermediate container 8a336e89ff61 10:14:37 ---> be76868d1877 10:14:37 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 10:14:37 ---> Running in 2ffd9d3cc40a 10:14:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:14:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:14:37 (1/6) Installing dumb-init (1.2.5-r1) 10:14:37 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:14:37 (3/6) Installing libsodium (1.0.18-r0) 10:14:37 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:14:37 (5/6) Installing libzmq (4.3.4-r0) 10:14:37 (6/6) Installing zeromq (4.3.4-r0) 10:14:37 Executing busybox-1.35.0-r17.trigger 10:14:37 OK: 8 MiB in 20 packages 10:14:37 Removing intermediate container 2ffd9d3cc40a 10:14:37 ---> 2dbb35442611 10:14:37 Step 18/27 : WORKDIR / 10:14:37 ---> Running in dc5d15555a39 10:14:37 Removing intermediate container dc5d15555a39 10:14:37 ---> f13dd7f25b43 10:14:37 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 10:14:37 ---> f075d4dd6da0 10:14:37 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 10:14:37 ---> 3d35f58f4667 10:14:37 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:14:37 ---> f6d2cf248f5a 10:14:37 Step 22/27 : EXPOSE 59984 10:14:37 ---> Running in 7df63668500f 10:14:37 Removing intermediate container 7df63668500f 10:14:37 ---> b26c76589268 10:14:37 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 10:14:37 ---> Running in e74a3cac762c 10:14:37 Removing intermediate container e74a3cac762c 10:14:37 ---> 8ed4352e2cb4 10:14:37 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:14:37 ---> Running in 6d0fb3ecec3d 10:14:37 Removing intermediate container 6d0fb3ecec3d 10:14:37 ---> 81c27e5fb747 10:14:37 Step 25/27 : LABEL arch=arm64 10:14:37 ---> Running in c382bcd4fe0c 10:14:37 Removing intermediate container c382bcd4fe0c 10:14:37 ---> ae9a310443f4 10:14:37 Step 26/27 : LABEL git_sha=face5d6007145a468790ace10b56d6957ea9f84d 10:14:37 ---> Running in 996f8567f841 10:14:37 Removing intermediate container 996f8567f841 10:14:37 ---> 760bf6cf680a 10:14:37 Step 27/27 : LABEL version=0.0.0 10:14:37 ---> Running in e654bd8eee7a 10:14:37 Removing intermediate container e654bd8eee7a 10:14:37 ---> 40f0401a6a50 10:14:37 [Warning] One or more build-args [ARCH] were not consumed 10:14:37 Successfully built 40f0401a6a50 10:14:37 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:14:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:14:37 10:14:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:14:37 arm64: Pulling from edgex-lftools-log-publisher 10:14:37 8998bd30e6a1: Pulling fs layer 10:14:37 04944245beec: Pulling fs layer 10:14:37 699f458cf7ca: Pulling fs layer 10:14:37 765212b225bb: Pulling fs layer 10:14:37 f23df028b6ca: Pulling fs layer 10:14:37 d65c8cfc05b1: Pulling fs layer 10:14:37 2437ff75d9bd: Pulling fs layer 10:14:37 765212b225bb: Waiting 10:14:37 f23df028b6ca: Waiting 10:14:37 d65c8cfc05b1: Waiting 10:14:37 2437ff75d9bd: Waiting 10:14:38 04944245beec: Verifying Checksum 10:14:38 04944245beec: Download complete 10:14:38 765212b225bb: Download complete 10:14:38 f23df028b6ca: Download complete 10:14:38 d65c8cfc05b1: Verifying Checksum 10:14:38 d65c8cfc05b1: Download complete 10:14:38 699f458cf7ca: Verifying Checksum 10:14:38 699f458cf7ca: Download complete 10:14:38 8998bd30e6a1: Verifying Checksum 10:14:38 8998bd30e6a1: Download complete 10:14:40 2437ff75d9bd: Verifying Checksum 10:14:40 2437ff75d9bd: Download complete 10:14:42 8998bd30e6a1: Pull complete 10:14:44 04944245beec: Pull complete 10:14:45 699f458cf7ca: Pull complete 10:14:45 765212b225bb: Pull complete 10:14:46 f23df028b6ca: Pull complete 10:14:46 d65c8cfc05b1: Pull complete 10:15:01 2437ff75d9bd: Pull complete 10:15:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:15:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:15:01 prd-ubuntu20.04-docker-arm64-4c-16g-7315 does not seem to be running inside a container 10:15:01 $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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:arm64 cat 10:15:04 $ docker top 46aca90f915e6351c77cdf0f6752fd8f203d112fedf18ea7bd7b434df06a542d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:15:05 ---> job-cost.sh 10:15:05 lf-activate-venv: SKIPPING 10:15:05 INFO: No Stack... 10:15:05 INFO: Retrieving Pricing Info for: v3-standard-4 10:15:06 INFO: Archiving Costs [Pipeline] sh 10:15:06 + cut -d, -f6 10:15:06 + cat /w/workspace/device-onvif-camera/9/archives/cost.csv [Pipeline] lock 10:15:07 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-9-stack-cost] 10:15:07 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-9-stack-cost] did not exist. Created. 10:15:07 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:15:07 /w/workspace/device-onvif-camera/9@tmp/durable-95241d39/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:15:07 + echo total: 0.10999999940395355 [Pipeline] stash 10:15:07 Warning: overwriting stash ‘stack-cost’ 10:15:07 Stashed 1 file(s) [Pipeline] } 10:15:07 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-9-stack-cost] [Pipeline] // lock [Pipeline] } 10:15:07 $ docker stop --time=1 46aca90f915e6351c77cdf0f6752fd8f203d112fedf18ea7bd7b434df06a542d 10:15:09 $ docker rm -f 46aca90f915e6351c77cdf0f6752fd8f203d112fedf18ea7bd7b434df06a542d [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:15:09 provisioning config files... 10:15:09 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config13917637247521695291tmp [Pipeline] { [Pipeline] sh 10:15:09 + set +x 10:15:09 + + bash -s -- 10:15:09 curl -s https://codecov.io/bash 10:15:09 10:15:09 _____ _ 10:15:09 / ____| | | 10:15:09 | | ___ __| | ___ ___ _____ __ 10:15:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:15:09 | |___| (_) | (_| | __/ (_| (_) \ V / 10:15:09 \_____\___/ \__,_|\___|\___\___/ \_/ 10:15:09 Bash-1.0.6 10:15:09 10:15:09 10:15:09 ==> git version 2.25.1 found 10:15:09 ==> 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:15:09 Release-Date: 2020-01-08 10:15:09 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:15:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:15:09 ==> Jenkins CI detected. 10:15:09 current dir:  /w/workspace/undry_device-onvif-camera_PR-172 10:15:09 project root: . 10:15:09 --> token set from env 10:15:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:15:09 ==> Running gcov in . (disable via -X gcov) 10:15:09 ==> Python coveragepy not found 10:15:09 ==> Searching for coverage reports in: 10:15:09 + . 10:15:09 -> Found 1 reports 10:15:09 ==> Detecting git/mercurial file structure 10:15:09 ==> Reading reports 10:15:09 + ./coverage.out bytes=78636 10:15:09 ==> Appending adjustments 10:15:09 https://docs.codecov.io/docs/fixing-reports 10:15:10 + Found adjustments 10:15:10 ==> Gzipping contents 10:15:10 12K /tmp/codecov.JOz5sf.gz 10:15:10 ==> Uploading reports 10:15:10 url: https://codecov.io 10:15:10 query: branch=PR-172&commit=face5d6007145a468790ace10b56d6957ea9f84d&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= 10:15:10 -> Pinging Codecov 10:15:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-172&commit=face5d6007145a468790ace10b56d6957ea9f84d&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= 10:15:10 -> Uploading to 10:15:10 https://storage.googleapis.com/codecov/v4/raw/2022-10-07/F29A59C45E3A92E06B3E522C9905F8EF/face5d6007145a468790ace10b56d6957ea9f84d/17c19ee1-516e-4ca5-8ab0-3d4256384318.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T101510Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=939d22be64418fb1f031d28c2c4ba3af03491457a0de2cb10e653c58b13d7555 10:15:10 % Total % Received % Xferd Average Speed Time Time Time Current 10:15:10 Dload Upload Total Spent Left Speed 10:15:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10758 0 0 100 10758 0 52735 --:--:-- --:--:-- --:--:-- 52478 100 10758 0 0 100 10758 0 50037 --:--:-- --:--:-- --:--:-- 49805 10:15:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] } 10:15:10 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:15:11 + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] 10:15:11 + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives 10:15:11 total 16 10:15:11 drwxr-xr-x 3 root root 4096 Oct 7 10:07 . 10:15:11 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 10:07 .. 10:15:11 drwxr-xr-x 2 root root 4096 Oct 7 10:07 cost 10:15:11 -rw-r--r-- 1 root root 91 Oct 7 10:07 cost.csv 10:15:11 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives 10:15:11 + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives 10:15:11 total 16 10:15:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 10:07 . 10:15:11 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 10:07 .. 10:15:11 drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 10:07 cost 10:15:11 -rw-r--r-- 1 jenkins jenkins 91 Oct 7 10:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:15:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:15:12 ---> package-listing.sh 10:15:12 ++ tr '[:upper:]' '[:lower:]' 10:15:12 ++ facter osfamily 10:15:12 + OS_FAMILY=debian 10:15:12 + workspace=/w/workspace/undry_device-onvif-camera_PR-172 10:15:12 + START_PACKAGES=/tmp/packages_start.txt 10:15:12 + END_PACKAGES=/tmp/packages_end.txt 10:15:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:15:12 + PACKAGES=/tmp/packages_start.txt 10:15:12 + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' 10:15:12 + PACKAGES=/tmp/packages_end.txt 10:15:12 + case "${OS_FAMILY}" in 10:15:12 + dpkg -l 10:15:12 + grep '^ii' 10:15:12 + '[' -f /tmp/packages_start.txt ']' 10:15:12 + '[' -f /tmp/packages_end.txt ']' 10:15:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:15:12 + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' 10:15:12 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ 10:15:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo 10:15:12 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-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:15:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:15:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:15:13 prd-ubuntu20.04-docker-8c-8g-7314 does not seem to be running inside a container 10:15:13 $ 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-172/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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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:15:14 $ docker top 22746b57e96424cc8cd94473e9ff3d3487d61dcc04a878323727a2729a1a4004 -eo pid,comm [Pipeline] { [Pipeline] sh 10:15:14 + touch /tmp/pre-build-complete [Pipeline] sh 10:15:14 + mkdir -p /var/log/sysstat [Pipeline] sh 10:15:14 + ls /var/log/sa-host 10:15:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:15:15 provisioning config files... 10:15:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config8958661069250320504tmp [Pipeline] { [Pipeline] echo 10:15:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:15:15 ---> create-netrc.sh [Pipeline] } 10:15:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:15:15 ---> python-tools-install.sh [Pipeline] echo 10:15:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:15:16 ---> sudo-logs.sh 10:15:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:15:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:15:16 ---> job-cost.sh 10:15:16 lf-activate-venv: SKIPPING 10:15:16 DEBUG: total: 0.2199999988079071 10:15:16 INFO: Retrieving Stack Cost... 10:15:16 INFO: Retrieving Pricing Info for: v3-standard-8 10:15:17 INFO: Archiving Costs [Pipeline] echo 10:15:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:15:17 ---> logs-deploy.sh 10:15:17 lf-activate-venv: SKIPPING 10:15:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/9 10:15:17 INFO: archiving workspace using pattern(s): 10:15:18 Archives upload complete. 10:15:18 INFO: archiving logs to Nexus 10:15:19 ---> uname -a: 10:15:19 Linux prd-ubuntu20-04-docker-8c-8g-7314 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 10:15:19 10:15:19 10:15:19 ---> lscpu: 10:15:19 Architecture: x86_64 10:15:19 CPU op-mode(s): 32-bit, 64-bit 10:15:19 Byte Order: Little Endian 10:15:19 Address sizes: 40 bits physical, 48 bits virtual 10:15:19 CPU(s): 8 10:15:19 On-line CPU(s) list: 0-7 10:15:19 Thread(s) per core: 1 10:15:19 Core(s) per socket: 1 10:15:19 Socket(s): 8 10:15:19 NUMA node(s): 1 10:15:19 Vendor ID: AuthenticAMD 10:15:19 CPU family: 23 10:15:19 Model: 49 10:15:19 Model name: AMD EPYC-Rome Processor 10:15:19 Stepping: 0 10:15:19 CPU MHz: 2799.998 10:15:19 BogoMIPS: 5599.99 10:15:19 Virtualization: AMD-V 10:15:19 Hypervisor vendor: KVM 10:15:19 Virtualization type: full 10:15:19 L1d cache: 256 KiB 10:15:19 L1i cache: 256 KiB 10:15:19 L2 cache: 4 MiB 10:15:19 L3 cache: 128 MiB 10:15:19 NUMA node0 CPU(s): 0-7 10:15:19 Vulnerability Itlb multihit: Not affected 10:15:19 Vulnerability L1tf: Not affected 10:15:19 Vulnerability Mds: Not affected 10:15:19 Vulnerability Meltdown: Not affected 10:15:19 Vulnerability Mmio stale data: Not affected 10:15:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:15:19 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:15:19 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:15:19 Vulnerability Srbds: Not affected 10:15:19 Vulnerability Tsx async abort: Not affected 10:15:19 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:15:19 10:15:19 10:15:19 ---> nproc: 10:15:19 8 10:15:19 10:15:19 10:15:19 ---> df -h: 10:15:19 Filesystem Size Used Avail Use% Mounted on 10:15:19 overlay 155G 12G 144G 8% / 10:15:19 tmpfs 64M 0 64M 0% /dev 10:15:19 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:15:19 shm 64M 0 64M 0% /dev/shm 10:15:19 /dev/vda1 155G 12G 144G 8% /facter-os 10:15:19 10:15:19 10:15:19 ---> sar -b -r -n DEV: 10:15:19 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7314) 10/07/22 _x86_64_ (8 CPU) 10:15:19 10:15:19 10:04:39 LINUX RESTART (8 CPU) 10:15:19 10:15:19 10:05:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:15:19 10:06:01 436.02 38.97 397.05 0.00 4308.16 108519.56 0.00 10:15:19 10:07:01 208.83 0.47 208.37 0.00 35.99 34884.19 0.00 10:15:19 10:08:01 33.93 0.02 33.91 0.00 4.00 16731.48 0.00 10:15:19 10:09:01 2.03 0.00 2.03 0.00 0.00 22.55 0.00 10:15:19 10:10:01 39.21 9.35 29.86 0.00 2885.25 4803.47 0.00 10:15:19 10:11:01 2.20 0.00 2.20 0.00 0.00 25.05 0.00 10:15:19 10:12:01 1.10 0.00 1.10 0.00 0.00 12.00 0.00 10:15:19 10:13:01 0.88 0.00 0.88 0.00 0.00 10.40 0.00 10:15:19 10:14:01 1.18 0.00 1.18 0.00 0.00 13.46 0.00 10:15:19 10:15:01 1.32 0.00 1.32 0.00 0.00 26.53 0.00 10:15:19 Average: 72.67 4.88 67.79 0.00 723.38 16505.85 0.00 10:15:19 10:15:19 10:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:15:19 10:06:01 28022164 31569844 736496 2.24 132780 3584368 1892368 5.58 1167940 3218400 123888 10:15:19 10:07:01 28224500 31544776 760996 2.31 141336 3377964 1897888 5.59 1302676 2905804 784 10:15:19 10:08:01 27741732 31571864 731964 2.23 150060 3829888 1758108 5.18 1295916 3344880 168 10:15:19 10:09:01 27741776 31571956 731580 2.22 150096 3829892 1758108 5.18 1295600 3344884 48 10:15:19 10:10:01 27457052 31558180 725996 2.21 168464 4078688 1840796 5.43 1445124 3453712 240 10:15:19 10:11:01 27458456 31559608 724744 2.20 168504 4078692 1824308 5.38 1444512 3453672 44 10:15:19 10:12:01 27465692 31566892 717340 2.18 168532 4078696 1824308 5.38 1437552 3453676 8 10:15:19 10:13:01 27466136 31567400 717012 2.18 168564 4078696 1824308 5.38 1437420 3453684 176 10:15:19 10:14:01 27466120 31567388 716972 2.18 168588 4078700 1824308 5.38 1437404 3453688 8 10:15:19 10:15:01 27465952 31567780 716900 2.18 168668 4078704 1824308 5.38 1437060 3454152 240 10:15:19 Average: 27650958 31564569 728000 2.21 158559 3909429 1826881 5.38 1370120 3353655 12560 10:15:19 10:15:19 10:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:15:19 10:06:01 docker0 146.53 213.85 12.40 1843.05 0.00 0.00 0.00 0.00 10:15:19 10:06:01 lo 6.66 6.66 0.65 0.65 0.00 0.00 0.00 0.00 10:15:19 10:06:01 ens3 879.16 594.92 8231.66 125.85 0.00 0.00 0.00 0.00 10:15:19 10:07:01 docker0 8.68 12.28 0.52 98.61 0.00 0.00 0.00 0.00 10:15:19 10:07:01 lo 1.80 1.80 0.17 0.17 0.00 0.00 0.00 0.00 10:15:19 10:07:01 ens3 62.56 43.31 196.85 20.45 0.00 0.00 0.00 0.00 10:15:19 10:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:15:19 10:08:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 10:15:19 10:08:01 ens3 94.50 64.19 2523.69 9.94 0.00 0.00 0.00 0.00 10:15:19 10:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:15:19 10:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:15:19 10:09:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 10:15:19 10:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:15:19 10:10:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 10:15:19 10:10:01 ens3 83.22 55.27 1299.09 3.97 0.00 0.00 0.00 0.00 10:15:19 10:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:15:19 10:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:15:19 10:11:01 ens3 0.35 0.27 0.09 0.08 0.00 0.00 0.00 0.00 10:15:19 10:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:15:19 10:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:15:19 10:12:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:15:19 10:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:15:19 10:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:15:19 10:13:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 10:15:19 10:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:15:19 10:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:15:19 10:14:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:15:19 10:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:15:19 10:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:15:19 10:15:01 ens3 0.48 0.10 0.05 0.01 0.00 0.00 0.00 0.00 10:15:19 Average: docker0 15.52 22.62 1.29 194.19 0.00 0.00 0.00 0.00 10:15:19 Average: lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 10:15:19 Average: ens3 112.06 75.84 1225.22 16.03 0.00 0.00 0.00 0.00 10:15:19 10:15:19 10:15:19 ---> sar -P ALL: 10:15:19 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7314) 10/07/22 _x86_64_ (8 CPU) 10:15:19 10:15:19 10:04:39 LINUX RESTART (8 CPU) 10:15:19 10:15:19 10:05:01 CPU %user %nice %system %iowait %steal %idle 10:15:19 10:06:01 all 12.22 0.00 4.61 1.95 0.06 81.16 10:15:19 10:06:01 0 11.90 0.00 5.28 1.31 0.05 81.46 10:15:19 10:06:01 1 12.94 0.00 4.05 2.46 0.05 80.50 10:15:19 10:06:01 2 13.49 0.00 5.74 3.82 0.05 76.89 10:15:19 10:06:01 3 12.58 0.00 3.66 0.86 0.07 82.83 10:15:19 10:06:01 4 12.14 0.00 4.23 1.17 0.07 82.40 10:15:19 10:06:01 5 9.42 0.00 4.60 2.94 0.05 82.99 10:15:19 10:06:01 6 13.64 0.00 4.18 1.89 0.07 80.22 10:15:19 10:06:01 7 11.63 0.00 5.16 1.10 0.10 82.00 10:15:19 10:07:01 all 39.24 0.00 6.68 1.04 0.08 52.96 10:15:19 10:07:01 0 39.39 0.00 6.86 1.31 0.10 52.34 10:15:19 10:07:01 1 38.83 0.00 6.98 0.14 0.08 53.97 10:15:19 10:07:01 2 38.55 0.00 6.94 1.45 0.08 52.98 10:15:19 10:07:01 3 39.39 0.00 6.40 1.27 0.07 52.88 10:15:19 10:07:01 4 40.95 0.00 6.97 0.40 0.07 51.60 10:15:19 10:07:01 5 37.61 0.00 6.00 3.28 0.07 53.04 10:15:19 10:07:01 6 39.69 0.00 6.53 0.45 0.08 53.24 10:15:19 10:07:01 7 39.49 0.00 6.75 0.05 0.08 53.63 10:15:19 10:08:01 all 2.60 0.00 1.10 0.40 0.02 95.88 10:15:19 10:08:01 0 2.33 0.00 1.79 1.76 0.02 94.10 10:15:19 10:08:01 1 3.11 0.00 1.00 0.42 0.02 95.46 10:15:19 10:08:01 2 2.32 0.00 0.99 0.92 0.02 95.75 10:15:19 10:08:01 3 2.73 0.00 0.84 0.07 0.03 96.34 10:15:19 10:08:01 4 3.31 0.00 1.02 0.02 0.02 95.64 10:15:19 10:08:01 5 2.32 0.00 0.75 0.00 0.02 96.91 10:15:19 10:08:01 6 2.31 0.00 1.45 0.00 0.02 96.22 10:15:19 10:08:01 7 2.38 0.00 0.94 0.03 0.02 96.63 10:15:19 10:09:01 all 0.02 0.00 0.01 0.01 0.01 99.96 10:15:19 10:09:01 0 0.02 0.00 0.03 0.00 0.00 99.95 10:15:19 10:09:01 1 0.02 0.00 0.00 0.00 0.02 99.97 10:15:19 10:09:01 2 0.02 0.00 0.00 0.02 0.02 99.95 10:15:19 10:09:01 3 0.02 0.00 0.02 0.00 0.02 99.95 10:15:19 10:09:01 4 0.00 0.00 0.02 0.00 0.00 99.98 10:15:19 10:09:01 5 0.03 0.00 0.00 0.03 0.00 99.93 10:15:19 10:09:01 6 0.05 0.00 0.02 0.00 0.00 99.93 10:15:19 10:09:01 7 0.00 0.00 0.00 0.00 0.02 99.98 10:15:19 10:10:01 all 1.17 0.00 0.79 0.37 0.02 97.66 10:15:19 10:10:01 0 1.77 0.00 1.30 0.55 0.02 96.36 10:15:19 10:10:01 1 0.65 0.00 0.47 0.00 0.02 98.86 10:15:19 10:10:01 2 0.95 0.00 1.18 1.15 0.02 96.70 10:15:19 10:10:01 3 1.52 0.00 1.07 0.42 0.03 96.96 10:15:19 10:10:01 4 1.25 0.00 0.57 0.05 0.02 98.11 10:15:19 10:10:01 5 0.53 0.00 0.37 0.07 0.02 99.02 10:15:19 10:10:01 6 0.95 0.00 0.43 0.45 0.02 98.15 10:15:19 10:10:01 7 1.72 0.00 0.92 0.23 0.02 97.11 10:15:19 10:11:01 all 0.03 0.00 0.02 0.01 0.01 99.94 10:15:19 10:11:01 0 0.02 0.00 0.02 0.02 0.02 99.93 10:15:19 10:11:01 1 0.08 0.00 0.03 0.00 0.02 99.87 10:15:19 10:11:01 2 0.02 0.00 0.02 0.03 0.00 99.93 10:15:19 10:11:01 3 0.02 0.00 0.02 0.00 0.00 99.97 10:15:19 10:11:01 4 0.00 0.00 0.00 0.00 0.00 100.00 10:15:19 10:11:01 5 0.02 0.00 0.02 0.00 0.00 99.97 10:15:19 10:11:01 6 0.05 0.00 0.03 0.00 0.02 99.90 10:15:19 10:11:01 7 0.02 0.00 0.00 0.00 0.00 99.98 10:15:19 10:12:01 all 0.03 0.00 0.01 0.01 0.00 99.96 10:15:19 10:12:01 0 0.02 0.00 0.02 0.00 0.00 99.97 10:15:19 10:12:01 1 0.05 0.00 0.00 0.00 0.02 99.93 10:15:19 10:12:01 2 0.02 0.00 0.00 0.05 0.00 99.93 10:15:19 10:12:01 3 0.03 0.00 0.00 0.00 0.00 99.97 10:15:19 10:12:01 4 0.02 0.00 0.02 0.00 0.00 99.97 10:15:19 10:12:01 5 0.02 0.00 0.02 0.00 0.00 99.97 10:15:19 10:12:01 6 0.03 0.00 0.00 0.00 0.02 99.95 10:15:19 10:12:01 7 0.02 0.00 0.00 0.00 0.00 99.98 10:15:19 10:13:01 all 0.02 0.00 0.02 0.00 0.01 99.95 10:15:19 10:13:01 0 0.02 0.00 0.03 0.02 0.02 99.92 10:15:19 10:13:01 1 0.02 0.00 0.03 0.00 0.00 99.95 10:15:19 10:13:01 2 0.00 0.00 0.02 0.02 0.02 99.95 10:15:19 10:13:01 3 0.03 0.00 0.02 0.00 0.00 99.95 10:15:19 10:13:01 4 0.02 0.00 0.00 0.00 0.00 99.98 10:15:19 10:13:01 5 0.00 0.00 0.00 0.00 0.00 100.00 10:15:19 10:13:01 6 0.08 0.00 0.05 0.00 0.02 99.85 10:15:19 10:13:01 7 0.00 0.00 0.02 0.00 0.02 99.97 10:15:19 10:14:01 all 0.02 0.00 0.01 0.00 0.01 99.96 10:15:19 10:14:01 0 0.02 0.00 0.00 0.02 0.00 99.97 10:15:19 10:14:01 1 0.03 0.00 0.00 0.00 0.02 99.95 10:15:19 10:14:01 2 0.02 0.00 0.00 0.02 0.00 99.97 10:15:19 10:14:01 3 0.03 0.00 0.02 0.00 0.02 99.93 10:15:19 10:14:01 4 0.02 0.00 0.00 0.00 0.02 99.97 10:15:19 10:14:01 5 0.00 0.00 0.02 0.00 0.00 99.98 10:15:19 10:14:01 6 0.03 0.00 0.03 0.00 0.03 99.90 10:15:19 10:14:01 7 0.00 0.00 0.00 0.00 0.00 100.00 10:15:19 10:15:01 all 0.05 0.00 0.00 0.01 0.01 99.93 10:15:19 10:15:01 0 0.00 0.00 0.00 0.02 0.02 99.97 10:15:19 10:15:01 1 0.02 0.00 0.00 0.00 0.02 99.97 10:15:19 10:15:01 2 0.00 0.00 0.00 0.03 0.00 99.97 10:15:19 10:15:01 3 0.02 0.00 0.00 0.00 0.00 99.98 10:15:19 10:15:01 4 0.02 0.00 0.00 0.00 0.00 99.98 10:15:19 10:15:01 5 0.00 0.00 0.00 0.00 0.00 100.00 10:15:19 10:15:01 6 0.32 0.00 0.03 0.02 0.02 99.62 10:15:19 10:15:01 7 0.02 0.00 0.00 0.00 0.00 99.98 10:15:19 Average: all 5.49 0.00 1.31 0.38 0.02 92.79 10:15:19 Average: 0 5.52 0.00 1.53 0.50 0.02 92.44 10:15:19 Average: 1 5.53 0.00 1.25 0.30 0.03 92.90 10:15:19 Average: 2 5.50 0.00 1.48 0.75 0.02 92.26 10:15:19 Average: 3 5.59 0.00 1.19 0.26 0.02 92.94 10:15:19 Average: 4 5.73 0.00 1.27 0.16 0.02 92.82 10:15:19 Average: 5 4.94 0.00 1.17 0.63 0.02 93.25 10:15:19 Average: 6 5.68 0.00 1.27 0.28 0.03 92.75 10:15:19 Average: 7 5.48 0.00 1.37 0.14 0.03 92.99 10:15:19 10:15:19 10:15:19