Pull request #302 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e59a65be92ded77c2e95e1e7858425c42f2a5520+c6cff038fe156dd62418d57d6c36ffe741a1df05 (764eb491d7e0f0a27e0d1a48ec1521fcfaa875c1) 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-ssh1243217664352993939.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh14214252836720104124.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-302/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-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh744182345146432518.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-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1612675981556855738.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh1586190593406224728.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-302/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-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6771989181920826240.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-7265 in /w/workspace/undry_device-onvif-camera_PR-302 [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-302 # 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/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c6cff038fe156dd62418d57d6c36ffe741a1df05 into PR head commit e59a65be92ded77c2e95e1e7858425c42f2a5520 Merge succeeded, producing e59a65be92ded77c2e95e1e7858425c42f2a5520 Checking out Revision e59a65be92ded77c2e95e1e7858425c42f2a5520 (PR-302) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-10T03:25:24.427Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f e59a65be92ded77c2e95e1e7858425c42f2a5520 # 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 c6cff038fe156dd62418d57d6c36ffe741a1df05 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e59a65be92ded77c2e95e1e7858425c42f2a5520 # timeout=10 [Pipeline] withCredentials [2023-04-10T03:25:24.625Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-10T03:25:24.744Z] ========================================================= [2023-04-10T03:25:24.744Z] EdgeX Global Pipelines Version Info [2023-04-10T03:25:24.744Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-10T03:25:25.474Z] ------------------- [2023-04-10T03:25:25.474Z] stable info: [2023-04-10T03:25:25.474Z] ------------------- [2023-04-10T03:25:25.474Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-10T03:25:25.474Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-10T03:25:25.474Z] Message: update stable to v1.0.245 [2023-04-10T03:25:26.043Z] ------------------- [2023-04-10T03:25:26.043Z] experimental info: [2023-04-10T03:25:26.043Z] ------------------- [2023-04-10T03:25:26.043Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-10T03:25:26.043Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-10T03:25:26.043Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-10T03:25:26.302Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-10T03:25:26.340Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-10T03:25:26.379Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-10T03:25:26.416Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-10T03:25:26.453Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-10T03:25:26.490Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-10T03:25:26.529Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-10T03:25:26.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-10T03:25:26.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-10T03:25:26.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-10T03:25:26.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-10T03:25:26.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-10T03:25:26.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-10T03:25:26.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-10T03:25:26.840Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-10T03:25:26.880Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-10T03:25:26.921Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-10T03:25:26.961Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-10T03:25:26.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-10T03:25:27.042Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-10T03:25:27.087Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-10T03:25:27.130Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-10T03:25:27.174Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-10T03:25:27.220Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-10T03:25:27.263Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-10T03:25:27.303Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-10T03:25:27.347Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-10T03:25:27.393Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-302 [Pipeline] echo [2023-04-10T03:25:27.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-302 [Pipeline] echo [2023-04-10T03:25:27.476Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-302 [Pipeline] echo [2023-04-10T03:25:27.521Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e59a65be92ded77c2e95e1e7858425c42f2a5520 [Pipeline] echo [2023-04-10T03:25:27.565Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e59a65b [Pipeline] echo [2023-04-10T03:25:27.602Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-10T03:25:27.742Z] provisioning config files... [2023-04-10T03:25:27.777Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-302@tmp/config8563413593833677148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T03:25:28.118Z] ---> docker-login.sh [2023-04-10T03:25:28.118Z] nexus3.edgexfoundry.org:10001 [2023-04-10T03:25:28.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:25:28.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:25:28.638Z] Configure a credential helper to remove this warning. See [2023-04-10T03:25:28.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:25:28.638Z] [2023-04-10T03:25:28.638Z] Login Succeeded [2023-04-10T03:25:28.638Z] nexus3.edgexfoundry.org:10002 [2023-04-10T03:25:28.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:25:28.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:25:28.638Z] Configure a credential helper to remove this warning. See [2023-04-10T03:25:28.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:25:28.638Z] [2023-04-10T03:25:28.638Z] Login Succeeded [2023-04-10T03:25:28.638Z] nexus3.edgexfoundry.org:10003 [2023-04-10T03:25:28.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:25:28.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:25:28.638Z] Configure a credential helper to remove this warning. See [2023-04-10T03:25:28.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:25:28.638Z] [2023-04-10T03:25:28.638Z] Login Succeeded [2023-04-10T03:25:28.638Z] nexus3.edgexfoundry.org:10004 [2023-04-10T03:25:28.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:25:28.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:25:28.898Z] Configure a credential helper to remove this warning. See [2023-04-10T03:25:28.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:25:28.898Z] [2023-04-10T03:25:28.898Z] Login Succeeded [2023-04-10T03:25:28.898Z] docker.io [2023-04-10T03:25:28.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:25:29.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:25:29.158Z] Configure a credential helper to remove this warning. See [2023-04-10T03:25:29.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:25:29.158Z] [2023-04-10T03:25:29.158Z] Login Succeeded [2023-04-10T03:25:29.158Z] ---> docker-login.sh ends [Pipeline] } [2023-04-10T03:25:29.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-10T03:25:29.836Z] + git rev-list -1 --merges e59a65be92ded77c2e95e1e7858425c42f2a5520~1..e59a65be92ded77c2e95e1e7858425c42f2a5520 [Pipeline] echo [2023-04-10T03:25:29.902Z] -----------> git rev-list -1 --merges e59a65be92ded77c2e95e1e7858425c42f2a5520~1..e59a65be92ded77c2e95e1e7858425c42f2a5520 e59a65be92ded77c2e95e1e7858425c42f2a5520 [false] [Pipeline] sh [2023-04-10T03:25:30.210Z] + git log --format=format:%s -1 e59a65be92ded77c2e95e1e7858425c42f2a5520 [Pipeline] echo [2023-04-10T03:25:30.247Z] ========================================================= [2023-04-10T03:25:30.247Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-10T03:25:30.247Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-10T03:25:30.686Z] + git log --format=format:%s -1 e59a65be92ded77c2e95e1e7858425c42f2a5520 [Pipeline] echo [2023-04-10T03:25:30.722Z] [semverPrep] GIT_COMMIT: e59a65be92ded77c2e95e1e7858425c42f2a5520, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-10T03:25:30.747Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-10T03:25:31.135Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-10T03:25:31.135Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-10T03:25:31.135Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-10T03:25:31.135Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-10T03:25:31.135Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-10T03:25:31.135Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-10T03:25:31.135Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T03:25:31.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-10T03:25:31.618Z] [2023-04-10T03:25:31.618Z] 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-10T03:25:32.003Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-10T03:25:32.003Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-10T03:25:32.003Z] b85a868b505f: Pulling fs layer [2023-04-10T03:25:32.003Z] e2be974225ed: Pulling fs layer [2023-04-10T03:25:32.003Z] 339a4e72a1f5: Pulling fs layer [2023-04-10T03:25:32.003Z] 988bab9f4d93: Pulling fs layer [2023-04-10T03:25:32.003Z] 1469e6f7b9e6: Pulling fs layer [2023-04-10T03:25:32.003Z] eaf3925da568: Pulling fs layer [2023-04-10T03:25:32.003Z] bab4dde63d76: Pulling fs layer [2023-04-10T03:25:32.003Z] bde34c3a00c8: Pulling fs layer [2023-04-10T03:25:32.003Z] b352a97aabf1: Pulling fs layer [2023-04-10T03:25:32.003Z] 4872d77fe225: Pulling fs layer [2023-04-10T03:25:32.003Z] 5851b861e8e6: Pulling fs layer [2023-04-10T03:25:32.003Z] 1469e6f7b9e6: Waiting [2023-04-10T03:25:32.003Z] eaf3925da568: Waiting [2023-04-10T03:25:32.003Z] bab4dde63d76: Waiting [2023-04-10T03:25:32.003Z] bde34c3a00c8: Waiting [2023-04-10T03:25:32.003Z] b352a97aabf1: Waiting [2023-04-10T03:25:32.003Z] 5851b861e8e6: Waiting [2023-04-10T03:25:32.003Z] 4872d77fe225: Waiting [2023-04-10T03:25:32.003Z] 988bab9f4d93: Waiting [2023-04-10T03:25:32.003Z] e2be974225ed: Verifying Checksum [2023-04-10T03:25:32.003Z] e2be974225ed: Download complete [2023-04-10T03:25:32.003Z] 988bab9f4d93: Verifying Checksum [2023-04-10T03:25:32.003Z] 988bab9f4d93: Download complete [2023-04-10T03:25:32.003Z] 1469e6f7b9e6: Verifying Checksum [2023-04-10T03:25:32.003Z] 1469e6f7b9e6: Download complete [2023-04-10T03:25:32.003Z] eaf3925da568: Verifying Checksum [2023-04-10T03:25:32.003Z] eaf3925da568: Download complete [2023-04-10T03:25:32.263Z] 339a4e72a1f5: Verifying Checksum [2023-04-10T03:25:32.263Z] 339a4e72a1f5: Download complete [2023-04-10T03:25:32.263Z] bde34c3a00c8: Download complete [2023-04-10T03:25:32.263Z] b352a97aabf1: Download complete [2023-04-10T03:25:32.263Z] 4872d77fe225: Verifying Checksum [2023-04-10T03:25:32.263Z] 4872d77fe225: Download complete [2023-04-10T03:25:32.263Z] 5851b861e8e6: Verifying Checksum [2023-04-10T03:25:32.263Z] 5851b861e8e6: Download complete [2023-04-10T03:25:32.263Z] b85a868b505f: Verifying Checksum [2023-04-10T03:25:32.263Z] b85a868b505f: Download complete [2023-04-10T03:25:32.522Z] bab4dde63d76: Verifying Checksum [2023-04-10T03:25:32.522Z] bab4dde63d76: Download complete [2023-04-10T03:25:33.457Z] b85a868b505f: Pull complete [2023-04-10T03:25:33.457Z] e2be974225ed: Pull complete [2023-04-10T03:25:34.024Z] 339a4e72a1f5: Pull complete [2023-04-10T03:25:34.024Z] 988bab9f4d93: Pull complete [2023-04-10T03:25:34.284Z] 1469e6f7b9e6: Pull complete [2023-04-10T03:25:34.284Z] eaf3925da568: Pull complete [2023-04-10T03:25:36.220Z] bab4dde63d76: Pull complete [2023-04-10T03:25:36.220Z] bde34c3a00c8: Pull complete [2023-04-10T03:25:36.220Z] b352a97aabf1: Pull complete [2023-04-10T03:25:36.480Z] 4872d77fe225: Pull complete [2023-04-10T03:25:36.480Z] 5851b861e8e6: Pull complete [2023-04-10T03:25:36.480Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-10T03:25:36.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-10T03:25:36.480Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T03:25:36.706Z] prd-ubuntu20.04-docker-8c-8g-7265 does not seem to be running inside a container [2023-04-10T03:25:36.740Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-302 -v /w/workspace/undry_device-onvif-camera_PR-302:/w/workspace/undry_device-onvif-camera_PR-302:rw,z -v /w/workspace/undry_device-onvif-camera_PR-302@tmp:/w/workspace/undry_device-onvif-camera_PR-302@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-10T03:25:39.699Z] $ docker top 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 -eo pid,comm [2023-04-10T03:25:39.755Z] 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-10T03:25:39.755Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-10T03:25:39.890Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-10T03:25:39.890Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-10T03:25:40.010Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-10T03:25:40.012Z] $ docker exec 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 ssh-agent [2023-04-10T03:25:40.137Z] SSH_AUTH_SOCK=/tmp/ssh-rBIHpzL3SHQ6/agent.32 [2023-04-10T03:25:40.137Z] SSH_AGENT_PID=38 [2023-04-10T03:25:40.144Z] Running ssh-add (command line suppressed) [2023-04-10T03:25:40.251Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-302@tmp/private_key_17824277406888726866.key (/w/workspace/undry_device-onvif-camera_PR-302@tmp/private_key_17824277406888726866.key) [2023-04-10T03:25:40.268Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-10T03:25:40.604Z] + git tag --points-at HEAD [Pipeline] } [2023-04-10T03:25:40.629Z] $ docker exec --env ******** --env ******** 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 ssh-agent -k [2023-04-10T03:25:40.719Z] unset SSH_AUTH_SOCK; [2023-04-10T03:25:40.719Z] unset SSH_AGENT_PID; [2023-04-10T03:25:40.719Z] echo Agent pid 38 killed; [2023-04-10T03:25:40.731Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-10T03:25:40.827Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-10T03:25:40.827Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-10T03:25:40.946Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-10T03:25:40.947Z] $ docker exec 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 ssh-agent [2023-04-10T03:25:41.066Z] SSH_AUTH_SOCK=/tmp/ssh-32h4CjsWUbCS/agent.71 [2023-04-10T03:25:41.066Z] SSH_AGENT_PID=78 [2023-04-10T03:25:41.071Z] Running ssh-add (command line suppressed) [2023-04-10T03:25:41.178Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-302@tmp/private_key_1894195246844612483.key (/w/workspace/undry_device-onvif-camera_PR-302@tmp/private_key_1894195246844612483.key) [2023-04-10T03:25:41.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-10T03:25:41.527Z] + git semver init [2023-04-10T03:25:41.787Z] 2023-04-10 03:25:41,680 [run_init] DEBUG init version:0.0.0 force:False [2023-04-10T03:25:41.787Z] 2023-04-10 03:25:41,680 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-302/.semver [2023-04-10T03:25:41.787Z] 2023-04-10 03:25:41,681 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-302/.semver [2023-04-10T03:25:41.787Z] 2023-04-10 03:25:41,681 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-302/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-302, universal_newlines=False, shell=None, istream=None) [2023-04-10T03:25:42.731Z] 2023-04-10 03:25:42,551 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-302/.git/info/exclude [2023-04-10T03:25:42.731Z] 2023-04-10 03:25:42,551 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-302/.semver/PR-302 with force:False [2023-04-10T03:25:42.731Z] 2023-04-10 03:25:42,551 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-302/.semver/PR-302 [2023-04-10T03:25:42.731Z] 2023-04-10 03:25:42,555 [execute] INFO git cat-file --batch-check [2023-04-10T03:25:42.731Z] 2023-04-10 03:25:42,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-302/.semver, universal_newlines=False, shell=None, istream=) [2023-04-10T03:25:42.731Z] 2023-04-10 03:25:42,562 [execute] INFO git cat-file --batch [2023-04-10T03:25:42.731Z] 2023-04-10 03:25:42,562 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-302/.semver, universal_newlines=False, shell=None, istream=) [2023-04-10T03:25:42.731Z] 2023-04-10 03:25:42,566 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-302/.semver/PR-302 [2023-04-10T03:25:42.731Z] 0.0.0 [Pipeline] } [2023-04-10T03:25:42.757Z] $ docker exec --env ******** --env ******** 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 ssh-agent -k [2023-04-10T03:25:42.866Z] unset SSH_AUTH_SOCK; [2023-04-10T03:25:42.866Z] unset SSH_AGENT_PID; [2023-04-10T03:25:42.866Z] echo Agent pid 78 killed; [2023-04-10T03:25:42.875Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-10T03:25:43.288Z] + git semver [Pipeline] } [2023-04-10T03:25:43.579Z] $ docker stop --time=1 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 [2023-04-10T03:25:44.866Z] $ docker rm -f --volumes 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-10T03:25:45.323Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-10T03:25:45.577Z] Stashed 1 file(s) [Pipeline] echo [2023-04-10T03:25:45.594Z] [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-10T03:25:46.163Z] provisioning config files... [2023-04-10T03:25:46.175Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-302@tmp/config3672991269145676202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T03:25:46.529Z] ---> docker-login.sh [2023-04-10T03:25:46.529Z] nexus3.edgexfoundry.org:10001 [2023-04-10T03:25:46.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:25:46.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:25:46.529Z] Configure a credential helper to remove this warning. See [2023-04-10T03:25:46.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:25:46.529Z] [2023-04-10T03:25:46.529Z] Login Succeeded [2023-04-10T03:25:46.529Z] nexus3.edgexfoundry.org:10002 [2023-04-10T03:25:46.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:25:46.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:25:46.529Z] Configure a credential helper to remove this warning. See [2023-04-10T03:25:46.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:25:46.529Z] [2023-04-10T03:25:46.529Z] Login Succeeded [2023-04-10T03:25:46.529Z] nexus3.edgexfoundry.org:10003 [2023-04-10T03:25:46.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:25:46.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:25:46.788Z] Configure a credential helper to remove this warning. See [2023-04-10T03:25:46.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:25:46.788Z] [2023-04-10T03:25:46.788Z] Login Succeeded [2023-04-10T03:25:46.788Z] nexus3.edgexfoundry.org:10004 [2023-04-10T03:25:46.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:25:46.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:25:46.788Z] Configure a credential helper to remove this warning. See [2023-04-10T03:25:46.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:25:46.788Z] [2023-04-10T03:25:46.788Z] Login Succeeded [2023-04-10T03:25:46.788Z] docker.io [2023-04-10T03:25:46.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:25:47.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:25:47.048Z] Configure a credential helper to remove this warning. See [2023-04-10T03:25:47.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:25:47.048Z] [2023-04-10T03:25:47.048Z] Login Succeeded [2023-04-10T03:25:47.048Z] ---> docker-login.sh ends [Pipeline] } [2023-04-10T03:25:47.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-10T03:25:47.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T03:25:47.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T03:25:47.344Z] ========================================================= [2023-04-10T03:25:47.344Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-10T03:25:47.344Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T03:25:47.826Z] + 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-10T03:25:47.826Z] Sending build context to Docker daemon 26.9MB [2023-04-10T03:25:47.826Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-10T03:25:47.826Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-10T03:25:48.105Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-10T03:25:48.105Z] 63b65145d645: Pulling fs layer [2023-04-10T03:25:48.105Z] a2d21d5440eb: Pulling fs layer [2023-04-10T03:25:48.106Z] 935e6c44a52c: Pulling fs layer [2023-04-10T03:25:48.106Z] 94cc34f8dd06: Pulling fs layer [2023-04-10T03:25:48.106Z] 30dea6a524f1: Pulling fs layer [2023-04-10T03:25:48.106Z] a2aff8979fd8: Pulling fs layer [2023-04-10T03:25:48.106Z] 6808be2612f2: Pulling fs layer [2023-04-10T03:25:48.106Z] f25807f1079a: Pulling fs layer [2023-04-10T03:25:48.106Z] 30dea6a524f1: Waiting [2023-04-10T03:25:48.106Z] f25807f1079a: Waiting [2023-04-10T03:25:48.106Z] 6808be2612f2: Waiting [2023-04-10T03:25:48.106Z] 94cc34f8dd06: Waiting [2023-04-10T03:25:48.106Z] a2d21d5440eb: Verifying Checksum [2023-04-10T03:25:48.106Z] a2d21d5440eb: Download complete [2023-04-10T03:25:48.106Z] 94cc34f8dd06: Download complete [2023-04-10T03:25:48.106Z] 30dea6a524f1: Verifying Checksum [2023-04-10T03:25:48.106Z] 30dea6a524f1: Download complete [2023-04-10T03:25:48.106Z] 63b65145d645: Verifying Checksum [2023-04-10T03:25:48.106Z] 63b65145d645: Download complete [2023-04-10T03:25:48.106Z] a2aff8979fd8: Verifying Checksum [2023-04-10T03:25:48.106Z] a2aff8979fd8: Download complete [2023-04-10T03:25:48.106Z] 63b65145d645: Pull complete [2023-04-10T03:25:48.378Z] a2d21d5440eb: Pull complete [2023-04-10T03:25:48.639Z] f25807f1079a: Verifying Checksum [2023-04-10T03:25:48.639Z] f25807f1079a: Download complete [2023-04-10T03:25:48.901Z] 935e6c44a52c: Verifying Checksum [2023-04-10T03:25:48.901Z] 935e6c44a52c: Download complete [2023-04-10T03:25:48.901Z] 6808be2612f2: Verifying Checksum [2023-04-10T03:25:48.901Z] 6808be2612f2: Download complete [2023-04-10T03:25:52.187Z] 935e6c44a52c: Pull complete [2023-04-10T03:25:52.187Z] 94cc34f8dd06: Pull complete [2023-04-10T03:25:52.187Z] 30dea6a524f1: Pull complete [2023-04-10T03:25:52.187Z] a2aff8979fd8: Pull complete [2023-04-10T03:25:54.715Z] 6808be2612f2: Pull complete [2023-04-10T03:25:55.280Z] f25807f1079a: Pull complete [2023-04-10T03:25:55.280Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-10T03:25:55.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-10T03:25:55.280Z] ---> 3b553350e43f [2023-04-10T03:25:55.280Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-10T03:26:00.555Z] ---> Running in 8f6fa8b5e62e [2023-04-10T03:26:00.555Z] Removing intermediate container 8f6fa8b5e62e [2023-04-10T03:26:00.555Z] ---> 69ab5b9695d5 [2023-04-10T03:26:00.555Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-10T03:26:00.555Z] ---> Running in 048f1aa6cfa0 [2023-04-10T03:26:00.555Z] Removing intermediate container 048f1aa6cfa0 [2023-04-10T03:26:00.555Z] ---> 1b9428b70d94 [2023-04-10T03:26:00.555Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-10T03:26:00.555Z] ---> Running in f4eb5f90a99e [2023-04-10T03:26:00.555Z] Removing intermediate container f4eb5f90a99e [2023-04-10T03:26:00.555Z] ---> 0d567e8a595e [2023-04-10T03:26:00.555Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-10T03:26:00.555Z] ---> Running in cf21c5024d73 [2023-04-10T03:26:00.555Z] Removing intermediate container cf21c5024d73 [2023-04-10T03:26:00.555Z] ---> 5193a46bb754 [2023-04-10T03:26:00.555Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-10T03:26:00.555Z] ---> Running in 561e0bfe26d2 [2023-04-10T03:26:00.555Z] Removing intermediate container 561e0bfe26d2 [2023-04-10T03:26:00.555Z] ---> 7c1cc7b7cd7c [2023-04-10T03:26:00.555Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-10T03:26:00.555Z] ---> Running in f05baef19a85 [2023-04-10T03:26:00.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-10T03:26:00.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-10T03:26:00.973Z] Still waiting to schedule task [2023-04-10T03:26:00.974Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-10T03:26:01.074Z] OK: 265 MiB in 53 packages [2023-04-10T03:26:01.333Z] Removing intermediate container f05baef19a85 [2023-04-10T03:26:01.333Z] ---> f4f0f9391738 [2023-04-10T03:26:01.333Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-10T03:26:01.333Z] ---> Running in 45bb6061e1ac [2023-04-10T03:26:01.333Z] Removing intermediate container 45bb6061e1ac [2023-04-10T03:26:01.333Z] ---> 24598b4da6ad [2023-04-10T03:26:01.333Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-10T03:26:01.592Z] ---> a3b8c0ae0daa [2023-04-10T03:26:01.592Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-10T03:26:01.592Z] ---> Running in 6e34fbbffbc0 [2023-04-10T03:26:33.932Z] Removing intermediate container 6e34fbbffbc0 [2023-04-10T03:26:33.932Z] ---> bd950752f72b [2023-04-10T03:26:33.932Z] Step 12/13 : COPY . . [2023-04-10T03:26:33.932Z] ---> f09e43ab8645 [2023-04-10T03:26:33.932Z] Step 13/13 : RUN ${MAKE} [2023-04-10T03:26:33.932Z] ---> Running in 91181117e7b2 [2023-04-10T03:26:33.932Z] noop [2023-04-10T03:26:33.932Z] Removing intermediate container 91181117e7b2 [2023-04-10T03:26:33.932Z] ---> b611ac950235 [2023-04-10T03:26:33.932Z] Successfully built b611ac950235 [2023-04-10T03:26:33.932Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T03:26:34.360Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-10T03:26:34.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T03:26:34.510Z] prd-ubuntu20.04-docker-8c-8g-7265 does not seem to be running inside a container [2023-04-10T03:26:34.534Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-302 -v /w/workspace/undry_device-onvif-camera_PR-302:/w/workspace/undry_device-onvif-camera_PR-302:rw,z -v /w/workspace/undry_device-onvif-camera_PR-302@tmp:/w/workspace/undry_device-onvif-camera_PR-302@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-10T03:26:34.889Z] $ docker top c5506883800cbf7d31cf90b42c06ee9823477ed40c6c3491e31f1755bd37e0f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T03:26:35.317Z] + go version [2023-04-10T03:26:35.317Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-10T03:26:35.343Z] $ docker stop --time=1 c5506883800cbf7d31cf90b42c06ee9823477ed40c6c3491e31f1755bd37e0f1 [2023-04-10T03:26:36.593Z] $ docker rm -f --volumes c5506883800cbf7d31cf90b42c06ee9823477ed40c6c3491e31f1755bd37e0f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T03:26:37.281Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-10T03:26:37.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T03:26:37.426Z] prd-ubuntu20.04-docker-8c-8g-7265 does not seem to be running inside a container [2023-04-10T03:26:37.453Z] $ 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-302 -v /w/workspace/undry_device-onvif-camera_PR-302:/w/workspace/undry_device-onvif-camera_PR-302:rw,z -v /w/workspace/undry_device-onvif-camera_PR-302@tmp:/w/workspace/undry_device-onvif-camera_PR-302@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-10T03:26:37.780Z] $ docker top 81b75175c6d56217ec52d7d2dd98b599664baf4a9fffccb041bb8c0a764e4f4b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T03:26:38.172Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-302 [Pipeline] fileExists [Pipeline] sh [2023-04-10T03:26:38.530Z] + make test [2023-04-10T03:26:38.530Z] go test ./... -coverprofile=coverage.out ./... [2023-04-10T03:26:43.794Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-10T03:26:53.764Z] # github.com/edgexfoundry/device-onvif-camera/cmd [2023-04-10T03:26:53.764Z] cmd/main.go:22:56: cannot use &sd (value of type *"github.com/edgexfoundry/device-onvif-camera/internal/driver".Driver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in argument to startup.Bootstrap: *"github.com/edgexfoundry/device-onvif-camera/internal/driver".Driver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (wrong type for method Discover) [2023-04-10T03:26:53.764Z] have Discover() [2023-04-10T03:26:53.764Z] want Discover() error [2023-04-10T03:26:53.764Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-10T03:26:55.138Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 31.7% of statements [2023-04-10T03:26:55.397Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.112s coverage: 86.5% of statements [2023-04-10T03:26:55.397Z] FAIL [2023-04-10T03:26:55.397Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-04-10T03:26:55.438Z] $ docker stop --time=1 81b75175c6d56217ec52d7d2dd98b599664baf4a9fffccb041bb8c0a764e4f4b [2023-04-10T03:26:58.646Z] $ docker rm -f --volumes 81b75175c6d56217ec52d7d2dd98b599664baf4a9fffccb041bb8c0a764e4f4b [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-10T03:26:59.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-10T03:26:59.904Z] [2023-04-10T03:26:59.904Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T03:27:00.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-10T03:27:00.313Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-10T03:27:00.313Z] 5eb5b503b376: Pulling fs layer [2023-04-10T03:27:00.313Z] 5c69ac0246d0: Pulling fs layer [2023-04-10T03:27:00.313Z] ec43610c2a17: Pulling fs layer [2023-04-10T03:27:00.313Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-10T03:27:00.313Z] 33b1e0a273af: Pulling fs layer [2023-04-10T03:27:00.313Z] 5d3b04190fa2: Pulling fs layer [2023-04-10T03:27:00.313Z] 2f39f015ded8: Pulling fs layer [2023-04-10T03:27:00.313Z] 5d3b04190fa2: Waiting [2023-04-10T03:27:00.313Z] 3a2ae6a8a46f: Waiting [2023-04-10T03:27:00.313Z] 33b1e0a273af: Waiting [2023-04-10T03:27:00.313Z] 2f39f015ded8: Waiting [2023-04-10T03:27:00.313Z] 5c69ac0246d0: Verifying Checksum [2023-04-10T03:27:00.313Z] 5c69ac0246d0: Download complete [2023-04-10T03:27:00.313Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-10T03:27:00.313Z] 3a2ae6a8a46f: Download complete [2023-04-10T03:27:00.313Z] 33b1e0a273af: Verifying Checksum [2023-04-10T03:27:00.313Z] 33b1e0a273af: Download complete [2023-04-10T03:27:00.313Z] 5d3b04190fa2: Download complete [2023-04-10T03:27:00.572Z] ec43610c2a17: Verifying Checksum [2023-04-10T03:27:00.572Z] ec43610c2a17: Download complete [2023-04-10T03:27:00.572Z] 5eb5b503b376: Verifying Checksum [2023-04-10T03:27:00.572Z] 5eb5b503b376: Download complete [2023-04-10T03:27:01.139Z] 2f39f015ded8: Download complete [2023-04-10T03:27:01.705Z] 5eb5b503b376: Pull complete [2023-04-10T03:27:01.705Z] 5c69ac0246d0: Pull complete [2023-04-10T03:27:02.272Z] ec43610c2a17: Pull complete [2023-04-10T03:27:02.272Z] 3a2ae6a8a46f: Pull complete [2023-04-10T03:27:02.530Z] 33b1e0a273af: Pull complete [2023-04-10T03:27:02.530Z] 5d3b04190fa2: Pull complete [2023-04-10T03:27:06.713Z] 2f39f015ded8: Pull complete [2023-04-10T03:27:06.713Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-10T03:27:06.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-10T03:27:06.713Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T03:27:06.921Z] prd-ubuntu20.04-docker-8c-8g-7265 does not seem to be running inside a container [2023-04-10T03:27:06.951Z] $ 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-302 -v /w/workspace/undry_device-onvif-camera_PR-302:/w/workspace/undry_device-onvif-camera_PR-302:rw,z -v /w/workspace/undry_device-onvif-camera_PR-302@tmp:/w/workspace/undry_device-onvif-camera_PR-302@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-10T03:27:11.268Z] $ docker top 51cc259c39154065d857336496d11bbe82f0c7ca56bb14a7cad70d8ecc97db87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T03:27:11.730Z] ---> job-cost.sh [2023-04-10T03:27:11.730Z] lf-activate-venv: SKIPPING [2023-04-10T03:27:11.730Z] INFO: No Stack... [2023-04-10T03:27:11.989Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-10T03:27:12.248Z] INFO: Archiving Costs [Pipeline] sh [2023-04-10T03:27:12.561Z] + cat /w/workspace/undry_device-onvif-camera_PR-302/archives/cost.csv [2023-04-10T03:27:12.562Z] + cut -d, -f6 [Pipeline] lock [2023-04-10T03:27:12.597Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] [2023-04-10T03:27:12.602Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] did not exist. Created. [2023-04-10T03:27:12.602Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-10T03:27:12.993Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-10T03:27:13.051Z] Stashed 1 file(s) [Pipeline] } [2023-04-10T03:27:13.069Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-10T03:27:13.147Z] $ docker stop --time=1 51cc259c39154065d857336496d11bbe82f0c7ca56bb14a7cad70d8ecc97db87 [2023-04-10T03:27:14.304Z] $ docker rm -f --volumes 51cc259c39154065d857336496d11bbe82f0c7ca56bb14a7cad70d8ecc97db87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-10T03:27:14.666Z] Failed in branch amd64 [2023-04-10T03:27:35.196Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7266 in /w/workspace/undry_device-onvif-camera_PR-302 [Pipeline] { [Pipeline] ws [2023-04-10T03:27:35.258Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-04-10T03:27:35.341Z] The recommended git tool is: git [2023-04-10T03:27:40.255Z] using credential edgex-jenkins-ssh [2023-04-10T03:27:40.272Z] Cloning the remote Git repository [2023-04-10T03:27:40.307Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-10T03:27:40.390Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-04-10T03:27:40.514Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-10T03:27:40.515Z] > git --version # timeout=10 [2023-04-10T03:27:40.534Z] > git --version # 'git version 2.25.1' [2023-04-10T03:27:40.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-10T03:27:40.669Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-10T03:27:41.986Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-10T03:27:42.001Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-10T03:27:43.445Z] Merging remotes/origin/main commit c6cff038fe156dd62418d57d6c36ffe741a1df05 into PR head commit e59a65be92ded77c2e95e1e7858425c42f2a5520 [2023-04-10T03:27:43.897Z] Merge succeeded, producing e59a65be92ded77c2e95e1e7858425c42f2a5520 [2023-04-10T03:27:43.898Z] Checking out Revision e59a65be92ded77c2e95e1e7858425c42f2a5520 (PR-302) [2023-04-10T03:27:42.821Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-10T03:27:42.865Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-10T03:27:42.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-10T03:27:42.882Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-10T03:27:43.458Z] > git config core.sparsecheckout # timeout=10 [2023-04-10T03:27:43.532Z] > git checkout -f e59a65be92ded77c2e95e1e7858425c42f2a5520 # timeout=10 [2023-04-10T03:27:43.799Z] > git remote # timeout=10 [2023-04-10T03:27:43.815Z] > git config --get remote.origin.url # timeout=10 [2023-04-10T03:27:43.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-10T03:27:43.843Z] > git merge c6cff038fe156dd62418d57d6c36ffe741a1df05 # timeout=10 [2023-04-10T03:27:43.876Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-10T03:27:43.901Z] > git config core.sparsecheckout # timeout=10 [2023-04-10T03:27:43.926Z] > git checkout -f e59a65be92ded77c2e95e1e7858425c42f2a5520 # timeout=10 [2023-04-10T03:27:44.699Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-10T03:27:44.739Z] > git --version # timeout=10 [2023-04-10T03:27:44.750Z] > git --version # 'git version 2.25.1' [2023-04-10T03:27:44.768Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-10T03:27:45.914Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-10T03:27:45.914Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-10T03:27:45.914Z] Dload Upload Total Spent Left Speed [2023-04-10T03:27:45.914Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh [2023-04-10T03:27:46.543Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-10T03:27:46.880Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-10T03:27:46.880Z] + sudo tee /etc/docker/daemon.new [2023-04-10T03:27:46.880Z] { [2023-04-10T03:27:46.880Z] "registry-mirrors": [ [2023-04-10T03:27:46.880Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-10T03:27:46.881Z] ], [2023-04-10T03:27:46.881Z] "bip": "10.250.0.254/24", [2023-04-10T03:27:46.881Z] "hosts": [ [2023-04-10T03:27:46.881Z] "tcp://0.0.0.0:5555", [2023-04-10T03:27:46.881Z] "unix:///var/run/docker.sock" [2023-04-10T03:27:46.881Z] ], [2023-04-10T03:27:46.881Z] "mtu": 1458, [2023-04-10T03:27:46.881Z] "selinux-enabled": true, [2023-04-10T03:27:46.881Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-10T03:27:46.881Z] } [Pipeline] sh [2023-04-10T03:27:47.218Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-10T03:27:47.568Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-10T03:28:05.861Z] provisioning config files... [2023-04-10T03:28:05.885Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6060649336356252439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T03:28:06.259Z] ---> docker-login.sh [2023-04-10T03:28:06.259Z] nexus3.edgexfoundry.org:10001 [2023-04-10T03:28:06.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:28:06.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:28:06.798Z] Configure a credential helper to remove this warning. See [2023-04-10T03:28:06.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:28:06.798Z] [2023-04-10T03:28:06.798Z] Login Succeeded [2023-04-10T03:28:06.798Z] nexus3.edgexfoundry.org:10002 [2023-04-10T03:28:07.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:28:07.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:28:07.067Z] Configure a credential helper to remove this warning. See [2023-04-10T03:28:07.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:28:07.067Z] [2023-04-10T03:28:07.067Z] Login Succeeded [2023-04-10T03:28:07.067Z] nexus3.edgexfoundry.org:10003 [2023-04-10T03:28:07.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:28:07.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:28:07.608Z] Configure a credential helper to remove this warning. See [2023-04-10T03:28:07.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:28:07.608Z] [2023-04-10T03:28:07.608Z] Login Succeeded [2023-04-10T03:28:07.608Z] nexus3.edgexfoundry.org:10004 [2023-04-10T03:28:07.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:28:07.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:28:07.879Z] Configure a credential helper to remove this warning. See [2023-04-10T03:28:07.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:28:07.879Z] [2023-04-10T03:28:07.879Z] Login Succeeded [2023-04-10T03:28:07.879Z] docker.io [2023-04-10T03:28:08.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-10T03:28:08.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-10T03:28:08.413Z] Configure a credential helper to remove this warning. See [2023-04-10T03:28:08.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-10T03:28:08.413Z] [2023-04-10T03:28:08.413Z] Login Succeeded [2023-04-10T03:28:08.413Z] ---> docker-login.sh ends [Pipeline] } [2023-04-10T03:28:08.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-10T03:28:08.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T03:28:08.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-10T03:28:08.877Z] ========================================================= [2023-04-10T03:28:08.877Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-10T03:28:08.877Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T03:28:09.377Z] + 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-10T03:28:09.962Z] Sending build context to Docker daemon 19.64MB [2023-04-10T03:28:09.962Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-10T03:28:09.962Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-10T03:28:09.962Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-10T03:28:09.962Z] af6eaf76a39c: Pulling fs layer [2023-04-10T03:28:09.962Z] 55522c791124: Pulling fs layer [2023-04-10T03:28:09.962Z] ce5c4a1c91eb: Pulling fs layer [2023-04-10T03:28:09.962Z] 169dfbe0d373: Pulling fs layer [2023-04-10T03:28:09.962Z] e1ff8fa3b103: Pulling fs layer [2023-04-10T03:28:09.962Z] 52ebb69f0ebf: Pulling fs layer [2023-04-10T03:28:09.962Z] 5abe8eddf0d5: Pulling fs layer [2023-04-10T03:28:09.962Z] 169dfbe0d373: Waiting [2023-04-10T03:28:09.962Z] e1ff8fa3b103: Waiting [2023-04-10T03:28:09.962Z] 52ebb69f0ebf: Waiting [2023-04-10T03:28:09.962Z] 5abe8eddf0d5: Waiting [2023-04-10T03:28:09.962Z] 55522c791124: Verifying Checksum [2023-04-10T03:28:09.962Z] 55522c791124: Download complete [2023-04-10T03:28:09.962Z] 169dfbe0d373: Verifying Checksum [2023-04-10T03:28:09.962Z] 169dfbe0d373: Download complete [2023-04-10T03:28:10.241Z] e1ff8fa3b103: Download complete [2023-04-10T03:28:10.241Z] af6eaf76a39c: Verifying Checksum [2023-04-10T03:28:10.241Z] af6eaf76a39c: Download complete [2023-04-10T03:28:11.832Z] 5abe8eddf0d5: Verifying Checksum [2023-04-10T03:28:11.832Z] 5abe8eddf0d5: Download complete [2023-04-10T03:28:13.296Z] ce5c4a1c91eb: Verifying Checksum [2023-04-10T03:28:13.296Z] ce5c4a1c91eb: Download complete [2023-04-10T03:28:13.296Z] af6eaf76a39c: Pull complete [2023-04-10T03:28:13.296Z] 52ebb69f0ebf: Verifying Checksum [2023-04-10T03:28:13.296Z] 52ebb69f0ebf: Download complete [2023-04-10T03:28:13.897Z] 55522c791124: Pull complete [2023-04-10T03:28:24.428Z] ce5c4a1c91eb: Pull complete [2023-04-10T03:28:24.428Z] 169dfbe0d373: Pull complete [2023-04-10T03:28:24.428Z] e1ff8fa3b103: Pull complete [2023-04-10T03:28:29.766Z] 52ebb69f0ebf: Pull complete [2023-04-10T03:28:31.707Z] 5abe8eddf0d5: Pull complete [2023-04-10T03:28:31.707Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-10T03:28:31.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-10T03:28:31.707Z] ---> 6cb57ee374ae [2023-04-10T03:28:31.707Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-10T03:28:33.128Z] ---> Running in 4f70d197484f [2023-04-10T03:28:33.396Z] Removing intermediate container 4f70d197484f [2023-04-10T03:28:33.396Z] ---> 3d33bdf18b01 [2023-04-10T03:28:33.396Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-10T03:28:33.396Z] ---> Running in aaa05241b7e9 [2023-04-10T03:28:33.663Z] Removing intermediate container aaa05241b7e9 [2023-04-10T03:28:33.663Z] ---> 0b330c3e49dd [2023-04-10T03:28:33.663Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-10T03:28:33.930Z] ---> Running in b553aa2b39db [2023-04-10T03:28:34.197Z] Removing intermediate container b553aa2b39db [2023-04-10T03:28:34.197Z] ---> 6028ab297b58 [2023-04-10T03:28:34.197Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-10T03:28:34.197Z] ---> Running in 0a7eb8d8474c [2023-04-10T03:28:34.464Z] Removing intermediate container 0a7eb8d8474c [2023-04-10T03:28:34.464Z] ---> ebd7c5f23546 [2023-04-10T03:28:34.464Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-10T03:28:34.464Z] ---> Running in d8c7a4546c1d [2023-04-10T03:28:34.733Z] Removing intermediate container d8c7a4546c1d [2023-04-10T03:28:34.733Z] ---> 320493ac4366 [2023-04-10T03:28:34.733Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-10T03:28:34.733Z] ---> Running in 321041daf38a [2023-04-10T03:28:35.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-10T03:28:36.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-10T03:28:37.683Z] OK: 263 MiB in 53 packages [2023-04-10T03:28:40.259Z] Removing intermediate container 321041daf38a [2023-04-10T03:28:40.259Z] ---> 9f6903a70dfd [2023-04-10T03:28:40.259Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-10T03:28:40.259Z] ---> Running in b052cc7d4648 [2023-04-10T03:28:40.527Z] Removing intermediate container b052cc7d4648 [2023-04-10T03:28:40.527Z] ---> 4b61c2a64fd4 [2023-04-10T03:28:40.527Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-10T03:28:41.111Z] ---> 08f5fcf5fee1 [2023-04-10T03:28:41.111Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-10T03:28:41.111Z] ---> Running in 2041b961f330 [2023-04-10T03:29:48.989Z] Removing intermediate container 2041b961f330 [2023-04-10T03:29:48.989Z] ---> 8b763673dd13 [2023-04-10T03:29:48.989Z] Step 12/13 : COPY . . [2023-04-10T03:29:48.989Z] ---> 264a7032f06d [2023-04-10T03:29:48.989Z] Step 13/13 : RUN ${MAKE} [2023-04-10T03:29:48.989Z] ---> Running in 5270e43c0afb [2023-04-10T03:29:48.989Z] noop [2023-04-10T03:29:48.989Z] Removing intermediate container 5270e43c0afb [2023-04-10T03:29:48.989Z] ---> 47eedefec483 [2023-04-10T03:29:48.989Z] Successfully built 47eedefec483 [2023-04-10T03:29:48.989Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T03:29:49.480Z] + docker inspect -f . ci-base-image-arm64 [2023-04-10T03:29:49.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T03:29:49.725Z] prd-ubuntu20.04-docker-arm64-4c-16g-7266 does not seem to be running inside a container [2023-04-10T03:29:49.792Z] $ 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-10T03:29:50.837Z] $ docker top bf272a0d1a51269b87ee6c9ad50bf7552f49ec875147b03c3517470f5c6cb871 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T03:29:51.682Z] + go version [2023-04-10T03:29:51.682Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-10T03:29:51.724Z] $ docker stop --time=1 bf272a0d1a51269b87ee6c9ad50bf7552f49ec875147b03c3517470f5c6cb871 [2023-04-10T03:29:53.287Z] $ docker rm -f --volumes bf272a0d1a51269b87ee6c9ad50bf7552f49ec875147b03c3517470f5c6cb871 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T03:29:54.112Z] + docker inspect -f . ci-base-image-arm64 [2023-04-10T03:29:54.112Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T03:29:54.349Z] prd-ubuntu20.04-docker-arm64-4c-16g-7266 does not seem to be running inside a container [2023-04-10T03:29:54.409Z] $ 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-10T03:29:55.427Z] $ docker top f03b2921627609b4cfc3a5b983a383f059b33da470e3e8f7be9119fd9b0056f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T03:29:55.948Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-04-10T03:29:56.327Z] + make test [2023-04-10T03:29:56.327Z] go test ./... -coverprofile=coverage.out ./... [2023-04-10T03:30:28.549Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-10T03:32:21.158Z] # github.com/edgexfoundry/device-onvif-camera/cmd [2023-04-10T03:32:21.158Z] cmd/main.go:22:56: cannot use &sd (value of type *"github.com/edgexfoundry/device-onvif-camera/internal/driver".Driver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in argument to startup.Bootstrap: *"github.com/edgexfoundry/device-onvif-camera/internal/driver".Driver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (wrong type for method Discover) [2023-04-10T03:32:21.158Z] have Discover() [2023-04-10T03:32:21.158Z] want Discover() error [2023-04-10T03:32:26.495Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-10T03:32:28.442Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.233s coverage: 31.7% of statements [2023-04-10T03:32:50.541Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.156s coverage: 86.5% of statements [2023-04-10T03:32:50.541Z] FAIL [2023-04-10T03:32:51.123Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-04-10T03:32:51.176Z] $ docker stop --time=1 f03b2921627609b4cfc3a5b983a383f059b33da470e3e8f7be9119fd9b0056f0 [2023-04-10T03:32:53.270Z] $ docker rm -f --volumes f03b2921627609b4cfc3a5b983a383f059b33da470e3e8f7be9119fd9b0056f0 [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-10T03:32:55.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-10T03:32:55.296Z] [2023-04-10T03:32:55.296Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T03:32:55.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-10T03:32:55.970Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-10T03:32:55.970Z] 8998bd30e6a1: Pulling fs layer [2023-04-10T03:32:55.970Z] 04944245beec: Pulling fs layer [2023-04-10T03:32:55.970Z] 699f458cf7ca: Pulling fs layer [2023-04-10T03:32:55.970Z] 765212b225bb: Pulling fs layer [2023-04-10T03:32:55.970Z] f23df028b6ca: Pulling fs layer [2023-04-10T03:32:55.970Z] d65c8cfc05b1: Pulling fs layer [2023-04-10T03:32:55.970Z] 2437ff75d9bd: Pulling fs layer [2023-04-10T03:32:55.970Z] 765212b225bb: Waiting [2023-04-10T03:32:55.970Z] f23df028b6ca: Waiting [2023-04-10T03:32:55.970Z] d65c8cfc05b1: Waiting [2023-04-10T03:32:55.970Z] 2437ff75d9bd: Waiting [2023-04-10T03:32:55.970Z] 04944245beec: Verifying Checksum [2023-04-10T03:32:55.970Z] 04944245beec: Download complete [2023-04-10T03:32:55.970Z] 765212b225bb: Verifying Checksum [2023-04-10T03:32:55.970Z] 765212b225bb: Download complete [2023-04-10T03:32:56.239Z] f23df028b6ca: Verifying Checksum [2023-04-10T03:32:56.239Z] f23df028b6ca: Download complete [2023-04-10T03:32:56.239Z] d65c8cfc05b1: Download complete [2023-04-10T03:32:56.506Z] 699f458cf7ca: Verifying Checksum [2023-04-10T03:32:56.506Z] 699f458cf7ca: Download complete [2023-04-10T03:32:57.086Z] 8998bd30e6a1: Verifying Checksum [2023-04-10T03:32:57.086Z] 8998bd30e6a1: Download complete [2023-04-10T03:32:59.685Z] 2437ff75d9bd: Verifying Checksum [2023-04-10T03:32:59.685Z] 2437ff75d9bd: Download complete [2023-04-10T03:33:03.044Z] 8998bd30e6a1: Pull complete [2023-04-10T03:33:03.311Z] 04944245beec: Pull complete [2023-04-10T03:33:04.725Z] 699f458cf7ca: Pull complete [2023-04-10T03:33:04.725Z] 765212b225bb: Pull complete [2023-04-10T03:33:05.693Z] f23df028b6ca: Pull complete [2023-04-10T03:33:05.693Z] d65c8cfc05b1: Pull complete [2023-04-10T03:33:20.690Z] 2437ff75d9bd: Pull complete [2023-04-10T03:33:20.690Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-10T03:33:20.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-10T03:33:20.690Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T03:33:21.015Z] prd-ubuntu20.04-docker-arm64-4c-16g-7266 does not seem to be running inside a container [2023-04-10T03:33:21.088Z] $ 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-10T03:33:23.603Z] $ docker top f528b782f453dadd2cae62e596e7674f2cfc8c929b2aa65472d0abf6e72a6908 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-10T03:33:24.483Z] ---> job-cost.sh [2023-04-10T03:33:24.483Z] lf-activate-venv: SKIPPING [2023-04-10T03:33:24.483Z] INFO: No Stack... [2023-04-10T03:33:24.748Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-10T03:33:25.701Z] INFO: Archiving Costs [Pipeline] sh [2023-04-10T03:33:26.044Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-04-10T03:33:26.044Z] + cut -d, -f6 [Pipeline] lock [2023-04-10T03:33:26.094Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] [2023-04-10T03:33:26.103Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] did not exist. Created. [2023-04-10T03:33:26.103Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-10T03:33:26.522Z] /w/workspace/device-onvif-camera/1@tmp/durable-054a1020/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-10T03:33:27.285Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-10T03:33:27.322Z] Warning: overwriting stash ‘stack-cost’ [2023-04-10T03:33:27.856Z] Stashed 1 file(s) [Pipeline] } [2023-04-10T03:33:27.879Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-10T03:33:27.963Z] $ docker stop --time=1 f528b782f453dadd2cae62e596e7674f2cfc8c929b2aa65472d0abf6e72a6908 [2023-04-10T03:33:29.421Z] $ docker rm -f --volumes f528b782f453dadd2cae62e596e7674f2cfc8c929b2aa65472d0abf6e72a6908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-10T03:33:30.240Z] 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-10T03:33:32.213Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-302/archives ] [2023-04-10T03:33:32.213Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-302/archives [2023-04-10T03:33:32.213Z] total 16 [2023-04-10T03:33:32.213Z] drwxr-xr-x 3 root root 4096 Apr 10 03:27 . [2023-04-10T03:33:32.213Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 03:27 .. [2023-04-10T03:33:32.213Z] drwxr-xr-x 2 root root 4096 Apr 10 03:27 cost [2023-04-10T03:33:32.213Z] -rw-r--r-- 1 root root 91 Apr 10 03:27 cost.csv [2023-04-10T03:33:32.213Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-302/archives [2023-04-10T03:33:32.213Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-302/archives [2023-04-10T03:33:32.213Z] total 16 [2023-04-10T03:33:32.213Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 03:27 . [2023-04-10T03:33:32.213Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 03:27 .. [2023-04-10T03:33:32.213Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 03:27 cost [2023-04-10T03:33:32.213Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 10 03:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-10T03:33:32.540Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T03:33:33.430Z] ---> package-listing.sh [2023-04-10T03:33:33.430Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-10T03:33:33.430Z] ++ facter osfamily [2023-04-10T03:33:33.689Z] + OS_FAMILY=debian [2023-04-10T03:33:33.690Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-302 [2023-04-10T03:33:33.690Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-10T03:33:33.690Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-10T03:33:33.690Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-10T03:33:33.690Z] + PACKAGES=/tmp/packages_start.txt [2023-04-10T03:33:33.690Z] + '[' /w/workspace/undry_device-onvif-camera_PR-302 ']' [2023-04-10T03:33:33.690Z] + PACKAGES=/tmp/packages_end.txt [2023-04-10T03:33:33.690Z] + case "${OS_FAMILY}" in [2023-04-10T03:33:33.690Z] + dpkg -l [2023-04-10T03:33:33.690Z] + grep '^ii' [2023-04-10T03:33:33.690Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-10T03:33:33.690Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-10T03:33:33.690Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-10T03:33:33.690Z] + '[' /w/workspace/undry_device-onvif-camera_PR-302 ']' [2023-04-10T03:33:33.690Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-302/archives/ [2023-04-10T03:33:33.690Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-302/archives/ [Pipeline] echo [2023-04-10T03:33:33.730Z] 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-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-10T03:33:34.022Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-10T03:33:34.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-10T03:33:34.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-10T03:33:34.789Z] prd-ubuntu20.04-docker-8c-8g-7265 does not seem to be running inside a container [2023-04-10T03:33:34.819Z] $ 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-302/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-302 -v /w/workspace/undry_device-onvif-camera_PR-302:/w/workspace/undry_device-onvif-camera_PR-302:rw,z -v /w/workspace/undry_device-onvif-camera_PR-302@tmp:/w/workspace/undry_device-onvif-camera_PR-302@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-10T03:33:35.024Z] $ docker top f3e3589f3a6fa499861b0974589beb3ed954e760173dba4a38d2225592c43dbb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-10T03:33:35.424Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-10T03:33:35.733Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-10T03:33:36.038Z] + ls /var/log/sa-host [2023-04-10T03:33:36.038Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-10T03:33:36.254Z] provisioning config files... [2023-04-10T03:33:36.262Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-302@tmp/config10570039290235480504tmp [Pipeline] { [Pipeline] echo [2023-04-10T03:33:36.312Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T03:33:36.619Z] ---> create-netrc.sh [Pipeline] } [2023-04-10T03:33:36.647Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-10T03:33:37.057Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-10T03:33:37.088Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T03:33:37.398Z] ---> sudo-logs.sh [2023-04-10T03:33:37.398Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-10T03:33:37.484Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T03:33:37.792Z] ---> job-cost.sh [2023-04-10T03:33:37.792Z] lf-activate-venv: SKIPPING [2023-04-10T03:33:37.792Z] DEBUG: total: 0.2199999988079071 [2023-04-10T03:33:37.792Z] INFO: Retrieving Stack Cost... [2023-04-10T03:33:38.053Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-10T03:33:38.313Z] INFO: Archiving Costs [Pipeline] echo [2023-04-10T03:33:38.347Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-10T03:33:38.656Z] ---> logs-deploy.sh [2023-04-10T03:33:38.656Z] lf-activate-venv: SKIPPING [2023-04-10T03:33:38.656Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-302/1 [2023-04-10T03:33:38.656Z] INFO: archiving workspace using pattern(s): [2023-04-10T03:33:39.592Z] Archives upload complete. [2023-04-10T03:33:39.592Z] INFO: archiving logs to Nexus