Pull request #150 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 06d0f2addced559a6b629125c025b062c3ce01e9 rather than 14fba0afb2397dba4add4d4782a4187c0e389ea1 Obtained Jenkinsfile from 06d0f2addced559a6b629125c025b062c3ce01e9 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-ssh10059551492385463306.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15303669617395847346.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-150/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-150/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12925028842529118001.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-150/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2569431494773435574.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh17350240904250773205.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-150/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-150/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6869039188784133846.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-24286 in /w/workspace/undry_device-onvif-camera_PR-150 [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-150 # 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 06d0f2addced559a6b629125c025b062c3ce01e9 into PR head commit 14fba0afb2397dba4add4d4782a4187c0e389ea1 Merge succeeded, producing 14fba0afb2397dba4add4d4782a4187c0e389ea1 Checking out Revision 14fba0afb2397dba4add4d4782a4187c0e389ea1 (PR-150) > 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/150/head:refs/remotes/origin/PR-150 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14fba0afb2397dba4add4d4782a4187c0e389ea1 # 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 06d0f2addced559a6b629125c025b062c3ce01e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14fba0afb2397dba4add4d4782a4187c0e389ea1 # timeout=10 Commit message: "feat: remove custom service interface and use sdk interface" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:37:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:37:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:37:38 ========================================================= 05:37:38 EdgeX Global Pipelines Version Info 05:37:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:37:39 ------------------- 05:37:39 stable info: 05:37:39 ------------------- 05:37:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:37:39 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:37:39 Message: update stable to v1.0.239 05:37:40 ------------------- 05:37:40 experimental info: 05:37:40 ------------------- 05:37:40 Commited By: **** collab-it+edgex@linuxfoundation.org 05:37:40 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:37:40 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:37:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 05:37:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 05:37:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:37:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:37:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:37:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:37:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:37:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:37:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-150 [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-150 [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-150 [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14fba0afb2397dba4add4d4782a4187c0e389ea1 [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14fba0a [Pipeline] echo 05:37:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:37:42 provisioning config files... 05:37:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-150@tmp/config6254565068401095170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:37:42 ---> docker-login.sh 05:37:42 nexus3.edgexfoundry.org:10001 05:37:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:37:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:37:42 Configure a credential helper to remove this warning. See 05:37:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:37:42 05:37:42 Login Succeeded 05:37:42 nexus3.edgexfoundry.org:10002 05:37:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:37:43 Configure a credential helper to remove this warning. See 05:37:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:37:43 05:37:43 Login Succeeded 05:37:43 nexus3.edgexfoundry.org:10003 05:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:37:43 Configure a credential helper to remove this warning. See 05:37:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:37:43 05:37:43 Login Succeeded 05:37:43 nexus3.edgexfoundry.org:10004 05:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:37:43 Configure a credential helper to remove this warning. See 05:37:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:37:43 05:37:43 Login Succeeded 05:37:43 docker.io 05:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:37:43 Configure a credential helper to remove this warning. See 05:37:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:37:43 05:37:43 Login Succeeded 05:37:43 ---> docker-login.sh ends [Pipeline] } 05:37:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:37:44 + git rev-list -1 --merges 14fba0afb2397dba4add4d4782a4187c0e389ea1~1..14fba0afb2397dba4add4d4782a4187c0e389ea1 [Pipeline] echo 05:37:44 -----------> git rev-list -1 --merges 14fba0afb2397dba4add4d4782a4187c0e389ea1~1..14fba0afb2397dba4add4d4782a4187c0e389ea1 14fba0afb2397dba4add4d4782a4187c0e389ea1 [false] [Pipeline] sh 05:37:44 + git log --format=format:%s -1 14fba0afb2397dba4add4d4782a4187c0e389ea1 [Pipeline] echo 05:37:44 ========================================================= 05:37:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:37:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:37:45 + git log --format=format:%s -1 14fba0afb2397dba4add4d4782a4187c0e389ea1 [Pipeline] echo 05:37:45 [semverPrep] GIT_COMMIT: 14fba0afb2397dba4add4d4782a4187c0e389ea1, Commit Message: feat: remove custom service interface and use sdk interface [Pipeline] echo 05:37:45 [semverPrep] This is not a build commit. [Pipeline] sh 05:37:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:37:45 + grep -v github /etc/ssh/ssh_known_hosts 05:37:45 + [ -e /tmp/ssh_known_hosts ] 05:37:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:37:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:37:45 + sudo tee -a /etc/ssh/ssh_known_hosts 05:37:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:37:46 05:37:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:37:46 0.1.4: Pulling from edgex-devops/py-git-semver 05:37:46 b85a868b505f: Pulling fs layer 05:37:46 e2be974225ed: Pulling fs layer 05:37:46 339a4e72a1f5: Pulling fs layer 05:37:46 988bab9f4d93: Pulling fs layer 05:37:46 1469e6f7b9e6: Pulling fs layer 05:37:46 eaf3925da568: Pulling fs layer 05:37:46 bab4dde63d76: Pulling fs layer 05:37:46 bde34c3a00c8: Pulling fs layer 05:37:46 b352a97aabf1: Pulling fs layer 05:37:46 4872d77fe225: Pulling fs layer 05:37:46 5851b861e8e6: Pulling fs layer 05:37:46 988bab9f4d93: Waiting 05:37:46 bde34c3a00c8: Waiting 05:37:46 1469e6f7b9e6: Waiting 05:37:46 bab4dde63d76: Waiting 05:37:46 eaf3925da568: Waiting 05:37:46 b352a97aabf1: Waiting 05:37:46 4872d77fe225: Waiting 05:37:46 5851b861e8e6: Waiting 05:37:46 e2be974225ed: Download complete 05:37:46 988bab9f4d93: Verifying Checksum 05:37:46 988bab9f4d93: Download complete 05:37:46 1469e6f7b9e6: Verifying Checksum 05:37:46 1469e6f7b9e6: Download complete 05:37:46 eaf3925da568: Verifying Checksum 05:37:46 eaf3925da568: Download complete 05:37:46 339a4e72a1f5: Verifying Checksum 05:37:46 339a4e72a1f5: Download complete 05:37:46 bde34c3a00c8: Verifying Checksum 05:37:46 bde34c3a00c8: Download complete 05:37:46 b352a97aabf1: Verifying Checksum 05:37:46 b352a97aabf1: Download complete 05:37:46 4872d77fe225: Download complete 05:37:46 5851b861e8e6: Download complete 05:37:46 b85a868b505f: Verifying Checksum 05:37:46 b85a868b505f: Download complete 05:37:47 bab4dde63d76: Verifying Checksum 05:37:47 bab4dde63d76: Download complete 05:37:48 b85a868b505f: Pull complete 05:37:48 e2be974225ed: Pull complete 05:37:49 339a4e72a1f5: Pull complete 05:37:49 988bab9f4d93: Pull complete 05:37:49 1469e6f7b9e6: Pull complete 05:37:49 eaf3925da568: Pull complete 05:37:51 bab4dde63d76: Pull complete 05:37:51 bde34c3a00c8: Pull complete 05:37:51 b352a97aabf1: Pull complete 05:37:51 4872d77fe225: Pull complete 05:37:51 5851b861e8e6: Pull complete 05:37:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:37:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:37:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:51 prd-ubuntu20.04-docker-8c-8g-24286 does not seem to be running inside a container 05:37:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-150 -v /w/workspace/undry_device-onvif-camera_PR-150:/w/workspace/undry_device-onvif-camera_PR-150:rw,z -v /w/workspace/undry_device-onvif-camera_PR-150@tmp:/w/workspace/undry_device-onvif-camera_PR-150@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 05:37:53 $ docker top 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 -eo pid,comm 05:37:53 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). 05:37:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:37:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:37:53 [ssh-agent] Looking for ssh-agent implementation... 05:37:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:37:53 $ docker exec 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 ssh-agent 05:37:53 SSH_AUTH_SOCK=/tmp/ssh-ihkN1VQSL4I2/agent.34 05:37:53 SSH_AGENT_PID=40 05:37:53 Running ssh-add (command line suppressed) 05:37:53 Identity added: /w/workspace/undry_device-onvif-camera_PR-150@tmp/private_key_3076345253126222542.key (/w/workspace/undry_device-onvif-camera_PR-150@tmp/private_key_3076345253126222542.key) 05:37:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:37:54 + git tag --points-at HEAD [Pipeline] } 05:37:54 $ docker exec --env ******** --env ******** 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 ssh-agent -k 05:37:54 unset SSH_AUTH_SOCK; 05:37:54 unset SSH_AGENT_PID; 05:37:54 echo Agent pid 40 killed; 05:37:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:37:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:37:54 [ssh-agent] Looking for ssh-agent implementation... 05:37:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:37:54 $ docker exec 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 ssh-agent 05:37:54 SSH_AUTH_SOCK=/tmp/ssh-ZYzqk8ecwmBp/agent.73 05:37:54 SSH_AGENT_PID=79 05:37:54 Running ssh-add (command line suppressed) 05:37:54 Identity added: /w/workspace/undry_device-onvif-camera_PR-150@tmp/private_key_1778400383870147242.key (/w/workspace/undry_device-onvif-camera_PR-150@tmp/private_key_1778400383870147242.key) 05:37:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:37:55 + git semver init 05:37:55 2022-09-01 05:37:55,462 [run_init] DEBUG init version:0.0.0 force:False 05:37:55 2022-09-01 05:37:55,463 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-150/.semver 05:37:55 2022-09-01 05:37:55,463 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-150/.semver 05:37:55 2022-09-01 05:37:55,463 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-150/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-150, universal_newlines=False, shell=None, istream=None) 05:37:56 2022-09-01 05:37:56,306 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-150/.git/info/exclude 05:37:56 2022-09-01 05:37:56,306 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-150/.semver/PR-150 with force:False 05:37:56 2022-09-01 05:37:56,307 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-150/.semver/PR-150 05:37:56 2022-09-01 05:37:56,311 [execute] INFO git cat-file --batch-check 05:37:56 2022-09-01 05:37:56,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-150/.semver, universal_newlines=False, shell=None, istream=) 05:37:56 2022-09-01 05:37:56,319 [execute] INFO git cat-file --batch 05:37:56 2022-09-01 05:37:56,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-150/.semver, universal_newlines=False, shell=None, istream=) 05:37:56 2022-09-01 05:37:56,325 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-150/.semver/PR-150 05:37:56 0.0.0 [Pipeline] } 05:37:56 $ docker exec --env ******** --env ******** 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 ssh-agent -k 05:37:56 unset SSH_AUTH_SOCK; 05:37:56 unset SSH_AGENT_PID; 05:37:56 echo Agent pid 79 killed; 05:37:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:37:57 + git semver [Pipeline] } 05:37:57 $ docker stop --time=1 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 05:37:58 $ docker rm -f 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 [Pipeline] // withDockerContainer [Pipeline] sh 05:37:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:37:59 Stashed 1 file(s) [Pipeline] echo 05:37:59 [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 05:38:00 provisioning config files... 05:38:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-150@tmp/config5370660565570444928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:38:00 ---> docker-login.sh 05:38:00 nexus3.edgexfoundry.org:10001 05:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:00 Configure a credential helper to remove this warning. See 05:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:00 05:38:00 Login Succeeded 05:38:00 nexus3.edgexfoundry.org:10002 05:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:00 Configure a credential helper to remove this warning. See 05:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:00 05:38:00 Login Succeeded 05:38:00 nexus3.edgexfoundry.org:10003 05:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:00 Configure a credential helper to remove this warning. See 05:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:00 05:38:00 Login Succeeded 05:38:00 nexus3.edgexfoundry.org:10004 05:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:00 Configure a credential helper to remove this warning. See 05:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:00 05:38:00 Login Succeeded 05:38:00 docker.io 05:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:01 Configure a credential helper to remove this warning. See 05:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:01 05:38:01 Login Succeeded 05:38:01 ---> docker-login.sh ends [Pipeline] } 05:38:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:38:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:38:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:38:01 ========================================================= 05:38:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:38:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:01 + 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 . 05:38:01 Sending build context to Docker daemon 20.64MB 05:38:01 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:38:01 Step 2/13 : FROM ${BASE} AS builder 05:38:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:38:02 2408cc74d12b: Pulling fs layer 05:38:02 ea60b727a1ce: Pulling fs layer 05:38:02 30c4a7721957: Pulling fs layer 05:38:02 370296b7ddb6: Pulling fs layer 05:38:02 7c6cee850709: Pulling fs layer 05:38:02 39a5fcdaea64: Pulling fs layer 05:38:02 d94ebbe4e438: Pulling fs layer 05:38:02 bcfd1f05c69d: Pulling fs layer 05:38:02 59ccb84bbe0f: Pulling fs layer 05:38:02 d94ebbe4e438: Waiting 05:38:02 bcfd1f05c69d: Waiting 05:38:02 59ccb84bbe0f: Waiting 05:38:02 370296b7ddb6: Waiting 05:38:02 7c6cee850709: Waiting 05:38:02 39a5fcdaea64: Waiting 05:38:02 30c4a7721957: Verifying Checksum 05:38:02 30c4a7721957: Download complete 05:38:02 ea60b727a1ce: Verifying Checksum 05:38:02 ea60b727a1ce: Download complete 05:38:02 7c6cee850709: Verifying Checksum 05:38:02 7c6cee850709: Download complete 05:38:02 39a5fcdaea64: Download complete 05:38:02 2408cc74d12b: Verifying Checksum 05:38:02 2408cc74d12b: Download complete 05:38:02 d94ebbe4e438: Verifying Checksum 05:38:02 d94ebbe4e438: Download complete 05:38:02 2408cc74d12b: Pull complete 05:38:02 ea60b727a1ce: Pull complete 05:38:02 30c4a7721957: Pull complete 05:38:02 59ccb84bbe0f: Verifying Checksum 05:38:02 bcfd1f05c69d: Verifying Checksum 05:38:02 bcfd1f05c69d: Download complete 05:38:02 370296b7ddb6: Verifying Checksum 05:38:02 370296b7ddb6: Download complete 05:38:07 370296b7ddb6: Pull complete 05:38:07 7c6cee850709: Pull complete 05:38:07 39a5fcdaea64: Pull complete 05:38:07 d94ebbe4e438: Pull complete 05:38:09 bcfd1f05c69d: Pull complete 05:38:10 59ccb84bbe0f: Pull complete 05:38:10 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 05:38:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:38:10 ---> a4fb48ad2a94 05:38:10 Step 3/13 : ARG MAKE="make build" 05:38:11 ---> Running in 47f7c29e5eb3 05:38:11 Removing intermediate container 47f7c29e5eb3 05:38:11 ---> 60e0152ed458 05:38:11 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:38:11 ---> Running in e1c441ca8efb 05:38:11 Removing intermediate container e1c441ca8efb 05:38:11 ---> a90466dabb52 05:38:11 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 05:38:11 ---> Running in afc6417ef1f3 05:38:12 Removing intermediate container afc6417ef1f3 05:38:12 ---> d71c441d5fee 05:38:12 Step 6/13 : LABEL Name=edgex-device-onvif-camera 05:38:12 ---> Running in 180677ec4b2d 05:38:12 Removing intermediate container 180677ec4b2d 05:38:12 ---> 06378df5ab75 05:38:12 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:38:12 ---> Running in ce44859ee000 05:38:12 Removing intermediate container ce44859ee000 05:38:12 ---> 3b8d135a4eff 05:38:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:38:12 ---> Running in 254a5f092b12 05:38:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:38:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:38:14 OK: 211 MiB in 51 packages 05:38:14 Still waiting to schedule task 05:38:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:38:14 Removing intermediate container 254a5f092b12 05:38:14 ---> 87207c26fc79 05:38:14 Step 9/13 : WORKDIR /device-onvif-camera 05:38:14 ---> Running in e656659836b9 05:38:14 Removing intermediate container e656659836b9 05:38:14 ---> 966a8d739549 05:38:14 Step 10/13 : COPY go.mod vendor* ./ 05:38:15 ---> 4baaaea87111 05:38:15 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:38:15 ---> Running in 95d319e3a5c4 05:38:33 Removing intermediate container 95d319e3a5c4 05:38:33 ---> a7afb6ed508e 05:38:33 Step 12/13 : COPY . . 05:38:33 ---> 76d7e7c27204 05:38:33 Step 13/13 : RUN ${MAKE} 05:38:33 ---> Running in 28a8fcba5d5c 05:38:33 noop 05:38:33 Removing intermediate container 28a8fcba5d5c 05:38:33 ---> 6f57a0449d6e 05:38:33 Successfully built 6f57a0449d6e 05:38:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:33 + docker inspect -f . ci-base-image-x86_64 05:38:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:38:33 prd-ubuntu20.04-docker-8c-8g-24286 does not seem to be running inside a container 05:38:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-150 -v /w/workspace/undry_device-onvif-camera_PR-150:/w/workspace/undry_device-onvif-camera_PR-150:rw,z -v /w/workspace/undry_device-onvif-camera_PR-150@tmp:/w/workspace/undry_device-onvif-camera_PR-150@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 05:38:34 $ docker top bc8d9cf035330d7b6ea0dd2f3c420b378cffe68bfee54559061574314faf7c19 -eo pid,comm [Pipeline] { [Pipeline] sh 05:38:34 + go version 05:38:34 go version go1.18.3 linux/amd64 [Pipeline] } 05:38:34 $ docker stop --time=1 bc8d9cf035330d7b6ea0dd2f3c420b378cffe68bfee54559061574314faf7c19 05:38:36 $ docker rm -f bc8d9cf035330d7b6ea0dd2f3c420b378cffe68bfee54559061574314faf7c19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:36 + docker inspect -f . ci-base-image-x86_64 05:38:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:38:37 prd-ubuntu20.04-docker-8c-8g-24286 does not seem to be running inside a container 05:38:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-150 -v /w/workspace/undry_device-onvif-camera_PR-150:/w/workspace/undry_device-onvif-camera_PR-150:rw,z -v /w/workspace/undry_device-onvif-camera_PR-150@tmp:/w/workspace/undry_device-onvif-camera_PR-150@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 05:38:37 $ docker top 3fb02db61975d956d19c32678c11ad72e28acd8343b39fc20496072e36390fbf -eo pid,comm [Pipeline] { [Pipeline] sh 05:38:37 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-150 [Pipeline] fileExists [Pipeline] sh 05:38:38 + make test 05:38:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:38:38 ? github.com/edgexfoundry/device-onvif-camera [no test files] 05:38:50 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 05:38:51 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.035s coverage: 28.6% of statements 05:38:51 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 05:38:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.676s coverage: 13.8% of statements 05:39:02 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." 05:39:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:39:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:39:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:39:05 ./bin/test-attribution-txt.sh [Pipeline] echo 05:39:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:39:05 $ docker stop --time=1 3fb02db61975d956d19c32678c11ad72e28acd8343b39fc20496072e36390fbf 05:39:06 $ docker rm -f 3fb02db61975d956d19c32678c11ad72e28acd8343b39fc20496072e36390fbf [Pipeline] // withDockerContainer [Pipeline] sh 05:39:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:39:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:39:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:39:08 + ls -al . 05:39:08 total 232 05:39:08 drwxrwxr-x 10 jenkins jenkins 4096 Sep 1 05:38 . 05:39:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 05:37 .. 05:39:08 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 05:38 .git 05:39:08 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 05:37 .github 05:39:08 -rw-rw-r-- 1 jenkins jenkins 418 Sep 1 05:37 .gitignore 05:39:08 -rw-rw-r-- 1 jenkins jenkins 42 Sep 1 05:37 .golangci.yml 05:39:08 drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 05:37 .semver 05:39:08 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 1 05:37 Attribution.txt 05:39:08 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 1 05:37 CHANGELOG.md 05:39:08 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 1 05:37 Dockerfile 05:39:08 -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 05:37 GOVERNANCE.md 05:39:08 -rw-rw-r-- 1 jenkins jenkins 734 Sep 1 05:37 Jenkinsfile 05:39:08 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 05:37 LICENSE 05:39:08 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 1 05:37 Makefile 05:39:08 -rw-rw-r-- 1 jenkins jenkins 625 Sep 1 05:37 OWNERS.md 05:39:08 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 1 05:37 README.md 05:39:08 -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 05:37 VERSION 05:39:08 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 05:37 bin 05:39:08 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 05:37 cmd 05:39:08 -rw-r--r-- 1 jenkins jenkins 77283 Sep 1 05:38 coverage.out 05:39:08 drwxrwxr-x 6 jenkins jenkins 4096 Sep 1 05:37 doc 05:39:08 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 1 05:37 go.mod 05:39:08 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 1 05:37 go.sum 05:39:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 05:37 internal 05:39:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 05:37 snap 05:39:08 -rw-rw-r-- 1 jenkins jenkins 236 Sep 1 05:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:08 + 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=14fba0afb2397dba4add4d4782a4187c0e389ea1 --label arch=amd64 --label version=0.0.0 . 05:39:08 Sending build context to Docker daemon 20.72MB 05:39:08 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 05:39:08 Step 2/26 : FROM ${BASE} AS builder 05:39:08 ---> 6f57a0449d6e 05:39:08 Step 3/26 : ARG MAKE="make build" 05:39:09 ---> Running in 21d648be847e 05:39:09 Removing intermediate container 21d648be847e 05:39:09 ---> b88e3e542cc1 05:39:09 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:39:09 ---> Running in 237b1cceffac 05:39:09 Removing intermediate container 237b1cceffac 05:39:09 ---> 00baa8da423d 05:39:09 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 05:39:09 ---> Running in 05dcf86aa78d 05:39:09 Removing intermediate container 05dcf86aa78d 05:39:09 ---> 0cf6b7553cf6 05:39:09 Step 6/26 : LABEL Name=edgex-device-onvif-camera 05:39:09 ---> Running in 43b4ed83cf8e 05:39:09 Removing intermediate container 43b4ed83cf8e 05:39:09 ---> f322f6b03f36 05:39:09 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:39:09 ---> Running in ec7baf5eab9f 05:39:09 Removing intermediate container ec7baf5eab9f 05:39:09 ---> f890302482ad 05:39:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:39:09 ---> Running in 57a0cce1c8f2 05:39:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:39:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:39:11 OK: 211 MiB in 51 packages 05:39:11 Removing intermediate container 57a0cce1c8f2 05:39:11 ---> 19ed57d3cd62 05:39:11 Step 9/26 : WORKDIR /device-onvif-camera 05:39:11 ---> Running in 6b563f9a542a 05:39:11 Removing intermediate container 6b563f9a542a 05:39:11 ---> df850e90490b 05:39:11 Step 10/26 : COPY go.mod vendor* ./ 05:39:12 ---> ba523c0b355d 05:39:12 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:39:12 ---> Running in bfa1331b5e3b 05:39:12 Removing intermediate container bfa1331b5e3b 05:39:12 ---> ea305e334404 05:39:12 Step 12/26 : COPY . . 05:39:13 ---> b7501643f6da 05:39:13 Step 13/26 : RUN ${MAKE} 05:39:13 ---> Running in e28f3be92cc6 05:39:13 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 05:39:35 Removing intermediate container e28f3be92cc6 05:39:35 ---> 67924e451447 05:39:35 Step 14/26 : FROM alpine:3.16 05:39:35 3.16: Pulling from library/alpine 05:39:35 213ec9aee27d: Pulling fs layer 05:39:35 213ec9aee27d: Verifying Checksum 05:39:35 213ec9aee27d: Download complete 05:39:35 213ec9aee27d: Pull complete 05:39:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:39:35 Status: Downloaded newer image for alpine:3.16 05:39:35 ---> 9c6f07244728 05:39:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 05:39:35 ---> Running in 074e37b6ba4f 05:39:35 Removing intermediate container 074e37b6ba4f 05:39:35 ---> 7a636491d89f 05:39:35 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:39:35 ---> Running in 2ca35a7c8ea4 05:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:39:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:39:36 (1/6) Installing dumb-init (1.2.5-r1) 05:39:36 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:39:36 (3/6) Installing libsodium (1.0.18-r0) 05:39:36 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:39:36 (5/6) Installing libzmq (4.3.4-r0) 05:39:36 (6/6) Installing zeromq (4.3.4-r0) 05:39:36 Executing busybox-1.35.0-r17.trigger 05:39:36 OK: 8 MiB in 20 packages 05:39:36 Removing intermediate container 2ca35a7c8ea4 05:39:36 ---> 5b193f08d6e8 05:39:36 Step 17/26 : WORKDIR / 05:39:36 ---> Running in bf578ceb1e36 05:39:36 Removing intermediate container bf578ceb1e36 05:39:36 ---> 031067f2ebeb 05:39:36 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 05:39:37 ---> 710a347fe7d6 05:39:37 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 05:39:37 ---> 466499f31a41 05:39:37 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 05:39:37 ---> f0f51e2bebc0 05:39:37 Step 21/26 : EXPOSE 59984 05:39:37 ---> Running in 8d07e3c5c2f5 05:39:37 Removing intermediate container 8d07e3c5c2f5 05:39:37 ---> aa526fc5c3b2 05:39:37 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 05:39:37 ---> Running in 82602e63df0d 05:39:37 Removing intermediate container 82602e63df0d 05:39:37 ---> 1acbc89ed0c6 05:39:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:39:37 ---> Running in 4701d54a9d6a 05:39:37 Removing intermediate container 4701d54a9d6a 05:39:37 ---> 00516598d26a 05:39:37 Step 24/26 : LABEL arch=amd64 05:39:37 ---> Running in d827c3bc075a 05:39:37 Removing intermediate container d827c3bc075a 05:39:37 ---> 111e7a70d75c 05:39:37 Step 25/26 : LABEL git_sha=14fba0afb2397dba4add4d4782a4187c0e389ea1 05:39:37 ---> Running in 7cc441a4b892 05:39:38 Removing intermediate container 7cc441a4b892 05:39:38 ---> 59b1eb18565d 05:39:38 Step 26/26 : LABEL version=0.0.0 05:39:38 ---> Running in 192d8d5292f4 05:39:38 Removing intermediate container 192d8d5292f4 05:39:38 ---> caa5943285c6 05:39:38 [Warning] One or more build-args [ARCH] were not consumed 05:39:38 Successfully built caa5943285c6 05:39:38 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 05:39:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:39:39 05:39:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:39:39 latest: Pulling from edgex-lftools-log-publisher 05:39:39 5eb5b503b376: Pulling fs layer 05:39:39 5c69ac0246d0: Pulling fs layer 05:39:39 ec43610c2a17: Pulling fs layer 05:39:39 3a2ae6a8a46f: Pulling fs layer 05:39:39 33b1e0a273af: Pulling fs layer 05:39:39 5d3b04190fa2: Pulling fs layer 05:39:39 2f39f015ded8: Pulling fs layer 05:39:39 3a2ae6a8a46f: Waiting 05:39:39 5d3b04190fa2: Waiting 05:39:39 33b1e0a273af: Waiting 05:39:39 5c69ac0246d0: Download complete 05:39:39 3a2ae6a8a46f: Verifying Checksum 05:39:39 3a2ae6a8a46f: Download complete 05:39:39 33b1e0a273af: Verifying Checksum 05:39:39 33b1e0a273af: Download complete 05:39:39 ec43610c2a17: Download complete 05:39:39 5d3b04190fa2: Verifying Checksum 05:39:39 5d3b04190fa2: Download complete 05:39:39 5eb5b503b376: Verifying Checksum 05:39:39 5eb5b503b376: Download complete 05:39:40 2f39f015ded8: Download complete 05:39:40 5eb5b503b376: Pull complete 05:39:41 5c69ac0246d0: Pull complete 05:39:41 ec43610c2a17: Pull complete 05:39:41 3a2ae6a8a46f: Pull complete 05:39:41 33b1e0a273af: Pull complete 05:39:41 5d3b04190fa2: Pull complete 05:39:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24287 in /w/workspace/undry_device-onvif-camera_PR-150 [Pipeline] { [Pipeline] ws 05:39:45 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 05:39:45 Selected Git installation does not exist. Using Default 05:39:45 The recommended git tool is: NONE 05:39:46 2f39f015ded8: Pull complete 05:39:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:39:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:39:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:39:46 prd-ubuntu20.04-docker-8c-8g-24286 does not seem to be running inside a container 05:39:46 $ 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-150 -v /w/workspace/undry_device-onvif-camera_PR-150:/w/workspace/undry_device-onvif-camera_PR-150:rw,z -v /w/workspace/undry_device-onvif-camera_PR-150@tmp:/w/workspace/undry_device-onvif-camera_PR-150@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 05:39:47 $ docker top 388a2311c014fdc4babf5fc7e9044129744965c92f2a431027195ad3f1a89e95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:48 ---> job-cost.sh 05:39:48 lf-activate-venv: SKIPPING 05:39:48 INFO: No Stack... 05:39:48 INFO: Retrieving Pricing Info for: v3-standard-8 05:39:49 INFO: Archiving Costs [Pipeline] sh 05:39:49 + + catcut /w/workspace/undry_device-onvif-camera_PR-150/archives/cost.csv -d, 05:39:49 -f6 [Pipeline] lock 05:39:49 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] 05:39:49 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] did not exist. Created. 05:39:49 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:39:49 + echo total: 0.2199999988079071 [Pipeline] stash 05:39:49 Stashed 1 file(s) [Pipeline] } 05:39:49 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:39:50 $ docker stop --time=1 388a2311c014fdc4babf5fc7e9044129744965c92f2a431027195ad3f1a89e95 05:39:51 $ docker rm -f 388a2311c014fdc4babf5fc7e9044129744965c92f2a431027195ad3f1a89e95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:39:52 using credential edgex-jenkins-ssh 05:39:52 Cloning the remote Git repository 05:39:52 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 05:39:52 > git init /w/workspace/device-onvif-camera/1 # timeout=10 05:39:52 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 05:39:52 > git --version # timeout=10 05:39:52 > git --version # 'git version 2.25.1' 05:39:52 using GIT_SSH to set credentials SSH Credentials for GitHub 05:39:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:39:53 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 05:39:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:39:54 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 05:39:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 05:39:54 using GIT_SSH to set credentials SSH Credentials for GitHub 05:39:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/150/head:refs/remotes/origin/PR-150 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:39:54 Merging remotes/origin/main commit 06d0f2addced559a6b629125c025b062c3ce01e9 into PR head commit 14fba0afb2397dba4add4d4782a4187c0e389ea1 05:39:55 Merge succeeded, producing 14fba0afb2397dba4add4d4782a4187c0e389ea1 05:39:55 Checking out Revision 14fba0afb2397dba4add4d4782a4187c0e389ea1 (PR-150) 05:39:54 > git config core.sparsecheckout # timeout=10 05:39:54 > git checkout -f 14fba0afb2397dba4add4d4782a4187c0e389ea1 # timeout=10 05:39:55 > git remote # timeout=10 05:39:55 > git config --get remote.origin.url # timeout=10 05:39:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:39:55 > git merge 06d0f2addced559a6b629125c025b062c3ce01e9 # timeout=10 05:39:55 > git rev-parse HEAD^{commit} # timeout=10 05:39:55 > git config core.sparsecheckout # timeout=10 05:39:55 > git checkout -f 14fba0afb2397dba4add4d4782a4187c0e389ea1 # timeout=10 05:39:59 Commit message: "feat: remove custom service interface and use sdk interface" 05:39:59 > git --version # timeout=10 05:39:59 > git --version # 'git version 2.25.1' 05:39:59 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:40:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:40:00 % Total % Received % Xferd Average Speed Time Time Time Current 05:40:00 Dload Upload Total Spent Left Speed 05:40:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85727 0 --:--:-- --:--:-- --:--:-- 86315 [Pipeline] sh 05:40:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:40:01 + sudo tee /etc/docker/daemon.new 05:40:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:40:01 { 05:40:01 "registry-mirrors": [ 05:40:01 "https://nexus3.edgexfoundry.org:10001" 05:40:01 ], 05:40:01 "bip": "10.250.0.254/24", 05:40:01 "hosts": [ 05:40:01 "tcp://0.0.0.0:5555", 05:40:01 "unix:///var/run/docker.sock" 05:40:01 ], 05:40:01 "mtu": 1458, 05:40:01 "selinux-enabled": true, 05:40:01 "seccomp-profile": "/etc/docker/seccomp.json" 05:40:01 } [Pipeline] sh 05:40:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:40:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:40:21 provisioning config files... 05:40:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3231519820146337826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:40:21 ---> docker-login.sh 05:40:21 nexus3.edgexfoundry.org:10001 05:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:22 Configure a credential helper to remove this warning. See 05:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:22 05:40:22 Login Succeeded 05:40:22 nexus3.edgexfoundry.org:10002 05:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:22 Configure a credential helper to remove this warning. See 05:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:22 05:40:22 Login Succeeded 05:40:22 nexus3.edgexfoundry.org:10003 05:40:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:23 Configure a credential helper to remove this warning. See 05:40:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:23 05:40:23 Login Succeeded 05:40:23 nexus3.edgexfoundry.org:10004 05:40:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:23 Configure a credential helper to remove this warning. See 05:40:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:23 05:40:23 Login Succeeded 05:40:23 docker.io 05:40:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:24 Configure a credential helper to remove this warning. See 05:40:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:24 05:40:24 Login Succeeded 05:40:24 ---> docker-login.sh ends [Pipeline] } 05:40:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:40:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:40:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:40:24 ========================================================= 05:40:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:40:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:25 + 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 . 05:40:26 Sending build context to Docker daemon 14.13MB 05:40:26 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:40:26 Step 2/13 : FROM ${BASE} AS builder 05:40:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:40:26 b3c136eddcbf: Pulling fs layer 05:40:26 c0a3192eca97: Pulling fs layer 05:40:26 a050256f5b6f: Pulling fs layer 05:40:26 656be50a0ddc: Pulling fs layer 05:40:26 2bbca73fdf42: Pulling fs layer 05:40:26 46d945488cbd: Pulling fs layer 05:40:26 8a5474983e97: Pulling fs layer 05:40:26 329c88fbcd65: Pulling fs layer 05:40:26 656be50a0ddc: Waiting 05:40:26 2bbca73fdf42: Waiting 05:40:26 46d945488cbd: Waiting 05:40:26 8a5474983e97: Waiting 05:40:26 329c88fbcd65: Waiting 05:40:26 a050256f5b6f: Verifying Checksum 05:40:26 a050256f5b6f: Download complete 05:40:26 c0a3192eca97: Verifying Checksum 05:40:26 c0a3192eca97: Download complete 05:40:26 2bbca73fdf42: Download complete 05:40:26 46d945488cbd: Verifying Checksum 05:40:26 46d945488cbd: Download complete 05:40:26 b3c136eddcbf: Verifying Checksum 05:40:26 b3c136eddcbf: Download complete 05:40:27 b3c136eddcbf: Pull complete 05:40:27 329c88fbcd65: Verifying Checksum 05:40:27 329c88fbcd65: Download complete 05:40:27 c0a3192eca97: Pull complete 05:40:28 a050256f5b6f: Pull complete 05:40:28 8a5474983e97: Verifying Checksum 05:40:28 8a5474983e97: Download complete 05:40:29 656be50a0ddc: Verifying Checksum 05:40:29 656be50a0ddc: Download complete 05:40:44 656be50a0ddc: Pull complete 05:40:44 2bbca73fdf42: Pull complete 05:40:44 46d945488cbd: Pull complete 05:40:48 8a5474983e97: Pull complete 05:40:50 329c88fbcd65: Pull complete 05:40:50 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 05:40:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:40:50 ---> ff4287adb874 05:40:50 Step 3/13 : ARG MAKE="make build" 05:40:52 ---> Running in 677fc7c82fbc 05:40:52 Removing intermediate container 677fc7c82fbc 05:40:52 ---> a919b5676e3b 05:40:52 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:40:52 ---> Running in a5d903f07f91 05:40:52 Removing intermediate container a5d903f07f91 05:40:52 ---> 1f60e9fedeeb 05:40:52 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 05:40:52 ---> Running in 6ef717cbf023 05:40:53 Removing intermediate container 6ef717cbf023 05:40:53 ---> a3c6349d483c 05:40:53 Step 6/13 : LABEL Name=edgex-device-onvif-camera 05:40:53 ---> Running in c3f40cac5ed7 05:40:53 Removing intermediate container c3f40cac5ed7 05:40:53 ---> f31f1e03dfb1 05:40:53 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:40:53 ---> Running in 3b0b217d2136 05:40:56 Removing intermediate container 3b0b217d2136 05:40:56 ---> 8386d810aed6 05:40:56 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:40:56 ---> Running in 18ed161c683a 05:40:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:40:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:40:58 OK: 221 MiB in 51 packages 05:40:59 Removing intermediate container 18ed161c683a 05:40:59 ---> 8d22b7b665fe 05:40:59 Step 9/13 : WORKDIR /device-onvif-camera 05:40:59 ---> Running in f1c035666202 05:41:00 Removing intermediate container f1c035666202 05:41:00 ---> 25812a42089e 05:41:00 Step 10/13 : COPY go.mod vendor* ./ 05:41:00 ---> 80528bacdba3 05:41:00 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:41:00 ---> Running in e79a42c14a4d 05:41:57 Removing intermediate container e79a42c14a4d 05:41:57 ---> 954381014817 05:41:57 Step 12/13 : COPY . . 05:41:57 ---> 58a40ace54ac 05:41:57 Step 13/13 : RUN ${MAKE} 05:41:57 ---> Running in a6997d8e4572 05:41:57 noop 05:41:57 Removing intermediate container a6997d8e4572 05:41:57 ---> 0396dc8d5dfa 05:41:57 Successfully built 0396dc8d5dfa 05:41:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:57 + docker inspect -f . ci-base-image-arm64 05:41:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:41:57 prd-ubuntu20.04-docker-arm64-4c-16g-24287 does not seem to be running inside a container 05:41:58 $ 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 05:41:59 $ docker top 535e864b3f47a28a8b1e750dffc5b9852fdc735d650cbf71c77bd39de9acf8cc -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:00 + go version 05:42:00 go version go1.18.3 linux/arm64 [Pipeline] } 05:42:00 $ docker stop --time=1 535e864b3f47a28a8b1e750dffc5b9852fdc735d650cbf71c77bd39de9acf8cc 05:42:01 $ docker rm -f 535e864b3f47a28a8b1e750dffc5b9852fdc735d650cbf71c77bd39de9acf8cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:02 + docker inspect -f . ci-base-image-arm64 05:42:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:42:03 prd-ubuntu20.04-docker-arm64-4c-16g-24287 does not seem to be running inside a container 05:42:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:42:04 $ docker top aa54c4807e49c7fbeafb98efea448267e0bcfd3c184e126373a346738f851b0c -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:05 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 05:42:06 + make test 05:42:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:42:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 05:43:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 05:43:38 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.180s coverage: 28.6% of statements 05:43:38 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 05:44:05 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.935s coverage: 13.8% of statements 05:44:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:44:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:44:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:44:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:44:27 ./bin/test-attribution-txt.sh [Pipeline] echo 05:44:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:44:27 $ docker stop --time=1 aa54c4807e49c7fbeafb98efea448267e0bcfd3c184e126373a346738f851b0c 05:44:29 $ docker rm -f aa54c4807e49c7fbeafb98efea448267e0bcfd3c184e126373a346738f851b0c [Pipeline] // withDockerContainer [Pipeline] sh 05:44:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:44:30 Warning: overwriting stash ‘coverage-report’ 05:44:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:44:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:44:31 + ls -al . 05:44:31 total 228 05:44:31 drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 05:42 . 05:44:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 05:39 .. 05:44:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 05:39 .git 05:44:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 05:39 .github 05:44:31 -rw-rw-r-- 1 jenkins jenkins 418 Sep 1 05:39 .gitignore 05:44:31 -rw-rw-r-- 1 jenkins jenkins 42 Sep 1 05:39 .golangci.yml 05:44:31 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 1 05:39 Attribution.txt 05:44:31 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 1 05:39 CHANGELOG.md 05:44:31 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 1 05:39 Dockerfile 05:44:31 -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 05:39 GOVERNANCE.md 05:44:31 -rw-rw-r-- 1 jenkins jenkins 734 Sep 1 05:39 Jenkinsfile 05:44:31 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 05:39 LICENSE 05:44:31 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 1 05:39 Makefile 05:44:31 -rw-rw-r-- 1 jenkins jenkins 625 Sep 1 05:39 OWNERS.md 05:44:31 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 1 05:39 README.md 05:44:31 -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 05:37 VERSION 05:44:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 05:39 bin 05:44:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 05:39 cmd 05:44:31 -rw-r--r-- 1 jenkins jenkins 77283 Sep 1 05:44 coverage.out 05:44:31 drwxrwxr-x 6 jenkins jenkins 4096 Sep 1 05:39 doc 05:44:31 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 1 05:39 go.mod 05:44:31 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 1 05:39 go.sum 05:44:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 05:39 internal 05:44:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 05:39 snap 05:44:31 -rw-rw-r-- 1 jenkins jenkins 236 Sep 1 05:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:32 + 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=14fba0afb2397dba4add4d4782a4187c0e389ea1 --label arch=arm64 --label version=0.0.0 . 05:44:32 Sending build context to Docker daemon 14.21MB 05:44:32 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 05:44:32 Step 2/26 : FROM ${BASE} AS builder 05:44:32 ---> 0396dc8d5dfa 05:44:32 Step 3/26 : ARG MAKE="make build" 05:44:32 ---> Running in 5ff37c225d81 05:44:33 Removing intermediate container 5ff37c225d81 05:44:33 ---> 61306116b8d8 05:44:33 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:44:33 ---> Running in dd3bcb82f93b 05:44:33 Removing intermediate container dd3bcb82f93b 05:44:33 ---> 573f932cf20a 05:44:33 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 05:44:33 ---> Running in 745730abbd59 05:44:33 Removing intermediate container 745730abbd59 05:44:33 ---> 8ea3305af764 05:44:33 Step 6/26 : LABEL Name=edgex-device-onvif-camera 05:44:34 ---> Running in ac078bf2f4d1 05:44:34 Removing intermediate container ac078bf2f4d1 05:44:34 ---> 69346a639c63 05:44:34 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:44:34 ---> Running in 52275fde2bbf 05:44:35 Removing intermediate container 52275fde2bbf 05:44:35 ---> 5d0ae8abff2b 05:44:35 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:44:36 ---> Running in 902f03f98d21 05:44:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:44:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:44:38 OK: 221 MiB in 51 packages 05:44:39 Removing intermediate container 902f03f98d21 05:44:39 ---> 024197aca38c 05:44:39 Step 9/26 : WORKDIR /device-onvif-camera 05:44:39 ---> Running in 06fbff38b78a 05:44:40 Removing intermediate container 06fbff38b78a 05:44:40 ---> e2d3553ac239 05:44:40 Step 10/26 : COPY go.mod vendor* ./ 05:44:40 ---> 8a09298bce45 05:44:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:44:40 ---> Running in 4fd2f0464f02 05:44:42 Removing intermediate container 4fd2f0464f02 05:44:42 ---> 808b50f42ebc 05:44:42 Step 12/26 : COPY . . 05:44:44 ---> 92ffb35dffef 05:44:44 Step 13/26 : RUN ${MAKE} 05:44:44 ---> Running in d475accf488a 05:44:45 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 05:47:07 Removing intermediate container d475accf488a 05:47:07 ---> 040b6151430f 05:47:07 Step 14/26 : FROM alpine:3.16 05:47:07 3.16: Pulling from library/alpine 05:47:07 9b18e9b68314: Pulling fs layer 05:47:07 9b18e9b68314: Verifying Checksum 05:47:07 9b18e9b68314: Download complete 05:47:07 9b18e9b68314: Pull complete 05:47:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:47:07 Status: Downloaded newer image for alpine:3.16 05:47:07 ---> a6215f271958 05:47:07 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 05:47:07 ---> Running in 2c90a25a5e43 05:47:07 Removing intermediate container 2c90a25a5e43 05:47:07 ---> 21426dcde1ec 05:47:07 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:47:07 ---> Running in e5bfd9a2892a 05:47:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:47:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:47:07 (1/6) Installing dumb-init (1.2.5-r1) 05:47:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:47:07 (3/6) Installing libsodium (1.0.18-r0) 05:47:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:47:07 (5/6) Installing libzmq (4.3.4-r0) 05:47:07 (6/6) Installing zeromq (4.3.4-r0) 05:47:07 Executing busybox-1.35.0-r17.trigger 05:47:07 OK: 8 MiB in 20 packages 05:47:07 Removing intermediate container e5bfd9a2892a 05:47:07 ---> 08a99a573f90 05:47:07 Step 17/26 : WORKDIR / 05:47:07 ---> Running in 8dfa1f8b41fd 05:47:07 Removing intermediate container 8dfa1f8b41fd 05:47:07 ---> 06959008f071 05:47:07 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 05:47:07 ---> 290a8e89c3bf 05:47:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 05:47:07 ---> 92629528e728 05:47:07 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 05:47:07 ---> 3d212e24d35b 05:47:07 Step 21/26 : EXPOSE 59984 05:47:07 ---> Running in 6981a6bda3ae 05:47:07 Removing intermediate container 6981a6bda3ae 05:47:07 ---> f250bb63405c 05:47:07 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 05:47:07 ---> Running in b01ac8eb2478 05:47:07 Removing intermediate container b01ac8eb2478 05:47:07 ---> 24f78c764fdc 05:47:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:47:07 ---> Running in 6241de5ceda3 05:47:07 Removing intermediate container 6241de5ceda3 05:47:07 ---> 2a8256a8d4f3 05:47:07 Step 24/26 : LABEL arch=arm64 05:47:07 ---> Running in 43d3d4863cc3 05:47:07 Removing intermediate container 43d3d4863cc3 05:47:07 ---> 1d45d298d211 05:47:07 Step 25/26 : LABEL git_sha=14fba0afb2397dba4add4d4782a4187c0e389ea1 05:47:07 ---> Running in 63cd4b254c79 05:47:07 Removing intermediate container 63cd4b254c79 05:47:07 ---> e5d58380b9d8 05:47:07 Step 26/26 : LABEL version=0.0.0 05:47:07 ---> Running in ab11a42e43aa 05:47:07 Removing intermediate container ab11a42e43aa 05:47:07 ---> 4af7580b5352 05:47:07 [Warning] One or more build-args [ARCH] were not consumed 05:47:07 Successfully built 4af7580b5352 05:47:07 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 05:47:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:47:07 05:47:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:47:08 arm64: Pulling from edgex-lftools-log-publisher 05:47:08 8998bd30e6a1: Pulling fs layer 05:47:08 04944245beec: Pulling fs layer 05:47:08 699f458cf7ca: Pulling fs layer 05:47:08 765212b225bb: Pulling fs layer 05:47:08 f23df028b6ca: Pulling fs layer 05:47:08 d65c8cfc05b1: Pulling fs layer 05:47:08 2437ff75d9bd: Pulling fs layer 05:47:08 f23df028b6ca: Waiting 05:47:08 d65c8cfc05b1: Waiting 05:47:08 2437ff75d9bd: Waiting 05:47:08 765212b225bb: Waiting 05:47:08 04944245beec: Verifying Checksum 05:47:08 04944245beec: Download complete 05:47:08 765212b225bb: Verifying Checksum 05:47:08 765212b225bb: Download complete 05:47:08 f23df028b6ca: Verifying Checksum 05:47:08 f23df028b6ca: Download complete 05:47:08 d65c8cfc05b1: Download complete 05:47:08 699f458cf7ca: Verifying Checksum 05:47:08 699f458cf7ca: Download complete 05:47:09 8998bd30e6a1: Download complete 05:47:11 2437ff75d9bd: Verifying Checksum 05:47:11 2437ff75d9bd: Download complete 05:47:13 8998bd30e6a1: Pull complete 05:47:14 04944245beec: Pull complete 05:47:15 699f458cf7ca: Pull complete 05:47:15 765212b225bb: Pull complete 05:47:16 f23df028b6ca: Pull complete 05:47:17 d65c8cfc05b1: Pull complete 05:47:32 2437ff75d9bd: Pull complete 05:47:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:47:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:47:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:32 prd-ubuntu20.04-docker-arm64-4c-16g-24287 does not seem to be running inside a container 05:47: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/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 05:47:35 $ docker top 67139bbd5b72c114cfb268f2bc51aa650c5a531fe271c9ca445f50e2aba23e9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:47:36 ---> job-cost.sh 05:47:36 lf-activate-venv: SKIPPING 05:47:36 INFO: No Stack... 05:47:36 INFO: Retrieving Pricing Info for: v3-standard-4 05:47:37 INFO: Archiving Costs [Pipeline] sh 05:47:38 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 05:47:38 + cut -d, -f6 [Pipeline] lock 05:47:38 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] 05:47:38 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] did not exist. Created. 05:47:38 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:47:39 /w/workspace/device-onvif-camera/1@tmp/durable-23249896/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:47:39 + echo total: 0.10999999940395355 [Pipeline] stash 05:47:39 Warning: overwriting stash ‘stack-cost’ 05:47:39 Stashed 1 file(s) [Pipeline] } 05:47:39 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:47:39 $ docker stop --time=1 67139bbd5b72c114cfb268f2bc51aa650c5a531fe271c9ca445f50e2aba23e9d 05:47:41 $ docker rm -f 67139bbd5b72c114cfb268f2bc51aa650c5a531fe271c9ca445f50e2aba23e9d [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 05:47:42 provisioning config files... 05:47:42 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-150@tmp/config504904620904186121tmp [Pipeline] { [Pipeline] sh 05:47:42 + set +x 05:47:42 + curl -s https://codecov.io/bash 05:47:42 + bash -s -- 05:47:43 05:47:43 _____ _ 05:47:43 / ____| | | 05:47:43 | | ___ __| | ___ ___ _____ __ 05:47:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:47:43 | |___| (_) | (_| | __/ (_| (_) \ V / 05:47:43 \_____\___/ \__,_|\___|\___\___/ \_/ 05:47:43 Bash-1.0.6 05:47:43 05:47:43 05:47:43 ==> git version 2.25.1 found 05:47:43 ==> 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 05:47:43 Release-Date: 2020-01-08 05:47:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:47:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:47:43 ==> Jenkins CI detected. 05:47:43 current dir:  /w/workspace/undry_device-onvif-camera_PR-150 05:47:43 project root: . 05:47:43 --> token set from env 05:47:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:47:43 ==> Running gcov in . (disable via -X gcov) 05:47:43 ==> Python coveragepy not found 05:47:43 ==> Searching for coverage reports in: 05:47:43 + . 05:47:43 -> Found 1 reports 05:47:43 ==> Detecting git/mercurial file structure 05:47:43 ==> Reading reports 05:47:43 + ./coverage.out bytes=77283 05:47:43 ==> Appending adjustments 05:47:43 https://docs.codecov.io/docs/fixing-reports 05:47:43 + Found adjustments 05:47:43 ==> Gzipping contents 05:47:43 12K /tmp/codecov.w4E6wi.gz 05:47:43 ==> Uploading reports 05:47:43 url: https://codecov.io 05:47:43 query: branch=PR-150&commit=14fba0afb2397dba4add4d4782a4187c0e389ea1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-150%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=150&job=&cmd_args= 05:47:43 -> Pinging Codecov 05:47:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-150&commit=14fba0afb2397dba4add4d4782a4187c0e389ea1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-150%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=150&job=&cmd_args= 05:47:43 -> Uploading to 05:47:43 https://storage.googleapis.com/codecov/v4/raw/2022-09-01/F29A59C45E3A92E06B3E522C9905F8EF/14fba0afb2397dba4add4d4782a4187c0e389ea1/a9703668-5e5e-4418-a697-39ce5c5d0d42.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220901%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220901T054743Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5bd5565f98a8ec38d14ed5f55113134347e8b63427e085ea4853c48d00f277d5 05:47:43 % Total % Received % Xferd Average Speed Time Time Time Current 05:47:43 Dload Upload Total Spent Left Speed 05:47:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10531 0 0 100 10531 0 32403 --:--:-- --:--:-- --:--:-- 32303 100 10531 0 0 100 10531 0 32303 --:--:-- --:--:-- --:--:-- 32204 05:47:44 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/14fba0afb2397dba4add4d4782a4187c0e389ea1 [Pipeline] } 05:47:44 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 05:47:46 + [ -d /w/workspace/undry_device-onvif-camera_PR-150/archives ] 05:47:46 + ls -al /w/workspace/undry_device-onvif-camera_PR-150/archives 05:47:46 total 16 05:47:46 drwxr-xr-x 3 root root 4096 Sep 1 05:39 . 05:47:46 drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 05:39 .. 05:47:46 drwxr-xr-x 2 root root 4096 Sep 1 05:39 cost 05:47:46 -rw-r--r-- 1 root root 91 Sep 1 05:39 cost.csv 05:47:46 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-150/archives 05:47:46 + ls -al /w/workspace/undry_device-onvif-camera_PR-150/archives 05:47:46 total 16 05:47:46 drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 05:39 . 05:47:46 drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 05:39 .. 05:47:46 drwxr-xr-x 2 jenkins jenkins 4096 Sep 1 05:39 cost 05:47:46 -rw-r--r-- 1 jenkins jenkins 91 Sep 1 05:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:47:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:47:47 ---> package-listing.sh 05:47:47 ++ facter osfamily 05:47:47 ++ tr '[:upper:]' '[:lower:]' 05:47:47 + OS_FAMILY=debian 05:47:47 + workspace=/w/workspace/undry_device-onvif-camera_PR-150 05:47:47 + START_PACKAGES=/tmp/packages_start.txt 05:47:47 + END_PACKAGES=/tmp/packages_end.txt 05:47:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:47:47 + PACKAGES=/tmp/packages_start.txt 05:47:47 + '[' /w/workspace/undry_device-onvif-camera_PR-150 ']' 05:47:47 + PACKAGES=/tmp/packages_end.txt 05:47:47 + case "${OS_FAMILY}" in 05:47:47 + dpkg -l 05:47:47 + grep '^ii' 05:47:47 + '[' -f /tmp/packages_start.txt ']' 05:47:47 + '[' -f /tmp/packages_end.txt ']' 05:47:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:47:47 + '[' /w/workspace/undry_device-onvif-camera_PR-150 ']' 05:47:47 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-150/archives/ 05:47:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-150/archives/ [Pipeline] echo 05:47:47 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-150/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:47:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:48 prd-ubuntu20.04-docker-8c-8g-24286 does not seem to be running inside a container 05:47:48 $ 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-150/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-150 -v /w/workspace/undry_device-onvif-camera_PR-150:/w/workspace/undry_device-onvif-camera_PR-150:rw,z -v /w/workspace/undry_device-onvif-camera_PR-150@tmp:/w/workspace/undry_device-onvif-camera_PR-150@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 05:47:48 $ docker top c55f50899ba461b517fca90da0e955fc8ae7a8175df3bea6ef8e3fc1bab006e8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:47:49 + touch /tmp/pre-build-complete [Pipeline] sh 05:47:49 + mkdir -p /var/log/sysstat [Pipeline] sh 05:47:49 + ls /var/log/sa-host 05:47:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:47:49 provisioning config files... 05:47:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-150@tmp/config7409496504666193950tmp [Pipeline] { [Pipeline] echo 05:47:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:47:50 ---> create-netrc.sh [Pipeline] } 05:47:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:47:50 ---> python-tools-install.sh [Pipeline] echo 05:47:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:47:50 ---> sudo-logs.sh 05:47:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:47:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:47:51 ---> job-cost.sh 05:47:51 lf-activate-venv: SKIPPING 05:47:51 DEBUG: total: 0.2199999988079071 05:47:51 INFO: Retrieving Stack Cost... 05:47:51 INFO: Retrieving Pricing Info for: v3-standard-8 05:47:52 INFO: Archiving Costs [Pipeline] echo 05:47:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:47:52 ---> logs-deploy.sh 05:47:52 lf-activate-venv: SKIPPING 05:47:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-150/1 05:47:52 INFO: archiving workspace using pattern(s): 05:47:53 Archives upload complete. 05:47:53 INFO: archiving logs to Nexus 05:47:54 ---> uname -a: 05:47:54 Linux prd-ubuntu20-04-docker-8c-8g-24286 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 05:47:54 05:47:54 05:47:54 ---> lscpu: 05:47:54 Architecture: x86_64 05:47:54 CPU op-mode(s): 32-bit, 64-bit 05:47:54 Byte Order: Little Endian 05:47:54 Address sizes: 40 bits physical, 48 bits virtual 05:47:54 CPU(s): 8 05:47:54 On-line CPU(s) list: 0-7 05:47:54 Thread(s) per core: 1 05:47:54 Core(s) per socket: 1 05:47:54 Socket(s): 8 05:47:54 NUMA node(s): 1 05:47:54 Vendor ID: AuthenticAMD 05:47:54 CPU family: 23 05:47:54 Model: 49 05:47:54 Model name: AMD EPYC-Rome Processor 05:47:54 Stepping: 0 05:47:54 CPU MHz: 2800.000 05:47:54 BogoMIPS: 5600.00 05:47:54 Virtualization: AMD-V 05:47:54 Hypervisor vendor: KVM 05:47:54 Virtualization type: full 05:47:54 L1d cache: 256 KiB 05:47:54 L1i cache: 256 KiB 05:47:54 L2 cache: 4 MiB 05:47:54 L3 cache: 128 MiB 05:47:54 NUMA node0 CPU(s): 0-7 05:47:54 Vulnerability Itlb multihit: Not affected 05:47:54 Vulnerability L1tf: Not affected 05:47:54 Vulnerability Mds: Not affected 05:47:54 Vulnerability Meltdown: Not affected 05:47:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:47:54 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:47:54 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:47:54 Vulnerability Srbds: Not affected 05:47:54 Vulnerability Tsx async abort: Not affected 05:47:54 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 05:47:54 05:47:54 05:47:54 ---> nproc: 05:47:54 8 05:47:54 05:47:54 05:47:54 ---> df -h: 05:47:54 Filesystem Size Used Avail Use% Mounted on 05:47:54 overlay 155G 11G 145G 8% / 05:47:54 tmpfs 64M 0 64M 0% /dev 05:47:54 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:47:54 shm 64M 0 64M 0% /dev/shm 05:47:54 /dev/vda1 155G 11G 145G 8% /facter-os 05:47:54 05:47:54 05:47:54 ---> sar -b -r -n DEV: 05:47:54 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-24286) 09/01/22 _x86_64_ (8 CPU) 05:47:54 05:47:54 05:37:00 LINUX RESTART (8 CPU) 05:47:54 05:47:54 05:38:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:47:54 05:39:01 175.36 1.46 173.90 0.00 26.71 65082.26 0.00 05:47:54 05:40:01 186.89 0.10 186.79 0.00 14.13 42779.00 0.00 05:47:54 05:41:01 1.27 0.00 1.27 0.00 0.00 16.01 0.00 05:47:54 05:42:01 1.30 0.00 1.30 0.00 0.00 17.06 0.00 05:47:54 05:43:01 1.08 0.03 1.05 0.00 2.27 12.40 0.00 05:47:54 05:44:01 1.15 0.00 1.15 0.00 0.00 14.00 0.00 05:47:54 05:45:01 0.92 0.00 0.92 0.00 0.00 11.20 0.00 05:47:54 05:46:01 1.52 0.00 1.52 0.00 0.00 17.46 0.00 05:47:54 05:47:01 1.02 0.00 1.02 0.00 0.00 12.26 0.00 05:47:54 Average: 40.91 0.17 40.74 0.00 4.75 11896.16 0.00 05:47:54 05:47:54 05:38:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:47:54 05:39:01 28173292 31776384 516228 1.57 164740 3620780 2016240 5.94 1300484 2931432 150148 05:47:54 05:40:01 27554720 31780576 512380 1.56 177520 4193564 1923324 5.67 1356028 3456432 304 05:47:54 05:41:01 27554332 31780192 512580 1.56 177536 4193568 1923324 5.67 1358800 3456436 184 05:47:54 05:42:01 27559504 31785412 507148 1.54 177568 4193572 1923324 5.67 1352768 3456440 44 05:47:54 05:43:01 27559220 31785336 507280 1.54 177592 4193644 1923324 5.67 1353168 3456620 12 05:47:54 05:44:01 27560464 31786596 505968 1.54 177600 4193644 1923324 5.67 1351780 3456620 8 05:47:54 05:45:01 27566496 31792636 499904 1.52 177608 4193652 1923324 5.67 1346076 3456628 12 05:47:54 05:46:01 27566472 31792624 499872 1.52 177624 4193656 1923324 5.67 1346000 3456632 184 05:47:54 05:47:01 27566496 31792648 499820 1.52 177656 4193652 1923324 5.67 1345700 3456632 16 05:47:54 Average: 27629000 31785823 506798 1.54 176160 4129970 1933648 5.70 1345645 3398208 16768 05:47:54 05:47:54 05:38:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:47:54 05:39:01 veth81c746f 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 05:47:54 05:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 05:39:01 docker0 125.62 160.40 10.63 1558.12 0.00 0.00 0.00 0.00 05:47:54 05:39:01 ens3 340.40 239.64 5318.56 85.43 0.00 0.00 0.00 0.00 05:47:54 05:40:01 lo 2.13 2.13 0.20 0.20 0.00 0.00 0.00 0.00 05:47:54 05:40:01 docker0 10.86 15.60 0.64 98.78 0.00 0.00 0.00 0.00 05:47:54 05:40:01 ens3 158.77 96.80 2696.04 21.33 0.00 0.00 0.00 0.00 05:47:54 05:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 05:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 05:41:01 ens3 4.28 5.15 0.28 11.41 0.00 0.00 0.00 0.00 05:47:54 05:42:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:47:54 05:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 05:42:01 ens3 0.10 0.12 0.01 0.01 0.00 0.00 0.00 0.00 05:47:54 05:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 05:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 05:43:01 ens3 4.37 8.47 0.35 7.60 0.00 0.00 0.00 0.00 05:47:54 05:44:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:47:54 05:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 05:44:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:47:54 05:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 05:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 05:45:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 05:46:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:47:54 05:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 05:46:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 05:47:54 05:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 05:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 05:47:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:54 Average: lo 0.30 0.30 0.03 0.03 0.00 0.00 0.00 0.00 05:47:54 Average: docker0 14.96 19.29 1.23 181.53 0.00 0.00 0.00 0.00 05:47:54 Average: ens3 55.93 38.56 882.29 13.84 0.00 0.00 0.00 0.00 05:47:54 05:47:54 05:47:54 ---> sar -P ALL: 05:47:54 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-24286) 09/01/22 _x86_64_ (8 CPU) 05:47:54 05:47:54 05:37:00 LINUX RESTART (8 CPU) 05:47:54 05:47:54 05:38:02 CPU %user %nice %system %iowait %steal %idle 05:47:54 05:39:01 all 32.17 0.00 6.82 0.89 0.09 60.02 05:47:54 05:39:01 0 32.76 0.00 6.95 0.48 0.09 59.73 05:47:54 05:39:01 1 34.01 0.00 6.85 0.33 0.09 58.73 05:47:54 05:39:01 2 32.60 0.00 6.99 0.65 0.09 59.67 05:47:54 05:39:01 3 32.72 0.00 6.44 0.17 0.09 60.58 05:47:54 05:39:01 4 31.23 0.00 7.66 2.39 0.10 58.62 05:47:54 05:39:01 5 32.89 0.00 6.31 0.05 0.09 60.67 05:47:54 05:39:01 6 31.70 0.00 6.93 2.90 0.09 58.39 05:47:54 05:39:01 7 29.43 0.00 6.48 0.19 0.09 63.82 05:47:54 05:40:01 all 24.75 0.00 5.73 0.78 0.07 68.68 05:47:54 05:40:01 0 25.24 0.00 5.58 2.35 0.07 66.75 05:47:54 05:40:01 1 24.76 0.00 5.70 0.57 0.08 68.88 05:47:54 05:40:01 2 25.34 0.00 6.96 0.84 0.07 66.78 05:47:54 05:40:01 3 23.92 0.00 5.62 0.51 0.07 69.88 05:47:54 05:40:01 4 25.41 0.00 5.42 0.15 0.07 68.95 05:47:54 05:40:01 5 25.21 0.00 5.37 0.12 0.07 69.23 05:47:54 05:40:01 6 24.43 0.00 6.03 1.47 0.07 68.01 05:47:54 05:40:01 7 23.69 0.00 5.15 0.19 0.05 70.93 05:47:54 05:41:01 all 0.04 0.00 0.02 0.00 0.01 99.94 05:47:54 05:41:01 0 0.00 0.00 0.02 0.00 0.00 99.98 05:47:54 05:41:01 1 0.07 0.00 0.02 0.00 0.00 99.92 05:47:54 05:41:01 2 0.03 0.00 0.02 0.00 0.00 99.95 05:47:54 05:41:01 3 0.05 0.00 0.02 0.00 0.00 99.93 05:47:54 05:41:01 4 0.00 0.00 0.02 0.00 0.00 99.98 05:47:54 05:41:01 5 0.05 0.00 0.00 0.00 0.02 99.93 05:47:54 05:41:01 6 0.07 0.00 0.05 0.03 0.02 99.83 05:47:54 05:41:01 7 0.02 0.00 0.02 0.00 0.02 99.95 05:47:54 05:42:01 all 0.03 0.00 0.01 0.01 0.01 99.95 05:47:54 05:42:01 0 0.07 0.00 0.00 0.00 0.02 99.92 05:47:54 05:42:01 1 0.03 0.00 0.03 0.00 0.00 99.93 05:47:54 05:42:01 2 0.00 0.00 0.02 0.02 0.00 99.97 05:47:54 05:42:01 3 0.02 0.00 0.02 0.00 0.02 99.95 05:47:54 05:42:01 4 0.02 0.00 0.00 0.00 0.00 99.98 05:47:54 05:42:01 5 0.02 0.00 0.00 0.00 0.00 99.98 05:47:54 05:42:01 6 0.07 0.00 0.03 0.02 0.02 99.87 05:47:54 05:42:01 7 0.00 0.00 0.00 0.02 0.00 99.98 05:47:54 05:43:01 all 0.02 0.00 0.02 0.00 0.00 99.96 05:47:54 05:43:01 0 0.00 0.00 0.00 0.00 0.00 100.00 05:47:54 05:43:01 1 0.03 0.00 0.03 0.00 0.02 99.92 05:47:54 05:43:01 2 0.00 0.00 0.02 0.00 0.00 99.98 05:47:54 05:43:01 3 0.03 0.00 0.03 0.00 0.00 99.93 05:47:54 05:43:01 4 0.02 0.00 0.00 0.00 0.00 99.98 05:47:54 05:43:01 5 0.00 0.00 0.02 0.00 0.00 99.98 05:47:54 05:43:01 6 0.03 0.00 0.03 0.00 0.00 99.93 05:47:54 05:43:01 7 0.03 0.00 0.03 0.02 0.00 99.92 05:47:54 05:44:01 all 0.02 0.00 0.01 0.00 0.00 99.96 05:47:54 05:44:01 0 0.03 0.00 0.02 0.00 0.00 99.95 05:47:54 05:44:01 1 0.03 0.00 0.03 0.00 0.00 99.93 05:47:54 05:44:01 2 0.00 0.00 0.00 0.02 0.00 99.98 05:47:54 05:44:01 3 0.02 0.00 0.00 0.00 0.00 99.98 05:47:54 05:44:01 4 0.03 0.00 0.00 0.00 0.00 99.97 05:47:54 05:44:01 5 0.03 0.00 0.02 0.00 0.00 99.95 05:47:54 05:44:01 6 0.03 0.00 0.03 0.00 0.02 99.92 05:47:54 05:44:01 7 0.00 0.00 0.02 0.00 0.02 99.97 05:47:54 05:45:01 all 0.01 0.00 0.02 0.00 0.00 99.96 05:47:54 05:45:01 0 0.00 0.00 0.03 0.00 0.00 99.97 05:47:54 05:45:01 1 0.02 0.00 0.03 0.00 0.00 99.95 05:47:54 05:45:01 2 0.00 0.00 0.02 0.00 0.00 99.98 05:47:54 05:45:01 3 0.02 0.00 0.02 0.00 0.00 99.97 05:47:54 05:45:01 4 0.00 0.00 0.02 0.00 0.00 99.98 05:47:54 05:45:01 5 0.03 0.00 0.02 0.00 0.00 99.95 05:47:54 05:45:01 6 0.03 0.00 0.03 0.02 0.02 99.90 05:47:54 05:45:01 7 0.00 0.00 0.02 0.02 0.00 99.97 05:47:54 05:46:01 all 0.02 0.00 0.01 0.00 0.00 99.97 05:47:54 05:46:01 0 0.00 0.00 0.02 0.00 0.00 99.98 05:47:54 05:46:01 1 0.02 0.00 0.00 0.00 0.00 99.98 05:47:54 05:46:01 2 0.02 0.00 0.02 0.00 0.00 99.97 05:47:54 05:46:01 3 0.00 0.00 0.00 0.00 0.00 100.00 05:47:54 05:46:01 4 0.00 0.00 0.02 0.00 0.00 99.98 05:47:54 05:46:01 5 0.02 0.00 0.00 0.00 0.00 99.98 05:47:54 05:46:01 6 0.07 0.00 0.02 0.03 0.02 99.87 05:47:54 05:46:01 7 0.02 0.00 0.00 0.00 0.02 99.97 05:47:54 05:47:01 all 0.02 0.00 0.00 0.01 0.00 99.96 05:47:54 05:47:01 0 0.03 0.00 0.00 0.02 0.00 99.95 05:47:54 05:47:01 1 0.02 0.00 0.00 0.00 0.02 99.97 05:47:54 05:47:01 2 0.00 0.00 0.00 0.00 0.00 100.00 05:47:54 05:47:01 3 0.02 0.00 0.00 0.00 0.00 99.98 05:47:54 05:47:01 4 0.00 0.00 0.02 0.00 0.00 99.98 05:47:54 05:47:01 5 0.05 0.00 0.02 0.00 0.00 99.93 05:47:54 05:47:01 6 0.05 0.00 0.00 0.02 0.02 99.92 05:47:54 05:47:01 7 0.00 0.00 0.00 0.02 0.00 99.98 05:47:54 Average: all 6.23 0.00 1.38 0.19 0.02 92.19 05:47:54 Average: 0 6.36 0.00 1.38 0.31 0.02 91.93 05:47:54 Average: 1 6.45 0.00 1.39 0.10 0.02 92.04 05:47:54 Average: 2 6.33 0.00 1.53 0.17 0.02 91.96 05:47:54 Average: 3 6.19 0.00 1.33 0.07 0.02 92.39 05:47:54 Average: 4 6.18 0.00 1.43 0.27 0.02 92.10 05:47:54 Average: 5 6.37 0.00 1.28 0.02 0.02 92.31 05:47:54 Average: 6 6.15 0.00 1.43 0.49 0.03 91.90 05:47:54 Average: 7 5.79 0.00 1.28 0.05 0.02 92.86 05:47:54 05:47:54 05:47:54