Pull request #313 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 087170bcb18c71163db7e305ecab03378c082f33+b3088f74b80dce78a876441a0c72d3538a65c555 (a148fe6d74f2bd3636c50ada4a13c2f773bf76d1) 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-ssh2810037081890410889.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh626843072759121864.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-313/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-313/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12390945326732434685.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-313/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5803031995988465565.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh15841016607434870047.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-313/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-313/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13467497363436618114.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/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-9061 in /w/workspace/undry_device-onvif-camera_PR-313 [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-313 # 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/313/head:refs/remotes/origin/PR-313 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b3088f74b80dce78a876441a0c72d3538a65c555 into PR head commit 087170bcb18c71163db7e305ecab03378c082f33 Merge succeeded, producing 087170bcb18c71163db7e305ecab03378c082f33 Checking out Revision 087170bcb18c71163db7e305ecab03378c082f33 (PR-313) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-19T04:03:03.896Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 087170bcb18c71163db7e305ecab03378c082f33 # 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 b3088f74b80dce78a876441a0c72d3538a65c555 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 087170bcb18c71163db7e305ecab03378c082f33 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-19T04:03:04.087Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-19T04:03:04.184Z] ========================================================= [2023-04-19T04:03:04.184Z] EdgeX Global Pipelines Version Info [2023-04-19T04:03:04.184Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-19T04:03:04.943Z] ------------------- [2023-04-19T04:03:04.943Z] stable info: [2023-04-19T04:03:04.943Z] ------------------- [2023-04-19T04:03:04.943Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-19T04:03:04.943Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T04:03:04.943Z] Message: update stable to v1.0.248 [2023-04-19T04:03:05.515Z] ------------------- [2023-04-19T04:03:05.515Z] experimental info: [2023-04-19T04:03:05.515Z] ------------------- [2023-04-19T04:03:05.515Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-19T04:03:05.515Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T04:03:05.515Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-19T04:03:05.810Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-19T04:03:05.852Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-19T04:03:05.900Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-19T04:03:05.942Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-19T04:03:05.989Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-19T04:03:06.029Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-19T04:03:06.067Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-19T04:03:06.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-19T04:03:06.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-19T04:03:06.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-19T04:03:06.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-19T04:03:06.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-19T04:03:06.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-19T04:03:06.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-19T04:03:06.414Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T04:03:06.460Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T04:03:06.506Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-19T04:03:06.556Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-19T04:03:06.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-19T04:03:06.641Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-19T04:03:06.678Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-19T04:03:06.716Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-19T04:03:06.754Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-19T04:03:06.795Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-19T04:03:06.834Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-19T04:03:06.875Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-19T04:03:06.917Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-19T04:03:06.958Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-313 [Pipeline] echo [2023-04-19T04:03:07.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-313 [Pipeline] echo [2023-04-19T04:03:07.047Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-313 [Pipeline] echo [2023-04-19T04:03:07.091Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 087170bcb18c71163db7e305ecab03378c082f33 [Pipeline] echo [2023-04-19T04:03:07.135Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 087170b [Pipeline] echo [2023-04-19T04:03:07.176Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T04:03:07.299Z] provisioning config files... [2023-04-19T04:03:07.340Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-313@tmp/config3519914918358149905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T04:03:07.687Z] ---> docker-login.sh [2023-04-19T04:03:07.687Z] nexus3.edgexfoundry.org:10001 [2023-04-19T04:03:07.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:03:07.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:03:07.956Z] Configure a credential helper to remove this warning. See [2023-04-19T04:03:07.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:03:07.956Z] [2023-04-19T04:03:07.956Z] Login Succeeded [2023-04-19T04:03:07.956Z] nexus3.edgexfoundry.org:10002 [2023-04-19T04:03:07.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:03:07.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:03:07.956Z] Configure a credential helper to remove this warning. See [2023-04-19T04:03:07.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:03:07.956Z] [2023-04-19T04:03:07.956Z] Login Succeeded [2023-04-19T04:03:07.956Z] nexus3.edgexfoundry.org:10003 [2023-04-19T04:03:07.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:03:08.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:03:08.219Z] Configure a credential helper to remove this warning. See [2023-04-19T04:03:08.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:03:08.219Z] [2023-04-19T04:03:08.219Z] Login Succeeded [2023-04-19T04:03:08.219Z] nexus3.edgexfoundry.org:10004 [2023-04-19T04:03:08.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:03:08.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:03:08.219Z] Configure a credential helper to remove this warning. See [2023-04-19T04:03:08.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:03:08.219Z] [2023-04-19T04:03:08.219Z] Login Succeeded [2023-04-19T04:03:08.219Z] docker.io [2023-04-19T04:03:08.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:03:08.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:03:08.480Z] Configure a credential helper to remove this warning. See [2023-04-19T04:03:08.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:03:08.480Z] [2023-04-19T04:03:08.480Z] Login Succeeded [2023-04-19T04:03:08.480Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T04:03:08.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-19T04:03:09.130Z] + git rev-list -1 --merges 087170bcb18c71163db7e305ecab03378c082f33~1..087170bcb18c71163db7e305ecab03378c082f33 [Pipeline] echo [2023-04-19T04:03:09.191Z] -----------> git rev-list -1 --merges 087170bcb18c71163db7e305ecab03378c082f33~1..087170bcb18c71163db7e305ecab03378c082f33 087170bcb18c71163db7e305ecab03378c082f33 [false] [Pipeline] sh [2023-04-19T04:03:09.508Z] + git log --format=format:%s -1 087170bcb18c71163db7e305ecab03378c082f33 [Pipeline] echo [2023-04-19T04:03:09.547Z] ========================================================= [2023-04-19T04:03:09.547Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-19T04:03:09.547Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T04:03:09.981Z] + git log --format=format:%s -1 087170bcb18c71163db7e305ecab03378c082f33 [Pipeline] echo [2023-04-19T04:03:10.014Z] [semverPrep] GIT_COMMIT: 087170bcb18c71163db7e305ecab03378c082f33, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-04-19T04:03:10.052Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-19T04:03:10.427Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-19T04:03:10.427Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-19T04:03:10.427Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-19T04:03:10.427Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-19T04:03:10.427Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-19T04:03:10.427Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-19T04:03:10.427Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T04:03:10.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T04:03:10.851Z] [2023-04-19T04:03:10.851Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T04:03:11.229Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T04:03:11.229Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-19T04:03:11.229Z] b85a868b505f: Pulling fs layer [2023-04-19T04:03:11.229Z] e2be974225ed: Pulling fs layer [2023-04-19T04:03:11.229Z] 339a4e72a1f5: Pulling fs layer [2023-04-19T04:03:11.229Z] 988bab9f4d93: Pulling fs layer [2023-04-19T04:03:11.229Z] 1469e6f7b9e6: Pulling fs layer [2023-04-19T04:03:11.229Z] eaf3925da568: Pulling fs layer [2023-04-19T04:03:11.229Z] bab4dde63d76: Pulling fs layer [2023-04-19T04:03:11.229Z] bde34c3a00c8: Pulling fs layer [2023-04-19T04:03:11.229Z] b352a97aabf1: Pulling fs layer [2023-04-19T04:03:11.229Z] 4872d77fe225: Pulling fs layer [2023-04-19T04:03:11.229Z] 5851b861e8e6: Pulling fs layer [2023-04-19T04:03:11.229Z] 5851b861e8e6: Waiting [2023-04-19T04:03:11.229Z] bde34c3a00c8: Waiting [2023-04-19T04:03:11.229Z] 4872d77fe225: Waiting [2023-04-19T04:03:11.229Z] b352a97aabf1: Waiting [2023-04-19T04:03:11.229Z] 988bab9f4d93: Waiting [2023-04-19T04:03:11.229Z] 1469e6f7b9e6: Waiting [2023-04-19T04:03:11.229Z] eaf3925da568: Waiting [2023-04-19T04:03:11.229Z] e2be974225ed: Verifying Checksum [2023-04-19T04:03:11.229Z] e2be974225ed: Download complete [2023-04-19T04:03:11.229Z] 988bab9f4d93: Verifying Checksum [2023-04-19T04:03:11.229Z] 988bab9f4d93: Download complete [2023-04-19T04:03:11.490Z] 1469e6f7b9e6: Verifying Checksum [2023-04-19T04:03:11.490Z] 1469e6f7b9e6: Download complete [2023-04-19T04:03:11.490Z] eaf3925da568: Verifying Checksum [2023-04-19T04:03:11.490Z] eaf3925da568: Download complete [2023-04-19T04:03:11.490Z] 339a4e72a1f5: Verifying Checksum [2023-04-19T04:03:11.490Z] 339a4e72a1f5: Download complete [2023-04-19T04:03:11.490Z] bde34c3a00c8: Download complete [2023-04-19T04:03:11.490Z] b352a97aabf1: Verifying Checksum [2023-04-19T04:03:11.490Z] b352a97aabf1: Download complete [2023-04-19T04:03:11.490Z] 4872d77fe225: Verifying Checksum [2023-04-19T04:03:11.490Z] 4872d77fe225: Download complete [2023-04-19T04:03:11.490Z] 5851b861e8e6: Verifying Checksum [2023-04-19T04:03:11.490Z] 5851b861e8e6: Download complete [2023-04-19T04:03:11.490Z] b85a868b505f: Download complete [2023-04-19T04:03:11.749Z] bab4dde63d76: Verifying Checksum [2023-04-19T04:03:11.749Z] bab4dde63d76: Download complete [2023-04-19T04:03:13.700Z] b85a868b505f: Pull complete [2023-04-19T04:03:13.960Z] e2be974225ed: Pull complete [2023-04-19T04:03:14.940Z] 339a4e72a1f5: Pull complete [2023-04-19T04:03:15.224Z] 988bab9f4d93: Pull complete [2023-04-19T04:03:15.793Z] 1469e6f7b9e6: Pull complete [2023-04-19T04:03:15.793Z] eaf3925da568: Pull complete [2023-04-19T04:03:17.718Z] bab4dde63d76: Pull complete [2023-04-19T04:03:18.290Z] bde34c3a00c8: Pull complete [2023-04-19T04:03:18.549Z] b352a97aabf1: Pull complete [2023-04-19T04:03:18.810Z] 4872d77fe225: Pull complete [2023-04-19T04:03:19.072Z] 5851b861e8e6: Pull complete [2023-04-19T04:03:19.332Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-19T04:03:19.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T04:03:19.332Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T04:03:19.596Z] prd-ubuntu20.04-docker-8c-8g-9061 does not seem to be running inside a container [2023-04-19T04:03:19.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-313 -v /w/workspace/undry_device-onvif-camera_PR-313:/w/workspace/undry_device-onvif-camera_PR-313:rw,z -v /w/workspace/undry_device-onvif-camera_PR-313@tmp:/w/workspace/undry_device-onvif-camera_PR-313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-19T04:03:25.419Z] $ docker top 3ffec3644ea47ed997728234aedd6486e4916e970d62cd78fd00003094bcdb46 -eo pid,comm [2023-04-19T04:03:25.478Z] 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). [2023-04-19T04:03:25.478Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-19T04:03:25.607Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T04:03:25.607Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T04:03:25.745Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T04:03:25.749Z] $ docker exec 3ffec3644ea47ed997728234aedd6486e4916e970d62cd78fd00003094bcdb46 ssh-agent [2023-04-19T04:03:25.872Z] SSH_AUTH_SOCK=/tmp/ssh-1ky46bQ8Jxaj/agent.32 [2023-04-19T04:03:25.872Z] SSH_AGENT_PID=38 [2023-04-19T04:03:25.878Z] Running ssh-add (command line suppressed) [2023-04-19T04:03:25.982Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-313@tmp/private_key_9186311650781215805.key (/w/workspace/undry_device-onvif-camera_PR-313@tmp/private_key_9186311650781215805.key) [2023-04-19T04:03:25.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T04:03:26.337Z] + git tag --points-at HEAD [Pipeline] } [2023-04-19T04:03:26.365Z] $ docker exec --env ******** --env ******** 3ffec3644ea47ed997728234aedd6486e4916e970d62cd78fd00003094bcdb46 ssh-agent -k [2023-04-19T04:03:26.465Z] unset SSH_AUTH_SOCK; [2023-04-19T04:03:26.465Z] unset SSH_AGENT_PID; [2023-04-19T04:03:26.465Z] echo Agent pid 38 killed; [2023-04-19T04:03:26.474Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-19T04:03:26.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T04:03:26.564Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T04:03:26.688Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T04:03:26.692Z] $ docker exec 3ffec3644ea47ed997728234aedd6486e4916e970d62cd78fd00003094bcdb46 ssh-agent [2023-04-19T04:03:26.858Z] SSH_AUTH_SOCK=/tmp/ssh-tUE7Cft56n7X/agent.70 [2023-04-19T04:03:26.858Z] SSH_AGENT_PID=76 [2023-04-19T04:03:26.863Z] Running ssh-add (command line suppressed) [2023-04-19T04:03:26.960Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-313@tmp/private_key_923304550282061663.key (/w/workspace/undry_device-onvif-camera_PR-313@tmp/private_key_923304550282061663.key) [2023-04-19T04:03:27.049Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T04:03:27.389Z] + git semver init [2023-04-19T04:03:27.651Z] 2023-04-19 04:03:27,637 [run_init] DEBUG init version:0.0.0 force:False [2023-04-19T04:03:27.651Z] 2023-04-19 04:03:27,638 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-313/.semver [2023-04-19T04:03:27.651Z] 2023-04-19 04:03:27,639 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-313/.semver [2023-04-19T04:03:27.651Z] 2023-04-19 04:03:27,639 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-313/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-313, universal_newlines=False, shell=None, istream=None) [2023-04-19T04:03:29.038Z] 2023-04-19 04:03:28,737 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-313/.git/info/exclude [2023-04-19T04:03:29.038Z] 2023-04-19 04:03:28,738 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-313/.semver/PR-313 with force:False [2023-04-19T04:03:29.038Z] 2023-04-19 04:03:28,738 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-313/.semver/PR-313 [2023-04-19T04:03:29.038Z] 2023-04-19 04:03:28,742 [execute] INFO git cat-file --batch-check [2023-04-19T04:03:29.038Z] 2023-04-19 04:03:28,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-313/.semver, universal_newlines=False, shell=None, istream=) [2023-04-19T04:03:29.038Z] 2023-04-19 04:03:28,749 [execute] INFO git cat-file --batch [2023-04-19T04:03:29.038Z] 2023-04-19 04:03:28,750 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-313/.semver, universal_newlines=False, shell=None, istream=) [2023-04-19T04:03:29.038Z] 2023-04-19 04:03:28,755 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-313/.semver/PR-313 [2023-04-19T04:03:29.038Z] 0.0.0 [Pipeline] } [2023-04-19T04:03:29.066Z] $ docker exec --env ******** --env ******** 3ffec3644ea47ed997728234aedd6486e4916e970d62cd78fd00003094bcdb46 ssh-agent -k [2023-04-19T04:03:29.168Z] unset SSH_AUTH_SOCK; [2023-04-19T04:03:29.168Z] unset SSH_AGENT_PID; [2023-04-19T04:03:29.168Z] echo Agent pid 76 killed; [2023-04-19T04:03:29.177Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-19T04:03:29.621Z] + git semver [Pipeline] } [2023-04-19T04:03:30.227Z] $ docker stop --time=1 3ffec3644ea47ed997728234aedd6486e4916e970d62cd78fd00003094bcdb46 [2023-04-19T04:03:31.552Z] $ docker rm -f --volumes 3ffec3644ea47ed997728234aedd6486e4916e970d62cd78fd00003094bcdb46 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T04:03:31.959Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-19T04:03:32.449Z] Stashed 1 file(s) [Pipeline] echo [2023-04-19T04:03:32.469Z] [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 [2023-04-19T04:03:33.085Z] provisioning config files... [2023-04-19T04:03:33.096Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-313@tmp/config2183285882553253337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T04:03:33.449Z] ---> docker-login.sh [2023-04-19T04:03:33.450Z] nexus3.edgexfoundry.org:10001 [2023-04-19T04:03:33.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:03:33.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:03:33.450Z] Configure a credential helper to remove this warning. See [2023-04-19T04:03:33.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:03:33.450Z] [2023-04-19T04:03:33.450Z] Login Succeeded [2023-04-19T04:03:33.450Z] nexus3.edgexfoundry.org:10002 [2023-04-19T04:03:33.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:03:33.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:03:33.450Z] Configure a credential helper to remove this warning. See [2023-04-19T04:03:33.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:03:33.450Z] [2023-04-19T04:03:33.450Z] Login Succeeded [2023-04-19T04:03:33.450Z] nexus3.edgexfoundry.org:10003 [2023-04-19T04:03:33.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:03:33.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:03:33.715Z] Configure a credential helper to remove this warning. See [2023-04-19T04:03:33.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:03:33.715Z] [2023-04-19T04:03:33.715Z] Login Succeeded [2023-04-19T04:03:33.715Z] nexus3.edgexfoundry.org:10004 [2023-04-19T04:03:33.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:03:33.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:03:33.715Z] Configure a credential helper to remove this warning. See [2023-04-19T04:03:33.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:03:33.715Z] [2023-04-19T04:03:33.715Z] Login Succeeded [2023-04-19T04:03:33.715Z] docker.io [2023-04-19T04:03:33.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:03:33.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:03:33.976Z] Configure a credential helper to remove this warning. See [2023-04-19T04:03:33.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:03:33.976Z] [2023-04-19T04:03:33.976Z] Login Succeeded [2023-04-19T04:03:33.976Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T04:03:34.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-19T04:03:34.206Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T04:03:34.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T04:03:34.283Z] ========================================================= [2023-04-19T04:03:34.283Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-19T04:03:34.283Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T04:03:34.759Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-19T04:03:34.759Z] Sending build context to Docker daemon 26.93MB [2023-04-19T04:03:34.759Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T04:03:34.759Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-19T04:03:35.020Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-19T04:03:35.020Z] 63b65145d645: Pulling fs layer [2023-04-19T04:03:35.020Z] a2d21d5440eb: Pulling fs layer [2023-04-19T04:03:35.020Z] 935e6c44a52c: Pulling fs layer [2023-04-19T04:03:35.020Z] 94cc34f8dd06: Pulling fs layer [2023-04-19T04:03:35.020Z] 30dea6a524f1: Pulling fs layer [2023-04-19T04:03:35.020Z] a2aff8979fd8: Pulling fs layer [2023-04-19T04:03:35.020Z] 94cc34f8dd06: Waiting [2023-04-19T04:03:35.020Z] 30dea6a524f1: Waiting [2023-04-19T04:03:35.020Z] 6808be2612f2: Pulling fs layer [2023-04-19T04:03:35.020Z] f25807f1079a: Pulling fs layer [2023-04-19T04:03:35.020Z] a2aff8979fd8: Waiting [2023-04-19T04:03:35.020Z] 6808be2612f2: Waiting [2023-04-19T04:03:35.020Z] a2d21d5440eb: Verifying Checksum [2023-04-19T04:03:35.020Z] a2d21d5440eb: Download complete [2023-04-19T04:03:35.020Z] 94cc34f8dd06: Verifying Checksum [2023-04-19T04:03:35.020Z] 94cc34f8dd06: Download complete [2023-04-19T04:03:35.020Z] 30dea6a524f1: Verifying Checksum [2023-04-19T04:03:35.020Z] 30dea6a524f1: Download complete [2023-04-19T04:03:35.281Z] 63b65145d645: Verifying Checksum [2023-04-19T04:03:35.281Z] 63b65145d645: Download complete [2023-04-19T04:03:35.281Z] a2aff8979fd8: Verifying Checksum [2023-04-19T04:03:35.281Z] a2aff8979fd8: Download complete [2023-04-19T04:03:35.544Z] 63b65145d645: Pull complete [2023-04-19T04:03:35.544Z] f25807f1079a: Verifying Checksum [2023-04-19T04:03:35.544Z] f25807f1079a: Download complete [2023-04-19T04:03:35.819Z] a2d21d5440eb: Pull complete [2023-04-19T04:03:36.080Z] 935e6c44a52c: Verifying Checksum [2023-04-19T04:03:36.080Z] 935e6c44a52c: Download complete [2023-04-19T04:03:36.080Z] 6808be2612f2: Verifying Checksum [2023-04-19T04:03:40.281Z] 935e6c44a52c: Pull complete [2023-04-19T04:03:40.860Z] 94cc34f8dd06: Pull complete [2023-04-19T04:03:41.121Z] 30dea6a524f1: Pull complete [2023-04-19T04:03:42.061Z] a2aff8979fd8: Pull complete [2023-04-19T04:03:45.369Z] 6808be2612f2: Pull complete [2023-04-19T04:03:47.279Z] f25807f1079a: Pull complete [2023-04-19T04:03:47.279Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-19T04:03:47.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-19T04:03:47.279Z] ---> 3b553350e43f [2023-04-19T04:03:47.279Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-19T04:03:47.880Z] Still waiting to schedule task [2023-04-19T04:03:47.880Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9062’ is offline [2023-04-19T04:04:05.486Z] ---> Running in 7d4c779ce8b3 [2023-04-19T04:04:05.486Z] Removing intermediate container 7d4c779ce8b3 [2023-04-19T04:04:05.486Z] ---> 519d6d5a352c [2023-04-19T04:04:05.486Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T04:04:05.486Z] ---> Running in f02023129461 [2023-04-19T04:04:05.486Z] Removing intermediate container f02023129461 [2023-04-19T04:04:05.486Z] ---> 491f594cf416 [2023-04-19T04:04:05.486Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-19T04:04:05.486Z] ---> Running in 2156e544065b [2023-04-19T04:04:05.486Z] Removing intermediate container 2156e544065b [2023-04-19T04:04:05.486Z] ---> 77cce7c7740b [2023-04-19T04:04:05.486Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T04:04:05.486Z] ---> Running in 391ccba5c984 [2023-04-19T04:04:05.486Z] Removing intermediate container 391ccba5c984 [2023-04-19T04:04:05.486Z] ---> 6c996161b409 [2023-04-19T04:04:05.486Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-19T04:04:05.486Z] ---> Running in 7a4562b30367 [2023-04-19T04:04:05.486Z] Removing intermediate container 7a4562b30367 [2023-04-19T04:04:05.486Z] ---> 36c5c68cc81d [2023-04-19T04:04:05.486Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T04:04:05.486Z] ---> Running in 79019af98d3a [2023-04-19T04:04:05.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T04:04:05.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T04:04:05.486Z] OK: 265 MiB in 53 packages [2023-04-19T04:04:05.486Z] Removing intermediate container 79019af98d3a [2023-04-19T04:04:05.486Z] ---> 9fbb883c210f [2023-04-19T04:04:05.486Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-19T04:04:05.486Z] ---> Running in b78e251dba17 [2023-04-19T04:04:05.486Z] Removing intermediate container b78e251dba17 [2023-04-19T04:04:05.486Z] ---> 73aa53379f98 [2023-04-19T04:04:05.486Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-19T04:04:05.486Z] ---> ba92b087c59c [2023-04-19T04:04:05.486Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T04:04:05.486Z] ---> Running in c459ba529dbc [2023-04-19T04:05:01.896Z] Removing intermediate container c459ba529dbc [2023-04-19T04:05:01.896Z] ---> cd1a5e033bd1 [2023-04-19T04:05:01.896Z] Step 12/13 : COPY . . [2023-04-19T04:05:01.896Z] ---> ac7f592f5d66 [2023-04-19T04:05:01.896Z] Step 13/13 : RUN ${MAKE} [2023-04-19T04:05:01.896Z] ---> Running in b202de82b30c [2023-04-19T04:05:01.896Z] noop [2023-04-19T04:05:01.896Z] Removing intermediate container b202de82b30c [2023-04-19T04:05:01.896Z] ---> e31aa68831f1 [2023-04-19T04:05:01.896Z] Successfully built e31aa68831f1 [2023-04-19T04:05:01.896Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T04:05:02.417Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T04:05:02.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T04:05:02.589Z] prd-ubuntu20.04-docker-8c-8g-9061 does not seem to be running inside a container [2023-04-19T04:05:02.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-313 -v /w/workspace/undry_device-onvif-camera_PR-313:/w/workspace/undry_device-onvif-camera_PR-313:rw,z -v /w/workspace/undry_device-onvif-camera_PR-313@tmp:/w/workspace/undry_device-onvif-camera_PR-313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-19T04:05:03.023Z] $ docker top 3f86a3330a66f4fa29f305fdc31640078e5f0144d0a0b223f3ae36a0f85808ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T04:05:03.423Z] + go version [2023-04-19T04:05:03.424Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-19T04:05:03.457Z] $ docker stop --time=1 3f86a3330a66f4fa29f305fdc31640078e5f0144d0a0b223f3ae36a0f85808ae [2023-04-19T04:05:04.822Z] $ docker rm -f --volumes 3f86a3330a66f4fa29f305fdc31640078e5f0144d0a0b223f3ae36a0f85808ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T04:05:05.552Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T04:05:05.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T04:05:05.720Z] prd-ubuntu20.04-docker-8c-8g-9061 does not seem to be running inside a container [2023-04-19T04:05:05.762Z] $ 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-313 -v /w/workspace/undry_device-onvif-camera_PR-313:/w/workspace/undry_device-onvif-camera_PR-313:rw,z -v /w/workspace/undry_device-onvif-camera_PR-313@tmp:/w/workspace/undry_device-onvif-camera_PR-313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-19T04:05:06.203Z] $ docker top f3a7f8997c3628e3b161bf57f7e879886baf9df5f6bdca9aea6b99622a4d6de1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T04:05:06.670Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-313 [Pipeline] fileExists [Pipeline] sh [2023-04-19T04:05:07.054Z] + make test [2023-04-19T04:05:07.054Z] go test ./... -coverprofile=coverage.out ./... [2023-04-19T04:05:12.331Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-19T04:05:24.564Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-04-19T04:05:24.564Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.65/internal/controller/http/restrouter.go:63:62: cannot use secretProvider (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".SecretProvider) as "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".SecretProviderExt value in argument to handlers.AutoConfigAuthenticationFunc: "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".SecretProvider does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".SecretProviderExt (missing method GetAccessToken) [2023-04-19T04:05:24.564Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-19T04:05:25.949Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 31.6% of statements [2023-04-19T04:05:26.231Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.425s coverage: 86.5% of statements [2023-04-19T04:05:26.231Z] FAIL [2023-04-19T04:05:26.492Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-04-19T04:05:26.544Z] $ docker stop --time=1 f3a7f8997c3628e3b161bf57f7e879886baf9df5f6bdca9aea6b99622a4d6de1 [2023-04-19T04:05:32.525Z] $ docker rm -f --volumes f3a7f8997c3628e3b161bf57f7e879886baf9df5f6bdca9aea6b99622a4d6de1 [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 [2023-04-19T04:05:33.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T04:05:33.820Z] [2023-04-19T04:05:33.820Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T04:05:34.205Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T04:05:34.465Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-19T04:05:34.465Z] 5eb5b503b376: Pulling fs layer [2023-04-19T04:05:34.465Z] 5c69ac0246d0: Pulling fs layer [2023-04-19T04:05:34.465Z] ec43610c2a17: Pulling fs layer [2023-04-19T04:05:34.465Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-19T04:05:34.465Z] 33b1e0a273af: Pulling fs layer [2023-04-19T04:05:34.465Z] 5d3b04190fa2: Pulling fs layer [2023-04-19T04:05:34.465Z] 2f39f015ded8: Pulling fs layer [2023-04-19T04:05:34.465Z] 33b1e0a273af: Waiting [2023-04-19T04:05:34.465Z] 3a2ae6a8a46f: Waiting [2023-04-19T04:05:34.465Z] 5c69ac0246d0: Verifying Checksum [2023-04-19T04:05:34.465Z] 5c69ac0246d0: Download complete [2023-04-19T04:05:34.465Z] 3a2ae6a8a46f: Download complete [2023-04-19T04:05:34.465Z] 33b1e0a273af: Verifying Checksum [2023-04-19T04:05:34.465Z] 33b1e0a273af: Download complete [2023-04-19T04:05:34.465Z] ec43610c2a17: Download complete [2023-04-19T04:05:34.465Z] 5d3b04190fa2: Verifying Checksum [2023-04-19T04:05:34.465Z] 5d3b04190fa2: Download complete [2023-04-19T04:05:34.725Z] 5eb5b503b376: Verifying Checksum [2023-04-19T04:05:34.725Z] 5eb5b503b376: Download complete [2023-04-19T04:05:35.294Z] 2f39f015ded8: Download complete [2023-04-19T04:05:35.861Z] 5eb5b503b376: Pull complete [2023-04-19T04:05:36.120Z] 5c69ac0246d0: Pull complete [2023-04-19T04:05:36.687Z] ec43610c2a17: Pull complete [2023-04-19T04:05:36.687Z] 3a2ae6a8a46f: Pull complete [2023-04-19T04:05:36.952Z] 33b1e0a273af: Pull complete [2023-04-19T04:05:36.952Z] 5d3b04190fa2: Pull complete [2023-04-19T04:05:42.230Z] 2f39f015ded8: Pull complete [2023-04-19T04:05:42.230Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-19T04:05:42.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T04:05:42.230Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T04:05:42.725Z] prd-ubuntu20.04-docker-8c-8g-9061 does not seem to be running inside a container [2023-04-19T04:05:42.761Z] $ 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-313 -v /w/workspace/undry_device-onvif-camera_PR-313:/w/workspace/undry_device-onvif-camera_PR-313:rw,z -v /w/workspace/undry_device-onvif-camera_PR-313@tmp:/w/workspace/undry_device-onvif-camera_PR-313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-19T04:05:52.788Z] $ docker top 45869bc8ff28925b845f56b9cbbdb21e17ddc75fe466d073188d51c37e038844 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T04:05:53.246Z] ---> job-cost.sh [2023-04-19T04:05:53.246Z] lf-activate-venv: SKIPPING [2023-04-19T04:05:53.246Z] INFO: No Stack... [2023-04-19T04:05:53.506Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-19T04:05:53.767Z] INFO: Archiving Costs [Pipeline] sh [2023-04-19T04:05:54.084Z] + cat /w/workspace/undry_device-onvif-camera_PR-313/archives/cost.csv [2023-04-19T04:05:54.085Z] + cut -d, -f6 [Pipeline] lock [2023-04-19T04:05:54.166Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-313-1-stack-cost] [2023-04-19T04:05:54.174Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-313-1-stack-cost] did not exist. Created. [2023-04-19T04:05:54.174Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-313-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-19T04:05:54.588Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-19T04:05:54.651Z] Stashed 1 file(s) [Pipeline] } [2023-04-19T04:05:54.669Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-313-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-19T04:05:54.756Z] $ docker stop --time=1 45869bc8ff28925b845f56b9cbbdb21e17ddc75fe466d073188d51c37e038844 [2023-04-19T04:05:55.917Z] $ docker rm -f --volumes 45869bc8ff28925b845f56b9cbbdb21e17ddc75fe466d073188d51c37e038844 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-19T04:05:56.255Z] Failed in branch amd64 [2023-04-19T04:06:14.520Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9064 in /w/workspace/undry_device-onvif-camera_PR-313 [Pipeline] { [Pipeline] ws [2023-04-19T04:06:14.587Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-04-19T04:06:14.743Z] The recommended git tool is: git [2023-04-19T04:06:20.317Z] using credential edgex-jenkins-ssh [2023-04-19T04:06:20.333Z] Cloning the remote Git repository [2023-04-19T04:06:20.376Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-19T04:06:20.482Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-04-19T04:06:20.626Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-19T04:06:20.627Z] > git --version # timeout=10 [2023-04-19T04:06:20.652Z] > git --version # 'git version 2.25.1' [2023-04-19T04:06:20.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T04:06:20.829Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-19T04:06:22.202Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-19T04:06:22.233Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-19T04:06:23.131Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-19T04:06:23.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-19T04:06:23.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T04:06:23.200Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/313/head:refs/remotes/origin/PR-313 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-19T04:06:23.745Z] Merging remotes/origin/main commit b3088f74b80dce78a876441a0c72d3538a65c555 into PR head commit 087170bcb18c71163db7e305ecab03378c082f33 [2023-04-19T04:06:24.236Z] Merge succeeded, producing 087170bcb18c71163db7e305ecab03378c082f33 [2023-04-19T04:06:24.237Z] Checking out Revision 087170bcb18c71163db7e305ecab03378c082f33 (PR-313) [2023-04-19T04:06:24.829Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-04-19T04:06:24.877Z] > git --version # timeout=10 [2023-04-19T04:06:24.887Z] > git --version # 'git version 2.25.1' [2023-04-19T04:06:24.903Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T04:06:23.757Z] > git config core.sparsecheckout # timeout=10 [2023-04-19T04:06:23.836Z] > git checkout -f 087170bcb18c71163db7e305ecab03378c082f33 # timeout=10 [2023-04-19T04:06:24.121Z] > git remote # timeout=10 [2023-04-19T04:06:24.142Z] > git config --get remote.origin.url # timeout=10 [2023-04-19T04:06:24.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T04:06:24.183Z] > git merge b3088f74b80dce78a876441a0c72d3538a65c555 # timeout=10 [2023-04-19T04:06:24.213Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-19T04:06:24.238Z] > git config core.sparsecheckout # timeout=10 [2023-04-19T04:06:24.254Z] > git checkout -f 087170bcb18c71163db7e305ecab03378c082f33 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T04:06:26.054Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-19T04:06:26.054Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T04:06:26.054Z] Dload Upload Total Spent Left Speed [2023-04-19T04:06:26.054Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh [2023-04-19T04:06:26.711Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-19T04:06:27.060Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-19T04:06:27.060Z] + sudo tee /etc/docker/daemon.new [2023-04-19T04:06:27.060Z] { [2023-04-19T04:06:27.060Z] "registry-mirrors": [ [2023-04-19T04:06:27.060Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-19T04:06:27.060Z] ], [2023-04-19T04:06:27.060Z] "bip": "10.250.0.254/24", [2023-04-19T04:06:27.060Z] "hosts": [ [2023-04-19T04:06:27.060Z] "tcp://0.0.0.0:5555", [2023-04-19T04:06:27.060Z] "unix:///var/run/docker.sock" [2023-04-19T04:06:27.060Z] ], [2023-04-19T04:06:27.060Z] "mtu": 1458, [2023-04-19T04:06:27.060Z] "selinux-enabled": true, [2023-04-19T04:06:27.060Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-19T04:06:27.060Z] } [Pipeline] sh [2023-04-19T04:06:27.408Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-19T04:06:27.836Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T04:06:46.175Z] provisioning config files... [2023-04-19T04:06:46.205Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3358705159929039675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T04:06:46.670Z] ---> docker-login.sh [2023-04-19T04:06:46.670Z] nexus3.edgexfoundry.org:10001 [2023-04-19T04:06:46.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:06:47.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:06:47.211Z] Configure a credential helper to remove this warning. See [2023-04-19T04:06:47.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:06:47.211Z] [2023-04-19T04:06:47.211Z] Login Succeeded [2023-04-19T04:06:47.211Z] nexus3.edgexfoundry.org:10002 [2023-04-19T04:06:47.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:06:47.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:06:47.748Z] Configure a credential helper to remove this warning. See [2023-04-19T04:06:47.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:06:47.748Z] [2023-04-19T04:06:47.748Z] Login Succeeded [2023-04-19T04:06:47.748Z] nexus3.edgexfoundry.org:10003 [2023-04-19T04:06:47.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:06:48.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:06:48.026Z] Configure a credential helper to remove this warning. See [2023-04-19T04:06:48.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:06:48.026Z] [2023-04-19T04:06:48.026Z] Login Succeeded [2023-04-19T04:06:48.026Z] nexus3.edgexfoundry.org:10004 [2023-04-19T04:06:48.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:06:48.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:06:48.296Z] Configure a credential helper to remove this warning. See [2023-04-19T04:06:48.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:06:48.296Z] [2023-04-19T04:06:48.296Z] Login Succeeded [2023-04-19T04:06:48.296Z] docker.io [2023-04-19T04:06:48.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T04:06:48.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T04:06:48.830Z] Configure a credential helper to remove this warning. See [2023-04-19T04:06:48.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T04:06:48.830Z] [2023-04-19T04:06:48.830Z] Login Succeeded [2023-04-19T04:06:48.830Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T04:06:48.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-19T04:06:49.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T04:06:49.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T04:06:49.315Z] ========================================================= [2023-04-19T04:06:49.315Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-19T04:06:49.315Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T04:06:49.831Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-19T04:06:50.420Z] Sending build context to Docker daemon 19.65MB [2023-04-19T04:06:50.420Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T04:06:50.420Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-19T04:06:50.420Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-19T04:06:50.420Z] af6eaf76a39c: Pulling fs layer [2023-04-19T04:06:50.420Z] 55522c791124: Pulling fs layer [2023-04-19T04:06:50.420Z] ce5c4a1c91eb: Pulling fs layer [2023-04-19T04:06:50.420Z] 169dfbe0d373: Pulling fs layer [2023-04-19T04:06:50.420Z] e1ff8fa3b103: Pulling fs layer [2023-04-19T04:06:50.420Z] 52ebb69f0ebf: Pulling fs layer [2023-04-19T04:06:50.420Z] 5abe8eddf0d5: Pulling fs layer [2023-04-19T04:06:50.420Z] 169dfbe0d373: Waiting [2023-04-19T04:06:50.420Z] e1ff8fa3b103: Waiting [2023-04-19T04:06:50.420Z] 52ebb69f0ebf: Waiting [2023-04-19T04:06:50.420Z] 5abe8eddf0d5: Waiting [2023-04-19T04:06:50.699Z] 55522c791124: Download complete [2023-04-19T04:06:50.699Z] 169dfbe0d373: Verifying Checksum [2023-04-19T04:06:50.699Z] 169dfbe0d373: Download complete [2023-04-19T04:06:50.699Z] e1ff8fa3b103: Download complete [2023-04-19T04:06:50.699Z] af6eaf76a39c: Verifying Checksum [2023-04-19T04:06:50.699Z] af6eaf76a39c: Download complete [2023-04-19T04:06:51.678Z] af6eaf76a39c: Pull complete [2023-04-19T04:06:51.965Z] 5abe8eddf0d5: Verifying Checksum [2023-04-19T04:06:51.965Z] 5abe8eddf0d5: Download complete [2023-04-19T04:06:52.234Z] 55522c791124: Pull complete [2023-04-19T04:06:53.208Z] 52ebb69f0ebf: Download complete [2023-04-19T04:06:53.208Z] ce5c4a1c91eb: Verifying Checksum [2023-04-19T04:06:53.208Z] ce5c4a1c91eb: Download complete [2023-04-19T04:07:05.682Z] ce5c4a1c91eb: Pull complete [2023-04-19T04:07:05.682Z] 169dfbe0d373: Pull complete [2023-04-19T04:07:05.682Z] e1ff8fa3b103: Pull complete [2023-04-19T04:07:11.043Z] 52ebb69f0ebf: Pull complete [2023-04-19T04:07:13.019Z] 5abe8eddf0d5: Pull complete [2023-04-19T04:07:13.019Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-19T04:07:13.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-19T04:07:13.019Z] ---> 6cb57ee374ae [2023-04-19T04:07:13.019Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-19T04:07:14.976Z] ---> Running in accb593d90df [2023-04-19T04:07:14.976Z] Removing intermediate container accb593d90df [2023-04-19T04:07:14.976Z] ---> 991b8feb0f82 [2023-04-19T04:07:14.976Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T04:07:15.243Z] ---> Running in 4f6aa66701fb [2023-04-19T04:07:15.513Z] Removing intermediate container 4f6aa66701fb [2023-04-19T04:07:15.513Z] ---> d0c72c7df31b [2023-04-19T04:07:15.513Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-19T04:07:15.513Z] ---> Running in 305bb55c3998 [2023-04-19T04:07:15.781Z] Removing intermediate container 305bb55c3998 [2023-04-19T04:07:15.781Z] ---> 61ad8012375c [2023-04-19T04:07:15.781Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T04:07:16.052Z] ---> Running in 3685de743b08 [2023-04-19T04:07:16.321Z] Removing intermediate container 3685de743b08 [2023-04-19T04:07:16.321Z] ---> cf8453877938 [2023-04-19T04:07:16.321Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-19T04:07:16.321Z] ---> Running in 75baa030f939 [2023-04-19T04:07:16.593Z] Removing intermediate container 75baa030f939 [2023-04-19T04:07:16.593Z] ---> 2611b109be56 [2023-04-19T04:07:16.593Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T04:07:16.593Z] ---> Running in 8540490d67dd [2023-04-19T04:07:18.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T04:07:18.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T04:07:19.703Z] OK: 263 MiB in 53 packages [2023-04-19T04:07:20.294Z] Removing intermediate container 8540490d67dd [2023-04-19T04:07:20.294Z] ---> e2e3d5de870a [2023-04-19T04:07:20.294Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-19T04:07:20.294Z] ---> Running in aa826913a295 [2023-04-19T04:07:20.569Z] Removing intermediate container aa826913a295 [2023-04-19T04:07:20.569Z] ---> f683d992cc10 [2023-04-19T04:07:20.569Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-19T04:07:21.158Z] ---> 1e2c534c2bca [2023-04-19T04:07:21.158Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T04:07:21.158Z] ---> Running in fd6896852ebf [2023-04-19T04:08:42.835Z] Removing intermediate container fd6896852ebf [2023-04-19T04:08:42.835Z] ---> 17805e5cb3ef [2023-04-19T04:08:42.835Z] Step 12/13 : COPY . . [2023-04-19T04:08:42.835Z] ---> 6b4277ea7e74 [2023-04-19T04:08:42.835Z] Step 13/13 : RUN ${MAKE} [2023-04-19T04:08:42.835Z] ---> Running in f9352c2c95cc [2023-04-19T04:08:42.835Z] noop [2023-04-19T04:08:42.835Z] Removing intermediate container f9352c2c95cc [2023-04-19T04:08:42.835Z] ---> 7448b46fbeac [2023-04-19T04:08:42.835Z] Successfully built 7448b46fbeac [2023-04-19T04:08:42.835Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T04:08:43.310Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T04:08:43.310Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T04:08:43.640Z] prd-ubuntu20.04-docker-arm64-4c-16g-9064 does not seem to be running inside a container [2023-04-19T04:08:43.710Z] $ 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 [2023-04-19T04:08:44.942Z] $ docker top 5fb866f9bb9a14cfc75baa5377bfed160358cf9a79c1e0ee23ad66f89a41cd6b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T04:08:45.855Z] + go version [2023-04-19T04:08:45.855Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-19T04:08:45.883Z] $ docker stop --time=1 5fb866f9bb9a14cfc75baa5377bfed160358cf9a79c1e0ee23ad66f89a41cd6b [2023-04-19T04:08:47.545Z] $ docker rm -f --volumes 5fb866f9bb9a14cfc75baa5377bfed160358cf9a79c1e0ee23ad66f89a41cd6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T04:08:48.425Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T04:08:48.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T04:08:48.692Z] prd-ubuntu20.04-docker-arm64-4c-16g-9064 does not seem to be running inside a container [2023-04-19T04:08:48.756Z] $ 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 [2023-04-19T04:08:49.879Z] $ docker top ae9f28dac147b5cc9cddc0b9e417b711a0d8d163c3e9b1f4178fa0fd77d1c565 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T04:08:50.436Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-04-19T04:08:51.216Z] + make test [2023-04-19T04:08:51.486Z] go test ./... -coverprofile=coverage.out ./... [2023-04-19T04:09:23.737Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-19T04:11:30.441Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-04-19T04:11:30.441Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.65/internal/controller/http/restrouter.go:63:62: cannot use secretProvider (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".SecretProvider) as "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".SecretProviderExt value in argument to handlers.AutoConfigAuthenticationFunc: "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".SecretProvider does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".SecretProviderExt (missing method GetAccessToken) [2023-04-19T04:11:35.804Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-19T04:11:37.751Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.163s coverage: 31.6% of statements [2023-04-19T04:11:52.724Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 15.326s coverage: 86.5% of statements [2023-04-19T04:11:52.724Z] FAIL [2023-04-19T04:11:52.724Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-04-19T04:11:52.772Z] $ docker stop --time=1 ae9f28dac147b5cc9cddc0b9e417b711a0d8d163c3e9b1f4178fa0fd77d1c565 [2023-04-19T04:11:54.534Z] $ docker rm -f --volumes ae9f28dac147b5cc9cddc0b9e417b711a0d8d163c3e9b1f4178fa0fd77d1c565 [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 [2023-04-19T04:11:56.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T04:11:56.228Z] [2023-04-19T04:11:56.228Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T04:11:56.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T04:11:56.636Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-19T04:11:56.636Z] 8998bd30e6a1: Pulling fs layer [2023-04-19T04:11:56.636Z] 04944245beec: Pulling fs layer [2023-04-19T04:11:56.636Z] 699f458cf7ca: Pulling fs layer [2023-04-19T04:11:56.636Z] 765212b225bb: Pulling fs layer [2023-04-19T04:11:56.636Z] f23df028b6ca: Pulling fs layer [2023-04-19T04:11:56.636Z] d65c8cfc05b1: Pulling fs layer [2023-04-19T04:11:56.636Z] 2437ff75d9bd: Pulling fs layer [2023-04-19T04:11:56.636Z] 765212b225bb: Waiting [2023-04-19T04:11:56.636Z] f23df028b6ca: Waiting [2023-04-19T04:11:56.636Z] d65c8cfc05b1: Waiting [2023-04-19T04:11:56.636Z] 2437ff75d9bd: Waiting [2023-04-19T04:11:56.902Z] 04944245beec: Verifying Checksum [2023-04-19T04:11:56.902Z] 04944245beec: Download complete [2023-04-19T04:11:56.902Z] 765212b225bb: Verifying Checksum [2023-04-19T04:11:56.902Z] 765212b225bb: Download complete [2023-04-19T04:11:56.902Z] f23df028b6ca: Verifying Checksum [2023-04-19T04:11:56.902Z] f23df028b6ca: Download complete [2023-04-19T04:11:56.902Z] d65c8cfc05b1: Verifying Checksum [2023-04-19T04:11:56.902Z] d65c8cfc05b1: Download complete [2023-04-19T04:11:56.902Z] 699f458cf7ca: Verifying Checksum [2023-04-19T04:11:56.902Z] 699f458cf7ca: Download complete [2023-04-19T04:11:57.488Z] 8998bd30e6a1: Download complete [2023-04-19T04:11:59.434Z] 2437ff75d9bd: Verifying Checksum [2023-04-19T04:12:01.400Z] 8998bd30e6a1: Pull complete [2023-04-19T04:12:01.986Z] 04944245beec: Pull complete [2023-04-19T04:12:03.402Z] 699f458cf7ca: Pull complete [2023-04-19T04:12:03.402Z] 765212b225bb: Pull complete [2023-04-19T04:12:03.997Z] f23df028b6ca: Pull complete [2023-04-19T04:12:05.946Z] d65c8cfc05b1: Pull complete [2023-04-19T04:12:21.004Z] 2437ff75d9bd: Pull complete [2023-04-19T04:12:21.004Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-19T04:12:21.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T04:12:21.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T04:12:21.348Z] prd-ubuntu20.04-docker-arm64-4c-16g-9064 does not seem to be running inside a container [2023-04-19T04:12:21.414Z] $ 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 [2023-04-19T04:12:24.034Z] $ docker top 3ab7ae46a4d76840545f4918229af083039743e283770247155c47a7522a3c08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T04:12:24.944Z] ---> job-cost.sh [2023-04-19T04:12:24.944Z] lf-activate-venv: SKIPPING [2023-04-19T04:12:24.944Z] INFO: No Stack... [2023-04-19T04:12:25.212Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-19T04:12:26.176Z] INFO: Archiving Costs [Pipeline] sh [2023-04-19T04:12:26.843Z] + + cut -d, -f6 [2023-04-19T04:12:26.843Z] cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-04-19T04:12:27.023Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-313-1-stack-cost] [2023-04-19T04:12:27.032Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-313-1-stack-cost] did not exist. Created. [2023-04-19T04:12:27.033Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-313-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-19T04:12:27.959Z] /w/workspace/device-onvif-camera/1@tmp/durable-360e2a20/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-19T04:12:28.640Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-19T04:12:28.677Z] Warning: overwriting stash ‘stack-cost’ [2023-04-19T04:12:29.300Z] Stashed 1 file(s) [Pipeline] } [2023-04-19T04:12:29.320Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-313-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-19T04:12:29.398Z] $ docker stop --time=1 3ab7ae46a4d76840545f4918229af083039743e283770247155c47a7522a3c08 [2023-04-19T04:12:30.950Z] $ docker rm -f --volumes 3ab7ae46a4d76840545f4918229af083039743e283770247155c47a7522a3c08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-19T04:12:32.852Z] 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 [2023-04-19T04:12:35.512Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-313/archives ] [2023-04-19T04:12:35.512Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-313/archives [2023-04-19T04:12:35.512Z] total 16 [2023-04-19T04:12:35.512Z] drwxr-xr-x 3 root root 4096 Apr 19 04:05 . [2023-04-19T04:12:35.512Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 04:05 .. [2023-04-19T04:12:35.512Z] drwxr-xr-x 2 root root 4096 Apr 19 04:05 cost [2023-04-19T04:12:35.512Z] -rw-r--r-- 1 root root 91 Apr 19 04:05 cost.csv [2023-04-19T04:12:35.512Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-313/archives [2023-04-19T04:12:35.512Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-313/archives [2023-04-19T04:12:35.512Z] total 16 [2023-04-19T04:12:35.512Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 04:05 . [2023-04-19T04:12:35.512Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 04:05 .. [2023-04-19T04:12:35.512Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 04:05 cost [2023-04-19T04:12:35.512Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 19 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-19T04:12:35.842Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T04:12:36.736Z] ---> package-listing.sh [2023-04-19T04:12:36.736Z] ++ facter osfamily [2023-04-19T04:12:36.736Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-19T04:12:36.995Z] + OS_FAMILY=debian [2023-04-19T04:12:36.995Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-313 [2023-04-19T04:12:36.995Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-19T04:12:36.995Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-19T04:12:36.995Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-19T04:12:36.995Z] + PACKAGES=/tmp/packages_start.txt [2023-04-19T04:12:36.995Z] + '[' /w/workspace/undry_device-onvif-camera_PR-313 ']' [2023-04-19T04:12:36.995Z] + PACKAGES=/tmp/packages_end.txt [2023-04-19T04:12:36.995Z] + case "${OS_FAMILY}" in [2023-04-19T04:12:36.995Z] + dpkg -l [2023-04-19T04:12:36.995Z] + grep '^ii' [2023-04-19T04:12:36.995Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-19T04:12:36.995Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-19T04:12:36.995Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-19T04:12:36.995Z] + '[' /w/workspace/undry_device-onvif-camera_PR-313 ']' [2023-04-19T04:12:36.995Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-313/archives/ [2023-04-19T04:12:36.995Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-313/archives/ [Pipeline] echo [2023-04-19T04:12:37.035Z] 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-313/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-19T04:12:37.332Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T04:12:38.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T04:12:38.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T04:12:38.249Z] prd-ubuntu20.04-docker-8c-8g-9061 does not seem to be running inside a container [2023-04-19T04:12:38.283Z] $ 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-313/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-313 -v /w/workspace/undry_device-onvif-camera_PR-313:/w/workspace/undry_device-onvif-camera_PR-313:rw,z -v /w/workspace/undry_device-onvif-camera_PR-313@tmp:/w/workspace/undry_device-onvif-camera_PR-313@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 [2023-04-19T04:12:38.515Z] $ docker top 35c54abcc2c0f7455a397c0ff4109e91d3f1ebe111592a33e8fdeaf8503a29c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T04:12:38.917Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-19T04:12:39.223Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-19T04:12:39.545Z] + ls /var/log/sa-host [2023-04-19T04:12:39.545Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T04:12:40.290Z] provisioning config files... [2023-04-19T04:12:40.301Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-313@tmp/config11447677814029960140tmp [Pipeline] { [Pipeline] echo [2023-04-19T04:12:40.345Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T04:12:40.660Z] ---> create-netrc.sh [Pipeline] } [2023-04-19T04:12:40.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-19T04:12:41.098Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-19T04:12:41.129Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T04:12:41.445Z] ---> sudo-logs.sh [2023-04-19T04:12:41.445Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-19T04:12:41.538Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T04:12:41.852Z] ---> job-cost.sh [2023-04-19T04:12:41.852Z] lf-activate-venv: SKIPPING [2023-04-19T04:12:41.852Z] DEBUG: total: 0.2199999988079071 [2023-04-19T04:12:41.852Z] INFO: Retrieving Stack Cost... [2023-04-19T04:12:42.112Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-19T04:12:42.682Z] INFO: Archiving Costs [Pipeline] echo [2023-04-19T04:12:42.715Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T04:12:43.025Z] ---> logs-deploy.sh [2023-04-19T04:12:43.025Z] lf-activate-venv: SKIPPING [2023-04-19T04:12:43.025Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-313/1 [2023-04-19T04:12:43.025Z] INFO: archiving workspace using pattern(s): [2023-04-19T04:12:43.963Z] Archives upload complete. [2023-04-19T04:12:44.221Z] INFO: archiving logs to Nexus