Pull request #174 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than 4f19d2261c252d7b3869b7d257d6519d38da4acd 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-ssh3149999647506054389.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-ssh254615537811540268.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-174/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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14241995558520670033.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-ssh17170038839943604234.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-174/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-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5927139329956931857.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-7386 in /w/workspace/undry_device-onvif-camera_PR-174 [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-174 # 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/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 4f19d2261c252d7b3869b7d257d6519d38da4acd Merge succeeded, producing 4f19d2261c252d7b3869b7d257d6519d38da4acd Checking out Revision 4f19d2261c252d7b3869b7d257d6519d38da4acd (PR-174) Commit message: "feat: added more onvif descriptions" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:27:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:27:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:27:31 ========================================================= 04:27:31 EdgeX Global Pipelines Version Info 04:27:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 4f19d2261c252d7b3869b7d257d6519d38da4acd # 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 4f19d2261c252d7b3869b7d257d6519d38da4acd # timeout=10 > git rev-list --no-walk 482e55864ca8f334c8fa0bb601f752722a1407a0 # timeout=10 04:27:32 ------------------- 04:27:32 stable info: 04:27:32 ------------------- 04:27:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:27:32 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:27:32 Message: update stable to v1.0.239 04:27:33 ------------------- 04:27:33 experimental info: 04:27:33 ------------------- 04:27:33 Commited By: **** collab-it+edgex@linuxfoundation.org 04:27:33 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:27:33 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f19d2261c252d7b3869b7d257d6519d38da4acd [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f19d22 [Pipeline] echo 04:27:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:27:33 provisioning config files... 04:27:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config17580258433061530779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:34 ---> docker-login.sh 04:27:34 nexus3.edgexfoundry.org:10001 04:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:34 Configure a credential helper to remove this warning. See 04:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:34 04:27:34 Login Succeeded 04:27:34 nexus3.edgexfoundry.org:10002 04:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:34 Configure a credential helper to remove this warning. See 04:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:34 04:27:34 Login Succeeded 04:27:34 nexus3.edgexfoundry.org:10003 04:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:34 Configure a credential helper to remove this warning. See 04:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:34 04:27:34 Login Succeeded 04:27:34 nexus3.edgexfoundry.org:10004 04:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:34 Configure a credential helper to remove this warning. See 04:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:34 04:27:34 Login Succeeded 04:27:34 docker.io 04:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:35 Configure a credential helper to remove this warning. See 04:27:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:35 04:27:35 Login Succeeded 04:27:35 ---> docker-login.sh ends [Pipeline] } 04:27:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:27:35 + git rev-list -1 --merges 4f19d2261c252d7b3869b7d257d6519d38da4acd~1..4f19d2261c252d7b3869b7d257d6519d38da4acd [Pipeline] echo 04:27:35 -----------> git rev-list -1 --merges 4f19d2261c252d7b3869b7d257d6519d38da4acd~1..4f19d2261c252d7b3869b7d257d6519d38da4acd 4f19d2261c252d7b3869b7d257d6519d38da4acd [false] [Pipeline] sh 04:27:36 + git log --format=format:%s -1 4f19d2261c252d7b3869b7d257d6519d38da4acd [Pipeline] echo 04:27:36 ========================================================= 04:27:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:27:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:27:36 + git log --format=format:%s -1 4f19d2261c252d7b3869b7d257d6519d38da4acd [Pipeline] echo 04:27:36 [semverPrep] GIT_COMMIT: 4f19d2261c252d7b3869b7d257d6519d38da4acd, Commit Message: feat: added more onvif descriptions [Pipeline] echo 04:27:36 [semverPrep] This is not a build commit. [Pipeline] sh 04:27:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:27:36 + grep -v github /etc/ssh/ssh_known_hosts 04:27:36 + [ -e /tmp/ssh_known_hosts ] 04:27:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:27:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:27:36 + sudo tee -a /etc/ssh/ssh_known_hosts 04:27:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:37 04:27:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:37 0.1.4: Pulling from edgex-devops/py-git-semver 04:27:37 b85a868b505f: Pulling fs layer 04:27:37 e2be974225ed: Pulling fs layer 04:27:37 339a4e72a1f5: Pulling fs layer 04:27:37 988bab9f4d93: Pulling fs layer 04:27:37 1469e6f7b9e6: Pulling fs layer 04:27:37 eaf3925da568: Pulling fs layer 04:27:37 bab4dde63d76: Pulling fs layer 04:27:37 bde34c3a00c8: Pulling fs layer 04:27:37 b352a97aabf1: Pulling fs layer 04:27:37 4872d77fe225: Pulling fs layer 04:27:37 5851b861e8e6: Pulling fs layer 04:27:37 988bab9f4d93: Waiting 04:27:37 1469e6f7b9e6: Waiting 04:27:37 eaf3925da568: Waiting 04:27:37 bab4dde63d76: Waiting 04:27:37 bde34c3a00c8: Waiting 04:27:37 b352a97aabf1: Waiting 04:27:37 4872d77fe225: Waiting 04:27:37 5851b861e8e6: Waiting 04:27:37 e2be974225ed: Download complete 04:27:37 988bab9f4d93: Verifying Checksum 04:27:37 988bab9f4d93: Download complete 04:27:37 339a4e72a1f5: Verifying Checksum 04:27:37 339a4e72a1f5: Download complete 04:27:37 1469e6f7b9e6: Verifying Checksum 04:27:37 1469e6f7b9e6: Download complete 04:27:37 eaf3925da568: Verifying Checksum 04:27:37 eaf3925da568: Download complete 04:27:37 bde34c3a00c8: Download complete 04:27:37 b352a97aabf1: Verifying Checksum 04:27:37 b352a97aabf1: Download complete 04:27:37 4872d77fe225: Download complete 04:27:37 5851b861e8e6: Download complete 04:27:37 b85a868b505f: Verifying Checksum 04:27:37 b85a868b505f: Download complete 04:27:38 bab4dde63d76: Verifying Checksum 04:27:38 bab4dde63d76: Download complete 04:27:39 b85a868b505f: Pull complete 04:27:39 e2be974225ed: Pull complete 04:27:39 339a4e72a1f5: Pull complete 04:27:39 988bab9f4d93: Pull complete 04:27:40 1469e6f7b9e6: Pull complete 04:27:40 eaf3925da568: Pull complete 04:27:41 bab4dde63d76: Pull complete 04:27:41 bde34c3a00c8: Pull complete 04:27:41 b352a97aabf1: Pull complete 04:27:41 4872d77fe225: Pull complete 04:27:42 5851b861e8e6: Pull complete 04:27:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:27:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:42 prd-ubuntu20.04-docker-8c-8g-7386 does not seem to be running inside a container 04:27:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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 04:27:43 $ docker top bd924ca8360d4699207670c1e1991a2541306912d9eadec3ae4ed3c67ac87eb9 -eo pid,comm 04:27:43 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). 04:27:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:27:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:43 [ssh-agent] Looking for ssh-agent implementation... 04:27:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:44 $ docker exec bd924ca8360d4699207670c1e1991a2541306912d9eadec3ae4ed3c67ac87eb9 ssh-agent 04:27:44 SSH_AUTH_SOCK=/tmp/ssh-YBHXQp1GJfUT/agent.32 04:27:44 SSH_AGENT_PID=38 04:27:44 Running ssh-add (command line suppressed) 04:27:44 Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_248363638176433330.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_248363638176433330.key) 04:27:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:44 + git tag --points-at HEAD [Pipeline] } 04:27:44 $ docker exec --env ******** --env ******** bd924ca8360d4699207670c1e1991a2541306912d9eadec3ae4ed3c67ac87eb9 ssh-agent -k 04:27:44 unset SSH_AUTH_SOCK; 04:27:44 unset SSH_AGENT_PID; 04:27:44 echo Agent pid 38 killed; 04:27:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:27:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:44 [ssh-agent] Looking for ssh-agent implementation... 04:27:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:44 $ docker exec bd924ca8360d4699207670c1e1991a2541306912d9eadec3ae4ed3c67ac87eb9 ssh-agent 04:27:44 SSH_AUTH_SOCK=/tmp/ssh-jxLHoei5x8hu/agent.70 04:27:44 SSH_AGENT_PID=76 04:27:44 Running ssh-add (command line suppressed) 04:27:44 Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_12358505725926613058.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_12358505725926613058.key) 04:27:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:45 + git semver init 04:27:45 2022-10-08 04:27:45,456 [run_init] DEBUG init version:0.0.0 force:False 04:27:45 2022-10-08 04:27:45,457 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-174/.semver 04:27:45 2022-10-08 04:27:45,457 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-174/.semver 04:27:45 2022-10-08 04:27:45,457 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-174/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-174, universal_newlines=False, shell=None, istream=None) 04:27:46 2022-10-08 04:27:46,418 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-174/.git/info/exclude 04:27:46 2022-10-08 04:27:46,418 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 with force:False 04:27:46 2022-10-08 04:27:46,419 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 04:27:46 2022-10-08 04:27:46,423 [execute] INFO git cat-file --batch-check 04:27:46 2022-10-08 04:27:46,423 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) 04:27:46 2022-10-08 04:27:46,429 [execute] INFO git cat-file --batch 04:27:46 2022-10-08 04:27:46,430 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) 04:27:46 2022-10-08 04:27:46,434 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 04:27:46 0.0.0 [Pipeline] } 04:27:46 $ docker exec --env ******** --env ******** bd924ca8360d4699207670c1e1991a2541306912d9eadec3ae4ed3c67ac87eb9 ssh-agent -k 04:27:46 unset SSH_AUTH_SOCK; 04:27:46 unset SSH_AGENT_PID; 04:27:46 echo Agent pid 76 killed; 04:27:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:27:46 + git semver [Pipeline] } 04:27:47 $ docker stop --time=1 bd924ca8360d4699207670c1e1991a2541306912d9eadec3ae4ed3c67ac87eb9 04:27:48 $ docker rm -f bd924ca8360d4699207670c1e1991a2541306912d9eadec3ae4ed3c67ac87eb9 [Pipeline] // withDockerContainer [Pipeline] sh 04:27:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:27:48 Stashed 1 file(s) [Pipeline] echo 04:27:48 [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 04:27:49 provisioning config files... 04:27:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config7352704368501800307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:49 ---> docker-login.sh 04:27:49 nexus3.edgexfoundry.org:10001 04:27:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:49 Configure a credential helper to remove this warning. See 04:27:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:49 04:27:49 Login Succeeded 04:27:49 nexus3.edgexfoundry.org:10002 04:27:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:49 Configure a credential helper to remove this warning. See 04:27:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:49 04:27:49 Login Succeeded 04:27:49 nexus3.edgexfoundry.org:10003 04:27:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:49 Configure a credential helper to remove this warning. See 04:27:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:49 04:27:49 Login Succeeded 04:27:49 nexus3.edgexfoundry.org:10004 04:27:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:49 Configure a credential helper to remove this warning. See 04:27:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:49 04:27:49 Login Succeeded 04:27:49 docker.io 04:27:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:50 Configure a credential helper to remove this warning. See 04:27:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:50 04:27:50 Login Succeeded 04:27:50 ---> docker-login.sh ends [Pipeline] } 04:27:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:27:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:27:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:27:50 ========================================================= 04:27:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:27:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:50 + 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 . 04:27:50 Sending build context to Docker daemon 21.16MB 04:27:50 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 04:27:50 Step 2/14 : FROM ${BASE} AS builder 04:27:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:27:50 2408cc74d12b: Pulling fs layer 04:27:50 ea60b727a1ce: Pulling fs layer 04:27:50 30c4a7721957: Pulling fs layer 04:27:50 370296b7ddb6: Pulling fs layer 04:27:50 7c6cee850709: Pulling fs layer 04:27:50 aa9baa53a306: Pulling fs layer 04:27:50 8b309c321861: Pulling fs layer 04:27:50 d8d76fd02f46: Pulling fs layer 04:27:50 fa31f396de31: Pulling fs layer 04:27:50 370296b7ddb6: Waiting 04:27:50 7c6cee850709: Waiting 04:27:50 aa9baa53a306: Waiting 04:27:50 8b309c321861: Waiting 04:27:50 d8d76fd02f46: Waiting 04:27:50 fa31f396de31: Waiting 04:27:50 30c4a7721957: Verifying Checksum 04:27:50 30c4a7721957: Download complete 04:27:50 ea60b727a1ce: Download complete 04:27:50 7c6cee850709: Verifying Checksum 04:27:50 7c6cee850709: Download complete 04:27:50 aa9baa53a306: Verifying Checksum 04:27:50 aa9baa53a306: Download complete 04:27:50 2408cc74d12b: Verifying Checksum 04:27:50 2408cc74d12b: Download complete 04:27:50 8b309c321861: Verifying Checksum 04:27:50 8b309c321861: Download complete 04:27:50 2408cc74d12b: Pull complete 04:27:51 ea60b727a1ce: Pull complete 04:27:51 30c4a7721957: Pull complete 04:27:51 fa31f396de31: Verifying Checksum 04:27:51 fa31f396de31: Download complete 04:27:52 370296b7ddb6: Download complete 04:27:52 d8d76fd02f46: Verifying Checksum 04:27:52 d8d76fd02f46: Download complete 04:27:57 370296b7ddb6: Pull complete 04:27:57 7c6cee850709: Pull complete 04:27:57 aa9baa53a306: Pull complete 04:27:57 8b309c321861: Pull complete 04:27:59 d8d76fd02f46: Pull complete 04:27:59 fa31f396de31: Pull complete 04:27:59 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 04:27:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:27:59 ---> cef68f9685f8 04:27:59 Step 3/14 : ARG ADD_BUILD_TAGS="" 04:28:02 ---> Running in 536e50a78c4e 04:28:02 Removing intermediate container 536e50a78c4e 04:28:02 ---> d2ce2a83386f 04:28:02 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:28:02 ---> Running in 8f299c21e9c3 04:28:02 Removing intermediate container 8f299c21e9c3 04:28:02 ---> 155a1214f8fb 04:28:02 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:28:02 ---> Running in 8e1db82fef54 04:28:02 Removing intermediate container 8e1db82fef54 04:28:02 ---> 5410a238c1ed 04:28:02 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 04:28:02 ---> Running in 5167893ef815 04:28:02 Removing intermediate container 5167893ef815 04:28:02 ---> ae50b0a0a416 04:28:02 Step 7/14 : LABEL Name=edgex-device-onvif-camera 04:28:02 ---> Running in 35b1c304e97a 04:28:02 Removing intermediate container 35b1c304e97a 04:28:02 ---> eab22d8a8552 04:28:02 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:28:02 ---> Running in 8576d6efead3 04:28:02 Removing intermediate container 8576d6efead3 04:28:02 ---> 62a10b139a07 04:28:02 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:28:02 ---> Running in 64b5d2f33fdf 04:28:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:28:04 Still waiting to schedule task 04:28:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:28:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:28:04 OK: 211 MiB in 51 packages 04:28:04 Removing intermediate container 64b5d2f33fdf 04:28:04 ---> 0b4deb9e6a0e 04:28:04 Step 10/14 : WORKDIR /device-onvif-camera 04:28:04 ---> Running in 94ab4be2e682 04:28:04 Removing intermediate container 94ab4be2e682 04:28:04 ---> 66af9c2b234e 04:28:04 Step 11/14 : COPY go.mod vendor* ./ 04:28:05 ---> 1e882d6eb00f 04:28:05 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:05 ---> Running in 8676988eea9d 04:28:27 Removing intermediate container 8676988eea9d 04:28:27 ---> 64bad19830c4 04:28:27 Step 13/14 : COPY . . 04:28:27 ---> 3304d17e3fc0 04:28:27 Step 14/14 : RUN ${MAKE} 04:28:27 ---> Running in 2648761d83da 04:28:27 noop 04:28:27 Removing intermediate container 2648761d83da 04:28:27 ---> 5e1242062d72 04:28:27 Successfully built 5e1242062d72 04:28:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:27 + docker inspect -f . ci-base-image-x86_64 04:28:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:27 prd-ubuntu20.04-docker-8c-8g-7386 does not seem to be running inside a container 04:28:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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 04:28:27 $ docker top b74b5bdada4959a1f857846e7e744db646e7a9cd71480de945845828a95bc407 -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:28 + go version 04:28:28 go version go1.18.3 linux/amd64 [Pipeline] } 04:28:28 $ docker stop --time=1 b74b5bdada4959a1f857846e7e744db646e7a9cd71480de945845828a95bc407 04:28:29 $ docker rm -f b74b5bdada4959a1f857846e7e744db646e7a9cd71480de945845828a95bc407 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:29 + docker inspect -f . ci-base-image-x86_64 04:28:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:30 prd-ubuntu20.04-docker-8c-8g-7386 does not seem to be running inside a container 04:28:30 $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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 04:28:30 $ docker top 4c897ae6bce5e38687747cb41190c83a3f76fd98e889df45e321c7b791d7ed0a -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:30 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] fileExists [Pipeline] sh 04:28:31 + make test 04:28:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:28:31 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:28:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:28:42 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.035s coverage: 28.2% of statements 04:28:42 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:28:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.374s coverage: 86.5% of statements 04:28:49 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." 04:28:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:28:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:28:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:28:53 ./bin/test-attribution-txt.sh [Pipeline] echo 04:28:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:28:53 $ docker stop --time=1 4c897ae6bce5e38687747cb41190c83a3f76fd98e889df45e321c7b791d7ed0a 04:28:55 $ docker rm -f 4c897ae6bce5e38687747cb41190c83a3f76fd98e889df45e321c7b791d7ed0a [Pipeline] // withDockerContainer [Pipeline] sh 04:28:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:28:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:28:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:28:56 + ls -al . 04:28:56 total 236 04:28:56 drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 04:28 . 04:28:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:27 .. 04:28:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 04:28 .git 04:28:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 04:27 .github 04:28:56 -rw-rw-r-- 1 jenkins jenkins 496 Oct 8 04:27 .gitignore 04:28:56 -rw-rw-r-- 1 jenkins jenkins 42 Oct 8 04:27 .golangci.yml 04:28:56 drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 04:27 .semver 04:28:56 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 8 04:27 Attribution.txt 04:28:56 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 8 04:27 CHANGELOG.md 04:28:56 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 8 04:27 Dockerfile 04:28:56 -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 04:27 GOVERNANCE.md 04:28:56 -rw-rw-r-- 1 jenkins jenkins 734 Oct 8 04:27 Jenkinsfile 04:28:56 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 8 04:27 LICENSE 04:28:56 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 8 04:27 Makefile 04:28:56 -rw-rw-r-- 1 jenkins jenkins 625 Oct 8 04:27 OWNERS.md 04:28:56 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 8 04:27 README.md 04:28:56 -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 04:27 VERSION 04:28:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 04:27 bin 04:28:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 04:27 cmd 04:28:56 -rw-r--r-- 1 jenkins jenkins 78461 Oct 8 04:28 coverage.out 04:28:56 drwxrwxr-x 6 jenkins jenkins 4096 Oct 8 04:27 doc 04:28:56 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 8 04:27 go.mod 04:28:56 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 8 04:27 go.sum 04:28:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:27 internal 04:28:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:27 snap 04:28:56 -rw-rw-r-- 1 jenkins jenkins 236 Oct 8 04:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:56 + 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=4f19d2261c252d7b3869b7d257d6519d38da4acd --label arch=amd64 --label version=0.0.0 . 04:28:56 Sending build context to Docker daemon 21.24MB 04:28:56 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 04:28:56 Step 2/27 : FROM ${BASE} AS builder 04:28:56 ---> 5e1242062d72 04:28:56 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:28:57 ---> Running in b8495e2eec33 04:28:57 Removing intermediate container b8495e2eec33 04:28:57 ---> 8cb4126968c3 04:28:57 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:28:57 ---> Running in 27b6d9427c0b 04:28:57 Removing intermediate container 27b6d9427c0b 04:28:57 ---> 303fd8e8cc91 04:28:57 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:28:57 ---> Running in 5ebaf289379f 04:28:57 Removing intermediate container 5ebaf289379f 04:28:57 ---> 42ed62aa5a70 04:28:57 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:28:57 ---> Running in e411185fc7fd 04:28:57 Removing intermediate container e411185fc7fd 04:28:57 ---> 6015423feef8 04:28:57 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:28:57 ---> Running in b4d7b108b1a9 04:28:57 Removing intermediate container b4d7b108b1a9 04:28:57 ---> e53e75bc6d47 04:28:57 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:28:57 ---> Running in 1b4ac2f6a654 04:28:58 Removing intermediate container 1b4ac2f6a654 04:28:58 ---> ec2a64a93bd0 04:28:58 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:28:58 ---> Running in 4ab9237d5af7 04:28:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:28:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:28:59 OK: 211 MiB in 51 packages 04:28:59 Removing intermediate container 4ab9237d5af7 04:28:59 ---> 0f515b68cca9 04:28:59 Step 10/27 : WORKDIR /device-onvif-camera 04:29:00 ---> Running in 6f1f04383129 04:29:00 Removing intermediate container 6f1f04383129 04:29:00 ---> 8db52ce40efd 04:29:00 Step 11/27 : COPY go.mod vendor* ./ 04:29:00 ---> e9a3714f9437 04:29:00 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:29:00 ---> Running in 6c4b6772dcd4 04:29:00 Removing intermediate container 6c4b6772dcd4 04:29:00 ---> 7f23a655a5df 04:29:00 Step 13/27 : COPY . . 04:29:01 ---> 0a26510ef5f8 04:29:01 Step 14/27 : RUN ${MAKE} 04:29:01 ---> Running in c24b9ce9baf7 04:29:01 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 04:29:23 Removing intermediate container c24b9ce9baf7 04:29:23 ---> 75c0cfcc83f1 04:29:23 Step 15/27 : FROM alpine:3.16 04:29:23 3.16: Pulling from library/alpine 04:29:23 213ec9aee27d: Pulling fs layer 04:29:23 213ec9aee27d: Verifying Checksum 04:29:23 213ec9aee27d: Download complete 04:29:23 213ec9aee27d: Pull complete 04:29:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:29:23 Status: Downloaded newer image for alpine:3.16 04:29:23 ---> 9c6f07244728 04:29:23 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:29:23 ---> Running in 6af647dc49f7 04:29:23 Removing intermediate container 6af647dc49f7 04:29:23 ---> decb5a63b2b5 04:29:23 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 04:29:23 ---> Running in 6d8e7fb56a12 04:29:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:29:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:29:23 (1/6) Installing dumb-init (1.2.5-r1) 04:29:23 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:29:23 (3/6) Installing libsodium (1.0.18-r0) 04:29:23 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:29:23 (5/6) Installing libzmq (4.3.4-r0) 04:29:23 (6/6) Installing zeromq (4.3.4-r0) 04:29:23 Executing busybox-1.35.0-r17.trigger 04:29:23 OK: 8 MiB in 20 packages 04:29:23 Removing intermediate container 6d8e7fb56a12 04:29:23 ---> 2aaef6720604 04:29:23 Step 18/27 : WORKDIR / 04:29:23 ---> Running in 3744957d054e 04:29:23 Removing intermediate container 3744957d054e 04:29:23 ---> 5221c7d28b48 04:29:23 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:29:23 ---> e9db96aad731 04:29:23 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:29:24 ---> ec2a06ee3670 04:29:24 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:29:24 ---> e21d82b8535e 04:29:24 Step 22/27 : EXPOSE 59984 04:29:24 ---> Running in 12e1a8be8a85 04:29:24 Removing intermediate container 12e1a8be8a85 04:29:24 ---> 67401c421760 04:29:24 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:29:24 ---> Running in 32431f6a234b 04:29:24 Removing intermediate container 32431f6a234b 04:29:24 ---> 1845453eb354 04:29:24 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:29:24 ---> Running in 95e7a4c7d196 04:29:24 Removing intermediate container 95e7a4c7d196 04:29:24 ---> 3fa6add46434 04:29:24 Step 25/27 : LABEL arch=amd64 04:29:24 ---> Running in de2fd9d30b99 04:29:24 Removing intermediate container de2fd9d30b99 04:29:24 ---> 0d2f46932447 04:29:24 Step 26/27 : LABEL git_sha=4f19d2261c252d7b3869b7d257d6519d38da4acd 04:29:24 ---> Running in 071c6b3568a2 04:29:24 Removing intermediate container 071c6b3568a2 04:29:24 ---> 731e27700b79 04:29:24 Step 27/27 : LABEL version=0.0.0 04:29:24 ---> Running in 0ed5befb1421 04:29:24 Removing intermediate container 0ed5befb1421 04:29:24 ---> 89eb80476756 04:29:24 [Warning] One or more build-args [ARCH] were not consumed 04:29:24 Successfully built 89eb80476756 04:29:24 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 04:29:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:25 04:29:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:25 latest: Pulling from edgex-lftools-log-publisher 04:29:25 5eb5b503b376: Pulling fs layer 04:29:25 5c69ac0246d0: Pulling fs layer 04:29:25 ec43610c2a17: Pulling fs layer 04:29:25 3a2ae6a8a46f: Pulling fs layer 04:29:25 33b1e0a273af: Pulling fs layer 04:29:25 5d3b04190fa2: Pulling fs layer 04:29:25 2f39f015ded8: Pulling fs layer 04:29:25 3a2ae6a8a46f: Waiting 04:29:25 5d3b04190fa2: Waiting 04:29:25 33b1e0a273af: Waiting 04:29:25 2f39f015ded8: Waiting 04:29:25 5c69ac0246d0: Verifying Checksum 04:29:25 5c69ac0246d0: Download complete 04:29:25 3a2ae6a8a46f: Verifying Checksum 04:29:25 3a2ae6a8a46f: Download complete 04:29:25 33b1e0a273af: Verifying Checksum 04:29:25 33b1e0a273af: Download complete 04:29:25 5d3b04190fa2: Verifying Checksum 04:29:25 5d3b04190fa2: Download complete 04:29:25 ec43610c2a17: Verifying Checksum 04:29:25 ec43610c2a17: Download complete 04:29:25 5eb5b503b376: Verifying Checksum 04:29:25 5eb5b503b376: Download complete 04:29:26 2f39f015ded8: Download complete 04:29:27 5eb5b503b376: Pull complete 04:29:28 5c69ac0246d0: Pull complete 04:29:28 ec43610c2a17: Pull complete 04:29:28 3a2ae6a8a46f: Pull complete 04:29:28 33b1e0a273af: Pull complete 04:29:29 5d3b04190fa2: Pull complete 04:29:33 2f39f015ded8: Pull complete 04:29:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:29:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:33 prd-ubuntu20.04-docker-8c-8g-7386 does not seem to be running inside a container 04:29:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7387 in /w/workspace/undry_device-onvif-camera_PR-174 04:29:33 $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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 04:29:34 $ docker top 0bdc0116b464a5b735009cc740dc8143e1511cdd2291d5cfdb0e5581b3a61fa4 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 04:29:34 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 04:29:34 The recommended git tool is: git 04:29:35 ---> job-cost.sh 04:29:35 lf-activate-venv: SKIPPING 04:29:35 INFO: No Stack... 04:29:35 INFO: Retrieving Pricing Info for: v3-standard-8 04:29:35 INFO: Archiving Costs [Pipeline] sh 04:29:35 + cat /w/workspace/undry_device-onvif-camera_PR-174/archives/cost.csv+ 04:29:35 cut -d, -f6 [Pipeline] lock 04:29:35 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-2-stack-cost] 04:29:35 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-2-stack-cost] did not exist. Created. 04:29:35 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:29:36 + echo total: 0.2199999988079071 [Pipeline] stash 04:29:36 Stashed 1 file(s) [Pipeline] } 04:29:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:29:36 $ docker stop --time=1 0bdc0116b464a5b735009cc740dc8143e1511cdd2291d5cfdb0e5581b3a61fa4 04:29:37 $ docker rm -f 0bdc0116b464a5b735009cc740dc8143e1511cdd2291d5cfdb0e5581b3a61fa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:29:39 using credential edgex-jenkins-ssh 04:29:39 Cloning the remote Git repository 04:29:39 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:29:39 > git init /w/workspace/device-onvif-camera/2 # timeout=10 04:29:39 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:29:39 > git --version # timeout=10 04:29:39 > git --version # 'git version 2.25.1' 04:29:39 using GIT_SSH to set credentials SSH Credentials for GitHub 04:29:40 Verifying host key using known hosts file 04:29:40 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. 04:29:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:29:41 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:29:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:29:42 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:29:42 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:29:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:29:42 Verifying host key using known hosts file 04:29:42 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. 04:29:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:29:42 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 4f19d2261c252d7b3869b7d257d6519d38da4acd 04:29:43 Merge succeeded, producing 4f19d2261c252d7b3869b7d257d6519d38da4acd 04:29:43 Checking out Revision 4f19d2261c252d7b3869b7d257d6519d38da4acd (PR-174) 04:29:43 > git config core.sparsecheckout # timeout=10 04:29:43 > git checkout -f 4f19d2261c252d7b3869b7d257d6519d38da4acd # timeout=10 04:29:43 > git remote # timeout=10 04:29:43 > git config --get remote.origin.url # timeout=10 04:29:43 using GIT_SSH to set credentials SSH Credentials for GitHub 04:29:43 Verifying host key using known hosts file 04:29:43 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. 04:29:43 > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 04:29:43 > git rev-parse HEAD^{commit} # timeout=10 04:29:43 > git config core.sparsecheckout # timeout=10 04:29:43 > git checkout -f 4f19d2261c252d7b3869b7d257d6519d38da4acd # timeout=10 04:29:43 Commit message: "feat: added more onvif descriptions" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:29:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:29:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:29:44 Dload Upload Total Spent Left Speed 04:29:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 103k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 04:29:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:29:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:29:45 + sudo tee /etc/docker/daemon.new 04:29:45 { 04:29:45 "registry-mirrors": [ 04:29:45 "https://nexus3.edgexfoundry.org:10001" 04:29:45 ], 04:29:45 "bip": "10.250.0.254/24", 04:29:45 "hosts": [ 04:29:45 "tcp://0.0.0.0:5555", 04:29:45 "unix:///var/run/docker.sock" 04:29:45 ], 04:29:45 "mtu": 1458, 04:29:45 "selinux-enabled": true, 04:29:45 "seccomp-profile": "/etc/docker/seccomp.json" 04:29:45 } [Pipeline] sh 04:29:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:29:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:04 provisioning config files... 04:30:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config2538218569815070053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:30:05 ---> docker-login.sh 04:30:05 nexus3.edgexfoundry.org:10001 04:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:05 Configure a credential helper to remove this warning. See 04:30:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:05 04:30:05 Login Succeeded 04:30:05 nexus3.edgexfoundry.org:10002 04:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:05 Configure a credential helper to remove this warning. See 04:30:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:05 04:30:05 Login Succeeded 04:30:06 nexus3.edgexfoundry.org:10003 04:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:06 Configure a credential helper to remove this warning. See 04:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:06 04:30:06 Login Succeeded 04:30:06 nexus3.edgexfoundry.org:10004 04:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:06 Configure a credential helper to remove this warning. See 04:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:06 04:30:06 Login Succeeded 04:30:06 docker.io 04:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:07 Configure a credential helper to remove this warning. See 04:30:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:07 04:30:07 Login Succeeded 04:30:07 ---> docker-login.sh ends [Pipeline] } 04:30:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:30:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:30:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:30:07 ========================================================= 04:30:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:30:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:07 + 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 . 04:30:07 Sending build context to Docker daemon 14.58MB 04:30:08 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 04:30:08 Step 2/14 : FROM ${BASE} AS builder 04:30:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:30:08 b3c136eddcbf: Pulling fs layer 04:30:08 c0a3192eca97: Pulling fs layer 04:30:08 a050256f5b6f: Pulling fs layer 04:30:08 656be50a0ddc: Pulling fs layer 04:30:08 2bbca73fdf42: Pulling fs layer 04:30:08 f607e4fc86c3: Pulling fs layer 04:30:08 4d572c569a2c: Pulling fs layer 04:30:08 fcf976331f73: Pulling fs layer 04:30:08 2bbca73fdf42: Waiting 04:30:08 f607e4fc86c3: Waiting 04:30:08 656be50a0ddc: Waiting 04:30:08 fcf976331f73: Waiting 04:30:08 4d572c569a2c: Waiting 04:30:08 a050256f5b6f: Verifying Checksum 04:30:08 a050256f5b6f: Download complete 04:30:08 c0a3192eca97: Verifying Checksum 04:30:08 c0a3192eca97: Download complete 04:30:08 2bbca73fdf42: Verifying Checksum 04:30:08 2bbca73fdf42: Download complete 04:30:08 f607e4fc86c3: Download complete 04:30:08 b3c136eddcbf: Download complete 04:30:09 b3c136eddcbf: Pull complete 04:30:09 fcf976331f73: Verifying Checksum 04:30:09 fcf976331f73: Download complete 04:30:10 4d572c569a2c: Verifying Checksum 04:30:10 4d572c569a2c: Download complete 04:30:11 656be50a0ddc: Verifying Checksum 04:30:11 c0a3192eca97: Pull complete 04:30:11 a050256f5b6f: Pull complete 04:30:23 656be50a0ddc: Pull complete 04:30:23 2bbca73fdf42: Pull complete 04:30:23 f607e4fc86c3: Pull complete 04:30:30 4d572c569a2c: Pull complete 04:30:31 fcf976331f73: Pull complete 04:30:31 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 04:30:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:30:31 ---> 3970a7415f9e 04:30:31 Step 3/14 : ARG ADD_BUILD_TAGS="" 04:30:33 ---> Running in 631492fc9add 04:30:33 Removing intermediate container 631492fc9add 04:30:33 ---> cc9bae6f5b7c 04:30:33 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:30:33 ---> Running in 5011dc00681e 04:30:34 Removing intermediate container 5011dc00681e 04:30:34 ---> 2b0dad9f6b8c 04:30:34 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:30:34 ---> Running in 11a66efd250b 04:30:34 Removing intermediate container 11a66efd250b 04:30:34 ---> 9f3c6afe7c5c 04:30:34 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 04:30:34 ---> Running in a4e8face662f 04:30:34 Removing intermediate container a4e8face662f 04:30:34 ---> f833ec66f085 04:30:34 Step 7/14 : LABEL Name=edgex-device-onvif-camera 04:30:34 ---> Running in 9c9f4fff12c5 04:30:35 Removing intermediate container 9c9f4fff12c5 04:30:35 ---> 5b476279f785 04:30:35 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:30:35 ---> Running in 5844c884c99e 04:30:37 Removing intermediate container 5844c884c99e 04:30:37 ---> 7834cbc055d1 04:30:37 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:30:37 ---> Running in cb4111832c16 04:30:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:30:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:30:39 OK: 221 MiB in 51 packages 04:30:40 Removing intermediate container cb4111832c16 04:30:40 ---> 2e7baeb3b16c 04:30:40 Step 10/14 : WORKDIR /device-onvif-camera 04:30:40 ---> Running in fd80421037cd 04:30:41 Removing intermediate container fd80421037cd 04:30:41 ---> 6a9ccffec00f 04:30:41 Step 11/14 : COPY go.mod vendor* ./ 04:30:41 ---> 64c62afc460f 04:30:41 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:30:41 ---> Running in 27efdffea2dc 04:31:28 Removing intermediate container 27efdffea2dc 04:31:28 ---> 6f4b98ee2839 04:31:28 Step 13/14 : COPY . . 04:31:30 ---> dbcde4051671 04:31:30 Step 14/14 : RUN ${MAKE} 04:31:30 ---> Running in 752ae3750723 04:31:30 noop 04:31:33 Removing intermediate container 752ae3750723 04:31:33 ---> 04c39fe8bea4 04:31:33 Successfully built 04c39fe8bea4 04:31:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:33 + docker inspect -f . ci-base-image-arm64 04:31:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:34 prd-ubuntu20.04-docker-arm64-4c-16g-7387 does not seem to be running inside a container 04:31:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:31:35 $ docker top 08ffc4cd4ca6f3851d8e71b1ee91dee44e5db71ddb18d06ca215818d80b1ab59 -eo pid,comm [Pipeline] { [Pipeline] sh 04:31:36 + go version 04:31:36 go version go1.18.3 linux/arm64 [Pipeline] } 04:31:36 $ docker stop --time=1 08ffc4cd4ca6f3851d8e71b1ee91dee44e5db71ddb18d06ca215818d80b1ab59 04:31:37 $ docker rm -f 08ffc4cd4ca6f3851d8e71b1ee91dee44e5db71ddb18d06ca215818d80b1ab59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:38 + docker inspect -f . ci-base-image-arm64 04:31:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:38 prd-ubuntu20.04-docker-arm64-4c-16g-7387 does not seem to be running inside a container 04:31:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:31:39 $ docker top 0ac8a9ce7de8d725c47d3ca3475125b7b715860bd109dd715f21ca34413e1ba4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:31:40 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 04:31:40 + make test 04:31:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:31:42 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:33:19 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:33:19 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.190s coverage: 28.2% of statements 04:33:19 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:33:37 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.895s coverage: 86.5% of statements 04:33:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:33:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:34:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:34:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:34:04 ./bin/test-attribution-txt.sh [Pipeline] echo 04:34:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:34:04 $ docker stop --time=1 0ac8a9ce7de8d725c47d3ca3475125b7b715860bd109dd715f21ca34413e1ba4 04:34:06 $ docker rm -f 0ac8a9ce7de8d725c47d3ca3475125b7b715860bd109dd715f21ca34413e1ba4 [Pipeline] // withDockerContainer [Pipeline] sh 04:34:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:34:07 Warning: overwriting stash ‘coverage-report’ 04:34:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:34:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:34:08 + ls -al . 04:34:08 total 232 04:34:08 drwxrwxr-x 9 jenkins jenkins 4096 Oct 8 04:31 . 04:34:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:29 .. 04:34:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 04:29 .git 04:34:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 04:29 .github 04:34:08 -rw-rw-r-- 1 jenkins jenkins 496 Oct 8 04:29 .gitignore 04:34:08 -rw-rw-r-- 1 jenkins jenkins 42 Oct 8 04:29 .golangci.yml 04:34:08 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 8 04:29 Attribution.txt 04:34:08 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 8 04:29 CHANGELOG.md 04:34:08 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 8 04:29 Dockerfile 04:34:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 04:29 GOVERNANCE.md 04:34:08 -rw-rw-r-- 1 jenkins jenkins 734 Oct 8 04:29 Jenkinsfile 04:34:08 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 8 04:29 LICENSE 04:34:08 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 8 04:29 Makefile 04:34:08 -rw-rw-r-- 1 jenkins jenkins 625 Oct 8 04:29 OWNERS.md 04:34:08 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 8 04:29 README.md 04:34:08 -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 04:27 VERSION 04:34:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 04:29 bin 04:34:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 04:29 cmd 04:34:08 -rw-r--r-- 1 jenkins jenkins 78461 Oct 8 04:33 coverage.out 04:34:08 drwxrwxr-x 6 jenkins jenkins 4096 Oct 8 04:29 doc 04:34:08 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 8 04:29 go.mod 04:34:08 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 8 04:29 go.sum 04:34:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:29 internal 04:34:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:29 snap 04:34:08 -rw-rw-r-- 1 jenkins jenkins 236 Oct 8 04:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:08 + 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=4f19d2261c252d7b3869b7d257d6519d38da4acd --label arch=arm64 --label version=0.0.0 . 04:34:09 Sending build context to Docker daemon 14.66MB 04:34:09 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 04:34:09 Step 2/27 : FROM ${BASE} AS builder 04:34:09 ---> 04c39fe8bea4 04:34:09 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:34:09 ---> Running in d614f1486376 04:34:09 Removing intermediate container d614f1486376 04:34:09 ---> 76e3f3585ad5 04:34:09 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:34:10 ---> Running in c2f8826a5759 04:34:10 Removing intermediate container c2f8826a5759 04:34:10 ---> ca56849f3bac 04:34:10 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:34:10 ---> Running in 00350bf1df2d 04:34:11 Removing intermediate container 00350bf1df2d 04:34:11 ---> 1fb001b07ff4 04:34:11 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:34:11 ---> Running in f08e07bbb24f 04:34:11 Removing intermediate container f08e07bbb24f 04:34:11 ---> bf1438ab7dcd 04:34:11 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:34:12 ---> Running in 32716e3b2d0d 04:34:12 Removing intermediate container 32716e3b2d0d 04:34:12 ---> caeab69938eb 04:34:12 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:34:12 ---> Running in 75ffb699ce7a 04:34:14 Removing intermediate container 75ffb699ce7a 04:34:14 ---> a6e5a2c5398b 04:34:14 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:34:14 ---> Running in 116fbf09d4fc 04:34:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:34:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:34:17 OK: 221 MiB in 51 packages 04:34:18 Removing intermediate container 116fbf09d4fc 04:34:18 ---> a8e62c8e8a50 04:34:18 Step 10/27 : WORKDIR /device-onvif-camera 04:34:18 ---> Running in 234158de8ccb 04:34:18 Removing intermediate container 234158de8ccb 04:34:18 ---> 5c8b0f0296ba 04:34:18 Step 11/27 : COPY go.mod vendor* ./ 04:34:19 ---> e69c29e785ed 04:34:19 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:34:19 ---> Running in 4de5e2b19202 04:34:21 Removing intermediate container 4de5e2b19202 04:34:21 ---> 43cdbb356656 04:34:21 Step 13/27 : COPY . . 04:34:22 ---> 90b89689b485 04:34:22 Step 14/27 : RUN ${MAKE} 04:34:23 ---> Running in 13eac06b9917 04:34:24 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 04:37:00 Removing intermediate container 13eac06b9917 04:37:00 ---> 248686fdbadd 04:37:00 Step 15/27 : FROM alpine:3.16 04:37:00 3.16: Pulling from library/alpine 04:37:00 9b18e9b68314: Pulling fs layer 04:37:00 9b18e9b68314: Verifying Checksum 04:37:00 9b18e9b68314: Download complete 04:37:00 9b18e9b68314: Pull complete 04:37:00 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:37:00 Status: Downloaded newer image for alpine:3.16 04:37:00 ---> a6215f271958 04:37:00 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:37:00 ---> Running in 43a744ec9743 04:37:00 Removing intermediate container 43a744ec9743 04:37:00 ---> deb9d2da4fc6 04:37:00 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 04:37:00 ---> Running in 2b7e0286b679 04:37:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:37:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:37:00 (1/6) Installing dumb-init (1.2.5-r1) 04:37:00 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:37:00 (3/6) Installing libsodium (1.0.18-r0) 04:37:00 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:37:00 (5/6) Installing libzmq (4.3.4-r0) 04:37:00 (6/6) Installing zeromq (4.3.4-r0) 04:37:00 Executing busybox-1.35.0-r17.trigger 04:37:00 OK: 8 MiB in 20 packages 04:37:00 Removing intermediate container 2b7e0286b679 04:37:00 ---> e63722403fba 04:37:00 Step 18/27 : WORKDIR / 04:37:00 ---> Running in c7304e085555 04:37:00 Removing intermediate container c7304e085555 04:37:00 ---> 4e0accfeb7f4 04:37:00 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:37:00 ---> e38b6ff033d3 04:37:00 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:37:00 ---> ac36edc68a8e 04:37:00 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:37:00 ---> c602cc188fc4 04:37:00 Step 22/27 : EXPOSE 59984 04:37:00 ---> Running in 994b8f1fe087 04:37:00 Removing intermediate container 994b8f1fe087 04:37:00 ---> c8e5e4b03fe2 04:37:00 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:37:00 ---> Running in 5c0ab11896be 04:37:00 Removing intermediate container 5c0ab11896be 04:37:00 ---> 364f93a43210 04:37:00 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:37:00 ---> Running in df92a3e7c7a4 04:37:00 Removing intermediate container df92a3e7c7a4 04:37:00 ---> f7c00ca12542 04:37:00 Step 25/27 : LABEL arch=arm64 04:37:00 ---> Running in 15fa3fd17539 04:37:00 Removing intermediate container 15fa3fd17539 04:37:00 ---> 8c42ff68c76a 04:37:00 Step 26/27 : LABEL git_sha=4f19d2261c252d7b3869b7d257d6519d38da4acd 04:37:00 ---> Running in c6b2cf06ded0 04:37:00 Removing intermediate container c6b2cf06ded0 04:37:00 ---> aaeb950a747b 04:37:00 Step 27/27 : LABEL version=0.0.0 04:37:00 ---> Running in c53b1300a969 04:37:00 Removing intermediate container c53b1300a969 04:37:00 ---> b1655dc4ecbd 04:37:00 [Warning] One or more build-args [ARCH] were not consumed 04:37:00 Successfully built b1655dc4ecbd 04:37:00 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 04:37:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:37:01 04:37:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:37:01 arm64: Pulling from edgex-lftools-log-publisher 04:37:01 8998bd30e6a1: Pulling fs layer 04:37:01 04944245beec: Pulling fs layer 04:37:01 699f458cf7ca: Pulling fs layer 04:37:01 765212b225bb: Pulling fs layer 04:37:01 f23df028b6ca: Pulling fs layer 04:37:01 d65c8cfc05b1: Pulling fs layer 04:37:01 2437ff75d9bd: Pulling fs layer 04:37:01 765212b225bb: Waiting 04:37:01 d65c8cfc05b1: Waiting 04:37:01 2437ff75d9bd: Waiting 04:37:01 f23df028b6ca: Waiting 04:37:01 04944245beec: Verifying Checksum 04:37:01 04944245beec: Download complete 04:37:01 765212b225bb: Verifying Checksum 04:37:01 765212b225bb: Download complete 04:37:01 f23df028b6ca: Download complete 04:37:01 d65c8cfc05b1: Verifying Checksum 04:37:01 d65c8cfc05b1: Download complete 04:37:02 699f458cf7ca: Verifying Checksum 04:37:02 699f458cf7ca: Download complete 04:37:02 8998bd30e6a1: Verifying Checksum 04:37:02 8998bd30e6a1: Download complete 04:37:05 2437ff75d9bd: Download complete 04:37:06 8998bd30e6a1: Pull complete 04:37:07 04944245beec: Pull complete 04:37:08 699f458cf7ca: Pull complete 04:37:08 765212b225bb: Pull complete 04:37:09 f23df028b6ca: Pull complete 04:37:09 d65c8cfc05b1: Pull complete 04:37:24 2437ff75d9bd: Pull complete 04:37:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:37:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:37:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:24 prd-ubuntu20.04-docker-arm64-4c-16g-7387 does not seem to be running inside a container 04:37:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:37:27 $ docker top fda94e506995bd6ad4ce4fb34abdc05ac31eaffe5fcc641a11e15a8fdfba6084 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:27 ---> job-cost.sh 04:37:28 lf-activate-venv: SKIPPING 04:37:28 INFO: No Stack... 04:37:28 INFO: Retrieving Pricing Info for: v3-standard-4 04:37:29 INFO: Archiving Costs [Pipeline] sh 04:37:29 + cut -d, -f6 04:37:30 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 04:37:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-2-stack-cost] 04:37:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-2-stack-cost] did not exist. Created. 04:37:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:37:30 /w/workspace/device-onvif-camera/2@tmp/durable-ae2dc365/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:37:30 + echo total: 0.10999999940395355 [Pipeline] stash 04:37:30 Warning: overwriting stash ‘stack-cost’ 04:37:31 Stashed 1 file(s) [Pipeline] } 04:37:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:37:31 $ docker stop --time=1 fda94e506995bd6ad4ce4fb34abdc05ac31eaffe5fcc641a11e15a8fdfba6084 04:37:32 $ docker rm -f fda94e506995bd6ad4ce4fb34abdc05ac31eaffe5fcc641a11e15a8fdfba6084 [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 04:37:32 provisioning config files... 04:37:32 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config8740727887547692774tmp [Pipeline] { [Pipeline] sh 04:37:33 + set +x 04:37:33 + curl -s https://codecov.io/bash 04:37:33 + bash -s -- 04:37:33 04:37:33 _____ _ 04:37:33 / ____| | | 04:37:33 | | ___ __| | ___ ___ _____ __ 04:37:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:37:33 | |___| (_) | (_| | __/ (_| (_) \ V / 04:37:33 \_____\___/ \__,_|\___|\___\___/ \_/ 04:37:33 Bash-1.0.6 04:37:33 04:37:33 04:37:33 ==> git version 2.25.1 found 04:37:33 ==> 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 04:37:33 Release-Date: 2020-01-08 04:37:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:37:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:37:33 ==> Jenkins CI detected. 04:37:33 current dir:  /w/workspace/undry_device-onvif-camera_PR-174 04:37:33 project root: . 04:37:33 --> token set from env 04:37:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:37:33 ==> Running gcov in . (disable via -X gcov) 04:37:33 ==> Python coveragepy not found 04:37:33 ==> Searching for coverage reports in: 04:37:33 + . 04:37:33 -> Found 1 reports 04:37:33 ==> Detecting git/mercurial file structure 04:37:33 ==> Reading reports 04:37:33 + ./coverage.out bytes=78461 04:37:33 ==> Appending adjustments 04:37:33 https://docs.codecov.io/docs/fixing-reports 04:37:33 + Found adjustments 04:37:33 ==> Gzipping contents 04:37:33 12K /tmp/codecov.qQPwsO.gz 04:37:33 ==> Uploading reports 04:37:33 url: https://codecov.io 04:37:33 query: branch=PR-174&commit=4f19d2261c252d7b3869b7d257d6519d38da4acd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= 04:37:33 -> Pinging Codecov 04:37:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-174&commit=4f19d2261c252d7b3869b7d257d6519d38da4acd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= 04:37:34 -> Uploading to 04:37:34 https://storage.googleapis.com/codecov/v4/raw/2022-10-08/F29A59C45E3A92E06B3E522C9905F8EF/4f19d2261c252d7b3869b7d257d6519d38da4acd/29fef95b-f81b-4810-a46e-5dee3b1e309b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221008%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221008T043733Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a0408e4cff67b862c6ef3c6b0068dcfd700b3d72b8a2946cd7b18338cd041fb 04:37:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:37:34 Dload Upload Total Spent Left Speed 04:37:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10758 0 0 100 10758 0 38697 --:--:-- --:--:-- --:--:-- 38837 04:37:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4f19d2261c252d7b3869b7d257d6519d38da4acd [Pipeline] } 04:37:34 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 04:37:35 + [ -d /w/workspace/undry_device-onvif-camera_PR-174/archives ] 04:37:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives 04:37:35 total 16 04:37:35 drwxr-xr-x 3 root root 4096 Oct 8 04:29 . 04:37:35 drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 04:29 .. 04:37:35 drwxr-xr-x 2 root root 4096 Oct 8 04:29 cost 04:37:35 -rw-r--r-- 1 root root 91 Oct 8 04:29 cost.csv 04:37:35 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-174/archives 04:37:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives 04:37:35 total 16 04:37:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 04:29 . 04:37:35 drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 04:29 .. 04:37:35 drwxr-xr-x 2 jenkins jenkins 4096 Oct 8 04:29 cost 04:37:35 -rw-r--r-- 1 jenkins jenkins 91 Oct 8 04:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:37:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:37:36 ---> package-listing.sh 04:37:36 ++ facter osfamily 04:37:36 ++ tr '[:upper:]' '[:lower:]' 04:37:36 + OS_FAMILY=debian 04:37:36 + workspace=/w/workspace/undry_device-onvif-camera_PR-174 04:37:36 + START_PACKAGES=/tmp/packages_start.txt 04:37:36 + END_PACKAGES=/tmp/packages_end.txt 04:37:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:37:36 + PACKAGES=/tmp/packages_start.txt 04:37:36 + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' 04:37:36 + PACKAGES=/tmp/packages_end.txt 04:37:36 + case "${OS_FAMILY}" in 04:37:36 + dpkg -l 04:37:36 + grep '^ii' 04:37:36 + '[' -f /tmp/packages_start.txt ']' 04:37:36 + '[' -f /tmp/packages_end.txt ']' 04:37:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:37:36 + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' 04:37:36 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-174/archives/ 04:37:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-174/archives/ [Pipeline] echo 04:37:36 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-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:37:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:37:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:37 prd-ubuntu20.04-docker-8c-8g-7386 does not seem to be running inside a container 04:37:37 $ 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-174/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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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 04:37:37 $ docker top b19818a7c07c5fddfbb7eb0af0f42dd9fa89e52e308e63432a3ab798ad1e7f96 -eo pid,comm [Pipeline] { [Pipeline] sh 04:37:37 + touch /tmp/pre-build-complete [Pipeline] sh 04:37:38 + mkdir -p /var/log/sysstat [Pipeline] sh 04:37:38 + ls /var/log/sa-host 04:37:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:37:38 provisioning config files... 04:37:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config17940665282390878738tmp [Pipeline] { [Pipeline] echo 04:37:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:37:39 ---> create-netrc.sh [Pipeline] } 04:37:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:37:39 ---> python-tools-install.sh [Pipeline] echo 04:37:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:37:39 ---> sudo-logs.sh 04:37:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:37:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:37:39 ---> job-cost.sh 04:37:39 lf-activate-venv: SKIPPING 04:37:39 DEBUG: total: 0.2199999988079071 04:37:39 INFO: Retrieving Stack Cost... 04:37:40 INFO: Retrieving Pricing Info for: v3-standard-8 04:37:40 INFO: Archiving Costs [Pipeline] echo 04:37:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:37:41 ---> logs-deploy.sh 04:37:41 lf-activate-venv: SKIPPING 04:37:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-174/2 04:37:41 INFO: archiving workspace using pattern(s): 04:37:42 Archives upload complete. 04:37:42 INFO: archiving logs to Nexus 04:37:42 ---> uname -a: 04:37:42 Linux prd-ubuntu20-04-docker-8c-8g-7386 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:37:42 04:37:42