Pull request #172 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than c214d7759c819120044835020ac7d1796e95d4bb Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3252745229498849070.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6077075406049818620.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10791122148429195998.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3863658428687898420.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9384263415703146796.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7378 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-172 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit c214d7759c819120044835020ac7d1796e95d4bb Merge succeeded, producing c214d7759c819120044835020ac7d1796e95d4bb Checking out Revision c214d7759c819120044835020ac7d1796e95d4bb (PR-172) Commit message: "fix : discovery mode netscan when using docker-compose" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c214d7759c819120044835020ac7d1796e95d4bb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c214d7759c819120044835020ac7d1796e95d4bb # timeout=10 > git rev-list --no-walk def7022701e084a15418e00a8e4747e17188d3bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:40:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:40:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:40:07 ========================================================= 01:40:07 EdgeX Global Pipelines Version Info 01:40:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:40:08 ------------------- 01:40:08 stable info: 01:40:08 ------------------- 01:40:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:40:08 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:40:08 Message: update stable to v1.0.239 01:40:08 ------------------- 01:40:08 experimental info: 01:40:08 ------------------- 01:40:08 Commited By: **** collab-it+edgex@linuxfoundation.org 01:40:08 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:40:08 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:40:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:40:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 01:40:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:40:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:40:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:40:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:40:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:40:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo 01:40:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo 01:40:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo 01:40:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c214d7759c819120044835020ac7d1796e95d4bb [Pipeline] echo 01:40:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c214d77 [Pipeline] echo 01:40:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:40:09 provisioning config files... 01:40:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config10821814094441766379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:09 ---> docker-login.sh 01:40:09 nexus3.edgexfoundry.org:10001 01:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:10 Configure a credential helper to remove this warning. See 01:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:10 01:40:10 Login Succeeded 01:40:10 nexus3.edgexfoundry.org:10002 01:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:10 Configure a credential helper to remove this warning. See 01:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:10 01:40:10 Login Succeeded 01:40:10 nexus3.edgexfoundry.org:10003 01:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:10 Configure a credential helper to remove this warning. See 01:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:10 01:40:10 Login Succeeded 01:40:10 nexus3.edgexfoundry.org:10004 01:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:10 Configure a credential helper to remove this warning. See 01:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:10 01:40:10 Login Succeeded 01:40:10 docker.io 01:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:10 Configure a credential helper to remove this warning. See 01:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:10 01:40:10 Login Succeeded 01:40:10 ---> docker-login.sh ends [Pipeline] } 01:40:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:40:10 + git rev-list -1 --merges c214d7759c819120044835020ac7d1796e95d4bb~1..c214d7759c819120044835020ac7d1796e95d4bb [Pipeline] echo 01:40:10 -----------> git rev-list -1 --merges c214d7759c819120044835020ac7d1796e95d4bb~1..c214d7759c819120044835020ac7d1796e95d4bb c214d7759c819120044835020ac7d1796e95d4bb [false] [Pipeline] sh 01:40:11 + git log --format=format:%s -1 c214d7759c819120044835020ac7d1796e95d4bb [Pipeline] echo 01:40:11 ========================================================= 01:40:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:40:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:40:11 + git log --format=format:%s -1 c214d7759c819120044835020ac7d1796e95d4bb [Pipeline] echo 01:40:11 [semverPrep] GIT_COMMIT: c214d7759c819120044835020ac7d1796e95d4bb, Commit Message: fix : discovery mode netscan when using docker-compose [Pipeline] echo 01:40:11 [semverPrep] This is not a build commit. [Pipeline] sh 01:40:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:40:12 + grep -v github /etc/ssh/ssh_known_hosts 01:40:12 + [ -e /tmp/ssh_known_hosts ] 01:40:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:40:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:40:12 + sudo tee -a /etc/ssh/ssh_known_hosts 01:40:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:40:12 01:40:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:40:12 0.1.4: Pulling from edgex-devops/py-git-semver 01:40:12 b85a868b505f: Pulling fs layer 01:40:12 e2be974225ed: Pulling fs layer 01:40:12 339a4e72a1f5: Pulling fs layer 01:40:12 988bab9f4d93: Pulling fs layer 01:40:12 1469e6f7b9e6: Pulling fs layer 01:40:12 eaf3925da568: Pulling fs layer 01:40:12 bab4dde63d76: Pulling fs layer 01:40:12 bde34c3a00c8: Pulling fs layer 01:40:12 b352a97aabf1: Pulling fs layer 01:40:12 4872d77fe225: Pulling fs layer 01:40:12 5851b861e8e6: Pulling fs layer 01:40:12 bde34c3a00c8: Waiting 01:40:12 b352a97aabf1: Waiting 01:40:12 988bab9f4d93: Waiting 01:40:12 4872d77fe225: Waiting 01:40:12 1469e6f7b9e6: Waiting 01:40:12 5851b861e8e6: Waiting 01:40:12 eaf3925da568: Waiting 01:40:12 bab4dde63d76: Waiting 01:40:12 e2be974225ed: Download complete 01:40:12 988bab9f4d93: Verifying Checksum 01:40:12 988bab9f4d93: Download complete 01:40:12 1469e6f7b9e6: Verifying Checksum 01:40:12 1469e6f7b9e6: Download complete 01:40:12 eaf3925da568: Download complete 01:40:12 339a4e72a1f5: Verifying Checksum 01:40:12 339a4e72a1f5: Download complete 01:40:12 bde34c3a00c8: Verifying Checksum 01:40:12 bde34c3a00c8: Download complete 01:40:12 b352a97aabf1: Download complete 01:40:12 4872d77fe225: Download complete 01:40:12 5851b861e8e6: Verifying Checksum 01:40:12 5851b861e8e6: Download complete 01:40:12 b85a868b505f: Verifying Checksum 01:40:12 b85a868b505f: Download complete 01:40:13 bab4dde63d76: Verifying Checksum 01:40:13 bab4dde63d76: Download complete 01:40:14 b85a868b505f: Pull complete 01:40:14 e2be974225ed: Pull complete 01:40:14 339a4e72a1f5: Pull complete 01:40:14 988bab9f4d93: Pull complete 01:40:15 1469e6f7b9e6: Pull complete 01:40:15 eaf3925da568: Pull complete 01:40:17 bab4dde63d76: Pull complete 01:40:17 bde34c3a00c8: Pull complete 01:40:17 b352a97aabf1: Pull complete 01:40:17 4872d77fe225: Pull complete 01:40:17 5851b861e8e6: Pull complete 01:40:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:40:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:40:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:18 prd-ubuntu20.04-docker-8c-8g-7378 does not seem to be running inside a container 01:40:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:40:24 $ docker top a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 -eo pid,comm 01:40:24 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). 01:40:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:40:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:40:24 [ssh-agent] Looking for ssh-agent implementation... 01:40:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:40:24 $ docker exec a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 ssh-agent 01:40:24 SSH_AUTH_SOCK=/tmp/ssh-ZPQxIPsMwifv/agent.32 01:40:24 SSH_AGENT_PID=38 01:40:24 Running ssh-add (command line suppressed) 01:40:24 Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_9564356701988757023.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_9564356701988757023.key) 01:40:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:40:25 + git tag --points-at HEAD [Pipeline] } 01:40:25 $ docker exec --env ******** --env ******** a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 ssh-agent -k 01:40:25 unset SSH_AUTH_SOCK; 01:40:25 unset SSH_AGENT_PID; 01:40:25 echo Agent pid 38 killed; 01:40:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:40:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:40:25 [ssh-agent] Looking for ssh-agent implementation... 01:40:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:40:25 $ docker exec a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 ssh-agent 01:40:25 SSH_AUTH_SOCK=/tmp/ssh-Ftc8rp4PAfHh/agent.70 01:40:25 SSH_AGENT_PID=77 01:40:25 Running ssh-add (command line suppressed) 01:40:25 Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_7634351489128103366.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_7634351489128103366.key) 01:40:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:40:25 + git semver init 01:40:26 2022-10-08 01:40:25,968 [run_init] DEBUG init version:0.0.0 force:False 01:40:26 2022-10-08 01:40:25,968 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver 01:40:26 2022-10-08 01:40:25,969 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver 01:40:26 2022-10-08 01:40:25,969 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) 01:40:27 2022-10-08 01:40:27,296 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude 01:40:27 2022-10-08 01:40:27,297 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False 01:40:27 2022-10-08 01:40:27,297 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 01:40:27 2022-10-08 01:40:27,302 [execute] INFO git cat-file --batch-check 01:40:27 2022-10-08 01:40:27,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) 01:40:27 2022-10-08 01:40:27,308 [execute] INFO git cat-file --batch 01:40:27 2022-10-08 01:40:27,309 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) 01:40:27 2022-10-08 01:40:27,313 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 01:40:27 0.0.0 [Pipeline] } 01:40:27 $ docker exec --env ******** --env ******** a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 ssh-agent -k 01:40:27 unset SSH_AUTH_SOCK; 01:40:27 unset SSH_AGENT_PID; 01:40:27 echo Agent pid 77 killed; 01:40:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:40:27 + git semver [Pipeline] } 01:40:28 $ docker stop --time=1 a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 01:40:29 $ docker rm -f a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 [Pipeline] // withDockerContainer [Pipeline] sh 01:40:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:40:30 Stashed 1 file(s) [Pipeline] echo 01:40:30 [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 01:40:30 provisioning config files... 01:40:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config1140035527519038481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:30 ---> docker-login.sh 01:40:30 nexus3.edgexfoundry.org:10001 01:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:30 Configure a credential helper to remove this warning. See 01:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:30 01:40:30 Login Succeeded 01:40:30 nexus3.edgexfoundry.org:10002 01:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:30 Configure a credential helper to remove this warning. See 01:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:30 01:40:30 Login Succeeded 01:40:30 nexus3.edgexfoundry.org:10003 01:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:30 Configure a credential helper to remove this warning. See 01:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:30 01:40:30 Login Succeeded 01:40:30 nexus3.edgexfoundry.org:10004 01:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:30 Configure a credential helper to remove this warning. See 01:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:30 01:40:30 Login Succeeded 01:40:30 docker.io 01:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:31 Configure a credential helper to remove this warning. See 01:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:31 01:40:31 Login Succeeded 01:40:31 ---> docker-login.sh ends [Pipeline] } 01:40:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:40:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:31 ========================================================= 01:40:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:40:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:31 + 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 . 01:40:31 Sending build context to Docker daemon 20.8MB 01:40:31 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 01:40:31 Step 2/14 : FROM ${BASE} AS builder 01:40:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:40:31 2408cc74d12b: Pulling fs layer 01:40:31 ea60b727a1ce: Pulling fs layer 01:40:31 30c4a7721957: Pulling fs layer 01:40:31 370296b7ddb6: Pulling fs layer 01:40:31 7c6cee850709: Pulling fs layer 01:40:31 aa9baa53a306: Pulling fs layer 01:40:31 8b309c321861: Pulling fs layer 01:40:31 d8d76fd02f46: Pulling fs layer 01:40:31 fa31f396de31: Pulling fs layer 01:40:31 370296b7ddb6: Waiting 01:40:31 7c6cee850709: Waiting 01:40:31 aa9baa53a306: Waiting 01:40:31 8b309c321861: Waiting 01:40:31 d8d76fd02f46: Waiting 01:40:31 fa31f396de31: Waiting 01:40:31 30c4a7721957: Verifying Checksum 01:40:31 30c4a7721957: Download complete 01:40:31 ea60b727a1ce: Verifying Checksum 01:40:31 ea60b727a1ce: Download complete 01:40:31 7c6cee850709: Download complete 01:40:31 aa9baa53a306: Verifying Checksum 01:40:31 aa9baa53a306: Download complete 01:40:31 2408cc74d12b: Verifying Checksum 01:40:31 2408cc74d12b: Download complete 01:40:31 8b309c321861: Download complete 01:40:32 2408cc74d12b: Pull complete 01:40:32 ea60b727a1ce: Pull complete 01:40:32 30c4a7721957: Pull complete 01:40:32 fa31f396de31: Download complete 01:40:32 d8d76fd02f46: Verifying Checksum 01:40:32 d8d76fd02f46: Download complete 01:40:32 370296b7ddb6: Verifying Checksum 01:40:32 370296b7ddb6: Download complete 01:40:36 370296b7ddb6: Pull complete 01:40:36 7c6cee850709: Pull complete 01:40:36 aa9baa53a306: Pull complete 01:40:36 8b309c321861: Pull complete 01:40:38 d8d76fd02f46: Pull complete 01:40:39 fa31f396de31: Pull complete 01:40:39 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 01:40:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:40:40 ---> cef68f9685f8 01:40:40 Step 3/14 : ARG ADD_BUILD_TAGS="" 01:40:45 Still waiting to schedule task 01:40:45 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:40:50 ---> Running in 4f483d942a8d 01:40:50 Removing intermediate container 4f483d942a8d 01:40:50 ---> a4022a1e6045 01:40:50 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:40:50 ---> Running in 1ef00a7ff019 01:40:50 Removing intermediate container 1ef00a7ff019 01:40:50 ---> 50f80d4809d9 01:40:50 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 01:40:50 ---> Running in a302b5c212a9 01:40:50 Removing intermediate container a302b5c212a9 01:40:50 ---> 7ac31121fc5c 01:40:50 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 01:40:50 ---> Running in 62c2cc9429dc 01:40:50 Removing intermediate container 62c2cc9429dc 01:40:50 ---> 35e4556e73d5 01:40:50 Step 7/14 : LABEL Name=edgex-device-onvif-camera 01:40:50 ---> Running in 6dfd7bf5acb4 01:40:50 Removing intermediate container 6dfd7bf5acb4 01:40:50 ---> b03ac717e285 01:40:50 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:40:50 ---> Running in f9672f200082 01:40:51 Removing intermediate container f9672f200082 01:40:51 ---> 11985efe341d 01:40:51 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:51 ---> Running in 65e8bb918c23 01:40:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:40:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:40:52 OK: 211 MiB in 51 packages 01:40:53 Removing intermediate container 65e8bb918c23 01:40:53 ---> bce7d090cf62 01:40:53 Step 10/14 : WORKDIR /device-onvif-camera 01:40:53 ---> Running in c388351982e3 01:40:53 Removing intermediate container c388351982e3 01:40:53 ---> 72ce2f2c1dae 01:40:53 Step 11/14 : COPY go.mod vendor* ./ 01:40:54 ---> 90cffa33cead 01:40:54 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:54 ---> Running in 55ee94319556 01:41:33 Removing intermediate container 55ee94319556 01:41:33 ---> 51cb4a4694ff 01:41:33 Step 13/14 : COPY . . 01:41:33 ---> ad05ca62be5f 01:41:33 Step 14/14 : RUN ${MAKE} 01:41:33 ---> Running in a445eceb70ad 01:41:34 noop 01:41:35 Removing intermediate container a445eceb70ad 01:41:35 ---> 426409841166 01:41:35 Successfully built 426409841166 01:41:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:35 + docker inspect -f . ci-base-image-x86_64 01:41:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:35 prd-ubuntu20.04-docker-8c-8g-7378 does not seem to be running inside a container 01:41:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:41:36 $ docker top 84cfcf6dff06e4dd226888a541c11269d9d628c5b3c04ba6193b58c1f54e3b64 -eo pid,comm [Pipeline] { [Pipeline] sh 01:41:37 + go version 01:41:37 go version go1.18.3 linux/amd64 [Pipeline] } 01:41:37 $ docker stop --time=1 84cfcf6dff06e4dd226888a541c11269d9d628c5b3c04ba6193b58c1f54e3b64 01:41:39 $ docker rm -f 84cfcf6dff06e4dd226888a541c11269d9d628c5b3c04ba6193b58c1f54e3b64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:39 + docker inspect -f . ci-base-image-x86_64 01:41:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:39 prd-ubuntu20.04-docker-8c-8g-7378 does not seem to be running inside a container 01:41:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:41:41 $ docker top 729db21b7bdaaa1b4d780bc0c2f95b5599cef72a6396ba99804adc69a6112c85 -eo pid,comm [Pipeline] { [Pipeline] sh 01:41:42 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh 01:41:42 + make test 01:41:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:41:42 ? github.com/edgexfoundry/device-onvif-camera [no test files] 01:41:52 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 01:41:53 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements 01:41:53 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 01:41:53 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.200s coverage: 86.5% of statements 01:42:00 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." 01:42:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:42:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:42:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:42:03 ./bin/test-attribution-txt.sh [Pipeline] echo 01:42:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:42:04 $ docker stop --time=1 729db21b7bdaaa1b4d780bc0c2f95b5599cef72a6396ba99804adc69a6112c85 01:42:08 $ docker rm -f 729db21b7bdaaa1b4d780bc0c2f95b5599cef72a6396ba99804adc69a6112c85 [Pipeline] // withDockerContainer [Pipeline] sh 01:42:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:42:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:42:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:42:09 + ls -al . 01:42:09 total 236 01:42:09 drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 01:41 . 01:42:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 01:40 .. 01:42:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 01:41 .git 01:42:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 01:40 .github 01:42:09 -rw-rw-r-- 1 jenkins jenkins 418 Oct 8 01:40 .gitignore 01:42:09 -rw-rw-r-- 1 jenkins jenkins 42 Oct 8 01:40 .golangci.yml 01:42:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 01:40 .semver 01:42:09 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 8 01:40 Attribution.txt 01:42:09 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 8 01:40 CHANGELOG.md 01:42:09 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 8 01:40 Dockerfile 01:42:09 -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 01:40 GOVERNANCE.md 01:42:09 -rw-rw-r-- 1 jenkins jenkins 734 Oct 8 01:40 Jenkinsfile 01:42:09 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 8 01:40 LICENSE 01:42:09 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 8 01:40 Makefile 01:42:09 -rw-rw-r-- 1 jenkins jenkins 625 Oct 8 01:40 OWNERS.md 01:42:09 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 8 01:40 README.md 01:42:09 -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 01:40 VERSION 01:42:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 01:40 bin 01:42:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 01:40 cmd 01:42:09 -rw-r--r-- 1 jenkins jenkins 78636 Oct 8 01:41 coverage.out 01:42:09 drwxrwxr-x 6 jenkins jenkins 4096 Oct 8 01:40 doc 01:42:09 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 8 01:40 go.mod 01:42:09 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 8 01:40 go.sum 01:42:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 01:40 internal 01:42:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 01:40 snap 01:42:09 -rw-rw-r-- 1 jenkins jenkins 236 Oct 8 01:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:10 + 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=c214d7759c819120044835020ac7d1796e95d4bb --label arch=amd64 --label version=0.0.0 . 01:42:10 Sending build context to Docker daemon 20.88MB 01:42:10 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 01:42:10 Step 2/27 : FROM ${BASE} AS builder 01:42:10 ---> 426409841166 01:42:10 Step 3/27 : ARG ADD_BUILD_TAGS="" 01:42:10 ---> Running in 5898d7381082 01:42:10 Removing intermediate container 5898d7381082 01:42:10 ---> 6366fcde1198 01:42:10 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:42:11 ---> Running in c5c26e7a33f3 01:42:11 Removing intermediate container c5c26e7a33f3 01:42:11 ---> 63585878cda5 01:42:11 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 01:42:11 ---> Running in 55f9951f6746 01:42:12 Removing intermediate container 55f9951f6746 01:42:12 ---> e0742b80e789 01:42:12 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 01:42:12 ---> Running in c4ef6dc1bae8 01:42:12 Removing intermediate container c4ef6dc1bae8 01:42:12 ---> 474fc24cd62f 01:42:12 Step 7/27 : LABEL Name=edgex-device-onvif-camera 01:42:13 ---> Running in 4131987fb751 01:42:13 Removing intermediate container 4131987fb751 01:42:13 ---> cbf388c55ff0 01:42:13 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:42:13 ---> Running in 78f91e4b17db 01:42:15 Removing intermediate container 78f91e4b17db 01:42:15 ---> dc8623a1b0b3 01:42:15 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:42:15 ---> Running in 55736cd06d7d 01:42:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:42:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:42:16 OK: 211 MiB in 51 packages 01:42:17 Removing intermediate container 55736cd06d7d 01:42:17 ---> 14e0e4592860 01:42:17 Step 10/27 : WORKDIR /device-onvif-camera 01:42:18 ---> Running in 01b02b8be1dd 01:42:19 Removing intermediate container 01b02b8be1dd 01:42:19 ---> 3720e2baeb2e 01:42:19 Step 11/27 : COPY go.mod vendor* ./ 01:42:19 ---> db0f8c9101ad 01:42:19 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:42:20 ---> Running in 6748164151e5 01:42:21 Removing intermediate container 6748164151e5 01:42:21 ---> a005db7bb2dc 01:42:21 Step 13/27 : COPY . . 01:42:23 ---> e15cb49f9dac 01:42:23 Step 14/27 : RUN ${MAKE} 01:42:23 ---> Running in e17ad19e5eb2 01:42:23 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 01:42:50 Removing intermediate container e17ad19e5eb2 01:42:50 ---> ab9a2b4d3bf5 01:42:50 Step 15/27 : FROM alpine:3.16 01:42:50 3.16: Pulling from library/alpine 01:42:50 213ec9aee27d: Pulling fs layer 01:42:50 213ec9aee27d: Verifying Checksum 01:42:50 213ec9aee27d: Download complete 01:42:50 213ec9aee27d: Pull complete 01:42:50 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:42:50 Status: Downloaded newer image for alpine:3.16 01:42:50 ---> 9c6f07244728 01:42:50 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:42:51 ---> Running in b25f7a1cd54f 01:42:51 Removing intermediate container b25f7a1cd54f 01:42:51 ---> f1350540ffe0 01:42:51 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 01:42:51 ---> Running in c82271ebfdcf 01:42:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:42:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:42:51 (1/6) Installing dumb-init (1.2.5-r1) 01:42:51 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:42:51 (3/6) Installing libsodium (1.0.18-r0) 01:42:51 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:42:51 (5/6) Installing libzmq (4.3.4-r0) 01:42:51 (6/6) Installing zeromq (4.3.4-r0) 01:42:51 Executing busybox-1.35.0-r17.trigger 01:42:51 OK: 8 MiB in 20 packages 01:42:52 Removing intermediate container c82271ebfdcf 01:42:52 ---> 3914d24a119d 01:42:52 Step 18/27 : WORKDIR / 01:42:52 ---> Running in 6d2201022816 01:42:52 Removing intermediate container 6d2201022816 01:42:52 ---> 65174893426e 01:42:52 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 01:42:53 ---> 35f1de677a04 01:42:53 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 01:42:53 ---> 5fb8d1b7ae28 01:42:53 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 01:42:53 ---> 70185d493d0c 01:42:53 Step 22/27 : EXPOSE 59984 01:42:53 ---> Running in 709d1435ece8 01:42:53 Removing intermediate container 709d1435ece8 01:42:53 ---> e2a32916f420 01:42:53 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 01:42:53 ---> Running in 60bda5eed862 01:42:53 Removing intermediate container 60bda5eed862 01:42:53 ---> 97cd8ad9c1a2 01:42:53 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:42:53 ---> Running in 9b5bd42761c6 01:42:53 Removing intermediate container 9b5bd42761c6 01:42:53 ---> f69c5d60dc4c 01:42:53 Step 25/27 : LABEL arch=amd64 01:42:54 ---> Running in 15a61574835e 01:42:54 Removing intermediate container 15a61574835e 01:42:54 ---> 5f2c2b2060c4 01:42:54 Step 26/27 : LABEL git_sha=c214d7759c819120044835020ac7d1796e95d4bb 01:42:54 ---> Running in 46a49e47cb92 01:42:54 Removing intermediate container 46a49e47cb92 01:42:54 ---> 0d15e309839b 01:42:54 Step 27/27 : LABEL version=0.0.0 01:42:54 ---> Running in a642f8aea0ac 01:42:54 Removing intermediate container a642f8aea0ac 01:42:54 ---> 825b1db534ae 01:42:54 [Warning] One or more build-args [ARCH] were not consumed 01:42:54 Successfully built 825b1db534ae 01:42:54 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 01:42:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:42:54 01:42:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:42:55 latest: Pulling from edgex-lftools-log-publisher 01:42:55 5eb5b503b376: Pulling fs layer 01:42:55 5c69ac0246d0: Pulling fs layer 01:42:55 ec43610c2a17: Pulling fs layer 01:42:55 3a2ae6a8a46f: Pulling fs layer 01:42:55 33b1e0a273af: Pulling fs layer 01:42:55 5d3b04190fa2: Pulling fs layer 01:42:55 2f39f015ded8: Pulling fs layer 01:42:55 33b1e0a273af: Waiting 01:42:55 5d3b04190fa2: Waiting 01:42:55 2f39f015ded8: Waiting 01:42:55 3a2ae6a8a46f: Waiting 01:42:55 5c69ac0246d0: Download complete 01:42:55 3a2ae6a8a46f: Download complete 01:42:55 33b1e0a273af: Verifying Checksum 01:42:55 33b1e0a273af: Download complete 01:42:55 5d3b04190fa2: Download complete 01:42:55 ec43610c2a17: Verifying Checksum 01:42:55 ec43610c2a17: Download complete 01:42:55 5eb5b503b376: Verifying Checksum 01:42:55 5eb5b503b376: Download complete 01:42:56 2f39f015ded8: Download complete 01:42:56 5eb5b503b376: Pull complete 01:42:56 5c69ac0246d0: Pull complete 01:42:57 ec43610c2a17: Pull complete 01:42:57 3a2ae6a8a46f: Pull complete 01:42:57 33b1e0a273af: Pull complete 01:42:57 5d3b04190fa2: Pull complete 01:43:03 2f39f015ded8: Pull complete 01:43:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:43:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:03 prd-ubuntu20.04-docker-8c-8g-7378 does not seem to be running inside a container 01:43:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:43:09 $ docker top 310fb167630ddc423a5eee30567aa050722b7608d594938fe9cb6d53a9488b23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:10 ---> job-cost.sh 01:43:10 lf-activate-venv: SKIPPING 01:43:10 INFO: No Stack... 01:43:10 INFO: Retrieving Pricing Info for: v3-standard-8 01:43:10 INFO: Archiving Costs [Pipeline] sh 01:43:11 + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv 01:43:11 + cut -d, -f6 [Pipeline] lock 01:43:11 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] 01:43:11 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] did not exist. Created. 01:43:11 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:43:11 + echo total: 0.2199999988079071 [Pipeline] stash 01:43:11 Stashed 1 file(s) [Pipeline] } 01:43:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] [Pipeline] // lock [Pipeline] } 01:43:11 $ docker stop --time=1 310fb167630ddc423a5eee30567aa050722b7608d594938fe9cb6d53a9488b23 01:43:12 $ docker rm -f 310fb167630ddc423a5eee30567aa050722b7608d594938fe9cb6d53a9488b23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:44:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7380 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws 01:44:48 Running in /w/workspace/device-onvif-camera/16 [Pipeline] { [Pipeline] checkout 01:44:48 The recommended git tool is: git 01:44:53 using credential edgex-jenkins-ssh 01:44:53 Cloning the remote Git repository 01:44:53 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 01:44:54 > git init /w/workspace/device-onvif-camera/16 # timeout=10 01:44:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 01:44:54 > git --version # timeout=10 01:44:54 > git --version # 'git version 2.25.1' 01:44:54 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:54 Verifying host key using known hosts file 01:44:54 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:44:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:55 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 01:44:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:57 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit c214d7759c819120044835020ac7d1796e95d4bb 01:44:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 01:44:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 01:44:56 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:56 Verifying host key using known hosts file 01:44:56 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:44:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:44:57 > git config core.sparsecheckout # timeout=10 01:44:57 Merge succeeded, producing c214d7759c819120044835020ac7d1796e95d4bb 01:44:57 Checking out Revision c214d7759c819120044835020ac7d1796e95d4bb (PR-172) 01:44:58 Commit message: "fix : discovery mode netscan when using docker-compose" 01:44:57 > git checkout -f c214d7759c819120044835020ac7d1796e95d4bb # timeout=10 01:44:57 > git remote # timeout=10 01:44:57 > git config --get remote.origin.url # timeout=10 01:44:57 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:57 Verifying host key using known hosts file 01:44:57 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:44:57 > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 01:44:57 > git rev-parse HEAD^{commit} # timeout=10 01:44:57 > git config core.sparsecheckout # timeout=10 01:44:57 > git checkout -f c214d7759c819120044835020ac7d1796e95d4bb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:44:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:44:59 % Total % Received % Xferd Average Speed Time Time Time Current 01:44:59 Dload Upload Total Spent Left Speed 01:44:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 01:45:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:45:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:45:00 + sudo tee /etc/docker/daemon.new 01:45:00 { 01:45:00 "registry-mirrors": [ 01:45:00 "https://nexus3.edgexfoundry.org:10001" 01:45:00 ], 01:45:00 "bip": "10.250.0.254/24", 01:45:00 "hosts": [ 01:45:00 "tcp://0.0.0.0:5555", 01:45:00 "unix:///var/run/docker.sock" 01:45:00 ], 01:45:00 "mtu": 1458, 01:45:00 "selinux-enabled": true, 01:45:00 "seccomp-profile": "/etc/docker/seccomp.json" 01:45:00 } [Pipeline] sh 01:45:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:45:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:19 provisioning config files... 01:45:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/16@tmp/config15844905105808293967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:19 ---> docker-login.sh 01:45:19 nexus3.edgexfoundry.org:10001 01:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:20 Configure a credential helper to remove this warning. See 01:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:20 01:45:20 Login Succeeded 01:45:20 nexus3.edgexfoundry.org:10002 01:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:21 Configure a credential helper to remove this warning. See 01:45:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:21 01:45:21 Login Succeeded 01:45:21 nexus3.edgexfoundry.org:10003 01:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:21 Configure a credential helper to remove this warning. See 01:45:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:21 01:45:21 Login Succeeded 01:45:21 nexus3.edgexfoundry.org:10004 01:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:21 Configure a credential helper to remove this warning. See 01:45:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:21 01:45:21 Login Succeeded 01:45:21 docker.io 01:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:22 Configure a credential helper to remove this warning. See 01:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:22 01:45:22 Login Succeeded 01:45:22 ---> docker-login.sh ends [Pipeline] } 01:45:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:45:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:45:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:45:22 ========================================================= 01:45:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:45:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:22 + 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 . 01:45:23 Sending build context to Docker daemon 14.23MB 01:45:23 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 01:45:23 Step 2/14 : FROM ${BASE} AS builder 01:45:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:45:23 b3c136eddcbf: Pulling fs layer 01:45:23 c0a3192eca97: Pulling fs layer 01:45:23 a050256f5b6f: Pulling fs layer 01:45:23 656be50a0ddc: Pulling fs layer 01:45:23 2bbca73fdf42: Pulling fs layer 01:45:23 f607e4fc86c3: Pulling fs layer 01:45:23 4d572c569a2c: Pulling fs layer 01:45:23 fcf976331f73: Pulling fs layer 01:45:23 f607e4fc86c3: Waiting 01:45:23 4d572c569a2c: Waiting 01:45:23 fcf976331f73: Waiting 01:45:23 656be50a0ddc: Waiting 01:45:23 2bbca73fdf42: Waiting 01:45:23 a050256f5b6f: Verifying Checksum 01:45:23 a050256f5b6f: Download complete 01:45:23 c0a3192eca97: Verifying Checksum 01:45:23 c0a3192eca97: Download complete 01:45:23 2bbca73fdf42: Verifying Checksum 01:45:23 2bbca73fdf42: Download complete 01:45:23 f607e4fc86c3: Verifying Checksum 01:45:23 f607e4fc86c3: Download complete 01:45:23 b3c136eddcbf: Verifying Checksum 01:45:24 b3c136eddcbf: Pull complete 01:45:24 fcf976331f73: Verifying Checksum 01:45:24 fcf976331f73: Download complete 01:45:25 c0a3192eca97: Pull complete 01:45:25 a050256f5b6f: Pull complete 01:45:25 4d572c569a2c: Verifying Checksum 01:45:25 4d572c569a2c: Download complete 01:45:26 656be50a0ddc: Verifying Checksum 01:45:26 656be50a0ddc: Download complete 01:45:39 656be50a0ddc: Pull complete 01:45:39 2bbca73fdf42: Pull complete 01:45:39 f607e4fc86c3: Pull complete 01:45:45 4d572c569a2c: Pull complete 01:45:47 fcf976331f73: Pull complete 01:45:47 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 01:45:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:45:47 ---> 3970a7415f9e 01:45:47 Step 3/14 : ARG ADD_BUILD_TAGS="" 01:45:49 ---> Running in 51dc701b6a13 01:45:49 Removing intermediate container 51dc701b6a13 01:45:49 ---> 32bba4c7b35d 01:45:49 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:45:49 ---> Running in a24e150c3428 01:45:49 Removing intermediate container a24e150c3428 01:45:49 ---> da47a4f8789c 01:45:49 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 01:45:49 ---> Running in 62fc3869a060 01:45:50 Removing intermediate container 62fc3869a060 01:45:50 ---> 1b36edf9bb6d 01:45:50 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 01:45:50 ---> Running in b701dc7980cd 01:45:50 Removing intermediate container b701dc7980cd 01:45:50 ---> 3c25b60729b9 01:45:50 Step 7/14 : LABEL Name=edgex-device-onvif-camera 01:45:50 ---> Running in e17811db1d80 01:45:50 Removing intermediate container e17811db1d80 01:45:50 ---> e8c9b055ef4d 01:45:50 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:45:51 ---> Running in 01a2332b9fa7 01:45:54 Removing intermediate container 01a2332b9fa7 01:45:54 ---> bcc6f8255704 01:45:54 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:45:54 ---> Running in a5f9e9f25252 01:45:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:45:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:45:57 OK: 221 MiB in 51 packages 01:45:58 Removing intermediate container a5f9e9f25252 01:45:58 ---> b53fa10d3d86 01:45:58 Step 10/14 : WORKDIR /device-onvif-camera 01:45:58 ---> Running in fa1a6422a1ae 01:45:58 Removing intermediate container fa1a6422a1ae 01:45:58 ---> 7b19b3752f18 01:45:58 Step 11/14 : COPY go.mod vendor* ./ 01:45:58 ---> 0f2979b2799d 01:45:58 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:45:58 ---> Running in f1c9b200070a 01:46:55 Removing intermediate container f1c9b200070a 01:46:55 ---> 83eeb6c42598 01:46:55 Step 13/14 : COPY . . 01:46:55 ---> 98ff6247dead 01:46:55 Step 14/14 : RUN ${MAKE} 01:46:55 ---> Running in 2630df11f012 01:46:55 noop 01:46:55 Removing intermediate container 2630df11f012 01:46:55 ---> 8f5adc5cfa2a 01:46:55 Successfully built 8f5adc5cfa2a 01:46:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:55 + docker inspect -f . ci-base-image-arm64 01:46:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:55 prd-ubuntu20.04-docker-arm64-4c-16g-7380 does not seem to be running inside a container 01:46:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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 ******** ci-base-image-arm64 cat 01:46:57 $ docker top 0b042ebd4eae37dbb093b9f2107a318266b5b10a22cbb2df4325a9e04afcac3a -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:57 + go version 01:46:57 go version go1.18.3 linux/arm64 [Pipeline] } 01:46:58 $ docker stop --time=1 0b042ebd4eae37dbb093b9f2107a318266b5b10a22cbb2df4325a9e04afcac3a 01:46:59 $ docker rm -f 0b042ebd4eae37dbb093b9f2107a318266b5b10a22cbb2df4325a9e04afcac3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:00 + docker inspect -f . ci-base-image-arm64 01:47:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:00 prd-ubuntu20.04-docker-arm64-4c-16g-7380 does not seem to be running inside a container 01:47:00 $ 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/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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 ******** ci-base-image-arm64 cat 01:47:01 $ docker top 111adbb773e1fb982e1de556c1dd7dfba729ff6f85bd9bd6631fadd5bdcf6695 -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:01 + git config --global --add safe.directory /w/workspace/device-onvif-camera/16 [Pipeline] fileExists [Pipeline] sh 01:47:02 + make test 01:47:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:47:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 01:48:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 01:48:40 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.194s coverage: 28.2% of statements 01:48:40 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 01:48:59 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.357s coverage: 86.5% of statements 01:48:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:48:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:49:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:49:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:49:25 ./bin/test-attribution-txt.sh [Pipeline] echo 01:49:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:49:26 $ docker stop --time=1 111adbb773e1fb982e1de556c1dd7dfba729ff6f85bd9bd6631fadd5bdcf6695 01:49:28 $ docker rm -f 111adbb773e1fb982e1de556c1dd7dfba729ff6f85bd9bd6631fadd5bdcf6695 [Pipeline] // withDockerContainer [Pipeline] sh 01:49:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:49:29 Warning: overwriting stash ‘coverage-report’ 01:49:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:49:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:49:30 + ls -al . 01:49:30 total 232 01:49:30 drwxrwxr-x 9 jenkins jenkins 4096 Oct 8 01:47 . 01:49:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 01:44 .. 01:49:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 01:44 .git 01:49:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 01:44 .github 01:49:30 -rw-rw-r-- 1 jenkins jenkins 418 Oct 8 01:44 .gitignore 01:49:30 -rw-rw-r-- 1 jenkins jenkins 42 Oct 8 01:44 .golangci.yml 01:49:30 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 8 01:44 Attribution.txt 01:49:30 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 8 01:44 CHANGELOG.md 01:49:30 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 8 01:44 Dockerfile 01:49:30 -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 01:44 GOVERNANCE.md 01:49:30 -rw-rw-r-- 1 jenkins jenkins 734 Oct 8 01:44 Jenkinsfile 01:49:30 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 8 01:44 LICENSE 01:49:30 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 8 01:44 Makefile 01:49:30 -rw-rw-r-- 1 jenkins jenkins 625 Oct 8 01:44 OWNERS.md 01:49:30 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 8 01:44 README.md 01:49:30 -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 01:40 VERSION 01:49:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 01:44 bin 01:49:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 01:44 cmd 01:49:30 -rw-r--r-- 1 jenkins jenkins 78636 Oct 8 01:48 coverage.out 01:49:30 drwxrwxr-x 6 jenkins jenkins 4096 Oct 8 01:44 doc 01:49:30 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 8 01:44 go.mod 01:49:30 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 8 01:44 go.sum 01:49:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 01:44 internal 01:49:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 01:44 snap 01:49:30 -rw-rw-r-- 1 jenkins jenkins 236 Oct 8 01:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:30 + 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=c214d7759c819120044835020ac7d1796e95d4bb --label arch=arm64 --label version=0.0.0 . 01:49:31 Sending build context to Docker daemon 14.31MB 01:49:31 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 01:49:31 Step 2/27 : FROM ${BASE} AS builder 01:49:31 ---> 8f5adc5cfa2a 01:49:31 Step 3/27 : ARG ADD_BUILD_TAGS="" 01:49:31 ---> Running in 95be69878924 01:49:32 Removing intermediate container 95be69878924 01:49:32 ---> 84c936d3a18f 01:49:32 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:49:32 ---> Running in c46f5e3c7e61 01:49:32 Removing intermediate container c46f5e3c7e61 01:49:32 ---> 7b6bda234afe 01:49:32 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 01:49:32 ---> Running in f59b7b78ed20 01:49:33 Removing intermediate container f59b7b78ed20 01:49:33 ---> 9cd185ea686d 01:49:33 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 01:49:33 ---> Running in 77e2ddc929af 01:49:33 Removing intermediate container 77e2ddc929af 01:49:33 ---> dda3e2bb772f 01:49:33 Step 7/27 : LABEL Name=edgex-device-onvif-camera 01:49:33 ---> Running in 3db78190a22a 01:49:33 Removing intermediate container 3db78190a22a 01:49:33 ---> 2a6741bd0b7f 01:49:33 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:49:33 ---> Running in 2cbf731e531d 01:49:35 Removing intermediate container 2cbf731e531d 01:49:35 ---> ab449bf3b834 01:49:35 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:49:35 ---> Running in 3a94bd108e5a 01:49:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:49:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:49:38 OK: 221 MiB in 51 packages 01:49:39 Removing intermediate container 3a94bd108e5a 01:49:39 ---> e222f1115e8d 01:49:39 Step 10/27 : WORKDIR /device-onvif-camera 01:49:39 ---> Running in 2562e846c8ce 01:49:40 Removing intermediate container 2562e846c8ce 01:49:40 ---> 0a84f99ab14f 01:49:40 Step 11/27 : COPY go.mod vendor* ./ 01:49:40 ---> 6505b2959f3e 01:49:40 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:49:40 ---> Running in 1f0d6135f7c7 01:49:43 Removing intermediate container 1f0d6135f7c7 01:49:43 ---> 9c6df3064170 01:49:43 Step 13/27 : COPY . . 01:49:44 ---> d3574743a502 01:49:44 Step 14/27 : RUN ${MAKE} 01:49:44 ---> Running in e8439355dfea 01:49:45 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 01:52:22 Removing intermediate container e8439355dfea 01:52:22 ---> 42f730743807 01:52:22 Step 15/27 : FROM alpine:3.16 01:52:22 3.16: Pulling from library/alpine 01:52:22 9b18e9b68314: Pulling fs layer 01:52:22 9b18e9b68314: Verifying Checksum 01:52:22 9b18e9b68314: Download complete 01:52:22 9b18e9b68314: Pull complete 01:52:22 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:52:22 Status: Downloaded newer image for alpine:3.16 01:52:22 ---> a6215f271958 01:52:22 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:52:22 ---> Running in e21ba8244b70 01:52:22 Removing intermediate container e21ba8244b70 01:52:22 ---> 653a1e578534 01:52:22 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 01:52:22 ---> Running in 9690730d6049 01:52:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:52:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:52:22 (1/6) Installing dumb-init (1.2.5-r1) 01:52:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:52:22 (3/6) Installing libsodium (1.0.18-r0) 01:52:22 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:52:22 (5/6) Installing libzmq (4.3.4-r0) 01:52:22 (6/6) Installing zeromq (4.3.4-r0) 01:52:22 Executing busybox-1.35.0-r17.trigger 01:52:22 OK: 8 MiB in 20 packages 01:52:22 Removing intermediate container 9690730d6049 01:52:22 ---> 1c49deba27dd 01:52:22 Step 18/27 : WORKDIR / 01:52:22 ---> Running in f6661084a79b 01:52:22 Removing intermediate container f6661084a79b 01:52:22 ---> 91b5f4efb6d0 01:52:22 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 01:52:22 ---> 5c0dda776616 01:52:22 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 01:52:22 ---> ac250df67707 01:52:22 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 01:52:22 ---> 4697781c597d 01:52:22 Step 22/27 : EXPOSE 59984 01:52:22 ---> Running in c0a1e65be3f1 01:52:22 Removing intermediate container c0a1e65be3f1 01:52:22 ---> 03a1f9136cbd 01:52:22 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 01:52:22 ---> Running in 76fd42bf2c1b 01:52:22 Removing intermediate container 76fd42bf2c1b 01:52:22 ---> 491785127ba1 01:52:22 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:52:22 ---> Running in be16de6247f2 01:52:23 Removing intermediate container be16de6247f2 01:52:23 ---> 032f02a1c5e9 01:52:23 Step 25/27 : LABEL arch=arm64 01:52:23 ---> Running in 2c2aa4dd0222 01:52:23 Removing intermediate container 2c2aa4dd0222 01:52:23 ---> 9e676d8961f4 01:52:23 Step 26/27 : LABEL git_sha=c214d7759c819120044835020ac7d1796e95d4bb 01:52:23 ---> Running in 33f2b656c1dd 01:52:24 Removing intermediate container 33f2b656c1dd 01:52:24 ---> 37f602ecb46d 01:52:24 Step 27/27 : LABEL version=0.0.0 01:52:24 ---> Running in 66d1279a9bde 01:52:24 Removing intermediate container 66d1279a9bde 01:52:24 ---> 9dbbc975ca2a 01:52:24 [Warning] One or more build-args [ARCH] were not consumed 01:52:24 Successfully built 9dbbc975ca2a 01:52:24 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 01:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:24 01:52:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:25 arm64: Pulling from edgex-lftools-log-publisher 01:52:25 8998bd30e6a1: Pulling fs layer 01:52:25 04944245beec: Pulling fs layer 01:52:25 699f458cf7ca: Pulling fs layer 01:52:25 765212b225bb: Pulling fs layer 01:52:25 f23df028b6ca: Pulling fs layer 01:52:25 d65c8cfc05b1: Pulling fs layer 01:52:25 2437ff75d9bd: Pulling fs layer 01:52:25 f23df028b6ca: Waiting 01:52:25 d65c8cfc05b1: Waiting 01:52:25 2437ff75d9bd: Waiting 01:52:25 765212b225bb: Waiting 01:52:25 04944245beec: Verifying Checksum 01:52:25 04944245beec: Download complete 01:52:25 765212b225bb: Verifying Checksum 01:52:25 765212b225bb: Download complete 01:52:25 f23df028b6ca: Verifying Checksum 01:52:25 f23df028b6ca: Download complete 01:52:25 d65c8cfc05b1: Verifying Checksum 01:52:25 d65c8cfc05b1: Download complete 01:52:25 699f458cf7ca: Download complete 01:52:25 8998bd30e6a1: Verifying Checksum 01:52:25 8998bd30e6a1: Download complete 01:52:28 2437ff75d9bd: Verifying Checksum 01:52:28 2437ff75d9bd: Download complete 01:52:30 8998bd30e6a1: Pull complete 01:52:30 04944245beec: Pull complete 01:52:32 699f458cf7ca: Pull complete 01:52:32 765212b225bb: Pull complete 01:52:32 f23df028b6ca: Pull complete 01:52:33 d65c8cfc05b1: Pull complete 01:52:48 2437ff75d9bd: Pull complete 01:52:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:52:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:48 prd-ubuntu20.04-docker-arm64-4c-16g-7380 does not seem to be running inside a container 01:52:48 $ 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/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:52:51 $ docker top 543cfdb1ac767e9548e2b38d3989e6b8ab0c1db41a8e4d935b431b49050a3c4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:51 ---> job-cost.sh 01:52:51 lf-activate-venv: SKIPPING 01:52:51 INFO: No Stack... 01:52:52 INFO: Retrieving Pricing Info for: v3-standard-4 01:52:53 INFO: Archiving Costs [Pipeline] sh 01:52:53 + cat /w/workspace/device-onvif-camera/16/archives/cost.csv 01:52:53 + cut -d, -f6 [Pipeline] lock 01:52:53 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] 01:52:53 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] did not exist. Created. 01:52:53 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:52:54 /w/workspace/device-onvif-camera/16@tmp/durable-68a8c62f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:52:55 + echo total: 0.10999999940395355 [Pipeline] stash 01:52:55 Warning: overwriting stash ‘stack-cost’ 01:52:55 Stashed 1 file(s) [Pipeline] } 01:52:55 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] [Pipeline] // lock [Pipeline] } 01:52:55 $ docker stop --time=1 543cfdb1ac767e9548e2b38d3989e6b8ab0c1db41a8e4d935b431b49050a3c4c 01:52:56 $ docker rm -f 543cfdb1ac767e9548e2b38d3989e6b8ab0c1db41a8e4d935b431b49050a3c4c [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 01:52:57 provisioning config files... 01:52:57 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config6053265584420321246tmp [Pipeline] { [Pipeline] sh 01:52:57 + set +x 01:52:57 + curl -s https://codecov.io/bash 01:52:57 + bash -s -- 01:52:57 01:52:57 _____ _ 01:52:57 / ____| | | 01:52:57 | | ___ __| | ___ ___ _____ __ 01:52:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:52:57 | |___| (_) | (_| | __/ (_| (_) \ V / 01:52:57 \_____\___/ \__,_|\___|\___\___/ \_/ 01:52:57 Bash-1.0.6 01:52:57 01:52:57 01:52:57 ==> git version 2.25.1 found 01:52:57 ==> 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 01:52:57 Release-Date: 2020-01-08 01:52:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:52:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:52:57 ==> Jenkins CI detected. 01:52:57 current dir:  /w/workspace/undry_device-onvif-camera_PR-172 01:52:57 project root: . 01:52:57 --> token set from env 01:52:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:52:57 ==> Running gcov in . (disable via -X gcov) 01:52:57 ==> Python coveragepy not found 01:52:57 ==> Searching for coverage reports in: 01:52:57 + . 01:52:57 -> Found 1 reports 01:52:57 ==> Detecting git/mercurial file structure 01:52:57 ==> Reading reports 01:52:57 + ./coverage.out bytes=78636 01:52:57 ==> Appending adjustments 01:52:57 https://docs.codecov.io/docs/fixing-reports 01:52:57 + Found adjustments 01:52:57 ==> Gzipping contents 01:52:57 12K /tmp/codecov.VCmp5X.gz 01:52:57 ==> Uploading reports 01:52:57 url: https://codecov.io 01:52:57 query: branch=PR-172&commit=c214d7759c819120044835020ac7d1796e95d4bb&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= 01:52:57 -> Pinging Codecov 01:52:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-172&commit=c214d7759c819120044835020ac7d1796e95d4bb&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= 01:52:58 -> Uploading to 01:52:58 https://storage.googleapis.com/codecov/v4/raw/2022-10-08/F29A59C45E3A92E06B3E522C9905F8EF/c214d7759c819120044835020ac7d1796e95d4bb/14e20cce-2420-41d3-a6bb-cb3fa56089b3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221008%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221008T015258Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c220a85045507aff00adbaf134adfd737f1e604d9806a5eeb6fc8c5d12d0e2a3 01:52:58 % Total % Received % Xferd Average Speed Time Time Time Current 01:52:58 Dload Upload Total Spent Left Speed 01:52:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10714 0 0 100 10714 0 40430 --:--:-- --:--:-- --:--:-- 40583 01:52:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c214d7759c819120044835020ac7d1796e95d4bb [Pipeline] } 01:52:58 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 01:52:59 + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] 01:52:59 + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives 01:52:59 total 16 01:52:59 drwxr-xr-x 3 root root 4096 Oct 8 01:43 . 01:52:59 drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 01:43 .. 01:52:59 drwxr-xr-x 2 root root 4096 Oct 8 01:43 cost 01:52:59 -rw-r--r-- 1 root root 92 Oct 8 01:43 cost.csv 01:52:59 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives 01:52:59 + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives 01:52:59 total 16 01:52:59 drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 01:43 . 01:52:59 drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 01:43 .. 01:52:59 drwxr-xr-x 2 jenkins jenkins 4096 Oct 8 01:43 cost 01:52:59 -rw-r--r-- 1 jenkins jenkins 92 Oct 8 01:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:52:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:53:00 ---> package-listing.sh 01:53:00 ++ facter osfamily 01:53:00 ++ tr '[:upper:]' '[:lower:]' 01:53:00 + OS_FAMILY=debian 01:53:00 + workspace=/w/workspace/undry_device-onvif-camera_PR-172 01:53:00 + START_PACKAGES=/tmp/packages_start.txt 01:53:00 + END_PACKAGES=/tmp/packages_end.txt 01:53:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:53:00 + PACKAGES=/tmp/packages_start.txt 01:53:00 + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' 01:53:00 + PACKAGES=/tmp/packages_end.txt 01:53:00 + case "${OS_FAMILY}" in 01:53:00 + dpkg -l 01:53:00 + grep '^ii' 01:53:00 + '[' -f /tmp/packages_start.txt ']' 01:53:00 + '[' -f /tmp/packages_end.txt ']' 01:53:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:53:00 + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' 01:53:00 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ 01:53:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo 01:53:00 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:53:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:53:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:01 prd-ubuntu20.04-docker-8c-8g-7378 does not seem to be running inside a container 01:53:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:53:01 $ docker top 5eb7773b3e569d6624222bbd39426382d476ce1e1903c5607e5ae6261e488c7d -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:02 + touch /tmp/pre-build-complete [Pipeline] sh 01:53:02 + mkdir -p /var/log/sysstat [Pipeline] sh 01:53:02 + ls /var/log/sa-host 01:53:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:02 provisioning config files... 01:53:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config1917190061813283911tmp [Pipeline] { [Pipeline] echo 01:53:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:53:03 ---> create-netrc.sh [Pipeline] } 01:53:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:53:03 ---> python-tools-install.sh [Pipeline] echo 01:53:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:53:03 ---> sudo-logs.sh 01:53:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:53:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:53:04 ---> job-cost.sh 01:53:04 lf-activate-venv: SKIPPING 01:53:04 DEBUG: total: 0.2199999988079071 01:53:04 INFO: Retrieving Stack Cost... 01:53:04 INFO: Retrieving Pricing Info for: v3-standard-8 01:53:04 INFO: Archiving Costs [Pipeline] echo 01:53:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:53:05 ---> logs-deploy.sh 01:53:05 lf-activate-venv: SKIPPING 01:53:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/16 01:53:05 INFO: archiving workspace using pattern(s): 01:53:06 Archives upload complete. 01:53:06 INFO: archiving logs to Nexus 01:53:06 ---> uname -a: 01:53:06 Linux prd-ubuntu20-04-docker-8c-8g-7378 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:53:06 01:53:06 01:53:06 ---> lscpu: 01:53:06 Architecture: x86_64 01:53:06 CPU op-mode(s): 32-bit, 64-bit 01:53:06 Byte Order: Little Endian 01:53:06 Address sizes: 40 bits physical, 48 bits virtual 01:53:06 CPU(s): 8 01:53:06 On-line CPU(s) list: 0-7 01:53:06 Thread(s) per core: 1 01:53:06 Core(s) per socket: 1 01:53:06 Socket(s): 8 01:53:06 NUMA node(s): 1 01:53:06 Vendor ID: AuthenticAMD 01:53:06 CPU family: 23 01:53:06 Model: 49 01:53:06 Model name: AMD EPYC-Rome Processor 01:53:06 Stepping: 0 01:53:06 CPU MHz: 2799.998 01:53:06 BogoMIPS: 5599.99 01:53:06 Virtualization: AMD-V 01:53:06 Hypervisor vendor: KVM 01:53:06 Virtualization type: full 01:53:06 L1d cache: 256 KiB 01:53:06 L1i cache: 256 KiB 01:53:06 L2 cache: 4 MiB 01:53:06 L3 cache: 128 MiB 01:53:06 NUMA node0 CPU(s): 0-7 01:53:06 Vulnerability Itlb multihit: Not affected 01:53:06 Vulnerability L1tf: Not affected 01:53:06 Vulnerability Mds: Not affected 01:53:06 Vulnerability Meltdown: Not affected 01:53:06 Vulnerability Mmio stale data: Not affected 01:53:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:53:06 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:53:06 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:53:06 Vulnerability Srbds: Not affected 01:53:06 Vulnerability Tsx async abort: Not affected 01:53:06 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 01:53:06 01:53:06 01:53:06 ---> nproc: 01:53:06 8 01:53:06 01:53:06 01:53:06 ---> df -h: 01:53:06 Filesystem Size Used Avail Use% Mounted on 01:53:06 overlay 155G 12G 144G 8% / 01:53:06 tmpfs 64M 0 64M 0% /dev 01:53:06 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:53:06 shm 64M 0 64M 0% /dev/shm 01:53:06 /dev/vda1 155G 12G 144G 8% /facter-os 01:53:06 01:53:06