Pull request #331 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cba8e39f316482f2aa0f61fe6b2b4937417c2111+ca50ff0226266dec6d343d3687e79f892dd3f78d (1936816508b281eab0dcbe711e81ab5d7bbccb60) 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-ssh4517463840000559765.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-ssh58154798895877975.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-331/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-331/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13426741433466687861.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-331/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6076359805026338343.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-ssh16513283208129232624.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-331/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-331/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2113547302099316706.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-12294 in /w/workspace/undry_device-onvif-camera_PR-331 [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-331 # 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/331/head:refs/remotes/origin/PR-331 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ca50ff0226266dec6d343d3687e79f892dd3f78d into PR head commit cba8e39f316482f2aa0f61fe6b2b4937417c2111 Merge succeeded, producing cba8e39f316482f2aa0f61fe6b2b4937417c2111 Checking out Revision cba8e39f316482f2aa0f61fe6b2b4937417c2111 (PR-331) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-02T04:01:59.811Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-02T04:01:59.987Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f cba8e39f316482f2aa0f61fe6b2b4937417c2111 # 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 cba8e39f316482f2aa0f61fe6b2b4937417c2111 # timeout=10 [Pipeline] echo [2023-05-02T04:02:00.089Z] ========================================================= [2023-05-02T04:02:00.089Z] EdgeX Global Pipelines Version Info [2023-05-02T04:02:00.089Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-02T04:02:00.837Z] ------------------- [2023-05-02T04:02:00.838Z] stable info: [2023-05-02T04:02:00.838Z] ------------------- [2023-05-02T04:02:00.838Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-02T04:02:00.838Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-02T04:02:00.838Z] Message: update stable to v1.0.248 [2023-05-02T04:02:01.409Z] ------------------- [2023-05-02T04:02:01.409Z] experimental info: [2023-05-02T04:02:01.409Z] ------------------- [2023-05-02T04:02:01.409Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-02T04:02:01.409Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-02T04:02:01.409Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-02T04:02:01.683Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-05-02T04:02:01.720Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-05-02T04:02:01.755Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-02T04:02:01.795Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-02T04:02:01.834Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-02T04:02:01.876Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-02T04:02:01.910Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-02T04:02:01.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-02T04:02:01.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-02T04:02:02.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-02T04:02:02.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-02T04:02:02.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-05-02T04:02:02.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-02T04:02:02.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-02T04:02:02.227Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-02T04:02:02.268Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-02T04:02:02.310Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-02T04:02:02.352Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-02T04:02:02.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-02T04:02:02.432Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-02T04:02:02.474Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-02T04:02:02.512Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-05-02T04:02:02.548Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-02T04:02:02.591Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-02T04:02:02.634Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-02T04:02:02.676Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-02T04:02:02.716Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-02T04:02:02.759Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-331 [Pipeline] echo [2023-05-02T04:02:02.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-331 [Pipeline] echo [2023-05-02T04:02:02.848Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-331 [Pipeline] echo [2023-05-02T04:02:02.901Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cba8e39f316482f2aa0f61fe6b2b4937417c2111 [Pipeline] echo [2023-05-02T04:02:02.944Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cba8e39 [Pipeline] echo [2023-05-02T04:02:02.988Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-02T04:02:03.104Z] provisioning config files... [2023-05-02T04:02:03.119Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-331@tmp/config5434151654318518345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T04:02:03.472Z] ---> docker-login.sh [2023-05-02T04:02:03.472Z] nexus3.edgexfoundry.org:10001 [2023-05-02T04:02:03.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:02:03.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:02:03.732Z] Configure a credential helper to remove this warning. See [2023-05-02T04:02:03.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:02:03.732Z] [2023-05-02T04:02:03.732Z] Login Succeeded [2023-05-02T04:02:03.732Z] nexus3.edgexfoundry.org:10002 [2023-05-02T04:02:03.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:02:03.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:02:03.994Z] Configure a credential helper to remove this warning. See [2023-05-02T04:02:03.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:02:03.994Z] [2023-05-02T04:02:03.994Z] Login Succeeded [2023-05-02T04:02:03.994Z] nexus3.edgexfoundry.org:10003 [2023-05-02T04:02:03.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:02:03.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:02:03.994Z] Configure a credential helper to remove this warning. See [2023-05-02T04:02:03.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:02:03.994Z] [2023-05-02T04:02:03.994Z] Login Succeeded [2023-05-02T04:02:03.994Z] nexus3.edgexfoundry.org:10004 [2023-05-02T04:02:03.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:02:04.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:02:04.257Z] Configure a credential helper to remove this warning. See [2023-05-02T04:02:04.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:02:04.257Z] [2023-05-02T04:02:04.257Z] Login Succeeded [2023-05-02T04:02:04.257Z] docker.io [2023-05-02T04:02:04.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:02:04.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:02:04.519Z] Configure a credential helper to remove this warning. See [2023-05-02T04:02:04.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:02:04.519Z] [2023-05-02T04:02:04.519Z] Login Succeeded [2023-05-02T04:02:04.519Z] ---> docker-login.sh ends [Pipeline] } [2023-05-02T04:02:04.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-02T04:02:05.178Z] + git rev-list -1 --merges cba8e39f316482f2aa0f61fe6b2b4937417c2111~1..cba8e39f316482f2aa0f61fe6b2b4937417c2111 [Pipeline] echo [2023-05-02T04:02:05.239Z] -----------> git rev-list -1 --merges cba8e39f316482f2aa0f61fe6b2b4937417c2111~1..cba8e39f316482f2aa0f61fe6b2b4937417c2111 cba8e39f316482f2aa0f61fe6b2b4937417c2111 [false] [Pipeline] sh [2023-05-02T04:02:05.557Z] + git log --format=format:%s -1 cba8e39f316482f2aa0f61fe6b2b4937417c2111 [Pipeline] echo [2023-05-02T04:02:05.593Z] ========================================================= [2023-05-02T04:02:05.593Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-02T04:02:05.593Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-02T04:02:06.044Z] + git log --format=format:%s -1 cba8e39f316482f2aa0f61fe6b2b4937417c2111 [Pipeline] echo [2023-05-02T04:02:06.073Z] [semverPrep] GIT_COMMIT: cba8e39f316482f2aa0f61fe6b2b4937417c2111, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-05-02T04:02:06.108Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-02T04:02:06.507Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-02T04:02:06.507Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-02T04:02:06.507Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-02T04:02:06.507Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-02T04:02:06.507Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-02T04:02:06.507Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-02T04:02:06.507Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T04:02:07.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-02T04:02:07.068Z] [2023-05-02T04:02:07.068Z] 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-02T04:02:07.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-02T04:02:07.441Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-02T04:02:07.441Z] b85a868b505f: Pulling fs layer [2023-05-02T04:02:07.441Z] e2be974225ed: Pulling fs layer [2023-05-02T04:02:07.441Z] 339a4e72a1f5: Pulling fs layer [2023-05-02T04:02:07.441Z] 988bab9f4d93: Pulling fs layer [2023-05-02T04:02:07.441Z] 1469e6f7b9e6: Pulling fs layer [2023-05-02T04:02:07.441Z] eaf3925da568: Pulling fs layer [2023-05-02T04:02:07.441Z] bab4dde63d76: Pulling fs layer [2023-05-02T04:02:07.441Z] bde34c3a00c8: Pulling fs layer [2023-05-02T04:02:07.441Z] b352a97aabf1: Pulling fs layer [2023-05-02T04:02:07.441Z] 4872d77fe225: Pulling fs layer [2023-05-02T04:02:07.441Z] 5851b861e8e6: Pulling fs layer [2023-05-02T04:02:07.441Z] 988bab9f4d93: Waiting [2023-05-02T04:02:07.441Z] 1469e6f7b9e6: Waiting [2023-05-02T04:02:07.441Z] b352a97aabf1: Waiting [2023-05-02T04:02:07.441Z] eaf3925da568: Waiting [2023-05-02T04:02:07.441Z] 4872d77fe225: Waiting [2023-05-02T04:02:07.441Z] bab4dde63d76: Waiting [2023-05-02T04:02:07.441Z] 5851b861e8e6: Waiting [2023-05-02T04:02:07.441Z] bde34c3a00c8: Waiting [2023-05-02T04:02:07.441Z] e2be974225ed: Download complete [2023-05-02T04:02:07.441Z] 988bab9f4d93: Download complete [2023-05-02T04:02:07.441Z] 339a4e72a1f5: Verifying Checksum [2023-05-02T04:02:07.441Z] 339a4e72a1f5: Download complete [2023-05-02T04:02:07.441Z] 1469e6f7b9e6: Verifying Checksum [2023-05-02T04:02:07.441Z] 1469e6f7b9e6: Download complete [2023-05-02T04:02:07.705Z] eaf3925da568: Verifying Checksum [2023-05-02T04:02:07.705Z] eaf3925da568: Download complete [2023-05-02T04:02:07.705Z] bde34c3a00c8: Verifying Checksum [2023-05-02T04:02:07.705Z] bde34c3a00c8: Download complete [2023-05-02T04:02:07.705Z] 4872d77fe225: Verifying Checksum [2023-05-02T04:02:07.705Z] 4872d77fe225: Download complete [2023-05-02T04:02:07.705Z] 5851b861e8e6: Verifying Checksum [2023-05-02T04:02:07.705Z] 5851b861e8e6: Download complete [2023-05-02T04:02:07.705Z] b85a868b505f: Verifying Checksum [2023-05-02T04:02:07.705Z] b85a868b505f: Download complete [2023-05-02T04:02:07.966Z] bab4dde63d76: Verifying Checksum [2023-05-02T04:02:07.966Z] bab4dde63d76: Download complete [2023-05-02T04:02:08.903Z] b85a868b505f: Pull complete [2023-05-02T04:02:09.161Z] e2be974225ed: Pull complete [2023-05-02T04:02:09.729Z] 339a4e72a1f5: Pull complete [2023-05-02T04:02:09.729Z] 988bab9f4d93: Pull complete [2023-05-02T04:02:09.988Z] 1469e6f7b9e6: Pull complete [2023-05-02T04:02:09.988Z] eaf3925da568: Pull complete [2023-05-02T04:02:11.891Z] bab4dde63d76: Pull complete [2023-05-02T04:02:11.891Z] bde34c3a00c8: Pull complete [2023-05-02T04:02:11.891Z] b352a97aabf1: Pull complete [2023-05-02T04:02:11.891Z] 4872d77fe225: Pull complete [2023-05-02T04:02:12.150Z] 5851b861e8e6: Pull complete [2023-05-02T04:02:12.150Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-02T04:02:12.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-02T04:02:12.150Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T04:02:12.384Z] prd-ubuntu20.04-docker-8c-8g-12294 does not seem to be running inside a container [2023-05-02T04:02:12.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-331 -v /w/workspace/undry_device-onvif-camera_PR-331:/w/workspace/undry_device-onvif-camera_PR-331:rw,z -v /w/workspace/undry_device-onvif-camera_PR-331@tmp:/w/workspace/undry_device-onvif-camera_PR-331@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-02T04:02:15.219Z] $ docker top 0e98ecf351563eb86f463d1dc7606cf1f0bc06ceb9f113b49fd6abc10f8a3bfb -eo pid,comm [2023-05-02T04:02:15.271Z] 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-02T04:02:15.272Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-02T04:02:15.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-02T04:02:15.397Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-02T04:02:15.507Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-02T04:02:15.514Z] $ docker exec 0e98ecf351563eb86f463d1dc7606cf1f0bc06ceb9f113b49fd6abc10f8a3bfb ssh-agent [2023-05-02T04:02:15.619Z] SSH_AUTH_SOCK=/tmp/ssh-ejOhdgFZC2Wd/agent.32 [2023-05-02T04:02:15.620Z] SSH_AGENT_PID=38 [2023-05-02T04:02:15.629Z] Running ssh-add (command line suppressed) [2023-05-02T04:02:15.756Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-331@tmp/private_key_11727494184807319666.key (/w/workspace/undry_device-onvif-camera_PR-331@tmp/private_key_11727494184807319666.key) [2023-05-02T04:02:15.769Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-02T04:02:16.097Z] + git tag --points-at HEAD [Pipeline] } [2023-05-02T04:02:16.123Z] $ docker exec --env ******** --env ******** 0e98ecf351563eb86f463d1dc7606cf1f0bc06ceb9f113b49fd6abc10f8a3bfb ssh-agent -k [2023-05-02T04:02:16.225Z] unset SSH_AUTH_SOCK; [2023-05-02T04:02:16.226Z] unset SSH_AGENT_PID; [2023-05-02T04:02:16.226Z] echo Agent pid 38 killed; [2023-05-02T04:02:16.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-02T04:02:16.311Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-02T04:02:16.311Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-02T04:02:16.418Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-02T04:02:16.423Z] $ docker exec 0e98ecf351563eb86f463d1dc7606cf1f0bc06ceb9f113b49fd6abc10f8a3bfb ssh-agent [2023-05-02T04:02:16.522Z] SSH_AUTH_SOCK=/tmp/ssh-inVnfzp3TvtE/agent.70 [2023-05-02T04:02:16.522Z] SSH_AGENT_PID=76 [2023-05-02T04:02:16.527Z] Running ssh-add (command line suppressed) [2023-05-02T04:02:16.632Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-331@tmp/private_key_595073220868209150.key (/w/workspace/undry_device-onvif-camera_PR-331@tmp/private_key_595073220868209150.key) [2023-05-02T04:02:16.641Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-02T04:02:16.970Z] + git semver init [2023-05-02T04:02:17.230Z] 2023-05-02 04:02:17,159 [run_init] DEBUG init version:0.0.0 force:False [2023-05-02T04:02:17.230Z] 2023-05-02 04:02:17,160 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-331/.semver [2023-05-02T04:02:17.230Z] 2023-05-02 04:02:17,160 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-331/.semver [2023-05-02T04:02:17.230Z] 2023-05-02 04:02:17,160 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-331/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-331, universal_newlines=False, shell=None, istream=None) [2023-05-02T04:02:18.168Z] 2023-05-02 04:02:18,090 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-331/.git/info/exclude [2023-05-02T04:02:18.168Z] 2023-05-02 04:02:18,090 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-331/.semver/PR-331 with force:False [2023-05-02T04:02:18.168Z] 2023-05-02 04:02:18,091 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-331/.semver/PR-331 [2023-05-02T04:02:18.168Z] 2023-05-02 04:02:18,095 [execute] INFO git cat-file --batch-check [2023-05-02T04:02:18.168Z] 2023-05-02 04:02:18,095 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-331/.semver, universal_newlines=False, shell=None, istream=) [2023-05-02T04:02:18.168Z] 2023-05-02 04:02:18,101 [execute] INFO git cat-file --batch [2023-05-02T04:02:18.169Z] 2023-05-02 04:02:18,101 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-331/.semver, universal_newlines=False, shell=None, istream=) [2023-05-02T04:02:18.169Z] 2023-05-02 04:02:18,106 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-331/.semver/PR-331 [2023-05-02T04:02:18.169Z] 0.0.0 [Pipeline] } [2023-05-02T04:02:18.200Z] $ docker exec --env ******** --env ******** 0e98ecf351563eb86f463d1dc7606cf1f0bc06ceb9f113b49fd6abc10f8a3bfb ssh-agent -k [2023-05-02T04:02:18.309Z] unset SSH_AUTH_SOCK; [2023-05-02T04:02:18.310Z] unset SSH_AGENT_PID; [2023-05-02T04:02:18.310Z] echo Agent pid 76 killed; [2023-05-02T04:02:18.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-02T04:02:18.714Z] + git semver [Pipeline] } [2023-05-02T04:02:18.997Z] $ docker stop --time=1 0e98ecf351563eb86f463d1dc7606cf1f0bc06ceb9f113b49fd6abc10f8a3bfb [2023-05-02T04:02:20.265Z] $ docker rm -f --volumes 0e98ecf351563eb86f463d1dc7606cf1f0bc06ceb9f113b49fd6abc10f8a3bfb [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-02T04:02:20.653Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-02T04:02:20.899Z] Stashed 1 file(s) [Pipeline] echo [2023-05-02T04:02:20.915Z] [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-02T04:02:21.511Z] provisioning config files... [2023-05-02T04:02:21.520Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-331@tmp/config10603801590162180915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T04:02:21.869Z] ---> docker-login.sh [2023-05-02T04:02:21.869Z] nexus3.edgexfoundry.org:10001 [2023-05-02T04:02:21.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:02:21.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:02:21.869Z] Configure a credential helper to remove this warning. See [2023-05-02T04:02:21.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:02:21.869Z] [2023-05-02T04:02:21.869Z] Login Succeeded [2023-05-02T04:02:21.869Z] nexus3.edgexfoundry.org:10002 [2023-05-02T04:02:21.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:02:21.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:02:21.869Z] Configure a credential helper to remove this warning. See [2023-05-02T04:02:21.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:02:21.869Z] [2023-05-02T04:02:21.869Z] Login Succeeded [2023-05-02T04:02:21.869Z] nexus3.edgexfoundry.org:10003 [2023-05-02T04:02:22.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:02:22.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:02:22.128Z] Configure a credential helper to remove this warning. See [2023-05-02T04:02:22.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:02:22.128Z] [2023-05-02T04:02:22.128Z] Login Succeeded [2023-05-02T04:02:22.128Z] nexus3.edgexfoundry.org:10004 [2023-05-02T04:02:22.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:02:22.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:02:22.128Z] Configure a credential helper to remove this warning. See [2023-05-02T04:02:22.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:02:22.128Z] [2023-05-02T04:02:22.128Z] Login Succeeded [2023-05-02T04:02:22.128Z] docker.io [2023-05-02T04:02:22.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:02:22.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:02:22.387Z] Configure a credential helper to remove this warning. See [2023-05-02T04:02:22.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:02:22.387Z] [2023-05-02T04:02:22.387Z] Login Succeeded [2023-05-02T04:02:22.387Z] ---> docker-login.sh ends [Pipeline] } [2023-05-02T04:02:22.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-02T04:02:22.627Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T04:02:22.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T04:02:22.692Z] ========================================================= [2023-05-02T04:02:22.692Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-02T04:02:22.692Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T04:02:23.156Z] + 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-02T04:02:23.156Z] Sending build context to Docker daemon 21.41MB [2023-05-02T04:02:23.156Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T04:02:23.156Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-02T04:02:23.156Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-02T04:02:23.156Z] f56be85fc22e: Pulling fs layer [2023-05-02T04:02:23.156Z] 85791d961cd3: Pulling fs layer [2023-05-02T04:02:23.156Z] d694b5ae8c79: Pulling fs layer [2023-05-02T04:02:23.156Z] 9f32a84ed3da: Pulling fs layer [2023-05-02T04:02:23.156Z] 4d19c01a9841: Pulling fs layer [2023-05-02T04:02:23.156Z] 9325e15d5711: Pulling fs layer [2023-05-02T04:02:23.156Z] 556b6ee489ea: Pulling fs layer [2023-05-02T04:02:23.156Z] c5a4b2cf53e6: Pulling fs layer [2023-05-02T04:02:23.156Z] 9f32a84ed3da: Waiting [2023-05-02T04:02:23.156Z] c5a4b2cf53e6: Waiting [2023-05-02T04:02:23.156Z] 556b6ee489ea: Waiting [2023-05-02T04:02:23.156Z] 4d19c01a9841: Waiting [2023-05-02T04:02:23.156Z] 9325e15d5711: Waiting [2023-05-02T04:02:23.416Z] 85791d961cd3: Download complete [2023-05-02T04:02:23.416Z] 9f32a84ed3da: Download complete [2023-05-02T04:02:23.416Z] 4d19c01a9841: Verifying Checksum [2023-05-02T04:02:23.416Z] 4d19c01a9841: Download complete [2023-05-02T04:02:23.416Z] f56be85fc22e: Download complete [2023-05-02T04:02:23.416Z] 9325e15d5711: Verifying Checksum [2023-05-02T04:02:23.416Z] 9325e15d5711: Download complete [2023-05-02T04:02:23.416Z] f56be85fc22e: Pull complete [2023-05-02T04:02:23.676Z] 85791d961cd3: Pull complete [2023-05-02T04:02:23.936Z] c5a4b2cf53e6: Verifying Checksum [2023-05-02T04:02:23.936Z] c5a4b2cf53e6: Download complete [2023-05-02T04:02:23.936Z] d694b5ae8c79: Verifying Checksum [2023-05-02T04:02:23.936Z] d694b5ae8c79: Download complete [2023-05-02T04:02:24.194Z] 556b6ee489ea: Verifying Checksum [2023-05-02T04:02:24.194Z] 556b6ee489ea: Download complete [2023-05-02T04:02:27.475Z] d694b5ae8c79: Pull complete [2023-05-02T04:02:27.475Z] 9f32a84ed3da: Pull complete [2023-05-02T04:02:27.475Z] 4d19c01a9841: Pull complete [2023-05-02T04:02:27.475Z] 9325e15d5711: Pull complete [2023-05-02T04:02:30.009Z] 556b6ee489ea: Pull complete [2023-05-02T04:02:30.577Z] c5a4b2cf53e6: Pull complete [2023-05-02T04:02:30.577Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-02T04:02:30.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-02T04:02:30.577Z] ---> c4be618373d6 [2023-05-02T04:02:30.577Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-02T04:02:33.864Z] ---> Running in 390b6de3014c [2023-05-02T04:02:33.864Z] Removing intermediate container 390b6de3014c [2023-05-02T04:02:33.864Z] ---> 95f11818ff37 [2023-05-02T04:02:33.864Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T04:02:33.864Z] ---> Running in 0d7ca7ea471c [2023-05-02T04:02:34.124Z] Removing intermediate container 0d7ca7ea471c [2023-05-02T04:02:34.124Z] ---> dc2092d69b65 [2023-05-02T04:02:34.124Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-02T04:02:34.124Z] ---> Running in a58fe1668730 [2023-05-02T04:02:34.124Z] Removing intermediate container a58fe1668730 [2023-05-02T04:02:34.124Z] ---> f88aadcc49e9 [2023-05-02T04:02:34.124Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-02T04:02:34.124Z] ---> Running in 4a489412bdae [2023-05-02T04:02:34.124Z] Removing intermediate container 4a489412bdae [2023-05-02T04:02:34.124Z] ---> 2d2e99aed45e [2023-05-02T04:02:34.124Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-02T04:02:34.382Z] ---> Running in 6a1fbf2cb010 [2023-05-02T04:02:34.382Z] Removing intermediate container 6a1fbf2cb010 [2023-05-02T04:02:34.382Z] ---> 27c5976209a0 [2023-05-02T04:02:34.382Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T04:02:34.382Z] ---> Running in 1ad0bae89ab5 [2023-05-02T04:02:34.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-02T04:02:34.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-02T04:02:34.900Z] OK: 265 MiB in 53 packages [2023-05-02T04:02:35.469Z] Removing intermediate container 1ad0bae89ab5 [2023-05-02T04:02:35.469Z] ---> b86093351558 [2023-05-02T04:02:35.469Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-02T04:02:35.469Z] ---> Running in aaa2bcea2c12 [2023-05-02T04:02:35.469Z] Removing intermediate container aaa2bcea2c12 [2023-05-02T04:02:35.469Z] ---> d9dc30781f95 [2023-05-02T04:02:35.469Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-02T04:02:35.469Z] ---> 6d90ad7053ae [2023-05-02T04:02:35.469Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T04:02:35.469Z] ---> Running in d90ea65ac932 [2023-05-02T04:02:36.332Z] Still waiting to schedule task [2023-05-02T04:02:36.332Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-02T04:03:22.143Z] Removing intermediate container d90ea65ac932 [2023-05-02T04:03:22.143Z] ---> 06d121dd9d6b [2023-05-02T04:03:22.143Z] Step 12/13 : COPY . . [2023-05-02T04:03:22.143Z] ---> 294ffa36c6f3 [2023-05-02T04:03:22.143Z] Step 13/13 : RUN ${MAKE} [2023-05-02T04:03:22.143Z] ---> Running in 98c8eee64654 [2023-05-02T04:03:22.143Z] noop [2023-05-02T04:03:22.143Z] Removing intermediate container 98c8eee64654 [2023-05-02T04:03:22.143Z] ---> d01b7766c869 [2023-05-02T04:03:22.143Z] Successfully built d01b7766c869 [2023-05-02T04:03:22.144Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T04:03:22.581Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-02T04:03:22.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T04:03:22.744Z] prd-ubuntu20.04-docker-8c-8g-12294 does not seem to be running inside a container [2023-05-02T04:03:22.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-331 -v /w/workspace/undry_device-onvif-camera_PR-331:/w/workspace/undry_device-onvif-camera_PR-331:rw,z -v /w/workspace/undry_device-onvif-camera_PR-331@tmp:/w/workspace/undry_device-onvif-camera_PR-331@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-02T04:03:23.114Z] $ docker top 5cc29442beb3797d9a266ccc7e8744aa390f049b990a37ecebc3e648368d4095 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T04:03:23.504Z] + go version [2023-05-02T04:03:23.504Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-02T04:03:23.537Z] $ docker stop --time=1 5cc29442beb3797d9a266ccc7e8744aa390f049b990a37ecebc3e648368d4095 [2023-05-02T04:03:24.792Z] $ docker rm -f --volumes 5cc29442beb3797d9a266ccc7e8744aa390f049b990a37ecebc3e648368d4095 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T04:03:25.515Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-02T04:03:25.515Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T04:03:25.671Z] prd-ubuntu20.04-docker-8c-8g-12294 does not seem to be running inside a container [2023-05-02T04:03:25.697Z] $ 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-331 -v /w/workspace/undry_device-onvif-camera_PR-331:/w/workspace/undry_device-onvif-camera_PR-331:rw,z -v /w/workspace/undry_device-onvif-camera_PR-331@tmp:/w/workspace/undry_device-onvif-camera_PR-331@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-02T04:03:26.028Z] $ docker top 9fb238d06316a07f1de796b3e77bae96c791cd1472559c56412bc788c937d8ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T04:03:26.415Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-331 [Pipeline] fileExists [Pipeline] sh [2023-05-02T04:03:26.776Z] + make test [2023-05-02T04:03:26.776Z] go test ./... -coverprofile=coverage.out ./... [2023-05-02T04:03:30.968Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-02T04:03:37.520Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-05-02T04:03:37.520Z] /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-02T04:03:37.520Z] /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-02T04:03:37.520Z] /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-02T04:03:37.520Z] /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-02T04:03:40.800Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-02T04:03:42.186Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 31.6% of statements [2023-05-02T04:03:42.186Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.048s coverage: 86.5% of statements [2023-05-02T04:03:42.186Z] FAIL [2023-05-02T04:03:42.444Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-05-02T04:03:42.493Z] $ docker stop --time=1 9fb238d06316a07f1de796b3e77bae96c791cd1472559c56412bc788c937d8ce [2023-05-02T04:03:45.224Z] $ docker rm -f --volumes 9fb238d06316a07f1de796b3e77bae96c791cd1472559c56412bc788c937d8ce [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-02T04:03:46.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T04:03:46.557Z] [2023-05-02T04:03:46.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T04:03:46.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T04:03:46.928Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-02T04:03:46.928Z] 5eb5b503b376: Pulling fs layer [2023-05-02T04:03:46.928Z] 5c69ac0246d0: Pulling fs layer [2023-05-02T04:03:46.928Z] ec43610c2a17: Pulling fs layer [2023-05-02T04:03:46.928Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-02T04:03:46.928Z] 33b1e0a273af: Pulling fs layer [2023-05-02T04:03:46.928Z] 5d3b04190fa2: Pulling fs layer [2023-05-02T04:03:46.928Z] 2f39f015ded8: Pulling fs layer [2023-05-02T04:03:46.928Z] 33b1e0a273af: Waiting [2023-05-02T04:03:46.928Z] 5d3b04190fa2: Waiting [2023-05-02T04:03:46.928Z] 2f39f015ded8: Waiting [2023-05-02T04:03:46.928Z] 3a2ae6a8a46f: Waiting [2023-05-02T04:03:46.928Z] 5c69ac0246d0: Verifying Checksum [2023-05-02T04:03:46.928Z] 5c69ac0246d0: Download complete [2023-05-02T04:03:46.928Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-02T04:03:46.928Z] 3a2ae6a8a46f: Download complete [2023-05-02T04:03:46.928Z] 33b1e0a273af: Verifying Checksum [2023-05-02T04:03:46.928Z] 33b1e0a273af: Download complete [2023-05-02T04:03:46.928Z] ec43610c2a17: Verifying Checksum [2023-05-02T04:03:46.928Z] ec43610c2a17: Download complete [2023-05-02T04:03:46.928Z] 5d3b04190fa2: Verifying Checksum [2023-05-02T04:03:46.928Z] 5d3b04190fa2: Download complete [2023-05-02T04:03:47.185Z] 5eb5b503b376: Verifying Checksum [2023-05-02T04:03:47.185Z] 5eb5b503b376: Download complete [2023-05-02T04:03:47.755Z] 2f39f015ded8: Download complete [2023-05-02T04:03:48.320Z] 5eb5b503b376: Pull complete [2023-05-02T04:03:48.321Z] 5c69ac0246d0: Pull complete [2023-05-02T04:03:48.886Z] ec43610c2a17: Pull complete [2023-05-02T04:03:48.886Z] 3a2ae6a8a46f: Pull complete [2023-05-02T04:03:49.144Z] 33b1e0a273af: Pull complete [2023-05-02T04:03:49.144Z] 5d3b04190fa2: Pull complete [2023-05-02T04:03:53.327Z] 2f39f015ded8: Pull complete [2023-05-02T04:03:53.327Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-02T04:03:53.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T04:03:53.327Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T04:03:53.532Z] prd-ubuntu20.04-docker-8c-8g-12294 does not seem to be running inside a container [2023-05-02T04:03:53.560Z] $ 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-331 -v /w/workspace/undry_device-onvif-camera_PR-331:/w/workspace/undry_device-onvif-camera_PR-331:rw,z -v /w/workspace/undry_device-onvif-camera_PR-331@tmp:/w/workspace/undry_device-onvif-camera_PR-331@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-02T04:03:56.574Z] $ docker top a4cb9ddda88f2115cf4b6727073628f3651491822b8493d1efeac910de7c088e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T04:03:57.043Z] ---> job-cost.sh [2023-05-02T04:03:57.044Z] lf-activate-venv: SKIPPING [2023-05-02T04:03:57.044Z] INFO: No Stack... [2023-05-02T04:03:57.303Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-02T04:03:57.562Z] INFO: Archiving Costs [Pipeline] sh [2023-05-02T04:03:57.875Z] + cat /w/workspace/undry_device-onvif-camera_PR-331/archives/cost.csv [2023-05-02T04:03:57.875Z] + cut -d, -f6 [Pipeline] lock [2023-05-02T04:03:57.914Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-331-1-stack-cost] [2023-05-02T04:03:57.920Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-331-1-stack-cost] did not exist. Created. [2023-05-02T04:03:57.920Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-331-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-02T04:03:58.324Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-02T04:03:58.391Z] Stashed 1 file(s) [Pipeline] } [2023-05-02T04:03:58.413Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-331-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-02T04:03:58.502Z] $ docker stop --time=1 a4cb9ddda88f2115cf4b6727073628f3651491822b8493d1efeac910de7c088e [2023-05-02T04:03:59.642Z] $ docker rm -f --volumes a4cb9ddda88f2115cf4b6727073628f3651491822b8493d1efeac910de7c088e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-02T04:04:00.003Z] Failed in branch amd64 [2023-05-02T04:04:11.342Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12296 in /w/workspace/undry_device-onvif-camera_PR-331 [Pipeline] { [Pipeline] ws [2023-05-02T04:04:11.401Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-02T04:04:11.503Z] The recommended git tool is: git [2023-05-02T04:04:16.755Z] using credential edgex-jenkins-ssh [2023-05-02T04:04:16.773Z] Cloning the remote Git repository [2023-05-02T04:04:16.815Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-02T04:04:16.940Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-05-02T04:04:17.091Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-02T04:04:17.092Z] > git --version # timeout=10 [2023-05-02T04:04:17.113Z] > git --version # 'git version 2.25.1' [2023-05-02T04:04:17.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-02T04:04:17.275Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-02T04:04:18.670Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-02T04:04:18.692Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-02T04:04:20.235Z] Merging remotes/origin/main commit ca50ff0226266dec6d343d3687e79f892dd3f78d into PR head commit cba8e39f316482f2aa0f61fe6b2b4937417c2111 [2023-05-02T04:04:19.660Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-02T04:04:19.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-02T04:04:19.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-02T04:04:19.714Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-02T04:04:20.246Z] > git config core.sparsecheckout # timeout=10 [2023-05-02T04:04:20.314Z] > git checkout -f cba8e39f316482f2aa0f61fe6b2b4937417c2111 # timeout=10 [2023-05-02T04:04:20.601Z] Merge succeeded, producing cba8e39f316482f2aa0f61fe6b2b4937417c2111 [2023-05-02T04:04:20.602Z] Checking out Revision cba8e39f316482f2aa0f61fe6b2b4937417c2111 (PR-331) [2023-05-02T04:04:21.207Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-05-02T04:04:21.251Z] > git --version # timeout=10 [2023-05-02T04:04:21.265Z] > git --version # 'git version 2.25.1' [2023-05-02T04:04:21.299Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [2023-05-02T04:04:20.491Z] > git remote # timeout=10 [2023-05-02T04:04:20.508Z] > git config --get remote.origin.url # timeout=10 [2023-05-02T04:04:20.534Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-02T04:04:20.549Z] > git merge ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 [2023-05-02T04:04:20.576Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-02T04:04:20.601Z] > git config core.sparsecheckout # timeout=10 [2023-05-02T04:04:20.616Z] > git checkout -f cba8e39f316482f2aa0f61fe6b2b4937417c2111 # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-02T04:04:22.370Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-02T04:04:22.370Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-02T04:04:22.370Z] Dload Upload Total Spent Left Speed [2023-05-02T04:04:22.370Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-05-02T04:04:22.938Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-02T04:04:23.281Z] + sudo tee /etc/docker/daemon.new [2023-05-02T04:04:23.281Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-02T04:04:23.281Z] { [2023-05-02T04:04:23.281Z] "registry-mirrors": [ [2023-05-02T04:04:23.281Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-02T04:04:23.281Z] ], [2023-05-02T04:04:23.281Z] "bip": "10.250.0.254/24", [2023-05-02T04:04:23.281Z] "hosts": [ [2023-05-02T04:04:23.281Z] "tcp://0.0.0.0:5555", [2023-05-02T04:04:23.281Z] "unix:///var/run/docker.sock" [2023-05-02T04:04:23.281Z] ], [2023-05-02T04:04:23.281Z] "mtu": 1458, [2023-05-02T04:04:23.281Z] "selinux-enabled": true, [2023-05-02T04:04:23.281Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-02T04:04:23.281Z] } [Pipeline] sh [2023-05-02T04:04:23.625Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-02T04:04:23.984Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-02T04:04:42.313Z] provisioning config files... [2023-05-02T04:04:42.347Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5650943831811531761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T04:04:42.771Z] ---> docker-login.sh [2023-05-02T04:04:42.771Z] nexus3.edgexfoundry.org:10001 [2023-05-02T04:04:43.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:04:43.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:04:43.375Z] Configure a credential helper to remove this warning. See [2023-05-02T04:04:43.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:04:43.375Z] [2023-05-02T04:04:43.375Z] Login Succeeded [2023-05-02T04:04:43.375Z] nexus3.edgexfoundry.org:10002 [2023-05-02T04:04:43.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:04:43.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:04:43.922Z] Configure a credential helper to remove this warning. See [2023-05-02T04:04:43.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:04:43.922Z] [2023-05-02T04:04:43.922Z] Login Succeeded [2023-05-02T04:04:43.922Z] nexus3.edgexfoundry.org:10003 [2023-05-02T04:04:44.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:04:44.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:04:44.199Z] Configure a credential helper to remove this warning. See [2023-05-02T04:04:44.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:04:44.199Z] [2023-05-02T04:04:44.199Z] Login Succeeded [2023-05-02T04:04:44.199Z] nexus3.edgexfoundry.org:10004 [2023-05-02T04:04:44.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:04:44.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:04:44.747Z] Configure a credential helper to remove this warning. See [2023-05-02T04:04:44.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:04:44.747Z] [2023-05-02T04:04:44.747Z] Login Succeeded [2023-05-02T04:04:44.747Z] docker.io [2023-05-02T04:04:45.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T04:04:45.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T04:04:45.291Z] Configure a credential helper to remove this warning. See [2023-05-02T04:04:45.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T04:04:45.291Z] [2023-05-02T04:04:45.291Z] Login Succeeded [2023-05-02T04:04:45.291Z] ---> docker-login.sh ends [Pipeline] } [2023-05-02T04:04:45.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-02T04:04:45.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T04:04:45.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T04:04:45.802Z] ========================================================= [2023-05-02T04:04:45.802Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-02T04:04:45.802Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T04:04:46.310Z] + 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-02T04:04:46.909Z] Sending build context to Docker daemon 14.12MB [2023-05-02T04:04:46.909Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T04:04:46.909Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-02T04:04:46.909Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-02T04:04:46.909Z] c41833b44d91: Pulling fs layer [2023-05-02T04:04:46.909Z] ed15518f5707: Pulling fs layer [2023-05-02T04:04:46.909Z] feae8fd75edb: Pulling fs layer [2023-05-02T04:04:46.909Z] 242c74f7c9fa: Pulling fs layer [2023-05-02T04:04:46.909Z] 3cdef696dda3: Pulling fs layer [2023-05-02T04:04:46.909Z] 2ced38df9373: Pulling fs layer [2023-05-02T04:04:46.909Z] 58f1dce35555: Pulling fs layer [2023-05-02T04:04:46.909Z] 3cdef696dda3: Waiting [2023-05-02T04:04:46.909Z] 242c74f7c9fa: Waiting [2023-05-02T04:04:46.909Z] 2ced38df9373: Waiting [2023-05-02T04:04:46.909Z] ed15518f5707: Verifying Checksum [2023-05-02T04:04:46.909Z] ed15518f5707: Download complete [2023-05-02T04:04:47.181Z] 242c74f7c9fa: Verifying Checksum [2023-05-02T04:04:47.181Z] 242c74f7c9fa: Download complete [2023-05-02T04:04:47.181Z] 3cdef696dda3: Download complete [2023-05-02T04:04:47.181Z] c41833b44d91: Verifying Checksum [2023-05-02T04:04:47.181Z] c41833b44d91: Download complete [2023-05-02T04:04:48.172Z] c41833b44d91: Pull complete [2023-05-02T04:04:48.455Z] 58f1dce35555: Verifying Checksum [2023-05-02T04:04:48.455Z] 58f1dce35555: Download complete [2023-05-02T04:04:49.889Z] feae8fd75edb: Verifying Checksum [2023-05-02T04:04:49.889Z] feae8fd75edb: Download complete [2023-05-02T04:04:49.889Z] 2ced38df9373: Verifying Checksum [2023-05-02T04:04:49.889Z] 2ced38df9373: Download complete [2023-05-02T04:04:50.558Z] ed15518f5707: Pull complete [2023-05-02T04:05:05.613Z] feae8fd75edb: Pull complete [2023-05-02T04:05:05.613Z] 242c74f7c9fa: Pull complete [2023-05-02T04:05:05.613Z] 3cdef696dda3: Pull complete [2023-05-02T04:05:10.996Z] 2ced38df9373: Pull complete [2023-05-02T04:05:13.588Z] 58f1dce35555: Pull complete [2023-05-02T04:05:13.588Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-02T04:05:13.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-02T04:05:13.588Z] ---> fadd8f120f05 [2023-05-02T04:05:13.588Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-02T04:05:15.616Z] ---> Running in a6266b33db09 [2023-05-02T04:05:15.616Z] Removing intermediate container a6266b33db09 [2023-05-02T04:05:15.616Z] ---> 9991684670ba [2023-05-02T04:05:15.616Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T04:05:15.616Z] ---> Running in f725174c1a72 [2023-05-02T04:05:16.207Z] Removing intermediate container f725174c1a72 [2023-05-02T04:05:16.207Z] ---> 2f2e88536ef0 [2023-05-02T04:05:16.207Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-02T04:05:16.207Z] ---> Running in 4a6965d8ba59 [2023-05-02T04:05:16.478Z] Removing intermediate container 4a6965d8ba59 [2023-05-02T04:05:16.478Z] ---> a3a13f4aaec6 [2023-05-02T04:05:16.478Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-02T04:05:16.478Z] ---> Running in e8f53a727a17 [2023-05-02T04:05:16.747Z] Removing intermediate container e8f53a727a17 [2023-05-02T04:05:16.747Z] ---> a6d439a532e3 [2023-05-02T04:05:16.747Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-02T04:05:17.017Z] ---> Running in bf12780e5ad9 [2023-05-02T04:05:17.291Z] Removing intermediate container bf12780e5ad9 [2023-05-02T04:05:17.291Z] ---> 029aba71b509 [2023-05-02T04:05:17.291Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T04:05:17.568Z] ---> Running in 1d10ca8d720a [2023-05-02T04:05:18.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-02T04:05:19.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-02T04:05:20.071Z] OK: 263 MiB in 53 packages [2023-05-02T04:05:21.037Z] Removing intermediate container 1d10ca8d720a [2023-05-02T04:05:21.037Z] ---> f5801d7f71e0 [2023-05-02T04:05:21.037Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-02T04:05:21.037Z] ---> Running in 7bf173743b58 [2023-05-02T04:05:21.306Z] Removing intermediate container 7bf173743b58 [2023-05-02T04:05:21.306Z] ---> 211de7330511 [2023-05-02T04:05:21.306Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-02T04:05:21.896Z] ---> 4454e7306366 [2023-05-02T04:05:21.896Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T04:05:22.167Z] ---> Running in af661aefdb4d [2023-05-02T04:06:30.090Z] Removing intermediate container af661aefdb4d [2023-05-02T04:06:30.090Z] ---> cee36fd24aa3 [2023-05-02T04:06:30.090Z] Step 12/13 : COPY . . [2023-05-02T04:06:30.090Z] ---> eb3a722be3e8 [2023-05-02T04:06:30.090Z] Step 13/13 : RUN ${MAKE} [2023-05-02T04:06:30.090Z] ---> Running in e53d99f3f0aa [2023-05-02T04:06:30.090Z] noop [2023-05-02T04:06:30.090Z] Removing intermediate container e53d99f3f0aa [2023-05-02T04:06:30.090Z] ---> f321ebdfb41f [2023-05-02T04:06:30.090Z] Successfully built f321ebdfb41f [2023-05-02T04:06:30.090Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T04:06:30.567Z] + docker inspect -f . ci-base-image-arm64 [2023-05-02T04:06:30.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T04:06:30.846Z] prd-ubuntu20.04-docker-arm64-4c-16g-12296 does not seem to be running inside a container [2023-05-02T04:06:30.913Z] $ 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-02T04:06:32.146Z] $ docker top 57f977654f933b0303a51ccf66801f3cd30d656ef6a7f93c9dcdcac9ea28574c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T04:06:33.037Z] + go version [2023-05-02T04:06:33.037Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-02T04:06:33.080Z] $ docker stop --time=1 57f977654f933b0303a51ccf66801f3cd30d656ef6a7f93c9dcdcac9ea28574c [2023-05-02T04:06:36.070Z] $ docker rm -f --volumes 57f977654f933b0303a51ccf66801f3cd30d656ef6a7f93c9dcdcac9ea28574c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T04:06:36.890Z] + docker inspect -f . ci-base-image-arm64 [2023-05-02T04:06:36.890Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T04:06:37.139Z] prd-ubuntu20.04-docker-arm64-4c-16g-12296 does not seem to be running inside a container [2023-05-02T04:06:37.210Z] $ 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-02T04:06:38.337Z] $ docker top fd861ac1a7c6ecad90ed77e99cf9407f0655b925ce69f2f58ebcc735a2287937 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T04:06:38.894Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-02T04:06:39.600Z] + make test [2023-05-02T04:06:39.601Z] go test ./... -coverprofile=coverage.out ./... [2023-05-02T04:07:18.503Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-02T04:08:14.919Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-05-02T04:08:14.919Z] /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-02T04:08:14.919Z] /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-02T04:08:14.919Z] /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-02T04:08:14.919Z] /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-02T04:09:36.592Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-02T04:09:36.592Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.178s coverage: 31.6% of statements [2023-05-02T04:09:54.838Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.345s coverage: 86.5% of statements [2023-05-02T04:09:54.838Z] FAIL [2023-05-02T04:09:55.106Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-05-02T04:09:55.163Z] $ docker stop --time=1 fd861ac1a7c6ecad90ed77e99cf9407f0655b925ce69f2f58ebcc735a2287937 [2023-05-02T04:09:56.987Z] $ docker rm -f --volumes fd861ac1a7c6ecad90ed77e99cf9407f0655b925ce69f2f58ebcc735a2287937 [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-02T04:09:58.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-02T04:09:58.726Z] [2023-05-02T04:09:58.726Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T04:09:59.122Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-02T04:09:59.392Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-02T04:09:59.392Z] 8998bd30e6a1: Pulling fs layer [2023-05-02T04:09:59.392Z] 04944245beec: Pulling fs layer [2023-05-02T04:09:59.392Z] 699f458cf7ca: Pulling fs layer [2023-05-02T04:09:59.392Z] 765212b225bb: Pulling fs layer [2023-05-02T04:09:59.392Z] f23df028b6ca: Pulling fs layer [2023-05-02T04:09:59.392Z] d65c8cfc05b1: Pulling fs layer [2023-05-02T04:09:59.392Z] 2437ff75d9bd: Pulling fs layer [2023-05-02T04:09:59.392Z] 765212b225bb: Waiting [2023-05-02T04:09:59.392Z] d65c8cfc05b1: Waiting [2023-05-02T04:09:59.392Z] f23df028b6ca: Waiting [2023-05-02T04:09:59.392Z] 2437ff75d9bd: Waiting [2023-05-02T04:09:59.392Z] 04944245beec: Verifying Checksum [2023-05-02T04:09:59.392Z] 04944245beec: Download complete [2023-05-02T04:09:59.392Z] 765212b225bb: Download complete [2023-05-02T04:09:59.392Z] f23df028b6ca: Verifying Checksum [2023-05-02T04:09:59.392Z] f23df028b6ca: Download complete [2023-05-02T04:09:59.665Z] d65c8cfc05b1: Verifying Checksum [2023-05-02T04:09:59.665Z] d65c8cfc05b1: Download complete [2023-05-02T04:09:59.665Z] 699f458cf7ca: Verifying Checksum [2023-05-02T04:09:59.665Z] 699f458cf7ca: Download complete [2023-05-02T04:09:59.934Z] 8998bd30e6a1: Verifying Checksum [2023-05-02T04:09:59.934Z] 8998bd30e6a1: Download complete [2023-05-02T04:10:02.542Z] 2437ff75d9bd: Verifying Checksum [2023-05-02T04:10:02.542Z] 2437ff75d9bd: Download complete [2023-05-02T04:10:03.954Z] 8998bd30e6a1: Pull complete [2023-05-02T04:10:04.540Z] 04944245beec: Pull complete [2023-05-02T04:10:05.512Z] 699f458cf7ca: Pull complete [2023-05-02T04:10:05.779Z] 765212b225bb: Pull complete [2023-05-02T04:10:08.365Z] f23df028b6ca: Pull complete [2023-05-02T04:10:08.365Z] d65c8cfc05b1: Pull complete [2023-05-02T04:10:23.385Z] 2437ff75d9bd: Pull complete [2023-05-02T04:10:23.385Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-02T04:10:23.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-02T04:10:23.385Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T04:10:23.735Z] prd-ubuntu20.04-docker-arm64-4c-16g-12296 does not seem to be running inside a container [2023-05-02T04:10:23.817Z] $ 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-02T04:10:26.661Z] $ docker top 29424e8693fbd6d59f0d4045a509232722e34e1607fdf40ddf42b7ba47d2185c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T04:10:27.575Z] ---> job-cost.sh [2023-05-02T04:10:27.575Z] lf-activate-venv: SKIPPING [2023-05-02T04:10:27.575Z] INFO: No Stack... [2023-05-02T04:10:27.844Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-02T04:10:28.806Z] INFO: Archiving Costs [Pipeline] sh [2023-05-02T04:10:29.473Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-05-02T04:10:29.473Z] + cut -d, -f6 [Pipeline] lock [2023-05-02T04:10:29.571Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-331-1-stack-cost] [2023-05-02T04:10:29.575Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-331-1-stack-cost] did not exist. Created. [2023-05-02T04:10:29.575Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-331-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-02T04:10:30.308Z] /w/workspace/device-onvif-camera/1@tmp/durable-e59a7154/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-02T04:10:30.983Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-02T04:10:31.019Z] Warning: overwriting stash ‘stack-cost’ [2023-05-02T04:10:31.649Z] Stashed 1 file(s) [Pipeline] } [2023-05-02T04:10:31.663Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-331-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-02T04:10:31.759Z] $ docker stop --time=1 29424e8693fbd6d59f0d4045a509232722e34e1607fdf40ddf42b7ba47d2185c [2023-05-02T04:10:33.304Z] $ docker rm -f --volumes 29424e8693fbd6d59f0d4045a509232722e34e1607fdf40ddf42b7ba47d2185c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-02T04:10:34.021Z] 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-02T04:10:36.011Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-331/archives ] [2023-05-02T04:10:36.011Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-331/archives [2023-05-02T04:10:36.011Z] total 16 [2023-05-02T04:10:36.011Z] drwxr-xr-x 3 root root 4096 May 2 04:03 . [2023-05-02T04:10:36.011Z] drwxrwxr-x 11 jenkins jenkins 4096 May 2 04:03 .. [2023-05-02T04:10:36.011Z] drwxr-xr-x 2 root root 4096 May 2 04:03 cost [2023-05-02T04:10:36.011Z] -rw-r--r-- 1 root root 91 May 2 04:03 cost.csv [2023-05-02T04:10:36.011Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-331/archives [2023-05-02T04:10:36.011Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-331/archives [2023-05-02T04:10:36.011Z] total 16 [2023-05-02T04:10:36.011Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 04:03 . [2023-05-02T04:10:36.011Z] drwxrwxr-x 11 jenkins jenkins 4096 May 2 04:03 .. [2023-05-02T04:10:36.011Z] drwxr-xr-x 2 jenkins jenkins 4096 May 2 04:03 cost [2023-05-02T04:10:36.011Z] -rw-r--r-- 1 jenkins jenkins 91 May 2 04:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-02T04:10:36.341Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T04:10:37.228Z] ---> package-listing.sh [2023-05-02T04:10:37.228Z] ++ facter osfamily [2023-05-02T04:10:37.228Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-02T04:10:37.489Z] + OS_FAMILY=debian [2023-05-02T04:10:37.489Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-331 [2023-05-02T04:10:37.489Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-02T04:10:37.489Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-02T04:10:37.489Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-02T04:10:37.489Z] + PACKAGES=/tmp/packages_start.txt [2023-05-02T04:10:37.489Z] + '[' /w/workspace/undry_device-onvif-camera_PR-331 ']' [2023-05-02T04:10:37.489Z] + PACKAGES=/tmp/packages_end.txt [2023-05-02T04:10:37.489Z] + case "${OS_FAMILY}" in [2023-05-02T04:10:37.489Z] + dpkg -l [2023-05-02T04:10:37.489Z] + grep '^ii' [2023-05-02T04:10:37.489Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-02T04:10:37.489Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-02T04:10:37.489Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-02T04:10:37.489Z] + '[' /w/workspace/undry_device-onvif-camera_PR-331 ']' [2023-05-02T04:10:37.489Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-331/archives/ [2023-05-02T04:10:37.489Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-331/archives/ [Pipeline] echo [2023-05-02T04:10:37.529Z] 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-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-02T04:10:37.827Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T04:10:38.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T04:10:38.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T04:10:38.599Z] prd-ubuntu20.04-docker-8c-8g-12294 does not seem to be running inside a container [2023-05-02T04:10:38.626Z] $ 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-331/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-331 -v /w/workspace/undry_device-onvif-camera_PR-331:/w/workspace/undry_device-onvif-camera_PR-331:rw,z -v /w/workspace/undry_device-onvif-camera_PR-331@tmp:/w/workspace/undry_device-onvif-camera_PR-331@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-02T04:10:38.853Z] $ docker top d09ba32896e159e7a81efadeec367bdb11e6b5b74d5341e3f83234ed41bf3e3f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T04:10:39.233Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-02T04:10:39.540Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-02T04:10:39.847Z] + ls /var/log/sa-host [2023-05-02T04:10:39.847Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-02T04:10:40.059Z] provisioning config files... [2023-05-02T04:10:40.068Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-331@tmp/config1774599182621779992tmp [Pipeline] { [Pipeline] echo [2023-05-02T04:10:40.121Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T04:10:40.429Z] ---> create-netrc.sh [Pipeline] } [2023-05-02T04:10:40.457Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-02T04:10:40.865Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-02T04:10:40.902Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T04:10:41.213Z] ---> sudo-logs.sh [2023-05-02T04:10:41.213Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-02T04:10:41.299Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T04:10:41.610Z] ---> job-cost.sh [2023-05-02T04:10:41.610Z] lf-activate-venv: SKIPPING [2023-05-02T04:10:41.610Z] DEBUG: total: 0.2199999988079071 [2023-05-02T04:10:41.610Z] INFO: Retrieving Stack Cost... [2023-05-02T04:10:41.870Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-02T04:10:42.438Z] INFO: Archiving Costs [Pipeline] echo [2023-05-02T04:10:42.471Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T04:10:42.781Z] ---> logs-deploy.sh [2023-05-02T04:10:42.781Z] lf-activate-venv: SKIPPING [2023-05-02T04:10:42.781Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-331/1 [2023-05-02T04:10:42.781Z] INFO: archiving workspace using pattern(s): [2023-05-02T04:10:43.717Z] Archives upload complete. [2023-05-02T04:10:43.717Z] INFO: archiving logs to Nexus