Pull request #221 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3723e44e4652662c184bcb342749bdc98e98ea2f+6741b2693d9de414b67a8d31d89bc7ad3a9d0867 (a493b104a02a4236a45fce8ddc88325d8c6ae206) 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-ssh7400650212917717653.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-ssh12496223062597195290.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-221/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-221/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12009220617041151627.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-221/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13216620742506692982.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-ssh8369045219389649549.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-221/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-221/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6496524415602684725.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-3317’ Running on prd-ubuntu20.04-docker-8c-8g-3324 in /w/workspace/undry_device-onvif-camera_PR-221 [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-221 # 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/221/head:refs/remotes/origin/PR-221 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 into PR head commit 3723e44e4652662c184bcb342749bdc98e98ea2f Merge succeeded, producing 3723e44e4652662c184bcb342749bdc98e98ea2f Checking out Revision 3723e44e4652662c184bcb342749bdc98e98ea2f (PR-221) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 3723e44e4652662c184bcb342749bdc98e98ea2f # 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 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3723e44e4652662c184bcb342749bdc98e98ea2f # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-23T03:21:14.983Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-23T03:21:15.170Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-23T03:21:15.275Z] ========================================================= [2023-01-23T03:21:15.275Z] EdgeX Global Pipelines Version Info [2023-01-23T03:21:15.275Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-23T03:21:16.037Z] ------------------- [2023-01-23T03:21:16.037Z] stable info: [2023-01-23T03:21:16.037Z] ------------------- [2023-01-23T03:21:16.037Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-23T03:21:16.037Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T03:21:16.037Z] Message: update stable to v1.0.244 [2023-01-23T03:21:16.608Z] ------------------- [2023-01-23T03:21:16.608Z] experimental info: [2023-01-23T03:21:16.608Z] ------------------- [2023-01-23T03:21:16.608Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-23T03:21:16.608Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T03:21:16.608Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-23T03:21:16.904Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-23T03:21:16.942Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-23T03:21:16.987Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-23T03:21:17.030Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-23T03:21:17.075Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-23T03:21:17.121Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-23T03:21:17.164Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-23T03:21:17.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-23T03:21:17.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-23T03:21:17.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-23T03:21:17.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-23T03:21:17.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-23T03:21:17.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-23T03:21:17.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-23T03:21:17.503Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T03:21:17.543Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T03:21:17.582Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T03:21:17.621Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T03:21:17.663Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-23T03:21:17.705Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-23T03:21:17.747Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-23T03:21:17.787Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-23T03:21:17.827Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-23T03:21:17.869Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-23T03:21:17.918Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-23T03:21:17.964Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-23T03:21:18.007Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-23T03:21:18.056Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-221 [Pipeline] echo [2023-01-23T03:21:18.095Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-221 [Pipeline] echo [2023-01-23T03:21:18.146Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-221 [Pipeline] echo [2023-01-23T03:21:18.191Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3723e44e4652662c184bcb342749bdc98e98ea2f [Pipeline] echo [2023-01-23T03:21:18.236Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3723e44 [Pipeline] echo [2023-01-23T03:21:18.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T03:21:18.396Z] provisioning config files... [2023-01-23T03:21:18.410Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-221@tmp/config10036455403123681667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T03:21:18.751Z] ---> docker-login.sh [2023-01-23T03:21:18.751Z] nexus3.edgexfoundry.org:10001 [2023-01-23T03:21:19.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:21:19.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:21:19.011Z] Configure a credential helper to remove this warning. See [2023-01-23T03:21:19.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:21:19.011Z] [2023-01-23T03:21:19.011Z] Login Succeeded [2023-01-23T03:21:19.011Z] nexus3.edgexfoundry.org:10002 [2023-01-23T03:21:19.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:21:19.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:21:19.011Z] Configure a credential helper to remove this warning. See [2023-01-23T03:21:19.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:21:19.011Z] [2023-01-23T03:21:19.011Z] Login Succeeded [2023-01-23T03:21:19.011Z] nexus3.edgexfoundry.org:10003 [2023-01-23T03:21:19.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:21:19.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:21:19.272Z] Configure a credential helper to remove this warning. See [2023-01-23T03:21:19.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:21:19.272Z] [2023-01-23T03:21:19.272Z] Login Succeeded [2023-01-23T03:21:19.272Z] nexus3.edgexfoundry.org:10004 [2023-01-23T03:21:19.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:21:19.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:21:19.272Z] Configure a credential helper to remove this warning. See [2023-01-23T03:21:19.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:21:19.272Z] [2023-01-23T03:21:19.272Z] Login Succeeded [2023-01-23T03:21:19.272Z] docker.io [2023-01-23T03:21:19.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:21:19.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:21:19.531Z] Configure a credential helper to remove this warning. See [2023-01-23T03:21:19.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:21:19.531Z] [2023-01-23T03:21:19.531Z] Login Succeeded [2023-01-23T03:21:19.531Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T03:21:19.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-23T03:21:20.175Z] + git rev-list -1 --merges 3723e44e4652662c184bcb342749bdc98e98ea2f~1..3723e44e4652662c184bcb342749bdc98e98ea2f [Pipeline] echo [2023-01-23T03:21:20.238Z] -----------> git rev-list -1 --merges 3723e44e4652662c184bcb342749bdc98e98ea2f~1..3723e44e4652662c184bcb342749bdc98e98ea2f 3723e44e4652662c184bcb342749bdc98e98ea2f [false] [Pipeline] sh [2023-01-23T03:21:20.547Z] + git log --format=format:%s -1 3723e44e4652662c184bcb342749bdc98e98ea2f [Pipeline] echo [2023-01-23T03:21:20.583Z] ========================================================= [2023-01-23T03:21:20.583Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-23T03:21:20.583Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T03:21:21.027Z] + git log --format=format:%s -1 3723e44e4652662c184bcb342749bdc98e98ea2f [Pipeline] echo [2023-01-23T03:21:21.061Z] [semverPrep] GIT_COMMIT: 3723e44e4652662c184bcb342749bdc98e98ea2f, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-01-23T03:21:21.092Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-23T03:21:21.474Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-23T03:21:21.474Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-23T03:21:21.474Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-23T03:21:21.474Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-23T03:21:21.474Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-23T03:21:21.474Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-23T03:21:21.474Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T03:21:21.923Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T03:21:21.923Z] [2023-01-23T03:21:21.923Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T03:21:22.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T03:21:22.308Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-23T03:21:22.308Z] b85a868b505f: Pulling fs layer [2023-01-23T03:21:22.308Z] e2be974225ed: Pulling fs layer [2023-01-23T03:21:22.308Z] 339a4e72a1f5: Pulling fs layer [2023-01-23T03:21:22.308Z] 988bab9f4d93: Pulling fs layer [2023-01-23T03:21:22.308Z] 1469e6f7b9e6: Pulling fs layer [2023-01-23T03:21:22.308Z] eaf3925da568: Pulling fs layer [2023-01-23T03:21:22.308Z] bab4dde63d76: Pulling fs layer [2023-01-23T03:21:22.308Z] bde34c3a00c8: Pulling fs layer [2023-01-23T03:21:22.308Z] b352a97aabf1: Pulling fs layer [2023-01-23T03:21:22.308Z] 4872d77fe225: Pulling fs layer [2023-01-23T03:21:22.308Z] 5851b861e8e6: Pulling fs layer [2023-01-23T03:21:22.308Z] 988bab9f4d93: Waiting [2023-01-23T03:21:22.308Z] 1469e6f7b9e6: Waiting [2023-01-23T03:21:22.308Z] eaf3925da568: Waiting [2023-01-23T03:21:22.308Z] bab4dde63d76: Waiting [2023-01-23T03:21:22.308Z] bde34c3a00c8: Waiting [2023-01-23T03:21:22.308Z] b352a97aabf1: Waiting [2023-01-23T03:21:22.308Z] 4872d77fe225: Waiting [2023-01-23T03:21:22.308Z] e2be974225ed: Verifying Checksum [2023-01-23T03:21:22.308Z] e2be974225ed: Download complete [2023-01-23T03:21:22.308Z] 988bab9f4d93: Verifying Checksum [2023-01-23T03:21:22.309Z] 988bab9f4d93: Download complete [2023-01-23T03:21:22.574Z] 1469e6f7b9e6: Verifying Checksum [2023-01-23T03:21:22.574Z] 1469e6f7b9e6: Download complete [2023-01-23T03:21:22.574Z] 339a4e72a1f5: Verifying Checksum [2023-01-23T03:21:22.574Z] 339a4e72a1f5: Download complete [2023-01-23T03:21:22.574Z] eaf3925da568: Verifying Checksum [2023-01-23T03:21:22.574Z] eaf3925da568: Download complete [2023-01-23T03:21:22.574Z] bde34c3a00c8: Verifying Checksum [2023-01-23T03:21:22.574Z] bde34c3a00c8: Download complete [2023-01-23T03:21:22.840Z] b352a97aabf1: Verifying Checksum [2023-01-23T03:21:22.840Z] b352a97aabf1: Download complete [2023-01-23T03:21:22.840Z] 4872d77fe225: Verifying Checksum [2023-01-23T03:21:22.840Z] 4872d77fe225: Download complete [2023-01-23T03:21:22.840Z] 5851b861e8e6: Verifying Checksum [2023-01-23T03:21:22.840Z] 5851b861e8e6: Download complete [2023-01-23T03:21:22.840Z] b85a868b505f: Verifying Checksum [2023-01-23T03:21:22.840Z] b85a868b505f: Download complete [2023-01-23T03:21:23.100Z] bab4dde63d76: Verifying Checksum [2023-01-23T03:21:23.100Z] bab4dde63d76: Download complete [2023-01-23T03:21:24.034Z] b85a868b505f: Pull complete [2023-01-23T03:21:24.294Z] e2be974225ed: Pull complete [2023-01-23T03:21:24.869Z] 339a4e72a1f5: Pull complete [2023-01-23T03:21:24.869Z] 988bab9f4d93: Pull complete [2023-01-23T03:21:25.126Z] 1469e6f7b9e6: Pull complete [2023-01-23T03:21:25.126Z] eaf3925da568: Pull complete [2023-01-23T03:21:27.041Z] bab4dde63d76: Pull complete [2023-01-23T03:21:27.041Z] bde34c3a00c8: Pull complete [2023-01-23T03:21:27.041Z] b352a97aabf1: Pull complete [2023-01-23T03:21:27.300Z] 4872d77fe225: Pull complete [2023-01-23T03:21:27.300Z] 5851b861e8e6: Pull complete [2023-01-23T03:21:27.300Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-23T03:21:27.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T03:21:27.300Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T03:21:27.515Z] prd-ubuntu20.04-docker-8c-8g-3324 does not seem to be running inside a container [2023-01-23T03:21:27.555Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-221 -v /w/workspace/undry_device-onvif-camera_PR-221:/w/workspace/undry_device-onvif-camera_PR-221:rw,z -v /w/workspace/undry_device-onvif-camera_PR-221@tmp:/w/workspace/undry_device-onvif-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-23T03:21:30.846Z] $ docker top b80bec4a3b32eb954fb8c35fb0cef95328fc5a2f9ec712ae81e98c62a32f5640 -eo pid,comm [2023-01-23T03:21:30.898Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-23T03:21:30.898Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-23T03:21:31.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T03:21:31.026Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T03:21:31.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T03:21:31.151Z] $ docker exec b80bec4a3b32eb954fb8c35fb0cef95328fc5a2f9ec712ae81e98c62a32f5640 ssh-agent [2023-01-23T03:21:31.247Z] SSH_AUTH_SOCK=/tmp/ssh-6Eb6d4AbR6xp/agent.32 [2023-01-23T03:21:31.247Z] SSH_AGENT_PID=38 [2023-01-23T03:21:31.252Z] Running ssh-add (command line suppressed) [2023-01-23T03:21:31.367Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-221@tmp/private_key_13947685478496725345.key (/w/workspace/undry_device-onvif-camera_PR-221@tmp/private_key_13947685478496725345.key) [2023-01-23T03:21:31.380Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T03:21:31.710Z] + git tag --points-at HEAD [Pipeline] } [2023-01-23T03:21:31.737Z] $ docker exec --env ******** --env ******** b80bec4a3b32eb954fb8c35fb0cef95328fc5a2f9ec712ae81e98c62a32f5640 ssh-agent -k [2023-01-23T03:21:31.842Z] unset SSH_AUTH_SOCK; [2023-01-23T03:21:31.844Z] unset SSH_AGENT_PID; [2023-01-23T03:21:31.847Z] echo Agent pid 38 killed; [2023-01-23T03:21:31.850Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-23T03:21:31.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T03:21:31.941Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T03:21:32.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T03:21:32.066Z] $ docker exec b80bec4a3b32eb954fb8c35fb0cef95328fc5a2f9ec712ae81e98c62a32f5640 ssh-agent [2023-01-23T03:21:32.180Z] SSH_AUTH_SOCK=/tmp/ssh-ogBI5I8F1bnG/agent.70 [2023-01-23T03:21:32.180Z] SSH_AGENT_PID=76 [2023-01-23T03:21:32.185Z] Running ssh-add (command line suppressed) [2023-01-23T03:21:32.288Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-221@tmp/private_key_3010473288788001724.key (/w/workspace/undry_device-onvif-camera_PR-221@tmp/private_key_3010473288788001724.key) [2023-01-23T03:21:32.300Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T03:21:32.625Z] + git semver init [2023-01-23T03:21:33.193Z] 2023-01-23 03:21:32,898 [run_init] DEBUG init version:0.0.0 force:False [2023-01-23T03:21:33.193Z] 2023-01-23 03:21:32,899 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-221/.semver [2023-01-23T03:21:33.193Z] 2023-01-23 03:21:32,900 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-221/.semver [2023-01-23T03:21:33.193Z] 2023-01-23 03:21:32,900 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-221/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-221, universal_newlines=False, shell=None, istream=None) [2023-01-23T03:21:34.130Z] 2023-01-23 03:21:33,844 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-221/.git/info/exclude [2023-01-23T03:21:34.131Z] 2023-01-23 03:21:33,844 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-221/.semver/PR-221 with force:False [2023-01-23T03:21:34.131Z] 2023-01-23 03:21:33,844 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-221/.semver/PR-221 [2023-01-23T03:21:34.131Z] 2023-01-23 03:21:33,847 [execute] INFO git cat-file --batch-check [2023-01-23T03:21:34.131Z] 2023-01-23 03:21:33,848 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-221/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T03:21:34.131Z] 2023-01-23 03:21:33,855 [execute] INFO git cat-file --batch [2023-01-23T03:21:34.131Z] 2023-01-23 03:21:33,855 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-221/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T03:21:34.131Z] 2023-01-23 03:21:33,861 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-221/.semver/PR-221 [2023-01-23T03:21:34.131Z] 0.0.0 [Pipeline] } [2023-01-23T03:21:34.162Z] $ docker exec --env ******** --env ******** b80bec4a3b32eb954fb8c35fb0cef95328fc5a2f9ec712ae81e98c62a32f5640 ssh-agent -k [2023-01-23T03:21:34.251Z] unset SSH_AUTH_SOCK; [2023-01-23T03:21:34.251Z] unset SSH_AGENT_PID; [2023-01-23T03:21:34.252Z] echo Agent pid 76 killed; [2023-01-23T03:21:34.257Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-23T03:21:34.669Z] + git semver [Pipeline] } [2023-01-23T03:21:34.958Z] $ docker stop --time=1 b80bec4a3b32eb954fb8c35fb0cef95328fc5a2f9ec712ae81e98c62a32f5640 [2023-01-23T03:21:36.288Z] $ docker rm -f --volumes b80bec4a3b32eb954fb8c35fb0cef95328fc5a2f9ec712ae81e98c62a32f5640 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T03:21:36.691Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-23T03:21:36.953Z] Stashed 1 file(s) [Pipeline] echo [2023-01-23T03:21:36.970Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T03:21:37.556Z] provisioning config files... [2023-01-23T03:21:37.564Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-221@tmp/config5039903336385953874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T03:21:37.912Z] ---> docker-login.sh [2023-01-23T03:21:37.912Z] nexus3.edgexfoundry.org:10001 [2023-01-23T03:21:37.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:21:37.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:21:37.912Z] Configure a credential helper to remove this warning. See [2023-01-23T03:21:37.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:21:37.912Z] [2023-01-23T03:21:37.912Z] Login Succeeded [2023-01-23T03:21:37.912Z] nexus3.edgexfoundry.org:10002 [2023-01-23T03:21:37.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:21:37.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:21:37.912Z] Configure a credential helper to remove this warning. See [2023-01-23T03:21:37.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:21:37.912Z] [2023-01-23T03:21:37.912Z] Login Succeeded [2023-01-23T03:21:37.912Z] nexus3.edgexfoundry.org:10003 [2023-01-23T03:21:38.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:21:38.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:21:38.171Z] Configure a credential helper to remove this warning. See [2023-01-23T03:21:38.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:21:38.171Z] [2023-01-23T03:21:38.171Z] Login Succeeded [2023-01-23T03:21:38.171Z] nexus3.edgexfoundry.org:10004 [2023-01-23T03:21:38.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:21:38.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:21:38.171Z] Configure a credential helper to remove this warning. See [2023-01-23T03:21:38.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:21:38.171Z] [2023-01-23T03:21:38.171Z] Login Succeeded [2023-01-23T03:21:38.171Z] docker.io [2023-01-23T03:21:38.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:21:38.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:21:38.690Z] Configure a credential helper to remove this warning. See [2023-01-23T03:21:38.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:21:38.690Z] [2023-01-23T03:21:38.690Z] Login Succeeded [2023-01-23T03:21:38.690Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T03:21:38.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T03:21:38.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T03:21:38.935Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T03:21:38.970Z] ========================================================= [2023-01-23T03:21:38.970Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-23T03:21:38.970Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T03:21:39.453Z] + 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 . [2023-01-23T03:21:39.453Z] Sending build context to Docker daemon 27.66MB [2023-01-23T03:21:39.453Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T03:21:39.453Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-23T03:21:39.715Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-23T03:21:39.715Z] 213ec9aee27d: Pulling fs layer [2023-01-23T03:21:39.715Z] 4583459ba037: Pulling fs layer [2023-01-23T03:21:39.715Z] 93c1e223e6f2: Pulling fs layer [2023-01-23T03:21:39.715Z] 53926ce57604: Pulling fs layer [2023-01-23T03:21:39.715Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-23T03:21:39.715Z] 22ff95d597cd: Pulling fs layer [2023-01-23T03:21:39.715Z] 12d6caf4c0d1: Pulling fs layer [2023-01-23T03:21:39.715Z] 96b7cbca73a9: Pulling fs layer [2023-01-23T03:21:39.715Z] a7acece74701: Pulling fs layer [2023-01-23T03:21:39.715Z] 21b2b0c7a3f4: Waiting [2023-01-23T03:21:39.715Z] 22ff95d597cd: Waiting [2023-01-23T03:21:39.715Z] 12d6caf4c0d1: Waiting [2023-01-23T03:21:39.715Z] 96b7cbca73a9: Waiting [2023-01-23T03:21:39.715Z] a7acece74701: Waiting [2023-01-23T03:21:39.715Z] 53926ce57604: Waiting [2023-01-23T03:21:39.715Z] 93c1e223e6f2: Verifying Checksum [2023-01-23T03:21:39.715Z] 93c1e223e6f2: Download complete [2023-01-23T03:21:39.715Z] 4583459ba037: Download complete [2023-01-23T03:21:39.715Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-23T03:21:39.715Z] 21b2b0c7a3f4: Download complete [2023-01-23T03:21:39.715Z] 22ff95d597cd: Verifying Checksum [2023-01-23T03:21:39.715Z] 22ff95d597cd: Download complete [2023-01-23T03:21:39.715Z] 213ec9aee27d: Verifying Checksum [2023-01-23T03:21:39.715Z] 213ec9aee27d: Download complete [2023-01-23T03:21:39.982Z] 12d6caf4c0d1: Verifying Checksum [2023-01-23T03:21:39.982Z] 12d6caf4c0d1: Download complete [2023-01-23T03:21:39.982Z] 213ec9aee27d: Pull complete [2023-01-23T03:21:39.982Z] 4583459ba037: Pull complete [2023-01-23T03:21:40.256Z] 93c1e223e6f2: Pull complete [2023-01-23T03:21:40.918Z] 53926ce57604: Verifying Checksum [2023-01-23T03:21:40.918Z] 53926ce57604: Download complete [2023-01-23T03:21:41.186Z] a7acece74701: Verifying Checksum [2023-01-23T03:21:41.186Z] 96b7cbca73a9: Download complete [2023-01-23T03:21:45.458Z] 53926ce57604: Pull complete [2023-01-23T03:21:45.458Z] 21b2b0c7a3f4: Pull complete [2023-01-23T03:21:45.458Z] 22ff95d597cd: Pull complete [2023-01-23T03:21:45.458Z] 12d6caf4c0d1: Pull complete [2023-01-23T03:21:47.477Z] 96b7cbca73a9: Pull complete [2023-01-23T03:21:48.042Z] a7acece74701: Pull complete [2023-01-23T03:21:48.042Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-23T03:21:48.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-23T03:21:48.042Z] ---> db6d94c90886 [2023-01-23T03:21:48.042Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-23T03:21:52.378Z] Still waiting to schedule task [2023-01-23T03:21:52.378Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-3322’ is offline [2023-01-23T03:21:53.323Z] ---> Running in b2c286e213fb [2023-01-23T03:21:53.323Z] Removing intermediate container b2c286e213fb [2023-01-23T03:21:53.323Z] ---> eb369508e762 [2023-01-23T03:21:53.323Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T03:21:53.323Z] ---> Running in 04e9e141ff34 [2023-01-23T03:21:53.323Z] Removing intermediate container 04e9e141ff34 [2023-01-23T03:21:53.323Z] ---> 9844bddf667d [2023-01-23T03:21:53.323Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-23T03:21:53.323Z] ---> Running in eb85c5cfc628 [2023-01-23T03:21:53.323Z] Removing intermediate container eb85c5cfc628 [2023-01-23T03:21:53.323Z] ---> 2a9a8e46c8e2 [2023-01-23T03:21:53.323Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T03:21:53.323Z] ---> Running in e4c9489a9082 [2023-01-23T03:21:53.323Z] Removing intermediate container e4c9489a9082 [2023-01-23T03:21:53.323Z] ---> 6aabc674e553 [2023-01-23T03:21:53.323Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-23T03:21:53.323Z] ---> Running in a925cfc954a6 [2023-01-23T03:21:53.323Z] Removing intermediate container a925cfc954a6 [2023-01-23T03:21:53.323Z] ---> 9968683b868f [2023-01-23T03:21:53.323Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T03:21:53.323Z] ---> Running in f5b55094e9b2 [2023-01-23T03:21:53.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T03:21:53.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T03:21:54.105Z] OK: 211 MiB in 51 packages [2023-01-23T03:21:55.045Z] Removing intermediate container f5b55094e9b2 [2023-01-23T03:21:55.045Z] ---> c9350bde2726 [2023-01-23T03:21:55.045Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-23T03:21:55.045Z] ---> Running in 5498c1af4525 [2023-01-23T03:21:55.304Z] Removing intermediate container 5498c1af4525 [2023-01-23T03:21:55.304Z] ---> b83b446cb551 [2023-01-23T03:21:55.304Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-23T03:21:55.564Z] ---> 6b8bd267e2b6 [2023-01-23T03:21:55.564Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T03:21:55.825Z] ---> Running in f788e6588570 [2023-01-23T03:22:27.920Z] Removing intermediate container f788e6588570 [2023-01-23T03:22:27.920Z] ---> d59dd871176f [2023-01-23T03:22:27.920Z] Step 12/13 : COPY . . [2023-01-23T03:22:27.920Z] ---> f37c94d03959 [2023-01-23T03:22:27.920Z] Step 13/13 : RUN ${MAKE} [2023-01-23T03:22:27.920Z] ---> Running in b89189282cd9 [2023-01-23T03:22:27.920Z] noop [2023-01-23T03:22:27.920Z] Removing intermediate container b89189282cd9 [2023-01-23T03:22:27.920Z] ---> 05cf12bade59 [2023-01-23T03:22:27.920Z] Successfully built 05cf12bade59 [2023-01-23T03:22:27.920Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T03:22:28.357Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T03:22:28.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T03:22:28.513Z] prd-ubuntu20.04-docker-8c-8g-3324 does not seem to be running inside a container [2023-01-23T03:22:28.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-221 -v /w/workspace/undry_device-onvif-camera_PR-221:/w/workspace/undry_device-onvif-camera_PR-221:rw,z -v /w/workspace/undry_device-onvif-camera_PR-221@tmp:/w/workspace/undry_device-onvif-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-23T03:22:28.912Z] $ docker top e7609ffa097f2acd7b833849656967ab253e1fa9ed7a03f53d8ce3e17c71b158 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T03:22:29.301Z] + go version [2023-01-23T03:22:29.301Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-23T03:22:29.340Z] $ docker stop --time=1 e7609ffa097f2acd7b833849656967ab253e1fa9ed7a03f53d8ce3e17c71b158 [2023-01-23T03:22:30.621Z] $ docker rm -f --volumes e7609ffa097f2acd7b833849656967ab253e1fa9ed7a03f53d8ce3e17c71b158 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T03:22:31.326Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T03:22:31.326Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T03:22:31.481Z] prd-ubuntu20.04-docker-8c-8g-3324 does not seem to be running inside a container [2023-01-23T03:22:31.511Z] $ 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-221 -v /w/workspace/undry_device-onvif-camera_PR-221:/w/workspace/undry_device-onvif-camera_PR-221:rw,z -v /w/workspace/undry_device-onvif-camera_PR-221@tmp:/w/workspace/undry_device-onvif-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-23T03:22:31.841Z] $ docker top 19b779f52362df768423d42e385609222035830cb877493a65796b29c9861d0f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T03:22:32.237Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-221 [Pipeline] fileExists [Pipeline] sh [2023-01-23T03:22:32.604Z] + make test [2023-01-23T03:22:32.604Z] go test ./... -coverprofile=coverage.out ./... [2023-01-23T03:22:32.862Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-23T03:22:41.184Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-23T03:22:41.184Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-23T03:22:41.184Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-23T03:22:41.184Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-23T03:22:41.184Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-23T03:22:41.184Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-23T03:22:43.712Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-23T03:22:43.712Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-23T03:22:43.712Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-23T03:22:43.712Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-23T03:22:43.712Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-23T03:22:43.712Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-23T03:22:43.712Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-01-23T03:22:44.646Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.470s coverage: 86.5% of statements [2023-01-23T03:22:44.646Z] make: *** [Makefile:53: unittest] Error 2 [Pipeline] } [2023-01-23T03:22:44.687Z] $ docker stop --time=1 19b779f52362df768423d42e385609222035830cb877493a65796b29c9861d0f [2023-01-23T03:22:47.337Z] $ docker rm -f --volumes 19b779f52362df768423d42e385609222035830cb877493a65796b29c9861d0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T03:22:48.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T03:22:48.455Z] [2023-01-23T03:22:48.455Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T03:22:48.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T03:22:48.838Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-23T03:22:48.838Z] 5eb5b503b376: Pulling fs layer [2023-01-23T03:22:48.838Z] 5c69ac0246d0: Pulling fs layer [2023-01-23T03:22:48.838Z] ec43610c2a17: Pulling fs layer [2023-01-23T03:22:48.838Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-23T03:22:48.838Z] 33b1e0a273af: Pulling fs layer [2023-01-23T03:22:48.838Z] 5d3b04190fa2: Pulling fs layer [2023-01-23T03:22:48.838Z] 2f39f015ded8: Pulling fs layer [2023-01-23T03:22:48.838Z] 2f39f015ded8: Waiting [2023-01-23T03:22:48.838Z] 33b1e0a273af: Waiting [2023-01-23T03:22:48.838Z] 5d3b04190fa2: Waiting [2023-01-23T03:22:48.838Z] 5c69ac0246d0: Verifying Checksum [2023-01-23T03:22:48.838Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-23T03:22:48.838Z] 3a2ae6a8a46f: Download complete [2023-01-23T03:22:49.101Z] ec43610c2a17: Verifying Checksum [2023-01-23T03:22:49.101Z] ec43610c2a17: Download complete [2023-01-23T03:22:49.101Z] 5d3b04190fa2: Verifying Checksum [2023-01-23T03:22:49.101Z] 5d3b04190fa2: Download complete [2023-01-23T03:22:49.101Z] 33b1e0a273af: Verifying Checksum [2023-01-23T03:22:49.101Z] 33b1e0a273af: Download complete [2023-01-23T03:22:49.547Z] 5eb5b503b376: Verifying Checksum [2023-01-23T03:22:49.547Z] 5eb5b503b376: Download complete [2023-01-23T03:22:50.165Z] 2f39f015ded8: Verifying Checksum [2023-01-23T03:22:50.165Z] 2f39f015ded8: Download complete [2023-01-23T03:22:50.760Z] 5eb5b503b376: Pull complete [2023-01-23T03:22:51.018Z] 5c69ac0246d0: Pull complete [2023-01-23T03:22:51.584Z] ec43610c2a17: Pull complete [2023-01-23T03:22:51.584Z] 3a2ae6a8a46f: Pull complete [2023-01-23T03:22:51.843Z] 33b1e0a273af: Pull complete [2023-01-23T03:22:52.128Z] 5d3b04190fa2: Pull complete [2023-01-23T03:22:57.391Z] 2f39f015ded8: Pull complete [2023-01-23T03:22:57.391Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-23T03:22:57.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T03:22:57.391Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T03:22:57.619Z] prd-ubuntu20.04-docker-8c-8g-3324 does not seem to be running inside a container [2023-01-23T03:22:57.652Z] $ 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-221 -v /w/workspace/undry_device-onvif-camera_PR-221:/w/workspace/undry_device-onvif-camera_PR-221:rw,z -v /w/workspace/undry_device-onvif-camera_PR-221@tmp:/w/workspace/undry_device-onvif-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T03:23:02.871Z] $ docker top 4a7a28ed825222a5420b838d7ea744c2d3504da5fd4906269f7e34e80948719e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T03:23:03.318Z] ---> job-cost.sh [2023-01-23T03:23:03.318Z] lf-activate-venv: SKIPPING [2023-01-23T03:23:03.318Z] INFO: No Stack... [2023-01-23T03:23:03.576Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T03:23:03.834Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T03:23:04.149Z] + cat /w/workspace/undry_device-onvif-camera_PR-221/archives/cost.csv [2023-01-23T03:23:04.149Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T03:23:04.190Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-221-1-stack-cost] [2023-01-23T03:23:04.195Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-221-1-stack-cost] did not exist. Created. [2023-01-23T03:23:04.195Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-221-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T03:23:04.584Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-23T03:23:04.646Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T03:23:04.663Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-221-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T03:23:04.739Z] $ docker stop --time=1 4a7a28ed825222a5420b838d7ea744c2d3504da5fd4906269f7e34e80948719e [2023-01-23T03:23:05.894Z] $ docker rm -f --volumes 4a7a28ed825222a5420b838d7ea744c2d3504da5fd4906269f7e34e80948719e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-23T03:23:06.297Z] Failed in branch amd64 [2023-01-23T03:23:31.456Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3327 in /w/workspace/undry_device-onvif-camera_PR-221 [Pipeline] { [Pipeline] ws [2023-01-23T03:23:31.509Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-01-23T03:23:31.587Z] The recommended git tool is: git [2023-01-23T03:23:36.572Z] using credential edgex-jenkins-ssh [2023-01-23T03:23:36.590Z] Cloning the remote Git repository [2023-01-23T03:23:36.638Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-23T03:23:36.718Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-01-23T03:23:36.868Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-23T03:23:36.869Z] > git --version # timeout=10 [2023-01-23T03:23:36.891Z] > git --version # 'git version 2.25.1' [2023-01-23T03:23:36.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T03:23:36.956Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T03:23:38.294Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-23T03:23:38.326Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T03:23:39.826Z] Merging remotes/origin/main commit 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 into PR head commit 3723e44e4652662c184bcb342749bdc98e98ea2f [2023-01-23T03:23:40.315Z] Merge succeeded, producing 3723e44e4652662c184bcb342749bdc98e98ea2f [2023-01-23T03:23:40.316Z] Checking out Revision 3723e44e4652662c184bcb342749bdc98e98ea2f (PR-221) [2023-01-23T03:23:39.255Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-23T03:23:39.298Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-23T03:23:39.299Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T03:23:39.317Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-23T03:23:39.848Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T03:23:39.866Z] > git checkout -f 3723e44e4652662c184bcb342749bdc98e98ea2f # timeout=10 [2023-01-23T03:23:40.203Z] > git remote # timeout=10 [2023-01-23T03:23:40.232Z] > git config --get remote.origin.url # timeout=10 [2023-01-23T03:23:40.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T03:23:40.269Z] > git merge 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 # timeout=10 [2023-01-23T03:23:40.299Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-23T03:23:41.118Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-01-23T03:23:41.184Z] > git --version # timeout=10 [2023-01-23T03:23:41.197Z] > git --version # 'git version 2.25.1' [2023-01-23T03:23:41.222Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-01-23T03:23:40.326Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T03:23:40.345Z] > git checkout -f 3723e44e4652662c184bcb342749bdc98e98ea2f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T03:23:42.292Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-23T03:23:42.293Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T03:23:42.293Z] Dload Upload Total Spent Left Speed [2023-01-23T03:23:42.293Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh [2023-01-23T03:23:43.038Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-23T03:23:43.393Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-23T03:23:43.393Z] + sudo tee /etc/docker/daemon.new [2023-01-23T03:23:43.393Z] { [2023-01-23T03:23:43.393Z] "registry-mirrors": [ [2023-01-23T03:23:43.393Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-23T03:23:43.393Z] ], [2023-01-23T03:23:43.393Z] "bip": "10.250.0.254/24", [2023-01-23T03:23:43.393Z] "hosts": [ [2023-01-23T03:23:43.393Z] "tcp://0.0.0.0:5555", [2023-01-23T03:23:43.393Z] "unix:///var/run/docker.sock" [2023-01-23T03:23:43.393Z] ], [2023-01-23T03:23:43.393Z] "mtu": 1458, [2023-01-23T03:23:43.393Z] "selinux-enabled": true, [2023-01-23T03:23:43.393Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-23T03:23:43.393Z] } [Pipeline] sh [2023-01-23T03:23:43.750Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-23T03:23:44.105Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T03:24:02.474Z] provisioning config files... [2023-01-23T03:24:02.507Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config15761376063709065422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T03:24:02.906Z] ---> docker-login.sh [2023-01-23T03:24:02.906Z] nexus3.edgexfoundry.org:10001 [2023-01-23T03:24:03.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:24:03.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:24:03.500Z] Configure a credential helper to remove this warning. See [2023-01-23T03:24:03.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:24:03.500Z] [2023-01-23T03:24:03.500Z] Login Succeeded [2023-01-23T03:24:03.500Z] nexus3.edgexfoundry.org:10002 [2023-01-23T03:24:03.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:24:04.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:24:04.043Z] Configure a credential helper to remove this warning. See [2023-01-23T03:24:04.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:24:04.043Z] [2023-01-23T03:24:04.043Z] Login Succeeded [2023-01-23T03:24:04.043Z] nexus3.edgexfoundry.org:10003 [2023-01-23T03:24:04.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:24:04.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:24:04.315Z] Configure a credential helper to remove this warning. See [2023-01-23T03:24:04.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:24:04.315Z] [2023-01-23T03:24:04.315Z] Login Succeeded [2023-01-23T03:24:04.315Z] nexus3.edgexfoundry.org:10004 [2023-01-23T03:24:04.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:24:04.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:24:04.859Z] Configure a credential helper to remove this warning. See [2023-01-23T03:24:04.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:24:04.859Z] [2023-01-23T03:24:04.859Z] Login Succeeded [2023-01-23T03:24:04.859Z] docker.io [2023-01-23T03:24:05.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T03:24:05.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T03:24:05.397Z] Configure a credential helper to remove this warning. See [2023-01-23T03:24:05.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T03:24:05.397Z] [2023-01-23T03:24:05.397Z] Login Succeeded [2023-01-23T03:24:05.397Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T03:24:05.430Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T03:24:05.829Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T03:24:05.867Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T03:24:05.901Z] ========================================================= [2023-01-23T03:24:05.902Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-23T03:24:05.902Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T03:24:06.416Z] + 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 . [2023-01-23T03:24:07.010Z] Sending build context to Docker daemon 20.53MB [2023-01-23T03:24:07.011Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T03:24:07.011Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-23T03:24:07.011Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-23T03:24:07.011Z] 9b18e9b68314: Pulling fs layer [2023-01-23T03:24:07.011Z] 35d82f9e3411: Pulling fs layer [2023-01-23T03:24:07.011Z] e16973657156: Pulling fs layer [2023-01-23T03:24:07.011Z] fc693d55d65f: Pulling fs layer [2023-01-23T03:24:07.011Z] 7e9fc2657dce: Pulling fs layer [2023-01-23T03:24:07.011Z] dda99020689f: Pulling fs layer [2023-01-23T03:24:07.011Z] db1c61fa0a46: Pulling fs layer [2023-01-23T03:24:07.011Z] 891c053d2c06: Pulling fs layer [2023-01-23T03:24:07.011Z] fc693d55d65f: Waiting [2023-01-23T03:24:07.011Z] 7e9fc2657dce: Waiting [2023-01-23T03:24:07.011Z] dda99020689f: Waiting [2023-01-23T03:24:07.011Z] 891c053d2c06: Waiting [2023-01-23T03:24:07.011Z] db1c61fa0a46: Waiting [2023-01-23T03:24:07.284Z] e16973657156: Download complete [2023-01-23T03:24:07.284Z] 35d82f9e3411: Download complete [2023-01-23T03:24:07.284Z] 7e9fc2657dce: Download complete [2023-01-23T03:24:07.284Z] dda99020689f: Verifying Checksum [2023-01-23T03:24:07.284Z] dda99020689f: Download complete [2023-01-23T03:24:07.284Z] 9b18e9b68314: Verifying Checksum [2023-01-23T03:24:07.284Z] 9b18e9b68314: Download complete [2023-01-23T03:24:08.256Z] 9b18e9b68314: Pull complete [2023-01-23T03:24:08.256Z] 891c053d2c06: Verifying Checksum [2023-01-23T03:24:08.256Z] 891c053d2c06: Download complete [2023-01-23T03:24:08.840Z] 35d82f9e3411: Pull complete [2023-01-23T03:24:09.108Z] e16973657156: Pull complete [2023-01-23T03:24:09.697Z] db1c61fa0a46: Verifying Checksum [2023-01-23T03:24:09.697Z] db1c61fa0a46: Download complete [2023-01-23T03:24:09.970Z] fc693d55d65f: Verifying Checksum [2023-01-23T03:24:09.971Z] fc693d55d65f: Download complete [2023-01-23T03:24:22.308Z] fc693d55d65f: Pull complete [2023-01-23T03:24:22.308Z] 7e9fc2657dce: Pull complete [2023-01-23T03:24:22.308Z] dda99020689f: Pull complete [2023-01-23T03:24:29.001Z] db1c61fa0a46: Pull complete [2023-01-23T03:24:30.663Z] 891c053d2c06: Pull complete [2023-01-23T03:24:30.663Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-23T03:24:30.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-23T03:24:30.663Z] ---> f96f9c87975a [2023-01-23T03:24:30.663Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-23T03:24:32.631Z] ---> Running in 1ae2b2fae516 [2023-01-23T03:24:32.631Z] Removing intermediate container 1ae2b2fae516 [2023-01-23T03:24:32.631Z] ---> 8413c13aaf54 [2023-01-23T03:24:32.631Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T03:24:32.898Z] ---> Running in 810b8b461e37 [2023-01-23T03:24:33.166Z] Removing intermediate container 810b8b461e37 [2023-01-23T03:24:33.166Z] ---> e99030782446 [2023-01-23T03:24:33.166Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-23T03:24:33.166Z] ---> Running in 1a0773fd4062 [2023-01-23T03:24:33.436Z] Removing intermediate container 1a0773fd4062 [2023-01-23T03:24:33.436Z] ---> b5b37f0ccd6b [2023-01-23T03:24:33.436Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T03:24:33.704Z] ---> Running in 1140737d229c [2023-01-23T03:24:33.973Z] Removing intermediate container 1140737d229c [2023-01-23T03:24:33.973Z] ---> a0cb1a98a746 [2023-01-23T03:24:33.973Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-23T03:24:33.973Z] ---> Running in 34a39b95b997 [2023-01-23T03:24:34.243Z] Removing intermediate container 34a39b95b997 [2023-01-23T03:24:34.243Z] ---> f0c2cf7f6b5d [2023-01-23T03:24:34.243Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T03:24:34.529Z] ---> Running in 8475ceae79d7 [2023-01-23T03:24:35.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T03:24:35.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T03:24:36.922Z] OK: 221 MiB in 51 packages [2023-01-23T03:24:37.893Z] Removing intermediate container 8475ceae79d7 [2023-01-23T03:24:37.893Z] ---> 4fccef96044d [2023-01-23T03:24:37.893Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-23T03:24:37.893Z] ---> Running in 0f59f8ee841f [2023-01-23T03:24:38.161Z] Removing intermediate container 0f59f8ee841f [2023-01-23T03:24:38.161Z] ---> ad856c5c5441 [2023-01-23T03:24:38.161Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-23T03:24:38.747Z] ---> f8363c08c312 [2023-01-23T03:24:38.747Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T03:24:38.747Z] ---> Running in bf656bfc3c41 [2023-01-23T03:25:46.623Z] Removing intermediate container bf656bfc3c41 [2023-01-23T03:25:46.623Z] ---> 837308746893 [2023-01-23T03:25:46.623Z] Step 12/13 : COPY . . [2023-01-23T03:25:46.623Z] ---> 7516e7db9166 [2023-01-23T03:25:46.623Z] Step 13/13 : RUN ${MAKE} [2023-01-23T03:25:46.623Z] ---> Running in 1288bfd6abdf [2023-01-23T03:25:46.623Z] noop [2023-01-23T03:25:46.623Z] Removing intermediate container 1288bfd6abdf [2023-01-23T03:25:46.623Z] ---> be044a69ac67 [2023-01-23T03:25:46.623Z] Successfully built be044a69ac67 [2023-01-23T03:25:46.623Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T03:25:47.100Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T03:25:47.101Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T03:25:47.344Z] prd-ubuntu20.04-docker-arm64-4c-16g-3327 does not seem to be running inside a container [2023-01-23T03:25:47.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-23T03:25:48.603Z] $ docker top e3309fd981d8003d99bd9f7b0503d5a4b1a991563d4029b489ec7a7fbbf7bc16 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T03:25:49.483Z] + go version [2023-01-23T03:25:49.483Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-23T03:25:49.522Z] $ docker stop --time=1 e3309fd981d8003d99bd9f7b0503d5a4b1a991563d4029b489ec7a7fbbf7bc16 [2023-01-23T03:25:51.114Z] $ docker rm -f --volumes e3309fd981d8003d99bd9f7b0503d5a4b1a991563d4029b489ec7a7fbbf7bc16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T03:25:51.966Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T03:25:51.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T03:25:52.235Z] prd-ubuntu20.04-docker-arm64-4c-16g-3327 does not seem to be running inside a container [2023-01-23T03:25:52.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-23T03:25:53.541Z] $ docker top aaaa2ecd9d8e11cb9e362b852ed73c7504fca241f3f0f1adb2629c6173253cdb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T03:25:54.117Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-01-23T03:25:55.082Z] + make test [2023-01-23T03:25:55.082Z] go test ./... -coverprofile=coverage.out ./... [2023-01-23T03:25:57.026Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-23T03:26:53.501Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-23T03:26:53.501Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-23T03:26:53.501Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-23T03:26:53.501Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-23T03:26:53.501Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-23T03:26:53.501Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-23T03:27:20.198Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-23T03:27:20.198Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-23T03:27:20.198Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-23T03:27:20.198Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-23T03:27:20.198Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-23T03:27:20.198Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-23T03:27:21.611Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-01-23T03:27:53.888Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.106s coverage: 86.5% of statements [2023-01-23T03:27:53.888Z] make: *** [Makefile:53: unittest] Error 2 [Pipeline] } [2023-01-23T03:27:53.935Z] $ docker stop --time=1 aaaa2ecd9d8e11cb9e362b852ed73c7504fca241f3f0f1adb2629c6173253cdb [2023-01-23T03:27:55.730Z] $ docker rm -f --volumes aaaa2ecd9d8e11cb9e362b852ed73c7504fca241f3f0f1adb2629c6173253cdb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T03:27:57.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T03:27:57.431Z] [2023-01-23T03:27:57.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T03:27:57.836Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T03:27:58.108Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-23T03:27:58.108Z] 8998bd30e6a1: Pulling fs layer [2023-01-23T03:27:58.108Z] 04944245beec: Pulling fs layer [2023-01-23T03:27:58.108Z] 699f458cf7ca: Pulling fs layer [2023-01-23T03:27:58.108Z] 765212b225bb: Pulling fs layer [2023-01-23T03:27:58.108Z] f23df028b6ca: Pulling fs layer [2023-01-23T03:27:58.108Z] d65c8cfc05b1: Pulling fs layer [2023-01-23T03:27:58.108Z] 2437ff75d9bd: Pulling fs layer [2023-01-23T03:27:58.108Z] f23df028b6ca: Waiting [2023-01-23T03:27:58.108Z] d65c8cfc05b1: Waiting [2023-01-23T03:27:58.108Z] 2437ff75d9bd: Waiting [2023-01-23T03:27:58.108Z] 765212b225bb: Waiting [2023-01-23T03:27:58.108Z] 04944245beec: Verifying Checksum [2023-01-23T03:27:58.108Z] 04944245beec: Download complete [2023-01-23T03:27:58.108Z] 765212b225bb: Verifying Checksum [2023-01-23T03:27:58.108Z] 765212b225bb: Download complete [2023-01-23T03:27:58.378Z] f23df028b6ca: Verifying Checksum [2023-01-23T03:27:58.378Z] f23df028b6ca: Download complete [2023-01-23T03:27:58.378Z] d65c8cfc05b1: Verifying Checksum [2023-01-23T03:27:58.378Z] d65c8cfc05b1: Download complete [2023-01-23T03:27:58.647Z] 699f458cf7ca: Verifying Checksum [2023-01-23T03:27:58.647Z] 699f458cf7ca: Download complete [2023-01-23T03:27:58.915Z] 8998bd30e6a1: Verifying Checksum [2023-01-23T03:27:58.915Z] 8998bd30e6a1: Download complete [2023-01-23T03:28:02.260Z] 2437ff75d9bd: Download complete [2023-01-23T03:28:04.215Z] 8998bd30e6a1: Pull complete [2023-01-23T03:28:04.800Z] 04944245beec: Pull complete [2023-01-23T03:28:06.212Z] 699f458cf7ca: Pull complete [2023-01-23T03:28:06.481Z] 765212b225bb: Pull complete [2023-01-23T03:28:07.901Z] f23df028b6ca: Pull complete [2023-01-23T03:28:07.901Z] d65c8cfc05b1: Pull complete [2023-01-23T03:28:29.999Z] 2437ff75d9bd: Pull complete [2023-01-23T03:28:29.999Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-23T03:28:29.999Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T03:28:29.999Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T03:28:30.461Z] prd-ubuntu20.04-docker-arm64-4c-16g-3327 does not seem to be running inside a container [2023-01-23T03:28:30.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-23T03:28:32.092Z] $ docker top 8a928b72cb9fa81942d72a0054f61ee1ffe6f7d080db06c8692e8b42b7576a9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T03:28:33.042Z] ---> job-cost.sh [2023-01-23T03:28:33.042Z] lf-activate-venv: SKIPPING [2023-01-23T03:28:33.042Z] INFO: No Stack... [2023-01-23T03:28:33.628Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-23T03:28:34.208Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T03:28:34.867Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-01-23T03:28:34.867Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T03:28:34.955Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-221-1-stack-cost] [2023-01-23T03:28:34.961Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-221-1-stack-cost] did not exist. Created. [2023-01-23T03:28:34.961Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-221-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T03:28:35.705Z] /w/workspace/device-onvif-camera/1@tmp/durable-a584f824/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-23T03:28:36.399Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-23T03:28:36.440Z] Warning: overwriting stash ‘stack-cost’ [2023-01-23T03:28:37.038Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T03:28:37.053Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-221-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T03:28:37.134Z] $ docker stop --time=1 8a928b72cb9fa81942d72a0054f61ee1ffe6f7d080db06c8692e8b42b7576a9a [2023-01-23T03:28:39.028Z] $ docker rm -f --volumes 8a928b72cb9fa81942d72a0054f61ee1ffe6f7d080db06c8692e8b42b7576a9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-23T03:28:39.756Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-23T03:28:41.685Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-221/archives ] [2023-01-23T03:28:41.685Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-221/archives [2023-01-23T03:28:41.685Z] total 16 [2023-01-23T03:28:41.685Z] drwxr-xr-x 3 root root 4096 Jan 23 03:23 . [2023-01-23T03:28:41.685Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 23 03:23 .. [2023-01-23T03:28:41.685Z] drwxr-xr-x 2 root root 4096 Jan 23 03:23 cost [2023-01-23T03:28:41.685Z] -rw-r--r-- 1 root root 91 Jan 23 03:23 cost.csv [2023-01-23T03:28:41.685Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-221/archives [2023-01-23T03:28:41.685Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-221/archives [2023-01-23T03:28:41.685Z] total 16 [2023-01-23T03:28:41.685Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 03:23 . [2023-01-23T03:28:41.685Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 23 03:23 .. [2023-01-23T03:28:41.685Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 03:23 cost [2023-01-23T03:28:41.685Z] -rw-r--r-- 1 jenkins jenkins 91 Jan 23 03:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-23T03:28:42.012Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T03:28:42.902Z] ---> package-listing.sh [2023-01-23T03:28:42.902Z] ++ facter osfamily [2023-01-23T03:28:42.902Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-23T03:28:43.161Z] + OS_FAMILY=debian [2023-01-23T03:28:43.161Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-221 [2023-01-23T03:28:43.161Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-23T03:28:43.161Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-23T03:28:43.161Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-23T03:28:43.161Z] + PACKAGES=/tmp/packages_start.txt [2023-01-23T03:28:43.161Z] + '[' /w/workspace/undry_device-onvif-camera_PR-221 ']' [2023-01-23T03:28:43.161Z] + PACKAGES=/tmp/packages_end.txt [2023-01-23T03:28:43.161Z] + case "${OS_FAMILY}" in [2023-01-23T03:28:43.161Z] + dpkg -l [2023-01-23T03:28:43.161Z] + grep '^ii' [2023-01-23T03:28:43.161Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-23T03:28:43.161Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-23T03:28:43.161Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-23T03:28:43.161Z] + '[' /w/workspace/undry_device-onvif-camera_PR-221 ']' [2023-01-23T03:28:43.161Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-221/archives/ [2023-01-23T03:28:43.161Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-221/archives/ [Pipeline] echo [2023-01-23T03:28:43.192Z] 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-221/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-23T03:28:43.483Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T03:28:44.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T03:28:44.111Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T03:28:44.250Z] prd-ubuntu20.04-docker-8c-8g-3324 does not seem to be running inside a container [2023-01-23T03:28:44.260Z] $ 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-221/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-221 -v /w/workspace/undry_device-onvif-camera_PR-221:/w/workspace/undry_device-onvif-camera_PR-221:rw,z -v /w/workspace/undry_device-onvif-camera_PR-221@tmp:/w/workspace/undry_device-onvif-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T03:28:44.501Z] $ docker top 0460ad128d2bbe6cf49c12616a092cb8d66b26b601e060d9eed6e60504f27e24 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T03:28:44.898Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-23T03:28:45.205Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-23T03:28:45.513Z] + ls /var/log/sa-host [2023-01-23T03:28:45.513Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T03:28:45.647Z] provisioning config files... [2023-01-23T03:28:45.655Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-221@tmp/config7813471066185522835tmp [Pipeline] { [Pipeline] echo [2023-01-23T03:28:45.703Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T03:28:46.015Z] ---> create-netrc.sh [Pipeline] } [2023-01-23T03:28:46.042Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-23T03:28:46.436Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-23T03:28:46.476Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T03:28:46.792Z] ---> sudo-logs.sh [2023-01-23T03:28:46.793Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-23T03:28:46.881Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T03:28:47.195Z] ---> job-cost.sh [2023-01-23T03:28:47.196Z] lf-activate-venv: SKIPPING [2023-01-23T03:28:47.196Z] DEBUG: total: 0.2199999988079071 [2023-01-23T03:28:47.196Z] INFO: Retrieving Stack Cost... [2023-01-23T03:28:47.454Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T03:28:47.713Z] INFO: Archiving Costs [Pipeline] echo [2023-01-23T03:28:47.754Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T03:28:48.068Z] ---> logs-deploy.sh [2023-01-23T03:28:48.068Z] lf-activate-venv: SKIPPING [2023-01-23T03:28:48.068Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-221/1 [2023-01-23T03:28:48.068Z] INFO: archiving workspace using pattern(s): [2023-01-23T03:28:49.002Z] Archives upload complete. [2023-01-23T03:28:49.002Z] INFO: archiving logs to Nexus