Pull request #144 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 rather than b3b131858284577f6b19e4c371841a9cf0d0f03e Obtained Jenkinsfile from a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 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-ssh16264697663054788899.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh9149141057798039969.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-144/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-144/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16312329797050918693.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-144/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18125299141552242540.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7143523750844973990.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-144/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-144/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15897285297265055342.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23389 in /w/workspace/undry_device-onvif-camera_PR-144 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-144 # 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 a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 into PR head commit b3b131858284577f6b19e4c371841a9cf0d0f03e Merge succeeded, producing c0d55a4ffea056f1a843b76f240b726a816c12bf Checking out Revision c0d55a4ffea056f1a843b76f240b726a816c12bf (PR-144) > 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/144/head:refs/remotes/origin/PR-144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b3b131858284577f6b19e4c371841a9cf0d0f03e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0d55a4ffea056f1a843b76f240b726a816c12bf # timeout=10 Commit message: "Merge commit 'a7f4bbdd92e86766513fcb71b61d6b3a5793edb3' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:25:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:25:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:25:28 ========================================================= 17:25:28 EdgeX Global Pipelines Version Info 17:25:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:25:29 ------------------- 17:25:29 stable info: 17:25:29 ------------------- 17:25:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:25:29 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:25:29 Message: update stable to v1.0.238 17:25:30 ------------------- 17:25:30 experimental info: 17:25:30 ------------------- 17:25:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:25:30 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:25:30 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:25:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:25:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:25:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:25:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:25:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:25:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:25:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:25:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:25:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:25:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:25:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-144 [Pipeline] echo 17:25:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-144 [Pipeline] echo 17:25:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-144 [Pipeline] echo 17:25:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0d55a4ffea056f1a843b76f240b726a816c12bf [Pipeline] echo 17:25:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0d55a4 [Pipeline] echo 17:25:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:32 provisioning config files... 17:25:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-144@tmp/config6888602880664043829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:32 ---> docker-login.sh 17:25:32 nexus3.edgexfoundry.org:10001 17:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:33 Configure a credential helper to remove this warning. See 17:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:33 17:25:33 Login Succeeded 17:25:33 nexus3.edgexfoundry.org:10002 17:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:33 Configure a credential helper to remove this warning. See 17:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:33 17:25:33 Login Succeeded 17:25:33 nexus3.edgexfoundry.org:10003 17:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:33 Configure a credential helper to remove this warning. See 17:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:33 17:25:33 Login Succeeded 17:25:33 nexus3.edgexfoundry.org:10004 17:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:33 Configure a credential helper to remove this warning. See 17:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:33 17:25:33 Login Succeeded 17:25:33 docker.io 17:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:33 Configure a credential helper to remove this warning. See 17:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:33 17:25:33 Login Succeeded 17:25:33 ---> docker-login.sh ends [Pipeline] } 17:25:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:25:34 + git rev-list -1 --merges c0d55a4ffea056f1a843b76f240b726a816c12bf~1..c0d55a4ffea056f1a843b76f240b726a816c12bf [Pipeline] echo 17:25:34 -----------> git rev-list -1 --merges c0d55a4ffea056f1a843b76f240b726a816c12bf~1..c0d55a4ffea056f1a843b76f240b726a816c12bf c0d55a4ffea056f1a843b76f240b726a816c12bf 17:25:34 c0d55a4ffea056f1a843b76f240b726a816c12bf [false] [Pipeline] sh 17:25:34 + git log --format=format:%s -1 c0d55a4ffea056f1a843b76f240b726a816c12bf [Pipeline] echo 17:25:35 ========================================================= 17:25:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:25:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:25:35 + git log --format=format:%s -1 c0d55a4ffea056f1a843b76f240b726a816c12bf [Pipeline] echo 17:25:35 [semverPrep] GIT_COMMIT: c0d55a4ffea056f1a843b76f240b726a816c12bf, Commit Message: Merge commit 'a7f4bbdd92e86766513fcb71b61d6b3a5793edb3' into HEAD [Pipeline] echo 17:25:35 [semverPrep] This is not a build commit. [Pipeline] sh 17:25:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:35 + grep -v github /etc/ssh/ssh_known_hosts 17:25:35 + [ -e /tmp/ssh_known_hosts ] 17:25:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:25:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:25:35 + sudo tee -a /etc/ssh/ssh_known_hosts 17:25:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:36 17:25:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:36 0.1.4: Pulling from edgex-devops/py-git-semver 17:25:36 b85a868b505f: Pulling fs layer 17:25:36 e2be974225ed: Pulling fs layer 17:25:36 339a4e72a1f5: Pulling fs layer 17:25:36 988bab9f4d93: Pulling fs layer 17:25:36 1469e6f7b9e6: Pulling fs layer 17:25:36 eaf3925da568: Pulling fs layer 17:25:36 bab4dde63d76: Pulling fs layer 17:25:36 bde34c3a00c8: Pulling fs layer 17:25:36 b352a97aabf1: Pulling fs layer 17:25:36 4872d77fe225: Pulling fs layer 17:25:36 5851b861e8e6: Pulling fs layer 17:25:36 eaf3925da568: Waiting 17:25:36 bab4dde63d76: Waiting 17:25:36 bde34c3a00c8: Waiting 17:25:36 b352a97aabf1: Waiting 17:25:36 5851b861e8e6: Waiting 17:25:36 4872d77fe225: Waiting 17:25:36 988bab9f4d93: Waiting 17:25:36 1469e6f7b9e6: Waiting 17:25:36 e2be974225ed: Download complete 17:25:36 988bab9f4d93: Verifying Checksum 17:25:36 988bab9f4d93: Download complete 17:25:37 1469e6f7b9e6: Verifying Checksum 17:25:37 1469e6f7b9e6: Download complete 17:25:37 eaf3925da568: Download complete 17:25:37 339a4e72a1f5: Verifying Checksum 17:25:37 339a4e72a1f5: Download complete 17:25:37 bde34c3a00c8: Verifying Checksum 17:25:37 bde34c3a00c8: Download complete 17:25:37 b352a97aabf1: Verifying Checksum 17:25:37 b352a97aabf1: Download complete 17:25:37 4872d77fe225: Verifying Checksum 17:25:37 4872d77fe225: Download complete 17:25:37 5851b861e8e6: Verifying Checksum 17:25:37 5851b861e8e6: Download complete 17:25:37 b85a868b505f: Verifying Checksum 17:25:37 b85a868b505f: Download complete 17:25:37 bab4dde63d76: Verifying Checksum 17:25:37 bab4dde63d76: Download complete 17:25:38 b85a868b505f: Pull complete 17:25:38 e2be974225ed: Pull complete 17:25:39 339a4e72a1f5: Pull complete 17:25:39 988bab9f4d93: Pull complete 17:25:39 1469e6f7b9e6: Pull complete 17:25:39 eaf3925da568: Pull complete 17:25:41 bab4dde63d76: Pull complete 17:25:41 bde34c3a00c8: Pull complete 17:25:42 b352a97aabf1: Pull complete 17:25:42 4872d77fe225: Pull complete 17:25:42 5851b861e8e6: Pull complete 17:25:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:25:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:42 prd-ubuntu20.04-docker-8c-8g-23389 does not seem to be running inside a container 17:25:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-144 -v /w/workspace/undry_device-onvif-camera_PR-144:/w/workspace/undry_device-onvif-camera_PR-144:rw,z -v /w/workspace/undry_device-onvif-camera_PR-144@tmp:/w/workspace/undry_device-onvif-camera_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:25:43 $ docker top 80cee9668cb01a14228f12f89e971bc0fc364b23196c557ea58d7bfe927e4b77 -eo pid,comm 17:25:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:25:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:44 [ssh-agent] Looking for ssh-agent implementation... 17:25:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:44 $ docker exec 80cee9668cb01a14228f12f89e971bc0fc364b23196c557ea58d7bfe927e4b77 ssh-agent 17:25:44 SSH_AUTH_SOCK=/tmp/ssh-9fsUo3aJpoRr/agent.33 17:25:44 SSH_AGENT_PID=39 17:25:44 Running ssh-add (command line suppressed) 17:25:44 Identity added: /w/workspace/undry_device-onvif-camera_PR-144@tmp/private_key_6285189846487686303.key (/w/workspace/undry_device-onvif-camera_PR-144@tmp/private_key_6285189846487686303.key) 17:25:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:44 + git tag --points-at HEAD [Pipeline] } 17:25:44 $ docker exec --env ******** --env ******** 80cee9668cb01a14228f12f89e971bc0fc364b23196c557ea58d7bfe927e4b77 ssh-agent -k 17:25:44 unset SSH_AUTH_SOCK; 17:25:44 unset SSH_AGENT_PID; 17:25:44 echo Agent pid 39 killed; 17:25:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:25:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:45 [ssh-agent] Looking for ssh-agent implementation... 17:25:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:45 $ docker exec 80cee9668cb01a14228f12f89e971bc0fc364b23196c557ea58d7bfe927e4b77 ssh-agent 17:25:45 SSH_AUTH_SOCK=/tmp/ssh-M2Gg80gzgBpz/agent.71 17:25:45 SSH_AGENT_PID=77 17:25:45 Running ssh-add (command line suppressed) 17:25:45 Identity added: /w/workspace/undry_device-onvif-camera_PR-144@tmp/private_key_3853671316980741337.key (/w/workspace/undry_device-onvif-camera_PR-144@tmp/private_key_3853671316980741337.key) 17:25:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:45 + git semver init 17:25:46 2022-08-23 17:25:45,960 [run_init] DEBUG init version:0.0.0 force:False 17:25:46 2022-08-23 17:25:45,960 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-144/.semver 17:25:46 2022-08-23 17:25:45,961 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-144/.semver 17:25:46 2022-08-23 17:25:45,961 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-144/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-144, universal_newlines=False, shell=None, istream=None) 17:25:46 2022-08-23 17:25:46,781 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-144/.git/info/exclude 17:25:46 2022-08-23 17:25:46,781 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-144/.semver/PR-144 with force:False 17:25:46 2022-08-23 17:25:46,781 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-144/.semver/PR-144 17:25:46 2022-08-23 17:25:46,784 [execute] INFO git cat-file --batch-check 17:25:46 2022-08-23 17:25:46,784 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-144/.semver, universal_newlines=False, shell=None, istream=) 17:25:46 2022-08-23 17:25:46,791 [execute] INFO git cat-file --batch 17:25:46 2022-08-23 17:25:46,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-144/.semver, universal_newlines=False, shell=None, istream=) 17:25:46 2022-08-23 17:25:46,796 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-144/.semver/PR-144 17:25:46 0.0.0 [Pipeline] } 17:25:46 $ docker exec --env ******** --env ******** 80cee9668cb01a14228f12f89e971bc0fc364b23196c557ea58d7bfe927e4b77 ssh-agent -k 17:25:47 unset SSH_AUTH_SOCK; 17:25:47 unset SSH_AGENT_PID; 17:25:47 echo Agent pid 77 killed; 17:25:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:47 + git semver [Pipeline] } 17:25:48 $ docker stop --time=1 80cee9668cb01a14228f12f89e971bc0fc364b23196c557ea58d7bfe927e4b77 17:25:49 $ docker rm -f 80cee9668cb01a14228f12f89e971bc0fc364b23196c557ea58d7bfe927e4b77 [Pipeline] // withDockerContainer [Pipeline] sh 17:25:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:25:50 Stashed 1 file(s) [Pipeline] echo 17:25:50 [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 17:25:50 provisioning config files... 17:25:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-144@tmp/config1391813582072722933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:51 ---> docker-login.sh 17:25:51 nexus3.edgexfoundry.org:10001 17:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:51 Configure a credential helper to remove this warning. See 17:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:51 17:25:51 Login Succeeded 17:25:51 nexus3.edgexfoundry.org:10002 17:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:51 Configure a credential helper to remove this warning. See 17:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:51 17:25:51 Login Succeeded 17:25:51 nexus3.edgexfoundry.org:10003 17:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:51 Configure a credential helper to remove this warning. See 17:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:51 17:25:51 Login Succeeded 17:25:51 nexus3.edgexfoundry.org:10004 17:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:51 Configure a credential helper to remove this warning. See 17:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:51 17:25:51 Login Succeeded 17:25:51 docker.io 17:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:51 Configure a credential helper to remove this warning. See 17:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:51 17:25:51 Login Succeeded 17:25:51 ---> docker-login.sh ends [Pipeline] } 17:25:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:25:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:52 ========================================================= 17:25:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:25:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:52 + 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 . 17:25:52 Sending build context to Docker daemon 20.58MB 17:25:52 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:25:52 Step 2/13 : FROM ${BASE} AS builder 17:25:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:25:52 2408cc74d12b: Pulling fs layer 17:25:52 ea60b727a1ce: Pulling fs layer 17:25:52 30c4a7721957: Pulling fs layer 17:25:52 370296b7ddb6: Pulling fs layer 17:25:52 7c6cee850709: Pulling fs layer 17:25:52 39a5fcdaea64: Pulling fs layer 17:25:52 d94ebbe4e438: Pulling fs layer 17:25:52 bcfd1f05c69d: Pulling fs layer 17:25:52 59ccb84bbe0f: Pulling fs layer 17:25:52 bcfd1f05c69d: Waiting 17:25:52 7c6cee850709: Waiting 17:25:52 d94ebbe4e438: Waiting 17:25:52 59ccb84bbe0f: Waiting 17:25:52 39a5fcdaea64: Waiting 17:25:52 30c4a7721957: Download complete 17:25:52 ea60b727a1ce: Download complete 17:25:52 7c6cee850709: Verifying Checksum 17:25:52 7c6cee850709: Download complete 17:25:52 39a5fcdaea64: Verifying Checksum 17:25:52 39a5fcdaea64: Download complete 17:25:52 2408cc74d12b: Verifying Checksum 17:25:52 2408cc74d12b: Download complete 17:25:52 d94ebbe4e438: Verifying Checksum 17:25:52 d94ebbe4e438: Download complete 17:25:52 2408cc74d12b: Pull complete 17:25:53 ea60b727a1ce: Pull complete 17:25:53 59ccb84bbe0f: Verifying Checksum 17:25:53 59ccb84bbe0f: Download complete 17:25:53 30c4a7721957: Pull complete 17:25:53 bcfd1f05c69d: Verifying Checksum 17:25:53 bcfd1f05c69d: Download complete 17:25:53 370296b7ddb6: Verifying Checksum 17:25:53 370296b7ddb6: Download complete 17:25:59 370296b7ddb6: Pull complete 17:25:59 7c6cee850709: Pull complete 17:25:59 39a5fcdaea64: Pull complete 17:25:59 d94ebbe4e438: Pull complete 17:26:00 bcfd1f05c69d: Pull complete 17:26:01 59ccb84bbe0f: Pull complete 17:26:01 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:26:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:26:01 ---> a4fb48ad2a94 17:26:01 Step 3/13 : ARG MAKE="make build" 17:26:03 ---> Running in f2d9470e430a 17:26:03 Removing intermediate container f2d9470e430a 17:26:03 ---> ab340d5f13c6 17:26:03 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:26:03 ---> Running in bf5a7f0e560a 17:26:03 Removing intermediate container bf5a7f0e560a 17:26:03 ---> 1f618cdbac95 17:26:03 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:26:03 ---> Running in 8bbcfd91be5e 17:26:03 Removing intermediate container 8bbcfd91be5e 17:26:03 ---> 2756ffd341d1 17:26:03 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:26:03 ---> Running in 5b8620656e27 17:26:03 Removing intermediate container 5b8620656e27 17:26:03 ---> 2116dacfa517 17:26:03 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:26:03 ---> Running in 5eb5560ed185 17:26:04 Removing intermediate container 5eb5560ed185 17:26:04 ---> ce9053506d18 17:26:04 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:26:04 ---> Running in e6aab78db01a 17:26:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:26:05 Still waiting to schedule task 17:26:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:26:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:26:05 OK: 211 MiB in 51 packages 17:26:06 Removing intermediate container e6aab78db01a 17:26:06 ---> b13cf9072f1a 17:26:06 Step 9/13 : WORKDIR /device-onvif-camera 17:26:06 ---> Running in 9336932da9db 17:26:06 Removing intermediate container 9336932da9db 17:26:06 ---> fbc7d6787916 17:26:06 Step 10/13 : COPY go.mod vendor* ./ 17:26:06 ---> cb9e58489de2 17:26:06 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:26:06 ---> Running in 8c9411d90e0c 17:26:24 Removing intermediate container 8c9411d90e0c 17:26:24 ---> fb1a1bac1615 17:26:24 Step 12/13 : COPY . . 17:26:24 ---> 57d94843ea03 17:26:24 Step 13/13 : RUN ${MAKE} 17:26:24 ---> Running in 1cc7ed9fcb78 17:26:24 noop 17:26:24 Removing intermediate container 1cc7ed9fcb78 17:26:24 ---> 5511f4c86e38 17:26:24 Successfully built 5511f4c86e38 17:26:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:25 + docker inspect -f . ci-base-image-x86_64 17:26:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:25 prd-ubuntu20.04-docker-8c-8g-23389 does not seem to be running inside a container 17:26:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-144 -v /w/workspace/undry_device-onvif-camera_PR-144:/w/workspace/undry_device-onvif-camera_PR-144:rw,z -v /w/workspace/undry_device-onvif-camera_PR-144@tmp:/w/workspace/undry_device-onvif-camera_PR-144@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 ******** ci-base-image-x86_64 cat 17:26:25 $ docker top 385932168cb0fed14bb37a0a2a422c386ea5ab1ef730719189938f392ba2853f -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:26 + go version 17:26:26 go version go1.18.3 linux/amd64 [Pipeline] } 17:26:26 $ docker stop --time=1 385932168cb0fed14bb37a0a2a422c386ea5ab1ef730719189938f392ba2853f 17:26:27 $ docker rm -f 385932168cb0fed14bb37a0a2a422c386ea5ab1ef730719189938f392ba2853f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:28 + docker inspect -f . ci-base-image-x86_64 17:26:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:28 prd-ubuntu20.04-docker-8c-8g-23389 does not seem to be running inside a container 17:26:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-144 -v /w/workspace/undry_device-onvif-camera_PR-144:/w/workspace/undry_device-onvif-camera_PR-144:rw,z -v /w/workspace/undry_device-onvif-camera_PR-144@tmp:/w/workspace/undry_device-onvif-camera_PR-144@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 ******** ci-base-image-x86_64 cat 17:26:28 $ docker top a7018458a7994d34030f9a80b5386fb3e5a4d146fc9047c85a539a802ca80a97 -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:29 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-144 [Pipeline] fileExists [Pipeline] sh 17:26:29 + make test 17:26:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:26:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:26:39 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:26:39 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.024s coverage: 10.6% of statements 17:26:39 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:26:43 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.586s coverage: 13.8% of statements 17:26:49 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:26:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:26:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:26:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:26:53 ./bin/test-attribution-txt.sh [Pipeline] echo 17:26:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:26:53 $ docker stop --time=1 a7018458a7994d34030f9a80b5386fb3e5a4d146fc9047c85a539a802ca80a97 17:26:54 $ docker rm -f a7018458a7994d34030f9a80b5386fb3e5a4d146fc9047c85a539a802ca80a97 [Pipeline] // withDockerContainer [Pipeline] sh 17:26:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:26:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:26:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:26:56 + ls -al . 17:26:56 total 232 17:26:56 drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 17:26 . 17:26:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 17:25 .. 17:26:56 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 17:26 .git 17:26:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 17:25 .github 17:26:56 -rw-rw-r-- 1 jenkins jenkins 418 Aug 23 17:25 .gitignore 17:26:56 -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 17:25 .golangci.yml 17:26:56 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 17:25 .semver 17:26:56 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 23 17:25 Attribution.txt 17:26:56 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 23 17:25 CHANGELOG.md 17:26:56 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 23 17:25 Dockerfile 17:26:56 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 17:25 GOVERNANCE.md 17:26:56 -rw-rw-r-- 1 jenkins jenkins 734 Aug 23 17:25 Jenkinsfile 17:26:56 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 23 17:25 LICENSE 17:26:56 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 23 17:25 Makefile 17:26:56 -rw-rw-r-- 1 jenkins jenkins 625 Aug 23 17:25 OWNERS.md 17:26:56 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 23 17:25 README.md 17:26:56 -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 17:25 VERSION 17:26:56 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 17:25 bin 17:26:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 17:25 cmd 17:26:56 -rw-r--r-- 1 jenkins jenkins 76854 Aug 23 17:26 coverage.out 17:26:56 drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 17:25 doc 17:26:56 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 23 17:25 go.mod 17:26:56 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 23 17:25 go.sum 17:26:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 17:25 internal 17:26:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 17:25 snap 17:26:56 -rw-rw-r-- 1 jenkins jenkins 236 Aug 23 17:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:56 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c0d55a4ffea056f1a843b76f240b726a816c12bf --label arch=amd64 --label version=0.0.0 . 17:26:56 Sending build context to Docker daemon 20.66MB 17:26:56 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:26:56 Step 2/26 : FROM ${BASE} AS builder 17:26:56 ---> 5511f4c86e38 17:26:56 Step 3/26 : ARG MAKE="make build" 17:26:57 ---> Running in 97198172d5a1 17:26:57 Removing intermediate container 97198172d5a1 17:26:57 ---> 2876485de0b0 17:26:57 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:26:57 ---> Running in 6a528631fbb6 17:26:57 Removing intermediate container 6a528631fbb6 17:26:57 ---> 8b0951417618 17:26:57 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 17:26:57 ---> Running in 6ce195af0e86 17:26:57 Removing intermediate container 6ce195af0e86 17:26:57 ---> 10362910016d 17:26:57 Step 6/26 : LABEL Name=edgex-device-onvif-camera 17:26:57 ---> Running in 1697edc86dd7 17:26:57 Removing intermediate container 1697edc86dd7 17:26:57 ---> d3562aa35ad8 17:26:57 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:26:57 ---> Running in 66dcf44328ab 17:26:58 Removing intermediate container 66dcf44328ab 17:26:58 ---> f0ff8d72848d 17:26:58 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:26:58 ---> Running in 8daccc2e9290 17:26:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:26:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:26:59 OK: 211 MiB in 51 packages 17:26:59 Removing intermediate container 8daccc2e9290 17:26:59 ---> c0af5ae6915d 17:26:59 Step 9/26 : WORKDIR /device-onvif-camera 17:26:59 ---> Running in e8974f26f84b 17:26:59 Removing intermediate container e8974f26f84b 17:26:59 ---> 6e95cab6e565 17:26:59 Step 10/26 : COPY go.mod vendor* ./ 17:27:00 ---> 3651d267d1ec 17:27:00 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:27:00 ---> Running in bfb145c21c4b 17:27:00 Removing intermediate container bfb145c21c4b 17:27:00 ---> 33b28de85d28 17:27:00 Step 12/26 : COPY . . 17:27:01 ---> 2efca3ee2aa2 17:27:01 Step 13/26 : RUN ${MAKE} 17:27:01 ---> Running in 519430f617bd 17:27:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:27:23 Removing intermediate container 519430f617bd 17:27:23 ---> 9da908f03bf2 17:27:23 Step 14/26 : FROM alpine:3.16 17:27:23 3.16: Pulling from library/alpine 17:27:23 213ec9aee27d: Pulling fs layer 17:27:23 213ec9aee27d: Verifying Checksum 17:27:23 213ec9aee27d: Download complete 17:27:23 213ec9aee27d: Pull complete 17:27:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:27:23 Status: Downloaded newer image for alpine:3.16 17:27:23 ---> 9c6f07244728 17:27:23 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:27:23 ---> Running in f7f642ed552e 17:27:23 Removing intermediate container f7f642ed552e 17:27:23 ---> da6e2fc5c61e 17:27:23 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:27:23 ---> Running in dc9808ee4e1f 17:27:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:27:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:27:23 (1/6) Installing dumb-init (1.2.5-r1) 17:27:23 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:27:23 (3/6) Installing libsodium (1.0.18-r0) 17:27:23 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:27:23 (5/6) Installing libzmq (4.3.4-r0) 17:27:23 (6/6) Installing zeromq (4.3.4-r0) 17:27:23 Executing busybox-1.35.0-r17.trigger 17:27:23 OK: 8 MiB in 20 packages 17:27:23 Removing intermediate container dc9808ee4e1f 17:27:23 ---> feb1b1b2c0a8 17:27:23 Step 17/26 : WORKDIR / 17:27:23 ---> Running in 2c32446f133d 17:27:23 Removing intermediate container 2c32446f133d 17:27:23 ---> df2ab6cf740c 17:27:23 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:27:23 ---> 2873df73171a 17:27:23 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:27:24 ---> 4c58178d6adb 17:27:24 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:27:24 ---> 019e7ba83025 17:27:24 Step 21/26 : EXPOSE 59984 17:27:24 ---> Running in 634caede73ad 17:27:24 Removing intermediate container 634caede73ad 17:27:24 ---> bfc340ffee9b 17:27:24 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:27:24 ---> Running in 253199d79616 17:27:24 Removing intermediate container 253199d79616 17:27:24 ---> 4c7259b71ceb 17:27:24 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:27:24 ---> Running in 581c31324017 17:27:24 Removing intermediate container 581c31324017 17:27:24 ---> 1a725f956d6e 17:27:24 Step 24/26 : LABEL arch=amd64 17:27:24 ---> Running in c906a91a145b 17:27:24 Removing intermediate container c906a91a145b 17:27:24 ---> b0b181f18bc7 17:27:24 Step 25/26 : LABEL git_sha=c0d55a4ffea056f1a843b76f240b726a816c12bf 17:27:24 ---> Running in bbd0958211d9 17:27:24 Removing intermediate container bbd0958211d9 17:27:24 ---> 08c4711ae021 17:27:24 Step 26/26 : LABEL version=0.0.0 17:27:24 ---> Running in 4211992b0e63 17:27:24 Removing intermediate container 4211992b0e63 17:27:24 ---> 98fbee41a0d1 17:27:24 [Warning] One or more build-args [ARCH] were not consumed 17:27:24 Successfully built 98fbee41a0d1 17:27:24 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:27:25 17:27:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:27:26 latest: Pulling from edgex-lftools-log-publisher 17:27:26 5eb5b503b376: Pulling fs layer 17:27:26 5c69ac0246d0: Pulling fs layer 17:27:26 ec43610c2a17: Pulling fs layer 17:27:26 3a2ae6a8a46f: Pulling fs layer 17:27:26 33b1e0a273af: Pulling fs layer 17:27:26 5d3b04190fa2: Pulling fs layer 17:27:26 2f39f015ded8: Pulling fs layer 17:27:26 3a2ae6a8a46f: Waiting 17:27:26 33b1e0a273af: Waiting 17:27:26 2f39f015ded8: Waiting 17:27:26 5d3b04190fa2: Waiting 17:27:26 5c69ac0246d0: Verifying Checksum 17:27:26 5c69ac0246d0: Download complete 17:27:26 3a2ae6a8a46f: Verifying Checksum 17:27:26 3a2ae6a8a46f: Download complete 17:27:26 33b1e0a273af: Verifying Checksum 17:27:26 33b1e0a273af: Download complete 17:27:26 ec43610c2a17: Verifying Checksum 17:27:26 ec43610c2a17: Download complete 17:27:26 5d3b04190fa2: Verifying Checksum 17:27:26 5d3b04190fa2: Download complete 17:27:26 5eb5b503b376: Verifying Checksum 17:27:26 5eb5b503b376: Download complete 17:27:26 2f39f015ded8: Download complete 17:27:27 5eb5b503b376: Pull complete 17:27:27 5c69ac0246d0: Pull complete 17:27:27 ec43610c2a17: Pull complete 17:27:28 3a2ae6a8a46f: Pull complete 17:27:28 33b1e0a273af: Pull complete 17:27:28 5d3b04190fa2: Pull complete 17:27:32 2f39f015ded8: Pull complete 17:27:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:27:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:27:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:32 prd-ubuntu20.04-docker-8c-8g-23389 does not seem to be running inside a container 17:27:32 $ 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-144 -v /w/workspace/undry_device-onvif-camera_PR-144:/w/workspace/undry_device-onvif-camera_PR-144:rw,z -v /w/workspace/undry_device-onvif-camera_PR-144@tmp:/w/workspace/undry_device-onvif-camera_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:27:34 $ docker top bd4b862664c4801be4ba6aadee3db582af318628def188ce18c602ce7d4a4a3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:34 ---> job-cost.sh 17:27:34 lf-activate-venv: SKIPPING 17:27:34 INFO: No Stack... 17:27:35 INFO: Retrieving Pricing Info for: v3-standard-8 17:27:35 INFO: Archiving Costs [Pipeline] sh 17:27:35 + cat /w/workspace/undry_device-onvif-camera_PR-144/archives/cost.csv 17:27:35 + cut -d, -f6 [Pipeline] lock 17:27:36 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-144-1-stack-cost] 17:27:36 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-144-1-stack-cost] did not exist. Created. 17:27:36 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-144-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:27:36 + echo total: 0.2199999988079071 [Pipeline] stash 17:27:36 Stashed 1 file(s) [Pipeline] } 17:27:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-144-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:27:36 $ docker stop --time=1 bd4b862664c4801be4ba6aadee3db582af318628def188ce18c602ce7d4a4a3a 17:27:37 $ docker rm -f bd4b862664c4801be4ba6aadee3db582af318628def188ce18c602ce7d4a4a3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:27:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23390 in /w/workspace/undry_device-onvif-camera_PR-144 [Pipeline] { [Pipeline] ws 17:27:39 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 17:27:39 Selected Git installation does not exist. Using Default 17:27:39 The recommended git tool is: NONE 17:27:46 using credential edgex-jenkins-ssh 17:27:46 Cloning the remote Git repository 17:27:46 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:27:46 > git init /w/workspace/device-onvif-camera/1 # timeout=10 17:27:47 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:27:47 > git --version # timeout=10 17:27:47 > git --version # 'git version 2.25.1' 17:27:47 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:27:48 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:27:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:27:48 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:27:48 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:27:48 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:27:49 Merging remotes/origin/main commit a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 into PR head commit b3b131858284577f6b19e4c371841a9cf0d0f03e 17:27:49 Merge succeeded, producing 0f80192e9361b2037e98900f026395c61b41004e 17:27:49 Checking out Revision 0f80192e9361b2037e98900f026395c61b41004e (PR-144) 17:27:49 > git config core.sparsecheckout # timeout=10 17:27:49 > git checkout -f b3b131858284577f6b19e4c371841a9cf0d0f03e # timeout=10 17:27:49 > git remote # timeout=10 17:27:49 > git config --get remote.origin.url # timeout=10 17:27:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:49 > git merge a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 # timeout=10 17:27:49 > git rev-parse HEAD^{commit} # timeout=10 17:27:49 > git config core.sparsecheckout # timeout=10 17:27:49 > git checkout -f 0f80192e9361b2037e98900f026395c61b41004e # timeout=10 17:27:54 Commit message: "Merge commit 'a7f4bbdd92e86766513fcb71b61d6b3a5793edb3' into HEAD" 17:27:54 First time build. Skipping changelog. 17:27:54 > git --version # timeout=10 17:27:54 > git --version # 'git version 2.25.1' 17:27:54 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:27:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:27:55 % Total % Received % Xferd Average Speed Time Time Time Current 17:27:55 Dload Upload Total Spent Left Speed 17:27:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 66326 0 --:--:-- --:--:-- --:--:-- 65979 [Pipeline] sh 17:27:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:27:56 + sudo tee /etc/docker/daemon.new 17:27:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:27:56 { 17:27:56 "registry-mirrors": [ 17:27:56 "https://nexus3.edgexfoundry.org:10001" 17:27:56 ], 17:27:56 "bip": "10.250.0.254/24", 17:27:56 "hosts": [ 17:27:56 "tcp://0.0.0.0:5555", 17:27:56 "unix:///var/run/docker.sock" 17:27:56 ], 17:27:56 "mtu": 1458, 17:27:56 "selinux-enabled": true, 17:27:56 "seccomp-profile": "/etc/docker/seccomp.json" 17:27:56 } [Pipeline] sh 17:27:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:27:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:28:15 provisioning config files... 17:28:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2045697960333660423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:28:16 ---> docker-login.sh 17:28:16 nexus3.edgexfoundry.org:10001 17:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:17 Configure a credential helper to remove this warning. See 17:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:17 17:28:17 Login Succeeded 17:28:17 nexus3.edgexfoundry.org:10002 17:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:17 Configure a credential helper to remove this warning. See 17:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:17 17:28:17 Login Succeeded 17:28:17 nexus3.edgexfoundry.org:10003 17:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:18 Configure a credential helper to remove this warning. See 17:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:18 17:28:18 Login Succeeded 17:28:18 nexus3.edgexfoundry.org:10004 17:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:18 Configure a credential helper to remove this warning. See 17:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:18 17:28:18 Login Succeeded 17:28:18 docker.io 17:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:19 Configure a credential helper to remove this warning. See 17:28:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:19 17:28:19 Login Succeeded 17:28:19 ---> docker-login.sh ends [Pipeline] } 17:28:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:28:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:28:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:28:20 ========================================================= 17:28:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:28:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:20 + 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 . 17:28:21 Sending build context to Docker daemon 14.1MB 17:28:21 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:28:21 Step 2/13 : FROM ${BASE} AS builder 17:28:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:28:21 b3c136eddcbf: Pulling fs layer 17:28:21 c0a3192eca97: Pulling fs layer 17:28:21 a050256f5b6f: Pulling fs layer 17:28:21 656be50a0ddc: Pulling fs layer 17:28:21 2bbca73fdf42: Pulling fs layer 17:28:21 46d945488cbd: Pulling fs layer 17:28:21 8a5474983e97: Pulling fs layer 17:28:21 329c88fbcd65: Pulling fs layer 17:28:21 2bbca73fdf42: Waiting 17:28:21 46d945488cbd: Waiting 17:28:21 8a5474983e97: Waiting 17:28:21 329c88fbcd65: Waiting 17:28:21 656be50a0ddc: Waiting 17:28:21 a050256f5b6f: Verifying Checksum 17:28:21 a050256f5b6f: Download complete 17:28:21 c0a3192eca97: Verifying Checksum 17:28:21 c0a3192eca97: Download complete 17:28:21 2bbca73fdf42: Verifying Checksum 17:28:21 2bbca73fdf42: Download complete 17:28:21 46d945488cbd: Verifying Checksum 17:28:21 46d945488cbd: Download complete 17:28:21 b3c136eddcbf: Verifying Checksum 17:28:22 b3c136eddcbf: Pull complete 17:28:22 329c88fbcd65: Verifying Checksum 17:28:22 329c88fbcd65: Download complete 17:28:22 c0a3192eca97: Pull complete 17:28:23 a050256f5b6f: Pull complete 17:28:23 8a5474983e97: Verifying Checksum 17:28:23 8a5474983e97: Download complete 17:28:24 656be50a0ddc: Verifying Checksum 17:28:24 656be50a0ddc: Download complete 17:28:36 656be50a0ddc: Pull complete 17:28:36 2bbca73fdf42: Pull complete 17:28:37 46d945488cbd: Pull complete 17:28:43 8a5474983e97: Pull complete 17:28:44 329c88fbcd65: Pull complete 17:28:44 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:28:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:28:44 ---> ff4287adb874 17:28:44 Step 3/13 : ARG MAKE="make build" 17:28:46 ---> Running in d0776d6ba9e5 17:28:46 Removing intermediate container d0776d6ba9e5 17:28:46 ---> db81ef339d4f 17:28:46 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:28:47 ---> Running in 4e1e8b618437 17:28:47 Removing intermediate container 4e1e8b618437 17:28:47 ---> 63342d4b9d0c 17:28:47 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:28:47 ---> Running in 86015774911b 17:28:47 Removing intermediate container 86015774911b 17:28:47 ---> 2c9e494e1f65 17:28:47 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:28:47 ---> Running in 8563b8aef0d5 17:28:48 Removing intermediate container 8563b8aef0d5 17:28:48 ---> 9552ef9a0cb8 17:28:48 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:28:48 ---> Running in 4cd1030ef8bf 17:28:51 Removing intermediate container 4cd1030ef8bf 17:28:51 ---> 79dee98f4771 17:28:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:28:51 ---> Running in 8f9a87d834b9 17:28:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:28:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:28:53 OK: 221 MiB in 51 packages 17:28:54 Removing intermediate container 8f9a87d834b9 17:28:54 ---> aabb2025dea6 17:28:54 Step 9/13 : WORKDIR /device-onvif-camera 17:28:54 ---> Running in d3c7de593ac4 17:28:55 Removing intermediate container d3c7de593ac4 17:28:55 ---> 6aa408b3ee64 17:28:55 Step 10/13 : COPY go.mod vendor* ./ 17:28:55 ---> 55facebecdfc 17:28:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:28:55 ---> Running in 4f467bf6f8cd 17:29:52 Removing intermediate container 4f467bf6f8cd 17:29:52 ---> 914b10c9b4c5 17:29:52 Step 12/13 : COPY . . 17:29:52 ---> 70f8ab8902ff 17:29:52 Step 13/13 : RUN ${MAKE} 17:29:52 ---> Running in 42a5f0d11a83 17:29:52 noop 17:29:52 Removing intermediate container 42a5f0d11a83 17:29:52 ---> e990d6902235 17:29:52 Successfully built e990d6902235 17:29:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:52 + docker inspect -f . ci-base-image-arm64 17:29:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:53 prd-ubuntu20.04-docker-arm64-4c-16g-23390 does not seem to be running inside a container 17:29:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:29:54 $ docker top ca50a668da0b8350379a2e1d1c492e54f171b51ae4d7fe2362bd256172dc37af -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:55 + go version 17:29:55 go version go1.18.3 linux/arm64 [Pipeline] } 17:29:55 $ docker stop --time=1 ca50a668da0b8350379a2e1d1c492e54f171b51ae4d7fe2362bd256172dc37af 17:29:57 $ docker rm -f ca50a668da0b8350379a2e1d1c492e54f171b51ae4d7fe2362bd256172dc37af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:58 + docker inspect -f . ci-base-image-arm64 17:29:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:58 prd-ubuntu20.04-docker-arm64-4c-16g-23390 does not seem to be running inside a container 17:29:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:29:59 $ docker top a922e719596e785f49d3e25440527a53e9a973c217a4cd62209e2fb05a13ed57 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:00 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 17:30:01 + make test 17:30:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:30:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:31:24 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:31:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.124s coverage: 10.6% of statements 17:31:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:31:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.490s coverage: 13.8% of statements 17:31:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:31:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:32:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:32:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:32:17 ./bin/test-attribution-txt.sh [Pipeline] echo 17:32:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:32:17 $ docker stop --time=1 a922e719596e785f49d3e25440527a53e9a973c217a4cd62209e2fb05a13ed57 17:32:19 $ docker rm -f a922e719596e785f49d3e25440527a53e9a973c217a4cd62209e2fb05a13ed57 [Pipeline] // withDockerContainer [Pipeline] sh 17:32:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:32:20 Warning: overwriting stash ‘coverage-report’ 17:32:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:32:22 + ls -al . 17:32:22 total 228 17:32:22 drwxrwxr-x 9 jenkins jenkins 4096 Aug 23 17:30 . 17:32:22 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 17:27 .. 17:32:22 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 17:27 .git 17:32:22 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 17:27 .github 17:32:22 -rw-rw-r-- 1 jenkins jenkins 418 Aug 23 17:27 .gitignore 17:32:22 -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 17:27 .golangci.yml 17:32:22 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 23 17:27 Attribution.txt 17:32:22 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 23 17:27 CHANGELOG.md 17:32:22 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 23 17:27 Dockerfile 17:32:22 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 17:27 GOVERNANCE.md 17:32:22 -rw-rw-r-- 1 jenkins jenkins 734 Aug 23 17:27 Jenkinsfile 17:32:22 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 23 17:27 LICENSE 17:32:22 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 23 17:27 Makefile 17:32:22 -rw-rw-r-- 1 jenkins jenkins 625 Aug 23 17:27 OWNERS.md 17:32:22 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 23 17:27 README.md 17:32:22 -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 17:25 VERSION 17:32:22 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 17:27 bin 17:32:22 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 17:27 cmd 17:32:22 -rw-r--r-- 1 jenkins jenkins 76854 Aug 23 17:31 coverage.out 17:32:22 drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 17:27 doc 17:32:22 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 23 17:27 go.mod 17:32:22 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 23 17:27 go.sum 17:32:22 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 17:27 internal 17:32:22 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 17:27 snap 17:32:22 -rw-rw-r-- 1 jenkins jenkins 236 Aug 23 17:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:22 + 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=0f80192e9361b2037e98900f026395c61b41004e --label arch=arm64 --label version=0.0.0 . 17:32:23 Sending build context to Docker daemon 14.18MB 17:32:23 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:32:23 Step 2/26 : FROM ${BASE} AS builder 17:32:23 ---> e990d6902235 17:32:23 Step 3/26 : ARG MAKE="make build" 17:32:23 ---> Running in d9967aceb0eb 17:32:23 Removing intermediate container d9967aceb0eb 17:32:23 ---> 3c404b4443d5 17:32:23 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:32:23 ---> Running in ecef41961e3a 17:32:23 Removing intermediate container ecef41961e3a 17:32:23 ---> 0bf1e1224f89 17:32:23 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 17:32:23 ---> Running in 3561ad43ce1e 17:32:24 Removing intermediate container 3561ad43ce1e 17:32:24 ---> 99407272e6d9 17:32:24 Step 6/26 : LABEL Name=edgex-device-onvif-camera 17:32:24 ---> Running in fdeda122c8d9 17:32:24 Removing intermediate container fdeda122c8d9 17:32:24 ---> 90231f200d68 17:32:24 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:32:24 ---> Running in 18aca5a08fe7 17:32:26 Removing intermediate container 18aca5a08fe7 17:32:26 ---> 4158c3c4787b 17:32:26 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:32:26 ---> Running in fd14fe2ffbf0 17:32:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:32:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:32:29 OK: 221 MiB in 51 packages 17:32:30 Removing intermediate container fd14fe2ffbf0 17:32:30 ---> a055e3051aba 17:32:30 Step 9/26 : WORKDIR /device-onvif-camera 17:32:30 ---> Running in 3beebfd327fd 17:32:30 Removing intermediate container 3beebfd327fd 17:32:30 ---> fb84b09c9a76 17:32:30 Step 10/26 : COPY go.mod vendor* ./ 17:32:31 ---> 638e28eec849 17:32:31 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:32:31 ---> Running in 64d032232fe4 17:32:33 Removing intermediate container 64d032232fe4 17:32:33 ---> a0361a949c58 17:32:33 Step 12/26 : COPY . . 17:32:35 ---> 564e63fea8df 17:32:35 Step 13/26 : RUN ${MAKE} 17:32:35 ---> Running in d9231bf2a299 17:32:35 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:34:57 Removing intermediate container d9231bf2a299 17:34:57 ---> 2c09e0216611 17:34:57 Step 14/26 : FROM alpine:3.16 17:34:57 3.16: Pulling from library/alpine 17:34:57 9b18e9b68314: Pulling fs layer 17:34:57 9b18e9b68314: Verifying Checksum 17:34:57 9b18e9b68314: Download complete 17:34:57 9b18e9b68314: Pull complete 17:34:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:34:57 Status: Downloaded newer image for alpine:3.16 17:34:57 ---> a6215f271958 17:34:57 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:34:57 ---> Running in f161bf4ccb28 17:34:57 Removing intermediate container f161bf4ccb28 17:34:57 ---> 095d517c086b 17:34:57 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:34:57 ---> Running in 5f353576d344 17:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:34:57 (1/6) Installing dumb-init (1.2.5-r1) 17:34:57 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:34:57 (3/6) Installing libsodium (1.0.18-r0) 17:34:57 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:34:57 (5/6) Installing libzmq (4.3.4-r0) 17:34:57 (6/6) Installing zeromq (4.3.4-r0) 17:34:57 Executing busybox-1.35.0-r17.trigger 17:34:57 OK: 8 MiB in 20 packages 17:34:57 Removing intermediate container 5f353576d344 17:34:57 ---> 3c3e655b5939 17:34:57 Step 17/26 : WORKDIR / 17:34:57 ---> Running in dcf2671e733d 17:34:57 Removing intermediate container dcf2671e733d 17:34:57 ---> 078d08131989 17:34:57 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:34:57 ---> 57bc881d26a3 17:34:57 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:34:58 ---> df16241e3029 17:34:58 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:34:58 ---> d32c1b92e8e0 17:34:58 Step 21/26 : EXPOSE 59984 17:34:58 ---> Running in d03d52deb215 17:34:58 Removing intermediate container d03d52deb215 17:34:58 ---> 1ae52997cbf5 17:34:58 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:34:59 ---> Running in 0edd2832519d 17:34:59 Removing intermediate container 0edd2832519d 17:34:59 ---> a6085260e8b2 17:34:59 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:34:59 ---> Running in 9320edc11413 17:34:59 Removing intermediate container 9320edc11413 17:34:59 ---> 8e8bdc290da2 17:34:59 Step 24/26 : LABEL arch=arm64 17:34:59 ---> Running in 1ca9a47207dd 17:35:00 Removing intermediate container 1ca9a47207dd 17:35:00 ---> bac1eb2d6089 17:35:00 Step 25/26 : LABEL git_sha=0f80192e9361b2037e98900f026395c61b41004e 17:35:00 ---> Running in 4c998dc38a20 17:35:00 Removing intermediate container 4c998dc38a20 17:35:00 ---> 54770c98a2b8 17:35:00 Step 26/26 : LABEL version=0.0.0 17:35:00 ---> Running in a62a844e9b1b 17:35:00 Removing intermediate container a62a844e9b1b 17:35:00 ---> d636be8b7830 17:35:00 [Warning] One or more build-args [ARCH] were not consumed 17:35:00 Successfully built d636be8b7830 17:35:00 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:35:01 17:35:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:35:02 arm64: Pulling from edgex-lftools-log-publisher 17:35:02 8998bd30e6a1: Pulling fs layer 17:35:02 04944245beec: Pulling fs layer 17:35:02 699f458cf7ca: Pulling fs layer 17:35:02 765212b225bb: Pulling fs layer 17:35:02 f23df028b6ca: Pulling fs layer 17:35:02 d65c8cfc05b1: Pulling fs layer 17:35:02 2437ff75d9bd: Pulling fs layer 17:35:02 765212b225bb: Waiting 17:35:02 f23df028b6ca: Waiting 17:35:02 d65c8cfc05b1: Waiting 17:35:02 2437ff75d9bd: Waiting 17:35:02 04944245beec: Verifying Checksum 17:35:02 04944245beec: Download complete 17:35:02 765212b225bb: Verifying Checksum 17:35:02 765212b225bb: Download complete 17:35:02 f23df028b6ca: Verifying Checksum 17:35:02 f23df028b6ca: Download complete 17:35:02 d65c8cfc05b1: Verifying Checksum 17:35:02 d65c8cfc05b1: Download complete 17:35:02 699f458cf7ca: Verifying Checksum 17:35:02 699f458cf7ca: Download complete 17:35:02 8998bd30e6a1: Verifying Checksum 17:35:05 2437ff75d9bd: Verifying Checksum 17:35:05 2437ff75d9bd: Download complete 17:35:07 8998bd30e6a1: Pull complete 17:35:07 04944245beec: Pull complete 17:35:09 699f458cf7ca: Pull complete 17:35:09 765212b225bb: Pull complete 17:35:10 f23df028b6ca: Pull complete 17:35:10 d65c8cfc05b1: Pull complete 17:35:25 2437ff75d9bd: Pull complete 17:35:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:35:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:35:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:26 prd-ubuntu20.04-docker-arm64-4c-16g-23390 does not seem to be running inside a container 17:35:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:35:28 $ docker top 6f99cdf201e57e26668f0b5edb77d6f5c9ec8ba58a4e869c339a7c194ed03ed6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:29 ---> job-cost.sh 17:35:29 lf-activate-venv: SKIPPING 17:35:29 INFO: No Stack... 17:35:30 INFO: Retrieving Pricing Info for: v3-standard-4 17:35:30 INFO: Archiving Costs [Pipeline] sh 17:35:31 + cut -d, -f6 17:35:31 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 17:35:31 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-144-1-stack-cost] 17:35:31 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-144-1-stack-cost] did not exist. Created. 17:35:31 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-144-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:35:32 /w/workspace/device-onvif-camera/1@tmp/durable-5ce2ec2d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:35:32 + echo total: 0.10999999940395355 [Pipeline] stash 17:35:33 Warning: overwriting stash ‘stack-cost’ 17:35:33 Stashed 1 file(s) [Pipeline] } 17:35:33 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-144-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:35:33 $ docker stop --time=1 6f99cdf201e57e26668f0b5edb77d6f5c9ec8ba58a4e869c339a7c194ed03ed6 17:35:34 $ docker rm -f 6f99cdf201e57e26668f0b5edb77d6f5c9ec8ba58a4e869c339a7c194ed03ed6 [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 17:35:35 provisioning config files... 17:35:35 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-144@tmp/config6902612374321550660tmp [Pipeline] { [Pipeline] sh 17:35:36 + set +x 17:35:36 + curl -s https://codecov.io/bash 17:35:36 + bash -s -- 17:35:36 17:35:36 _____ _ 17:35:36 / ____| | | 17:35:36 | | ___ __| | ___ ___ _____ __ 17:35:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:35:36 | |___| (_) | (_| | __/ (_| (_) \ V / 17:35:36 \_____\___/ \__,_|\___|\___\___/ \_/ 17:35:36 Bash-1.0.6 17:35:36 17:35:36 17:35:36 ==> git version 2.25.1 found 17:35:36 ==> 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 17:35:36 Release-Date: 2020-01-08 17:35:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:35:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:35:36 ==> Jenkins CI detected. 17:35:36 current dir:  /w/workspace/undry_device-onvif-camera_PR-144 17:35:36 project root: . 17:35:36 --> token set from env 17:35:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:35:36 ==> Running gcov in . (disable via -X gcov) 17:35:36 ==> Python coveragepy not found 17:35:36 ==> Searching for coverage reports in: 17:35:36 + . 17:35:36 -> Found 1 reports 17:35:36 ==> Detecting git/mercurial file structure 17:35:36 ==> Reading reports 17:35:36 + ./coverage.out bytes=76854 17:35:36 ==> Appending adjustments 17:35:36 https://docs.codecov.io/docs/fixing-reports 17:35:36 + Found adjustments 17:35:36 ==> Gzipping contents 17:35:36 12K /tmp/codecov.OTluZ5.gz 17:35:36 ==> Uploading reports 17:35:36 url: https://codecov.io 17:35:36 query: branch=PR-144&commit=c0d55a4ffea056f1a843b76f240b726a816c12bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-144%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=144&job=&cmd_args= 17:35:36 -> Pinging Codecov 17:35:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-144&commit=c0d55a4ffea056f1a843b76f240b726a816c12bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-144%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=144&job=&cmd_args= 17:35:36 -> Uploading to 17:35:36 https://storage.googleapis.com/codecov/v4/raw/2022-08-23/F29A59C45E3A92E06B3E522C9905F8EF/c0d55a4ffea056f1a843b76f240b726a816c12bf/7c928a32-69a1-4381-aa98-d902144032c1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220823%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220823T173536Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=01a6aa243bbb5cf4516fc6c1fbcf4dc8731b7530cff77f7931b45746ceba047d 17:35:36 % Total % Received % Xferd Average Speed Time Time Time Current 17:35:36 Dload Upload Total Spent Left Speed 17:35:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10403 0 0 100 10403 0 42288 --:--:-- --:--:-- --:--:-- 42288 17:35:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/c0d55a4ffea056f1a843b76f240b726a816c12bf [Pipeline] } 17:35:36 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 17:35:38 + [ -d /w/workspace/undry_device-onvif-camera_PR-144/archives ] 17:35:38 + ls -al /w/workspace/undry_device-onvif-camera_PR-144/archives 17:35:38 total 16 17:35:38 drwxr-xr-x 3 root root 4096 Aug 23 17:27 . 17:35:38 drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 17:27 .. 17:35:38 drwxr-xr-x 2 root root 4096 Aug 23 17:27 cost 17:35:38 -rw-r--r-- 1 root root 91 Aug 23 17:27 cost.csv 17:35:38 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-144/archives 17:35:38 + ls -al /w/workspace/undry_device-onvif-camera_PR-144/archives 17:35:38 total 16 17:35:38 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 17:27 . 17:35:38 drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 17:27 .. 17:35:38 drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 17:27 cost 17:35:38 -rw-r--r-- 1 jenkins jenkins 91 Aug 23 17:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:35:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:35:39 ---> package-listing.sh 17:35:39 ++ facter osfamily 17:35:39 ++ tr '[:upper:]' '[:lower:]' 17:35:40 + OS_FAMILY=debian 17:35:40 + workspace=/w/workspace/undry_device-onvif-camera_PR-144 17:35:40 + START_PACKAGES=/tmp/packages_start.txt 17:35:40 + END_PACKAGES=/tmp/packages_end.txt 17:35:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:35:40 + PACKAGES=/tmp/packages_start.txt 17:35:40 + '[' /w/workspace/undry_device-onvif-camera_PR-144 ']' 17:35:40 + PACKAGES=/tmp/packages_end.txt 17:35:40 + case "${OS_FAMILY}" in 17:35:40 + dpkg -l 17:35:40 + grep '^ii' 17:35:40 + '[' -f /tmp/packages_start.txt ']' 17:35:40 + '[' -f /tmp/packages_end.txt ']' 17:35:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:35:40 + '[' /w/workspace/undry_device-onvif-camera_PR-144 ']' 17:35:40 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-144/archives/ 17:35:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-144/archives/ [Pipeline] echo 17:35:40 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-144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:35:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:41 prd-ubuntu20.04-docker-8c-8g-23389 does not seem to be running inside a container 17:35:41 $ 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-144/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-144 -v /w/workspace/undry_device-onvif-camera_PR-144:/w/workspace/undry_device-onvif-camera_PR-144:rw,z -v /w/workspace/undry_device-onvif-camera_PR-144@tmp:/w/workspace/undry_device-onvif-camera_PR-144@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-lftools-log-publisher:latest cat 17:35:41 $ docker top 77d653473b8877a835fb9bfa73b5bed275637cf3b8202cd697d9446c658fcda3 -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:42 + touch /tmp/pre-build-complete [Pipeline] sh 17:35:42 + mkdir -p /var/log/sysstat [Pipeline] sh 17:35:42 + ls /var/log/sa-host 17:35:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:42 provisioning config files... 17:35:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-144@tmp/config940220566250183034tmp [Pipeline] { [Pipeline] echo 17:35:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:35:43 ---> create-netrc.sh [Pipeline] } 17:35:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:35:43 ---> python-tools-install.sh [Pipeline] echo 17:35:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:35:44 ---> sudo-logs.sh 17:35:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:35:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:35:44 ---> job-cost.sh 17:35:44 lf-activate-venv: SKIPPING 17:35:44 DEBUG: total: 0.2199999988079071 17:35:44 INFO: Retrieving Stack Cost... 17:35:45 INFO: Retrieving Pricing Info for: v3-standard-8 17:35:45 INFO: Archiving Costs [Pipeline] echo 17:35:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:35:45 ---> logs-deploy.sh 17:35:45 lf-activate-venv: SKIPPING 17:35:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-144/1 17:35:45 INFO: archiving workspace using pattern(s): 17:35:47 Archives upload complete. 17:35:47 INFO: archiving logs to Nexus 17:35:47 ---> uname -a: 17:35:47 Linux prd-ubuntu20-04-docker-8c-8g-23389 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 17:35:47 17:35:47 17:35:47 ---> lscpu: 17:35:47 Architecture: x86_64 17:35:47 CPU op-mode(s): 32-bit, 64-bit 17:35:47 Byte Order: Little Endian 17:35:47 Address sizes: 40 bits physical, 48 bits virtual 17:35:47 CPU(s): 8 17:35:47 On-line CPU(s) list: 0-7 17:35:47 Thread(s) per core: 1 17:35:47 Core(s) per socket: 1 17:35:47 Socket(s): 8 17:35:47 NUMA node(s): 1 17:35:47 Vendor ID: AuthenticAMD 17:35:47 CPU family: 23 17:35:47 Model: 49 17:35:47 Model name: AMD EPYC-Rome Processor 17:35:47 Stepping: 0 17:35:47 CPU MHz: 2800.000 17:35:47 BogoMIPS: 5600.00 17:35:47 Virtualization: AMD-V 17:35:47 Hypervisor vendor: KVM 17:35:47 Virtualization type: full 17:35:47 L1d cache: 256 KiB 17:35:47 L1i cache: 256 KiB 17:35:47 L2 cache: 4 MiB 17:35:47 L3 cache: 128 MiB 17:35:47 NUMA node0 CPU(s): 0-7 17:35:47 Vulnerability Itlb multihit: Not affected 17:35:47 Vulnerability L1tf: Not affected 17:35:47 Vulnerability Mds: Not affected 17:35:47 Vulnerability Meltdown: Not affected 17:35:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:35:47 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:35:47 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:35:47 Vulnerability Srbds: Not affected 17:35:47 Vulnerability Tsx async abort: Not affected 17:35:47 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 17:35:47 17:35:47 17:35:47 ---> nproc: 17:35:47 8 17:35:47 17:35:47 17:35:47 ---> df -h: 17:35:47 Filesystem Size Used Avail Use% Mounted on 17:35:47 overlay 155G 11G 145G 8% / 17:35:47 tmpfs 64M 0 64M 0% /dev 17:35:47 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:35:47 shm 64M 0 64M 0% /dev/shm 17:35:47 /dev/vda1 155G 11G 145G 8% /facter-os 17:35:47 17:35:47 17:35:47 ---> sar -b -r -n DEV: 17:35:47 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-23389) 08/23/22 _x86_64_ (8 CPU) 17:35:47 17:35:47 17:24:49 LINUX RESTART (8 CPU) 17:35:47 17:35:47 17:25:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:35:47 17:26:01 403.25 55.79 347.46 0.00 7444.76 182081.25 0.00 17:35:47 17:27:01 237.77 1.02 236.75 0.00 19.06 67648.78 0.00 17:35:47 17:28:01 113.85 0.00 113.85 0.00 0.00 34316.41 0.00 17:35:47 17:29:01 2.57 0.00 2.57 0.00 0.00 29.74 0.00 17:35:47 17:30:01 1.40 0.02 1.38 0.00 0.13 15.73 0.00 17:35:47 17:31:01 1.42 0.00 1.42 0.00 0.00 16.53 0.00 17:35:47 17:32:01 1.23 0.00 1.23 0.00 0.00 14.00 0.00 17:35:47 17:33:01 1.63 0.07 1.57 0.00 0.67 17.60 0.00 17:35:47 17:34:01 1.27 0.00 1.27 0.00 0.00 13.20 0.00 17:35:47 17:35:01 1.52 0.00 1.52 0.00 0.00 18.93 0.00 17:35:47 Average: 76.59 5.69 70.90 0.00 746.44 28417.40 0.00 17:35:47 17:35:47 17:25:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:35:47 17:26:01 28838112 31762816 540040 1.64 116528 3075952 2022480 5.96 1125480 2539944 607444 17:35:47 17:27:01 28162940 31653944 632208 1.92 166744 3522028 2413840 7.11 1423308 2824684 2444 17:35:47 17:28:01 27544840 31770648 518348 1.58 176520 4192228 1836776 5.41 1361124 3456244 300 17:35:47 17:29:01 27545252 31771124 517440 1.57 176572 4192232 1836776 5.41 1360044 3456244 172 17:35:47 17:30:01 27547640 31773384 515104 1.57 176592 4192240 1836776 5.41 1357020 3456252 20 17:35:47 17:31:01 27547348 31773104 515320 1.57 176604 4192240 1836776 5.41 1357456 3456256 48 17:35:47 17:32:01 27555056 31780856 507464 1.54 176628 4192248 1836776 5.41 1349572 3456264 12 17:35:47 17:33:01 27554596 31780452 507804 1.54 176664 4192240 1836776 5.41 1349812 3456320 48 17:35:47 17:34:01 27555328 31781316 506828 1.54 176684 4192268 1836776 5.41 1349512 3456332 12 17:35:47 17:35:01 27554488 31780540 507588 1.54 176712 4192272 1836776 5.41 1350196 3456336 68 17:35:47 Average: 27740560 31762818 526814 1.60 169625 4013595 1913053 5.64 1338352 3301488 61057 17:35:47 17:35:47 17:25:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:35:47 17:26:01 ens3 862.32 516.18 7555.70 108.70 0.00 0.00 0.00 0.00 17:35:47 17:26:01 lo 7.40 7.40 0.71 0.71 0.00 0.00 0.00 0.00 17:35:47 17:26:01 docker0 9.02 9.90 0.89 104.91 0.00 0.00 0.00 0.00 17:35:47 17:27:01 ens3 249.02 190.59 1617.16 81.87 0.00 0.00 0.00 0.00 17:35:47 17:27:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 17:35:47 17:27:01 docker0 137.72 178.64 11.11 1571.54 0.00 0.00 0.00 0.00 17:35:47 17:27:01 veth4c4cbc5 0.03 0.07 0.00 0.01 0.00 0.00 0.00 0.00 17:35:47 17:28:01 ens3 120.30 78.47 2631.50 23.66 0.00 0.00 0.00 0.00 17:35:47 17:28:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 17:35:47 17:28:01 docker0 2.20 5.40 0.15 57.94 0.00 0.00 0.00 0.00 17:35:47 17:29:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 17:35:47 17:29:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:35:47 17:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:47 17:30:01 ens3 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:35:47 17:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:47 17:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:47 17:31:01 ens3 7.47 8.12 0.55 13.91 0.00 0.00 0.00 0.00 17:35:47 17:31:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:35:47 17:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:47 17:32:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:47 17:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:47 17:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:47 17:33:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 17:35:47 17:33:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:35:47 17:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:47 17:34:01 ens3 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:35:47 17:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:47 17:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:47 17:35:01 ens3 7.83 3.90 13.12 0.26 0.00 0.00 0.00 0.00 17:35:47 17:35:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:35:47 17:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:47 Average: ens3 124.72 79.75 1181.79 22.84 0.00 0.00 0.00 0.00 17:35:47 Average: lo 1.03 1.03 0.10 0.10 0.00 0.00 0.00 0.00 17:35:47 Average: docker0 14.90 19.40 1.21 173.46 0.00 0.00 0.00 0.00 17:35:47 17:35:47 17:35:47 ---> sar -P ALL: 17:35:47 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-23389) 08/23/22 _x86_64_ (8 CPU) 17:35:47 17:35:47 17:24:49 LINUX RESTART (8 CPU) 17:35:47 17:35:47 17:25:01 CPU %user %nice %system %iowait %steal %idle 17:35:47 17:26:01 all 11.92 0.00 4.63 1.69 0.15 81.62 17:35:47 17:26:01 0 11.92 0.00 4.01 1.06 0.12 82.90 17:35:47 17:26:01 1 12.36 0.00 3.89 1.16 0.13 82.46 17:35:47 17:26:01 2 11.95 0.00 3.79 2.86 0.15 81.25 17:35:47 17:26:01 3 8.62 0.00 4.97 1.36 0.13 84.91 17:35:47 17:26:01 4 11.42 0.00 4.08 1.06 0.17 83.27 17:35:47 17:26:01 5 14.51 0.00 4.83 2.86 0.13 77.66 17:35:47 17:26:01 6 12.24 0.00 6.87 1.41 0.17 79.31 17:35:47 17:26:01 7 12.34 0.00 4.62 1.71 0.15 81.17 17:35:47 17:27:01 all 27.93 0.00 6.08 1.25 0.14 64.60 17:35:47 17:27:01 0 28.26 0.00 5.46 1.37 0.15 64.76 17:35:47 17:27:01 1 27.68 0.00 6.65 0.57 0.12 64.98 17:35:47 17:27:01 2 29.16 0.00 6.68 1.62 0.13 62.41 17:35:47 17:27:01 3 27.20 0.00 6.58 3.52 0.14 62.57 17:35:47 17:27:01 4 26.28 0.00 5.88 0.05 0.14 67.66 17:35:47 17:27:01 5 29.62 0.00 5.92 0.64 0.15 63.66 17:35:47 17:27:01 6 28.08 0.00 5.92 1.00 0.13 64.87 17:35:47 17:27:01 7 27.17 0.00 5.53 1.25 0.17 65.88 17:35:47 17:28:01 all 18.77 0.00 3.62 0.57 0.07 76.98 17:35:47 17:28:01 0 18.32 0.00 4.01 0.13 0.05 77.49 17:35:47 17:28:01 1 18.98 0.00 3.51 0.49 0.07 76.95 17:35:47 17:28:01 2 19.89 0.00 3.65 1.75 0.07 74.64 17:35:47 17:28:01 3 18.87 0.00 3.37 0.13 0.07 77.56 17:35:47 17:28:01 4 19.10 0.00 3.19 0.02 0.07 77.62 17:35:47 17:28:01 5 17.76 0.00 3.62 0.02 0.07 78.54 17:35:47 17:28:01 6 18.91 0.00 3.43 0.02 0.07 77.58 17:35:47 17:28:01 7 18.33 0.00 4.15 1.99 0.10 75.42 17:35:47 17:29:01 all 0.03 0.00 0.02 0.01 0.01 99.94 17:35:47 17:29:01 0 0.02 0.00 0.02 0.00 0.02 99.95 17:35:47 17:29:01 1 0.03 0.00 0.02 0.00 0.02 99.93 17:35:47 17:29:01 2 0.00 0.00 0.02 0.05 0.00 99.93 17:35:47 17:29:01 3 0.05 0.00 0.02 0.00 0.02 99.92 17:35:47 17:29:01 4 0.02 0.00 0.02 0.00 0.00 99.97 17:35:47 17:29:01 5 0.02 0.00 0.02 0.00 0.00 99.97 17:35:47 17:29:01 6 0.07 0.00 0.02 0.00 0.00 99.92 17:35:47 17:29:01 7 0.03 0.00 0.05 0.00 0.00 99.92 17:35:47 17:30:01 all 0.03 0.00 0.02 0.01 0.01 99.95 17:35:47 17:30:01 0 0.02 0.00 0.03 0.00 0.00 99.95 17:35:47 17:30:01 1 0.02 0.00 0.02 0.02 0.00 99.95 17:35:47 17:30:01 2 0.05 0.00 0.02 0.03 0.02 99.88 17:35:47 17:30:01 3 0.03 0.00 0.00 0.00 0.00 99.97 17:35:47 17:30:01 4 0.02 0.00 0.00 0.00 0.00 99.98 17:35:47 17:30:01 5 0.02 0.00 0.02 0.00 0.00 99.97 17:35:47 17:30:01 6 0.03 0.00 0.02 0.00 0.02 99.93 17:35:47 17:30:01 7 0.02 0.00 0.03 0.00 0.02 99.93 17:35:47 17:31:01 all 0.02 0.00 0.01 0.00 0.00 99.96 17:35:47 17:31:01 0 0.05 0.00 0.03 0.00 0.00 99.92 17:35:47 17:31:01 1 0.00 0.00 0.00 0.02 0.00 99.98 17:35:47 17:31:01 2 0.02 0.00 0.02 0.00 0.00 99.97 17:35:47 17:31:01 3 0.02 0.00 0.00 0.00 0.00 99.98 17:35:47 17:31:01 4 0.02 0.00 0.02 0.00 0.00 99.97 17:35:47 17:31:01 5 0.02 0.00 0.00 0.00 0.00 99.98 17:35:47 17:31:01 6 0.03 0.00 0.02 0.00 0.00 99.95 17:35:47 17:31:01 7 0.03 0.00 0.03 0.02 0.00 99.92 17:35:47 17:32:01 all 0.04 0.00 0.02 0.00 0.00 99.94 17:35:47 17:32:01 0 0.03 0.00 0.03 0.00 0.00 99.93 17:35:47 17:32:01 1 0.02 0.00 0.00 0.00 0.00 99.98 17:35:47 17:32:01 2 0.03 0.00 0.02 0.02 0.00 99.93 17:35:47 17:32:01 3 0.02 0.00 0.02 0.00 0.00 99.97 17:35:47 17:32:01 4 0.03 0.00 0.02 0.00 0.00 99.95 17:35:47 17:32:01 5 0.02 0.00 0.00 0.00 0.00 99.98 17:35:47 17:32:01 6 0.10 0.00 0.05 0.00 0.00 99.85 17:35:47 17:32:01 7 0.03 0.00 0.03 0.00 0.00 99.93 17:35:47 17:33:01 all 0.02 0.00 0.01 0.01 0.01 99.95 17:35:47 17:33:01 0 0.07 0.00 0.07 0.00 0.02 99.85 17:35:47 17:33:01 1 0.00 0.00 0.02 0.03 0.02 99.93 17:35:47 17:33:01 2 0.03 0.00 0.00 0.02 0.00 99.95 17:35:47 17:33:01 3 0.02 0.00 0.00 0.00 0.00 99.98 17:35:47 17:33:01 4 0.00 0.00 0.00 0.00 0.00 100.00 17:35:47 17:33:01 5 0.02 0.00 0.02 0.00 0.00 99.97 17:35:47 17:33:01 6 0.00 0.00 0.00 0.00 0.02 99.98 17:35:47 17:33:01 7 0.03 0.00 0.00 0.00 0.02 99.95 17:35:47 17:34:01 all 0.03 0.00 0.01 0.01 0.00 99.95 17:35:47 17:34:01 0 0.08 0.00 0.03 0.00 0.00 99.88 17:35:47 17:34:01 1 0.02 0.00 0.02 0.03 0.00 99.93 17:35:47 17:34:01 2 0.05 0.00 0.02 0.02 0.00 99.92 17:35:47 17:34:01 3 0.00 0.00 0.00 0.00 0.00 100.00 17:35:47 17:34:01 4 0.07 0.00 0.00 0.00 0.00 99.93 17:35:47 17:34:01 5 0.02 0.00 0.00 0.00 0.00 99.98 17:35:47 17:34:01 6 0.00 0.00 0.02 0.00 0.00 99.98 17:35:47 17:34:01 7 0.02 0.00 0.02 0.00 0.00 99.97 17:35:47 17:35:01 all 0.04 0.00 0.01 0.00 0.00 99.94 17:35:47 17:35:01 0 0.03 0.00 0.03 0.00 0.02 99.92 17:35:47 17:35:01 1 0.05 0.00 0.02 0.02 0.00 99.92 17:35:47 17:35:01 2 0.00 0.00 0.00 0.02 0.00 99.98 17:35:47 17:35:01 3 0.08 0.00 0.02 0.00 0.00 99.90 17:35:47 17:35:01 4 0.12 0.00 0.00 0.00 0.00 99.88 17:35:47 17:35:01 5 0.00 0.00 0.00 0.00 0.00 100.00 17:35:47 17:35:01 6 0.03 0.00 0.00 0.00 0.00 99.97 17:35:47 17:35:01 7 0.02 0.00 0.05 0.00 0.00 99.93 17:35:47 Average: all 5.84 0.00 1.43 0.35 0.04 92.34 17:35:47 Average: 0 5.83 0.00 1.36 0.25 0.04 92.52 17:35:47 Average: 1 5.87 0.00 1.40 0.23 0.04 92.46 17:35:47 Average: 2 6.07 0.00 1.41 0.63 0.04 91.85 17:35:47 Average: 3 5.45 0.00 1.48 0.50 0.04 92.54 17:35:47 Average: 4 5.66 0.00 1.31 0.11 0.04 92.88 17:35:47 Average: 5 6.15 0.00 1.43 0.35 0.04 92.03 17:35:47 Average: 6 5.91 0.00 1.62 0.24 0.04 92.18 17:35:47 Average: 7 5.75 0.00 1.44 0.49 0.05 92.28 17:35:47 17:35:47 17:35:47