Pull request #125 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 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-ssh4292056402234860156.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh17455725808143083001.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7993064670342159129.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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12419209516756221970.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh2878180722101369232.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6370594671095821885.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 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22006 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-125 # 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 Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing b17f1348cf1c3f347b135c9352a2a32642543706 Checking out Revision b17f1348cf1c3f347b135c9352a2a32642543706 (PR-125) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 Commit message: "feat: run utility scripts directly from the docker image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-05T18:19:32.571Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-05T18:19:32.730Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-05T18:19:32.822Z] ========================================================= [2022-08-05T18:19:32.822Z] EdgeX Global Pipelines Version Info [2022-08-05T18:19:32.822Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-05T18:19:33.645Z] ------------------- [2022-08-05T18:19:33.645Z] stable info: [2022-08-05T18:19:33.645Z] ------------------- [2022-08-05T18:19:33.645Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-05T18:19:33.645Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-05T18:19:33.645Z] Message: update stable to v1.0.238 [2022-08-05T18:19:34.219Z] ------------------- [2022-08-05T18:19:34.219Z] experimental info: [2022-08-05T18:19:34.219Z] ------------------- [2022-08-05T18:19:34.219Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-05T18:19:34.219Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-05T18:19:34.219Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-05T18:19:34.616Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-05T18:19:34.655Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-05T18:19:34.690Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-05T18:19:34.726Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-05T18:19:34.762Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-05T18:19:34.806Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-05T18:19:34.850Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-05T18:19:34.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-05T18:19:34.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-05T18:19:34.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-05T18:19:34.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-05T18:19:35.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-05T18:19:35.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-05T18:19:35.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-05T18:19:35.154Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-05T18:19:35.196Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-05T18:19:35.237Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-05T18:19:35.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-05T18:19:35.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-05T18:19:35.358Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-05T18:19:35.394Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-05T18:19:35.435Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-05T18:19:35.479Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-05T18:19:35.519Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-05T18:19:35.554Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-05T18:19:35.600Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-05T18:19:35.642Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-05T18:19:35.680Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-08-05T18:19:35.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-08-05T18:19:35.762Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-08-05T18:19:35.800Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b17f1348cf1c3f347b135c9352a2a32642543706 [Pipeline] echo [2022-08-05T18:19:35.844Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b17f134 [Pipeline] echo [2022-08-05T18:19:35.886Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-05T18:19:36.010Z] provisioning config files... [2022-08-05T18:19:36.027Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config8374998085848312583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T18:19:36.389Z] ---> docker-login.sh [2022-08-05T18:19:36.389Z] nexus3.edgexfoundry.org:10001 [2022-08-05T18:19:36.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:19:36.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:19:36.917Z] Configure a credential helper to remove this warning. See [2022-08-05T18:19:36.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:19:36.917Z] [2022-08-05T18:19:36.917Z] Login Succeeded [2022-08-05T18:19:36.917Z] nexus3.edgexfoundry.org:10002 [2022-08-05T18:19:36.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:19:37.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:19:37.181Z] Configure a credential helper to remove this warning. See [2022-08-05T18:19:37.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:19:37.181Z] [2022-08-05T18:19:37.181Z] Login Succeeded [2022-08-05T18:19:37.181Z] nexus3.edgexfoundry.org:10003 [2022-08-05T18:19:37.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:19:37.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:19:37.181Z] Configure a credential helper to remove this warning. See [2022-08-05T18:19:37.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:19:37.181Z] [2022-08-05T18:19:37.181Z] Login Succeeded [2022-08-05T18:19:37.181Z] nexus3.edgexfoundry.org:10004 [2022-08-05T18:19:37.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:19:37.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:19:37.443Z] Configure a credential helper to remove this warning. See [2022-08-05T18:19:37.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:19:37.443Z] [2022-08-05T18:19:37.443Z] Login Succeeded [2022-08-05T18:19:37.443Z] docker.io [2022-08-05T18:19:37.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:19:37.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:19:37.706Z] Configure a credential helper to remove this warning. See [2022-08-05T18:19:37.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:19:37.706Z] [2022-08-05T18:19:37.706Z] Login Succeeded [2022-08-05T18:19:37.706Z] ---> docker-login.sh ends [Pipeline] } [2022-08-05T18:19:37.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-05T18:19:38.371Z] + git rev-list -1 --merges b17f1348cf1c3f347b135c9352a2a32642543706~1..b17f1348cf1c3f347b135c9352a2a32642543706 [Pipeline] echo [2022-08-05T18:19:38.417Z] -----------> git rev-list -1 --merges b17f1348cf1c3f347b135c9352a2a32642543706~1..b17f1348cf1c3f347b135c9352a2a32642543706 b17f1348cf1c3f347b135c9352a2a32642543706 [false] [Pipeline] sh [2022-08-05T18:19:38.734Z] + git log --format=format:%s -1 b17f1348cf1c3f347b135c9352a2a32642543706 [Pipeline] echo [2022-08-05T18:19:38.768Z] ========================================================= [2022-08-05T18:19:38.768Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-05T18:19:38.768Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-05T18:19:39.207Z] + git log --format=format:%s -1 b17f1348cf1c3f347b135c9352a2a32642543706 [Pipeline] echo [2022-08-05T18:19:39.241Z] [semverPrep] GIT_COMMIT: b17f1348cf1c3f347b135c9352a2a32642543706, Commit Message: feat: run utility scripts directly from the docker image [Pipeline] echo [2022-08-05T18:19:39.271Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-05T18:19:39.673Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-05T18:19:39.673Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-05T18:19:39.673Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-05T18:19:39.673Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-05T18:19:39.673Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-05T18:19:39.673Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-05T18:19:39.673Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T18:19:40.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-05T18:19:40.178Z] [2022-08-05T18:19:40.178Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T18:19:40.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-05T18:19:40.562Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-05T18:19:40.562Z] b85a868b505f: Pulling fs layer [2022-08-05T18:19:40.562Z] e2be974225ed: Pulling fs layer [2022-08-05T18:19:40.562Z] 339a4e72a1f5: Pulling fs layer [2022-08-05T18:19:40.562Z] 988bab9f4d93: Pulling fs layer [2022-08-05T18:19:40.562Z] 1469e6f7b9e6: Pulling fs layer [2022-08-05T18:19:40.562Z] eaf3925da568: Pulling fs layer [2022-08-05T18:19:40.562Z] bab4dde63d76: Pulling fs layer [2022-08-05T18:19:40.562Z] bde34c3a00c8: Pulling fs layer [2022-08-05T18:19:40.562Z] b352a97aabf1: Pulling fs layer [2022-08-05T18:19:40.562Z] 4872d77fe225: Pulling fs layer [2022-08-05T18:19:40.562Z] 5851b861e8e6: Pulling fs layer [2022-08-05T18:19:40.562Z] bab4dde63d76: Waiting [2022-08-05T18:19:40.562Z] 988bab9f4d93: Waiting [2022-08-05T18:19:40.562Z] 1469e6f7b9e6: Waiting [2022-08-05T18:19:40.562Z] bde34c3a00c8: Waiting [2022-08-05T18:19:40.562Z] b352a97aabf1: Waiting [2022-08-05T18:19:40.562Z] 4872d77fe225: Waiting [2022-08-05T18:19:40.562Z] eaf3925da568: Waiting [2022-08-05T18:19:40.562Z] 5851b861e8e6: Waiting [2022-08-05T18:19:40.562Z] e2be974225ed: Verifying Checksum [2022-08-05T18:19:40.562Z] e2be974225ed: Download complete [2022-08-05T18:19:40.562Z] 988bab9f4d93: Verifying Checksum [2022-08-05T18:19:40.562Z] 988bab9f4d93: Download complete [2022-08-05T18:19:40.823Z] 1469e6f7b9e6: Verifying Checksum [2022-08-05T18:19:40.823Z] 1469e6f7b9e6: Download complete [2022-08-05T18:19:40.823Z] 339a4e72a1f5: Verifying Checksum [2022-08-05T18:19:40.823Z] 339a4e72a1f5: Download complete [2022-08-05T18:19:40.823Z] eaf3925da568: Verifying Checksum [2022-08-05T18:19:40.823Z] eaf3925da568: Download complete [2022-08-05T18:19:40.823Z] bde34c3a00c8: Download complete [2022-08-05T18:19:40.823Z] b352a97aabf1: Verifying Checksum [2022-08-05T18:19:40.823Z] b352a97aabf1: Download complete [2022-08-05T18:19:40.823Z] 4872d77fe225: Verifying Checksum [2022-08-05T18:19:40.823Z] 4872d77fe225: Download complete [2022-08-05T18:19:40.823Z] 5851b861e8e6: Download complete [2022-08-05T18:19:40.823Z] b85a868b505f: Download complete [2022-08-05T18:19:41.086Z] bab4dde63d76: Verifying Checksum [2022-08-05T18:19:41.086Z] bab4dde63d76: Download complete [2022-08-05T18:19:42.476Z] b85a868b505f: Pull complete [2022-08-05T18:19:42.476Z] e2be974225ed: Pull complete [2022-08-05T18:19:43.050Z] 339a4e72a1f5: Pull complete [2022-08-05T18:19:43.050Z] 988bab9f4d93: Pull complete [2022-08-05T18:19:43.622Z] 1469e6f7b9e6: Pull complete [2022-08-05T18:19:43.622Z] eaf3925da568: Pull complete [2022-08-05T18:19:45.537Z] bab4dde63d76: Pull complete [2022-08-05T18:19:45.537Z] bde34c3a00c8: Pull complete [2022-08-05T18:19:45.798Z] b352a97aabf1: Pull complete [2022-08-05T18:19:45.798Z] 4872d77fe225: Pull complete [2022-08-05T18:19:46.062Z] 5851b861e8e6: Pull complete [2022-08-05T18:19:46.062Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-05T18:19:46.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-05T18:19:46.062Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T18:19:46.301Z] prd-ubuntu20.04-docker-8c-8g-22006 does not seem to be running inside a container [2022-08-05T18:19:46.333Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-devops/py-git-semver:0.1.4 cat [2022-08-05T18:19:47.811Z] $ docker top 88e6a45abede7d9fbd7530ecbe7a95001bb243e34aae79627f4857eb6603d68f -eo pid,comm [2022-08-05T18:19:47.890Z] 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-08-05T18:19:47.890Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-05T18:19:48.015Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-05T18:19:48.015Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-05T18:19:48.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-05T18:19:48.149Z] $ docker exec 88e6a45abede7d9fbd7530ecbe7a95001bb243e34aae79627f4857eb6603d68f ssh-agent [2022-08-05T18:19:48.287Z] SSH_AUTH_SOCK=/tmp/ssh-JhRXGyATLsZH/agent.32 [2022-08-05T18:19:48.287Z] SSH_AGENT_PID=39 [2022-08-05T18:19:48.293Z] Running ssh-add (command line suppressed) [2022-08-05T18:19:48.407Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_5497792464822351968.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_5497792464822351968.key) [2022-08-05T18:19:48.430Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-05T18:19:48.765Z] + git tag --points-at HEAD [Pipeline] } [2022-08-05T18:19:48.786Z] $ docker exec --env ******** --env ******** 88e6a45abede7d9fbd7530ecbe7a95001bb243e34aae79627f4857eb6603d68f ssh-agent -k [2022-08-05T18:19:48.897Z] unset SSH_AUTH_SOCK; [2022-08-05T18:19:48.897Z] unset SSH_AGENT_PID; [2022-08-05T18:19:48.897Z] echo Agent pid 39 killed; [2022-08-05T18:19:48.916Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-05T18:19:49.006Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-05T18:19:49.006Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-05T18:19:49.158Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-05T18:19:49.156Z] $ docker exec 88e6a45abede7d9fbd7530ecbe7a95001bb243e34aae79627f4857eb6603d68f ssh-agent [2022-08-05T18:19:49.283Z] SSH_AUTH_SOCK=/tmp/ssh-juxKZc2Hf2VM/agent.71 [2022-08-05T18:19:49.283Z] SSH_AGENT_PID=77 [2022-08-05T18:19:49.289Z] Running ssh-add (command line suppressed) [2022-08-05T18:19:49.403Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_5667935919450892749.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_5667935919450892749.key) [2022-08-05T18:19:49.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-05T18:19:49.764Z] + git semver init [2022-08-05T18:19:50.026Z] 2022-08-05 18:19:49,950 [run_init] DEBUG init version:0.0.0 force:False [2022-08-05T18:19:50.026Z] 2022-08-05 18:19:49,951 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-05T18:19:50.026Z] 2022-08-05 18:19:49,951 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-05T18:19:50.026Z] 2022-08-05 18:19:49,951 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-08-05T18:19:50.974Z] 2022-08-05 18:19:50,740 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-08-05T18:19:50.974Z] 2022-08-05 18:19:50,741 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-08-05T18:19:50.974Z] 2022-08-05 18:19:50,741 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-05T18:19:50.974Z] 2022-08-05 18:19:50,745 [execute] INFO git cat-file --batch-check [2022-08-05T18:19:50.974Z] 2022-08-05 18:19:50,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-05T18:19:50.974Z] 2022-08-05 18:19:50,753 [execute] INFO git cat-file --batch [2022-08-05T18:19:50.974Z] 2022-08-05 18:19:50,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-05T18:19:50.974Z] 2022-08-05 18:19:50,762 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-05T18:19:50.974Z] 0.0.0 [Pipeline] } [2022-08-05T18:19:50.997Z] $ docker exec --env ******** --env ******** 88e6a45abede7d9fbd7530ecbe7a95001bb243e34aae79627f4857eb6603d68f ssh-agent -k [2022-08-05T18:19:51.111Z] unset SSH_AUTH_SOCK; [2022-08-05T18:19:51.112Z] unset SSH_AGENT_PID; [2022-08-05T18:19:51.112Z] echo Agent pid 77 killed; [2022-08-05T18:19:51.126Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-05T18:19:51.563Z] + git semver [Pipeline] } [2022-08-05T18:19:51.847Z] $ docker stop --time=1 88e6a45abede7d9fbd7530ecbe7a95001bb243e34aae79627f4857eb6603d68f [2022-08-05T18:19:53.186Z] $ docker rm -f 88e6a45abede7d9fbd7530ecbe7a95001bb243e34aae79627f4857eb6603d68f [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-05T18:19:53.606Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-05T18:19:53.912Z] Stashed 1 file(s) [Pipeline] echo [2022-08-05T18:19:53.932Z] [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-08-05T18:19:54.522Z] provisioning config files... [2022-08-05T18:19:54.534Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config549564731263434496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T18:19:54.888Z] ---> docker-login.sh [2022-08-05T18:19:54.888Z] nexus3.edgexfoundry.org:10001 [2022-08-05T18:19:54.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:19:54.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:19:54.888Z] Configure a credential helper to remove this warning. See [2022-08-05T18:19:54.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:19:54.888Z] [2022-08-05T18:19:54.888Z] Login Succeeded [2022-08-05T18:19:54.888Z] nexus3.edgexfoundry.org:10002 [2022-08-05T18:19:54.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:19:55.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:19:55.151Z] Configure a credential helper to remove this warning. See [2022-08-05T18:19:55.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:19:55.151Z] [2022-08-05T18:19:55.151Z] Login Succeeded [2022-08-05T18:19:55.151Z] nexus3.edgexfoundry.org:10003 [2022-08-05T18:19:55.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:19:55.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:19:55.151Z] Configure a credential helper to remove this warning. See [2022-08-05T18:19:55.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:19:55.151Z] [2022-08-05T18:19:55.151Z] Login Succeeded [2022-08-05T18:19:55.151Z] nexus3.edgexfoundry.org:10004 [2022-08-05T18:19:55.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:19:55.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:19:55.411Z] Configure a credential helper to remove this warning. See [2022-08-05T18:19:55.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:19:55.411Z] [2022-08-05T18:19:55.411Z] Login Succeeded [2022-08-05T18:19:55.411Z] docker.io [2022-08-05T18:19:55.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:19:55.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:19:55.674Z] Configure a credential helper to remove this warning. See [2022-08-05T18:19:55.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:19:55.674Z] [2022-08-05T18:19:55.674Z] Login Succeeded [2022-08-05T18:19:55.674Z] ---> docker-login.sh ends [Pipeline] } [2022-08-05T18:19:55.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-05T18:19:55.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-05T18:19:55.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-05T18:19:55.975Z] ========================================================= [2022-08-05T18:19:55.975Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-05T18:19:55.975Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T18:19:56.482Z] + 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-08-05T18:19:56.482Z] Sending build context to Docker daemon 20MB [2022-08-05T18:19:56.482Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-05T18:19:56.482Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-05T18:19:56.742Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-05T18:19:56.742Z] 2408cc74d12b: Pulling fs layer [2022-08-05T18:19:56.742Z] ea60b727a1ce: Pulling fs layer [2022-08-05T18:19:56.742Z] 30c4a7721957: Pulling fs layer [2022-08-05T18:19:56.742Z] 370296b7ddb6: Pulling fs layer [2022-08-05T18:19:56.742Z] 7c6cee850709: Pulling fs layer [2022-08-05T18:19:56.742Z] 39a5fcdaea64: Pulling fs layer [2022-08-05T18:19:56.742Z] d94ebbe4e438: Pulling fs layer [2022-08-05T18:19:56.742Z] 7c6cee850709: Waiting [2022-08-05T18:19:56.742Z] 370296b7ddb6: Waiting [2022-08-05T18:19:56.742Z] 39a5fcdaea64: Waiting [2022-08-05T18:19:56.742Z] bcfd1f05c69d: Pulling fs layer [2022-08-05T18:19:56.742Z] d94ebbe4e438: Waiting [2022-08-05T18:19:56.742Z] 59ccb84bbe0f: Pulling fs layer [2022-08-05T18:19:56.742Z] bcfd1f05c69d: Waiting [2022-08-05T18:19:56.742Z] 59ccb84bbe0f: Waiting [2022-08-05T18:19:56.742Z] 30c4a7721957: Download complete [2022-08-05T18:19:56.742Z] ea60b727a1ce: Download complete [2022-08-05T18:19:56.742Z] 7c6cee850709: Verifying Checksum [2022-08-05T18:19:56.742Z] 7c6cee850709: Download complete [2022-08-05T18:19:56.742Z] 39a5fcdaea64: Verifying Checksum [2022-08-05T18:19:56.742Z] 39a5fcdaea64: Download complete [2022-08-05T18:19:56.742Z] 2408cc74d12b: Verifying Checksum [2022-08-05T18:19:56.742Z] d94ebbe4e438: Download complete [2022-08-05T18:19:56.742Z] 2408cc74d12b: Pull complete [2022-08-05T18:19:57.005Z] ea60b727a1ce: Pull complete [2022-08-05T18:19:57.005Z] 30c4a7721957: Pull complete [2022-08-05T18:19:57.005Z] 59ccb84bbe0f: Verifying Checksum [2022-08-05T18:19:57.005Z] 59ccb84bbe0f: Download complete [2022-08-05T18:19:57.575Z] 370296b7ddb6: Verifying Checksum [2022-08-05T18:19:57.575Z] 370296b7ddb6: Download complete [2022-08-05T18:19:57.575Z] bcfd1f05c69d: Verifying Checksum [2022-08-05T18:19:57.575Z] bcfd1f05c69d: Download complete [2022-08-05T18:20:01.779Z] 370296b7ddb6: Pull complete [2022-08-05T18:20:01.779Z] 7c6cee850709: Pull complete [2022-08-05T18:20:01.779Z] 39a5fcdaea64: Pull complete [2022-08-05T18:20:01.779Z] d94ebbe4e438: Pull complete [2022-08-05T18:20:04.338Z] bcfd1f05c69d: Pull complete [2022-08-05T18:20:04.601Z] 59ccb84bbe0f: Pull complete [2022-08-05T18:20:04.601Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-05T18:20:04.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-05T18:20:04.601Z] ---> a4fb48ad2a94 [2022-08-05T18:20:04.601Z] Step 3/13 : ARG MAKE="make build" [2022-08-05T18:20:06.528Z] ---> Running in 47571f250332 [2022-08-05T18:20:06.528Z] Removing intermediate container 47571f250332 [2022-08-05T18:20:06.528Z] ---> 7e1477e83efd [2022-08-05T18:20:06.528Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-05T18:20:06.528Z] ---> Running in a186fab12404 [2022-08-05T18:20:06.528Z] Removing intermediate container a186fab12404 [2022-08-05T18:20:06.528Z] ---> a3999408f640 [2022-08-05T18:20:06.528Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-05T18:20:06.796Z] ---> Running in b0159c0a5528 [2022-08-05T18:20:06.796Z] Removing intermediate container b0159c0a5528 [2022-08-05T18:20:06.796Z] ---> 8e576b00dabc [2022-08-05T18:20:06.796Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-05T18:20:06.796Z] ---> Running in a9014c2be839 [2022-08-05T18:20:06.796Z] Removing intermediate container a9014c2be839 [2022-08-05T18:20:06.796Z] ---> 368dfbd036ed [2022-08-05T18:20:06.796Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-05T18:20:07.057Z] ---> Running in ff1cf410fd9e [2022-08-05T18:20:07.627Z] Removing intermediate container ff1cf410fd9e [2022-08-05T18:20:07.627Z] ---> 0abdada829c0 [2022-08-05T18:20:07.627Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-05T18:20:07.627Z] ---> Running in fa05c707cd3b [2022-08-05T18:20:07.887Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-05T18:20:08.828Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-05T18:20:09.089Z] OK: 211 MiB in 51 packages [2022-08-05T18:20:09.334Z] Still waiting to schedule task [2022-08-05T18:20:09.335Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-05T18:20:09.349Z] Removing intermediate container fa05c707cd3b [2022-08-05T18:20:09.349Z] ---> 6274620b7d3e [2022-08-05T18:20:09.349Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-05T18:20:09.349Z] ---> Running in b980ca7fc764 [2022-08-05T18:20:09.609Z] Removing intermediate container b980ca7fc764 [2022-08-05T18:20:09.609Z] ---> d3d748dbb97e [2022-08-05T18:20:09.609Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-05T18:20:09.609Z] ---> 421a4242a8d6 [2022-08-05T18:20:09.609Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-05T18:20:09.870Z] ---> Running in e04a19db28ab [2022-08-05T18:20:27.988Z] Removing intermediate container e04a19db28ab [2022-08-05T18:20:27.988Z] ---> acc55c4b404b [2022-08-05T18:20:27.988Z] Step 12/13 : COPY . . [2022-08-05T18:20:28.248Z] ---> 1b0d07f0df06 [2022-08-05T18:20:28.248Z] Step 13/13 : RUN ${MAKE} [2022-08-05T18:20:28.248Z] ---> Running in 5735e7053bdf [2022-08-05T18:20:28.507Z] noop [2022-08-05T18:20:28.768Z] Removing intermediate container 5735e7053bdf [2022-08-05T18:20:28.768Z] ---> b4b7acecbcd2 [2022-08-05T18:20:28.768Z] Successfully built b4b7acecbcd2 [2022-08-05T18:20:29.029Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T18:20:29.479Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-05T18:20:29.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T18:20:29.658Z] prd-ubuntu20.04-docker-8c-8g-22006 does not seem to be running inside a container [2022-08-05T18:20:29.701Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-05T18:20:30.113Z] $ docker top c791e1537fa44f0b29df60b760668fbd59c8f498322010bd349b10c0e65583fb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T18:20:30.523Z] + go version [2022-08-05T18:20:30.523Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-05T18:20:30.566Z] $ docker stop --time=1 c791e1537fa44f0b29df60b760668fbd59c8f498322010bd349b10c0e65583fb [2022-08-05T18:20:31.877Z] $ docker rm -f c791e1537fa44f0b29df60b760668fbd59c8f498322010bd349b10c0e65583fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T18:20:32.575Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-05T18:20:32.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T18:20:32.754Z] prd-ubuntu20.04-docker-8c-8g-22006 does not seem to be running inside a container [2022-08-05T18:20:32.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-05T18:20:33.204Z] $ docker top ac88f2c5475071a1a154c2150e8d657ad866613af14762dee99f2d3f1111216c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T18:20:33.606Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-08-05T18:20:33.960Z] + make test [2022-08-05T18:20:33.960Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-05T18:20:34.529Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-05T18:20:44.509Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-05T18:20:44.509Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.028s coverage: 10.6% of statements [2022-08-05T18:20:44.509Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-05T18:20:48.713Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.667s coverage: 13.8% of statements [2022-08-05T18:20:55.288Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-05T18:20:58.590Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-05T18:20:58.590Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-05T18:20:58.590Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-05T18:20:58.633Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-05T18:20:58.674Z] $ docker stop --time=1 ac88f2c5475071a1a154c2150e8d657ad866613af14762dee99f2d3f1111216c [2022-08-05T18:21:00.636Z] $ docker rm -f ac88f2c5475071a1a154c2150e8d657ad866613af14762dee99f2d3f1111216c [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-05T18:21:01.140Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-05T18:21:01.227Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-05T18:21:01.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-05T18:21:02.215Z] + ls -al . [2022-08-05T18:21:02.215Z] total 232 [2022-08-05T18:21:02.215Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 5 18:20 . [2022-08-05T18:21:02.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 18:19 .. [2022-08-05T18:21:02.215Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 5 18:20 .git [2022-08-05T18:21:02.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 18:19 .github [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 5 18:19 .gitignore [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 5 18:19 .golangci.yml [2022-08-05T18:21:02.215Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 5 18:19 .semver [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 5 18:19 Attribution.txt [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 5 18:19 CHANGELOG.md [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 5 18:19 Dockerfile [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 5 18:19 GOVERNANCE.md [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 5 18:19 Jenkinsfile [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 5 18:19 LICENSE [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 2473 Aug 5 18:19 Makefile [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 5 18:19 OWNERS.md [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 5 18:19 README.md [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 5 18:19 VERSION [2022-08-05T18:21:02.215Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 5 18:19 bin [2022-08-05T18:21:02.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 18:19 cmd [2022-08-05T18:21:02.215Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 5 18:20 coverage.out [2022-08-05T18:21:02.215Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 5 18:19 doc [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 5 18:19 go.mod [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 5 18:19 go.sum [2022-08-05T18:21:02.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 18:19 internal [2022-08-05T18:21:02.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 18:19 snap [2022-08-05T18:21:02.215Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 5 18:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T18:21:02.608Z] + 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=b17f1348cf1c3f347b135c9352a2a32642543706 --label arch=amd64 --label version=0.0.0 . [2022-08-05T18:21:02.608Z] Sending build context to Docker daemon 20.08MB [2022-08-05T18:21:02.608Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-08-05T18:21:02.608Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-05T18:21:02.608Z] ---> b4b7acecbcd2 [2022-08-05T18:21:02.608Z] Step 3/27 : ARG MAKE="make build" [2022-08-05T18:21:02.871Z] ---> Running in e3cd4037ffd7 [2022-08-05T18:21:02.871Z] Removing intermediate container e3cd4037ffd7 [2022-08-05T18:21:02.871Z] ---> e0b4fd219ed9 [2022-08-05T18:21:02.871Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-05T18:21:02.871Z] ---> Running in 510ab636f1fd [2022-08-05T18:21:03.135Z] Removing intermediate container 510ab636f1fd [2022-08-05T18:21:03.135Z] ---> daf3aaddca7b [2022-08-05T18:21:03.135Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-05T18:21:03.135Z] ---> Running in 51c042d32207 [2022-08-05T18:21:03.135Z] Removing intermediate container 51c042d32207 [2022-08-05T18:21:03.135Z] ---> 581762df5177 [2022-08-05T18:21:03.135Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-05T18:21:03.135Z] ---> Running in 3a7281fa5a51 [2022-08-05T18:21:03.397Z] Removing intermediate container 3a7281fa5a51 [2022-08-05T18:21:03.397Z] ---> 3159d931700b [2022-08-05T18:21:03.397Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-05T18:21:03.397Z] ---> Running in c7776741e1e8 [2022-08-05T18:21:03.969Z] Removing intermediate container c7776741e1e8 [2022-08-05T18:21:03.969Z] ---> ed8e8e8fb8f4 [2022-08-05T18:21:03.969Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-05T18:21:03.969Z] ---> Running in c61a63dcada2 [2022-08-05T18:21:04.230Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-05T18:21:05.172Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-05T18:21:05.434Z] OK: 211 MiB in 51 packages [2022-08-05T18:21:05.696Z] Removing intermediate container c61a63dcada2 [2022-08-05T18:21:05.696Z] ---> 015075ffca72 [2022-08-05T18:21:05.696Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-05T18:21:05.966Z] ---> Running in 3029a5ff98b4 [2022-08-05T18:21:05.966Z] Removing intermediate container 3029a5ff98b4 [2022-08-05T18:21:05.966Z] ---> 31d7ce77f19a [2022-08-05T18:21:05.966Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-05T18:21:05.966Z] ---> e0cab681157a [2022-08-05T18:21:05.966Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-05T18:21:06.228Z] ---> Running in ec296ba96967 [2022-08-05T18:21:06.799Z] Removing intermediate container ec296ba96967 [2022-08-05T18:21:06.799Z] ---> 0e783178787b [2022-08-05T18:21:06.799Z] Step 12/27 : COPY . . [2022-08-05T18:21:07.371Z] ---> 0e723669c8b8 [2022-08-05T18:21:07.371Z] Step 13/27 : RUN ${MAKE} [2022-08-05T18:21:07.371Z] ---> Running in e06d9f8d85be [2022-08-05T18:21:07.631Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-05T18:21:29.586Z] Removing intermediate container e06d9f8d85be [2022-08-05T18:21:29.586Z] ---> aae65c6473fb [2022-08-05T18:21:29.586Z] Step 14/27 : FROM alpine:3.15 [2022-08-05T18:21:29.586Z] 3.15: Pulling from library/alpine [2022-08-05T18:21:29.586Z] ab6db1bc80d0: Pulling fs layer [2022-08-05T18:21:29.586Z] ab6db1bc80d0: Download complete [2022-08-05T18:21:29.586Z] ab6db1bc80d0: Pull complete [2022-08-05T18:21:29.586Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-05T18:21:29.586Z] Status: Downloaded newer image for alpine:3.15 [2022-08-05T18:21:29.586Z] ---> 2720e26172a0 [2022-08-05T18:21:29.586Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-05T18:21:29.586Z] ---> Running in c4e174c442e0 [2022-08-05T18:21:29.586Z] Removing intermediate container c4e174c442e0 [2022-08-05T18:21:29.586Z] ---> 482f262e02bd [2022-08-05T18:21:29.586Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-05T18:21:29.586Z] ---> Running in 8cd822d92790 [2022-08-05T18:21:29.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-08-05T18:21:29.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-08-05T18:21:29.586Z] (1/21) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-08-05T18:21:29.586Z] (2/21) Installing ncurses-libs (6.3_p20211120-r1) [2022-08-05T18:21:29.586Z] (3/21) Installing readline (8.1.1-r0) [2022-08-05T18:21:29.586Z] (4/21) Installing bash (5.1.16-r0) [2022-08-05T18:21:29.586Z] Executing bash-5.1.16-r0.post-install [2022-08-05T18:21:29.586Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-05T18:21:29.586Z] (6/21) Installing brotli-libs (1.0.9-r5) [2022-08-05T18:21:29.586Z] (7/21) Installing nghttp2-libs (1.46.0-r0) [2022-08-05T18:21:29.586Z] (8/21) Installing libcurl (7.80.0-r2) [2022-08-05T18:21:29.586Z] (9/21) Installing curl (7.80.0-r2) [2022-08-05T18:21:29.586Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-05T18:21:29.586Z] (11/21) Installing oniguruma (6.9.7.1-r0) [2022-08-05T18:21:29.586Z] (12/21) Installing jq (1.6-r1) [2022-08-05T18:21:29.586Z] (13/21) Installing popt (1.18-r0) [2022-08-05T18:21:29.586Z] (14/21) Installing pcre (8.45-r1) [2022-08-05T18:21:29.586Z] (15/21) Installing slang (2.3.2-r0) [2022-08-05T18:21:29.586Z] (16/21) Installing newt (0.52.21-r0) [2022-08-05T18:21:29.586Z] (17/21) Installing libgcc (10.3.1_git20211027-r0) [2022-08-05T18:21:29.586Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-05T18:21:29.586Z] (19/21) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-05T18:21:29.586Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-05T18:21:29.586Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-05T18:21:29.586Z] Executing busybox-1.34.1-r7.trigger [2022-08-05T18:21:29.586Z] Executing ca-certificates-20220614-r0.trigger [2022-08-05T18:21:29.586Z] OK: 17 MiB in 35 packages [2022-08-05T18:21:30.527Z] Removing intermediate container 8cd822d92790 [2022-08-05T18:21:30.527Z] ---> 07cae4c904cd [2022-08-05T18:21:30.527Z] Step 17/27 : WORKDIR / [2022-08-05T18:21:30.527Z] ---> Running in 708ab338e547 [2022-08-05T18:21:30.527Z] Removing intermediate container 708ab338e547 [2022-08-05T18:21:30.527Z] ---> 98df4aba6f57 [2022-08-05T18:21:30.527Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-05T18:21:31.101Z] ---> c2ad0dac8cb4 [2022-08-05T18:21:31.101Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-05T18:21:31.363Z] ---> 2fe7e57fd34b [2022-08-05T18:21:31.363Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-05T18:21:31.363Z] ---> 3474a616b5eb [2022-08-05T18:21:31.363Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-05T18:21:31.623Z] ---> be1f09496423 [2022-08-05T18:21:31.623Z] Step 22/27 : EXPOSE 59984 [2022-08-05T18:21:31.623Z] ---> Running in b91468603ef9 [2022-08-05T18:21:31.623Z] Removing intermediate container b91468603ef9 [2022-08-05T18:21:31.623Z] ---> 0daf75490ffe [2022-08-05T18:21:31.623Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-05T18:21:31.883Z] ---> Running in 049dfe57b3ae [2022-08-05T18:21:31.883Z] Removing intermediate container 049dfe57b3ae [2022-08-05T18:21:31.883Z] ---> 97e33b535ab6 [2022-08-05T18:21:31.883Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-05T18:21:31.883Z] ---> Running in 4486e73a444d [2022-08-05T18:21:31.883Z] Removing intermediate container 4486e73a444d [2022-08-05T18:21:31.883Z] ---> 6f383a1cc848 [2022-08-05T18:21:31.883Z] Step 25/27 : LABEL arch=amd64 [2022-08-05T18:21:32.145Z] ---> Running in fdf03e9af4c0 [2022-08-05T18:21:32.145Z] Removing intermediate container fdf03e9af4c0 [2022-08-05T18:21:32.145Z] ---> 36425279bdc2 [2022-08-05T18:21:32.145Z] Step 26/27 : LABEL git_sha=b17f1348cf1c3f347b135c9352a2a32642543706 [2022-08-05T18:21:32.145Z] ---> Running in 5a4fa6b993c2 [2022-08-05T18:21:32.145Z] Removing intermediate container 5a4fa6b993c2 [2022-08-05T18:21:32.145Z] ---> ef65edbd36aa [2022-08-05T18:21:32.145Z] Step 27/27 : LABEL version=0.0.0 [2022-08-05T18:21:32.404Z] ---> Running in 298281fe1fc5 [2022-08-05T18:21:32.404Z] Removing intermediate container 298281fe1fc5 [2022-08-05T18:21:32.404Z] ---> 522c3914f557 [2022-08-05T18:21:32.404Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-05T18:21:32.404Z] Successfully built 522c3914f557 [2022-08-05T18:21:32.404Z] 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-08-05T18:21:33.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-05T18:21:33.287Z] [2022-08-05T18:21:33.287Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T18:21:33.668Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-05T18:21:33.668Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-05T18:21:33.668Z] 5eb5b503b376: Pulling fs layer [2022-08-05T18:21:33.668Z] 5c69ac0246d0: Pulling fs layer [2022-08-05T18:21:33.668Z] ec43610c2a17: Pulling fs layer [2022-08-05T18:21:33.668Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-05T18:21:33.668Z] 33b1e0a273af: Pulling fs layer [2022-08-05T18:21:33.668Z] 5d3b04190fa2: Pulling fs layer [2022-08-05T18:21:33.668Z] 2f39f015ded8: Pulling fs layer [2022-08-05T18:21:33.668Z] 33b1e0a273af: Waiting [2022-08-05T18:21:33.668Z] 5d3b04190fa2: Waiting [2022-08-05T18:21:33.668Z] 3a2ae6a8a46f: Waiting [2022-08-05T18:21:33.668Z] 2f39f015ded8: Waiting [2022-08-05T18:21:33.668Z] 5c69ac0246d0: Verifying Checksum [2022-08-05T18:21:33.668Z] 5c69ac0246d0: Download complete [2022-08-05T18:21:33.668Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-05T18:21:33.668Z] 3a2ae6a8a46f: Download complete [2022-08-05T18:21:33.668Z] 33b1e0a273af: Verifying Checksum [2022-08-05T18:21:33.668Z] 33b1e0a273af: Download complete [2022-08-05T18:21:33.930Z] ec43610c2a17: Verifying Checksum [2022-08-05T18:21:33.930Z] ec43610c2a17: Download complete [2022-08-05T18:21:33.930Z] 5d3b04190fa2: Download complete [2022-08-05T18:21:33.930Z] 5eb5b503b376: Verifying Checksum [2022-08-05T18:21:33.930Z] 5eb5b503b376: Download complete [2022-08-05T18:21:34.498Z] 2f39f015ded8: Download complete [2022-08-05T18:21:35.068Z] 5eb5b503b376: Pull complete [2022-08-05T18:21:35.328Z] 5c69ac0246d0: Pull complete [2022-08-05T18:21:35.897Z] ec43610c2a17: Pull complete [2022-08-05T18:21:35.897Z] 3a2ae6a8a46f: Pull complete [2022-08-05T18:21:36.157Z] 33b1e0a273af: Pull complete [2022-08-05T18:21:36.157Z] 5d3b04190fa2: Pull complete [2022-08-05T18:21:41.439Z] 2f39f015ded8: Pull complete [2022-08-05T18:21:41.439Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-05T18:21:41.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-05T18:21:41.439Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T18:21:41.663Z] prd-ubuntu20.04-docker-8c-8g-22006 does not seem to be running inside a container [2022-08-05T18:21:41.707Z] $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-05T18:21:43.396Z] $ docker top 4a5c18f1f6c5da0f11db8a49c9ca130a1c60ec073e4d201946cbd9331c650a90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T18:21:43.862Z] ---> job-cost.sh [2022-08-05T18:21:43.862Z] lf-activate-venv: SKIPPING [2022-08-05T18:21:43.862Z] INFO: No Stack... [2022-08-05T18:21:44.432Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-05T18:21:44.694Z] INFO: Archiving Costs [Pipeline] sh [2022-08-05T18:21:45.014Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-08-05T18:21:45.014Z] + cut -d, -f6 [Pipeline] lock [2022-08-05T18:21:45.058Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-1-stack-cost] [2022-08-05T18:21:45.063Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-1-stack-cost] did not exist. Created. [2022-08-05T18:21:45.063Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-05T18:21:45.460Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-05T18:21:45.519Z] Stashed 1 file(s) [Pipeline] } [2022-08-05T18:21:45.538Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-05T18:21:45.626Z] $ docker stop --time=1 4a5c18f1f6c5da0f11db8a49c9ca130a1c60ec073e4d201946cbd9331c650a90 [2022-08-05T18:21:46.831Z] $ docker rm -f 4a5c18f1f6c5da0f11db8a49c9ca130a1c60ec073e4d201946cbd9331c650a90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-05T18:21:50.791Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22007 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-08-05T18:21:50.832Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-08-05T18:21:50.914Z] Selected Git installation does not exist. Using Default [2022-08-05T18:21:50.914Z] The recommended git tool is: NONE [2022-08-05T18:21:56.873Z] using credential edgex-jenkins-ssh [2022-08-05T18:21:56.889Z] Cloning the remote Git repository [2022-08-05T18:21:56.941Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-05T18:21:57.006Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-08-05T18:21:57.092Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-05T18:21:57.093Z] > git --version # timeout=10 [2022-08-05T18:21:57.109Z] > git --version # 'git version 2.25.1' [2022-08-05T18:21:57.111Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-05T18:21:57.177Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-05T18:21:58.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-05T18:21:58.217Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-05T18:21:58.244Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-05T18:21:58.276Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-05T18:21:58.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-05T18:21:58.291Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-05T18:21:58.881Z] Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-08-05T18:21:59.208Z] Merge succeeded, producing b17f1348cf1c3f347b135c9352a2a32642543706 [2022-08-05T18:21:59.209Z] Checking out Revision b17f1348cf1c3f347b135c9352a2a32642543706 (PR-125) [2022-08-05T18:21:58.901Z] > git config core.sparsecheckout # timeout=10 [2022-08-05T18:21:58.916Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-08-05T18:21:59.131Z] > git remote # timeout=10 [2022-08-05T18:21:59.146Z] > git config --get remote.origin.url # timeout=10 [2022-08-05T18:21:59.159Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-05T18:21:59.171Z] > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 [2022-08-05T18:21:59.195Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-05T18:21:59.218Z] > git config core.sparsecheckout # timeout=10 [2022-08-05T18:21:59.242Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-08-05T18:22:03.430Z] Commit message: "feat: run utility scripts directly from the docker image" [2022-08-05T18:22:03.490Z] > git --version # timeout=10 [2022-08-05T18:22:03.502Z] > git --version # 'git version 2.25.1' [2022-08-05T18:22:03.516Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-05T18:22:04.664Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-05T18:22:04.664Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-05T18:22:04.664Z] Dload Upload Total Spent Left Speed [2022-08-05T18:22:04.664Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-08-05T18:22:05.630Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-05T18:22:05.983Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-05T18:22:05.983Z] + sudo tee /etc/docker/daemon.new [2022-08-05T18:22:05.983Z] { [2022-08-05T18:22:05.983Z] "registry-mirrors": [ [2022-08-05T18:22:05.983Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-05T18:22:05.983Z] ], [2022-08-05T18:22:05.983Z] "bip": "10.250.0.254/24", [2022-08-05T18:22:05.983Z] "hosts": [ [2022-08-05T18:22:05.983Z] "tcp://0.0.0.0:5555", [2022-08-05T18:22:05.983Z] "unix:///var/run/docker.sock" [2022-08-05T18:22:05.983Z] ], [2022-08-05T18:22:05.983Z] "mtu": 1458, [2022-08-05T18:22:05.983Z] "selinux-enabled": true, [2022-08-05T18:22:05.983Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-05T18:22:05.983Z] } [Pipeline] sh [2022-08-05T18:22:06.348Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-05T18:22:06.710Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-05T18:22:25.112Z] provisioning config files... [2022-08-05T18:22:25.136Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3611147430056739986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T18:22:25.532Z] ---> docker-login.sh [2022-08-05T18:22:25.532Z] nexus3.edgexfoundry.org:10001 [2022-08-05T18:22:26.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:22:26.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:22:26.407Z] Configure a credential helper to remove this warning. See [2022-08-05T18:22:26.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:22:26.407Z] [2022-08-05T18:22:26.407Z] Login Succeeded [2022-08-05T18:22:26.407Z] nexus3.edgexfoundry.org:10002 [2022-08-05T18:22:26.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:22:26.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:22:26.958Z] Configure a credential helper to remove this warning. See [2022-08-05T18:22:26.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:22:26.958Z] [2022-08-05T18:22:26.958Z] Login Succeeded [2022-08-05T18:22:26.958Z] nexus3.edgexfoundry.org:10003 [2022-08-05T18:22:27.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:22:27.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:22:27.234Z] Configure a credential helper to remove this warning. See [2022-08-05T18:22:27.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:22:27.234Z] [2022-08-05T18:22:27.234Z] Login Succeeded [2022-08-05T18:22:27.234Z] nexus3.edgexfoundry.org:10004 [2022-08-05T18:22:27.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:22:27.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:22:27.835Z] Configure a credential helper to remove this warning. See [2022-08-05T18:22:27.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:22:27.835Z] [2022-08-05T18:22:27.835Z] Login Succeeded [2022-08-05T18:22:27.835Z] docker.io [2022-08-05T18:22:28.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T18:22:28.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T18:22:28.699Z] Configure a credential helper to remove this warning. See [2022-08-05T18:22:28.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T18:22:28.699Z] [2022-08-05T18:22:28.699Z] Login Succeeded [2022-08-05T18:22:28.699Z] ---> docker-login.sh ends [Pipeline] } [2022-08-05T18:22:28.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-05T18:22:29.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-05T18:22:29.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-05T18:22:29.178Z] ========================================================= [2022-08-05T18:22:29.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-05T18:22:29.178Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T18:22:29.684Z] + 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-08-05T18:22:30.293Z] Sending build context to Docker daemon 13.63MB [2022-08-05T18:22:30.293Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-05T18:22:30.293Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-05T18:22:30.293Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-05T18:22:30.293Z] b3c136eddcbf: Pulling fs layer [2022-08-05T18:22:30.293Z] c0a3192eca97: Pulling fs layer [2022-08-05T18:22:30.293Z] a050256f5b6f: Pulling fs layer [2022-08-05T18:22:30.293Z] 656be50a0ddc: Pulling fs layer [2022-08-05T18:22:30.293Z] 2bbca73fdf42: Pulling fs layer [2022-08-05T18:22:30.293Z] 46d945488cbd: Pulling fs layer [2022-08-05T18:22:30.293Z] 8a5474983e97: Pulling fs layer [2022-08-05T18:22:30.293Z] 329c88fbcd65: Pulling fs layer [2022-08-05T18:22:30.293Z] 656be50a0ddc: Waiting [2022-08-05T18:22:30.293Z] 2bbca73fdf42: Waiting [2022-08-05T18:22:30.293Z] 46d945488cbd: Waiting [2022-08-05T18:22:30.293Z] 8a5474983e97: Waiting [2022-08-05T18:22:30.293Z] 329c88fbcd65: Waiting [2022-08-05T18:22:30.293Z] a050256f5b6f: Verifying Checksum [2022-08-05T18:22:30.293Z] a050256f5b6f: Download complete [2022-08-05T18:22:30.293Z] c0a3192eca97: Verifying Checksum [2022-08-05T18:22:30.293Z] c0a3192eca97: Download complete [2022-08-05T18:22:30.293Z] 2bbca73fdf42: Verifying Checksum [2022-08-05T18:22:30.293Z] 2bbca73fdf42: Download complete [2022-08-05T18:22:30.573Z] b3c136eddcbf: Download complete [2022-08-05T18:22:30.573Z] 46d945488cbd: Verifying Checksum [2022-08-05T18:22:30.573Z] 46d945488cbd: Download complete [2022-08-05T18:22:31.574Z] b3c136eddcbf: Pull complete [2022-08-05T18:22:31.574Z] 329c88fbcd65: Verifying Checksum [2022-08-05T18:22:31.574Z] 329c88fbcd65: Download complete [2022-08-05T18:22:31.856Z] c0a3192eca97: Pull complete [2022-08-05T18:22:32.457Z] a050256f5b6f: Pull complete [2022-08-05T18:22:32.457Z] 8a5474983e97: Verifying Checksum [2022-08-05T18:22:32.457Z] 8a5474983e97: Download complete [2022-08-05T18:22:33.448Z] 656be50a0ddc: Download complete [2022-08-05T18:22:45.869Z] 656be50a0ddc: Pull complete [2022-08-05T18:22:45.869Z] 2bbca73fdf42: Pull complete [2022-08-05T18:22:45.869Z] 46d945488cbd: Pull complete [2022-08-05T18:22:52.627Z] 8a5474983e97: Pull complete [2022-08-05T18:22:54.611Z] 329c88fbcd65: Pull complete [2022-08-05T18:22:54.611Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-05T18:22:54.611Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-05T18:22:54.611Z] ---> ff4287adb874 [2022-08-05T18:22:54.611Z] Step 3/13 : ARG MAKE="make build" [2022-08-05T18:22:56.074Z] ---> Running in 37d8b4421ef1 [2022-08-05T18:22:56.353Z] Removing intermediate container 37d8b4421ef1 [2022-08-05T18:22:56.353Z] ---> 4badebd46fc8 [2022-08-05T18:22:56.353Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-05T18:22:56.641Z] ---> Running in 436bb8501efe [2022-08-05T18:22:56.917Z] Removing intermediate container 436bb8501efe [2022-08-05T18:22:56.917Z] ---> d82e18b6a425 [2022-08-05T18:22:56.917Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-05T18:22:56.917Z] ---> Running in 1414122dcb90 [2022-08-05T18:22:57.192Z] Removing intermediate container 1414122dcb90 [2022-08-05T18:22:57.192Z] ---> 4534c16b2292 [2022-08-05T18:22:57.192Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-05T18:22:57.473Z] ---> Running in 33be6d728871 [2022-08-05T18:22:57.750Z] Removing intermediate container 33be6d728871 [2022-08-05T18:22:57.750Z] ---> f64010ed0b14 [2022-08-05T18:22:57.750Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-05T18:22:57.750Z] ---> Running in cb7e70f816a4 [2022-08-05T18:22:59.735Z] Removing intermediate container cb7e70f816a4 [2022-08-05T18:22:59.735Z] ---> cd2317242aa4 [2022-08-05T18:22:59.735Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-05T18:22:59.735Z] ---> Running in 17a51ee2f52f [2022-08-05T18:23:00.337Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-05T18:23:01.317Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-05T18:23:02.299Z] OK: 221 MiB in 51 packages [2022-08-05T18:23:03.301Z] Removing intermediate container 17a51ee2f52f [2022-08-05T18:23:03.301Z] ---> 8c84595512a3 [2022-08-05T18:23:03.301Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-05T18:23:03.301Z] ---> Running in fe794657a4a4 [2022-08-05T18:23:03.301Z] Removing intermediate container fe794657a4a4 [2022-08-05T18:23:03.301Z] ---> dd5795785472 [2022-08-05T18:23:03.301Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-05T18:23:03.916Z] ---> 6a4273d4864b [2022-08-05T18:23:03.916Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-05T18:23:03.916Z] ---> Running in 93fec669204f [2022-08-05T18:23:50.943Z] Removing intermediate container 93fec669204f [2022-08-05T18:23:50.943Z] ---> c7d8599a91f4 [2022-08-05T18:23:50.943Z] Step 12/13 : COPY . . [2022-08-05T18:23:50.943Z] ---> 8418e4acf2fe [2022-08-05T18:23:50.943Z] Step 13/13 : RUN ${MAKE} [2022-08-05T18:23:50.943Z] ---> Running in db1c656126af [2022-08-05T18:23:50.943Z] noop [2022-08-05T18:23:51.549Z] Removing intermediate container db1c656126af [2022-08-05T18:23:51.549Z] ---> ebb50cebc0b1 [2022-08-05T18:23:51.549Z] Successfully built ebb50cebc0b1 [2022-08-05T18:23:51.549Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T18:23:52.034Z] + docker inspect -f . ci-base-image-arm64 [2022-08-05T18:23:52.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T18:23:52.372Z] prd-ubuntu20.04-docker-arm64-4c-16g-22007 does not seem to be running inside a container [2022-08-05T18:23:52.455Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-05T18:23:53.783Z] $ docker top 29c9e7bcf95457e524c25be1997c918b55057e5fa65538d1979b966309cf090b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T18:23:54.763Z] + go version [2022-08-05T18:23:54.763Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-05T18:23:54.801Z] $ docker stop --time=1 29c9e7bcf95457e524c25be1997c918b55057e5fa65538d1979b966309cf090b [2022-08-05T18:23:56.445Z] $ docker rm -f 29c9e7bcf95457e524c25be1997c918b55057e5fa65538d1979b966309cf090b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T18:23:57.350Z] + docker inspect -f . ci-base-image-arm64 [2022-08-05T18:23:57.350Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T18:23:57.665Z] prd-ubuntu20.04-docker-arm64-4c-16g-22007 does not seem to be running inside a container [2022-08-05T18:23:57.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-05T18:23:59.050Z] $ docker top b26419f7ea2b144f239bd0dcf3df70b02e31674f98278fec66bb4fbcdc6e2210 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T18:24:00.010Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-08-05T18:24:00.750Z] + make test [2022-08-05T18:24:00.750Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-05T18:24:02.740Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-05T18:25:24.606Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-05T18:25:30.036Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.124s coverage: 10.6% of statements [2022-08-05T18:25:30.036Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-05T18:25:48.347Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.311s coverage: 13.8% of statements [2022-08-05T18:25:48.622Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-05T18:25:48.622Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-05T18:26:10.832Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-05T18:26:10.832Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-05T18:26:10.832Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-05T18:26:12.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-05T18:26:12.346Z] $ docker stop --time=1 b26419f7ea2b144f239bd0dcf3df70b02e31674f98278fec66bb4fbcdc6e2210 [2022-08-05T18:26:14.076Z] $ docker rm -f b26419f7ea2b144f239bd0dcf3df70b02e31674f98278fec66bb4fbcdc6e2210 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-05T18:26:15.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-05T18:26:15.149Z] Warning: overwriting stash ‘coverage-report’ [2022-08-05T18:26:15.703Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-05T18:26:16.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-05T18:26:16.658Z] + ls -al . [2022-08-05T18:26:16.658Z] total 228 [2022-08-05T18:26:16.658Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 5 18:26 . [2022-08-05T18:26:16.658Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 18:21 .. [2022-08-05T18:26:16.658Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 5 18:22 .git [2022-08-05T18:26:16.658Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 18:21 .github [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 5 18:21 .gitignore [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 5 18:21 .golangci.yml [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 5 18:21 Attribution.txt [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 5 18:21 CHANGELOG.md [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 5 18:21 Dockerfile [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 5 18:21 GOVERNANCE.md [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 5 18:21 Jenkinsfile [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 5 18:21 LICENSE [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 2473 Aug 5 18:21 Makefile [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 5 18:21 OWNERS.md [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 5 18:21 README.md [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 5 18:19 VERSION [2022-08-05T18:26:16.658Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 5 18:21 bin [2022-08-05T18:26:16.658Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 18:21 cmd [2022-08-05T18:26:16.658Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 5 18:25 coverage.out [2022-08-05T18:26:16.658Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 5 18:21 doc [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 5 18:21 go.mod [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 5 18:21 go.sum [2022-08-05T18:26:16.658Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 18:21 internal [2022-08-05T18:26:16.658Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 18:21 snap [2022-08-05T18:26:16.658Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 5 18:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T18:26:17.090Z] + 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=b17f1348cf1c3f347b135c9352a2a32642543706 --label arch=arm64 --label version=0.0.0 . [2022-08-05T18:26:17.691Z] Sending build context to Docker daemon 13.71MB [2022-08-05T18:26:17.691Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-08-05T18:26:17.691Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-05T18:26:17.691Z] ---> ebb50cebc0b1 [2022-08-05T18:26:17.691Z] Step 3/27 : ARG MAKE="make build" [2022-08-05T18:26:17.691Z] ---> Running in 606292e5e406 [2022-08-05T18:26:17.970Z] Removing intermediate container 606292e5e406 [2022-08-05T18:26:17.970Z] ---> ba938beae912 [2022-08-05T18:26:17.970Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-05T18:26:18.246Z] ---> Running in e154efe35d94 [2022-08-05T18:26:18.520Z] Removing intermediate container e154efe35d94 [2022-08-05T18:26:18.520Z] ---> 645778710e92 [2022-08-05T18:26:18.520Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-05T18:26:18.520Z] ---> Running in 94e381842403 [2022-08-05T18:26:18.801Z] Removing intermediate container 94e381842403 [2022-08-05T18:26:18.801Z] ---> af562f1aba57 [2022-08-05T18:26:18.801Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-05T18:26:18.801Z] ---> Running in 7926fa7e9cb9 [2022-08-05T18:26:19.075Z] Removing intermediate container 7926fa7e9cb9 [2022-08-05T18:26:19.075Z] ---> e137b54247cc [2022-08-05T18:26:19.075Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-05T18:26:19.350Z] ---> Running in 19ad8be52cb1 [2022-08-05T18:26:20.809Z] Removing intermediate container 19ad8be52cb1 [2022-08-05T18:26:20.809Z] ---> 7ab97b30e681 [2022-08-05T18:26:20.809Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-05T18:26:21.098Z] ---> Running in b32454648c44 [2022-08-05T18:26:22.077Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-05T18:26:23.056Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-05T18:26:24.060Z] OK: 221 MiB in 51 packages [2022-08-05T18:26:24.660Z] Removing intermediate container b32454648c44 [2022-08-05T18:26:24.660Z] ---> d6d032c4075c [2022-08-05T18:26:24.660Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-05T18:26:24.660Z] ---> Running in 28d55744f708 [2022-08-05T18:26:24.941Z] Removing intermediate container 28d55744f708 [2022-08-05T18:26:24.941Z] ---> 03e8510fc70f [2022-08-05T18:26:24.941Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-05T18:26:25.538Z] ---> 7fd1d60afed7 [2022-08-05T18:26:25.538Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-05T18:26:25.538Z] ---> Running in c181f2e1c22e [2022-08-05T18:26:27.543Z] Removing intermediate container c181f2e1c22e [2022-08-05T18:26:27.543Z] ---> 7776fcd5d7b4 [2022-08-05T18:26:27.543Z] Step 12/27 : COPY . . [2022-08-05T18:26:28.997Z] ---> 4a587a8d36b1 [2022-08-05T18:26:28.997Z] Step 13/27 : RUN ${MAKE} [2022-08-05T18:26:28.997Z] ---> Running in eaf1edb5e551 [2022-08-05T18:26:29.979Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-05T18:28:37.454Z] Removing intermediate container eaf1edb5e551 [2022-08-05T18:28:37.454Z] ---> 7f3e48cef2ed [2022-08-05T18:28:37.454Z] Step 14/27 : FROM alpine:3.15 [2022-08-05T18:28:37.454Z] 3.15: Pulling from library/alpine [2022-08-05T18:28:37.454Z] e0295fd11fe2: Pulling fs layer [2022-08-05T18:28:37.454Z] e0295fd11fe2: Verifying Checksum [2022-08-05T18:28:37.454Z] e0295fd11fe2: Download complete [2022-08-05T18:28:37.454Z] e0295fd11fe2: Pull complete [2022-08-05T18:28:37.454Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-05T18:28:37.454Z] Status: Downloaded newer image for alpine:3.15 [2022-08-05T18:28:37.454Z] ---> 60f2846fe774 [2022-08-05T18:28:37.454Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-05T18:28:37.454Z] ---> Running in f3d3bc6c7bcd [2022-08-05T18:28:37.454Z] Removing intermediate container f3d3bc6c7bcd [2022-08-05T18:28:37.454Z] ---> 529bfc3567bf [2022-08-05T18:28:37.454Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-05T18:28:37.454Z] ---> Running in 0a9cb6a45d32 [2022-08-05T18:28:37.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-08-05T18:28:38.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-08-05T18:28:38.650Z] (1/21) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-08-05T18:28:38.650Z] (2/21) Installing ncurses-libs (6.3_p20211120-r1) [2022-08-05T18:28:38.923Z] (3/21) Installing readline (8.1.1-r0) [2022-08-05T18:28:38.923Z] (4/21) Installing bash (5.1.16-r0) [2022-08-05T18:28:38.923Z] Executing bash-5.1.16-r0.post-install [2022-08-05T18:28:38.923Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-05T18:28:38.923Z] (6/21) Installing brotli-libs (1.0.9-r5) [2022-08-05T18:28:38.923Z] (7/21) Installing nghttp2-libs (1.46.0-r0) [2022-08-05T18:28:38.923Z] (8/21) Installing libcurl (7.80.0-r2) [2022-08-05T18:28:38.923Z] (9/21) Installing curl (7.80.0-r2) [2022-08-05T18:28:38.923Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-05T18:28:38.923Z] (11/21) Installing oniguruma (6.9.7.1-r0) [2022-08-05T18:28:38.923Z] (12/21) Installing jq (1.6-r1) [2022-08-05T18:28:38.923Z] (13/21) Installing popt (1.18-r0) [2022-08-05T18:28:38.923Z] (14/21) Installing pcre (8.45-r1) [2022-08-05T18:28:38.923Z] (15/21) Installing slang (2.3.2-r0) [2022-08-05T18:28:39.197Z] (16/21) Installing newt (0.52.21-r0) [2022-08-05T18:28:39.198Z] (17/21) Installing libgcc (10.3.1_git20211027-r0) [2022-08-05T18:28:39.198Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-05T18:28:39.198Z] (19/21) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-05T18:28:39.198Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-05T18:28:39.198Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-05T18:28:39.198Z] Executing busybox-1.34.1-r7.trigger [2022-08-05T18:28:39.198Z] Executing ca-certificates-20220614-r0.trigger [2022-08-05T18:28:39.474Z] OK: 16 MiB in 35 packages [2022-08-05T18:28:40.925Z] Removing intermediate container 0a9cb6a45d32 [2022-08-05T18:28:40.925Z] ---> 2f60227c2abe [2022-08-05T18:28:40.925Z] Step 17/27 : WORKDIR / [2022-08-05T18:28:41.200Z] ---> Running in 12f606214879 [2022-08-05T18:28:41.475Z] Removing intermediate container 12f606214879 [2022-08-05T18:28:41.475Z] ---> 1ac0c8a1670d [2022-08-05T18:28:41.475Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-05T18:28:42.918Z] ---> c0bc0630e266 [2022-08-05T18:28:42.918Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-05T18:28:43.196Z] ---> 6c5f9df0d233 [2022-08-05T18:28:43.196Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-05T18:28:43.792Z] ---> 63202c08eef3 [2022-08-05T18:28:43.792Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-05T18:28:44.394Z] ---> 1a68575d6edf [2022-08-05T18:28:44.394Z] Step 22/27 : EXPOSE 59984 [2022-08-05T18:28:44.394Z] ---> Running in c52244427bb0 [2022-08-05T18:28:44.670Z] Removing intermediate container c52244427bb0 [2022-08-05T18:28:44.670Z] ---> 9d783cbadef2 [2022-08-05T18:28:44.670Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-05T18:28:44.959Z] ---> Running in a7e959b2b7b7 [2022-08-05T18:28:45.234Z] Removing intermediate container a7e959b2b7b7 [2022-08-05T18:28:45.234Z] ---> 2fbdc8d86601 [2022-08-05T18:28:45.234Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-05T18:28:45.234Z] ---> Running in 8f2f354e48ac [2022-08-05T18:28:45.510Z] Removing intermediate container 8f2f354e48ac [2022-08-05T18:28:45.510Z] ---> 20b0e392623e [2022-08-05T18:28:45.510Z] Step 25/27 : LABEL arch=arm64 [2022-08-05T18:28:45.510Z] ---> Running in 0b9d70f29722 [2022-08-05T18:28:45.783Z] Removing intermediate container 0b9d70f29722 [2022-08-05T18:28:45.783Z] ---> bc2cea979e72 [2022-08-05T18:28:45.783Z] Step 26/27 : LABEL git_sha=b17f1348cf1c3f347b135c9352a2a32642543706 [2022-08-05T18:28:46.063Z] ---> Running in dd294ec4f419 [2022-08-05T18:28:46.339Z] Removing intermediate container dd294ec4f419 [2022-08-05T18:28:46.339Z] ---> 50f2e79f598c [2022-08-05T18:28:46.339Z] Step 27/27 : LABEL version=0.0.0 [2022-08-05T18:28:46.339Z] ---> Running in f7626bd9f02d [2022-08-05T18:28:46.614Z] Removing intermediate container f7626bd9f02d [2022-08-05T18:28:46.614Z] ---> 5007d3840370 [2022-08-05T18:28:46.614Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-05T18:28:46.614Z] Successfully built 5007d3840370 [2022-08-05T18:28:46.614Z] 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-08-05T18:28:47.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-05T18:28:47.445Z] [2022-08-05T18:28:47.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T18:28:47.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-05T18:28:48.138Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-05T18:28:48.138Z] 8998bd30e6a1: Pulling fs layer [2022-08-05T18:28:48.138Z] 04944245beec: Pulling fs layer [2022-08-05T18:28:48.138Z] 699f458cf7ca: Pulling fs layer [2022-08-05T18:28:48.138Z] 765212b225bb: Pulling fs layer [2022-08-05T18:28:48.138Z] f23df028b6ca: Pulling fs layer [2022-08-05T18:28:48.138Z] d65c8cfc05b1: Pulling fs layer [2022-08-05T18:28:48.138Z] 2437ff75d9bd: Pulling fs layer [2022-08-05T18:28:48.138Z] 765212b225bb: Waiting [2022-08-05T18:28:48.138Z] f23df028b6ca: Waiting [2022-08-05T18:28:48.138Z] 2437ff75d9bd: Waiting [2022-08-05T18:28:48.138Z] d65c8cfc05b1: Waiting [2022-08-05T18:28:48.138Z] 04944245beec: Verifying Checksum [2022-08-05T18:28:48.138Z] 04944245beec: Download complete [2022-08-05T18:28:48.138Z] 765212b225bb: Download complete [2022-08-05T18:28:48.138Z] f23df028b6ca: Download complete [2022-08-05T18:28:48.138Z] d65c8cfc05b1: Verifying Checksum [2022-08-05T18:28:48.138Z] d65c8cfc05b1: Download complete [2022-08-05T18:28:48.416Z] 699f458cf7ca: Verifying Checksum [2022-08-05T18:28:48.416Z] 699f458cf7ca: Download complete [2022-08-05T18:28:48.694Z] 8998bd30e6a1: Verifying Checksum [2022-08-05T18:28:48.694Z] 8998bd30e6a1: Download complete [2022-08-05T18:28:51.330Z] 2437ff75d9bd: Download complete [2022-08-05T18:28:53.310Z] 8998bd30e6a1: Pull complete [2022-08-05T18:28:53.591Z] 04944245beec: Pull complete [2022-08-05T18:28:55.033Z] 699f458cf7ca: Pull complete [2022-08-05T18:28:55.308Z] 765212b225bb: Pull complete [2022-08-05T18:28:55.910Z] f23df028b6ca: Pull complete [2022-08-05T18:28:56.185Z] d65c8cfc05b1: Pull complete [2022-08-05T18:29:11.297Z] 2437ff75d9bd: Pull complete [2022-08-05T18:29:11.297Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-05T18:29:11.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-05T18:29:11.297Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T18:29:11.670Z] prd-ubuntu20.04-docker-arm64-4c-16g-22007 does not seem to be running inside a container [2022-08-05T18:29:11.755Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-05T18:29:14.417Z] $ docker top 8278f0157c255363b982ec1c5c709f395460116cf1120ec92e92b546142fd84e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T18:29:15.411Z] ---> job-cost.sh [2022-08-05T18:29:15.412Z] lf-activate-venv: SKIPPING [2022-08-05T18:29:15.412Z] INFO: No Stack... [2022-08-05T18:29:15.687Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-05T18:29:16.666Z] INFO: Archiving Costs [Pipeline] sh [2022-08-05T18:29:17.350Z] + cut -d, -f6 [2022-08-05T18:29:17.350Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-08-05T18:29:17.402Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-1-stack-cost] [2022-08-05T18:29:17.408Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-1-stack-cost] did not exist. Created. [2022-08-05T18:29:17.408Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-05T18:29:18.152Z] /w/workspace/device-onvif-camera/1@tmp/durable-5cc087f3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-05T18:29:18.954Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-05T18:29:18.994Z] Warning: overwriting stash ‘stack-cost’ [2022-08-05T18:29:19.067Z] Stashed 1 file(s) [Pipeline] } [2022-08-05T18:29:19.083Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-05T18:29:19.161Z] $ docker stop --time=1 8278f0157c255363b982ec1c5c709f395460116cf1120ec92e92b546142fd84e [2022-08-05T18:29:20.699Z] $ docker rm -f 8278f0157c255363b982ec1c5c709f395460116cf1120ec92e92b546142fd84e [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-08-05T18:29:21.708Z] provisioning config files... [2022-08-05T18:29:21.717Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config4057034439161667195tmp [Pipeline] { [Pipeline] sh [2022-08-05T18:29:22.052Z] + set +x [2022-08-05T18:29:22.052Z] + curl -s https://codecov.io/bash [2022-08-05T18:29:22.052Z] + bash -s -- [2022-08-05T18:29:22.052Z] [2022-08-05T18:29:22.052Z] _____ _ [2022-08-05T18:29:22.052Z] / ____| | | [2022-08-05T18:29:22.052Z] | | ___ __| | ___ ___ _____ __ [2022-08-05T18:29:22.052Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-05T18:29:22.052Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-05T18:29:22.052Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-05T18:29:22.052Z] Bash-1.0.6 [2022-08-05T18:29:22.052Z] [2022-08-05T18:29:22.052Z] [2022-08-05T18:29:22.052Z] ==> git version 2.25.1 found [2022-08-05T18:29:22.052Z] ==> 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-08-05T18:29:22.052Z] Release-Date: 2020-01-08 [2022-08-05T18:29:22.052Z] 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-08-05T18:29:22.053Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-05T18:29:22.053Z] ==> Jenkins CI detected. [2022-08-05T18:29:22.053Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-08-05T18:29:22.053Z] project root: . [2022-08-05T18:29:22.053Z] --> token set from env [2022-08-05T18:29:22.053Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-05T18:29:22.053Z] ==> Running gcov in . (disable via -X gcov) [2022-08-05T18:29:22.053Z] ==> Python coveragepy not found [2022-08-05T18:29:22.053Z] ==> Searching for coverage reports in: [2022-08-05T18:29:22.053Z] + . [2022-08-05T18:29:22.053Z] -> Found 1 reports [2022-08-05T18:29:22.053Z] ==> Detecting git/mercurial file structure [2022-08-05T18:29:22.053Z] ==> Reading reports [2022-08-05T18:29:22.314Z] + ./coverage.out bytes=76856 [2022-08-05T18:29:22.314Z] ==> Appending adjustments [2022-08-05T18:29:22.314Z] https://docs.codecov.io/docs/fixing-reports [2022-08-05T18:29:22.314Z] + Found adjustments [2022-08-05T18:29:22.314Z] ==> Gzipping contents [2022-08-05T18:29:22.314Z] 12K /tmp/codecov.ioRzWQ.gz [2022-08-05T18:29:22.314Z] ==> Uploading reports [2022-08-05T18:29:22.314Z] url: https://codecov.io [2022-08-05T18:29:22.314Z] query: branch=PR-125&commit=b17f1348cf1c3f347b135c9352a2a32642543706&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-05T18:29:22.314Z] -> Pinging Codecov [2022-08-05T18:29:22.314Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=b17f1348cf1c3f347b135c9352a2a32642543706&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-05T18:29:22.887Z] -> Uploading to [2022-08-05T18:29:22.887Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-05/F29A59C45E3A92E06B3E522C9905F8EF/b17f1348cf1c3f347b135c9352a2a32642543706/ffe53d3f-7b82-4220-8280-78e22a08e66a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220805%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220805T182922Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a3e56717b92c90b603593281e71181adfb1d54c0a19e92a099849b50e6a0779f [2022-08-05T18:29:22.887Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-05T18:29:22.887Z] Dload Upload Total Spent Left Speed [2022-08-05T18:29:22.887Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10439 0 0 100 10439 0 41923 --:--:-- --:--:-- --:--:-- 41923 [2022-08-05T18:29:22.887Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/b17f1348cf1c3f347b135c9352a2a32642543706 [Pipeline] } [2022-08-05T18:29:22.914Z] 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-08-05T18:29:24.620Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-08-05T18:29:24.620Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-05T18:29:24.620Z] total 16 [2022-08-05T18:29:24.620Z] drwxr-xr-x 3 root root 4096 Aug 5 18:21 . [2022-08-05T18:29:24.620Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 5 18:21 .. [2022-08-05T18:29:24.620Z] drwxr-xr-x 2 root root 4096 Aug 5 18:21 cost [2022-08-05T18:29:24.620Z] -rw-r--r-- 1 root root 91 Aug 5 18:21 cost.csv [2022-08-05T18:29:24.620Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-05T18:29:24.620Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-05T18:29:24.620Z] total 16 [2022-08-05T18:29:24.620Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 5 18:21 . [2022-08-05T18:29:24.620Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 5 18:21 .. [2022-08-05T18:29:24.620Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 5 18:21 cost [2022-08-05T18:29:24.620Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 5 18:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-05T18:29:24.953Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T18:29:25.847Z] ---> package-listing.sh [2022-08-05T18:29:25.847Z] ++ facter osfamily [2022-08-05T18:29:25.847Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-05T18:29:26.107Z] + OS_FAMILY=debian [2022-08-05T18:29:26.107Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-08-05T18:29:26.107Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-05T18:29:26.107Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-05T18:29:26.107Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-05T18:29:26.107Z] + PACKAGES=/tmp/packages_start.txt [2022-08-05T18:29:26.107Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-05T18:29:26.107Z] + PACKAGES=/tmp/packages_end.txt [2022-08-05T18:29:26.107Z] + case "${OS_FAMILY}" in [2022-08-05T18:29:26.107Z] + dpkg -l [2022-08-05T18:29:26.107Z] + grep '^ii' [2022-08-05T18:29:26.107Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-05T18:29:26.107Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-05T18:29:26.107Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-05T18:29:26.107Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-05T18:29:26.107Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-08-05T18:29:26.107Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-08-05T18:29:26.142Z] 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-05T18:29:26.437Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T18:29:27.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-05T18:29:27.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T18:29:27.220Z] prd-ubuntu20.04-docker-8c-8g-22006 does not seem to be running inside a container [2022-08-05T18:29:27.268Z] $ 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-125/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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-05T18:29:27.478Z] $ docker top 9763d95de30d8044a85c52d5488ce70fad18e4673bbf8dd996d2a65c590b5158 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T18:29:27.874Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-05T18:29:28.187Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-05T18:29:28.504Z] + ls /var/log/sa-host [2022-08-05T18:29:28.504Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-05T18:29:28.712Z] provisioning config files... [2022-08-05T18:29:28.723Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7400195410583466614tmp [Pipeline] { [Pipeline] echo [2022-08-05T18:29:28.772Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T18:29:29.086Z] ---> create-netrc.sh [Pipeline] } [2022-08-05T18:29:29.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-05T18:29:29.529Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-05T18:29:29.559Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T18:29:29.868Z] ---> sudo-logs.sh [2022-08-05T18:29:29.868Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-05T18:29:29.949Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T18:29:30.264Z] ---> job-cost.sh [2022-08-05T18:29:30.264Z] lf-activate-venv: SKIPPING [2022-08-05T18:29:30.264Z] DEBUG: total: 0.2199999988079071 [2022-08-05T18:29:30.264Z] INFO: Retrieving Stack Cost... [2022-08-05T18:29:30.837Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-05T18:29:31.135Z] INFO: Archiving Costs [Pipeline] echo [2022-08-05T18:29:31.174Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T18:29:31.498Z] ---> logs-deploy.sh [2022-08-05T18:29:31.498Z] lf-activate-venv: SKIPPING [2022-08-05T18:29:31.498Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/1 [2022-08-05T18:29:31.498Z] INFO: archiving workspace using pattern(s): [2022-08-05T18:29:32.443Z] Archives upload complete. [2022-08-05T18:29:32.443Z] INFO: archiving logs to Nexus