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 03:25:24 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 03:25:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:25:24 ========================================================= 03:25:24 EdgeX Global Pipelines Version Info 03:25:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:25:25 ------------------- 03:25:25 stable info: 03:25:25 ------------------- 03:25:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:25:25 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 03:25:25 Message: update stable to v1.0.245 03:25:26 ------------------- 03:25:26 experimental info: 03:25:26 ------------------- 03:25:26 Commited By: **** collab-it+edgex@linuxfoundation.org 03:25:26 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 03:25:26 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:25:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-302 [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-302 [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-302 [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e59a65be92ded77c2e95e1e7858425c42f2a5520 [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e59a65b [Pipeline] echo 03:25:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:25:27 provisioning config files... 03:25:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-302@tmp/config8563413593833677148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:28 ---> docker-login.sh 03:25:28 nexus3.edgexfoundry.org:10001 03:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:28 Configure a credential helper to remove this warning. See 03:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:28 03:25:28 Login Succeeded 03:25:28 nexus3.edgexfoundry.org:10002 03:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:28 Configure a credential helper to remove this warning. See 03:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:28 03:25:28 Login Succeeded 03:25:28 nexus3.edgexfoundry.org:10003 03:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:28 Configure a credential helper to remove this warning. See 03:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:28 03:25:28 Login Succeeded 03:25:28 nexus3.edgexfoundry.org:10004 03:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:28 Configure a credential helper to remove this warning. See 03:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:28 03:25:28 Login Succeeded 03:25:28 docker.io 03:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:29 Configure a credential helper to remove this warning. See 03:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:29 03:25:29 Login Succeeded 03:25:29 ---> docker-login.sh ends [Pipeline] } 03:25:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:25:29 + git rev-list -1 --merges e59a65be92ded77c2e95e1e7858425c42f2a5520~1..e59a65be92ded77c2e95e1e7858425c42f2a5520 [Pipeline] echo 03:25:29 -----------> git rev-list -1 --merges e59a65be92ded77c2e95e1e7858425c42f2a5520~1..e59a65be92ded77c2e95e1e7858425c42f2a5520 e59a65be92ded77c2e95e1e7858425c42f2a5520 [false] [Pipeline] sh 03:25:30 + git log --format=format:%s -1 e59a65be92ded77c2e95e1e7858425c42f2a5520 [Pipeline] echo 03:25:30 ========================================================= 03:25:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:25:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:25:30 + git log --format=format:%s -1 e59a65be92ded77c2e95e1e7858425c42f2a5520 [Pipeline] echo 03:25:30 [semverPrep] GIT_COMMIT: e59a65be92ded77c2e95e1e7858425c42f2a5520, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:25:30 [semverPrep] This is not a build commit. [Pipeline] sh 03:25:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:25:31 + grep -v github /etc/ssh/ssh_known_hosts 03:25:31 + [ -e /tmp/ssh_known_hosts ] 03:25:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:25:31 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:25:31 sudo tee -a /etc/ssh/ssh_known_hosts 03:25:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:25:31 03:25:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:25:32 0.1.4: Pulling from edgex-devops/py-git-semver 03:25:32 b85a868b505f: Pulling fs layer 03:25:32 e2be974225ed: Pulling fs layer 03:25:32 339a4e72a1f5: Pulling fs layer 03:25:32 988bab9f4d93: Pulling fs layer 03:25:32 1469e6f7b9e6: Pulling fs layer 03:25:32 eaf3925da568: Pulling fs layer 03:25:32 bab4dde63d76: Pulling fs layer 03:25:32 bde34c3a00c8: Pulling fs layer 03:25:32 b352a97aabf1: Pulling fs layer 03:25:32 4872d77fe225: Pulling fs layer 03:25:32 5851b861e8e6: Pulling fs layer 03:25:32 1469e6f7b9e6: Waiting 03:25:32 eaf3925da568: Waiting 03:25:32 bab4dde63d76: Waiting 03:25:32 bde34c3a00c8: Waiting 03:25:32 b352a97aabf1: Waiting 03:25:32 5851b861e8e6: Waiting 03:25:32 4872d77fe225: Waiting 03:25:32 988bab9f4d93: Waiting 03:25:32 e2be974225ed: Verifying Checksum 03:25:32 e2be974225ed: Download complete 03:25:32 988bab9f4d93: Verifying Checksum 03:25:32 988bab9f4d93: Download complete 03:25:32 1469e6f7b9e6: Verifying Checksum 03:25:32 1469e6f7b9e6: Download complete 03:25:32 eaf3925da568: Verifying Checksum 03:25:32 eaf3925da568: Download complete 03:25:32 339a4e72a1f5: Verifying Checksum 03:25:32 339a4e72a1f5: Download complete 03:25:32 bde34c3a00c8: Download complete 03:25:32 b352a97aabf1: Download complete 03:25:32 4872d77fe225: Verifying Checksum 03:25:32 4872d77fe225: Download complete 03:25:32 5851b861e8e6: Verifying Checksum 03:25:32 5851b861e8e6: Download complete 03:25:32 b85a868b505f: Verifying Checksum 03:25:32 b85a868b505f: Download complete 03:25:32 bab4dde63d76: Verifying Checksum 03:25:32 bab4dde63d76: Download complete 03:25:33 b85a868b505f: Pull complete 03:25:33 e2be974225ed: Pull complete 03:25:34 339a4e72a1f5: Pull complete 03:25:34 988bab9f4d93: Pull complete 03:25:34 1469e6f7b9e6: Pull complete 03:25:34 eaf3925da568: Pull complete 03:25:36 bab4dde63d76: Pull complete 03:25:36 bde34c3a00c8: Pull complete 03:25:36 b352a97aabf1: Pull complete 03:25:36 4872d77fe225: Pull complete 03:25:36 5851b861e8e6: Pull complete 03:25:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:25:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:25:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:36 prd-ubuntu20.04-docker-8c-8g-7265 does not seem to be running inside a container 03:25:36 $ 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 03:25:39 $ docker top 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 -eo pid,comm 03:25:39 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). 03:25:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:25:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:25:39 [ssh-agent] Looking for ssh-agent implementation... 03:25:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:25:40 $ docker exec 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 ssh-agent 03:25:40 SSH_AUTH_SOCK=/tmp/ssh-rBIHpzL3SHQ6/agent.32 03:25:40 SSH_AGENT_PID=38 03:25:40 Running ssh-add (command line suppressed) 03:25:40 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) 03:25:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:25:40 + git tag --points-at HEAD [Pipeline] } 03:25:40 $ docker exec --env ******** --env ******** 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 ssh-agent -k 03:25:40 unset SSH_AUTH_SOCK; 03:25:40 unset SSH_AGENT_PID; 03:25:40 echo Agent pid 38 killed; 03:25:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:25:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:25:40 [ssh-agent] Looking for ssh-agent implementation... 03:25:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:25:40 $ docker exec 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 ssh-agent 03:25:41 SSH_AUTH_SOCK=/tmp/ssh-32h4CjsWUbCS/agent.71 03:25:41 SSH_AGENT_PID=78 03:25:41 Running ssh-add (command line suppressed) 03:25:41 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) 03:25:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:25:41 + git semver init 03:25:41 2023-04-10 03:25:41,680 [run_init] DEBUG init version:0.0.0 force:False 03:25:41 2023-04-10 03:25:41,680 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-302/.semver 03:25:41 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 03:25:41 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) 03:25:42 2023-04-10 03:25:42,551 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-302/.git/info/exclude 03:25:42 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 03:25:42 2023-04-10 03:25:42,551 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-302/.semver/PR-302 03:25:42 2023-04-10 03:25:42,555 [execute] INFO git cat-file --batch-check 03:25:42 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=) 03:25:42 2023-04-10 03:25:42,562 [execute] INFO git cat-file --batch 03:25:42 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=) 03:25:42 2023-04-10 03:25:42,566 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-302/.semver/PR-302 03:25:42 0.0.0 [Pipeline] } 03:25:42 $ docker exec --env ******** --env ******** 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 ssh-agent -k 03:25:42 unset SSH_AUTH_SOCK; 03:25:42 unset SSH_AGENT_PID; 03:25:42 echo Agent pid 78 killed; 03:25:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:25:43 + git semver [Pipeline] } 03:25:43 $ docker stop --time=1 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 03:25:44 $ docker rm -f --volumes 8275af5b8a0bd7bed74482a17da26d5a9b0686ab70cab75253c66673659a9030 [Pipeline] // withDockerContainer [Pipeline] sh 03:25:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:25:45 Stashed 1 file(s) [Pipeline] echo 03:25:45 [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 03:25:46 provisioning config files... 03:25:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-302@tmp/config3672991269145676202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:46 ---> docker-login.sh 03:25:46 nexus3.edgexfoundry.org:10001 03:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:46 Configure a credential helper to remove this warning. See 03:25:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:46 03:25:46 Login Succeeded 03:25:46 nexus3.edgexfoundry.org:10002 03:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:46 Configure a credential helper to remove this warning. See 03:25:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:46 03:25:46 Login Succeeded 03:25:46 nexus3.edgexfoundry.org:10003 03:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:46 Configure a credential helper to remove this warning. See 03:25:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:46 03:25:46 Login Succeeded 03:25:46 nexus3.edgexfoundry.org:10004 03:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:46 Configure a credential helper to remove this warning. See 03:25:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:46 03:25:46 Login Succeeded 03:25:46 docker.io 03:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:47 Configure a credential helper to remove this warning. See 03:25:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:47 03:25:47 Login Succeeded 03:25:47 ---> docker-login.sh ends [Pipeline] } 03:25:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:25:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:25:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:25:47 ========================================================= 03:25:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:25:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:47 + 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 . 03:25:47 Sending build context to Docker daemon 26.9MB 03:25:47 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 03:25:47 Step 2/13 : FROM ${BASE} AS builder 03:25:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:25:48 63b65145d645: Pulling fs layer 03:25:48 a2d21d5440eb: Pulling fs layer 03:25:48 935e6c44a52c: Pulling fs layer 03:25:48 94cc34f8dd06: Pulling fs layer 03:25:48 30dea6a524f1: Pulling fs layer 03:25:48 a2aff8979fd8: Pulling fs layer 03:25:48 6808be2612f2: Pulling fs layer 03:25:48 f25807f1079a: Pulling fs layer 03:25:48 30dea6a524f1: Waiting 03:25:48 f25807f1079a: Waiting 03:25:48 6808be2612f2: Waiting 03:25:48 94cc34f8dd06: Waiting 03:25:48 a2d21d5440eb: Verifying Checksum 03:25:48 a2d21d5440eb: Download complete 03:25:48 94cc34f8dd06: Download complete 03:25:48 30dea6a524f1: Verifying Checksum 03:25:48 30dea6a524f1: Download complete 03:25:48 63b65145d645: Verifying Checksum 03:25:48 63b65145d645: Download complete 03:25:48 a2aff8979fd8: Verifying Checksum 03:25:48 a2aff8979fd8: Download complete 03:25:48 63b65145d645: Pull complete 03:25:48 a2d21d5440eb: Pull complete 03:25:48 f25807f1079a: Verifying Checksum 03:25:48 f25807f1079a: Download complete 03:25:48 935e6c44a52c: Verifying Checksum 03:25:48 935e6c44a52c: Download complete 03:25:48 6808be2612f2: Verifying Checksum 03:25:48 6808be2612f2: Download complete 03:25:52 935e6c44a52c: Pull complete 03:25:52 94cc34f8dd06: Pull complete 03:25:52 30dea6a524f1: Pull complete 03:25:52 a2aff8979fd8: Pull complete 03:25:54 6808be2612f2: Pull complete 03:25:55 f25807f1079a: Pull complete 03:25:55 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 03:25:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:25:55 ---> 3b553350e43f 03:25:55 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:26:00 ---> Running in 8f6fa8b5e62e 03:26:00 Removing intermediate container 8f6fa8b5e62e 03:26:00 ---> 69ab5b9695d5 03:26:00 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:26:00 ---> Running in 048f1aa6cfa0 03:26:00 Removing intermediate container 048f1aa6cfa0 03:26:00 ---> 1b9428b70d94 03:26:00 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:26:00 ---> Running in f4eb5f90a99e 03:26:00 Removing intermediate container f4eb5f90a99e 03:26:00 ---> 0d567e8a595e 03:26:00 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:26:00 ---> Running in cf21c5024d73 03:26:00 Removing intermediate container cf21c5024d73 03:26:00 ---> 5193a46bb754 03:26:00 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:26:00 ---> Running in 561e0bfe26d2 03:26:00 Removing intermediate container 561e0bfe26d2 03:26:00 ---> 7c1cc7b7cd7c 03:26:00 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:26:00 ---> Running in f05baef19a85 03:26:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:26:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:26:00 Still waiting to schedule task 03:26:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:26:01 OK: 265 MiB in 53 packages 03:26:01 Removing intermediate container f05baef19a85 03:26:01 ---> f4f0f9391738 03:26:01 Step 9/13 : WORKDIR /device-onvif-camera 03:26:01 ---> Running in 45bb6061e1ac 03:26:01 Removing intermediate container 45bb6061e1ac 03:26:01 ---> 24598b4da6ad 03:26:01 Step 10/13 : COPY go.mod vendor* ./ 03:26:01 ---> a3b8c0ae0daa 03:26:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:26:01 ---> Running in 6e34fbbffbc0 03:26:33 Removing intermediate container 6e34fbbffbc0 03:26:33 ---> bd950752f72b 03:26:33 Step 12/13 : COPY . . 03:26:33 ---> f09e43ab8645 03:26:33 Step 13/13 : RUN ${MAKE} 03:26:33 ---> Running in 91181117e7b2 03:26:33 noop 03:26:33 Removing intermediate container 91181117e7b2 03:26:33 ---> b611ac950235 03:26:33 Successfully built b611ac950235 03:26:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:34 + docker inspect -f . ci-base-image-x86_64 03:26:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:34 prd-ubuntu20.04-docker-8c-8g-7265 does not seem to be running inside a container 03:26:34 $ 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 03:26:34 $ docker top c5506883800cbf7d31cf90b42c06ee9823477ed40c6c3491e31f1755bd37e0f1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:35 + go version 03:26:35 go version go1.20.2 linux/amd64 [Pipeline] } 03:26:35 $ docker stop --time=1 c5506883800cbf7d31cf90b42c06ee9823477ed40c6c3491e31f1755bd37e0f1 03:26:36 $ 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 03:26:37 + docker inspect -f . ci-base-image-x86_64 03:26:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:37 prd-ubuntu20.04-docker-8c-8g-7265 does not seem to be running inside a container 03:26:37 $ 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 03:26:37 $ docker top 81b75175c6d56217ec52d7d2dd98b599664baf4a9fffccb041bb8c0a764e4f4b -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:38 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-302 [Pipeline] fileExists [Pipeline] sh 03:26:38 + make test 03:26:38 go test ./... -coverprofile=coverage.out ./... 03:26:43 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:26:53 # github.com/edgexfoundry/device-onvif-camera/cmd 03:26:53 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) 03:26:53 have Discover() 03:26:53 want Discover() error 03:26:53 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:26:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 31.7% of statements 03:26:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.112s coverage: 86.5% of statements 03:26:55 FAIL 03:26:55 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 03:26:55 $ docker stop --time=1 81b75175c6d56217ec52d7d2dd98b599664baf4a9fffccb041bb8c0a764e4f4b 03:26:58 $ 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 03:26:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:59 03:26:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:27:00 latest: Pulling from edgex-lftools-log-publisher 03:27:00 5eb5b503b376: Pulling fs layer 03:27:00 5c69ac0246d0: Pulling fs layer 03:27:00 ec43610c2a17: Pulling fs layer 03:27:00 3a2ae6a8a46f: Pulling fs layer 03:27:00 33b1e0a273af: Pulling fs layer 03:27:00 5d3b04190fa2: Pulling fs layer 03:27:00 2f39f015ded8: Pulling fs layer 03:27:00 5d3b04190fa2: Waiting 03:27:00 3a2ae6a8a46f: Waiting 03:27:00 33b1e0a273af: Waiting 03:27:00 2f39f015ded8: Waiting 03:27:00 5c69ac0246d0: Verifying Checksum 03:27:00 5c69ac0246d0: Download complete 03:27:00 3a2ae6a8a46f: Verifying Checksum 03:27:00 3a2ae6a8a46f: Download complete 03:27:00 33b1e0a273af: Verifying Checksum 03:27:00 33b1e0a273af: Download complete 03:27:00 5d3b04190fa2: Download complete 03:27:00 ec43610c2a17: Verifying Checksum 03:27:00 ec43610c2a17: Download complete 03:27:00 5eb5b503b376: Verifying Checksum 03:27:00 5eb5b503b376: Download complete 03:27:01 2f39f015ded8: Download complete 03:27:01 5eb5b503b376: Pull complete 03:27:01 5c69ac0246d0: Pull complete 03:27:02 ec43610c2a17: Pull complete 03:27:02 3a2ae6a8a46f: Pull complete 03:27:02 33b1e0a273af: Pull complete 03:27:02 5d3b04190fa2: Pull complete 03:27:06 2f39f015ded8: Pull complete 03:27:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:27:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:27:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:27:06 prd-ubuntu20.04-docker-8c-8g-7265 does not seem to be running inside a container 03:27:06 $ 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 03:27:11 $ docker top 51cc259c39154065d857336496d11bbe82f0c7ca56bb14a7cad70d8ecc97db87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:27:11 ---> job-cost.sh 03:27:11 lf-activate-venv: SKIPPING 03:27:11 INFO: No Stack... 03:27:11 INFO: Retrieving Pricing Info for: v3-standard-8 03:27:12 INFO: Archiving Costs [Pipeline] sh 03:27:12 + cat /w/workspace/undry_device-onvif-camera_PR-302/archives/cost.csv 03:27:12 + cut -d, -f6 [Pipeline] lock 03:27:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] 03:27:12 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] did not exist. Created. 03:27:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:27:12 + echo total: 0.2199999988079071 [Pipeline] stash 03:27:13 Stashed 1 file(s) [Pipeline] } 03:27:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:27:13 $ docker stop --time=1 51cc259c39154065d857336496d11bbe82f0c7ca56bb14a7cad70d8ecc97db87 03:27:14 $ docker rm -f --volumes 51cc259c39154065d857336496d11bbe82f0c7ca56bb14a7cad70d8ecc97db87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:27:14 Failed in branch amd64 03:27:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7266 in /w/workspace/undry_device-onvif-camera_PR-302 [Pipeline] { [Pipeline] ws 03:27:35 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:27:35 The recommended git tool is: git 03:27:40 using credential edgex-jenkins-ssh 03:27:40 Cloning the remote Git repository 03:27:40 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:27:40 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:27:40 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:27:40 > git --version # timeout=10 03:27:40 > git --version # 'git version 2.25.1' 03:27:40 using GIT_SSH to set credentials SSH Credentials for GitHub 03:27:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:27:41 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:27:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:27:43 Merging remotes/origin/main commit c6cff038fe156dd62418d57d6c36ffe741a1df05 into PR head commit e59a65be92ded77c2e95e1e7858425c42f2a5520 03:27:43 Merge succeeded, producing e59a65be92ded77c2e95e1e7858425c42f2a5520 03:27:43 Checking out Revision e59a65be92ded77c2e95e1e7858425c42f2a5520 (PR-302) 03:27:42 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:27:42 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:27:42 using GIT_SSH to set credentials SSH Credentials for GitHub 03:27:42 > 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 03:27:43 > git config core.sparsecheckout # timeout=10 03:27:43 > git checkout -f e59a65be92ded77c2e95e1e7858425c42f2a5520 # timeout=10 03:27:43 > git remote # timeout=10 03:27:43 > git config --get remote.origin.url # timeout=10 03:27:43 using GIT_SSH to set credentials SSH Credentials for GitHub 03:27:43 > git merge c6cff038fe156dd62418d57d6c36ffe741a1df05 # timeout=10 03:27:43 > git rev-parse HEAD^{commit} # timeout=10 03:27:43 > git config core.sparsecheckout # timeout=10 03:27:43 > git checkout -f e59a65be92ded77c2e95e1e7858425c42f2a5520 # timeout=10 03:27:44 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 03:27:44 > git --version # timeout=10 03:27:44 > git --version # 'git version 2.25.1' 03:27:44 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:27:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:27:45 % Total % Received % Xferd Average Speed Time Time Time Current 03:27:45 Dload Upload Total Spent Left Speed 03:27:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh 03:27:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:27:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:27:46 + sudo tee /etc/docker/daemon.new 03:27:46 { 03:27:46 "registry-mirrors": [ 03:27:46 "https://nexus3.edgexfoundry.org:10001" 03:27:46 ], 03:27:46 "bip": "10.250.0.254/24", 03:27:46 "hosts": [ 03:27:46 "tcp://0.0.0.0:5555", 03:27:46 "unix:///var/run/docker.sock" 03:27:46 ], 03:27:46 "mtu": 1458, 03:27:46 "selinux-enabled": true, 03:27:46 "seccomp-profile": "/etc/docker/seccomp.json" 03:27:46 } [Pipeline] sh 03:27:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:27:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:28:05 provisioning config files... 03:28:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6060649336356252439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:28:06 ---> docker-login.sh 03:28:06 nexus3.edgexfoundry.org:10001 03:28:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:06 Configure a credential helper to remove this warning. See 03:28:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:06 03:28:06 Login Succeeded 03:28:06 nexus3.edgexfoundry.org:10002 03:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:07 Configure a credential helper to remove this warning. See 03:28:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:07 03:28:07 Login Succeeded 03:28:07 nexus3.edgexfoundry.org:10003 03:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:07 Configure a credential helper to remove this warning. See 03:28:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:07 03:28:07 Login Succeeded 03:28:07 nexus3.edgexfoundry.org:10004 03:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:07 Configure a credential helper to remove this warning. See 03:28:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:07 03:28:07 Login Succeeded 03:28:07 docker.io 03:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:08 Configure a credential helper to remove this warning. See 03:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:08 03:28:08 Login Succeeded 03:28:08 ---> docker-login.sh ends [Pipeline] } 03:28:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:28:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:28:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:28:08 ========================================================= 03:28:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:28:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:09 + 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 . 03:28:09 Sending build context to Docker daemon 19.64MB 03:28:09 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 03:28:09 Step 2/13 : FROM ${BASE} AS builder 03:28:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:28:09 af6eaf76a39c: Pulling fs layer 03:28:09 55522c791124: Pulling fs layer 03:28:09 ce5c4a1c91eb: Pulling fs layer 03:28:09 169dfbe0d373: Pulling fs layer 03:28:09 e1ff8fa3b103: Pulling fs layer 03:28:09 52ebb69f0ebf: Pulling fs layer 03:28:09 5abe8eddf0d5: Pulling fs layer 03:28:09 169dfbe0d373: Waiting 03:28:09 e1ff8fa3b103: Waiting 03:28:09 52ebb69f0ebf: Waiting 03:28:09 5abe8eddf0d5: Waiting 03:28:09 55522c791124: Verifying Checksum 03:28:09 55522c791124: Download complete 03:28:09 169dfbe0d373: Verifying Checksum 03:28:09 169dfbe0d373: Download complete 03:28:10 e1ff8fa3b103: Download complete 03:28:10 af6eaf76a39c: Verifying Checksum 03:28:10 af6eaf76a39c: Download complete 03:28:11 5abe8eddf0d5: Verifying Checksum 03:28:11 5abe8eddf0d5: Download complete 03:28:13 ce5c4a1c91eb: Verifying Checksum 03:28:13 ce5c4a1c91eb: Download complete 03:28:13 af6eaf76a39c: Pull complete 03:28:13 52ebb69f0ebf: Verifying Checksum 03:28:13 52ebb69f0ebf: Download complete 03:28:13 55522c791124: Pull complete 03:28:24 ce5c4a1c91eb: Pull complete 03:28:24 169dfbe0d373: Pull complete 03:28:24 e1ff8fa3b103: Pull complete 03:28:29 52ebb69f0ebf: Pull complete 03:28:31 5abe8eddf0d5: Pull complete 03:28:31 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 03:28:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:28:31 ---> 6cb57ee374ae 03:28:31 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:28:33 ---> Running in 4f70d197484f 03:28:33 Removing intermediate container 4f70d197484f 03:28:33 ---> 3d33bdf18b01 03:28:33 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:28:33 ---> Running in aaa05241b7e9 03:28:33 Removing intermediate container aaa05241b7e9 03:28:33 ---> 0b330c3e49dd 03:28:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:28:33 ---> Running in b553aa2b39db 03:28:34 Removing intermediate container b553aa2b39db 03:28:34 ---> 6028ab297b58 03:28:34 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:28:34 ---> Running in 0a7eb8d8474c 03:28:34 Removing intermediate container 0a7eb8d8474c 03:28:34 ---> ebd7c5f23546 03:28:34 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:28:34 ---> Running in d8c7a4546c1d 03:28:34 Removing intermediate container d8c7a4546c1d 03:28:34 ---> 320493ac4366 03:28:34 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:28:34 ---> Running in 321041daf38a 03:28:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:28:37 OK: 263 MiB in 53 packages 03:28:40 Removing intermediate container 321041daf38a 03:28:40 ---> 9f6903a70dfd 03:28:40 Step 9/13 : WORKDIR /device-onvif-camera 03:28:40 ---> Running in b052cc7d4648 03:28:40 Removing intermediate container b052cc7d4648 03:28:40 ---> 4b61c2a64fd4 03:28:40 Step 10/13 : COPY go.mod vendor* ./ 03:28:41 ---> 08f5fcf5fee1 03:28:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:28:41 ---> Running in 2041b961f330 03:29:48 Removing intermediate container 2041b961f330 03:29:48 ---> 8b763673dd13 03:29:48 Step 12/13 : COPY . . 03:29:48 ---> 264a7032f06d 03:29:48 Step 13/13 : RUN ${MAKE} 03:29:48 ---> Running in 5270e43c0afb 03:29:48 noop 03:29:48 Removing intermediate container 5270e43c0afb 03:29:48 ---> 47eedefec483 03:29:48 Successfully built 47eedefec483 03:29:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:49 + docker inspect -f . ci-base-image-arm64 03:29:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:49 prd-ubuntu20.04-docker-arm64-4c-16g-7266 does not seem to be running inside a container 03:29:49 $ 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 03:29:50 $ docker top bf272a0d1a51269b87ee6c9ad50bf7552f49ec875147b03c3517470f5c6cb871 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:51 + go version 03:29:51 go version go1.20.2 linux/arm64 [Pipeline] } 03:29:51 $ docker stop --time=1 bf272a0d1a51269b87ee6c9ad50bf7552f49ec875147b03c3517470f5c6cb871 03:29:53 $ 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 03:29:54 + docker inspect -f . ci-base-image-arm64 03:29:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:54 prd-ubuntu20.04-docker-arm64-4c-16g-7266 does not seem to be running inside a container 03:29:54 $ 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 03:29:55 $ docker top f03b2921627609b4cfc3a5b983a383f059b33da470e3e8f7be9119fd9b0056f0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:55 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:29:56 + make test 03:29:56 go test ./... -coverprofile=coverage.out ./... 03:30:28 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:32:21 # github.com/edgexfoundry/device-onvif-camera/cmd 03:32:21 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) 03:32:21 have Discover() 03:32:21 want Discover() error 03:32:26 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:32:28 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.233s coverage: 31.7% of statements 03:32:50 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.156s coverage: 86.5% of statements 03:32:50 FAIL 03:32:51 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 03:32:51 $ docker stop --time=1 f03b2921627609b4cfc3a5b983a383f059b33da470e3e8f7be9119fd9b0056f0 03:32:53 $ 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 03:32:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:32:55 03:32:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:32:55 arm64: Pulling from edgex-lftools-log-publisher 03:32:55 8998bd30e6a1: Pulling fs layer 03:32:55 04944245beec: Pulling fs layer 03:32:55 699f458cf7ca: Pulling fs layer 03:32:55 765212b225bb: Pulling fs layer 03:32:55 f23df028b6ca: Pulling fs layer 03:32:55 d65c8cfc05b1: Pulling fs layer 03:32:55 2437ff75d9bd: Pulling fs layer 03:32:55 765212b225bb: Waiting 03:32:55 f23df028b6ca: Waiting 03:32:55 d65c8cfc05b1: Waiting 03:32:55 2437ff75d9bd: Waiting 03:32:55 04944245beec: Verifying Checksum 03:32:55 04944245beec: Download complete 03:32:55 765212b225bb: Verifying Checksum 03:32:55 765212b225bb: Download complete 03:32:56 f23df028b6ca: Verifying Checksum 03:32:56 f23df028b6ca: Download complete 03:32:56 d65c8cfc05b1: Download complete 03:32:56 699f458cf7ca: Verifying Checksum 03:32:56 699f458cf7ca: Download complete 03:32:57 8998bd30e6a1: Verifying Checksum 03:32:57 8998bd30e6a1: Download complete 03:32:59 2437ff75d9bd: Verifying Checksum 03:32:59 2437ff75d9bd: Download complete 03:33:03 8998bd30e6a1: Pull complete 03:33:03 04944245beec: Pull complete 03:33:04 699f458cf7ca: Pull complete 03:33:04 765212b225bb: Pull complete 03:33:05 f23df028b6ca: Pull complete 03:33:05 d65c8cfc05b1: Pull complete 03:33:20 2437ff75d9bd: Pull complete 03:33:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:33:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:33:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:21 prd-ubuntu20.04-docker-arm64-4c-16g-7266 does not seem to be running inside a container 03:33:21 $ 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 03:33:23 $ docker top f528b782f453dadd2cae62e596e7674f2cfc8c929b2aa65472d0abf6e72a6908 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:24 ---> job-cost.sh 03:33:24 lf-activate-venv: SKIPPING 03:33:24 INFO: No Stack... 03:33:24 INFO: Retrieving Pricing Info for: v3-standard-4 03:33:25 INFO: Archiving Costs [Pipeline] sh 03:33:26 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:33:26 + cut -d, -f6 [Pipeline] lock 03:33:26 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] 03:33:26 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] did not exist. Created. 03:33:26 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:33:26 /w/workspace/device-onvif-camera/1@tmp/durable-054a1020/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:33:27 + echo total: 0.10999999940395355 [Pipeline] stash 03:33:27 Warning: overwriting stash ‘stack-cost’ 03:33:27 Stashed 1 file(s) [Pipeline] } 03:33:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-302-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:33:27 $ docker stop --time=1 f528b782f453dadd2cae62e596e7674f2cfc8c929b2aa65472d0abf6e72a6908 03:33:29 $ 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] } 03:33:30 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 03:33:32 + [ -d /w/workspace/undry_device-onvif-camera_PR-302/archives ] 03:33:32 + ls -al /w/workspace/undry_device-onvif-camera_PR-302/archives 03:33:32 total 16 03:33:32 drwxr-xr-x 3 root root 4096 Apr 10 03:27 . 03:33:32 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 03:27 .. 03:33:32 drwxr-xr-x 2 root root 4096 Apr 10 03:27 cost 03:33:32 -rw-r--r-- 1 root root 91 Apr 10 03:27 cost.csv 03:33:32 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-302/archives 03:33:32 + ls -al /w/workspace/undry_device-onvif-camera_PR-302/archives 03:33:32 total 16 03:33:32 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 03:27 . 03:33:32 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 03:27 .. 03:33:32 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 03:27 cost 03:33:32 -rw-r--r-- 1 jenkins jenkins 91 Apr 10 03:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:33:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:33:33 ---> package-listing.sh 03:33:33 ++ tr '[:upper:]' '[:lower:]' 03:33:33 ++ facter osfamily 03:33:33 + OS_FAMILY=debian 03:33:33 + workspace=/w/workspace/undry_device-onvif-camera_PR-302 03:33:33 + START_PACKAGES=/tmp/packages_start.txt 03:33:33 + END_PACKAGES=/tmp/packages_end.txt 03:33:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:33:33 + PACKAGES=/tmp/packages_start.txt 03:33:33 + '[' /w/workspace/undry_device-onvif-camera_PR-302 ']' 03:33:33 + PACKAGES=/tmp/packages_end.txt 03:33:33 + case "${OS_FAMILY}" in 03:33:33 + dpkg -l 03:33:33 + grep '^ii' 03:33:33 + '[' -f /tmp/packages_start.txt ']' 03:33:33 + '[' -f /tmp/packages_end.txt ']' 03:33:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:33:33 + '[' /w/workspace/undry_device-onvif-camera_PR-302 ']' 03:33:33 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-302/archives/ 03:33:33 + 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 03:33:33 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 03:33:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:33:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:34 prd-ubuntu20.04-docker-8c-8g-7265 does not seem to be running inside a container 03:33:34 $ 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 03:33:35 $ docker top f3e3589f3a6fa499861b0974589beb3ed954e760173dba4a38d2225592c43dbb -eo pid,comm [Pipeline] { [Pipeline] sh 03:33:35 + touch /tmp/pre-build-complete [Pipeline] sh 03:33:35 + mkdir -p /var/log/sysstat [Pipeline] sh 03:33:36 + ls /var/log/sa-host 03:33:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:33:36 provisioning config files... 03:33:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-302@tmp/config10570039290235480504tmp [Pipeline] { [Pipeline] echo 03:33:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:33:36 ---> create-netrc.sh [Pipeline] } 03:33:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:33:37 ---> python-tools-install.sh [Pipeline] echo 03:33:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:33:37 ---> sudo-logs.sh 03:33:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:33:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:33:37 ---> job-cost.sh 03:33:37 lf-activate-venv: SKIPPING 03:33:37 DEBUG: total: 0.2199999988079071 03:33:37 INFO: Retrieving Stack Cost... 03:33:38 INFO: Retrieving Pricing Info for: v3-standard-8 03:33:38 INFO: Archiving Costs [Pipeline] echo 03:33:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:33:38 ---> logs-deploy.sh 03:33:38 lf-activate-venv: SKIPPING 03:33:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-302/1 03:33:38 INFO: archiving workspace using pattern(s): 03:33:39 Archives upload complete. 03:33:39 INFO: archiving logs to Nexus