Pull request #152 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 main at 87f15e26a71a8026a682f6867a4ab9a3284585c9 rather than 93dadf11464e800d463b181b6237fc617ac7c8d5 Obtained Jenkinsfile from 87f15e26a71a8026a682f6867a4ab9a3284585c9 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-ssh11430689143189749450.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13700010685147870447.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-152/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-152/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1828146988271465097.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12578142447126627446.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-152/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-152/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10673637229918061873.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-24372’ Running on prd-ubuntu20.04-docker-8c-8g-24376 in /w/workspace/undry_device-onvif-camera_PR-152 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-152 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 87f15e26a71a8026a682f6867a4ab9a3284585c9 into PR head commit 93dadf11464e800d463b181b6237fc617ac7c8d5 Merge succeeded, producing 93dadf11464e800d463b181b6237fc617ac7c8d5 Checking out Revision 93dadf11464e800d463b181b6237fc617ac7c8d5 (PR-152) > 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/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93dadf11464e800d463b181b6237fc617ac7c8d5 # 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 87f15e26a71a8026a682f6867a4ab9a3284585c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93dadf11464e800d463b181b6237fc617ac7c8d5 # timeout=10 Commit message: "test: remove commented out tests" > git rev-list --no-walk 4795e94ad7b1ac7851ac2e8e46d9244cebf3d564 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:11:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:11:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:11:13 ========================================================= 00:11:13 EdgeX Global Pipelines Version Info 00:11:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:11:14 ------------------- 00:11:14 stable info: 00:11:14 ------------------- 00:11:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:11:14 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 00:11:14 Message: update stable to v1.0.239 00:11:15 ------------------- 00:11:15 experimental info: 00:11:15 ------------------- 00:11:15 Commited By: **** collab-it+edgex@linuxfoundation.org 00:11:15 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 00:11:15 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-152 [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-152 [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-152 [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93dadf11464e800d463b181b6237fc617ac7c8d5 [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93dadf1 [Pipeline] echo 00:11:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:11:15 provisioning config files... 00:11:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config1918359065084699863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:16 ---> docker-login.sh 00:11:16 nexus3.edgexfoundry.org:10001 00:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:16 Configure a credential helper to remove this warning. See 00:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:16 00:11:16 Login Succeeded 00:11:16 nexus3.edgexfoundry.org:10002 00:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:16 Configure a credential helper to remove this warning. See 00:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:16 00:11:16 Login Succeeded 00:11:16 nexus3.edgexfoundry.org:10003 00:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:16 Configure a credential helper to remove this warning. See 00:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:16 00:11:16 Login Succeeded 00:11:16 nexus3.edgexfoundry.org:10004 00:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:17 Configure a credential helper to remove this warning. See 00:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:17 00:11:17 Login Succeeded 00:11:17 docker.io 00:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:17 Configure a credential helper to remove this warning. See 00:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:17 00:11:17 Login Succeeded 00:11:17 ---> docker-login.sh ends [Pipeline] } 00:11:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:11:17 + git rev-list -1 --merges 93dadf11464e800d463b181b6237fc617ac7c8d5~1..93dadf11464e800d463b181b6237fc617ac7c8d5 [Pipeline] echo 00:11:17 -----------> git rev-list -1 --merges 93dadf11464e800d463b181b6237fc617ac7c8d5~1..93dadf11464e800d463b181b6237fc617ac7c8d5 93dadf11464e800d463b181b6237fc617ac7c8d5 [false] [Pipeline] sh 00:11:18 + git log --format=format:%s -1 93dadf11464e800d463b181b6237fc617ac7c8d5 [Pipeline] echo 00:11:18 ========================================================= 00:11:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:11:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:11:18 + git log --format=format:%s -1 93dadf11464e800d463b181b6237fc617ac7c8d5 [Pipeline] echo 00:11:18 [semverPrep] GIT_COMMIT: 93dadf11464e800d463b181b6237fc617ac7c8d5, Commit Message: test: remove commented out tests [Pipeline] echo 00:11:18 [semverPrep] This is not a build commit. [Pipeline] sh 00:11:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:11:18 + grep -v github /etc/ssh/ssh_known_hosts 00:11:18 + [ -e /tmp/ssh_known_hosts ] 00:11:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:11:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:11:18 + sudo tee -a /etc/ssh/ssh_known_hosts 00:11:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:19 00:11:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:19 0.1.4: Pulling from edgex-devops/py-git-semver 00:11:19 b85a868b505f: Pulling fs layer 00:11:19 e2be974225ed: Pulling fs layer 00:11:19 339a4e72a1f5: Pulling fs layer 00:11:19 988bab9f4d93: Pulling fs layer 00:11:19 1469e6f7b9e6: Pulling fs layer 00:11:19 eaf3925da568: Pulling fs layer 00:11:19 bab4dde63d76: Pulling fs layer 00:11:19 bde34c3a00c8: Pulling fs layer 00:11:19 b352a97aabf1: Pulling fs layer 00:11:19 4872d77fe225: Pulling fs layer 00:11:19 5851b861e8e6: Pulling fs layer 00:11:19 988bab9f4d93: Waiting 00:11:19 1469e6f7b9e6: Waiting 00:11:19 eaf3925da568: Waiting 00:11:19 4872d77fe225: Waiting 00:11:19 bab4dde63d76: Waiting 00:11:19 bde34c3a00c8: Waiting 00:11:19 5851b861e8e6: Waiting 00:11:19 e2be974225ed: Verifying Checksum 00:11:19 e2be974225ed: Download complete 00:11:19 988bab9f4d93: Verifying Checksum 00:11:19 988bab9f4d93: Download complete 00:11:19 1469e6f7b9e6: Verifying Checksum 00:11:19 1469e6f7b9e6: Download complete 00:11:19 eaf3925da568: Verifying Checksum 00:11:19 eaf3925da568: Download complete 00:11:19 339a4e72a1f5: Verifying Checksum 00:11:19 339a4e72a1f5: Download complete 00:11:19 bde34c3a00c8: Verifying Checksum 00:11:19 bde34c3a00c8: Download complete 00:11:19 b352a97aabf1: Verifying Checksum 00:11:19 b352a97aabf1: Download complete 00:11:19 4872d77fe225: Verifying Checksum 00:11:19 4872d77fe225: Download complete 00:11:19 5851b861e8e6: Verifying Checksum 00:11:19 5851b861e8e6: Download complete 00:11:19 b85a868b505f: Verifying Checksum 00:11:19 b85a868b505f: Download complete 00:11:19 bab4dde63d76: Verifying Checksum 00:11:19 bab4dde63d76: Download complete 00:11:21 b85a868b505f: Pull complete 00:11:21 e2be974225ed: Pull complete 00:11:21 339a4e72a1f5: Pull complete 00:11:21 988bab9f4d93: Pull complete 00:11:22 1469e6f7b9e6: Pull complete 00:11:22 eaf3925da568: Pull complete 00:11:24 bab4dde63d76: Pull complete 00:11:24 bde34c3a00c8: Pull complete 00:11:24 b352a97aabf1: Pull complete 00:11:24 4872d77fe225: Pull complete 00:11:24 5851b861e8e6: Pull complete 00:11:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:11:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:24 prd-ubuntu20.04-docker-8c-8g-24376 does not seem to be running inside a container 00:11:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@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 00:11:27 $ docker top ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d -eo pid,comm 00:11:27 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). 00:11:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:11:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:27 [ssh-agent] Looking for ssh-agent implementation... 00:11:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:27 $ docker exec ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d ssh-agent 00:11:27 SSH_AUTH_SOCK=/tmp/ssh-1RGnajb0jyyo/agent.33 00:11:27 SSH_AGENT_PID=40 00:11:27 Running ssh-add (command line suppressed) 00:11:27 Identity added: /w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_1953748032058559387.key (/w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_1953748032058559387.key) 00:11:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:27 + git tag --points-at HEAD [Pipeline] } 00:11:28 $ docker exec --env ******** --env ******** ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d ssh-agent -k 00:11:28 unset SSH_AUTH_SOCK; 00:11:28 unset SSH_AGENT_PID; 00:11:28 echo Agent pid 40 killed; 00:11:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:11:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:28 [ssh-agent] Looking for ssh-agent implementation... 00:11:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:28 $ docker exec ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d ssh-agent 00:11:28 SSH_AUTH_SOCK=/tmp/ssh-iTyTkg2uUB9n/agent.72 00:11:28 SSH_AGENT_PID=79 00:11:28 Running ssh-add (command line suppressed) 00:11:28 Identity added: /w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_1019515423256286725.key (/w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_1019515423256286725.key) 00:11:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:28 + git semver init 00:11:29 2022-09-02 00:11:29,062 [run_init] DEBUG init version:0.0.0 force:False 00:11:29 2022-09-02 00:11:29,063 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-152/.semver 00:11:29 2022-09-02 00:11:29,063 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-152/.semver 00:11:29 2022-09-02 00:11:29,064 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-152/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-152, universal_newlines=False, shell=None, istream=None) 00:11:30 2022-09-02 00:11:29,876 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-152/.git/info/exclude 00:11:30 2022-09-02 00:11:29,876 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 with force:False 00:11:30 2022-09-02 00:11:29,876 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 00:11:30 2022-09-02 00:11:29,881 [execute] INFO git cat-file --batch-check 00:11:30 2022-09-02 00:11:29,881 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-152/.semver, universal_newlines=False, shell=None, istream=) 00:11:30 2022-09-02 00:11:29,888 [execute] INFO git cat-file --batch 00:11:30 2022-09-02 00:11:29,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-152/.semver, universal_newlines=False, shell=None, istream=) 00:11:30 2022-09-02 00:11:29,893 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 00:11:30 0.0.0 [Pipeline] } 00:11:30 $ docker exec --env ******** --env ******** ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d ssh-agent -k 00:11:30 unset SSH_AUTH_SOCK; 00:11:30 unset SSH_AGENT_PID; 00:11:30 echo Agent pid 79 killed; 00:11:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:11:30 + git semver [Pipeline] } 00:11:30 $ docker stop --time=1 ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d 00:11:32 $ docker rm -f ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d [Pipeline] // withDockerContainer [Pipeline] sh 00:11:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:11:32 Stashed 1 file(s) [Pipeline] echo 00:11:32 [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 00:11:32 provisioning config files... 00:11:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config805612593108205529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:33 ---> docker-login.sh 00:11:33 nexus3.edgexfoundry.org:10001 00:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:33 Configure a credential helper to remove this warning. See 00:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:33 00:11:33 Login Succeeded 00:11:33 nexus3.edgexfoundry.org:10002 00:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:33 Configure a credential helper to remove this warning. See 00:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:33 00:11:33 Login Succeeded 00:11:33 nexus3.edgexfoundry.org:10003 00:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:33 Configure a credential helper to remove this warning. See 00:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:33 00:11:33 Login Succeeded 00:11:33 nexus3.edgexfoundry.org:10004 00:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:33 Configure a credential helper to remove this warning. See 00:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:33 00:11:33 Login Succeeded 00:11:33 docker.io 00:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:34 Configure a credential helper to remove this warning. See 00:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:34 00:11:34 Login Succeeded 00:11:34 ---> docker-login.sh ends [Pipeline] } 00:11:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:11:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:34 ========================================================= 00:11:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:11:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:34 + 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 . 00:11:34 Sending build context to Docker daemon 20.67MB 00:11:34 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:11:34 Step 2/13 : FROM ${BASE} AS builder 00:11:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:11:34 2408cc74d12b: Pulling fs layer 00:11:34 ea60b727a1ce: Pulling fs layer 00:11:34 30c4a7721957: Pulling fs layer 00:11:34 370296b7ddb6: Pulling fs layer 00:11:34 7c6cee850709: Pulling fs layer 00:11:34 39a5fcdaea64: Pulling fs layer 00:11:34 d94ebbe4e438: Pulling fs layer 00:11:34 bcfd1f05c69d: Pulling fs layer 00:11:34 59ccb84bbe0f: Pulling fs layer 00:11:34 370296b7ddb6: Waiting 00:11:34 7c6cee850709: Waiting 00:11:34 39a5fcdaea64: Waiting 00:11:34 d94ebbe4e438: Waiting 00:11:34 bcfd1f05c69d: Waiting 00:11:34 59ccb84bbe0f: Waiting 00:11:34 30c4a7721957: Verifying Checksum 00:11:34 30c4a7721957: Download complete 00:11:34 ea60b727a1ce: Verifying Checksum 00:11:34 ea60b727a1ce: Download complete 00:11:34 7c6cee850709: Verifying Checksum 00:11:34 7c6cee850709: Download complete 00:11:34 39a5fcdaea64: Verifying Checksum 00:11:34 39a5fcdaea64: Download complete 00:11:34 2408cc74d12b: Verifying Checksum 00:11:34 2408cc74d12b: Download complete 00:11:34 d94ebbe4e438: Download complete 00:11:34 2408cc74d12b: Pull complete 00:11:34 ea60b727a1ce: Pull complete 00:11:35 30c4a7721957: Pull complete 00:11:35 59ccb84bbe0f: Download complete 00:11:35 bcfd1f05c69d: Verifying Checksum 00:11:35 bcfd1f05c69d: Download complete 00:11:35 370296b7ddb6: Verifying Checksum 00:11:35 370296b7ddb6: Download complete 00:11:39 370296b7ddb6: Pull complete 00:11:39 7c6cee850709: Pull complete 00:11:39 39a5fcdaea64: Pull complete 00:11:39 d94ebbe4e438: Pull complete 00:11:41 bcfd1f05c69d: Pull complete 00:11:42 59ccb84bbe0f: Pull complete 00:11:42 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 00:11:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:11:42 ---> a4fb48ad2a94 00:11:42 Step 3/13 : ARG MAKE="make build" 00:11:47 ---> Running in 7a9590dd0d39 00:11:47 Removing intermediate container 7a9590dd0d39 00:11:47 ---> 0380fb466095 00:11:47 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:11:47 ---> Running in df616014cf4a 00:11:47 Removing intermediate container df616014cf4a 00:11:47 ---> c02757c8501b 00:11:47 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:11:47 ---> Running in 1ca08ce421a1 00:11:47 Removing intermediate container 1ca08ce421a1 00:11:47 ---> a487c6fac082 00:11:47 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:11:47 ---> Running in 4cf47bcfdd61 00:11:47 Removing intermediate container 4cf47bcfdd61 00:11:47 ---> b8a9fae6efa4 00:11:47 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:11:47 ---> Running in b5a01d48b5ec 00:11:47 Still waiting to schedule task 00:11:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24373’ 00:11:47 Removing intermediate container b5a01d48b5ec 00:11:47 ---> 273de2730844 00:11:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:11:47 ---> Running in 4d5c9d6cb899 00:11:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:11:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:11:49 OK: 211 MiB in 51 packages 00:11:49 Removing intermediate container 4d5c9d6cb899 00:11:49 ---> 451f890971c2 00:11:49 Step 9/13 : WORKDIR /device-onvif-camera 00:11:49 ---> Running in e314aeb20bb3 00:11:49 Removing intermediate container e314aeb20bb3 00:11:49 ---> cab345e437ba 00:11:49 Step 10/13 : COPY go.mod vendor* ./ 00:11:49 ---> 30b7cfe8e4cf 00:11:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:11:49 ---> Running in 58bf863f8aa2 00:12:11 Removing intermediate container 58bf863f8aa2 00:12:11 ---> 5a709c670ecc 00:12:11 Step 12/13 : COPY . . 00:12:12 ---> ab8a313baae0 00:12:12 Step 13/13 : RUN ${MAKE} 00:12:12 ---> Running in 25e01ab88bce 00:12:12 noop 00:12:13 Removing intermediate container 25e01ab88bce 00:12:13 ---> ccda129f3774 00:12:13 Successfully built ccda129f3774 00:12:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:13 + docker inspect -f . ci-base-image-x86_64 00:12:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:13 prd-ubuntu20.04-docker-8c-8g-24376 does not seem to be running inside a container 00:12:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@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 00:12:13 $ docker top 0b4b57d075fe87951d8add5377ee11b51a5bdf125ce2f0e329268b9d81c6f52d -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:14 + go version 00:12:14 go version go1.18.3 linux/amd64 [Pipeline] } 00:12:14 $ docker stop --time=1 0b4b57d075fe87951d8add5377ee11b51a5bdf125ce2f0e329268b9d81c6f52d 00:12:15 $ docker rm -f 0b4b57d075fe87951d8add5377ee11b51a5bdf125ce2f0e329268b9d81c6f52d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:16 + docker inspect -f . ci-base-image-x86_64 00:12:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:16 prd-ubuntu20.04-docker-8c-8g-24376 does not seem to be running inside a container 00:12:16 $ 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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@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 00:12:16 $ docker top 890e4094c016da1fc8bc01b11024b42131a9af98f536d951c49d5b41a38fee7c -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:16 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-152 [Pipeline] fileExists [Pipeline] sh 00:12:17 + make test 00:12:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:12:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:12:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:12:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.6% of statements 00:12:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:12:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.510s coverage: 90.5% of statements 00:12:37 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." 00:12:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:12:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:12:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:12:41 ./bin/test-attribution-txt.sh [Pipeline] echo 00:12:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:12:41 $ docker stop --time=1 890e4094c016da1fc8bc01b11024b42131a9af98f536d951c49d5b41a38fee7c 00:12:44 $ docker rm -f 890e4094c016da1fc8bc01b11024b42131a9af98f536d951c49d5b41a38fee7c [Pipeline] // withDockerContainer [Pipeline] sh 00:12:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:12:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:12:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:12:45 + ls -al . 00:12:45 total 232 00:12:45 drwxrwxr-x 10 jenkins jenkins 4096 Sep 2 00:12 . 00:12:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:11 .. 00:12:45 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 00:12 .git 00:12:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 00:11 .github 00:12:45 -rw-rw-r-- 1 jenkins jenkins 418 Sep 2 00:11 .gitignore 00:12:45 -rw-rw-r-- 1 jenkins jenkins 42 Sep 2 00:11 .golangci.yml 00:12:45 drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 00:11 .semver 00:12:45 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 2 00:11 Attribution.txt 00:12:45 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 2 00:11 CHANGELOG.md 00:12:45 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 2 00:11 Dockerfile 00:12:45 -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 00:11 GOVERNANCE.md 00:12:45 -rw-rw-r-- 1 jenkins jenkins 734 Sep 2 00:11 Jenkinsfile 00:12:45 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 2 00:11 LICENSE 00:12:45 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 2 00:11 Makefile 00:12:45 -rw-rw-r-- 1 jenkins jenkins 625 Sep 2 00:11 OWNERS.md 00:12:45 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 2 00:11 README.md 00:12:45 -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 00:11 VERSION 00:12:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 00:11 bin 00:12:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 00:11 cmd 00:12:45 -rw-r--r-- 1 jenkins jenkins 77283 Sep 2 00:12 coverage.out 00:12:45 drwxrwxr-x 6 jenkins jenkins 4096 Sep 2 00:11 doc 00:12:45 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 2 00:11 go.mod 00:12:45 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 2 00:11 go.sum 00:12:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:11 internal 00:12:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:11 snap 00:12:45 -rw-rw-r-- 1 jenkins jenkins 236 Sep 2 00:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:45 + 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=93dadf11464e800d463b181b6237fc617ac7c8d5 --label arch=amd64 --label version=0.0.0 . 00:12:45 Sending build context to Docker daemon 20.75MB 00:12:45 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 00:12:45 Step 2/26 : FROM ${BASE} AS builder 00:12:45 ---> ccda129f3774 00:12:45 Step 3/26 : ARG MAKE="make build" 00:12:46 ---> Running in 1d51ab307e11 00:12:46 Removing intermediate container 1d51ab307e11 00:12:46 ---> 6c08b64db62b 00:12:46 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:12:46 ---> Running in 1d2d39585f96 00:12:46 Removing intermediate container 1d2d39585f96 00:12:46 ---> 147a1d65160c 00:12:46 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:12:46 ---> Running in 16502faf3c9f 00:12:46 Removing intermediate container 16502faf3c9f 00:12:46 ---> 0b0305deaf76 00:12:46 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:12:46 ---> Running in 992a76b79819 00:12:46 Removing intermediate container 992a76b79819 00:12:46 ---> 38afe8a8ba3b 00:12:46 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:12:46 ---> Running in 67d0e8fd18fe 00:12:46 Removing intermediate container 67d0e8fd18fe 00:12:46 ---> feb1e0bb9d8e 00:12:46 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:12:46 ---> Running in 9d01e4ba37ff 00:12:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:12:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:12:48 OK: 211 MiB in 51 packages 00:12:48 Removing intermediate container 9d01e4ba37ff 00:12:48 ---> 4cc7b0fa7f9e 00:12:48 Step 9/26 : WORKDIR /device-onvif-camera 00:12:48 ---> Running in 877efacd282b 00:12:48 Removing intermediate container 877efacd282b 00:12:48 ---> 327249f570bc 00:12:48 Step 10/26 : COPY go.mod vendor* ./ 00:12:49 ---> 62d7fec370fc 00:12:49 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:12:49 ---> Running in 48de6485effa 00:12:49 Removing intermediate container 48de6485effa 00:12:49 ---> 126ae780a956 00:12:49 Step 12/26 : COPY . . 00:12:50 ---> b9b14f20a92c 00:12:50 Step 13/26 : RUN ${MAKE} 00:12:50 ---> Running in 6aaefbb41dbe 00:12:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:13:13 Removing intermediate container 6aaefbb41dbe 00:13:13 ---> 38e995d2c29f 00:13:13 Step 14/26 : FROM alpine:3.16 00:13:13 3.16: Pulling from library/alpine 00:13:13 213ec9aee27d: Pulling fs layer 00:13:13 213ec9aee27d: Verifying Checksum 00:13:13 213ec9aee27d: Download complete 00:13:13 213ec9aee27d: Pull complete 00:13:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:13:13 Status: Downloaded newer image for alpine:3.16 00:13:13 ---> 9c6f07244728 00:13:13 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:13:14 ---> Running in 8607c0f565f9 00:13:14 Removing intermediate container 8607c0f565f9 00:13:14 ---> f08a5c75e076 00:13:14 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:13:14 ---> Running in 2dce43813161 00:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:13:14 (1/6) Installing dumb-init (1.2.5-r1) 00:13:14 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:13:14 (3/6) Installing libsodium (1.0.18-r0) 00:13:14 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:13:14 (5/6) Installing libzmq (4.3.4-r0) 00:13:14 (6/6) Installing zeromq (4.3.4-r0) 00:13:14 Executing busybox-1.35.0-r17.trigger 00:13:14 OK: 8 MiB in 20 packages 00:13:15 Removing intermediate container 2dce43813161 00:13:15 ---> 66ed7763ac44 00:13:15 Step 17/26 : WORKDIR / 00:13:15 ---> Running in 67cdb565ebec 00:13:15 Removing intermediate container 67cdb565ebec 00:13:15 ---> 19ea6f86245a 00:13:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:13:16 ---> 100bc14383b7 00:13:16 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:13:16 ---> 4d0ac039c341 00:13:16 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:13:16 ---> 4fe76814d61e 00:13:16 Step 21/26 : EXPOSE 59984 00:13:16 ---> Running in 29cb587c06dc 00:13:16 Removing intermediate container 29cb587c06dc 00:13:16 ---> 17084d5f4c04 00:13:16 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:13:16 ---> Running in d1c1887e02d4 00:13:16 Removing intermediate container d1c1887e02d4 00:13:16 ---> 360e10190de2 00:13:16 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:13:16 ---> Running in 263d668ab95b 00:13:16 Removing intermediate container 263d668ab95b 00:13:16 ---> f7e5d92e186c 00:13:16 Step 24/26 : LABEL arch=amd64 00:13:16 ---> Running in 577232a457cc 00:13:16 Removing intermediate container 577232a457cc 00:13:16 ---> 8554ff6b31da 00:13:16 Step 25/26 : LABEL git_sha=93dadf11464e800d463b181b6237fc617ac7c8d5 00:13:16 ---> Running in eb17738b3b94 00:13:16 Removing intermediate container eb17738b3b94 00:13:16 ---> e4a75575b3df 00:13:16 Step 26/26 : LABEL version=0.0.0 00:13:16 ---> Running in 43926a41d3b9 00:13:16 Removing intermediate container 43926a41d3b9 00:13:16 ---> 913d8a019894 00:13:16 [Warning] One or more build-args [ARCH] were not consumed 00:13:16 Successfully built 913d8a019894 00:13:16 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 00:13:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:17 00:13:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:17 latest: Pulling from edgex-lftools-log-publisher 00:13:17 5eb5b503b376: Pulling fs layer 00:13:17 5c69ac0246d0: Pulling fs layer 00:13:17 ec43610c2a17: Pulling fs layer 00:13:17 3a2ae6a8a46f: Pulling fs layer 00:13:17 33b1e0a273af: Pulling fs layer 00:13:17 5d3b04190fa2: Pulling fs layer 00:13:17 2f39f015ded8: Pulling fs layer 00:13:17 3a2ae6a8a46f: Waiting 00:13:17 33b1e0a273af: Waiting 00:13:17 2f39f015ded8: Waiting 00:13:17 5d3b04190fa2: Waiting 00:13:17 5c69ac0246d0: Verifying Checksum 00:13:17 5c69ac0246d0: Download complete 00:13:17 3a2ae6a8a46f: Download complete 00:13:17 33b1e0a273af: Verifying Checksum 00:13:17 33b1e0a273af: Download complete 00:13:17 5d3b04190fa2: Verifying Checksum 00:13:17 5d3b04190fa2: Download complete 00:13:17 ec43610c2a17: Verifying Checksum 00:13:17 ec43610c2a17: Download complete 00:13:17 5eb5b503b376: Verifying Checksum 00:13:17 5eb5b503b376: Download complete 00:13:18 2f39f015ded8: Verifying Checksum 00:13:18 2f39f015ded8: Download complete 00:13:19 5eb5b503b376: Pull complete 00:13:19 5c69ac0246d0: Pull complete 00:13:19 ec43610c2a17: Pull complete 00:13:19 3a2ae6a8a46f: Pull complete 00:13:20 33b1e0a273af: Pull complete 00:13:20 5d3b04190fa2: Pull complete 00:13:24 2f39f015ded8: Pull complete 00:13:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:13:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:24 prd-ubuntu20.04-docker-8c-8g-24376 does not seem to be running inside a container 00:13:24 $ 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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@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 00:13:28 $ docker top 0aea5a6731db8de43563bbf3384a66636ad45a97ad1918e18e1f189ca4655cf7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:28 ---> job-cost.sh 00:13:28 lf-activate-venv: SKIPPING 00:13:28 INFO: No Stack... 00:13:28 INFO: Retrieving Pricing Info for: v3-standard-8 00:13:29 INFO: Archiving Costs [Pipeline] sh 00:13:29 + cat /w/workspace/undry_device-onvif-camera_PR-152/archives/cost.csv 00:13:29 + cut -d, -f6 [Pipeline] lock 00:13:29 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] 00:13:29 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] did not exist. Created. 00:13:29 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:13:30 + echo total: 0.2199999988079071 [Pipeline] stash 00:13:30 Stashed 1 file(s) [Pipeline] } 00:13:30 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:13:30 $ docker stop --time=1 0aea5a6731db8de43563bbf3384a66636ad45a97ad1918e18e1f189ca4655cf7 00:13:31 $ docker rm -f 0aea5a6731db8de43563bbf3384a66636ad45a97ad1918e18e1f189ca4655cf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:16:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24380 in /w/workspace/undry_device-onvif-camera_PR-152 [Pipeline] { [Pipeline] ws 00:16:06 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 00:16:06 Selected Git installation does not exist. Using Default 00:16:06 The recommended git tool is: NONE 00:16:14 using credential edgex-jenkins-ssh 00:16:14 Cloning the remote Git repository 00:16:14 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:16:14 > git init /w/workspace/device-onvif-camera/2 # timeout=10 00:16:14 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:16:14 > git --version # timeout=10 00:16:14 > git --version # 'git version 2.25.1' 00:16:14 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:16 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:16:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:16 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:16:16 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:16:16 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:16:16 Merging remotes/origin/main commit 87f15e26a71a8026a682f6867a4ab9a3284585c9 into PR head commit 93dadf11464e800d463b181b6237fc617ac7c8d5 00:16:17 Merge succeeded, producing 93dadf11464e800d463b181b6237fc617ac7c8d5 00:16:17 Checking out Revision 93dadf11464e800d463b181b6237fc617ac7c8d5 (PR-152) 00:16:16 > git config core.sparsecheckout # timeout=10 00:16:16 > git checkout -f 93dadf11464e800d463b181b6237fc617ac7c8d5 # timeout=10 00:16:17 > git remote # timeout=10 00:16:17 > git config --get remote.origin.url # timeout=10 00:16:17 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:17 > git merge 87f15e26a71a8026a682f6867a4ab9a3284585c9 # timeout=10 00:16:17 > git rev-parse HEAD^{commit} # timeout=10 00:16:17 > git config core.sparsecheckout # timeout=10 00:16:17 > git checkout -f 93dadf11464e800d463b181b6237fc617ac7c8d5 # timeout=10 00:16:21 Commit message: "test: remove commented out tests" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:16:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:16:22 % Total % Received % Xferd Average Speed Time Time Time Current 00:16:22 Dload Upload Total Spent Left Speed 00:16:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 00:16:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:16:23 + sudo tee /etc/docker/daemon.new 00:16:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:16:23 { 00:16:23 "registry-mirrors": [ 00:16:23 "https://nexus3.edgexfoundry.org:10001" 00:16:23 ], 00:16:23 "bip": "10.250.0.254/24", 00:16:23 "hosts": [ 00:16:23 "tcp://0.0.0.0:5555", 00:16:23 "unix:///var/run/docker.sock" 00:16:23 ], 00:16:23 "mtu": 1458, 00:16:23 "selinux-enabled": true, 00:16:23 "seccomp-profile": "/etc/docker/seccomp.json" 00:16:23 } [Pipeline] sh 00:16:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:16:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:16:42 provisioning config files... 00:16:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config2258650437024952808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:43 ---> docker-login.sh 00:16:43 nexus3.edgexfoundry.org:10001 00:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:44 Configure a credential helper to remove this warning. See 00:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:44 00:16:44 Login Succeeded 00:16:44 nexus3.edgexfoundry.org:10002 00:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:45 Configure a credential helper to remove this warning. See 00:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:45 00:16:45 Login Succeeded 00:16:45 nexus3.edgexfoundry.org:10003 00:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:45 Configure a credential helper to remove this warning. See 00:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:45 00:16:45 Login Succeeded 00:16:45 nexus3.edgexfoundry.org:10004 00:16:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:46 Configure a credential helper to remove this warning. See 00:16:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:46 00:16:46 Login Succeeded 00:16:46 docker.io 00:16:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:47 Configure a credential helper to remove this warning. See 00:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:47 00:16:47 Login Succeeded 00:16:47 ---> docker-login.sh ends [Pipeline] } 00:16:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:47 ========================================================= 00:16:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:16:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:47 + 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 . 00:16:48 Sending build context to Docker daemon 14.15MB 00:16:48 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:16:48 Step 2/13 : FROM ${BASE} AS builder 00:16:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:16:48 b3c136eddcbf: Pulling fs layer 00:16:48 c0a3192eca97: Pulling fs layer 00:16:48 a050256f5b6f: Pulling fs layer 00:16:48 656be50a0ddc: Pulling fs layer 00:16:48 2bbca73fdf42: Pulling fs layer 00:16:48 46d945488cbd: Pulling fs layer 00:16:48 8a5474983e97: Pulling fs layer 00:16:48 329c88fbcd65: Pulling fs layer 00:16:48 2bbca73fdf42: Waiting 00:16:48 46d945488cbd: Waiting 00:16:48 8a5474983e97: Waiting 00:16:48 656be50a0ddc: Waiting 00:16:48 329c88fbcd65: Waiting 00:16:48 a050256f5b6f: Verifying Checksum 00:16:48 a050256f5b6f: Download complete 00:16:48 c0a3192eca97: Download complete 00:16:48 2bbca73fdf42: Verifying Checksum 00:16:48 2bbca73fdf42: Download complete 00:16:48 46d945488cbd: Verifying Checksum 00:16:48 46d945488cbd: Download complete 00:16:48 b3c136eddcbf: Verifying Checksum 00:16:48 b3c136eddcbf: Download complete 00:16:49 b3c136eddcbf: Pull complete 00:16:49 329c88fbcd65: Verifying Checksum 00:16:49 329c88fbcd65: Download complete 00:16:50 c0a3192eca97: Pull complete 00:16:50 a050256f5b6f: Pull complete 00:16:51 8a5474983e97: Verifying Checksum 00:16:51 8a5474983e97: Download complete 00:16:51 656be50a0ddc: Verifying Checksum 00:16:51 656be50a0ddc: Download complete 00:17:04 656be50a0ddc: Pull complete 00:17:04 2bbca73fdf42: Pull complete 00:17:04 46d945488cbd: Pull complete 00:17:10 8a5474983e97: Pull complete 00:17:12 329c88fbcd65: Pull complete 00:17:12 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:17:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:17:12 ---> ff4287adb874 00:17:12 Step 3/13 : ARG MAKE="make build" 00:17:14 ---> Running in c35e88ed744e 00:17:15 Removing intermediate container c35e88ed744e 00:17:15 ---> b68ff3b9f431 00:17:15 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:17:15 ---> Running in 1040fec3b187 00:17:16 Removing intermediate container 1040fec3b187 00:17:16 ---> 04395ded7f90 00:17:16 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:17:16 ---> Running in c33c817a89e8 00:17:16 Removing intermediate container c33c817a89e8 00:17:16 ---> 7d19568b4233 00:17:16 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:17:16 ---> Running in 9a12d1e3e369 00:17:17 Removing intermediate container 9a12d1e3e369 00:17:17 ---> e6a67a54e073 00:17:17 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:17:17 ---> Running in b6cab7b1087c 00:17:18 Removing intermediate container b6cab7b1087c 00:17:18 ---> 257fa8f05a25 00:17:18 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:17:18 ---> Running in 7241f13694c1 00:17:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:17:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:17:22 OK: 221 MiB in 51 packages 00:17:23 Removing intermediate container 7241f13694c1 00:17:23 ---> 8c1176e1751f 00:17:23 Step 9/13 : WORKDIR /device-onvif-camera 00:17:23 ---> Running in fcfa99f5d7b1 00:17:23 Removing intermediate container fcfa99f5d7b1 00:17:23 ---> 3dc11ca5a083 00:17:23 Step 10/13 : COPY go.mod vendor* ./ 00:17:24 ---> 882625647cce 00:17:24 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:17:24 ---> Running in e696d5fcf4a7 00:18:21 Removing intermediate container e696d5fcf4a7 00:18:21 ---> 924867904fbc 00:18:21 Step 12/13 : COPY . . 00:18:21 ---> 44a5418afb0a 00:18:21 Step 13/13 : RUN ${MAKE} 00:18:21 ---> Running in 8b81fd4e7eba 00:18:21 noop 00:18:21 Removing intermediate container 8b81fd4e7eba 00:18:21 ---> 12d2d62b2569 00:18:21 Successfully built 12d2d62b2569 00:18:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:21 + docker inspect -f . ci-base-image-arm64 00:18:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:21 prd-ubuntu20.04-docker-arm64-4c-16g-24380 does not seem to be running inside a container 00:18:22 $ 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 00:18:23 $ docker top 5d0b67f290c7a5d8100c469ffca0e8406509bbb49e235fc78c27b29ca455fdd6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:24 + go version 00:18:24 go version go1.18.3 linux/arm64 [Pipeline] } 00:18:24 $ docker stop --time=1 5d0b67f290c7a5d8100c469ffca0e8406509bbb49e235fc78c27b29ca455fdd6 00:18:26 $ docker rm -f 5d0b67f290c7a5d8100c469ffca0e8406509bbb49e235fc78c27b29ca455fdd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:26 + docker inspect -f . ci-base-image-arm64 00:18:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:27 prd-ubuntu20.04-docker-arm64-4c-16g-24380 does not seem to be running inside a container 00:18:27 $ 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 00:18:28 $ docker top 29567f228541f104f738b2b20f7017a9c25f5566c34e67b2a7bc93d92461bd53 -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:29 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 00:18:30 + make test 00:18:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:18:32 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:20:08 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:20:15 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.216s coverage: 28.6% of statements 00:20:15 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:20:25 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.809s coverage: 90.5% of statements 00:20:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:20:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:20:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:20:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:20:52 ./bin/test-attribution-txt.sh [Pipeline] echo 00:20:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:20:52 $ docker stop --time=1 29567f228541f104f738b2b20f7017a9c25f5566c34e67b2a7bc93d92461bd53 00:20:54 $ docker rm -f 29567f228541f104f738b2b20f7017a9c25f5566c34e67b2a7bc93d92461bd53 [Pipeline] // withDockerContainer [Pipeline] sh 00:20:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:20:55 Warning: overwriting stash ‘coverage-report’ 00:20:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:20:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:20:57 + ls -al . 00:20:57 total 228 00:20:57 drwxrwxr-x 9 jenkins jenkins 4096 Sep 2 00:18 . 00:20:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:16 .. 00:20:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 00:16 .git 00:20:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 00:16 .github 00:20:57 -rw-rw-r-- 1 jenkins jenkins 418 Sep 2 00:16 .gitignore 00:20:57 -rw-rw-r-- 1 jenkins jenkins 42 Sep 2 00:16 .golangci.yml 00:20:57 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 2 00:16 Attribution.txt 00:20:57 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 2 00:16 CHANGELOG.md 00:20:57 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 2 00:16 Dockerfile 00:20:57 -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 00:16 GOVERNANCE.md 00:20:57 -rw-rw-r-- 1 jenkins jenkins 734 Sep 2 00:16 Jenkinsfile 00:20:57 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 2 00:16 LICENSE 00:20:57 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 2 00:16 Makefile 00:20:57 -rw-rw-r-- 1 jenkins jenkins 625 Sep 2 00:16 OWNERS.md 00:20:57 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 2 00:16 README.md 00:20:57 -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 00:11 VERSION 00:20:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 00:16 bin 00:20:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 00:16 cmd 00:20:57 -rw-r--r-- 1 jenkins jenkins 77283 Sep 2 00:20 coverage.out 00:20:57 drwxrwxr-x 6 jenkins jenkins 4096 Sep 2 00:16 doc 00:20:57 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 2 00:16 go.mod 00:20:57 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 2 00:16 go.sum 00:20:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:16 internal 00:20:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:16 snap 00:20:57 -rw-rw-r-- 1 jenkins jenkins 236 Sep 2 00:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:57 + 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=93dadf11464e800d463b181b6237fc617ac7c8d5 --label arch=arm64 --label version=0.0.0 . 00:20:58 Sending build context to Docker daemon 14.23MB 00:20:58 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 00:20:58 Step 2/26 : FROM ${BASE} AS builder 00:20:58 ---> 12d2d62b2569 00:20:58 Step 3/26 : ARG MAKE="make build" 00:20:58 ---> Running in ef66a8caa968 00:20:58 Removing intermediate container ef66a8caa968 00:20:58 ---> cd49c10b3f97 00:20:58 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:20:58 ---> Running in cf81b614d2a4 00:20:59 Removing intermediate container cf81b614d2a4 00:20:59 ---> 8eb9128935d3 00:20:59 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:20:59 ---> Running in 178f3f74136c 00:20:59 Removing intermediate container 178f3f74136c 00:20:59 ---> 0addc3966f74 00:20:59 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:20:59 ---> Running in 4ef454ffa6d0 00:21:00 Removing intermediate container 4ef454ffa6d0 00:21:00 ---> 2ac1fb82b743 00:21:00 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:21:00 ---> Running in aa0928ce54e7 00:21:02 Removing intermediate container aa0928ce54e7 00:21:02 ---> b0f3e0944998 00:21:02 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:21:02 ---> Running in 17ebea4393de 00:21:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:21:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:21:05 OK: 221 MiB in 51 packages 00:21:06 Removing intermediate container 17ebea4393de 00:21:06 ---> f5e6f1df7006 00:21:06 Step 9/26 : WORKDIR /device-onvif-camera 00:21:06 ---> Running in 5ac0408a2d00 00:21:06 Removing intermediate container 5ac0408a2d00 00:21:06 ---> 43048cf4444e 00:21:06 Step 10/26 : COPY go.mod vendor* ./ 00:21:07 ---> 9e33fb0db6a1 00:21:07 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:21:07 ---> Running in ab6abeb3f861 00:21:10 Removing intermediate container ab6abeb3f861 00:21:10 ---> 1731a082ee7e 00:21:10 Step 12/26 : COPY . . 00:21:11 ---> 9c92ffa1886e 00:21:11 Step 13/26 : RUN ${MAKE} 00:21:11 ---> Running in 2b22979672de 00:21:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:23:49 Removing intermediate container 2b22979672de 00:23:49 ---> 6e40714331a8 00:23:49 Step 14/26 : FROM alpine:3.16 00:23:49 3.16: Pulling from library/alpine 00:23:49 9b18e9b68314: Pulling fs layer 00:23:49 9b18e9b68314: Verifying Checksum 00:23:49 9b18e9b68314: Download complete 00:23:49 9b18e9b68314: Pull complete 00:23:49 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:23:49 Status: Downloaded newer image for alpine:3.16 00:23:49 ---> a6215f271958 00:23:49 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:23:49 ---> Running in 9f0b97a88acb 00:23:49 Removing intermediate container 9f0b97a88acb 00:23:49 ---> a35b295505d1 00:23:49 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:23:49 ---> Running in b4cbfd8f66dd 00:23:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:23:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:23:49 (1/6) Installing dumb-init (1.2.5-r1) 00:23:49 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:23:49 (3/6) Installing libsodium (1.0.18-r0) 00:23:49 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:23:49 (5/6) Installing libzmq (4.3.4-r0) 00:23:49 (6/6) Installing zeromq (4.3.4-r0) 00:23:49 Executing busybox-1.35.0-r17.trigger 00:23:49 OK: 8 MiB in 20 packages 00:23:49 Removing intermediate container b4cbfd8f66dd 00:23:49 ---> a0108b0ead0d 00:23:49 Step 17/26 : WORKDIR / 00:23:49 ---> Running in 74f887d05acc 00:23:49 Removing intermediate container 74f887d05acc 00:23:49 ---> 80997af35193 00:23:49 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:23:51 ---> 975939765212 00:23:51 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:23:52 ---> 8927437b4494 00:23:52 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:23:52 ---> 5a6542782128 00:23:52 Step 21/26 : EXPOSE 59984 00:23:52 ---> Running in 4413ff4d0fb1 00:23:53 Removing intermediate container 4413ff4d0fb1 00:23:53 ---> 782e493349a1 00:23:53 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:23:53 ---> Running in 9e233f5a37fb 00:23:53 Removing intermediate container 9e233f5a37fb 00:23:53 ---> 2a6f53db5c0f 00:23:53 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:23:53 ---> Running in f39fe78fdee4 00:23:53 Removing intermediate container f39fe78fdee4 00:23:53 ---> c92496220742 00:23:53 Step 24/26 : LABEL arch=arm64 00:23:53 ---> Running in 2f689c30d47a 00:23:54 Removing intermediate container 2f689c30d47a 00:23:54 ---> e4abda4c6b6d 00:23:54 Step 25/26 : LABEL git_sha=93dadf11464e800d463b181b6237fc617ac7c8d5 00:23:54 ---> Running in 9700c929abb3 00:23:54 Removing intermediate container 9700c929abb3 00:23:54 ---> a89dbb8ecbda 00:23:54 Step 26/26 : LABEL version=0.0.0 00:23:54 ---> Running in 18254fb2b625 00:23:55 Removing intermediate container 18254fb2b625 00:23:55 ---> 54c01fe5a3dc 00:23:55 [Warning] One or more build-args [ARCH] were not consumed 00:23:55 Successfully built 54c01fe5a3dc 00:23:55 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:55 00:23:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:56 arm64: Pulling from edgex-lftools-log-publisher 00:23:56 8998bd30e6a1: Pulling fs layer 00:23:56 04944245beec: Pulling fs layer 00:23:56 699f458cf7ca: Pulling fs layer 00:23:56 765212b225bb: Pulling fs layer 00:23:56 f23df028b6ca: Pulling fs layer 00:23:56 d65c8cfc05b1: Pulling fs layer 00:23:56 2437ff75d9bd: Pulling fs layer 00:23:56 765212b225bb: Waiting 00:23:56 f23df028b6ca: Waiting 00:23:56 d65c8cfc05b1: Waiting 00:23:56 2437ff75d9bd: Waiting 00:23:56 04944245beec: Verifying Checksum 00:23:56 04944245beec: Download complete 00:23:56 765212b225bb: Verifying Checksum 00:23:56 765212b225bb: Download complete 00:23:56 f23df028b6ca: Verifying Checksum 00:23:56 f23df028b6ca: Download complete 00:23:56 d65c8cfc05b1: Verifying Checksum 00:23:56 d65c8cfc05b1: Download complete 00:23:56 699f458cf7ca: Verifying Checksum 00:23:56 699f458cf7ca: Download complete 00:23:56 8998bd30e6a1: Verifying Checksum 00:23:56 8998bd30e6a1: Download complete 00:23:59 2437ff75d9bd: Verifying Checksum 00:23:59 2437ff75d9bd: Download complete 00:24:01 8998bd30e6a1: Pull complete 00:24:02 04944245beec: Pull complete 00:24:03 699f458cf7ca: Pull complete 00:24:03 765212b225bb: Pull complete 00:24:04 f23df028b6ca: Pull complete 00:24:05 d65c8cfc05b1: Pull complete 00:24:23 2437ff75d9bd: Pull complete 00:24:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:24:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:24:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:23 prd-ubuntu20.04-docker-arm64-4c-16g-24380 does not seem to be running inside a container 00:24:23 $ 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 00:24:27 $ docker top da542867fad000d01529916b4272eaa23bcda86bef4a9277ebb27d92c03c4a5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:24:27 ---> job-cost.sh 00:24:27 lf-activate-venv: SKIPPING 00:24:27 INFO: No Stack... 00:24:28 INFO: Retrieving Pricing Info for: v3-standard-4 00:24:29 INFO: Archiving Costs [Pipeline] sh 00:24:30 + cut -d, -f6 00:24:30 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 00:24:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] 00:24:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] did not exist. Created. 00:24:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:24:31 /w/workspace/device-onvif-camera/2@tmp/durable-60952dff/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:24:31 + echo total: 0.10999999940395355 [Pipeline] stash 00:24:31 Warning: overwriting stash ‘stack-cost’ 00:24:31 Stashed 1 file(s) [Pipeline] } 00:24:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:24:31 $ docker stop --time=1 da542867fad000d01529916b4272eaa23bcda86bef4a9277ebb27d92c03c4a5a 00:24:33 $ docker rm -f da542867fad000d01529916b4272eaa23bcda86bef4a9277ebb27d92c03c4a5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:24:33 provisioning config files... 00:24:33 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config3834510895132522936tmp [Pipeline] { [Pipeline] sh 00:24:34 + set +x 00:24:34 + + curl -s https://codecov.io/bash 00:24:34 bash -s -- 00:24:34 00:24:34 _____ _ 00:24:34 / ____| | | 00:24:34 | | ___ __| | ___ ___ _____ __ 00:24:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:24:34 | |___| (_) | (_| | __/ (_| (_) \ V / 00:24:34 \_____\___/ \__,_|\___|\___\___/ \_/ 00:24:34 Bash-1.0.6 00:24:34 00:24:34 00:24:34 ==> git version 2.25.1 found 00:24:34 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:24:34 Release-Date: 2020-01-08 00:24:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:24:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:24:34 ==> Jenkins CI detected. 00:24:34 current dir:  /w/workspace/undry_device-onvif-camera_PR-152 00:24:34 project root: . 00:24:34 --> token set from env 00:24:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:24:34 ==> Running gcov in . (disable via -X gcov) 00:24:34 ==> Python coveragepy not found 00:24:34 ==> Searching for coverage reports in: 00:24:34 + . 00:24:34 -> Found 1 reports 00:24:34 ==> Detecting git/mercurial file structure 00:24:34 ==> Reading reports 00:24:34 + ./coverage.out bytes=77283 00:24:34 ==> Appending adjustments 00:24:34 https://docs.codecov.io/docs/fixing-reports 00:24:34 + Found adjustments 00:24:34 ==> Gzipping contents 00:24:34 12K /tmp/codecov.V4d7As.gz 00:24:34 ==> Uploading reports 00:24:34 url: https://codecov.io 00:24:34 query: branch=PR-152&commit=93dadf11464e800d463b181b6237fc617ac7c8d5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-152%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=152&job=&cmd_args= 00:24:34 -> Pinging Codecov 00:24:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-152&commit=93dadf11464e800d463b181b6237fc617ac7c8d5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-152%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=152&job=&cmd_args= 00:24:35 -> Uploading to 00:24:35 https://storage.googleapis.com/codecov/v4/raw/2022-09-02/F29A59C45E3A92E06B3E522C9905F8EF/93dadf11464e800d463b181b6237fc617ac7c8d5/f0e4a694-7f7a-471a-b8c7-bc37d5717364.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220902%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220902T002435Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c72ae4ba8a2eee48008dbeb8b4b25b932c51b036254c55191d931e937751740 00:24:35 % Total % Received % Xferd Average Speed Time Time Time Current 00:24:35 Dload Upload Total Spent Left Speed 00:24:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10674 0 0 100 10674 0 41533 --:--:-- --:--:-- --:--:-- 41533 00:24:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/93dadf11464e800d463b181b6237fc617ac7c8d5 [Pipeline] } 00:24:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:24:36 + [ -d /w/workspace/undry_device-onvif-camera_PR-152/archives ] 00:24:36 + ls -al /w/workspace/undry_device-onvif-camera_PR-152/archives 00:24:36 total 16 00:24:36 drwxr-xr-x 3 root root 4096 Sep 2 00:13 . 00:24:36 drwxrwxr-x 11 jenkins jenkins 4096 Sep 2 00:13 .. 00:24:36 drwxr-xr-x 2 root root 4096 Sep 2 00:13 cost 00:24:36 -rw-r--r-- 1 root root 91 Sep 2 00:13 cost.csv 00:24:36 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-152/archives 00:24:36 + ls -al /w/workspace/undry_device-onvif-camera_PR-152/archives 00:24:36 total 16 00:24:36 drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 00:13 . 00:24:36 drwxrwxr-x 11 jenkins jenkins 4096 Sep 2 00:13 .. 00:24:36 drwxr-xr-x 2 jenkins jenkins 4096 Sep 2 00:13 cost 00:24:36 -rw-r--r-- 1 jenkins jenkins 91 Sep 2 00:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:24:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:24:37 ---> package-listing.sh 00:24:37 ++ facter osfamily 00:24:37 ++ tr '[:upper:]' '[:lower:]' 00:24:37 + OS_FAMILY=debian 00:24:37 + workspace=/w/workspace/undry_device-onvif-camera_PR-152 00:24:37 + START_PACKAGES=/tmp/packages_start.txt 00:24:37 + END_PACKAGES=/tmp/packages_end.txt 00:24:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:24:37 + PACKAGES=/tmp/packages_start.txt 00:24:37 + '[' /w/workspace/undry_device-onvif-camera_PR-152 ']' 00:24:37 + PACKAGES=/tmp/packages_end.txt 00:24:37 + case "${OS_FAMILY}" in 00:24:37 + dpkg -l 00:24:37 + grep '^ii' 00:24:37 + '[' -f /tmp/packages_start.txt ']' 00:24:37 + '[' -f /tmp/packages_end.txt ']' 00:24:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:24:37 + '[' /w/workspace/undry_device-onvif-camera_PR-152 ']' 00:24:37 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-152/archives/ 00:24:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-152/archives/ [Pipeline] echo 00:24:37 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-152/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:24:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:38 prd-ubuntu20.04-docker-8c-8g-24376 does not seem to be running inside a container 00:24:38 $ 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-152/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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@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 00:24:39 $ docker top 45815553559db11ebb80e89e4a66102d2ae6c1842fdca361563b895e9dbd42f0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:24:39 + touch /tmp/pre-build-complete [Pipeline] sh 00:24:39 + mkdir -p /var/log/sysstat [Pipeline] sh 00:24:39 + ls /var/log/sa-host 00:24:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:24:40 provisioning config files... 00:24:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config3769084152257523527tmp [Pipeline] { [Pipeline] echo 00:24:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:24:40 ---> create-netrc.sh [Pipeline] } 00:24:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:24:40 ---> python-tools-install.sh [Pipeline] echo 00:24:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:24:41 ---> sudo-logs.sh 00:24:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:24:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:24:41 ---> job-cost.sh 00:24:41 lf-activate-venv: SKIPPING 00:24:41 DEBUG: total: 0.2199999988079071 00:24:41 INFO: Retrieving Stack Cost... 00:24:41 INFO: Retrieving Pricing Info for: v3-standard-8 00:24:42 INFO: Archiving Costs [Pipeline] echo 00:24:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:24:42 ---> logs-deploy.sh 00:24:42 lf-activate-venv: SKIPPING 00:24:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-152/2 00:24:42 INFO: archiving workspace using pattern(s): 00:24:43 Archives upload complete. 00:24:43 INFO: archiving logs to Nexus 00:24:44 ---> uname -a: 00:24:44 Linux prd-ubuntu20-04-docker-8c-8g-24376 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 00:24:44 00:24:44 00:24:44 ---> lscpu: 00:24:44 Architecture: x86_64 00:24:44 CPU op-mode(s): 32-bit, 64-bit 00:24:44 Byte Order: Little Endian 00:24:44 Address sizes: 40 bits physical, 48 bits virtual 00:24:44 CPU(s): 8 00:24:44 On-line CPU(s) list: 0-7 00:24:44 Thread(s) per core: 1 00:24:44 Core(s) per socket: 1 00:24:44 Socket(s): 8 00:24:44 NUMA node(s): 1 00:24:44 Vendor ID: AuthenticAMD 00:24:44 CPU family: 23 00:24:44 Model: 49 00:24:44 Model name: AMD EPYC-Rome Processor 00:24:44 Stepping: 0 00:24:44 CPU MHz: 2799.864 00:24:44 BogoMIPS: 5599.72 00:24:44 Virtualization: AMD-V 00:24:44 Hypervisor vendor: KVM 00:24:44 Virtualization type: full 00:24:44 L1d cache: 256 KiB 00:24:44 L1i cache: 256 KiB 00:24:44 L2 cache: 4 MiB 00:24:44 L3 cache: 128 MiB 00:24:44 NUMA node0 CPU(s): 0-7 00:24:44 Vulnerability Itlb multihit: Not affected 00:24:44 Vulnerability L1tf: Not affected 00:24:44 Vulnerability Mds: Not affected 00:24:44 Vulnerability Meltdown: Not affected 00:24:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:24:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:24:44 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:24:44 Vulnerability Srbds: Not affected 00:24:44 Vulnerability Tsx async abort: Not affected 00:24:44 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:24:44 00:24:44 00:24:44 ---> nproc: 00:24:44 8 00:24:44 00:24:44 00:24:44 ---> df -h: 00:24:44 Filesystem Size Used Avail Use% Mounted on 00:24:44 overlay 155G 11G 145G 8% / 00:24:44 tmpfs 64M 0 64M 0% /dev 00:24:44 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:24:44 shm 64M 0 64M 0% /dev/shm 00:24:44 /dev/vda1 155G 11G 145G 8% /facter-os 00:24:44 00:24:44