Pull request #200 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e100ac3af26a9fe30f166cd4c69fecf1cc6bf406+4eac92da5dfc23f9865ece6d9684c74467a8de72 (f3c60bf95ce303358f43be86fedaed8f34dd3baf) 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-ssh3297034684768238688.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-ssh17379087402096808592.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-200/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-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10481731916911425870.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-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9294525687177035976.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-ssh2331369212950916627.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-200/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-200/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13440087448551261040.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-133 in /w/workspace/undry_device-onvif-camera_PR-200 [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-200 # 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 Merging remotes/origin/main commit 4eac92da5dfc23f9865ece6d9684c74467a8de72 into PR head commit e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 Merge succeeded, producing e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 Checking out Revision e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 (PR-200) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 # 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 4eac92da5dfc23f9865ece6d9684c74467a8de72 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-19T03:09:06.740Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-19T03:09:06.940Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-19T03:09:07.037Z] ========================================================= [2022-12-19T03:09:07.037Z] EdgeX Global Pipelines Version Info [2022-12-19T03:09:07.037Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:09:07.811Z] ------------------- [2022-12-19T03:09:07.811Z] stable info: [2022-12-19T03:09:07.811Z] ------------------- [2022-12-19T03:09:07.812Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-19T03:09:07.812Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-19T03:09:07.812Z] Message: update stable to v1.0.244 [2022-12-19T03:09:08.382Z] ------------------- [2022-12-19T03:09:08.382Z] experimental info: [2022-12-19T03:09:08.382Z] ------------------- [2022-12-19T03:09:08.382Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-19T03:09:08.382Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-19T03:09:08.382Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-19T03:09:08.707Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-12-19T03:09:08.751Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-12-19T03:09:08.794Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-19T03:09:08.836Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-19T03:09:08.881Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-19T03:09:08.924Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-19T03:09:08.966Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-19T03:09:09.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-19T03:09:09.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-19T03:09:09.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-19T03:09:09.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-19T03:09:09.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-12-19T03:09:09.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-19T03:09:09.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-19T03:09:09.334Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-19T03:09:09.380Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-19T03:09:09.424Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-19T03:09:09.471Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-19T03:09:09.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-19T03:09:09.586Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-19T03:09:09.634Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-12-19T03:09:09.689Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-12-19T03:09:09.733Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-19T03:09:09.781Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-19T03:09:09.827Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-19T03:09:09.871Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-19T03:09:09.912Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-19T03:09:09.962Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-200 [Pipeline] echo [2022-12-19T03:09:10.082Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-200 [Pipeline] echo [2022-12-19T03:09:10.129Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-200 [Pipeline] echo [2022-12-19T03:09:10.176Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 [Pipeline] echo [2022-12-19T03:09:10.218Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e100ac3 [Pipeline] echo [2022-12-19T03:09:10.263Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T03:09:10.381Z] provisioning config files... [2022-12-19T03:09:10.401Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-200@tmp/config14138526658333174510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:09:10.740Z] ---> docker-login.sh [2022-12-19T03:09:10.740Z] nexus3.edgexfoundry.org:10001 [2022-12-19T03:09:11.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:09:11.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:09:11.001Z] Configure a credential helper to remove this warning. See [2022-12-19T03:09:11.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:09:11.001Z] [2022-12-19T03:09:11.001Z] Login Succeeded [2022-12-19T03:09:11.001Z] nexus3.edgexfoundry.org:10002 [2022-12-19T03:09:11.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:09:11.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:09:11.260Z] Configure a credential helper to remove this warning. See [2022-12-19T03:09:11.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:09:11.260Z] [2022-12-19T03:09:11.260Z] Login Succeeded [2022-12-19T03:09:11.260Z] nexus3.edgexfoundry.org:10003 [2022-12-19T03:09:11.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:09:11.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:09:11.260Z] Configure a credential helper to remove this warning. See [2022-12-19T03:09:11.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:09:11.260Z] [2022-12-19T03:09:11.260Z] Login Succeeded [2022-12-19T03:09:11.260Z] nexus3.edgexfoundry.org:10004 [2022-12-19T03:09:11.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:09:11.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:09:11.520Z] Configure a credential helper to remove this warning. See [2022-12-19T03:09:11.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:09:11.520Z] [2022-12-19T03:09:11.520Z] Login Succeeded [2022-12-19T03:09:11.520Z] docker.io [2022-12-19T03:09:11.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:09:11.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:09:11.781Z] Configure a credential helper to remove this warning. See [2022-12-19T03:09:11.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:09:11.781Z] [2022-12-19T03:09:11.781Z] Login Succeeded [2022-12-19T03:09:11.781Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T03:09:11.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-19T03:09:12.462Z] + git rev-list -1 --merges e100ac3af26a9fe30f166cd4c69fecf1cc6bf406~1..e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 [Pipeline] echo [2022-12-19T03:09:12.530Z] -----------> git rev-list -1 --merges e100ac3af26a9fe30f166cd4c69fecf1cc6bf406~1..e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 [false] [Pipeline] sh [2022-12-19T03:09:12.841Z] + git log --format=format:%s -1 e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 [Pipeline] echo [2022-12-19T03:09:12.875Z] ========================================================= [2022-12-19T03:09:12.875Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-19T03:09:12.875Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T03:09:13.350Z] + git log --format=format:%s -1 e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 [Pipeline] echo [2022-12-19T03:09:13.382Z] [semverPrep] GIT_COMMIT: e100ac3af26a9fe30f166cd4c69fecf1cc6bf406, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2022-12-19T03:09:13.406Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-19T03:09:13.806Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-19T03:09:13.806Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-19T03:09:13.806Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-19T03:09:13.806Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-19T03:09:13.806Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-19T03:09:13.806Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-19T03:09:13.806Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:09:14.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T03:09:14.306Z] [2022-12-19T03:09:14.306Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:09:14.685Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T03:09:14.686Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-19T03:09:14.686Z] b85a868b505f: Pulling fs layer [2022-12-19T03:09:14.686Z] e2be974225ed: Pulling fs layer [2022-12-19T03:09:14.686Z] 339a4e72a1f5: Pulling fs layer [2022-12-19T03:09:14.686Z] 988bab9f4d93: Pulling fs layer [2022-12-19T03:09:14.686Z] 1469e6f7b9e6: Pulling fs layer [2022-12-19T03:09:14.686Z] eaf3925da568: Pulling fs layer [2022-12-19T03:09:14.686Z] bab4dde63d76: Pulling fs layer [2022-12-19T03:09:14.686Z] bde34c3a00c8: Pulling fs layer [2022-12-19T03:09:14.686Z] b352a97aabf1: Pulling fs layer [2022-12-19T03:09:14.686Z] 4872d77fe225: Pulling fs layer [2022-12-19T03:09:14.686Z] 5851b861e8e6: Pulling fs layer [2022-12-19T03:09:14.686Z] bde34c3a00c8: Waiting [2022-12-19T03:09:14.686Z] b352a97aabf1: Waiting [2022-12-19T03:09:14.686Z] 988bab9f4d93: Waiting [2022-12-19T03:09:14.686Z] 4872d77fe225: Waiting [2022-12-19T03:09:14.686Z] 1469e6f7b9e6: Waiting [2022-12-19T03:09:14.686Z] 5851b861e8e6: Waiting [2022-12-19T03:09:14.686Z] eaf3925da568: Waiting [2022-12-19T03:09:14.686Z] bab4dde63d76: Waiting [2022-12-19T03:09:14.686Z] e2be974225ed: Verifying Checksum [2022-12-19T03:09:14.686Z] e2be974225ed: Download complete [2022-12-19T03:09:14.686Z] 988bab9f4d93: Download complete [2022-12-19T03:09:14.953Z] 1469e6f7b9e6: Verifying Checksum [2022-12-19T03:09:14.953Z] 1469e6f7b9e6: Download complete [2022-12-19T03:09:14.953Z] 339a4e72a1f5: Verifying Checksum [2022-12-19T03:09:14.953Z] 339a4e72a1f5: Download complete [2022-12-19T03:09:14.953Z] eaf3925da568: Verifying Checksum [2022-12-19T03:09:14.953Z] eaf3925da568: Download complete [2022-12-19T03:09:14.953Z] bde34c3a00c8: Download complete [2022-12-19T03:09:14.953Z] b352a97aabf1: Verifying Checksum [2022-12-19T03:09:14.953Z] b352a97aabf1: Download complete [2022-12-19T03:09:14.953Z] 4872d77fe225: Verifying Checksum [2022-12-19T03:09:14.953Z] 4872d77fe225: Download complete [2022-12-19T03:09:14.953Z] 5851b861e8e6: Verifying Checksum [2022-12-19T03:09:14.953Z] 5851b861e8e6: Download complete [2022-12-19T03:09:14.953Z] b85a868b505f: Verifying Checksum [2022-12-19T03:09:14.953Z] b85a868b505f: Download complete [2022-12-19T03:09:15.519Z] bab4dde63d76: Verifying Checksum [2022-12-19T03:09:15.519Z] bab4dde63d76: Download complete [2022-12-19T03:09:16.453Z] b85a868b505f: Pull complete [2022-12-19T03:09:16.453Z] e2be974225ed: Pull complete [2022-12-19T03:09:17.025Z] 339a4e72a1f5: Pull complete [2022-12-19T03:09:17.025Z] 988bab9f4d93: Pull complete [2022-12-19T03:09:17.284Z] 1469e6f7b9e6: Pull complete [2022-12-19T03:09:17.284Z] eaf3925da568: Pull complete [2022-12-19T03:09:19.185Z] bab4dde63d76: Pull complete [2022-12-19T03:09:19.185Z] bde34c3a00c8: Pull complete [2022-12-19T03:09:19.185Z] b352a97aabf1: Pull complete [2022-12-19T03:09:19.444Z] 4872d77fe225: Pull complete [2022-12-19T03:09:19.444Z] 5851b861e8e6: Pull complete [2022-12-19T03:09:19.444Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-19T03:09:19.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T03:09:19.444Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:09:19.665Z] prd-ubuntu20.04-docker-8c-8g-133 does not seem to be running inside a container [2022-12-19T03:09:19.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-200 -v /w/workspace/undry_device-onvif-camera_PR-200:/w/workspace/undry_device-onvif-camera_PR-200:rw,z -v /w/workspace/undry_device-onvif-camera_PR-200@tmp:/w/workspace/undry_device-onvif-camera_PR-200@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-19T03:09:21.352Z] $ docker top 93756809e2fa7b9a116798d6af05ee139a5d14618f50056e5100f9c7d19bac0c -eo pid,comm [2022-12-19T03:09:21.408Z] 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). [2022-12-19T03:09:21.408Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-19T03:09:21.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T03:09:21.520Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T03:09:21.636Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T03:09:21.640Z] $ docker exec 93756809e2fa7b9a116798d6af05ee139a5d14618f50056e5100f9c7d19bac0c ssh-agent [2022-12-19T03:09:21.744Z] SSH_AUTH_SOCK=/tmp/ssh-iI4g1K7MvaZ4/agent.31 [2022-12-19T03:09:21.744Z] SSH_AGENT_PID=37 [2022-12-19T03:09:21.751Z] Running ssh-add (command line suppressed) [2022-12-19T03:09:21.861Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-200@tmp/private_key_249115594000132249.key (/w/workspace/undry_device-onvif-camera_PR-200@tmp/private_key_249115594000132249.key) [2022-12-19T03:09:21.876Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T03:09:22.203Z] + git tag --points-at HEAD [Pipeline] } [2022-12-19T03:09:22.228Z] $ docker exec --env ******** --env ******** 93756809e2fa7b9a116798d6af05ee139a5d14618f50056e5100f9c7d19bac0c ssh-agent -k [2022-12-19T03:09:22.329Z] unset SSH_AUTH_SOCK; [2022-12-19T03:09:22.329Z] unset SSH_AGENT_PID; [2022-12-19T03:09:22.329Z] echo Agent pid 37 killed; [2022-12-19T03:09:22.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-19T03:09:22.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T03:09:22.423Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T03:09:22.534Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T03:09:22.538Z] $ docker exec 93756809e2fa7b9a116798d6af05ee139a5d14618f50056e5100f9c7d19bac0c ssh-agent [2022-12-19T03:09:22.654Z] SSH_AUTH_SOCK=/tmp/ssh-wab8rnt2jSQg/agent.69 [2022-12-19T03:09:22.654Z] SSH_AGENT_PID=75 [2022-12-19T03:09:22.658Z] Running ssh-add (command line suppressed) [2022-12-19T03:09:22.755Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-200@tmp/private_key_5112438055062063715.key (/w/workspace/undry_device-onvif-camera_PR-200@tmp/private_key_5112438055062063715.key) [2022-12-19T03:09:22.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T03:09:23.100Z] + git semver init [2022-12-19T03:09:23.360Z] 2022-12-19 03:09:23,303 [run_init] DEBUG init version:0.0.0 force:False [2022-12-19T03:09:23.360Z] 2022-12-19 03:09:23,304 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-200/.semver [2022-12-19T03:09:23.360Z] 2022-12-19 03:09:23,304 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-200/.semver [2022-12-19T03:09:23.360Z] 2022-12-19 03:09:23,304 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-200/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-200, universal_newlines=False, shell=None, istream=None) [2022-12-19T03:09:24.740Z] 2022-12-19 03:09:24,322 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-200/.git/info/exclude [2022-12-19T03:09:24.740Z] 2022-12-19 03:09:24,323 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-200/.semver/PR-200 with force:False [2022-12-19T03:09:24.740Z] 2022-12-19 03:09:24,323 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-200/.semver/PR-200 [2022-12-19T03:09:24.740Z] 2022-12-19 03:09:24,327 [execute] INFO git cat-file --batch-check [2022-12-19T03:09:24.740Z] 2022-12-19 03:09:24,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-200/.semver, universal_newlines=False, shell=None, istream=) [2022-12-19T03:09:24.740Z] 2022-12-19 03:09:24,334 [execute] INFO git cat-file --batch [2022-12-19T03:09:24.740Z] 2022-12-19 03:09:24,334 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-200/.semver, universal_newlines=False, shell=None, istream=) [2022-12-19T03:09:24.740Z] 2022-12-19 03:09:24,340 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-200/.semver/PR-200 [2022-12-19T03:09:24.740Z] 0.0.0 [Pipeline] } [2022-12-19T03:09:24.768Z] $ docker exec --env ******** --env ******** 93756809e2fa7b9a116798d6af05ee139a5d14618f50056e5100f9c7d19bac0c ssh-agent -k [2022-12-19T03:09:24.861Z] unset SSH_AUTH_SOCK; [2022-12-19T03:09:24.862Z] unset SSH_AGENT_PID; [2022-12-19T03:09:24.862Z] echo Agent pid 75 killed; [2022-12-19T03:09:24.875Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-19T03:09:25.325Z] + git semver [Pipeline] } [2022-12-19T03:09:25.613Z] $ docker stop --time=1 93756809e2fa7b9a116798d6af05ee139a5d14618f50056e5100f9c7d19bac0c [2022-12-19T03:09:26.942Z] $ docker rm -f --volumes 93756809e2fa7b9a116798d6af05ee139a5d14618f50056e5100f9c7d19bac0c [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T03:09:27.354Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-19T03:09:27.643Z] Stashed 1 file(s) [Pipeline] echo [2022-12-19T03:09:27.663Z] [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 [2022-12-19T03:09:28.286Z] provisioning config files... [2022-12-19T03:09:28.298Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-200@tmp/config7200297863899007926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:09:28.643Z] ---> docker-login.sh [2022-12-19T03:09:28.643Z] nexus3.edgexfoundry.org:10001 [2022-12-19T03:09:28.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:09:28.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:09:28.643Z] Configure a credential helper to remove this warning. See [2022-12-19T03:09:28.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:09:28.643Z] [2022-12-19T03:09:28.643Z] Login Succeeded [2022-12-19T03:09:28.643Z] nexus3.edgexfoundry.org:10002 [2022-12-19T03:09:28.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:09:28.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:09:28.643Z] Configure a credential helper to remove this warning. See [2022-12-19T03:09:28.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:09:28.643Z] [2022-12-19T03:09:28.643Z] Login Succeeded [2022-12-19T03:09:28.643Z] nexus3.edgexfoundry.org:10003 [2022-12-19T03:09:28.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:09:28.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:09:28.904Z] Configure a credential helper to remove this warning. See [2022-12-19T03:09:28.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:09:28.904Z] [2022-12-19T03:09:28.904Z] Login Succeeded [2022-12-19T03:09:28.904Z] nexus3.edgexfoundry.org:10004 [2022-12-19T03:09:28.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:09:28.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:09:28.904Z] Configure a credential helper to remove this warning. See [2022-12-19T03:09:28.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:09:28.904Z] [2022-12-19T03:09:28.904Z] Login Succeeded [2022-12-19T03:09:28.904Z] docker.io [2022-12-19T03:09:29.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:09:29.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:09:29.165Z] Configure a credential helper to remove this warning. See [2022-12-19T03:09:29.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:09:29.165Z] [2022-12-19T03:09:29.165Z] Login Succeeded [2022-12-19T03:09:29.165Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T03:09:29.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-19T03:09:29.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T03:09:29.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T03:09:29.493Z] ========================================================= [2022-12-19T03:09:29.493Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-19T03:09:29.493Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:09:29.997Z] + 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 . [2022-12-19T03:09:29.998Z] Sending build context to Docker daemon 27.66MB [2022-12-19T03:09:29.998Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T03:09:29.998Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-19T03:09:30.259Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-19T03:09:30.259Z] 213ec9aee27d: Pulling fs layer [2022-12-19T03:09:30.259Z] 4583459ba037: Pulling fs layer [2022-12-19T03:09:30.259Z] 93c1e223e6f2: Pulling fs layer [2022-12-19T03:09:30.259Z] 53926ce57604: Pulling fs layer [2022-12-19T03:09:30.259Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-19T03:09:30.259Z] 22ff95d597cd: Pulling fs layer [2022-12-19T03:09:30.259Z] 12d6caf4c0d1: Pulling fs layer [2022-12-19T03:09:30.259Z] 96b7cbca73a9: Pulling fs layer [2022-12-19T03:09:30.259Z] a7acece74701: Pulling fs layer [2022-12-19T03:09:30.259Z] a7acece74701: Waiting [2022-12-19T03:09:30.259Z] 53926ce57604: Waiting [2022-12-19T03:09:30.259Z] 22ff95d597cd: Waiting [2022-12-19T03:09:30.259Z] 12d6caf4c0d1: Waiting [2022-12-19T03:09:30.259Z] 21b2b0c7a3f4: Waiting [2022-12-19T03:09:30.259Z] 93c1e223e6f2: Verifying Checksum [2022-12-19T03:09:30.259Z] 93c1e223e6f2: Download complete [2022-12-19T03:09:30.259Z] 4583459ba037: Download complete [2022-12-19T03:09:30.259Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-19T03:09:30.259Z] 21b2b0c7a3f4: Download complete [2022-12-19T03:09:30.259Z] 22ff95d597cd: Verifying Checksum [2022-12-19T03:09:30.259Z] 22ff95d597cd: Download complete [2022-12-19T03:09:30.259Z] 213ec9aee27d: Verifying Checksum [2022-12-19T03:09:30.259Z] 213ec9aee27d: Download complete [2022-12-19T03:09:30.259Z] 12d6caf4c0d1: Download complete [2022-12-19T03:09:30.521Z] 213ec9aee27d: Pull complete [2022-12-19T03:09:30.521Z] 4583459ba037: Pull complete [2022-12-19T03:09:30.521Z] 93c1e223e6f2: Pull complete [2022-12-19T03:09:30.780Z] a7acece74701: Verifying Checksum [2022-12-19T03:09:30.780Z] a7acece74701: Download complete [2022-12-19T03:09:31.038Z] 53926ce57604: Verifying Checksum [2022-12-19T03:09:31.038Z] 53926ce57604: Download complete [2022-12-19T03:09:31.296Z] 96b7cbca73a9: Verifying Checksum [2022-12-19T03:09:31.296Z] 96b7cbca73a9: Download complete [2022-12-19T03:09:34.576Z] 53926ce57604: Pull complete [2022-12-19T03:09:34.576Z] 21b2b0c7a3f4: Pull complete [2022-12-19T03:09:34.833Z] 22ff95d597cd: Pull complete [2022-12-19T03:09:34.833Z] 12d6caf4c0d1: Pull complete [2022-12-19T03:09:36.726Z] 96b7cbca73a9: Pull complete [2022-12-19T03:09:37.656Z] a7acece74701: Pull complete [2022-12-19T03:09:37.656Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-19T03:09:37.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-19T03:09:37.656Z] ---> db6d94c90886 [2022-12-19T03:09:37.656Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-19T03:09:39.589Z] ---> Running in c6b1ef8561d9 [2022-12-19T03:09:39.589Z] Removing intermediate container c6b1ef8561d9 [2022-12-19T03:09:39.589Z] ---> f8de141a1d0a [2022-12-19T03:09:39.589Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T03:09:39.848Z] ---> Running in d8153f47dd04 [2022-12-19T03:09:39.848Z] Removing intermediate container d8153f47dd04 [2022-12-19T03:09:39.848Z] ---> 73379f994153 [2022-12-19T03:09:39.848Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T03:09:39.848Z] ---> Running in b7cb148da793 [2022-12-19T03:09:40.108Z] Removing intermediate container b7cb148da793 [2022-12-19T03:09:40.108Z] ---> a651106c2ad4 [2022-12-19T03:09:40.108Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T03:09:40.108Z] ---> Running in d1a33ed96f2c [2022-12-19T03:09:40.108Z] Removing intermediate container d1a33ed96f2c [2022-12-19T03:09:40.108Z] ---> 825a026dccee [2022-12-19T03:09:40.108Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-12-19T03:09:40.108Z] ---> Running in 4509a35ec5f3 [2022-12-19T03:09:40.368Z] Removing intermediate container 4509a35ec5f3 [2022-12-19T03:09:40.368Z] ---> 5b7ae468d5df [2022-12-19T03:09:40.368Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T03:09:40.368Z] ---> Running in 761e5b630350 [2022-12-19T03:09:40.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T03:09:40.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T03:09:41.144Z] OK: 211 MiB in 51 packages [2022-12-19T03:09:41.402Z] Removing intermediate container 761e5b630350 [2022-12-19T03:09:41.402Z] ---> 0adb41633bb5 [2022-12-19T03:09:41.402Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-12-19T03:09:41.402Z] ---> Running in 7493846ae1d4 [2022-12-19T03:09:41.661Z] Removing intermediate container 7493846ae1d4 [2022-12-19T03:09:41.661Z] ---> 851ea8be65ac [2022-12-19T03:09:41.661Z] Step 10/13 : COPY go.mod vendor* ./ [2022-12-19T03:09:41.661Z] ---> de90fd864094 [2022-12-19T03:09:41.661Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T03:09:41.661Z] ---> Running in e661cadab21d [2022-12-19T03:09:43.116Z] Still waiting to schedule task [2022-12-19T03:09:43.116Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-19T03:10:08.197Z] Removing intermediate container e661cadab21d [2022-12-19T03:10:08.197Z] ---> c70385ee0947 [2022-12-19T03:10:08.197Z] Step 12/13 : COPY . . [2022-12-19T03:10:08.197Z] ---> 367cfdc303d0 [2022-12-19T03:10:08.197Z] Step 13/13 : RUN ${MAKE} [2022-12-19T03:10:08.197Z] ---> Running in cc7d2a3f5ea9 [2022-12-19T03:10:08.197Z] noop [2022-12-19T03:10:08.197Z] Removing intermediate container cc7d2a3f5ea9 [2022-12-19T03:10:08.197Z] ---> cb11dc3832a3 [2022-12-19T03:10:08.197Z] Successfully built cb11dc3832a3 [2022-12-19T03:10:08.197Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:10:08.679Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-19T03:10:08.679Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:10:08.830Z] prd-ubuntu20.04-docker-8c-8g-133 does not seem to be running inside a container [2022-12-19T03:10:08.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-200 -v /w/workspace/undry_device-onvif-camera_PR-200:/w/workspace/undry_device-onvif-camera_PR-200:rw,z -v /w/workspace/undry_device-onvif-camera_PR-200@tmp:/w/workspace/undry_device-onvif-camera_PR-200@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 ******** ci-base-image-x86_64 cat [2022-12-19T03:10:09.213Z] $ docker top 7496899190cf49f3eb3586e2b16511674dcc8837ac019b5465874ff0966b772b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T03:10:09.615Z] + go version [2022-12-19T03:10:09.615Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-19T03:10:09.661Z] $ docker stop --time=1 7496899190cf49f3eb3586e2b16511674dcc8837ac019b5465874ff0966b772b [2022-12-19T03:10:10.953Z] $ docker rm -f --volumes 7496899190cf49f3eb3586e2b16511674dcc8837ac019b5465874ff0966b772b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:10:11.699Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-19T03:10:11.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:10:11.847Z] prd-ubuntu20.04-docker-8c-8g-133 does not seem to be running inside a container [2022-12-19T03:10:11.878Z] $ 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-200 -v /w/workspace/undry_device-onvif-camera_PR-200:/w/workspace/undry_device-onvif-camera_PR-200:rw,z -v /w/workspace/undry_device-onvif-camera_PR-200@tmp:/w/workspace/undry_device-onvif-camera_PR-200@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 ******** ci-base-image-x86_64 cat [2022-12-19T03:10:12.250Z] $ docker top 9d7b0ee407e859d02675cf37f45abc324cc4e87fca0327ac25f7360b69a9cf18 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T03:10:12.661Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-200 [Pipeline] fileExists [Pipeline] sh [2022-12-19T03:10:13.030Z] + make test [2022-12-19T03:10:13.030Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-19T03:10:13.595Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-12-19T03:10:23.575Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-12-19T03:10:26.105Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 29.3% of statements [2022-12-19T03:10:26.105Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-12-19T03:10:26.105Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.288s coverage: 86.5% of statements [2022-12-19T03:10:32.674Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-12-19T03:10:32.674Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-19T03:10:36.003Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-19T03:10:36.003Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-19T03:10:36.003Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-19T03:10:36.047Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-19T03:10:36.078Z] $ docker stop --time=1 9d7b0ee407e859d02675cf37f45abc324cc4e87fca0327ac25f7360b69a9cf18 [2022-12-19T03:10:37.948Z] $ docker rm -f --volumes 9d7b0ee407e859d02675cf37f45abc324cc4e87fca0327ac25f7360b69a9cf18 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T03:10:38.514Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-19T03:10:38.601Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-19T03:10:39.333Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-19T03:10:39.641Z] + ls -al . [2022-12-19T03:10:39.642Z] total 248 [2022-12-19T03:10:39.642Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 03:10 . [2022-12-19T03:10:39.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 03:09 .. [2022-12-19T03:10:39.642Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 03:10 .git [2022-12-19T03:10:39.642Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 03:09 .github [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 496 Dec 19 03:09 .gitignore [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 19 03:09 .golangci.yml [2022-12-19T03:10:39.642Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 03:09 .semver [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 9742 Dec 19 03:09 Attribution.txt [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 6312 Dec 19 03:09 CHANGELOG.md [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 1637 Dec 19 03:09 Dockerfile [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 03:09 GOVERNANCE.md [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 734 Dec 19 03:09 Jenkinsfile [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 19 03:09 LICENSE [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 2858 Dec 19 03:09 Makefile [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 625 Dec 19 03:09 OWNERS.md [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 6595 Dec 19 03:09 README.md [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 03:09 VERSION [2022-12-19T03:10:39.642Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 03:09 bin [2022-12-19T03:10:39.642Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 03:09 cmd [2022-12-19T03:10:39.642Z] -rw-r--r-- 1 jenkins jenkins 79184 Dec 19 03:10 coverage.out [2022-12-19T03:10:39.642Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 19 03:09 doc [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 3688 Dec 19 03:09 go.mod [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 46249 Dec 19 03:09 go.sum [2022-12-19T03:10:39.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 03:09 internal [2022-12-19T03:10:39.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 03:09 snap [2022-12-19T03:10:39.642Z] -rw-rw-r-- 1 jenkins jenkins 236 Dec 19 03:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:10:40.038Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 --label arch=amd64 --label version=0.0.0 . [2022-12-19T03:10:40.038Z] Sending build context to Docker daemon 27.74MB [2022-12-19T03:10:40.038Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T03:10:40.038Z] Step 2/26 : FROM ${BASE} AS builder [2022-12-19T03:10:40.038Z] ---> cb11dc3832a3 [2022-12-19T03:10:40.038Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-12-19T03:10:40.299Z] ---> Running in 3735c9592a45 [2022-12-19T03:10:40.299Z] Removing intermediate container 3735c9592a45 [2022-12-19T03:10:40.299Z] ---> be930247f7e0 [2022-12-19T03:10:40.299Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T03:10:40.299Z] ---> Running in 1d4a44551c36 [2022-12-19T03:10:40.558Z] Removing intermediate container 1d4a44551c36 [2022-12-19T03:10:40.558Z] ---> 2e8b33561d2a [2022-12-19T03:10:40.558Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T03:10:40.558Z] ---> Running in 63d82daecc5a [2022-12-19T03:10:40.558Z] Removing intermediate container 63d82daecc5a [2022-12-19T03:10:40.558Z] ---> 293118484b9f [2022-12-19T03:10:40.558Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T03:10:40.558Z] ---> Running in 0a5810b2a085 [2022-12-19T03:10:40.818Z] Removing intermediate container 0a5810b2a085 [2022-12-19T03:10:40.818Z] ---> f3ca36f4607c [2022-12-19T03:10:40.818Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-12-19T03:10:40.818Z] ---> Running in fcc92ceba734 [2022-12-19T03:10:40.818Z] Removing intermediate container fcc92ceba734 [2022-12-19T03:10:40.818Z] ---> ef812dce25ae [2022-12-19T03:10:40.818Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T03:10:40.818Z] ---> Running in 75aff6343d10 [2022-12-19T03:10:41.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T03:10:41.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T03:10:41.598Z] OK: 211 MiB in 51 packages [2022-12-19T03:10:41.857Z] Removing intermediate container 75aff6343d10 [2022-12-19T03:10:41.857Z] ---> b2c4b62b6643 [2022-12-19T03:10:41.857Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-12-19T03:10:42.115Z] ---> Running in b4a07884ec3c [2022-12-19T03:10:42.115Z] Removing intermediate container b4a07884ec3c [2022-12-19T03:10:42.115Z] ---> c2017026fc99 [2022-12-19T03:10:42.115Z] Step 10/26 : COPY go.mod vendor* ./ [2022-12-19T03:10:42.373Z] ---> 0c0a6cd4d5c9 [2022-12-19T03:10:42.373Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T03:10:42.373Z] ---> Running in 451826c23ac2 [2022-12-19T03:10:42.988Z] Removing intermediate container 451826c23ac2 [2022-12-19T03:10:42.988Z] ---> 05e94bb92994 [2022-12-19T03:10:42.988Z] Step 12/26 : COPY . . [2022-12-19T03:10:43.979Z] ---> 924efd7233a8 [2022-12-19T03:10:43.979Z] Step 13/26 : RUN ${MAKE} [2022-12-19T03:10:43.979Z] ---> Running in e783ef4e1d64 [2022-12-19T03:10:43.979Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-12-19T03:11:06.014Z] Removing intermediate container e783ef4e1d64 [2022-12-19T03:11:06.014Z] ---> 4c9200ede33b [2022-12-19T03:11:06.014Z] Step 14/26 : FROM alpine:3.16 [2022-12-19T03:11:06.014Z] 3.16: Pulling from library/alpine [2022-12-19T03:11:06.014Z] ca7dd9ec2225: Pulling fs layer [2022-12-19T03:11:06.014Z] ca7dd9ec2225: Download complete [2022-12-19T03:11:06.014Z] ca7dd9ec2225: Pull complete [2022-12-19T03:11:06.014Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-19T03:11:06.014Z] Status: Downloaded newer image for alpine:3.16 [2022-12-19T03:11:06.014Z] ---> bfe296a52501 [2022-12-19T03:11:06.014Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-19T03:11:06.014Z] ---> Running in 1d02034256ce [2022-12-19T03:11:06.014Z] Removing intermediate container 1d02034256ce [2022-12-19T03:11:06.014Z] ---> b202865fa78f [2022-12-19T03:11:06.014Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-19T03:11:06.014Z] ---> Running in c39c0146e1e8 [2022-12-19T03:11:06.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T03:11:06.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T03:11:06.014Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-19T03:11:06.014Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-19T03:11:06.014Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-19T03:11:06.014Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-19T03:11:06.014Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-19T03:11:06.014Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-19T03:11:06.014Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T03:11:06.014Z] OK: 8 MiB in 20 packages [2022-12-19T03:11:06.014Z] Removing intermediate container c39c0146e1e8 [2022-12-19T03:11:06.014Z] ---> 847d18559117 [2022-12-19T03:11:06.014Z] Step 17/26 : WORKDIR / [2022-12-19T03:11:06.014Z] ---> Running in e534de05a537 [2022-12-19T03:11:06.014Z] Removing intermediate container e534de05a537 [2022-12-19T03:11:06.014Z] ---> c192898f0ea9 [2022-12-19T03:11:06.014Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-12-19T03:11:06.273Z] ---> 6bdc2123f795 [2022-12-19T03:11:06.273Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-12-19T03:11:06.273Z] ---> a7087f8c7896 [2022-12-19T03:11:06.273Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-12-19T03:11:06.531Z] ---> 2190e3cc7044 [2022-12-19T03:11:06.531Z] Step 21/26 : EXPOSE 59984 [2022-12-19T03:11:06.531Z] ---> Running in f8083712e761 [2022-12-19T03:11:06.531Z] Removing intermediate container f8083712e761 [2022-12-19T03:11:06.531Z] ---> 2e8977330ae2 [2022-12-19T03:11:06.531Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-12-19T03:11:06.531Z] ---> Running in 48d0311f1a18 [2022-12-19T03:11:06.789Z] Removing intermediate container 48d0311f1a18 [2022-12-19T03:11:06.789Z] ---> fd2724c1e311 [2022-12-19T03:11:06.789Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-19T03:11:06.789Z] ---> Running in 35d396b1af4d [2022-12-19T03:11:06.789Z] Removing intermediate container 35d396b1af4d [2022-12-19T03:11:06.789Z] ---> 72bc0a33aeac [2022-12-19T03:11:06.789Z] Step 24/26 : LABEL arch=amd64 [2022-12-19T03:11:06.789Z] ---> Running in 134def6ad478 [2022-12-19T03:11:07.048Z] Removing intermediate container 134def6ad478 [2022-12-19T03:11:07.048Z] ---> 4b31bb36af95 [2022-12-19T03:11:07.048Z] Step 25/26 : LABEL git_sha=e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 [2022-12-19T03:11:07.048Z] ---> Running in d2060bc22764 [2022-12-19T03:11:07.048Z] Removing intermediate container d2060bc22764 [2022-12-19T03:11:07.048Z] ---> 8495b246c7c6 [2022-12-19T03:11:07.048Z] Step 26/26 : LABEL version=0.0.0 [2022-12-19T03:11:07.048Z] ---> Running in a6f12911021e [2022-12-19T03:11:07.307Z] Removing intermediate container a6f12911021e [2022-12-19T03:11:07.307Z] ---> ae887be3e545 [2022-12-19T03:11:07.307Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-19T03:11:07.307Z] Successfully built ae887be3e545 [2022-12-19T03:11:07.307Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [2022-12-19T03:11:07.720Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-135 in /w/workspace/undry_device-onvif-camera_PR-200 [Pipeline] } [Pipeline] // stage [Pipeline] { Post stage [Pipeline] ws [2022-12-19T03:11:07.842Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] checkout [2022-12-19T03:11:07.927Z] The recommended git tool is: git [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:11:08.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T03:11:08.280Z] [2022-12-19T03:11:08.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:11:08.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T03:11:08.689Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-19T03:11:08.689Z] 5eb5b503b376: Pulling fs layer [2022-12-19T03:11:08.689Z] 5c69ac0246d0: Pulling fs layer [2022-12-19T03:11:08.689Z] ec43610c2a17: Pulling fs layer [2022-12-19T03:11:08.689Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-19T03:11:08.689Z] 33b1e0a273af: Pulling fs layer [2022-12-19T03:11:08.689Z] 5d3b04190fa2: Pulling fs layer [2022-12-19T03:11:08.689Z] 2f39f015ded8: Pulling fs layer [2022-12-19T03:11:08.689Z] 33b1e0a273af: Waiting [2022-12-19T03:11:08.689Z] 3a2ae6a8a46f: Waiting [2022-12-19T03:11:08.689Z] 5c69ac0246d0: Verifying Checksum [2022-12-19T03:11:08.689Z] 5c69ac0246d0: Download complete [2022-12-19T03:11:08.689Z] 3a2ae6a8a46f: Download complete [2022-12-19T03:11:08.689Z] 33b1e0a273af: Verifying Checksum [2022-12-19T03:11:08.689Z] 33b1e0a273af: Download complete [2022-12-19T03:11:08.689Z] ec43610c2a17: Verifying Checksum [2022-12-19T03:11:08.689Z] ec43610c2a17: Download complete [2022-12-19T03:11:08.689Z] 5d3b04190fa2: Download complete [2022-12-19T03:11:08.959Z] 5eb5b503b376: Verifying Checksum [2022-12-19T03:11:08.959Z] 5eb5b503b376: Download complete [2022-12-19T03:11:09.533Z] 2f39f015ded8: Verifying Checksum [2022-12-19T03:11:09.533Z] 2f39f015ded8: Download complete [2022-12-19T03:11:10.100Z] 5eb5b503b376: Pull complete [2022-12-19T03:11:10.100Z] 5c69ac0246d0: Pull complete [2022-12-19T03:11:10.672Z] ec43610c2a17: Pull complete [2022-12-19T03:11:10.672Z] 3a2ae6a8a46f: Pull complete [2022-12-19T03:11:10.930Z] 33b1e0a273af: Pull complete [2022-12-19T03:11:10.930Z] 5d3b04190fa2: Pull complete [2022-12-19T03:11:12.698Z] using credential edgex-jenkins-ssh [2022-12-19T03:11:12.719Z] Cloning the remote Git repository [2022-12-19T03:11:12.762Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-12-19T03:11:13.080Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-12-19T03:11:13.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-12-19T03:11:13.230Z] > git --version # timeout=10 [2022-12-19T03:11:13.247Z] > git --version # 'git version 2.25.1' [2022-12-19T03:11:13.249Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T03:11:13.302Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-19T03:11:15.108Z] 2f39f015ded8: Pull complete [2022-12-19T03:11:15.108Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-19T03:11:15.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T03:11:15.108Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:11:14.838Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-12-19T03:11:14.856Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-19T03:11:15.337Z] prd-ubuntu20.04-docker-8c-8g-133 does not seem to be running inside a container [2022-12-19T03:11:15.371Z] $ 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-200 -v /w/workspace/undry_device-onvif-camera_PR-200:/w/workspace/undry_device-onvif-camera_PR-200:rw,z -v /w/workspace/undry_device-onvif-camera_PR-200@tmp:/w/workspace/undry_device-onvif-camera_PR-200@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 [2022-12-19T03:11:16.138Z] Merging remotes/origin/main commit 4eac92da5dfc23f9865ece6d9684c74467a8de72 into PR head commit e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 [2022-12-19T03:11:16.544Z] Merge succeeded, producing e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 [2022-12-19T03:11:16.545Z] Checking out Revision e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 (PR-200) [2022-12-19T03:11:15.608Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-12-19T03:11:15.645Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-12-19T03:11:15.646Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T03:11:15.661Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-19T03:11:16.156Z] > git config core.sparsecheckout # timeout=10 [2022-12-19T03:11:16.172Z] > git checkout -f e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 # timeout=10 [2022-12-19T03:11:16.446Z] > git remote # timeout=10 [2022-12-19T03:11:16.462Z] > git config --get remote.origin.url # timeout=10 [2022-12-19T03:11:16.493Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T03:11:16.505Z] > git merge 4eac92da5dfc23f9865ece6d9684c74467a8de72 # timeout=10 [2022-12-19T03:11:16.531Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-19T03:11:16.552Z] > git config core.sparsecheckout # timeout=10 [2022-12-19T03:11:16.570Z] > git checkout -f e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 # timeout=10 [2022-12-19T03:11:17.340Z] $ docker top e7300b9bc732ea0eb089fca6622ac9be351376d96438f230fab9775ab2dbb791 -eo pid,comm [2022-12-19T03:11:17.350Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] { [2022-12-19T03:11:17.397Z] > git --version # timeout=10 [2022-12-19T03:11:17.407Z] > git --version # 'git version 2.25.1' [2022-12-19T03:11:17.417Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:11:17.718Z] [2022-12-19T03:11:17.718Z] GitHub has been notified of this commit’s build result [2022-12-19T03:11:17.718Z] [Pipeline] withEnv [Pipeline] { [2022-12-19T03:11:17.798Z] ---> job-cost.sh [2022-12-19T03:11:17.798Z] lf-activate-venv: SKIPPING [2022-12-19T03:11:17.798Z] INFO: No Stack... [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T03:11:18.366Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-19T03:11:18.456Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-19T03:11:18.456Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-19T03:11:18.456Z] Dload Upload Total Spent Left Speed [2022-12-19T03:11:18.456Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 87335 [2022-12-19T03:11:18.624Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2022-12-19T03:11:18.938Z] + cat /w/workspace/undry_device-onvif-camera_PR-200/archives/cost.csv [2022-12-19T03:11:18.938Z] + cut -d, -f6 [Pipeline] lock [2022-12-19T03:11:18.990Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-200-1-stack-cost] [2022-12-19T03:11:18.996Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-200-1-stack-cost] did not exist. Created. [2022-12-19T03:11:18.996Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-200-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-19T03:11:19.133Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-19T03:11:19.400Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-19T03:11:19.455Z] Stashed 1 file(s) [Pipeline] } [2022-12-19T03:11:19.486Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-200-1-stack-cost] [2022-12-19T03:11:19.518Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-12-19T03:11:19.518Z] /etc/docker/daemon.json [2022-12-19T03:11:19.518Z] { [2022-12-19T03:11:19.518Z] "registry-mirrors": [ [2022-12-19T03:11:19.518Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-19T03:11:19.518Z] ], [2022-12-19T03:11:19.518Z] "bip": "10.250.0.254/24", [2022-12-19T03:11:19.518Z] "hosts": [ [2022-12-19T03:11:19.518Z] "tcp://0.0.0.0:5555", [2022-12-19T03:11:19.518Z] "unix:///var/run/docker.sock" [2022-12-19T03:11:19.518Z] ], [2022-12-19T03:11:19.518Z] "mtu": 1458, [2022-12-19T03:11:19.518Z] "selinux-enabled": true, [2022-12-19T03:11:19.518Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-19T03:11:19.518Z] } [Pipeline] // lock [Pipeline] } [2022-12-19T03:11:19.592Z] $ docker stop --time=1 e7300b9bc732ea0eb089fca6622ac9be351376d96438f230fab9775ab2dbb791 [2022-12-19T03:11:20.758Z] $ docker rm -f --volumes e7300b9bc732ea0eb089fca6622ac9be351376d96438f230fab9775ab2dbb791 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2022-12-19T03:11:21.128Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // stage [Pipeline] } [Pipeline] sh [2022-12-19T03:11:21.509Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T03:11:39.846Z] provisioning config files... [2022-12-19T03:11:39.879Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6922595381637067672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:11:40.284Z] ---> docker-login.sh [2022-12-19T03:11:40.285Z] nexus3.edgexfoundry.org:10001 [2022-12-19T03:11:40.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:11:40.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:11:40.879Z] Configure a credential helper to remove this warning. See [2022-12-19T03:11:40.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:11:40.879Z] [2022-12-19T03:11:40.879Z] Login Succeeded [2022-12-19T03:11:40.879Z] nexus3.edgexfoundry.org:10002 [2022-12-19T03:11:41.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:11:41.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:11:41.422Z] Configure a credential helper to remove this warning. See [2022-12-19T03:11:41.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:11:41.422Z] [2022-12-19T03:11:41.422Z] Login Succeeded [2022-12-19T03:11:41.422Z] nexus3.edgexfoundry.org:10003 [2022-12-19T03:11:41.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:11:41.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:11:41.694Z] Configure a credential helper to remove this warning. See [2022-12-19T03:11:41.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:11:41.694Z] [2022-12-19T03:11:41.694Z] Login Succeeded [2022-12-19T03:11:41.694Z] nexus3.edgexfoundry.org:10004 [2022-12-19T03:11:41.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:11:41.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:11:41.967Z] Configure a credential helper to remove this warning. See [2022-12-19T03:11:41.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:11:41.967Z] [2022-12-19T03:11:41.967Z] Login Succeeded [2022-12-19T03:11:42.238Z] docker.io [2022-12-19T03:11:42.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:11:42.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:11:42.507Z] Configure a credential helper to remove this warning. See [2022-12-19T03:11:42.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:11:42.507Z] [2022-12-19T03:11:42.507Z] Login Succeeded [2022-12-19T03:11:42.507Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T03:11:42.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-19T03:11:42.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T03:11:43.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T03:11:43.065Z] ========================================================= [2022-12-19T03:11:43.065Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-19T03:11:43.065Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:11:43.584Z] + 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 . [2022-12-19T03:11:44.178Z] Sending build context to Docker daemon 20.52MB [2022-12-19T03:11:44.178Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T03:11:44.178Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-19T03:11:44.450Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-19T03:11:44.450Z] 9b18e9b68314: Pulling fs layer [2022-12-19T03:11:44.450Z] 35d82f9e3411: Pulling fs layer [2022-12-19T03:11:44.450Z] e16973657156: Pulling fs layer [2022-12-19T03:11:44.450Z] fc693d55d65f: Pulling fs layer [2022-12-19T03:11:44.450Z] 7e9fc2657dce: Pulling fs layer [2022-12-19T03:11:44.450Z] dda99020689f: Pulling fs layer [2022-12-19T03:11:44.450Z] db1c61fa0a46: Pulling fs layer [2022-12-19T03:11:44.450Z] 891c053d2c06: Pulling fs layer [2022-12-19T03:11:44.450Z] 7e9fc2657dce: Waiting [2022-12-19T03:11:44.450Z] dda99020689f: Waiting [2022-12-19T03:11:44.450Z] db1c61fa0a46: Waiting [2022-12-19T03:11:44.450Z] 891c053d2c06: Waiting [2022-12-19T03:11:44.450Z] fc693d55d65f: Waiting [2022-12-19T03:11:44.450Z] e16973657156: Verifying Checksum [2022-12-19T03:11:44.450Z] e16973657156: Download complete [2022-12-19T03:11:44.450Z] 35d82f9e3411: Download complete [2022-12-19T03:11:44.450Z] 7e9fc2657dce: Verifying Checksum [2022-12-19T03:11:44.450Z] 7e9fc2657dce: Download complete [2022-12-19T03:11:44.450Z] 9b18e9b68314: Verifying Checksum [2022-12-19T03:11:44.450Z] 9b18e9b68314: Download complete [2022-12-19T03:11:44.450Z] dda99020689f: Verifying Checksum [2022-12-19T03:11:44.450Z] dda99020689f: Download complete [2022-12-19T03:11:45.443Z] 9b18e9b68314: Pull complete [2022-12-19T03:11:45.714Z] 891c053d2c06: Verifying Checksum [2022-12-19T03:11:45.714Z] 891c053d2c06: Download complete [2022-12-19T03:11:45.987Z] 35d82f9e3411: Pull complete [2022-12-19T03:11:46.257Z] e16973657156: Pull complete [2022-12-19T03:11:47.235Z] db1c61fa0a46: Verifying Checksum [2022-12-19T03:11:47.235Z] db1c61fa0a46: Download complete [2022-12-19T03:11:47.830Z] fc693d55d65f: Verifying Checksum [2022-12-19T03:11:47.830Z] fc693d55d65f: Download complete [2022-12-19T03:12:00.185Z] fc693d55d65f: Pull complete [2022-12-19T03:12:00.185Z] 7e9fc2657dce: Pull complete [2022-12-19T03:12:00.185Z] dda99020689f: Pull complete [2022-12-19T03:12:06.962Z] db1c61fa0a46: Pull complete [2022-12-19T03:12:07.981Z] 891c053d2c06: Pull complete [2022-12-19T03:12:07.982Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-19T03:12:07.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-19T03:12:07.982Z] ---> f96f9c87975a [2022-12-19T03:12:07.982Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-19T03:12:09.930Z] ---> Running in 0f287178e681 [2022-12-19T03:12:10.199Z] Removing intermediate container 0f287178e681 [2022-12-19T03:12:10.199Z] ---> 9d1bf63cb7a6 [2022-12-19T03:12:10.199Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T03:12:10.199Z] ---> Running in 940c5c064933 [2022-12-19T03:12:10.468Z] Removing intermediate container 940c5c064933 [2022-12-19T03:12:10.468Z] ---> 0c99c0b5855d [2022-12-19T03:12:10.468Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T03:12:10.740Z] ---> Running in f2ffbe598c1e [2022-12-19T03:12:11.011Z] Removing intermediate container f2ffbe598c1e [2022-12-19T03:12:11.011Z] ---> 8089ccca39fd [2022-12-19T03:12:11.011Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T03:12:11.011Z] ---> Running in 912000a74079 [2022-12-19T03:12:11.281Z] Removing intermediate container 912000a74079 [2022-12-19T03:12:11.281Z] ---> 726ba6ecef12 [2022-12-19T03:12:11.281Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-12-19T03:12:11.554Z] ---> Running in f6e3b578481d [2022-12-19T03:12:11.825Z] Removing intermediate container f6e3b578481d [2022-12-19T03:12:11.825Z] ---> acd702c153bf [2022-12-19T03:12:11.825Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T03:12:11.825Z] ---> Running in 1449dc8a1e64 [2022-12-19T03:12:13.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T03:12:13.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T03:12:14.479Z] OK: 221 MiB in 51 packages [2022-12-19T03:12:15.452Z] Removing intermediate container 1449dc8a1e64 [2022-12-19T03:12:15.452Z] ---> b48e2a104747 [2022-12-19T03:12:15.452Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-12-19T03:12:15.452Z] ---> Running in 8f9fa59f3b34 [2022-12-19T03:12:15.723Z] Removing intermediate container 8f9fa59f3b34 [2022-12-19T03:12:15.723Z] ---> 18b17bcc2620 [2022-12-19T03:12:15.723Z] Step 10/13 : COPY go.mod vendor* ./ [2022-12-19T03:12:16.312Z] ---> c238baf8ded5 [2022-12-19T03:12:16.312Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T03:12:16.312Z] ---> Running in d9c97849d78b [2022-12-19T03:13:12.764Z] Removing intermediate container d9c97849d78b [2022-12-19T03:13:12.764Z] ---> 4a4d994904e5 [2022-12-19T03:13:12.764Z] Step 12/13 : COPY . . [2022-12-19T03:13:12.764Z] ---> ae7be28ce146 [2022-12-19T03:13:12.764Z] Step 13/13 : RUN ${MAKE} [2022-12-19T03:13:12.764Z] ---> Running in 30238a39c9b8 [2022-12-19T03:13:12.764Z] noop [2022-12-19T03:13:12.764Z] Removing intermediate container 30238a39c9b8 [2022-12-19T03:13:12.764Z] ---> 014b0f2fe0b4 [2022-12-19T03:13:13.031Z] Successfully built 014b0f2fe0b4 [2022-12-19T03:13:13.031Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:13:13.534Z] + docker inspect -f . ci-base-image-arm64 [2022-12-19T03:13:13.534Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:13:13.819Z] prd-ubuntu20.04-docker-arm64-4c-16g-135 does not seem to be running inside a container [2022-12-19T03:13:13.898Z] $ 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 [2022-12-19T03:13:15.126Z] $ docker top 34efd0df3143f6470aa952ff1b8248bb6ff3728f911a51620eebd796a6bbc436 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T03:13:16.005Z] + go version [2022-12-19T03:13:16.005Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-19T03:13:16.044Z] $ docker stop --time=1 34efd0df3143f6470aa952ff1b8248bb6ff3728f911a51620eebd796a6bbc436 [2022-12-19T03:13:17.693Z] $ docker rm -f --volumes 34efd0df3143f6470aa952ff1b8248bb6ff3728f911a51620eebd796a6bbc436 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:13:18.515Z] + docker inspect -f . ci-base-image-arm64 [2022-12-19T03:13:18.515Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:13:18.764Z] prd-ubuntu20.04-docker-arm64-4c-16g-135 does not seem to be running inside a container [2022-12-19T03:13:18.834Z] $ 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 [2022-12-19T03:13:20.032Z] $ docker top b6d4373e7bd0df7dc86ce83d9dab5e4685cf1de8e8ad8509efaf11f4f80912dc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T03:13:20.603Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-12-19T03:13:21.265Z] + make test [2022-12-19T03:13:21.538Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-19T03:13:23.484Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-12-19T03:15:00.158Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-12-19T03:15:00.158Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.168s coverage: 29.3% of statements [2022-12-19T03:15:00.158Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-12-19T03:15:04.399Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 15.667s coverage: 86.5% of statements [2022-12-19T03:15:04.982Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-19T03:15:04.982Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-19T03:15:31.674Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-19T03:15:31.674Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-19T03:15:31.674Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-19T03:15:31.715Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-19T03:15:31.745Z] $ docker stop --time=1 b6d4373e7bd0df7dc86ce83d9dab5e4685cf1de8e8ad8509efaf11f4f80912dc [2022-12-19T03:15:33.468Z] $ docker rm -f --volumes b6d4373e7bd0df7dc86ce83d9dab5e4685cf1de8e8ad8509efaf11f4f80912dc [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T03:15:34.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-19T03:15:34.530Z] Warning: overwriting stash ‘coverage-report’ [2022-12-19T03:15:35.124Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T03:15:35.688Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-19T03:15:36.041Z] + ls -al . [2022-12-19T03:15:36.041Z] total 244 [2022-12-19T03:15:36.041Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 19 03:13 . [2022-12-19T03:15:36.041Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 03:11 .. [2022-12-19T03:15:36.041Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 03:11 .git [2022-12-19T03:15:36.041Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 03:11 .github [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 496 Dec 19 03:11 .gitignore [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 19 03:11 .golangci.yml [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 9742 Dec 19 03:11 Attribution.txt [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 6312 Dec 19 03:11 CHANGELOG.md [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 1637 Dec 19 03:11 Dockerfile [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 03:11 GOVERNANCE.md [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 734 Dec 19 03:11 Jenkinsfile [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 19 03:11 LICENSE [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 2858 Dec 19 03:11 Makefile [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 625 Dec 19 03:11 OWNERS.md [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 6595 Dec 19 03:11 README.md [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 03:09 VERSION [2022-12-19T03:15:36.041Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 03:11 bin [2022-12-19T03:15:36.041Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 03:11 cmd [2022-12-19T03:15:36.041Z] -rw-r--r-- 1 jenkins jenkins 79184 Dec 19 03:15 coverage.out [2022-12-19T03:15:36.041Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 19 03:11 doc [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 3688 Dec 19 03:11 go.mod [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 46249 Dec 19 03:11 go.sum [2022-12-19T03:15:36.041Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 03:11 internal [2022-12-19T03:15:36.041Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 03:11 snap [2022-12-19T03:15:36.041Z] -rw-rw-r-- 1 jenkins jenkins 236 Dec 19 03:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:15:36.459Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 --label arch=arm64 --label version=0.0.0 . [2022-12-19T03:15:37.041Z] Sending build context to Docker daemon 20.6MB [2022-12-19T03:15:37.309Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T03:15:37.309Z] Step 2/26 : FROM ${BASE} AS builder [2022-12-19T03:15:37.309Z] ---> 014b0f2fe0b4 [2022-12-19T03:15:37.309Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-12-19T03:15:38.270Z] ---> Running in 4cf499645ed1 [2022-12-19T03:15:38.538Z] Removing intermediate container 4cf499645ed1 [2022-12-19T03:15:38.538Z] ---> 4b0be9c3edd3 [2022-12-19T03:15:38.538Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T03:15:38.806Z] ---> Running in 03012b94e70f [2022-12-19T03:15:39.073Z] Removing intermediate container 03012b94e70f [2022-12-19T03:15:39.073Z] ---> 10d29614545a [2022-12-19T03:15:39.073Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T03:15:39.073Z] ---> Running in d6d51676fd52 [2022-12-19T03:15:39.341Z] Removing intermediate container d6d51676fd52 [2022-12-19T03:15:39.341Z] ---> e4b746915863 [2022-12-19T03:15:39.341Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T03:15:39.614Z] ---> Running in 8e87ca7ce7c0 [2022-12-19T03:15:39.879Z] Removing intermediate container 8e87ca7ce7c0 [2022-12-19T03:15:39.879Z] ---> 332ee0b86cd9 [2022-12-19T03:15:39.879Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-12-19T03:15:39.879Z] ---> Running in 32b185916168 [2022-12-19T03:15:40.147Z] Removing intermediate container 32b185916168 [2022-12-19T03:15:40.147Z] ---> e0dfee316da4 [2022-12-19T03:15:40.147Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T03:15:40.416Z] ---> Running in 235df892e7ab [2022-12-19T03:15:41.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T03:15:41.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T03:15:43.062Z] OK: 221 MiB in 51 packages [2022-12-19T03:15:44.033Z] Removing intermediate container 235df892e7ab [2022-12-19T03:15:44.033Z] ---> 72f9b23f94d4 [2022-12-19T03:15:44.033Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-12-19T03:15:44.033Z] ---> Running in 65472c3d8c7a [2022-12-19T03:15:44.301Z] Removing intermediate container 65472c3d8c7a [2022-12-19T03:15:44.301Z] ---> a165637c7720 [2022-12-19T03:15:44.301Z] Step 10/26 : COPY go.mod vendor* ./ [2022-12-19T03:15:45.291Z] ---> d7ee89277ef3 [2022-12-19T03:15:45.291Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T03:15:45.291Z] ---> Running in e87a7a4cbc73 [2022-12-19T03:15:48.640Z] Removing intermediate container e87a7a4cbc73 [2022-12-19T03:15:48.640Z] ---> 833926bcf2e3 [2022-12-19T03:15:48.640Z] Step 12/26 : COPY . . [2022-12-19T03:15:51.243Z] ---> 79a438234f96 [2022-12-19T03:15:51.243Z] Step 13/26 : RUN ${MAKE} [2022-12-19T03:15:51.513Z] ---> Running in 42f19ff54ee3 [2022-12-19T03:15:52.473Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-12-19T03:18:29.213Z] Removing intermediate container 42f19ff54ee3 [2022-12-19T03:18:29.213Z] ---> 72d6ad92a781 [2022-12-19T03:18:29.213Z] Step 14/26 : FROM alpine:3.16 [2022-12-19T03:18:29.797Z] 3.16: Pulling from library/alpine [2022-12-19T03:18:29.797Z] 6875df1f5354: Pulling fs layer [2022-12-19T03:18:30.071Z] 6875df1f5354: Verifying Checksum [2022-12-19T03:18:30.071Z] 6875df1f5354: Download complete [2022-12-19T03:18:30.655Z] 6875df1f5354: Pull complete [2022-12-19T03:18:30.655Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-19T03:18:30.655Z] Status: Downloaded newer image for alpine:3.16 [2022-12-19T03:18:30.655Z] ---> 2b4661558fb8 [2022-12-19T03:18:30.655Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-19T03:18:30.655Z] ---> Running in 655f2cc279d7 [2022-12-19T03:18:30.924Z] Removing intermediate container 655f2cc279d7 [2022-12-19T03:18:30.924Z] ---> c19abc4b4e86 [2022-12-19T03:18:30.924Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-19T03:18:30.924Z] ---> Running in 813f6b771113 [2022-12-19T03:18:31.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T03:18:32.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T03:18:33.444Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-19T03:18:33.444Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-19T03:18:33.444Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-19T03:18:33.444Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-19T03:18:33.444Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-19T03:18:33.444Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-19T03:18:33.444Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T03:18:33.444Z] OK: 8 MiB in 20 packages [2022-12-19T03:18:34.409Z] Removing intermediate container 813f6b771113 [2022-12-19T03:18:34.409Z] ---> 772fbd4f93c0 [2022-12-19T03:18:34.409Z] Step 17/26 : WORKDIR / [2022-12-19T03:18:34.678Z] ---> Running in 23e28bd97f15 [2022-12-19T03:18:34.946Z] Removing intermediate container 23e28bd97f15 [2022-12-19T03:18:34.946Z] ---> 1ed5fc41b3e5 [2022-12-19T03:18:34.946Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-12-19T03:18:36.360Z] ---> bb8640443fca [2022-12-19T03:18:36.360Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-12-19T03:18:36.947Z] ---> cae384f0f745 [2022-12-19T03:18:36.947Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-12-19T03:18:37.531Z] ---> 4eb8bf5bbf88 [2022-12-19T03:18:37.531Z] Step 21/26 : EXPOSE 59984 [2022-12-19T03:18:37.531Z] ---> Running in 7805a1fd2847 [2022-12-19T03:18:37.798Z] Removing intermediate container 7805a1fd2847 [2022-12-19T03:18:37.798Z] ---> 8cef52d5e8c8 [2022-12-19T03:18:37.798Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-12-19T03:18:37.798Z] ---> Running in a75edcaa8623 [2022-12-19T03:18:38.068Z] Removing intermediate container a75edcaa8623 [2022-12-19T03:18:38.068Z] ---> f0278489d27b [2022-12-19T03:18:38.068Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-19T03:18:38.338Z] ---> Running in a7931ec3afa9 [2022-12-19T03:18:38.611Z] Removing intermediate container a7931ec3afa9 [2022-12-19T03:18:38.611Z] ---> 5b0c9119a32c [2022-12-19T03:18:38.611Z] Step 24/26 : LABEL arch=arm64 [2022-12-19T03:18:38.611Z] ---> Running in eb372804b65a [2022-12-19T03:18:38.880Z] Removing intermediate container eb372804b65a [2022-12-19T03:18:38.880Z] ---> cf51d92f8cf7 [2022-12-19T03:18:38.880Z] Step 25/26 : LABEL git_sha=e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 [2022-12-19T03:18:38.880Z] ---> Running in f3cb6f2df2e7 [2022-12-19T03:18:39.155Z] Removing intermediate container f3cb6f2df2e7 [2022-12-19T03:18:39.155Z] ---> 934aad132b90 [2022-12-19T03:18:39.155Z] Step 26/26 : LABEL version=0.0.0 [2022-12-19T03:18:39.421Z] ---> Running in 04a6dda0e8f0 [2022-12-19T03:18:39.687Z] Removing intermediate container 04a6dda0e8f0 [2022-12-19T03:18:39.687Z] ---> d58e8e5c09a4 [2022-12-19T03:18:39.687Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-19T03:18:39.687Z] Successfully built d58e8e5c09a4 [2022-12-19T03:18:39.687Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:18:40.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T03:18:40.534Z] [2022-12-19T03:18:40.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:18:40.982Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T03:18:40.982Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-19T03:18:40.982Z] 8998bd30e6a1: Pulling fs layer [2022-12-19T03:18:40.982Z] 04944245beec: Pulling fs layer [2022-12-19T03:18:40.982Z] 699f458cf7ca: Pulling fs layer [2022-12-19T03:18:40.982Z] 765212b225bb: Pulling fs layer [2022-12-19T03:18:40.982Z] f23df028b6ca: Pulling fs layer [2022-12-19T03:18:40.982Z] d65c8cfc05b1: Pulling fs layer [2022-12-19T03:18:40.982Z] 2437ff75d9bd: Pulling fs layer [2022-12-19T03:18:40.982Z] 765212b225bb: Waiting [2022-12-19T03:18:40.982Z] f23df028b6ca: Waiting [2022-12-19T03:18:40.982Z] d65c8cfc05b1: Waiting [2022-12-19T03:18:40.982Z] 2437ff75d9bd: Waiting [2022-12-19T03:18:41.269Z] 04944245beec: Verifying Checksum [2022-12-19T03:18:41.269Z] 04944245beec: Download complete [2022-12-19T03:18:41.269Z] 765212b225bb: Verifying Checksum [2022-12-19T03:18:41.269Z] 765212b225bb: Download complete [2022-12-19T03:18:41.269Z] f23df028b6ca: Verifying Checksum [2022-12-19T03:18:41.269Z] f23df028b6ca: Download complete [2022-12-19T03:18:41.269Z] d65c8cfc05b1: Verifying Checksum [2022-12-19T03:18:41.269Z] d65c8cfc05b1: Download complete [2022-12-19T03:18:41.549Z] 699f458cf7ca: Verifying Checksum [2022-12-19T03:18:41.550Z] 699f458cf7ca: Download complete [2022-12-19T03:18:41.832Z] 8998bd30e6a1: Verifying Checksum [2022-12-19T03:18:41.832Z] 8998bd30e6a1: Download complete [2022-12-19T03:18:44.473Z] 2437ff75d9bd: Verifying Checksum [2022-12-19T03:18:44.473Z] 2437ff75d9bd: Download complete [2022-12-19T03:18:45.887Z] 8998bd30e6a1: Pull complete [2022-12-19T03:18:46.474Z] 04944245beec: Pull complete [2022-12-19T03:18:47.891Z] 699f458cf7ca: Pull complete [2022-12-19T03:18:48.159Z] 765212b225bb: Pull complete [2022-12-19T03:18:48.747Z] f23df028b6ca: Pull complete [2022-12-19T03:18:49.014Z] d65c8cfc05b1: Pull complete [2022-12-19T03:19:04.021Z] 2437ff75d9bd: Pull complete [2022-12-19T03:19:04.021Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-19T03:19:04.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T03:19:04.021Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:19:04.339Z] prd-ubuntu20.04-docker-arm64-4c-16g-135 does not seem to be running inside a container [2022-12-19T03:19:04.406Z] $ 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 [2022-12-19T03:19:09.761Z] $ docker top e008a90d930eb3d6cd4a346fa8b842a2147905fb4ba77bd03d0eda1ad2cfae08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:19:10.673Z] ---> job-cost.sh [2022-12-19T03:19:10.673Z] lf-activate-venv: SKIPPING [2022-12-19T03:19:10.673Z] INFO: No Stack... [2022-12-19T03:19:11.258Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-19T03:19:11.844Z] INFO: Archiving Costs [Pipeline] sh [2022-12-19T03:19:12.770Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-12-19T03:19:12.770Z] + cut -d, -f6 [Pipeline] lock [2022-12-19T03:19:12.865Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-200-1-stack-cost] [2022-12-19T03:19:12.870Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-200-1-stack-cost] did not exist. Created. [2022-12-19T03:19:12.870Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-200-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-19T03:19:13.595Z] /w/workspace/device-onvif-camera/1@tmp/durable-01350aa0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-19T03:19:14.286Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-19T03:19:14.319Z] Warning: overwriting stash ‘stack-cost’ [2022-12-19T03:19:14.392Z] Stashed 1 file(s) [Pipeline] } [2022-12-19T03:19:14.407Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-200-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-19T03:19:14.481Z] $ docker stop --time=1 e008a90d930eb3d6cd4a346fa8b842a2147905fb4ba77bd03d0eda1ad2cfae08 [2022-12-19T03:19:15.993Z] $ docker rm -f --volumes e008a90d930eb3d6cd4a346fa8b842a2147905fb4ba77bd03d0eda1ad2cfae08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-12-19T03:19:17.052Z] provisioning config files... [2022-12-19T03:19:17.060Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-200@tmp/config17337322828967835401tmp [Pipeline] { [Pipeline] sh [2022-12-19T03:19:17.388Z] + set +x [2022-12-19T03:19:17.388Z] + bash -s -- [2022-12-19T03:19:17.388Z] + curl -s https://codecov.io/bash [2022-12-19T03:19:17.388Z] [2022-12-19T03:19:17.388Z] _____ _ [2022-12-19T03:19:17.388Z] / ____| | | [2022-12-19T03:19:17.388Z] | | ___ __| | ___ ___ _____ __ [2022-12-19T03:19:17.388Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-19T03:19:17.388Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-19T03:19:17.388Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-19T03:19:17.388Z] Bash-1.0.6 [2022-12-19T03:19:17.388Z] [2022-12-19T03:19:17.388Z] [2022-12-19T03:19:17.388Z] ==> git version 2.25.1 found [2022-12-19T03:19:17.388Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-12-19T03:19:17.388Z] Release-Date: 2020-01-08 [2022-12-19T03:19:17.388Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-12-19T03:19:17.388Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-19T03:19:17.388Z] ==> Jenkins CI detected. [2022-12-19T03:19:17.388Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-200 [2022-12-19T03:19:17.388Z] project root: . [2022-12-19T03:19:17.388Z] --> token set from env [2022-12-19T03:19:17.388Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-19T03:19:17.388Z] ==> Running gcov in . (disable via -X gcov) [2022-12-19T03:19:17.388Z] ==> Python coveragepy not found [2022-12-19T03:19:17.388Z] ==> Searching for coverage reports in: [2022-12-19T03:19:17.388Z] + . [2022-12-19T03:19:17.388Z] -> Found 1 reports [2022-12-19T03:19:17.388Z] ==> Detecting git/mercurial file structure [2022-12-19T03:19:17.388Z] ==> Reading reports [2022-12-19T03:19:17.647Z] + ./coverage.out bytes=79184 [2022-12-19T03:19:17.647Z] ==> Appending adjustments [2022-12-19T03:19:17.647Z] https://docs.codecov.io/docs/fixing-reports [2022-12-19T03:19:17.647Z] + Found adjustments [2022-12-19T03:19:17.647Z] ==> Gzipping contents [2022-12-19T03:19:17.647Z] 12K /tmp/codecov.lRw7Ju.gz [2022-12-19T03:19:17.647Z] ==> Uploading reports [2022-12-19T03:19:17.647Z] url: https://codecov.io [2022-12-19T03:19:17.647Z] query: branch=PR-200&commit=e100ac3af26a9fe30f166cd4c69fecf1cc6bf406&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-200%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=200&job=&cmd_args= [2022-12-19T03:19:17.647Z] -> Pinging Codecov [2022-12-19T03:19:17.647Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-200&commit=e100ac3af26a9fe30f166cd4c69fecf1cc6bf406&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-200%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=200&job=&cmd_args= [2022-12-19T03:19:18.214Z] -> Uploading to [2022-12-19T03:19:18.214Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-19/F29A59C45E3A92E06B3E522C9905F8EF/e100ac3af26a9fe30f166cd4c69fecf1cc6bf406/16e1396a-f66d-4add-9cf2-5722b980a79d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221219T031917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ef4221c726f77669c6d2c22f77fc5fb76350c4d6d1495e5bdd83d301498ac0a [2022-12-19T03:19:18.214Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-19T03:19:18.214Z] Dload Upload Total Spent Left Speed [2022-12-19T03:19:18.214Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10896 0 0 100 10896 0 49527 --:--:-- --:--:-- --:--:-- 49303 100 10896 0 0 100 10896 0 49527 --:--:-- --:--:-- --:--:-- 49303 [2022-12-19T03:19:18.214Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e100ac3af26a9fe30f166cd4c69fecf1cc6bf406 [Pipeline] } [2022-12-19T03:19:18.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-12-19T03:19:19.897Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-200/archives ] [2022-12-19T03:19:19.898Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-200/archives [2022-12-19T03:19:19.898Z] total 16 [2022-12-19T03:19:19.898Z] drwxr-xr-x 3 root root 4096 Dec 19 03:11 . [2022-12-19T03:19:19.898Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 03:11 .. [2022-12-19T03:19:19.898Z] drwxr-xr-x 2 root root 4096 Dec 19 03:11 cost [2022-12-19T03:19:19.898Z] -rw-r--r-- 1 root root 91 Dec 19 03:11 cost.csv [2022-12-19T03:19:19.898Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-200/archives [2022-12-19T03:19:19.898Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-200/archives [2022-12-19T03:19:19.898Z] total 16 [2022-12-19T03:19:19.898Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 03:11 . [2022-12-19T03:19:19.898Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 03:11 .. [2022-12-19T03:19:19.898Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 19 03:11 cost [2022-12-19T03:19:19.898Z] -rw-r--r-- 1 jenkins jenkins 91 Dec 19 03:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:19:20.224Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:19:21.110Z] ---> package-listing.sh [2022-12-19T03:19:21.110Z] ++ facter osfamily [2022-12-19T03:19:21.110Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-19T03:19:21.368Z] + OS_FAMILY=debian [2022-12-19T03:19:21.369Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-200 [2022-12-19T03:19:21.369Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-19T03:19:21.369Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-19T03:19:21.369Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-19T03:19:21.369Z] + PACKAGES=/tmp/packages_start.txt [2022-12-19T03:19:21.369Z] + '[' /w/workspace/undry_device-onvif-camera_PR-200 ']' [2022-12-19T03:19:21.369Z] + PACKAGES=/tmp/packages_end.txt [2022-12-19T03:19:21.369Z] + case "${OS_FAMILY}" in [2022-12-19T03:19:21.369Z] + dpkg -l [2022-12-19T03:19:21.369Z] + grep '^ii' [2022-12-19T03:19:21.369Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-19T03:19:21.369Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-19T03:19:21.369Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-19T03:19:21.369Z] + '[' /w/workspace/undry_device-onvif-camera_PR-200 ']' [2022-12-19T03:19:21.369Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-200/archives/ [2022-12-19T03:19:21.369Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-200/archives/ [Pipeline] echo [2022-12-19T03:19:21.402Z] 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-200/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-19T03:19:21.698Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:19:22.326Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T03:19:22.326Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:19:22.486Z] prd-ubuntu20.04-docker-8c-8g-133 does not seem to be running inside a container [2022-12-19T03:19:22.515Z] $ 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-200/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-200 -v /w/workspace/undry_device-onvif-camera_PR-200:/w/workspace/undry_device-onvif-camera_PR-200:rw,z -v /w/workspace/undry_device-onvif-camera_PR-200@tmp:/w/workspace/undry_device-onvif-camera_PR-200@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-19T03:19:22.752Z] $ docker top 1af3fdc0fde55ddff783e46fca37ae347378c4847d88a8a5e87436015296385a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T03:19:23.139Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-19T03:19:23.448Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-19T03:19:23.754Z] + ls /var/log/sa-host [2022-12-19T03:19:23.754Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T03:19:23.988Z] provisioning config files... [2022-12-19T03:19:23.997Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-200@tmp/config232343382279435802tmp [Pipeline] { [Pipeline] echo [2022-12-19T03:19:24.041Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:19:24.352Z] ---> create-netrc.sh [Pipeline] } [2022-12-19T03:19:24.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:19:24.784Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-19T03:19:24.813Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:19:25.123Z] ---> sudo-logs.sh [2022-12-19T03:19:25.123Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-19T03:19:25.199Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:19:25.506Z] ---> job-cost.sh [2022-12-19T03:19:25.506Z] lf-activate-venv: SKIPPING [2022-12-19T03:19:25.506Z] DEBUG: total: 0.2199999988079071 [2022-12-19T03:19:25.506Z] INFO: Retrieving Stack Cost... [2022-12-19T03:19:26.071Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-19T03:19:26.330Z] INFO: Archiving Costs [Pipeline] echo [2022-12-19T03:19:26.363Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:19:26.670Z] ---> logs-deploy.sh [2022-12-19T03:19:26.670Z] lf-activate-venv: SKIPPING [2022-12-19T03:19:26.670Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-200/1 [2022-12-19T03:19:26.670Z] INFO: archiving workspace using pattern(s): [2022-12-19T03:19:27.605Z] Archives upload complete. [2022-12-19T03:19:27.605Z] INFO: archiving logs to Nexus