Pull request #232 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from edc0738a55fbc1b1250fe0b17dd7a21488aac359+ce7fe079461b7505b319433b3b229be05385591d (04462efb4dc1a86e332f3de00aa178818361828b) 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-ssh536989939700308445.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-ssh9331863415161261046.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-232/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-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh247908191098215976.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-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18232262463691865884.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-ssh11416090639773672392.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-232/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-232/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7519479020539742262.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5956 in /w/workspace/undry_device-onvif-camera_PR-232 [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-232 # 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/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ce7fe079461b7505b319433b3b229be05385591d into PR head commit edc0738a55fbc1b1250fe0b17dd7a21488aac359 Merge succeeded, producing edc0738a55fbc1b1250fe0b17dd7a21488aac359 Checking out Revision edc0738a55fbc1b1250fe0b17dd7a21488aac359 (PR-232) 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] } > git config core.sparsecheckout # timeout=10 > git checkout -f edc0738a55fbc1b1250fe0b17dd7a21488aac359 # 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 ce7fe079461b7505b319433b3b229be05385591d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f edc0738a55fbc1b1250fe0b17dd7a21488aac359 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T00:43:45.888Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T00:43:46.064Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T00:43:46.167Z] ========================================================= [2023-02-15T00:43:46.167Z] EdgeX Global Pipelines Version Info [2023-02-15T00:43:46.167Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:43:47.206Z] ------------------- [2023-02-15T00:43:47.206Z] stable info: [2023-02-15T00:43:47.206Z] ------------------- [2023-02-15T00:43:47.206Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T00:43:47.206Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:43:47.206Z] Message: update stable to v1.0.244 [2023-02-15T00:43:47.783Z] ------------------- [2023-02-15T00:43:47.783Z] experimental info: [2023-02-15T00:43:47.783Z] ------------------- [2023-02-15T00:43:47.783Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T00:43:47.783Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:43:47.783Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T00:43:48.178Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-02-15T00:43:48.223Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-02-15T00:43:48.265Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T00:43:48.304Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T00:43:48.353Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T00:43:48.393Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T00:43:48.430Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T00:43:48.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T00:43:48.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T00:43:48.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T00:43:48.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T00:43:48.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-02-15T00:43:48.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T00:43:48.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T00:43:48.754Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T00:43:48.797Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T00:43:48.841Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:43:48.886Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:43:48.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T00:43:48.975Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T00:43:49.016Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-15T00:43:49.058Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-02-15T00:43:49.100Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T00:43:49.135Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T00:43:49.177Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T00:43:49.217Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T00:43:49.260Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T00:43:49.304Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-232 [Pipeline] echo [2023-02-15T00:43:49.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-232 [Pipeline] echo [2023-02-15T00:43:49.383Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-232 [Pipeline] echo [2023-02-15T00:43:49.425Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = edc0738a55fbc1b1250fe0b17dd7a21488aac359 [Pipeline] echo [2023-02-15T00:43:49.468Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = edc0738 [Pipeline] echo [2023-02-15T00:43:49.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:43:49.624Z] provisioning config files... [2023-02-15T00:43:49.645Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-232@tmp/config16788455491994652826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:43:49.982Z] ---> docker-login.sh [2023-02-15T00:43:49.982Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:43:51.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:51.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:51.361Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:51.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:51.361Z] [2023-02-15T00:43:51.361Z] Login Succeeded [2023-02-15T00:43:51.361Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:43:51.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:51.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:51.619Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:51.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:51.619Z] [2023-02-15T00:43:51.619Z] Login Succeeded [2023-02-15T00:43:51.619Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:43:51.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:51.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:51.620Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:51.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:51.620Z] [2023-02-15T00:43:51.620Z] Login Succeeded [2023-02-15T00:43:51.620Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:43:51.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:51.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:51.882Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:51.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:51.882Z] [2023-02-15T00:43:51.882Z] Login Succeeded [2023-02-15T00:43:51.882Z] docker.io [2023-02-15T00:43:51.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:52.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:52.141Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:52.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:52.141Z] [2023-02-15T00:43:52.141Z] Login Succeeded [2023-02-15T00:43:52.141Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:43:52.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T00:43:52.797Z] + git rev-list -1 --merges edc0738a55fbc1b1250fe0b17dd7a21488aac359~1..edc0738a55fbc1b1250fe0b17dd7a21488aac359 [Pipeline] echo [2023-02-15T00:43:52.863Z] -----------> git rev-list -1 --merges edc0738a55fbc1b1250fe0b17dd7a21488aac359~1..edc0738a55fbc1b1250fe0b17dd7a21488aac359 edc0738a55fbc1b1250fe0b17dd7a21488aac359 [false] [Pipeline] sh [2023-02-15T00:43:53.174Z] + git log --format=format:%s -1 edc0738a55fbc1b1250fe0b17dd7a21488aac359 [Pipeline] echo [2023-02-15T00:43:53.211Z] ========================================================= [2023-02-15T00:43:53.211Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T00:43:53.211Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:43:53.667Z] + git log --format=format:%s -1 edc0738a55fbc1b1250fe0b17dd7a21488aac359 [Pipeline] echo [2023-02-15T00:43:53.701Z] [semverPrep] GIT_COMMIT: edc0738a55fbc1b1250fe0b17dd7a21488aac359, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-15T00:43:53.731Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T00:43:54.105Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T00:43:54.105Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T00:43:54.105Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T00:43:54.105Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T00:43:54.105Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T00:43:54.105Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T00:43:54.105Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:54.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:43:54.527Z] [2023-02-15T00:43:54.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:54.919Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:43:55.252Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T00:43:55.252Z] b85a868b505f: Pulling fs layer [2023-02-15T00:43:55.252Z] e2be974225ed: Pulling fs layer [2023-02-15T00:43:55.252Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T00:43:55.252Z] 988bab9f4d93: Pulling fs layer [2023-02-15T00:43:55.252Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T00:43:55.252Z] eaf3925da568: Pulling fs layer [2023-02-15T00:43:55.252Z] bab4dde63d76: Pulling fs layer [2023-02-15T00:43:55.252Z] bde34c3a00c8: Pulling fs layer [2023-02-15T00:43:55.252Z] b352a97aabf1: Pulling fs layer [2023-02-15T00:43:55.252Z] 4872d77fe225: Pulling fs layer [2023-02-15T00:43:55.252Z] 5851b861e8e6: Pulling fs layer [2023-02-15T00:43:55.252Z] 988bab9f4d93: Waiting [2023-02-15T00:43:55.252Z] 1469e6f7b9e6: Waiting [2023-02-15T00:43:55.252Z] eaf3925da568: Waiting [2023-02-15T00:43:55.252Z] bab4dde63d76: Waiting [2023-02-15T00:43:55.252Z] bde34c3a00c8: Waiting [2023-02-15T00:43:55.252Z] b352a97aabf1: Waiting [2023-02-15T00:43:55.252Z] 4872d77fe225: Waiting [2023-02-15T00:43:55.252Z] 5851b861e8e6: Waiting [2023-02-15T00:43:55.252Z] e2be974225ed: Verifying Checksum [2023-02-15T00:43:55.252Z] e2be974225ed: Download complete [2023-02-15T00:43:55.252Z] 988bab9f4d93: Download complete [2023-02-15T00:43:55.547Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T00:43:55.547Z] 1469e6f7b9e6: Download complete [2023-02-15T00:43:55.547Z] eaf3925da568: Verifying Checksum [2023-02-15T00:43:55.547Z] eaf3925da568: Download complete [2023-02-15T00:43:55.547Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T00:43:55.547Z] 339a4e72a1f5: Download complete [2023-02-15T00:43:55.547Z] bde34c3a00c8: Verifying Checksum [2023-02-15T00:43:55.547Z] bde34c3a00c8: Download complete [2023-02-15T00:43:55.841Z] b352a97aabf1: Verifying Checksum [2023-02-15T00:43:55.841Z] b352a97aabf1: Download complete [2023-02-15T00:43:55.841Z] 4872d77fe225: Verifying Checksum [2023-02-15T00:43:55.841Z] 4872d77fe225: Download complete [2023-02-15T00:43:55.841Z] 5851b861e8e6: Verifying Checksum [2023-02-15T00:43:55.841Z] 5851b861e8e6: Download complete [2023-02-15T00:43:56.158Z] b85a868b505f: Verifying Checksum [2023-02-15T00:43:56.158Z] b85a868b505f: Download complete [2023-02-15T00:43:57.281Z] b85a868b505f: Pull complete [2023-02-15T00:43:57.281Z] e2be974225ed: Pull complete [2023-02-15T00:43:57.611Z] bab4dde63d76: Verifying Checksum [2023-02-15T00:43:57.611Z] bab4dde63d76: Download complete [2023-02-15T00:43:57.914Z] 339a4e72a1f5: Pull complete [2023-02-15T00:43:57.914Z] 988bab9f4d93: Pull complete [2023-02-15T00:43:58.542Z] 1469e6f7b9e6: Pull complete [2023-02-15T00:43:58.542Z] eaf3925da568: Pull complete [2023-02-15T00:44:00.059Z] bab4dde63d76: Pull complete [2023-02-15T00:44:00.059Z] bde34c3a00c8: Pull complete [2023-02-15T00:44:00.320Z] b352a97aabf1: Pull complete [2023-02-15T00:44:00.320Z] 4872d77fe225: Pull complete [2023-02-15T00:44:00.580Z] 5851b861e8e6: Pull complete [2023-02-15T00:44:00.580Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T00:44:00.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:44:00.580Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:44:00.818Z] prd-ubuntu20.04-docker-8c-8g-5956 does not seem to be running inside a container [2023-02-15T00:44:00.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@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-02-15T00:44:02.052Z] $ docker top bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 -eo pid,comm [2023-02-15T00:44:02.125Z] 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-02-15T00:44:02.125Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T00:44:02.255Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:44:02.255Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:44:02.379Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:44:02.373Z] $ docker exec bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 ssh-agent [2023-02-15T00:44:02.501Z] SSH_AUTH_SOCK=/tmp/ssh-o5TjZMMRvWWY/agent.33 [2023-02-15T00:44:02.501Z] SSH_AGENT_PID=39 [2023-02-15T00:44:02.508Z] Running ssh-add (command line suppressed) [2023-02-15T00:44:02.601Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-232@tmp/private_key_9201678769121223616.key (/w/workspace/undry_device-onvif-camera_PR-232@tmp/private_key_9201678769121223616.key) [2023-02-15T00:44:02.624Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:44:02.956Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T00:44:02.969Z] $ docker exec --env ******** --env ******** bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 ssh-agent -k [2023-02-15T00:44:03.067Z] unset SSH_AUTH_SOCK; [2023-02-15T00:44:03.067Z] unset SSH_AGENT_PID; [2023-02-15T00:44:03.068Z] echo Agent pid 39 killed; [2023-02-15T00:44:03.085Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T00:44:03.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:44:03.174Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:44:03.290Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:44:03.285Z] $ docker exec bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 ssh-agent [2023-02-15T00:44:03.405Z] SSH_AUTH_SOCK=/tmp/ssh-9qGwwUU92EBd/agent.71 [2023-02-15T00:44:03.405Z] SSH_AGENT_PID=77 [2023-02-15T00:44:03.410Z] Running ssh-add (command line suppressed) [2023-02-15T00:44:03.519Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-232@tmp/private_key_16355738230531168467.key (/w/workspace/undry_device-onvif-camera_PR-232@tmp/private_key_16355738230531168467.key) [2023-02-15T00:44:03.541Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:44:03.868Z] + git semver init [2023-02-15T00:44:04.127Z] 2023-02-15 00:44:04,074 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T00:44:04.127Z] 2023-02-15 00:44:04,075 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-232/.semver [2023-02-15T00:44:04.127Z] 2023-02-15 00:44:04,075 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-232/.semver [2023-02-15T00:44:04.127Z] 2023-02-15 00:44:04,076 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-232/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-232, universal_newlines=False, shell=None, istream=None) [2023-02-15T00:44:05.528Z] 2023-02-15 00:44:05,229 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-232/.git/info/exclude [2023-02-15T00:44:05.528Z] 2023-02-15 00:44:05,230 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-232/.semver/PR-232 with force:False [2023-02-15T00:44:05.528Z] 2023-02-15 00:44:05,230 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-232/.semver/PR-232 [2023-02-15T00:44:05.528Z] 2023-02-15 00:44:05,234 [execute] INFO git cat-file --batch-check [2023-02-15T00:44:05.528Z] 2023-02-15 00:44:05,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-232/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:44:05.528Z] 2023-02-15 00:44:05,242 [execute] INFO git cat-file --batch [2023-02-15T00:44:05.528Z] 2023-02-15 00:44:05,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-232/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:44:05.528Z] 2023-02-15 00:44:05,246 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-232/.semver/PR-232 [2023-02-15T00:44:05.528Z] 0.0.0 [Pipeline] } [2023-02-15T00:44:05.546Z] $ docker exec --env ******** --env ******** bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 ssh-agent -k [2023-02-15T00:44:05.642Z] unset SSH_AUTH_SOCK; [2023-02-15T00:44:05.642Z] unset SSH_AGENT_PID; [2023-02-15T00:44:05.643Z] echo Agent pid 77 killed; [2023-02-15T00:44:05.665Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T00:44:06.105Z] + git semver [Pipeline] } [2023-02-15T00:44:06.376Z] $ docker stop --time=1 bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 [2023-02-15T00:44:07.664Z] $ docker rm -f --volumes bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:44:08.062Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T00:44:08.334Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T00:44:08.352Z] [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-02-15T00:44:08.957Z] provisioning config files... [2023-02-15T00:44:08.967Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-232@tmp/config4413931921379887121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:44:09.322Z] ---> docker-login.sh [2023-02-15T00:44:09.322Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:44:09.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:44:09.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:44:09.323Z] Configure a credential helper to remove this warning. See [2023-02-15T00:44:09.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:44:09.323Z] [2023-02-15T00:44:09.323Z] Login Succeeded [2023-02-15T00:44:09.323Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:44:09.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:44:09.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:44:09.323Z] Configure a credential helper to remove this warning. See [2023-02-15T00:44:09.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:44:09.323Z] [2023-02-15T00:44:09.323Z] Login Succeeded [2023-02-15T00:44:09.323Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:44:09.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:44:09.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:44:09.583Z] Configure a credential helper to remove this warning. See [2023-02-15T00:44:09.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:44:09.583Z] [2023-02-15T00:44:09.583Z] Login Succeeded [2023-02-15T00:44:09.583Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:44:09.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:44:09.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:44:09.583Z] Configure a credential helper to remove this warning. See [2023-02-15T00:44:09.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:44:09.583Z] [2023-02-15T00:44:09.583Z] Login Succeeded [2023-02-15T00:44:09.583Z] docker.io [2023-02-15T00:44:09.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:44:09.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:44:09.843Z] Configure a credential helper to remove this warning. See [2023-02-15T00:44:09.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:44:09.843Z] [2023-02-15T00:44:09.843Z] Login Succeeded [2023-02-15T00:44:10.105Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:44:10.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:44:10.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:44:10.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:44:10.413Z] ========================================================= [2023-02-15T00:44:10.413Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T00:44:10.413Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:44:10.913Z] + 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-02-15T00:44:10.913Z] Sending build context to Docker daemon 27.7MB [2023-02-15T00:44:10.913Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:44:10.913Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-15T00:44:11.175Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T00:44:11.175Z] 213ec9aee27d: Pulling fs layer [2023-02-15T00:44:11.175Z] 4583459ba037: Pulling fs layer [2023-02-15T00:44:11.175Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T00:44:11.175Z] 53926ce57604: Pulling fs layer [2023-02-15T00:44:11.175Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T00:44:11.175Z] 22ff95d597cd: Pulling fs layer [2023-02-15T00:44:11.175Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T00:44:11.175Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T00:44:11.175Z] a7acece74701: Pulling fs layer [2023-02-15T00:44:11.175Z] 21b2b0c7a3f4: Waiting [2023-02-15T00:44:11.175Z] 22ff95d597cd: Waiting [2023-02-15T00:44:11.175Z] 12d6caf4c0d1: Waiting [2023-02-15T00:44:11.175Z] a7acece74701: Waiting [2023-02-15T00:44:11.175Z] 96b7cbca73a9: Waiting [2023-02-15T00:44:11.175Z] 53926ce57604: Waiting [2023-02-15T00:44:11.175Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T00:44:11.175Z] 93c1e223e6f2: Download complete [2023-02-15T00:44:11.175Z] 4583459ba037: Verifying Checksum [2023-02-15T00:44:11.175Z] 4583459ba037: Download complete [2023-02-15T00:44:11.175Z] 213ec9aee27d: Verifying Checksum [2023-02-15T00:44:11.175Z] 213ec9aee27d: Download complete [2023-02-15T00:44:11.175Z] 22ff95d597cd: Verifying Checksum [2023-02-15T00:44:11.175Z] 22ff95d597cd: Download complete [2023-02-15T00:44:11.626Z] 12d6caf4c0d1: Download complete [2023-02-15T00:44:11.626Z] 213ec9aee27d: Pull complete [2023-02-15T00:44:11.626Z] 4583459ba037: Pull complete [2023-02-15T00:44:11.626Z] 93c1e223e6f2: Pull complete [2023-02-15T00:44:12.284Z] 21b2b0c7a3f4: Download complete [2023-02-15T00:44:13.340Z] 53926ce57604: Verifying Checksum [2023-02-15T00:44:13.340Z] 53926ce57604: Download complete [2023-02-15T00:44:14.254Z] a7acece74701: Download complete [2023-02-15T00:44:14.254Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T00:44:14.254Z] 96b7cbca73a9: Download complete [2023-02-15T00:44:16.798Z] 53926ce57604: Pull complete [2023-02-15T00:44:17.056Z] 21b2b0c7a3f4: Pull complete [2023-02-15T00:44:17.056Z] 22ff95d597cd: Pull complete [2023-02-15T00:44:17.056Z] 12d6caf4c0d1: Pull complete [2023-02-15T00:44:18.955Z] 96b7cbca73a9: Pull complete [2023-02-15T00:44:19.887Z] a7acece74701: Pull complete [2023-02-15T00:44:19.887Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T00:44:19.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T00:44:20.146Z] ---> db6d94c90886 [2023-02-15T00:44:20.146Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:44:23.774Z] Still waiting to schedule task [2023-02-15T00:44:23.774Z] ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:44:23.774Z] ‘prd-ubuntu20.04-docker-8c-8g-5948’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:44:23.774Z] ‘prd-ubuntu20.04-docker-8c-8g-5959’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:44:23.774Z] ‘prd-ubuntu20.04-docker-8c-8g-5960’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:44:23.774Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5957’ is offline [2023-02-15T00:44:26.712Z] ---> Running in bc1074afe6af [2023-02-15T00:44:26.712Z] Removing intermediate container bc1074afe6af [2023-02-15T00:44:26.712Z] ---> b125ad70d12f [2023-02-15T00:44:26.712Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:44:26.712Z] ---> Running in 747d6832a03c [2023-02-15T00:44:27.281Z] Removing intermediate container 747d6832a03c [2023-02-15T00:44:27.281Z] ---> 591c5ab0272f [2023-02-15T00:44:27.281Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-15T00:44:27.540Z] ---> Running in 94aec7080447 [2023-02-15T00:44:27.800Z] Removing intermediate container 94aec7080447 [2023-02-15T00:44:27.800Z] ---> c97ae814f630 [2023-02-15T00:44:27.800Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:44:28.060Z] ---> Running in 726f8b593ca3 [2023-02-15T00:44:28.320Z] Removing intermediate container 726f8b593ca3 [2023-02-15T00:44:28.320Z] ---> b29fccec1395 [2023-02-15T00:44:28.320Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-15T00:44:28.891Z] ---> Running in e2fcc3c5ca78 [2023-02-15T00:44:29.154Z] Removing intermediate container e2fcc3c5ca78 [2023-02-15T00:44:29.154Z] ---> 90ec46412784 [2023-02-15T00:44:29.154Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:44:29.723Z] ---> Running in 91219f23c0c5 [2023-02-15T00:44:30.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:44:30.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:44:30.548Z] OK: 211 MiB in 51 packages [2023-02-15T00:44:31.928Z] Removing intermediate container 91219f23c0c5 [2023-02-15T00:44:31.928Z] ---> 1e85c804c811 [2023-02-15T00:44:31.928Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-15T00:44:32.186Z] ---> Running in aa3440010f2e [2023-02-15T00:44:32.445Z] Removing intermediate container aa3440010f2e [2023-02-15T00:44:32.445Z] ---> 95dc73be2056 [2023-02-15T00:44:32.445Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-15T00:44:33.381Z] ---> 68faa33d9165 [2023-02-15T00:44:33.381Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:44:33.641Z] ---> Running in f69fb91c8ef3 [2023-02-15T00:45:30.319Z] Removing intermediate container f69fb91c8ef3 [2023-02-15T00:45:30.319Z] ---> ccef7b6e1b1c [2023-02-15T00:45:30.319Z] Step 12/13 : COPY . . [2023-02-15T00:45:30.585Z] ---> 70436e6e242e [2023-02-15T00:45:30.585Z] Step 13/13 : RUN ${MAKE} [2023-02-15T00:45:30.585Z] ---> Running in 8591e65fe11d [2023-02-15T00:45:31.159Z] noop [2023-02-15T00:45:32.536Z] Removing intermediate container 8591e65fe11d [2023-02-15T00:45:32.536Z] ---> a77d23fe8783 [2023-02-15T00:45:32.536Z] Successfully built a77d23fe8783 [2023-02-15T00:45:32.536Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:32.968Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:45:32.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:45:33.108Z] prd-ubuntu20.04-docker-8c-8g-5956 does not seem to be running inside a container [2023-02-15T00:45:33.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@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-02-15T00:45:34.356Z] $ docker top a9fded64c26417d815d1a7735e3506ac638d2949e77c30d95fad8c9ea32e2953 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:45:34.751Z] + go version [2023-02-15T00:45:34.751Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T00:45:34.786Z] $ docker stop --time=1 a9fded64c26417d815d1a7735e3506ac638d2949e77c30d95fad8c9ea32e2953 [2023-02-15T00:45:36.162Z] $ docker rm -f --volumes a9fded64c26417d815d1a7735e3506ac638d2949e77c30d95fad8c9ea32e2953 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:36.869Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:45:36.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:45:37.034Z] prd-ubuntu20.04-docker-8c-8g-5956 does not seem to be running inside a container [2023-02-15T00:45:37.070Z] $ 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-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@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-02-15T00:45:37.793Z] $ docker top 9510bbf82502cffec573d3c92640679568a6f56cbfc26090426496a413791221 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:45:38.189Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-232 [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:45:38.551Z] + make test [2023-02-15T00:45:38.551Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T00:45:38.812Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-15T00:45:51.318Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-15T00:45:51.318Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/controller/http/common.go:97:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-15T00:45:51.318Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-02-15T00:45:51.318Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.493s coverage: 86.5% of statements [2023-02-15T00:45:51.318Z] make: *** [Makefile:53: unittest] Error 2 [Pipeline] } [2023-02-15T00:45:51.356Z] $ docker stop --time=1 9510bbf82502cffec573d3c92640679568a6f56cbfc26090426496a413791221 [2023-02-15T00:45:55.466Z] $ docker rm -f --volumes 9510bbf82502cffec573d3c92640679568a6f56cbfc26090426496a413791221 [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-02-15T00:45:56.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:45:56.731Z] [2023-02-15T00:45:56.731Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:57.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:45:57.678Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T00:45:57.678Z] 5eb5b503b376: Pulling fs layer [2023-02-15T00:45:57.678Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T00:45:57.678Z] ec43610c2a17: Pulling fs layer [2023-02-15T00:45:57.678Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T00:45:57.678Z] 33b1e0a273af: Pulling fs layer [2023-02-15T00:45:57.678Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T00:45:57.678Z] 2f39f015ded8: Pulling fs layer [2023-02-15T00:45:57.678Z] 3a2ae6a8a46f: Waiting [2023-02-15T00:45:57.678Z] 33b1e0a273af: Waiting [2023-02-15T00:45:57.678Z] 5d3b04190fa2: Waiting [2023-02-15T00:45:57.678Z] 2f39f015ded8: Waiting [2023-02-15T00:45:57.942Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T00:45:57.942Z] 5c69ac0246d0: Download complete [2023-02-15T00:45:57.942Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T00:45:57.942Z] 3a2ae6a8a46f: Download complete [2023-02-15T00:45:58.202Z] 33b1e0a273af: Verifying Checksum [2023-02-15T00:45:58.202Z] 33b1e0a273af: Download complete [2023-02-15T00:45:58.202Z] ec43610c2a17: Verifying Checksum [2023-02-15T00:45:58.202Z] ec43610c2a17: Download complete [2023-02-15T00:45:58.460Z] 5eb5b503b376: Verifying Checksum [2023-02-15T00:45:58.460Z] 5eb5b503b376: Download complete [2023-02-15T00:45:59.027Z] 2f39f015ded8: Download complete [2023-02-15T00:46:00.022Z] 5eb5b503b376: Pull complete [2023-02-15T00:46:00.590Z] 5c69ac0246d0: Pull complete [2023-02-15T00:46:01.158Z] ec43610c2a17: Pull complete [2023-02-15T00:46:01.418Z] 3a2ae6a8a46f: Pull complete [2023-02-15T00:46:01.678Z] 33b1e0a273af: Pull complete [2023-02-15T00:46:01.936Z] 5d3b04190fa2: Pull complete [2023-02-15T00:46:07.198Z] 2f39f015ded8: Pull complete [2023-02-15T00:46:07.198Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T00:46:07.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:46:07.198Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:46:07.431Z] prd-ubuntu20.04-docker-8c-8g-5956 does not seem to be running inside a container [2023-02-15T00:46:07.465Z] $ 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-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@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-02-15T00:46:13.132Z] $ docker top 822f2eacaf741f7efdacd69bd7c73c104897db453ea9b23bf6c60ac7c64e5de0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:46:13.639Z] ---> job-cost.sh [2023-02-15T00:46:13.639Z] lf-activate-venv: SKIPPING [2023-02-15T00:46:13.639Z] INFO: No Stack... [2023-02-15T00:46:13.896Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:46:14.155Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:46:14.520Z] + cat /w/workspace/undry_device-onvif-camera_PR-232/archives/cost.csv [2023-02-15T00:46:14.520Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T00:46:14.563Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] [2023-02-15T00:46:14.568Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] did not exist. Created. [2023-02-15T00:46:14.568Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:46:14.955Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T00:46:15.014Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:46:15.032Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:46:15.117Z] $ docker stop --time=1 822f2eacaf741f7efdacd69bd7c73c104897db453ea9b23bf6c60ac7c64e5de0 [2023-02-15T00:46:16.288Z] $ docker rm -f --volumes 822f2eacaf741f7efdacd69bd7c73c104897db453ea9b23bf6c60ac7c64e5de0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T00:46:16.641Z] Failed in branch amd64 [2023-02-15T00:50:49.048Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5979 in /w/workspace/undry_device-onvif-camera_PR-232 [Pipeline] { [Pipeline] ws [2023-02-15T00:50:49.108Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-15T00:50:49.188Z] The recommended git tool is: git [2023-02-15T00:50:56.562Z] using credential edgex-jenkins-ssh [2023-02-15T00:50:56.589Z] Cloning the remote Git repository [2023-02-15T00:50:56.656Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-15T00:50:56.762Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-02-15T00:50:56.965Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-15T00:50:56.966Z] > git --version # timeout=10 [2023-02-15T00:50:56.991Z] > git --version # 'git version 2.25.1' [2023-02-15T00:50:56.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:50:57.081Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:50:58.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-15T00:50:58.772Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:51:00.964Z] Merging remotes/origin/main commit ce7fe079461b7505b319433b3b229be05385591d into PR head commit edc0738a55fbc1b1250fe0b17dd7a21488aac359 [2023-02-15T00:51:00.198Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-15T00:51:00.255Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-15T00:51:00.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:51:00.283Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T00:51:01.575Z] Merge succeeded, producing edc0738a55fbc1b1250fe0b17dd7a21488aac359 [2023-02-15T00:51:01.575Z] Checking out Revision edc0738a55fbc1b1250fe0b17dd7a21488aac359 (PR-232) [2023-02-15T00:51:00.995Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T00:51:01.029Z] > git checkout -f edc0738a55fbc1b1250fe0b17dd7a21488aac359 # timeout=10 [2023-02-15T00:51:01.445Z] > git remote # timeout=10 [2023-02-15T00:51:01.472Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T00:51:01.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:51:01.514Z] > git merge ce7fe079461b7505b319433b3b229be05385591d # timeout=10 [2023-02-15T00:51:01.552Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T00:51:01.587Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T00:51:01.604Z] > git checkout -f edc0738a55fbc1b1250fe0b17dd7a21488aac359 # timeout=10 [2023-02-15T00:51:02.904Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-15T00:51:02.978Z] > git --version # timeout=10 [2023-02-15T00:51:02.996Z] > git --version # 'git version 2.25.1' [2023-02-15T00:51:03.015Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:51:04.291Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T00:51:04.292Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:51:04.292Z] Dload Upload Total Spent Left Speed [2023-02-15T00:51:04.292Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74567 [Pipeline] sh [2023-02-15T00:51:04.997Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T00:51:05.376Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T00:51:05.376Z] + sudo tee /etc/docker/daemon.new [2023-02-15T00:51:05.376Z] { [2023-02-15T00:51:05.376Z] "registry-mirrors": [ [2023-02-15T00:51:05.376Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T00:51:05.376Z] ], [2023-02-15T00:51:05.376Z] "bip": "10.250.0.254/24", [2023-02-15T00:51:05.376Z] "hosts": [ [2023-02-15T00:51:05.376Z] "tcp://0.0.0.0:5555", [2023-02-15T00:51:05.376Z] "unix:///var/run/docker.sock" [2023-02-15T00:51:05.376Z] ], [2023-02-15T00:51:05.376Z] "mtu": 1458, [2023-02-15T00:51:05.376Z] "selinux-enabled": true, [2023-02-15T00:51:05.376Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T00:51:05.376Z] } [Pipeline] sh [2023-02-15T00:51:05.745Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T00:51:06.118Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:51:24.563Z] provisioning config files... [2023-02-15T00:51:24.600Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1056987762076948690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:51:25.032Z] ---> docker-login.sh [2023-02-15T00:51:25.033Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:51:25.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:51:25.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:51:25.912Z] Configure a credential helper to remove this warning. See [2023-02-15T00:51:25.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:51:25.912Z] [2023-02-15T00:51:25.912Z] Login Succeeded [2023-02-15T00:51:25.912Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:51:26.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:51:26.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:51:26.188Z] Configure a credential helper to remove this warning. See [2023-02-15T00:51:26.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:51:26.188Z] [2023-02-15T00:51:26.188Z] Login Succeeded [2023-02-15T00:51:26.188Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:51:26.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:51:26.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:51:26.799Z] Configure a credential helper to remove this warning. See [2023-02-15T00:51:26.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:51:26.799Z] [2023-02-15T00:51:26.799Z] Login Succeeded [2023-02-15T00:51:26.799Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:51:27.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:51:27.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:51:27.350Z] Configure a credential helper to remove this warning. See [2023-02-15T00:51:27.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:51:27.350Z] [2023-02-15T00:51:27.350Z] Login Succeeded [2023-02-15T00:51:27.350Z] docker.io [2023-02-15T00:51:27.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:51:27.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:51:27.896Z] Configure a credential helper to remove this warning. See [2023-02-15T00:51:27.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:51:27.896Z] [2023-02-15T00:51:27.896Z] Login Succeeded [2023-02-15T00:51:27.896Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:51:27.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:51:28.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:51:28.458Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:51:28.490Z] ========================================================= [2023-02-15T00:51:28.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T00:51:28.490Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:51:29.011Z] + 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-02-15T00:51:29.615Z] Sending build context to Docker daemon 20.53MB [2023-02-15T00:51:29.615Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:51:29.615Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-15T00:51:29.896Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T00:51:29.896Z] 9b18e9b68314: Pulling fs layer [2023-02-15T00:51:29.896Z] 35d82f9e3411: Pulling fs layer [2023-02-15T00:51:29.896Z] e16973657156: Pulling fs layer [2023-02-15T00:51:29.896Z] fc693d55d65f: Pulling fs layer [2023-02-15T00:51:29.896Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T00:51:29.896Z] dda99020689f: Pulling fs layer [2023-02-15T00:51:29.896Z] db1c61fa0a46: Pulling fs layer [2023-02-15T00:51:29.896Z] 891c053d2c06: Pulling fs layer [2023-02-15T00:51:29.896Z] fc693d55d65f: Waiting [2023-02-15T00:51:29.896Z] 7e9fc2657dce: Waiting [2023-02-15T00:51:29.896Z] dda99020689f: Waiting [2023-02-15T00:51:29.896Z] db1c61fa0a46: Waiting [2023-02-15T00:51:29.896Z] 891c053d2c06: Waiting [2023-02-15T00:51:29.896Z] e16973657156: Verifying Checksum [2023-02-15T00:51:29.896Z] e16973657156: Download complete [2023-02-15T00:51:29.896Z] 35d82f9e3411: Verifying Checksum [2023-02-15T00:51:29.896Z] 35d82f9e3411: Download complete [2023-02-15T00:51:29.896Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T00:51:29.896Z] 7e9fc2657dce: Download complete [2023-02-15T00:51:30.173Z] dda99020689f: Verifying Checksum [2023-02-15T00:51:30.174Z] dda99020689f: Download complete [2023-02-15T00:51:30.174Z] 9b18e9b68314: Verifying Checksum [2023-02-15T00:51:30.174Z] 9b18e9b68314: Download complete [2023-02-15T00:51:31.166Z] 9b18e9b68314: Pull complete [2023-02-15T00:51:31.771Z] 891c053d2c06: Verifying Checksum [2023-02-15T00:51:31.771Z] 891c053d2c06: Download complete [2023-02-15T00:51:31.771Z] 35d82f9e3411: Pull complete [2023-02-15T00:51:32.371Z] e16973657156: Pull complete [2023-02-15T00:51:32.968Z] db1c61fa0a46: Verifying Checksum [2023-02-15T00:51:32.968Z] db1c61fa0a46: Download complete [2023-02-15T00:51:33.563Z] fc693d55d65f: Verifying Checksum [2023-02-15T00:51:33.563Z] fc693d55d65f: Download complete [2023-02-15T00:51:45.926Z] fc693d55d65f: Pull complete [2023-02-15T00:51:45.926Z] 7e9fc2657dce: Pull complete [2023-02-15T00:51:45.926Z] dda99020689f: Pull complete [2023-02-15T00:51:51.403Z] db1c61fa0a46: Pull complete [2023-02-15T00:51:54.048Z] 891c053d2c06: Pull complete [2023-02-15T00:51:54.048Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T00:51:54.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T00:51:54.048Z] ---> f96f9c87975a [2023-02-15T00:51:54.048Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:51:56.024Z] ---> Running in 3cdd828dc308 [2023-02-15T00:51:56.621Z] Removing intermediate container 3cdd828dc308 [2023-02-15T00:51:56.621Z] ---> d1811566ef66 [2023-02-15T00:51:56.621Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:51:56.621Z] ---> Running in 4684043467a1 [2023-02-15T00:51:56.903Z] Removing intermediate container 4684043467a1 [2023-02-15T00:51:56.903Z] ---> 8cfe1406107d [2023-02-15T00:51:56.903Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-15T00:51:57.177Z] ---> Running in f2f86854c529 [2023-02-15T00:51:57.450Z] Removing intermediate container f2f86854c529 [2023-02-15T00:51:57.450Z] ---> 782a8f4bc1b4 [2023-02-15T00:51:57.450Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:51:57.725Z] ---> Running in 25ff2e25a57e [2023-02-15T00:51:58.002Z] Removing intermediate container 25ff2e25a57e [2023-02-15T00:51:58.002Z] ---> 38be11e508f9 [2023-02-15T00:51:58.002Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-15T00:51:58.002Z] ---> Running in 787feeb5212a [2023-02-15T00:51:58.596Z] Removing intermediate container 787feeb5212a [2023-02-15T00:51:58.596Z] ---> fcabca67959b [2023-02-15T00:51:58.596Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:51:58.596Z] ---> Running in 02beedad509d [2023-02-15T00:52:00.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:52:00.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:52:01.723Z] OK: 221 MiB in 51 packages [2023-02-15T00:52:02.695Z] Removing intermediate container 02beedad509d [2023-02-15T00:52:02.695Z] ---> d65e0e8adcd7 [2023-02-15T00:52:02.695Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-15T00:52:02.968Z] ---> Running in c42ebc5a5665 [2023-02-15T00:52:03.241Z] Removing intermediate container c42ebc5a5665 [2023-02-15T00:52:03.241Z] ---> 66e512d9114b [2023-02-15T00:52:03.241Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-15T00:52:03.832Z] ---> cdf1b0bd4084 [2023-02-15T00:52:03.832Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:52:04.104Z] ---> Running in 368a3892b85f [2023-02-15T00:53:25.826Z] Removing intermediate container 368a3892b85f [2023-02-15T00:53:25.826Z] ---> 3f2c98a655cc [2023-02-15T00:53:25.826Z] Step 12/13 : COPY . . [2023-02-15T00:53:25.826Z] ---> fce32efd4229 [2023-02-15T00:53:25.826Z] Step 13/13 : RUN ${MAKE} [2023-02-15T00:53:25.826Z] ---> Running in 790dfcf624c8 [2023-02-15T00:53:25.826Z] noop [2023-02-15T00:53:25.826Z] Removing intermediate container 790dfcf624c8 [2023-02-15T00:53:25.826Z] ---> e997e5e97c8d [2023-02-15T00:53:25.826Z] Successfully built e997e5e97c8d [2023-02-15T00:53:25.826Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:53:26.357Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:53:26.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:53:26.656Z] prd-ubuntu20.04-docker-arm64-4c-16g-5979 does not seem to be running inside a container [2023-02-15T00:53:26.739Z] $ 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-02-15T00:53:30.679Z] $ docker top 9041b606597c52027717024bcf6b3ef316ada7a2de3ef1b9bcdfbe835a548693 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:53:31.646Z] + go version [2023-02-15T00:53:31.646Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T00:53:31.685Z] $ docker stop --time=1 9041b606597c52027717024bcf6b3ef316ada7a2de3ef1b9bcdfbe835a548693 [2023-02-15T00:53:33.432Z] $ docker rm -f --volumes 9041b606597c52027717024bcf6b3ef316ada7a2de3ef1b9bcdfbe835a548693 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:53:34.326Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:53:34.326Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:53:34.621Z] prd-ubuntu20.04-docker-arm64-4c-16g-5979 does not seem to be running inside a container [2023-02-15T00:53:34.709Z] $ 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-02-15T00:53:36.147Z] $ docker top 0a79edf48dd72030c546ecea53b564a5e29589eccc2c07fb0a13ec3af21920a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:53:37.082Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:53:37.808Z] + make test [2023-02-15T00:53:37.808Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T00:53:39.775Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-15T00:55:32.242Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-15T00:55:32.242Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/controller/http/common.go:97:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-15T00:55:34.871Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-02-15T00:56:01.659Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.460s coverage: 86.5% of statements [2023-02-15T00:56:01.659Z] make: *** [Makefile:53: unittest] Error 2 [Pipeline] } [2023-02-15T00:56:01.703Z] $ docker stop --time=1 0a79edf48dd72030c546ecea53b564a5e29589eccc2c07fb0a13ec3af21920a7 [2023-02-15T00:56:03.511Z] $ docker rm -f --volumes 0a79edf48dd72030c546ecea53b564a5e29589eccc2c07fb0a13ec3af21920a7 [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-02-15T00:56:05.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:56:05.076Z] [2023-02-15T00:56:05.076Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:56:05.496Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:56:05.770Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T00:56:05.770Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T00:56:05.770Z] 04944245beec: Pulling fs layer [2023-02-15T00:56:05.770Z] 699f458cf7ca: Pulling fs layer [2023-02-15T00:56:05.770Z] 765212b225bb: Pulling fs layer [2023-02-15T00:56:05.770Z] f23df028b6ca: Pulling fs layer [2023-02-15T00:56:05.770Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T00:56:05.770Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T00:56:05.770Z] d65c8cfc05b1: Waiting [2023-02-15T00:56:05.770Z] f23df028b6ca: Waiting [2023-02-15T00:56:05.770Z] 765212b225bb: Waiting [2023-02-15T00:56:05.770Z] 2437ff75d9bd: Waiting [2023-02-15T00:56:05.770Z] 04944245beec: Verifying Checksum [2023-02-15T00:56:05.770Z] 04944245beec: Download complete [2023-02-15T00:56:05.770Z] 765212b225bb: Verifying Checksum [2023-02-15T00:56:05.770Z] 765212b225bb: Download complete [2023-02-15T00:56:05.770Z] f23df028b6ca: Verifying Checksum [2023-02-15T00:56:05.770Z] f23df028b6ca: Download complete [2023-02-15T00:56:06.043Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T00:56:06.043Z] d65c8cfc05b1: Download complete [2023-02-15T00:56:06.043Z] 699f458cf7ca: Verifying Checksum [2023-02-15T00:56:06.043Z] 699f458cf7ca: Download complete [2023-02-15T00:56:06.636Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T00:56:06.636Z] 8998bd30e6a1: Download complete [2023-02-15T00:56:08.591Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T00:56:08.591Z] 2437ff75d9bd: Download complete [2023-02-15T00:56:10.539Z] 8998bd30e6a1: Pull complete [2023-02-15T00:56:10.807Z] 04944245beec: Pull complete [2023-02-15T00:56:12.213Z] 699f458cf7ca: Pull complete [2023-02-15T00:56:12.213Z] 765212b225bb: Pull complete [2023-02-15T00:56:13.174Z] f23df028b6ca: Pull complete [2023-02-15T00:56:13.174Z] d65c8cfc05b1: Pull complete [2023-02-15T00:56:28.169Z] 2437ff75d9bd: Pull complete [2023-02-15T00:56:28.169Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T00:56:28.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:56:28.169Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:56:28.507Z] prd-ubuntu20.04-docker-arm64-4c-16g-5979 does not seem to be running inside a container [2023-02-15T00:56:28.578Z] $ 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-02-15T00:56:31.445Z] $ docker top e148832e2656893c8e67bbab2702b3be8e3491972a8ec41bfd6a4e94c5d47aba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:32.371Z] ---> job-cost.sh [2023-02-15T00:56:32.371Z] lf-activate-venv: SKIPPING [2023-02-15T00:56:32.371Z] INFO: No Stack... [2023-02-15T00:56:32.638Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T00:56:33.602Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:56:34.269Z] + cut+ -d, -f6 [2023-02-15T00:56:34.269Z] cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-02-15T00:56:34.358Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] [2023-02-15T00:56:34.363Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] did not exist. Created. [2023-02-15T00:56:34.363Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:56:35.088Z] /w/workspace/device-onvif-camera/1@tmp/durable-2f616ee8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T00:56:35.765Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T00:56:35.801Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T00:56:36.270Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:56:36.285Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:56:36.367Z] $ docker stop --time=1 e148832e2656893c8e67bbab2702b3be8e3491972a8ec41bfd6a4e94c5d47aba [2023-02-15T00:56:37.889Z] $ docker rm -f --volumes e148832e2656893c8e67bbab2702b3be8e3491972a8ec41bfd6a4e94c5d47aba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T00:56:38.629Z] 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-02-15T00:56:40.551Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-232/archives ] [2023-02-15T00:56:40.551Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-232/archives [2023-02-15T00:56:40.551Z] total 16 [2023-02-15T00:56:40.551Z] drwxr-xr-x 3 root root 4096 Feb 15 00:46 . [2023-02-15T00:56:40.551Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 00:46 .. [2023-02-15T00:56:40.551Z] drwxr-xr-x 2 root root 4096 Feb 15 00:46 cost [2023-02-15T00:56:40.551Z] -rw-r--r-- 1 root root 91 Feb 15 00:46 cost.csv [2023-02-15T00:56:40.551Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-232/archives [2023-02-15T00:56:40.551Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-232/archives [2023-02-15T00:56:40.551Z] total 16 [2023-02-15T00:56:40.551Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:46 . [2023-02-15T00:56:40.551Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 00:46 .. [2023-02-15T00:56:40.551Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 00:46 cost [2023-02-15T00:56:40.552Z] -rw-r--r-- 1 jenkins jenkins 91 Feb 15 00:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:40.887Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:41.774Z] ---> package-listing.sh [2023-02-15T00:56:41.774Z] ++ facter osfamily [2023-02-15T00:56:41.774Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T00:56:42.033Z] + OS_FAMILY=debian [2023-02-15T00:56:42.033Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-232 [2023-02-15T00:56:42.033Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T00:56:42.033Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T00:56:42.033Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T00:56:42.033Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T00:56:42.033Z] + '[' /w/workspace/undry_device-onvif-camera_PR-232 ']' [2023-02-15T00:56:42.033Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T00:56:42.033Z] + case "${OS_FAMILY}" in [2023-02-15T00:56:42.033Z] + dpkg -l [2023-02-15T00:56:42.033Z] + grep '^ii' [2023-02-15T00:56:42.033Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T00:56:42.033Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T00:56:42.033Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T00:56:42.033Z] + '[' /w/workspace/undry_device-onvif-camera_PR-232 ']' [2023-02-15T00:56:42.033Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-232/archives/ [2023-02-15T00:56:42.033Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-232/archives/ [Pipeline] echo [2023-02-15T00:56:42.065Z] 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-232/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T00:56:42.357Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:56:42.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:56:42.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:56:43.153Z] prd-ubuntu20.04-docker-8c-8g-5956 does not seem to be running inside a container [2023-02-15T00:56:43.195Z] $ 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-232/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-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@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-02-15T00:56:43.410Z] $ docker top e3aad03c08542b85892f94756b70521f00a2a8b31292342aa6c78e991abeaeae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:56:43.791Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T00:56:44.096Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T00:56:44.402Z] + ls /var/log/sa-host [2023-02-15T00:56:44.402Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:56:44.522Z] provisioning config files... [2023-02-15T00:56:44.530Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-232@tmp/config12036349343661655010tmp [Pipeline] { [Pipeline] echo [2023-02-15T00:56:44.580Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:44.896Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T00:56:44.919Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:45.318Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T00:56:45.349Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:45.656Z] ---> sudo-logs.sh [2023-02-15T00:56:45.656Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T00:56:45.748Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:46.071Z] ---> job-cost.sh [2023-02-15T00:56:46.072Z] lf-activate-venv: SKIPPING [2023-02-15T00:56:46.072Z] DEBUG: total: 0.2199999988079071 [2023-02-15T00:56:46.072Z] INFO: Retrieving Stack Cost... [2023-02-15T00:56:46.639Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:56:46.897Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T00:56:46.933Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:47.242Z] ---> logs-deploy.sh [2023-02-15T00:56:47.242Z] lf-activate-venv: SKIPPING [2023-02-15T00:56:47.242Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-232/1 [2023-02-15T00:56:47.242Z] INFO: archiving workspace using pattern(s): [2023-02-15T00:56:48.179Z] Archives upload complete. [2023-02-15T00:56:48.179Z] INFO: archiving logs to Nexus