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 66447988b5970b64981174d7c941281712afb8e7 rather than d4eb940c70f9fc45a3d8abe2ed98aeea5a2aed78 Obtained Jenkinsfile from 66447988b5970b64981174d7c941281712afb8e7 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-ssh18210635940883468658.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-ssh17692585542950425302.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-ssh3377199933718146616.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-ssh16898647820631981935.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-ssh16059430033921855098.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 ‘prd-ubuntu20.04-docker-8c-8g-7748’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7750 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 66447988b5970b64981174d7c941281712afb8e7 into PR head commit d4eb940c70f9fc45a3d8abe2ed98aeea5a2aed78 Merge succeeded, producing cdf18c6f139d843ca6c241faffb742aa16eb3e48 Checking out Revision cdf18c6f139d843ca6c241faffb742aa16eb3e48 (PR-174) > git config core.sparsecheckout # timeout=10 > git checkout -f d4eb940c70f9fc45a3d8abe2ed98aeea5a2aed78 # 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 66447988b5970b64981174d7c941281712afb8e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdf18c6f139d843ca6c241faffb742aa16eb3e48 # timeout=10 Commit message: "Merge commit '66447988b5970b64981174d7c941281712afb8e7' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:02:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:02:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:02:46 ========================================================= 13:02:46 EdgeX Global Pipelines Version Info 13:02:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 185109018fe04e04d048a5b865df7b17774e4144 # timeout=10 13:02:47 ------------------- 13:02:47 stable info: 13:02:47 ------------------- 13:02:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:02:47 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 13:02:47 Message: update stable to v1.0.239 13:02:47 ------------------- 13:02:47 experimental info: 13:02:47 ------------------- 13:02:47 Commited By: **** collab-it+edgex@linuxfoundation.org 13:02:47 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 13:02:47 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdf18c6f139d843ca6c241faffb742aa16eb3e48 [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdf18c6 [Pipeline] echo 13:02:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:02:48 provisioning config files... 13:02:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config4247150865547268339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:02:49 ---> docker-login.sh 13:02:49 nexus3.edgexfoundry.org:10001 13:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:49 Configure a credential helper to remove this warning. See 13:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:49 13:02:49 Login Succeeded 13:02:49 nexus3.edgexfoundry.org:10002 13:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:49 Configure a credential helper to remove this warning. See 13:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:49 13:02:49 Login Succeeded 13:02:49 nexus3.edgexfoundry.org:10003 13:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:49 Configure a credential helper to remove this warning. See 13:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:49 13:02:49 Login Succeeded 13:02:49 nexus3.edgexfoundry.org:10004 13:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:49 Configure a credential helper to remove this warning. See 13:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:49 13:02:49 Login Succeeded 13:02:49 docker.io 13:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:50 Configure a credential helper to remove this warning. See 13:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:50 13:02:50 Login Succeeded 13:02:50 ---> docker-login.sh ends [Pipeline] } 13:02:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:02:50 + git rev-list -1 --merges cdf18c6f139d843ca6c241faffb742aa16eb3e48~1..cdf18c6f139d843ca6c241faffb742aa16eb3e48 [Pipeline] echo 13:02:50 -----------> git rev-list -1 --merges cdf18c6f139d843ca6c241faffb742aa16eb3e48~1..cdf18c6f139d843ca6c241faffb742aa16eb3e48 cdf18c6f139d843ca6c241faffb742aa16eb3e48 13:02:50 cdf18c6f139d843ca6c241faffb742aa16eb3e48 [false] [Pipeline] sh 13:02:50 + git log --format=format:%s -1 cdf18c6f139d843ca6c241faffb742aa16eb3e48 [Pipeline] echo 13:02:50 ========================================================= 13:02:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:02:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:02:51 + git log --format=format:%s -1 cdf18c6f139d843ca6c241faffb742aa16eb3e48 [Pipeline] echo 13:02:51 [semverPrep] GIT_COMMIT: cdf18c6f139d843ca6c241faffb742aa16eb3e48, Commit Message: Merge commit '66447988b5970b64981174d7c941281712afb8e7' into HEAD [Pipeline] echo 13:02:51 [semverPrep] This is not a build commit. [Pipeline] sh 13:02:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:02:51 + grep -v github /etc/ssh/ssh_known_hosts 13:02:51 + [ -e /tmp/ssh_known_hosts ] 13:02:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:02:51 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:02:51 sudo tee -a /etc/ssh/ssh_known_hosts 13:02:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:02:52 13:02:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:02:52 0.1.4: Pulling from edgex-devops/py-git-semver 13:02:52 b85a868b505f: Pulling fs layer 13:02:52 e2be974225ed: Pulling fs layer 13:02:52 339a4e72a1f5: Pulling fs layer 13:02:52 988bab9f4d93: Pulling fs layer 13:02:52 1469e6f7b9e6: Pulling fs layer 13:02:52 eaf3925da568: Pulling fs layer 13:02:52 bab4dde63d76: Pulling fs layer 13:02:52 bde34c3a00c8: Pulling fs layer 13:02:52 b352a97aabf1: Pulling fs layer 13:02:52 4872d77fe225: Pulling fs layer 13:02:52 5851b861e8e6: Pulling fs layer 13:02:52 988bab9f4d93: Waiting 13:02:52 1469e6f7b9e6: Waiting 13:02:52 eaf3925da568: Waiting 13:02:52 b352a97aabf1: Waiting 13:02:52 bab4dde63d76: Waiting 13:02:52 4872d77fe225: Waiting 13:02:52 5851b861e8e6: Waiting 13:02:52 bde34c3a00c8: Waiting 13:02:52 e2be974225ed: Download complete 13:02:52 988bab9f4d93: Verifying Checksum 13:02:52 988bab9f4d93: Download complete 13:02:52 1469e6f7b9e6: Verifying Checksum 13:02:52 1469e6f7b9e6: Download complete 13:02:52 eaf3925da568: Verifying Checksum 13:02:52 eaf3925da568: Download complete 13:02:52 339a4e72a1f5: Verifying Checksum 13:02:52 339a4e72a1f5: Download complete 13:02:52 bde34c3a00c8: Verifying Checksum 13:02:52 bde34c3a00c8: Download complete 13:02:52 b352a97aabf1: Verifying Checksum 13:02:52 b352a97aabf1: Download complete 13:02:52 4872d77fe225: Verifying Checksum 13:02:52 4872d77fe225: Download complete 13:02:52 5851b861e8e6: Verifying Checksum 13:02:52 5851b861e8e6: Download complete 13:02:52 b85a868b505f: Verifying Checksum 13:02:52 b85a868b505f: Download complete 13:02:52 bab4dde63d76: Verifying Checksum 13:02:52 bab4dde63d76: Download complete 13:02:53 b85a868b505f: Pull complete 13:02:54 e2be974225ed: Pull complete 13:02:54 339a4e72a1f5: Pull complete 13:02:54 988bab9f4d93: Pull complete 13:02:54 1469e6f7b9e6: Pull complete 13:02:54 eaf3925da568: Pull complete 13:02:56 bab4dde63d76: Pull complete 13:02:56 bde34c3a00c8: Pull complete 13:02:56 b352a97aabf1: Pull complete 13:02:56 4872d77fe225: Pull complete 13:02:56 5851b861e8e6: Pull complete 13:02:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:02:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:02:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:57 prd-ubuntu20.04-docker-8c-8g-7750 does not seem to be running inside a container 13:02:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:02:58 $ docker top 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 -eo pid,comm 13:02:58 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). 13:02:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:02:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:02:58 [ssh-agent] Looking for ssh-agent implementation... 13:02:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:02:58 $ docker exec 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 ssh-agent 13:02:59 SSH_AUTH_SOCK=/tmp/ssh-9TnCJs3wTltL/agent.32 13:02:59 SSH_AGENT_PID=38 13:02:59 Running ssh-add (command line suppressed) 13:02:59 Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_14379708082067737293.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_14379708082067737293.key) 13:02:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:02:59 + git tag --points-at HEAD [Pipeline] } 13:02:59 $ docker exec --env ******** --env ******** 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 ssh-agent -k 13:02:59 unset SSH_AUTH_SOCK; 13:02:59 unset SSH_AGENT_PID; 13:02:59 echo Agent pid 38 killed; 13:02:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:02:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:02:59 [ssh-agent] Looking for ssh-agent implementation... 13:02:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:02:59 $ docker exec 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 ssh-agent 13:02:59 SSH_AUTH_SOCK=/tmp/ssh-3BA9QyrllHDg/agent.70 13:02:59 SSH_AGENT_PID=76 13:02:59 Running ssh-add (command line suppressed) 13:03:00 Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_3600348082740607278.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_3600348082740607278.key) 13:03:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:03:00 + git semver init 13:03:00 2022-10-12 13:03:00,535 [run_init] DEBUG init version:0.0.0 force:False 13:03:00 2022-10-12 13:03:00,535 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-174/.semver 13:03:00 2022-10-12 13:03:00,536 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-174/.semver 13:03:00 2022-10-12 13:03:00,536 [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) 13:03:01 2022-10-12 13:03:01,508 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-174/.git/info/exclude 13:03:01 2022-10-12 13:03:01,509 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 with force:False 13:03:01 2022-10-12 13:03:01,509 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 13:03:01 2022-10-12 13:03:01,514 [execute] INFO git cat-file --batch-check 13:03:01 2022-10-12 13:03:01,514 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) 13:03:01 2022-10-12 13:03:01,521 [execute] INFO git cat-file --batch 13:03:01 2022-10-12 13:03:01,521 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) 13:03:01 2022-10-12 13:03:01,524 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 13:03:01 0.0.0 [Pipeline] } 13:03:01 $ docker exec --env ******** --env ******** 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 ssh-agent -k 13:03:01 unset SSH_AUTH_SOCK; 13:03:01 unset SSH_AGENT_PID; 13:03:01 echo Agent pid 76 killed; 13:03:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:03:02 + git semver [Pipeline] } 13:03:02 $ docker stop --time=1 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 13:03:03 $ docker rm -f 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 [Pipeline] // withDockerContainer [Pipeline] sh 13:03:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:03:04 Stashed 1 file(s) [Pipeline] echo 13:03:04 [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 13:03:04 provisioning config files... 13:03:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config7106892138744052067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:03:04 ---> docker-login.sh 13:03:04 nexus3.edgexfoundry.org:10001 13:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:04 Configure a credential helper to remove this warning. See 13:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:04 13:03:04 Login Succeeded 13:03:04 nexus3.edgexfoundry.org:10002 13:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:04 Configure a credential helper to remove this warning. See 13:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:04 13:03:04 Login Succeeded 13:03:04 nexus3.edgexfoundry.org:10003 13:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:05 Configure a credential helper to remove this warning. See 13:03:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:05 13:03:05 Login Succeeded 13:03:05 nexus3.edgexfoundry.org:10004 13:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:05 Configure a credential helper to remove this warning. See 13:03:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:05 13:03:05 Login Succeeded 13:03:05 docker.io 13:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:05 Configure a credential helper to remove this warning. See 13:03:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:05 13:03:05 Login Succeeded 13:03:05 ---> docker-login.sh ends [Pipeline] } 13:03:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:03:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:03:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:03:05 ========================================================= 13:03:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:03:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:05 + 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 . 13:03:05 Sending build context to Docker daemon 21.34MB 13:03:05 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 13:03:05 Step 2/14 : FROM ${BASE} AS builder 13:03:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:03:05 213ec9aee27d: Pulling fs layer 13:03:05 4583459ba037: Pulling fs layer 13:03:05 93c1e223e6f2: Pulling fs layer 13:03:05 53926ce57604: Pulling fs layer 13:03:05 21b2b0c7a3f4: Pulling fs layer 13:03:05 30f14e443154: Pulling fs layer 13:03:05 801331c1e519: Pulling fs layer 13:03:05 99cc6dd402b0: Pulling fs layer 13:03:05 7d9ed39f4882: Pulling fs layer 13:03:05 53926ce57604: Waiting 13:03:05 801331c1e519: Waiting 13:03:05 99cc6dd402b0: Waiting 13:03:05 21b2b0c7a3f4: Waiting 13:03:05 30f14e443154: Waiting 13:03:05 7d9ed39f4882: Waiting 13:03:05 93c1e223e6f2: Verifying Checksum 13:03:05 93c1e223e6f2: Download complete 13:03:06 4583459ba037: Verifying Checksum 13:03:06 4583459ba037: Download complete 13:03:06 21b2b0c7a3f4: Verifying Checksum 13:03:06 21b2b0c7a3f4: Download complete 13:03:06 30f14e443154: Verifying Checksum 13:03:06 30f14e443154: Download complete 13:03:06 213ec9aee27d: Download complete 13:03:06 801331c1e519: Download complete 13:03:06 213ec9aee27d: Pull complete 13:03:06 4583459ba037: Pull complete 13:03:06 93c1e223e6f2: Pull complete 13:03:06 7d9ed39f4882: Verifying Checksum 13:03:06 7d9ed39f4882: Download complete 13:03:06 99cc6dd402b0: Verifying Checksum 13:03:06 99cc6dd402b0: Download complete 13:03:07 53926ce57604: Verifying Checksum 13:03:07 53926ce57604: Download complete 13:03:11 53926ce57604: Pull complete 13:03:11 21b2b0c7a3f4: Pull complete 13:03:11 30f14e443154: Pull complete 13:03:11 801331c1e519: Pull complete 13:03:12 99cc6dd402b0: Pull complete 13:03:13 7d9ed39f4882: Pull complete 13:03:13 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 13:03:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:03:13 ---> 1dedd983c030 13:03:13 Step 3/14 : ARG ADD_BUILD_TAGS="" 13:03:15 ---> Running in deec77bd40e1 13:03:15 Removing intermediate container deec77bd40e1 13:03:15 ---> da3b4a6749fd 13:03:15 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:03:15 ---> Running in f131c23fd56c 13:03:15 Removing intermediate container f131c23fd56c 13:03:15 ---> 1f8266a77b92 13:03:15 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:03:15 ---> Running in 9a07289a31d0 13:03:15 Removing intermediate container 9a07289a31d0 13:03:15 ---> cf6e44f3bbd9 13:03:15 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 13:03:15 ---> Running in 53905c4461e7 13:03:15 Removing intermediate container 53905c4461e7 13:03:15 ---> 41b0c2e08ea4 13:03:15 Step 7/14 : LABEL Name=edgex-device-onvif-camera 13:03:15 ---> Running in b6957d9b256a 13:03:15 Removing intermediate container b6957d9b256a 13:03:15 ---> e0fa6a577af1 13:03:15 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:03:15 ---> Running in 92b15d440f8c 13:03:16 Removing intermediate container 92b15d440f8c 13:03:16 ---> a7aa58732726 13:03:16 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:03:16 ---> Running in 06cf65bfd562 13:03:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:03:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:03:17 OK: 211 MiB in 51 packages 13:03:18 Removing intermediate container 06cf65bfd562 13:03:18 ---> 76eb289abd4c 13:03:18 Step 10/14 : WORKDIR /device-onvif-camera 13:03:18 ---> Running in 17bb14e2c738 13:03:18 Removing intermediate container 17bb14e2c738 13:03:18 ---> e040153a5b07 13:03:18 Step 11/14 : COPY go.mod vendor* ./ 13:03:18 ---> 4d1c6d0e8c51 13:03:18 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:03:18 ---> Running in 8944d9fc158f 13:03:19 Still waiting to schedule task 13:03:19 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7749’ is offline 13:03:36 Removing intermediate container 8944d9fc158f 13:03:36 ---> 2539dcce2c6b 13:03:36 Step 13/14 : COPY . . 13:03:36 ---> 088a95b48960 13:03:36 Step 14/14 : RUN ${MAKE} 13:03:36 ---> Running in 84bbfff3189a 13:03:36 noop 13:03:36 Removing intermediate container 84bbfff3189a 13:03:36 ---> e42a7950a854 13:03:36 Successfully built e42a7950a854 13:03:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:36 + docker inspect -f . ci-base-image-x86_64 13:03:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:36 prd-ubuntu20.04-docker-8c-8g-7750 does not seem to be running inside a container 13:03:36 $ 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 ******** ci-base-image-x86_64 cat 13:03:37 $ docker top d1709a60929369954b440ca6eb7e1dc0837f79e2c86765b58a941b93f8fc7721 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:37 + go version 13:03:37 go version go1.18.7 linux/amd64 [Pipeline] } 13:03:37 $ docker stop --time=1 d1709a60929369954b440ca6eb7e1dc0837f79e2c86765b58a941b93f8fc7721 13:03:38 $ docker rm -f d1709a60929369954b440ca6eb7e1dc0837f79e2c86765b58a941b93f8fc7721 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:39 + docker inspect -f . ci-base-image-x86_64 13:03:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:39 prd-ubuntu20.04-docker-8c-8g-7750 does not seem to be running inside a container 13:03:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-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 ******** ci-base-image-x86_64 cat 13:03:39 $ docker top 19c4fab918828698a0a85e80ea8e264271553e5f9a1ce2ab6f09474f6adaff6d -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:40 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] fileExists [Pipeline] sh 13:03:40 + make test 13:03:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:03:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 13:03:52 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 13:03:52 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements 13:03:52 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 13:03:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.372s coverage: 86.5% of statements 13:04:00 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 13:04:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:04:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:04:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:04:03 ./bin/test-attribution-txt.sh [Pipeline] echo 13:04:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:04:03 $ docker stop --time=1 19c4fab918828698a0a85e80ea8e264271553e5f9a1ce2ab6f09474f6adaff6d 13:04:05 $ docker rm -f 19c4fab918828698a0a85e80ea8e264271553e5f9a1ce2ab6f09474f6adaff6d [Pipeline] // withDockerContainer [Pipeline] sh 13:04:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:04:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:04:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:04:06 + ls -al . 13:04:06 total 236 13:04:06 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 13:03 . 13:04:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 13:02 .. 13:04:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 13:03 .git 13:04:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 13:02 .github 13:04:06 -rw-rw-r-- 1 jenkins jenkins 496 Oct 12 13:02 .gitignore 13:04:06 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 13:02 .golangci.yml 13:04:06 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 13:03 .semver 13:04:06 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 13:02 Attribution.txt 13:04:06 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 13:02 CHANGELOG.md 13:04:06 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 13:02 Dockerfile 13:04:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 13:02 GOVERNANCE.md 13:04:06 -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 13:02 Jenkinsfile 13:04:06 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 13:02 LICENSE 13:04:06 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 13:02 Makefile 13:04:06 -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 13:02 OWNERS.md 13:04:06 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 13:02 README.md 13:04:06 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 13:03 VERSION 13:04:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 13:02 bin 13:04:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 13:02 cmd 13:04:06 -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 13:03 coverage.out 13:04:06 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 13:02 doc 13:04:06 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 13:02 go.mod 13:04:06 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 13:02 go.sum 13:04:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 13:02 internal 13:04:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 13:02 snap 13:04:06 -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 13:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:06 + 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=cdf18c6f139d843ca6c241faffb742aa16eb3e48 --label arch=amd64 --label version=0.0.0 . 13:04:06 Sending build context to Docker daemon 21.42MB 13:04:06 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 13:04:06 Step 2/27 : FROM ${BASE} AS builder 13:04:06 ---> e42a7950a854 13:04:06 Step 3/27 : ARG ADD_BUILD_TAGS="" 13:04:07 ---> Running in b82cb1e4a304 13:04:07 Removing intermediate container b82cb1e4a304 13:04:07 ---> c7444750c84c 13:04:07 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:04:07 ---> Running in 901f32e916ac 13:04:07 Removing intermediate container 901f32e916ac 13:04:07 ---> 727918477041 13:04:07 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:04:07 ---> Running in 7d7770babc58 13:04:07 Removing intermediate container 7d7770babc58 13:04:07 ---> 9faa41738155 13:04:07 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 13:04:07 ---> Running in de42e1848c77 13:04:07 Removing intermediate container de42e1848c77 13:04:07 ---> 0fa3d5774d51 13:04:07 Step 7/27 : LABEL Name=edgex-device-onvif-camera 13:04:07 ---> Running in adffeda7fa82 13:04:07 Removing intermediate container adffeda7fa82 13:04:07 ---> 47aca4811903 13:04:07 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:04:07 ---> Running in 0fddb866cd19 13:04:08 Removing intermediate container 0fddb866cd19 13:04:08 ---> 4f63230fb2d4 13:04:08 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:04:08 ---> Running in 8637081a06f1 13:04:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:04:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:04:09 OK: 211 MiB in 51 packages 13:04:10 Removing intermediate container 8637081a06f1 13:04:10 ---> c6e6b42c18e9 13:04:10 Step 10/27 : WORKDIR /device-onvif-camera 13:04:10 ---> Running in 4002002d5a18 13:04:10 Removing intermediate container 4002002d5a18 13:04:10 ---> 0602339d4a98 13:04:10 Step 11/27 : COPY go.mod vendor* ./ 13:04:10 ---> 65011e913b5f 13:04:10 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:04:10 ---> Running in 6f6a7292bccd 13:04:11 Removing intermediate container 6f6a7292bccd 13:04:11 ---> 712e3e32d891 13:04:11 Step 13/27 : COPY . . 13:04:11 ---> 82c19f078c14 13:04:11 Step 14/27 : RUN ${MAKE} 13:04:11 ---> Running in 83b17bbae2d1 13:04:12 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 13:04:33 Removing intermediate container 83b17bbae2d1 13:04:33 ---> 3f2a0ce07c70 13:04:33 Step 15/27 : FROM alpine:3.16 13:04:33 3.16: Pulling from library/alpine 13:04:33 213ec9aee27d: Already exists 13:04:33 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 13:04:33 Status: Downloaded newer image for alpine:3.16 13:04:33 ---> 9c6f07244728 13:04:33 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:04:33 ---> Running in 07e56b23de01 13:04:33 Removing intermediate container 07e56b23de01 13:04:33 ---> f1882c1b5003 13:04:33 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 13:04:33 ---> Running in a54fd1ad66f7 13:04:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:04:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:04:34 (1/6) Installing dumb-init (1.2.5-r1) 13:04:34 (2/6) Installing libgcc (11.2.1_git20220219-r2) 13:04:34 (3/6) Installing libsodium (1.0.18-r0) 13:04:34 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 13:04:34 (5/6) Installing libzmq (4.3.4-r0) 13:04:34 (6/6) Installing zeromq (4.3.4-r0) 13:04:34 Executing busybox-1.35.0-r17.trigger 13:04:34 OK: 8 MiB in 20 packages 13:04:34 Removing intermediate container a54fd1ad66f7 13:04:34 ---> f96876ead8bd 13:04:34 Step 18/27 : WORKDIR / 13:04:35 ---> Running in 65ef77620043 13:04:35 Removing intermediate container 65ef77620043 13:04:35 ---> 0cfaaf5be5fd 13:04:35 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 13:04:35 ---> 78990aa163d7 13:04:35 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 13:04:36 ---> df9687bc48c2 13:04:36 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 13:04:36 ---> a05e54572e31 13:04:36 Step 22/27 : EXPOSE 59984 13:04:36 ---> Running in 76ab5dd72064 13:04:36 Removing intermediate container 76ab5dd72064 13:04:36 ---> 3753cd1cb8c4 13:04:36 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 13:04:36 ---> Running in 299d1f215a09 13:04:36 Removing intermediate container 299d1f215a09 13:04:36 ---> 0b6716c4182c 13:04:36 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:04:36 ---> Running in baee9a97c22c 13:04:36 Removing intermediate container baee9a97c22c 13:04:36 ---> 030cc30ab956 13:04:36 Step 25/27 : LABEL arch=amd64 13:04:36 ---> Running in 9f95914df446 13:04:36 Removing intermediate container 9f95914df446 13:04:36 ---> 0e7f527b1985 13:04:36 Step 26/27 : LABEL git_sha=cdf18c6f139d843ca6c241faffb742aa16eb3e48 13:04:36 ---> Running in 9cbdaa79bfc0 13:04:36 Removing intermediate container 9cbdaa79bfc0 13:04:36 ---> 7a086162272b 13:04:36 Step 27/27 : LABEL version=0.0.0 13:04:36 ---> Running in c6d8bcd3f4c0 13:04:37 Removing intermediate container c6d8bcd3f4c0 13:04:37 ---> 95fa83bb9d07 13:04:37 [Warning] One or more build-args [ARCH] were not consumed 13:04:37 Successfully built 95fa83bb9d07 13:04:37 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 13:04:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:04:37 13:04:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:04:37 latest: Pulling from edgex-lftools-log-publisher 13:04:37 5eb5b503b376: Pulling fs layer 13:04:37 5c69ac0246d0: Pulling fs layer 13:04:37 ec43610c2a17: Pulling fs layer 13:04:37 3a2ae6a8a46f: Pulling fs layer 13:04:37 33b1e0a273af: Pulling fs layer 13:04:37 5d3b04190fa2: Pulling fs layer 13:04:37 2f39f015ded8: Pulling fs layer 13:04:37 3a2ae6a8a46f: Waiting 13:04:37 33b1e0a273af: Waiting 13:04:37 5d3b04190fa2: Waiting 13:04:37 2f39f015ded8: Waiting 13:04:37 5c69ac0246d0: Download complete 13:04:37 3a2ae6a8a46f: Verifying Checksum 13:04:37 3a2ae6a8a46f: Download complete 13:04:37 33b1e0a273af: Verifying Checksum 13:04:37 33b1e0a273af: Download complete 13:04:37 5d3b04190fa2: Verifying Checksum 13:04:37 5d3b04190fa2: Download complete 13:04:38 ec43610c2a17: Verifying Checksum 13:04:38 ec43610c2a17: Download complete 13:04:38 5eb5b503b376: Verifying Checksum 13:04:38 5eb5b503b376: Download complete 13:04:38 2f39f015ded8: Download complete 13:04:39 5eb5b503b376: Pull complete 13:04:39 5c69ac0246d0: Pull complete 13:04:39 ec43610c2a17: Pull complete 13:04:39 3a2ae6a8a46f: Pull complete 13:04:39 33b1e0a273af: Pull complete 13:04:39 5d3b04190fa2: Pull complete 13:04:44 2f39f015ded8: Pull complete 13:04:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:04:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:04:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:04:44 prd-ubuntu20.04-docker-8c-8g-7750 does not seem to be running inside a container 13:04:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:04:46 $ docker top b1689aef46f02f5a66cd01f4c5e89f304d2bddb4a7b79e3d53b0ec682ad0b4b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:04:46 ---> job-cost.sh 13:04:46 lf-activate-venv: SKIPPING 13:04:46 INFO: No Stack... 13:04:47 INFO: Retrieving Pricing Info for: v3-standard-8 13:04:47 INFO: Archiving Costs [Pipeline] sh 13:04:47 + + catcut /w/workspace/undry_device-onvif-camera_PR-174/archives/cost.csv -d, 13:04:47 -f6 [Pipeline] lock 13:04:47 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] 13:04:47 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] did not exist. Created. 13:04:47 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:04:47 + echo total: 0.2199999988079071 [Pipeline] stash 13:04:47 Stashed 1 file(s) [Pipeline] } 13:04:47 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] [Pipeline] // lock [Pipeline] } 13:04:47 $ docker stop --time=1 b1689aef46f02f5a66cd01f4c5e89f304d2bddb4a7b79e3d53b0ec682ad0b4b4 13:04:49 $ docker rm -f b1689aef46f02f5a66cd01f4c5e89f304d2bddb4a7b79e3d53b0ec682ad0b4b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:04:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7752 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] ws 13:04:50 Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout 13:04:50 The recommended git tool is: git 13:04:55 using credential edgex-jenkins-ssh 13:04:55 Cloning the remote Git repository 13:04:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 13:04:55 > git init /w/workspace/device-onvif-camera/8 # timeout=10 13:04:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 13:04:55 > git --version # timeout=10 13:04:55 > git --version # 'git version 2.25.1' 13:04:55 using GIT_SSH to set credentials SSH Credentials for GitHub 13:04:55 Verifying host key using known hosts file 13:04:55 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. 13:04:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:04:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 13:04:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:04:58 Merging remotes/origin/main commit 66447988b5970b64981174d7c941281712afb8e7 into PR head commit d4eb940c70f9fc45a3d8abe2ed98aeea5a2aed78 13:04:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 13:04:57 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 13:04:57 using GIT_SSH to set credentials SSH Credentials for GitHub 13:04:57 Verifying host key using known hosts file 13:04:57 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 13:04:57 > 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 13:04:58 > git config core.sparsecheckout # timeout=10 13:04:58 > git checkout -f d4eb940c70f9fc45a3d8abe2ed98aeea5a2aed78 # timeout=10 13:04:58 > git remote # timeout=10 13:04:58 > git config --get remote.origin.url # timeout=10 13:04:58 using GIT_SSH to set credentials SSH Credentials for GitHub 13:04:58 Verifying host key using known hosts file 13:04:58 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. 13:04:58 > git merge 66447988b5970b64981174d7c941281712afb8e7 # timeout=10 13:04:59 Merge succeeded, producing 4b57e7fd7691a3994b032ef2879b490b97dc9dac 13:04:59 Checking out Revision 4b57e7fd7691a3994b032ef2879b490b97dc9dac (PR-174) 13:04:59 > git rev-parse HEAD^{commit} # timeout=10 13:04:59 > git config core.sparsecheckout # timeout=10 13:04:59 > git checkout -f 4b57e7fd7691a3994b032ef2879b490b97dc9dac # timeout=10 13:05:02 Commit message: "Merge commit '66447988b5970b64981174d7c941281712afb8e7' into HEAD" 13:05:02 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:05:02 > git rev-list --no-walk 185109018fe04e04d048a5b865df7b17774e4144 # timeout=10 13:05:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:05:03 % Total % Received % Xferd Average Speed Time Time Time Current 13:05:03 Dload Upload Total Spent Left Speed 13:05:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 12602 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 87513 0 --:--:-- --:--:-- --:--:-- 86910 [Pipeline] sh 13:05:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:05:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:05:04 + sudo tee /etc/docker/daemon.new 13:05:04 { 13:05:04 "registry-mirrors": [ 13:05:04 "https://nexus3.edgexfoundry.org:10001" 13:05:04 ], 13:05:04 "bip": "10.250.0.254/24", 13:05:04 "hosts": [ 13:05:04 "tcp://0.0.0.0:5555", 13:05:04 "unix:///var/run/docker.sock" 13:05:04 ], 13:05:04 "mtu": 1458, 13:05:04 "selinux-enabled": true, 13:05:04 "seccomp-profile": "/etc/docker/seccomp.json" 13:05:04 } [Pipeline] sh 13:05:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:05:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:05:23 provisioning config files... 13:05:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config9446235186340714347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:05:23 ---> docker-login.sh 13:05:23 nexus3.edgexfoundry.org:10001 13:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:24 Configure a credential helper to remove this warning. See 13:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:24 13:05:24 Login Succeeded 13:05:24 nexus3.edgexfoundry.org:10002 13:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:24 Configure a credential helper to remove this warning. See 13:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:24 13:05:24 Login Succeeded 13:05:24 nexus3.edgexfoundry.org:10003 13:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:25 Configure a credential helper to remove this warning. See 13:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:25 13:05:25 Login Succeeded 13:05:25 nexus3.edgexfoundry.org:10004 13:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:25 Configure a credential helper to remove this warning. See 13:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:25 13:05:25 Login Succeeded 13:05:25 docker.io 13:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:26 Configure a credential helper to remove this warning. See 13:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:26 13:05:26 Login Succeeded 13:05:26 ---> docker-login.sh ends [Pipeline] } 13:05:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:05:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:05:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:05:26 ========================================================= 13:05:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:05:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:26 + 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 . 13:05:26 Sending build context to Docker daemon 14.78MB 13:05:27 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 13:05:27 Step 2/14 : FROM ${BASE} AS builder 13:05:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:05:27 9b18e9b68314: Pulling fs layer 13:05:27 d32db5db7311: Pulling fs layer 13:05:27 d0c4b47475fc: Pulling fs layer 13:05:27 5831b945b038: Pulling fs layer 13:05:27 86bbec2aaacd: Pulling fs layer 13:05:27 e10730c5d714: Pulling fs layer 13:05:27 5dd5c2283517: Pulling fs layer 13:05:27 d5ac0230b979: Pulling fs layer 13:05:27 5831b945b038: Waiting 13:05:27 86bbec2aaacd: Waiting 13:05:27 e10730c5d714: Waiting 13:05:27 5dd5c2283517: Waiting 13:05:27 d5ac0230b979: Waiting 13:05:27 d0c4b47475fc: Verifying Checksum 13:05:27 d0c4b47475fc: Download complete 13:05:27 d32db5db7311: Verifying Checksum 13:05:27 d32db5db7311: Download complete 13:05:27 86bbec2aaacd: Download complete 13:05:27 e10730c5d714: Verifying Checksum 13:05:27 e10730c5d714: Download complete 13:05:27 9b18e9b68314: Verifying Checksum 13:05:27 9b18e9b68314: Download complete 13:05:28 9b18e9b68314: Pull complete 13:05:28 d5ac0230b979: Verifying Checksum 13:05:28 d5ac0230b979: Download complete 13:05:28 d32db5db7311: Pull complete 13:05:28 d0c4b47475fc: Pull complete 13:05:29 5dd5c2283517: Download complete 13:05:30 5831b945b038: Verifying Checksum 13:05:30 5831b945b038: Download complete 13:05:42 5831b945b038: Pull complete 13:05:42 86bbec2aaacd: Pull complete 13:05:42 e10730c5d714: Pull complete 13:05:47 5dd5c2283517: Pull complete 13:05:49 d5ac0230b979: Pull complete 13:05:49 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 13:05:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:05:49 ---> 59b3b1a385d4 13:05:49 Step 3/14 : ARG ADD_BUILD_TAGS="" 13:05:51 ---> Running in 148ff957656e 13:05:51 Removing intermediate container 148ff957656e 13:05:51 ---> 98661ef8225a 13:05:51 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:05:51 ---> Running in 2d53534ace58 13:05:51 Removing intermediate container 2d53534ace58 13:05:51 ---> 151199cfff7a 13:05:51 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:05:51 ---> Running in fb5ac6f0ed66 13:05:52 Removing intermediate container fb5ac6f0ed66 13:05:52 ---> 5301f324f3c6 13:05:52 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 13:05:52 ---> Running in 9619d0239372 13:05:52 Removing intermediate container 9619d0239372 13:05:52 ---> 0b3947918b85 13:05:52 Step 7/14 : LABEL Name=edgex-device-onvif-camera 13:05:52 ---> Running in f3ca31fbf81a 13:05:52 Removing intermediate container f3ca31fbf81a 13:05:52 ---> a9b64a64d9f7 13:05:52 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:05:52 ---> Running in 000f1696d139 13:05:54 Removing intermediate container 000f1696d139 13:05:54 ---> 8ea64f9c17ba 13:05:54 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:05:54 ---> Running in 425fa46f22f4 13:05:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:05:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:05:57 OK: 221 MiB in 51 packages 13:05:57 Removing intermediate container 425fa46f22f4 13:05:57 ---> 58e9b591bded 13:05:57 Step 10/14 : WORKDIR /device-onvif-camera 13:05:57 ---> Running in 959eb3b52120 13:05:58 Removing intermediate container 959eb3b52120 13:05:58 ---> d56b9a1fe7a4 13:05:58 Step 11/14 : COPY go.mod vendor* ./ 13:05:58 ---> 95706ad9fc21 13:05:58 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:05:58 ---> Running in 05aa889c44be 13:06:55 Removing intermediate container 05aa889c44be 13:06:55 ---> 00cd4e3d2a61 13:06:55 Step 13/14 : COPY . . 13:06:55 ---> f8be53bed05a 13:06:55 Step 14/14 : RUN ${MAKE} 13:06:55 ---> Running in a293e85b6efd 13:06:55 noop 13:06:55 Removing intermediate container a293e85b6efd 13:06:55 ---> 683f9c308253 13:06:55 Successfully built 683f9c308253 13:06:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:55 + docker inspect -f . ci-base-image-arm64 13:06:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:06:55 prd-ubuntu20.04-docker-arm64-4c-16g-7752 does not seem to be running inside a container 13:06:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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 13:06:56 $ docker top 379a40827cc3050ecc2dc0a962c9c7978493bbe7bae0d7a6de7a7b7fd3c41b22 -eo pid,comm [Pipeline] { [Pipeline] sh 13:06:57 + go version 13:06:57 go version go1.18.7 linux/arm64 [Pipeline] } 13:06:57 $ docker stop --time=1 379a40827cc3050ecc2dc0a962c9c7978493bbe7bae0d7a6de7a7b7fd3c41b22 13:06:59 $ docker rm -f 379a40827cc3050ecc2dc0a962c9c7978493bbe7bae0d7a6de7a7b7fd3c41b22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:59 + docker inspect -f . ci-base-image-arm64 13:06:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:07:00 prd-ubuntu20.04-docker-arm64-4c-16g-7752 does not seem to be running inside a container 13:07:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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 13:07:01 $ docker top c91e4079259866bce14cc435ace4528843886ba1bb79b39dcc21b16b26ce3b4c -eo pid,comm [Pipeline] { [Pipeline] sh 13:07:01 + git config --global --add safe.directory /w/workspace/device-onvif-camera/8 [Pipeline] fileExists [Pipeline] sh 13:07:02 + make test 13:07:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:07:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 13:08:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 13:08:40 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.191s coverage: 28.2% of statements 13:08:40 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 13:08:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.257s coverage: 86.5% of statements 13:08:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:08:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:09:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:09:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:09:22 ./bin/test-attribution-txt.sh [Pipeline] echo 13:09:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:09:22 $ docker stop --time=1 c91e4079259866bce14cc435ace4528843886ba1bb79b39dcc21b16b26ce3b4c 13:09:24 $ docker rm -f c91e4079259866bce14cc435ace4528843886ba1bb79b39dcc21b16b26ce3b4c [Pipeline] // withDockerContainer [Pipeline] sh 13:09:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:09:25 Warning: overwriting stash ‘coverage-report’ 13:09:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:09:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:09:27 + ls -al . 13:09:27 total 232 13:09:27 drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 13:07 . 13:09:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 13:04 .. 13:09:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 13:04 .git 13:09:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 13:04 .github 13:09:27 -rw-rw-r-- 1 jenkins jenkins 496 Oct 12 13:04 .gitignore 13:09:27 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 13:04 .golangci.yml 13:09:27 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 13:04 Attribution.txt 13:09:27 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 13:04 CHANGELOG.md 13:09:27 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 13:04 Dockerfile 13:09:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 13:04 GOVERNANCE.md 13:09:27 -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 13:04 Jenkinsfile 13:09:27 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 13:04 LICENSE 13:09:27 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 13:04 Makefile 13:09:27 -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 13:04 OWNERS.md 13:09:27 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 13:04 README.md 13:09:27 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 13:03 VERSION 13:09:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 13:04 bin 13:09:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 13:04 cmd 13:09:27 -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 13:08 coverage.out 13:09:27 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 13:04 doc 13:09:27 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 13:04 go.mod 13:09:27 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 13:04 go.sum 13:09:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 13:04 internal 13:09:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 13:04 snap 13:09:27 -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 13:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:27 + 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=4b57e7fd7691a3994b032ef2879b490b97dc9dac --label arch=arm64 --label version=0.0.0 . 13:09:28 Sending build context to Docker daemon 14.85MB 13:09:28 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 13:09:28 Step 2/27 : FROM ${BASE} AS builder 13:09:28 ---> 683f9c308253 13:09:28 Step 3/27 : ARG ADD_BUILD_TAGS="" 13:09:30 ---> Running in 6f1f32df9c50 13:09:30 Removing intermediate container 6f1f32df9c50 13:09:30 ---> 32130c3161db 13:09:30 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:09:30 ---> Running in f9642389675c 13:09:30 Removing intermediate container f9642389675c 13:09:30 ---> a5bc3b0aa23f 13:09:30 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:09:30 ---> Running in 9381ead9a37f 13:09:31 Removing intermediate container 9381ead9a37f 13:09:31 ---> 844b829f90ee 13:09:31 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 13:09:31 ---> Running in 905f6adc84ee 13:09:31 Removing intermediate container 905f6adc84ee 13:09:31 ---> a23df8e541d3 13:09:31 Step 7/27 : LABEL Name=edgex-device-onvif-camera 13:09:31 ---> Running in 1be112530cc9 13:09:31 Removing intermediate container 1be112530cc9 13:09:31 ---> 24c9d094d184 13:09:31 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:09:31 ---> Running in 7cb29d639b02 13:09:33 Removing intermediate container 7cb29d639b02 13:09:33 ---> 838007021b68 13:09:33 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:09:33 ---> Running in 87c11614f47d 13:09:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:09:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:09:36 OK: 221 MiB in 51 packages 13:09:37 Removing intermediate container 87c11614f47d 13:09:37 ---> 5d70d6a04193 13:09:37 Step 10/27 : WORKDIR /device-onvif-camera 13:09:37 ---> Running in ced21c6d0d29 13:09:38 Removing intermediate container ced21c6d0d29 13:09:38 ---> 4ab85628b3a5 13:09:38 Step 11/27 : COPY go.mod vendor* ./ 13:09:38 ---> cc189fde33c1 13:09:38 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:09:38 ---> Running in 6fa2e94e6886 13:09:40 Removing intermediate container 6fa2e94e6886 13:09:40 ---> 44781448ebb4 13:09:40 Step 13/27 : COPY . . 13:09:42 ---> b16c27b502f8 13:09:42 Step 14/27 : RUN ${MAKE} 13:09:42 ---> Running in 245150011c10 13:09:43 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 13:12:05 Removing intermediate container 245150011c10 13:12:05 ---> 33e2d105fca4 13:12:05 Step 15/27 : FROM alpine:3.16 13:12:06 3.16: Pulling from library/alpine 13:12:06 9b18e9b68314: Already exists 13:12:06 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 13:12:06 Status: Downloaded newer image for alpine:3.16 13:12:06 ---> a6215f271958 13:12:06 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:12:06 ---> Running in 73cbe654998d 13:12:06 Removing intermediate container 73cbe654998d 13:12:06 ---> 672e822cd230 13:12:06 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 13:12:07 ---> Running in 3de9eeb491b1 13:12:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:12:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:12:08 (1/6) Installing dumb-init (1.2.5-r1) 13:12:08 (2/6) Installing libgcc (11.2.1_git20220219-r2) 13:12:09 (3/6) Installing libsodium (1.0.18-r0) 13:12:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 13:12:09 (5/6) Installing libzmq (4.3.4-r0) 13:12:09 (6/6) Installing zeromq (4.3.4-r0) 13:12:09 Executing busybox-1.35.0-r17.trigger 13:12:09 OK: 8 MiB in 20 packages 13:12:10 Removing intermediate container 3de9eeb491b1 13:12:10 ---> a994dfa9913c 13:12:10 Step 18/27 : WORKDIR / 13:12:10 ---> Running in 66b143905471 13:12:10 Removing intermediate container 66b143905471 13:12:10 ---> 8d115d8fd2b2 13:12:10 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 13:12:11 ---> c454fcb2295b 13:12:11 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 13:12:12 ---> 0cf4fdadf819 13:12:12 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 13:12:12 ---> 1612a518a703 13:12:12 Step 22/27 : EXPOSE 59984 13:12:12 ---> Running in 012fc3eb3853 13:12:12 Removing intermediate container 012fc3eb3853 13:12:12 ---> 3f9a42ee4537 13:12:12 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 13:12:13 ---> Running in 4f451c8c92d6 13:12:13 Removing intermediate container 4f451c8c92d6 13:12:13 ---> 8284738cec8c 13:12:13 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:12:13 ---> Running in 0fcbf05705e7 13:12:13 Removing intermediate container 0fcbf05705e7 13:12:13 ---> 053a9e783fe2 13:12:13 Step 25/27 : LABEL arch=arm64 13:12:13 ---> Running in a9b0374c7484 13:12:13 Removing intermediate container a9b0374c7484 13:12:13 ---> 6818bf1d8288 13:12:13 Step 26/27 : LABEL git_sha=4b57e7fd7691a3994b032ef2879b490b97dc9dac 13:12:13 ---> Running in 6ebbdcc11b2a 13:12:14 Removing intermediate container 6ebbdcc11b2a 13:12:14 ---> 2da1c11470b3 13:12:14 Step 27/27 : LABEL version=0.0.0 13:12:14 ---> Running in d60923a2debe 13:12:14 Removing intermediate container d60923a2debe 13:12:14 ---> f99915d6e0a6 13:12:14 [Warning] One or more build-args [ARCH] were not consumed 13:12:14 Successfully built f99915d6e0a6 13:12:14 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 13:12:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:12:15 13:12:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:12:15 arm64: Pulling from edgex-lftools-log-publisher 13:12:15 8998bd30e6a1: Pulling fs layer 13:12:15 04944245beec: Pulling fs layer 13:12:15 699f458cf7ca: Pulling fs layer 13:12:15 765212b225bb: Pulling fs layer 13:12:15 f23df028b6ca: Pulling fs layer 13:12:15 d65c8cfc05b1: Pulling fs layer 13:12:15 2437ff75d9bd: Pulling fs layer 13:12:15 765212b225bb: Waiting 13:12:15 f23df028b6ca: Waiting 13:12:15 d65c8cfc05b1: Waiting 13:12:15 2437ff75d9bd: Waiting 13:12:15 04944245beec: Verifying Checksum 13:12:15 04944245beec: Download complete 13:12:15 765212b225bb: Verifying Checksum 13:12:15 765212b225bb: Download complete 13:12:15 f23df028b6ca: Verifying Checksum 13:12:15 f23df028b6ca: Download complete 13:12:15 d65c8cfc05b1: Verifying Checksum 13:12:15 d65c8cfc05b1: Download complete 13:12:16 699f458cf7ca: Verifying Checksum 13:12:16 699f458cf7ca: Download complete 13:12:16 8998bd30e6a1: Verifying Checksum 13:12:16 8998bd30e6a1: Download complete 13:12:19 2437ff75d9bd: Verifying Checksum 13:12:19 2437ff75d9bd: Download complete 13:12:21 8998bd30e6a1: Pull complete 13:12:21 04944245beec: Pull complete 13:12:22 699f458cf7ca: Pull complete 13:12:22 765212b225bb: Pull complete 13:12:23 f23df028b6ca: Pull complete 13:12:23 d65c8cfc05b1: Pull complete 13:12:38 2437ff75d9bd: Pull complete 13:12:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:12:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:12:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:38 prd-ubuntu20.04-docker-arm64-4c-16g-7752 does not seem to be running inside a container 13:12:38 $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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 13:12:41 $ docker top daa93066065e7fa3ea97fd35979621f4937762dee7a91184719e1bed82a08fdb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:12:42 ---> job-cost.sh 13:12:42 lf-activate-venv: SKIPPING 13:12:42 INFO: No Stack... 13:12:42 INFO: Retrieving Pricing Info for: v3-standard-4 13:12:43 INFO: Archiving Costs [Pipeline] sh 13:12:43 + cat /w/workspace/device-onvif-camera/8/archives/cost.csv 13:12:43 + cut -d, -f6 [Pipeline] lock 13:12:43 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] 13:12:43 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] did not exist. Created. 13:12:43 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:12:44 /w/workspace/device-onvif-camera/8@tmp/durable-4cae4a7b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:12:44 + echo total: 0.10999999940395355 [Pipeline] stash 13:12:44 Warning: overwriting stash ‘stack-cost’ 13:12:44 Stashed 1 file(s) [Pipeline] } 13:12:44 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] [Pipeline] // lock [Pipeline] } 13:12:44 $ docker stop --time=1 daa93066065e7fa3ea97fd35979621f4937762dee7a91184719e1bed82a08fdb 13:12:46 $ docker rm -f daa93066065e7fa3ea97fd35979621f4937762dee7a91184719e1bed82a08fdb [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 13:12:46 provisioning config files... 13:12:46 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config14516159442673360749tmp [Pipeline] { [Pipeline] sh 13:12:46 + set +x 13:12:46 + curl -s https://codecov.io/bash 13:12:46 + bash -s -- 13:12:46 13:12:46 _____ _ 13:12:46 / ____| | | 13:12:46 | | ___ __| | ___ ___ _____ __ 13:12:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:12:46 | |___| (_) | (_| | __/ (_| (_) \ V / 13:12:46 \_____\___/ \__,_|\___|\___\___/ \_/ 13:12:46 Bash-1.0.6 13:12:46 13:12:46 13:12:46 ==> git version 2.25.1 found 13:12:46 ==> 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 13:12:46 Release-Date: 2020-01-08 13:12:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:12:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:12:46 ==> Jenkins CI detected. 13:12:46 current dir:  /w/workspace/undry_device-onvif-camera_PR-174 13:12:46 project root: . 13:12:46 --> token set from env 13:12:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:12:46 ==> Running gcov in . (disable via -X gcov) 13:12:46 ==> Python coveragepy not found 13:12:46 ==> Searching for coverage reports in: 13:12:46 + . 13:12:46 -> Found 1 reports 13:12:46 ==> Detecting git/mercurial file structure 13:12:46 ==> Reading reports 13:12:46 + ./coverage.out bytes=78636 13:12:46 ==> Appending adjustments 13:12:46 https://docs.codecov.io/docs/fixing-reports 13:12:47 + Found adjustments 13:12:47 ==> Gzipping contents 13:12:47 12K /tmp/codecov.MS7OeG.gz 13:12:47 ==> Uploading reports 13:12:47 url: https://codecov.io 13:12:47 query: branch=PR-174&commit=cdf18c6f139d843ca6c241faffb742aa16eb3e48&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= 13:12:47 -> Pinging Codecov 13:12:47 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=cdf18c6f139d843ca6c241faffb742aa16eb3e48&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= 13:12:48 -> Uploading to 13:12:48 https://storage.googleapis.com/codecov/v4/raw/2022-10-12/F29A59C45E3A92E06B3E522C9905F8EF/cdf18c6f139d843ca6c241faffb742aa16eb3e48/3c816767-c76f-40fc-962e-9fe232c743e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T131247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7bcaf8f6a1a16932b48d7c190582c42d0442561d91d00750f7b40825059b3da6 13:12:48 % Total % Received % Xferd Average Speed Time Time Time Current 13:12:48 Dload Upload Total Spent Left Speed 13:12:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10781 0 0 100 10781 0 48563 --:--:-- --:--:-- --:--:-- 48345 100 10781 0 0 100 10781 0 45876 --:--:-- --:--:-- --:--:-- 45682 13:12:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/cdf18c6f139d843ca6c241faffb742aa16eb3e48 [Pipeline] } 13:12:48 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 13:12:49 + [ -d /w/workspace/undry_device-onvif-camera_PR-174/archives ] 13:12:49 + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives 13:12:49 total 16 13:12:49 drwxr-xr-x 3 root root 4096 Oct 12 13:04 . 13:12:49 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 13:04 .. 13:12:49 drwxr-xr-x 2 root root 4096 Oct 12 13:04 cost 13:12:49 -rw-r--r-- 1 root root 91 Oct 12 13:04 cost.csv 13:12:49 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-174/archives 13:12:49 + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives 13:12:49 total 16 13:12:49 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 13:04 . 13:12:49 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 13:04 .. 13:12:49 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 13:04 cost 13:12:49 -rw-r--r-- 1 jenkins jenkins 91 Oct 12 13:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:12:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:12:50 ---> package-listing.sh 13:12:50 ++ facter osfamily 13:12:50 ++ tr '[:upper:]' '[:lower:]' 13:12:50 + OS_FAMILY=debian 13:12:50 + workspace=/w/workspace/undry_device-onvif-camera_PR-174 13:12:50 + START_PACKAGES=/tmp/packages_start.txt 13:12:50 + END_PACKAGES=/tmp/packages_end.txt 13:12:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:12:50 + PACKAGES=/tmp/packages_start.txt 13:12:50 + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' 13:12:50 + PACKAGES=/tmp/packages_end.txt 13:12:50 + case "${OS_FAMILY}" in 13:12:50 + dpkg -l 13:12:50 + grep '^ii' 13:12:50 + '[' -f /tmp/packages_start.txt ']' 13:12:50 + '[' -f /tmp/packages_end.txt ']' 13:12:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:12:50 + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' 13:12:50 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-174/archives/ 13:12:50 + 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 13:12:50 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 13:12:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:12:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:51 prd-ubuntu20.04-docker-8c-8g-7750 does not seem to be running inside a container 13:12:51 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:12:51 $ docker top bbdfe6c05b960141ff701a8652f5d7ec8f078ecd6aca21a9097b6329d8309203 -eo pid,comm [Pipeline] { [Pipeline] sh 13:12:52 + touch /tmp/pre-build-complete [Pipeline] sh 13:12:52 + mkdir -p /var/log/sysstat [Pipeline] sh 13:12:52 + ls /var/log/sa-host 13:12:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:12:52 provisioning config files... 13:12:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config12346650791788926430tmp [Pipeline] { [Pipeline] echo 13:12:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:12:53 ---> create-netrc.sh [Pipeline] } 13:12:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:12:53 ---> python-tools-install.sh [Pipeline] echo 13:12:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:12:53 ---> sudo-logs.sh 13:12:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:12:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:12:54 ---> job-cost.sh 13:12:54 lf-activate-venv: SKIPPING 13:12:54 DEBUG: total: 0.2199999988079071 13:12:54 INFO: Retrieving Stack Cost... 13:12:54 INFO: Retrieving Pricing Info for: v3-standard-8 13:12:54 INFO: Archiving Costs [Pipeline] echo 13:12:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:12:55 ---> logs-deploy.sh 13:12:55 lf-activate-venv: SKIPPING 13:12:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-174/8 13:12:55 INFO: archiving workspace using pattern(s): 13:12:56 Archives upload complete. 13:12:56 INFO: archiving logs to Nexus 13:12:57 ---> uname -a: 13:12:57 Linux prd-ubuntu20-04-docker-8c-8g-7750 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 13:12:57 13:12:57 13:12:57 ---> lscpu: 13:12:57 Architecture: x86_64 13:12:57 CPU op-mode(s): 32-bit, 64-bit 13:12:57 Byte Order: Little Endian 13:12:57 Address sizes: 40 bits physical, 48 bits virtual 13:12:57 CPU(s): 8 13:12:57 On-line CPU(s) list: 0-7 13:12:57 Thread(s) per core: 1 13:12:57 Core(s) per socket: 1 13:12:57 Socket(s): 8 13:12:57 NUMA node(s): 1 13:12:57 Vendor ID: AuthenticAMD 13:12:57 CPU family: 23 13:12:57 Model: 49 13:12:57 Model name: AMD EPYC-Rome Processor 13:12:57 Stepping: 0 13:12:57 CPU MHz: 2799.998 13:12:57 BogoMIPS: 5599.99 13:12:57 Virtualization: AMD-V 13:12:57 Hypervisor vendor: KVM 13:12:57 Virtualization type: full 13:12:57 L1d cache: 256 KiB 13:12:57 L1i cache: 256 KiB 13:12:57 L2 cache: 4 MiB 13:12:57 L3 cache: 128 MiB 13:12:57 NUMA node0 CPU(s): 0-7 13:12:57 Vulnerability Itlb multihit: Not affected 13:12:57 Vulnerability L1tf: Not affected 13:12:57 Vulnerability Mds: Not affected 13:12:57 Vulnerability Meltdown: Not affected 13:12:57 Vulnerability Mmio stale data: Not affected 13:12:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:12:57 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 13:12:57 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 13:12:57 Vulnerability Srbds: Not affected 13:12:57 Vulnerability Tsx async abort: Not affected 13:12:57 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 13:12:57 13:12:57 13:12:57 ---> nproc: 13:12:57 8 13:12:57 13:12:57 13:12:57 ---> df -h: 13:12:57 Filesystem Size Used Avail Use% Mounted on 13:12:57 overlay 155G 12G 144G 8% / 13:12:57 tmpfs 64M 0 64M 0% /dev 13:12:57 tmpfs 16G 0 16G 0% /sys/fs/cgroup 13:12:57 shm 64M 0 64M 0% /dev/shm 13:12:57 /dev/vda1 155G 12G 144G 8% /facter-os 13:12:57 13:12:57 13:12:57 ---> sar -b -r -n DEV: 13:12:57 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7750) 10/12/22 _x86_64_ (8 CPU) 13:12:57 13:12:57 13:02:08 LINUX RESTART (8 CPU) 13:12:57 13:12:57 13:03:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:12:57 13:04:01 187.27 1.85 185.42 0.00 48.53 65757.44 0.00 13:12:57 13:05:01 202.57 0.22 202.35 0.00 11.73 43169.47 0.00 13:12:57 13:06:01 1.83 0.00 1.83 0.00 0.00 22.15 0.00 13:12:57 13:07:01 1.55 0.00 1.55 0.00 0.00 17.99 0.00 13:12:57 13:08:01 39.96 9.33 30.63 0.00 2884.32 4780.94 0.00 13:12:57 13:09:01 1.70 0.00 1.70 0.00 0.00 18.00 0.00 13:12:57 13:10:01 0.87 0.00 0.87 0.00 0.00 9.73 0.00 13:12:57 13:11:01 1.32 0.00 1.32 0.00 0.00 14.93 0.00 13:12:57 13:12:01 0.93 0.00 0.93 0.00 0.00 10.80 0.00 13:12:57 Average: 48.66 1.27 47.40 0.00 327.16 12644.14 0.00 13:12:57 13:12:57 13:03:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:12:57 13:04:01 28288464 31488532 811188 2.47 136016 3255284 2144156 6.32 1322020 2812880 152992 13:12:57 13:05:01 27757032 31573236 727316 2.21 148292 3824620 1756820 5.18 1292984 3336412 432 13:12:57 13:06:01 27756848 31573116 727252 2.21 148308 3824620 1756820 5.18 1292540 3336416 4 13:12:57 13:07:01 27766272 31582604 717560 2.18 148348 3824620 1776392 5.24 1283236 3336416 24 13:12:57 13:08:01 27475216 31566136 719872 2.19 166712 4073272 1812452 5.34 1436500 3449608 204 13:12:57 13:09:01 27478444 31569404 716504 2.18 166752 4073272 1812452 5.34 1434332 3449608 156 13:12:57 13:10:01 27478492 31569488 716440 2.18 166780 4073276 1812452 5.34 1434180 3449712 164 13:12:57 13:11:01 27478556 31569732 716216 2.18 166808 4073408 1812452 5.34 1434180 3449844 8 13:12:57 13:12:01 27478292 31569600 716168 2.18 166828 4073400 1812452 5.34 1434144 3449920 4 13:12:57 Average: 27661957 31562428 729835 2.22 157205 3899530 1832939 5.40 1373791 3341202 17110 13:12:57 13:12:57 13:03:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:12:57 13:04:01 docker0 153.52 194.20 12.35 1736.86 0.00 0.00 0.00 0.00 13:12:57 13:04:01 ens3 366.29 255.82 5705.18 39.35 0.00 0.00 0.00 0.00 13:12:57 13:04:01 veth9327c29 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 13:12:57 13:04:01 lo 2.80 2.80 0.27 0.27 0.00 0.00 0.00 0.00 13:12:57 13:05:01 docker0 10.33 14.41 0.62 98.76 0.00 0.00 0.00 0.00 13:12:57 13:05:01 ens3 150.16 90.95 2651.18 21.14 0.00 0.00 0.00 0.00 13:12:57 13:05:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 13:12:57 13:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:57 13:06:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:57 13:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:57 13:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:57 13:07:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 13:12:57 13:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:12:57 13:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:57 13:08:01 ens3 49.24 26.00 1296.97 2.14 0.00 0.00 0.00 0.00 13:12:57 13:08:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 13:12:57 13:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:57 13:09:01 ens3 0.20 0.13 0.01 0.01 0.00 0.00 0.00 0.00 13:12:57 13:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:12:57 13:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:57 13:10:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:57 13:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:57 13:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:57 13:11:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 13:12:57 13:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:12:57 13:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:57 13:12:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:57 13:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:57 Average: docker0 18.21 23.18 1.44 203.95 0.00 0.00 0.00 0.00 13:12:57 Average: ens3 62.91 41.46 1072.56 6.96 0.00 0.00 0.00 0.00 13:12:57 Average: lo 0.65 0.65 0.06 0.06 0.00 0.00 0.00 0.00 13:12:57 13:12:57 13:12:57 ---> sar -P ALL: 13:12:57 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7750) 10/12/22 _x86_64_ (8 CPU) 13:12:57 13:12:57 13:02:08 LINUX RESTART (8 CPU) 13:12:57 13:12:57 13:03:01 CPU %user %nice %system %iowait %steal %idle 13:12:57 13:04:01 all 29.07 0.00 6.54 1.42 0.10 62.87 13:12:57 13:04:01 0 29.12 0.00 7.16 0.29 0.08 63.36 13:12:57 13:04:01 1 30.03 0.00 6.12 0.42 0.10 63.32 13:12:57 13:04:01 2 29.35 0.00 6.51 0.27 0.08 63.79 13:12:57 13:04:01 3 30.20 0.00 7.63 4.43 0.12 57.62 13:12:57 13:04:01 4 29.59 0.00 6.69 3.95 0.08 59.69 13:12:57 13:04:01 5 28.39 0.00 6.45 0.29 0.10 64.77 13:12:57 13:04:01 6 27.12 0.00 5.78 1.51 0.10 65.49 13:12:57 13:04:01 7 28.76 0.00 6.02 0.24 0.10 64.89 13:12:57 13:05:01 all 21.45 0.00 4.88 1.19 0.07 72.40 13:12:57 13:05:01 0 21.51 0.00 6.52 3.91 0.07 68.00 13:12:57 13:05:01 1 22.31 0.00 4.72 0.13 0.07 72.77 13:12:57 13:05:01 2 21.92 0.00 5.34 1.06 0.08 71.59 13:12:57 13:05:01 3 20.70 0.00 5.01 2.06 0.08 72.15 13:12:57 13:05:01 4 21.52 0.00 4.51 0.08 0.07 73.81 13:12:57 13:05:01 5 21.19 0.00 4.26 0.30 0.07 74.18 13:12:57 13:05:01 6 21.48 0.00 4.43 1.49 0.05 72.56 13:12:57 13:05:01 7 20.99 0.00 4.28 0.49 0.08 74.16 13:12:57 13:06:01 all 0.02 0.00 0.01 0.01 0.00 99.96 13:12:57 13:06:01 0 0.07 0.00 0.00 0.00 0.00 99.93 13:12:57 13:06:01 1 0.05 0.00 0.00 0.00 0.00 99.95 13:12:57 13:06:01 2 0.02 0.00 0.03 0.05 0.02 99.88 13:12:57 13:06:01 3 0.00 0.00 0.00 0.00 0.00 100.00 13:12:57 13:06:01 4 0.00 0.00 0.02 0.00 0.00 99.98 13:12:57 13:06:01 5 0.00 0.00 0.00 0.00 0.00 100.00 13:12:57 13:06:01 6 0.00 0.00 0.02 0.00 0.02 99.97 13:12:57 13:06:01 7 0.00 0.00 0.00 0.00 0.00 100.00 13:12:57 13:07:01 all 0.02 0.00 0.02 0.01 0.00 99.95 13:12:57 13:07:01 0 0.02 0.00 0.03 0.00 0.00 99.95 13:12:57 13:07:01 1 0.07 0.00 0.03 0.00 0.00 99.90 13:12:57 13:07:01 2 0.02 0.00 0.02 0.03 0.00 99.93 13:12:57 13:07:01 3 0.02 0.00 0.02 0.02 0.02 99.93 13:12:57 13:07:01 4 0.00 0.00 0.00 0.00 0.00 100.00 13:12:57 13:07:01 5 0.00 0.00 0.00 0.00 0.00 100.00 13:12:57 13:07:01 6 0.02 0.00 0.02 0.00 0.00 99.97 13:12:57 13:07:01 7 0.02 0.00 0.03 0.00 0.00 99.95 13:12:57 13:08:01 all 1.12 0.00 0.79 0.26 0.02 97.82 13:12:57 13:08:01 0 0.63 0.00 0.52 0.05 0.02 98.78 13:12:57 13:08:01 1 1.07 0.00 0.78 0.97 0.02 97.16 13:12:57 13:08:01 2 1.02 0.00 0.60 0.20 0.02 98.17 13:12:57 13:08:01 3 0.85 0.00 0.92 0.03 0.02 98.18 13:12:57 13:08:01 4 0.95 0.00 0.84 0.48 0.02 97.71 13:12:57 13:08:01 5 2.44 0.00 0.52 0.13 0.02 96.90 13:12:57 13:08:01 6 0.77 0.00 0.37 0.05 0.02 98.80 13:12:57 13:08:01 7 1.20 0.00 1.77 0.13 0.02 96.88 13:12:57 13:09:01 all 0.02 0.00 0.01 0.01 0.00 99.96 13:12:57 13:09:01 0 0.02 0.00 0.00 0.00 0.00 99.98 13:12:57 13:09:01 1 0.08 0.00 0.03 0.02 0.02 99.85 13:12:57 13:09:01 2 0.03 0.00 0.00 0.00 0.00 99.97 13:12:57 13:09:01 3 0.00 0.00 0.00 0.00 0.00 100.00 13:12:57 13:09:01 4 0.02 0.00 0.00 0.00 0.00 99.98 13:12:57 13:09:01 5 0.02 0.00 0.03 0.00 0.00 99.95 13:12:57 13:09:01 6 0.00 0.00 0.00 0.03 0.00 99.97 13:12:57 13:09:01 7 0.02 0.00 0.00 0.00 0.00 99.98 13:12:57 13:10:01 all 0.02 0.00 0.01 0.00 0.00 99.97 13:12:57 13:10:01 0 0.02 0.00 0.00 0.00 0.00 99.98 13:12:57 13:10:01 1 0.08 0.00 0.02 0.02 0.00 99.88 13:12:57 13:10:01 2 0.03 0.00 0.00 0.00 0.00 99.97 13:12:57 13:10:01 3 0.00 0.00 0.00 0.00 0.00 100.00 13:12:57 13:10:01 4 0.00 0.00 0.00 0.00 0.00 100.00 13:12:57 13:10:01 5 0.02 0.00 0.02 0.00 0.02 99.95 13:12:57 13:10:01 6 0.02 0.00 0.02 0.00 0.00 99.97 13:12:57 13:10:01 7 0.00 0.00 0.00 0.02 0.00 99.98 13:12:57 13:11:01 all 0.01 0.00 0.00 0.00 0.00 99.98 13:12:57 13:11:01 0 0.00 0.00 0.02 0.00 0.00 99.98 13:12:57 13:11:01 1 0.05 0.00 0.02 0.02 0.00 99.92 13:12:57 13:11:01 2 0.00 0.00 0.00 0.00 0.00 100.00 13:12:57 13:11:01 3 0.02 0.00 0.00 0.00 0.00 99.98 13:12:57 13:11:01 4 0.02 0.00 0.00 0.00 0.00 99.98 13:12:57 13:11:01 5 0.00 0.00 0.00 0.00 0.00 100.00 13:12:57 13:11:01 6 0.02 0.00 0.00 0.02 0.02 99.95 13:12:57 13:11:01 7 0.00 0.00 0.00 0.00 0.00 100.00 13:12:57 13:12:01 all 0.02 0.00 0.01 0.00 0.00 99.96 13:12:57 13:12:01 0 0.00 0.00 0.00 0.00 0.00 100.00 13:12:57 13:12:01 1 0.03 0.00 0.03 0.02 0.00 99.92 13:12:57 13:12:01 2 0.03 0.00 0.02 0.00 0.00 99.95 13:12:57 13:12:01 3 0.00 0.00 0.02 0.00 0.00 99.98 13:12:57 13:12:01 4 0.00 0.00 0.00 0.00 0.00 100.00 13:12:57 13:12:01 5 0.05 0.00 0.00 0.00 0.00 99.95 13:12:57 13:12:01 6 0.05 0.00 0.03 0.00 0.00 99.92 13:12:57 13:12:01 7 0.00 0.00 0.02 0.02 0.00 99.97 13:12:57 Average: all 5.69 0.00 1.35 0.32 0.02 92.62 13:12:57 Average: 0 5.65 0.00 1.57 0.47 0.02 92.29 13:12:57 Average: 1 5.91 0.00 1.29 0.18 0.02 92.60 13:12:57 Average: 2 5.77 0.00 1.38 0.18 0.02 92.65 13:12:57 Average: 3 5.69 0.00 1.49 0.72 0.03 92.07 13:12:57 Average: 4 5.74 0.00 1.33 0.50 0.02 92.41 13:12:57 Average: 5 5.74 0.00 1.24 0.08 0.02 92.92 13:12:57 Average: 6 5.44 0.00 1.17 0.34 0.02 93.02 13:12:57 Average: 7 5.59 0.00 1.33 0.10 0.02 92.95 13:12:57 13:12:57 13:12:57