Pull request #203 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 3c7099823a15321e4c104e4563a39310db07d158+4a1514bac2c3623567fb323734989edc763968b8 (628a20310c8c5c627a7e127d0496ef173cac7016) 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-ssh5643123447711974431.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13800699563684207902.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14672095909567434388.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3185781538266472416.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8680323694925389805.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-936 in /w/workspace/undry_device-onvif-camera_PR-203 [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-203 # 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 Merging remotes/origin/main commit 4a1514bac2c3623567fb323734989edc763968b8 into PR head commit 3c7099823a15321e4c104e4563a39310db07d158 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c7099823a15321e4c104e4563a39310db07d158 # timeout=10 Merge succeeded, producing 3c7099823a15321e4c104e4563a39310db07d158 Checking out Revision 3c7099823a15321e4c104e4563a39310db07d158 (PR-203) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4a1514bac2c3623567fb323734989edc763968b8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c7099823a15321e4c104e4563a39310db07d158 # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:38:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:38:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:38:50 ========================================================= 18:38:50 EdgeX Global Pipelines Version Info 18:38:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:38:51 ------------------- 18:38:51 stable info: 18:38:51 ------------------- 18:38:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:38:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:38:51 Message: update stable to v1.0.244 18:38:51 ------------------- 18:38:51 experimental info: 18:38:51 ------------------- 18:38:51 Commited By: **** collab-it+edgex@linuxfoundation.org 18:38:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:38:51 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:38:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-203 [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-203 [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-203 [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c7099823a15321e4c104e4563a39310db07d158 [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c70998 [Pipeline] echo 18:38:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:38:52 provisioning config files... 18:38:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-203@tmp/config17671348290119751121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:38:52 ---> docker-login.sh 18:38:52 nexus3.edgexfoundry.org:10001 18:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:52 Configure a credential helper to remove this warning. See 18:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:52 18:38:52 Login Succeeded 18:38:52 nexus3.edgexfoundry.org:10002 18:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:52 Configure a credential helper to remove this warning. See 18:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:52 18:38:52 Login Succeeded 18:38:52 nexus3.edgexfoundry.org:10003 18:38:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:53 Configure a credential helper to remove this warning. See 18:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:53 18:38:53 Login Succeeded 18:38:53 nexus3.edgexfoundry.org:10004 18:38:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:53 Configure a credential helper to remove this warning. See 18:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:53 18:38:53 Login Succeeded 18:38:53 docker.io 18:38:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:53 Configure a credential helper to remove this warning. See 18:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:53 18:38:53 Login Succeeded 18:38:53 ---> docker-login.sh ends [Pipeline] } 18:38:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:38:53 + git rev-list -1 --merges 3c7099823a15321e4c104e4563a39310db07d158~1..3c7099823a15321e4c104e4563a39310db07d158 [Pipeline] echo 18:38:53 -----------> git rev-list -1 --merges 3c7099823a15321e4c104e4563a39310db07d158~1..3c7099823a15321e4c104e4563a39310db07d158 3c7099823a15321e4c104e4563a39310db07d158 [false] [Pipeline] sh 18:38:54 + git log --format=format:%s -1 3c7099823a15321e4c104e4563a39310db07d158 [Pipeline] echo 18:38:54 ========================================================= 18:38:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:38:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:38:54 + git log --format=format:%s -1 3c7099823a15321e4c104e4563a39310db07d158 [Pipeline] echo 18:38:54 [semverPrep] GIT_COMMIT: 3c7099823a15321e4c104e4563a39310db07d158, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo 18:38:54 [semverPrep] This is not a build commit. [Pipeline] sh 18:38:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:38:54 + grep -v github /etc/ssh/ssh_known_hosts 18:38:54 + [ -e /tmp/ssh_known_hosts ] 18:38:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:38:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:38:54 + sudo tee -a /etc/ssh/ssh_known_hosts 18:38:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:38:55 18:38:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:38:55 0.1.4: Pulling from edgex-devops/py-git-semver 18:38:55 b85a868b505f: Pulling fs layer 18:38:55 e2be974225ed: Pulling fs layer 18:38:55 339a4e72a1f5: Pulling fs layer 18:38:55 988bab9f4d93: Pulling fs layer 18:38:55 1469e6f7b9e6: Pulling fs layer 18:38:55 eaf3925da568: Pulling fs layer 18:38:55 bab4dde63d76: Pulling fs layer 18:38:55 bde34c3a00c8: Pulling fs layer 18:38:55 b352a97aabf1: Pulling fs layer 18:38:55 4872d77fe225: Pulling fs layer 18:38:55 5851b861e8e6: Pulling fs layer 18:38:55 1469e6f7b9e6: Waiting 18:38:55 eaf3925da568: Waiting 18:38:55 bab4dde63d76: Waiting 18:38:55 bde34c3a00c8: Waiting 18:38:55 b352a97aabf1: Waiting 18:38:55 4872d77fe225: Waiting 18:38:55 5851b861e8e6: Waiting 18:38:55 988bab9f4d93: Waiting 18:38:55 e2be974225ed: Verifying Checksum 18:38:55 e2be974225ed: Download complete 18:38:55 988bab9f4d93: Verifying Checksum 18:38:55 988bab9f4d93: Download complete 18:38:55 1469e6f7b9e6: Verifying Checksum 18:38:55 1469e6f7b9e6: Download complete 18:38:55 339a4e72a1f5: Verifying Checksum 18:38:55 bde34c3a00c8: Download complete 18:38:55 b352a97aabf1: Verifying Checksum 18:38:55 b352a97aabf1: Download complete 18:38:55 4872d77fe225: Verifying Checksum 18:38:55 4872d77fe225: Download complete 18:38:55 5851b861e8e6: Verifying Checksum 18:38:55 5851b861e8e6: Download complete 18:38:55 b85a868b505f: Verifying Checksum 18:38:55 b85a868b505f: Download complete 18:38:55 bab4dde63d76: Verifying Checksum 18:38:55 bab4dde63d76: Download complete 18:38:56 b85a868b505f: Pull complete 18:38:57 e2be974225ed: Pull complete 18:38:57 339a4e72a1f5: Pull complete 18:38:57 988bab9f4d93: Pull complete 18:38:57 1469e6f7b9e6: Pull complete 18:38:57 eaf3925da568: Pull complete 18:38:59 bab4dde63d76: Pull complete 18:38:59 bde34c3a00c8: Pull complete 18:38:59 b352a97aabf1: Pull complete 18:38:59 4872d77fe225: Pull complete 18:38:59 5851b861e8e6: Pull complete 18:38:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:38:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:38:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:59 prd-ubuntu20.04-docker-8c-8g-936 does not seem to be running inside a container 18:39:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-203 -v /w/workspace/undry_device-onvif-camera_PR-203:/w/workspace/undry_device-onvif-camera_PR-203:rw,z -v /w/workspace/undry_device-onvif-camera_PR-203@tmp:/w/workspace/undry_device-onvif-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:39:02 $ docker top 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a -eo pid,comm 18:39:02 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). 18:39:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:39:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:39:02 [ssh-agent] Looking for ssh-agent implementation... 18:39:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:02 $ docker exec 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a ssh-agent 18:39:02 SSH_AUTH_SOCK=/tmp/ssh-2KjoSRh27ze5/agent.32 18:39:02 SSH_AGENT_PID=38 18:39:02 Running ssh-add (command line suppressed) 18:39:02 Identity added: /w/workspace/undry_device-onvif-camera_PR-203@tmp/private_key_1910328592142169946.key (/w/workspace/undry_device-onvif-camera_PR-203@tmp/private_key_1910328592142169946.key) 18:39:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:03 + git tag --points-at HEAD [Pipeline] } 18:39:03 $ docker exec --env ******** --env ******** 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a ssh-agent -k 18:39:03 unset SSH_AUTH_SOCK; 18:39:03 unset SSH_AGENT_PID; 18:39:03 echo Agent pid 38 killed; 18:39:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:39:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:39:03 [ssh-agent] Looking for ssh-agent implementation... 18:39:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:03 $ docker exec 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a ssh-agent 18:39:03 SSH_AUTH_SOCK=/tmp/ssh-58nh0jWTK9I3/agent.71 18:39:03 SSH_AGENT_PID=77 18:39:03 Running ssh-add (command line suppressed) 18:39:03 Identity added: /w/workspace/undry_device-onvif-camera_PR-203@tmp/private_key_2494220659255956334.key (/w/workspace/undry_device-onvif-camera_PR-203@tmp/private_key_2494220659255956334.key) 18:39:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:03 + git semver init 18:39:04 2023-01-03 18:39:04,136 [run_init] DEBUG init version:0.0.0 force:False 18:39:04 2023-01-03 18:39:04,136 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-203/.semver 18:39:04 2023-01-03 18:39:04,137 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-203/.semver 18:39:04 2023-01-03 18:39:04,137 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-203/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-203, universal_newlines=False, shell=None, istream=None) 18:39:05 2023-01-03 18:39:05,092 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-203/.git/info/exclude 18:39:05 2023-01-03 18:39:05,092 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-203/.semver/PR-203 with force:False 18:39:05 2023-01-03 18:39:05,093 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-203/.semver/PR-203 18:39:05 2023-01-03 18:39:05,095 [execute] INFO git cat-file --batch-check 18:39:05 2023-01-03 18:39:05,096 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) 18:39:05 2023-01-03 18:39:05,100 [execute] INFO git cat-file --batch 18:39:05 2023-01-03 18:39:05,101 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) 18:39:05 2023-01-03 18:39:05,105 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-203/.semver/PR-203 18:39:05 0.0.0 [Pipeline] } 18:39:05 $ docker exec --env ******** --env ******** 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a ssh-agent -k 18:39:05 unset SSH_AUTH_SOCK; 18:39:05 unset SSH_AGENT_PID; 18:39:05 echo Agent pid 77 killed; 18:39:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:39:05 + git semver [Pipeline] } 18:39:05 $ docker stop --time=1 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a 18:39:07 $ docker rm -f --volumes 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a [Pipeline] // withDockerContainer [Pipeline] sh 18:39:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:39:07 Stashed 1 file(s) [Pipeline] echo 18:39:07 [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 18:39:07 provisioning config files... 18:39:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-203@tmp/config11964117579698475468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:39:08 ---> docker-login.sh 18:39:08 nexus3.edgexfoundry.org:10001 18:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:08 Configure a credential helper to remove this warning. See 18:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:08 18:39:08 Login Succeeded 18:39:08 nexus3.edgexfoundry.org:10002 18:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:08 Configure a credential helper to remove this warning. See 18:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:08 18:39:08 Login Succeeded 18:39:08 nexus3.edgexfoundry.org:10003 18:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:08 Configure a credential helper to remove this warning. See 18:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:08 18:39:08 Login Succeeded 18:39:08 nexus3.edgexfoundry.org:10004 18:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:08 Configure a credential helper to remove this warning. See 18:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:08 18:39:08 Login Succeeded 18:39:08 docker.io 18:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:08 Configure a credential helper to remove this warning. See 18:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:08 18:39:08 Login Succeeded 18:39:08 ---> docker-login.sh ends [Pipeline] } 18:39:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:39:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:39:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:39:08 ========================================================= 18:39:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:39:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:39:09 Sending build context to Docker daemon 27.56MB 18:39:09 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:39:09 Step 2/13 : FROM ${BASE} AS builder 18:39:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:39:09 213ec9aee27d: Pulling fs layer 18:39:09 4583459ba037: Pulling fs layer 18:39:09 93c1e223e6f2: Pulling fs layer 18:39:09 53926ce57604: Pulling fs layer 18:39:09 21b2b0c7a3f4: Pulling fs layer 18:39:09 22ff95d597cd: Pulling fs layer 18:39:09 12d6caf4c0d1: Pulling fs layer 18:39:09 96b7cbca73a9: Pulling fs layer 18:39:09 a7acece74701: Pulling fs layer 18:39:09 22ff95d597cd: Waiting 18:39:09 12d6caf4c0d1: Waiting 18:39:09 96b7cbca73a9: Waiting 18:39:09 53926ce57604: Waiting 18:39:09 21b2b0c7a3f4: Waiting 18:39:09 93c1e223e6f2: Verifying Checksum 18:39:09 93c1e223e6f2: Download complete 18:39:09 4583459ba037: Verifying Checksum 18:39:09 4583459ba037: Download complete 18:39:09 21b2b0c7a3f4: Verifying Checksum 18:39:09 21b2b0c7a3f4: Download complete 18:39:09 22ff95d597cd: Verifying Checksum 18:39:09 213ec9aee27d: Verifying Checksum 18:39:09 213ec9aee27d: Download complete 18:39:09 12d6caf4c0d1: Download complete 18:39:09 213ec9aee27d: Pull complete 18:39:09 4583459ba037: Pull complete 18:39:09 93c1e223e6f2: Pull complete 18:39:09 a7acece74701: Verifying Checksum 18:39:09 a7acece74701: Download complete 18:39:10 96b7cbca73a9: Verifying Checksum 18:39:10 96b7cbca73a9: Download complete 18:39:10 53926ce57604: Verifying Checksum 18:39:10 53926ce57604: Download complete 18:39:13 53926ce57604: Pull complete 18:39:13 21b2b0c7a3f4: Pull complete 18:39:13 22ff95d597cd: Pull complete 18:39:13 12d6caf4c0d1: Pull complete 18:39:15 96b7cbca73a9: Pull complete 18:39:16 a7acece74701: Pull complete 18:39:16 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:39:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:39:16 ---> db6d94c90886 18:39:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:39:19 ---> Running in 630f3073b07f 18:39:19 Removing intermediate container 630f3073b07f 18:39:19 ---> 298d6d81e65e 18:39:19 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:39:19 ---> Running in ab068f51ef50 18:39:19 Removing intermediate container ab068f51ef50 18:39:19 ---> 669de2fd053f 18:39:19 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:39:19 ---> Running in 30763d779585 18:39:19 Removing intermediate container 30763d779585 18:39:19 ---> 6ff058186c15 18:39:19 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:39:19 ---> Running in 0404540d101c 18:39:19 Removing intermediate container 0404540d101c 18:39:19 ---> 5b03f483a501 18:39:19 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:39:20 ---> Running in 8f59bf3a1b5d 18:39:20 Removing intermediate container 8f59bf3a1b5d 18:39:20 ---> 49e3d544fc1b 18:39:20 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:20 ---> Running in 9e6ae540b04a 18:39:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:39:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:39:20 OK: 211 MiB in 51 packages 18:39:21 Removing intermediate container 9e6ae540b04a 18:39:21 ---> 053816bdd8ca 18:39:21 Step 9/13 : WORKDIR /device-onvif-camera 18:39:21 ---> Running in ff46887beff3 18:39:21 Removing intermediate container ff46887beff3 18:39:21 ---> 74d7ae86e0cd 18:39:21 Step 10/13 : COPY go.mod vendor* ./ 18:39:21 ---> dced186a10a6 18:39:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:39:21 ---> Running in 42e6cff6c84b 18:39:22 Still waiting to schedule task 18:39:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:39:43 Removing intermediate container 42e6cff6c84b 18:39:43 ---> 61ab2df09146 18:39:43 Step 12/13 : COPY . . 18:39:43 ---> b52597e7b52b 18:39:43 Step 13/13 : RUN ${MAKE} 18:39:43 ---> Running in 8158ce81fe32 18:39:43 noop 18:39:43 Removing intermediate container 8158ce81fe32 18:39:43 ---> 45c2fe1836b4 18:39:43 Successfully built 45c2fe1836b4 18:39:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:43 + docker inspect -f . ci-base-image-x86_64 18:39:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:43 prd-ubuntu20.04-docker-8c-8g-936 does not seem to be running inside a container 18:39:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-203 -v /w/workspace/undry_device-onvif-camera_PR-203:/w/workspace/undry_device-onvif-camera_PR-203:rw,z -v /w/workspace/undry_device-onvif-camera_PR-203@tmp:/w/workspace/undry_device-onvif-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:39:43 $ docker top e83c8072ac5351dfb7742f70f53cef7754e8a9613ed1577efcbf44bd31df9016 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:44 + go version 18:39:44 go version go1.18.7 linux/amd64 [Pipeline] } 18:39:44 $ docker stop --time=1 e83c8072ac5351dfb7742f70f53cef7754e8a9613ed1577efcbf44bd31df9016 18:39:45 $ docker rm -f --volumes e83c8072ac5351dfb7742f70f53cef7754e8a9613ed1577efcbf44bd31df9016 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:45 + docker inspect -f . ci-base-image-x86_64 18:39:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:45 prd-ubuntu20.04-docker-8c-8g-936 does not seem to be running inside a container 18:39:45 $ 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-203 -v /w/workspace/undry_device-onvif-camera_PR-203:/w/workspace/undry_device-onvif-camera_PR-203:rw,z -v /w/workspace/undry_device-onvif-camera_PR-203@tmp:/w/workspace/undry_device-onvif-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:39:46 $ docker top 8757c53c9099a9000a03ba1ad1aadb33ac316426f265d7b2e795b34dd6b9f049 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:46 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-203 [Pipeline] fileExists [Pipeline] sh 18:39:46 + make test 18:39:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:39:47 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:39:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:40:00 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 29.3% of statements 18:40:00 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:40:00 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.306s coverage: 86.5% of statements 18:40:07 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:40:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:40:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:40:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:40:10 ./bin/test-attribution-txt.sh [Pipeline] echo 18:40:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:40:10 $ docker stop --time=1 8757c53c9099a9000a03ba1ad1aadb33ac316426f265d7b2e795b34dd6b9f049 18:40:12 $ docker rm -f --volumes 8757c53c9099a9000a03ba1ad1aadb33ac316426f265d7b2e795b34dd6b9f049 [Pipeline] // withDockerContainer [Pipeline] sh 18:40:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:40:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:40:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:40:14 + ls -al . 18:40:14 total 248 18:40:14 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:39 . 18:40:14 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:38 .. 18:40:14 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:40 .git 18:40:14 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:38 .github 18:40:14 -rw-rw-r-- 1 jenkins jenkins 496 Jan 3 18:38 .gitignore 18:40:14 -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 18:38 .golangci.yml 18:40:14 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:39 .semver 18:40:14 -rw-rw-r-- 1 jenkins jenkins 9742 Jan 3 18:38 Attribution.txt 18:40:14 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 3 18:38 CHANGELOG.md 18:40:14 -rw-rw-r-- 1 jenkins jenkins 1619 Jan 3 18:38 Dockerfile 18:40:14 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:38 GOVERNANCE.md 18:40:14 -rw-rw-r-- 1 jenkins jenkins 734 Jan 3 18:38 Jenkinsfile 18:40:14 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 18:38 LICENSE 18:40:14 -rw-rw-r-- 1 jenkins jenkins 2858 Jan 3 18:38 Makefile 18:40:14 -rw-rw-r-- 1 jenkins jenkins 625 Jan 3 18:38 OWNERS.md 18:40:14 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 3 18:38 README.md 18:40:14 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 18:39 VERSION 18:40:14 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:38 bin 18:40:14 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:38 cmd 18:40:14 -rw-r--r-- 1 jenkins jenkins 79184 Jan 3 18:40 coverage.out 18:40:14 drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 18:38 doc 18:40:14 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 3 18:38 go.mod 18:40:14 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 3 18:38 go.sum 18:40:14 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:38 internal 18:40:14 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:38 snap 18:40:14 -rw-rw-r-- 1 jenkins jenkins 236 Jan 3 18:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:14 + 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=3c7099823a15321e4c104e4563a39310db07d158 --label arch=amd64 --label version=0.0.0 . 18:40:14 Sending build context to Docker daemon 27.64MB 18:40:14 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:40:14 Step 2/26 : FROM ${BASE} AS builder 18:40:14 ---> 45c2fe1836b4 18:40:14 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:40:14 ---> Running in 734bcd35989f 18:40:14 Removing intermediate container 734bcd35989f 18:40:14 ---> 3de1af58d3db 18:40:14 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:40:14 ---> Running in 398fe87a7c6e 18:40:14 Removing intermediate container 398fe87a7c6e 18:40:14 ---> 530a96afa2c6 18:40:14 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:40:14 ---> Running in 942b4eb92e37 18:40:14 Removing intermediate container 942b4eb92e37 18:40:14 ---> 82526018d355 18:40:14 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:40:14 ---> Running in 488d27ad356f 18:40:15 Removing intermediate container 488d27ad356f 18:40:15 ---> b82491185f03 18:40:15 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:40:15 ---> Running in a4fced2ce413 18:40:15 Removing intermediate container a4fced2ce413 18:40:15 ---> feb4ddc0875f 18:40:15 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:40:15 ---> Running in 9c852fffab9d 18:40:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:40:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:40:15 OK: 211 MiB in 51 packages 18:40:16 Removing intermediate container 9c852fffab9d 18:40:16 ---> 8502b983af9b 18:40:16 Step 9/26 : WORKDIR /device-onvif-camera 18:40:16 ---> Running in 08c9ced93655 18:40:16 Removing intermediate container 08c9ced93655 18:40:16 ---> d2eab92b45d4 18:40:16 Step 10/26 : COPY go.mod vendor* ./ 18:40:16 ---> ab09c21e6781 18:40:16 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:40:16 ---> Running in 9dc797607619 18:40:17 Removing intermediate container 9dc797607619 18:40:17 ---> 1a34cec8e36d 18:40:17 Step 12/26 : COPY . . 18:40:17 ---> e4e5ffff97e4 18:40:17 Step 13/26 : RUN ${MAKE} 18:40:17 ---> Running in 60cf4fea2125 18:40:17 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 18:40:39 Removing intermediate container 60cf4fea2125 18:40:39 ---> 9d79fa91688e 18:40:39 Step 14/26 : FROM alpine:3.16 18:40:39 3.16: Pulling from library/alpine 18:40:39 ca7dd9ec2225: Pulling fs layer 18:40:39 ca7dd9ec2225: Verifying Checksum 18:40:39 ca7dd9ec2225: Download complete 18:40:39 ca7dd9ec2225: Pull complete 18:40:39 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:40:39 Status: Downloaded newer image for alpine:3.16 18:40:39 ---> bfe296a52501 18:40:39 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:40:39 ---> Running in f0a64d155b2c 18:40:39 Removing intermediate container f0a64d155b2c 18:40:39 ---> 60540157f9b9 18:40:39 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:40:39 ---> Running in f7693740dfd3 18:40:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:40:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:40:39 (1/6) Installing dumb-init (1.2.5-r1) 18:40:39 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:40:39 (3/6) Installing libsodium (1.0.18-r0) 18:40:39 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:40:39 (5/6) Installing libzmq (4.3.4-r0) 18:40:39 (6/6) Installing zeromq (4.3.4-r0) 18:40:39 Executing busybox-1.35.0-r17.trigger 18:40:39 OK: 8 MiB in 20 packages 18:40:40 Removing intermediate container f7693740dfd3 18:40:40 ---> 23095d8e0fd9 18:40:40 Step 17/26 : WORKDIR / 18:40:40 ---> Running in 8bc4816c0394 18:40:40 Removing intermediate container 8bc4816c0394 18:40:40 ---> 8e1d1fcceb31 18:40:40 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:40:41 ---> 1f89eb03976f 18:40:41 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:40:41 ---> 01d38431e740 18:40:41 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:40:41 ---> 0535ca639f8e 18:40:41 Step 21/26 : EXPOSE 59984 18:40:41 ---> Running in 5ec34bf5ca9c 18:40:41 Removing intermediate container 5ec34bf5ca9c 18:40:41 ---> 81be9ae62bf0 18:40:41 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:40:41 ---> Running in 170e420cfee2 18:40:41 Removing intermediate container 170e420cfee2 18:40:41 ---> d1780e12c22f 18:40:41 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:40:41 ---> Running in bcd4cac916c8 18:40:41 Removing intermediate container bcd4cac916c8 18:40:41 ---> 49f7440236ca 18:40:41 Step 24/26 : LABEL arch=amd64 18:40:41 ---> Running in aaf535fd43d3 18:40:41 Removing intermediate container aaf535fd43d3 18:40:41 ---> 54c71db39c29 18:40:41 Step 25/26 : LABEL git_sha=3c7099823a15321e4c104e4563a39310db07d158 18:40:41 ---> Running in 59bd68528e5c 18:40:41 Removing intermediate container 59bd68528e5c 18:40:41 ---> 0d8f7d5eb7f9 18:40:41 Step 26/26 : LABEL version=0.0.0 18:40:41 ---> Running in 93da4331cdf4 18:40:41 Removing intermediate container 93da4331cdf4 18:40:41 ---> c7ee3379070b 18:40:41 [Warning] One or more build-args [ARCH] were not consumed 18:40:41 Successfully built c7ee3379070b 18:40:41 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 18:40:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:40:42 18:40:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:40:42 latest: Pulling from edgex-lftools-log-publisher 18:40:42 5eb5b503b376: Pulling fs layer 18:40:42 5c69ac0246d0: Pulling fs layer 18:40:42 ec43610c2a17: Pulling fs layer 18:40:42 3a2ae6a8a46f: Pulling fs layer 18:40:42 33b1e0a273af: Pulling fs layer 18:40:42 5d3b04190fa2: Pulling fs layer 18:40:42 2f39f015ded8: Pulling fs layer 18:40:42 3a2ae6a8a46f: Waiting 18:40:42 5d3b04190fa2: Waiting 18:40:42 2f39f015ded8: Waiting 18:40:42 33b1e0a273af: Waiting 18:40:42 5c69ac0246d0: Download complete 18:40:42 3a2ae6a8a46f: Verifying Checksum 18:40:42 3a2ae6a8a46f: Download complete 18:40:42 33b1e0a273af: Verifying Checksum 18:40:42 33b1e0a273af: Download complete 18:40:42 5d3b04190fa2: Verifying Checksum 18:40:42 5d3b04190fa2: Download complete 18:40:42 ec43610c2a17: Verifying Checksum 18:40:42 ec43610c2a17: Download complete 18:40:42 5eb5b503b376: Verifying Checksum 18:40:42 5eb5b503b376: Download complete 18:40:43 2f39f015ded8: Download complete 18:40:43 5eb5b503b376: Pull complete 18:40:44 5c69ac0246d0: Pull complete 18:40:44 ec43610c2a17: Pull complete 18:40:44 3a2ae6a8a46f: Pull complete 18:40:44 33b1e0a273af: Pull complete 18:40:44 5d3b04190fa2: Pull complete 18:40:49 2f39f015ded8: Pull complete 18:40:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:40:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:40:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:40:49 prd-ubuntu20.04-docker-8c-8g-936 does not seem to be running inside a container 18:40:49 $ 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-203 -v /w/workspace/undry_device-onvif-camera_PR-203:/w/workspace/undry_device-onvif-camera_PR-203:rw,z -v /w/workspace/undry_device-onvif-camera_PR-203@tmp:/w/workspace/undry_device-onvif-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:40:52 $ docker top fd954cb5b23489b728b6b90d16305fc48c2fb2266d7c0be6032e7a5bc14bee88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:52 ---> job-cost.sh 18:40:52 lf-activate-venv: SKIPPING 18:40:52 INFO: No Stack... 18:40:52 INFO: Retrieving Pricing Info for: v3-standard-8 18:40:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-937 in /w/workspace/undry_device-onvif-camera_PR-203 [Pipeline] { [Pipeline] ws 18:40:52 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 18:40:52 The recommended git tool is: git 18:40:52 INFO: Archiving Costs [Pipeline] sh 18:40:53 + cat /w/workspace/undry_device-onvif-camera_PR-203/archives/cost.csv 18:40:53 + cut -d, -f6 [Pipeline] lock 18:40:53 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] 18:40:53 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] did not exist. Created. 18:40:53 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:40:53 + echo total: 0.2199999988079071 [Pipeline] stash 18:40:53 Stashed 1 file(s) [Pipeline] } 18:40:53 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:40:53 $ docker stop --time=1 fd954cb5b23489b728b6b90d16305fc48c2fb2266d7c0be6032e7a5bc14bee88 18:40:54 $ docker rm -f --volumes fd954cb5b23489b728b6b90d16305fc48c2fb2266d7c0be6032e7a5bc14bee88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:40:57 using credential edgex-jenkins-ssh 18:40:57 Cloning the remote Git repository 18:40:57 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:40:57 > git init /w/workspace/device-onvif-camera/2 # timeout=10 18:40:57 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:40:57 > git --version # timeout=10 18:40:57 > git --version # 'git version 2.25.1' 18:40:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:41:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:41:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:41:02 Merging remotes/origin/main commit 4a1514bac2c3623567fb323734989edc763968b8 into PR head commit 3c7099823a15321e4c104e4563a39310db07d158 18:41:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:41:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:41:02 using GIT_SSH to set credentials SSH Credentials for GitHub 18:41:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:41:02 > git config core.sparsecheckout # timeout=10 18:41:02 > git checkout -f 3c7099823a15321e4c104e4563a39310db07d158 # timeout=10 18:41:03 Merge succeeded, producing 3c7099823a15321e4c104e4563a39310db07d158 18:41:03 Checking out Revision 3c7099823a15321e4c104e4563a39310db07d158 (PR-203) 18:41:03 > git remote # timeout=10 18:41:03 > git config --get remote.origin.url # timeout=10 18:41:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:41:03 > git merge 4a1514bac2c3623567fb323734989edc763968b8 # timeout=10 18:41:03 > git rev-parse HEAD^{commit} # timeout=10 18:41:03 > git config core.sparsecheckout # timeout=10 18:41:03 > git checkout -f 3c7099823a15321e4c104e4563a39310db07d158 # timeout=10 18:41:06 Commit message: "refactor!: Rename command line flags for the sake of consistency" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:41:07 % Total % Received % Xferd Average Speed Time Time Time Current 18:41:07 Dload Upload Total Spent Left Speed 18:41:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 38522 0 --:--:-- --:--:-- --:--:-- 38639 [Pipeline] sh 18:41:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:41:09 + sudo tee /etc/docker/daemon.new 18:41:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:41:09 { 18:41:09 "registry-mirrors": [ 18:41:09 "https://nexus3.edgexfoundry.org:10001" 18:41:09 ], 18:41:09 "bip": "10.250.0.254/24", 18:41:09 "hosts": [ 18:41:09 "tcp://0.0.0.0:5555", 18:41:09 "unix:///var/run/docker.sock" 18:41:09 ], 18:41:09 "mtu": 1458, 18:41:09 "selinux-enabled": true, 18:41:09 "seccomp-profile": "/etc/docker/seccomp.json" 18:41:09 } [Pipeline] sh 18:41:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:41:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:27 provisioning config files... 18:41:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config15152967485032651600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:28 ---> docker-login.sh 18:41:28 nexus3.edgexfoundry.org:10001 18:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:29 Configure a credential helper to remove this warning. See 18:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:29 18:41:29 Login Succeeded 18:41:29 nexus3.edgexfoundry.org:10002 18:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:29 Configure a credential helper to remove this warning. See 18:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:29 18:41:29 Login Succeeded 18:41:29 nexus3.edgexfoundry.org:10003 18:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:29 Configure a credential helper to remove this warning. See 18:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:29 18:41:29 Login Succeeded 18:41:29 nexus3.edgexfoundry.org:10004 18:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:30 Configure a credential helper to remove this warning. See 18:41:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:30 18:41:30 Login Succeeded 18:41:30 docker.io 18:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:30 Configure a credential helper to remove this warning. See 18:41:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:30 18:41:30 Login Succeeded 18:41:30 ---> docker-login.sh ends [Pipeline] } 18:41:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:41:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:30 ========================================================= 18:41:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:41:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:31 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:41:31 Sending build context to Docker daemon 20.49MB 18:41:31 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:41:31 Step 2/13 : FROM ${BASE} AS builder 18:41:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:41:32 9b18e9b68314: Pulling fs layer 18:41:32 35d82f9e3411: Pulling fs layer 18:41:32 e16973657156: Pulling fs layer 18:41:32 fc693d55d65f: Pulling fs layer 18:41:32 7e9fc2657dce: Pulling fs layer 18:41:32 dda99020689f: Pulling fs layer 18:41:32 db1c61fa0a46: Pulling fs layer 18:41:32 891c053d2c06: Pulling fs layer 18:41:32 fc693d55d65f: Waiting 18:41:32 7e9fc2657dce: Waiting 18:41:32 dda99020689f: Waiting 18:41:32 db1c61fa0a46: Waiting 18:41:32 891c053d2c06: Waiting 18:41:32 e16973657156: Download complete 18:41:32 35d82f9e3411: Download complete 18:41:32 7e9fc2657dce: Verifying Checksum 18:41:32 7e9fc2657dce: Download complete 18:41:32 dda99020689f: Verifying Checksum 18:41:32 dda99020689f: Download complete 18:41:32 9b18e9b68314: Verifying Checksum 18:41:32 9b18e9b68314: Download complete 18:41:33 9b18e9b68314: Pull complete 18:41:33 891c053d2c06: Verifying Checksum 18:41:33 891c053d2c06: Download complete 18:41:34 35d82f9e3411: Pull complete 18:41:34 e16973657156: Pull complete 18:41:35 db1c61fa0a46: Verifying Checksum 18:41:35 db1c61fa0a46: Download complete 18:41:35 fc693d55d65f: Verifying Checksum 18:41:35 fc693d55d65f: Download complete 18:41:48 fc693d55d65f: Pull complete 18:41:48 7e9fc2657dce: Pull complete 18:41:48 dda99020689f: Pull complete 18:41:54 db1c61fa0a46: Pull complete 18:41:56 891c053d2c06: Pull complete 18:41:56 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:41:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:41:56 ---> f96f9c87975a 18:41:56 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:41:58 ---> Running in 5224ac80cff8 18:41:58 Removing intermediate container 5224ac80cff8 18:41:58 ---> b7f29817e498 18:41:58 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:41:58 ---> Running in 545d3eb67ac6 18:41:58 Removing intermediate container 545d3eb67ac6 18:41:58 ---> 1b9d2bb171f0 18:41:58 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:41:58 ---> Running in 589de5e6c4df 18:41:58 Removing intermediate container 589de5e6c4df 18:41:58 ---> 46e51475b8f8 18:41:58 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:41:58 ---> Running in 9ed09873eaea 18:41:59 Removing intermediate container 9ed09873eaea 18:41:59 ---> c021cdec8463 18:41:59 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:41:59 ---> Running in 34277af05083 18:41:59 Removing intermediate container 34277af05083 18:41:59 ---> cbb1e9b9f286 18:41:59 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:41:59 ---> Running in c3498356b765 18:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:42:02 OK: 221 MiB in 51 packages 18:42:03 Removing intermediate container c3498356b765 18:42:03 ---> 3cf11a103c31 18:42:03 Step 9/13 : WORKDIR /device-onvif-camera 18:42:03 ---> Running in f608071bca6f 18:42:03 Removing intermediate container f608071bca6f 18:42:03 ---> e8b5eed42f42 18:42:03 Step 10/13 : COPY go.mod vendor* ./ 18:42:04 ---> aab5d33d1473 18:42:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:04 ---> Running in 98f1b60c1c70 18:43:01 Removing intermediate container 98f1b60c1c70 18:43:01 ---> 21b5b76b6fec 18:43:01 Step 12/13 : COPY . . 18:43:01 ---> 2ee250540950 18:43:01 Step 13/13 : RUN ${MAKE} 18:43:01 ---> Running in 624298c36228 18:43:01 noop 18:43:01 Removing intermediate container 624298c36228 18:43:01 ---> 15bcf90ed1e9 18:43:01 Successfully built 15bcf90ed1e9 18:43:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:01 + docker inspect -f . ci-base-image-arm64 18:43:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:01 prd-ubuntu20.04-docker-arm64-4c-16g-937 does not seem to be running inside a container 18:43:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:43:02 $ docker top 65dfd2f22dd0f18e3bedf68708a911b871afe6ea82bdbdbabaf0f01bd91a60ea -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:03 + go version 18:43:03 go version go1.18.7 linux/arm64 [Pipeline] } 18:43:03 $ docker stop --time=1 65dfd2f22dd0f18e3bedf68708a911b871afe6ea82bdbdbabaf0f01bd91a60ea 18:43:05 $ docker rm -f --volumes 65dfd2f22dd0f18e3bedf68708a911b871afe6ea82bdbdbabaf0f01bd91a60ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:05 + docker inspect -f . ci-base-image-arm64 18:43:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:06 prd-ubuntu20.04-docker-arm64-4c-16g-937 does not seem to be running inside a container 18:43:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:43:09 $ docker top cc8e4337b904c294c2c2aa5cef402949553362818966724f2b8a6a483638ab91 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:10 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 18:43:10 + make test 18:43:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:43:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:44:49 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:44:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.205s coverage: 29.3% of statements 18:44:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:45:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.157s coverage: 86.5% of statements 18:45:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:45:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:45:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:45:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:45:33 ./bin/test-attribution-txt.sh [Pipeline] echo 18:45:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:45:34 $ docker stop --time=1 cc8e4337b904c294c2c2aa5cef402949553362818966724f2b8a6a483638ab91 18:45:35 $ docker rm -f --volumes cc8e4337b904c294c2c2aa5cef402949553362818966724f2b8a6a483638ab91 [Pipeline] // withDockerContainer [Pipeline] sh 18:45:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:45:36 Warning: overwriting stash ‘coverage-report’ 18:45:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:45:38 + ls -al . 18:45:38 total 244 18:45:38 drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 18:43 . 18:45:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:40 .. 18:45:38 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:41 .git 18:45:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:41 .github 18:45:38 -rw-rw-r-- 1 jenkins jenkins 496 Jan 3 18:41 .gitignore 18:45:38 -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 18:41 .golangci.yml 18:45:38 -rw-rw-r-- 1 jenkins jenkins 9742 Jan 3 18:41 Attribution.txt 18:45:38 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 3 18:41 CHANGELOG.md 18:45:38 -rw-rw-r-- 1 jenkins jenkins 1619 Jan 3 18:41 Dockerfile 18:45:38 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:41 GOVERNANCE.md 18:45:38 -rw-rw-r-- 1 jenkins jenkins 734 Jan 3 18:41 Jenkinsfile 18:45:38 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 18:41 LICENSE 18:45:38 -rw-rw-r-- 1 jenkins jenkins 2858 Jan 3 18:41 Makefile 18:45:38 -rw-rw-r-- 1 jenkins jenkins 625 Jan 3 18:41 OWNERS.md 18:45:38 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 3 18:41 README.md 18:45:38 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 18:39 VERSION 18:45:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:41 bin 18:45:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:41 cmd 18:45:38 -rw-r--r-- 1 jenkins jenkins 79184 Jan 3 18:45 coverage.out 18:45:38 drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 18:41 doc 18:45:38 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 3 18:41 go.mod 18:45:38 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 3 18:41 go.sum 18:45:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:41 internal 18:45:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:41 snap 18:45:38 -rw-rw-r-- 1 jenkins jenkins 236 Jan 3 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:38 + 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=3c7099823a15321e4c104e4563a39310db07d158 --label arch=arm64 --label version=0.0.0 . 18:45:38 Sending build context to Docker daemon 20.57MB 18:45:38 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:45:38 Step 2/26 : FROM ${BASE} AS builder 18:45:38 ---> 15bcf90ed1e9 18:45:38 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:45:40 ---> Running in dfab621308a3 18:45:40 Removing intermediate container dfab621308a3 18:45:40 ---> 2b82ec43d04d 18:45:40 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:45:40 ---> Running in 8d048bb8c95f 18:45:40 Removing intermediate container 8d048bb8c95f 18:45:40 ---> a88607ef6a00 18:45:40 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:45:41 ---> Running in 0d37cfc9e8fb 18:45:41 Removing intermediate container 0d37cfc9e8fb 18:45:41 ---> 650e4deda190 18:45:41 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:45:41 ---> Running in 9a0a32803d46 18:45:41 Removing intermediate container 9a0a32803d46 18:45:41 ---> bd24a9bd88ca 18:45:41 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:45:42 ---> Running in 2faa2e82e07f 18:45:42 Removing intermediate container 2faa2e82e07f 18:45:42 ---> f05255dbb549 18:45:42 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:45:42 ---> Running in 42507d158d27 18:45:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:45:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:45:44 OK: 221 MiB in 51 packages 18:45:46 Removing intermediate container 42507d158d27 18:45:46 ---> 6e993633f70f 18:45:46 Step 9/26 : WORKDIR /device-onvif-camera 18:45:46 ---> Running in aacf2f832cfc 18:45:46 Removing intermediate container aacf2f832cfc 18:45:46 ---> 40b972279dc3 18:45:46 Step 10/26 : COPY go.mod vendor* ./ 18:45:47 ---> 2e72dbee7520 18:45:47 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:47 ---> Running in 168d30b59f7d 18:45:49 Removing intermediate container 168d30b59f7d 18:45:49 ---> 00bd062a3430 18:45:49 Step 12/26 : COPY . . 18:45:52 ---> 132d13951f56 18:45:52 Step 13/26 : RUN ${MAKE} 18:45:52 ---> Running in 0508b64256a1 18:45:53 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 18:48:45 Removing intermediate container 0508b64256a1 18:48:45 ---> 69d9b758a257 18:48:45 Step 14/26 : FROM alpine:3.16 18:48:45 3.16: Pulling from library/alpine 18:48:45 6875df1f5354: Pulling fs layer 18:48:45 6875df1f5354: Verifying Checksum 18:48:45 6875df1f5354: Download complete 18:48:45 6875df1f5354: Pull complete 18:48:45 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:48:45 Status: Downloaded newer image for alpine:3.16 18:48:45 ---> 2b4661558fb8 18:48:45 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:48:45 ---> Running in be4e65154283 18:48:45 Removing intermediate container be4e65154283 18:48:45 ---> c042af45dfa1 18:48:45 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:48:45 ---> Running in e855b35eaa11 18:48:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:48:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:48:45 (1/6) Installing dumb-init (1.2.5-r1) 18:48:45 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:48:45 (3/6) Installing libsodium (1.0.18-r0) 18:48:45 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:48:45 (5/6) Installing libzmq (4.3.4-r0) 18:48:45 (6/6) Installing zeromq (4.3.4-r0) 18:48:45 Executing busybox-1.35.0-r17.trigger 18:48:45 OK: 8 MiB in 20 packages 18:48:45 Removing intermediate container e855b35eaa11 18:48:45 ---> e741e24eb906 18:48:45 Step 17/26 : WORKDIR / 18:48:45 ---> Running in c4c5d5f7a077 18:48:45 Removing intermediate container c4c5d5f7a077 18:48:45 ---> ad157efd0037 18:48:45 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:48:45 ---> dcfe7ca67174 18:48:45 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:48:45 ---> 6bae9daabd65 18:48:45 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:48:45 ---> b029f5a0f88e 18:48:45 Step 21/26 : EXPOSE 59984 18:48:45 ---> Running in ac0094118024 18:48:45 Removing intermediate container ac0094118024 18:48:45 ---> 15f95c3d235b 18:48:45 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:48:45 ---> Running in 6c242f228275 18:48:45 Removing intermediate container 6c242f228275 18:48:45 ---> a137142fcb29 18:48:45 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:48:45 ---> Running in 2a746339359b 18:48:45 Removing intermediate container 2a746339359b 18:48:45 ---> 21a04d9ba9f7 18:48:45 Step 24/26 : LABEL arch=arm64 18:48:45 ---> Running in 6156d7faf865 18:48:45 Removing intermediate container 6156d7faf865 18:48:45 ---> cde66d0c2f77 18:48:45 Step 25/26 : LABEL git_sha=3c7099823a15321e4c104e4563a39310db07d158 18:48:45 ---> Running in a140e4561a7b 18:48:45 Removing intermediate container a140e4561a7b 18:48:45 ---> 231be665c805 18:48:45 Step 26/26 : LABEL version=0.0.0 18:48:45 ---> Running in 36821c371a63 18:48:45 Removing intermediate container 36821c371a63 18:48:45 ---> 431e43cf95ae 18:48:45 [Warning] One or more build-args [ARCH] were not consumed 18:48:45 Successfully built 431e43cf95ae 18:48:45 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 18:48:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:48:45 18:48:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:48:45 arm64: Pulling from edgex-lftools-log-publisher 18:48:45 8998bd30e6a1: Pulling fs layer 18:48:45 04944245beec: Pulling fs layer 18:48:45 699f458cf7ca: Pulling fs layer 18:48:45 765212b225bb: Pulling fs layer 18:48:45 f23df028b6ca: Pulling fs layer 18:48:45 d65c8cfc05b1: Pulling fs layer 18:48:45 2437ff75d9bd: Pulling fs layer 18:48:45 f23df028b6ca: Waiting 18:48:45 d65c8cfc05b1: Waiting 18:48:45 2437ff75d9bd: Waiting 18:48:45 765212b225bb: Waiting 18:48:46 04944245beec: Verifying Checksum 18:48:46 04944245beec: Download complete 18:48:46 765212b225bb: Verifying Checksum 18:48:46 765212b225bb: Download complete 18:48:46 f23df028b6ca: Verifying Checksum 18:48:46 f23df028b6ca: Download complete 18:48:46 d65c8cfc05b1: Verifying Checksum 18:48:46 d65c8cfc05b1: Download complete 18:48:46 699f458cf7ca: Verifying Checksum 18:48:46 699f458cf7ca: Download complete 18:48:46 8998bd30e6a1: Verifying Checksum 18:48:46 8998bd30e6a1: Download complete 18:48:49 2437ff75d9bd: Verifying Checksum 18:48:49 2437ff75d9bd: Download complete 18:48:50 8998bd30e6a1: Pull complete 18:48:51 04944245beec: Pull complete 18:48:52 699f458cf7ca: Pull complete 18:48:52 765212b225bb: Pull complete 18:48:53 f23df028b6ca: Pull complete 18:48:53 d65c8cfc05b1: Pull complete 18:49:08 2437ff75d9bd: Pull complete 18:49:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:49:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:49:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:08 prd-ubuntu20.04-docker-arm64-4c-16g-937 does not seem to be running inside a container 18:49:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:49:12 $ docker top c9e389e21a4422aa12a47ae7841db558beae47a27859451f08edbf0ef0351258 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:49:12 ---> job-cost.sh 18:49:12 lf-activate-venv: SKIPPING 18:49:12 INFO: No Stack... 18:49:13 INFO: Retrieving Pricing Info for: v3-standard-4 18:49:14 INFO: Archiving Costs [Pipeline] sh 18:49:14 + + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 18:49:14 cut -d, -f6 [Pipeline] lock 18:49:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] 18:49:14 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] did not exist. Created. 18:49:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:49:15 /w/workspace/device-onvif-camera/2@tmp/durable-6907d2e5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:49:16 + echo total: 0.10999999940395355 [Pipeline] stash 18:49:16 Warning: overwriting stash ‘stack-cost’ 18:49:16 Stashed 1 file(s) [Pipeline] } 18:49:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:49:16 $ docker stop --time=1 c9e389e21a4422aa12a47ae7841db558beae47a27859451f08edbf0ef0351258 18:49:17 $ docker rm -f --volumes c9e389e21a4422aa12a47ae7841db558beae47a27859451f08edbf0ef0351258 [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 18:49:18 provisioning config files... 18:49:18 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-203@tmp/config4024082655235591688tmp [Pipeline] { [Pipeline] sh 18:49:18 + set +x 18:49:18 + bash -s -- 18:49:18 + curl -s https://codecov.io/bash 18:49:18 18:49:18 _____ _ 18:49:18 / ____| | | 18:49:18 | | ___ __| | ___ ___ _____ __ 18:49:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:49:18 | |___| (_) | (_| | __/ (_| (_) \ V / 18:49:18 \_____\___/ \__,_|\___|\___\___/ \_/ 18:49:18 Bash-1.0.6 18:49:18 18:49:18 18:49:18 ==> git version 2.25.1 found 18:49:18 ==> 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 18:49:18 Release-Date: 2020-01-08 18:49:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:49:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:49:18 ==> Jenkins CI detected. 18:49:18 current dir:  /w/workspace/undry_device-onvif-camera_PR-203 18:49:18 project root: . 18:49:18 --> token set from env 18:49:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:49:18 ==> Running gcov in . (disable via -X gcov) 18:49:18 ==> Python coveragepy not found 18:49:18 ==> Searching for coverage reports in: 18:49:18 + . 18:49:18 -> Found 1 reports 18:49:18 ==> Detecting git/mercurial file structure 18:49:18 ==> Reading reports 18:49:18 + ./coverage.out bytes=79184 18:49:18 ==> Appending adjustments 18:49:18 https://docs.codecov.io/docs/fixing-reports 18:49:18 + Found adjustments 18:49:18 ==> Gzipping contents 18:49:18 12K /tmp/codecov.VYehng.gz 18:49:18 ==> Uploading reports 18:49:18 url: https://codecov.io 18:49:18 query: branch=PR-203&commit=3c7099823a15321e4c104e4563a39310db07d158&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-203%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=203&job=&cmd_args= 18:49:18 -> Pinging Codecov 18:49:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-203&commit=3c7099823a15321e4c104e4563a39310db07d158&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-203%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=203&job=&cmd_args= 18:49:19 -> Uploading to 18:49:19 https://storage.googleapis.com/codecov/v4/raw/2023-01-03/F29A59C45E3A92E06B3E522C9905F8EF/3c7099823a15321e4c104e4563a39310db07d158/12e3a9b6-74af-45ca-8dc1-f9fea2e9b5e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T184919Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4597d9ecdf16cd016cf2708fcd8465a5529ba2dd270f00b5a8f1335a4dddaace 18:49:19 % Total % Received % Xferd Average Speed Time Time Time Current 18:49:19 Dload Upload Total Spent Left Speed 18:49:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10869 0 0 100 10869 0 54893 --:--:-- --:--:-- --:--:-- 54893 18:49:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3c7099823a15321e4c104e4563a39310db07d158 [Pipeline] } 18:49:19 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 18:49:20 + [ -d /w/workspace/undry_device-onvif-camera_PR-203/archives ] 18:49:20 + ls -al /w/workspace/undry_device-onvif-camera_PR-203/archives 18:49:20 total 16 18:49:20 drwxr-xr-x 3 root root 4096 Jan 3 18:40 . 18:49:20 drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 18:40 .. 18:49:20 drwxr-xr-x 2 root root 4096 Jan 3 18:40 cost 18:49:20 -rw-r--r-- 1 root root 91 Jan 3 18:40 cost.csv 18:49:20 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-203/archives 18:49:20 + ls -al /w/workspace/undry_device-onvif-camera_PR-203/archives 18:49:20 total 16 18:49:20 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:40 . 18:49:20 drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 18:40 .. 18:49:20 drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 18:40 cost 18:49:20 -rw-r--r-- 1 jenkins jenkins 91 Jan 3 18:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:49:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:49:21 ---> package-listing.sh 18:49:21 ++ facter osfamily 18:49:21 ++ tr '[:upper:]' '[:lower:]' 18:49:21 + OS_FAMILY=debian 18:49:21 + workspace=/w/workspace/undry_device-onvif-camera_PR-203 18:49:21 + START_PACKAGES=/tmp/packages_start.txt 18:49:21 + END_PACKAGES=/tmp/packages_end.txt 18:49:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:49:21 + PACKAGES=/tmp/packages_start.txt 18:49:21 + '[' /w/workspace/undry_device-onvif-camera_PR-203 ']' 18:49:21 + PACKAGES=/tmp/packages_end.txt 18:49:21 + case "${OS_FAMILY}" in 18:49:21 + dpkg -l 18:49:21 + grep '^ii' 18:49:21 + '[' -f /tmp/packages_start.txt ']' 18:49:21 + '[' -f /tmp/packages_end.txt ']' 18:49:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:49:21 + '[' /w/workspace/undry_device-onvif-camera_PR-203 ']' 18:49:21 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-203/archives/ 18:49:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-203/archives/ [Pipeline] echo 18:49:21 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-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:49:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:49:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:22 prd-ubuntu20.04-docker-8c-8g-936 does not seem to be running inside a container 18:49:22 $ 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-203/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-203 -v /w/workspace/undry_device-onvif-camera_PR-203:/w/workspace/undry_device-onvif-camera_PR-203:rw,z -v /w/workspace/undry_device-onvif-camera_PR-203@tmp:/w/workspace/undry_device-onvif-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:49:22 $ docker top bd8d736fc749b4f1f5c9ead1decd218e3285b3a848be50c21beec499f3275550 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:23 + touch /tmp/pre-build-complete [Pipeline] sh 18:49:23 + mkdir -p /var/log/sysstat [Pipeline] sh 18:49:23 + ls /var/log/sa-host 18:49:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:49:23 provisioning config files... 18:49:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-203@tmp/config17747365451740890167tmp [Pipeline] { [Pipeline] echo 18:49:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:49:24 ---> create-netrc.sh [Pipeline] } 18:49:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:49:24 ---> python-tools-install.sh [Pipeline] echo 18:49:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:49:24 ---> sudo-logs.sh 18:49:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:49:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:49:25 ---> job-cost.sh 18:49:25 lf-activate-venv: SKIPPING 18:49:25 DEBUG: total: 0.2199999988079071 18:49:25 INFO: Retrieving Stack Cost... 18:49:25 INFO: Retrieving Pricing Info for: v3-standard-8 18:49:26 INFO: Archiving Costs [Pipeline] echo 18:49:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:49:26 ---> logs-deploy.sh 18:49:26 lf-activate-venv: SKIPPING 18:49:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-203/2 18:49:26 INFO: archiving workspace using pattern(s): 18:49:27 Archives upload complete. 18:49:27 INFO: archiving logs to Nexus 18:49:28 ---> uname -a: 18:49:28 Linux prd-ubuntu20-04-docker-8c-8g-936 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:49:28 18:49:28 18:49:28 ---> lscpu: 18:49:28 Architecture: x86_64 18:49:28 CPU op-mode(s): 32-bit, 64-bit 18:49:28 Byte Order: Little Endian 18:49:28 Address sizes: 40 bits physical, 48 bits virtual 18:49:28 CPU(s): 8 18:49:28 On-line CPU(s) list: 0-7 18:49:28 Thread(s) per core: 1 18:49:28 Core(s) per socket: 1 18:49:28 Socket(s): 8 18:49:28 NUMA node(s): 1 18:49:28 Vendor ID: AuthenticAMD 18:49:28 CPU family: 23 18:49:28 Model: 49 18:49:28 Model name: AMD EPYC-Rome Processor 18:49:28 Stepping: 0 18:49:28 CPU MHz: 2799.998 18:49:28 BogoMIPS: 5599.99 18:49:28 Virtualization: AMD-V 18:49:28 Hypervisor vendor: KVM 18:49:28 Virtualization type: full 18:49:28 L1d cache: 256 KiB 18:49:28 L1i cache: 256 KiB 18:49:28 L2 cache: 4 MiB 18:49:28 L3 cache: 128 MiB 18:49:28 NUMA node0 CPU(s): 0-7 18:49:28 Vulnerability Itlb multihit: Not affected 18:49:28 Vulnerability L1tf: Not affected 18:49:28 Vulnerability Mds: Not affected 18:49:28 Vulnerability Meltdown: Not affected 18:49:28 Vulnerability Mmio stale data: Not affected 18:49:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:49:28 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:49:28 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:49:28 Vulnerability Srbds: Not affected 18:49:28 Vulnerability Tsx async abort: Not affected 18:49:28 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 18:49:28 18:49:28 18:49:28 ---> nproc: 18:49:28 8 18:49:28 18:49:28 18:49:28 ---> df -h: 18:49:28 Filesystem Size Used Avail Use% Mounted on 18:49:28 overlay 155G 12G 144G 8% / 18:49:28 tmpfs 64M 0 64M 0% /dev 18:49:28 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:49:28 shm 64M 0 64M 0% /dev/shm 18:49:28 /dev/vda1 155G 12G 144G 8% /facter-os 18:49:28 18:49:28 18:49:28 ---> sar -b -r -n DEV: 18:49:28 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-936) 01/03/23 _x86_64_ (8 CPU) 18:49:28 18:49:28 18:38:10 LINUX RESTART (8 CPU) 18:49:28 18:49:28 18:39:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:49:28 18:40:01 197.33 3.78 193.55 0.00 418.46 73990.47 0.00 18:49:28 18:41:01 183.15 0.27 182.89 0.00 18.13 43908.95 0.00 18:49:28 18:42:01 1.58 0.00 1.58 0.00 0.00 20.81 0.00 18:49:28 18:43:01 1.47 0.00 1.47 0.00 0.00 16.26 0.00 18:49:28 18:44:01 54.72 10.56 44.15 0.00 5153.88 8706.70 0.00 18:49:28 18:45:01 4.68 0.02 4.67 0.00 0.13 105.45 0.00 18:49:28 18:46:01 1.32 0.00 1.32 0.00 0.00 14.53 0.00 18:49:28 18:47:01 2.00 0.00 2.00 0.00 0.00 22.13 0.00 18:49:28 18:48:01 1.38 0.00 1.38 0.00 0.00 14.93 0.00 18:49:28 18:49:01 2.08 0.00 2.08 0.00 0.00 23.86 0.00 18:49:28 Average: 44.97 1.46 43.51 0.00 559.12 12681.92 0.00 18:49:28 18:49:28 18:39:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:49:28 18:40:01 28284804 31521436 783868 2.38 140336 3285656 2002088 5.90 1293808 2846904 130468 18:49:28 18:41:01 27693020 31588504 717864 2.18 153464 3888036 1742312 5.13 1292020 3396844 380 18:49:28 18:42:01 27692912 31588468 717576 2.18 153488 3888040 1742312 5.13 1291740 3396848 12 18:49:28 18:43:01 27693080 31588732 716972 2.18 153512 3888040 1742312 5.13 1290988 3396848 8 18:49:28 18:44:01 27176928 31569216 713068 2.17 186804 4342272 1820284 5.36 1612144 3556072 256 18:49:28 18:45:01 27184744 31572272 710828 2.16 185364 4339012 1801608 5.31 1608772 3552852 8 18:49:28 18:46:01 27192376 31579960 703132 2.14 185420 4339020 1801608 5.31 1601596 3552860 4 18:49:28 18:47:01 27192592 31580408 702768 2.14 185476 4339024 1801608 5.31 1601760 3553008 8 18:49:28 18:48:01 27192924 31580844 702284 2.14 185564 4339024 1801608 5.31 1601788 3553028 8 18:49:28 18:49:01 27193184 31581160 701892 2.13 185648 4339028 1801608 5.31 1601436 3553028 8 18:49:28 Average: 27449656 31575100 717025 2.18 171508 4098715 1805735 5.32 1479605 3435829 13116 18:49:28 18:49:28 18:39:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:49:28 18:40:01 lo 2.73 2.73 0.27 0.27 0.00 0.00 0.00 0.00 18:49:28 18:40:01 ens3 390.12 274.17 5969.64 70.18 0.00 0.00 0.00 0.00 18:49:28 18:40:01 docker0 153.19 201.82 12.88 1923.17 0.00 0.00 0.00 0.00 18:49:28 18:40:01 veth162ab98 0.05 0.18 0.00 0.01 0.00 0.00 0.00 0.00 18:49:28 18:41:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 18:49:28 18:41:01 ens3 147.18 92.78 2696.89 21.26 0.00 0.00 0.00 0.00 18:49:28 18:41:01 docker0 3.95 8.45 0.25 98.56 0.00 0.00 0.00 0.00 18:49:28 18:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:49:28 18:42:01 ens3 0.83 0.40 1.69 0.03 0.00 0.00 0.00 0.00 18:49:28 18:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:49:28 18:43:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:49:28 18:43:01 ens3 0.57 0.12 0.05 0.01 0.00 0.00 0.00 0.00 18:49:28 18:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:49:28 18:44:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 18:49:28 18:44:01 ens3 126.04 71.64 2748.72 5.67 0.00 0.00 0.00 0.00 18:49:28 18:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:49:28 18:45:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:49:28 18:45:01 ens3 1.05 0.52 0.35 0.22 0.00 0.00 0.00 0.00 18:49:28 18:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:49:28 18:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:49:28 18:46:01 ens3 0.92 0.00 0.07 0.00 0.00 0.00 0.00 0.00 18:49:28 18:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:49:28 18:47:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:49:28 18:47:01 ens3 1.48 0.52 0.44 0.28 0.00 0.00 0.00 0.00 18:49:28 18:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:49:28 18:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:49:28 18:48:01 ens3 0.95 0.62 0.52 0.41 0.00 0.00 0.00 0.00 18:49:28 18:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:49:28 18:49:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:49:28 18:49:01 ens3 0.30 0.18 0.09 0.07 0.00 0.00 0.00 0.00 18:49:28 18:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:49:28 Average: lo 0.61 0.61 0.06 0.06 0.00 0.00 0.00 0.00 18:49:28 Average: ens3 66.94 44.09 1141.83 9.81 0.00 0.00 0.00 0.00 18:49:28 Average: docker0 15.71 21.03 1.31 202.16 0.00 0.00 0.00 0.00 18:49:28 18:49:28 18:49:28 ---> sar -P ALL: 18:49:28 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-936) 01/03/23 _x86_64_ (8 CPU) 18:49:28 18:49:28 18:38:10 LINUX RESTART (8 CPU) 18:49:28 18:49:28 18:39:01 CPU %user %nice %system %iowait %steal %idle 18:49:28 18:40:01 all 21.09 0.00 5.77 2.78 0.07 70.30 18:49:28 18:40:01 0 22.17 0.00 5.31 0.81 0.07 71.64 18:49:28 18:40:01 1 19.97 0.00 6.01 4.24 0.07 69.71 18:49:28 18:40:01 2 22.87 0.00 6.86 8.84 0.07 61.37 18:49:28 18:40:01 3 20.51 0.00 5.32 0.27 0.07 73.83 18:49:28 18:40:01 4 22.67 0.00 5.10 1.07 0.07 71.10 18:49:28 18:40:01 5 19.76 0.00 6.22 4.57 0.07 69.38 18:49:28 18:40:01 6 20.27 0.00 5.32 0.30 0.05 74.06 18:49:28 18:40:01 7 20.50 0.00 6.02 2.11 0.07 71.30 18:49:28 18:41:01 all 27.08 0.00 5.00 1.74 0.06 66.12 18:49:28 18:41:01 0 26.14 0.00 5.07 0.25 0.05 68.48 18:49:28 18:41:01 1 26.83 0.00 5.02 0.71 0.07 67.38 18:49:28 18:41:01 2 27.14 0.00 5.39 0.02 0.05 67.40 18:49:28 18:41:01 3 26.31 0.00 4.75 0.35 0.05 68.53 18:49:28 18:41:01 4 29.15 0.00 4.82 0.44 0.05 65.54 18:49:28 18:41:01 5 25.85 0.00 4.92 2.70 0.05 66.48 18:49:28 18:41:01 6 26.78 0.00 4.29 2.71 0.07 66.15 18:49:28 18:41:01 7 28.41 0.00 5.77 6.78 0.07 58.97 18:49:28 18:42:01 all 0.01 0.00 0.01 0.00 0.01 99.96 18:49:28 18:42:01 0 0.00 0.00 0.00 0.00 0.02 99.98 18:49:28 18:42:01 1 0.02 0.00 0.02 0.00 0.02 99.95 18:49:28 18:42:01 2 0.02 0.00 0.00 0.00 0.00 99.98 18:49:28 18:42:01 3 0.02 0.00 0.00 0.00 0.02 99.97 18:49:28 18:42:01 4 0.05 0.00 0.03 0.02 0.03 99.87 18:49:28 18:42:01 5 0.00 0.00 0.00 0.00 0.02 99.98 18:49:28 18:42:01 6 0.02 0.00 0.02 0.02 0.02 99.93 18:49:28 18:42:01 7 0.00 0.00 0.00 0.00 0.00 100.00 18:49:28 18:43:01 all 0.02 0.00 0.01 0.00 0.01 99.96 18:49:28 18:43:01 0 0.02 0.00 0.00 0.00 0.00 99.98 18:49:28 18:43:01 1 0.02 0.00 0.03 0.00 0.00 99.95 18:49:28 18:43:01 2 0.02 0.00 0.00 0.00 0.02 99.97 18:49:28 18:43:01 3 0.00 0.00 0.02 0.00 0.00 99.98 18:49:28 18:43:01 4 0.02 0.00 0.03 0.00 0.02 99.93 18:49:28 18:43:01 5 0.02 0.00 0.00 0.00 0.00 99.98 18:49:28 18:43:01 6 0.02 0.00 0.03 0.02 0.00 99.93 18:49:28 18:43:01 7 0.03 0.00 0.00 0.02 0.02 99.93 18:49:28 18:44:01 all 2.13 0.00 1.40 0.54 0.01 95.91 18:49:28 18:44:01 0 1.45 0.00 0.95 0.62 0.02 96.96 18:49:28 18:44:01 1 1.17 0.00 1.57 0.03 0.02 97.21 18:49:28 18:44:01 2 3.22 0.00 1.00 0.45 0.02 95.32 18:49:28 18:44:01 3 1.40 0.00 1.24 0.37 0.02 96.98 18:49:28 18:44:01 4 2.44 0.00 1.24 0.28 0.02 96.03 18:49:28 18:44:01 5 1.77 0.00 1.44 0.70 0.00 96.09 18:49:28 18:44:01 6 1.23 0.00 0.82 0.62 0.02 97.31 18:49:28 18:44:01 7 4.33 0.00 2.98 1.27 0.02 91.40 18:49:28 18:45:01 all 0.33 0.00 0.06 0.01 0.02 99.58 18:49:28 18:45:01 0 0.02 0.00 0.05 0.00 0.02 99.92 18:49:28 18:45:01 1 0.05 0.00 0.03 0.00 0.02 99.90 18:49:28 18:45:01 2 2.17 0.00 0.10 0.03 0.03 97.67 18:49:28 18:45:01 3 0.07 0.00 0.05 0.00 0.02 99.87 18:49:28 18:45:01 4 0.08 0.00 0.05 0.00 0.02 99.85 18:49:28 18:45:01 5 0.12 0.00 0.07 0.00 0.02 99.80 18:49:28 18:45:01 6 0.07 0.00 0.07 0.00 0.00 99.87 18:49:28 18:45:01 7 0.03 0.00 0.05 0.08 0.02 99.82 18:49:28 18:46:01 all 0.27 0.00 0.01 0.00 0.01 99.70 18:49:28 18:46:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:49:28 18:46:01 1 0.03 0.00 0.00 0.00 0.00 99.97 18:49:28 18:46:01 2 2.00 0.00 0.02 0.02 0.02 97.95 18:49:28 18:46:01 3 0.02 0.00 0.02 0.00 0.00 99.97 18:49:28 18:46:01 4 0.03 0.00 0.02 0.00 0.02 99.93 18:49:28 18:46:01 5 0.00 0.00 0.00 0.00 0.00 100.00 18:49:28 18:46:01 6 0.05 0.00 0.00 0.00 0.02 99.93 18:49:28 18:46:01 7 0.02 0.00 0.02 0.02 0.00 99.95 18:49:28 18:47:01 all 0.26 0.00 0.01 0.01 0.00 99.72 18:49:28 18:47:01 0 0.00 0.00 0.02 0.00 0.00 99.98 18:49:28 18:47:01 1 0.07 0.00 0.00 0.00 0.00 99.93 18:49:28 18:47:01 2 1.96 0.00 0.00 0.02 0.02 98.01 18:49:28 18:47:01 3 0.00 0.00 0.00 0.00 0.00 100.00 18:49:28 18:47:01 4 0.02 0.00 0.02 0.00 0.00 99.97 18:49:28 18:47:01 5 0.00 0.00 0.00 0.00 0.00 100.00 18:49:28 18:47:01 6 0.03 0.00 0.00 0.00 0.00 99.97 18:49:28 18:47:01 7 0.00 0.00 0.02 0.03 0.00 99.95 18:49:28 18:48:01 all 0.25 0.00 0.01 0.01 0.00 99.73 18:49:28 18:48:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:49:28 18:48:01 1 0.03 0.00 0.02 0.00 0.00 99.95 18:49:28 18:48:01 2 1.89 0.00 0.05 0.02 0.02 98.03 18:49:28 18:48:01 3 0.00 0.00 0.00 0.00 0.00 100.00 18:49:28 18:48:01 4 0.03 0.00 0.02 0.00 0.00 99.95 18:49:28 18:48:01 5 0.02 0.00 0.00 0.00 0.00 99.98 18:49:28 18:48:01 6 0.00 0.00 0.00 0.00 0.00 100.00 18:49:28 18:48:01 7 0.02 0.00 0.00 0.03 0.00 99.95 18:49:28 18:49:01 all 0.04 0.00 0.01 0.01 0.01 99.93 18:49:28 18:49:01 0 0.00 0.00 0.00 0.00 0.00 100.00 18:49:28 18:49:01 1 0.22 0.00 0.02 0.00 0.00 99.77 18:49:28 18:49:01 2 0.07 0.00 0.07 0.00 0.03 99.83 18:49:28 18:49:01 3 0.00 0.00 0.00 0.00 0.00 100.00 18:49:28 18:49:01 4 0.02 0.00 0.02 0.02 0.02 99.93 18:49:28 18:49:01 5 0.02 0.00 0.00 0.00 0.00 99.98 18:49:28 18:49:01 6 0.02 0.00 0.02 0.00 0.00 99.97 18:49:28 18:49:01 7 0.02 0.00 0.00 0.03 0.00 99.95 18:49:28 Average: all 5.10 0.00 1.22 0.51 0.02 93.16 18:49:28 Average: 0 4.95 0.00 1.14 0.17 0.02 93.73 18:49:28 Average: 1 4.80 0.00 1.26 0.49 0.02 93.43 18:49:28 Average: 2 6.06 0.00 1.33 0.92 0.03 91.66 18:49:28 Average: 3 4.79 0.00 1.13 0.10 0.02 93.97 18:49:28 Average: 4 5.40 0.00 1.12 0.18 0.02 93.27 18:49:28 Average: 5 4.71 0.00 1.25 0.79 0.02 93.24 18:49:28 Average: 6 4.80 0.00 1.05 0.36 0.02 93.77 18:49:28 Average: 7 5.27 0.00 1.47 1.03 0.02 92.22 18:49:28 18:49:28 18:49:28