Pull request #370 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 58e43e253e95a4ba8af4cad9b83701d928ff95ad+01232ef71281965359620122f9fdc73016fc5c79 (810032e67a827e1961138e7cf52bf1714ff7bcc4) 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-ssh7277329042465304383.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1567649783854567482.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3537544800999040513.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8202544245970075766.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5704399826773628130.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-370/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-370/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4592114151906211116.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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/v3]] ========================================================= [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.20 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16837 in /w/workspace/undry_device-onvif-camera_PR-370 [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-370 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 01232ef71281965359620122f9fdc73016fc5c79 into PR head commit 58e43e253e95a4ba8af4cad9b83701d928ff95ad Merge succeeded, producing 58e43e253e95a4ba8af4cad9b83701d928ff95ad Checking out Revision 58e43e253e95a4ba8af4cad9b83701d928ff95ad (PR-370) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58e43e253e95a4ba8af4cad9b83701d928ff95ad # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 01232ef71281965359620122f9fdc73016fc5c79 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58e43e253e95a4ba8af4cad9b83701d928ff95ad # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:57:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:57:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:57:10 ========================================================= 23:57:10 EdgeX Global Pipelines Version Info 23:57:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:57:11 ------------------- 23:57:11 stable info: 23:57:11 ------------------- 23:57:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:57:11 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:57:11 Message: update stable to v1.0.249 23:57:12 ------------------- 23:57:12 experimental info: 23:57:12 ------------------- 23:57:12 Commited By: **** collab-it+edgex@linuxfoundation.org 23:57:12 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:57:12 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:57:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-370 [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-370 [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-370 [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58e43e253e95a4ba8af4cad9b83701d928ff95ad [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58e43e2 [Pipeline] echo 23:57:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:57:13 provisioning config files... 23:57:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-370@tmp/config4931325796169217142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:14 ---> docker-login.sh 23:57:14 nexus3.edgexfoundry.org:10001 23:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:14 Configure a credential helper to remove this warning. See 23:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:14 23:57:14 Login Succeeded 23:57:14 nexus3.edgexfoundry.org:10002 23:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:14 Configure a credential helper to remove this warning. See 23:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:14 23:57:14 Login Succeeded 23:57:14 nexus3.edgexfoundry.org:10003 23:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:14 Configure a credential helper to remove this warning. See 23:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:14 23:57:14 Login Succeeded 23:57:14 nexus3.edgexfoundry.org:10004 23:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:14 Configure a credential helper to remove this warning. See 23:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:14 23:57:14 Login Succeeded 23:57:14 docker.io 23:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:15 Configure a credential helper to remove this warning. See 23:57:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:15 23:57:15 Login Succeeded 23:57:15 ---> docker-login.sh ends [Pipeline] } 23:57:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:57:15 + git rev-list -1 --merges 58e43e253e95a4ba8af4cad9b83701d928ff95ad~1..58e43e253e95a4ba8af4cad9b83701d928ff95ad [Pipeline] echo 23:57:15 -----------> git rev-list -1 --merges 58e43e253e95a4ba8af4cad9b83701d928ff95ad~1..58e43e253e95a4ba8af4cad9b83701d928ff95ad 58e43e253e95a4ba8af4cad9b83701d928ff95ad [false] [Pipeline] sh 23:57:16 + git log --format=format:%s -1 58e43e253e95a4ba8af4cad9b83701d928ff95ad [Pipeline] echo 23:57:16 ========================================================= 23:57:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:57:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:57:16 + git log --format=format:%s -1 58e43e253e95a4ba8af4cad9b83701d928ff95ad [Pipeline] echo 23:57:16 [semverPrep] GIT_COMMIT: 58e43e253e95a4ba8af4cad9b83701d928ff95ad, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 23:57:16 [semverPrep] This is not a build commit. [Pipeline] sh 23:57:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:57:17 + grep -v github /etc/ssh/ssh_known_hosts 23:57:17 + [ -e /tmp/ssh_known_hosts ] 23:57:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:57:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:57:17 + sudo tee -a /etc/ssh/ssh_known_hosts 23:57:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:17 23:57:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:17 0.1.4: Pulling from edgex-devops/py-git-semver 23:57:17 b85a868b505f: Pulling fs layer 23:57:17 e2be974225ed: Pulling fs layer 23:57:17 339a4e72a1f5: Pulling fs layer 23:57:17 988bab9f4d93: Pulling fs layer 23:57:17 1469e6f7b9e6: Pulling fs layer 23:57:17 eaf3925da568: Pulling fs layer 23:57:17 bab4dde63d76: Pulling fs layer 23:57:17 bde34c3a00c8: Pulling fs layer 23:57:17 b352a97aabf1: Pulling fs layer 23:57:17 4872d77fe225: Pulling fs layer 23:57:17 5851b861e8e6: Pulling fs layer 23:57:17 bab4dde63d76: Waiting 23:57:17 bde34c3a00c8: Waiting 23:57:17 b352a97aabf1: Waiting 23:57:17 4872d77fe225: Waiting 23:57:17 5851b861e8e6: Waiting 23:57:17 1469e6f7b9e6: Waiting 23:57:17 988bab9f4d93: Waiting 23:57:17 eaf3925da568: Waiting 23:57:17 e2be974225ed: Verifying Checksum 23:57:17 e2be974225ed: Download complete 23:57:17 988bab9f4d93: Verifying Checksum 23:57:17 988bab9f4d93: Download complete 23:57:17 1469e6f7b9e6: Verifying Checksum 23:57:17 eaf3925da568: Verifying Checksum 23:57:17 eaf3925da568: Download complete 23:57:17 339a4e72a1f5: Download complete 23:57:17 bde34c3a00c8: Download complete 23:57:18 b352a97aabf1: Download complete 23:57:18 4872d77fe225: Download complete 23:57:18 5851b861e8e6: Verifying Checksum 23:57:18 5851b861e8e6: Download complete 23:57:18 b85a868b505f: Verifying Checksum 23:57:18 b85a868b505f: Download complete 23:57:18 bab4dde63d76: Verifying Checksum 23:57:18 bab4dde63d76: Download complete 23:57:19 b85a868b505f: Pull complete 23:57:19 e2be974225ed: Pull complete 23:57:19 339a4e72a1f5: Pull complete 23:57:20 988bab9f4d93: Pull complete 23:57:20 1469e6f7b9e6: Pull complete 23:57:20 eaf3925da568: Pull complete 23:57:22 bab4dde63d76: Pull complete 23:57:22 bde34c3a00c8: Pull complete 23:57:22 b352a97aabf1: Pull complete 23:57:22 4872d77fe225: Pull complete 23:57:22 5851b861e8e6: Pull complete 23:57:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:57:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:22 prd-ubuntu20.04-docker-8c-8g-16837 does not seem to be running inside a container 23:57:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-370 -v /w/workspace/undry_device-onvif-camera_PR-370:/w/workspace/undry_device-onvif-camera_PR-370:rw,z -v /w/workspace/undry_device-onvif-camera_PR-370@tmp:/w/workspace/undry_device-onvif-camera_PR-370@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:57:26 $ docker top 1ed15e3423697b95833abcedc834f13d6d12c20c9c792c5dcbb92bc60dbcc893 -eo pid,comm 23:57:26 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). 23:57:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:57:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:57:26 [ssh-agent] Looking for ssh-agent implementation... 23:57:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:57:26 $ docker exec 1ed15e3423697b95833abcedc834f13d6d12c20c9c792c5dcbb92bc60dbcc893 ssh-agent 23:57:26 SSH_AUTH_SOCK=/tmp/ssh-M3deUlv9ukqw/agent.32 23:57:26 SSH_AGENT_PID=38 23:57:26 Running ssh-add (command line suppressed) 23:57:26 Identity added: /w/workspace/undry_device-onvif-camera_PR-370@tmp/private_key_11530024239326364255.key (/w/workspace/undry_device-onvif-camera_PR-370@tmp/private_key_11530024239326364255.key) 23:57:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:57:26 + git tag --points-at HEAD [Pipeline] } 23:57:26 $ docker exec --env ******** --env ******** 1ed15e3423697b95833abcedc834f13d6d12c20c9c792c5dcbb92bc60dbcc893 ssh-agent -k 23:57:27 unset SSH_AUTH_SOCK; 23:57:27 unset SSH_AGENT_PID; 23:57:27 echo Agent pid 38 killed; 23:57:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:57:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:57:27 [ssh-agent] Looking for ssh-agent implementation... 23:57:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:57:27 $ docker exec 1ed15e3423697b95833abcedc834f13d6d12c20c9c792c5dcbb92bc60dbcc893 ssh-agent 23:57:27 SSH_AUTH_SOCK=/tmp/ssh-MCF1Uu8pkg34/agent.70 23:57:27 SSH_AGENT_PID=76 23:57:27 Running ssh-add (command line suppressed) 23:57:27 Identity added: /w/workspace/undry_device-onvif-camera_PR-370@tmp/private_key_17813656701479907892.key (/w/workspace/undry_device-onvif-camera_PR-370@tmp/private_key_17813656701479907892.key) 23:57:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:57:27 + git semver init 23:57:28 2023-05-24 23:57:28,138 [run_init] DEBUG init version:0.0.0 force:False 23:57:28 2023-05-24 23:57:28,139 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-370/.semver 23:57:28 2023-05-24 23:57:28,140 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-370/.semver 23:57:28 2023-05-24 23:57:28,141 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-370/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-370, universal_newlines=False, shell=None, istream=None) 23:57:29 2023-05-24 23:57:29,207 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-370/.git/info/exclude 23:57:29 2023-05-24 23:57:29,208 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-370/.semver/PR-370 with force:False 23:57:29 2023-05-24 23:57:29,208 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-370/.semver/PR-370 23:57:29 2023-05-24 23:57:29,212 [execute] INFO git cat-file --batch-check 23:57:29 2023-05-24 23:57:29,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-370/.semver, universal_newlines=False, shell=None, istream=) 23:57:29 2023-05-24 23:57:29,219 [execute] INFO git cat-file --batch 23:57:29 2023-05-24 23:57:29,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-370/.semver, universal_newlines=False, shell=None, istream=) 23:57:29 2023-05-24 23:57:29,225 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-370/.semver/PR-370 23:57:29 0.0.0 [Pipeline] } 23:57:29 $ docker exec --env ******** --env ******** 1ed15e3423697b95833abcedc834f13d6d12c20c9c792c5dcbb92bc60dbcc893 ssh-agent -k 23:57:29 unset SSH_AUTH_SOCK; 23:57:29 unset SSH_AGENT_PID; 23:57:29 echo Agent pid 76 killed; 23:57:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:57:30 + git semver [Pipeline] } 23:57:30 $ docker stop --time=1 1ed15e3423697b95833abcedc834f13d6d12c20c9c792c5dcbb92bc60dbcc893 23:57:31 $ docker rm -f --volumes 1ed15e3423697b95833abcedc834f13d6d12c20c9c792c5dcbb92bc60dbcc893 [Pipeline] // withDockerContainer [Pipeline] sh 23:57:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:57:32 Stashed 1 file(s) [Pipeline] echo 23:57:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:57:32 provisioning config files... 23:57:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-370@tmp/config715474975824186087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:33 ---> docker-login.sh 23:57:33 nexus3.edgexfoundry.org:10001 23:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:33 Configure a credential helper to remove this warning. See 23:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:33 23:57:33 Login Succeeded 23:57:33 nexus3.edgexfoundry.org:10002 23:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:33 Configure a credential helper to remove this warning. See 23:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:33 23:57:33 Login Succeeded 23:57:33 nexus3.edgexfoundry.org:10003 23:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:33 Configure a credential helper to remove this warning. See 23:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:33 23:57:33 Login Succeeded 23:57:33 nexus3.edgexfoundry.org:10004 23:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:33 Configure a credential helper to remove this warning. See 23:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:33 23:57:33 Login Succeeded 23:57:33 docker.io 23:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:33 Configure a credential helper to remove this warning. See 23:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:33 23:57:33 Login Succeeded 23:57:33 ---> docker-login.sh ends [Pipeline] } 23:57:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:57:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:34 ========================================================= 23:57:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:57:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:34 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:57:34 Sending build context to Docker daemon 21.95MB 23:57:34 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:57:34 Step 2/13 : FROM ${BASE} AS builder 23:57:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:57:34 f56be85fc22e: Pulling fs layer 23:57:34 85791d961cd3: Pulling fs layer 23:57:34 d694b5ae8c79: Pulling fs layer 23:57:34 9f32a84ed3da: Pulling fs layer 23:57:34 4d19c01a9841: Pulling fs layer 23:57:34 9325e15d5711: Pulling fs layer 23:57:34 556b6ee489ea: Pulling fs layer 23:57:34 c5a4b2cf53e6: Pulling fs layer 23:57:34 9f32a84ed3da: Waiting 23:57:34 4d19c01a9841: Waiting 23:57:34 9325e15d5711: Waiting 23:57:34 c5a4b2cf53e6: Waiting 23:57:34 85791d961cd3: Verifying Checksum 23:57:34 85791d961cd3: Download complete 23:57:34 9f32a84ed3da: Download complete 23:57:34 4d19c01a9841: Download complete 23:57:34 f56be85fc22e: Verifying Checksum 23:57:34 f56be85fc22e: Download complete 23:57:34 9325e15d5711: Verifying Checksum 23:57:34 9325e15d5711: Download complete 23:57:35 f56be85fc22e: Pull complete 23:57:35 85791d961cd3: Pull complete 23:57:35 c5a4b2cf53e6: Verifying Checksum 23:57:35 c5a4b2cf53e6: Download complete 23:57:35 d694b5ae8c79: Verifying Checksum 23:57:35 d694b5ae8c79: Download complete 23:57:35 556b6ee489ea: Verifying Checksum 23:57:35 556b6ee489ea: Download complete 23:57:38 d694b5ae8c79: Pull complete 23:57:38 9f32a84ed3da: Pull complete 23:57:38 4d19c01a9841: Pull complete 23:57:38 9325e15d5711: Pull complete 23:57:41 556b6ee489ea: Pull complete 23:57:42 c5a4b2cf53e6: Pull complete 23:57:42 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:57:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:57:42 ---> c4be618373d6 23:57:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:57:47 ---> Running in 2147213d0e04 23:57:47 Removing intermediate container 2147213d0e04 23:57:47 ---> ad17b146b276 23:57:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:57:47 ---> Running in 555b0667e75e 23:57:47 Removing intermediate container 555b0667e75e 23:57:47 ---> 33fab3581eb8 23:57:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:57:47 ---> Running in e21939065e53 23:57:47 Removing intermediate container e21939065e53 23:57:47 ---> 94df41f2d0da 23:57:47 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:57:47 ---> Running in 2912daa1bcb4 23:57:47 Removing intermediate container 2912daa1bcb4 23:57:47 ---> 0857fe8c795c 23:57:47 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:57:47 ---> Running in f142ae810679 23:57:47 Still waiting to schedule task 23:57:47 ‘prd-ubuntu20.04-docker-8c-8g-16838’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:57:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16835’ is offline 23:57:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16836’ is offline 23:57:47 Removing intermediate container f142ae810679 23:57:47 ---> fc778b047a4d 23:57:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:57:47 ---> Running in 54345be3ddfa 23:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:57:48 OK: 265 MiB in 53 packages 23:57:48 Removing intermediate container 54345be3ddfa 23:57:48 ---> 7485b24185be 23:57:48 Step 9/13 : WORKDIR /device-onvif-camera 23:57:48 ---> Running in 15010ff9e022 23:57:48 Removing intermediate container 15010ff9e022 23:57:48 ---> 9322ccde36cd 23:57:48 Step 10/13 : COPY go.mod vendor* ./ 23:57:48 ---> 35645f7c2139 23:57:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:57:48 ---> Running in 260c0d212ecb 23:58:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16836 in /w/workspace/undry_device-onvif-camera_PR-370 [Pipeline] { [Pipeline] ws 23:58:02 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 23:58:02 The recommended git tool is: git 23:58:09 using credential edgex-jenkins-ssh 23:58:09 Cloning the remote Git repository 23:58:09 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:58:10 > git init /w/workspace/device-onvif-camera/1 # timeout=10 23:58:10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:58:10 > git --version # timeout=10 23:58:10 > git --version # 'git version 2.25.1' 23:58:10 using GIT_SSH to set credentials SSH Credentials for GitHub 23:58:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:58:12 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:58:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:58:13 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:58:14 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:58:14 using GIT_SSH to set credentials SSH Credentials for GitHub 23:58:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:58:14 Merging remotes/origin/main commit 01232ef71281965359620122f9fdc73016fc5c79 into PR head commit 58e43e253e95a4ba8af4cad9b83701d928ff95ad 23:58:15 Merge succeeded, producing 58e43e253e95a4ba8af4cad9b83701d928ff95ad 23:58:15 Checking out Revision 58e43e253e95a4ba8af4cad9b83701d928ff95ad (PR-370) 23:58:14 > git config core.sparsecheckout # timeout=10 23:58:14 > git checkout -f 58e43e253e95a4ba8af4cad9b83701d928ff95ad # timeout=10 23:58:15 > git remote # timeout=10 23:58:15 > git config --get remote.origin.url # timeout=10 23:58:15 using GIT_SSH to set credentials SSH Credentials for GitHub 23:58:15 > git merge 01232ef71281965359620122f9fdc73016fc5c79 # timeout=10 23:58:15 > git rev-parse HEAD^{commit} # timeout=10 23:58:15 > git config core.sparsecheckout # timeout=10 23:58:15 > git checkout -f 58e43e253e95a4ba8af4cad9b83701d928ff95ad # timeout=10 23:58:16 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 23:58:16 > git --version # timeout=10 23:58:16 > git --version # 'git version 2.25.1' 23:58:16 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:58:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:58:17 % Total % Received % Xferd Average Speed Time Time Time Current 23:58:17 Dload Upload Total Spent Left Speed 23:58:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 166k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh 23:58:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:58:18 + sudo tee /etc/docker/daemon.new 23:58:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:58:18 { 23:58:18 "registry-mirrors": [ 23:58:18 "https://nexus3.edgexfoundry.org:10001" 23:58:18 ], 23:58:18 "bip": "10.250.0.254/24", 23:58:18 "hosts": [ 23:58:18 "tcp://0.0.0.0:5555", 23:58:18 "unix:///var/run/docker.sock" 23:58:18 ], 23:58:18 "mtu": 1458, 23:58:18 "selinux-enabled": true, 23:58:18 "seccomp-profile": "/etc/docker/seccomp.json" 23:58:18 } [Pipeline] sh 23:58:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:58:19 + sudo service docker restart 23:58:21 Removing intermediate container 260c0d212ecb 23:58:21 ---> b84acd10edab 23:58:21 Step 12/13 : COPY . . 23:58:21 ---> 1d58e0b71521 23:58:21 Step 13/13 : RUN ${MAKE} 23:58:21 ---> Running in 5ae43b32b04b 23:58:21 noop 23:58:21 Removing intermediate container 5ae43b32b04b 23:58:21 ---> 0667a8844935 23:58:21 Successfully built 0667a8844935 23:58:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:21 + docker inspect -f . ci-base-image-x86_64 23:58:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:21 prd-ubuntu20.04-docker-8c-8g-16837 does not seem to be running inside a container 23:58:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-370 -v /w/workspace/undry_device-onvif-camera_PR-370:/w/workspace/undry_device-onvif-camera_PR-370:rw,z -v /w/workspace/undry_device-onvif-camera_PR-370@tmp:/w/workspace/undry_device-onvif-camera_PR-370@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 ******** ci-base-image-x86_64 cat 23:58:22 $ docker top 4c638de69b66a712ecaee32d0dc38b26defc544c0e6d74ac4e81f1833250b290 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:22 + go version 23:58:22 go version go1.20.2 linux/amd64 [Pipeline] } 23:58:22 $ docker stop --time=1 4c638de69b66a712ecaee32d0dc38b26defc544c0e6d74ac4e81f1833250b290 23:58:23 $ docker rm -f --volumes 4c638de69b66a712ecaee32d0dc38b26defc544c0e6d74ac4e81f1833250b290 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:24 + docker inspect -f . ci-base-image-x86_64 23:58:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:24 prd-ubuntu20.04-docker-8c-8g-16837 does not seem to be running inside a container 23:58:24 $ 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-370 -v /w/workspace/undry_device-onvif-camera_PR-370:/w/workspace/undry_device-onvif-camera_PR-370:rw,z -v /w/workspace/undry_device-onvif-camera_PR-370@tmp:/w/workspace/undry_device-onvif-camera_PR-370@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 ******** ci-base-image-x86_64 cat 23:58:24 $ docker top 9b4195e2a4d192e6e4384f116ec2c0a046ddd7d666c7965e7ea317e38e78a5bd -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:25 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-370 [Pipeline] fileExists [Pipeline] sh 23:58:25 + make test 23:58:25 go test ./... -coverprofile=coverage.out ./... 23:58:30 ? github.com/edgexfoundry/device-onvif-camera [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:58:37 provisioning config files... 23:58:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2502778944204667921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:58:37 ---> docker-login.sh 23:58:37 nexus3.edgexfoundry.org:10001 23:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:38 Configure a credential helper to remove this warning. See 23:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:38 23:58:38 Login Succeeded 23:58:38 nexus3.edgexfoundry.org:10002 23:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:39 Configure a credential helper to remove this warning. See 23:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:39 23:58:39 Login Succeeded 23:58:39 nexus3.edgexfoundry.org:10003 23:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:39 Configure a credential helper to remove this warning. See 23:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:39 23:58:39 Login Succeeded 23:58:39 nexus3.edgexfoundry.org:10004 23:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:40 Configure a credential helper to remove this warning. See 23:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:40 23:58:40 Login Succeeded 23:58:40 docker.io 23:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:40 Configure a credential helper to remove this warning. See 23:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:40 23:58:40 Login Succeeded 23:58:40 ---> docker-login.sh ends [Pipeline] } 23:58:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 23:58:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [Pipeline] echo 23:58:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:58:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:58:41 ========================================================= 23:58:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:58:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 23:58:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:41 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:58:42 Sending build context to Docker daemon 14.4MB 23:58:42 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:58:42 Step 2/13 : FROM ${BASE} AS builder 23:58:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:58:42 c41833b44d91: Pulling fs layer 23:58:42 ed15518f5707: Pulling fs layer 23:58:42 feae8fd75edb: Pulling fs layer 23:58:42 242c74f7c9fa: Pulling fs layer 23:58:42 3cdef696dda3: Pulling fs layer 23:58:42 2ced38df9373: Pulling fs layer 23:58:42 58f1dce35555: Pulling fs layer 23:58:42 242c74f7c9fa: Waiting 23:58:42 3cdef696dda3: Waiting 23:58:42 2ced38df9373: Waiting 23:58:42 58f1dce35555: Waiting 23:58:42 ed15518f5707: Verifying Checksum 23:58:42 ed15518f5707: Download complete 23:58:42 242c74f7c9fa: Verifying Checksum 23:58:42 242c74f7c9fa: Download complete 23:58:42 3cdef696dda3: Verifying Checksum 23:58:42 3cdef696dda3: Download complete 23:58:42 c41833b44d91: Verifying Checksum 23:58:42 c41833b44d91: Download complete 23:58:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 31.4% of statements 23:58:43 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.321s coverage: 86.5% of statements 23:58:44 c41833b44d91: Pull complete 23:58:44 58f1dce35555: Verifying Checksum 23:58:44 58f1dce35555: Download complete 23:58:44 ed15518f5707: Pull complete 23:58:45 feae8fd75edb: Verifying Checksum 23:58:45 feae8fd75edb: Download complete 23:58:45 2ced38df9373: Verifying Checksum 23:58:45 2ced38df9373: Download complete 23:58:51 go vet ./... 23:58:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:58:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:58:54 ./bin/test-attribution-txt.sh [Pipeline] echo 23:58:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:58:54 $ docker stop --time=1 9b4195e2a4d192e6e4384f116ec2c0a046ddd7d666c7965e7ea317e38e78a5bd 23:58:58 feae8fd75edb: Pull complete 23:58:58 $ docker rm -f --volumes 9b4195e2a4d192e6e4384f116ec2c0a046ddd7d666c7965e7ea317e38e78a5bd 23:58:58 242c74f7c9fa: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh 23:58:58 3cdef696dda3: Pull complete 23:58:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:58:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:58:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:58:59 + ls -al . 23:58:59 total 232 23:58:59 drwxrwxr-x 10 jenkins jenkins 4096 May 24 23:58 . 23:58:59 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:57 .. 23:58:59 drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:57 .git 23:58:59 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:57 .github 23:58:59 -rw-rw-r-- 1 jenkins jenkins 496 May 24 23:57 .gitignore 23:58:59 -rw-rw-r-- 1 jenkins jenkins 42 May 24 23:57 .golangci.yml 23:58:59 drwxr-xr-x 3 jenkins jenkins 4096 May 24 23:57 .semver 23:58:59 -rw-rw-r-- 1 jenkins jenkins 10087 May 24 23:57 Attribution.txt 23:58:59 -rw-rw-r-- 1 jenkins jenkins 6312 May 24 23:57 CHANGELOG.md 23:58:59 -rw-rw-r-- 1 jenkins jenkins 1574 May 24 23:57 Dockerfile 23:58:59 -rw-rw-r-- 1 jenkins jenkins 677 May 24 23:57 GOVERNANCE.md 23:58:59 -rw-rw-r-- 1 jenkins jenkins 739 May 24 23:57 Jenkinsfile 23:58:59 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 23:57 LICENSE 23:58:59 -rw-rw-r-- 1 jenkins jenkins 2751 May 24 23:57 Makefile 23:58:59 -rw-rw-r-- 1 jenkins jenkins 625 May 24 23:57 OWNERS.md 23:58:59 -rw-rw-r-- 1 jenkins jenkins 2690 May 24 23:57 README.md 23:58:59 -rw-rw-r-- 1 jenkins jenkins 5 May 24 23:57 VERSION 23:58:59 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:57 bin 23:58:59 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:57 cmd 23:58:59 -rw-r--r-- 1 jenkins jenkins 78459 May 24 23:58 coverage.out 23:58:59 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:57 doc 23:58:59 -rw-rw-r-- 1 jenkins jenkins 3594 May 24 23:57 go.mod 23:58:59 -rw-rw-r-- 1 jenkins jenkins 33395 May 24 23:57 go.sum 23:58:59 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:57 internal 23:58:59 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:57 snap 23:58:59 -rw-rw-r-- 1 jenkins jenkins 236 May 24 23:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:00 + 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=58e43e253e95a4ba8af4cad9b83701d928ff95ad --label arch=amd64 --label version=0.0.0 . 23:59:00 Sending build context to Docker daemon 22.03MB 23:59:00 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:59:00 Step 2/26 : FROM ${BASE} AS builder 23:59:00 ---> 0667a8844935 23:59:00 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:59:00 ---> Running in ac874a5ff1f8 23:59:00 Removing intermediate container ac874a5ff1f8 23:59:00 ---> 92c6f61cffa4 23:59:00 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:59:00 ---> Running in 1d0cb0703d25 23:59:00 Removing intermediate container 1d0cb0703d25 23:59:00 ---> d91fc3f2a55e 23:59:00 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:59:00 ---> Running in ff0d9ba5e1e0 23:59:00 Removing intermediate container ff0d9ba5e1e0 23:59:00 ---> 759dfe141a55 23:59:00 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:59:00 ---> Running in fd1595c063af 23:59:00 Removing intermediate container fd1595c063af 23:59:00 ---> eb574f4c10f8 23:59:00 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:59:00 ---> Running in dbd6a988b451 23:59:00 Removing intermediate container dbd6a988b451 23:59:00 ---> 74097af079d3 23:59:00 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:59:00 ---> Running in 34c6dfb6383b 23:59:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:59:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:59:01 OK: 265 MiB in 53 packages 23:59:01 Removing intermediate container 34c6dfb6383b 23:59:01 ---> 12d59f06aeed 23:59:01 Step 9/26 : WORKDIR /device-onvif-camera 23:59:01 ---> Running in 21270545fd25 23:59:01 Removing intermediate container 21270545fd25 23:59:01 ---> 644e2ec2f0f7 23:59:01 Step 10/26 : COPY go.mod vendor* ./ 23:59:02 ---> ec7a4589e66c 23:59:02 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:59:02 ---> Running in 724fba973929 23:59:02 Removing intermediate container 724fba973929 23:59:02 ---> f8e7d6af654e 23:59:02 Step 12/26 : COPY . . 23:59:03 ---> 585f5eb4dccb 23:59:03 Step 13/26 : RUN ${MAKE} 23:59:03 ---> Running in 5d76da183e67 23:59:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 23:59:06 2ced38df9373: Pull complete 23:59:09 58f1dce35555: Pull complete 23:59:09 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:59:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:59:09 ---> fadd8f120f05 23:59:09 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:59:10 ---> Running in da6e937867ef 23:59:10 Removing intermediate container da6e937867ef 23:59:10 ---> 92c89bd26c88 23:59:10 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:59:10 ---> Running in bae73e98e413 23:59:10 Removing intermediate container bae73e98e413 23:59:10 ---> 2c0ddd307040 23:59:10 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:59:10 ---> Running in 2f3b45036107 23:59:11 Removing intermediate container 2f3b45036107 23:59:11 ---> 50b94f9bd52c 23:59:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:59:11 ---> Running in 035018d0da63 23:59:11 Removing intermediate container 035018d0da63 23:59:11 ---> 94879c411164 23:59:11 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:59:11 ---> Running in f6dc6cea64ca 23:59:12 Removing intermediate container f6dc6cea64ca 23:59:12 ---> 426a2277554f 23:59:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:59:12 ---> Running in bb8cafd65943 23:59:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:59:15 OK: 263 MiB in 53 packages 23:59:18 Removing intermediate container bb8cafd65943 23:59:18 ---> c14dd9f09aae 23:59:18 Step 9/13 : WORKDIR /device-onvif-camera 23:59:18 ---> Running in f139a9c75ca9 23:59:18 Removing intermediate container f139a9c75ca9 23:59:18 ---> df0886b53d7c 23:59:18 Step 10/13 : COPY go.mod vendor* ./ 23:59:18 ---> 0b18e6134c72 23:59:18 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:59:18 ---> Running in b412fa5f7f0f 23:59:25 Removing intermediate container 5d76da183e67 23:59:25 ---> 73bdcf1c0b0b 23:59:25 Step 14/26 : FROM alpine:3.17 23:59:25 3.17: Pulling from library/alpine 23:59:25 f56be85fc22e: Already exists 23:59:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:59:25 Status: Downloaded newer image for alpine:3.17 23:59:25 ---> 9ed4aefc74f6 23:59:25 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:59:25 ---> Running in e59ca5c0b17a 23:59:25 Removing intermediate container e59ca5c0b17a 23:59:25 ---> 285913a78047 23:59:25 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:59:25 ---> Running in 47a0dcaf49c9 23:59:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:59:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:59:25 (1/1) Installing dumb-init (1.2.5-r2) 23:59:25 Executing busybox-1.35.0-r29.trigger 23:59:25 OK: 7 MiB in 16 packages 23:59:25 Removing intermediate container 47a0dcaf49c9 23:59:25 ---> 0802761def1a 23:59:25 Step 17/26 : WORKDIR / 23:59:25 ---> Running in b9f9a07b99d1 23:59:25 Removing intermediate container b9f9a07b99d1 23:59:25 ---> cc878e26ba6e 23:59:25 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:59:25 ---> 838bb655c0a1 23:59:25 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:59:25 ---> d781d069a93a 23:59:25 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:59:25 ---> c73320f9d815 23:59:25 Step 21/26 : EXPOSE 59984 23:59:25 ---> Running in d58f0cf614a2 23:59:25 Removing intermediate container d58f0cf614a2 23:59:25 ---> 3187cda0e3d7 23:59:25 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:59:25 ---> Running in 40e7d2f643ef 23:59:25 Removing intermediate container 40e7d2f643ef 23:59:25 ---> 81b74fe0927f 23:59:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:59:25 ---> Running in 80f81f7bce35 23:59:25 Removing intermediate container 80f81f7bce35 23:59:25 ---> 6fce94248aef 23:59:25 Step 24/26 : LABEL arch=amd64 23:59:25 ---> Running in 4194f6d7a7d1 23:59:25 Removing intermediate container 4194f6d7a7d1 23:59:25 ---> 1aef4facc559 23:59:25 Step 25/26 : LABEL git_sha=58e43e253e95a4ba8af4cad9b83701d928ff95ad 23:59:25 ---> Running in efea812a5fc2 23:59:25 Removing intermediate container efea812a5fc2 23:59:25 ---> 54df1be37340 23:59:25 Step 26/26 : LABEL version=0.0.0 23:59:25 ---> Running in 620691c700c5 23:59:25 Removing intermediate container 620691c700c5 23:59:25 ---> aca9a237d415 23:59:25 [Warning] One or more build-args [ARCH] were not consumed 23:59:25 Successfully built aca9a237d415 23:59:25 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 23:59:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:26 23:59:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:27 latest: Pulling from edgex-lftools-log-publisher 23:59:27 5eb5b503b376: Pulling fs layer 23:59:27 5c69ac0246d0: Pulling fs layer 23:59:27 ec43610c2a17: Pulling fs layer 23:59:27 3a2ae6a8a46f: Pulling fs layer 23:59:27 33b1e0a273af: Pulling fs layer 23:59:27 5d3b04190fa2: Pulling fs layer 23:59:27 2f39f015ded8: Pulling fs layer 23:59:27 3a2ae6a8a46f: Waiting 23:59:27 5d3b04190fa2: Waiting 23:59:27 33b1e0a273af: Waiting 23:59:27 5c69ac0246d0: Download complete 23:59:27 3a2ae6a8a46f: Download complete 23:59:27 ec43610c2a17: Verifying Checksum 23:59:27 ec43610c2a17: Download complete 23:59:27 5d3b04190fa2: Verifying Checksum 23:59:27 5d3b04190fa2: Download complete 23:59:27 33b1e0a273af: Verifying Checksum 23:59:27 33b1e0a273af: Download complete 23:59:27 5eb5b503b376: Download complete 23:59:28 2f39f015ded8: Download complete 23:59:28 5eb5b503b376: Pull complete 23:59:28 5c69ac0246d0: Pull complete 23:59:29 ec43610c2a17: Pull complete 23:59:29 3a2ae6a8a46f: Pull complete 23:59:29 33b1e0a273af: Pull complete 23:59:29 5d3b04190fa2: Pull complete 23:59:33 2f39f015ded8: Pull complete 23:59:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:59:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:33 prd-ubuntu20.04-docker-8c-8g-16837 does not seem to be running inside a container 23:59:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-370 -v /w/workspace/undry_device-onvif-camera_PR-370:/w/workspace/undry_device-onvif-camera_PR-370:rw,z -v /w/workspace/undry_device-onvif-camera_PR-370@tmp:/w/workspace/undry_device-onvif-camera_PR-370@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-lftools-log-publisher:latest cat 23:59:38 $ docker top efb968bf88b2b443aa6402ef86b37fe91757dd0276f25d888eb6c7e664b22a83 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:59:38 ---> job-cost.sh 23:59:38 lf-activate-venv: SKIPPING 23:59:38 INFO: No Stack... 23:59:39 INFO: Retrieving Pricing Info for: v3-standard-8 23:59:39 INFO: Archiving Costs [Pipeline] sh 23:59:39 + cat /w/workspace/undry_device-onvif-camera_PR-370/archives/cost.csv 23:59:39 + cut -d, -f6 [Pipeline] lock 23:59:39 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-370-1-stack-cost] 23:59:39 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-370-1-stack-cost] did not exist. Created. 23:59:39 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-370-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:59:40 + echo total: 0.2199999988079071 [Pipeline] stash 23:59:40 Stashed 1 file(s) [Pipeline] } 23:59:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-370-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:59:40 $ docker stop --time=1 efb968bf88b2b443aa6402ef86b37fe91757dd0276f25d888eb6c7e664b22a83 23:59:41 $ docker rm -f --volumes efb968bf88b2b443aa6402ef86b37fe91757dd0276f25d888eb6c7e664b22a83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:00:26 Removing intermediate container b412fa5f7f0f 00:00:26 ---> c8f86bffb109 00:00:26 Step 12/13 : COPY . . 00:00:26 ---> 77f707ac2198 00:00:26 Step 13/13 : RUN ${MAKE} 00:00:26 ---> Running in 563fd2a40cfb 00:00:27 noop 00:00:28 Removing intermediate container 563fd2a40cfb 00:00:28 ---> 330c3e3dfb54 00:00:28 Successfully built 330c3e3dfb54 00:00:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:29 + docker inspect -f . ci-base-image-arm64 00:00:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:29 prd-ubuntu20.04-docker-arm64-4c-16g-16836 does not seem to be running inside a container 00:00:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 00:00:31 $ docker top fa8076095c339ada722840cada3e0c9da77d7f3f7be7e416e078eb74ef028066 -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:32 + go version 00:00:32 go version go1.20.2 linux/arm64 [Pipeline] } 00:00:32 $ docker stop --time=1 fa8076095c339ada722840cada3e0c9da77d7f3f7be7e416e078eb74ef028066 00:00:33 $ docker rm -f --volumes fa8076095c339ada722840cada3e0c9da77d7f3f7be7e416e078eb74ef028066 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:34 + docker inspect -f . ci-base-image-arm64 00:00:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:35 prd-ubuntu20.04-docker-arm64-4c-16g-16836 does not seem to be running inside a container 00:00:35 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 00:00:36 $ docker top d4af695c3296c88fc0f80834d3175fe67393271455b2cccfcd43a58263146604 -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:37 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 00:00:38 + make test 00:00:38 go test ./... -coverprofile=coverage.out ./... 00:01:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:03:54 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:03:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:03:54 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.218s coverage: 31.4% of statements 00:04:09 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.595s coverage: 86.5% of statements 00:04:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:04:09 go vet ./... 00:04:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:04:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:04:48 ./bin/test-attribution-txt.sh [Pipeline] echo 00:04:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:04:48 $ docker stop --time=1 d4af695c3296c88fc0f80834d3175fe67393271455b2cccfcd43a58263146604 00:04:50 $ docker rm -f --volumes d4af695c3296c88fc0f80834d3175fe67393271455b2cccfcd43a58263146604 [Pipeline] // withDockerContainer [Pipeline] sh 00:04:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:04:51 Warning: overwriting stash ‘coverage-report’ 00:04:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:04:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:04:53 + ls -al . 00:04:53 total 228 00:04:53 drwxrwxr-x 9 jenkins jenkins 4096 May 25 00:00 . 00:04:53 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:58 .. 00:04:53 drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:58 .git 00:04:53 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:58 .github 00:04:53 -rw-rw-r-- 1 jenkins jenkins 496 May 24 23:58 .gitignore 00:04:53 -rw-rw-r-- 1 jenkins jenkins 42 May 24 23:58 .golangci.yml 00:04:53 -rw-rw-r-- 1 jenkins jenkins 10087 May 24 23:58 Attribution.txt 00:04:53 -rw-rw-r-- 1 jenkins jenkins 6312 May 24 23:58 CHANGELOG.md 00:04:53 -rw-rw-r-- 1 jenkins jenkins 1574 May 24 23:58 Dockerfile 00:04:53 -rw-rw-r-- 1 jenkins jenkins 677 May 24 23:58 GOVERNANCE.md 00:04:53 -rw-rw-r-- 1 jenkins jenkins 739 May 24 23:58 Jenkinsfile 00:04:53 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 23:58 LICENSE 00:04:53 -rw-rw-r-- 1 jenkins jenkins 2751 May 24 23:58 Makefile 00:04:53 -rw-rw-r-- 1 jenkins jenkins 625 May 24 23:58 OWNERS.md 00:04:53 -rw-rw-r-- 1 jenkins jenkins 2690 May 24 23:58 README.md 00:04:53 -rw-rw-r-- 1 jenkins jenkins 5 May 24 23:57 VERSION 00:04:53 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:58 bin 00:04:53 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:58 cmd 00:04:53 -rw-r--r-- 1 jenkins jenkins 78459 May 25 00:04 coverage.out 00:04:53 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:58 doc 00:04:53 -rw-rw-r-- 1 jenkins jenkins 3594 May 24 23:58 go.mod 00:04:53 -rw-rw-r-- 1 jenkins jenkins 33395 May 24 23:58 go.sum 00:04:53 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:58 internal 00:04:53 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:58 snap 00:04:53 -rw-rw-r-- 1 jenkins jenkins 236 May 24 23:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:53 + 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=58e43e253e95a4ba8af4cad9b83701d928ff95ad --label arch=arm64 --label version=0.0.0 . 00:04:54 Sending build context to Docker daemon 14.48MB 00:04:54 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:04:54 Step 2/26 : FROM ${BASE} AS builder 00:04:54 ---> 330c3e3dfb54 00:04:54 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:04:54 ---> Running in 8c2089c4bec9 00:04:55 Removing intermediate container 8c2089c4bec9 00:04:55 ---> da94da7a1158 00:04:55 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:04:55 ---> Running in 20c59bf94062 00:04:55 Removing intermediate container 20c59bf94062 00:04:55 ---> 6272abe62a37 00:04:55 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 00:04:55 ---> Running in 7ad890fa94ed 00:04:56 Removing intermediate container 7ad890fa94ed 00:04:56 ---> 0d1843531ac1 00:04:56 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:04:56 ---> Running in 96d1ee00bc61 00:04:56 Removing intermediate container 96d1ee00bc61 00:04:56 ---> 6307eff11482 00:04:56 Step 7/26 : LABEL Name=edgex-device-onvif-camera 00:04:56 ---> Running in 6e6af419c049 00:04:57 Removing intermediate container 6e6af419c049 00:04:57 ---> 2854610be2c9 00:04:57 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:04:57 ---> Running in 1563cb7ba594 00:04:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:04:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:05:00 OK: 263 MiB in 53 packages 00:05:01 Removing intermediate container 1563cb7ba594 00:05:01 ---> f9e6f889fa79 00:05:01 Step 9/26 : WORKDIR /device-onvif-camera 00:05:01 ---> Running in 6c0a50bb4d82 00:05:01 Removing intermediate container 6c0a50bb4d82 00:05:01 ---> 8e392a2a4872 00:05:01 Step 10/26 : COPY go.mod vendor* ./ 00:05:02 ---> 02bf475e637c 00:05:02 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:05:02 ---> Running in 0eb952fbc8d1 00:05:05 Removing intermediate container 0eb952fbc8d1 00:05:05 ---> 895b8de95db6 00:05:05 Step 12/26 : COPY . . 00:05:07 ---> 833117baf250 00:05:07 Step 13/26 : RUN ${MAKE} 00:05:07 ---> Running in 5fb5188f88b0 00:05:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 00:08:00 Removing intermediate container 5fb5188f88b0 00:08:00 ---> 734e4f7aa183 00:08:00 Step 14/26 : FROM alpine:3.17 00:08:00 3.17: Pulling from library/alpine 00:08:00 c41833b44d91: Already exists 00:08:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:08:00 Status: Downloaded newer image for alpine:3.17 00:08:00 ---> 51e60588ff2c 00:08:00 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:08:00 ---> Running in 182ea13528cc 00:08:00 Removing intermediate container 182ea13528cc 00:08:00 ---> cf33c3776aec 00:08:00 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:08:00 ---> Running in 3ee5578c5c91 00:08:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:08:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:08:00 (1/1) Installing dumb-init (1.2.5-r2) 00:08:00 Executing busybox-1.35.0-r29.trigger 00:08:00 OK: 8 MiB in 16 packages 00:08:00 Removing intermediate container 3ee5578c5c91 00:08:00 ---> 44e12723e71a 00:08:00 Step 17/26 : WORKDIR / 00:08:00 ---> Running in 3fcf7923fed7 00:08:00 Removing intermediate container 3fcf7923fed7 00:08:00 ---> b1b2fdcce1a4 00:08:00 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:08:01 ---> ec64b0c3bb8e 00:08:01 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:08:02 ---> 26c94f0687e6 00:08:02 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:08:02 ---> afade67f70b1 00:08:02 Step 21/26 : EXPOSE 59984 00:08:02 ---> Running in fb64bd56c169 00:08:03 Removing intermediate container fb64bd56c169 00:08:03 ---> 952871725006 00:08:03 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:08:03 ---> Running in 14770af25f44 00:08:03 Removing intermediate container 14770af25f44 00:08:03 ---> 5df9df887b8c 00:08:03 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:08:03 ---> Running in 2cb9c172d987 00:08:03 Removing intermediate container 2cb9c172d987 00:08:03 ---> 9ac5b3423c50 00:08:03 Step 24/26 : LABEL arch=arm64 00:08:04 ---> Running in 092acdc203dc 00:08:04 Removing intermediate container 092acdc203dc 00:08:04 ---> c151baafe85f 00:08:04 Step 25/26 : LABEL git_sha=58e43e253e95a4ba8af4cad9b83701d928ff95ad 00:08:04 ---> Running in 903d9952720a 00:08:05 Removing intermediate container 903d9952720a 00:08:05 ---> 258f259cc207 00:08:05 Step 26/26 : LABEL version=0.0.0 00:08:05 ---> Running in 85dc2cee5f60 00:08:05 Removing intermediate container 85dc2cee5f60 00:08:05 ---> 95f9c1b1d4a8 00:08:05 [Warning] One or more build-args [ARCH] were not consumed 00:08:05 Successfully built 95f9c1b1d4a8 00:08:05 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:08:06 00:08:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:08:06 arm64: Pulling from edgex-lftools-log-publisher 00:08:06 8998bd30e6a1: Pulling fs layer 00:08:06 04944245beec: Pulling fs layer 00:08:06 699f458cf7ca: Pulling fs layer 00:08:06 765212b225bb: Pulling fs layer 00:08:06 f23df028b6ca: Pulling fs layer 00:08:06 d65c8cfc05b1: Pulling fs layer 00:08:06 2437ff75d9bd: Pulling fs layer 00:08:06 f23df028b6ca: Waiting 00:08:06 d65c8cfc05b1: Waiting 00:08:06 2437ff75d9bd: Waiting 00:08:06 765212b225bb: Waiting 00:08:06 04944245beec: Verifying Checksum 00:08:06 04944245beec: Download complete 00:08:06 765212b225bb: Verifying Checksum 00:08:06 765212b225bb: Download complete 00:08:06 f23df028b6ca: Verifying Checksum 00:08:06 f23df028b6ca: Download complete 00:08:06 d65c8cfc05b1: Verifying Checksum 00:08:06 d65c8cfc05b1: Download complete 00:08:07 699f458cf7ca: Verifying Checksum 00:08:07 699f458cf7ca: Download complete 00:08:07 8998bd30e6a1: Verifying Checksum 00:08:07 8998bd30e6a1: Download complete 00:08:10 2437ff75d9bd: Verifying Checksum 00:08:10 2437ff75d9bd: Download complete 00:08:11 8998bd30e6a1: Pull complete 00:08:12 04944245beec: Pull complete 00:08:13 699f458cf7ca: Pull complete 00:08:13 765212b225bb: Pull complete 00:08:14 f23df028b6ca: Pull complete 00:08:14 d65c8cfc05b1: Pull complete 00:08:29 2437ff75d9bd: Pull complete 00:08:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:08:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:08:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:30 prd-ubuntu20.04-docker-arm64-4c-16g-16836 does not seem to be running inside a container 00:08:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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-lftools-log-publisher:arm64 cat 00:08:33 $ docker top 4a125b060a500b38fa8d469f9e7c4cc75dc69cd3140b68c6bae5655ab11eb06a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:34 ---> job-cost.sh 00:08:34 lf-activate-venv: SKIPPING 00:08:34 INFO: No Stack... 00:08:34 INFO: Retrieving Pricing Info for: v3-standard-4 00:08:35 INFO: Archiving Costs [Pipeline] sh 00:08:36 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 00:08:36 + cut -d, -f6 [Pipeline] lock 00:08:36 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-370-1-stack-cost] 00:08:36 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-370-1-stack-cost] did not exist. Created. 00:08:36 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-370-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:08:36 /w/workspace/device-onvif-camera/1@tmp/durable-4cdc926f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:08:37 + echo total: 0.10999999940395355 [Pipeline] stash 00:08:37 Warning: overwriting stash ‘stack-cost’ 00:08:37 Stashed 1 file(s) [Pipeline] } 00:08:37 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-370-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:08:37 $ docker stop --time=1 4a125b060a500b38fa8d469f9e7c4cc75dc69cd3140b68c6bae5655ab11eb06a 00:08:39 $ docker rm -f --volumes 4a125b060a500b38fa8d469f9e7c4cc75dc69cd3140b68c6bae5655ab11eb06a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:08:40 provisioning config files... 00:08:40 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-370@tmp/config13416984031598974970tmp [Pipeline] { [Pipeline] sh 00:08:40 + set +x 00:08:40 + curl -s https://codecov.io/bash 00:08:40 + bash -s -- 00:08:40 00:08:40 _____ _ 00:08:40 / ____| | | 00:08:40 | | ___ __| | ___ ___ _____ __ 00:08:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:08:40 | |___| (_) | (_| | __/ (_| (_) \ V / 00:08:40 \_____\___/ \__,_|\___|\___\___/ \_/ 00:08:40 Bash-1.0.6 00:08:40 00:08:40 00:08:40 ==> git version 2.25.1 found 00:08:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:08:40 Release-Date: 2020-01-08 00:08:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:08:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:08:40 ==> Jenkins CI detected. 00:08:40 current dir:  /w/workspace/undry_device-onvif-camera_PR-370 00:08:40 project root: . 00:08:40 --> token set from env 00:08:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:08:40 ==> Running gcov in . (disable via -X gcov) 00:08:40 ==> Python coveragepy not found 00:08:40 ==> Searching for coverage reports in: 00:08:40 + . 00:08:40 -> Found 1 reports 00:08:40 ==> Detecting git/mercurial file structure 00:08:40 ==> Reading reports 00:08:40 + ./coverage.out bytes=78459 00:08:40 ==> Appending adjustments 00:08:40 https://docs.codecov.io/docs/fixing-reports 00:08:41 + Found adjustments 00:08:41 ==> Gzipping contents 00:08:41 12K /tmp/codecov.DVE6k5.gz 00:08:41 ==> Uploading reports 00:08:41 url: https://codecov.io 00:08:41 query: branch=PR-370&commit=58e43e253e95a4ba8af4cad9b83701d928ff95ad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-370%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=370&job=&cmd_args= 00:08:41 -> Pinging Codecov 00:08:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-370&commit=58e43e253e95a4ba8af4cad9b83701d928ff95ad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-370%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=370&job=&cmd_args= 00:08:41 -> Uploading to 00:08:41 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/F29A59C45E3A92E06B3E522C9905F8EF/58e43e253e95a4ba8af4cad9b83701d928ff95ad/a3fa62e5-84f0-44b7-a32f-74cac23413bf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T000841Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f5aadc3cc29b17fef900f3b866cd4783035eb39bd337bb55683070fe9cd9bc24 00:08:41 % Total % Received % Xferd Average Speed Time Time Time Current 00:08:41 Dload Upload Total Spent Left Speed 00:08:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 50033 --:--:-- --:--:-- --:--:-- 50033 00:08:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/58e43e253e95a4ba8af4cad9b83701d928ff95ad [Pipeline] } 00:08:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:08:43 + [ -d /w/workspace/undry_device-onvif-camera_PR-370/archives ] 00:08:43 + ls -al /w/workspace/undry_device-onvif-camera_PR-370/archives 00:08:43 total 16 00:08:43 drwxr-xr-x 3 root root 4096 May 24 23:59 . 00:08:43 drwxrwxr-x 11 jenkins jenkins 4096 May 24 23:59 .. 00:08:43 drwxr-xr-x 2 root root 4096 May 24 23:59 cost 00:08:43 -rw-r--r-- 1 root root 91 May 24 23:59 cost.csv 00:08:43 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-370/archives 00:08:43 + ls -al /w/workspace/undry_device-onvif-camera_PR-370/archives 00:08:43 total 16 00:08:43 drwxr-xr-x 3 jenkins jenkins 4096 May 24 23:59 . 00:08:43 drwxrwxr-x 11 jenkins jenkins 4096 May 24 23:59 .. 00:08:43 drwxr-xr-x 2 jenkins jenkins 4096 May 24 23:59 cost 00:08:43 -rw-r--r-- 1 jenkins jenkins 91 May 24 23:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:08:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:08:44 ---> package-listing.sh 00:08:44 ++ facter osfamily 00:08:44 ++ tr '[:upper:]' '[:lower:]' 00:08:45 + OS_FAMILY=debian 00:08:45 + workspace=/w/workspace/undry_device-onvif-camera_PR-370 00:08:45 + START_PACKAGES=/tmp/packages_start.txt 00:08:45 + END_PACKAGES=/tmp/packages_end.txt 00:08:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:08:45 + PACKAGES=/tmp/packages_start.txt 00:08:45 + '[' /w/workspace/undry_device-onvif-camera_PR-370 ']' 00:08:45 + PACKAGES=/tmp/packages_end.txt 00:08:45 + case "${OS_FAMILY}" in 00:08:45 + dpkg -l 00:08:45 + grep '^ii' 00:08:45 + '[' -f /tmp/packages_start.txt ']' 00:08:45 + '[' -f /tmp/packages_end.txt ']' 00:08:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:08:45 + '[' /w/workspace/undry_device-onvif-camera_PR-370 ']' 00:08:45 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-370/archives/ 00:08:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-370/archives/ [Pipeline] echo 00:08:45 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-370/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:08:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:08:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:46 prd-ubuntu20.04-docker-8c-8g-16837 does not seem to be running inside a container 00:08:46 $ 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-370/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-370 -v /w/workspace/undry_device-onvif-camera_PR-370:/w/workspace/undry_device-onvif-camera_PR-370:rw,z -v /w/workspace/undry_device-onvif-camera_PR-370@tmp:/w/workspace/undry_device-onvif-camera_PR-370@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:08:46 $ docker top 1e9b740339ca51280a0938d91dab8a6b3b4d81dae39d0da5f31e3afe781e8ec4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:46 + touch /tmp/pre-build-complete [Pipeline] sh 00:08:47 + mkdir -p /var/log/sysstat [Pipeline] sh 00:08:47 + ls /var/log/sa-host 00:08:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:08:47 provisioning config files... 00:08:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-370@tmp/config5569901691224182497tmp [Pipeline] { [Pipeline] echo 00:08:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:08:48 ---> create-netrc.sh [Pipeline] } 00:08:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:08:48 ---> python-tools-install.sh [Pipeline] echo 00:08:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:08:48 ---> sudo-logs.sh 00:08:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:08:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:08:49 ---> job-cost.sh 00:08:49 lf-activate-venv: SKIPPING 00:08:49 DEBUG: total: 0.2199999988079071 00:08:49 INFO: Retrieving Stack Cost... 00:08:49 INFO: Retrieving Pricing Info for: v3-standard-8 00:08:50 INFO: Archiving Costs [Pipeline] echo 00:08:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:08:50 ---> logs-deploy.sh 00:08:50 lf-activate-venv: SKIPPING 00:08:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-370/1 00:08:50 INFO: archiving workspace using pattern(s): 00:08:51 Archives upload complete. 00:08:51 INFO: archiving logs to Nexus 00:08:52 ---> uname -a: 00:08:52 Linux prd-ubuntu20-04-docker-8c-8g-16837 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 00:08:52 00:08:52 00:08:52 ---> lscpu: 00:08:52 Architecture: x86_64 00:08:52 CPU op-mode(s): 32-bit, 64-bit 00:08:52 Byte Order: Little Endian 00:08:52 Address sizes: 40 bits physical, 48 bits virtual 00:08:52 CPU(s): 8 00:08:52 On-line CPU(s) list: 0-7 00:08:52 Thread(s) per core: 1 00:08:52 Core(s) per socket: 1 00:08:52 Socket(s): 8 00:08:52 NUMA node(s): 1 00:08:52 Vendor ID: AuthenticAMD 00:08:52 CPU family: 23 00:08:52 Model: 49 00:08:52 Model name: AMD EPYC-Rome Processor 00:08:52 Stepping: 0 00:08:52 CPU MHz: 2800.000 00:08:52 BogoMIPS: 5600.00 00:08:52 Virtualization: AMD-V 00:08:52 Hypervisor vendor: KVM 00:08:52 Virtualization type: full 00:08:52 L1d cache: 256 KiB 00:08:52 L1i cache: 256 KiB 00:08:52 L2 cache: 4 MiB 00:08:52 L3 cache: 128 MiB 00:08:52 NUMA node0 CPU(s): 0-7 00:08:52 Vulnerability Itlb multihit: Not affected 00:08:52 Vulnerability L1tf: Not affected 00:08:52 Vulnerability Mds: Not affected 00:08:52 Vulnerability Meltdown: Not affected 00:08:52 Vulnerability Mmio stale data: Not affected 00:08:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:08:52 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:08:52 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:08:52 Vulnerability Srbds: Not affected 00:08:52 Vulnerability Tsx async abort: Not affected 00:08:52 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:08:52 00:08:52 00:08:52 ---> nproc: 00:08:52 8 00:08:52 00:08:52 00:08:52 ---> df -h: 00:08:52 Filesystem Size Used Avail Use% Mounted on 00:08:52 overlay 155G 12G 144G 8% / 00:08:52 tmpfs 64M 0 64M 0% /dev 00:08:52 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:08:52 shm 64M 0 64M 0% /dev/shm 00:08:52 /dev/vda1 155G 12G 144G 8% /facter-os 00:08:52 00:08:52 00:08:52 ---> sar -b -r -n DEV: 00:08:52 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-16837) 05/25/23 _x86_64_ (8 CPU) 00:08:52 00:08:52 00:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:08:52 00:00:01 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:01:01 6.30 0.03 6.26 0.00 0.27 153.57 0.00 00:08:52 00:02:01 45.63 11.35 34.28 0.00 3441.83 6208.43 0.00 00:08:52 00:03:01 6.28 0.02 6.27 0.00 0.13 116.11 0.00 00:08:52 00:04:01 0.95 0.00 0.95 0.00 0.00 10.13 0.00 00:08:52 00:05:01 1.62 0.00 1.62 0.00 0.00 17.60 0.00 00:08:52 00:06:01 0.98 0.00 0.98 0.00 0.00 10.93 0.00 00:08:52 00:07:01 1.27 0.00 1.27 0.00 0.00 14.26 0.00 00:08:52 00:08:01 1.03 0.00 1.03 0.00 0.00 10.93 0.00 00:08:52 Average: 8.01 1.42 6.58 0.00 430.27 817.73 0.00 00:08:52 00:08:52 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:08:52 00:00:01 27590768 31586904 706024 2.15 161388 3979144 1761276 5.19 1265324 3509988 188 00:08:52 00:01:01 27590464 31587332 705068 2.14 161680 3979168 1791776 5.28 1265852 3509292 192 00:08:52 00:02:01 27208112 31574076 706984 2.15 187824 4303240 1798136 5.30 1498120 3625756 1036 00:08:52 00:03:01 27214160 31575240 705732 2.15 186364 4299984 1771264 5.22 1496272 3622512 20 00:08:52 00:04:01 27216508 31577624 703288 2.14 186396 4299988 1771264 5.22 1494076 3622516 16 00:08:52 00:05:01 27217344 31578488 702356 2.14 186424 4299988 1771264 5.22 1494192 3622516 12 00:08:52 00:06:01 27217116 31578292 702516 2.14 186440 4299996 1771264 5.22 1494336 3622524 8 00:08:52 00:07:01 27217384 31578724 701984 2.13 186488 4300124 1771264 5.22 1493968 3622652 136 00:08:52 00:08:01 27217316 31579012 702188 2.14 186504 4300128 1771264 5.22 1494104 3622956 8 00:08:52 Average: 27298797 31579521 704016 2.14 181056 4229084 1775419 5.23 1444027 3597857 180 00:08:52 00:08:52 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:08:52 00:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:00:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:01:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 00:08:52 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:01:01 ens3 0.72 0.42 0.28 0.21 0.00 0.00 0.00 0.00 00:08:52 00:02:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 00:08:52 00:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:02:01 ens3 135.34 66.04 2287.93 4.69 0.00 0.00 0.00 0.00 00:08:52 00:03:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:08:52 00:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:03:01 ens3 1.57 0.57 0.49 0.34 0.00 0.00 0.00 0.00 00:08:52 00:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:04:01 ens3 1.17 0.40 0.45 0.27 0.00 0.00 0.00 0.00 00:08:52 00:05:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:08:52 00:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:05:01 ens3 0.97 0.27 0.31 0.20 0.00 0.00 0.00 0.00 00:08:52 00:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:06:01 ens3 0.48 0.28 0.26 0.21 0.00 0.00 0.00 0.00 00:08:52 00:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:08:52 00:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:07:01 ens3 0.18 0.10 0.01 0.01 0.00 0.00 0.00 0.00 00:08:52 00:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 00:08:01 ens3 0.53 0.12 0.15 0.07 0.00 0.00 0.00 0.00 00:08:52 Average: lo 0.17 0.17 0.01 0.01 0.00 0.00 0.00 0.00 00:08:52 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:08:52 Average: ens3 17.62 8.52 286.23 0.75 0.00 0.00 0.00 0.00 00:08:52 00:08:52 00:08:52 ---> sar -P ALL: 00:08:52 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-16837) 05/25/23 _x86_64_ (8 CPU) 00:08:52 00:08:52 00:00:01 CPU %user %nice %system %iowait %steal %idle 00:08:52 00:00:01 all 0.00 0.00 0.00 0.00 0.00 100.00 00:08:52 00:00:01 0 0.00 0.00 0.00 0.00 0.00 100.00 00:08:52 00:00:01 1 0.00 0.00 0.00 0.00 0.00 100.00 00:08:52 00:00:01 2 0.00 0.00 0.00 0.00 0.00 100.00 00:08:52 00:00:01 3 0.00 0.00 0.00 0.00 0.00 100.00 00:08:52 00:00:01 4 0.00 0.00 0.00 0.00 0.00 100.00 00:08:52 00:00:01 5 0.00 0.00 0.00 0.00 0.00 100.00 00:08:52 00:00:01 6 0.00 0.00 0.00 0.00 0.00 100.00 00:08:52 00:00:01 7 0.00 0.00 0.00 0.00 0.00 100.00 00:08:52 00:01:01 all 0.16 0.02 0.04 0.02 0.01 99.75 00:08:52 00:01:01 0 1.04 0.00 0.02 0.00 0.02 98.92 00:08:52 00:01:01 1 0.03 0.00 0.03 0.00 0.02 99.92 00:08:52 00:01:01 2 0.00 0.00 0.05 0.00 0.00 99.95 00:08:52 00:01:01 3 0.02 0.00 0.05 0.02 0.00 99.92 00:08:52 00:01:01 4 0.07 0.00 0.03 0.00 0.00 99.90 00:08:52 00:01:01 5 0.02 0.00 0.02 0.00 0.00 99.97 00:08:52 00:01:01 6 0.02 0.17 0.08 0.15 0.00 99.58 00:08:52 00:01:01 7 0.07 0.00 0.05 0.00 0.03 99.85 00:08:52 00:02:01 all 1.82 0.00 1.21 0.56 0.02 96.39 00:08:52 00:02:01 0 0.74 0.00 0.92 0.03 0.02 98.30 00:08:52 00:02:01 1 1.60 0.00 0.97 0.80 0.02 96.61 00:08:52 00:02:01 2 1.72 0.00 0.92 0.80 0.02 96.54 00:08:52 00:02:01 3 0.85 0.00 0.97 0.10 0.03 98.05 00:08:52 00:02:01 4 1.58 0.00 3.05 0.37 0.02 94.98 00:08:52 00:02:01 5 2.29 0.00 0.80 0.07 0.02 96.83 00:08:52 00:02:01 6 1.62 0.00 0.87 1.27 0.02 96.23 00:08:52 00:02:01 7 4.14 0.00 1.21 1.07 0.03 93.55 00:08:52 00:03:01 all 0.10 0.00 0.06 0.01 0.01 99.83 00:08:52 00:03:01 0 0.25 0.00 0.07 0.00 0.00 99.68 00:08:52 00:03:01 1 0.10 0.00 0.03 0.02 0.03 99.82 00:08:52 00:03:01 2 0.05 0.00 0.07 0.00 0.00 99.88 00:08:52 00:03:01 3 0.02 0.00 0.05 0.00 0.00 99.93 00:08:52 00:03:01 4 0.17 0.00 0.12 0.00 0.00 99.72 00:08:52 00:03:01 5 0.10 0.00 0.03 0.00 0.00 99.87 00:08:52 00:03:01 6 0.02 0.00 0.03 0.03 0.00 99.92 00:08:52 00:03:01 7 0.07 0.00 0.08 0.03 0.02 99.80 00:08:52 00:04:01 all 0.20 0.00 0.01 0.00 0.01 99.77 00:08:52 00:04:01 0 1.47 0.00 0.02 0.00 0.00 98.52 00:08:52 00:04:01 1 0.03 0.00 0.03 0.00 0.02 99.92 00:08:52 00:04:01 2 0.02 0.00 0.02 0.00 0.02 99.95 00:08:52 00:04:01 3 0.02 0.00 0.02 0.00 0.00 99.97 00:08:52 00:04:01 4 0.07 0.00 0.00 0.00 0.00 99.93 00:08:52 00:04:01 5 0.00 0.00 0.00 0.00 0.02 99.98 00:08:52 00:04:01 6 0.00 0.00 0.00 0.02 0.02 99.97 00:08:52 00:04:01 7 0.02 0.00 0.02 0.00 0.02 99.95 00:08:52 00:05:01 all 0.13 0.00 0.01 0.00 0.00 99.85 00:08:52 00:05:01 0 0.91 0.00 0.00 0.00 0.00 99.09 00:08:52 00:05:01 1 0.07 0.00 0.03 0.00 0.02 99.88 00:08:52 00:05:01 2 0.00 0.00 0.02 0.00 0.00 99.98 00:08:52 00:05:01 3 0.00 0.00 0.00 0.00 0.00 100.00 00:08:52 00:05:01 4 0.02 0.00 0.02 0.00 0.00 99.97 00:08:52 00:05:01 5 0.02 0.00 0.00 0.00 0.00 99.98 00:08:52 00:05:01 6 0.00 0.00 0.00 0.03 0.00 99.97 00:08:52 00:05:01 7 0.03 0.00 0.02 0.00 0.00 99.95 00:08:52 00:06:01 all 0.01 0.00 0.01 0.00 0.01 99.96 00:08:52 00:06:01 0 0.02 0.00 0.00 0.00 0.02 99.97 00:08:52 00:06:01 1 0.02 0.00 0.05 0.00 0.03 99.90 00:08:52 00:06:01 2 0.03 0.00 0.02 0.00 0.02 99.93 00:08:52 00:06:01 3 0.00 0.00 0.00 0.00 0.00 100.00 00:08:52 00:06:01 4 0.02 0.00 0.00 0.00 0.00 99.98 00:08:52 00:06:01 5 0.00 0.00 0.00 0.00 0.00 100.00 00:08:52 00:06:01 6 0.00 0.00 0.00 0.00 0.00 100.00 00:08:52 00:06:01 7 0.03 0.00 0.02 0.02 0.00 99.93 00:08:52 00:07:01 all 0.20 0.00 0.01 0.00 0.00 99.79 00:08:52 00:07:01 0 1.43 0.00 0.02 0.00 0.00 98.55 00:08:52 00:07:01 1 0.03 0.00 0.05 0.00 0.02 99.90 00:08:52 00:07:01 2 0.00 0.00 0.02 0.00 0.00 99.98 00:08:52 00:07:01 3 0.03 0.00 0.00 0.00 0.00 99.97 00:08:52 00:07:01 4 0.02 0.00 0.00 0.00 0.00 99.98 00:08:52 00:07:01 5 0.02 0.00 0.00 0.00 0.00 99.98 00:08:52 00:07:01 6 0.00 0.00 0.00 0.02 0.00 99.98 00:08:52 00:07:01 7 0.03 0.00 0.00 0.00 0.02 99.95 00:08:52 00:08:01 all 0.10 0.00 0.01 0.00 0.00 99.89 00:08:52 00:08:01 0 0.63 0.00 0.02 0.00 0.00 99.35 00:08:52 00:08:01 1 0.03 0.00 0.02 0.00 0.02 99.93 00:08:52 00:08:01 2 0.02 0.00 0.03 0.00 0.00 99.95 00:08:52 00:08:01 3 0.02 0.00 0.00 0.00 0.00 99.98 00:08:52 00:08:01 4 0.03 0.00 0.00 0.00 0.00 99.97 00:08:52 00:08:01 5 0.02 0.00 0.00 0.00 0.00 99.98 00:08:52 00:08:01 6 0.00 0.00 0.02 0.02 0.00 99.97 00:08:52 00:08:01 7 0.02 0.00 0.00 0.00 0.00 99.98 00:08:52 Average: all 0.34 0.00 0.17 0.08 0.01 99.40 00:08:52 Average: 0 0.81 0.00 0.13 0.00 0.01 99.05 00:08:52 Average: 1 0.24 0.00 0.15 0.10 0.02 99.49 00:08:52 Average: 2 0.23 0.00 0.14 0.10 0.01 99.52 00:08:52 Average: 3 0.12 0.00 0.14 0.01 0.00 99.73 00:08:52 Average: 4 0.25 0.00 0.40 0.05 0.00 99.30 00:08:52 Average: 5 0.31 0.00 0.11 0.01 0.00 99.57 00:08:52 Average: 6 0.21 0.02 0.13 0.19 0.00 99.45 00:08:52 Average: 7 0.55 0.00 0.17 0.14 0.01 99.12 00:08:52 00:08:52 00:08:52