Pull request #330 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 48a2aa9e038109aaaa23dbd0aed75bc1473cc248+9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 (1ec36382d138f79ad166adad667d8624e1e42d4e) 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-ssh2488734723489282160.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-ssh9782594119095092476.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-330/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-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3343940828924337908.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-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2297460237686329245.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-ssh16243919031274852218.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-330/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-330/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8170734636687335242.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-11985 in /w/workspace/undry_device-onvif-camera_PR-330 [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-330 # 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/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 into PR head commit 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 Merge succeeded, producing 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 Checking out Revision 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 (PR-330) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-28T04:02:42.513Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 # 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 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-28T04:02:42.694Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-28T04:02:42.803Z] ========================================================= [2023-04-28T04:02:42.803Z] EdgeX Global Pipelines Version Info [2023-04-28T04:02:42.803Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:02:43.542Z] ------------------- [2023-04-28T04:02:43.542Z] stable info: [2023-04-28T04:02:43.542Z] ------------------- [2023-04-28T04:02:43.542Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-28T04:02:43.542Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-28T04:02:43.542Z] Message: update stable to v1.0.248 [2023-04-28T04:02:44.124Z] ------------------- [2023-04-28T04:02:44.124Z] experimental info: [2023-04-28T04:02:44.124Z] ------------------- [2023-04-28T04:02:44.124Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-28T04:02:44.124Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-28T04:02:44.124Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-28T04:02:44.455Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-28T04:02:44.497Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-28T04:02:44.536Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-28T04:02:44.573Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-28T04:02:44.617Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-28T04:02:44.654Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-28T04:02:44.695Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-28T04:02:44.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-28T04:02:44.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-28T04:02:44.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-28T04:02:44.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-28T04:02:44.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-28T04:02:44.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-28T04:02:44.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-28T04:02:45.029Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-28T04:02:45.070Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-28T04:02:45.113Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-28T04:02:45.156Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-28T04:02:45.196Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-28T04:02:45.239Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-28T04:02:45.288Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-28T04:02:45.333Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-28T04:02:45.372Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-28T04:02:45.408Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-28T04:02:45.448Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-28T04:02:45.488Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-28T04:02:45.534Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-28T04:02:45.575Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-330 [Pipeline] echo [2023-04-28T04:02:45.611Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-330 [Pipeline] echo [2023-04-28T04:02:45.649Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-330 [Pipeline] echo [2023-04-28T04:02:45.690Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 [Pipeline] echo [2023-04-28T04:02:45.727Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48a2aa9 [Pipeline] echo [2023-04-28T04:02:45.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-28T04:02:45.875Z] provisioning config files... [2023-04-28T04:02:45.901Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-330@tmp/config7378491838739589028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:02:46.250Z] ---> docker-login.sh [2023-04-28T04:02:46.250Z] nexus3.edgexfoundry.org:10001 [2023-04-28T04:02:46.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:02:46.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:02:46.511Z] Configure a credential helper to remove this warning. See [2023-04-28T04:02:46.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:02:46.511Z] [2023-04-28T04:02:46.511Z] Login Succeeded [2023-04-28T04:02:46.511Z] nexus3.edgexfoundry.org:10002 [2023-04-28T04:02:46.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:02:46.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:02:46.511Z] Configure a credential helper to remove this warning. See [2023-04-28T04:02:46.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:02:46.511Z] [2023-04-28T04:02:46.511Z] Login Succeeded [2023-04-28T04:02:46.511Z] nexus3.edgexfoundry.org:10003 [2023-04-28T04:02:46.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:02:46.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:02:46.773Z] Configure a credential helper to remove this warning. See [2023-04-28T04:02:46.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:02:46.773Z] [2023-04-28T04:02:46.773Z] Login Succeeded [2023-04-28T04:02:46.773Z] nexus3.edgexfoundry.org:10004 [2023-04-28T04:02:46.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:02:46.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:02:46.773Z] Configure a credential helper to remove this warning. See [2023-04-28T04:02:46.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:02:46.773Z] [2023-04-28T04:02:46.773Z] Login Succeeded [2023-04-28T04:02:46.773Z] docker.io [2023-04-28T04:02:47.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:02:47.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:02:47.292Z] Configure a credential helper to remove this warning. See [2023-04-28T04:02:47.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:02:47.292Z] [2023-04-28T04:02:47.292Z] Login Succeeded [2023-04-28T04:02:47.292Z] ---> docker-login.sh ends [Pipeline] } [2023-04-28T04:02:47.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-28T04:02:47.948Z] + git rev-list -1 --merges 48a2aa9e038109aaaa23dbd0aed75bc1473cc248~1..48a2aa9e038109aaaa23dbd0aed75bc1473cc248 [Pipeline] echo [2023-04-28T04:02:48.015Z] -----------> git rev-list -1 --merges 48a2aa9e038109aaaa23dbd0aed75bc1473cc248~1..48a2aa9e038109aaaa23dbd0aed75bc1473cc248 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 [false] [Pipeline] sh [2023-04-28T04:02:48.329Z] + git log --format=format:%s -1 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 [Pipeline] echo [2023-04-28T04:02:48.365Z] ========================================================= [2023-04-28T04:02:48.365Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-28T04:02:48.365Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-28T04:02:48.793Z] + git log --format=format:%s -1 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 [Pipeline] echo [2023-04-28T04:02:48.895Z] [semverPrep] GIT_COMMIT: 48a2aa9e038109aaaa23dbd0aed75bc1473cc248, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-04-28T04:02:48.927Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-28T04:02:49.307Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-28T04:02:49.307Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-28T04:02:49.307Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-28T04:02:49.307Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-28T04:02:49.307Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-28T04:02:49.307Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-28T04:02:49.307Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:02:49.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-28T04:02:49.742Z] [2023-04-28T04:02:49.742Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:02:50.128Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-28T04:02:50.128Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-28T04:02:50.128Z] b85a868b505f: Pulling fs layer [2023-04-28T04:02:50.128Z] e2be974225ed: Pulling fs layer [2023-04-28T04:02:50.128Z] 339a4e72a1f5: Pulling fs layer [2023-04-28T04:02:50.128Z] 988bab9f4d93: Pulling fs layer [2023-04-28T04:02:50.128Z] 1469e6f7b9e6: Pulling fs layer [2023-04-28T04:02:50.128Z] eaf3925da568: Pulling fs layer [2023-04-28T04:02:50.128Z] bab4dde63d76: Pulling fs layer [2023-04-28T04:02:50.128Z] bde34c3a00c8: Pulling fs layer [2023-04-28T04:02:50.128Z] b352a97aabf1: Pulling fs layer [2023-04-28T04:02:50.128Z] 4872d77fe225: Pulling fs layer [2023-04-28T04:02:50.128Z] 5851b861e8e6: Pulling fs layer [2023-04-28T04:02:50.128Z] 1469e6f7b9e6: Waiting [2023-04-28T04:02:50.128Z] eaf3925da568: Waiting [2023-04-28T04:02:50.128Z] bab4dde63d76: Waiting [2023-04-28T04:02:50.128Z] bde34c3a00c8: Waiting [2023-04-28T04:02:50.128Z] b352a97aabf1: Waiting [2023-04-28T04:02:50.128Z] 4872d77fe225: Waiting [2023-04-28T04:02:50.128Z] 5851b861e8e6: Waiting [2023-04-28T04:02:50.128Z] 988bab9f4d93: Waiting [2023-04-28T04:02:50.128Z] e2be974225ed: Verifying Checksum [2023-04-28T04:02:50.128Z] e2be974225ed: Download complete [2023-04-28T04:02:50.128Z] 988bab9f4d93: Verifying Checksum [2023-04-28T04:02:50.128Z] 988bab9f4d93: Download complete [2023-04-28T04:02:50.128Z] 1469e6f7b9e6: Verifying Checksum [2023-04-28T04:02:50.128Z] 1469e6f7b9e6: Download complete [2023-04-28T04:02:50.128Z] 339a4e72a1f5: Verifying Checksum [2023-04-28T04:02:50.128Z] 339a4e72a1f5: Download complete [2023-04-28T04:02:50.390Z] eaf3925da568: Download complete [2023-04-28T04:02:50.390Z] bde34c3a00c8: Verifying Checksum [2023-04-28T04:02:50.390Z] bde34c3a00c8: Download complete [2023-04-28T04:02:50.390Z] b352a97aabf1: Verifying Checksum [2023-04-28T04:02:50.390Z] b352a97aabf1: Download complete [2023-04-28T04:02:50.390Z] 4872d77fe225: Verifying Checksum [2023-04-28T04:02:50.390Z] 4872d77fe225: Download complete [2023-04-28T04:02:50.390Z] 5851b861e8e6: Verifying Checksum [2023-04-28T04:02:50.390Z] 5851b861e8e6: Download complete [2023-04-28T04:02:50.390Z] b85a868b505f: Verifying Checksum [2023-04-28T04:02:50.390Z] b85a868b505f: Download complete [2023-04-28T04:02:50.650Z] bab4dde63d76: Verifying Checksum [2023-04-28T04:02:50.650Z] bab4dde63d76: Download complete [2023-04-28T04:02:51.588Z] b85a868b505f: Pull complete [2023-04-28T04:02:51.847Z] e2be974225ed: Pull complete [2023-04-28T04:02:52.415Z] 339a4e72a1f5: Pull complete [2023-04-28T04:02:52.415Z] 988bab9f4d93: Pull complete [2023-04-28T04:02:52.675Z] 1469e6f7b9e6: Pull complete [2023-04-28T04:02:52.675Z] eaf3925da568: Pull complete [2023-04-28T04:02:54.579Z] bab4dde63d76: Pull complete [2023-04-28T04:02:54.579Z] bde34c3a00c8: Pull complete [2023-04-28T04:02:54.839Z] b352a97aabf1: Pull complete [2023-04-28T04:02:54.839Z] 4872d77fe225: Pull complete [2023-04-28T04:02:54.839Z] 5851b861e8e6: Pull complete [2023-04-28T04:02:54.839Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-28T04:02:54.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-28T04:02:54.839Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T04:02:55.140Z] prd-ubuntu20.04-docker-8c-8g-11985 does not seem to be running inside a container [2023-04-28T04:02:55.176Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-330 -v /w/workspace/undry_device-onvif-camera_PR-330:/w/workspace/undry_device-onvif-camera_PR-330:rw,z -v /w/workspace/undry_device-onvif-camera_PR-330@tmp:/w/workspace/undry_device-onvif-camera_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-28T04:02:59.633Z] $ docker top 20941c57716f107bbbbf63ca896cab157a41d64a44f4e4e11c4870c4a3dfad9c -eo pid,comm [2023-04-28T04:02:59.699Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-28T04:02:59.699Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-28T04:02:59.825Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-28T04:02:59.825Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-28T04:02:59.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-28T04:02:59.963Z] $ docker exec 20941c57716f107bbbbf63ca896cab157a41d64a44f4e4e11c4870c4a3dfad9c ssh-agent [2023-04-28T04:03:00.075Z] SSH_AUTH_SOCK=/tmp/ssh-P3H2lZykfHji/agent.31 [2023-04-28T04:03:00.075Z] SSH_AGENT_PID=37 [2023-04-28T04:03:00.083Z] Running ssh-add (command line suppressed) [2023-04-28T04:03:00.183Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-330@tmp/private_key_12976254137064596660.key (/w/workspace/undry_device-onvif-camera_PR-330@tmp/private_key_12976254137064596660.key) [2023-04-28T04:03:00.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-28T04:03:00.594Z] + git tag --points-at HEAD [Pipeline] } [2023-04-28T04:03:00.622Z] $ docker exec --env ******** --env ******** 20941c57716f107bbbbf63ca896cab157a41d64a44f4e4e11c4870c4a3dfad9c ssh-agent -k [2023-04-28T04:03:00.711Z] unset SSH_AUTH_SOCK; [2023-04-28T04:03:00.711Z] unset SSH_AGENT_PID; [2023-04-28T04:03:00.711Z] echo Agent pid 37 killed; [2023-04-28T04:03:00.720Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-28T04:03:00.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-28T04:03:00.809Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-28T04:03:00.941Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-28T04:03:00.946Z] $ docker exec 20941c57716f107bbbbf63ca896cab157a41d64a44f4e4e11c4870c4a3dfad9c ssh-agent [2023-04-28T04:03:01.070Z] SSH_AUTH_SOCK=/tmp/ssh-usbj447QRYY8/agent.69 [2023-04-28T04:03:01.070Z] SSH_AGENT_PID=75 [2023-04-28T04:03:01.074Z] Running ssh-add (command line suppressed) [2023-04-28T04:03:01.184Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-330@tmp/private_key_7750378855310177326.key (/w/workspace/undry_device-onvif-camera_PR-330@tmp/private_key_7750378855310177326.key) [2023-04-28T04:03:01.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-28T04:03:01.539Z] + git semver init [2023-04-28T04:03:01.799Z] 2023-04-28 04:03:01,740 [run_init] DEBUG init version:0.0.0 force:False [2023-04-28T04:03:01.799Z] 2023-04-28 04:03:01,741 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-330/.semver [2023-04-28T04:03:01.799Z] 2023-04-28 04:03:01,742 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-330/.semver [2023-04-28T04:03:01.799Z] 2023-04-28 04:03:01,742 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-330/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-330, universal_newlines=False, shell=None, istream=None) [2023-04-28T04:03:02.736Z] 2023-04-28 04:03:02,617 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-330/.git/info/exclude [2023-04-28T04:03:02.736Z] 2023-04-28 04:03:02,618 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-330/.semver/PR-330 with force:False [2023-04-28T04:03:02.736Z] 2023-04-28 04:03:02,618 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-330/.semver/PR-330 [2023-04-28T04:03:02.736Z] 2023-04-28 04:03:02,620 [execute] INFO git cat-file --batch-check [2023-04-28T04:03:02.736Z] 2023-04-28 04:03:02,621 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-330/.semver, universal_newlines=False, shell=None, istream=) [2023-04-28T04:03:02.736Z] 2023-04-28 04:03:02,627 [execute] INFO git cat-file --batch [2023-04-28T04:03:02.736Z] 2023-04-28 04:03:02,627 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-330/.semver, universal_newlines=False, shell=None, istream=) [2023-04-28T04:03:02.736Z] 2023-04-28 04:03:02,633 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-330/.semver/PR-330 [2023-04-28T04:03:02.736Z] 0.0.0 [Pipeline] } [2023-04-28T04:03:02.768Z] $ docker exec --env ******** --env ******** 20941c57716f107bbbbf63ca896cab157a41d64a44f4e4e11c4870c4a3dfad9c ssh-agent -k [2023-04-28T04:03:02.875Z] unset SSH_AUTH_SOCK; [2023-04-28T04:03:02.875Z] unset SSH_AGENT_PID; [2023-04-28T04:03:02.875Z] echo Agent pid 75 killed; [2023-04-28T04:03:02.884Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-28T04:03:03.331Z] + git semver [Pipeline] } [2023-04-28T04:03:03.616Z] $ docker stop --time=1 20941c57716f107bbbbf63ca896cab157a41d64a44f4e4e11c4870c4a3dfad9c [2023-04-28T04:03:04.922Z] $ docker rm -f --volumes 20941c57716f107bbbbf63ca896cab157a41d64a44f4e4e11c4870c4a3dfad9c [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-28T04:03:05.323Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-28T04:03:05.621Z] Stashed 1 file(s) [Pipeline] echo [2023-04-28T04:03:05.638Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-28T04:03:06.250Z] provisioning config files... [2023-04-28T04:03:06.261Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-330@tmp/config5224550812887366203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:03:06.607Z] ---> docker-login.sh [2023-04-28T04:03:06.607Z] nexus3.edgexfoundry.org:10001 [2023-04-28T04:03:06.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:03:06.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:03:06.607Z] Configure a credential helper to remove this warning. See [2023-04-28T04:03:06.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:03:06.607Z] [2023-04-28T04:03:06.607Z] Login Succeeded [2023-04-28T04:03:06.607Z] nexus3.edgexfoundry.org:10002 [2023-04-28T04:03:06.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:03:06.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:03:06.865Z] Configure a credential helper to remove this warning. See [2023-04-28T04:03:06.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:03:06.865Z] [2023-04-28T04:03:06.865Z] Login Succeeded [2023-04-28T04:03:06.865Z] nexus3.edgexfoundry.org:10003 [2023-04-28T04:03:06.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:03:06.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:03:06.865Z] Configure a credential helper to remove this warning. See [2023-04-28T04:03:06.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:03:06.865Z] [2023-04-28T04:03:06.865Z] Login Succeeded [2023-04-28T04:03:06.865Z] nexus3.edgexfoundry.org:10004 [2023-04-28T04:03:07.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:03:07.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:03:07.124Z] Configure a credential helper to remove this warning. See [2023-04-28T04:03:07.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:03:07.124Z] [2023-04-28T04:03:07.124Z] Login Succeeded [2023-04-28T04:03:07.124Z] docker.io [2023-04-28T04:03:07.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:03:07.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:03:07.384Z] Configure a credential helper to remove this warning. See [2023-04-28T04:03:07.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:03:07.384Z] [2023-04-28T04:03:07.384Z] Login Succeeded [2023-04-28T04:03:07.384Z] ---> docker-login.sh ends [Pipeline] } [2023-04-28T04:03:07.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-28T04:03:07.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-28T04:03:07.653Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-28T04:03:07.689Z] ========================================================= [2023-04-28T04:03:07.689Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-28T04:03:07.689Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:03:08.201Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-28T04:03:08.201Z] Sending build context to Docker daemon 26.98MB [2023-04-28T04:03:08.201Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-28T04:03:08.201Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-28T04:03:08.460Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-28T04:03:08.461Z] f56be85fc22e: Pulling fs layer [2023-04-28T04:03:08.461Z] 85791d961cd3: Pulling fs layer [2023-04-28T04:03:08.461Z] d694b5ae8c79: Pulling fs layer [2023-04-28T04:03:08.461Z] 9f32a84ed3da: Pulling fs layer [2023-04-28T04:03:08.461Z] 4d19c01a9841: Pulling fs layer [2023-04-28T04:03:08.461Z] 9325e15d5711: Pulling fs layer [2023-04-28T04:03:08.461Z] 556b6ee489ea: Pulling fs layer [2023-04-28T04:03:08.461Z] c5a4b2cf53e6: Pulling fs layer [2023-04-28T04:03:08.461Z] 9325e15d5711: Waiting [2023-04-28T04:03:08.461Z] 4d19c01a9841: Waiting [2023-04-28T04:03:08.461Z] 556b6ee489ea: Waiting [2023-04-28T04:03:08.461Z] c5a4b2cf53e6: Waiting [2023-04-28T04:03:08.461Z] 85791d961cd3: Verifying Checksum [2023-04-28T04:03:08.461Z] 85791d961cd3: Download complete [2023-04-28T04:03:08.461Z] 9f32a84ed3da: Verifying Checksum [2023-04-28T04:03:08.461Z] 9f32a84ed3da: Download complete [2023-04-28T04:03:08.461Z] 4d19c01a9841: Download complete [2023-04-28T04:03:08.461Z] f56be85fc22e: Verifying Checksum [2023-04-28T04:03:08.461Z] f56be85fc22e: Download complete [2023-04-28T04:03:08.461Z] 9325e15d5711: Verifying Checksum [2023-04-28T04:03:08.461Z] 9325e15d5711: Download complete [2023-04-28T04:03:08.721Z] f56be85fc22e: Pull complete [2023-04-28T04:03:08.721Z] 85791d961cd3: Pull complete [2023-04-28T04:03:08.981Z] c5a4b2cf53e6: Verifying Checksum [2023-04-28T04:03:08.981Z] c5a4b2cf53e6: Download complete [2023-04-28T04:03:08.981Z] d694b5ae8c79: Verifying Checksum [2023-04-28T04:03:08.981Z] d694b5ae8c79: Download complete [2023-04-28T04:03:09.238Z] 556b6ee489ea: Verifying Checksum [2023-04-28T04:03:09.238Z] 556b6ee489ea: Download complete [2023-04-28T04:03:13.451Z] d694b5ae8c79: Pull complete [2023-04-28T04:03:13.451Z] 9f32a84ed3da: Pull complete [2023-04-28T04:03:13.451Z] 4d19c01a9841: Pull complete [2023-04-28T04:03:13.451Z] 9325e15d5711: Pull complete [2023-04-28T04:03:16.024Z] 556b6ee489ea: Pull complete [2023-04-28T04:03:16.965Z] c5a4b2cf53e6: Pull complete [2023-04-28T04:03:16.965Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-28T04:03:16.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-28T04:03:16.965Z] ---> c4be618373d6 [2023-04-28T04:03:16.965Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-28T04:03:21.049Z] Still waiting to schedule task [2023-04-28T04:03:21.049Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-11986’ is offline [2023-04-28T04:03:25.085Z] ---> Running in 9df2be8c30dc [2023-04-28T04:03:25.086Z] Removing intermediate container 9df2be8c30dc [2023-04-28T04:03:25.086Z] ---> 2e16c924e834 [2023-04-28T04:03:25.086Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-28T04:03:25.086Z] ---> Running in 66ad388be99c [2023-04-28T04:03:25.086Z] Removing intermediate container 66ad388be99c [2023-04-28T04:03:25.086Z] ---> 86dd340a7c3b [2023-04-28T04:03:25.086Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-28T04:03:25.086Z] ---> Running in 7be2302e60ee [2023-04-28T04:03:25.086Z] Removing intermediate container 7be2302e60ee [2023-04-28T04:03:25.086Z] ---> 4afe7f73d3f2 [2023-04-28T04:03:25.086Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-28T04:03:25.086Z] ---> Running in df656cf6eddd [2023-04-28T04:03:25.086Z] Removing intermediate container df656cf6eddd [2023-04-28T04:03:25.086Z] ---> a44dd9185ec1 [2023-04-28T04:03:25.086Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-28T04:03:25.086Z] ---> Running in c1b2658a6e19 [2023-04-28T04:03:25.086Z] Removing intermediate container c1b2658a6e19 [2023-04-28T04:03:25.086Z] ---> 8d8431bba72f [2023-04-28T04:03:25.086Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-28T04:03:25.086Z] ---> Running in 83bd694e75c8 [2023-04-28T04:03:25.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-28T04:03:25.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-28T04:03:25.345Z] OK: 265 MiB in 53 packages [2023-04-28T04:03:25.781Z] Removing intermediate container 83bd694e75c8 [2023-04-28T04:03:25.781Z] ---> e0a9f9bdbbd4 [2023-04-28T04:03:25.781Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-28T04:03:25.781Z] ---> Running in 010763223f54 [2023-04-28T04:03:25.781Z] Removing intermediate container 010763223f54 [2023-04-28T04:03:25.781Z] ---> 30877b05dffc [2023-04-28T04:03:25.782Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-28T04:03:25.782Z] ---> 82c324f6a708 [2023-04-28T04:03:25.782Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-28T04:03:25.782Z] ---> Running in d4bf70a808d9 [2023-04-28T04:04:04.542Z] Removing intermediate container d4bf70a808d9 [2023-04-28T04:04:04.543Z] ---> cdd0f8a48156 [2023-04-28T04:04:04.543Z] Step 12/13 : COPY . . [2023-04-28T04:04:04.543Z] ---> 921b82e25d9b [2023-04-28T04:04:04.543Z] Step 13/13 : RUN ${MAKE} [2023-04-28T04:04:04.543Z] ---> Running in 6b9d6cc34e47 [2023-04-28T04:04:04.543Z] noop [2023-04-28T04:04:04.543Z] Removing intermediate container 6b9d6cc34e47 [2023-04-28T04:04:04.543Z] ---> 7b90b2955171 [2023-04-28T04:04:04.543Z] Successfully built 7b90b2955171 [2023-04-28T04:04:04.543Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:04:04.993Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-28T04:04:04.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T04:04:05.151Z] prd-ubuntu20.04-docker-8c-8g-11985 does not seem to be running inside a container [2023-04-28T04:04:05.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-330 -v /w/workspace/undry_device-onvif-camera_PR-330:/w/workspace/undry_device-onvif-camera_PR-330:rw,z -v /w/workspace/undry_device-onvif-camera_PR-330@tmp:/w/workspace/undry_device-onvif-camera_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-28T04:04:05.532Z] $ docker top 6437ed15e14984a0b34c1470f280a3c11e0b1e944511dd72713d3a4e5af0f6d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T04:04:05.920Z] + go version [2023-04-28T04:04:05.920Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-28T04:04:05.957Z] $ docker stop --time=1 6437ed15e14984a0b34c1470f280a3c11e0b1e944511dd72713d3a4e5af0f6d2 [2023-04-28T04:04:07.246Z] $ docker rm -f --volumes 6437ed15e14984a0b34c1470f280a3c11e0b1e944511dd72713d3a4e5af0f6d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:04:07.976Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-28T04:04:07.976Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T04:04:08.138Z] prd-ubuntu20.04-docker-8c-8g-11985 does not seem to be running inside a container [2023-04-28T04:04:08.182Z] $ 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-330 -v /w/workspace/undry_device-onvif-camera_PR-330:/w/workspace/undry_device-onvif-camera_PR-330:rw,z -v /w/workspace/undry_device-onvif-camera_PR-330@tmp:/w/workspace/undry_device-onvif-camera_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-28T04:04:08.499Z] $ docker top 2473dfede7dbce0de2ec5ef5bd988c5d859a1f07ff5218d09eefc7ce06e60bdb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T04:04:08.889Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-330 [Pipeline] fileExists [Pipeline] sh [2023-04-28T04:04:09.253Z] + make test [2023-04-28T04:04:09.253Z] go test ./... -coverprofile=coverage.out ./... [2023-04-28T04:04:14.529Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-28T04:04:21.086Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-04-28T04:04:21.086Z] /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-04-28T04:04:21.086Z] /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-04-28T04:04:21.086Z] /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-04-28T04:04:21.086Z] /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-04-28T04:04:23.613Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-28T04:04:26.218Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 31.6% of statements [2023-04-28T04:04:26.218Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.174s coverage: 86.5% of statements [2023-04-28T04:04:26.218Z] FAIL [2023-04-28T04:04:26.218Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-04-28T04:04:26.268Z] $ docker stop --time=1 2473dfede7dbce0de2ec5ef5bd988c5d859a1f07ff5218d09eefc7ce06e60bdb [2023-04-28T04:04:31.370Z] $ docker rm -f --volumes 2473dfede7dbce0de2ec5ef5bd988c5d859a1f07ff5218d09eefc7ce06e60bdb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:04:32.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-28T04:04:32.601Z] [2023-04-28T04:04:32.601Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:04:32.977Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-28T04:04:32.977Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-28T04:04:32.977Z] 5eb5b503b376: Pulling fs layer [2023-04-28T04:04:32.977Z] 5c69ac0246d0: Pulling fs layer [2023-04-28T04:04:32.977Z] ec43610c2a17: Pulling fs layer [2023-04-28T04:04:32.977Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-28T04:04:32.977Z] 33b1e0a273af: Pulling fs layer [2023-04-28T04:04:32.977Z] 5d3b04190fa2: Pulling fs layer [2023-04-28T04:04:32.977Z] 2f39f015ded8: Pulling fs layer [2023-04-28T04:04:32.977Z] 3a2ae6a8a46f: Waiting [2023-04-28T04:04:32.977Z] 33b1e0a273af: Waiting [2023-04-28T04:04:32.977Z] 5d3b04190fa2: Waiting [2023-04-28T04:04:32.977Z] 2f39f015ded8: Waiting [2023-04-28T04:04:32.977Z] 5c69ac0246d0: Download complete [2023-04-28T04:04:32.977Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-28T04:04:32.977Z] 3a2ae6a8a46f: Download complete [2023-04-28T04:04:32.977Z] ec43610c2a17: Verifying Checksum [2023-04-28T04:04:32.977Z] ec43610c2a17: Download complete [2023-04-28T04:04:32.977Z] 33b1e0a273af: Verifying Checksum [2023-04-28T04:04:32.977Z] 33b1e0a273af: Download complete [2023-04-28T04:04:32.977Z] 5d3b04190fa2: Verifying Checksum [2023-04-28T04:04:32.977Z] 5d3b04190fa2: Download complete [2023-04-28T04:04:33.235Z] 5eb5b503b376: Verifying Checksum [2023-04-28T04:04:33.235Z] 5eb5b503b376: Download complete [2023-04-28T04:04:33.802Z] 2f39f015ded8: Download complete [2023-04-28T04:04:34.369Z] 5eb5b503b376: Pull complete [2023-04-28T04:04:34.369Z] 5c69ac0246d0: Pull complete [2023-04-28T04:04:34.934Z] ec43610c2a17: Pull complete [2023-04-28T04:04:34.934Z] 3a2ae6a8a46f: Pull complete [2023-04-28T04:04:35.193Z] 33b1e0a273af: Pull complete [2023-04-28T04:04:35.193Z] 5d3b04190fa2: Pull complete [2023-04-28T04:04:39.381Z] 2f39f015ded8: Pull complete [2023-04-28T04:04:39.381Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-28T04:04:39.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-28T04:04:39.381Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T04:04:39.616Z] prd-ubuntu20.04-docker-8c-8g-11985 does not seem to be running inside a container [2023-04-28T04:04:39.653Z] $ 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-330 -v /w/workspace/undry_device-onvif-camera_PR-330:/w/workspace/undry_device-onvif-camera_PR-330:rw,z -v /w/workspace/undry_device-onvif-camera_PR-330@tmp:/w/workspace/undry_device-onvif-camera_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-28T04:04:47.057Z] $ docker top 283ac559533d8bd77fe4fadd4983b6edc9571b655057ded81e62594746466e7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:04:47.493Z] ---> job-cost.sh [2023-04-28T04:04:47.493Z] lf-activate-venv: SKIPPING [2023-04-28T04:04:47.493Z] INFO: No Stack... [2023-04-28T04:04:47.752Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-28T04:04:48.321Z] INFO: Archiving Costs [Pipeline] sh [2023-04-28T04:04:48.640Z] + cat /w/workspace/undry_device-onvif-camera_PR-330/archives/cost.csv [2023-04-28T04:04:48.640Z] + cut -d, -f6 [Pipeline] lock [2023-04-28T04:04:48.679Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-330-1-stack-cost] [2023-04-28T04:04:48.684Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-330-1-stack-cost] did not exist. Created. [2023-04-28T04:04:48.684Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-330-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-28T04:04:49.099Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-28T04:04:49.172Z] Stashed 1 file(s) [Pipeline] } [2023-04-28T04:04:49.187Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-330-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-28T04:04:49.277Z] $ docker stop --time=1 283ac559533d8bd77fe4fadd4983b6edc9571b655057ded81e62594746466e7b [2023-04-28T04:04:50.432Z] $ docker rm -f --volumes 283ac559533d8bd77fe4fadd4983b6edc9571b655057ded81e62594746466e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-28T04:04:50.795Z] Failed in branch amd64 [2023-04-28T04:05:49.629Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11988 in /w/workspace/undry_device-onvif-camera_PR-330 [Pipeline] { [Pipeline] ws [2023-04-28T04:05:49.678Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-04-28T04:05:49.772Z] The recommended git tool is: git [2023-04-28T04:05:55.902Z] using credential edgex-jenkins-ssh [2023-04-28T04:05:55.920Z] Cloning the remote Git repository [2023-04-28T04:05:55.969Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-28T04:05:56.073Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-04-28T04:05:56.247Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-28T04:05:56.248Z] > git --version # timeout=10 [2023-04-28T04:05:56.274Z] > git --version # 'git version 2.25.1' [2023-04-28T04:05:56.278Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-28T04:05:56.456Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-28T04:05:57.847Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-28T04:05:57.867Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-28T04:05:59.259Z] Merging remotes/origin/main commit 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 into PR head commit 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 [2023-04-28T04:05:59.769Z] Merge succeeded, producing 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 [2023-04-28T04:05:59.769Z] Checking out Revision 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 (PR-330) [2023-04-28T04:05:58.676Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-28T04:05:58.719Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-28T04:05:58.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-28T04:05:58.737Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-28T04:05:59.278Z] > git config core.sparsecheckout # timeout=10 [2023-04-28T04:05:59.368Z] > git checkout -f 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 # timeout=10 [2023-04-28T04:05:59.659Z] > git remote # timeout=10 [2023-04-28T04:05:59.677Z] > git config --get remote.origin.url # timeout=10 [2023-04-28T04:05:59.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-28T04:05:59.717Z] > git merge 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 # timeout=10 [2023-04-28T04:05:59.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-28T04:05:59.773Z] > git config core.sparsecheckout # timeout=10 [2023-04-28T04:05:59.791Z] > git checkout -f 48a2aa9e038109aaaa23dbd0aed75bc1473cc248 # timeout=10 [2023-04-28T04:06:00.611Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-04-28T04:06:00.660Z] > git --version # timeout=10 [2023-04-28T04:06:00.676Z] > git --version # 'git version 2.25.1' [2023-04-28T04:06:00.698Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-28T04:06:01.824Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-28T04:06:01.824Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-28T04:06:01.824Z] Dload Upload Total Spent Left Speed [2023-04-28T04:06:01.824Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-04-28T04:06:02.443Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-28T04:06:02.793Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-28T04:06:02.793Z] + sudo tee /etc/docker/daemon.new [2023-04-28T04:06:02.793Z] { [2023-04-28T04:06:02.793Z] "registry-mirrors": [ [2023-04-28T04:06:02.793Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-28T04:06:02.793Z] ], [2023-04-28T04:06:02.793Z] "bip": "10.250.0.254/24", [2023-04-28T04:06:02.793Z] "hosts": [ [2023-04-28T04:06:02.793Z] "tcp://0.0.0.0:5555", [2023-04-28T04:06:02.793Z] "unix:///var/run/docker.sock" [2023-04-28T04:06:02.793Z] ], [2023-04-28T04:06:02.793Z] "mtu": 1458, [2023-04-28T04:06:02.793Z] "selinux-enabled": true, [2023-04-28T04:06:02.793Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-28T04:06:02.793Z] } [Pipeline] sh [2023-04-28T04:06:03.155Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-28T04:06:03.507Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-28T04:06:21.850Z] provisioning config files... [2023-04-28T04:06:21.882Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config13114638370775498072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:06:22.293Z] ---> docker-login.sh [2023-04-28T04:06:22.293Z] nexus3.edgexfoundry.org:10001 [2023-04-28T04:06:22.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:06:22.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:06:22.889Z] Configure a credential helper to remove this warning. See [2023-04-28T04:06:22.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:06:22.889Z] [2023-04-28T04:06:22.889Z] Login Succeeded [2023-04-28T04:06:22.889Z] nexus3.edgexfoundry.org:10002 [2023-04-28T04:06:23.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:06:23.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:06:23.430Z] Configure a credential helper to remove this warning. See [2023-04-28T04:06:23.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:06:23.430Z] [2023-04-28T04:06:23.430Z] Login Succeeded [2023-04-28T04:06:23.430Z] nexus3.edgexfoundry.org:10003 [2023-04-28T04:06:23.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:06:23.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:06:23.702Z] Configure a credential helper to remove this warning. See [2023-04-28T04:06:23.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:06:23.702Z] [2023-04-28T04:06:23.702Z] Login Succeeded [2023-04-28T04:06:23.702Z] nexus3.edgexfoundry.org:10004 [2023-04-28T04:06:23.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:06:23.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:06:23.974Z] Configure a credential helper to remove this warning. See [2023-04-28T04:06:23.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:06:23.974Z] [2023-04-28T04:06:23.974Z] Login Succeeded [2023-04-28T04:06:24.250Z] docker.io [2023-04-28T04:06:24.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T04:06:24.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T04:06:24.532Z] Configure a credential helper to remove this warning. See [2023-04-28T04:06:24.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T04:06:24.532Z] [2023-04-28T04:06:24.532Z] Login Succeeded [2023-04-28T04:06:24.532Z] ---> docker-login.sh ends [Pipeline] } [2023-04-28T04:06:24.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-28T04:06:24.962Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-28T04:06:25.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-28T04:06:25.036Z] ========================================================= [2023-04-28T04:06:25.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-28T04:06:25.036Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:06:25.545Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-28T04:06:26.140Z] Sending build context to Docker daemon 19.68MB [2023-04-28T04:06:26.140Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-28T04:06:26.140Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-28T04:06:26.413Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-28T04:06:26.413Z] c41833b44d91: Pulling fs layer [2023-04-28T04:06:26.413Z] ed15518f5707: Pulling fs layer [2023-04-28T04:06:26.413Z] feae8fd75edb: Pulling fs layer [2023-04-28T04:06:26.413Z] 242c74f7c9fa: Pulling fs layer [2023-04-28T04:06:26.413Z] 3cdef696dda3: Pulling fs layer [2023-04-28T04:06:26.413Z] 2ced38df9373: Pulling fs layer [2023-04-28T04:06:26.413Z] 58f1dce35555: Pulling fs layer [2023-04-28T04:06:26.413Z] 3cdef696dda3: Waiting [2023-04-28T04:06:26.413Z] 2ced38df9373: Waiting [2023-04-28T04:06:26.413Z] 242c74f7c9fa: Waiting [2023-04-28T04:06:26.413Z] ed15518f5707: Verifying Checksum [2023-04-28T04:06:26.413Z] ed15518f5707: Download complete [2023-04-28T04:06:26.413Z] 242c74f7c9fa: Verifying Checksum [2023-04-28T04:06:26.413Z] 242c74f7c9fa: Download complete [2023-04-28T04:06:26.413Z] 3cdef696dda3: Verifying Checksum [2023-04-28T04:06:26.413Z] 3cdef696dda3: Download complete [2023-04-28T04:06:26.413Z] c41833b44d91: Verifying Checksum [2023-04-28T04:06:26.413Z] c41833b44d91: Download complete [2023-04-28T04:06:27.856Z] c41833b44d91: Pull complete [2023-04-28T04:06:27.856Z] 58f1dce35555: Verifying Checksum [2023-04-28T04:06:27.856Z] 58f1dce35555: Download complete [2023-04-28T04:06:28.140Z] ed15518f5707: Pull complete [2023-04-28T04:06:29.118Z] feae8fd75edb: Verifying Checksum [2023-04-28T04:06:29.118Z] feae8fd75edb: Download complete [2023-04-28T04:06:29.118Z] 2ced38df9373: Verifying Checksum [2023-04-28T04:06:29.118Z] 2ced38df9373: Download complete [2023-04-28T04:06:41.585Z] feae8fd75edb: Pull complete [2023-04-28T04:06:41.585Z] 242c74f7c9fa: Pull complete [2023-04-28T04:06:41.585Z] 3cdef696dda3: Pull complete [2023-04-28T04:06:48.278Z] 2ced38df9373: Pull complete [2023-04-28T04:06:50.250Z] 58f1dce35555: Pull complete [2023-04-28T04:06:50.250Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-28T04:06:50.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-28T04:06:50.250Z] ---> fadd8f120f05 [2023-04-28T04:06:50.250Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-28T04:06:52.241Z] ---> Running in 95ff5d9266d3 [2023-04-28T04:06:52.241Z] Removing intermediate container 95ff5d9266d3 [2023-04-28T04:06:52.241Z] ---> c2275101e912 [2023-04-28T04:06:52.241Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-28T04:06:52.512Z] ---> Running in 1485bb230534 [2023-04-28T04:06:52.780Z] Removing intermediate container 1485bb230534 [2023-04-28T04:06:52.780Z] ---> b1f9c876953e [2023-04-28T04:06:52.780Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-28T04:06:52.780Z] ---> Running in dfebfc95d7bb [2023-04-28T04:06:53.049Z] Removing intermediate container dfebfc95d7bb [2023-04-28T04:06:53.049Z] ---> b763c49b9ce7 [2023-04-28T04:06:53.049Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-28T04:06:53.323Z] ---> Running in 4a14bd6dde8b [2023-04-28T04:06:53.594Z] Removing intermediate container 4a14bd6dde8b [2023-04-28T04:06:53.594Z] ---> 4554c4e374a2 [2023-04-28T04:06:53.594Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-28T04:06:53.594Z] ---> Running in ed091035becd [2023-04-28T04:06:53.863Z] Removing intermediate container ed091035becd [2023-04-28T04:06:53.863Z] ---> 55c87e574c2a [2023-04-28T04:06:53.863Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-28T04:06:53.863Z] ---> Running in 39eae46a4bd9 [2023-04-28T04:06:55.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-28T04:06:55.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-28T04:06:56.841Z] OK: 263 MiB in 53 packages [2023-04-28T04:06:58.796Z] Removing intermediate container 39eae46a4bd9 [2023-04-28T04:06:58.796Z] ---> 8723d294566d [2023-04-28T04:06:58.796Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-28T04:06:58.796Z] ---> Running in aa30c1b5b263 [2023-04-28T04:06:59.065Z] Removing intermediate container aa30c1b5b263 [2023-04-28T04:06:59.065Z] ---> 79e3d3c9dfd8 [2023-04-28T04:06:59.065Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-28T04:06:59.655Z] ---> 604ef40ea18a [2023-04-28T04:06:59.655Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-28T04:06:59.655Z] ---> Running in 5a4ab60fb5bb [2023-04-28T04:08:07.610Z] Removing intermediate container 5a4ab60fb5bb [2023-04-28T04:08:07.610Z] ---> 8d5e0892a147 [2023-04-28T04:08:07.610Z] Step 12/13 : COPY . . [2023-04-28T04:08:07.610Z] ---> f83cfed6e2cf [2023-04-28T04:08:07.610Z] Step 13/13 : RUN ${MAKE} [2023-04-28T04:08:07.610Z] ---> Running in 6a91a62f7277 [2023-04-28T04:08:07.610Z] noop [2023-04-28T04:08:07.610Z] Removing intermediate container 6a91a62f7277 [2023-04-28T04:08:07.610Z] ---> 0d19837293ae [2023-04-28T04:08:07.610Z] Successfully built 0d19837293ae [2023-04-28T04:08:07.610Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:08:08.101Z] + docker inspect -f . ci-base-image-arm64 [2023-04-28T04:08:08.101Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T04:08:08.407Z] prd-ubuntu20.04-docker-arm64-4c-16g-11988 does not seem to be running inside a container [2023-04-28T04:08:08.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-28T04:08:09.754Z] $ docker top a1022c19ed84e27d107567ea93bed2501ecf0e1a5ca5e784afbb11d52b762796 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T04:08:10.667Z] + go version [2023-04-28T04:08:10.667Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-28T04:08:10.702Z] $ docker stop --time=1 a1022c19ed84e27d107567ea93bed2501ecf0e1a5ca5e784afbb11d52b762796 [2023-04-28T04:08:12.345Z] $ docker rm -f --volumes a1022c19ed84e27d107567ea93bed2501ecf0e1a5ca5e784afbb11d52b762796 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:08:13.253Z] + docker inspect -f . ci-base-image-arm64 [2023-04-28T04:08:13.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T04:08:13.526Z] prd-ubuntu20.04-docker-arm64-4c-16g-11988 does not seem to be running inside a container [2023-04-28T04:08:13.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-28T04:08:14.848Z] $ docker top 1e86f0099ef3d4dd1ec00754d7ac1514bc258daecee8bebc3ef37769003be661 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T04:08:15.772Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-04-28T04:08:16.498Z] + make test [2023-04-28T04:08:16.498Z] go test ./... -coverprofile=coverage.out ./... [2023-04-28T04:08:55.398Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-28T04:10:03.304Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-04-28T04:10:03.304Z] /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-04-28T04:10:03.304Z] /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-04-28T04:10:03.304Z] /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-04-28T04:10:03.305Z] /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-04-28T04:11:11.230Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-28T04:11:11.230Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.182s coverage: 31.6% of statements [2023-04-28T04:11:33.319Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.515s coverage: 86.5% of statements [2023-04-28T04:11:33.319Z] FAIL [2023-04-28T04:11:33.319Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-04-28T04:11:33.364Z] $ docker stop --time=1 1e86f0099ef3d4dd1ec00754d7ac1514bc258daecee8bebc3ef37769003be661 [2023-04-28T04:11:35.274Z] $ docker rm -f --volumes 1e86f0099ef3d4dd1ec00754d7ac1514bc258daecee8bebc3ef37769003be661 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:11:37.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-28T04:11:37.067Z] [2023-04-28T04:11:37.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:11:37.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-28T04:11:37.750Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-28T04:11:37.750Z] 8998bd30e6a1: Pulling fs layer [2023-04-28T04:11:37.750Z] 04944245beec: Pulling fs layer [2023-04-28T04:11:37.750Z] 699f458cf7ca: Pulling fs layer [2023-04-28T04:11:37.750Z] 765212b225bb: Pulling fs layer [2023-04-28T04:11:37.750Z] f23df028b6ca: Pulling fs layer [2023-04-28T04:11:37.750Z] d65c8cfc05b1: Pulling fs layer [2023-04-28T04:11:37.750Z] 2437ff75d9bd: Pulling fs layer [2023-04-28T04:11:37.750Z] 765212b225bb: Waiting [2023-04-28T04:11:37.750Z] d65c8cfc05b1: Waiting [2023-04-28T04:11:37.750Z] f23df028b6ca: Waiting [2023-04-28T04:11:37.750Z] 2437ff75d9bd: Waiting [2023-04-28T04:11:37.750Z] 04944245beec: Verifying Checksum [2023-04-28T04:11:37.750Z] 04944245beec: Download complete [2023-04-28T04:11:37.750Z] 765212b225bb: Verifying Checksum [2023-04-28T04:11:37.750Z] 765212b225bb: Download complete [2023-04-28T04:11:37.750Z] f23df028b6ca: Verifying Checksum [2023-04-28T04:11:37.750Z] f23df028b6ca: Download complete [2023-04-28T04:11:38.019Z] d65c8cfc05b1: Verifying Checksum [2023-04-28T04:11:38.019Z] d65c8cfc05b1: Download complete [2023-04-28T04:11:38.019Z] 699f458cf7ca: Verifying Checksum [2023-04-28T04:11:38.019Z] 699f458cf7ca: Download complete [2023-04-28T04:11:38.287Z] 8998bd30e6a1: Verifying Checksum [2023-04-28T04:11:38.287Z] 8998bd30e6a1: Download complete [2023-04-28T04:11:40.884Z] 2437ff75d9bd: Verifying Checksum [2023-04-28T04:11:40.884Z] 2437ff75d9bd: Download complete [2023-04-28T04:11:42.296Z] 8998bd30e6a1: Pull complete [2023-04-28T04:11:42.564Z] 04944245beec: Pull complete [2023-04-28T04:11:43.978Z] 699f458cf7ca: Pull complete [2023-04-28T04:11:43.978Z] 765212b225bb: Pull complete [2023-04-28T04:11:44.939Z] f23df028b6ca: Pull complete [2023-04-28T04:11:44.939Z] d65c8cfc05b1: Pull complete [2023-04-28T04:11:57.264Z] 2437ff75d9bd: Pull complete [2023-04-28T04:11:57.532Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-28T04:11:57.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-28T04:11:57.532Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T04:11:58.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-11988 does not seem to be running inside a container [2023-04-28T04:11:58.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-28T04:12:00.750Z] $ docker top d5d07236e58a21519e6742c1f05d697a3d7dce5e6dbef795fdf49a94bd6b071a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:12:01.665Z] ---> job-cost.sh [2023-04-28T04:12:01.665Z] lf-activate-venv: SKIPPING [2023-04-28T04:12:01.665Z] INFO: No Stack... [2023-04-28T04:12:01.933Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-28T04:12:02.899Z] INFO: Archiving Costs [Pipeline] sh [2023-04-28T04:12:03.575Z] + cut+ cat -d, -f6 /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-04-28T04:12:03.575Z] [Pipeline] lock [2023-04-28T04:12:03.666Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-330-1-stack-cost] [2023-04-28T04:12:03.670Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-330-1-stack-cost] did not exist. Created. [2023-04-28T04:12:03.671Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-330-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-28T04:12:04.415Z] /w/workspace/device-onvif-camera/1@tmp/durable-b7767d57/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-28T04:12:05.096Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-28T04:12:05.135Z] Warning: overwriting stash ‘stack-cost’ [2023-04-28T04:12:05.736Z] Stashed 1 file(s) [Pipeline] } [2023-04-28T04:12:05.753Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-330-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-28T04:12:05.829Z] $ docker stop --time=1 d5d07236e58a21519e6742c1f05d697a3d7dce5e6dbef795fdf49a94bd6b071a [2023-04-28T04:12:07.368Z] $ docker rm -f --volumes d5d07236e58a21519e6742c1f05d697a3d7dce5e6dbef795fdf49a94bd6b071a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-28T04:12:08.102Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-28T04:12:10.146Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-330/archives ] [2023-04-28T04:12:10.147Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-330/archives [2023-04-28T04:12:10.147Z] total 16 [2023-04-28T04:12:10.147Z] drwxr-xr-x 3 root root 4096 Apr 28 04:04 . [2023-04-28T04:12:10.147Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 04:04 .. [2023-04-28T04:12:10.147Z] drwxr-xr-x 2 root root 4096 Apr 28 04:04 cost [2023-04-28T04:12:10.147Z] -rw-r--r-- 1 root root 91 Apr 28 04:04 cost.csv [2023-04-28T04:12:10.147Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-330/archives [2023-04-28T04:12:10.147Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-330/archives [2023-04-28T04:12:10.147Z] total 16 [2023-04-28T04:12:10.147Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 04:04 . [2023-04-28T04:12:10.147Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 04:04 .. [2023-04-28T04:12:10.147Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 04:04 cost [2023-04-28T04:12:10.147Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 28 04:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:12:10.476Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:12:11.370Z] ---> package-listing.sh [2023-04-28T04:12:11.370Z] ++ facter osfamily [2023-04-28T04:12:11.370Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-28T04:12:11.631Z] + OS_FAMILY=debian [2023-04-28T04:12:11.631Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-330 [2023-04-28T04:12:11.632Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-28T04:12:11.632Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-28T04:12:11.632Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-28T04:12:11.632Z] + PACKAGES=/tmp/packages_start.txt [2023-04-28T04:12:11.632Z] + '[' /w/workspace/undry_device-onvif-camera_PR-330 ']' [2023-04-28T04:12:11.632Z] + PACKAGES=/tmp/packages_end.txt [2023-04-28T04:12:11.632Z] + case "${OS_FAMILY}" in [2023-04-28T04:12:11.632Z] + dpkg -l [2023-04-28T04:12:11.632Z] + grep '^ii' [2023-04-28T04:12:11.632Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-28T04:12:11.632Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-28T04:12:11.632Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-28T04:12:11.632Z] + '[' /w/workspace/undry_device-onvif-camera_PR-330 ']' [2023-04-28T04:12:11.632Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-330/archives/ [2023-04-28T04:12:11.632Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-330/archives/ [Pipeline] echo [2023-04-28T04:12:11.661Z] 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-330/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-28T04:12:11.957Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T04:12:12.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-28T04:12:12.595Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T04:12:12.756Z] prd-ubuntu20.04-docker-8c-8g-11985 does not seem to be running inside a container [2023-04-28T04:12:12.799Z] $ 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-330/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-330 -v /w/workspace/undry_device-onvif-camera_PR-330:/w/workspace/undry_device-onvif-camera_PR-330:rw,z -v /w/workspace/undry_device-onvif-camera_PR-330@tmp:/w/workspace/undry_device-onvif-camera_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-28T04:12:13.028Z] $ docker top b2f0f5c94d97ba35c12d36735f918ef237df4dcc9d7616ac6583ad5a70d6e80e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T04:12:13.425Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-28T04:12:13.737Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-28T04:12:14.047Z] + ls /var/log/sa-host [2023-04-28T04:12:14.047Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-28T04:12:14.289Z] provisioning config files... [2023-04-28T04:12:14.299Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-330@tmp/config7038187344158773286tmp [Pipeline] { [Pipeline] echo [2023-04-28T04:12:14.353Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:12:14.669Z] ---> create-netrc.sh [Pipeline] } [2023-04-28T04:12:14.699Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:12:15.106Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-28T04:12:15.141Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:12:15.455Z] ---> sudo-logs.sh [2023-04-28T04:12:15.455Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-28T04:12:15.539Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:12:15.855Z] ---> job-cost.sh [2023-04-28T04:12:15.855Z] lf-activate-venv: SKIPPING [2023-04-28T04:12:15.855Z] DEBUG: total: 0.2199999988079071 [2023-04-28T04:12:15.855Z] INFO: Retrieving Stack Cost... [2023-04-28T04:12:16.115Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-28T04:12:16.685Z] INFO: Archiving Costs [Pipeline] echo [2023-04-28T04:12:16.723Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T04:12:17.042Z] ---> logs-deploy.sh [2023-04-28T04:12:17.042Z] lf-activate-venv: SKIPPING [2023-04-28T04:12:17.042Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-330/1 [2023-04-28T04:12:17.042Z] INFO: archiving workspace using pattern(s): [2023-04-28T04:12:17.984Z] Archives upload complete. [2023-04-28T04:12:18.245Z] INFO: archiving logs to Nexus