Pull request #201 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 057dd29b7858ebdc8c4b73203abc2d61eb719729+4eac92da5dfc23f9865ece6d9684c74467a8de72 (6e041b315dd37af541e2bfa958239da0a2d49bd9) 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-ssh5034031076502173167.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-ssh16950100417213099010.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-201/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-201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1386720426942296737.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-201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8918856512911325211.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-ssh18371965419021087340.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-201/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-201/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh830985030103041449.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-134 in /w/workspace/undry_device-onvif-camera_PR-201 [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-201 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4eac92da5dfc23f9865ece6d9684c74467a8de72 into PR head commit 057dd29b7858ebdc8c4b73203abc2d61eb719729 Merge succeeded, producing 057dd29b7858ebdc8c4b73203abc2d61eb719729 Checking out Revision 057dd29b7858ebdc8c4b73203abc2d61eb719729 (PR-201) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/201/head:refs/remotes/origin/PR-201 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 057dd29b7858ebdc8c4b73203abc2d61eb719729 # 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 057dd29b7858ebdc8c4b73203abc2d61eb719729 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-19T03:10:07.668Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-19T03:10:07.864Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-19T03:10:07.971Z] ========================================================= [2022-12-19T03:10:07.971Z] EdgeX Global Pipelines Version Info [2022-12-19T03:10:07.971Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:10:08.731Z] ------------------- [2022-12-19T03:10:08.731Z] stable info: [2022-12-19T03:10:08.731Z] ------------------- [2022-12-19T03:10:08.731Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-19T03:10:08.731Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-19T03:10:08.731Z] Message: update stable to v1.0.244 [2022-12-19T03:10:09.307Z] ------------------- [2022-12-19T03:10:09.307Z] experimental info: [2022-12-19T03:10:09.307Z] ------------------- [2022-12-19T03:10:09.307Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-19T03:10:09.307Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-19T03:10:09.307Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-19T03:10:09.623Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-12-19T03:10:09.669Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-12-19T03:10:09.727Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-19T03:10:09.776Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-19T03:10:09.826Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-19T03:10:09.878Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-19T03:10:09.930Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-19T03:10:09.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-19T03:10:10.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-19T03:10:10.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-19T03:10:10.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-19T03:10:10.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-12-19T03:10:10.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-19T03:10:10.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-19T03:10:10.315Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-19T03:10:10.362Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-19T03:10:10.408Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-19T03:10:10.448Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-19T03:10:10.491Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-19T03:10:10.534Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-19T03:10:10.581Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-12-19T03:10:10.626Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-12-19T03:10:10.677Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-19T03:10:10.723Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-19T03:10:10.767Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-19T03:10:10.814Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-19T03:10:10.856Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-19T03:10:10.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-201 [Pipeline] echo [2022-12-19T03:10:10.949Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-201 [Pipeline] echo [2022-12-19T03:10:10.987Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-201 [Pipeline] echo [2022-12-19T03:10:11.028Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 057dd29b7858ebdc8c4b73203abc2d61eb719729 [Pipeline] echo [2022-12-19T03:10:11.080Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 057dd29 [Pipeline] echo [2022-12-19T03:10:11.135Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T03:10:11.261Z] provisioning config files... [2022-12-19T03:10:11.280Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-201@tmp/config1716771718618015892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:10:11.621Z] ---> docker-login.sh [2022-12-19T03:10:11.621Z] nexus3.edgexfoundry.org:10001 [2022-12-19T03:10:11.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:10:11.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:10:11.882Z] Configure a credential helper to remove this warning. See [2022-12-19T03:10:11.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:10:11.882Z] [2022-12-19T03:10:11.882Z] Login Succeeded [2022-12-19T03:10:11.882Z] nexus3.edgexfoundry.org:10002 [2022-12-19T03:10:11.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:10:11.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:10:11.882Z] Configure a credential helper to remove this warning. See [2022-12-19T03:10:11.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:10:11.882Z] [2022-12-19T03:10:11.882Z] Login Succeeded [2022-12-19T03:10:11.882Z] nexus3.edgexfoundry.org:10003 [2022-12-19T03:10:12.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:10:12.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:10:12.143Z] Configure a credential helper to remove this warning. See [2022-12-19T03:10:12.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:10:12.143Z] [2022-12-19T03:10:12.143Z] Login Succeeded [2022-12-19T03:10:12.143Z] nexus3.edgexfoundry.org:10004 [2022-12-19T03:10:12.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:10:12.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:10:12.143Z] Configure a credential helper to remove this warning. See [2022-12-19T03:10:12.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:10:12.143Z] [2022-12-19T03:10:12.143Z] Login Succeeded [2022-12-19T03:10:12.143Z] docker.io [2022-12-19T03:10:12.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:10:12.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:10:12.406Z] Configure a credential helper to remove this warning. See [2022-12-19T03:10:12.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:10:12.406Z] [2022-12-19T03:10:12.406Z] Login Succeeded [2022-12-19T03:10:12.666Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T03:10:12.691Z] 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:10:13.350Z] + git rev-list -1 --merges 057dd29b7858ebdc8c4b73203abc2d61eb719729~1..057dd29b7858ebdc8c4b73203abc2d61eb719729 [Pipeline] echo [2022-12-19T03:10:13.419Z] -----------> git rev-list -1 --merges 057dd29b7858ebdc8c4b73203abc2d61eb719729~1..057dd29b7858ebdc8c4b73203abc2d61eb719729 057dd29b7858ebdc8c4b73203abc2d61eb719729 [false] [Pipeline] sh [2022-12-19T03:10:13.732Z] + git log --format=format:%s -1 057dd29b7858ebdc8c4b73203abc2d61eb719729 [Pipeline] echo [2022-12-19T03:10:13.768Z] ========================================================= [2022-12-19T03:10:13.768Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-19T03:10:13.768Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T03:10:14.229Z] + git log --format=format:%s -1 057dd29b7858ebdc8c4b73203abc2d61eb719729 [Pipeline] echo [2022-12-19T03:10:14.263Z] [semverPrep] GIT_COMMIT: 057dd29b7858ebdc8c4b73203abc2d61eb719729, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2022-12-19T03:10:14.292Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-19T03:10:14.670Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-19T03:10:14.670Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-19T03:10:14.670Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-19T03:10:14.670Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-19T03:10:14.670Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-19T03:10:14.670Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-19T03:10:14.670Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:10:15.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T03:10:15.120Z] [2022-12-19T03:10:15.120Z] 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:10:15.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T03:10:15.503Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-19T03:10:15.503Z] b85a868b505f: Pulling fs layer [2022-12-19T03:10:15.503Z] e2be974225ed: Pulling fs layer [2022-12-19T03:10:15.503Z] 339a4e72a1f5: Pulling fs layer [2022-12-19T03:10:15.503Z] 988bab9f4d93: Pulling fs layer [2022-12-19T03:10:15.503Z] 1469e6f7b9e6: Pulling fs layer [2022-12-19T03:10:15.503Z] eaf3925da568: Pulling fs layer [2022-12-19T03:10:15.503Z] bab4dde63d76: Pulling fs layer [2022-12-19T03:10:15.503Z] bde34c3a00c8: Pulling fs layer [2022-12-19T03:10:15.503Z] b352a97aabf1: Pulling fs layer [2022-12-19T03:10:15.503Z] 4872d77fe225: Pulling fs layer [2022-12-19T03:10:15.503Z] 5851b861e8e6: Pulling fs layer [2022-12-19T03:10:15.503Z] 1469e6f7b9e6: Waiting [2022-12-19T03:10:15.503Z] eaf3925da568: Waiting [2022-12-19T03:10:15.503Z] b352a97aabf1: Waiting [2022-12-19T03:10:15.503Z] 4872d77fe225: Waiting [2022-12-19T03:10:15.503Z] 5851b861e8e6: Waiting [2022-12-19T03:10:15.503Z] bde34c3a00c8: Waiting [2022-12-19T03:10:15.503Z] bab4dde63d76: Waiting [2022-12-19T03:10:15.503Z] 988bab9f4d93: Waiting [2022-12-19T03:10:15.503Z] e2be974225ed: Verifying Checksum [2022-12-19T03:10:15.503Z] e2be974225ed: Download complete [2022-12-19T03:10:15.503Z] 988bab9f4d93: Verifying Checksum [2022-12-19T03:10:15.503Z] 988bab9f4d93: Download complete [2022-12-19T03:10:15.764Z] 1469e6f7b9e6: Verifying Checksum [2022-12-19T03:10:15.764Z] 1469e6f7b9e6: Download complete [2022-12-19T03:10:15.764Z] 339a4e72a1f5: Verifying Checksum [2022-12-19T03:10:15.764Z] 339a4e72a1f5: Download complete [2022-12-19T03:10:15.764Z] eaf3925da568: Verifying Checksum [2022-12-19T03:10:15.764Z] eaf3925da568: Download complete [2022-12-19T03:10:15.764Z] bde34c3a00c8: Download complete [2022-12-19T03:10:15.764Z] b352a97aabf1: Download complete [2022-12-19T03:10:15.764Z] 4872d77fe225: Download complete [2022-12-19T03:10:15.764Z] 5851b861e8e6: Verifying Checksum [2022-12-19T03:10:15.764Z] 5851b861e8e6: Download complete [2022-12-19T03:10:15.764Z] b85a868b505f: Verifying Checksum [2022-12-19T03:10:15.764Z] b85a868b505f: Download complete [2022-12-19T03:10:16.025Z] bab4dde63d76: Verifying Checksum [2022-12-19T03:10:16.025Z] bab4dde63d76: Download complete [2022-12-19T03:10:16.957Z] b85a868b505f: Pull complete [2022-12-19T03:10:17.216Z] e2be974225ed: Pull complete [2022-12-19T03:10:17.785Z] 339a4e72a1f5: Pull complete [2022-12-19T03:10:17.785Z] 988bab9f4d93: Pull complete [2022-12-19T03:10:18.045Z] 1469e6f7b9e6: Pull complete [2022-12-19T03:10:18.303Z] eaf3925da568: Pull complete [2022-12-19T03:10:20.204Z] bab4dde63d76: Pull complete [2022-12-19T03:10:20.204Z] bde34c3a00c8: Pull complete [2022-12-19T03:10:20.204Z] b352a97aabf1: Pull complete [2022-12-19T03:10:20.204Z] 4872d77fe225: Pull complete [2022-12-19T03:10:20.204Z] 5851b861e8e6: Pull complete [2022-12-19T03:10:20.204Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-19T03:10:20.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T03:10:20.465Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:10:20.678Z] prd-ubuntu20.04-docker-8c-8g-134 does not seem to be running inside a container [2022-12-19T03:10:20.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-201 -v /w/workspace/undry_device-onvif-camera_PR-201:/w/workspace/undry_device-onvif-camera_PR-201:rw,z -v /w/workspace/undry_device-onvif-camera_PR-201@tmp:/w/workspace/undry_device-onvif-camera_PR-201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-19T03:10:23.909Z] $ docker top f44e1e19e76dd91c01fa11dbf2513eaacebef01e9eae9da21352f54fab4cdb2f -eo pid,comm [2022-12-19T03:10:23.967Z] 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:10:23.967Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-19T03:10:24.091Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T03:10:24.091Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T03:10:24.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T03:10:24.208Z] $ docker exec f44e1e19e76dd91c01fa11dbf2513eaacebef01e9eae9da21352f54fab4cdb2f ssh-agent [2022-12-19T03:10:24.318Z] SSH_AUTH_SOCK=/tmp/ssh-hVTK7gZJfcQ4/agent.31 [2022-12-19T03:10:24.318Z] SSH_AGENT_PID=37 [2022-12-19T03:10:24.324Z] Running ssh-add (command line suppressed) [2022-12-19T03:10:24.409Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-201@tmp/private_key_14282378254951648731.key (/w/workspace/undry_device-onvif-camera_PR-201@tmp/private_key_14282378254951648731.key) [2022-12-19T03:10:24.425Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T03:10:24.757Z] + git tag --points-at HEAD [Pipeline] } [2022-12-19T03:10:24.779Z] $ docker exec --env ******** --env ******** f44e1e19e76dd91c01fa11dbf2513eaacebef01e9eae9da21352f54fab4cdb2f ssh-agent -k [2022-12-19T03:10:24.886Z] unset SSH_AUTH_SOCK; [2022-12-19T03:10:24.886Z] unset SSH_AGENT_PID; [2022-12-19T03:10:24.887Z] echo Agent pid 37 killed; [2022-12-19T03:10:24.901Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-19T03:10:24.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T03:10:24.990Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T03:10:25.106Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T03:10:25.104Z] $ docker exec f44e1e19e76dd91c01fa11dbf2513eaacebef01e9eae9da21352f54fab4cdb2f ssh-agent [2022-12-19T03:10:25.212Z] SSH_AUTH_SOCK=/tmp/ssh-HTcn7ehMHCv9/agent.69 [2022-12-19T03:10:25.213Z] SSH_AGENT_PID=75 [2022-12-19T03:10:25.217Z] Running ssh-add (command line suppressed) [2022-12-19T03:10:25.308Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-201@tmp/private_key_695463348207967701.key (/w/workspace/undry_device-onvif-camera_PR-201@tmp/private_key_695463348207967701.key) [2022-12-19T03:10:25.325Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T03:10:25.653Z] + git semver init [2022-12-19T03:10:25.911Z] 2022-12-19 03:10:25,821 [run_init] DEBUG init version:0.0.0 force:False [2022-12-19T03:10:25.911Z] 2022-12-19 03:10:25,822 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-201/.semver [2022-12-19T03:10:25.911Z] 2022-12-19 03:10:25,823 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-201/.semver [2022-12-19T03:10:25.911Z] 2022-12-19 03:10:25,823 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-201/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-201, universal_newlines=False, shell=None, istream=None) [2022-12-19T03:10:27.296Z] 2022-12-19 03:10:26,870 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-201/.git/info/exclude [2022-12-19T03:10:27.296Z] 2022-12-19 03:10:26,871 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-201/.semver/PR-201 with force:False [2022-12-19T03:10:27.296Z] 2022-12-19 03:10:26,871 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-201/.semver/PR-201 [2022-12-19T03:10:27.296Z] 2022-12-19 03:10:26,875 [execute] INFO git cat-file --batch-check [2022-12-19T03:10:27.296Z] 2022-12-19 03:10:26,876 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-201/.semver, universal_newlines=False, shell=None, istream=) [2022-12-19T03:10:27.296Z] 2022-12-19 03:10:26,882 [execute] INFO git cat-file --batch [2022-12-19T03:10:27.296Z] 2022-12-19 03:10:26,883 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-201/.semver, universal_newlines=False, shell=None, istream=) [2022-12-19T03:10:27.296Z] 2022-12-19 03:10:26,889 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-201/.semver/PR-201 [2022-12-19T03:10:27.296Z] 0.0.0 [Pipeline] } [2022-12-19T03:10:27.319Z] $ docker exec --env ******** --env ******** f44e1e19e76dd91c01fa11dbf2513eaacebef01e9eae9da21352f54fab4cdb2f ssh-agent -k [2022-12-19T03:10:27.420Z] unset SSH_AUTH_SOCK; [2022-12-19T03:10:27.420Z] unset SSH_AGENT_PID; [2022-12-19T03:10:27.421Z] echo Agent pid 75 killed; [2022-12-19T03:10:27.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-19T03:10:27.875Z] + git semver [Pipeline] } [2022-12-19T03:10:28.154Z] $ docker stop --time=1 f44e1e19e76dd91c01fa11dbf2513eaacebef01e9eae9da21352f54fab4cdb2f [2022-12-19T03:10:29.417Z] $ docker rm -f --volumes f44e1e19e76dd91c01fa11dbf2513eaacebef01e9eae9da21352f54fab4cdb2f [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T03:10:29.809Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-19T03:10:30.088Z] Stashed 1 file(s) [Pipeline] echo [2022-12-19T03:10:30.106Z] [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:10:30.699Z] provisioning config files... [2022-12-19T03:10:30.709Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-201@tmp/config15730372185187960134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:10:31.060Z] ---> docker-login.sh [2022-12-19T03:10:31.060Z] nexus3.edgexfoundry.org:10001 [2022-12-19T03:10:31.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:10:31.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:10:31.060Z] Configure a credential helper to remove this warning. See [2022-12-19T03:10:31.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:10:31.060Z] [2022-12-19T03:10:31.060Z] Login Succeeded [2022-12-19T03:10:31.060Z] nexus3.edgexfoundry.org:10002 [2022-12-19T03:10:31.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:10:31.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:10:31.060Z] Configure a credential helper to remove this warning. See [2022-12-19T03:10:31.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:10:31.060Z] [2022-12-19T03:10:31.060Z] Login Succeeded [2022-12-19T03:10:31.060Z] nexus3.edgexfoundry.org:10003 [2022-12-19T03:10:31.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:10:31.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:10:31.318Z] Configure a credential helper to remove this warning. See [2022-12-19T03:10:31.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:10:31.319Z] [2022-12-19T03:10:31.319Z] Login Succeeded [2022-12-19T03:10:31.319Z] nexus3.edgexfoundry.org:10004 [2022-12-19T03:10:31.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:10:31.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:10:31.319Z] Configure a credential helper to remove this warning. See [2022-12-19T03:10:31.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:10:31.319Z] [2022-12-19T03:10:31.319Z] Login Succeeded [2022-12-19T03:10:31.319Z] docker.io [2022-12-19T03:10:31.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:10:31.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:10:31.577Z] Configure a credential helper to remove this warning. See [2022-12-19T03:10:31.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:10:31.577Z] [2022-12-19T03:10:31.577Z] Login Succeeded [2022-12-19T03:10:31.577Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T03:10:31.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-19T03:10:31.798Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T03:10:31.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T03:10:31.877Z] ========================================================= [2022-12-19T03:10:31.877Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-19T03:10:31.877Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:10:32.350Z] + 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:10:32.350Z] Sending build context to Docker daemon 27.66MB [2022-12-19T03:10:32.350Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T03:10:32.350Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-19T03:10:32.614Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-19T03:10:32.614Z] 213ec9aee27d: Pulling fs layer [2022-12-19T03:10:32.614Z] 4583459ba037: Pulling fs layer [2022-12-19T03:10:32.614Z] 93c1e223e6f2: Pulling fs layer [2022-12-19T03:10:32.614Z] 53926ce57604: Pulling fs layer [2022-12-19T03:10:32.614Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-19T03:10:32.614Z] 22ff95d597cd: Pulling fs layer [2022-12-19T03:10:32.614Z] 12d6caf4c0d1: Pulling fs layer [2022-12-19T03:10:32.614Z] 96b7cbca73a9: Pulling fs layer [2022-12-19T03:10:32.614Z] a7acece74701: Pulling fs layer [2022-12-19T03:10:32.614Z] 21b2b0c7a3f4: Waiting [2022-12-19T03:10:32.614Z] 22ff95d597cd: Waiting [2022-12-19T03:10:32.614Z] 53926ce57604: Waiting [2022-12-19T03:10:32.614Z] 12d6caf4c0d1: Waiting [2022-12-19T03:10:32.614Z] 96b7cbca73a9: Waiting [2022-12-19T03:10:32.614Z] 93c1e223e6f2: Download complete [2022-12-19T03:10:32.614Z] 4583459ba037: Verifying Checksum [2022-12-19T03:10:32.614Z] 4583459ba037: Download complete [2022-12-19T03:10:32.614Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-19T03:10:32.614Z] 21b2b0c7a3f4: Download complete [2022-12-19T03:10:32.614Z] 22ff95d597cd: Download complete [2022-12-19T03:10:32.614Z] 213ec9aee27d: Verifying Checksum [2022-12-19T03:10:32.614Z] 213ec9aee27d: Download complete [2022-12-19T03:10:32.614Z] 12d6caf4c0d1: Verifying Checksum [2022-12-19T03:10:32.614Z] 12d6caf4c0d1: Download complete [2022-12-19T03:10:32.886Z] 213ec9aee27d: Pull complete [2022-12-19T03:10:32.886Z] 4583459ba037: Pull complete [2022-12-19T03:10:33.159Z] 93c1e223e6f2: Pull complete [2022-12-19T03:10:33.439Z] a7acece74701: Download complete [2022-12-19T03:10:33.707Z] 96b7cbca73a9: Verifying Checksum [2022-12-19T03:10:33.707Z] 96b7cbca73a9: Download complete [2022-12-19T03:10:33.707Z] 53926ce57604: Verifying Checksum [2022-12-19T03:10:33.707Z] 53926ce57604: Download complete [2022-12-19T03:10:37.903Z] 53926ce57604: Pull complete [2022-12-19T03:10:37.903Z] 21b2b0c7a3f4: Pull complete [2022-12-19T03:10:37.903Z] 22ff95d597cd: Pull complete [2022-12-19T03:10:37.903Z] 12d6caf4c0d1: Pull complete [2022-12-19T03:10:39.802Z] 96b7cbca73a9: Pull complete [2022-12-19T03:10:40.368Z] a7acece74701: Pull complete [2022-12-19T03:10:40.368Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-19T03:10:40.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-19T03:10:40.368Z] ---> db6d94c90886 [2022-12-19T03:10:40.368Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-19T03:10:44.580Z] ---> Running in 6687f8579694 [2022-12-19T03:10:44.580Z] Removing intermediate container 6687f8579694 [2022-12-19T03:10:44.580Z] ---> c536bc517ac9 [2022-12-19T03:10:44.580Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T03:10:44.580Z] ---> Running in 7ce5e6be2fed [2022-12-19T03:10:44.580Z] Removing intermediate container 7ce5e6be2fed [2022-12-19T03:10:44.580Z] ---> 4f0a1fa00c20 [2022-12-19T03:10:44.580Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T03:10:44.580Z] ---> Running in 72ac5a9bd438 [2022-12-19T03:10:44.580Z] Removing intermediate container 72ac5a9bd438 [2022-12-19T03:10:44.580Z] ---> f5e3a8edfaa6 [2022-12-19T03:10:44.580Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T03:10:44.838Z] ---> Running in 1a121f5eff00 [2022-12-19T03:10:44.838Z] Removing intermediate container 1a121f5eff00 [2022-12-19T03:10:44.838Z] ---> 9abde70ae403 [2022-12-19T03:10:44.838Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-12-19T03:10:44.838Z] ---> Running in 8f3495f12eb8 [2022-12-19T03:10:44.838Z] Removing intermediate container 8f3495f12eb8 [2022-12-19T03:10:44.838Z] ---> 823cec5fce85 [2022-12-19T03:10:44.838Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T03:10:44.838Z] ---> Running in 202392f1a7ba [2022-12-19T03:10:45.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T03:10:45.357Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T03:10:45.505Z] Still waiting to schedule task [2022-12-19T03:10:45.505Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-135’ is offline [2022-12-19T03:10:45.616Z] OK: 211 MiB in 51 packages [2022-12-19T03:10:45.879Z] Removing intermediate container 202392f1a7ba [2022-12-19T03:10:45.879Z] ---> 1bde7d9febb4 [2022-12-19T03:10:45.879Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-12-19T03:10:45.879Z] ---> Running in 74a5d9df3fa1 [2022-12-19T03:10:45.879Z] Removing intermediate container 74a5d9df3fa1 [2022-12-19T03:10:45.879Z] ---> 8d0a82b68517 [2022-12-19T03:10:45.879Z] Step 10/13 : COPY go.mod vendor* ./ [2022-12-19T03:10:46.137Z] ---> 03428cd995c2 [2022-12-19T03:10:46.137Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T03:10:46.137Z] ---> Running in 636251dfcb25 [2022-12-19T03:11:08.257Z] Removing intermediate container 636251dfcb25 [2022-12-19T03:11:08.257Z] ---> 983f92883ef7 [2022-12-19T03:11:08.257Z] Step 12/13 : COPY . . [2022-12-19T03:11:08.522Z] ---> 58e553458857 [2022-12-19T03:11:08.522Z] Step 13/13 : RUN ${MAKE} [2022-12-19T03:11:08.522Z] ---> Running in 1f7d2a8ce2aa [2022-12-19T03:11:08.784Z] noop [2022-12-19T03:11:09.043Z] Removing intermediate container 1f7d2a8ce2aa [2022-12-19T03:11:09.043Z] ---> 73b4775ae73f [2022-12-19T03:11:09.043Z] Successfully built 73b4775ae73f [2022-12-19T03:11:09.043Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:11:09.584Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-19T03:11:09.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:11:09.740Z] prd-ubuntu20.04-docker-8c-8g-134 does not seem to be running inside a container [2022-12-19T03:11:09.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-201 -v /w/workspace/undry_device-onvif-camera_PR-201:/w/workspace/undry_device-onvif-camera_PR-201:rw,z -v /w/workspace/undry_device-onvif-camera_PR-201@tmp:/w/workspace/undry_device-onvif-camera_PR-201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-19T03:11:10.127Z] $ docker top 4bf2257c640daaf97ba3c80fd038f66d4733154de60a8c8b3684cf06258ac565 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T03:11:10.510Z] + go version [2022-12-19T03:11:10.510Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-19T03:11:10.550Z] $ docker stop --time=1 4bf2257c640daaf97ba3c80fd038f66d4733154de60a8c8b3684cf06258ac565 [2022-12-19T03:11:11.826Z] $ docker rm -f --volumes 4bf2257c640daaf97ba3c80fd038f66d4733154de60a8c8b3684cf06258ac565 [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:11:12.562Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-19T03:11:12.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:11:12.716Z] prd-ubuntu20.04-docker-8c-8g-134 does not seem to be running inside a container [2022-12-19T03:11:12.754Z] $ 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-201 -v /w/workspace/undry_device-onvif-camera_PR-201:/w/workspace/undry_device-onvif-camera_PR-201:rw,z -v /w/workspace/undry_device-onvif-camera_PR-201@tmp:/w/workspace/undry_device-onvif-camera_PR-201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-19T03:11:13.073Z] $ docker top ccf2db2a3d58b5fd55628d7c14433438068b0a0dde8f6a43f759068a4485abae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T03:11:13.456Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-201 [Pipeline] fileExists [Pipeline] sh [2022-12-19T03:11:13.809Z] + make test [2022-12-19T03:11:13.810Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-19T03:11:14.065Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-12-19T03:11:24.027Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-12-19T03:11:27.314Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 29.3% of statements [2022-12-19T03:11:27.314Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-12-19T03:11:27.314Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.283s coverage: 86.5% of statements [2022-12-19T03:11:35.421Z] 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:11:35.421Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-19T03:11:37.944Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-19T03:11:37.944Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-19T03:11:37.944Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-19T03:11:37.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-19T03:11:38.016Z] $ docker stop --time=1 ccf2db2a3d58b5fd55628d7c14433438068b0a0dde8f6a43f759068a4485abae [2022-12-19T03:11:40.422Z] $ docker rm -f --volumes ccf2db2a3d58b5fd55628d7c14433438068b0a0dde8f6a43f759068a4485abae [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T03:11:40.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-19T03:11:41.000Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-19T03:11:41.651Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-19T03:11:41.965Z] + ls -al . [2022-12-19T03:11:41.965Z] total 248 [2022-12-19T03:11:41.965Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 03:11 . [2022-12-19T03:11:41.965Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 03:10 .. [2022-12-19T03:11:41.965Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 03:11 .git [2022-12-19T03:11:41.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 03:10 .github [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 496 Dec 19 03:10 .gitignore [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 19 03:10 .golangci.yml [2022-12-19T03:11:41.966Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 03:10 .semver [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 9742 Dec 19 03:10 Attribution.txt [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 6312 Dec 19 03:10 CHANGELOG.md [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 1637 Dec 19 03:10 Dockerfile [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 03:10 GOVERNANCE.md [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 734 Dec 19 03:10 Jenkinsfile [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 19 03:10 LICENSE [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 2858 Dec 19 03:10 Makefile [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 625 Dec 19 03:10 OWNERS.md [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 6595 Dec 19 03:10 README.md [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 03:10 VERSION [2022-12-19T03:11:41.966Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 03:10 bin [2022-12-19T03:11:41.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 03:10 cmd [2022-12-19T03:11:41.966Z] -rw-r--r-- 1 jenkins jenkins 79184 Dec 19 03:11 coverage.out [2022-12-19T03:11:41.966Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 19 03:10 doc [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 3688 Dec 19 03:10 go.mod [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 46249 Dec 19 03:10 go.sum [2022-12-19T03:11:41.966Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 03:10 internal [2022-12-19T03:11:41.966Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 03:10 snap [2022-12-19T03:11:41.966Z] -rw-rw-r-- 1 jenkins jenkins 236 Dec 19 03:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:11:42.374Z] + 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=057dd29b7858ebdc8c4b73203abc2d61eb719729 --label arch=amd64 --label version=0.0.0 . [2022-12-19T03:11:42.374Z] Sending build context to Docker daemon 27.74MB [2022-12-19T03:11:42.374Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T03:11:42.374Z] Step 2/26 : FROM ${BASE} AS builder [2022-12-19T03:11:42.374Z] ---> 73b4775ae73f [2022-12-19T03:11:42.374Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-12-19T03:11:42.944Z] ---> Running in 2532aaa6d494 [2022-12-19T03:11:42.944Z] Removing intermediate container 2532aaa6d494 [2022-12-19T03:11:42.944Z] ---> c0cce3443d3d [2022-12-19T03:11:42.944Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T03:11:42.944Z] ---> Running in ab3d9c2636cb [2022-12-19T03:11:42.944Z] Removing intermediate container ab3d9c2636cb [2022-12-19T03:11:42.944Z] ---> fde9b9015e24 [2022-12-19T03:11:42.944Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T03:11:42.944Z] ---> Running in f82fdd66a0ee [2022-12-19T03:11:42.944Z] Removing intermediate container f82fdd66a0ee [2022-12-19T03:11:42.944Z] ---> fb9863e7e199 [2022-12-19T03:11:42.944Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T03:11:43.203Z] ---> Running in ce48e2c0f241 [2022-12-19T03:11:43.203Z] Removing intermediate container ce48e2c0f241 [2022-12-19T03:11:43.203Z] ---> 215d2743ba72 [2022-12-19T03:11:43.203Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-12-19T03:11:43.203Z] ---> Running in 3e36f1e746cc [2022-12-19T03:11:43.203Z] Removing intermediate container 3e36f1e746cc [2022-12-19T03:11:43.203Z] ---> 779b1bb460bd [2022-12-19T03:11:43.203Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T03:11:43.203Z] ---> Running in 57ac117391d2 [2022-12-19T03:11:43.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T03:11:43.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T03:11:43.722Z] OK: 211 MiB in 51 packages [2022-12-19T03:11:44.288Z] Removing intermediate container 57ac117391d2 [2022-12-19T03:11:44.288Z] ---> 8ad2adca362d [2022-12-19T03:11:44.288Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-12-19T03:11:44.288Z] ---> Running in c44f064810ae [2022-12-19T03:11:44.288Z] Removing intermediate container c44f064810ae [2022-12-19T03:11:44.288Z] ---> 243623569c8c [2022-12-19T03:11:44.288Z] Step 10/26 : COPY go.mod vendor* ./ [2022-12-19T03:11:44.288Z] ---> 6b03ebac93b8 [2022-12-19T03:11:44.288Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T03:11:44.288Z] ---> Running in 011fb4a7e472 [2022-12-19T03:11:45.225Z] Removing intermediate container 011fb4a7e472 [2022-12-19T03:11:45.225Z] ---> 57ee515ab07f [2022-12-19T03:11:45.225Z] Step 12/26 : COPY . . [2022-12-19T03:11:45.792Z] ---> 80c92ea893e5 [2022-12-19T03:11:45.792Z] Step 13/26 : RUN ${MAKE} [2022-12-19T03:11:45.792Z] ---> Running in 0c1f03276aae [2022-12-19T03:11:46.051Z] 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.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-12-19T03:12:08.193Z] Removing intermediate container 0c1f03276aae [2022-12-19T03:12:08.193Z] ---> 607cc34f26c0 [2022-12-19T03:12:08.193Z] Step 14/26 : FROM alpine:3.16 [2022-12-19T03:12:08.193Z] 3.16: Pulling from library/alpine [2022-12-19T03:12:08.193Z] ca7dd9ec2225: Pulling fs layer [2022-12-19T03:12:08.193Z] ca7dd9ec2225: Verifying Checksum [2022-12-19T03:12:08.193Z] ca7dd9ec2225: Download complete [2022-12-19T03:12:08.193Z] ca7dd9ec2225: Pull complete [2022-12-19T03:12:08.193Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-19T03:12:08.193Z] Status: Downloaded newer image for alpine:3.16 [2022-12-19T03:12:08.193Z] ---> bfe296a52501 [2022-12-19T03:12:08.193Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-19T03:12:08.193Z] ---> Running in bb5ebd85d8bc [2022-12-19T03:12:08.193Z] Removing intermediate container bb5ebd85d8bc [2022-12-19T03:12:08.193Z] ---> 9a4b19759499 [2022-12-19T03:12:08.193Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-19T03:12:08.193Z] ---> Running in 5431392d662a [2022-12-19T03:12:08.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T03:12:08.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T03:12:08.979Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-19T03:12:08.979Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-19T03:12:08.979Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-19T03:12:08.979Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-19T03:12:08.979Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-19T03:12:08.979Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-19T03:12:08.979Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T03:12:08.979Z] OK: 8 MiB in 20 packages [2022-12-19T03:12:09.546Z] Removing intermediate container 5431392d662a [2022-12-19T03:12:09.546Z] ---> 461237a1ed2b [2022-12-19T03:12:09.546Z] Step 17/26 : WORKDIR / [2022-12-19T03:12:09.546Z] ---> Running in 8a7aa8724773 [2022-12-19T03:12:09.546Z] Removing intermediate container 8a7aa8724773 [2022-12-19T03:12:09.546Z] ---> ca1f80fbdb61 [2022-12-19T03:12:09.546Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-12-19T03:12:10.486Z] ---> d56f3837ed0c [2022-12-19T03:12:10.486Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-12-19T03:12:10.486Z] ---> 2a1c225972f8 [2022-12-19T03:12:10.486Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-12-19T03:12:10.486Z] ---> bf67dbcb953c [2022-12-19T03:12:10.486Z] Step 21/26 : EXPOSE 59984 [2022-12-19T03:12:10.486Z] ---> Running in a37286a8d83c [2022-12-19T03:12:10.486Z] Removing intermediate container a37286a8d83c [2022-12-19T03:12:10.486Z] ---> 4911fa1523d3 [2022-12-19T03:12:10.486Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-12-19T03:12:10.486Z] ---> Running in e5457aec8490 [2022-12-19T03:12:10.747Z] Removing intermediate container e5457aec8490 [2022-12-19T03:12:10.747Z] ---> ec28841904de [2022-12-19T03:12:10.747Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-19T03:12:10.747Z] ---> Running in d27936a02af9 [2022-12-19T03:12:10.747Z] Removing intermediate container d27936a02af9 [2022-12-19T03:12:10.747Z] ---> 319592d6ca53 [2022-12-19T03:12:10.747Z] Step 24/26 : LABEL arch=amd64 [2022-12-19T03:12:10.747Z] ---> Running in bcf688c0fb2b [2022-12-19T03:12:10.747Z] Removing intermediate container bcf688c0fb2b [2022-12-19T03:12:10.747Z] ---> 2ea764f8a961 [2022-12-19T03:12:10.747Z] Step 25/26 : LABEL git_sha=057dd29b7858ebdc8c4b73203abc2d61eb719729 [2022-12-19T03:12:10.747Z] ---> Running in fc9adffe3a7d [2022-12-19T03:12:11.006Z] Removing intermediate container fc9adffe3a7d [2022-12-19T03:12:11.006Z] ---> 3971c88b3d33 [2022-12-19T03:12:11.006Z] Step 26/26 : LABEL version=0.0.0 [2022-12-19T03:12:11.006Z] ---> Running in 42bb198f8b9b [2022-12-19T03:12:11.006Z] Removing intermediate container 42bb198f8b9b [2022-12-19T03:12:11.006Z] ---> 4f4e00ace679 [2022-12-19T03:12:11.006Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-19T03:12:11.006Z] Successfully built 4f4e00ace679 [2022-12-19T03:12:11.006Z] 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 [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:12:11.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T03:12:11.895Z] [2022-12-19T03:12:11.895Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:12:12.273Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T03:12:12.273Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-19T03:12:12.273Z] 5eb5b503b376: Pulling fs layer [2022-12-19T03:12:12.273Z] 5c69ac0246d0: Pulling fs layer [2022-12-19T03:12:12.273Z] ec43610c2a17: Pulling fs layer [2022-12-19T03:12:12.273Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-19T03:12:12.273Z] 33b1e0a273af: Pulling fs layer [2022-12-19T03:12:12.273Z] 5d3b04190fa2: Pulling fs layer [2022-12-19T03:12:12.273Z] 2f39f015ded8: Pulling fs layer [2022-12-19T03:12:12.273Z] 33b1e0a273af: Waiting [2022-12-19T03:12:12.273Z] 5d3b04190fa2: Waiting [2022-12-19T03:12:12.273Z] 2f39f015ded8: Waiting [2022-12-19T03:12:12.273Z] 3a2ae6a8a46f: Waiting [2022-12-19T03:12:12.273Z] 5c69ac0246d0: Download complete [2022-12-19T03:12:12.273Z] 3a2ae6a8a46f: Verifying Checksum [2022-12-19T03:12:12.273Z] 3a2ae6a8a46f: Download complete [2022-12-19T03:12:12.534Z] 33b1e0a273af: Verifying Checksum [2022-12-19T03:12:12.534Z] 33b1e0a273af: Download complete [2022-12-19T03:12:12.534Z] ec43610c2a17: Verifying Checksum [2022-12-19T03:12:12.534Z] ec43610c2a17: Download complete [2022-12-19T03:12:12.534Z] 5d3b04190fa2: Download complete [2022-12-19T03:12:12.534Z] 5eb5b503b376: Verifying Checksum [2022-12-19T03:12:12.534Z] 5eb5b503b376: Download complete [2022-12-19T03:12:13.105Z] 2f39f015ded8: Verifying Checksum [2022-12-19T03:12:13.105Z] 2f39f015ded8: Download complete [2022-12-19T03:12:13.673Z] 5eb5b503b376: Pull complete [2022-12-19T03:12:13.931Z] 5c69ac0246d0: Pull complete [2022-12-19T03:12:14.498Z] ec43610c2a17: Pull complete [2022-12-19T03:12:14.498Z] 3a2ae6a8a46f: Pull complete [2022-12-19T03:12:14.756Z] 33b1e0a273af: Pull complete [2022-12-19T03:12:14.756Z] 5d3b04190fa2: Pull complete [2022-12-19T03:12:20.044Z] 2f39f015ded8: Pull complete [2022-12-19T03:12:20.044Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-19T03:12:20.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T03:12:20.044Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:12:20.285Z] prd-ubuntu20.04-docker-8c-8g-134 does not seem to be running inside a container [2022-12-19T03:12:20.320Z] $ 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-201 -v /w/workspace/undry_device-onvif-camera_PR-201:/w/workspace/undry_device-onvif-camera_PR-201:rw,z -v /w/workspace/undry_device-onvif-camera_PR-201@tmp:/w/workspace/undry_device-onvif-camera_PR-201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-19T03:12:23.435Z] $ docker top 35bb989090b2697b5b5ca46f6915965a70bc8ccbafe6de6ee776197ff92199f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:12:23.872Z] ---> job-cost.sh [2022-12-19T03:12:23.873Z] lf-activate-venv: SKIPPING [2022-12-19T03:12:23.873Z] INFO: No Stack... [2022-12-19T03:12:24.132Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-19T03:12:24.391Z] INFO: Archiving Costs [Pipeline] sh [2022-12-19T03:12:24.720Z] + cat /w/workspace/undry_device-onvif-camera_PR-201/archives/cost.csv [2022-12-19T03:12:24.720Z] + cut -d, -f6 [Pipeline] lock [2022-12-19T03:12:24.763Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-201-1-stack-cost] [2022-12-19T03:12:24.769Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-201-1-stack-cost] did not exist. Created. [2022-12-19T03:12:24.769Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-19T03:12:25.188Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-19T03:12:25.251Z] Stashed 1 file(s) [Pipeline] } [2022-12-19T03:12:25.269Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-201-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-19T03:12:25.348Z] $ docker stop --time=1 35bb989090b2697b5b5ca46f6915965a70bc8ccbafe6de6ee776197ff92199f7 [2022-12-19T03:12:26.513Z] $ docker rm -f --volumes 35bb989090b2697b5b5ca46f6915965a70bc8ccbafe6de6ee776197ff92199f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-19T03:13:04.666Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-136 in /w/workspace/undry_device-onvif-camera_PR-201 [Pipeline] { [Pipeline] ws [2022-12-19T03:13:04.726Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-12-19T03:13:04.934Z] The recommended git tool is: git [2022-12-19T03:13:14.680Z] using credential edgex-jenkins-ssh [2022-12-19T03:13:14.697Z] Cloning the remote Git repository [2022-12-19T03:13:14.751Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-12-19T03:13:14.824Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-12-19T03:13:14.999Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-12-19T03:13:15.000Z] > git --version # timeout=10 [2022-12-19T03:13:15.028Z] > git --version # 'git version 2.25.1' [2022-12-19T03:13:15.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T03:13:15.097Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-19T03:13:16.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-12-19T03:13:16.693Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-19T03:13:18.108Z] Merging remotes/origin/main commit 4eac92da5dfc23f9865ece6d9684c74467a8de72 into PR head commit 057dd29b7858ebdc8c4b73203abc2d61eb719729 [2022-12-19T03:13:17.553Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-12-19T03:13:17.593Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-12-19T03:13:17.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T03:13:17.616Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/201/head:refs/remotes/origin/PR-201 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-19T03:13:18.126Z] > git config core.sparsecheckout # timeout=10 [2022-12-19T03:13:18.143Z] > git checkout -f 057dd29b7858ebdc8c4b73203abc2d61eb719729 # timeout=10 [2022-12-19T03:13:18.523Z] Merge succeeded, producing 057dd29b7858ebdc8c4b73203abc2d61eb719729 [2022-12-19T03:13:18.523Z] Checking out Revision 057dd29b7858ebdc8c4b73203abc2d61eb719729 (PR-201) [2022-12-19T03:13:19.465Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2022-12-19T03:13:19.520Z] > git --version # timeout=10 [2022-12-19T03:13:19.530Z] > git --version # 'git version 2.25.1' [2022-12-19T03:13:19.542Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [2022-12-19T03:13:18.440Z] > git remote # timeout=10 [2022-12-19T03:13:18.455Z] > git config --get remote.origin.url # timeout=10 [2022-12-19T03:13:18.473Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T03:13:18.486Z] > git merge 4eac92da5dfc23f9865ece6d9684c74467a8de72 # timeout=10 [2022-12-19T03:13:18.509Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-19T03:13:18.531Z] > git config core.sparsecheckout # timeout=10 [2022-12-19T03:13:18.544Z] > git checkout -f 057dd29b7858ebdc8c4b73203abc2d61eb719729 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T03:13:20.622Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-19T03:13:20.622Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-19T03:13:20.622Z] Dload Upload Total Spent Left Speed [2022-12-19T03:13:20.622Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2022-12-19T03:13:21.197Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-19T03:13:21.540Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-19T03:13:21.540Z] + sudo tee /etc/docker/daemon.new [2022-12-19T03:13:21.540Z] { [2022-12-19T03:13:21.540Z] "registry-mirrors": [ [2022-12-19T03:13:21.540Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-19T03:13:21.540Z] ], [2022-12-19T03:13:21.540Z] "bip": "10.250.0.254/24", [2022-12-19T03:13:21.540Z] "hosts": [ [2022-12-19T03:13:21.540Z] "tcp://0.0.0.0:5555", [2022-12-19T03:13:21.540Z] "unix:///var/run/docker.sock" [2022-12-19T03:13:21.540Z] ], [2022-12-19T03:13:21.540Z] "mtu": 1458, [2022-12-19T03:13:21.540Z] "selinux-enabled": true, [2022-12-19T03:13:21.540Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-19T03:13:21.540Z] } [Pipeline] sh [2022-12-19T03:13:21.889Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-19T03:13:22.240Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T03:13:40.583Z] provisioning config files... [2022-12-19T03:13:40.619Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1111510692527159456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:13:41.029Z] ---> docker-login.sh [2022-12-19T03:13:41.029Z] nexus3.edgexfoundry.org:10001 [2022-12-19T03:13:41.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:13:41.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:13:41.620Z] Configure a credential helper to remove this warning. See [2022-12-19T03:13:41.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:13:41.620Z] [2022-12-19T03:13:41.620Z] Login Succeeded [2022-12-19T03:13:41.620Z] nexus3.edgexfoundry.org:10002 [2022-12-19T03:13:41.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:13:42.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:13:42.164Z] Configure a credential helper to remove this warning. See [2022-12-19T03:13:42.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:13:42.164Z] [2022-12-19T03:13:42.164Z] Login Succeeded [2022-12-19T03:13:42.164Z] nexus3.edgexfoundry.org:10003 [2022-12-19T03:13:42.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:13:42.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:13:42.437Z] Configure a credential helper to remove this warning. See [2022-12-19T03:13:42.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:13:42.437Z] [2022-12-19T03:13:42.437Z] Login Succeeded [2022-12-19T03:13:42.437Z] nexus3.edgexfoundry.org:10004 [2022-12-19T03:13:42.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:13:42.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:13:42.714Z] Configure a credential helper to remove this warning. See [2022-12-19T03:13:42.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:13:42.714Z] [2022-12-19T03:13:42.714Z] Login Succeeded [2022-12-19T03:13:42.714Z] docker.io [2022-12-19T03:13:42.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T03:13:43.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T03:13:43.258Z] Configure a credential helper to remove this warning. See [2022-12-19T03:13:43.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T03:13:43.258Z] [2022-12-19T03:13:43.258Z] Login Succeeded [2022-12-19T03:13:43.258Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T03:13:43.287Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-19T03:13:43.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T03:13:43.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T03:13:43.771Z] ========================================================= [2022-12-19T03:13:43.771Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-19T03:13:43.771Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:13:44.285Z] + 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:13:45.710Z] Sending build context to Docker daemon 20.52MB [2022-12-19T03:13:45.710Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T03:13:45.710Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-19T03:13:45.992Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-19T03:13:45.992Z] 9b18e9b68314: Pulling fs layer [2022-12-19T03:13:45.992Z] 35d82f9e3411: Pulling fs layer [2022-12-19T03:13:45.992Z] e16973657156: Pulling fs layer [2022-12-19T03:13:45.992Z] fc693d55d65f: Pulling fs layer [2022-12-19T03:13:45.992Z] 7e9fc2657dce: Pulling fs layer [2022-12-19T03:13:45.992Z] dda99020689f: Pulling fs layer [2022-12-19T03:13:45.992Z] db1c61fa0a46: Pulling fs layer [2022-12-19T03:13:45.992Z] 891c053d2c06: Pulling fs layer [2022-12-19T03:13:45.992Z] fc693d55d65f: Waiting [2022-12-19T03:13:45.992Z] 7e9fc2657dce: Waiting [2022-12-19T03:13:45.992Z] dda99020689f: Waiting [2022-12-19T03:13:45.992Z] db1c61fa0a46: Waiting [2022-12-19T03:13:45.992Z] e16973657156: Verifying Checksum [2022-12-19T03:13:45.992Z] e16973657156: Download complete [2022-12-19T03:13:45.992Z] 35d82f9e3411: Verifying Checksum [2022-12-19T03:13:45.992Z] 35d82f9e3411: Download complete [2022-12-19T03:13:45.992Z] 7e9fc2657dce: Download complete [2022-12-19T03:13:45.992Z] dda99020689f: Verifying Checksum [2022-12-19T03:13:45.992Z] dda99020689f: Download complete [2022-12-19T03:13:45.992Z] 9b18e9b68314: Verifying Checksum [2022-12-19T03:13:45.992Z] 9b18e9b68314: Download complete [2022-12-19T03:13:46.967Z] 9b18e9b68314: Pull complete [2022-12-19T03:13:47.242Z] 891c053d2c06: Download complete [2022-12-19T03:13:47.515Z] 35d82f9e3411: Pull complete [2022-12-19T03:13:47.790Z] e16973657156: Pull complete [2022-12-19T03:13:48.387Z] db1c61fa0a46: Verifying Checksum [2022-12-19T03:13:48.387Z] db1c61fa0a46: Download complete [2022-12-19T03:13:48.979Z] fc693d55d65f: Verifying Checksum [2022-12-19T03:13:48.979Z] fc693d55d65f: Download complete [2022-12-19T03:14:01.349Z] fc693d55d65f: Pull complete [2022-12-19T03:14:01.349Z] 7e9fc2657dce: Pull complete [2022-12-19T03:14:01.619Z] dda99020689f: Pull complete [2022-12-19T03:14:08.319Z] db1c61fa0a46: Pull complete [2022-12-19T03:14:09.742Z] 891c053d2c06: Pull complete [2022-12-19T03:14:09.742Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-19T03:14:09.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-19T03:14:09.742Z] ---> f96f9c87975a [2022-12-19T03:14:09.742Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-19T03:14:11.778Z] ---> Running in 49fc4297a2c4 [2022-12-19T03:14:11.778Z] Removing intermediate container 49fc4297a2c4 [2022-12-19T03:14:11.778Z] ---> e66081edad27 [2022-12-19T03:14:11.778Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T03:14:12.070Z] ---> Running in 1310a1230a22 [2022-12-19T03:14:12.345Z] Removing intermediate container 1310a1230a22 [2022-12-19T03:14:12.345Z] ---> d17e6bafd1ca [2022-12-19T03:14:12.345Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T03:14:12.345Z] ---> Running in e09862b739ea [2022-12-19T03:14:12.626Z] Removing intermediate container e09862b739ea [2022-12-19T03:14:12.626Z] ---> 0d2d79a2b852 [2022-12-19T03:14:12.626Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T03:14:12.900Z] ---> Running in c4629ae68e40 [2022-12-19T03:14:13.175Z] Removing intermediate container c4629ae68e40 [2022-12-19T03:14:13.175Z] ---> 2cef4d430a72 [2022-12-19T03:14:13.175Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-12-19T03:14:13.175Z] ---> Running in 7485af80023b [2022-12-19T03:14:13.447Z] Removing intermediate container 7485af80023b [2022-12-19T03:14:13.447Z] ---> 13131becdb69 [2022-12-19T03:14:13.447Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T03:14:13.447Z] ---> Running in 4e28297df879 [2022-12-19T03:14:14.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T03:14:14.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T03:14:16.286Z] OK: 221 MiB in 51 packages [2022-12-19T03:14:17.256Z] Removing intermediate container 4e28297df879 [2022-12-19T03:14:17.256Z] ---> 74001f8de5a7 [2022-12-19T03:14:17.256Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-12-19T03:14:17.528Z] ---> Running in 8ee37b23de77 [2022-12-19T03:14:17.797Z] Removing intermediate container 8ee37b23de77 [2022-12-19T03:14:17.797Z] ---> 825e2c45e9c6 [2022-12-19T03:14:17.797Z] Step 10/13 : COPY go.mod vendor* ./ [2022-12-19T03:14:18.397Z] ---> 70d19558c07a [2022-12-19T03:14:18.397Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T03:14:18.397Z] ---> Running in deb0d8a84b39 [2022-12-19T03:15:14.885Z] Removing intermediate container deb0d8a84b39 [2022-12-19T03:15:14.885Z] ---> 8b983352b053 [2022-12-19T03:15:14.885Z] Step 12/13 : COPY . . [2022-12-19T03:15:14.885Z] ---> ab870be49db8 [2022-12-19T03:15:14.885Z] Step 13/13 : RUN ${MAKE} [2022-12-19T03:15:14.885Z] ---> Running in e17bf9b71fab [2022-12-19T03:15:14.885Z] noop [2022-12-19T03:15:14.885Z] Removing intermediate container e17bf9b71fab [2022-12-19T03:15:14.885Z] ---> ef6aa3da1e12 [2022-12-19T03:15:14.885Z] Successfully built ef6aa3da1e12 [2022-12-19T03:15:14.885Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:15:15.378Z] + docker inspect -f . ci-base-image-arm64 [2022-12-19T03:15:15.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:15:15.669Z] prd-ubuntu20.04-docker-arm64-4c-16g-136 does not seem to be running inside a container [2022-12-19T03:15:15.746Z] $ 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:15:16.892Z] $ docker top 223691b8f11213f27f097424ba37b787dcbf527f145b85c6f3221a0409b37414 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T03:15:17.785Z] + go version [2022-12-19T03:15:17.786Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-19T03:15:17.823Z] $ docker stop --time=1 223691b8f11213f27f097424ba37b787dcbf527f145b85c6f3221a0409b37414 [2022-12-19T03:15:19.418Z] $ docker rm -f --volumes 223691b8f11213f27f097424ba37b787dcbf527f145b85c6f3221a0409b37414 [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:15:20.296Z] + docker inspect -f . ci-base-image-arm64 [2022-12-19T03:15:20.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:15:20.571Z] prd-ubuntu20.04-docker-arm64-4c-16g-136 does not seem to be running inside a container [2022-12-19T03:15:20.646Z] $ 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:15:21.765Z] $ docker top 5f7ca7d88134fa74725f7664255b4c5f15829be22501bc9fd4a64c4bee4bf51b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T03:15:22.322Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-12-19T03:15:22.725Z] + make test [2022-12-19T03:15:22.725Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-19T03:15:24.686Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-12-19T03:17:01.393Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-12-19T03:17:01.393Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.170s coverage: 29.3% of statements [2022-12-19T03:17:01.393Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-12-19T03:17:04.737Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.948s coverage: 86.5% of statements [2022-12-19T03:17:05.006Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-19T03:17:05.006Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-19T03:17:31.688Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-19T03:17:31.688Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-19T03:17:31.688Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-19T03:17:31.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-19T03:17:31.763Z] $ docker stop --time=1 5f7ca7d88134fa74725f7664255b4c5f15829be22501bc9fd4a64c4bee4bf51b [2022-12-19T03:17:33.534Z] $ docker rm -f --volumes 5f7ca7d88134fa74725f7664255b4c5f15829be22501bc9fd4a64c4bee4bf51b [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T03:17:34.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-19T03:17:34.613Z] Warning: overwriting stash ‘coverage-report’ [2022-12-19T03:17:35.192Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T03:17:35.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-19T03:17:36.136Z] + ls -al . [2022-12-19T03:17:36.136Z] total 244 [2022-12-19T03:17:36.136Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 19 03:15 . [2022-12-19T03:17:36.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 03:13 .. [2022-12-19T03:17:36.136Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 03:13 .git [2022-12-19T03:17:36.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 03:13 .github [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 496 Dec 19 03:13 .gitignore [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 19 03:13 .golangci.yml [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 9742 Dec 19 03:13 Attribution.txt [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 6312 Dec 19 03:13 CHANGELOG.md [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 1637 Dec 19 03:13 Dockerfile [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 03:13 GOVERNANCE.md [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 734 Dec 19 03:13 Jenkinsfile [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 19 03:13 LICENSE [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 2858 Dec 19 03:13 Makefile [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 625 Dec 19 03:13 OWNERS.md [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 6595 Dec 19 03:13 README.md [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 03:10 VERSION [2022-12-19T03:17:36.136Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 03:13 bin [2022-12-19T03:17:36.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 03:13 cmd [2022-12-19T03:17:36.136Z] -rw-r--r-- 1 jenkins jenkins 79184 Dec 19 03:17 coverage.out [2022-12-19T03:17:36.136Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 19 03:13 doc [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 3688 Dec 19 03:13 go.mod [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 46249 Dec 19 03:13 go.sum [2022-12-19T03:17:36.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 03:13 internal [2022-12-19T03:17:36.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 03:13 snap [2022-12-19T03:17:36.136Z] -rw-rw-r-- 1 jenkins jenkins 236 Dec 19 03:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:17:36.542Z] + 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=057dd29b7858ebdc8c4b73203abc2d61eb719729 --label arch=arm64 --label version=0.0.0 . [2022-12-19T03:17:37.127Z] Sending build context to Docker daemon 20.6MB [2022-12-19T03:17:37.127Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T03:17:37.127Z] Step 2/26 : FROM ${BASE} AS builder [2022-12-19T03:17:37.127Z] ---> ef6aa3da1e12 [2022-12-19T03:17:37.127Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-12-19T03:17:37.396Z] ---> Running in b77af7645648 [2022-12-19T03:17:37.663Z] Removing intermediate container b77af7645648 [2022-12-19T03:17:37.663Z] ---> 70f5f1c9f84a [2022-12-19T03:17:37.663Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T03:17:37.663Z] ---> Running in adaf36125593 [2022-12-19T03:17:37.931Z] Removing intermediate container adaf36125593 [2022-12-19T03:17:37.931Z] ---> 1cd12ad69da5 [2022-12-19T03:17:37.931Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T03:17:37.931Z] ---> Running in ef52eb2ca9bb [2022-12-19T03:17:38.512Z] Removing intermediate container ef52eb2ca9bb [2022-12-19T03:17:38.512Z] ---> 4ddfa24db10b [2022-12-19T03:17:38.512Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T03:17:38.512Z] ---> Running in 88f43b6bed65 [2022-12-19T03:17:38.781Z] Removing intermediate container 88f43b6bed65 [2022-12-19T03:17:38.781Z] ---> a80d5e43d01c [2022-12-19T03:17:38.781Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-12-19T03:17:38.781Z] ---> Running in 7e4e7638df28 [2022-12-19T03:17:39.050Z] Removing intermediate container 7e4e7638df28 [2022-12-19T03:17:39.050Z] ---> e47eb27f79a0 [2022-12-19T03:17:39.050Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T03:17:39.327Z] ---> Running in cbffc5f01462 [2022-12-19T03:17:40.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T03:17:40.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T03:17:41.527Z] OK: 221 MiB in 51 packages [2022-12-19T03:17:42.488Z] Removing intermediate container cbffc5f01462 [2022-12-19T03:17:42.488Z] ---> 7e057cf91d77 [2022-12-19T03:17:42.488Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-12-19T03:17:42.488Z] ---> Running in 2a925cfe97c0 [2022-12-19T03:17:42.756Z] Removing intermediate container 2a925cfe97c0 [2022-12-19T03:17:42.756Z] ---> a9b616a12e26 [2022-12-19T03:17:42.756Z] Step 10/26 : COPY go.mod vendor* ./ [2022-12-19T03:17:43.340Z] ---> 46074e19d109 [2022-12-19T03:17:43.340Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T03:17:43.340Z] ---> Running in f5e5f9d7456d [2022-12-19T03:17:45.280Z] Removing intermediate container f5e5f9d7456d [2022-12-19T03:17:45.280Z] ---> e8ea2b5ed47f [2022-12-19T03:17:45.280Z] Step 12/26 : COPY . . [2022-12-19T03:17:46.683Z] ---> a64bf436a26d [2022-12-19T03:17:46.683Z] Step 13/26 : RUN ${MAKE} [2022-12-19T03:17:46.949Z] ---> Running in b2e1435f0c83 [2022-12-19T03:17:47.921Z] 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.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-12-19T03:20:09.593Z] Removing intermediate container b2e1435f0c83 [2022-12-19T03:20:09.593Z] ---> 939eac06c831 [2022-12-19T03:20:09.593Z] Step 14/26 : FROM alpine:3.16 [2022-12-19T03:20:09.593Z] 3.16: Pulling from library/alpine [2022-12-19T03:20:09.593Z] 6875df1f5354: Pulling fs layer [2022-12-19T03:20:09.593Z] 6875df1f5354: Verifying Checksum [2022-12-19T03:20:09.593Z] 6875df1f5354: Download complete [2022-12-19T03:20:09.593Z] 6875df1f5354: Pull complete [2022-12-19T03:20:09.593Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-19T03:20:09.593Z] Status: Downloaded newer image for alpine:3.16 [2022-12-19T03:20:09.593Z] ---> 2b4661558fb8 [2022-12-19T03:20:09.593Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-19T03:20:09.593Z] ---> Running in 4d5419b48e63 [2022-12-19T03:20:09.593Z] Removing intermediate container 4d5419b48e63 [2022-12-19T03:20:09.593Z] ---> c8953b865f37 [2022-12-19T03:20:09.593Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-19T03:20:09.593Z] ---> Running in c5a29d756672 [2022-12-19T03:20:09.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T03:20:09.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T03:20:09.593Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-19T03:20:09.593Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-19T03:20:09.593Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-19T03:20:09.593Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-19T03:20:09.593Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-19T03:20:09.593Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-19T03:20:09.593Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T03:20:09.593Z] OK: 8 MiB in 20 packages [2022-12-19T03:20:09.593Z] Removing intermediate container c5a29d756672 [2022-12-19T03:20:09.593Z] ---> cb9824bbc5cb [2022-12-19T03:20:09.593Z] Step 17/26 : WORKDIR / [2022-12-19T03:20:09.593Z] ---> Running in 2bb3d30c1286 [2022-12-19T03:20:09.593Z] Removing intermediate container 2bb3d30c1286 [2022-12-19T03:20:09.593Z] ---> 60de0fb3dc45 [2022-12-19T03:20:09.593Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-12-19T03:20:09.593Z] ---> d8738d58b1e9 [2022-12-19T03:20:09.593Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-12-19T03:20:09.593Z] ---> 508915bf6a9b [2022-12-19T03:20:09.593Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-12-19T03:20:09.593Z] ---> 4436341df8a4 [2022-12-19T03:20:09.593Z] Step 21/26 : EXPOSE 59984 [2022-12-19T03:20:09.593Z] ---> Running in 2c71941b1c4e [2022-12-19T03:20:09.593Z] Removing intermediate container 2c71941b1c4e [2022-12-19T03:20:09.593Z] ---> 3fb72292ced8 [2022-12-19T03:20:09.593Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-12-19T03:20:09.593Z] ---> Running in 28ded9f2786a [2022-12-19T03:20:09.593Z] Removing intermediate container 28ded9f2786a [2022-12-19T03:20:09.593Z] ---> 48dd50b410b7 [2022-12-19T03:20:09.593Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-19T03:20:09.593Z] ---> Running in 434b0f1797ce [2022-12-19T03:20:09.593Z] Removing intermediate container 434b0f1797ce [2022-12-19T03:20:09.593Z] ---> e8c31bfc2c6e [2022-12-19T03:20:09.593Z] Step 24/26 : LABEL arch=arm64 [2022-12-19T03:20:09.593Z] ---> Running in becc91d2ffb4 [2022-12-19T03:20:09.593Z] Removing intermediate container becc91d2ffb4 [2022-12-19T03:20:09.593Z] ---> 95b932396995 [2022-12-19T03:20:09.593Z] Step 25/26 : LABEL git_sha=057dd29b7858ebdc8c4b73203abc2d61eb719729 [2022-12-19T03:20:09.593Z] ---> Running in f36db7c6b42a [2022-12-19T03:20:09.593Z] Removing intermediate container f36db7c6b42a [2022-12-19T03:20:09.593Z] ---> 08e098f1e62c [2022-12-19T03:20:09.593Z] Step 26/26 : LABEL version=0.0.0 [2022-12-19T03:20:09.593Z] ---> Running in fe8dde2bf185 [2022-12-19T03:20:09.593Z] Removing intermediate container fe8dde2bf185 [2022-12-19T03:20:09.593Z] ---> ee09b55059ca [2022-12-19T03:20:09.593Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-19T03:20:09.593Z] Successfully built ee09b55059ca [2022-12-19T03:20:09.593Z] 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:20:10.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T03:20:10.466Z] [2022-12-19T03:20:10.466Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:20:10.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T03:20:10.871Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-19T03:20:10.871Z] 8998bd30e6a1: Pulling fs layer [2022-12-19T03:20:10.871Z] 04944245beec: Pulling fs layer [2022-12-19T03:20:10.871Z] 699f458cf7ca: Pulling fs layer [2022-12-19T03:20:10.871Z] 765212b225bb: Pulling fs layer [2022-12-19T03:20:10.871Z] f23df028b6ca: Pulling fs layer [2022-12-19T03:20:10.871Z] d65c8cfc05b1: Pulling fs layer [2022-12-19T03:20:10.871Z] 2437ff75d9bd: Pulling fs layer [2022-12-19T03:20:10.871Z] 765212b225bb: Waiting [2022-12-19T03:20:10.871Z] f23df028b6ca: Waiting [2022-12-19T03:20:10.871Z] d65c8cfc05b1: Waiting [2022-12-19T03:20:10.871Z] 2437ff75d9bd: Waiting [2022-12-19T03:20:11.141Z] 04944245beec: Verifying Checksum [2022-12-19T03:20:11.141Z] 04944245beec: Download complete [2022-12-19T03:20:11.141Z] 765212b225bb: Verifying Checksum [2022-12-19T03:20:11.141Z] 765212b225bb: Download complete [2022-12-19T03:20:11.141Z] f23df028b6ca: Verifying Checksum [2022-12-19T03:20:11.141Z] f23df028b6ca: Download complete [2022-12-19T03:20:11.141Z] d65c8cfc05b1: Verifying Checksum [2022-12-19T03:20:11.141Z] d65c8cfc05b1: Download complete [2022-12-19T03:20:11.141Z] 699f458cf7ca: Verifying Checksum [2022-12-19T03:20:11.141Z] 699f458cf7ca: Download complete [2022-12-19T03:20:11.731Z] 8998bd30e6a1: Verifying Checksum [2022-12-19T03:20:11.731Z] 8998bd30e6a1: Download complete [2022-12-19T03:20:14.311Z] 2437ff75d9bd: Verifying Checksum [2022-12-19T03:20:14.311Z] 2437ff75d9bd: Download complete [2022-12-19T03:20:15.722Z] 8998bd30e6a1: Pull complete [2022-12-19T03:20:15.988Z] 04944245beec: Pull complete [2022-12-19T03:20:17.395Z] 699f458cf7ca: Pull complete [2022-12-19T03:20:17.395Z] 765212b225bb: Pull complete [2022-12-19T03:20:17.978Z] f23df028b6ca: Pull complete [2022-12-19T03:20:18.244Z] d65c8cfc05b1: Pull complete [2022-12-19T03:20:33.237Z] 2437ff75d9bd: Pull complete [2022-12-19T03:20:33.237Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-19T03:20:33.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T03:20:33.237Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:20:33.548Z] prd-ubuntu20.04-docker-arm64-4c-16g-136 does not seem to be running inside a container [2022-12-19T03:20:33.612Z] $ 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:20:36.037Z] $ docker top 61772600b21f00a498a629fa49cd89d5d6630d0110d5d2e225764a0b375c3cf6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:20:36.630Z] ---> job-cost.sh [2022-12-19T03:20:36.897Z] lf-activate-venv: SKIPPING [2022-12-19T03:20:36.897Z] INFO: No Stack... [2022-12-19T03:20:37.161Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-19T03:20:38.117Z] INFO: Archiving Costs [Pipeline] sh [2022-12-19T03:20:38.443Z] + cut -d, -f6 [2022-12-19T03:20:38.443Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-12-19T03:20:38.513Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-201-1-stack-cost] [2022-12-19T03:20:38.517Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-201-1-stack-cost] did not exist. Created. [2022-12-19T03:20:38.518Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-19T03:20:38.930Z] /w/workspace/device-onvif-camera/1@tmp/durable-dee48a61/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-19T03:20:39.281Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-19T03:20:39.324Z] Warning: overwriting stash ‘stack-cost’ [2022-12-19T03:20:39.386Z] Stashed 1 file(s) [Pipeline] } [2022-12-19T03:20:39.407Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-201-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-19T03:20:39.479Z] $ docker stop --time=1 61772600b21f00a498a629fa49cd89d5d6630d0110d5d2e225764a0b375c3cf6 [2022-12-19T03:20:40.958Z] $ docker rm -f --volumes 61772600b21f00a498a629fa49cd89d5d6630d0110d5d2e225764a0b375c3cf6 [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:20:41.827Z] provisioning config files... [2022-12-19T03:20:41.834Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-201@tmp/config14481939472364406003tmp [Pipeline] { [Pipeline] sh [2022-12-19T03:20:42.161Z] + set +x [2022-12-19T03:20:42.162Z] + curl -s https://codecov.io/bash [2022-12-19T03:20:42.162Z] + bash -s -- [2022-12-19T03:20:42.162Z] [2022-12-19T03:20:42.162Z] _____ _ [2022-12-19T03:20:42.162Z] / ____| | | [2022-12-19T03:20:42.162Z] | | ___ __| | ___ ___ _____ __ [2022-12-19T03:20:42.162Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-19T03:20:42.162Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-19T03:20:42.162Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-19T03:20:42.162Z] Bash-1.0.6 [2022-12-19T03:20:42.162Z] [2022-12-19T03:20:42.162Z] [2022-12-19T03:20:42.162Z] ==> git version 2.25.1 found [2022-12-19T03:20:42.162Z] ==> 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:20:42.162Z] Release-Date: 2020-01-08 [2022-12-19T03:20:42.162Z] 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:20:42.162Z] 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:20:42.162Z] ==> Jenkins CI detected. [2022-12-19T03:20:42.162Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-201 [2022-12-19T03:20:42.162Z] project root: . [2022-12-19T03:20:42.162Z] --> token set from env [2022-12-19T03:20:42.162Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-19T03:20:42.162Z] ==> Running gcov in . (disable via -X gcov) [2022-12-19T03:20:42.162Z] ==> Python coveragepy not found [2022-12-19T03:20:42.162Z] ==> Searching for coverage reports in: [2022-12-19T03:20:42.162Z] + . [2022-12-19T03:20:42.162Z] -> Found 1 reports [2022-12-19T03:20:42.162Z] ==> Detecting git/mercurial file structure [2022-12-19T03:20:42.162Z] ==> Reading reports [2022-12-19T03:20:42.162Z] + ./coverage.out bytes=79184 [2022-12-19T03:20:42.162Z] ==> Appending adjustments [2022-12-19T03:20:42.162Z] https://docs.codecov.io/docs/fixing-reports [2022-12-19T03:20:42.421Z] + Found adjustments [2022-12-19T03:20:42.421Z] ==> Gzipping contents [2022-12-19T03:20:42.421Z] 12K /tmp/codecov.ui3v7p.gz [2022-12-19T03:20:42.421Z] ==> Uploading reports [2022-12-19T03:20:42.421Z] url: https://codecov.io [2022-12-19T03:20:42.421Z] query: branch=PR-201&commit=057dd29b7858ebdc8c4b73203abc2d61eb719729&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=201&job=&cmd_args= [2022-12-19T03:20:42.421Z] -> Pinging Codecov [2022-12-19T03:20:42.421Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-201&commit=057dd29b7858ebdc8c4b73203abc2d61eb719729&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=201&job=&cmd_args= [2022-12-19T03:20:43.354Z] -> Uploading to [2022-12-19T03:20:43.354Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-19/F29A59C45E3A92E06B3E522C9905F8EF/057dd29b7858ebdc8c4b73203abc2d61eb719729/fdfc5516-8d52-4375-875d-195b170dc0a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221219T032043Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3be507eb1fb75c7a7d610776d085181fad555a7c22cc014c8b7cc794768582d3 [2022-12-19T03:20:43.354Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-19T03:20:43.354Z] Dload Upload Total Spent Left Speed [2022-12-19T03:20:43.612Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10892 0 0 100 10892 0 51866 --:--:-- --:--:-- --:--:-- 51866 [2022-12-19T03:20:43.612Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/057dd29b7858ebdc8c4b73203abc2d61eb719729 [Pipeline] } [2022-12-19T03:20:43.636Z] 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:20:45.373Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-201/archives ] [2022-12-19T03:20:45.373Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-201/archives [2022-12-19T03:20:45.373Z] total 16 [2022-12-19T03:20:45.373Z] drwxr-xr-x 3 root root 4096 Dec 19 03:12 . [2022-12-19T03:20:45.373Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 03:12 .. [2022-12-19T03:20:45.373Z] drwxr-xr-x 2 root root 4096 Dec 19 03:12 cost [2022-12-19T03:20:45.373Z] -rw-r--r-- 1 root root 91 Dec 19 03:12 cost.csv [2022-12-19T03:20:45.373Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-201/archives [2022-12-19T03:20:45.373Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-201/archives [2022-12-19T03:20:45.373Z] total 16 [2022-12-19T03:20:45.373Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 03:12 . [2022-12-19T03:20:45.373Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 03:12 .. [2022-12-19T03:20:45.373Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 19 03:12 cost [2022-12-19T03:20:45.373Z] -rw-r--r-- 1 jenkins jenkins 91 Dec 19 03:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:20:45.695Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:20:46.591Z] ---> package-listing.sh [2022-12-19T03:20:46.591Z] ++ facter osfamily [2022-12-19T03:20:46.591Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-19T03:20:46.854Z] + OS_FAMILY=debian [2022-12-19T03:20:46.854Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-201 [2022-12-19T03:20:46.854Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-19T03:20:46.854Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-19T03:20:46.854Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-19T03:20:46.854Z] + PACKAGES=/tmp/packages_start.txt [2022-12-19T03:20:46.854Z] + '[' /w/workspace/undry_device-onvif-camera_PR-201 ']' [2022-12-19T03:20:46.854Z] + PACKAGES=/tmp/packages_end.txt [2022-12-19T03:20:46.854Z] + case "${OS_FAMILY}" in [2022-12-19T03:20:46.854Z] + dpkg -l [2022-12-19T03:20:46.854Z] + grep '^ii' [2022-12-19T03:20:46.854Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-19T03:20:46.854Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-19T03:20:46.854Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-19T03:20:46.854Z] + '[' /w/workspace/undry_device-onvif-camera_PR-201 ']' [2022-12-19T03:20:46.854Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-201/archives/ [2022-12-19T03:20:46.854Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-201/archives/ [Pipeline] echo [2022-12-19T03:20:46.891Z] 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-201/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:20:47.190Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T03:20:47.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T03:20:47.829Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T03:20:47.973Z] prd-ubuntu20.04-docker-8c-8g-134 does not seem to be running inside a container [2022-12-19T03:20:48.006Z] $ 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-201/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-201 -v /w/workspace/undry_device-onvif-camera_PR-201:/w/workspace/undry_device-onvif-camera_PR-201:rw,z -v /w/workspace/undry_device-onvif-camera_PR-201@tmp:/w/workspace/undry_device-onvif-camera_PR-201@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:20:48.207Z] $ docker top 5bae5d837d304bcaa48c6ebeec67b0e926fe0e1599e6048916cb75eb87f51fb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T03:20:48.592Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-19T03:20:48.899Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-19T03:20:49.205Z] + ls /var/log/sa-host [2022-12-19T03:20:49.205Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T03:20:49.335Z] provisioning config files... [2022-12-19T03:20:49.344Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-201@tmp/config6036375320161465435tmp [Pipeline] { [Pipeline] echo [2022-12-19T03:20:49.387Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:20:49.699Z] ---> create-netrc.sh [Pipeline] } [2022-12-19T03:20:49.728Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:20:50.136Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-19T03:20:50.169Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:20:50.477Z] ---> sudo-logs.sh [2022-12-19T03:20:50.477Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-19T03:20:50.548Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:20:50.852Z] ---> job-cost.sh [2022-12-19T03:20:50.852Z] lf-activate-venv: SKIPPING [2022-12-19T03:20:50.852Z] DEBUG: total: 0.2199999988079071 [2022-12-19T03:20:50.852Z] INFO: Retrieving Stack Cost... [2022-12-19T03:20:51.418Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-19T03:20:51.675Z] INFO: Archiving Costs [Pipeline] echo [2022-12-19T03:20:51.712Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T03:20:52.023Z] ---> logs-deploy.sh [2022-12-19T03:20:52.023Z] lf-activate-venv: SKIPPING [2022-12-19T03:20:52.023Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-201/1 [2022-12-19T03:20:52.023Z] INFO: archiving workspace using pattern(s): [2022-12-19T03:20:52.954Z] Archives upload complete. [2022-12-19T03:20:52.954Z] INFO: archiving logs to Nexus