Pull request #274 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch levski at 0c6690d512fca69ab8f13dc5deb436fc09094519 rather than 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 Obtained Jenkinsfile from 0c6690d512fca69ab8f13dc5deb436fc09094519 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-ssh89124329308532134.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15417442806906180367.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-274/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-274/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4787082616330213997.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh716705034627428438.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-274/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-274/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8345831980690292985.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, goVersion:1.18, 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-4636 in /w/workspace/undry_device-onvif-camera_PR-274 [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-274 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/levski commit 0c6690d512fca69ab8f13dc5deb436fc09094519 into PR head commit 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/274/head:refs/remotes/origin/PR-274 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0c6690d512fca69ab8f13dc5deb436fc09094519 # timeout=10 Merge succeeded, producing 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 Checking out Revision 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 (PR-274) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 # timeout=10 Commit message: "docs: code review comments addressed" > git rev-list --no-walk b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:28:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:28:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:28:29 ========================================================= 20:28:29 EdgeX Global Pipelines Version Info 20:28:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:28:29 ------------------- 20:28:29 stable info: 20:28:29 ------------------- 20:28:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:28:29 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:28:29 Message: update stable to v1.0.245 20:28:30 ------------------- 20:28:30 experimental info: 20:28:30 ------------------- 20:28:30 Commited By: **** collab-it+edgex@linuxfoundation.org 20:28:30 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 20:28:30 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-274 [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-274 [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-274 [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4dbc989 [Pipeline] echo 20:28:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:28:30 provisioning config files... 20:28:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-274@tmp/config7601650766021166644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:31 ---> docker-login.sh 20:28:31 nexus3.edgexfoundry.org:10001 20:28:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:31 Configure a credential helper to remove this warning. See 20:28:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:31 20:28:31 Login Succeeded 20:28:31 nexus3.edgexfoundry.org:10002 20:28:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:31 Configure a credential helper to remove this warning. See 20:28:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:31 20:28:31 Login Succeeded 20:28:31 nexus3.edgexfoundry.org:10003 20:28:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:32 Configure a credential helper to remove this warning. See 20:28:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:32 20:28:32 Login Succeeded 20:28:32 nexus3.edgexfoundry.org:10004 20:28:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:32 Configure a credential helper to remove this warning. See 20:28:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:32 20:28:32 Login Succeeded 20:28:32 docker.io 20:28:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:32 Configure a credential helper to remove this warning. See 20:28:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:32 20:28:32 Login Succeeded 20:28:32 ---> docker-login.sh ends [Pipeline] } 20:28:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:28:32 + git rev-list -1 --merges 4dbc9892cd9cab629b06cbdeaea0749b7dae4814~1..4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [Pipeline] echo 20:28:32 -----------> git rev-list -1 --merges 4dbc9892cd9cab629b06cbdeaea0749b7dae4814~1..4dbc9892cd9cab629b06cbdeaea0749b7dae4814 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [false] [Pipeline] sh 20:28:32 + git log --format=format:%s -1 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [Pipeline] echo 20:28:32 ========================================================= 20:28:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:28:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:28:33 + git log --format=format:%s -1 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [Pipeline] echo 20:28:33 [semverPrep] GIT_COMMIT: 4dbc9892cd9cab629b06cbdeaea0749b7dae4814, Commit Message: docs: code review comments addressed [Pipeline] echo 20:28:33 [semverPrep] This is not a build commit. [Pipeline] sh 20:28:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:28:33 + grep -v github /etc/ssh/ssh_known_hosts 20:28:33 + [ -e /tmp/ssh_known_hosts ] 20:28:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:28:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:28:33 + sudo tee -a /etc/ssh/ssh_known_hosts 20:28:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:34 20:28:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:34 0.1.4: Pulling from edgex-devops/py-git-semver 20:28:34 b85a868b505f: Pulling fs layer 20:28:34 e2be974225ed: Pulling fs layer 20:28:34 339a4e72a1f5: Pulling fs layer 20:28:34 988bab9f4d93: Pulling fs layer 20:28:34 1469e6f7b9e6: Pulling fs layer 20:28:34 eaf3925da568: Pulling fs layer 20:28:34 bab4dde63d76: Pulling fs layer 20:28:34 bde34c3a00c8: Pulling fs layer 20:28:34 b352a97aabf1: Pulling fs layer 20:28:34 4872d77fe225: Pulling fs layer 20:28:34 5851b861e8e6: Pulling fs layer 20:28:34 bab4dde63d76: Waiting 20:28:34 bde34c3a00c8: Waiting 20:28:34 b352a97aabf1: Waiting 20:28:34 4872d77fe225: Waiting 20:28:34 5851b861e8e6: Waiting 20:28:34 988bab9f4d93: Waiting 20:28:34 1469e6f7b9e6: Waiting 20:28:34 eaf3925da568: Waiting 20:28:34 e2be974225ed: Verifying Checksum 20:28:34 e2be974225ed: Download complete 20:28:34 988bab9f4d93: Verifying Checksum 20:28:34 988bab9f4d93: Download complete 20:28:34 1469e6f7b9e6: Verifying Checksum 20:28:34 1469e6f7b9e6: Download complete 20:28:34 eaf3925da568: Verifying Checksum 20:28:34 eaf3925da568: Download complete 20:28:34 339a4e72a1f5: Verifying Checksum 20:28:34 339a4e72a1f5: Download complete 20:28:34 bde34c3a00c8: Download complete 20:28:34 b352a97aabf1: Verifying Checksum 20:28:34 b352a97aabf1: Download complete 20:28:34 4872d77fe225: Verifying Checksum 20:28:34 4872d77fe225: Download complete 20:28:34 5851b861e8e6: Download complete 20:28:34 b85a868b505f: Verifying Checksum 20:28:34 b85a868b505f: Download complete 20:28:34 bab4dde63d76: Verifying Checksum 20:28:34 bab4dde63d76: Download complete 20:28:35 b85a868b505f: Pull complete 20:28:36 e2be974225ed: Pull complete 20:28:36 339a4e72a1f5: Pull complete 20:28:36 988bab9f4d93: Pull complete 20:28:36 1469e6f7b9e6: Pull complete 20:28:36 eaf3925da568: Pull complete 20:28:38 bab4dde63d76: Pull complete 20:28:38 bde34c3a00c8: Pull complete 20:28:38 b352a97aabf1: Pull complete 20:28:38 4872d77fe225: Pull complete 20:28:38 5851b861e8e6: Pull complete 20:28:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:28:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:38 prd-ubuntu20.04-docker-8c-8g-4636 does not seem to be running inside a container 20:28:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@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-devops/py-git-semver:0.1.4 cat 20:28:41 $ docker top ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 -eo pid,comm 20:28:41 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). 20:28:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:28:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:28:41 [ssh-agent] Looking for ssh-agent implementation... 20:28:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:28:41 $ docker exec ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 ssh-agent 20:28:41 SSH_AUTH_SOCK=/tmp/ssh-K1Ip44LJHdna/agent.32 20:28:41 SSH_AGENT_PID=38 20:28:41 Running ssh-add (command line suppressed) 20:28:41 Identity added: /w/workspace/undry_device-onvif-camera_PR-274@tmp/private_key_13973292884662829854.key (/w/workspace/undry_device-onvif-camera_PR-274@tmp/private_key_13973292884662829854.key) 20:28:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:28:42 + git tag --points-at HEAD [Pipeline] } 20:28:42 $ docker exec --env ******** --env ******** ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 ssh-agent -k 20:28:42 unset SSH_AUTH_SOCK; 20:28:42 unset SSH_AGENT_PID; 20:28:42 echo Agent pid 38 killed; 20:28:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:28:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:28:42 [ssh-agent] Looking for ssh-agent implementation... 20:28:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:28:42 $ docker exec ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 ssh-agent 20:28:42 SSH_AUTH_SOCK=/tmp/ssh-go3K7npq4XyG/agent.71 20:28:42 SSH_AGENT_PID=77 20:28:42 Running ssh-add (command line suppressed) 20:28:42 Identity added: /w/workspace/undry_device-onvif-camera_PR-274@tmp/private_key_2287873241076903786.key (/w/workspace/undry_device-onvif-camera_PR-274@tmp/private_key_2287873241076903786.key) 20:28:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:28:42 + git semver init 20:28:43 2023-03-20 20:28:43,092 [run_init] DEBUG init version:0.0.0 force:False 20:28:43 2023-03-20 20:28:43,093 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-274/.semver 20:28:43 2023-03-20 20:28:43,093 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-274/.semver 20:28:43 2023-03-20 20:28:43,093 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-274/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-274, universal_newlines=False, shell=None, istream=None) 20:28:44 2023-03-20 20:28:44,003 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-274/.git/info/exclude 20:28:44 2023-03-20 20:28:44,004 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-274/.semver/PR-274 with force:False 20:28:44 2023-03-20 20:28:44,004 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-274/.semver/PR-274 20:28:44 2023-03-20 20:28:44,008 [execute] INFO git cat-file --batch-check 20:28:44 2023-03-20 20:28:44,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-274/.semver, universal_newlines=False, shell=None, istream=) 20:28:44 2023-03-20 20:28:44,015 [execute] INFO git cat-file --batch 20:28:44 2023-03-20 20:28:44,015 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-274/.semver, universal_newlines=False, shell=None, istream=) 20:28:44 2023-03-20 20:28:44,020 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-274/.semver/PR-274 20:28:44 0.0.0 [Pipeline] } 20:28:44 $ docker exec --env ******** --env ******** ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 ssh-agent -k 20:28:44 unset SSH_AUTH_SOCK; 20:28:44 unset SSH_AGENT_PID; 20:28:44 echo Agent pid 77 killed; 20:28:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:28:44 + git semver [Pipeline] } 20:28:44 $ docker stop --time=1 ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 20:28:46 $ docker rm -f --volumes ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 [Pipeline] // withDockerContainer [Pipeline] sh 20:28:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:28:47 Stashed 1 file(s) [Pipeline] echo 20:28:47 [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 20:28:47 provisioning config files... 20:28:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-274@tmp/config1205521395010674383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:47 ---> docker-login.sh 20:28:47 nexus3.edgexfoundry.org:10001 20:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:47 Configure a credential helper to remove this warning. See 20:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:47 20:28:47 Login Succeeded 20:28:47 nexus3.edgexfoundry.org:10002 20:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:47 Configure a credential helper to remove this warning. See 20:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:47 20:28:47 Login Succeeded 20:28:47 nexus3.edgexfoundry.org:10003 20:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:47 Configure a credential helper to remove this warning. See 20:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:47 20:28:47 Login Succeeded 20:28:47 nexus3.edgexfoundry.org:10004 20:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:47 Configure a credential helper to remove this warning. See 20:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:47 20:28:47 Login Succeeded 20:28:47 docker.io 20:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:47 Configure a credential helper to remove this warning. See 20:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:47 20:28:47 Login Succeeded 20:28:47 ---> docker-login.sh ends [Pipeline] } 20:28:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:28:48 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:28:48 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:28:48 ========================================================= 20:28:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:28:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:48 + 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 . 20:28:48 Sending build context to Docker daemon 27.04MB 20:28:48 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:28:48 Step 2/13 : FROM ${BASE} AS builder 20:28:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:28:48 213ec9aee27d: Pulling fs layer 20:28:48 4583459ba037: Pulling fs layer 20:28:48 93c1e223e6f2: Pulling fs layer 20:28:48 53926ce57604: Pulling fs layer 20:28:48 21b2b0c7a3f4: Pulling fs layer 20:28:48 22ff95d597cd: Pulling fs layer 20:28:48 12d6caf4c0d1: Pulling fs layer 20:28:48 96b7cbca73a9: Pulling fs layer 20:28:48 a7acece74701: Pulling fs layer 20:28:48 53926ce57604: Waiting 20:28:48 12d6caf4c0d1: Waiting 20:28:48 22ff95d597cd: Waiting 20:28:48 21b2b0c7a3f4: Waiting 20:28:48 a7acece74701: Waiting 20:28:48 93c1e223e6f2: Verifying Checksum 20:28:48 93c1e223e6f2: Download complete 20:28:48 4583459ba037: Download complete 20:28:48 21b2b0c7a3f4: Verifying Checksum 20:28:48 21b2b0c7a3f4: Download complete 20:28:48 22ff95d597cd: Verifying Checksum 20:28:48 22ff95d597cd: Download complete 20:28:48 213ec9aee27d: Verifying Checksum 20:28:48 213ec9aee27d: Download complete 20:28:48 12d6caf4c0d1: Download complete 20:28:48 213ec9aee27d: Pull complete 20:28:49 4583459ba037: Pull complete 20:28:49 93c1e223e6f2: Pull complete 20:28:49 a7acece74701: Verifying Checksum 20:28:49 a7acece74701: Download complete 20:28:49 53926ce57604: Verifying Checksum 20:28:49 53926ce57604: Download complete 20:28:49 96b7cbca73a9: Verifying Checksum 20:28:49 96b7cbca73a9: Download complete 20:28:53 53926ce57604: Pull complete 20:28:53 21b2b0c7a3f4: Pull complete 20:28:53 22ff95d597cd: Pull complete 20:28:53 12d6caf4c0d1: Pull complete 20:28:55 96b7cbca73a9: Pull complete 20:28:56 a7acece74701: Pull complete 20:28:56 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:28:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:28:56 ---> db6d94c90886 20:28:56 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:29:01 ---> Running in f5ba2c475067 20:29:01 Removing intermediate container f5ba2c475067 20:29:01 ---> 06a7f735ca3a 20:29:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:29:01 ---> Running in 7ec11756080e 20:29:01 Removing intermediate container 7ec11756080e 20:29:01 ---> 897c1f20995c 20:29:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:29:01 ---> Running in 33f5435a8920 20:29:01 Removing intermediate container 33f5435a8920 20:29:01 ---> 5f92bf54269c 20:29:01 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:29:01 ---> Running in f0045e015116 20:29:01 Removing intermediate container f0045e015116 20:29:01 ---> 298faab3a10b 20:29:01 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:29:01 ---> Running in d9c06d3d3526 20:29:01 Removing intermediate container d9c06d3d3526 20:29:01 ---> 783cfbc743ac 20:29:01 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:29:01 ---> Running in 42f7f9514978 20:29:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:29:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:29:02 Still waiting to schedule task 20:29:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:29:02 OK: 211 MiB in 51 packages 20:29:02 Removing intermediate container 42f7f9514978 20:29:02 ---> 681a7b79b09d 20:29:02 Step 9/13 : WORKDIR /device-onvif-camera 20:29:02 ---> Running in 22821a906793 20:29:02 Removing intermediate container 22821a906793 20:29:02 ---> 95876eca8bc8 20:29:02 Step 10/13 : COPY go.mod vendor* ./ 20:29:02 ---> e14f836927c4 20:29:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:29:02 ---> Running in 1ad40c774347 20:29:34 Removing intermediate container 1ad40c774347 20:29:34 ---> e1c98e6366ff 20:29:34 Step 12/13 : COPY . . 20:29:34 ---> 180da184caad 20:29:34 Step 13/13 : RUN ${MAKE} 20:29:34 ---> Running in 003a738f41ca 20:29:35 noop 20:29:35 Removing intermediate container 003a738f41ca 20:29:35 ---> ae720cfc978b 20:29:35 Successfully built ae720cfc978b 20:29:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:35 + docker inspect -f . ci-base-image-x86_64 20:29:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:35 prd-ubuntu20.04-docker-8c-8g-4636 does not seem to be running inside a container 20:29:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:29:36 $ docker top 4dae118e3f70b36125fb27c7077476e4b8ee7f7e404a8866a2ef0170c703960a -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:36 + go version 20:29:36 go version go1.18.7 linux/amd64 [Pipeline] } 20:29:36 $ docker stop --time=1 4dae118e3f70b36125fb27c7077476e4b8ee7f7e404a8866a2ef0170c703960a 20:29:37 $ docker rm -f --volumes 4dae118e3f70b36125fb27c7077476e4b8ee7f7e404a8866a2ef0170c703960a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:38 + docker inspect -f . ci-base-image-x86_64 20:29:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:38 prd-ubuntu20.04-docker-8c-8g-4636 does not seem to be running inside a container 20:29:38 $ 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-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:29:38 $ docker top 29ab6d74b8fbc8e4e2732c85114047739535d361583d79d89146a8bad82d49cc -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:38 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-274 [Pipeline] fileExists [Pipeline] sh 20:29:39 + make test 20:29:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:29:39 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:29:49 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:29:53 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 29.3% of statements 20:29:53 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:29:53 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.464s coverage: 86.5% of statements 20:30:01 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." 20:30:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:30:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:30:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:30:04 ./bin/test-attribution-txt.sh [Pipeline] echo 20:30:04 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:30:04 $ docker stop --time=1 29ab6d74b8fbc8e4e2732c85114047739535d361583d79d89146a8bad82d49cc 20:30:06 $ docker rm -f --volumes 29ab6d74b8fbc8e4e2732c85114047739535d361583d79d89146a8bad82d49cc [Pipeline] // withDockerContainer [Pipeline] sh 20:30:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:30:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:30:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:30:07 + ls -al . 20:30:07 total 248 20:30:07 drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 20:29 . 20:30:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:28 .. 20:30:07 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 20:29 .git 20:30:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:28 .github 20:30:07 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 20:28 .gitignore 20:30:07 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 20:28 .golangci.yml 20:30:07 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 20:28 .semver 20:30:07 -rw-rw-r-- 1 jenkins jenkins 9739 Mar 20 20:28 Attribution.txt 20:30:07 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 20:28 CHANGELOG.md 20:30:07 -rw-rw-r-- 1 jenkins jenkins 1637 Mar 20 20:28 Dockerfile 20:30:07 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 20:28 GOVERNANCE.md 20:30:07 -rw-rw-r-- 1 jenkins jenkins 762 Mar 20 20:28 Jenkinsfile 20:30:07 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 20:28 LICENSE 20:30:07 -rw-rw-r-- 1 jenkins jenkins 2858 Mar 20 20:28 Makefile 20:30:07 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 20:28 OWNERS.md 20:30:07 -rw-rw-r-- 1 jenkins jenkins 6499 Mar 20 20:28 README.md 20:30:07 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 20:28 VERSION 20:30:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:28 bin 20:30:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:28 cmd 20:30:07 -rw-r--r-- 1 jenkins jenkins 79184 Mar 20 20:29 coverage.out 20:30:07 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 20:28 doc 20:30:07 -rw-rw-r-- 1 jenkins jenkins 3693 Mar 20 20:28 go.mod 20:30:07 -rw-rw-r-- 1 jenkins jenkins 46117 Mar 20 20:28 go.sum 20:30:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:28 internal 20:30:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:28 snap 20:30:07 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 20:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:08 + 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=4dbc9892cd9cab629b06cbdeaea0749b7dae4814 --label arch=amd64 --label version=0.0.0 . 20:30:08 Sending build context to Docker daemon 27.12MB 20:30:08 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:30:08 Step 2/26 : FROM ${BASE} AS builder 20:30:08 ---> ae720cfc978b 20:30:08 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:30:08 ---> Running in eb8c48cc0e70 20:30:08 Removing intermediate container eb8c48cc0e70 20:30:08 ---> ddd7331be14a 20:30:08 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:30:08 ---> Running in b7ce387042a6 20:30:08 Removing intermediate container b7ce387042a6 20:30:08 ---> 153d17dba435 20:30:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:30:08 ---> Running in cb115ffd4aed 20:30:09 Removing intermediate container cb115ffd4aed 20:30:09 ---> 32f63ad7f686 20:30:09 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:30:09 ---> Running in c617f7238c41 20:30:09 Removing intermediate container c617f7238c41 20:30:09 ---> c57013b0ceee 20:30:09 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:30:09 ---> Running in e6f10aba9800 20:30:09 Removing intermediate container e6f10aba9800 20:30:09 ---> 689d4d02fc22 20:30:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:30:09 ---> Running in d8527fcd2968 20:30:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:30:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:30:09 OK: 211 MiB in 51 packages 20:30:10 Removing intermediate container d8527fcd2968 20:30:10 ---> 1d260a6919ea 20:30:10 Step 9/26 : WORKDIR /device-onvif-camera 20:30:10 ---> Running in 0f51b66be0c6 20:30:10 Removing intermediate container 0f51b66be0c6 20:30:10 ---> 7fc7ada08d6e 20:30:10 Step 10/26 : COPY go.mod vendor* ./ 20:30:10 ---> 3287af433a23 20:30:10 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:30:10 ---> Running in aacb6e4d9852 20:30:11 Removing intermediate container aacb6e4d9852 20:30:11 ---> 543f865447ca 20:30:11 Step 12/26 : COPY . . 20:30:12 ---> b8c8c229ebbb 20:30:12 Step 13/26 : RUN ${MAKE} 20:30:12 ---> Running in 2411dab51891 20:30:12 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.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 20:30:34 Removing intermediate container 2411dab51891 20:30:34 ---> 783bf85e04de 20:30:34 Step 14/26 : FROM alpine:3.16 20:30:35 3.16: Pulling from library/alpine 20:30:35 ef5531b6e74e: Pulling fs layer 20:30:35 ef5531b6e74e: Verifying Checksum 20:30:35 ef5531b6e74e: Download complete 20:30:35 ef5531b6e74e: Pull complete 20:30:35 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 20:30:35 Status: Downloaded newer image for alpine:3.16 20:30:35 ---> dfd21b5a31f5 20:30:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:30:35 ---> Running in 24d2ac86909a 20:30:35 Removing intermediate container 24d2ac86909a 20:30:35 ---> 4999b5e2fa87 20:30:35 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:30:35 ---> Running in 14f11aa655b1 20:30:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:30:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:30:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4637 in /w/workspace/undry_device-onvif-camera_PR-274 [Pipeline] { [Pipeline] ws 20:30:35 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 20:30:35 The recommended git tool is: git 20:30:36 (1/6) Installing dumb-init (1.2.5-r1) 20:30:36 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:30:36 (3/6) Installing libsodium (1.0.18-r0) 20:30:36 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:30:36 (5/6) Installing libzmq (4.3.4-r0) 20:30:36 (6/6) Installing zeromq (4.3.4-r0) 20:30:36 Executing busybox-1.35.0-r17.trigger 20:30:36 OK: 8 MiB in 20 packages 20:30:36 Removing intermediate container 14f11aa655b1 20:30:36 ---> a1d860f9f2a1 20:30:36 Step 17/26 : WORKDIR / 20:30:36 ---> Running in 3d2ea4c83583 20:30:36 Removing intermediate container 3d2ea4c83583 20:30:36 ---> 232e8830cc88 20:30:36 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:30:37 ---> 952f599a87d0 20:30:37 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:30:37 ---> 8758b037933b 20:30:37 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:30:37 ---> 80390468d78e 20:30:37 Step 21/26 : EXPOSE 59984 20:30:37 ---> Running in ded2b71e872b 20:30:37 Removing intermediate container ded2b71e872b 20:30:37 ---> f45da8d4686f 20:30:37 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:30:37 ---> Running in 1e204c037e52 20:30:37 Removing intermediate container 1e204c037e52 20:30:37 ---> fd389191d1e6 20:30:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:30:37 ---> Running in 0f64a5a9f6d9 20:30:37 Removing intermediate container 0f64a5a9f6d9 20:30:37 ---> 90fd4a51c64b 20:30:37 Step 24/26 : LABEL arch=amd64 20:30:37 ---> Running in ea2d5a5ca6b4 20:30:38 Removing intermediate container ea2d5a5ca6b4 20:30:38 ---> 2cd194a25270 20:30:38 Step 25/26 : LABEL git_sha=4dbc9892cd9cab629b06cbdeaea0749b7dae4814 20:30:38 ---> Running in ab0de0a1b086 20:30:38 Removing intermediate container ab0de0a1b086 20:30:38 ---> d87769c418ce 20:30:38 Step 26/26 : LABEL version=0.0.0 20:30:38 ---> Running in 0dec453ad759 20:30:38 Removing intermediate container 0dec453ad759 20:30:38 ---> 4a829bb8f9e2 20:30:38 [Warning] One or more build-args [ARCH] were not consumed 20:30:38 Successfully built 4a829bb8f9e2 20:30:38 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:30:38 20:30:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:30:39 latest: Pulling from edgex-lftools-log-publisher 20:30:39 5eb5b503b376: Pulling fs layer 20:30:39 5c69ac0246d0: Pulling fs layer 20:30:39 ec43610c2a17: Pulling fs layer 20:30:39 3a2ae6a8a46f: Pulling fs layer 20:30:39 33b1e0a273af: Pulling fs layer 20:30:39 5d3b04190fa2: Pulling fs layer 20:30:39 2f39f015ded8: Pulling fs layer 20:30:39 3a2ae6a8a46f: Waiting 20:30:39 33b1e0a273af: Waiting 20:30:39 2f39f015ded8: Waiting 20:30:39 5d3b04190fa2: Waiting 20:30:39 5c69ac0246d0: Verifying Checksum 20:30:39 5c69ac0246d0: Download complete 20:30:39 3a2ae6a8a46f: Verifying Checksum 20:30:39 3a2ae6a8a46f: Download complete 20:30:39 33b1e0a273af: Verifying Checksum 20:30:39 33b1e0a273af: Download complete 20:30:39 5d3b04190fa2: Verifying Checksum 20:30:39 5d3b04190fa2: Download complete 20:30:39 ec43610c2a17: Verifying Checksum 20:30:39 ec43610c2a17: Download complete 20:30:39 5eb5b503b376: Verifying Checksum 20:30:39 5eb5b503b376: Download complete 20:30:40 2f39f015ded8: Download complete 20:30:40 5eb5b503b376: Pull complete 20:30:40 5c69ac0246d0: Pull complete 20:30:41 ec43610c2a17: Pull complete 20:30:41 3a2ae6a8a46f: Pull complete 20:30:41 33b1e0a273af: Pull complete 20:30:41 5d3b04190fa2: Pull complete 20:30:42 using credential edgex-jenkins-ssh 20:30:42 Cloning the remote Git repository 20:30:42 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:30:42 > git init /w/workspace/device-onvif-camera/2 # timeout=10 20:30:42 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:30:42 > git --version # timeout=10 20:30:42 > git --version # 'git version 2.25.1' 20:30:42 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:30:44 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:30:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:30:45 2f39f015ded8: Pull complete 20:30:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:30:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:30:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:45 prd-ubuntu20.04-docker-8c-8g-4636 does not seem to be running inside a container 20:30:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:30:46 Merging remotes/origin/levski commit 0c6690d512fca69ab8f13dc5deb436fc09094519 into PR head commit 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 20:30:45 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:30:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:30:45 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/274/head:refs/remotes/origin/PR-274 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 20:30:46 > git config core.sparsecheckout # timeout=10 20:30:46 > git checkout -f 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 # timeout=10 20:30:46 Merge succeeded, producing 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 20:30:46 Checking out Revision 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 (PR-274) 20:30:46 > git remote # timeout=10 20:30:46 > git config --get remote.origin.url # timeout=10 20:30:46 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:46 > git merge 0c6690d512fca69ab8f13dc5deb436fc09094519 # timeout=10 20:30:46 > git rev-parse HEAD^{commit} # timeout=10 20:30:46 > git config core.sparsecheckout # timeout=10 20:30:46 > git checkout -f 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 # timeout=10 20:30:49 $ docker top f7f7bf7bac9aacb466fbd78e7108e16acfef486298c32fa7ae26a336b81a76ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:30:49 ---> job-cost.sh 20:30:49 lf-activate-venv: SKIPPING 20:30:49 INFO: No Stack... 20:30:50 INFO: Retrieving Pricing Info for: v3-standard-8 20:30:50 Commit message: "docs: code review comments addressed" 20:30:50 INFO: Archiving Costs [Pipeline] sh 20:30:50 + cat /w/workspace/undry_device-onvif-camera_PR-274/archives/cost.csv 20:30:50 + cut -d, -f6 [Pipeline] lock 20:30:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] 20:30:50 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] did not exist. Created. 20:30:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:30:50 20:30:50 GitHub has been notified of this commit’s build result 20:30:50 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:30:51 + echo total: 0.2199999988079071 [Pipeline] stash 20:30:51 Stashed 1 file(s) [Pipeline] } 20:30:51 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:30:51 $ docker stop --time=1 f7f7bf7bac9aacb466fbd78e7108e16acfef486298c32fa7ae26a336b81a76ca 20:30:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:30:51 % Total % Received % Xferd Average Speed Time Time Time Current 20:30:51 Dload Upload Total Spent Left Speed 20:30:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 20:30:52 $ docker rm -f --volumes f7f7bf7bac9aacb466fbd78e7108e16acfef486298c32fa7ae26a336b81a76ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:30:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:30:52 + sudo tee /etc/docker/daemon.new 20:30:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:30:52 { 20:30:52 "registry-mirrors": [ 20:30:52 "https://nexus3.edgexfoundry.org:10001" 20:30:52 ], 20:30:52 "bip": "10.250.0.254/24", 20:30:52 "hosts": [ 20:30:52 "tcp://0.0.0.0:5555", 20:30:52 "unix:///var/run/docker.sock" 20:30:52 ], 20:30:52 "mtu": 1458, 20:30:52 "selinux-enabled": true, 20:30:52 "seccomp-profile": "/etc/docker/seccomp.json" 20:30:52 } [Pipeline] sh 20:30:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:30:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:11 provisioning config files... 20:31:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config18114776354620927479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:12 ---> docker-login.sh 20:31:12 nexus3.edgexfoundry.org:10001 20:31:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:12 Configure a credential helper to remove this warning. See 20:31:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:12 20:31:12 Login Succeeded 20:31:12 nexus3.edgexfoundry.org:10002 20:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:13 Configure a credential helper to remove this warning. See 20:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:13 20:31:13 Login Succeeded 20:31:13 nexus3.edgexfoundry.org:10003 20:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:13 Configure a credential helper to remove this warning. See 20:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:13 20:31:13 Login Succeeded 20:31:13 nexus3.edgexfoundry.org:10004 20:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:13 Configure a credential helper to remove this warning. See 20:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:13 20:31:13 Login Succeeded 20:31:13 docker.io 20:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:14 Configure a credential helper to remove this warning. See 20:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:14 20:31:14 Login Succeeded 20:31:14 ---> docker-login.sh ends [Pipeline] } 20:31:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:31:14 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:14 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:14 ========================================================= 20:31:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:31:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:15 + 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 . 20:31:15 Sending build context to Docker daemon 19.74MB 20:31:15 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:31:15 Step 2/13 : FROM ${BASE} AS builder 20:31:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:31:15 9b18e9b68314: Pulling fs layer 20:31:15 35d82f9e3411: Pulling fs layer 20:31:15 e16973657156: Pulling fs layer 20:31:15 fc693d55d65f: Pulling fs layer 20:31:15 7e9fc2657dce: Pulling fs layer 20:31:15 dda99020689f: Pulling fs layer 20:31:15 db1c61fa0a46: Pulling fs layer 20:31:15 891c053d2c06: Pulling fs layer 20:31:15 dda99020689f: Waiting 20:31:15 db1c61fa0a46: Waiting 20:31:15 891c053d2c06: Waiting 20:31:15 fc693d55d65f: Waiting 20:31:15 e16973657156: Download complete 20:31:15 35d82f9e3411: Download complete 20:31:15 7e9fc2657dce: Download complete 20:31:15 dda99020689f: Verifying Checksum 20:31:15 dda99020689f: Download complete 20:31:15 9b18e9b68314: Verifying Checksum 20:31:15 9b18e9b68314: Download complete 20:31:16 9b18e9b68314: Pull complete 20:31:16 891c053d2c06: Verifying Checksum 20:31:16 891c053d2c06: Download complete 20:31:17 35d82f9e3411: Pull complete 20:31:17 e16973657156: Pull complete 20:31:18 db1c61fa0a46: Verifying Checksum 20:31:18 db1c61fa0a46: Download complete 20:31:18 fc693d55d65f: Verifying Checksum 20:31:18 fc693d55d65f: Download complete 20:31:31 fc693d55d65f: Pull complete 20:31:31 7e9fc2657dce: Pull complete 20:31:31 dda99020689f: Pull complete 20:31:37 db1c61fa0a46: Pull complete 20:31:39 891c053d2c06: Pull complete 20:31:39 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:31:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:31:39 ---> f96f9c87975a 20:31:39 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:31:41 ---> Running in 09d60807439a 20:31:41 Removing intermediate container 09d60807439a 20:31:41 ---> 2e1c016a9ca0 20:31:41 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:31:41 ---> Running in 588cd7543cc6 20:31:41 Removing intermediate container 588cd7543cc6 20:31:41 ---> 132e8bd997dd 20:31:41 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:31:41 ---> Running in 4751abbe3226 20:31:42 Removing intermediate container 4751abbe3226 20:31:42 ---> 52b362403f07 20:31:42 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:31:42 ---> Running in a25c8956c8de 20:31:42 Removing intermediate container a25c8956c8de 20:31:42 ---> 5e1b61c33f90 20:31:42 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:31:42 ---> Running in ea6cf2cb166a 20:31:42 Removing intermediate container ea6cf2cb166a 20:31:42 ---> 9a80f76b07a7 20:31:42 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:31:42 ---> Running in d4ebde4e45fd 20:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:31:45 OK: 221 MiB in 51 packages 20:31:46 Removing intermediate container d4ebde4e45fd 20:31:46 ---> 40b8411761b7 20:31:46 Step 9/13 : WORKDIR /device-onvif-camera 20:31:46 ---> Running in b8b77823752f 20:31:46 Removing intermediate container b8b77823752f 20:31:46 ---> e655a2b74a32 20:31:46 Step 10/13 : COPY go.mod vendor* ./ 20:31:49 ---> 10d1759b7f31 20:31:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:31:49 ---> Running in 9a48046987a9 20:32:46 Removing intermediate container 9a48046987a9 20:32:46 ---> e8ba4134c590 20:32:46 Step 12/13 : COPY . . 20:32:48 ---> fdacd8554c88 20:32:48 Step 13/13 : RUN ${MAKE} 20:32:48 ---> Running in 7abd6e2da667 20:32:49 noop 20:32:49 Removing intermediate container 7abd6e2da667 20:32:49 ---> d036e523e979 20:32:49 Successfully built d036e523e979 20:32:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:50 + docker inspect -f . ci-base-image-arm64 20:32:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:50 prd-ubuntu20.04-docker-arm64-4c-16g-4637 does not seem to be running inside a container 20:32:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:32:51 $ docker top 8bc418534e519c1eb03247e6e22776b8f311cb72eefceb7aad948ff167456df6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:52 + go version 20:32:52 go version go1.18.7 linux/arm64 [Pipeline] } 20:32:52 $ docker stop --time=1 8bc418534e519c1eb03247e6e22776b8f311cb72eefceb7aad948ff167456df6 20:32:54 $ docker rm -f --volumes 8bc418534e519c1eb03247e6e22776b8f311cb72eefceb7aad948ff167456df6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:54 + docker inspect -f . ci-base-image-arm64 20:32:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:55 prd-ubuntu20.04-docker-arm64-4c-16g-4637 does not seem to be running inside a container 20:32:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:32:56 $ docker top 685d0e0a499796efe23e695044c0fda20b31c13772c102ed3668e10151700616 -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:57 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 20:32:57 + make test 20:32:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:32:59 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:34:36 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:34:36 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.192s coverage: 29.3% of statements 20:34:36 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:34:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.226s coverage: 86.5% of statements 20:34:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:34:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:35:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:35:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:35:26 ./bin/test-attribution-txt.sh [Pipeline] echo 20:35:26 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:35:26 $ docker stop --time=1 685d0e0a499796efe23e695044c0fda20b31c13772c102ed3668e10151700616 20:35:28 $ docker rm -f --volumes 685d0e0a499796efe23e695044c0fda20b31c13772c102ed3668e10151700616 [Pipeline] // withDockerContainer [Pipeline] sh 20:35:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:35:29 Warning: overwriting stash ‘coverage-report’ 20:35:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:35:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:35:32 + ls -al . 20:35:32 total 244 20:35:32 drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 20:32 . 20:35:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:30 .. 20:35:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 20:30 .git 20:35:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:30 .github 20:35:32 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 20:30 .gitignore 20:35:32 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 20:30 .golangci.yml 20:35:32 -rw-rw-r-- 1 jenkins jenkins 9739 Mar 20 20:30 Attribution.txt 20:35:32 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 20:30 CHANGELOG.md 20:35:32 -rw-rw-r-- 1 jenkins jenkins 1637 Mar 20 20:30 Dockerfile 20:35:32 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 20:30 GOVERNANCE.md 20:35:32 -rw-rw-r-- 1 jenkins jenkins 762 Mar 20 20:30 Jenkinsfile 20:35:32 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 20:30 LICENSE 20:35:32 -rw-rw-r-- 1 jenkins jenkins 2858 Mar 20 20:30 Makefile 20:35:32 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 20:30 OWNERS.md 20:35:32 -rw-rw-r-- 1 jenkins jenkins 6499 Mar 20 20:30 README.md 20:35:32 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 20:28 VERSION 20:35:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:30 bin 20:35:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:30 cmd 20:35:32 -rw-r--r-- 1 jenkins jenkins 79184 Mar 20 20:34 coverage.out 20:35:32 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 20:30 doc 20:35:32 -rw-rw-r-- 1 jenkins jenkins 3693 Mar 20 20:30 go.mod 20:35:32 -rw-rw-r-- 1 jenkins jenkins 46117 Mar 20 20:30 go.sum 20:35:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:30 internal 20:35:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:30 snap 20:35:32 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 20:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:32 + 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=4dbc9892cd9cab629b06cbdeaea0749b7dae4814 --label arch=arm64 --label version=0.0.0 . 20:35:33 Sending build context to Docker daemon 19.82MB 20:35:33 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:35:33 Step 2/26 : FROM ${BASE} AS builder 20:35:33 ---> d036e523e979 20:35:33 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:35:33 ---> Running in 6cdcb3d03c72 20:35:34 Removing intermediate container 6cdcb3d03c72 20:35:34 ---> 3f790209e4b2 20:35:34 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:35:34 ---> Running in 71e7a7066a2f 20:35:34 Removing intermediate container 71e7a7066a2f 20:35:34 ---> f9ceef009993 20:35:34 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:35:34 ---> Running in abd30439e54c 20:35:34 Removing intermediate container abd30439e54c 20:35:34 ---> 448b08c4e8e3 20:35:34 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:35:34 ---> Running in 2649d4da72b9 20:35:35 Removing intermediate container 2649d4da72b9 20:35:35 ---> abd67c3e6732 20:35:35 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:35:35 ---> Running in b2d9c5d02444 20:35:35 Removing intermediate container b2d9c5d02444 20:35:35 ---> 9dff8abdc904 20:35:35 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:35:35 ---> Running in 996627acb7e3 20:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:35:37 OK: 221 MiB in 51 packages 20:35:38 Removing intermediate container 996627acb7e3 20:35:38 ---> 4695192c6a6d 20:35:38 Step 9/26 : WORKDIR /device-onvif-camera 20:35:38 ---> Running in c7341567b017 20:35:39 Removing intermediate container c7341567b017 20:35:39 ---> e8385ee6cdb8 20:35:39 Step 10/26 : COPY go.mod vendor* ./ 20:35:39 ---> 0fd1d10207cd 20:35:39 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:35:40 ---> Running in 96b30701e093 20:35:42 Removing intermediate container 96b30701e093 20:35:42 ---> 701dbdcbecc7 20:35:42 Step 12/26 : COPY . . 20:35:44 ---> 8f9c299f5990 20:35:44 Step 13/26 : RUN ${MAKE} 20:35:44 ---> Running in 174b8eee1c12 20:35:45 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.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 20:38:06 Removing intermediate container 174b8eee1c12 20:38:06 ---> 512fd7500628 20:38:06 Step 14/26 : FROM alpine:3.16 20:38:06 3.16: Pulling from library/alpine 20:38:06 3760b48202b3: Pulling fs layer 20:38:06 3760b48202b3: Verifying Checksum 20:38:06 3760b48202b3: Download complete 20:38:06 3760b48202b3: Pull complete 20:38:06 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 20:38:06 Status: Downloaded newer image for alpine:3.16 20:38:06 ---> 4c81e5bf8899 20:38:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:38:06 ---> Running in 5994c249e53a 20:38:06 Removing intermediate container 5994c249e53a 20:38:06 ---> b3821fd2daf8 20:38:06 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:38:06 ---> Running in 0ebd543e376b 20:38:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:38:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:38:08 (1/6) Installing dumb-init (1.2.5-r1) 20:38:08 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:38:08 (3/6) Installing libsodium (1.0.18-r0) 20:38:08 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:38:08 (5/6) Installing libzmq (4.3.4-r0) 20:38:08 (6/6) Installing zeromq (4.3.4-r0) 20:38:09 Executing busybox-1.35.0-r17.trigger 20:38:09 OK: 8 MiB in 20 packages 20:38:09 Removing intermediate container 0ebd543e376b 20:38:09 ---> 03c9bb8e22c0 20:38:09 Step 17/26 : WORKDIR / 20:38:09 ---> Running in 7a6c373c3b11 20:38:10 Removing intermediate container 7a6c373c3b11 20:38:10 ---> 9a65b9edee31 20:38:10 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:38:11 ---> 1344a0b884f0 20:38:11 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:38:12 ---> b84342e8836d 20:38:12 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:38:12 ---> 987d010cecb7 20:38:12 Step 21/26 : EXPOSE 59984 20:38:12 ---> Running in 4f5732f6351f 20:38:13 Removing intermediate container 4f5732f6351f 20:38:13 ---> 3f3e3a834b9b 20:38:13 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:38:13 ---> Running in bb4bdc4f1489 20:38:13 Removing intermediate container bb4bdc4f1489 20:38:13 ---> b4c2c2fc4b5c 20:38:13 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:38:13 ---> Running in 44115298530b 20:38:13 Removing intermediate container 44115298530b 20:38:13 ---> 541a90be0b87 20:38:13 Step 24/26 : LABEL arch=arm64 20:38:13 ---> Running in bda96af3cf4e 20:38:14 Removing intermediate container bda96af3cf4e 20:38:14 ---> 39f02453b583 20:38:14 Step 25/26 : LABEL git_sha=4dbc9892cd9cab629b06cbdeaea0749b7dae4814 20:38:14 ---> Running in 0e4bf6f668ec 20:38:14 Removing intermediate container 0e4bf6f668ec 20:38:14 ---> 48db6bc9ddca 20:38:14 Step 26/26 : LABEL version=0.0.0 20:38:15 ---> Running in 78e99cd8b629 20:38:15 Removing intermediate container 78e99cd8b629 20:38:15 ---> c896ad298905 20:38:15 [Warning] One or more build-args [ARCH] were not consumed 20:38:15 Successfully built c896ad298905 20:38:15 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:38:15 20:38:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:38:16 arm64: Pulling from edgex-lftools-log-publisher 20:38:16 8998bd30e6a1: Pulling fs layer 20:38:16 04944245beec: Pulling fs layer 20:38:16 699f458cf7ca: Pulling fs layer 20:38:16 765212b225bb: Pulling fs layer 20:38:16 f23df028b6ca: Pulling fs layer 20:38:16 d65c8cfc05b1: Pulling fs layer 20:38:16 2437ff75d9bd: Pulling fs layer 20:38:16 f23df028b6ca: Waiting 20:38:16 765212b225bb: Waiting 20:38:16 2437ff75d9bd: Waiting 20:38:16 04944245beec: Verifying Checksum 20:38:16 04944245beec: Download complete 20:38:16 765212b225bb: Verifying Checksum 20:38:16 765212b225bb: Download complete 20:38:16 f23df028b6ca: Verifying Checksum 20:38:16 f23df028b6ca: Download complete 20:38:16 d65c8cfc05b1: Verifying Checksum 20:38:16 d65c8cfc05b1: Download complete 20:38:16 699f458cf7ca: Verifying Checksum 20:38:16 699f458cf7ca: Download complete 20:38:16 8998bd30e6a1: Verifying Checksum 20:38:16 8998bd30e6a1: Download complete 20:38:19 2437ff75d9bd: Verifying Checksum 20:38:19 2437ff75d9bd: Download complete 20:38:20 8998bd30e6a1: Pull complete 20:38:22 04944245beec: Pull complete 20:38:23 699f458cf7ca: Pull complete 20:38:23 765212b225bb: Pull complete 20:38:24 f23df028b6ca: Pull complete 20:38:24 d65c8cfc05b1: Pull complete 20:38:39 2437ff75d9bd: Pull complete 20:38:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:38:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:38:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:39 prd-ubuntu20.04-docker-arm64-4c-16g-4637 does not seem to be running inside a container 20:38:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:38:42 $ docker top 189736835f5a0ffecfb0401a8e18c4962cb2db8cdf259751a6680a0aa81247c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:38:42 ---> job-cost.sh 20:38:43 lf-activate-venv: SKIPPING 20:38:43 INFO: No Stack... 20:38:43 INFO: Retrieving Pricing Info for: v3-standard-4 20:38:44 INFO: Archiving Costs [Pipeline] sh 20:38:44 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 20:38:44 + cut -d, -f6 [Pipeline] lock 20:38:44 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] 20:38:44 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] did not exist. Created. 20:38:44 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:38:45 /w/workspace/device-onvif-camera/2@tmp/durable-d6faeefd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:38:46 + echo total: 0.10999999940395355 [Pipeline] stash 20:38:46 Warning: overwriting stash ‘stack-cost’ 20:38:46 Stashed 1 file(s) [Pipeline] } 20:38:46 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:38:46 $ docker stop --time=1 189736835f5a0ffecfb0401a8e18c4962cb2db8cdf259751a6680a0aa81247c8 20:38:47 $ docker rm -f --volumes 189736835f5a0ffecfb0401a8e18c4962cb2db8cdf259751a6680a0aa81247c8 [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 20:38:48 provisioning config files... 20:38:48 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-274@tmp/config2571881927690376761tmp [Pipeline] { [Pipeline] sh 20:38:48 + set +x 20:38:48 + curl -s https://codecov.io/bash 20:38:48 + bash -s -- 20:38:48 20:38:48 _____ _ 20:38:48 / ____| | | 20:38:48 | | ___ __| | ___ ___ _____ __ 20:38:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:38:48 | |___| (_) | (_| | __/ (_| (_) \ V / 20:38:48 \_____\___/ \__,_|\___|\___\___/ \_/ 20:38:48 Bash-1.0.6 20:38:48 20:38:48 20:38:48 ==> git version 2.25.1 found 20:38:48 ==> 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 20:38:48 Release-Date: 2020-01-08 20:38:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:38:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:38:48 ==> Jenkins CI detected. 20:38:48 current dir:  /w/workspace/undry_device-onvif-camera_PR-274 20:38:48 project root: . 20:38:48 --> token set from env 20:38:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:38:48 ==> Running gcov in . (disable via -X gcov) 20:38:48 ==> Python coveragepy not found 20:38:48 ==> Searching for coverage reports in: 20:38:48 + . 20:38:48 -> Found 1 reports 20:38:48 ==> Detecting git/mercurial file structure 20:38:48 ==> Reading reports 20:38:48 + ./coverage.out bytes=79184 20:38:48 ==> Appending adjustments 20:38:48 https://docs.codecov.io/docs/fixing-reports 20:38:48 + Found adjustments 20:38:48 ==> Gzipping contents 20:38:48 12K /tmp/codecov.8tEZyN.gz 20:38:48 ==> Uploading reports 20:38:48 url: https://codecov.io 20:38:48 query: branch=PR-274&commit=4dbc9892cd9cab629b06cbdeaea0749b7dae4814&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-274%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=274&job=&cmd_args= 20:38:48 -> Pinging Codecov 20:38:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-274&commit=4dbc9892cd9cab629b06cbdeaea0749b7dae4814&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-274%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=274&job=&cmd_args= 20:38:49 -> Uploading to 20:38:49 https://storage.googleapis.com/codecov/v4/raw/2023-03-20/F29A59C45E3A92E06B3E522C9905F8EF/4dbc9892cd9cab629b06cbdeaea0749b7dae4814/b5f4d610-0893-416e-998e-860ac8e8ad26.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230320T203848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=81f9a6306afa452e023dd0a258a555914d256282534de1b2849d62c9595bfa34 20:38:49 % Total % Received % Xferd Average Speed Time Time Time Current 20:38:49 Dload Upload Total Spent Left Speed 20:38:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10823 0 0 100 10823 0 41467 --:--:-- --:--:-- --:--:-- 41467 20:38:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [Pipeline] } 20:38:49 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 20:38:49 + [ -d /w/workspace/undry_device-onvif-camera_PR-274/archives ] 20:38:49 + ls -al /w/workspace/undry_device-onvif-camera_PR-274/archives 20:38:49 total 16 20:38:49 drwxr-xr-x 3 root root 4096 Mar 20 20:30 . 20:38:49 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 20:30 .. 20:38:49 drwxr-xr-x 2 root root 4096 Mar 20 20:30 cost 20:38:49 -rw-r--r-- 1 root root 91 Mar 20 20:30 cost.csv 20:38:49 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-274/archives 20:38:49 + ls -al /w/workspace/undry_device-onvif-camera_PR-274/archives 20:38:49 total 16 20:38:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 20:30 . 20:38:49 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 20:30 .. 20:38:49 drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 20:30 cost 20:38:49 -rw-r--r-- 1 jenkins jenkins 91 Mar 20 20:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:38:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:38:51 ---> package-listing.sh 20:38:51 ++ facter osfamily 20:38:51 ++ tr '[:upper:]' '[:lower:]' 20:38:51 + OS_FAMILY=debian 20:38:51 + workspace=/w/workspace/undry_device-onvif-camera_PR-274 20:38:51 + START_PACKAGES=/tmp/packages_start.txt 20:38:51 + END_PACKAGES=/tmp/packages_end.txt 20:38:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:38:51 + PACKAGES=/tmp/packages_start.txt 20:38:51 + '[' /w/workspace/undry_device-onvif-camera_PR-274 ']' 20:38:51 + PACKAGES=/tmp/packages_end.txt 20:38:51 + case "${OS_FAMILY}" in 20:38:51 + dpkg -l 20:38:51 + grep '^ii' 20:38:51 + '[' -f /tmp/packages_start.txt ']' 20:38:51 + '[' -f /tmp/packages_end.txt ']' 20:38:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:38:51 + '[' /w/workspace/undry_device-onvif-camera_PR-274 ']' 20:38:51 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-274/archives/ 20:38:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-274/archives/ [Pipeline] echo 20:38:51 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-274/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:38:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:38:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:52 prd-ubuntu20.04-docker-8c-8g-4636 does not seem to be running inside a container 20:38:52 $ 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-274/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-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:38:52 $ docker top 89a876429b525cd669ac0d25db5b33e1cd5cdac88f9ded2ae888d0ae5086ca66 -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:52 + touch /tmp/pre-build-complete [Pipeline] sh 20:38:53 + mkdir -p /var/log/sysstat [Pipeline] sh 20:38:53 + ls /var/log/sa-host 20:38:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:38:53 provisioning config files... 20:38:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-274@tmp/config3780899911515788060tmp [Pipeline] { [Pipeline] echo 20:38:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:38:53 ---> create-netrc.sh [Pipeline] } 20:38:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:38:54 ---> python-tools-install.sh [Pipeline] echo 20:38:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:38:54 ---> sudo-logs.sh 20:38:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:38:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:38:54 ---> job-cost.sh 20:38:54 lf-activate-venv: SKIPPING 20:38:54 DEBUG: total: 0.2199999988079071 20:38:54 INFO: Retrieving Stack Cost... 20:38:55 INFO: Retrieving Pricing Info for: v3-standard-8 20:38:55 INFO: Archiving Costs [Pipeline] echo 20:38:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:38:55 ---> logs-deploy.sh 20:38:55 lf-activate-venv: SKIPPING 20:38:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-274/2 20:38:55 INFO: archiving workspace using pattern(s): 20:38:56 Archives upload complete. 20:38:57 INFO: archiving logs to Nexus 20:38:57 ---> uname -a: 20:38:57 Linux prd-ubuntu20-04-docker-8c-8g-4636 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:38:57 20:38:57 20:38:57 ---> lscpu: 20:38:57 Architecture: x86_64 20:38:57 CPU op-mode(s): 32-bit, 64-bit 20:38:57 Byte Order: Little Endian 20:38:57 Address sizes: 40 bits physical, 48 bits virtual 20:38:57 CPU(s): 8 20:38:57 On-line CPU(s) list: 0-7 20:38:57 Thread(s) per core: 1 20:38:57 Core(s) per socket: 1 20:38:57 Socket(s): 8 20:38:57 NUMA node(s): 1 20:38:57 Vendor ID: AuthenticAMD 20:38:57 CPU family: 23 20:38:57 Model: 49 20:38:57 Model name: AMD EPYC-Rome Processor 20:38:57 Stepping: 0 20:38:57 CPU MHz: 2800.000 20:38:57 BogoMIPS: 5600.00 20:38:57 Virtualization: AMD-V 20:38:57 Hypervisor vendor: KVM 20:38:57 Virtualization type: full 20:38:57 L1d cache: 256 KiB 20:38:57 L1i cache: 256 KiB 20:38:57 L2 cache: 4 MiB 20:38:57 L3 cache: 128 MiB 20:38:57 NUMA node0 CPU(s): 0-7 20:38:57 Vulnerability Itlb multihit: Not affected 20:38:57 Vulnerability L1tf: Not affected 20:38:57 Vulnerability Mds: Not affected 20:38:57 Vulnerability Meltdown: Not affected 20:38:57 Vulnerability Mmio stale data: Not affected 20:38:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:38:57 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:38:57 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:38:57 Vulnerability Srbds: Not affected 20:38:57 Vulnerability Tsx async abort: Not affected 20:38:57 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 20:38:57 20:38:57 20:38:57 ---> nproc: 20:38:57 8 20:38:57 20:38:57 20:38:57 ---> df -h: 20:38:57 Filesystem Size Used Avail Use% Mounted on 20:38:57 overlay 155G 12G 144G 8% / 20:38:57 tmpfs 64M 0 64M 0% /dev 20:38:57 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:38:57 shm 64M 0 64M 0% /dev/shm 20:38:57 /dev/vda1 155G 12G 144G 8% /facter-os 20:38:57 20:38:57 20:38:57 ---> sar -b -r -n DEV: 20:38:57 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4636) 03/20/23 _x86_64_ (8 CPU) 20:38:57 20:38:57 20:27:46 LINUX RESTART (8 CPU) 20:38:57 20:38:57 20:28:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:38:57 20:29:01 349.46 47.88 301.58 0.00 5401.50 85591.33 0.00 20:38:57 20:30:01 135.36 0.58 134.78 0.00 14.00 42863.39 0.00 20:38:57 20:31:01 183.90 0.20 183.70 0.00 12.93 43881.35 0.00 20:38:57 20:32:01 1.25 0.00 1.25 0.00 0.00 15.21 0.00 20:38:57 20:33:01 40.60 10.41 30.19 0.00 2911.16 4997.93 0.00 20:38:57 20:34:01 18.60 1.23 17.36 0.00 2270.42 3799.63 0.00 20:38:57 20:35:01 3.17 0.02 3.15 0.00 0.13 88.39 0.00 20:38:57 20:36:01 1.90 0.00 1.90 0.00 0.00 20.40 0.00 20:38:57 20:37:01 1.43 0.00 1.43 0.00 0.00 15.73 0.00 20:38:57 20:38:01 1.78 0.00 1.78 0.00 0.00 19.99 0.00 20:38:57 Average: 73.74 6.03 67.71 0.00 1061.03 18128.82 0.00 20:38:57 20:38:57 20:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:38:57 20:29:01 29152600 31594028 725712 2.21 72904 2648340 1987756 5.86 1010036 2370536 272 20:38:57 20:30:01 28300232 31554660 743776 2.26 141024 3303696 1895872 5.59 1271428 2851808 152764 20:38:57 20:31:01 27703832 31589928 707748 2.15 153504 3886784 1788892 5.27 1290148 3386472 160 20:38:57 20:32:01 27704152 31590264 707188 2.15 153532 3886788 1788892 5.27 1289792 3386476 168 20:38:57 20:33:01 27372772 31542304 743116 2.26 172216 4138664 1848876 5.45 1473872 3506260 136 20:38:57 20:34:01 27174796 31569004 715036 2.17 187060 4342924 1838852 5.42 1614456 3556256 16 20:38:57 20:35:01 27181252 31570756 712200 2.17 185596 4339672 1795340 5.29 1610892 3553056 8 20:38:57 20:36:01 27187332 31576892 706004 2.15 185648 4339672 1795340 5.29 1604808 3553056 12 20:38:57 20:37:01 27187324 31576948 705888 2.15 185708 4339676 1795340 5.29 1604856 3553060 8 20:38:57 20:38:01 27187316 31576968 705980 2.15 185724 4339680 1795340 5.29 1604888 3553064 4 20:38:57 Average: 27615161 31574175 717265 2.18 162292 3956590 1833050 5.40 1437518 3327004 15355 20:38:57 20:38:57 20:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:38:57 20:29:01 docker0 11.81 10.31 1.07 118.05 0.00 0.00 0.00 0.00 20:38:57 20:29:01 ens3 644.23 443.29 6641.48 115.40 0.00 0.00 0.00 0.00 20:38:57 20:29:01 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 20:38:57 20:30:01 docker0 180.12 299.62 13.92 1818.00 0.00 0.00 0.00 0.00 20:38:57 20:30:01 ens3 333.03 202.00 1848.52 29.60 0.00 0.00 0.00 0.00 20:38:57 20:30:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:38:57 20:30:01 veth7f8b7ed 0.05 0.18 0.00 0.01 0.00 0.00 0.00 0.00 20:38:57 20:31:01 docker0 3.92 8.92 0.25 98.59 0.00 0.00 0.00 0.00 20:38:57 20:31:01 ens3 149.19 91.73 2687.64 21.57 0.00 0.00 0.00 0.00 20:38:57 20:31:01 lo 1.87 1.87 0.18 0.18 0.00 0.00 0.00 0.00 20:38:57 20:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:38:57 20:32:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 20:38:57 20:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:38:57 20:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:38:57 20:33:01 ens3 66.04 31.91 1434.55 2.51 0.00 0.00 0.00 0.00 20:38:57 20:33:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 20:38:57 20:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:38:57 20:34:01 ens3 112.16 58.09 1372.53 3.91 0.00 0.00 0.00 0.00 20:38:57 20:34:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 20:38:57 20:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:38:57 20:35:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:38:57 20:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:38:57 20:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:38:57 20:36:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 20:38:57 20:36:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:38:57 20:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:38:57 20:37:01 ens3 0.02 0.03 0.00 0.00 0.00 0.00 0.00 0.00 20:38:57 20:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:38:57 20:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:38:57 20:38:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 20:38:57 20:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:38:57 Average: docker0 19.58 31.88 1.52 203.46 0.00 0.00 0.00 0.00 20:38:57 Average: ens3 130.50 82.74 1398.45 17.30 0.00 0.00 0.00 0.00 20:38:57 Average: lo 1.05 1.05 0.10 0.10 0.00 0.00 0.00 0.00 20:38:57 20:38:57 20:38:57 ---> sar -P ALL: 20:38:57 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4636) 03/20/23 _x86_64_ (8 CPU) 20:38:57 20:38:57 20:27:46 LINUX RESTART (8 CPU) 20:38:57 20:38:57 20:28:01 CPU %user %nice %system %iowait %steal %idle 20:38:57 20:29:01 all 9.47 0.00 3.31 4.36 0.07 82.80 20:38:57 20:29:01 0 13.50 0.00 3.24 1.93 0.08 81.24 20:38:57 20:29:01 1 8.95 0.00 3.74 5.70 0.07 81.55 20:38:57 20:29:01 2 6.65 0.00 4.40 1.10 0.08 87.77 20:38:57 20:29:01 3 8.31 0.00 2.42 0.86 0.07 88.35 20:38:57 20:29:01 4 8.29 0.00 2.70 3.14 0.05 85.82 20:38:57 20:29:01 5 9.91 0.00 2.50 9.79 0.05 77.75 20:38:57 20:29:01 6 11.27 0.00 3.99 11.25 0.07 73.42 20:38:57 20:29:01 7 8.88 0.00 3.47 1.12 0.08 86.46 20:38:57 20:30:01 all 25.55 0.00 4.62 2.69 0.08 67.06 20:38:57 20:30:01 0 25.54 0.00 4.04 0.08 0.07 70.27 20:38:57 20:30:01 1 24.81 0.00 4.43 0.89 0.07 69.81 20:38:57 20:30:01 2 24.69 0.00 4.27 0.13 0.07 70.84 20:38:57 20:30:01 3 26.72 0.00 4.74 0.05 0.08 68.41 20:38:57 20:30:01 4 26.96 0.00 5.82 8.50 0.10 58.61 20:38:57 20:30:01 5 25.21 0.00 4.25 0.86 0.07 69.62 20:38:57 20:30:01 6 24.37 0.00 4.58 10.76 0.07 60.22 20:38:57 20:30:01 7 26.15 0.00 4.85 0.25 0.10 68.64 20:38:57 20:31:01 all 23.86 0.00 4.95 2.18 0.11 68.90 20:38:57 20:31:01 0 24.38 0.00 4.89 0.86 0.12 69.76 20:38:57 20:31:01 1 23.36 0.00 4.65 0.34 0.07 71.58 20:38:57 20:31:01 2 24.72 0.00 5.02 4.17 0.08 66.01 20:38:57 20:31:01 3 22.04 0.00 4.97 2.81 0.12 70.06 20:38:57 20:31:01 4 25.22 0.00 5.72 6.97 0.20 61.89 20:38:57 20:31:01 5 24.42 0.00 4.54 0.25 0.12 70.66 20:38:57 20:31:01 6 22.27 0.00 4.97 1.61 0.08 71.06 20:38:57 20:31:01 7 24.47 0.00 4.84 0.37 0.12 70.19 20:38:57 20:32:01 all 0.03 0.00 0.00 0.00 0.01 99.95 20:38:57 20:32:01 0 0.07 0.00 0.00 0.00 0.02 99.92 20:38:57 20:32:01 1 0.03 0.00 0.02 0.00 0.03 99.92 20:38:57 20:32:01 2 0.02 0.00 0.00 0.00 0.00 99.98 20:38:57 20:32:01 3 0.00 0.00 0.00 0.02 0.02 99.97 20:38:57 20:32:01 4 0.00 0.00 0.02 0.02 0.00 99.97 20:38:57 20:32:01 5 0.03 0.00 0.00 0.00 0.00 99.97 20:38:57 20:32:01 6 0.03 0.00 0.00 0.00 0.02 99.95 20:38:57 20:32:01 7 0.03 0.00 0.00 0.00 0.00 99.97 20:38:57 20:33:01 all 1.38 0.00 0.75 0.52 0.02 97.33 20:38:57 20:33:01 0 2.10 0.00 0.42 0.07 0.00 97.41 20:38:57 20:33:01 1 2.20 0.00 0.43 0.60 0.03 96.74 20:38:57 20:33:01 2 1.23 0.00 0.88 0.83 0.02 97.03 20:38:57 20:33:01 3 0.90 0.00 0.52 1.02 0.02 97.55 20:38:57 20:33:01 4 0.68 0.00 0.40 0.02 0.02 98.88 20:38:57 20:33:01 5 0.87 0.00 0.97 0.75 0.02 97.40 20:38:57 20:33:01 6 1.37 0.00 1.62 0.62 0.02 96.38 20:38:57 20:33:01 7 1.69 0.00 0.73 0.30 0.02 97.26 20:38:57 20:34:01 all 1.23 0.00 0.61 0.30 0.01 97.85 20:38:57 20:34:01 0 0.88 0.00 1.17 0.05 0.02 97.88 20:38:57 20:34:01 1 2.73 0.00 0.38 0.92 0.02 95.96 20:38:57 20:34:01 2 1.12 0.00 0.63 0.68 0.00 97.57 20:38:57 20:34:01 3 0.58 0.00 0.38 0.62 0.00 98.42 20:38:57 20:34:01 4 0.78 0.00 0.47 0.02 0.03 98.70 20:38:57 20:34:01 5 0.35 0.00 0.18 0.02 0.02 99.43 20:38:57 20:34:01 6 1.97 0.00 1.20 0.03 0.00 96.80 20:38:57 20:34:01 7 1.37 0.00 0.47 0.03 0.02 98.11 20:38:57 20:35:01 all 0.17 0.00 0.06 0.03 0.01 99.74 20:38:57 20:35:01 0 0.10 0.00 0.05 0.00 0.00 99.85 20:38:57 20:35:01 1 0.78 0.00 0.03 0.02 0.02 99.15 20:38:57 20:35:01 2 0.07 0.00 0.07 0.00 0.02 99.85 20:38:57 20:35:01 3 0.02 0.00 0.05 0.22 0.02 99.70 20:38:57 20:35:01 4 0.03 0.00 0.03 0.00 0.00 99.93 20:38:57 20:35:01 5 0.12 0.00 0.10 0.00 0.02 99.77 20:38:57 20:35:01 6 0.02 0.00 0.03 0.00 0.00 99.95 20:38:57 20:35:01 7 0.22 0.00 0.08 0.00 0.00 99.70 20:38:57 20:36:01 all 0.16 0.00 0.01 0.01 0.01 99.81 20:38:57 20:36:01 0 0.03 0.00 0.00 0.00 0.00 99.97 20:38:57 20:36:01 1 1.16 0.00 0.00 0.00 0.00 98.84 20:38:57 20:36:01 2 0.00 0.00 0.03 0.00 0.00 99.97 20:38:57 20:36:01 3 0.00 0.00 0.00 0.07 0.00 99.93 20:38:57 20:36:01 4 0.03 0.00 0.00 0.00 0.02 99.95 20:38:57 20:36:01 5 0.03 0.00 0.03 0.00 0.03 99.90 20:38:57 20:36:01 6 0.02 0.00 0.00 0.00 0.00 99.98 20:38:57 20:36:01 7 0.00 0.00 0.02 0.00 0.00 99.98 20:38:57 20:37:01 all 0.13 0.00 0.01 0.02 0.01 99.83 20:38:57 20:37:01 0 0.00 0.00 0.02 0.00 0.02 99.97 20:38:57 20:37:01 1 0.95 0.00 0.02 0.00 0.02 99.02 20:38:57 20:37:01 2 0.02 0.00 0.00 0.00 0.00 99.98 20:38:57 20:37:01 3 0.00 0.00 0.00 0.18 0.02 99.80 20:38:57 20:37:01 4 0.00 0.00 0.00 0.00 0.00 100.00 20:38:57 20:37:01 5 0.05 0.00 0.02 0.00 0.02 99.92 20:38:57 20:37:01 6 0.00 0.00 0.00 0.00 0.02 99.98 20:38:57 20:37:01 7 0.02 0.00 0.02 0.00 0.00 99.97 20:38:57 20:38:01 all 0.27 0.00 0.01 0.02 0.00 99.69 20:38:57 20:38:01 0 0.05 0.00 0.02 0.00 0.00 99.93 20:38:57 20:38:01 1 2.00 0.00 0.02 0.00 0.00 97.98 20:38:57 20:38:01 2 0.00 0.00 0.00 0.00 0.00 100.00 20:38:57 20:38:01 3 0.00 0.00 0.00 0.10 0.00 99.90 20:38:57 20:38:01 4 0.02 0.00 0.02 0.02 0.02 99.93 20:38:57 20:38:01 5 0.08 0.00 0.02 0.02 0.02 99.87 20:38:57 20:38:01 6 0.02 0.00 0.00 0.00 0.00 99.98 20:38:57 20:38:01 7 0.00 0.00 0.02 0.00 0.00 99.98 20:38:57 Average: all 6.18 0.00 1.42 1.01 0.03 91.36 20:38:57 Average: 0 6.62 0.00 1.38 0.30 0.03 91.67 20:38:57 Average: 1 6.64 0.00 1.36 0.84 0.03 91.13 20:38:57 Average: 2 5.81 0.00 1.52 0.69 0.03 91.96 20:38:57 Average: 3 5.81 0.00 1.30 0.59 0.03 92.27 20:38:57 Average: 4 6.16 0.00 1.51 1.85 0.04 90.43 20:38:57 Average: 5 6.06 0.00 1.25 1.16 0.04 91.49 20:38:57 Average: 6 6.08 0.00 1.63 2.41 0.03 89.85 20:38:57 Average: 7 6.22 0.00 1.44 0.21 0.03 92.10 20:38:57 20:38:57 20:38:57