Pull request #216 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f4b1257eb0e243643e26de392db54e957c6f645b+916f6b3a329f57eb75e5307752edff55e76e784f (b4e4132218180b08eb0943b2f24fcde419cc1275) 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-ssh14693976238268783969.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-ssh2070682207366547675.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-216/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-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4974617337673036586.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-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17129498119602421847.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-ssh2749661856096101576.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-216/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-216/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10572609050017628775.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 ‘prd-ubuntu20.04-docker-8c-8g-2531’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2532 in /w/workspace/undry_device-onvif-camera_PR-216 [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-216 # 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/216/head:refs/remotes/origin/PR-216 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 916f6b3a329f57eb75e5307752edff55e76e784f into PR head commit f4b1257eb0e243643e26de392db54e957c6f645b Merge succeeded, producing f4b1257eb0e243643e26de392db54e957c6f645b Checking out Revision f4b1257eb0e243643e26de392db54e957c6f645b (PR-216) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-16T03:12:39.010Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-16T03:12:39.173Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo > git config core.sparsecheckout # timeout=10 > git checkout -f f4b1257eb0e243643e26de392db54e957c6f645b # 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 f4b1257eb0e243643e26de392db54e957c6f645b # timeout=10 [2023-01-16T03:12:39.266Z] ========================================================= [2023-01-16T03:12:39.266Z] EdgeX Global Pipelines Version Info [2023-01-16T03:12:39.266Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:12:40.007Z] ------------------- [2023-01-16T03:12:40.007Z] stable info: [2023-01-16T03:12:40.007Z] ------------------- [2023-01-16T03:12:40.007Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-16T03:12:40.007Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T03:12:40.007Z] Message: update stable to v1.0.244 [2023-01-16T03:12:40.580Z] ------------------- [2023-01-16T03:12:40.580Z] experimental info: [2023-01-16T03:12:40.580Z] ------------------- [2023-01-16T03:12:40.580Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-16T03:12:40.580Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T03:12:40.580Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-16T03:12:40.881Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-16T03:12:40.924Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-16T03:12:40.970Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-16T03:12:41.016Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-16T03:12:41.055Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-16T03:12:41.100Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-16T03:12:41.144Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-16T03:12:41.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-16T03:12:41.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-16T03:12:41.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-16T03:12:41.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-16T03:12:41.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-16T03:12:41.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-16T03:12:41.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-16T03:12:41.469Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T03:12:41.511Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T03:12:41.551Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T03:12:41.596Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T03:12:41.639Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-16T03:12:41.680Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-16T03:12:41.720Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-16T03:12:41.762Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-16T03:12:41.804Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-16T03:12:41.853Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-16T03:12:41.902Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-16T03:12:41.941Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-16T03:12:41.979Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-16T03:12:42.020Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-216 [Pipeline] echo [2023-01-16T03:12:42.057Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-216 [Pipeline] echo [2023-01-16T03:12:42.096Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-216 [Pipeline] echo [2023-01-16T03:12:42.135Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f4b1257eb0e243643e26de392db54e957c6f645b [Pipeline] echo [2023-01-16T03:12:42.172Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f4b1257 [Pipeline] echo [2023-01-16T03:12:42.209Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T03:12:42.394Z] provisioning config files... [2023-01-16T03:12:42.409Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-216@tmp/config18290753236710840105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:12:42.755Z] ---> docker-login.sh [2023-01-16T03:12:42.755Z] nexus3.edgexfoundry.org:10001 [2023-01-16T03:12:43.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:12:43.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:12:43.034Z] Configure a credential helper to remove this warning. See [2023-01-16T03:12:43.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:12:43.034Z] [2023-01-16T03:12:43.034Z] Login Succeeded [2023-01-16T03:12:43.034Z] nexus3.edgexfoundry.org:10002 [2023-01-16T03:12:43.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:12:43.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:12:43.295Z] Configure a credential helper to remove this warning. See [2023-01-16T03:12:43.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:12:43.295Z] [2023-01-16T03:12:43.295Z] Login Succeeded [2023-01-16T03:12:43.295Z] nexus3.edgexfoundry.org:10003 [2023-01-16T03:12:43.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:12:43.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:12:43.295Z] Configure a credential helper to remove this warning. See [2023-01-16T03:12:43.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:12:43.295Z] [2023-01-16T03:12:43.295Z] Login Succeeded [2023-01-16T03:12:43.295Z] nexus3.edgexfoundry.org:10004 [2023-01-16T03:12:43.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:12:43.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:12:43.557Z] Configure a credential helper to remove this warning. See [2023-01-16T03:12:43.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:12:43.557Z] [2023-01-16T03:12:43.557Z] Login Succeeded [2023-01-16T03:12:43.557Z] docker.io [2023-01-16T03:12:43.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:12:43.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:12:43.817Z] Configure a credential helper to remove this warning. See [2023-01-16T03:12:43.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:12:43.817Z] [2023-01-16T03:12:43.817Z] Login Succeeded [2023-01-16T03:12:43.817Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T03:12:43.844Z] 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:12:44.481Z] + git rev-list -1 --merges f4b1257eb0e243643e26de392db54e957c6f645b~1..f4b1257eb0e243643e26de392db54e957c6f645b [Pipeline] echo [2023-01-16T03:12:44.540Z] -----------> git rev-list -1 --merges f4b1257eb0e243643e26de392db54e957c6f645b~1..f4b1257eb0e243643e26de392db54e957c6f645b f4b1257eb0e243643e26de392db54e957c6f645b [false] [Pipeline] sh [2023-01-16T03:12:44.845Z] + git log --format=format:%s -1 f4b1257eb0e243643e26de392db54e957c6f645b [Pipeline] echo [2023-01-16T03:12:44.879Z] ========================================================= [2023-01-16T03:12:44.879Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-16T03:12:44.879Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T03:12:45.297Z] + git log --format=format:%s -1 f4b1257eb0e243643e26de392db54e957c6f645b [Pipeline] echo [2023-01-16T03:12:45.331Z] [semverPrep] GIT_COMMIT: f4b1257eb0e243643e26de392db54e957c6f645b, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-01-16T03:12:45.361Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-16T03:12:45.845Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-16T03:12:45.845Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-16T03:12:45.845Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-16T03:12:45.845Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-16T03:12:45.845Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-16T03:12:45.845Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-16T03:12:45.845Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:12:46.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T03:12:46.257Z] [2023-01-16T03:12:46.257Z] 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:12:46.630Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T03:12:46.630Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-16T03:12:46.630Z] b85a868b505f: Pulling fs layer [2023-01-16T03:12:46.630Z] e2be974225ed: Pulling fs layer [2023-01-16T03:12:46.630Z] 339a4e72a1f5: Pulling fs layer [2023-01-16T03:12:46.630Z] 988bab9f4d93: Pulling fs layer [2023-01-16T03:12:46.630Z] 1469e6f7b9e6: Pulling fs layer [2023-01-16T03:12:46.630Z] eaf3925da568: Pulling fs layer [2023-01-16T03:12:46.630Z] bab4dde63d76: Pulling fs layer [2023-01-16T03:12:46.630Z] bde34c3a00c8: Pulling fs layer [2023-01-16T03:12:46.630Z] b352a97aabf1: Pulling fs layer [2023-01-16T03:12:46.630Z] 4872d77fe225: Pulling fs layer [2023-01-16T03:12:46.630Z] 5851b861e8e6: Pulling fs layer [2023-01-16T03:12:46.630Z] 988bab9f4d93: Waiting [2023-01-16T03:12:46.630Z] 1469e6f7b9e6: Waiting [2023-01-16T03:12:46.630Z] 4872d77fe225: Waiting [2023-01-16T03:12:46.630Z] eaf3925da568: Waiting [2023-01-16T03:12:46.630Z] bab4dde63d76: Waiting [2023-01-16T03:12:46.630Z] 5851b861e8e6: Waiting [2023-01-16T03:12:46.630Z] bde34c3a00c8: Waiting [2023-01-16T03:12:46.630Z] e2be974225ed: Verifying Checksum [2023-01-16T03:12:46.630Z] e2be974225ed: Download complete [2023-01-16T03:12:46.630Z] 988bab9f4d93: Verifying Checksum [2023-01-16T03:12:46.630Z] 988bab9f4d93: Download complete [2023-01-16T03:12:46.893Z] 1469e6f7b9e6: Verifying Checksum [2023-01-16T03:12:46.893Z] 1469e6f7b9e6: Download complete [2023-01-16T03:12:46.893Z] eaf3925da568: Verifying Checksum [2023-01-16T03:12:46.893Z] eaf3925da568: Download complete [2023-01-16T03:12:47.154Z] 339a4e72a1f5: Verifying Checksum [2023-01-16T03:12:47.154Z] 339a4e72a1f5: Download complete [2023-01-16T03:12:47.154Z] bde34c3a00c8: Download complete [2023-01-16T03:12:47.154Z] b352a97aabf1: Verifying Checksum [2023-01-16T03:12:47.154Z] b352a97aabf1: Download complete [2023-01-16T03:12:47.154Z] 4872d77fe225: Verifying Checksum [2023-01-16T03:12:47.154Z] 4872d77fe225: Download complete [2023-01-16T03:12:47.154Z] 5851b861e8e6: Verifying Checksum [2023-01-16T03:12:47.154Z] 5851b861e8e6: Download complete [2023-01-16T03:12:47.416Z] b85a868b505f: Download complete [2023-01-16T03:12:47.983Z] bab4dde63d76: Verifying Checksum [2023-01-16T03:12:47.984Z] bab4dde63d76: Download complete [2023-01-16T03:12:48.921Z] b85a868b505f: Pull complete [2023-01-16T03:12:48.921Z] e2be974225ed: Pull complete [2023-01-16T03:12:49.180Z] 339a4e72a1f5: Pull complete [2023-01-16T03:12:49.442Z] 988bab9f4d93: Pull complete [2023-01-16T03:12:49.703Z] 1469e6f7b9e6: Pull complete [2023-01-16T03:12:49.703Z] eaf3925da568: Pull complete [2023-01-16T03:12:51.617Z] bab4dde63d76: Pull complete [2023-01-16T03:12:51.617Z] bde34c3a00c8: Pull complete [2023-01-16T03:12:51.617Z] b352a97aabf1: Pull complete [2023-01-16T03:12:51.877Z] 4872d77fe225: Pull complete [2023-01-16T03:12:51.877Z] 5851b861e8e6: Pull complete [2023-01-16T03:12:51.877Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-16T03:12:51.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T03:12:51.877Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:12:52.113Z] prd-ubuntu20.04-docker-8c-8g-2532 does not seem to be running inside a container [2023-01-16T03:12:52.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-216 -v /w/workspace/undry_device-onvif-camera_PR-216:/w/workspace/undry_device-onvif-camera_PR-216:rw,z -v /w/workspace/undry_device-onvif-camera_PR-216@tmp:/w/workspace/undry_device-onvif-camera_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-16T03:12:54.843Z] $ docker top d503336e7ae9319fcd10a945509928490ae08b4495aa25ecc752b3e07f17d8a7 -eo pid,comm [2023-01-16T03:12:54.903Z] 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:12:54.903Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-16T03:12:55.025Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T03:12:55.025Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T03:12:55.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T03:12:55.152Z] $ docker exec d503336e7ae9319fcd10a945509928490ae08b4495aa25ecc752b3e07f17d8a7 ssh-agent [2023-01-16T03:12:55.255Z] SSH_AUTH_SOCK=/tmp/ssh-vVkMVHlyIoHp/agent.32 [2023-01-16T03:12:55.256Z] SSH_AGENT_PID=38 [2023-01-16T03:12:55.263Z] Running ssh-add (command line suppressed) [2023-01-16T03:12:55.353Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-216@tmp/private_key_12851556196293569709.key (/w/workspace/undry_device-onvif-camera_PR-216@tmp/private_key_12851556196293569709.key) [2023-01-16T03:12:55.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T03:12:55.698Z] + git tag --points-at HEAD [Pipeline] } [2023-01-16T03:12:55.724Z] $ docker exec --env ******** --env ******** d503336e7ae9319fcd10a945509928490ae08b4495aa25ecc752b3e07f17d8a7 ssh-agent -k [2023-01-16T03:12:55.817Z] unset SSH_AUTH_SOCK; [2023-01-16T03:12:55.818Z] unset SSH_AGENT_PID; [2023-01-16T03:12:55.818Z] echo Agent pid 38 killed; [2023-01-16T03:12:55.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-16T03:12:55.918Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T03:12:55.918Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T03:12:56.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T03:12:56.035Z] $ docker exec d503336e7ae9319fcd10a945509928490ae08b4495aa25ecc752b3e07f17d8a7 ssh-agent [2023-01-16T03:12:56.142Z] SSH_AUTH_SOCK=/tmp/ssh-BxK1gg1S385w/agent.70 [2023-01-16T03:12:56.142Z] SSH_AGENT_PID=76 [2023-01-16T03:12:56.147Z] Running ssh-add (command line suppressed) [2023-01-16T03:12:56.254Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-216@tmp/private_key_17519427492591393250.key (/w/workspace/undry_device-onvif-camera_PR-216@tmp/private_key_17519427492591393250.key) [2023-01-16T03:12:56.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T03:12:56.594Z] + git semver init [2023-01-16T03:12:56.854Z] 2023-01-16 03:12:56,764 [run_init] DEBUG init version:0.0.0 force:False [2023-01-16T03:12:56.854Z] 2023-01-16 03:12:56,765 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-216/.semver [2023-01-16T03:12:56.854Z] 2023-01-16 03:12:56,765 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-216/.semver [2023-01-16T03:12:56.854Z] 2023-01-16 03:12:56,765 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-216/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-216, universal_newlines=False, shell=None, istream=None) [2023-01-16T03:12:57.790Z] 2023-01-16 03:12:57,709 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-216/.git/info/exclude [2023-01-16T03:12:57.790Z] 2023-01-16 03:12:57,709 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-216/.semver/PR-216 with force:False [2023-01-16T03:12:57.790Z] 2023-01-16 03:12:57,709 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-216/.semver/PR-216 [2023-01-16T03:12:57.790Z] 2023-01-16 03:12:57,713 [execute] INFO git cat-file --batch-check [2023-01-16T03:12:57.790Z] 2023-01-16 03:12:57,714 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-216/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T03:12:57.790Z] 2023-01-16 03:12:57,719 [execute] INFO git cat-file --batch [2023-01-16T03:12:57.790Z] 2023-01-16 03:12:57,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-216/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T03:12:57.790Z] 2023-01-16 03:12:57,724 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-216/.semver/PR-216 [2023-01-16T03:12:57.790Z] 0.0.0 [Pipeline] } [2023-01-16T03:12:57.813Z] $ docker exec --env ******** --env ******** d503336e7ae9319fcd10a945509928490ae08b4495aa25ecc752b3e07f17d8a7 ssh-agent -k [2023-01-16T03:12:57.915Z] unset SSH_AUTH_SOCK; [2023-01-16T03:12:57.915Z] unset SSH_AGENT_PID; [2023-01-16T03:12:57.920Z] echo Agent pid 76 killed; [2023-01-16T03:12:57.929Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-16T03:12:58.341Z] + git semver [Pipeline] } [2023-01-16T03:12:58.624Z] $ docker stop --time=1 d503336e7ae9319fcd10a945509928490ae08b4495aa25ecc752b3e07f17d8a7 [2023-01-16T03:12:59.921Z] $ docker rm -f --volumes d503336e7ae9319fcd10a945509928490ae08b4495aa25ecc752b3e07f17d8a7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T03:13:00.332Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-16T03:13:00.602Z] Stashed 1 file(s) [Pipeline] echo [2023-01-16T03:13:00.620Z] [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:13:01.191Z] provisioning config files... [2023-01-16T03:13:01.201Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-216@tmp/config8385841597408756875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:13:01.544Z] ---> docker-login.sh [2023-01-16T03:13:01.545Z] nexus3.edgexfoundry.org:10001 [2023-01-16T03:13:01.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:13:01.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:13:01.545Z] Configure a credential helper to remove this warning. See [2023-01-16T03:13:01.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:13:01.545Z] [2023-01-16T03:13:01.545Z] Login Succeeded [2023-01-16T03:13:01.545Z] nexus3.edgexfoundry.org:10002 [2023-01-16T03:13:01.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:13:01.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:13:01.545Z] Configure a credential helper to remove this warning. See [2023-01-16T03:13:01.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:13:01.545Z] [2023-01-16T03:13:01.545Z] Login Succeeded [2023-01-16T03:13:01.545Z] nexus3.edgexfoundry.org:10003 [2023-01-16T03:13:01.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:13:01.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:13:01.804Z] Configure a credential helper to remove this warning. See [2023-01-16T03:13:01.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:13:01.804Z] [2023-01-16T03:13:01.804Z] Login Succeeded [2023-01-16T03:13:01.804Z] nexus3.edgexfoundry.org:10004 [2023-01-16T03:13:01.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:13:01.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:13:01.804Z] Configure a credential helper to remove this warning. See [2023-01-16T03:13:01.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:13:01.804Z] [2023-01-16T03:13:01.804Z] Login Succeeded [2023-01-16T03:13:01.804Z] docker.io [2023-01-16T03:13:02.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:13:02.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:13:02.063Z] Configure a credential helper to remove this warning. See [2023-01-16T03:13:02.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:13:02.063Z] [2023-01-16T03:13:02.063Z] Login Succeeded [2023-01-16T03:13:02.063Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T03:13:02.096Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T03:13:02.290Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T03:13:02.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T03:13:02.358Z] ========================================================= [2023-01-16T03:13:02.358Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-16T03:13:02.358Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:13:02.837Z] + 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:13:02.837Z] Sending build context to Docker daemon 27.66MB [2023-01-16T03:13:02.837Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T03:13:02.837Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-16T03:13:03.100Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-16T03:13:03.100Z] 213ec9aee27d: Pulling fs layer [2023-01-16T03:13:03.100Z] 4583459ba037: Pulling fs layer [2023-01-16T03:13:03.100Z] 93c1e223e6f2: Pulling fs layer [2023-01-16T03:13:03.100Z] 53926ce57604: Pulling fs layer [2023-01-16T03:13:03.100Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-16T03:13:03.100Z] 22ff95d597cd: Pulling fs layer [2023-01-16T03:13:03.100Z] 53926ce57604: Waiting [2023-01-16T03:13:03.100Z] 21b2b0c7a3f4: Waiting [2023-01-16T03:13:03.100Z] 12d6caf4c0d1: Pulling fs layer [2023-01-16T03:13:03.100Z] 96b7cbca73a9: Pulling fs layer [2023-01-16T03:13:03.100Z] 22ff95d597cd: Waiting [2023-01-16T03:13:03.100Z] a7acece74701: Pulling fs layer [2023-01-16T03:13:03.100Z] 96b7cbca73a9: Waiting [2023-01-16T03:13:03.100Z] a7acece74701: Waiting [2023-01-16T03:13:03.100Z] 12d6caf4c0d1: Waiting [2023-01-16T03:13:03.100Z] 93c1e223e6f2: Verifying Checksum [2023-01-16T03:13:03.100Z] 93c1e223e6f2: Download complete [2023-01-16T03:13:03.100Z] 4583459ba037: Verifying Checksum [2023-01-16T03:13:03.100Z] 4583459ba037: Download complete [2023-01-16T03:13:03.100Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-16T03:13:03.100Z] 21b2b0c7a3f4: Download complete [2023-01-16T03:13:03.100Z] 22ff95d597cd: Verifying Checksum [2023-01-16T03:13:03.100Z] 22ff95d597cd: Download complete [2023-01-16T03:13:03.100Z] 213ec9aee27d: Verifying Checksum [2023-01-16T03:13:03.100Z] 213ec9aee27d: Download complete [2023-01-16T03:13:03.358Z] 12d6caf4c0d1: Download complete [2023-01-16T03:13:03.358Z] 213ec9aee27d: Pull complete [2023-01-16T03:13:03.358Z] 4583459ba037: Pull complete [2023-01-16T03:13:03.616Z] 93c1e223e6f2: Pull complete [2023-01-16T03:13:05.545Z] a7acece74701: Verifying Checksum [2023-01-16T03:13:05.545Z] a7acece74701: Download complete [2023-01-16T03:13:06.946Z] 96b7cbca73a9: Verifying Checksum [2023-01-16T03:13:06.946Z] 96b7cbca73a9: Download complete [2023-01-16T03:13:06.946Z] 53926ce57604: Verifying Checksum [2023-01-16T03:13:06.946Z] 53926ce57604: Download complete [2023-01-16T03:13:10.235Z] 53926ce57604: Pull complete [2023-01-16T03:13:10.235Z] 21b2b0c7a3f4: Pull complete [2023-01-16T03:13:10.493Z] 22ff95d597cd: Pull complete [2023-01-16T03:13:10.493Z] 12d6caf4c0d1: Pull complete [2023-01-16T03:13:12.407Z] 96b7cbca73a9: Pull complete [2023-01-16T03:13:13.342Z] a7acece74701: Pull complete [2023-01-16T03:13:13.342Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-16T03:13:13.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-16T03:13:13.342Z] ---> db6d94c90886 [2023-01-16T03:13:13.342Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-16T03:13:16.009Z] Still waiting to schedule task [2023-01-16T03:13:16.009Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2533’ is offline [2023-01-16T03:13:17.551Z] ---> Running in 7a30c814ea46 [2023-01-16T03:13:17.811Z] Removing intermediate container 7a30c814ea46 [2023-01-16T03:13:17.811Z] ---> c6763fd3f407 [2023-01-16T03:13:17.811Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-16T03:13:17.811Z] ---> Running in 786637cac5dd [2023-01-16T03:13:17.811Z] Removing intermediate container 786637cac5dd [2023-01-16T03:13:17.811Z] ---> 80d3676068f4 [2023-01-16T03:13:17.811Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-16T03:13:17.811Z] ---> Running in 81a61a29cdfc [2023-01-16T03:13:18.072Z] Removing intermediate container 81a61a29cdfc [2023-01-16T03:13:18.072Z] ---> fb9cb9b95061 [2023-01-16T03:13:18.072Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-16T03:13:18.072Z] ---> Running in 643570578ba0 [2023-01-16T03:13:18.072Z] Removing intermediate container 643570578ba0 [2023-01-16T03:13:18.072Z] ---> 889963fdabad [2023-01-16T03:13:18.072Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-16T03:13:18.072Z] ---> Running in ce80ce4f3132 [2023-01-16T03:13:18.072Z] Removing intermediate container ce80ce4f3132 [2023-01-16T03:13:18.072Z] ---> ac1978c6e125 [2023-01-16T03:13:18.072Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-16T03:13:18.331Z] ---> Running in ab6ad812d7b6 [2023-01-16T03:13:18.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T03:13:18.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T03:13:18.849Z] OK: 211 MiB in 51 packages [2023-01-16T03:13:19.417Z] Removing intermediate container ab6ad812d7b6 [2023-01-16T03:13:19.417Z] ---> 8b48822d63f0 [2023-01-16T03:13:19.417Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-16T03:13:19.417Z] ---> Running in f7595e6364bc [2023-01-16T03:13:19.417Z] Removing intermediate container f7595e6364bc [2023-01-16T03:13:19.417Z] ---> 856cd238fa20 [2023-01-16T03:13:19.417Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-16T03:13:19.417Z] ---> ad7a54a96422 [2023-01-16T03:13:19.417Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T03:13:19.417Z] ---> Running in aa55853e0288 [2023-01-16T03:13:58.146Z] Removing intermediate container aa55853e0288 [2023-01-16T03:13:58.146Z] ---> 7482b6d14ed9 [2023-01-16T03:13:58.146Z] Step 12/13 : COPY . . [2023-01-16T03:13:58.146Z] ---> f02281be5f0c [2023-01-16T03:13:58.146Z] Step 13/13 : RUN ${MAKE} [2023-01-16T03:13:58.146Z] ---> Running in 1df33f8b17a5 [2023-01-16T03:13:58.146Z] noop [2023-01-16T03:13:58.146Z] Removing intermediate container 1df33f8b17a5 [2023-01-16T03:13:58.146Z] ---> 92c9c76c206d [2023-01-16T03:13:58.146Z] Successfully built 92c9c76c206d [2023-01-16T03:13:58.146Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:13:58.584Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T03:13:58.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:13:58.724Z] prd-ubuntu20.04-docker-8c-8g-2532 does not seem to be running inside a container [2023-01-16T03:13:58.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-216 -v /w/workspace/undry_device-onvif-camera_PR-216:/w/workspace/undry_device-onvif-camera_PR-216:rw,z -v /w/workspace/undry_device-onvif-camera_PR-216@tmp:/w/workspace/undry_device-onvif-camera_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-16T03:13:59.070Z] $ docker top d8de014db6f701ea59f2f1d05fb8d1d0249ce4080004855c16291e8aca23aa98 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T03:13:59.463Z] + go version [2023-01-16T03:13:59.463Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-16T03:13:59.494Z] $ docker stop --time=1 d8de014db6f701ea59f2f1d05fb8d1d0249ce4080004855c16291e8aca23aa98 [2023-01-16T03:14:00.769Z] $ docker rm -f --volumes d8de014db6f701ea59f2f1d05fb8d1d0249ce4080004855c16291e8aca23aa98 [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:14:01.485Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T03:14:01.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:14:01.622Z] prd-ubuntu20.04-docker-8c-8g-2532 does not seem to be running inside a container [2023-01-16T03:14:01.650Z] $ 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-216 -v /w/workspace/undry_device-onvif-camera_PR-216:/w/workspace/undry_device-onvif-camera_PR-216:rw,z -v /w/workspace/undry_device-onvif-camera_PR-216@tmp:/w/workspace/undry_device-onvif-camera_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-16T03:14:01.996Z] $ docker top 9c9d1fd70d2ee7f6e189f9cec8b6f2232277b6c66305f8d61859ba14b64a59ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T03:14:02.376Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-216 [Pipeline] fileExists [Pipeline] sh [2023-01-16T03:14:02.733Z] + make test [2023-01-16T03:14:02.733Z] go test ./... -coverprofile=coverage.out ./... [2023-01-16T03:14:02.993Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-16T03:14:12.958Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-16T03:14:12.958Z] /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:14:12.958Z] /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:14:12.958Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-16T03:14:12.958Z] /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:14:12.958Z] /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:14:12.958Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-01-16T03:14:13.523Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.162s coverage: 86.5% of statements [2023-01-16T03:14:13.523Z] make: *** [Makefile:53: unittest] Error 2 [Pipeline] } [2023-01-16T03:14:13.570Z] $ docker stop --time=1 9c9d1fd70d2ee7f6e189f9cec8b6f2232277b6c66305f8d61859ba14b64a59ed [2023-01-16T03:14:16.223Z] $ docker rm -f --volumes 9c9d1fd70d2ee7f6e189f9cec8b6f2232277b6c66305f8d61859ba14b64a59ed [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:14:17.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T03:14:17.342Z] [2023-01-16T03:14:17.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:14:17.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T03:14:17.722Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-16T03:14:17.722Z] 5eb5b503b376: Pulling fs layer [2023-01-16T03:14:17.722Z] 5c69ac0246d0: Pulling fs layer [2023-01-16T03:14:17.722Z] ec43610c2a17: Pulling fs layer [2023-01-16T03:14:17.722Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-16T03:14:17.722Z] 33b1e0a273af: Pulling fs layer [2023-01-16T03:14:17.722Z] 3a2ae6a8a46f: Waiting [2023-01-16T03:14:17.722Z] 5d3b04190fa2: Pulling fs layer [2023-01-16T03:14:17.722Z] 2f39f015ded8: Pulling fs layer [2023-01-16T03:14:17.722Z] 5d3b04190fa2: Waiting [2023-01-16T03:14:17.722Z] 33b1e0a273af: Waiting [2023-01-16T03:14:17.722Z] 2f39f015ded8: Waiting [2023-01-16T03:14:17.722Z] 5c69ac0246d0: Verifying Checksum [2023-01-16T03:14:17.722Z] 5c69ac0246d0: Download complete [2023-01-16T03:14:17.722Z] 3a2ae6a8a46f: Download complete [2023-01-16T03:14:17.984Z] 33b1e0a273af: Verifying Checksum [2023-01-16T03:14:17.984Z] 33b1e0a273af: Download complete [2023-01-16T03:14:17.984Z] 5d3b04190fa2: Verifying Checksum [2023-01-16T03:14:17.984Z] 5d3b04190fa2: Download complete [2023-01-16T03:14:18.250Z] ec43610c2a17: Verifying Checksum [2023-01-16T03:14:18.250Z] ec43610c2a17: Download complete [2023-01-16T03:14:18.510Z] 5eb5b503b376: Download complete [2023-01-16T03:14:19.888Z] 5eb5b503b376: Pull complete [2023-01-16T03:14:19.888Z] 5c69ac0246d0: Pull complete [2023-01-16T03:14:19.888Z] 2f39f015ded8: Download complete [2023-01-16T03:14:20.500Z] ec43610c2a17: Pull complete [2023-01-16T03:14:20.500Z] 3a2ae6a8a46f: Pull complete [2023-01-16T03:14:20.500Z] 33b1e0a273af: Pull complete [2023-01-16T03:14:20.768Z] 5d3b04190fa2: Pull complete [2023-01-16T03:14:24.982Z] 2f39f015ded8: Pull complete [2023-01-16T03:14:24.982Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-16T03:14:24.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T03:14:24.983Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:14:25.228Z] prd-ubuntu20.04-docker-8c-8g-2532 does not seem to be running inside a container [2023-01-16T03:14:25.255Z] $ 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-216 -v /w/workspace/undry_device-onvif-camera_PR-216:/w/workspace/undry_device-onvif-camera_PR-216:rw,z -v /w/workspace/undry_device-onvif-camera_PR-216@tmp:/w/workspace/undry_device-onvif-camera_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-16T03:14:29.545Z] $ docker top e52a8a70a82558e13717692d9b15346f63f6904e7cdf80767eadcc107e36a83b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:14:29.998Z] ---> job-cost.sh [2023-01-16T03:14:29.998Z] lf-activate-venv: SKIPPING [2023-01-16T03:14:29.998Z] INFO: No Stack... [2023-01-16T03:14:30.566Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T03:14:30.826Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T03:14:31.142Z] + cat /w/workspace/undry_device-onvif-camera_PR-216/archives/cost.csv [2023-01-16T03:14:31.142Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T03:14:31.184Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-216-1-stack-cost] [2023-01-16T03:14:31.197Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-216-1-stack-cost] did not exist. Created. [2023-01-16T03:14:31.197Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T03:14:31.594Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-16T03:14:31.659Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T03:14:31.675Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T03:14:31.753Z] $ docker stop --time=1 e52a8a70a82558e13717692d9b15346f63f6904e7cdf80767eadcc107e36a83b [2023-01-16T03:14:32.906Z] $ docker rm -f --volumes e52a8a70a82558e13717692d9b15346f63f6904e7cdf80767eadcc107e36a83b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T03:14:33.253Z] Failed in branch amd64 [2023-01-16T03:15:24.856Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2534 in /w/workspace/undry_device-onvif-camera_PR-216 [Pipeline] { [Pipeline] ws [2023-01-16T03:15:24.915Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-01-16T03:15:24.997Z] The recommended git tool is: git [2023-01-16T03:15:30.886Z] using credential edgex-jenkins-ssh [2023-01-16T03:15:30.905Z] Cloning the remote Git repository [2023-01-16T03:15:30.961Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-16T03:15:31.055Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-01-16T03:15:31.253Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-16T03:15:31.254Z] > git --version # timeout=10 [2023-01-16T03:15:31.276Z] > git --version # 'git version 2.25.1' [2023-01-16T03:15:31.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T03:15:31.348Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T03:15:32.725Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-16T03:15:32.752Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T03:15:33.743Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-16T03:15:33.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-16T03:15:33.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T03:15:33.804Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-16T03:15:34.358Z] Merging remotes/origin/main commit 916f6b3a329f57eb75e5307752edff55e76e784f into PR head commit f4b1257eb0e243643e26de392db54e957c6f645b [2023-01-16T03:15:34.827Z] Merge succeeded, producing f4b1257eb0e243643e26de392db54e957c6f645b [2023-01-16T03:15:34.827Z] Checking out Revision f4b1257eb0e243643e26de392db54e957c6f645b (PR-216) [2023-01-16T03:15:34.382Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T03:15:34.400Z] > git checkout -f f4b1257eb0e243643e26de392db54e957c6f645b # timeout=10 [2023-01-16T03:15:34.724Z] > git remote # timeout=10 [2023-01-16T03:15:34.745Z] > git config --get remote.origin.url # timeout=10 [2023-01-16T03:15:34.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T03:15:34.778Z] > git merge 916f6b3a329f57eb75e5307752edff55e76e784f # timeout=10 [2023-01-16T03:15:34.811Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-16T03:15:34.837Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T03:15:34.854Z] > git checkout -f f4b1257eb0e243643e26de392db54e957c6f645b # timeout=10 [2023-01-16T03:15:35.763Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-01-16T03:15:35.825Z] > git --version # timeout=10 [2023-01-16T03:15:35.837Z] > git --version # 'git version 2.25.1' [2023-01-16T03:15:35.856Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T03:15:36.909Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-16T03:15:36.909Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-16T03:15:36.909Z] Dload Upload Total Spent Left Speed [2023-01-16T03:15:36.909Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh [2023-01-16T03:15:37.558Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-16T03:15:37.909Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-16T03:15:37.909Z] + sudo tee /etc/docker/daemon.new [2023-01-16T03:15:37.909Z] { [2023-01-16T03:15:37.909Z] "registry-mirrors": [ [2023-01-16T03:15:37.909Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-16T03:15:37.909Z] ], [2023-01-16T03:15:37.909Z] "bip": "10.250.0.254/24", [2023-01-16T03:15:37.909Z] "hosts": [ [2023-01-16T03:15:37.909Z] "tcp://0.0.0.0:5555", [2023-01-16T03:15:37.909Z] "unix:///var/run/docker.sock" [2023-01-16T03:15:37.909Z] ], [2023-01-16T03:15:37.909Z] "mtu": 1458, [2023-01-16T03:15:37.909Z] "selinux-enabled": true, [2023-01-16T03:15:37.909Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-16T03:15:37.909Z] } [Pipeline] sh [2023-01-16T03:15:38.268Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-16T03:15:38.640Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T03:15:56.991Z] provisioning config files... [2023-01-16T03:15:57.022Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config8939449027858850389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:15:57.425Z] ---> docker-login.sh [2023-01-16T03:15:57.425Z] nexus3.edgexfoundry.org:10001 [2023-01-16T03:15:58.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:15:58.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:15:58.032Z] Configure a credential helper to remove this warning. See [2023-01-16T03:15:58.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:15:58.032Z] [2023-01-16T03:15:58.032Z] Login Succeeded [2023-01-16T03:15:58.032Z] nexus3.edgexfoundry.org:10002 [2023-01-16T03:15:58.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:15:58.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:15:58.572Z] Configure a credential helper to remove this warning. See [2023-01-16T03:15:58.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:15:58.572Z] [2023-01-16T03:15:58.572Z] Login Succeeded [2023-01-16T03:15:58.572Z] nexus3.edgexfoundry.org:10003 [2023-01-16T03:15:58.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:15:58.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:15:58.842Z] Configure a credential helper to remove this warning. See [2023-01-16T03:15:58.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:15:58.842Z] [2023-01-16T03:15:58.842Z] Login Succeeded [2023-01-16T03:15:58.842Z] nexus3.edgexfoundry.org:10004 [2023-01-16T03:15:59.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:15:59.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:15:59.117Z] Configure a credential helper to remove this warning. See [2023-01-16T03:15:59.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:15:59.117Z] [2023-01-16T03:15:59.117Z] Login Succeeded [2023-01-16T03:15:59.117Z] docker.io [2023-01-16T03:15:59.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T03:15:59.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T03:15:59.657Z] Configure a credential helper to remove this warning. See [2023-01-16T03:15:59.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T03:15:59.657Z] [2023-01-16T03:15:59.657Z] Login Succeeded [2023-01-16T03:15:59.657Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T03:15:59.685Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T03:16:00.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T03:16:00.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T03:16:00.120Z] ========================================================= [2023-01-16T03:16:00.120Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-16T03:16:00.120Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:16:00.615Z] + 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:16:01.203Z] Sending build context to Docker daemon 20.52MB [2023-01-16T03:16:01.203Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T03:16:01.203Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-16T03:16:01.477Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-16T03:16:01.477Z] 9b18e9b68314: Pulling fs layer [2023-01-16T03:16:01.477Z] 35d82f9e3411: Pulling fs layer [2023-01-16T03:16:01.477Z] e16973657156: Pulling fs layer [2023-01-16T03:16:01.477Z] fc693d55d65f: Pulling fs layer [2023-01-16T03:16:01.477Z] 7e9fc2657dce: Pulling fs layer [2023-01-16T03:16:01.477Z] dda99020689f: Pulling fs layer [2023-01-16T03:16:01.477Z] db1c61fa0a46: Pulling fs layer [2023-01-16T03:16:01.477Z] 891c053d2c06: Pulling fs layer [2023-01-16T03:16:01.477Z] dda99020689f: Waiting [2023-01-16T03:16:01.477Z] fc693d55d65f: Waiting [2023-01-16T03:16:01.477Z] db1c61fa0a46: Waiting [2023-01-16T03:16:01.477Z] 891c053d2c06: Waiting [2023-01-16T03:16:01.477Z] 7e9fc2657dce: Waiting [2023-01-16T03:16:01.477Z] e16973657156: Verifying Checksum [2023-01-16T03:16:01.477Z] e16973657156: Download complete [2023-01-16T03:16:01.477Z] 35d82f9e3411: Verifying Checksum [2023-01-16T03:16:01.477Z] 35d82f9e3411: Download complete [2023-01-16T03:16:01.477Z] 7e9fc2657dce: Verifying Checksum [2023-01-16T03:16:01.477Z] 7e9fc2657dce: Download complete [2023-01-16T03:16:01.477Z] dda99020689f: Download complete [2023-01-16T03:16:01.477Z] 9b18e9b68314: Verifying Checksum [2023-01-16T03:16:01.477Z] 9b18e9b68314: Download complete [2023-01-16T03:16:02.071Z] 9b18e9b68314: Pull complete [2023-01-16T03:16:02.671Z] 35d82f9e3411: Pull complete [2023-01-16T03:16:02.954Z] 891c053d2c06: Verifying Checksum [2023-01-16T03:16:02.954Z] 891c053d2c06: Download complete [2023-01-16T03:16:02.954Z] e16973657156: Pull complete [2023-01-16T03:16:04.930Z] db1c61fa0a46: Verifying Checksum [2023-01-16T03:16:04.930Z] db1c61fa0a46: Download complete [2023-01-16T03:16:04.930Z] fc693d55d65f: Verifying Checksum [2023-01-16T03:16:04.930Z] fc693d55d65f: Download complete [2023-01-16T03:16:17.380Z] fc693d55d65f: Pull complete [2023-01-16T03:16:17.380Z] 7e9fc2657dce: Pull complete [2023-01-16T03:16:17.380Z] dda99020689f: Pull complete [2023-01-16T03:16:24.051Z] db1c61fa0a46: Pull complete [2023-01-16T03:16:26.025Z] 891c053d2c06: Pull complete [2023-01-16T03:16:26.025Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-16T03:16:26.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-16T03:16:26.025Z] ---> f96f9c87975a [2023-01-16T03:16:26.025Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-16T03:16:27.979Z] ---> Running in 8ee5291caf0f [2023-01-16T03:16:27.979Z] Removing intermediate container 8ee5291caf0f [2023-01-16T03:16:27.979Z] ---> 917c4fe6c732 [2023-01-16T03:16:27.979Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-16T03:16:28.249Z] ---> Running in e06095871a5e [2023-01-16T03:16:28.518Z] Removing intermediate container e06095871a5e [2023-01-16T03:16:28.518Z] ---> 2c813cfd2c0d [2023-01-16T03:16:28.518Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-16T03:16:28.518Z] ---> Running in 87e8b68fbb74 [2023-01-16T03:16:28.786Z] Removing intermediate container 87e8b68fbb74 [2023-01-16T03:16:28.786Z] ---> bbc458d31065 [2023-01-16T03:16:28.786Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-16T03:16:28.786Z] ---> Running in 09ecb9eb917c [2023-01-16T03:16:29.377Z] Removing intermediate container 09ecb9eb917c [2023-01-16T03:16:29.377Z] ---> 4c383e1b2d8c [2023-01-16T03:16:29.377Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-16T03:16:29.377Z] ---> Running in 6a6997a7d8c9 [2023-01-16T03:16:29.649Z] Removing intermediate container 6a6997a7d8c9 [2023-01-16T03:16:29.649Z] ---> 372c5691673c [2023-01-16T03:16:29.649Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-16T03:16:29.649Z] ---> Running in 8a63ae7bed8a [2023-01-16T03:16:31.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T03:16:31.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T03:16:32.484Z] OK: 221 MiB in 51 packages [2023-01-16T03:16:33.072Z] Removing intermediate container 8a63ae7bed8a [2023-01-16T03:16:33.072Z] ---> 08bb5dfaceca [2023-01-16T03:16:33.072Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-16T03:16:33.072Z] ---> Running in 4eb988ce8613 [2023-01-16T03:16:33.346Z] Removing intermediate container 4eb988ce8613 [2023-01-16T03:16:33.346Z] ---> 5f5ed520045e [2023-01-16T03:16:33.346Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-16T03:16:33.941Z] ---> aa068d49205d [2023-01-16T03:16:33.941Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T03:16:33.941Z] ---> Running in 70a30d7eecbb [2023-01-16T03:17:41.863Z] Removing intermediate container 70a30d7eecbb [2023-01-16T03:17:41.863Z] ---> e01aca15f82d [2023-01-16T03:17:41.863Z] Step 12/13 : COPY . . [2023-01-16T03:17:42.837Z] ---> 19d2caeecfcf [2023-01-16T03:17:42.837Z] Step 13/13 : RUN ${MAKE} [2023-01-16T03:17:42.837Z] ---> Running in 1d96b2ddde07 [2023-01-16T03:17:43.805Z] noop [2023-01-16T03:17:44.397Z] Removing intermediate container 1d96b2ddde07 [2023-01-16T03:17:44.397Z] ---> b74e3d403ee7 [2023-01-16T03:17:44.668Z] Successfully built b74e3d403ee7 [2023-01-16T03:17:44.668Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:17:45.175Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T03:17:45.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:17:45.453Z] prd-ubuntu20.04-docker-arm64-4c-16g-2534 does not seem to be running inside a container [2023-01-16T03:17:45.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-16T03:17:46.738Z] $ docker top f4da94df76abca2571322df894b42eb4e572ba65f989bcaca4796d63429846d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T03:17:47.639Z] + go version [2023-01-16T03:17:47.639Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-16T03:17:47.678Z] $ docker stop --time=1 f4da94df76abca2571322df894b42eb4e572ba65f989bcaca4796d63429846d7 [2023-01-16T03:17:49.318Z] $ docker rm -f --volumes f4da94df76abca2571322df894b42eb4e572ba65f989bcaca4796d63429846d7 [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:17:50.200Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T03:17:50.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:17:50.458Z] prd-ubuntu20.04-docker-arm64-4c-16g-2534 does not seem to be running inside a container [2023-01-16T03:17:50.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-16T03:17:53.213Z] $ docker top 59bc23218ff881f628fe900daadedfa36539142e9863031d8aa69157f0b6d3b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T03:17:54.116Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-01-16T03:17:54.512Z] + make test [2023-01-16T03:17:54.781Z] go test ./... -coverprofile=coverage.out ./... [2023-01-16T03:17:56.735Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-16T03:19:18.378Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-16T03:19:18.378Z] /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:19:18.378Z] /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:19:18.378Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-16T03:19:18.378Z] /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:19:18.378Z] /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:19:23.744Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-01-16T03:19:50.488Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.701s coverage: 86.5% of statements [2023-01-16T03:19:50.488Z] make: *** [Makefile:53: unittest] Error 2 [Pipeline] } [2023-01-16T03:19:50.542Z] $ docker stop --time=1 59bc23218ff881f628fe900daadedfa36539142e9863031d8aa69157f0b6d3b5 [2023-01-16T03:19:52.277Z] $ docker rm -f --volumes 59bc23218ff881f628fe900daadedfa36539142e9863031d8aa69157f0b6d3b5 [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:19:53.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T03:19:53.792Z] [2023-01-16T03:19:53.792Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:19:54.202Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T03:19:55.173Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-16T03:19:55.173Z] 8998bd30e6a1: Pulling fs layer [2023-01-16T03:19:55.173Z] 04944245beec: Pulling fs layer [2023-01-16T03:19:55.173Z] 699f458cf7ca: Pulling fs layer [2023-01-16T03:19:55.173Z] 765212b225bb: Pulling fs layer [2023-01-16T03:19:55.173Z] f23df028b6ca: Pulling fs layer [2023-01-16T03:19:55.173Z] d65c8cfc05b1: Pulling fs layer [2023-01-16T03:19:55.173Z] 2437ff75d9bd: Pulling fs layer [2023-01-16T03:19:55.173Z] f23df028b6ca: Waiting [2023-01-16T03:19:55.173Z] 765212b225bb: Waiting [2023-01-16T03:19:55.173Z] d65c8cfc05b1: Waiting [2023-01-16T03:19:55.173Z] 2437ff75d9bd: Waiting [2023-01-16T03:19:55.173Z] 04944245beec: Verifying Checksum [2023-01-16T03:19:55.173Z] 04944245beec: Download complete [2023-01-16T03:19:55.173Z] 765212b225bb: Verifying Checksum [2023-01-16T03:19:55.173Z] 765212b225bb: Download complete [2023-01-16T03:19:55.445Z] f23df028b6ca: Download complete [2023-01-16T03:19:55.445Z] d65c8cfc05b1: Verifying Checksum [2023-01-16T03:19:55.445Z] d65c8cfc05b1: Download complete [2023-01-16T03:19:55.718Z] 699f458cf7ca: Verifying Checksum [2023-01-16T03:19:55.718Z] 699f458cf7ca: Download complete [2023-01-16T03:19:55.985Z] 8998bd30e6a1: Download complete [2023-01-16T03:19:59.345Z] 2437ff75d9bd: Verifying Checksum [2023-01-16T03:19:59.345Z] 2437ff75d9bd: Download complete [2023-01-16T03:20:02.696Z] 8998bd30e6a1: Pull complete [2023-01-16T03:20:02.967Z] 04944245beec: Pull complete [2023-01-16T03:20:04.917Z] 699f458cf7ca: Pull complete [2023-01-16T03:20:05.186Z] 765212b225bb: Pull complete [2023-01-16T03:20:07.130Z] f23df028b6ca: Pull complete [2023-01-16T03:20:07.400Z] d65c8cfc05b1: Pull complete [2023-01-16T03:20:25.619Z] 2437ff75d9bd: Pull complete [2023-01-16T03:20:25.619Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-16T03:20:25.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T03:20:25.619Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:20:25.934Z] prd-ubuntu20.04-docker-arm64-4c-16g-2534 does not seem to be running inside a container [2023-01-16T03:20:26.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-16T03:20:27.527Z] $ docker top 7b3fe1a19747eef03fdbd5de4d77e058d329554a890aeff57d1f406f9ff9d12d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:20:28.430Z] ---> job-cost.sh [2023-01-16T03:20:28.430Z] lf-activate-venv: SKIPPING [2023-01-16T03:20:28.430Z] INFO: No Stack... [2023-01-16T03:20:28.698Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-16T03:20:29.659Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T03:20:30.318Z] + cut -d, -f6 [2023-01-16T03:20:30.318Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-01-16T03:20:30.408Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-216-1-stack-cost] [2023-01-16T03:20:30.413Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-216-1-stack-cost] did not exist. Created. [2023-01-16T03:20:30.413Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T03:20:31.162Z] /w/workspace/device-onvif-camera/1@tmp/durable-b1078a5b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-16T03:20:31.833Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-16T03:20:31.870Z] Warning: overwriting stash ‘stack-cost’ [2023-01-16T03:20:32.335Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T03:20:32.354Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T03:20:32.442Z] $ docker stop --time=1 7b3fe1a19747eef03fdbd5de4d77e058d329554a890aeff57d1f406f9ff9d12d [2023-01-16T03:20:34.163Z] $ docker rm -f --volumes 7b3fe1a19747eef03fdbd5de4d77e058d329554a890aeff57d1f406f9ff9d12d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T03:20:34.980Z] 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:20:37.187Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-216/archives ] [2023-01-16T03:20:37.187Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-216/archives [2023-01-16T03:20:37.187Z] total 16 [2023-01-16T03:20:37.187Z] drwxr-xr-x 3 root root 4096 Jan 16 03:14 . [2023-01-16T03:20:37.187Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 16 03:14 .. [2023-01-16T03:20:37.187Z] drwxr-xr-x 2 root root 4096 Jan 16 03:14 cost [2023-01-16T03:20:37.187Z] -rw-r--r-- 1 root root 91 Jan 16 03:14 cost.csv [2023-01-16T03:20:37.187Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-216/archives [2023-01-16T03:20:37.187Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-216/archives [2023-01-16T03:20:37.187Z] total 16 [2023-01-16T03:20:37.187Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 03:14 . [2023-01-16T03:20:37.187Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 16 03:14 .. [2023-01-16T03:20:37.187Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 03:14 cost [2023-01-16T03:20:37.187Z] -rw-r--r-- 1 jenkins jenkins 91 Jan 16 03:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:20:37.515Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:20:38.400Z] ---> package-listing.sh [2023-01-16T03:20:38.400Z] ++ facter osfamily [2023-01-16T03:20:38.400Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-16T03:20:38.665Z] + OS_FAMILY=debian [2023-01-16T03:20:38.665Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-216 [2023-01-16T03:20:38.665Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-16T03:20:38.665Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-16T03:20:38.665Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-16T03:20:38.665Z] + PACKAGES=/tmp/packages_start.txt [2023-01-16T03:20:38.665Z] + '[' /w/workspace/undry_device-onvif-camera_PR-216 ']' [2023-01-16T03:20:38.665Z] + PACKAGES=/tmp/packages_end.txt [2023-01-16T03:20:38.665Z] + case "${OS_FAMILY}" in [2023-01-16T03:20:38.665Z] + dpkg -l [2023-01-16T03:20:38.665Z] + grep '^ii' [2023-01-16T03:20:38.665Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-16T03:20:38.665Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-16T03:20:38.665Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-16T03:20:38.665Z] + '[' /w/workspace/undry_device-onvif-camera_PR-216 ']' [2023-01-16T03:20:38.665Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-216/archives/ [2023-01-16T03:20:38.665Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-216/archives/ [Pipeline] echo [2023-01-16T03:20:38.696Z] 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-216/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:20:38.985Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T03:20:39.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T03:20:39.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T03:20:39.749Z] prd-ubuntu20.04-docker-8c-8g-2532 does not seem to be running inside a container [2023-01-16T03:20:39.779Z] $ 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-216/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-216 -v /w/workspace/undry_device-onvif-camera_PR-216:/w/workspace/undry_device-onvif-camera_PR-216:rw,z -v /w/workspace/undry_device-onvif-camera_PR-216@tmp:/w/workspace/undry_device-onvif-camera_PR-216@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:20:39.982Z] $ docker top 98225c5863c993d1ae0068773888f6f8d2a2a5eb415a66b0d33fa1e7232179cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T03:20:40.372Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-16T03:20:40.684Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-16T03:20:40.996Z] + ls /var/log/sa-host [2023-01-16T03:20:40.996Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T03:20:41.143Z] provisioning config files... [2023-01-16T03:20:41.152Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-216@tmp/config8968428004047874570tmp [Pipeline] { [Pipeline] echo [2023-01-16T03:20:41.213Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:20:41.529Z] ---> create-netrc.sh [Pipeline] } [2023-01-16T03:20:41.627Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:20:42.027Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-16T03:20:42.057Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:20:42.370Z] ---> sudo-logs.sh [2023-01-16T03:20:42.370Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-16T03:20:42.455Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:20:42.767Z] ---> job-cost.sh [2023-01-16T03:20:42.768Z] lf-activate-venv: SKIPPING [2023-01-16T03:20:42.768Z] DEBUG: total: 0.2199999988079071 [2023-01-16T03:20:42.768Z] INFO: Retrieving Stack Cost... [2023-01-16T03:20:43.029Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T03:20:43.609Z] INFO: Archiving Costs [Pipeline] echo [2023-01-16T03:20:43.650Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T03:20:43.980Z] ---> logs-deploy.sh [2023-01-16T03:20:43.980Z] lf-activate-venv: SKIPPING [2023-01-16T03:20:43.980Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-216/1 [2023-01-16T03:20:43.980Z] INFO: archiving workspace using pattern(s): [2023-01-16T03:20:44.915Z] Archives upload complete. [2023-01-16T03:20:44.915Z] INFO: archiving logs to Nexus