Pull request #241 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bb625d3e0e753a5230a66cbbf199ced1b4b4c411+4a9e67fa37862f83ef90b637e6c765491ff37d3a (2cb09f3c180d761d11b461bccdb3461d6501e7c0) 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-ssh17841470725068024568.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12407453114739174376.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh 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-241/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-241/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13164532983546628666.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-241/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4340100949390697099.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh4519776373824954828.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-241/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-241/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10128111095788818231.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-7520 in /w/workspace/undry_device-onvif-camera_PR-241 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-241 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/241/head:refs/remotes/origin/PR-241 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit bb625d3e0e753a5230a66cbbf199ced1b4b4c411 Merge succeeded, producing bb625d3e0e753a5230a66cbbf199ced1b4b4c411 Checking out Revision bb625d3e0e753a5230a66cbbf199ced1b4b4c411 (PR-241) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:04:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:04:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f bb625d3e0e753a5230a66cbbf199ced1b4b4c411 # 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 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb625d3e0e753a5230a66cbbf199ced1b4b4c411 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:04:22 ========================================================= 04:04:22 EdgeX Global Pipelines Version Info 04:04:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:04:22 ------------------- 04:04:22 stable info: 04:04:22 ------------------- 04:04:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:04:22 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:04:22 Message: update stable to v1.0.244 04:04:23 ------------------- 04:04:23 experimental info: 04:04:23 ------------------- 04:04:23 Commited By: **** collab-it+edgex@linuxfoundation.org 04:04:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:04:23 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-241 [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-241 [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-241 [Pipeline] echo 04:04:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb625d3e0e753a5230a66cbbf199ced1b4b4c411 [Pipeline] echo 04:04:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb625d3 [Pipeline] echo 04:04:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:25 provisioning config files... 04:04:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-241@tmp/config17551322697252243084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:25 ---> docker-login.sh 04:04:25 nexus3.edgexfoundry.org:10001 04:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:25 Configure a credential helper to remove this warning. See 04:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:25 04:04:25 Login Succeeded 04:04:25 nexus3.edgexfoundry.org:10002 04:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:25 Configure a credential helper to remove this warning. See 04:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:25 04:04:25 Login Succeeded 04:04:25 nexus3.edgexfoundry.org:10003 04:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:26 Configure a credential helper to remove this warning. See 04:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:26 04:04:26 Login Succeeded 04:04:26 nexus3.edgexfoundry.org:10004 04:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:26 Configure a credential helper to remove this warning. See 04:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:26 04:04:26 Login Succeeded 04:04:26 docker.io 04:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:26 Configure a credential helper to remove this warning. See 04:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:26 04:04:26 Login Succeeded 04:04:26 ---> docker-login.sh ends [Pipeline] } 04:04:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:04:27 + git rev-list -1 --merges bb625d3e0e753a5230a66cbbf199ced1b4b4c411~1..bb625d3e0e753a5230a66cbbf199ced1b4b4c411 [Pipeline] echo 04:04:27 -----------> git rev-list -1 --merges bb625d3e0e753a5230a66cbbf199ced1b4b4c411~1..bb625d3e0e753a5230a66cbbf199ced1b4b4c411 bb625d3e0e753a5230a66cbbf199ced1b4b4c411 [false] [Pipeline] sh 04:04:27 + git log --format=format:%s -1 bb625d3e0e753a5230a66cbbf199ced1b4b4c411 [Pipeline] echo 04:04:27 ========================================================= 04:04:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:04:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:04:27 + git log --format=format:%s -1 bb625d3e0e753a5230a66cbbf199ced1b4b4c411 [Pipeline] echo 04:04:27 [semverPrep] GIT_COMMIT: bb625d3e0e753a5230a66cbbf199ced1b4b4c411, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 04:04:27 [semverPrep] This is not a build commit. [Pipeline] sh 04:04:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:04:28 + grep -v github /etc/ssh/ssh_known_hosts 04:04:28 + [ -e /tmp/ssh_known_hosts ] 04:04:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:04:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:04:28 + sudo tee -a /etc/ssh/ssh_known_hosts 04:04:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:28 04:04:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:29 0.1.4: Pulling from edgex-devops/py-git-semver 04:04:29 b85a868b505f: Pulling fs layer 04:04:29 e2be974225ed: Pulling fs layer 04:04:29 339a4e72a1f5: Pulling fs layer 04:04:29 988bab9f4d93: Pulling fs layer 04:04:29 1469e6f7b9e6: Pulling fs layer 04:04:29 eaf3925da568: Pulling fs layer 04:04:29 bab4dde63d76: Pulling fs layer 04:04:29 988bab9f4d93: Waiting 04:04:29 1469e6f7b9e6: Waiting 04:04:29 eaf3925da568: Waiting 04:04:29 bab4dde63d76: Waiting 04:04:29 bde34c3a00c8: Pulling fs layer 04:04:29 b352a97aabf1: Pulling fs layer 04:04:29 bde34c3a00c8: Waiting 04:04:29 b352a97aabf1: Waiting 04:04:29 4872d77fe225: Pulling fs layer 04:04:29 5851b861e8e6: Pulling fs layer 04:04:29 5851b861e8e6: Waiting 04:04:29 4872d77fe225: Waiting 04:04:29 e2be974225ed: Download complete 04:04:29 988bab9f4d93: Verifying Checksum 04:04:29 988bab9f4d93: Download complete 04:04:29 1469e6f7b9e6: Verifying Checksum 04:04:29 1469e6f7b9e6: Download complete 04:04:29 eaf3925da568: Verifying Checksum 04:04:29 eaf3925da568: Download complete 04:04:29 339a4e72a1f5: Verifying Checksum 04:04:29 339a4e72a1f5: Download complete 04:04:29 bde34c3a00c8: Verifying Checksum 04:04:29 bde34c3a00c8: Download complete 04:04:29 b352a97aabf1: Verifying Checksum 04:04:29 b352a97aabf1: Download complete 04:04:29 4872d77fe225: Verifying Checksum 04:04:29 4872d77fe225: Download complete 04:04:29 5851b861e8e6: Download complete 04:04:29 b85a868b505f: Verifying Checksum 04:04:29 b85a868b505f: Download complete 04:04:29 bab4dde63d76: Verifying Checksum 04:04:29 bab4dde63d76: Download complete 04:04:30 b85a868b505f: Pull complete 04:04:30 e2be974225ed: Pull complete 04:04:31 339a4e72a1f5: Pull complete 04:04:31 988bab9f4d93: Pull complete 04:04:31 1469e6f7b9e6: Pull complete 04:04:31 eaf3925da568: Pull complete 04:04:33 bab4dde63d76: Pull complete 04:04:33 bde34c3a00c8: Pull complete 04:04:33 b352a97aabf1: Pull complete 04:04:33 4872d77fe225: Pull complete 04:04:33 5851b861e8e6: Pull complete 04:04:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:04:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:33 prd-ubuntu20.04-docker-8c-8g-7520 does not seem to be running inside a container 04:04:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-241 -v /w/workspace/undry_device-onvif-camera_PR-241:/w/workspace/undry_device-onvif-camera_PR-241:rw,z -v /w/workspace/undry_device-onvif-camera_PR-241@tmp:/w/workspace/undry_device-onvif-camera_PR-241@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:04:35 $ docker top cbf91bfe5bf25972a88f7eb261c16dea45ced02d2e1248142c75b6018e3d599d -eo pid,comm 04:04:35 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). 04:04:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:04:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:04:35 [ssh-agent] Looking for ssh-agent implementation... 04:04:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:04:35 $ docker exec cbf91bfe5bf25972a88f7eb261c16dea45ced02d2e1248142c75b6018e3d599d ssh-agent 04:04:35 SSH_AUTH_SOCK=/tmp/ssh-ps2RhQOJRIvk/agent.32 04:04:35 SSH_AGENT_PID=38 04:04:35 Running ssh-add (command line suppressed) 04:04:35 Identity added: /w/workspace/undry_device-onvif-camera_PR-241@tmp/private_key_3183953486354936770.key (/w/workspace/undry_device-onvif-camera_PR-241@tmp/private_key_3183953486354936770.key) 04:04:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:04:36 + git tag --points-at HEAD [Pipeline] } 04:04:36 $ docker exec --env ******** --env ******** cbf91bfe5bf25972a88f7eb261c16dea45ced02d2e1248142c75b6018e3d599d ssh-agent -k 04:04:36 unset SSH_AUTH_SOCK; 04:04:36 unset SSH_AGENT_PID; 04:04:36 echo Agent pid 38 killed; 04:04:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:04:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:04:36 [ssh-agent] Looking for ssh-agent implementation... 04:04:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:04:36 $ docker exec cbf91bfe5bf25972a88f7eb261c16dea45ced02d2e1248142c75b6018e3d599d ssh-agent 04:04:36 SSH_AUTH_SOCK=/tmp/ssh-NWqVZpirSfEl/agent.70 04:04:36 SSH_AGENT_PID=76 04:04:36 Running ssh-add (command line suppressed) 04:04:36 Identity added: /w/workspace/undry_device-onvif-camera_PR-241@tmp/private_key_2594788034956982901.key (/w/workspace/undry_device-onvif-camera_PR-241@tmp/private_key_2594788034956982901.key) 04:04:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:04:36 + git semver init 04:04:37 2023-02-27 04:04:37,130 [run_init] DEBUG init version:0.0.0 force:False 04:04:37 2023-02-27 04:04:37,131 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-241/.semver 04:04:37 2023-02-27 04:04:37,131 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-241/.semver 04:04:37 2023-02-27 04:04:37,132 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-241/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-241, universal_newlines=False, shell=None, istream=None) 04:04:38 2023-02-27 04:04:38,078 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-241/.git/info/exclude 04:04:38 2023-02-27 04:04:38,078 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-241/.semver/PR-241 with force:False 04:04:38 2023-02-27 04:04:38,078 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-241/.semver/PR-241 04:04:38 2023-02-27 04:04:38,083 [execute] INFO git cat-file --batch-check 04:04:38 2023-02-27 04:04:38,083 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-241/.semver, universal_newlines=False, shell=None, istream=) 04:04:38 2023-02-27 04:04:38,089 [execute] INFO git cat-file --batch 04:04:38 2023-02-27 04:04:38,089 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-241/.semver, universal_newlines=False, shell=None, istream=) 04:04:38 2023-02-27 04:04:38,093 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-241/.semver/PR-241 04:04:38 0.0.0 [Pipeline] } 04:04:38 $ docker exec --env ******** --env ******** cbf91bfe5bf25972a88f7eb261c16dea45ced02d2e1248142c75b6018e3d599d ssh-agent -k 04:04:38 unset SSH_AUTH_SOCK; 04:04:38 unset SSH_AGENT_PID; 04:04:38 echo Agent pid 76 killed; 04:04:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:04:38 + git semver [Pipeline] } 04:04:39 $ docker stop --time=1 cbf91bfe5bf25972a88f7eb261c16dea45ced02d2e1248142c75b6018e3d599d 04:04:40 $ docker rm -f --volumes cbf91bfe5bf25972a88f7eb261c16dea45ced02d2e1248142c75b6018e3d599d [Pipeline] // withDockerContainer [Pipeline] sh 04:04:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:04:40 Stashed 1 file(s) [Pipeline] echo 04:04:40 [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 04:04:41 provisioning config files... 04:04:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-241@tmp/config4921555150532256885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:41 ---> docker-login.sh 04:04:41 nexus3.edgexfoundry.org:10001 04:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:41 Configure a credential helper to remove this warning. See 04:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:41 04:04:41 Login Succeeded 04:04:41 nexus3.edgexfoundry.org:10002 04:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:41 Configure a credential helper to remove this warning. See 04:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:41 04:04:41 Login Succeeded 04:04:41 nexus3.edgexfoundry.org:10003 04:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:42 Configure a credential helper to remove this warning. See 04:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:42 04:04:42 Login Succeeded 04:04:42 nexus3.edgexfoundry.org:10004 04:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:42 Configure a credential helper to remove this warning. See 04:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:42 04:04:42 Login Succeeded 04:04:42 docker.io 04:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:42 Configure a credential helper to remove this warning. See 04:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:42 04:04:42 Login Succeeded 04:04:42 ---> docker-login.sh ends [Pipeline] } 04:04:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:04:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:42 ========================================================= 04:04:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:04:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:43 + 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 . 04:04:43 Sending build context to Docker daemon 27.74MB 04:04:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:04:43 Step 2/13 : FROM ${BASE} AS builder 04:04:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:04:43 213ec9aee27d: Pulling fs layer 04:04:43 4583459ba037: Pulling fs layer 04:04:43 93c1e223e6f2: Pulling fs layer 04:04:43 53926ce57604: Pulling fs layer 04:04:43 21b2b0c7a3f4: Pulling fs layer 04:04:43 22ff95d597cd: Pulling fs layer 04:04:43 12d6caf4c0d1: Pulling fs layer 04:04:43 96b7cbca73a9: Pulling fs layer 04:04:43 a7acece74701: Pulling fs layer 04:04:43 21b2b0c7a3f4: Waiting 04:04:43 22ff95d597cd: Waiting 04:04:43 12d6caf4c0d1: Waiting 04:04:43 96b7cbca73a9: Waiting 04:04:43 a7acece74701: Waiting 04:04:43 53926ce57604: Waiting 04:04:43 93c1e223e6f2: Verifying Checksum 04:04:43 93c1e223e6f2: Download complete 04:04:43 4583459ba037: Verifying Checksum 04:04:43 4583459ba037: Download complete 04:04:43 21b2b0c7a3f4: Verifying Checksum 04:04:43 21b2b0c7a3f4: Download complete 04:04:43 22ff95d597cd: Verifying Checksum 04:04:43 22ff95d597cd: Download complete 04:04:43 213ec9aee27d: Verifying Checksum 04:04:43 213ec9aee27d: Download complete 04:04:43 12d6caf4c0d1: Verifying Checksum 04:04:43 12d6caf4c0d1: Download complete 04:04:43 213ec9aee27d: Pull complete 04:04:43 4583459ba037: Pull complete 04:04:43 93c1e223e6f2: Pull complete 04:04:44 53926ce57604: Verifying Checksum 04:04:44 53926ce57604: Download complete 04:04:44 a7acece74701: Verifying Checksum 04:04:44 a7acece74701: Download complete 04:04:44 96b7cbca73a9: Verifying Checksum 04:04:44 96b7cbca73a9: Download complete 04:04:48 53926ce57604: Pull complete 04:04:48 21b2b0c7a3f4: Pull complete 04:04:48 22ff95d597cd: Pull complete 04:04:48 12d6caf4c0d1: Pull complete 04:04:50 96b7cbca73a9: Pull complete 04:04:51 a7acece74701: Pull complete 04:04:51 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:04:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:04:51 ---> db6d94c90886 04:04:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:04:53 ---> Running in 2dd946732194 04:04:53 Removing intermediate container 2dd946732194 04:04:53 ---> 92d73d9bdaab 04:04:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:53 ---> Running in 19a5682fec94 04:04:53 Removing intermediate container 19a5682fec94 04:04:53 ---> b08d9dcdd399 04:04:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:04:53 ---> Running in ac0ed7ae471c 04:04:53 Removing intermediate container ac0ed7ae471c 04:04:53 ---> 27481dd2e42c 04:04:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:04:53 ---> Running in d6e2632f6aca 04:04:53 Removing intermediate container d6e2632f6aca 04:04:53 ---> cccc7528285a 04:04:53 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:04:53 ---> Running in 7c8cfe1ea4f6 04:04:53 Removing intermediate container 7c8cfe1ea4f6 04:04:53 ---> 73087d42ef44 04:04:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:53 ---> Running in 4becd91c5e07 04:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:04:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:04:54 OK: 211 MiB in 51 packages 04:04:54 Removing intermediate container 4becd91c5e07 04:04:54 ---> 022aec28c412 04:04:54 Step 9/13 : WORKDIR /device-onvif-camera 04:04:54 ---> Running in ad1c3c3c7d35 04:04:54 Removing intermediate container ad1c3c3c7d35 04:04:54 ---> bc7a11789943 04:04:54 Step 10/13 : COPY go.mod vendor* ./ 04:04:54 ---> 22671a783ef0 04:04:54 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:54 ---> Running in 7581abeb7135 04:04:56 Still waiting to schedule task 04:04:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:05:16 Removing intermediate container 7581abeb7135 04:05:16 ---> b3405c1c61a8 04:05:16 Step 12/13 : COPY . . 04:05:16 ---> f3b47769a5e7 04:05:16 Step 13/13 : RUN ${MAKE} 04:05:16 ---> Running in 3a32d7a4696e 04:05:16 noop 04:05:16 Removing intermediate container 3a32d7a4696e 04:05:16 ---> 6207ac0d706b 04:05:16 Successfully built 6207ac0d706b 04:05:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:17 + docker inspect -f . ci-base-image-x86_64 04:05:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:17 prd-ubuntu20.04-docker-8c-8g-7520 does not seem to be running inside a container 04:05:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-241 -v /w/workspace/undry_device-onvif-camera_PR-241:/w/workspace/undry_device-onvif-camera_PR-241:rw,z -v /w/workspace/undry_device-onvif-camera_PR-241@tmp:/w/workspace/undry_device-onvif-camera_PR-241@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 ******** ci-base-image-x86_64 cat 04:05:17 $ docker top 3ee3b0103ec1f8dbb53c513467a3f37288701e385e8e67068954c3841213da0c -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:18 + go version 04:05:18 go version go1.18.7 linux/amd64 [Pipeline] } 04:05:18 $ docker stop --time=1 3ee3b0103ec1f8dbb53c513467a3f37288701e385e8e67068954c3841213da0c 04:05:19 $ docker rm -f --volumes 3ee3b0103ec1f8dbb53c513467a3f37288701e385e8e67068954c3841213da0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:20 + docker inspect -f . ci-base-image-x86_64 04:05:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:20 prd-ubuntu20.04-docker-8c-8g-7520 does not seem to be running inside a container 04:05:20 $ 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-241 -v /w/workspace/undry_device-onvif-camera_PR-241:/w/workspace/undry_device-onvif-camera_PR-241:rw,z -v /w/workspace/undry_device-onvif-camera_PR-241@tmp:/w/workspace/undry_device-onvif-camera_PR-241@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 ******** ci-base-image-x86_64 cat 04:05:20 $ docker top f59ad1138f242e5877135cf5010fe14dfb82c04ff8d914a4a3d735c07bd3f1a4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:21 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-241 [Pipeline] fileExists [Pipeline] sh 04:05:21 + make test 04:05:21 go test ./... -coverprofile=coverage.out ./... 04:05:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:05:31 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 04:05:31 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:76:36: not enough arguments in call to clients.NewEventClient 04:05:31 have (string) 04:05:31 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:05:31 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:82:37: not enough arguments in call to clients.NewDeviceClient 04:05:31 have (string) 04:05:31 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:05:31 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:85:44: not enough arguments in call to clients.NewDeviceServiceClient 04:05:31 have (string) 04:05:31 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:05:31 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:88:44: not enough arguments in call to clients.NewDeviceProfileClient 04:05:31 have (string) 04:05:31 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:05:31 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:91:47: not enough arguments in call to clients.NewProvisionWatcherClient 04:05:31 have (string) 04:05:31 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:05:31 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:118:39: not enough arguments in call to clients.NewCommandClient 04:05:31 have (string) 04:05:31 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:05:31 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:130:43: not enough arguments in call to clients.NewNotificationClient 04:05:31 have (string) 04:05:31 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:05:31 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:133:43: not enough arguments in call to clients.NewSubscriptionClient 04:05:31 have (string) 04:05:31 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:05:31 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:140:39: not enough arguments in call to clients.NewIntervalClient 04:05:31 have (string) 04:05:31 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:05:31 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:143:45: not enough arguments in call to clients.NewIntervalActionClient 04:05:31 have (string) 04:05:31 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:05:31 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:143:45: too many errors 04:05:31 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 04:05:32 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.283s coverage: 86.5% of statements 04:05:32 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 04:05:32 $ docker stop --time=1 f59ad1138f242e5877135cf5010fe14dfb82c04ff8d914a4a3d735c07bd3f1a4 04:05:34 $ docker rm -f --volumes f59ad1138f242e5877135cf5010fe14dfb82c04ff8d914a4a3d735c07bd3f1a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:35 04:05:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:35 latest: Pulling from edgex-lftools-log-publisher 04:05:35 5eb5b503b376: Pulling fs layer 04:05:35 5c69ac0246d0: Pulling fs layer 04:05:35 ec43610c2a17: Pulling fs layer 04:05:35 3a2ae6a8a46f: Pulling fs layer 04:05:35 33b1e0a273af: Pulling fs layer 04:05:35 5d3b04190fa2: Pulling fs layer 04:05:35 2f39f015ded8: Pulling fs layer 04:05:35 5d3b04190fa2: Waiting 04:05:35 3a2ae6a8a46f: Waiting 04:05:35 33b1e0a273af: Waiting 04:05:35 2f39f015ded8: Waiting 04:05:35 5c69ac0246d0: Verifying Checksum 04:05:35 5c69ac0246d0: Download complete 04:05:35 3a2ae6a8a46f: Verifying Checksum 04:05:35 3a2ae6a8a46f: Download complete 04:05:35 33b1e0a273af: Verifying Checksum 04:05:35 33b1e0a273af: Download complete 04:05:35 5d3b04190fa2: Verifying Checksum 04:05:35 5d3b04190fa2: Download complete 04:05:35 ec43610c2a17: Verifying Checksum 04:05:35 ec43610c2a17: Download complete 04:05:35 5eb5b503b376: Verifying Checksum 04:05:35 5eb5b503b376: Download complete 04:05:36 2f39f015ded8: Verifying Checksum 04:05:36 2f39f015ded8: Download complete 04:05:36 5eb5b503b376: Pull complete 04:05:36 5c69ac0246d0: Pull complete 04:05:37 ec43610c2a17: Pull complete 04:05:37 3a2ae6a8a46f: Pull complete 04:05:37 33b1e0a273af: Pull complete 04:05:37 5d3b04190fa2: Pull complete 04:05:42 2f39f015ded8: Pull complete 04:05:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:05:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:42 prd-ubuntu20.04-docker-8c-8g-7520 does not seem to be running inside a container 04:05:42 $ 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-241 -v /w/workspace/undry_device-onvif-camera_PR-241:/w/workspace/undry_device-onvif-camera_PR-241:rw,z -v /w/workspace/undry_device-onvif-camera_PR-241@tmp:/w/workspace/undry_device-onvif-camera_PR-241@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:05:43 $ docker top 049e78dcdc88b7469e9d69f3f1139b0bbd0d1c4a99e7e20064a2d722b45115fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:43 ---> job-cost.sh 04:05:43 lf-activate-venv: SKIPPING 04:05:43 INFO: No Stack... 04:05:44 INFO: Retrieving Pricing Info for: v3-standard-8 04:05:44 INFO: Archiving Costs [Pipeline] sh 04:05:45 + cut -d, -f6 04:05:45 + cat /w/workspace/undry_device-onvif-camera_PR-241/archives/cost.csv [Pipeline] lock 04:05:45 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-241-1-stack-cost] 04:05:45 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-241-1-stack-cost] did not exist. Created. 04:05:45 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-241-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:05:45 + echo total: 0.2199999988079071 [Pipeline] stash 04:05:45 Stashed 1 file(s) [Pipeline] } 04:05:45 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-241-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:05:45 $ docker stop --time=1 049e78dcdc88b7469e9d69f3f1139b0bbd0d1c4a99e7e20064a2d722b45115fd 04:05:46 $ docker rm -f --volumes 049e78dcdc88b7469e9d69f3f1139b0bbd0d1c4a99e7e20064a2d722b45115fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:05:47 Failed in branch amd64 04:06:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7525 in /w/workspace/undry_device-onvif-camera_PR-241 [Pipeline] { [Pipeline] ws 04:06:29 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:06:29 The recommended git tool is: git 04:06:35 using credential edgex-jenkins-ssh 04:06:35 Cloning the remote Git repository 04:06:35 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:06:35 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:06:35 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:06:35 > git --version # timeout=10 04:06:35 > git --version # 'git version 2.25.1' 04:06:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:06:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:06:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:06:38 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit bb625d3e0e753a5230a66cbbf199ced1b4b4c411 04:06:39 Merge succeeded, producing bb625d3e0e753a5230a66cbbf199ced1b4b4c411 04:06:39 Checking out Revision bb625d3e0e753a5230a66cbbf199ced1b4b4c411 (PR-241) 04:06:38 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:06:38 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:06:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/241/head:refs/remotes/origin/PR-241 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:06:38 > git config core.sparsecheckout # timeout=10 04:06:38 > git checkout -f bb625d3e0e753a5230a66cbbf199ced1b4b4c411 # timeout=10 04:06:39 > git remote # timeout=10 04:06:39 > git config --get remote.origin.url # timeout=10 04:06:39 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:39 > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 04:06:39 > git rev-parse HEAD^{commit} # timeout=10 04:06:39 > git config core.sparsecheckout # timeout=10 04:06:39 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 04:06:39 > git --version # timeout=10 04:06:39 > git --version # 'git version 2.25.1' 04:06:39 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:39 > git checkout -f bb625d3e0e753a5230a66cbbf199ced1b4b4c411 # timeout=10 04:06:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:06:41 % Total % Received % Xferd Average Speed Time Time Time Current 04:06:41 Dload Upload Total Spent Left Speed 04:06:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 71525 0 --:--:-- --:--:-- --:--:-- 71064 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh 04:06:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:06:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:06:42 + sudo tee /etc/docker/daemon.new 04:06:42 { 04:06:42 "registry-mirrors": [ 04:06:42 "https://nexus3.edgexfoundry.org:10001" 04:06:42 ], 04:06:42 "bip": "10.250.0.254/24", 04:06:42 "hosts": [ 04:06:42 "tcp://0.0.0.0:5555", 04:06:42 "unix:///var/run/docker.sock" 04:06:42 ], 04:06:42 "mtu": 1458, 04:06:42 "selinux-enabled": true, 04:06:42 "seccomp-profile": "/etc/docker/seccomp.json" 04:06:42 } [Pipeline] sh 04:06:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:06:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:01 provisioning config files... 04:07:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config15726109607345177066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:01 ---> docker-login.sh 04:07:01 nexus3.edgexfoundry.org:10001 04:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:02 Configure a credential helper to remove this warning. See 04:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:02 04:07:02 Login Succeeded 04:07:02 nexus3.edgexfoundry.org:10002 04:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:02 Configure a credential helper to remove this warning. See 04:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:02 04:07:02 Login Succeeded 04:07:02 nexus3.edgexfoundry.org:10003 04:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:02 Configure a credential helper to remove this warning. See 04:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:02 04:07:02 Login Succeeded 04:07:02 nexus3.edgexfoundry.org:10004 04:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:03 Configure a credential helper to remove this warning. See 04:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:03 04:07:03 Login Succeeded 04:07:03 docker.io 04:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:03 Configure a credential helper to remove this warning. See 04:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:03 04:07:03 Login Succeeded 04:07:03 ---> docker-login.sh ends [Pipeline] } 04:07:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:07:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:04 ========================================================= 04:07:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:07:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:04 + 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 . 04:07:05 Sending build context to Docker daemon 20.56MB 04:07:05 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:07:05 Step 2/13 : FROM ${BASE} AS builder 04:07:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:07:05 9b18e9b68314: Pulling fs layer 04:07:05 35d82f9e3411: Pulling fs layer 04:07:05 e16973657156: Pulling fs layer 04:07:05 fc693d55d65f: Pulling fs layer 04:07:05 7e9fc2657dce: Pulling fs layer 04:07:05 dda99020689f: Pulling fs layer 04:07:05 db1c61fa0a46: Pulling fs layer 04:07:05 891c053d2c06: Pulling fs layer 04:07:05 dda99020689f: Waiting 04:07:05 db1c61fa0a46: Waiting 04:07:05 fc693d55d65f: Waiting 04:07:05 7e9fc2657dce: Waiting 04:07:05 891c053d2c06: Waiting 04:07:05 e16973657156: Verifying Checksum 04:07:05 e16973657156: Download complete 04:07:05 35d82f9e3411: Verifying Checksum 04:07:05 35d82f9e3411: Download complete 04:07:05 7e9fc2657dce: Verifying Checksum 04:07:05 7e9fc2657dce: Download complete 04:07:05 dda99020689f: Verifying Checksum 04:07:05 dda99020689f: Download complete 04:07:05 9b18e9b68314: Verifying Checksum 04:07:05 9b18e9b68314: Download complete 04:07:06 9b18e9b68314: Pull complete 04:07:06 891c053d2c06: Verifying Checksum 04:07:06 891c053d2c06: Download complete 04:07:07 35d82f9e3411: Pull complete 04:07:07 e16973657156: Pull complete 04:07:07 db1c61fa0a46: Verifying Checksum 04:07:07 db1c61fa0a46: Download complete 04:07:08 fc693d55d65f: Verifying Checksum 04:07:08 fc693d55d65f: Download complete 04:07:20 fc693d55d65f: Pull complete 04:07:20 7e9fc2657dce: Pull complete 04:07:21 dda99020689f: Pull complete 04:07:27 db1c61fa0a46: Pull complete 04:07:29 891c053d2c06: Pull complete 04:07:29 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:07:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:07:29 ---> f96f9c87975a 04:07:29 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:07:31 ---> Running in b1b826a933b7 04:07:31 Removing intermediate container b1b826a933b7 04:07:31 ---> c8b020f81421 04:07:31 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:07:32 ---> Running in 33ae01495b6d 04:07:32 Removing intermediate container 33ae01495b6d 04:07:32 ---> 23c208140a84 04:07:32 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:07:32 ---> Running in c7f1c3d0ffc8 04:07:32 Removing intermediate container c7f1c3d0ffc8 04:07:32 ---> 1e42b52ef620 04:07:32 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:07:32 ---> Running in f514458b2ad6 04:07:33 Removing intermediate container f514458b2ad6 04:07:33 ---> 8b6c3d805544 04:07:33 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:07:33 ---> Running in c48484475c9f 04:07:33 Removing intermediate container c48484475c9f 04:07:33 ---> 2e1d7267b2b1 04:07:33 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:07:33 ---> Running in b9050f5df0bb 04:07:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:07:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:07:36 OK: 221 MiB in 51 packages 04:07:38 Removing intermediate container b9050f5df0bb 04:07:38 ---> b1462bbc83ba 04:07:38 Step 9/13 : WORKDIR /device-onvif-camera 04:07:38 ---> Running in f36ca6955844 04:07:38 Removing intermediate container f36ca6955844 04:07:38 ---> 984c2850f603 04:07:38 Step 10/13 : COPY go.mod vendor* ./ 04:07:39 ---> 19d965c26511 04:07:39 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:39 ---> Running in c9c3505983fd 04:08:47 Removing intermediate container c9c3505983fd 04:08:47 ---> 80efd86660a3 04:08:47 Step 12/13 : COPY . . 04:08:47 ---> 6cf65704c52f 04:08:47 Step 13/13 : RUN ${MAKE} 04:08:47 ---> Running in bb0933ab3637 04:08:47 noop 04:08:47 Removing intermediate container bb0933ab3637 04:08:47 ---> 1eca9af9e821 04:08:47 Successfully built 1eca9af9e821 04:08:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:47 + docker inspect -f . ci-base-image-arm64 04:08:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:48 prd-ubuntu20.04-docker-arm64-4c-16g-7525 does not seem to be running inside a container 04:08:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:08:49 $ docker top ba579464cb1d37d884c271fb64e473ea1aa6837430d12690f6204fa7fff2d1f1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:50 + go version 04:08:50 go version go1.18.7 linux/arm64 [Pipeline] } 04:08:50 $ docker stop --time=1 ba579464cb1d37d884c271fb64e473ea1aa6837430d12690f6204fa7fff2d1f1 04:08:52 $ docker rm -f --volumes ba579464cb1d37d884c271fb64e473ea1aa6837430d12690f6204fa7fff2d1f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:53 + docker inspect -f . ci-base-image-arm64 04:08:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:53 prd-ubuntu20.04-docker-arm64-4c-16g-7525 does not seem to be running inside a container 04:08:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:08:54 $ docker top e2806b91691fc8aa796203845c99718efb8530084933cec7ce7bf9e91a84d9dd -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:55 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:08:55 + make test 04:08:55 go test ./... -coverprofile=coverage.out ./... 04:08:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:10:19 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 04:10:19 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:76:36: not enough arguments in call to clients.NewEventClient 04:10:19 have (string) 04:10:19 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:10:19 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:82:37: not enough arguments in call to clients.NewDeviceClient 04:10:19 have (string) 04:10:19 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:10:19 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:85:44: not enough arguments in call to clients.NewDeviceServiceClient 04:10:19 have (string) 04:10:19 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:10:19 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:88:44: not enough arguments in call to clients.NewDeviceProfileClient 04:10:19 have (string) 04:10:19 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:10:19 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:91:47: not enough arguments in call to clients.NewProvisionWatcherClient 04:10:19 have (string) 04:10:19 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:10:19 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:118:39: not enough arguments in call to clients.NewCommandClient 04:10:19 have (string) 04:10:19 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:10:19 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:130:43: not enough arguments in call to clients.NewNotificationClient 04:10:19 have (string) 04:10:19 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:10:19 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:133:43: not enough arguments in call to clients.NewSubscriptionClient 04:10:19 have (string) 04:10:19 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:10:19 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:140:39: not enough arguments in call to clients.NewIntervalClient 04:10:19 have (string) 04:10:19 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:10:19 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:143:45: not enough arguments in call to clients.NewIntervalActionClient 04:10:19 have (string) 04:10:19 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 04:10:19 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:143:45: too many errors 04:10:24 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 04:10:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.345s coverage: 86.5% of statements 04:10:42 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 04:10:42 $ docker stop --time=1 e2806b91691fc8aa796203845c99718efb8530084933cec7ce7bf9e91a84d9dd 04:10:44 $ docker rm -f --volumes e2806b91691fc8aa796203845c99718efb8530084933cec7ce7bf9e91a84d9dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:10:46 04:10:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:10:46 arm64: Pulling from edgex-lftools-log-publisher 04:10:46 8998bd30e6a1: Pulling fs layer 04:10:46 04944245beec: Pulling fs layer 04:10:46 699f458cf7ca: Pulling fs layer 04:10:46 765212b225bb: Pulling fs layer 04:10:46 f23df028b6ca: Pulling fs layer 04:10:46 d65c8cfc05b1: Pulling fs layer 04:10:46 2437ff75d9bd: Pulling fs layer 04:10:46 765212b225bb: Waiting 04:10:46 f23df028b6ca: Waiting 04:10:46 2437ff75d9bd: Waiting 04:10:46 04944245beec: Verifying Checksum 04:10:46 04944245beec: Download complete 04:10:46 765212b225bb: Download complete 04:10:46 f23df028b6ca: Verifying Checksum 04:10:46 f23df028b6ca: Download complete 04:10:46 d65c8cfc05b1: Verifying Checksum 04:10:46 d65c8cfc05b1: Download complete 04:10:47 699f458cf7ca: Verifying Checksum 04:10:47 699f458cf7ca: Download complete 04:10:47 8998bd30e6a1: Verifying Checksum 04:10:47 8998bd30e6a1: Download complete 04:10:50 2437ff75d9bd: Verifying Checksum 04:10:50 2437ff75d9bd: Download complete 04:10:53 8998bd30e6a1: Pull complete 04:10:53 04944245beec: Pull complete 04:10:55 699f458cf7ca: Pull complete 04:10:55 765212b225bb: Pull complete 04:10:56 f23df028b6ca: Pull complete 04:10:56 d65c8cfc05b1: Pull complete 04:11:14 2437ff75d9bd: Pull complete 04:11:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:11:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:11:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:14 prd-ubuntu20.04-docker-arm64-4c-16g-7525 does not seem to be running inside a container 04:11:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:11:17 $ docker top ae4ea43d4709e89fabb27bccd361b4a638440f9c2a94b047d02d0a4f4b389267 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:18 ---> job-cost.sh 04:11:18 lf-activate-venv: SKIPPING 04:11:18 INFO: No Stack... 04:11:19 INFO: Retrieving Pricing Info for: v3-standard-4 04:11:19 INFO: Archiving Costs [Pipeline] sh 04:11:20 + cut -d, -f6 04:11:20 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 04:11:20 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-241-1-stack-cost] 04:11:20 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-241-1-stack-cost] did not exist. Created. 04:11:20 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-241-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:11:21 /w/workspace/device-onvif-camera/1@tmp/durable-38d93e7d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:11:22 + echo total: 0.10999999940395355 [Pipeline] stash 04:11:22 Warning: overwriting stash ‘stack-cost’ 04:11:22 Stashed 1 file(s) [Pipeline] } 04:11:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-241-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:11:22 $ docker stop --time=1 ae4ea43d4709e89fabb27bccd361b4a638440f9c2a94b047d02d0a4f4b389267 04:11:24 $ docker rm -f --volumes ae4ea43d4709e89fabb27bccd361b4a638440f9c2a94b047d02d0a4f4b389267 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:11:25 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:11:26 + [ -d /w/workspace/undry_device-onvif-camera_PR-241/archives ] 04:11:26 + ls -al /w/workspace/undry_device-onvif-camera_PR-241/archives 04:11:26 total 16 04:11:26 drwxr-xr-x 3 root root 4096 Feb 27 04:05 . 04:11:26 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 04:05 .. 04:11:26 drwxr-xr-x 2 root root 4096 Feb 27 04:05 cost 04:11:26 -rw-r--r-- 1 root root 91 Feb 27 04:05 cost.csv 04:11:26 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-241/archives 04:11:26 + ls -al /w/workspace/undry_device-onvif-camera_PR-241/archives 04:11:26 total 16 04:11:26 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 04:05 . 04:11:26 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 04:05 .. 04:11:26 drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 04:05 cost 04:11:26 -rw-r--r-- 1 jenkins jenkins 91 Feb 27 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:11:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:11:28 ---> package-listing.sh 04:11:28 ++ facter osfamily 04:11:28 ++ tr '[:upper:]' '[:lower:]' 04:11:28 + OS_FAMILY=debian 04:11:28 + workspace=/w/workspace/undry_device-onvif-camera_PR-241 04:11:28 + START_PACKAGES=/tmp/packages_start.txt 04:11:28 + END_PACKAGES=/tmp/packages_end.txt 04:11:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:11:28 + PACKAGES=/tmp/packages_start.txt 04:11:28 + '[' /w/workspace/undry_device-onvif-camera_PR-241 ']' 04:11:28 + PACKAGES=/tmp/packages_end.txt 04:11:28 + case "${OS_FAMILY}" in 04:11:28 + dpkg -l 04:11:28 + grep '^ii' 04:11:28 + '[' -f /tmp/packages_start.txt ']' 04:11:28 + '[' -f /tmp/packages_end.txt ']' 04:11:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:11:28 + '[' /w/workspace/undry_device-onvif-camera_PR-241 ']' 04:11:28 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-241/archives/ 04:11:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-241/archives/ [Pipeline] echo 04:11:28 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-241/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:11:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:11:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:29 prd-ubuntu20.04-docker-8c-8g-7520 does not seem to be running inside a container 04:11:29 $ 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-241/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-241 -v /w/workspace/undry_device-onvif-camera_PR-241:/w/workspace/undry_device-onvif-camera_PR-241:rw,z -v /w/workspace/undry_device-onvif-camera_PR-241@tmp:/w/workspace/undry_device-onvif-camera_PR-241@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:11:29 $ docker top def484ee75c64119432f4e2387718463c1355a38cdf1fae350a5498f201f47da -eo pid,comm [Pipeline] { [Pipeline] sh 04:11:30 + touch /tmp/pre-build-complete [Pipeline] sh 04:11:30 + mkdir -p /var/log/sysstat [Pipeline] sh 04:11:30 + ls /var/log/sa-host 04:11:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:31 provisioning config files... 04:11:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-241@tmp/config16063688435130033738tmp [Pipeline] { [Pipeline] echo 04:11:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:11:31 ---> create-netrc.sh [Pipeline] } 04:11:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:11:31 ---> python-tools-install.sh [Pipeline] echo 04:11:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:11:32 ---> sudo-logs.sh 04:11:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:11:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:11:32 ---> job-cost.sh 04:11:32 lf-activate-venv: SKIPPING 04:11:32 DEBUG: total: 0.2199999988079071 04:11:32 INFO: Retrieving Stack Cost... 04:11:32 INFO: Retrieving Pricing Info for: v3-standard-8 04:11:33 INFO: Archiving Costs [Pipeline] echo 04:11:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:11:33 ---> logs-deploy.sh 04:11:33 lf-activate-venv: SKIPPING 04:11:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-241/1 04:11:33 INFO: archiving workspace using pattern(s): 04:11:34 Archives upload complete. 04:11:34 INFO: archiving logs to Nexus