Pull request #334 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 25622028c577b13c34d02148716f390ae53c75f0+ca50ff0226266dec6d343d3687e79f892dd3f78d (f28280c5da8c22d361a0d6d8062ad1b082acfc2a) 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-ssh16381826595605321982.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7851319891961592247.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-334/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-334/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3095782786727983752.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-334/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13164355061527288131.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10560060118838506482.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-334/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-334/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6875701458407513008.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12535 in /w/workspace/undry_device-onvif-camera_PR-334 [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-334 # 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/334/head:refs/remotes/origin/PR-334 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ca50ff0226266dec6d343d3687e79f892dd3f78d into PR head commit 25622028c577b13c34d02148716f390ae53c75f0 Merge succeeded, producing 25622028c577b13c34d02148716f390ae53c75f0 Checking out Revision 25622028c577b13c34d02148716f390ae53c75f0 (PR-334) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 25622028c577b13c34d02148716f390ae53c75f0 # 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 ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25622028c577b13c34d02148716f390ae53c75f0 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-03T04:03:13.679Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-03T04:03:13.891Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-03T04:03:14.006Z] ========================================================= [2023-05-03T04:03:14.006Z] EdgeX Global Pipelines Version Info [2023-05-03T04:03:14.006Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-03T04:03:14.778Z] ------------------- [2023-05-03T04:03:14.778Z] stable info: [2023-05-03T04:03:14.778Z] ------------------- [2023-05-03T04:03:14.778Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-03T04:03:14.778Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-03T04:03:14.778Z] Message: update stable to v1.0.248 [2023-05-03T04:03:15.372Z] ------------------- [2023-05-03T04:03:15.372Z] experimental info: [2023-05-03T04:03:15.372Z] ------------------- [2023-05-03T04:03:15.372Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-03T04:03:15.372Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-03T04:03:15.372Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-03T04:03:15.725Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-05-03T04:03:15.791Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-05-03T04:03:15.831Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-03T04:03:15.872Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-03T04:03:15.926Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-03T04:03:15.974Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-03T04:03:16.033Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-03T04:03:16.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-03T04:03:16.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-03T04:03:16.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-03T04:03:16.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-03T04:03:16.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-05-03T04:03:16.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-03T04:03:16.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-03T04:03:16.436Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-03T04:03:16.481Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-03T04:03:16.527Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T04:03:16.575Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T04:03:16.611Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-03T04:03:16.667Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-03T04:03:16.707Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-03T04:03:16.747Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-05-03T04:03:16.814Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-03T04:03:16.863Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-03T04:03:16.905Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-03T04:03:16.950Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-03T04:03:16.999Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-03T04:03:17.066Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-334 [Pipeline] echo [2023-05-03T04:03:17.115Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-334 [Pipeline] echo [2023-05-03T04:03:17.164Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-334 [Pipeline] echo [2023-05-03T04:03:17.219Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25622028c577b13c34d02148716f390ae53c75f0 [Pipeline] echo [2023-05-03T04:03:17.281Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2562202 [Pipeline] echo [2023-05-03T04:03:17.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T04:03:17.496Z] provisioning config files... [2023-05-03T04:03:17.512Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-334@tmp/config11633244049962790141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T04:03:17.881Z] ---> docker-login.sh [2023-05-03T04:03:17.881Z] nexus3.edgexfoundry.org:10001 [2023-05-03T04:03:18.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:03:18.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:03:18.402Z] Configure a credential helper to remove this warning. See [2023-05-03T04:03:18.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:03:18.402Z] [2023-05-03T04:03:18.402Z] Login Succeeded [2023-05-03T04:03:18.402Z] nexus3.edgexfoundry.org:10002 [2023-05-03T04:03:18.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:03:18.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:03:18.402Z] Configure a credential helper to remove this warning. See [2023-05-03T04:03:18.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:03:18.402Z] [2023-05-03T04:03:18.402Z] Login Succeeded [2023-05-03T04:03:18.402Z] nexus3.edgexfoundry.org:10003 [2023-05-03T04:03:18.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:03:18.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:03:18.665Z] Configure a credential helper to remove this warning. See [2023-05-03T04:03:18.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:03:18.665Z] [2023-05-03T04:03:18.665Z] Login Succeeded [2023-05-03T04:03:18.665Z] nexus3.edgexfoundry.org:10004 [2023-05-03T04:03:18.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:03:18.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:03:18.665Z] Configure a credential helper to remove this warning. See [2023-05-03T04:03:18.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:03:18.665Z] [2023-05-03T04:03:18.665Z] Login Succeeded [2023-05-03T04:03:18.665Z] docker.io [2023-05-03T04:03:18.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:03:18.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:03:18.924Z] Configure a credential helper to remove this warning. See [2023-05-03T04:03:18.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:03:18.924Z] [2023-05-03T04:03:18.924Z] Login Succeeded [2023-05-03T04:03:18.924Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T04:03:18.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-03T04:03:19.677Z] + git rev-list -1 --merges 25622028c577b13c34d02148716f390ae53c75f0~1..25622028c577b13c34d02148716f390ae53c75f0 [Pipeline] echo [2023-05-03T04:03:19.751Z] -----------> git rev-list -1 --merges 25622028c577b13c34d02148716f390ae53c75f0~1..25622028c577b13c34d02148716f390ae53c75f0 25622028c577b13c34d02148716f390ae53c75f0 [false] [Pipeline] sh [2023-05-03T04:03:20.079Z] + git log --format=format:%s -1 25622028c577b13c34d02148716f390ae53c75f0 [Pipeline] echo [2023-05-03T04:03:20.116Z] ========================================================= [2023-05-03T04:03:20.116Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-03T04:03:20.116Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T04:03:20.577Z] + git log --format=format:%s -1 25622028c577b13c34d02148716f390ae53c75f0 [Pipeline] echo [2023-05-03T04:03:20.610Z] [semverPrep] GIT_COMMIT: 25622028c577b13c34d02148716f390ae53c75f0, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-05-03T04:03:20.648Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-03T04:03:21.084Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-03T04:03:21.084Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-03T04:03:21.084Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-03T04:03:21.084Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-03T04:03:21.084Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-03T04:03:21.084Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-03T04:03:21.084Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T04:03:21.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T04:03:21.633Z] [2023-05-03T04:03:21.633Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T04:03:22.046Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T04:03:22.046Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-03T04:03:22.046Z] b85a868b505f: Pulling fs layer [2023-05-03T04:03:22.046Z] e2be974225ed: Pulling fs layer [2023-05-03T04:03:22.046Z] 339a4e72a1f5: Pulling fs layer [2023-05-03T04:03:22.046Z] 988bab9f4d93: Pulling fs layer [2023-05-03T04:03:22.046Z] 1469e6f7b9e6: Pulling fs layer [2023-05-03T04:03:22.046Z] eaf3925da568: Pulling fs layer [2023-05-03T04:03:22.046Z] bab4dde63d76: Pulling fs layer [2023-05-03T04:03:22.046Z] bde34c3a00c8: Pulling fs layer [2023-05-03T04:03:22.046Z] b352a97aabf1: Pulling fs layer [2023-05-03T04:03:22.046Z] 4872d77fe225: Pulling fs layer [2023-05-03T04:03:22.046Z] 5851b861e8e6: Pulling fs layer [2023-05-03T04:03:22.046Z] 988bab9f4d93: Waiting [2023-05-03T04:03:22.046Z] 1469e6f7b9e6: Waiting [2023-05-03T04:03:22.046Z] eaf3925da568: Waiting [2023-05-03T04:03:22.046Z] bab4dde63d76: Waiting [2023-05-03T04:03:22.046Z] bde34c3a00c8: Waiting [2023-05-03T04:03:22.046Z] 4872d77fe225: Waiting [2023-05-03T04:03:22.046Z] b352a97aabf1: Waiting [2023-05-03T04:03:22.046Z] 5851b861e8e6: Waiting [2023-05-03T04:03:22.046Z] e2be974225ed: Download complete [2023-05-03T04:03:22.046Z] 988bab9f4d93: Verifying Checksum [2023-05-03T04:03:22.046Z] 988bab9f4d93: Download complete [2023-05-03T04:03:22.310Z] 1469e6f7b9e6: Verifying Checksum [2023-05-03T04:03:22.310Z] 1469e6f7b9e6: Download complete [2023-05-03T04:03:22.310Z] eaf3925da568: Verifying Checksum [2023-05-03T04:03:22.310Z] eaf3925da568: Download complete [2023-05-03T04:03:22.310Z] 339a4e72a1f5: Verifying Checksum [2023-05-03T04:03:22.310Z] 339a4e72a1f5: Download complete [2023-05-03T04:03:22.310Z] bde34c3a00c8: Download complete [2023-05-03T04:03:22.310Z] b352a97aabf1: Download complete [2023-05-03T04:03:22.310Z] 4872d77fe225: Verifying Checksum [2023-05-03T04:03:22.310Z] 4872d77fe225: Download complete [2023-05-03T04:03:22.310Z] 5851b861e8e6: Download complete [2023-05-03T04:03:22.586Z] b85a868b505f: Verifying Checksum [2023-05-03T04:03:22.586Z] b85a868b505f: Download complete [2023-05-03T04:03:22.870Z] bab4dde63d76: Verifying Checksum [2023-05-03T04:03:22.870Z] bab4dde63d76: Download complete [2023-05-03T04:03:23.841Z] b85a868b505f: Pull complete [2023-05-03T04:03:23.841Z] e2be974225ed: Pull complete [2023-05-03T04:03:24.417Z] 339a4e72a1f5: Pull complete [2023-05-03T04:03:24.417Z] 988bab9f4d93: Pull complete [2023-05-03T04:03:24.689Z] 1469e6f7b9e6: Pull complete [2023-05-03T04:03:24.689Z] eaf3925da568: Pull complete [2023-05-03T04:03:26.623Z] bab4dde63d76: Pull complete [2023-05-03T04:03:26.623Z] bde34c3a00c8: Pull complete [2023-05-03T04:03:26.623Z] b352a97aabf1: Pull complete [2023-05-03T04:03:26.891Z] 4872d77fe225: Pull complete [2023-05-03T04:03:26.891Z] 5851b861e8e6: Pull complete [2023-05-03T04:03:26.891Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-03T04:03:26.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T04:03:26.891Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T04:03:27.148Z] prd-ubuntu20.04-docker-8c-8g-12535 does not seem to be running inside a container [2023-05-03T04:03:27.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-334 -v /w/workspace/undry_device-onvif-camera_PR-334:/w/workspace/undry_device-onvif-camera_PR-334:rw,z -v /w/workspace/undry_device-onvif-camera_PR-334@tmp:/w/workspace/undry_device-onvif-camera_PR-334@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-05-03T04:03:29.428Z] $ docker top d7163f38af164bb3978f8169973d2c1a32bff2d99103a88dd2abba0646e96d04 -eo pid,comm [2023-05-03T04:03:29.487Z] 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-05-03T04:03:29.487Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-03T04:03:29.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T04:03:29.615Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T04:03:29.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T04:03:29.738Z] $ docker exec d7163f38af164bb3978f8169973d2c1a32bff2d99103a88dd2abba0646e96d04 ssh-agent [2023-05-03T04:03:29.851Z] SSH_AUTH_SOCK=/tmp/ssh-z3HiVtCqG2EH/agent.32 [2023-05-03T04:03:29.851Z] SSH_AGENT_PID=38 [2023-05-03T04:03:29.858Z] Running ssh-add (command line suppressed) [2023-05-03T04:03:29.952Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-334@tmp/private_key_1237420722478693759.key (/w/workspace/undry_device-onvif-camera_PR-334@tmp/private_key_1237420722478693759.key) [2023-05-03T04:03:29.972Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T04:03:30.303Z] + git tag --points-at HEAD [Pipeline] } [2023-05-03T04:03:30.325Z] $ docker exec --env ******** --env ******** d7163f38af164bb3978f8169973d2c1a32bff2d99103a88dd2abba0646e96d04 ssh-agent -k [2023-05-03T04:03:30.418Z] unset SSH_AUTH_SOCK; [2023-05-03T04:03:30.419Z] unset SSH_AGENT_PID; [2023-05-03T04:03:30.420Z] echo Agent pid 38 killed; [2023-05-03T04:03:30.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-03T04:03:30.528Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T04:03:30.528Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T04:03:30.637Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T04:03:30.636Z] $ docker exec d7163f38af164bb3978f8169973d2c1a32bff2d99103a88dd2abba0646e96d04 ssh-agent [2023-05-03T04:03:30.752Z] SSH_AUTH_SOCK=/tmp/ssh-mipKfrEkXT9T/agent.71 [2023-05-03T04:03:30.752Z] SSH_AGENT_PID=77 [2023-05-03T04:03:30.756Z] Running ssh-add (command line suppressed) [2023-05-03T04:03:30.847Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-334@tmp/private_key_13394634957106422690.key (/w/workspace/undry_device-onvif-camera_PR-334@tmp/private_key_13394634957106422690.key) [2023-05-03T04:03:30.865Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T04:03:31.193Z] + git semver init [2023-05-03T04:03:31.453Z] 2023-05-03 04:03:31,350 [run_init] DEBUG init version:0.0.0 force:False [2023-05-03T04:03:31.453Z] 2023-05-03 04:03:31,350 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-334/.semver [2023-05-03T04:03:31.453Z] 2023-05-03 04:03:31,351 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-334/.semver [2023-05-03T04:03:31.453Z] 2023-05-03 04:03:31,351 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-334/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-334, universal_newlines=False, shell=None, istream=None) [2023-05-03T04:03:32.396Z] 2023-05-03 04:03:32,214 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-334/.git/info/exclude [2023-05-03T04:03:32.396Z] 2023-05-03 04:03:32,214 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-334/.semver/PR-334 with force:False [2023-05-03T04:03:32.396Z] 2023-05-03 04:03:32,214 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-334/.semver/PR-334 [2023-05-03T04:03:32.396Z] 2023-05-03 04:03:32,218 [execute] INFO git cat-file --batch-check [2023-05-03T04:03:32.396Z] 2023-05-03 04:03:32,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-334/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T04:03:32.396Z] 2023-05-03 04:03:32,224 [execute] INFO git cat-file --batch [2023-05-03T04:03:32.396Z] 2023-05-03 04:03:32,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-334/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T04:03:32.396Z] 2023-05-03 04:03:32,229 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-334/.semver/PR-334 [2023-05-03T04:03:32.396Z] 0.0.0 [Pipeline] } [2023-05-03T04:03:32.425Z] $ docker exec --env ******** --env ******** d7163f38af164bb3978f8169973d2c1a32bff2d99103a88dd2abba0646e96d04 ssh-agent -k [2023-05-03T04:03:32.519Z] unset SSH_AUTH_SOCK; [2023-05-03T04:03:32.520Z] unset SSH_AGENT_PID; [2023-05-03T04:03:32.520Z] echo Agent pid 77 killed; [2023-05-03T04:03:32.531Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-03T04:03:32.944Z] + git semver [Pipeline] } [2023-05-03T04:03:33.223Z] $ docker stop --time=1 d7163f38af164bb3978f8169973d2c1a32bff2d99103a88dd2abba0646e96d04 [2023-05-03T04:03:34.546Z] $ docker rm -f --volumes d7163f38af164bb3978f8169973d2c1a32bff2d99103a88dd2abba0646e96d04 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T04:03:34.956Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-03T04:03:35.223Z] Stashed 1 file(s) [Pipeline] echo [2023-05-03T04:03:35.241Z] [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-05-03T04:03:35.856Z] provisioning config files... [2023-05-03T04:03:35.866Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-334@tmp/config5575526085746338273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T04:03:36.213Z] ---> docker-login.sh [2023-05-03T04:03:36.213Z] nexus3.edgexfoundry.org:10001 [2023-05-03T04:03:36.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:03:36.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:03:36.213Z] Configure a credential helper to remove this warning. See [2023-05-03T04:03:36.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:03:36.213Z] [2023-05-03T04:03:36.213Z] Login Succeeded [2023-05-03T04:03:36.213Z] nexus3.edgexfoundry.org:10002 [2023-05-03T04:03:36.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:03:36.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:03:36.213Z] Configure a credential helper to remove this warning. See [2023-05-03T04:03:36.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:03:36.213Z] [2023-05-03T04:03:36.213Z] Login Succeeded [2023-05-03T04:03:36.213Z] nexus3.edgexfoundry.org:10003 [2023-05-03T04:03:36.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:03:36.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:03:36.472Z] Configure a credential helper to remove this warning. See [2023-05-03T04:03:36.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:03:36.472Z] [2023-05-03T04:03:36.472Z] Login Succeeded [2023-05-03T04:03:36.472Z] nexus3.edgexfoundry.org:10004 [2023-05-03T04:03:36.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:03:36.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:03:36.472Z] Configure a credential helper to remove this warning. See [2023-05-03T04:03:36.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:03:36.472Z] [2023-05-03T04:03:36.472Z] Login Succeeded [2023-05-03T04:03:36.472Z] docker.io [2023-05-03T04:03:36.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:03:36.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:03:36.730Z] Configure a credential helper to remove this warning. See [2023-05-03T04:03:36.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:03:36.730Z] [2023-05-03T04:03:36.730Z] Login Succeeded [2023-05-03T04:03:36.730Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T04:03:36.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-03T04:03:36.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T04:03:36.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T04:03:37.029Z] ========================================================= [2023-05-03T04:03:37.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-03T04:03:37.029Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T04:03:37.508Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-03T04:03:37.508Z] Sending build context to Docker daemon 21.43MB [2023-05-03T04:03:37.508Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T04:03:37.508Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-03T04:03:37.508Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-03T04:03:37.508Z] f56be85fc22e: Pulling fs layer [2023-05-03T04:03:37.508Z] 85791d961cd3: Pulling fs layer [2023-05-03T04:03:37.508Z] d694b5ae8c79: Pulling fs layer [2023-05-03T04:03:37.508Z] 9f32a84ed3da: Pulling fs layer [2023-05-03T04:03:37.508Z] 4d19c01a9841: Pulling fs layer [2023-05-03T04:03:37.508Z] 9325e15d5711: Pulling fs layer [2023-05-03T04:03:37.508Z] 556b6ee489ea: Pulling fs layer [2023-05-03T04:03:37.508Z] c5a4b2cf53e6: Pulling fs layer [2023-05-03T04:03:37.508Z] 9f32a84ed3da: Waiting [2023-05-03T04:03:37.508Z] 4d19c01a9841: Waiting [2023-05-03T04:03:37.508Z] 9325e15d5711: Waiting [2023-05-03T04:03:37.508Z] 556b6ee489ea: Waiting [2023-05-03T04:03:37.508Z] c5a4b2cf53e6: Waiting [2023-05-03T04:03:37.765Z] 85791d961cd3: Download complete [2023-05-03T04:03:37.765Z] 9f32a84ed3da: Verifying Checksum [2023-05-03T04:03:37.765Z] 9f32a84ed3da: Download complete [2023-05-03T04:03:37.765Z] 4d19c01a9841: Verifying Checksum [2023-05-03T04:03:37.765Z] 4d19c01a9841: Download complete [2023-05-03T04:03:37.765Z] f56be85fc22e: Verifying Checksum [2023-05-03T04:03:37.765Z] f56be85fc22e: Download complete [2023-05-03T04:03:37.765Z] 9325e15d5711: Verifying Checksum [2023-05-03T04:03:37.765Z] 9325e15d5711: Download complete [2023-05-03T04:03:37.765Z] f56be85fc22e: Pull complete [2023-05-03T04:03:38.024Z] 85791d961cd3: Pull complete [2023-05-03T04:03:38.024Z] c5a4b2cf53e6: Download complete [2023-05-03T04:03:38.283Z] d694b5ae8c79: Verifying Checksum [2023-05-03T04:03:38.283Z] d694b5ae8c79: Download complete [2023-05-03T04:03:38.541Z] 556b6ee489ea: Verifying Checksum [2023-05-03T04:03:38.541Z] 556b6ee489ea: Download complete [2023-05-03T04:03:41.823Z] d694b5ae8c79: Pull complete [2023-05-03T04:03:41.823Z] 9f32a84ed3da: Pull complete [2023-05-03T04:03:41.823Z] 4d19c01a9841: Pull complete [2023-05-03T04:03:41.823Z] 9325e15d5711: Pull complete [2023-05-03T04:03:44.352Z] 556b6ee489ea: Pull complete [2023-05-03T04:03:44.918Z] c5a4b2cf53e6: Pull complete [2023-05-03T04:03:44.918Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-03T04:03:44.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-03T04:03:44.918Z] ---> c4be618373d6 [2023-05-03T04:03:44.918Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-03T04:03:50.664Z] Still waiting to schedule task [2023-05-03T04:03:50.664Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-03T04:03:51.576Z] ---> Running in 1d7657fef124 [2023-05-03T04:03:51.576Z] Removing intermediate container 1d7657fef124 [2023-05-03T04:03:51.576Z] ---> c664e0f8b8a9 [2023-05-03T04:03:51.576Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T04:03:51.576Z] ---> Running in fbdc55c81347 [2023-05-03T04:03:51.836Z] Removing intermediate container fbdc55c81347 [2023-05-03T04:03:51.836Z] ---> 3c1cea0ff6b1 [2023-05-03T04:03:51.836Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-03T04:03:51.836Z] ---> Running in 79d80549ad3b [2023-05-03T04:03:51.836Z] Removing intermediate container 79d80549ad3b [2023-05-03T04:03:51.836Z] ---> a3476dd91429 [2023-05-03T04:03:51.836Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-03T04:03:51.836Z] ---> Running in 48b976a38604 [2023-05-03T04:03:52.100Z] Removing intermediate container 48b976a38604 [2023-05-03T04:03:52.100Z] ---> a4902386b3f6 [2023-05-03T04:03:52.100Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-03T04:03:52.100Z] ---> Running in ea2a68346be7 [2023-05-03T04:03:52.100Z] Removing intermediate container ea2a68346be7 [2023-05-03T04:03:52.100Z] ---> 3b3c1d750318 [2023-05-03T04:03:52.100Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T04:03:52.100Z] ---> Running in c020ae8253c3 [2023-05-03T04:03:52.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T04:03:52.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T04:03:52.622Z] OK: 265 MiB in 53 packages [2023-05-03T04:03:52.880Z] Removing intermediate container c020ae8253c3 [2023-05-03T04:03:52.880Z] ---> 790f61ac9723 [2023-05-03T04:03:52.880Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-03T04:03:52.880Z] ---> Running in 39b735ba364e [2023-05-03T04:03:53.140Z] Removing intermediate container 39b735ba364e [2023-05-03T04:03:53.140Z] ---> 0086df0df1b1 [2023-05-03T04:03:53.140Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-03T04:03:53.140Z] ---> f5463c661b0f [2023-05-03T04:03:53.140Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T04:03:53.140Z] ---> Running in 6eae7a177768 [2023-05-03T04:04:39.840Z] Removing intermediate container 6eae7a177768 [2023-05-03T04:04:39.840Z] ---> d6650af47233 [2023-05-03T04:04:39.840Z] Step 12/13 : COPY . . [2023-05-03T04:04:39.840Z] ---> 7e57ff79806d [2023-05-03T04:04:39.840Z] Step 13/13 : RUN ${MAKE} [2023-05-03T04:04:39.840Z] ---> Running in 7ca35208915d [2023-05-03T04:04:39.840Z] noop [2023-05-03T04:04:39.840Z] Removing intermediate container 7ca35208915d [2023-05-03T04:04:39.840Z] ---> 732a6db1d059 [2023-05-03T04:04:39.840Z] Successfully built 732a6db1d059 [2023-05-03T04:04:39.840Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T04:04:40.304Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T04:04:40.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T04:04:40.518Z] prd-ubuntu20.04-docker-8c-8g-12535 does not seem to be running inside a container [2023-05-03T04:04:40.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-334 -v /w/workspace/undry_device-onvif-camera_PR-334:/w/workspace/undry_device-onvif-camera_PR-334:rw,z -v /w/workspace/undry_device-onvif-camera_PR-334@tmp:/w/workspace/undry_device-onvif-camera_PR-334@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-05-03T04:04:40.901Z] $ docker top 36878c25581d60c648e7716f1290b3411b56d98fe12218e782866d34414f0ff3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T04:04:41.290Z] + go version [2023-05-03T04:04:41.290Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-03T04:04:41.321Z] $ docker stop --time=1 36878c25581d60c648e7716f1290b3411b56d98fe12218e782866d34414f0ff3 [2023-05-03T04:04:42.575Z] $ docker rm -f --volumes 36878c25581d60c648e7716f1290b3411b56d98fe12218e782866d34414f0ff3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T04:04:43.508Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T04:04:43.508Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T04:04:43.656Z] prd-ubuntu20.04-docker-8c-8g-12535 does not seem to be running inside a container [2023-05-03T04:04:43.684Z] $ 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-334 -v /w/workspace/undry_device-onvif-camera_PR-334:/w/workspace/undry_device-onvif-camera_PR-334:rw,z -v /w/workspace/undry_device-onvif-camera_PR-334@tmp:/w/workspace/undry_device-onvif-camera_PR-334@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-05-03T04:04:43.996Z] $ docker top 346f248afd52b892113ebbf453367c0db827152302698bd4eb9ce95f88874dc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T04:04:44.386Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-334 [Pipeline] fileExists [Pipeline] sh [2023-05-03T04:04:44.754Z] + make test [2023-05-03T04:04:44.755Z] go test ./... -coverprofile=coverage.out ./... [2023-05-03T04:04:48.942Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-03T04:04:55.501Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-05-03T04:04:55.501Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.75/internal/config/config.go:71:15: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal [2023-05-03T04:04:55.501Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.75/internal/config/config.go:72:15: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal [2023-05-03T04:04:55.501Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.75/internal/config/config.go:73:15: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal [2023-05-03T04:04:55.501Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.75/internal/config/config.go:74:15: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal [2023-05-03T04:04:58.786Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-03T04:05:00.687Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 31.6% of statements [2023-05-03T04:05:00.687Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.440s coverage: 86.5% of statements [2023-05-03T04:05:00.687Z] FAIL [2023-05-03T04:05:00.944Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-05-03T04:05:00.986Z] $ docker stop --time=1 346f248afd52b892113ebbf453367c0db827152302698bd4eb9ce95f88874dc8 [2023-05-03T04:05:04.543Z] $ docker rm -f --volumes 346f248afd52b892113ebbf453367c0db827152302698bd4eb9ce95f88874dc8 [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-05-03T04:05:05.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T04:05:05.970Z] [2023-05-03T04:05:05.970Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T04:05:06.389Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T04:05:06.389Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-03T04:05:06.389Z] 5eb5b503b376: Pulling fs layer [2023-05-03T04:05:06.389Z] 5c69ac0246d0: Pulling fs layer [2023-05-03T04:05:06.389Z] ec43610c2a17: Pulling fs layer [2023-05-03T04:05:06.389Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-03T04:05:06.389Z] 33b1e0a273af: Pulling fs layer [2023-05-03T04:05:06.389Z] 5d3b04190fa2: Pulling fs layer [2023-05-03T04:05:06.389Z] 2f39f015ded8: Pulling fs layer [2023-05-03T04:05:06.389Z] 5d3b04190fa2: Waiting [2023-05-03T04:05:06.389Z] 2f39f015ded8: Waiting [2023-05-03T04:05:06.389Z] 3a2ae6a8a46f: Waiting [2023-05-03T04:05:06.389Z] 33b1e0a273af: Waiting [2023-05-03T04:05:06.389Z] 5c69ac0246d0: Download complete [2023-05-03T04:05:06.389Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-03T04:05:06.389Z] 3a2ae6a8a46f: Download complete [2023-05-03T04:05:06.389Z] 33b1e0a273af: Verifying Checksum [2023-05-03T04:05:06.389Z] 33b1e0a273af: Download complete [2023-05-03T04:05:06.389Z] ec43610c2a17: Verifying Checksum [2023-05-03T04:05:06.389Z] ec43610c2a17: Download complete [2023-05-03T04:05:06.389Z] 5d3b04190fa2: Verifying Checksum [2023-05-03T04:05:06.389Z] 5d3b04190fa2: Download complete [2023-05-03T04:05:06.651Z] 5eb5b503b376: Verifying Checksum [2023-05-03T04:05:06.651Z] 5eb5b503b376: Download complete [2023-05-03T04:05:07.220Z] 2f39f015ded8: Download complete [2023-05-03T04:05:07.786Z] 5eb5b503b376: Pull complete [2023-05-03T04:05:07.786Z] 5c69ac0246d0: Pull complete [2023-05-03T04:05:08.359Z] ec43610c2a17: Pull complete [2023-05-03T04:05:08.359Z] 3a2ae6a8a46f: Pull complete [2023-05-03T04:05:08.622Z] 33b1e0a273af: Pull complete [2023-05-03T04:05:08.622Z] 5d3b04190fa2: Pull complete [2023-05-03T04:05:12.816Z] 2f39f015ded8: Pull complete [2023-05-03T04:05:12.816Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-03T04:05:12.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T04:05:12.816Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T04:05:13.055Z] prd-ubuntu20.04-docker-8c-8g-12535 does not seem to be running inside a container [2023-05-03T04:05:13.082Z] $ 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-334 -v /w/workspace/undry_device-onvif-camera_PR-334:/w/workspace/undry_device-onvif-camera_PR-334:rw,z -v /w/workspace/undry_device-onvif-camera_PR-334@tmp:/w/workspace/undry_device-onvif-camera_PR-334@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-05-03T04:05:17.954Z] $ docker top 0a9084d7f50f405f8bd3ff6b0b464cfe98491cbd1968df68e5481ab503d98da8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T04:05:18.409Z] ---> job-cost.sh [2023-05-03T04:05:18.409Z] lf-activate-venv: SKIPPING [2023-05-03T04:05:18.409Z] INFO: No Stack... [2023-05-03T04:05:18.672Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T04:05:19.247Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T04:05:19.562Z] + cat /w/workspace/undry_device-onvif-camera_PR-334/archives/cost.csv [2023-05-03T04:05:19.562Z] + cut -d, -f6 [Pipeline] lock [2023-05-03T04:05:19.602Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-334-1-stack-cost] [2023-05-03T04:05:19.607Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-334-1-stack-cost] did not exist. Created. [2023-05-03T04:05:19.607Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-334-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T04:05:20.002Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-03T04:05:20.061Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T04:05:20.082Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-334-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-03T04:05:20.153Z] $ docker stop --time=1 0a9084d7f50f405f8bd3ff6b0b464cfe98491cbd1968df68e5481ab503d98da8 [2023-05-03T04:05:21.323Z] $ docker rm -f --volumes 0a9084d7f50f405f8bd3ff6b0b464cfe98491cbd1968df68e5481ab503d98da8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-03T04:05:21.680Z] Failed in branch amd64 [2023-05-03T04:05:28.500Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12539 in /w/workspace/undry_device-onvif-camera_PR-334 [Pipeline] { [Pipeline] ws [2023-05-03T04:05:28.559Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-03T04:05:28.640Z] The recommended git tool is: git [2023-05-03T04:05:34.231Z] using credential edgex-jenkins-ssh [2023-05-03T04:05:34.256Z] Cloning the remote Git repository [2023-05-03T04:05:34.313Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-03T04:05:34.436Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-05-03T04:05:34.619Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-03T04:05:34.620Z] > git --version # timeout=10 [2023-05-03T04:05:34.640Z] > git --version # 'git version 2.25.1' [2023-05-03T04:05:34.643Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T04:05:34.832Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T04:05:36.376Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-03T04:05:36.401Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T04:05:37.404Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-03T04:05:37.444Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-03T04:05:37.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T04:05:37.465Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/334/head:refs/remotes/origin/PR-334 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-03T04:05:37.984Z] Merging remotes/origin/main commit ca50ff0226266dec6d343d3687e79f892dd3f78d into PR head commit 25622028c577b13c34d02148716f390ae53c75f0 [2023-05-03T04:05:38.378Z] Merge succeeded, producing 25622028c577b13c34d02148716f390ae53c75f0 [2023-05-03T04:05:38.379Z] Checking out Revision 25622028c577b13c34d02148716f390ae53c75f0 (PR-334) [2023-05-03T04:05:38.004Z] > git config core.sparsecheckout # timeout=10 [2023-05-03T04:05:38.089Z] > git checkout -f 25622028c577b13c34d02148716f390ae53c75f0 # timeout=10 [2023-05-03T04:05:38.278Z] > git remote # timeout=10 [2023-05-03T04:05:38.299Z] > git config --get remote.origin.url # timeout=10 [2023-05-03T04:05:38.318Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T04:05:38.331Z] > git merge ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 [2023-05-03T04:05:38.363Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-03T04:05:38.386Z] > git config core.sparsecheckout # timeout=10 [2023-05-03T04:05:38.399Z] > git checkout -f 25622028c577b13c34d02148716f390ae53c75f0 # timeout=10 [2023-05-03T04:05:39.132Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-05-03T04:05:39.191Z] > git --version # timeout=10 [2023-05-03T04:05:39.204Z] > git --version # 'git version 2.25.1' [2023-05-03T04:05:39.216Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T04:05:40.288Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-03T04:05:40.288Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T04:05:40.288Z] Dload Upload Total Spent Left Speed [2023-05-03T04:05:40.288Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 73705 0 --:--:-- --:--:-- --:--:-- 74133 [Pipeline] sh [2023-05-03T04:05:41.029Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-03T04:05:41.397Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-03T04:05:41.397Z] + sudo tee /etc/docker/daemon.new [2023-05-03T04:05:41.397Z] { [2023-05-03T04:05:41.397Z] "registry-mirrors": [ [2023-05-03T04:05:41.397Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-03T04:05:41.397Z] ], [2023-05-03T04:05:41.397Z] "bip": "10.250.0.254/24", [2023-05-03T04:05:41.397Z] "hosts": [ [2023-05-03T04:05:41.397Z] "tcp://0.0.0.0:5555", [2023-05-03T04:05:41.397Z] "unix:///var/run/docker.sock" [2023-05-03T04:05:41.397Z] ], [2023-05-03T04:05:41.397Z] "mtu": 1458, [2023-05-03T04:05:41.397Z] "selinux-enabled": true, [2023-05-03T04:05:41.397Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-03T04:05:41.397Z] } [Pipeline] sh [2023-05-03T04:05:41.747Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-03T04:05:42.108Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T04:06:00.432Z] provisioning config files... [2023-05-03T04:06:00.459Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config14857678012013161301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T04:06:00.851Z] ---> docker-login.sh [2023-05-03T04:06:00.851Z] nexus3.edgexfoundry.org:10001 [2023-05-03T04:06:01.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:06:01.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:06:01.441Z] Configure a credential helper to remove this warning. See [2023-05-03T04:06:01.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:06:01.441Z] [2023-05-03T04:06:01.441Z] Login Succeeded [2023-05-03T04:06:01.441Z] nexus3.edgexfoundry.org:10002 [2023-05-03T04:06:01.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:06:01.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:06:01.982Z] Configure a credential helper to remove this warning. See [2023-05-03T04:06:01.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:06:01.982Z] [2023-05-03T04:06:01.982Z] Login Succeeded [2023-05-03T04:06:01.982Z] nexus3.edgexfoundry.org:10003 [2023-05-03T04:06:01.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:06:02.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:06:02.255Z] Configure a credential helper to remove this warning. See [2023-05-03T04:06:02.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:06:02.255Z] [2023-05-03T04:06:02.255Z] Login Succeeded [2023-05-03T04:06:02.255Z] nexus3.edgexfoundry.org:10004 [2023-05-03T04:06:02.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:06:02.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:06:02.529Z] Configure a credential helper to remove this warning. See [2023-05-03T04:06:02.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:06:02.529Z] [2023-05-03T04:06:02.529Z] Login Succeeded [2023-05-03T04:06:02.529Z] docker.io [2023-05-03T04:06:02.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T04:06:03.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T04:06:03.072Z] Configure a credential helper to remove this warning. See [2023-05-03T04:06:03.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T04:06:03.072Z] [2023-05-03T04:06:03.072Z] Login Succeeded [2023-05-03T04:06:03.072Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T04:06:03.101Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-03T04:06:03.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T04:06:03.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T04:06:03.576Z] ========================================================= [2023-05-03T04:06:03.576Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-03T04:06:03.576Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T04:06:04.097Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-03T04:06:04.688Z] Sending build context to Docker daemon 14.13MB [2023-05-03T04:06:04.688Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T04:06:04.688Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-03T04:06:07.286Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-03T04:06:07.286Z] c41833b44d91: Pulling fs layer [2023-05-03T04:06:07.286Z] ed15518f5707: Pulling fs layer [2023-05-03T04:06:07.286Z] feae8fd75edb: Pulling fs layer [2023-05-03T04:06:07.286Z] 242c74f7c9fa: Pulling fs layer [2023-05-03T04:06:07.286Z] 3cdef696dda3: Pulling fs layer [2023-05-03T04:06:07.286Z] 2ced38df9373: Pulling fs layer [2023-05-03T04:06:07.286Z] 58f1dce35555: Pulling fs layer [2023-05-03T04:06:07.286Z] 242c74f7c9fa: Waiting [2023-05-03T04:06:07.286Z] 3cdef696dda3: Waiting [2023-05-03T04:06:07.286Z] 2ced38df9373: Waiting [2023-05-03T04:06:07.286Z] 58f1dce35555: Waiting [2023-05-03T04:06:07.286Z] ed15518f5707: Verifying Checksum [2023-05-03T04:06:07.286Z] ed15518f5707: Download complete [2023-05-03T04:06:07.286Z] 242c74f7c9fa: Verifying Checksum [2023-05-03T04:06:07.286Z] 242c74f7c9fa: Download complete [2023-05-03T04:06:07.286Z] 3cdef696dda3: Verifying Checksum [2023-05-03T04:06:07.286Z] 3cdef696dda3: Download complete [2023-05-03T04:06:07.286Z] c41833b44d91: Verifying Checksum [2023-05-03T04:06:07.286Z] c41833b44d91: Download complete [2023-05-03T04:06:08.254Z] c41833b44d91: Pull complete [2023-05-03T04:06:08.859Z] 58f1dce35555: Verifying Checksum [2023-05-03T04:06:08.859Z] 58f1dce35555: Download complete [2023-05-03T04:06:08.859Z] ed15518f5707: Pull complete [2023-05-03T04:06:09.835Z] feae8fd75edb: Verifying Checksum [2023-05-03T04:06:09.835Z] feae8fd75edb: Download complete [2023-05-03T04:06:10.106Z] 2ced38df9373: Verifying Checksum [2023-05-03T04:06:10.106Z] 2ced38df9373: Download complete [2023-05-03T04:06:22.566Z] feae8fd75edb: Pull complete [2023-05-03T04:06:22.566Z] 242c74f7c9fa: Pull complete [2023-05-03T04:06:22.566Z] 3cdef696dda3: Pull complete [2023-05-03T04:06:29.286Z] 2ced38df9373: Pull complete [2023-05-03T04:06:31.256Z] 58f1dce35555: Pull complete [2023-05-03T04:06:31.257Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-03T04:06:31.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-03T04:06:31.257Z] ---> fadd8f120f05 [2023-05-03T04:06:31.257Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-03T04:06:32.241Z] ---> Running in 335821e908c9 [2023-05-03T04:06:32.830Z] Removing intermediate container 335821e908c9 [2023-05-03T04:06:32.830Z] ---> deb3d4d3dbe5 [2023-05-03T04:06:32.830Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T04:06:32.830Z] ---> Running in 4d823e6a92ce [2023-05-03T04:06:33.101Z] Removing intermediate container 4d823e6a92ce [2023-05-03T04:06:33.101Z] ---> 90f425691304 [2023-05-03T04:06:33.101Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-03T04:06:33.101Z] ---> Running in c76839f7fbf0 [2023-05-03T04:06:33.372Z] Removing intermediate container c76839f7fbf0 [2023-05-03T04:06:33.372Z] ---> 73db607a4d9c [2023-05-03T04:06:33.372Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-03T04:06:33.657Z] ---> Running in a0b442b41086 [2023-05-03T04:06:33.930Z] Removing intermediate container a0b442b41086 [2023-05-03T04:06:33.930Z] ---> 430067740f0a [2023-05-03T04:06:33.930Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-03T04:06:33.930Z] ---> Running in c6075e0f23fc [2023-05-03T04:06:34.201Z] Removing intermediate container c6075e0f23fc [2023-05-03T04:06:34.201Z] ---> 49fba2791a83 [2023-05-03T04:06:34.201Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T04:06:34.473Z] ---> Running in 043658a756e6 [2023-05-03T04:06:35.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T04:06:36.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T04:06:37.436Z] OK: 263 MiB in 53 packages [2023-05-03T04:06:38.023Z] Removing intermediate container 043658a756e6 [2023-05-03T04:06:38.023Z] ---> c1923d923b03 [2023-05-03T04:06:38.023Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-03T04:06:38.023Z] ---> Running in 60fe568dbf48 [2023-05-03T04:06:38.296Z] Removing intermediate container 60fe568dbf48 [2023-05-03T04:06:38.296Z] ---> ed6cdefa3038 [2023-05-03T04:06:38.296Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-03T04:06:38.893Z] ---> 206f6d768fb2 [2023-05-03T04:06:38.893Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T04:06:38.893Z] ---> Running in a7a80e51627a [2023-05-03T04:07:46.785Z] Removing intermediate container a7a80e51627a [2023-05-03T04:07:46.785Z] ---> e015adc45c4a [2023-05-03T04:07:46.785Z] Step 12/13 : COPY . . [2023-05-03T04:07:46.785Z] ---> 53291ac8ca44 [2023-05-03T04:07:46.785Z] Step 13/13 : RUN ${MAKE} [2023-05-03T04:07:46.785Z] ---> Running in d38b4367d8a0 [2023-05-03T04:07:46.785Z] noop [2023-05-03T04:07:46.785Z] Removing intermediate container d38b4367d8a0 [2023-05-03T04:07:46.785Z] ---> 18d70c47eb8b [2023-05-03T04:07:46.785Z] Successfully built 18d70c47eb8b [2023-05-03T04:07:46.785Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T04:07:47.273Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T04:07:47.273Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T04:07:47.571Z] prd-ubuntu20.04-docker-arm64-4c-16g-12539 does not seem to be running inside a container [2023-05-03T04:07:47.646Z] $ 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-05-03T04:07:48.887Z] $ docker top 87e03d39aa1ce6cf6ef1aed58d39b3435a0d0deb40273630cd312da2e15170e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T04:07:49.772Z] + go version [2023-05-03T04:07:49.772Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-03T04:07:49.805Z] $ docker stop --time=1 87e03d39aa1ce6cf6ef1aed58d39b3435a0d0deb40273630cd312da2e15170e5 [2023-05-03T04:07:53.930Z] $ docker rm -f --volumes 87e03d39aa1ce6cf6ef1aed58d39b3435a0d0deb40273630cd312da2e15170e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T04:07:54.795Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T04:07:54.795Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T04:07:55.065Z] prd-ubuntu20.04-docker-arm64-4c-16g-12539 does not seem to be running inside a container [2023-05-03T04:07:55.126Z] $ 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-05-03T04:07:56.287Z] $ docker top 67a8d639964170cb18479a1c8b20f77858bb2b020926a9131c8474b04e7d24df -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T04:07:57.173Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-03T04:07:57.573Z] + make test [2023-05-03T04:07:57.573Z] go test ./... -coverprofile=coverage.out ./... [2023-05-03T04:08:36.473Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-03T04:09:32.887Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-05-03T04:09:32.887Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.75/internal/config/config.go:71:15: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal [2023-05-03T04:09:32.887Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.75/internal/config/config.go:72:15: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal [2023-05-03T04:09:32.887Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.75/internal/config/config.go:73:15: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal [2023-05-03T04:09:32.887Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.75/internal/config/config.go:74:15: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal [2023-05-03T04:10:54.581Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-03T04:10:54.581Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.201s coverage: 31.6% of statements [2023-05-03T04:11:21.297Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.819s coverage: 86.5% of statements [2023-05-03T04:11:21.297Z] FAIL [2023-05-03T04:11:21.297Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-05-03T04:11:21.343Z] $ docker stop --time=1 67a8d639964170cb18479a1c8b20f77858bb2b020926a9131c8474b04e7d24df [2023-05-03T04:11:23.251Z] $ docker rm -f --volumes 67a8d639964170cb18479a1c8b20f77858bb2b020926a9131c8474b04e7d24df [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-05-03T04:11:25.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T04:11:25.179Z] [2023-05-03T04:11:25.179Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T04:11:25.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T04:11:25.874Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-03T04:11:25.874Z] 8998bd30e6a1: Pulling fs layer [2023-05-03T04:11:25.874Z] 04944245beec: Pulling fs layer [2023-05-03T04:11:25.874Z] 699f458cf7ca: Pulling fs layer [2023-05-03T04:11:25.874Z] 765212b225bb: Pulling fs layer [2023-05-03T04:11:25.874Z] f23df028b6ca: Pulling fs layer [2023-05-03T04:11:25.874Z] d65c8cfc05b1: Pulling fs layer [2023-05-03T04:11:25.874Z] 2437ff75d9bd: Pulling fs layer [2023-05-03T04:11:25.874Z] 765212b225bb: Waiting [2023-05-03T04:11:25.874Z] f23df028b6ca: Waiting [2023-05-03T04:11:25.874Z] d65c8cfc05b1: Waiting [2023-05-03T04:11:25.874Z] 2437ff75d9bd: Waiting [2023-05-03T04:11:25.874Z] 04944245beec: Verifying Checksum [2023-05-03T04:11:25.874Z] 04944245beec: Download complete [2023-05-03T04:11:25.874Z] 765212b225bb: Verifying Checksum [2023-05-03T04:11:25.874Z] 765212b225bb: Download complete [2023-05-03T04:11:26.146Z] f23df028b6ca: Download complete [2023-05-03T04:11:26.146Z] d65c8cfc05b1: Verifying Checksum [2023-05-03T04:11:26.146Z] d65c8cfc05b1: Download complete [2023-05-03T04:11:26.146Z] 699f458cf7ca: Verifying Checksum [2023-05-03T04:11:26.146Z] 699f458cf7ca: Download complete [2023-05-03T04:11:26.419Z] 8998bd30e6a1: Verifying Checksum [2023-05-03T04:11:26.419Z] 8998bd30e6a1: Download complete [2023-05-03T04:11:29.014Z] 2437ff75d9bd: Verifying Checksum [2023-05-03T04:11:29.014Z] 2437ff75d9bd: Download complete [2023-05-03T04:11:31.656Z] 8998bd30e6a1: Pull complete [2023-05-03T04:11:31.925Z] 04944245beec: Pull complete [2023-05-03T04:11:33.338Z] 699f458cf7ca: Pull complete [2023-05-03T04:11:33.611Z] 765212b225bb: Pull complete [2023-05-03T04:11:34.198Z] f23df028b6ca: Pull complete [2023-05-03T04:11:34.783Z] d65c8cfc05b1: Pull complete [2023-05-03T04:11:49.807Z] 2437ff75d9bd: Pull complete [2023-05-03T04:11:49.807Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-03T04:11:49.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T04:11:49.807Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T04:11:50.157Z] prd-ubuntu20.04-docker-arm64-4c-16g-12539 does not seem to be running inside a container [2023-05-03T04:11:50.231Z] $ 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-05-03T04:11:53.129Z] $ docker top f41754a4dfcc7887a61b3bf97a3c0487156a40c44bbefa7e8910ae44924b10c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T04:11:54.074Z] ---> job-cost.sh [2023-05-03T04:11:54.074Z] lf-activate-venv: SKIPPING [2023-05-03T04:11:54.074Z] INFO: No Stack... [2023-05-03T04:11:54.659Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-03T04:11:55.624Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T04:11:56.307Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-05-03T04:11:56.307Z] + cut -d, -f6 [Pipeline] lock [2023-05-03T04:11:56.414Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-334-1-stack-cost] [2023-05-03T04:11:56.419Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-334-1-stack-cost] did not exist. Created. [2023-05-03T04:11:56.420Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-334-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T04:11:57.197Z] /w/workspace/device-onvif-camera/1@tmp/durable-2f33e294/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-03T04:11:57.891Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-03T04:11:57.930Z] Warning: overwriting stash ‘stack-cost’ [2023-05-03T04:11:58.607Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T04:11:58.625Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-334-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-03T04:11:58.719Z] $ docker stop --time=1 f41754a4dfcc7887a61b3bf97a3c0487156a40c44bbefa7e8910ae44924b10c0 [2023-05-03T04:12:00.326Z] $ docker rm -f --volumes f41754a4dfcc7887a61b3bf97a3c0487156a40c44bbefa7e8910ae44924b10c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-03T04:12:01.144Z] 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-05-03T04:12:03.299Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-334/archives ] [2023-05-03T04:12:03.299Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-334/archives [2023-05-03T04:12:03.299Z] total 16 [2023-05-03T04:12:03.299Z] drwxr-xr-x 3 root root 4096 May 3 04:05 . [2023-05-03T04:12:03.299Z] drwxrwxr-x 11 jenkins jenkins 4096 May 3 04:05 .. [2023-05-03T04:12:03.299Z] drwxr-xr-x 2 root root 4096 May 3 04:05 cost [2023-05-03T04:12:03.299Z] -rw-r--r-- 1 root root 91 May 3 04:05 cost.csv [2023-05-03T04:12:03.299Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-334/archives [2023-05-03T04:12:03.299Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-334/archives [2023-05-03T04:12:03.299Z] total 16 [2023-05-03T04:12:03.299Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 04:05 . [2023-05-03T04:12:03.299Z] drwxrwxr-x 11 jenkins jenkins 4096 May 3 04:05 .. [2023-05-03T04:12:03.300Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 04:05 cost [2023-05-03T04:12:03.300Z] -rw-r--r-- 1 jenkins jenkins 91 May 3 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-03T04:12:03.641Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T04:12:04.526Z] ---> package-listing.sh [2023-05-03T04:12:04.526Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-03T04:12:04.526Z] ++ facter osfamily [2023-05-03T04:12:04.785Z] + OS_FAMILY=debian [2023-05-03T04:12:04.785Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-334 [2023-05-03T04:12:04.785Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-03T04:12:04.785Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-03T04:12:04.785Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-03T04:12:04.785Z] + PACKAGES=/tmp/packages_start.txt [2023-05-03T04:12:04.785Z] + '[' /w/workspace/undry_device-onvif-camera_PR-334 ']' [2023-05-03T04:12:04.785Z] + PACKAGES=/tmp/packages_end.txt [2023-05-03T04:12:04.785Z] + case "${OS_FAMILY}" in [2023-05-03T04:12:04.785Z] + dpkg -l [2023-05-03T04:12:04.785Z] + grep '^ii' [2023-05-03T04:12:04.785Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-03T04:12:04.785Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-03T04:12:04.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-03T04:12:04.785Z] + '[' /w/workspace/undry_device-onvif-camera_PR-334 ']' [2023-05-03T04:12:04.785Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-334/archives/ [2023-05-03T04:12:04.785Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-334/archives/ [Pipeline] echo [2023-05-03T04:12:04.821Z] 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-334/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-03T04:12:05.111Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T04:12:05.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T04:12:05.737Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T04:12:05.881Z] prd-ubuntu20.04-docker-8c-8g-12535 does not seem to be running inside a container [2023-05-03T04:12:05.903Z] $ 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-334/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-334 -v /w/workspace/undry_device-onvif-camera_PR-334:/w/workspace/undry_device-onvif-camera_PR-334:rw,z -v /w/workspace/undry_device-onvif-camera_PR-334@tmp:/w/workspace/undry_device-onvif-camera_PR-334@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-05-03T04:12:06.092Z] $ docker top e0979324a200a17e8e952be5750cc945c55dd79da1120c3d2e85d1aa6313ca94 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T04:12:06.475Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-03T04:12:06.888Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-03T04:12:07.206Z] + ls /var/log/sa-host [2023-05-03T04:12:07.207Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T04:12:07.511Z] provisioning config files... [2023-05-03T04:12:07.521Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-334@tmp/config2972034234311270205tmp [Pipeline] { [Pipeline] echo [2023-05-03T04:12:07.571Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T04:12:07.884Z] ---> create-netrc.sh [Pipeline] } [2023-05-03T04:12:07.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-03T04:12:08.325Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-03T04:12:08.362Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T04:12:08.688Z] ---> sudo-logs.sh [2023-05-03T04:12:08.688Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-03T04:12:08.776Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T04:12:09.093Z] ---> job-cost.sh [2023-05-03T04:12:09.093Z] lf-activate-venv: SKIPPING [2023-05-03T04:12:09.093Z] DEBUG: total: 0.2199999988079071 [2023-05-03T04:12:09.093Z] INFO: Retrieving Stack Cost... [2023-05-03T04:12:09.353Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T04:12:09.613Z] INFO: Archiving Costs [Pipeline] echo [2023-05-03T04:12:09.650Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T04:12:09.962Z] ---> logs-deploy.sh [2023-05-03T04:12:09.962Z] lf-activate-venv: SKIPPING [2023-05-03T04:12:09.962Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-334/1 [2023-05-03T04:12:09.962Z] INFO: archiving workspace using pattern(s): [2023-05-03T04:12:10.901Z] Archives upload complete. [2023-05-03T04:12:10.901Z] INFO: archiving logs to Nexus