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 f5aeb6614c21a3e0ce3156cc256a3d02faf462bc 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-ssh10149824518807878915.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-ssh15894920149008981206.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-ssh2880395227581487668.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-ssh14053537033491901318.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-ssh12951653694960476528.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7400 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-172 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit f5aeb6614c21a3e0ce3156cc256a3d02faf462bc Merge succeeded, producing f5aeb6614c21a3e0ce3156cc256a3d02faf462bc Checking out Revision f5aeb6614c21a3e0ce3156cc256a3d02faf462bc (PR-172) Commit message: "fix:discovery mode netscan when using docker-compose" > git config core.sparsecheckout # timeout=10 > git checkout -f f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # 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 f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # timeout=10 > git rev-list --no-walk c214d7759c819120044835020ac7d1796e95d4bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:26:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:26:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:26:03 ========================================================= 10:26:03 EdgeX Global Pipelines Version Info 10:26:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:26:04 ------------------- 10:26:04 stable info: 10:26:04 ------------------- 10:26:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:26:04 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:26:04 Message: update stable to v1.0.239 10:26:04 ------------------- 10:26:04 experimental info: 10:26:04 ------------------- 10:26:04 Commited By: **** collab-it+edgex@linuxfoundation.org 10:26:04 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:26:04 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:26:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:26:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:26:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:26:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:26:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:26:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:26:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:26:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:26:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5aeb66 [Pipeline] echo 10:26:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:26:05 provisioning config files... 10:26:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config2091835224222612136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:05 ---> docker-login.sh 10:26:05 nexus3.edgexfoundry.org:10001 10:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:06 Configure a credential helper to remove this warning. See 10:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:06 10:26:06 Login Succeeded 10:26:06 nexus3.edgexfoundry.org:10002 10:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:06 Configure a credential helper to remove this warning. See 10:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:06 10:26:06 Login Succeeded 10:26:06 nexus3.edgexfoundry.org:10003 10:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:06 Configure a credential helper to remove this warning. See 10:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:06 10:26:06 Login Succeeded 10:26:06 nexus3.edgexfoundry.org:10004 10:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:06 Configure a credential helper to remove this warning. See 10:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:06 10:26:06 Login Succeeded 10:26:06 docker.io 10:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:07 Configure a credential helper to remove this warning. See 10:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:07 10:26:07 Login Succeeded 10:26:07 ---> docker-login.sh ends [Pipeline] } 10:26:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:26:07 + git rev-list -1 --merges f5aeb6614c21a3e0ce3156cc256a3d02faf462bc~1..f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [Pipeline] echo 10:26:07 -----------> git rev-list -1 --merges f5aeb6614c21a3e0ce3156cc256a3d02faf462bc~1..f5aeb6614c21a3e0ce3156cc256a3d02faf462bc f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [false] [Pipeline] sh 10:26:07 + git log --format=format:%s -1 f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [Pipeline] echo 10:26:07 ========================================================= 10:26:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:26:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:26:08 + git log --format=format:%s -1 f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [Pipeline] echo 10:26:08 [semverPrep] GIT_COMMIT: f5aeb6614c21a3e0ce3156cc256a3d02faf462bc, Commit Message: fix:discovery mode netscan when using docker-compose [Pipeline] echo 10:26:08 [semverPrep] This is not a build commit. [Pipeline] sh 10:26:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:26:08 + grep -v github /etc/ssh/ssh_known_hosts 10:26:08 + [ -e /tmp/ssh_known_hosts ] 10:26:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:26:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:26:08 + sudo tee -a /etc/ssh/ssh_known_hosts 10:26:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:08 10:26:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:09 0.1.4: Pulling from edgex-devops/py-git-semver 10:26:09 b85a868b505f: Pulling fs layer 10:26:09 e2be974225ed: Pulling fs layer 10:26:09 339a4e72a1f5: Pulling fs layer 10:26:09 988bab9f4d93: Pulling fs layer 10:26:09 1469e6f7b9e6: Pulling fs layer 10:26:09 eaf3925da568: Pulling fs layer 10:26:09 bab4dde63d76: Pulling fs layer 10:26:09 bde34c3a00c8: Pulling fs layer 10:26:09 b352a97aabf1: Pulling fs layer 10:26:09 4872d77fe225: Pulling fs layer 10:26:09 5851b861e8e6: Pulling fs layer 10:26:09 988bab9f4d93: Waiting 10:26:09 1469e6f7b9e6: Waiting 10:26:09 eaf3925da568: Waiting 10:26:09 bde34c3a00c8: Waiting 10:26:09 b352a97aabf1: Waiting 10:26:09 bab4dde63d76: Waiting 10:26:09 4872d77fe225: Waiting 10:26:09 5851b861e8e6: Waiting 10:26:09 e2be974225ed: Verifying Checksum 10:26:09 e2be974225ed: Download complete 10:26:09 988bab9f4d93: Download complete 10:26:09 1469e6f7b9e6: Verifying Checksum 10:26:09 1469e6f7b9e6: Download complete 10:26:09 eaf3925da568: Verifying Checksum 10:26:09 eaf3925da568: Download complete 10:26:09 339a4e72a1f5: Verifying Checksum 10:26:09 339a4e72a1f5: Download complete 10:26:09 bde34c3a00c8: Download complete 10:26:09 b352a97aabf1: Download complete 10:26:09 4872d77fe225: Verifying Checksum 10:26:09 4872d77fe225: Download complete 10:26:09 5851b861e8e6: Verifying Checksum 10:26:09 5851b861e8e6: Download complete 10:26:09 b85a868b505f: Verifying Checksum 10:26:09 b85a868b505f: Download complete 10:26:09 bab4dde63d76: Verifying Checksum 10:26:09 bab4dde63d76: Download complete 10:26:10 b85a868b505f: Pull complete 10:26:10 e2be974225ed: Pull complete 10:26:11 339a4e72a1f5: Pull complete 10:26:11 988bab9f4d93: Pull complete 10:26:11 1469e6f7b9e6: Pull complete 10:26:11 eaf3925da568: Pull complete 10:26:13 bab4dde63d76: Pull complete 10:26:13 bde34c3a00c8: Pull complete 10:26:13 b352a97aabf1: Pull complete 10:26:13 4872d77fe225: Pull complete 10:26:13 5851b861e8e6: Pull complete 10:26:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:26:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:13 prd-ubuntu20.04-docker-8c-8g-7400 does not seem to be running inside a container 10:26:13 $ 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 10:26:18 $ docker top 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e -eo pid,comm 10:26:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:26:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:26:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:26:18 [ssh-agent] Looking for ssh-agent implementation... 10:26:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:26:19 $ docker exec 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e ssh-agent 10:26:19 SSH_AUTH_SOCK=/tmp/ssh-R2rb3lk9Na7n/agent.33 10:26:19 SSH_AGENT_PID=39 10:26:19 Running ssh-add (command line suppressed) 10:26:19 Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_13371085140308959126.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_13371085140308959126.key) 10:26:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:26:19 + git tag --points-at HEAD [Pipeline] } 10:26:19 $ docker exec --env ******** --env ******** 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e ssh-agent -k 10:26:19 unset SSH_AUTH_SOCK; 10:26:19 unset SSH_AGENT_PID; 10:26:19 echo Agent pid 39 killed; 10:26:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:26:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:26:19 [ssh-agent] Looking for ssh-agent implementation... 10:26:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:26:19 $ docker exec 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e ssh-agent 10:26:19 SSH_AUTH_SOCK=/tmp/ssh-QFechVLsG58F/agent.72 10:26:19 SSH_AGENT_PID=78 10:26:19 Running ssh-add (command line suppressed) 10:26:20 Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_14706992931247963330.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_14706992931247963330.key) 10:26:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:26:20 + git semver init 10:26:20 2022-10-08 10:26:20,550 [run_init] DEBUG init version:0.0.0 force:False 10:26:20 2022-10-08 10:26:20,551 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver 10:26:20 2022-10-08 10:26:20,551 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver 10:26:20 2022-10-08 10:26:20,552 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) 10:26:22 2022-10-08 10:26:21,616 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude 10:26:22 2022-10-08 10:26:21,616 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False 10:26:22 2022-10-08 10:26:21,616 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 10:26:22 2022-10-08 10:26:21,620 [execute] INFO git cat-file --batch-check 10:26:22 2022-10-08 10:26:21,621 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) 10:26:22 2022-10-08 10:26:21,626 [execute] INFO git cat-file --batch 10:26:22 2022-10-08 10:26:21,627 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) 10:26:22 2022-10-08 10:26:21,631 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 10:26:22 0.0.0 [Pipeline] } 10:26:22 $ docker exec --env ******** --env ******** 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e ssh-agent -k 10:26:22 unset SSH_AUTH_SOCK; 10:26:22 unset SSH_AGENT_PID; 10:26:22 echo Agent pid 78 killed; 10:26:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:26:22 + git semver [Pipeline] } 10:26:22 $ docker stop --time=1 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e 10:26:24 $ docker rm -f 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e [Pipeline] // withDockerContainer [Pipeline] sh 10:26:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:26:24 Stashed 1 file(s) [Pipeline] echo 10:26:24 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:26:24 provisioning config files... 10:26:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config16077153561047989147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:24 ---> docker-login.sh 10:26:24 nexus3.edgexfoundry.org:10001 10:26:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:24 Configure a credential helper to remove this warning. See 10:26:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:24 10:26:24 Login Succeeded 10:26:24 nexus3.edgexfoundry.org:10002 10:26:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:24 Configure a credential helper to remove this warning. See 10:26:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:24 10:26:24 Login Succeeded 10:26:24 nexus3.edgexfoundry.org:10003 10:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:25 Configure a credential helper to remove this warning. See 10:26:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:25 10:26:25 Login Succeeded 10:26:25 nexus3.edgexfoundry.org:10004 10:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:25 Configure a credential helper to remove this warning. See 10:26:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:25 10:26:25 Login Succeeded 10:26:25 docker.io 10:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:25 Configure a credential helper to remove this warning. See 10:26:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:25 10:26:25 Login Succeeded 10:26:25 ---> docker-login.sh ends [Pipeline] } 10:26:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:26:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:26:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:26:25 ========================================================= 10:26:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:26:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 10:26:26 Sending build context to Docker daemon 20.81MB 10:26:26 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 10:26:26 Step 2/14 : FROM ${BASE} AS builder 10:26:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:26:26 2408cc74d12b: Pulling fs layer 10:26:26 ea60b727a1ce: Pulling fs layer 10:26:26 30c4a7721957: Pulling fs layer 10:26:26 370296b7ddb6: Pulling fs layer 10:26:26 7c6cee850709: Pulling fs layer 10:26:26 aa9baa53a306: Pulling fs layer 10:26:26 8b309c321861: Pulling fs layer 10:26:26 d8d76fd02f46: Pulling fs layer 10:26:26 fa31f396de31: Pulling fs layer 10:26:26 7c6cee850709: Waiting 10:26:26 d8d76fd02f46: Waiting 10:26:26 aa9baa53a306: Waiting 10:26:26 8b309c321861: Waiting 10:26:26 fa31f396de31: Waiting 10:26:26 370296b7ddb6: Waiting 10:26:26 30c4a7721957: Verifying Checksum 10:26:26 30c4a7721957: Download complete 10:26:26 ea60b727a1ce: Verifying Checksum 10:26:26 ea60b727a1ce: Download complete 10:26:26 7c6cee850709: Download complete 10:26:26 aa9baa53a306: Verifying Checksum 10:26:26 aa9baa53a306: Download complete 10:26:26 2408cc74d12b: Verifying Checksum 10:26:26 2408cc74d12b: Download complete 10:26:26 8b309c321861: Verifying Checksum 10:26:26 8b309c321861: Download complete 10:26:26 2408cc74d12b: Pull complete 10:26:26 ea60b727a1ce: Pull complete 10:26:26 30c4a7721957: Pull complete 10:26:26 fa31f396de31: Verifying Checksum 10:26:26 fa31f396de31: Download complete 10:26:26 d8d76fd02f46: Verifying Checksum 10:26:26 d8d76fd02f46: Download complete 10:26:27 370296b7ddb6: Verifying Checksum 10:26:27 370296b7ddb6: Download complete 10:26:30 370296b7ddb6: Pull complete 10:26:30 7c6cee850709: Pull complete 10:26:30 aa9baa53a306: Pull complete 10:26:30 8b309c321861: Pull complete 10:26:32 d8d76fd02f46: Pull complete 10:26:33 fa31f396de31: Pull complete 10:26:33 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 10:26:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:26:33 ---> cef68f9685f8 10:26:33 Step 3/14 : ARG ADD_BUILD_TAGS="" 10:26:39 Still waiting to schedule task 10:26:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:26:41 ---> Running in 752c3302a247 10:26:41 Removing intermediate container 752c3302a247 10:26:41 ---> bc95e007e509 10:26:41 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:26:41 ---> Running in 1f1c85289128 10:26:41 Removing intermediate container 1f1c85289128 10:26:41 ---> 3956427f98db 10:26:41 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:26:41 ---> Running in b0d1b1b97caa 10:26:41 Removing intermediate container b0d1b1b97caa 10:26:41 ---> 0d23b8074942 10:26:41 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 10:26:41 ---> Running in 2a926008e816 10:26:41 Removing intermediate container 2a926008e816 10:26:41 ---> c3ca692c9fce 10:26:41 Step 7/14 : LABEL Name=edgex-device-onvif-camera 10:26:41 ---> Running in 62091190adb5 10:26:41 Removing intermediate container 62091190adb5 10:26:41 ---> e39bdb66a36f 10:26:41 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:26:41 ---> Running in 78a8c63bb65c 10:26:41 Removing intermediate container 78a8c63bb65c 10:26:41 ---> f6093cc1bbb6 10:26:41 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:26:41 ---> Running in 68516f55eb0e 10:26:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:26:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:26:43 OK: 211 MiB in 51 packages 10:26:43 Removing intermediate container 68516f55eb0e 10:26:43 ---> 921d7159a7d2 10:26:43 Step 10/14 : WORKDIR /device-onvif-camera 10:26:43 ---> Running in 13b2558ea4bd 10:26:43 Removing intermediate container 13b2558ea4bd 10:26:43 ---> 5ae2b0996550 10:26:43 Step 11/14 : COPY go.mod vendor* ./ 10:26:43 ---> 2a8d43d52742 10:26:43 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:26:43 ---> Running in 96a0a78fc178 10:27:16 Removing intermediate container 96a0a78fc178 10:27:16 ---> 732cfe6c19b6 10:27:16 Step 13/14 : COPY . . 10:27:16 ---> c337334a7f08 10:27:16 Step 14/14 : RUN ${MAKE} 10:27:16 ---> Running in 2f047269cfa3 10:27:16 noop 10:27:17 Removing intermediate container 2f047269cfa3 10:27:17 ---> e72327c6d9a9 10:27:17 Successfully built e72327c6d9a9 10:27:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:17 + docker inspect -f . ci-base-image-x86_64 10:27:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:17 prd-ubuntu20.04-docker-8c-8g-7400 does not seem to be running inside a container 10:27:17 $ 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 10:27:17 $ docker top 8adccef23f33afdbdeac225ee6a4c79949beafc52b8ce4f47a5ad93ef833a5a8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:18 + go version 10:27:18 go version go1.18.3 linux/amd64 [Pipeline] } 10:27:18 $ docker stop --time=1 8adccef23f33afdbdeac225ee6a4c79949beafc52b8ce4f47a5ad93ef833a5a8 10:27:19 $ docker rm -f 8adccef23f33afdbdeac225ee6a4c79949beafc52b8ce4f47a5ad93ef833a5a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:19 + docker inspect -f . ci-base-image-x86_64 10:27:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:19 prd-ubuntu20.04-docker-8c-8g-7400 does not seem to be running inside a container 10:27:19 $ 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 10:27:20 $ docker top 920a61e5229a04efc6e2ef2987950d56724bf55bc45e15b6e76023108cd21523 -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:20 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh 10:27:20 + make test 10:27:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:27:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:27:33 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:27:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements 10:27:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:27:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.847s coverage: 86.5% of statements 10:27:41 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 10:27:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:27:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:27:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:27:44 ./bin/test-attribution-txt.sh [Pipeline] echo 10:27:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:27:45 $ docker stop --time=1 920a61e5229a04efc6e2ef2987950d56724bf55bc45e15b6e76023108cd21523 10:27:47 $ docker rm -f 920a61e5229a04efc6e2ef2987950d56724bf55bc45e15b6e76023108cd21523 [Pipeline] // withDockerContainer [Pipeline] sh 10:27:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:27:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:27:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:27:49 + ls -al . 10:27:49 total 236 10:27:49 drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 10:27 . 10:27:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 10:26 .. 10:27:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 10:27 .git 10:27:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 10:26 .github 10:27:49 -rw-rw-r-- 1 jenkins jenkins 418 Oct 8 10:26 .gitignore 10:27:49 -rw-rw-r-- 1 jenkins jenkins 42 Oct 8 10:26 .golangci.yml 10:27:49 drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 10:26 .semver 10:27:49 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 8 10:26 Attribution.txt 10:27:49 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 8 10:26 CHANGELOG.md 10:27:49 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 8 10:26 Dockerfile 10:27:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 10:26 GOVERNANCE.md 10:27:49 -rw-rw-r-- 1 jenkins jenkins 734 Oct 8 10:26 Jenkinsfile 10:27:49 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 8 10:26 LICENSE 10:27:49 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 8 10:26 Makefile 10:27:49 -rw-rw-r-- 1 jenkins jenkins 625 Oct 8 10:26 OWNERS.md 10:27:49 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 8 10:26 README.md 10:27:49 -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 10:26 VERSION 10:27:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 10:26 bin 10:27:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 10:26 cmd 10:27:49 -rw-r--r-- 1 jenkins jenkins 78636 Oct 8 10:27 coverage.out 10:27:49 drwxrwxr-x 6 jenkins jenkins 4096 Oct 8 10:26 doc 10:27:49 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 8 10:26 go.mod 10:27:49 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 8 10:26 go.sum 10:27:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 10:26 internal 10:27:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 10:26 snap 10:27:49 -rw-rw-r-- 1 jenkins jenkins 236 Oct 8 10:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:49 + 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=f5aeb6614c21a3e0ce3156cc256a3d02faf462bc --label arch=amd64 --label version=0.0.0 . 10:27:49 Sending build context to Docker daemon 20.89MB 10:27:49 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 10:27:49 Step 2/27 : FROM ${BASE} AS builder 10:27:49 ---> e72327c6d9a9 10:27:49 Step 3/27 : ARG ADD_BUILD_TAGS="" 10:27:49 ---> Running in 2b0133145ca7 10:27:49 Removing intermediate container 2b0133145ca7 10:27:49 ---> 12d8d8926eff 10:27:49 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:27:49 ---> Running in 172431e68109 10:27:50 Removing intermediate container 172431e68109 10:27:50 ---> d9230d49eba1 10:27:50 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:27:50 ---> Running in 67bd9e5bd3bf 10:27:50 Removing intermediate container 67bd9e5bd3bf 10:27:50 ---> 665affc3ee6a 10:27:50 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 10:27:50 ---> Running in 9b948887c2b0 10:27:50 Removing intermediate container 9b948887c2b0 10:27:50 ---> a174cf623af5 10:27:50 Step 7/27 : LABEL Name=edgex-device-onvif-camera 10:27:50 ---> Running in 771060ae8e62 10:27:50 Removing intermediate container 771060ae8e62 10:27:50 ---> 0433b24e8e1f 10:27:50 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:27:50 ---> Running in 197873d7b697 10:27:50 Removing intermediate container 197873d7b697 10:27:50 ---> ae584da2095f 10:27:50 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:27:51 ---> Running in 4679cec4cb96 10:27:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:27:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:27:52 OK: 211 MiB in 51 packages 10:27:52 Removing intermediate container 4679cec4cb96 10:27:52 ---> 01015f7111cb 10:27:52 Step 10/27 : WORKDIR /device-onvif-camera 10:27:52 ---> Running in 590f57d5aed0 10:27:52 Removing intermediate container 590f57d5aed0 10:27:52 ---> 27708c52dfb1 10:27:52 Step 11/27 : COPY go.mod vendor* ./ 10:27:52 ---> 7b2d29875f70 10:27:52 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:27:52 ---> Running in dcdd72c68b44 10:27:53 Removing intermediate container dcdd72c68b44 10:27:53 ---> c38cd1c27f69 10:27:53 Step 13/27 : COPY . . 10:27:54 ---> 36c1f396156b 10:27:54 Step 14/27 : RUN ${MAKE} 10:27:54 ---> Running in f0e1345d4abe 10:27:54 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:28:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7401 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws 10:28:08 Running in /w/workspace/device-onvif-camera/17 [Pipeline] { [Pipeline] checkout 10:28:08 The recommended git tool is: git 10:28:13 using credential edgex-jenkins-ssh 10:28:13 Cloning the remote Git repository 10:28:13 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:28:13 > git init /w/workspace/device-onvif-camera/17 # timeout=10 10:28:13 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:28:13 > git --version # timeout=10 10:28:13 > git --version # 'git version 2.25.1' 10:28:13 using GIT_SSH to set credentials SSH Credentials for GitHub 10:28:13 Verifying host key using known hosts file 10:28:13 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 10:28:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:28:14 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:28:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:28:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:28:16 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit f5aeb6614c21a3e0ce3156cc256a3d02faf462bc 10:28:16 Merge succeeded, producing f5aeb6614c21a3e0ce3156cc256a3d02faf462bc 10:28:16 Checking out Revision f5aeb6614c21a3e0ce3156cc256a3d02faf462bc (PR-172) 10:28:15 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:28:15 using GIT_SSH to set credentials SSH Credentials for GitHub 10:28:15 Verifying host key using known hosts file 10:28:15 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 10:28:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:28:16 > git config core.sparsecheckout # timeout=10 10:28:16 > git checkout -f f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # timeout=10 10:28:16 > git remote # timeout=10 10:28:16 > git config --get remote.origin.url # timeout=10 10:28:16 using GIT_SSH to set credentials SSH Credentials for GitHub 10:28:16 Verifying host key using known hosts file 10:28:16 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 10:28:16 > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 10:28:16 > git rev-parse HEAD^{commit} # timeout=10 10:28:16 > git config core.sparsecheckout # timeout=10 10:28:16 > git checkout -f f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # timeout=10 10:28:17 Commit message: "fix:discovery mode netscan when using docker-compose" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:28:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:28:18 % Total % Received % Xferd Average Speed Time Time Time Current 10:28:18 Dload Upload Total Spent Left Speed 10:28:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 94 12602 94 11881 0 0 61559 0 --:--:-- --:--:-- --:--:-- 61559 100 12602 100 12602 0 0 64958 0 --:--:-- --:--:-- --:--:-- 64625 [Pipeline] sh 10:28:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:28:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:28:19 + sudo tee /etc/docker/daemon.new 10:28:19 { 10:28:19 "registry-mirrors": [ 10:28:19 "https://nexus3.edgexfoundry.org:10001" 10:28:19 ], 10:28:19 "bip": "10.250.0.254/24", 10:28:19 "hosts": [ 10:28:19 "tcp://0.0.0.0:5555", 10:28:19 "unix:///var/run/docker.sock" 10:28:19 ], 10:28:19 "mtu": 1458, 10:28:19 "selinux-enabled": true, 10:28:19 "seccomp-profile": "/etc/docker/seccomp.json" 10:28:19 } [Pipeline] sh 10:28:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:28:19 + sudo service docker restart 10:28:21 Removing intermediate container f0e1345d4abe 10:28:21 ---> c3d0a00d43ff 10:28:21 Step 15/27 : FROM alpine:3.16 10:28:21 3.16: Pulling from library/alpine 10:28:21 213ec9aee27d: Pulling fs layer 10:28:21 213ec9aee27d: Download complete 10:28:21 213ec9aee27d: Pull complete 10:28:21 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:28:21 Status: Downloaded newer image for alpine:3.16 10:28:21 ---> 9c6f07244728 10:28:21 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:28:21 ---> Running in 52f05d5a4ea4 10:28:21 Removing intermediate container 52f05d5a4ea4 10:28:21 ---> d12e93dade3c 10:28:21 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 10:28:21 ---> Running in 58d6084e59cb 10:28:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:28:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:28:21 (1/6) Installing dumb-init (1.2.5-r1) 10:28:21 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:28:21 (3/6) Installing libsodium (1.0.18-r0) 10:28:21 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:28:21 (5/6) Installing libzmq (4.3.4-r0) 10:28:21 (6/6) Installing zeromq (4.3.4-r0) 10:28:21 Executing busybox-1.35.0-r17.trigger 10:28:21 OK: 8 MiB in 20 packages 10:28:21 Removing intermediate container 58d6084e59cb 10:28:21 ---> 5f1340f86c43 10:28:21 Step 18/27 : WORKDIR / 10:28:21 ---> Running in e42aef37415a 10:28:21 Removing intermediate container e42aef37415a 10:28:21 ---> 2fc1b9a30ff8 10:28:21 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 10:28:22 ---> c093dc62f865 10:28:22 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 10:28:22 ---> 61520ff36deb 10:28:22 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:28:22 ---> c4ba07794ab0 10:28:22 Step 22/27 : EXPOSE 59984 10:28:22 ---> Running in 51fb96ba8098 10:28:22 Removing intermediate container 51fb96ba8098 10:28:22 ---> 7363d81227ea 10:28:22 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 10:28:22 ---> Running in eb615005c4f1 10:28:22 Removing intermediate container eb615005c4f1 10:28:22 ---> 94fb5f6bfb7c 10:28:22 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:28:22 ---> Running in 0a1abcf59f27 10:28:22 Removing intermediate container 0a1abcf59f27 10:28:22 ---> 5947ca93fc7c 10:28:22 Step 25/27 : LABEL arch=amd64 10:28:22 ---> Running in 9570569d4c9b 10:28:22 Removing intermediate container 9570569d4c9b 10:28:22 ---> f4e46218e49d 10:28:22 Step 26/27 : LABEL git_sha=f5aeb6614c21a3e0ce3156cc256a3d02faf462bc 10:28:22 ---> Running in c8ef069eadcf 10:28:22 Removing intermediate container c8ef069eadcf 10:28:22 ---> b80bd70043af 10:28:22 Step 27/27 : LABEL version=0.0.0 10:28:22 ---> Running in 6ce910bb599b 10:28:23 Removing intermediate container 6ce910bb599b 10:28:23 ---> a978354d2b8f 10:28:23 [Warning] One or more build-args [ARCH] were not consumed 10:28:23 Successfully built a978354d2b8f 10:28:23 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:23 10:28:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:23 latest: Pulling from edgex-lftools-log-publisher 10:28:23 5eb5b503b376: Pulling fs layer 10:28:23 5c69ac0246d0: Pulling fs layer 10:28:23 ec43610c2a17: Pulling fs layer 10:28:23 3a2ae6a8a46f: Pulling fs layer 10:28:23 33b1e0a273af: Pulling fs layer 10:28:23 5d3b04190fa2: Pulling fs layer 10:28:23 2f39f015ded8: Pulling fs layer 10:28:23 33b1e0a273af: Waiting 10:28:23 5d3b04190fa2: Waiting 10:28:23 2f39f015ded8: Waiting 10:28:23 3a2ae6a8a46f: Waiting 10:28:23 5c69ac0246d0: Verifying Checksum 10:28:23 5c69ac0246d0: Download complete 10:28:23 3a2ae6a8a46f: Download complete 10:28:23 33b1e0a273af: Verifying Checksum 10:28:23 33b1e0a273af: Download complete 10:28:24 5d3b04190fa2: Verifying Checksum 10:28:24 5d3b04190fa2: Download complete 10:28:24 ec43610c2a17: Verifying Checksum 10:28:24 ec43610c2a17: Download complete 10:28:24 5eb5b503b376: Verifying Checksum 10:28:24 5eb5b503b376: Download complete 10:28:24 2f39f015ded8: Download complete 10:28:25 5eb5b503b376: Pull complete 10:28:25 5c69ac0246d0: Pull complete 10:28:25 ec43610c2a17: Pull complete 10:28:25 3a2ae6a8a46f: Pull complete 10:28:26 33b1e0a273af: Pull complete 10:28:26 5d3b04190fa2: Pull complete 10:28:30 2f39f015ded8: Pull complete 10:28:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:28:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:28:30 prd-ubuntu20.04-docker-8c-8g-7400 does not seem to be running inside a container 10:28:30 $ 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 10:28:35 $ docker top d55bbb58edb2ab761f66f73b0dd8f7f42e285537c337b8964db777d40e60fdaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:36 ---> job-cost.sh 10:28:36 lf-activate-venv: SKIPPING 10:28:36 INFO: No Stack... 10:28:36 INFO: Retrieving Pricing Info for: v3-standard-8 10:28:36 INFO: Archiving Costs [Pipeline] sh 10:28:37 + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv 10:28:37 + cut -d, -f6 [Pipeline] lock 10:28:37 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] 10:28:37 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] did not exist. Created. 10:28:37 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:28:37 + echo total: 0.2199999988079071 [Pipeline] stash 10:28:37 Stashed 1 file(s) [Pipeline] } 10:28:37 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] [Pipeline] // lock [Pipeline] } 10:28:37 $ docker stop --time=1 d55bbb58edb2ab761f66f73b0dd8f7f42e285537c337b8964db777d40e60fdaf 10:28:38 $ docker rm -f d55bbb58edb2ab761f66f73b0dd8f7f42e285537c337b8964db777d40e60fdaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 10:28:38 provisioning config files... [Pipeline] } [Pipeline] // withEnv 10:28:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/17@tmp/config6136294332692046723tmp [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:39 ---> docker-login.sh 10:28:39 nexus3.edgexfoundry.org:10001 10:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:39 Configure a credential helper to remove this warning. See 10:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:39 10:28:39 Login Succeeded 10:28:39 nexus3.edgexfoundry.org:10002 10:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:39 Configure a credential helper to remove this warning. See 10:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:39 10:28:39 Login Succeeded 10:28:39 nexus3.edgexfoundry.org:10003 10:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:40 Configure a credential helper to remove this warning. See 10:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:40 10:28:40 Login Succeeded 10:28:40 nexus3.edgexfoundry.org:10004 10:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:40 Configure a credential helper to remove this warning. See 10:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:40 10:28:40 Login Succeeded 10:28:40 docker.io 10:28:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:41 Configure a credential helper to remove this warning. See 10:28:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:41 10:28:41 Login Succeeded 10:28:41 ---> docker-login.sh ends [Pipeline] } 10:28:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:28:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:28:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:28:41 ========================================================= 10:28:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:28:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:41 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 10:28:42 Sending build context to Docker daemon 14.23MB 10:28:42 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 10:28:42 Step 2/14 : FROM ${BASE} AS builder 10:28:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:28:42 b3c136eddcbf: Pulling fs layer 10:28:42 c0a3192eca97: Pulling fs layer 10:28:42 a050256f5b6f: Pulling fs layer 10:28:42 656be50a0ddc: Pulling fs layer 10:28:42 2bbca73fdf42: Pulling fs layer 10:28:42 f607e4fc86c3: Pulling fs layer 10:28:42 4d572c569a2c: Pulling fs layer 10:28:42 fcf976331f73: Pulling fs layer 10:28:42 4d572c569a2c: Waiting 10:28:42 fcf976331f73: Waiting 10:28:42 656be50a0ddc: Waiting 10:28:42 2bbca73fdf42: Waiting 10:28:42 a050256f5b6f: Verifying Checksum 10:28:42 c0a3192eca97: Verifying Checksum 10:28:42 c0a3192eca97: Download complete 10:28:42 2bbca73fdf42: Verifying Checksum 10:28:42 2bbca73fdf42: Download complete 10:28:42 f607e4fc86c3: Verifying Checksum 10:28:42 f607e4fc86c3: Download complete 10:28:42 b3c136eddcbf: Download complete 10:28:43 b3c136eddcbf: Pull complete 10:28:43 fcf976331f73: Verifying Checksum 10:28:43 fcf976331f73: Download complete 10:28:43 c0a3192eca97: Pull complete 10:28:44 a050256f5b6f: Pull complete 10:28:44 4d572c569a2c: Verifying Checksum 10:28:44 4d572c569a2c: Download complete 10:28:45 656be50a0ddc: Verifying Checksum 10:28:45 656be50a0ddc: Download complete 10:28:57 656be50a0ddc: Pull complete 10:28:57 2bbca73fdf42: Pull complete 10:28:58 f607e4fc86c3: Pull complete 10:29:04 4d572c569a2c: Pull complete 10:29:06 fcf976331f73: Pull complete 10:29:06 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 10:29:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:29:06 ---> 3970a7415f9e 10:29:06 Step 3/14 : ARG ADD_BUILD_TAGS="" 10:29:08 ---> Running in 27900d6d70dd 10:29:08 Removing intermediate container 27900d6d70dd 10:29:08 ---> a7b50092edbe 10:29:08 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:29:08 ---> Running in dcb8a42a5a04 10:29:08 Removing intermediate container dcb8a42a5a04 10:29:08 ---> d3bc2d35ef08 10:29:08 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:29:08 ---> Running in d9dd7dcd1a4a 10:29:08 Removing intermediate container d9dd7dcd1a4a 10:29:08 ---> c0cbac81566b 10:29:08 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 10:29:08 ---> Running in 9c5dea3a254f 10:29:09 Removing intermediate container 9c5dea3a254f 10:29:09 ---> d2a4e71f0004 10:29:09 Step 7/14 : LABEL Name=edgex-device-onvif-camera 10:29:09 ---> Running in 90a24c3dc558 10:29:09 Removing intermediate container 90a24c3dc558 10:29:09 ---> c6f53dd5685a 10:29:09 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:29:09 ---> Running in 8e500d6e40d3 10:29:11 Removing intermediate container 8e500d6e40d3 10:29:11 ---> ac6ff23b7565 10:29:11 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:29:11 ---> Running in fb85d35109b4 10:29:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:29:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:29:14 OK: 221 MiB in 51 packages 10:29:14 Removing intermediate container fb85d35109b4 10:29:14 ---> 72decc905703 10:29:14 Step 10/14 : WORKDIR /device-onvif-camera 10:29:15 ---> Running in b81195ca831d 10:29:15 Removing intermediate container b81195ca831d 10:29:15 ---> d046e7f71de7 10:29:15 Step 11/14 : COPY go.mod vendor* ./ 10:29:15 ---> 4500dafaf0cb 10:29:15 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:29:15 ---> Running in f29fb89be503 10:30:12 Removing intermediate container f29fb89be503 10:30:12 ---> bc16861bee74 10:30:12 Step 13/14 : COPY . . 10:30:12 ---> 132f4080ceec 10:30:12 Step 14/14 : RUN ${MAKE} 10:30:12 ---> Running in 27409148dc30 10:30:12 noop 10:30:12 Removing intermediate container 27409148dc30 10:30:12 ---> 102010fafeb2 10:30:12 Successfully built 102010fafeb2 10:30:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:30:12 + docker inspect -f . ci-base-image-arm64 10:30:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:30:12 prd-ubuntu20.04-docker-arm64-4c-16g-7401 does not seem to be running inside a container 10:30:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:30:14 $ docker top 76199b647f25ace94638e98463bbd427c9b6ebdf394331bf5231f84837e617d8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:30:14 + go version 10:30:14 go version go1.18.3 linux/arm64 [Pipeline] } 10:30:14 $ docker stop --time=1 76199b647f25ace94638e98463bbd427c9b6ebdf394331bf5231f84837e617d8 10:30:16 $ docker rm -f 76199b647f25ace94638e98463bbd427c9b6ebdf394331bf5231f84837e617d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:30:17 + docker inspect -f . ci-base-image-arm64 10:30:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:30:17 prd-ubuntu20.04-docker-arm64-4c-16g-7401 does not seem to be running inside a container 10:30:17 $ 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/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:30:18 $ docker top 5c7069129d457c80c044ef151d8109b9603e35fa441f10b2e360028f1d671589 -eo pid,comm [Pipeline] { [Pipeline] sh 10:30:18 + git config --global --add safe.directory /w/workspace/device-onvif-camera/17 [Pipeline] fileExists [Pipeline] sh 10:30:19 + make test 10:30:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:30:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:31:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:31:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.164s coverage: 28.2% of statements 10:31:57 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:32:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.229s coverage: 86.5% of statements 10:32:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:32:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:32:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:32:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:32:42 ./bin/test-attribution-txt.sh [Pipeline] echo 10:32:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:32:42 $ docker stop --time=1 5c7069129d457c80c044ef151d8109b9603e35fa441f10b2e360028f1d671589 10:32:44 $ docker rm -f 5c7069129d457c80c044ef151d8109b9603e35fa441f10b2e360028f1d671589 [Pipeline] // withDockerContainer [Pipeline] sh 10:32:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:32:45 Warning: overwriting stash ‘coverage-report’ 10:32:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:32:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:32:47 + ls -al . 10:32:47 total 232 10:32:47 drwxrwxr-x 9 jenkins jenkins 4096 Oct 8 10:30 . 10:32:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 10:28 .. 10:32:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 10:28 .git 10:32:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 10:28 .github 10:32:47 -rw-rw-r-- 1 jenkins jenkins 418 Oct 8 10:28 .gitignore 10:32:47 -rw-rw-r-- 1 jenkins jenkins 42 Oct 8 10:28 .golangci.yml 10:32:47 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 8 10:28 Attribution.txt 10:32:47 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 8 10:28 CHANGELOG.md 10:32:47 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 8 10:28 Dockerfile 10:32:47 -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 10:28 GOVERNANCE.md 10:32:47 -rw-rw-r-- 1 jenkins jenkins 734 Oct 8 10:28 Jenkinsfile 10:32:47 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 8 10:28 LICENSE 10:32:47 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 8 10:28 Makefile 10:32:47 -rw-rw-r-- 1 jenkins jenkins 625 Oct 8 10:28 OWNERS.md 10:32:47 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 8 10:28 README.md 10:32:47 -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 10:26 VERSION 10:32:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 10:28 bin 10:32:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 10:28 cmd 10:32:47 -rw-r--r-- 1 jenkins jenkins 78636 Oct 8 10:32 coverage.out 10:32:47 drwxrwxr-x 6 jenkins jenkins 4096 Oct 8 10:28 doc 10:32:47 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 8 10:28 go.mod 10:32:47 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 8 10:28 go.sum 10:32:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 10:28 internal 10:32:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 10:28 snap 10:32:47 -rw-rw-r-- 1 jenkins jenkins 236 Oct 8 10:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:32:47 + 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=f5aeb6614c21a3e0ce3156cc256a3d02faf462bc --label arch=arm64 --label version=0.0.0 . 10:32:48 Sending build context to Docker daemon 14.31MB 10:32:48 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 10:32:48 Step 2/27 : FROM ${BASE} AS builder 10:32:48 ---> 102010fafeb2 10:32:48 Step 3/27 : ARG ADD_BUILD_TAGS="" 10:32:48 ---> Running in d27cc95e2f52 10:32:48 Removing intermediate container d27cc95e2f52 10:32:48 ---> 15a3a5a2a222 10:32:48 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:32:48 ---> Running in d5e5026eef45 10:32:48 Removing intermediate container d5e5026eef45 10:32:48 ---> a4d52f6b8152 10:32:48 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:32:48 ---> Running in 3f77fa4b7ebf 10:32:49 Removing intermediate container 3f77fa4b7ebf 10:32:49 ---> 89b22bc8e3b5 10:32:49 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 10:32:49 ---> Running in e5bbbb04cf67 10:32:49 Removing intermediate container e5bbbb04cf67 10:32:49 ---> 0a71357abbe4 10:32:49 Step 7/27 : LABEL Name=edgex-device-onvif-camera 10:32:49 ---> Running in 0fbfb3ce4787 10:32:49 Removing intermediate container 0fbfb3ce4787 10:32:49 ---> 41e47283403d 10:32:49 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:32:50 ---> Running in 6ea5cfcfbfd9 10:32:52 Removing intermediate container 6ea5cfcfbfd9 10:32:52 ---> 2e043d98bace 10:32:52 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:32:52 ---> Running in 222b47f4529a 10:32:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:32:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:32:54 OK: 221 MiB in 51 packages 10:32:55 Removing intermediate container 222b47f4529a 10:32:55 ---> 2c38bfdfbdf3 10:32:55 Step 10/27 : WORKDIR /device-onvif-camera 10:32:55 ---> Running in 50367921a6f9 10:32:56 Removing intermediate container 50367921a6f9 10:32:56 ---> 0ab00cbb7044 10:32:56 Step 11/27 : COPY go.mod vendor* ./ 10:32:56 ---> 5d16c3695c47 10:32:56 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:32:56 ---> Running in ddedb38cb6a0 10:32:59 Removing intermediate container ddedb38cb6a0 10:32:59 ---> 2a8ad85b8fd5 10:32:59 Step 13/27 : COPY . . 10:33:01 ---> 49fa24e91e93 10:33:01 Step 14/27 : RUN ${MAKE} 10:33:01 ---> Running in 5dc3e6eebb73 10:33:02 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:35:24 Removing intermediate container 5dc3e6eebb73 10:35:24 ---> 39662990b9e3 10:35:24 Step 15/27 : FROM alpine:3.16 10:35:25 3.16: Pulling from library/alpine 10:35:25 9b18e9b68314: Pulling fs layer 10:35:25 9b18e9b68314: Verifying Checksum 10:35:25 9b18e9b68314: Download complete 10:35:27 9b18e9b68314: Pull complete 10:35:27 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:35:27 Status: Downloaded newer image for alpine:3.16 10:35:27 ---> a6215f271958 10:35:27 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:35:27 ---> Running in 4723bcbde4c4 10:35:27 Removing intermediate container 4723bcbde4c4 10:35:27 ---> dfa8eee04d83 10:35:27 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 10:35:27 ---> Running in 7d1a84bf4c0a 10:35:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:35:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:35:29 (1/6) Installing dumb-init (1.2.5-r1) 10:35:29 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:35:29 (3/6) Installing libsodium (1.0.18-r0) 10:35:29 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:35:29 (5/6) Installing libzmq (4.3.4-r0) 10:35:29 (6/6) Installing zeromq (4.3.4-r0) 10:35:29 Executing busybox-1.35.0-r17.trigger 10:35:29 OK: 8 MiB in 20 packages 10:35:30 Removing intermediate container 7d1a84bf4c0a 10:35:30 ---> ae1d9ca0634d 10:35:30 Step 18/27 : WORKDIR / 10:35:30 ---> Running in 65a24a54c10e 10:35:30 Removing intermediate container 65a24a54c10e 10:35:30 ---> db1c203997c0 10:35:30 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 10:35:32 ---> 71c634c49817 10:35:32 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 10:35:32 ---> 83a494d21924 10:35:32 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:35:33 ---> ad2d62d500e2 10:35:33 Step 22/27 : EXPOSE 59984 10:35:33 ---> Running in d95e8390fca6 10:35:33 Removing intermediate container d95e8390fca6 10:35:33 ---> bb5ca223a603 10:35:33 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 10:35:33 ---> Running in b41160dc3ae9 10:35:33 Removing intermediate container b41160dc3ae9 10:35:33 ---> 27e130d4ea2a 10:35:33 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:35:33 ---> Running in 2b72675cff04 10:35:34 Removing intermediate container 2b72675cff04 10:35:34 ---> bfaa32475b56 10:35:34 Step 25/27 : LABEL arch=arm64 10:35:34 ---> Running in 0a130b69abe1 10:35:34 Removing intermediate container 0a130b69abe1 10:35:34 ---> bc3f0e19f854 10:35:34 Step 26/27 : LABEL git_sha=f5aeb6614c21a3e0ce3156cc256a3d02faf462bc 10:35:34 ---> Running in 4cdc3f183e9e 10:35:35 Removing intermediate container 4cdc3f183e9e 10:35:35 ---> 1bea0ea36af3 10:35:35 Step 27/27 : LABEL version=0.0.0 10:35:35 ---> Running in c2c05c85a4b7 10:35:35 Removing intermediate container c2c05c85a4b7 10:35:35 ---> 6238dc6edce6 10:35:35 [Warning] One or more build-args [ARCH] were not consumed 10:35:35 Successfully built 6238dc6edce6 10:35:35 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:35:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:35:35 10:35:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:35:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:35:36 arm64: Pulling from edgex-lftools-log-publisher 10:35:36 8998bd30e6a1: Pulling fs layer 10:35:36 04944245beec: Pulling fs layer 10:35:36 699f458cf7ca: Pulling fs layer 10:35:36 765212b225bb: Pulling fs layer 10:35:36 f23df028b6ca: Pulling fs layer 10:35:36 d65c8cfc05b1: Pulling fs layer 10:35:36 2437ff75d9bd: Pulling fs layer 10:35:36 765212b225bb: Waiting 10:35:36 d65c8cfc05b1: Waiting 10:35:36 f23df028b6ca: Waiting 10:35:36 04944245beec: Verifying Checksum 10:35:36 04944245beec: Download complete 10:35:36 765212b225bb: Verifying Checksum 10:35:36 765212b225bb: Download complete 10:35:36 f23df028b6ca: Verifying Checksum 10:35:36 f23df028b6ca: Download complete 10:35:36 d65c8cfc05b1: Verifying Checksum 10:35:36 d65c8cfc05b1: Download complete 10:35:36 699f458cf7ca: Verifying Checksum 10:35:36 699f458cf7ca: Download complete 10:35:36 8998bd30e6a1: Verifying Checksum 10:35:36 8998bd30e6a1: Download complete 10:35:38 2437ff75d9bd: Verifying Checksum 10:35:38 2437ff75d9bd: Download complete 10:35:40 8998bd30e6a1: Pull complete 10:35:41 04944245beec: Pull complete 10:35:42 699f458cf7ca: Pull complete 10:35:42 765212b225bb: Pull complete 10:35:43 f23df028b6ca: Pull complete 10:35:43 d65c8cfc05b1: Pull complete 10:35:58 2437ff75d9bd: Pull complete 10:35:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:35:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:35:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:35:58 prd-ubuntu20.04-docker-arm64-4c-16g-7401 does not seem to be running inside a container 10:35:58 $ 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/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:36:01 $ docker top b9876e7ff6d5edb977e16576b6fae1f22f150c372fab0f21162fe24967374c6c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:36:02 ---> job-cost.sh 10:36:02 lf-activate-venv: SKIPPING 10:36:02 INFO: No Stack... 10:36:02 INFO: Retrieving Pricing Info for: v3-standard-4 10:36:03 INFO: Archiving Costs [Pipeline] sh 10:36:03 + + cutcat -d, /w/workspace/device-onvif-camera/17/archives/cost.csv -f6 10:36:03 [Pipeline] lock 10:36:03 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] 10:36:03 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] did not exist. Created. 10:36:03 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:36:04 /w/workspace/device-onvif-camera/17@tmp/durable-e940d614/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:36:04 + echo total: 0.10999999940395355 [Pipeline] stash 10:36:04 Warning: overwriting stash ‘stack-cost’ 10:36:05 Stashed 1 file(s) [Pipeline] } 10:36:05 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] [Pipeline] // lock [Pipeline] } 10:36:05 $ docker stop --time=1 b9876e7ff6d5edb977e16576b6fae1f22f150c372fab0f21162fe24967374c6c 10:36:06 $ docker rm -f b9876e7ff6d5edb977e16576b6fae1f22f150c372fab0f21162fe24967374c6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 10:36:06 provisioning config files... 10:36:06 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config16623079174779137166tmp [Pipeline] { [Pipeline] sh 10:36:07 + set +x 10:36:07 + bash+ -s -- 10:36:07 curl -s https://codecov.io/bash 10:36:07 10:36:07 _____ _ 10:36:07 / ____| | | 10:36:07 | | ___ __| | ___ ___ _____ __ 10:36:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:36:07 | |___| (_) | (_| | __/ (_| (_) \ V / 10:36:07 \_____\___/ \__,_|\___|\___\___/ \_/ 10:36:07 Bash-1.0.6 10:36:07 10:36:07 10:36:07 ==> git version 2.25.1 found 10:36:07 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:36:07 Release-Date: 2020-01-08 10:36:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:36:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:36:07 ==> Jenkins CI detected. 10:36:07 current dir:  /w/workspace/undry_device-onvif-camera_PR-172 10:36:07 project root: . 10:36:07 --> token set from env 10:36:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:36:07 ==> Running gcov in . (disable via -X gcov) 10:36:07 ==> Python coveragepy not found 10:36:07 ==> Searching for coverage reports in: 10:36:07 + . 10:36:07 -> Found 1 reports 10:36:07 ==> Detecting git/mercurial file structure 10:36:07 ==> Reading reports 10:36:07 + ./coverage.out bytes=78636 10:36:07 ==> Appending adjustments 10:36:07 https://docs.codecov.io/docs/fixing-reports 10:36:07 + Found adjustments 10:36:07 ==> Gzipping contents 10:36:07 12K /tmp/codecov.afK5og.gz 10:36:07 ==> Uploading reports 10:36:07 url: https://codecov.io 10:36:07 query: branch=PR-172&commit=f5aeb6614c21a3e0ce3156cc256a3d02faf462bc&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= 10:36:07 -> Pinging Codecov 10:36:07 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=f5aeb6614c21a3e0ce3156cc256a3d02faf462bc&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= 10:36:07 -> Uploading to 10:36:07 https://storage.googleapis.com/codecov/v4/raw/2022-10-08/F29A59C45E3A92E06B3E522C9905F8EF/f5aeb6614c21a3e0ce3156cc256a3d02faf462bc/4e7e9980-8ddb-41d5-9d01-4da868356c4c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221008%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221008T103607Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7be05dc653905f38ca1868aed0816a210ee3d845b1ed2d1bda998f7acee880e4 10:36:07 % Total % Received % Xferd Average Speed Time Time Time Current 10:36:07 Dload Upload Total Spent Left Speed 10:36:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10708 0 0 100 10708 0 44991 --:--:-- --:--:-- --:--:-- 44991 10:36:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [Pipeline] } 10:36:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:36:08 + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] 10:36:08 + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives 10:36:08 total 16 10:36:08 drwxr-xr-x 3 root root 4096 Oct 8 10:28 . 10:36:08 drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 10:28 .. 10:36:08 drwxr-xr-x 2 root root 4096 Oct 8 10:28 cost 10:36:08 -rw-r--r-- 1 root root 92 Oct 8 10:28 cost.csv 10:36:08 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives 10:36:08 + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives 10:36:08 total 16 10:36:08 drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 10:28 . 10:36:08 drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 10:28 .. 10:36:08 drwxr-xr-x 2 jenkins jenkins 4096 Oct 8 10:28 cost 10:36:08 -rw-r--r-- 1 jenkins jenkins 92 Oct 8 10:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:36:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:36:09 ---> package-listing.sh 10:36:09 ++ facter osfamily 10:36:09 ++ tr '[:upper:]' '[:lower:]' 10:36:10 + OS_FAMILY=debian 10:36:10 + workspace=/w/workspace/undry_device-onvif-camera_PR-172 10:36:10 + START_PACKAGES=/tmp/packages_start.txt 10:36:10 + END_PACKAGES=/tmp/packages_end.txt 10:36:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:36:10 + PACKAGES=/tmp/packages_start.txt 10:36:10 + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' 10:36:10 + PACKAGES=/tmp/packages_end.txt 10:36:10 + case "${OS_FAMILY}" in 10:36:10 + dpkg -l 10:36:10 + grep '^ii' 10:36:10 + '[' -f /tmp/packages_start.txt ']' 10:36:10 + '[' -f /tmp/packages_end.txt ']' 10:36:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:36:10 + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' 10:36:10 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ 10:36:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo 10:36:10 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:36:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:36:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:36:10 prd-ubuntu20.04-docker-8c-8g-7400 does not seem to be running inside a container 10:36:11 $ 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 10:36:11 $ docker top 054b158a8bead56ecb87869c71e0e22d2a5b3bc6d25214233591047538fe8e84 -eo pid,comm [Pipeline] { [Pipeline] sh 10:36:11 + touch /tmp/pre-build-complete [Pipeline] sh 10:36:11 + mkdir -p /var/log/sysstat [Pipeline] sh 10:36:12 + ls /var/log/sa-host 10:36:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:36:12 provisioning config files... 10:36:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config13183395123905446584tmp [Pipeline] { [Pipeline] echo 10:36:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:36:12 ---> create-netrc.sh [Pipeline] } 10:36:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:36:12 ---> python-tools-install.sh [Pipeline] echo 10:36:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:36:13 ---> sudo-logs.sh 10:36:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:36:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:36:13 ---> job-cost.sh 10:36:13 lf-activate-venv: SKIPPING 10:36:13 DEBUG: total: 0.2199999988079071 10:36:13 INFO: Retrieving Stack Cost... 10:36:14 INFO: Retrieving Pricing Info for: v3-standard-8 10:36:14 INFO: Archiving Costs [Pipeline] echo 10:36:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:36:14 ---> logs-deploy.sh 10:36:14 lf-activate-venv: SKIPPING 10:36:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/17 10:36:14 INFO: archiving workspace using pattern(s): 10:36:15 Archives upload complete. 10:36:15 INFO: archiving logs to Nexus 10:36:16 ---> uname -a: 10:36:16 Linux prd-ubuntu20-04-docker-8c-8g-7400 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 10:36:16 10:36:16 10:36:16 ---> lscpu: 10:36:16 Architecture: x86_64 10:36:16 CPU op-mode(s): 32-bit, 64-bit 10:36:16 Byte Order: Little Endian 10:36:16 Address sizes: 40 bits physical, 48 bits virtual 10:36:16 CPU(s): 8 10:36:16 On-line CPU(s) list: 0-7 10:36:16 Thread(s) per core: 1 10:36:16 Core(s) per socket: 1 10:36:16 Socket(s): 8 10:36:16 NUMA node(s): 1 10:36:16 Vendor ID: AuthenticAMD 10:36:16 CPU family: 23 10:36:16 Model: 49 10:36:16 Model name: AMD EPYC-Rome Processor 10:36:16 Stepping: 0 10:36:16 CPU MHz: 2799.998 10:36:16 BogoMIPS: 5599.99 10:36:16 Virtualization: AMD-V 10:36:16 Hypervisor vendor: KVM 10:36:16 Virtualization type: full 10:36:16 L1d cache: 256 KiB 10:36:16 L1i cache: 256 KiB 10:36:16 L2 cache: 4 MiB 10:36:16 L3 cache: 128 MiB 10:36:16 NUMA node0 CPU(s): 0-7 10:36:16 Vulnerability Itlb multihit: Not affected 10:36:16 Vulnerability L1tf: Not affected 10:36:16 Vulnerability Mds: Not affected 10:36:16 Vulnerability Meltdown: Not affected 10:36:16 Vulnerability Mmio stale data: Not affected 10:36:16 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:36:16 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:36:16 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:36:16 Vulnerability Srbds: Not affected 10:36:16 Vulnerability Tsx async abort: Not affected 10:36:16 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 10:36:16 10:36:16 10:36:16 ---> nproc: 10:36:16 8 10:36:16 10:36:16 10:36:16 ---> df -h: 10:36:16 Filesystem Size Used Avail Use% Mounted on 10:36:16 overlay 155G 12G 144G 8% / 10:36:16 tmpfs 64M 0 64M 0% /dev 10:36:16 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:36:16 shm 64M 0 64M 0% /dev/shm 10:36:16 /dev/vda1 155G 12G 144G 8% /facter-os 10:36:16 10:36:16