Pull request #215 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8+916f6b3a329f57eb75e5307752edff55e76e784f (9b59a08dc48c012a247fde47b246f0b3060291a7) 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-ssh15636939413393967558.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4381120410373430430.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-215/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-215/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14803337829650620736.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-215/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15292295159922312046.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18021247703213382398.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-215/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-215/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9214478378276265354.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2531 in /w/workspace/undry_device-onvif-camera_PR-215 [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-215 # 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/215/head:refs/remotes/origin/PR-215 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 916f6b3a329f57eb75e5307752edff55e76e784f into PR head commit a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 Merge succeeded, producing a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 Checking out Revision a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 (PR-215) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 # 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 916f6b3a329f57eb75e5307752edff55e76e784f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 # timeout=10 [Pipeline] timeout [2023-01-16T03:11:18.884Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-16T03:11:19.076Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-16T03:11:19.182Z] ========================================================= [2023-01-16T03:11:19.182Z] EdgeX Global Pipelines Version Info [2023-01-16T03:11:19.182Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:11:19.917Z] ------------------- [2023-01-16T03:11:19.917Z] stable info: [2023-01-16T03:11:19.917Z] ------------------- [2023-01-16T03:11:19.917Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-16T03:11:19.917Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T03:11:19.917Z] Message: update stable to v1.0.244 [2023-01-16T03:11:20.488Z] ------------------- [2023-01-16T03:11:20.488Z] experimental info: [2023-01-16T03:11:20.488Z] ------------------- [2023-01-16T03:11:20.488Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-16T03:11:20.488Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T03:11:20.488Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-16T03:11:20.794Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-16T03:11:20.838Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-16T03:11:20.877Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-16T03:11:20.924Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-16T03:11:20.963Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-16T03:11:21.002Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-16T03:11:21.043Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-16T03:11:21.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-16T03:11:21.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-16T03:11:21.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-16T03:11:21.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-16T03:11:21.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-16T03:11:21.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-16T03:11:21.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-16T03:11:21.353Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T03:11:21.390Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T03:11:21.432Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T03:11:21.468Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T03:11:21.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-16T03:11:21.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-16T03:11:21.579Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-16T03:11:21.616Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-16T03:11:21.654Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-16T03:11:21.694Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-16T03:11:21.729Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-16T03:11:21.780Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-16T03:11:21.821Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-16T03:11:21.866Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-215 [Pipeline] echo [2023-01-16T03:11:21.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-215 [Pipeline] echo [2023-01-16T03:11:21.939Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-215 [Pipeline] echo [2023-01-16T03:11:21.974Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 [Pipeline] echo [2023-01-16T03:11:22.023Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a9ccca4 [Pipeline] echo [2023-01-16T03:11:22.063Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T03:11:22.176Z] provisioning config files... [2023-01-16T03:11:22.237Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-215@tmp/config17891153859635586120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:11:22.574Z] ---> docker-login.sh [2023-01-16T03:11:22.574Z] nexus3.edgexfoundry.org:10001 [2023-01-16T03:11:22.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:11:22.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:11:22.835Z] Configure a credential helper to remove this warning. See [2023-01-16T03:11:22.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:11:22.835Z] [2023-01-16T03:11:22.835Z] Login Succeeded [2023-01-16T03:11:22.835Z] nexus3.edgexfoundry.org:10002 [2023-01-16T03:11:23.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:11:23.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:11:23.096Z] Configure a credential helper to remove this warning. See [2023-01-16T03:11:23.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:11:23.096Z] [2023-01-16T03:11:23.096Z] Login Succeeded [2023-01-16T03:11:23.096Z] nexus3.edgexfoundry.org:10003 [2023-01-16T03:11:23.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:11:23.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:11:23.096Z] Configure a credential helper to remove this warning. See [2023-01-16T03:11:23.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:11:23.096Z] [2023-01-16T03:11:23.096Z] Login Succeeded [2023-01-16T03:11:23.096Z] nexus3.edgexfoundry.org:10004 [2023-01-16T03:11:23.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:11:23.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:11:23.356Z] Configure a credential helper to remove this warning. See [2023-01-16T03:11:23.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:11:23.356Z] [2023-01-16T03:11:23.356Z] Login Succeeded [2023-01-16T03:11:23.356Z] docker.io [2023-01-16T03:11:23.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:11:23.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:11:23.614Z] Configure a credential helper to remove this warning. See [2023-01-16T03:11:23.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:11:23.614Z] [2023-01-16T03:11:23.614Z] Login Succeeded [2023-01-16T03:11:23.614Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T03:11:23.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-16T03:11:24.257Z] + git rev-list -1 --merges a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8~1..a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 [Pipeline] echo [2023-01-16T03:11:24.314Z] -----------> git rev-list -1 --merges a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8~1..a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 [false] [Pipeline] sh [2023-01-16T03:11:24.623Z] + git log --format=format:%s -1 a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 [Pipeline] echo [2023-01-16T03:11:24.658Z] ========================================================= [2023-01-16T03:11:24.659Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-16T03:11:24.659Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T03:11:25.082Z] + git log --format=format:%s -1 a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 [Pipeline] echo [2023-01-16T03:11:25.114Z] [semverPrep] GIT_COMMIT: a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-01-16T03:11:25.143Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-16T03:11:25.536Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-16T03:11:25.536Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-16T03:11:25.536Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-16T03:11:25.536Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-16T03:11:25.536Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-16T03:11:25.536Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-16T03:11:25.536Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:11:26.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T03:11:26.039Z] [2023-01-16T03:11:26.039Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:11:26.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T03:11:26.435Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-16T03:11:26.435Z] b85a868b505f: Pulling fs layer [2023-01-16T03:11:26.435Z] e2be974225ed: Pulling fs layer [2023-01-16T03:11:26.435Z] 339a4e72a1f5: Pulling fs layer [2023-01-16T03:11:26.435Z] 988bab9f4d93: Pulling fs layer [2023-01-16T03:11:26.435Z] 1469e6f7b9e6: Pulling fs layer [2023-01-16T03:11:26.435Z] eaf3925da568: Pulling fs layer [2023-01-16T03:11:26.435Z] bab4dde63d76: Pulling fs layer [2023-01-16T03:11:26.435Z] bde34c3a00c8: Pulling fs layer [2023-01-16T03:11:26.435Z] b352a97aabf1: Pulling fs layer [2023-01-16T03:11:26.435Z] 4872d77fe225: Pulling fs layer [2023-01-16T03:11:26.435Z] 5851b861e8e6: Pulling fs layer [2023-01-16T03:11:26.435Z] 988bab9f4d93: Waiting [2023-01-16T03:11:26.435Z] 1469e6f7b9e6: Waiting [2023-01-16T03:11:26.435Z] eaf3925da568: Waiting [2023-01-16T03:11:26.435Z] bab4dde63d76: Waiting [2023-01-16T03:11:26.435Z] bde34c3a00c8: Waiting [2023-01-16T03:11:26.435Z] b352a97aabf1: Waiting [2023-01-16T03:11:26.435Z] 4872d77fe225: Waiting [2023-01-16T03:11:26.435Z] 5851b861e8e6: Waiting [2023-01-16T03:11:26.435Z] e2be974225ed: Verifying Checksum [2023-01-16T03:11:26.435Z] 988bab9f4d93: Verifying Checksum [2023-01-16T03:11:26.435Z] 988bab9f4d93: Download complete [2023-01-16T03:11:26.698Z] 1469e6f7b9e6: Verifying Checksum [2023-01-16T03:11:26.698Z] 1469e6f7b9e6: Download complete [2023-01-16T03:11:26.960Z] eaf3925da568: Verifying Checksum [2023-01-16T03:11:26.960Z] eaf3925da568: Download complete [2023-01-16T03:11:26.960Z] 339a4e72a1f5: Verifying Checksum [2023-01-16T03:11:26.960Z] 339a4e72a1f5: Download complete [2023-01-16T03:11:26.960Z] bde34c3a00c8: Verifying Checksum [2023-01-16T03:11:26.960Z] bde34c3a00c8: Download complete [2023-01-16T03:11:26.961Z] b352a97aabf1: Verifying Checksum [2023-01-16T03:11:26.961Z] b352a97aabf1: Download complete [2023-01-16T03:11:26.961Z] 4872d77fe225: Verifying Checksum [2023-01-16T03:11:26.961Z] 4872d77fe225: Download complete [2023-01-16T03:11:26.961Z] 5851b861e8e6: Download complete [2023-01-16T03:11:27.529Z] b85a868b505f: Verifying Checksum [2023-01-16T03:11:27.529Z] b85a868b505f: Download complete [2023-01-16T03:11:27.787Z] bab4dde63d76: Verifying Checksum [2023-01-16T03:11:27.787Z] bab4dde63d76: Download complete [2023-01-16T03:11:28.726Z] b85a868b505f: Pull complete [2023-01-16T03:11:28.726Z] e2be974225ed: Pull complete [2023-01-16T03:11:29.293Z] 339a4e72a1f5: Pull complete [2023-01-16T03:11:29.293Z] 988bab9f4d93: Pull complete [2023-01-16T03:11:29.552Z] 1469e6f7b9e6: Pull complete [2023-01-16T03:11:29.552Z] eaf3925da568: Pull complete [2023-01-16T03:11:31.459Z] bab4dde63d76: Pull complete [2023-01-16T03:11:31.459Z] bde34c3a00c8: Pull complete [2023-01-16T03:11:31.717Z] b352a97aabf1: Pull complete [2023-01-16T03:11:31.717Z] 4872d77fe225: Pull complete [2023-01-16T03:11:31.717Z] 5851b861e8e6: Pull complete [2023-01-16T03:11:31.717Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-16T03:11:31.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T03:11:31.717Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:11:31.968Z] prd-ubuntu20.04-docker-8c-8g-2531 does not seem to be running inside a container [2023-01-16T03:11:31.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-215 -v /w/workspace/undry_device-onvif-camera_PR-215:/w/workspace/undry_device-onvif-camera_PR-215:rw,z -v /w/workspace/undry_device-onvif-camera_PR-215@tmp:/w/workspace/undry_device-onvif-camera_PR-215@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-16T03:11:34.783Z] $ docker top 8fc9fc4a553528f8309410386875fdb19940396c0ac9ef675c57778aed351389 -eo pid,comm [2023-01-16T03:11:34.846Z] 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-01-16T03:11:34.846Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-16T03:11:34.981Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T03:11:34.981Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T03:11:35.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T03:11:35.115Z] $ docker exec 8fc9fc4a553528f8309410386875fdb19940396c0ac9ef675c57778aed351389 ssh-agent [2023-01-16T03:11:35.227Z] SSH_AUTH_SOCK=/tmp/ssh-7qpXs5sM8IAt/agent.31 [2023-01-16T03:11:35.227Z] SSH_AGENT_PID=37 [2023-01-16T03:11:35.231Z] Running ssh-add (command line suppressed) [2023-01-16T03:11:35.340Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-215@tmp/private_key_12629189257738208951.key (/w/workspace/undry_device-onvif-camera_PR-215@tmp/private_key_12629189257738208951.key) [2023-01-16T03:11:35.361Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T03:11:35.692Z] + git tag --points-at HEAD [Pipeline] } [2023-01-16T03:11:35.712Z] $ docker exec --env ******** --env ******** 8fc9fc4a553528f8309410386875fdb19940396c0ac9ef675c57778aed351389 ssh-agent -k [2023-01-16T03:11:35.810Z] unset SSH_AUTH_SOCK; [2023-01-16T03:11:35.811Z] unset SSH_AGENT_PID; [2023-01-16T03:11:35.811Z] echo Agent pid 37 killed; [2023-01-16T03:11:35.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-16T03:11:35.927Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T03:11:35.927Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T03:11:36.026Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T03:11:36.024Z] $ docker exec 8fc9fc4a553528f8309410386875fdb19940396c0ac9ef675c57778aed351389 ssh-agent [2023-01-16T03:11:36.139Z] SSH_AUTH_SOCK=/tmp/ssh-lSzW6ntagui6/agent.69 [2023-01-16T03:11:36.139Z] SSH_AGENT_PID=75 [2023-01-16T03:11:36.145Z] Running ssh-add (command line suppressed) [2023-01-16T03:11:36.251Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-215@tmp/private_key_2922794116860856617.key (/w/workspace/undry_device-onvif-camera_PR-215@tmp/private_key_2922794116860856617.key) [2023-01-16T03:11:36.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T03:11:36.606Z] + git semver init [2023-01-16T03:11:36.866Z] 2023-01-16 03:11:36,803 [run_init] DEBUG init version:0.0.0 force:False [2023-01-16T03:11:36.866Z] 2023-01-16 03:11:36,804 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-215/.semver [2023-01-16T03:11:36.866Z] 2023-01-16 03:11:36,805 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-215/.semver [2023-01-16T03:11:36.866Z] 2023-01-16 03:11:36,805 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-215/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-215, universal_newlines=False, shell=None, istream=None) [2023-01-16T03:11:38.247Z] 2023-01-16 03:11:37,967 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-215/.git/info/exclude [2023-01-16T03:11:38.247Z] 2023-01-16 03:11:37,969 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-215/.semver/PR-215 with force:False [2023-01-16T03:11:38.247Z] 2023-01-16 03:11:37,969 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-215/.semver/PR-215 [2023-01-16T03:11:38.247Z] 2023-01-16 03:11:37,973 [execute] INFO git cat-file --batch-check [2023-01-16T03:11:38.247Z] 2023-01-16 03:11:37,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-215/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T03:11:38.247Z] 2023-01-16 03:11:37,980 [execute] INFO git cat-file --batch [2023-01-16T03:11:38.247Z] 2023-01-16 03:11:37,980 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-215/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T03:11:38.247Z] 2023-01-16 03:11:37,985 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-215/.semver/PR-215 [2023-01-16T03:11:38.247Z] 0.0.0 [Pipeline] } [2023-01-16T03:11:38.272Z] $ docker exec --env ******** --env ******** 8fc9fc4a553528f8309410386875fdb19940396c0ac9ef675c57778aed351389 ssh-agent -k [2023-01-16T03:11:38.372Z] unset SSH_AUTH_SOCK; [2023-01-16T03:11:38.372Z] unset SSH_AGENT_PID; [2023-01-16T03:11:38.372Z] echo Agent pid 75 killed; [2023-01-16T03:11:38.387Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-16T03:11:38.902Z] + git semver [Pipeline] } [2023-01-16T03:11:39.183Z] $ docker stop --time=1 8fc9fc4a553528f8309410386875fdb19940396c0ac9ef675c57778aed351389 [2023-01-16T03:11:40.482Z] $ docker rm -f --volumes 8fc9fc4a553528f8309410386875fdb19940396c0ac9ef675c57778aed351389 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T03:11:40.881Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-16T03:11:41.143Z] Stashed 1 file(s) [Pipeline] echo [2023-01-16T03:11:41.162Z] [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-01-16T03:11:41.751Z] provisioning config files... [2023-01-16T03:11:41.762Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-215@tmp/config659367427422999046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:11:42.129Z] ---> docker-login.sh [2023-01-16T03:11:42.129Z] nexus3.edgexfoundry.org:10001 [2023-01-16T03:11:42.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:11:42.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:11:42.129Z] Configure a credential helper to remove this warning. See [2023-01-16T03:11:42.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:11:42.129Z] [2023-01-16T03:11:42.129Z] Login Succeeded [2023-01-16T03:11:42.129Z] nexus3.edgexfoundry.org:10002 [2023-01-16T03:11:42.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:11:42.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:11:42.129Z] Configure a credential helper to remove this warning. See [2023-01-16T03:11:42.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:11:42.129Z] [2023-01-16T03:11:42.129Z] Login Succeeded [2023-01-16T03:11:42.129Z] nexus3.edgexfoundry.org:10003 [2023-01-16T03:11:42.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:11:42.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:11:42.390Z] Configure a credential helper to remove this warning. See [2023-01-16T03:11:42.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:11:42.390Z] [2023-01-16T03:11:42.390Z] Login Succeeded [2023-01-16T03:11:42.390Z] nexus3.edgexfoundry.org:10004 [2023-01-16T03:11:42.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:11:42.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:11:42.390Z] Configure a credential helper to remove this warning. See [2023-01-16T03:11:42.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:11:42.390Z] [2023-01-16T03:11:42.390Z] Login Succeeded [2023-01-16T03:11:42.390Z] docker.io [2023-01-16T03:11:42.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:11:42.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:11:42.958Z] Configure a credential helper to remove this warning. See [2023-01-16T03:11:42.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:11:42.958Z] [2023-01-16T03:11:42.958Z] Login Succeeded [2023-01-16T03:11:42.958Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T03:11:42.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T03:11:43.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T03:11:43.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T03:11:43.262Z] ========================================================= [2023-01-16T03:11:43.262Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-16T03:11:43.262Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:11:43.754Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-16T03:11:43.755Z] Sending build context to Docker daemon 27.66MB [2023-01-16T03:11:43.755Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T03:11:43.755Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-16T03:11:44.020Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-16T03:11:44.020Z] 213ec9aee27d: Pulling fs layer [2023-01-16T03:11:44.020Z] 4583459ba037: Pulling fs layer [2023-01-16T03:11:44.020Z] 93c1e223e6f2: Pulling fs layer [2023-01-16T03:11:44.020Z] 53926ce57604: Pulling fs layer [2023-01-16T03:11:44.020Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-16T03:11:44.020Z] 22ff95d597cd: Pulling fs layer [2023-01-16T03:11:44.020Z] 12d6caf4c0d1: Pulling fs layer [2023-01-16T03:11:44.020Z] 96b7cbca73a9: Pulling fs layer [2023-01-16T03:11:44.020Z] a7acece74701: Pulling fs layer [2023-01-16T03:11:44.020Z] 21b2b0c7a3f4: Waiting [2023-01-16T03:11:44.020Z] 96b7cbca73a9: Waiting [2023-01-16T03:11:44.020Z] 22ff95d597cd: Waiting [2023-01-16T03:11:44.020Z] 12d6caf4c0d1: Waiting [2023-01-16T03:11:44.020Z] a7acece74701: Waiting [2023-01-16T03:11:44.020Z] 53926ce57604: Waiting [2023-01-16T03:11:44.020Z] 93c1e223e6f2: Verifying Checksum [2023-01-16T03:11:44.020Z] 93c1e223e6f2: Download complete [2023-01-16T03:11:44.020Z] 4583459ba037: Verifying Checksum [2023-01-16T03:11:44.020Z] 4583459ba037: Download complete [2023-01-16T03:11:44.020Z] 21b2b0c7a3f4: Download complete [2023-01-16T03:11:44.020Z] 22ff95d597cd: Verifying Checksum [2023-01-16T03:11:44.020Z] 22ff95d597cd: Download complete [2023-01-16T03:11:44.020Z] 213ec9aee27d: Verifying Checksum [2023-01-16T03:11:44.020Z] 213ec9aee27d: Download complete [2023-01-16T03:11:44.305Z] 12d6caf4c0d1: Verifying Checksum [2023-01-16T03:11:44.305Z] 12d6caf4c0d1: Download complete [2023-01-16T03:11:44.305Z] 213ec9aee27d: Pull complete [2023-01-16T03:11:44.305Z] 4583459ba037: Pull complete [2023-01-16T03:11:44.567Z] 93c1e223e6f2: Pull complete [2023-01-16T03:11:46.554Z] a7acece74701: Verifying Checksum [2023-01-16T03:11:46.554Z] a7acece74701: Download complete [2023-01-16T03:11:47.143Z] 96b7cbca73a9: Verifying Checksum [2023-01-16T03:11:47.143Z] 96b7cbca73a9: Download complete [2023-01-16T03:11:47.714Z] 53926ce57604: Download complete [2023-01-16T03:11:50.993Z] 53926ce57604: Pull complete [2023-01-16T03:11:50.993Z] 21b2b0c7a3f4: Pull complete [2023-01-16T03:11:50.993Z] 22ff95d597cd: Pull complete [2023-01-16T03:11:51.251Z] 12d6caf4c0d1: Pull complete [2023-01-16T03:11:53.148Z] 96b7cbca73a9: Pull complete [2023-01-16T03:11:53.713Z] a7acece74701: Pull complete [2023-01-16T03:11:53.973Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-16T03:11:53.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-16T03:11:53.973Z] ---> db6d94c90886 [2023-01-16T03:11:53.973Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-16T03:11:56.562Z] Still waiting to schedule task [2023-01-16T03:11:56.563Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-16T03:11:58.171Z] ---> Running in efa34143f30f [2023-01-16T03:11:58.171Z] Removing intermediate container efa34143f30f [2023-01-16T03:11:58.171Z] ---> 366f423e7123 [2023-01-16T03:11:58.171Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-16T03:11:58.171Z] ---> Running in 083957c97e89 [2023-01-16T03:11:58.171Z] Removing intermediate container 083957c97e89 [2023-01-16T03:11:58.171Z] ---> 2384b1905a66 [2023-01-16T03:11:58.171Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-16T03:11:58.171Z] ---> Running in afca58d39656 [2023-01-16T03:11:58.430Z] Removing intermediate container afca58d39656 [2023-01-16T03:11:58.430Z] ---> 7530cc77dcad [2023-01-16T03:11:58.430Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-16T03:11:58.430Z] ---> Running in 97ec9302a268 [2023-01-16T03:11:58.430Z] Removing intermediate container 97ec9302a268 [2023-01-16T03:11:58.430Z] ---> 706f4161b181 [2023-01-16T03:11:58.430Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-16T03:11:58.430Z] ---> Running in cfcadde7aff3 [2023-01-16T03:11:58.689Z] Removing intermediate container cfcadde7aff3 [2023-01-16T03:11:58.689Z] ---> 7e6f1419735f [2023-01-16T03:11:58.689Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-16T03:11:58.689Z] ---> Running in cbce6b97abaf [2023-01-16T03:11:58.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T03:11:59.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T03:11:59.467Z] OK: 211 MiB in 51 packages [2023-01-16T03:11:59.726Z] Removing intermediate container cbce6b97abaf [2023-01-16T03:11:59.726Z] ---> 8610e46a1e58 [2023-01-16T03:11:59.726Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-16T03:11:59.726Z] ---> Running in 118aaa12cedd [2023-01-16T03:11:59.726Z] Removing intermediate container 118aaa12cedd [2023-01-16T03:11:59.726Z] ---> faab51f85b90 [2023-01-16T03:11:59.726Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-16T03:11:59.984Z] ---> a792d0b7fde8 [2023-01-16T03:11:59.984Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T03:11:59.984Z] ---> Running in c637c10d0d65 [2023-01-16T03:12:32.091Z] Removing intermediate container c637c10d0d65 [2023-01-16T03:12:32.091Z] ---> 189667cc9b4b [2023-01-16T03:12:32.091Z] Step 12/13 : COPY . . [2023-01-16T03:12:32.091Z] ---> caeb3248bef9 [2023-01-16T03:12:32.091Z] Step 13/13 : RUN ${MAKE} [2023-01-16T03:12:32.091Z] ---> Running in 1905b3c4c0df [2023-01-16T03:12:32.091Z] noop [2023-01-16T03:12:32.091Z] Removing intermediate container 1905b3c4c0df [2023-01-16T03:12:32.091Z] ---> c2fd872b2efe [2023-01-16T03:12:32.091Z] Successfully built c2fd872b2efe [2023-01-16T03:12:32.091Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:12:32.548Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T03:12:32.548Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:12:32.698Z] prd-ubuntu20.04-docker-8c-8g-2531 does not seem to be running inside a container [2023-01-16T03:12:32.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-215 -v /w/workspace/undry_device-onvif-camera_PR-215:/w/workspace/undry_device-onvif-camera_PR-215:rw,z -v /w/workspace/undry_device-onvif-camera_PR-215@tmp:/w/workspace/undry_device-onvif-camera_PR-215@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-16T03:12:33.056Z] $ docker top 367aa24ed50e16ef75a5f9ae7a351b08e514cac8eb8a0f3a24f3ba4f06971917 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T03:12:33.446Z] + go version [2023-01-16T03:12:33.446Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-16T03:12:33.484Z] $ docker stop --time=1 367aa24ed50e16ef75a5f9ae7a351b08e514cac8eb8a0f3a24f3ba4f06971917 [2023-01-16T03:12:34.780Z] $ docker rm -f --volumes 367aa24ed50e16ef75a5f9ae7a351b08e514cac8eb8a0f3a24f3ba4f06971917 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:12:35.453Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T03:12:35.453Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:12:35.599Z] prd-ubuntu20.04-docker-8c-8g-2531 does not seem to be running inside a container [2023-01-16T03:12:35.637Z] $ 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-215 -v /w/workspace/undry_device-onvif-camera_PR-215:/w/workspace/undry_device-onvif-camera_PR-215:rw,z -v /w/workspace/undry_device-onvif-camera_PR-215@tmp:/w/workspace/undry_device-onvif-camera_PR-215@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-16T03:12:36.004Z] $ docker top 39194df7c7343fc3e07080f910c3209e375d6e46cce4113c834678a2e67eaf6a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T03:12:36.391Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-215 [Pipeline] fileExists [Pipeline] sh [2023-01-16T03:12:36.748Z] + make test [2023-01-16T03:12:36.749Z] go test ./... -coverprofile=coverage.out ./... [2023-01-16T03:12:37.007Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-16T03:12:43.560Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-16T03:12:43.560Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-16T03:12:43.560Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-16T03:12:43.560Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-16T03:12:43.560Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-16T03:12:43.560Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-16T03:12:46.087Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-16T03:12:46.087Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-16T03:12:46.087Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-16T03:12:46.087Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-16T03:12:46.087Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-16T03:12:46.087Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-16T03:12:46.087Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-01-16T03:12:47.465Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.245s coverage: 86.5% of statements [2023-01-16T03:12:47.725Z] make: *** [Makefile:53: unittest] Error 2 [Pipeline] } [2023-01-16T03:12:47.772Z] $ docker stop --time=1 39194df7c7343fc3e07080f910c3209e375d6e46cce4113c834678a2e67eaf6a [2023-01-16T03:12:50.480Z] $ docker rm -f --volumes 39194df7c7343fc3e07080f910c3209e375d6e46cce4113c834678a2e67eaf6a [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-01-16T03:12:51.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T03:12:51.658Z] [2023-01-16T03:12:51.658Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:12:52.035Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T03:12:52.035Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-16T03:12:52.035Z] 5eb5b503b376: Pulling fs layer [2023-01-16T03:12:52.035Z] 5c69ac0246d0: Pulling fs layer [2023-01-16T03:12:52.035Z] ec43610c2a17: Pulling fs layer [2023-01-16T03:12:52.035Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-16T03:12:52.035Z] 33b1e0a273af: Pulling fs layer [2023-01-16T03:12:52.035Z] 5d3b04190fa2: Pulling fs layer [2023-01-16T03:12:52.035Z] 2f39f015ded8: Pulling fs layer [2023-01-16T03:12:52.035Z] 33b1e0a273af: Waiting [2023-01-16T03:12:52.035Z] 5d3b04190fa2: Waiting [2023-01-16T03:12:52.035Z] 3a2ae6a8a46f: Waiting [2023-01-16T03:12:52.035Z] 2f39f015ded8: Waiting [2023-01-16T03:12:52.345Z] 5c69ac0246d0: Verifying Checksum [2023-01-16T03:12:52.345Z] 5c69ac0246d0: Download complete [2023-01-16T03:12:52.345Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-16T03:12:52.345Z] 3a2ae6a8a46f: Download complete [2023-01-16T03:12:52.345Z] 33b1e0a273af: Verifying Checksum [2023-01-16T03:12:52.345Z] 33b1e0a273af: Download complete [2023-01-16T03:12:52.345Z] 5d3b04190fa2: Verifying Checksum [2023-01-16T03:12:52.345Z] 5d3b04190fa2: Download complete [2023-01-16T03:12:52.621Z] ec43610c2a17: Verifying Checksum [2023-01-16T03:12:52.621Z] ec43610c2a17: Download complete [2023-01-16T03:12:52.940Z] 5eb5b503b376: Verifying Checksum [2023-01-16T03:12:52.940Z] 5eb5b503b376: Download complete [2023-01-16T03:12:54.377Z] 5eb5b503b376: Pull complete [2023-01-16T03:12:54.377Z] 5c69ac0246d0: Pull complete [2023-01-16T03:12:54.637Z] 2f39f015ded8: Download complete [2023-01-16T03:12:54.637Z] ec43610c2a17: Pull complete [2023-01-16T03:12:54.896Z] 3a2ae6a8a46f: Pull complete [2023-01-16T03:12:54.896Z] 33b1e0a273af: Pull complete [2023-01-16T03:12:55.154Z] 5d3b04190fa2: Pull complete [2023-01-16T03:12:59.337Z] 2f39f015ded8: Pull complete [2023-01-16T03:12:59.337Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-16T03:12:59.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T03:12:59.337Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:12:59.556Z] prd-ubuntu20.04-docker-8c-8g-2531 does not seem to be running inside a container [2023-01-16T03:12:59.632Z] $ 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-215 -v /w/workspace/undry_device-onvif-camera_PR-215:/w/workspace/undry_device-onvif-camera_PR-215:rw,z -v /w/workspace/undry_device-onvif-camera_PR-215@tmp:/w/workspace/undry_device-onvif-camera_PR-215@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-01-16T03:13:03.326Z] $ docker top 278837fd3b185bc726ca78972a5a8b9c7689bcf6cb398268fd83339f895b22cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:13:03.784Z] ---> job-cost.sh [2023-01-16T03:13:03.784Z] lf-activate-venv: SKIPPING [2023-01-16T03:13:03.784Z] INFO: No Stack... [2023-01-16T03:13:04.044Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T03:13:04.303Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T03:13:04.615Z] + cat /w/workspace/undry_device-onvif-camera_PR-215/archives/cost.csv [2023-01-16T03:13:04.615Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T03:13:04.660Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-215-1-stack-cost] [2023-01-16T03:13:04.665Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-215-1-stack-cost] did not exist. Created. [2023-01-16T03:13:04.665Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-215-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T03:13:05.045Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-16T03:13:05.104Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T03:13:05.117Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-215-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T03:13:05.199Z] $ docker stop --time=1 278837fd3b185bc726ca78972a5a8b9c7689bcf6cb398268fd83339f895b22cc [2023-01-16T03:13:06.369Z] $ docker rm -f --volumes 278837fd3b185bc726ca78972a5a8b9c7689bcf6cb398268fd83339f895b22cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T03:13:06.724Z] Failed in branch amd64 [2023-01-16T03:13:39.445Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2533 in /w/workspace/undry_device-onvif-camera_PR-215 [Pipeline] { [Pipeline] ws [2023-01-16T03:13:39.502Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-01-16T03:13:39.585Z] The recommended git tool is: git [2023-01-16T03:13:44.573Z] using credential edgex-jenkins-ssh [2023-01-16T03:13:44.596Z] Cloning the remote Git repository [2023-01-16T03:13:44.638Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-16T03:13:44.701Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-01-16T03:13:44.838Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-16T03:13:44.839Z] > git --version # timeout=10 [2023-01-16T03:13:44.863Z] > git --version # 'git version 2.25.1' [2023-01-16T03:13:44.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T03:13:44.920Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T03:13:46.240Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-16T03:13:46.261Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T03:13:47.146Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-16T03:13:47.742Z] Merging remotes/origin/main commit 916f6b3a329f57eb75e5307752edff55e76e784f into PR head commit a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 [2023-01-16T03:13:48.146Z] Merge succeeded, producing a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 [2023-01-16T03:13:48.146Z] Checking out Revision a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 (PR-215) [2023-01-16T03:13:47.187Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-16T03:13:47.188Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T03:13:47.203Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/215/head:refs/remotes/origin/PR-215 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-16T03:13:47.761Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T03:13:47.785Z] > git checkout -f a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 # timeout=10 [2023-01-16T03:13:48.064Z] > git remote # timeout=10 [2023-01-16T03:13:48.082Z] > git config --get remote.origin.url # timeout=10 [2023-01-16T03:13:48.095Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T03:13:48.107Z] > git merge 916f6b3a329f57eb75e5307752edff55e76e784f # timeout=10 [2023-01-16T03:13:48.133Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-16T03:13:48.155Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T03:13:48.176Z] > git checkout -f a9ccca4352d4ceb1ef9c6e8c1bc7b556bd6a71c8 # timeout=10 [2023-01-16T03:13:48.577Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-01-16T03:13:48.634Z] > git --version # timeout=10 [2023-01-16T03:13:48.644Z] > git --version # 'git version 2.25.1' [2023-01-16T03:13:48.657Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T03:13:49.710Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-16T03:13:49.710Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-16T03:13:49.710Z] Dload Upload Total Spent Left Speed [2023-01-16T03:13:49.710Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67110 0 --:--:-- --:--:-- --:--:-- 67465 [Pipeline] sh [2023-01-16T03:13:50.280Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-16T03:13:50.627Z] + sudo tee /etc/docker/daemon.new [2023-01-16T03:13:50.627Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-16T03:13:50.627Z] { [2023-01-16T03:13:50.627Z] "registry-mirrors": [ [2023-01-16T03:13:50.627Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-16T03:13:50.627Z] ], [2023-01-16T03:13:50.627Z] "bip": "10.250.0.254/24", [2023-01-16T03:13:50.627Z] "hosts": [ [2023-01-16T03:13:50.627Z] "tcp://0.0.0.0:5555", [2023-01-16T03:13:50.627Z] "unix:///var/run/docker.sock" [2023-01-16T03:13:50.627Z] ], [2023-01-16T03:13:50.627Z] "mtu": 1458, [2023-01-16T03:13:50.627Z] "selinux-enabled": true, [2023-01-16T03:13:50.627Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-16T03:13:50.627Z] } [Pipeline] sh [2023-01-16T03:13:50.975Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-16T03:13:51.323Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T03:14:13.533Z] provisioning config files... [2023-01-16T03:14:13.568Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config12352089874328200127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:14:13.978Z] ---> docker-login.sh [2023-01-16T03:14:13.978Z] nexus3.edgexfoundry.org:10001 [2023-01-16T03:14:14.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:14:14.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:14:14.572Z] Configure a credential helper to remove this warning. See [2023-01-16T03:14:14.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:14:14.572Z] [2023-01-16T03:14:14.572Z] Login Succeeded [2023-01-16T03:14:14.572Z] nexus3.edgexfoundry.org:10002 [2023-01-16T03:14:14.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:14:15.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:14:15.115Z] Configure a credential helper to remove this warning. See [2023-01-16T03:14:15.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:14:15.115Z] [2023-01-16T03:14:15.115Z] Login Succeeded [2023-01-16T03:14:15.115Z] nexus3.edgexfoundry.org:10003 [2023-01-16T03:14:15.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:14:15.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:14:15.390Z] Configure a credential helper to remove this warning. See [2023-01-16T03:14:15.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:14:15.390Z] [2023-01-16T03:14:15.390Z] Login Succeeded [2023-01-16T03:14:15.390Z] nexus3.edgexfoundry.org:10004 [2023-01-16T03:14:15.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:14:15.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:14:15.941Z] Configure a credential helper to remove this warning. See [2023-01-16T03:14:15.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:14:15.941Z] [2023-01-16T03:14:15.941Z] Login Succeeded [2023-01-16T03:14:15.941Z] docker.io [2023-01-16T03:14:16.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:14:16.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:14:16.482Z] Configure a credential helper to remove this warning. See [2023-01-16T03:14:16.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:14:16.482Z] [2023-01-16T03:14:16.482Z] Login Succeeded [2023-01-16T03:14:16.482Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T03:14:16.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T03:14:16.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T03:14:16.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T03:14:16.964Z] ========================================================= [2023-01-16T03:14:16.964Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-16T03:14:16.964Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:14:17.460Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-16T03:14:18.056Z] Sending build context to Docker daemon 20.52MB [2023-01-16T03:14:18.056Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T03:14:18.056Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-16T03:14:20.017Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-16T03:14:20.017Z] 9b18e9b68314: Pulling fs layer [2023-01-16T03:14:20.017Z] 35d82f9e3411: Pulling fs layer [2023-01-16T03:14:20.017Z] e16973657156: Pulling fs layer [2023-01-16T03:14:20.017Z] fc693d55d65f: Pulling fs layer [2023-01-16T03:14:20.017Z] 7e9fc2657dce: Pulling fs layer [2023-01-16T03:14:20.017Z] dda99020689f: Pulling fs layer [2023-01-16T03:14:20.017Z] db1c61fa0a46: Pulling fs layer [2023-01-16T03:14:20.017Z] 891c053d2c06: Pulling fs layer [2023-01-16T03:14:20.017Z] fc693d55d65f: Waiting [2023-01-16T03:14:20.017Z] 7e9fc2657dce: Waiting [2023-01-16T03:14:20.017Z] dda99020689f: Waiting [2023-01-16T03:14:20.017Z] db1c61fa0a46: Waiting [2023-01-16T03:14:20.017Z] 891c053d2c06: Waiting [2023-01-16T03:14:20.303Z] e16973657156: Verifying Checksum [2023-01-16T03:14:20.304Z] e16973657156: Download complete [2023-01-16T03:14:20.304Z] 35d82f9e3411: Verifying Checksum [2023-01-16T03:14:20.304Z] 35d82f9e3411: Download complete [2023-01-16T03:14:20.304Z] 7e9fc2657dce: Download complete [2023-01-16T03:14:20.304Z] dda99020689f: Verifying Checksum [2023-01-16T03:14:20.304Z] dda99020689f: Download complete [2023-01-16T03:14:20.304Z] 9b18e9b68314: Verifying Checksum [2023-01-16T03:14:20.304Z] 9b18e9b68314: Download complete [2023-01-16T03:14:20.913Z] 9b18e9b68314: Pull complete [2023-01-16T03:14:21.507Z] 35d82f9e3411: Pull complete [2023-01-16T03:14:21.778Z] 891c053d2c06: Verifying Checksum [2023-01-16T03:14:21.778Z] 891c053d2c06: Download complete [2023-01-16T03:14:21.778Z] e16973657156: Pull complete [2023-01-16T03:14:23.750Z] db1c61fa0a46: Download complete [2023-01-16T03:14:23.750Z] fc693d55d65f: Download complete [2023-01-16T03:14:36.095Z] fc693d55d65f: Pull complete [2023-01-16T03:14:36.095Z] 7e9fc2657dce: Pull complete [2023-01-16T03:14:36.095Z] dda99020689f: Pull complete [2023-01-16T03:14:42.882Z] db1c61fa0a46: Pull complete [2023-01-16T03:14:44.832Z] 891c053d2c06: Pull complete [2023-01-16T03:14:44.832Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-16T03:14:44.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-16T03:14:44.832Z] ---> f96f9c87975a [2023-01-16T03:14:44.832Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-16T03:14:46.784Z] ---> Running in c11811e10f01 [2023-01-16T03:14:47.052Z] Removing intermediate container c11811e10f01 [2023-01-16T03:14:47.052Z] ---> 1d76c145257a [2023-01-16T03:14:47.052Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-16T03:14:47.052Z] ---> Running in bdba5ff8db45 [2023-01-16T03:14:47.332Z] Removing intermediate container bdba5ff8db45 [2023-01-16T03:14:47.332Z] ---> abb88ae42937 [2023-01-16T03:14:47.332Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-16T03:14:47.332Z] ---> Running in c63bcf548a01 [2023-01-16T03:14:47.608Z] Removing intermediate container c63bcf548a01 [2023-01-16T03:14:47.608Z] ---> 2ccd1773b1b9 [2023-01-16T03:14:47.608Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-16T03:14:47.874Z] ---> Running in 8fa84bf0b88e [2023-01-16T03:14:48.145Z] Removing intermediate container 8fa84bf0b88e [2023-01-16T03:14:48.145Z] ---> 533d25c1b958 [2023-01-16T03:14:48.145Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-16T03:14:48.145Z] ---> Running in 65d7d219dc86 [2023-01-16T03:14:48.417Z] Removing intermediate container 65d7d219dc86 [2023-01-16T03:14:48.417Z] ---> 17c4534493ea [2023-01-16T03:14:48.417Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-16T03:14:48.417Z] ---> Running in 92b3eacd41b2 [2023-01-16T03:14:49.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T03:14:50.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T03:14:52.667Z] OK: 221 MiB in 51 packages [2023-01-16T03:14:52.944Z] Removing intermediate container 92b3eacd41b2 [2023-01-16T03:14:52.944Z] ---> 46a5d05e35dd [2023-01-16T03:14:52.944Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-16T03:14:53.212Z] ---> Running in 3de0e61a9c23 [2023-01-16T03:14:53.479Z] Removing intermediate container 3de0e61a9c23 [2023-01-16T03:14:53.479Z] ---> ca0f57d94746 [2023-01-16T03:14:53.479Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-16T03:14:54.063Z] ---> ad5d086a29be [2023-01-16T03:14:54.063Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T03:14:54.063Z] ---> Running in a6411e3cac2d [2023-01-16T03:16:01.953Z] Removing intermediate container a6411e3cac2d [2023-01-16T03:16:01.953Z] ---> 492386ca0b08 [2023-01-16T03:16:01.953Z] Step 12/13 : COPY . . [2023-01-16T03:16:01.953Z] ---> 5e31ed11022d [2023-01-16T03:16:01.953Z] Step 13/13 : RUN ${MAKE} [2023-01-16T03:16:01.953Z] ---> Running in bc98bfc2e526 [2023-01-16T03:16:01.953Z] noop [2023-01-16T03:16:01.953Z] Removing intermediate container bc98bfc2e526 [2023-01-16T03:16:01.953Z] ---> ed1ac4df8740 [2023-01-16T03:16:01.953Z] Successfully built ed1ac4df8740 [2023-01-16T03:16:01.953Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:16:02.440Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T03:16:02.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:16:02.706Z] prd-ubuntu20.04-docker-arm64-4c-16g-2533 does not seem to be running inside a container [2023-01-16T03:16:02.782Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-16T03:16:03.934Z] $ docker top 24e369dc17b43e0962acf30f9f5f7fa8c0251eba95015a863e6c559ffdf02903 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T03:16:04.807Z] + go version [2023-01-16T03:16:04.807Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-16T03:16:04.844Z] $ docker stop --time=1 24e369dc17b43e0962acf30f9f5f7fa8c0251eba95015a863e6c559ffdf02903 [2023-01-16T03:16:06.430Z] $ docker rm -f --volumes 24e369dc17b43e0962acf30f9f5f7fa8c0251eba95015a863e6c559ffdf02903 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:16:07.252Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T03:16:07.252Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:16:07.510Z] prd-ubuntu20.04-docker-arm64-4c-16g-2533 does not seem to be running inside a container [2023-01-16T03:16:07.580Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-16T03:16:08.750Z] $ docker top 839f157ac327d9486435147061dcd80f55743779ebeebee6a4c7fd94eaae747f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T03:16:09.633Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-01-16T03:16:10.348Z] + make test [2023-01-16T03:16:10.348Z] go test ./... -coverprofile=coverage.out ./... [2023-01-16T03:16:12.297Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-16T03:17:08.696Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-16T03:17:08.696Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-16T03:17:08.696Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-16T03:17:08.696Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-16T03:17:08.696Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-16T03:17:08.696Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-16T03:17:35.380Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-16T03:17:35.380Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-16T03:17:35.380Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-16T03:17:35.380Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-16T03:17:35.380Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-16T03:17:35.380Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-16T03:17:35.966Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-01-16T03:17:58.069Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.123s coverage: 86.5% of statements [2023-01-16T03:17:58.069Z] make: *** [Makefile:53: unittest] Error 2 [Pipeline] } [2023-01-16T03:17:58.116Z] $ docker stop --time=1 839f157ac327d9486435147061dcd80f55743779ebeebee6a4c7fd94eaae747f [2023-01-16T03:18:00.103Z] $ docker rm -f --volumes 839f157ac327d9486435147061dcd80f55743779ebeebee6a4c7fd94eaae747f [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-01-16T03:18:01.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T03:18:01.770Z] [2023-01-16T03:18:01.770Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:18:02.182Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T03:18:02.452Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-16T03:18:02.452Z] 8998bd30e6a1: Pulling fs layer [2023-01-16T03:18:02.452Z] 04944245beec: Pulling fs layer [2023-01-16T03:18:02.452Z] 699f458cf7ca: Pulling fs layer [2023-01-16T03:18:02.452Z] 765212b225bb: Pulling fs layer [2023-01-16T03:18:02.452Z] f23df028b6ca: Pulling fs layer [2023-01-16T03:18:02.452Z] d65c8cfc05b1: Pulling fs layer [2023-01-16T03:18:02.452Z] 2437ff75d9bd: Pulling fs layer [2023-01-16T03:18:02.452Z] 765212b225bb: Waiting [2023-01-16T03:18:02.452Z] f23df028b6ca: Waiting [2023-01-16T03:18:02.452Z] d65c8cfc05b1: Waiting [2023-01-16T03:18:02.452Z] 2437ff75d9bd: Waiting [2023-01-16T03:18:02.452Z] 04944245beec: Verifying Checksum [2023-01-16T03:18:02.452Z] 04944245beec: Download complete [2023-01-16T03:18:02.452Z] 765212b225bb: Verifying Checksum [2023-01-16T03:18:02.452Z] 765212b225bb: Download complete [2023-01-16T03:18:02.723Z] f23df028b6ca: Verifying Checksum [2023-01-16T03:18:02.723Z] f23df028b6ca: Download complete [2023-01-16T03:18:02.723Z] d65c8cfc05b1: Verifying Checksum [2023-01-16T03:18:02.723Z] d65c8cfc05b1: Download complete [2023-01-16T03:18:02.723Z] 699f458cf7ca: Verifying Checksum [2023-01-16T03:18:02.723Z] 699f458cf7ca: Download complete [2023-01-16T03:18:03.310Z] 8998bd30e6a1: Verifying Checksum [2023-01-16T03:18:03.310Z] 8998bd30e6a1: Download complete [2023-01-16T03:18:06.670Z] 2437ff75d9bd: Verifying Checksum [2023-01-16T03:18:06.670Z] 2437ff75d9bd: Download complete [2023-01-16T03:18:08.619Z] 8998bd30e6a1: Pull complete [2023-01-16T03:18:08.887Z] 04944245beec: Pull complete [2023-01-16T03:18:10.296Z] 699f458cf7ca: Pull complete [2023-01-16T03:18:10.564Z] 765212b225bb: Pull complete [2023-01-16T03:18:11.527Z] f23df028b6ca: Pull complete [2023-01-16T03:18:11.795Z] d65c8cfc05b1: Pull complete [2023-01-16T03:18:30.054Z] 2437ff75d9bd: Pull complete [2023-01-16T03:18:30.054Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-16T03:18:30.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T03:18:30.054Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:18:30.438Z] prd-ubuntu20.04-docker-arm64-4c-16g-2533 does not seem to be running inside a container [2023-01-16T03:18:30.519Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-16T03:18:33.446Z] $ docker top 89b2aeef667cca8f9144ca1d7d428d35d886ec1c5cfc62f44f4938db4f30747c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:18:34.374Z] ---> job-cost.sh [2023-01-16T03:18:34.374Z] lf-activate-venv: SKIPPING [2023-01-16T03:18:34.374Z] INFO: No Stack... [2023-01-16T03:18:34.962Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-16T03:18:35.547Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T03:18:36.219Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-01-16T03:18:36.219Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T03:18:36.307Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-215-1-stack-cost] [2023-01-16T03:18:36.312Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-215-1-stack-cost] did not exist. Created. [2023-01-16T03:18:36.312Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-215-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T03:18:37.055Z] /w/workspace/device-onvif-camera/1@tmp/durable-32d4b44e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-16T03:18:37.760Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-16T03:18:37.797Z] Warning: overwriting stash ‘stack-cost’ [2023-01-16T03:18:38.316Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T03:18:38.334Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-215-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T03:18:38.427Z] $ docker stop --time=1 89b2aeef667cca8f9144ca1d7d428d35d886ec1c5cfc62f44f4938db4f30747c [2023-01-16T03:18:40.235Z] $ docker rm -f --volumes 89b2aeef667cca8f9144ca1d7d428d35d886ec1c5cfc62f44f4938db4f30747c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T03:18:41.023Z] 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-01-16T03:18:42.995Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-215/archives ] [2023-01-16T03:18:42.995Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-215/archives [2023-01-16T03:18:42.995Z] total 16 [2023-01-16T03:18:42.995Z] drwxr-xr-x 3 root root 4096 Jan 16 03:13 . [2023-01-16T03:18:42.995Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 16 03:13 .. [2023-01-16T03:18:42.995Z] drwxr-xr-x 2 root root 4096 Jan 16 03:13 cost [2023-01-16T03:18:42.995Z] -rw-r--r-- 1 root root 91 Jan 16 03:13 cost.csv [2023-01-16T03:18:42.995Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-215/archives [2023-01-16T03:18:42.995Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-215/archives [2023-01-16T03:18:42.995Z] total 16 [2023-01-16T03:18:42.995Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 03:13 . [2023-01-16T03:18:42.995Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 16 03:13 .. [2023-01-16T03:18:42.995Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 03:13 cost [2023-01-16T03:18:42.995Z] -rw-r--r-- 1 jenkins jenkins 91 Jan 16 03:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:18:43.320Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:18:44.211Z] ---> package-listing.sh [2023-01-16T03:18:44.211Z] ++ facter osfamily [2023-01-16T03:18:44.211Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-16T03:18:44.470Z] + OS_FAMILY=debian [2023-01-16T03:18:44.470Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-215 [2023-01-16T03:18:44.470Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-16T03:18:44.470Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-16T03:18:44.470Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-16T03:18:44.470Z] + PACKAGES=/tmp/packages_start.txt [2023-01-16T03:18:44.470Z] + '[' /w/workspace/undry_device-onvif-camera_PR-215 ']' [2023-01-16T03:18:44.470Z] + PACKAGES=/tmp/packages_end.txt [2023-01-16T03:18:44.470Z] + case "${OS_FAMILY}" in [2023-01-16T03:18:44.470Z] + dpkg -l [2023-01-16T03:18:44.470Z] + grep '^ii' [2023-01-16T03:18:44.470Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-16T03:18:44.470Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-16T03:18:44.470Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-16T03:18:44.470Z] + '[' /w/workspace/undry_device-onvif-camera_PR-215 ']' [2023-01-16T03:18:44.470Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-215/archives/ [2023-01-16T03:18:44.470Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-215/archives/ [Pipeline] echo [2023-01-16T03:18:44.501Z] 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-215/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-16T03:18:44.794Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:18:45.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T03:18:45.421Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:18:45.572Z] prd-ubuntu20.04-docker-8c-8g-2531 does not seem to be running inside a container [2023-01-16T03:18:45.616Z] $ 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-215/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-215 -v /w/workspace/undry_device-onvif-camera_PR-215:/w/workspace/undry_device-onvif-camera_PR-215:rw,z -v /w/workspace/undry_device-onvif-camera_PR-215@tmp:/w/workspace/undry_device-onvif-camera_PR-215@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-16T03:18:45.827Z] $ docker top e0fbb015b40fffc23199154f6b333680085c66e0725781d13076dcbb4ec85d78 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T03:18:46.240Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-16T03:18:46.550Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-16T03:18:46.856Z] + ls /var/log/sa-host [2023-01-16T03:18:46.856Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T03:18:47.075Z] provisioning config files... [2023-01-16T03:18:47.083Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-215@tmp/config17538322532178522205tmp [Pipeline] { [Pipeline] echo [2023-01-16T03:18:47.142Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:18:47.453Z] ---> create-netrc.sh [Pipeline] } [2023-01-16T03:18:47.480Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:18:47.885Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-16T03:18:47.919Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:18:48.233Z] ---> sudo-logs.sh [2023-01-16T03:18:48.233Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-16T03:18:48.314Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:18:48.633Z] ---> job-cost.sh [2023-01-16T03:18:48.634Z] lf-activate-venv: SKIPPING [2023-01-16T03:18:48.634Z] DEBUG: total: 0.2199999988079071 [2023-01-16T03:18:48.634Z] INFO: Retrieving Stack Cost... [2023-01-16T03:18:48.893Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T03:18:49.152Z] INFO: Archiving Costs [Pipeline] echo [2023-01-16T03:18:49.194Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:18:49.506Z] ---> logs-deploy.sh [2023-01-16T03:18:49.506Z] lf-activate-venv: SKIPPING [2023-01-16T03:18:49.506Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-215/1 [2023-01-16T03:18:49.506Z] INFO: archiving workspace using pattern(s): [2023-01-16T03:18:50.443Z] Archives upload complete. [2023-01-16T03:18:50.443Z] INFO: archiving logs to Nexus