Pull request #228 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab+4452f94286ccb50ed2d81f13c9c71fcde235ba34 (3009889f50751bf328693a69ace077ca6b83dc4f) 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-ssh16067306920867499768.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7666633485680738605.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-228/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-228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10531445547488397739.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-228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14973716531695297292.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh14443680942230387732.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-228/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-228/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1414041114313773810.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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-5462 in /w/workspace/undry_device-onvif-camera_PR-228 [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-228 # 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 Merging remotes/origin/main commit 4452f94286ccb50ed2d81f13c9c71fcde235ba34 into PR head commit 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab Merge succeeded, producing 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab Checking out Revision 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab (PR-228) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > 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/228/head:refs/remotes/origin/PR-228 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab # 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 4452f94286ccb50ed2d81f13c9c71fcde235ba34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:06:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:06:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:06:11 ========================================================= 04:06:11 EdgeX Global Pipelines Version Info 04:06:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:06:12 ------------------- 04:06:12 stable info: 04:06:12 ------------------- 04:06:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:06:12 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:06:12 Message: update stable to v1.0.244 04:06:12 ------------------- 04:06:12 experimental info: 04:06:12 ------------------- 04:06:12 Commited By: **** collab-it+edgex@linuxfoundation.org 04:06:12 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:06:12 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 04:06:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:06:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:06:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:06:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:06:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:06:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-228 [Pipeline] echo 04:06:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-228 [Pipeline] echo 04:06:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-228 [Pipeline] echo 04:06:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab [Pipeline] echo 04:06:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c5613d [Pipeline] echo 04:06:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:14 provisioning config files... 04:06:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-228@tmp/config13982856449334542469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:14 ---> docker-login.sh 04:06:14 nexus3.edgexfoundry.org:10001 04:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:15 Configure a credential helper to remove this warning. See 04:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:15 04:06:15 Login Succeeded 04:06:15 nexus3.edgexfoundry.org:10002 04:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:15 Configure a credential helper to remove this warning. See 04:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:15 04:06:15 Login Succeeded 04:06:15 nexus3.edgexfoundry.org:10003 04:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:15 Configure a credential helper to remove this warning. See 04:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:15 04:06:15 Login Succeeded 04:06:15 nexus3.edgexfoundry.org:10004 04:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:15 Configure a credential helper to remove this warning. See 04:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:15 04:06:15 Login Succeeded 04:06:15 docker.io 04:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:15 Configure a credential helper to remove this warning. See 04:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:15 04:06:15 Login Succeeded 04:06:15 ---> docker-login.sh ends [Pipeline] } 04:06:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:06:16 + git rev-list -1 --merges 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab~1..1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab [Pipeline] echo 04:06:16 -----------> git rev-list -1 --merges 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab~1..1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab [false] [Pipeline] sh 04:06:17 + git log --format=format:%s -1 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab [Pipeline] echo 04:06:17 ========================================================= 04:06:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:06:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:17 + git log --format=format:%s -1 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab [Pipeline] echo 04:06:17 [semverPrep] GIT_COMMIT: 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:06:17 [semverPrep] This is not a build commit. [Pipeline] sh 04:06:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:06:17 + grep -v github /etc/ssh/ssh_known_hosts 04:06:17 + [ -e /tmp/ssh_known_hosts ] 04:06:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:06:17 + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 04:06:17 /etc/ssh/ssh_known_hosts 04:06:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:18 04:06:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:18 0.1.4: Pulling from edgex-devops/py-git-semver 04:06:18 b85a868b505f: Pulling fs layer 04:06:18 e2be974225ed: Pulling fs layer 04:06:18 339a4e72a1f5: Pulling fs layer 04:06:18 988bab9f4d93: Pulling fs layer 04:06:18 1469e6f7b9e6: Pulling fs layer 04:06:18 eaf3925da568: Pulling fs layer 04:06:18 bab4dde63d76: Pulling fs layer 04:06:18 bde34c3a00c8: Pulling fs layer 04:06:18 988bab9f4d93: Waiting 04:06:18 1469e6f7b9e6: Waiting 04:06:18 eaf3925da568: Waiting 04:06:18 bab4dde63d76: Waiting 04:06:18 b352a97aabf1: Pulling fs layer 04:06:18 4872d77fe225: Pulling fs layer 04:06:18 bde34c3a00c8: Waiting 04:06:18 5851b861e8e6: Pulling fs layer 04:06:18 4872d77fe225: Waiting 04:06:18 b352a97aabf1: Waiting 04:06:18 e2be974225ed: Verifying Checksum 04:06:18 e2be974225ed: Download complete 04:06:18 988bab9f4d93: Verifying Checksum 04:06:18 988bab9f4d93: Download complete 04:06:18 339a4e72a1f5: Verifying Checksum 04:06:18 339a4e72a1f5: Download complete 04:06:18 1469e6f7b9e6: Verifying Checksum 04:06:18 1469e6f7b9e6: Download complete 04:06:18 eaf3925da568: Download complete 04:06:18 bde34c3a00c8: Verifying Checksum 04:06:18 bde34c3a00c8: Download complete 04:06:19 b352a97aabf1: Download complete 04:06:19 4872d77fe225: Verifying Checksum 04:06:19 4872d77fe225: Download complete 04:06:19 b85a868b505f: Verifying Checksum 04:06:19 b85a868b505f: Download complete 04:06:19 5851b861e8e6: Verifying Checksum 04:06:19 5851b861e8e6: Download complete 04:06:19 bab4dde63d76: Verifying Checksum 04:06:19 bab4dde63d76: Download complete 04:06:20 b85a868b505f: Pull complete 04:06:20 e2be974225ed: Pull complete 04:06:21 339a4e72a1f5: Pull complete 04:06:21 988bab9f4d93: Pull complete 04:06:21 1469e6f7b9e6: Pull complete 04:06:21 eaf3925da568: Pull complete 04:06:23 bab4dde63d76: Pull complete 04:06:23 bde34c3a00c8: Pull complete 04:06:23 b352a97aabf1: Pull complete 04:06:24 4872d77fe225: Pull complete 04:06:24 5851b861e8e6: Pull complete 04:06:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:06:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:24 prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container 04:06:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-228 -v /w/workspace/undry_device-onvif-camera_PR-228:/w/workspace/undry_device-onvif-camera_PR-228:rw,z -v /w/workspace/undry_device-onvif-camera_PR-228@tmp:/w/workspace/undry_device-onvif-camera_PR-228@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 04:06:28 $ docker top a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f -eo pid,comm 04:06:28 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). 04:06:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:06:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:28 [ssh-agent] Looking for ssh-agent implementation... 04:06:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:29 $ docker exec a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f ssh-agent 04:06:29 SSH_AUTH_SOCK=/tmp/ssh-p40p9CHJkqcq/agent.32 04:06:29 SSH_AGENT_PID=38 04:06:29 Running ssh-add (command line suppressed) 04:06:29 Identity added: /w/workspace/undry_device-onvif-camera_PR-228@tmp/private_key_2099366379949578831.key (/w/workspace/undry_device-onvif-camera_PR-228@tmp/private_key_2099366379949578831.key) 04:06:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:29 + git tag --points-at HEAD [Pipeline] } 04:06:29 $ docker exec --env ******** --env ******** a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f ssh-agent -k 04:06:29 unset SSH_AUTH_SOCK; 04:06:29 unset SSH_AGENT_PID; 04:06:29 echo Agent pid 38 killed; 04:06:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:06:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:29 [ssh-agent] Looking for ssh-agent implementation... 04:06:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:30 $ docker exec a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f ssh-agent 04:06:30 SSH_AUTH_SOCK=/tmp/ssh-wP99TfjCm6Ix/agent.70 04:06:30 SSH_AGENT_PID=77 04:06:30 Running ssh-add (command line suppressed) 04:06:30 Identity added: /w/workspace/undry_device-onvif-camera_PR-228@tmp/private_key_16868612902112679152.key (/w/workspace/undry_device-onvif-camera_PR-228@tmp/private_key_16868612902112679152.key) 04:06:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:30 + git semver init 04:06:30 2023-02-13 04:06:30,839 [run_init] DEBUG init version:0.0.0 force:False 04:06:30 2023-02-13 04:06:30,839 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-228/.semver 04:06:30 2023-02-13 04:06:30,840 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-228/.semver 04:06:30 2023-02-13 04:06:30,840 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-228/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-228, universal_newlines=False, shell=None, istream=None) 04:06:32 2023-02-13 04:06:32,240 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-228/.git/info/exclude 04:06:32 2023-02-13 04:06:32,240 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-228/.semver/PR-228 with force:False 04:06:32 2023-02-13 04:06:32,241 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-228/.semver/PR-228 04:06:32 2023-02-13 04:06:32,245 [execute] INFO git cat-file --batch-check 04:06:32 2023-02-13 04:06:32,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-228/.semver, universal_newlines=False, shell=None, istream=) 04:06:32 2023-02-13 04:06:32,251 [execute] INFO git cat-file --batch 04:06:32 2023-02-13 04:06:32,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-228/.semver, universal_newlines=False, shell=None, istream=) 04:06:32 2023-02-13 04:06:32,255 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-228/.semver/PR-228 04:06:32 0.0.0 [Pipeline] } 04:06:32 $ docker exec --env ******** --env ******** a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f ssh-agent -k 04:06:32 unset SSH_AUTH_SOCK; 04:06:32 unset SSH_AGENT_PID; 04:06:32 echo Agent pid 77 killed; 04:06:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:06:32 + git semver [Pipeline] } 04:06:33 $ docker stop --time=1 a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f 04:06:34 $ docker rm -f --volumes a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f [Pipeline] // withDockerContainer [Pipeline] sh 04:06:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:06:35 Stashed 1 file(s) [Pipeline] echo 04:06:35 [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 04:06:35 provisioning config files... 04:06:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-228@tmp/config16125458485654924712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:36 ---> docker-login.sh 04:06:36 nexus3.edgexfoundry.org:10001 04:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:36 Configure a credential helper to remove this warning. See 04:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:36 04:06:36 Login Succeeded 04:06:36 nexus3.edgexfoundry.org:10002 04:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:36 Configure a credential helper to remove this warning. See 04:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:36 04:06:36 Login Succeeded 04:06:36 nexus3.edgexfoundry.org:10003 04:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:36 Configure a credential helper to remove this warning. See 04:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:36 04:06:36 Login Succeeded 04:06:36 nexus3.edgexfoundry.org:10004 04:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:36 Configure a credential helper to remove this warning. See 04:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:36 04:06:36 Login Succeeded 04:06:36 docker.io 04:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:36 Configure a credential helper to remove this warning. See 04:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:36 04:06:36 Login Succeeded 04:06:36 ---> docker-login.sh ends [Pipeline] } 04:06:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:06:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:06:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:06:37 ========================================================= 04:06:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:06:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:06:37 Sending build context to Docker daemon 27.7MB 04:06:37 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:06:37 Step 2/13 : FROM ${BASE} AS builder 04:06:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:06:37 213ec9aee27d: Pulling fs layer 04:06:37 4583459ba037: Pulling fs layer 04:06:37 93c1e223e6f2: Pulling fs layer 04:06:37 53926ce57604: Pulling fs layer 04:06:37 21b2b0c7a3f4: Pulling fs layer 04:06:37 22ff95d597cd: Pulling fs layer 04:06:37 12d6caf4c0d1: Pulling fs layer 04:06:37 96b7cbca73a9: Pulling fs layer 04:06:37 a7acece74701: Pulling fs layer 04:06:37 53926ce57604: Waiting 04:06:37 21b2b0c7a3f4: Waiting 04:06:37 22ff95d597cd: Waiting 04:06:37 a7acece74701: Waiting 04:06:37 12d6caf4c0d1: Waiting 04:06:37 93c1e223e6f2: Verifying Checksum 04:06:37 93c1e223e6f2: Download complete 04:06:37 4583459ba037: Verifying Checksum 04:06:37 4583459ba037: Download complete 04:06:37 21b2b0c7a3f4: Verifying Checksum 04:06:37 21b2b0c7a3f4: Download complete 04:06:37 22ff95d597cd: Verifying Checksum 04:06:37 22ff95d597cd: Download complete 04:06:38 213ec9aee27d: Verifying Checksum 04:06:38 213ec9aee27d: Download complete 04:06:38 12d6caf4c0d1: Verifying Checksum 04:06:38 12d6caf4c0d1: Download complete 04:06:38 213ec9aee27d: Pull complete 04:06:38 4583459ba037: Pull complete 04:06:38 93c1e223e6f2: Pull complete 04:06:40 a7acece74701: Verifying Checksum 04:06:40 a7acece74701: Download complete 04:06:40 53926ce57604: Verifying Checksum 04:06:40 53926ce57604: Download complete 04:06:40 96b7cbca73a9: Verifying Checksum 04:06:40 96b7cbca73a9: Download complete 04:06:43 53926ce57604: Pull complete 04:06:43 21b2b0c7a3f4: Pull complete 04:06:43 22ff95d597cd: Pull complete 04:06:43 12d6caf4c0d1: Pull complete 04:06:45 96b7cbca73a9: Pull complete 04:06:46 a7acece74701: Pull complete 04:06:46 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:06:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:06:46 ---> db6d94c90886 04:06:46 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:06:50 Still waiting to schedule task 04:06:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:06:54 ---> Running in 58b4df9fd0c1 04:06:54 Removing intermediate container 58b4df9fd0c1 04:06:54 ---> 9de4025bdc3b 04:06:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:06:54 ---> Running in c6183b2cbafc 04:06:54 Removing intermediate container c6183b2cbafc 04:06:54 ---> ab6668a3548b 04:06:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:06:54 ---> Running in 31920ac8c3a8 04:06:54 Removing intermediate container 31920ac8c3a8 04:06:54 ---> fbaf3253fd2b 04:06:54 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:06:54 ---> Running in ee94f0ff5ca3 04:06:54 Removing intermediate container ee94f0ff5ca3 04:06:54 ---> 3ec650fabbed 04:06:54 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:06:54 ---> Running in ca337e084f3a 04:06:54 Removing intermediate container ca337e084f3a 04:06:54 ---> 5f911d564536 04:06:54 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:06:54 ---> Running in 62b2e6f2ee44 04:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:06:55 OK: 211 MiB in 51 packages 04:06:55 Removing intermediate container 62b2e6f2ee44 04:06:55 ---> 1ca3b40a2885 04:06:55 Step 9/13 : WORKDIR /device-onvif-camera 04:06:55 ---> Running in b4f74e3b406d 04:06:55 Removing intermediate container b4f74e3b406d 04:06:55 ---> 9f490e5bad59 04:06:55 Step 10/13 : COPY go.mod vendor* ./ 04:06:55 ---> c2f181947413 04:06:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:55 ---> Running in ed9bbeda3011 04:07:42 Removing intermediate container ed9bbeda3011 04:07:42 ---> 940abea87d87 04:07:42 Step 12/13 : COPY . . 04:07:42 ---> aa9dae63523f 04:07:42 Step 13/13 : RUN ${MAKE} 04:07:42 ---> Running in eeafcaf66c0a 04:07:42 noop 04:07:42 Removing intermediate container eeafcaf66c0a 04:07:42 ---> 13dc7781911c 04:07:42 Successfully built 13dc7781911c 04:07:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:42 + docker inspect -f . ci-base-image-x86_64 04:07:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:43 prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container 04:07:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-228 -v /w/workspace/undry_device-onvif-camera_PR-228:/w/workspace/undry_device-onvif-camera_PR-228:rw,z -v /w/workspace/undry_device-onvif-camera_PR-228@tmp:/w/workspace/undry_device-onvif-camera_PR-228@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 04:07:43 $ docker top 00b0f640c42b486030d28dc943f449d11711fd39a21a80bbd37034ddfd589a38 -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:43 + go version 04:07:43 go version go1.18.7 linux/amd64 [Pipeline] } 04:07:43 $ docker stop --time=1 00b0f640c42b486030d28dc943f449d11711fd39a21a80bbd37034ddfd589a38 04:07:45 $ docker rm -f --volumes 00b0f640c42b486030d28dc943f449d11711fd39a21a80bbd37034ddfd589a38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:45 + docker inspect -f . ci-base-image-x86_64 04:07:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:46 prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container 04:07:46 $ 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-228 -v /w/workspace/undry_device-onvif-camera_PR-228:/w/workspace/undry_device-onvif-camera_PR-228:rw,z -v /w/workspace/undry_device-onvif-camera_PR-228@tmp:/w/workspace/undry_device-onvif-camera_PR-228@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 04:07:46 $ docker top 209fad6e60bacf25a1fc2b19dc224a99edbb0b38d5ab8161795d3f1cdd3d8ee3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:46 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-228 [Pipeline] fileExists [Pipeline] sh 04:07:47 + make test 04:07:47 go test ./... -coverprofile=coverage.out ./... 04:07:47 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:07:57 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 04:07:57 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd 04:07:57 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate 04:07:57 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete 04:07:57 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 04:07:58 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.284s coverage: 86.5% of statements 04:07:58 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 04:07:58 $ docker stop --time=1 209fad6e60bacf25a1fc2b19dc224a99edbb0b38d5ab8161795d3f1cdd3d8ee3 04:08:02 $ docker rm -f --volumes 209fad6e60bacf25a1fc2b19dc224a99edbb0b38d5ab8161795d3f1cdd3d8ee3 [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 04:08:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:03 04:08:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:04 latest: Pulling from edgex-lftools-log-publisher 04:08:04 5eb5b503b376: Pulling fs layer 04:08:04 5c69ac0246d0: Pulling fs layer 04:08:04 ec43610c2a17: Pulling fs layer 04:08:04 3a2ae6a8a46f: Pulling fs layer 04:08:04 33b1e0a273af: Pulling fs layer 04:08:04 5d3b04190fa2: Pulling fs layer 04:08:04 2f39f015ded8: Pulling fs layer 04:08:04 3a2ae6a8a46f: Waiting 04:08:04 33b1e0a273af: Waiting 04:08:04 5d3b04190fa2: Waiting 04:08:04 2f39f015ded8: Waiting 04:08:04 5c69ac0246d0: Download complete 04:08:04 3a2ae6a8a46f: Download complete 04:08:04 33b1e0a273af: Verifying Checksum 04:08:04 33b1e0a273af: Download complete 04:08:04 5d3b04190fa2: Verifying Checksum 04:08:04 5d3b04190fa2: Download complete 04:08:04 ec43610c2a17: Verifying Checksum 04:08:04 ec43610c2a17: Download complete 04:08:04 5eb5b503b376: Verifying Checksum 04:08:04 5eb5b503b376: Download complete 04:08:05 2f39f015ded8: Verifying Checksum 04:08:05 2f39f015ded8: Download complete 04:08:06 5eb5b503b376: Pull complete 04:08:06 5c69ac0246d0: Pull complete 04:08:06 ec43610c2a17: Pull complete 04:08:06 3a2ae6a8a46f: Pull complete 04:08:07 33b1e0a273af: Pull complete 04:08:07 5d3b04190fa2: Pull complete 04:08:11 2f39f015ded8: Pull complete 04:08:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:08:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:11 prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container 04:08:11 $ 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-228 -v /w/workspace/undry_device-onvif-camera_PR-228:/w/workspace/undry_device-onvif-camera_PR-228:rw,z -v /w/workspace/undry_device-onvif-camera_PR-228@tmp:/w/workspace/undry_device-onvif-camera_PR-228@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 04:08:16 $ docker top 00415cebede37fc2b1aaf672e774057065918e4460581c8731e25427de9924ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:17 ---> job-cost.sh 04:08:17 lf-activate-venv: SKIPPING 04:08:17 INFO: No Stack... 04:08:17 INFO: Retrieving Pricing Info for: v3-standard-8 04:08:17 INFO: Archiving Costs [Pipeline] sh 04:08:18 + cat /w/workspace/undry_device-onvif-camera_PR-228/archives/cost.csv 04:08:18 + cut -d, -f6 [Pipeline] lock 04:08:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] 04:08:18 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] did not exist. Created. 04:08:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:08:18 + echo total: 0.2199999988079071 [Pipeline] stash 04:08:18 Stashed 1 file(s) [Pipeline] } 04:08:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:08:18 $ docker stop --time=1 00415cebede37fc2b1aaf672e774057065918e4460581c8731e25427de9924ea 04:08:19 $ docker rm -f --volumes 00415cebede37fc2b1aaf672e774057065918e4460581c8731e25427de9924ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:08:20 Failed in branch amd64 04:08:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5464 in /w/workspace/undry_device-onvif-camera_PR-228 [Pipeline] { [Pipeline] ws 04:08:21 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:08:21 The recommended git tool is: git 04:08:27 using credential edgex-jenkins-ssh 04:08:27 Cloning the remote Git repository 04:08:27 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:08:27 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:08:27 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:08:27 > git --version # timeout=10 04:08:27 > git --version # 'git version 2.25.1' 04:08:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:29 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:08:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:30 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:08:30 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:08:30 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/228/head:refs/remotes/origin/PR-228 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:08:30 Merging remotes/origin/main commit 4452f94286ccb50ed2d81f13c9c71fcde235ba34 into PR head commit 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab 04:08:31 Merge succeeded, producing 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab 04:08:31 Checking out Revision 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab (PR-228) 04:08:30 > git config core.sparsecheckout # timeout=10 04:08:30 > git checkout -f 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab # timeout=10 04:08:31 > git remote # timeout=10 04:08:31 > git config --get remote.origin.url # timeout=10 04:08:31 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:31 > git merge 4452f94286ccb50ed2d81f13c9c71fcde235ba34 # timeout=10 04:08:31 > git rev-parse HEAD^{commit} # timeout=10 04:08:31 > git config core.sparsecheckout # timeout=10 04:08:31 > git checkout -f 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab # timeout=10 04:08:32 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:08:32 > git --version # timeout=10 04:08:32 > git --version # 'git version 2.25.1' 04:08:32 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:08:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:08:33 % Total % Received % Xferd Average Speed Time Time Time Current 04:08:33 Dload Upload Total Spent Left Speed 04:08:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 04:08:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:08:34 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 04:08:34 04:08:34 { 04:08:34 "registry-mirrors": [ 04:08:34 "https://nexus3.edgexfoundry.org:10001" 04:08:34 ], 04:08:34 "bip": "10.250.0.254/24", 04:08:34 "hosts": [ 04:08:34 "tcp://0.0.0.0:5555", 04:08:34 "unix:///var/run/docker.sock" 04:08:34 ], 04:08:34 "mtu": 1458, 04:08:34 "selinux-enabled": true, 04:08:34 "seccomp-profile": "/etc/docker/seccomp.json" 04:08:34 } [Pipeline] sh 04:08:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:08:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:53 provisioning config files... 04:08:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3000552203872737631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:53 ---> docker-login.sh 04:08:53 nexus3.edgexfoundry.org:10001 04:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:54 Configure a credential helper to remove this warning. See 04:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:54 04:08:54 Login Succeeded 04:08:54 nexus3.edgexfoundry.org:10002 04:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:54 Configure a credential helper to remove this warning. See 04:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:54 04:08:54 Login Succeeded 04:08:54 nexus3.edgexfoundry.org:10003 04:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:55 Configure a credential helper to remove this warning. See 04:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:55 04:08:55 Login Succeeded 04:08:55 nexus3.edgexfoundry.org:10004 04:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:55 Configure a credential helper to remove this warning. See 04:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:55 04:08:55 Login Succeeded 04:08:55 docker.io 04:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:56 Configure a credential helper to remove this warning. See 04:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:56 04:08:56 Login Succeeded 04:08:56 ---> docker-login.sh ends [Pipeline] } 04:08:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:57 ========================================================= 04:08:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:08:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:08:58 Sending build context to Docker daemon 20.54MB 04:08:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:08:58 Step 2/13 : FROM ${BASE} AS builder 04:08:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:08:58 9b18e9b68314: Pulling fs layer 04:08:58 35d82f9e3411: Pulling fs layer 04:08:58 e16973657156: Pulling fs layer 04:08:58 fc693d55d65f: Pulling fs layer 04:08:58 7e9fc2657dce: Pulling fs layer 04:08:58 dda99020689f: Pulling fs layer 04:08:58 db1c61fa0a46: Pulling fs layer 04:08:58 891c053d2c06: Pulling fs layer 04:08:58 fc693d55d65f: Waiting 04:08:58 7e9fc2657dce: Waiting 04:08:58 dda99020689f: Waiting 04:08:58 db1c61fa0a46: Waiting 04:08:58 891c053d2c06: Waiting 04:08:58 e16973657156: Verifying Checksum 04:08:58 e16973657156: Download complete 04:08:58 35d82f9e3411: Verifying Checksum 04:08:58 35d82f9e3411: Download complete 04:08:58 7e9fc2657dce: Download complete 04:08:58 dda99020689f: Verifying Checksum 04:08:58 dda99020689f: Download complete 04:08:58 9b18e9b68314: Verifying Checksum 04:08:59 9b18e9b68314: Pull complete 04:08:59 891c053d2c06: Verifying Checksum 04:08:59 891c053d2c06: Download complete 04:09:00 35d82f9e3411: Pull complete 04:09:00 e16973657156: Pull complete 04:09:00 db1c61fa0a46: Download complete 04:09:01 fc693d55d65f: Verifying Checksum 04:09:01 fc693d55d65f: Download complete 04:09:13 fc693d55d65f: Pull complete 04:09:13 7e9fc2657dce: Pull complete 04:09:13 dda99020689f: Pull complete 04:09:19 db1c61fa0a46: Pull complete 04:09:21 891c053d2c06: Pull complete 04:09:21 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:09:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:09:21 ---> f96f9c87975a 04:09:21 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:09:23 ---> Running in 0e18720cc7ca 04:09:24 Removing intermediate container 0e18720cc7ca 04:09:24 ---> 38e11bf80db2 04:09:24 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:09:24 ---> Running in 92f797544d11 04:09:24 Removing intermediate container 92f797544d11 04:09:24 ---> 175d9b0d83cd 04:09:24 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:09:24 ---> Running in 42df3054ebc7 04:09:24 Removing intermediate container 42df3054ebc7 04:09:24 ---> ce047a9243ee 04:09:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:09:25 ---> Running in d3ba9f9c0615 04:09:25 Removing intermediate container d3ba9f9c0615 04:09:25 ---> 061152bd9ce8 04:09:25 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:09:25 ---> Running in 807fa0c0649e 04:09:25 Removing intermediate container 807fa0c0649e 04:09:25 ---> 31cb3dea87aa 04:09:25 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:09:26 ---> Running in b61f5184e4dc 04:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:09:28 OK: 221 MiB in 51 packages 04:09:29 Removing intermediate container b61f5184e4dc 04:09:29 ---> 91357cd44a54 04:09:29 Step 9/13 : WORKDIR /device-onvif-camera 04:09:29 ---> Running in c96d6e9d742a 04:09:29 Removing intermediate container c96d6e9d742a 04:09:29 ---> 2d75826d9ef7 04:09:29 Step 10/13 : COPY go.mod vendor* ./ 04:09:30 ---> ef8eb1d9e4d3 04:09:30 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:30 ---> Running in 4e14c164efd5 04:10:38 Removing intermediate container 4e14c164efd5 04:10:38 ---> 2441239559a7 04:10:38 Step 12/13 : COPY . . 04:10:38 ---> bc1970b9717e 04:10:38 Step 13/13 : RUN ${MAKE} 04:10:38 ---> Running in f3d22d87f40f 04:10:38 noop 04:10:38 Removing intermediate container f3d22d87f40f 04:10:38 ---> 5b0e72289c9d 04:10:38 Successfully built 5b0e72289c9d 04:10:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:39 + docker inspect -f . ci-base-image-arm64 04:10:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:39 prd-ubuntu20.04-docker-arm64-4c-16g-5464 does not seem to be running inside a container 04:10:39 $ 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 04:10:40 $ docker top 385eb22b9a3d6e0970ee622f5cede278e8b61b25c3b125db19d8910f569a41c3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:41 + go version 04:10:41 go version go1.18.7 linux/arm64 [Pipeline] } 04:10:41 $ docker stop --time=1 385eb22b9a3d6e0970ee622f5cede278e8b61b25c3b125db19d8910f569a41c3 04:10:43 $ docker rm -f --volumes 385eb22b9a3d6e0970ee622f5cede278e8b61b25c3b125db19d8910f569a41c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:44 + docker inspect -f . ci-base-image-arm64 04:10:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:44 prd-ubuntu20.04-docker-arm64-4c-16g-5464 does not seem to be running inside a container 04:10:44 $ 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 04:10:45 $ docker top 3e2fdf928d08e74e4d85924f776f6c2a9fec4308cf388ea30513b507c95d0652 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:46 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:10:47 + make test 04:10:47 go test ./... -coverprofile=coverage.out ./... 04:10:49 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:12:10 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 04:12:10 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd 04:12:10 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate 04:12:10 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete 04:12:16 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 04:12:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.804s coverage: 86.5% of statements 04:12:42 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 04:12:42 $ docker stop --time=1 3e2fdf928d08e74e4d85924f776f6c2a9fec4308cf388ea30513b507c95d0652 04:12:46 $ docker rm -f --volumes 3e2fdf928d08e74e4d85924f776f6c2a9fec4308cf388ea30513b507c95d0652 [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 04:12:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:47 04:12:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:48 arm64: Pulling from edgex-lftools-log-publisher 04:12:48 8998bd30e6a1: Pulling fs layer 04:12:48 04944245beec: Pulling fs layer 04:12:48 699f458cf7ca: Pulling fs layer 04:12:48 765212b225bb: Pulling fs layer 04:12:48 f23df028b6ca: Pulling fs layer 04:12:48 d65c8cfc05b1: Pulling fs layer 04:12:48 2437ff75d9bd: Pulling fs layer 04:12:48 f23df028b6ca: Waiting 04:12:48 765212b225bb: Waiting 04:12:48 d65c8cfc05b1: Waiting 04:12:48 2437ff75d9bd: Waiting 04:12:48 04944245beec: Verifying Checksum 04:12:48 04944245beec: Download complete 04:12:48 765212b225bb: Verifying Checksum 04:12:48 765212b225bb: Download complete 04:12:48 f23df028b6ca: Verifying Checksum 04:12:48 f23df028b6ca: Download complete 04:12:48 d65c8cfc05b1: Verifying Checksum 04:12:48 d65c8cfc05b1: Download complete 04:12:49 699f458cf7ca: Verifying Checksum 04:12:49 699f458cf7ca: Download complete 04:12:49 8998bd30e6a1: Verifying Checksum 04:12:49 8998bd30e6a1: Download complete 04:12:52 2437ff75d9bd: Verifying Checksum 04:12:52 2437ff75d9bd: Download complete 04:12:54 8998bd30e6a1: Pull complete 04:12:57 04944245beec: Pull complete 04:12:58 699f458cf7ca: Pull complete 04:12:59 765212b225bb: Pull complete 04:13:00 f23df028b6ca: Pull complete 04:13:00 d65c8cfc05b1: Pull complete 04:13:22 2437ff75d9bd: Pull complete 04:13:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:13:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:13:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:22 prd-ubuntu20.04-docker-arm64-4c-16g-5464 does not seem to be running inside a container 04:13:22 $ 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 04:13:23 $ docker top f6cff4987af32adaa70d4d53db504cf3b12373d705aba5c5573a61e2c8df174d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:24 ---> job-cost.sh 04:13:24 lf-activate-venv: SKIPPING 04:13:24 INFO: No Stack... 04:13:24 INFO: Retrieving Pricing Info for: v3-standard-4 04:13:25 INFO: Archiving Costs [Pipeline] sh 04:13:26 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 04:13:26 + cut -d, -f6 [Pipeline] lock 04:13:26 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] 04:13:26 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] did not exist. Created. 04:13:26 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:13:27 /w/workspace/device-onvif-camera/1@tmp/durable-ee4c393b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:13:27 + echo total: 0.10999999940395355 [Pipeline] stash 04:13:28 Warning: overwriting stash ‘stack-cost’ 04:13:28 Stashed 1 file(s) [Pipeline] } 04:13:28 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:13:28 $ docker stop --time=1 f6cff4987af32adaa70d4d53db504cf3b12373d705aba5c5573a61e2c8df174d 04:13:30 $ docker rm -f --volumes f6cff4987af32adaa70d4d53db504cf3b12373d705aba5c5573a61e2c8df174d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:13:31 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 04:13:33 + [ -d /w/workspace/undry_device-onvif-camera_PR-228/archives ] 04:13:33 + ls -al /w/workspace/undry_device-onvif-camera_PR-228/archives 04:13:33 total 16 04:13:33 drwxr-xr-x 3 root root 4096 Feb 13 04:08 . 04:13:33 drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 04:08 .. 04:13:33 drwxr-xr-x 2 root root 4096 Feb 13 04:08 cost 04:13:33 -rw-r--r-- 1 root root 91 Feb 13 04:08 cost.csv 04:13:33 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-228/archives 04:13:33 + ls -al /w/workspace/undry_device-onvif-camera_PR-228/archives 04:13:33 total 16 04:13:33 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 04:08 . 04:13:33 drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 04:08 .. 04:13:33 drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 04:08 cost 04:13:33 -rw-r--r-- 1 jenkins jenkins 91 Feb 13 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:13:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:13:34 ---> package-listing.sh 04:13:34 ++ facter osfamily 04:13:34 ++ tr '[:upper:]' '[:lower:]' 04:13:34 + OS_FAMILY=debian 04:13:34 + workspace=/w/workspace/undry_device-onvif-camera_PR-228 04:13:34 + START_PACKAGES=/tmp/packages_start.txt 04:13:34 + END_PACKAGES=/tmp/packages_end.txt 04:13:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:13:34 + PACKAGES=/tmp/packages_start.txt 04:13:34 + '[' /w/workspace/undry_device-onvif-camera_PR-228 ']' 04:13:34 + PACKAGES=/tmp/packages_end.txt 04:13:34 + case "${OS_FAMILY}" in 04:13:34 + dpkg -l 04:13:34 + grep '^ii' 04:13:34 + '[' -f /tmp/packages_start.txt ']' 04:13:34 + '[' -f /tmp/packages_end.txt ']' 04:13:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:13:34 + '[' /w/workspace/undry_device-onvif-camera_PR-228 ']' 04:13:34 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-228/archives/ 04:13:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-228/archives/ [Pipeline] echo 04:13:34 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-228/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:13:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:13:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:35 prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container 04:13:35 $ 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-228/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-228 -v /w/workspace/undry_device-onvif-camera_PR-228:/w/workspace/undry_device-onvif-camera_PR-228:rw,z -v /w/workspace/undry_device-onvif-camera_PR-228@tmp:/w/workspace/undry_device-onvif-camera_PR-228@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 04:13:35 $ docker top 7ea43602deddf75d3b483d7f5b72bee2b2b6f6d3e02b2abcbe9f5265080f8d71 -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:36 + touch /tmp/pre-build-complete [Pipeline] sh 04:13:36 + mkdir -p /var/log/sysstat [Pipeline] sh 04:13:36 + ls /var/log/sa-host 04:13:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:13:37 provisioning config files... 04:13:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-228@tmp/config492458328003984741tmp [Pipeline] { [Pipeline] echo 04:13:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:13:37 ---> create-netrc.sh [Pipeline] } 04:13:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:13:37 ---> python-tools-install.sh [Pipeline] echo 04:13:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:13:38 ---> sudo-logs.sh 04:13:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:13:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:13:38 ---> job-cost.sh 04:13:38 lf-activate-venv: SKIPPING 04:13:38 DEBUG: total: 0.2199999988079071 04:13:38 INFO: Retrieving Stack Cost... 04:13:39 INFO: Retrieving Pricing Info for: v3-standard-8 04:13:39 INFO: Archiving Costs [Pipeline] echo 04:13:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:13:39 ---> logs-deploy.sh 04:13:39 lf-activate-venv: SKIPPING 04:13:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-228/1 04:13:39 INFO: archiving workspace using pattern(s): 04:13:40 Archives upload complete. 04:13:40 INFO: archiving logs to Nexus