Pull request #115 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 ajcasagrande for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c+88753853dd15dc813abf6fe949f278b33fe89c26 (74d027318d9a1e9dd4d985344e77016aad798488) 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-ssh2143174749108204942.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-ssh13996407755839325029.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-115/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-115/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17545356660890336800.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-115/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11945126510544578815.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-ssh14362734895802468237.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-115/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-115/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3882946652554310356.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20682 in /w/workspace/undry_device-onvif-camera_PR-115 [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-115 # 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 88753853dd15dc813abf6fe949f278b33fe89c26 into PR head commit 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c Merge succeeded, producing 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c Checking out Revision 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c (PR-115) > 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/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c # 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 88753853dd15dc813abf6fe949f278b33fe89c26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c # timeout=10 Commit message: "fix: convert MACAddress and FriendlyName to string type" 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-07-21T17:21:12.728Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-21T17:21:12.898Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-21T17:21:12.985Z] ========================================================= [2022-07-21T17:21:12.985Z] EdgeX Global Pipelines Version Info [2022-07-21T17:21:12.985Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-21T17:21:13.796Z] ------------------- [2022-07-21T17:21:13.796Z] stable info: [2022-07-21T17:21:13.796Z] ------------------- [2022-07-21T17:21:13.796Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T17:21:13.796Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T17:21:13.796Z] Message: update stable to v1.0.238 [2022-07-21T17:21:14.369Z] ------------------- [2022-07-21T17:21:14.369Z] experimental info: [2022-07-21T17:21:14.369Z] ------------------- [2022-07-21T17:21:14.369Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T17:21:14.369Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T17:21:14.369Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-21T17:21:14.711Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-21T17:21:14.752Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-21T17:21:14.789Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-21T17:21:14.827Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-21T17:21:14.863Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-21T17:21:14.903Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-21T17:21:14.946Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-21T17:21:14.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-21T17:21:15.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-21T17:21:15.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-21T17:21:15.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-21T17:21:15.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-21T17:21:15.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-21T17:21:15.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-21T17:21:15.271Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-21T17:21:15.305Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-21T17:21:15.343Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-21T17:21:15.381Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-21T17:21:15.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-21T17:21:15.459Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-21T17:21:15.498Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-21T17:21:15.536Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-21T17:21:15.573Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-21T17:21:15.613Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-21T17:21:15.650Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-21T17:21:15.685Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-21T17:21:15.726Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-21T17:21:15.763Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-115 [Pipeline] echo [2022-07-21T17:21:15.799Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-115 [Pipeline] echo [2022-07-21T17:21:15.841Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-115 [Pipeline] echo [2022-07-21T17:21:15.882Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c [Pipeline] echo [2022-07-21T17:21:15.922Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f3b253 [Pipeline] echo [2022-07-21T17:21:15.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T17:21:16.090Z] provisioning config files... [2022-07-21T17:21:16.102Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-115@tmp/config7912374898255240180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T17:21:16.449Z] ---> docker-login.sh [2022-07-21T17:21:16.449Z] nexus3.edgexfoundry.org:10001 [2022-07-21T17:21:16.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:21:16.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:21:16.971Z] Configure a credential helper to remove this warning. See [2022-07-21T17:21:16.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:21:16.971Z] [2022-07-21T17:21:16.972Z] Login Succeeded [2022-07-21T17:21:16.972Z] nexus3.edgexfoundry.org:10002 [2022-07-21T17:21:17.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:21:17.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:21:17.234Z] Configure a credential helper to remove this warning. See [2022-07-21T17:21:17.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:21:17.234Z] [2022-07-21T17:21:17.234Z] Login Succeeded [2022-07-21T17:21:17.234Z] nexus3.edgexfoundry.org:10003 [2022-07-21T17:21:17.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:21:17.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:21:17.234Z] Configure a credential helper to remove this warning. See [2022-07-21T17:21:17.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:21:17.234Z] [2022-07-21T17:21:17.234Z] Login Succeeded [2022-07-21T17:21:17.234Z] nexus3.edgexfoundry.org:10004 [2022-07-21T17:21:17.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:21:17.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:21:17.495Z] Configure a credential helper to remove this warning. See [2022-07-21T17:21:17.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:21:17.495Z] [2022-07-21T17:21:17.495Z] Login Succeeded [2022-07-21T17:21:17.495Z] docker.io [2022-07-21T17:21:17.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:21:18.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:21:18.068Z] Configure a credential helper to remove this warning. See [2022-07-21T17:21:18.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:21:18.068Z] [2022-07-21T17:21:18.068Z] Login Succeeded [2022-07-21T17:21:18.068Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T17:21:18.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-21T17:21:18.734Z] + git rev-list -1 --merges 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c~1..2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c [Pipeline] echo [2022-07-21T17:21:18.787Z] -----------> git rev-list -1 --merges 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c~1..2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c [false] [Pipeline] sh [2022-07-21T17:21:19.106Z] + git log --format=format:%s -1 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c [Pipeline] echo [2022-07-21T17:21:19.150Z] ========================================================= [2022-07-21T17:21:19.150Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-21T17:21:19.150Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T17:21:19.616Z] + git log --format=format:%s -1 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c [Pipeline] echo [2022-07-21T17:21:19.645Z] [semverPrep] GIT_COMMIT: 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c, Commit Message: fix: convert MACAddress and FriendlyName to string type [Pipeline] echo [2022-07-21T17:21:19.676Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-21T17:21:20.096Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-21T17:21:20.096Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-21T17:21:20.096Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-21T17:21:20.096Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-21T17:21:20.096Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-21T17:21:20.096Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-21T17:21:20.096Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T17:21:20.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T17:21:20.689Z] [2022-07-21T17:21:20.689Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T17:21:21.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T17:21:21.078Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-21T17:21:21.078Z] b85a868b505f: Pulling fs layer [2022-07-21T17:21:21.078Z] e2be974225ed: Pulling fs layer [2022-07-21T17:21:21.078Z] 339a4e72a1f5: Pulling fs layer [2022-07-21T17:21:21.078Z] 988bab9f4d93: Pulling fs layer [2022-07-21T17:21:21.078Z] 1469e6f7b9e6: Pulling fs layer [2022-07-21T17:21:21.078Z] eaf3925da568: Pulling fs layer [2022-07-21T17:21:21.078Z] bab4dde63d76: Pulling fs layer [2022-07-21T17:21:21.078Z] bde34c3a00c8: Pulling fs layer [2022-07-21T17:21:21.078Z] b352a97aabf1: Pulling fs layer [2022-07-21T17:21:21.078Z] 4872d77fe225: Pulling fs layer [2022-07-21T17:21:21.078Z] 5851b861e8e6: Pulling fs layer [2022-07-21T17:21:21.078Z] bab4dde63d76: Waiting [2022-07-21T17:21:21.078Z] bde34c3a00c8: Waiting [2022-07-21T17:21:21.078Z] b352a97aabf1: Waiting [2022-07-21T17:21:21.078Z] 4872d77fe225: Waiting [2022-07-21T17:21:21.078Z] 5851b861e8e6: Waiting [2022-07-21T17:21:21.078Z] 988bab9f4d93: Waiting [2022-07-21T17:21:21.078Z] 1469e6f7b9e6: Waiting [2022-07-21T17:21:21.078Z] eaf3925da568: Waiting [2022-07-21T17:21:21.078Z] e2be974225ed: Verifying Checksum [2022-07-21T17:21:21.078Z] e2be974225ed: Download complete [2022-07-21T17:21:21.078Z] 988bab9f4d93: Verifying Checksum [2022-07-21T17:21:21.078Z] 988bab9f4d93: Download complete [2022-07-21T17:21:21.344Z] 339a4e72a1f5: Verifying Checksum [2022-07-21T17:21:21.344Z] 339a4e72a1f5: Download complete [2022-07-21T17:21:21.344Z] 1469e6f7b9e6: Verifying Checksum [2022-07-21T17:21:21.344Z] 1469e6f7b9e6: Download complete [2022-07-21T17:21:21.344Z] eaf3925da568: Verifying Checksum [2022-07-21T17:21:21.344Z] eaf3925da568: Download complete [2022-07-21T17:21:21.344Z] bde34c3a00c8: Download complete [2022-07-21T17:21:21.344Z] b352a97aabf1: Verifying Checksum [2022-07-21T17:21:21.344Z] b352a97aabf1: Download complete [2022-07-21T17:21:21.344Z] 4872d77fe225: Verifying Checksum [2022-07-21T17:21:21.344Z] 4872d77fe225: Download complete [2022-07-21T17:21:21.344Z] 5851b861e8e6: Verifying Checksum [2022-07-21T17:21:21.344Z] 5851b861e8e6: Download complete [2022-07-21T17:21:21.344Z] b85a868b505f: Verifying Checksum [2022-07-21T17:21:21.344Z] b85a868b505f: Download complete [2022-07-21T17:21:21.915Z] bab4dde63d76: Verifying Checksum [2022-07-21T17:21:21.915Z] bab4dde63d76: Download complete [2022-07-21T17:21:22.857Z] b85a868b505f: Pull complete [2022-07-21T17:21:23.116Z] e2be974225ed: Pull complete [2022-07-21T17:21:23.379Z] 339a4e72a1f5: Pull complete [2022-07-21T17:21:23.638Z] 988bab9f4d93: Pull complete [2022-07-21T17:21:23.902Z] 1469e6f7b9e6: Pull complete [2022-07-21T17:21:23.902Z] eaf3925da568: Pull complete [2022-07-21T17:21:26.456Z] bab4dde63d76: Pull complete [2022-07-21T17:21:26.456Z] bde34c3a00c8: Pull complete [2022-07-21T17:21:26.456Z] b352a97aabf1: Pull complete [2022-07-21T17:21:26.456Z] 4872d77fe225: Pull complete [2022-07-21T17:21:26.456Z] 5851b861e8e6: Pull complete [2022-07-21T17:21:26.456Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-21T17:21:26.456Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T17:21:26.456Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T17:21:26.685Z] prd-ubuntu20.04-docker-8c-8g-20682 does not seem to be running inside a container [2022-07-21T17:21:26.732Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@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-07-21T17:21:28.408Z] $ docker top da5123c4064849dbd0bed7d296ca20ca8b71eefe54cb7962a2183ceae2d6bf92 -eo pid,comm [2022-07-21T17:21:28.482Z] 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-07-21T17:21:28.482Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-21T17:21:28.602Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T17:21:28.602Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T17:21:28.739Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T17:21:28.744Z] $ docker exec da5123c4064849dbd0bed7d296ca20ca8b71eefe54cb7962a2183ceae2d6bf92 ssh-agent [2022-07-21T17:21:28.879Z] SSH_AUTH_SOCK=/tmp/ssh-eaJEM87skNcQ/agent.35 [2022-07-21T17:21:28.879Z] SSH_AGENT_PID=42 [2022-07-21T17:21:28.886Z] Running ssh-add (command line suppressed) [2022-07-21T17:21:29.007Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-115@tmp/private_key_7881794892778890267.key (/w/workspace/undry_device-onvif-camera_PR-115@tmp/private_key_7881794892778890267.key) [2022-07-21T17:21:29.021Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T17:21:29.358Z] + git tag --points-at HEAD [Pipeline] } [2022-07-21T17:21:29.388Z] $ docker exec --env ******** --env ******** da5123c4064849dbd0bed7d296ca20ca8b71eefe54cb7962a2183ceae2d6bf92 ssh-agent -k [2022-07-21T17:21:29.507Z] unset SSH_AUTH_SOCK; [2022-07-21T17:21:29.507Z] unset SSH_AGENT_PID; [2022-07-21T17:21:29.508Z] echo Agent pid 42 killed; [2022-07-21T17:21:29.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-21T17:21:29.603Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T17:21:29.603Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T17:21:29.744Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T17:21:29.750Z] $ docker exec da5123c4064849dbd0bed7d296ca20ca8b71eefe54cb7962a2183ceae2d6bf92 ssh-agent [2022-07-21T17:21:29.886Z] SSH_AUTH_SOCK=/tmp/ssh-QSqqfDc9NDgh/agent.75 [2022-07-21T17:21:29.886Z] SSH_AGENT_PID=81 [2022-07-21T17:21:29.892Z] Running ssh-add (command line suppressed) [2022-07-21T17:21:30.015Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-115@tmp/private_key_5266225352309980916.key (/w/workspace/undry_device-onvif-camera_PR-115@tmp/private_key_5266225352309980916.key) [2022-07-21T17:21:30.029Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T17:21:30.364Z] + git semver init [2022-07-21T17:21:30.628Z] 2022-07-21 17:21:30,563 [run_init] DEBUG init version:0.0.0 force:False [2022-07-21T17:21:30.628Z] 2022-07-21 17:21:30,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-115/.semver [2022-07-21T17:21:30.628Z] 2022-07-21 17:21:30,564 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-115/.semver [2022-07-21T17:21:30.628Z] 2022-07-21 17:21:30,564 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-115/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-115, universal_newlines=False, shell=None, istream=None) [2022-07-21T17:21:31.572Z] 2022-07-21 17:21:31,329 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-115/.git/info/exclude [2022-07-21T17:21:31.572Z] 2022-07-21 17:21:31,330 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-115/.semver/PR-115 with force:False [2022-07-21T17:21:31.572Z] 2022-07-21 17:21:31,330 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-115/.semver/PR-115 [2022-07-21T17:21:31.572Z] 2022-07-21 17:21:31,334 [execute] INFO git cat-file --batch-check [2022-07-21T17:21:31.572Z] 2022-07-21 17:21:31,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) [2022-07-21T17:21:31.572Z] 2022-07-21 17:21:31,342 [execute] INFO git cat-file --batch [2022-07-21T17:21:31.572Z] 2022-07-21 17:21:31,342 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) [2022-07-21T17:21:31.572Z] 2022-07-21 17:21:31,347 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-115/.semver/PR-115 [2022-07-21T17:21:31.572Z] 0.0.0 [Pipeline] } [2022-07-21T17:21:31.604Z] $ docker exec --env ******** --env ******** da5123c4064849dbd0bed7d296ca20ca8b71eefe54cb7962a2183ceae2d6bf92 ssh-agent -k [2022-07-21T17:21:31.731Z] unset SSH_AUTH_SOCK; [2022-07-21T17:21:31.732Z] unset SSH_AGENT_PID; [2022-07-21T17:21:31.732Z] echo Agent pid 81 killed; [2022-07-21T17:21:31.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-21T17:21:32.170Z] + git semver [Pipeline] } [2022-07-21T17:21:32.462Z] $ docker stop --time=1 da5123c4064849dbd0bed7d296ca20ca8b71eefe54cb7962a2183ceae2d6bf92 [2022-07-21T17:21:33.811Z] $ docker rm -f da5123c4064849dbd0bed7d296ca20ca8b71eefe54cb7962a2183ceae2d6bf92 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T17:21:34.229Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-21T17:21:34.532Z] Stashed 1 file(s) [Pipeline] echo [2022-07-21T17:21:34.549Z] [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-07-21T17:21:35.107Z] provisioning config files... [2022-07-21T17:21:35.119Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-115@tmp/config6290398281476984335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T17:21:35.462Z] ---> docker-login.sh [2022-07-21T17:21:35.462Z] nexus3.edgexfoundry.org:10001 [2022-07-21T17:21:35.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:21:35.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:21:35.462Z] Configure a credential helper to remove this warning. See [2022-07-21T17:21:35.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:21:35.462Z] [2022-07-21T17:21:35.462Z] Login Succeeded [2022-07-21T17:21:35.462Z] nexus3.edgexfoundry.org:10002 [2022-07-21T17:21:35.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:21:35.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:21:35.723Z] Configure a credential helper to remove this warning. See [2022-07-21T17:21:35.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:21:35.723Z] [2022-07-21T17:21:35.723Z] Login Succeeded [2022-07-21T17:21:35.723Z] nexus3.edgexfoundry.org:10003 [2022-07-21T17:21:35.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:21:35.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:21:35.723Z] Configure a credential helper to remove this warning. See [2022-07-21T17:21:35.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:21:35.723Z] [2022-07-21T17:21:35.723Z] Login Succeeded [2022-07-21T17:21:35.723Z] nexus3.edgexfoundry.org:10004 [2022-07-21T17:21:35.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:21:35.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:21:35.984Z] Configure a credential helper to remove this warning. See [2022-07-21T17:21:35.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:21:35.984Z] [2022-07-21T17:21:35.984Z] Login Succeeded [2022-07-21T17:21:35.984Z] docker.io [2022-07-21T17:21:35.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:21:36.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:21:36.245Z] Configure a credential helper to remove this warning. See [2022-07-21T17:21:36.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:21:36.245Z] [2022-07-21T17:21:36.245Z] Login Succeeded [2022-07-21T17:21:36.245Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T17:21:36.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T17:21:36.482Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T17:21:36.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T17:21:36.549Z] ========================================================= [2022-07-21T17:21:36.549Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-21T17:21:36.549Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T17:21:37.024Z] + 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-07-21T17:21:37.024Z] Sending build context to Docker daemon 19.98MB [2022-07-21T17:21:37.024Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T17:21:37.024Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-21T17:21:37.285Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-21T17:21:37.285Z] 2408cc74d12b: Pulling fs layer [2022-07-21T17:21:37.285Z] ea60b727a1ce: Pulling fs layer [2022-07-21T17:21:37.285Z] 30c4a7721957: Pulling fs layer [2022-07-21T17:21:37.285Z] 370296b7ddb6: Pulling fs layer [2022-07-21T17:21:37.285Z] 7c6cee850709: Pulling fs layer [2022-07-21T17:21:37.285Z] 39a5fcdaea64: Pulling fs layer [2022-07-21T17:21:37.285Z] d94ebbe4e438: Pulling fs layer [2022-07-21T17:21:37.285Z] bcfd1f05c69d: Pulling fs layer [2022-07-21T17:21:37.285Z] 59ccb84bbe0f: Pulling fs layer [2022-07-21T17:21:37.285Z] 370296b7ddb6: Waiting [2022-07-21T17:21:37.285Z] 7c6cee850709: Waiting [2022-07-21T17:21:37.285Z] 39a5fcdaea64: Waiting [2022-07-21T17:21:37.285Z] d94ebbe4e438: Waiting [2022-07-21T17:21:37.285Z] bcfd1f05c69d: Waiting [2022-07-21T17:21:37.285Z] 59ccb84bbe0f: Waiting [2022-07-21T17:21:37.285Z] 30c4a7721957: Verifying Checksum [2022-07-21T17:21:37.285Z] 30c4a7721957: Download complete [2022-07-21T17:21:37.285Z] ea60b727a1ce: Verifying Checksum [2022-07-21T17:21:37.285Z] ea60b727a1ce: Download complete [2022-07-21T17:21:37.285Z] 7c6cee850709: Verifying Checksum [2022-07-21T17:21:37.285Z] 7c6cee850709: Download complete [2022-07-21T17:21:37.285Z] 39a5fcdaea64: Verifying Checksum [2022-07-21T17:21:37.285Z] 39a5fcdaea64: Download complete [2022-07-21T17:21:37.285Z] 2408cc74d12b: Verifying Checksum [2022-07-21T17:21:37.285Z] 2408cc74d12b: Download complete [2022-07-21T17:21:37.285Z] d94ebbe4e438: Download complete [2022-07-21T17:21:37.285Z] 2408cc74d12b: Pull complete [2022-07-21T17:21:37.547Z] ea60b727a1ce: Pull complete [2022-07-21T17:21:37.547Z] 30c4a7721957: Pull complete [2022-07-21T17:21:37.809Z] 59ccb84bbe0f: Verifying Checksum [2022-07-21T17:21:37.809Z] 59ccb84bbe0f: Download complete [2022-07-21T17:21:38.070Z] 370296b7ddb6: Verifying Checksum [2022-07-21T17:21:38.070Z] 370296b7ddb6: Download complete [2022-07-21T17:21:38.070Z] bcfd1f05c69d: Verifying Checksum [2022-07-21T17:21:38.070Z] bcfd1f05c69d: Download complete [2022-07-21T17:21:42.273Z] 370296b7ddb6: Pull complete [2022-07-21T17:21:42.273Z] 7c6cee850709: Pull complete [2022-07-21T17:21:42.273Z] 39a5fcdaea64: Pull complete [2022-07-21T17:21:42.533Z] d94ebbe4e438: Pull complete [2022-07-21T17:21:45.069Z] bcfd1f05c69d: Pull complete [2022-07-21T17:21:45.640Z] 59ccb84bbe0f: Pull complete [2022-07-21T17:21:45.640Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-21T17:21:45.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-21T17:21:45.640Z] ---> a4fb48ad2a94 [2022-07-21T17:21:45.640Z] Step 3/13 : ARG MAKE="make build" [2022-07-21T17:21:47.555Z] ---> Running in 75abf8290d7c [2022-07-21T17:21:47.555Z] Removing intermediate container 75abf8290d7c [2022-07-21T17:21:47.555Z] ---> 9cb1a0ed26a3 [2022-07-21T17:21:47.555Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T17:21:47.555Z] ---> Running in 259d259fc221 [2022-07-21T17:21:47.816Z] Removing intermediate container 259d259fc221 [2022-07-21T17:21:47.816Z] ---> 1480c859b63f [2022-07-21T17:21:47.816Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T17:21:47.816Z] ---> Running in 9f2ff41dd06c [2022-07-21T17:21:47.816Z] Removing intermediate container 9f2ff41dd06c [2022-07-21T17:21:47.816Z] ---> 27d13e6b6787 [2022-07-21T17:21:47.816Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-21T17:21:47.816Z] ---> Running in 2c018e6d1c83 [2022-07-21T17:21:48.077Z] Removing intermediate container 2c018e6d1c83 [2022-07-21T17:21:48.077Z] ---> 0ec5f71b7b72 [2022-07-21T17:21:48.078Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T17:21:48.078Z] ---> Running in 18dc18973c22 [2022-07-21T17:21:48.651Z] Removing intermediate container 18dc18973c22 [2022-07-21T17:21:48.651Z] ---> dd41559ffdd0 [2022-07-21T17:21:48.651Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T17:21:48.651Z] ---> Running in b34415f79941 [2022-07-21T17:21:48.914Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T17:21:49.858Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T17:21:49.936Z] Still waiting to schedule task [2022-07-21T17:21:49.937Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-21T17:21:50.435Z] OK: 211 MiB in 51 packages [2022-07-21T17:21:50.695Z] Removing intermediate container b34415f79941 [2022-07-21T17:21:50.695Z] ---> 51faf6a86058 [2022-07-21T17:21:50.695Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-21T17:21:50.695Z] ---> Running in d4f05caa80c8 [2022-07-21T17:21:50.960Z] Removing intermediate container d4f05caa80c8 [2022-07-21T17:21:50.960Z] ---> b6fa3211380f [2022-07-21T17:21:50.960Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-21T17:21:50.960Z] ---> abbbd1be54d6 [2022-07-21T17:21:50.960Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T17:21:50.960Z] ---> Running in 6079f005173d [2022-07-21T17:22:12.946Z] Removing intermediate container 6079f005173d [2022-07-21T17:22:12.946Z] ---> b5cc08c1aab0 [2022-07-21T17:22:12.946Z] Step 12/13 : COPY . . [2022-07-21T17:22:12.946Z] ---> 37310578898a [2022-07-21T17:22:12.946Z] Step 13/13 : RUN ${MAKE} [2022-07-21T17:22:12.946Z] ---> Running in 52d544544894 [2022-07-21T17:22:12.946Z] noop [2022-07-21T17:22:12.946Z] Removing intermediate container 52d544544894 [2022-07-21T17:22:12.946Z] ---> 14c65b0b785b [2022-07-21T17:22:12.946Z] Successfully built 14c65b0b785b [2022-07-21T17:22:12.947Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T17:22:13.401Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-21T17:22:13.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T17:22:13.572Z] prd-ubuntu20.04-docker-8c-8g-20682 does not seem to be running inside a container [2022-07-21T17:22:13.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@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-07-21T17:22:14.040Z] $ docker top 9533327ee94e95fb46048a74d1f5559552ec515839264e4890aa39ebbd505033 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T17:22:14.512Z] + go version [2022-07-21T17:22:14.513Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-21T17:22:14.586Z] $ docker stop --time=1 9533327ee94e95fb46048a74d1f5559552ec515839264e4890aa39ebbd505033 [2022-07-21T17:22:15.871Z] $ docker rm -f 9533327ee94e95fb46048a74d1f5559552ec515839264e4890aa39ebbd505033 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T17:22:16.604Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-21T17:22:16.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T17:22:16.788Z] prd-ubuntu20.04-docker-8c-8g-20682 does not seem to be running inside a container [2022-07-21T17:22:16.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@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-07-21T17:22:17.266Z] $ docker top 8a9bfe3fb771a68d3ded8e880c08349a367fb7006283b6c7b69b3addc1934957 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T17:22:17.690Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-115 [Pipeline] fileExists [Pipeline] sh [2022-07-21T17:22:18.065Z] + make test [2022-07-21T17:22:18.065Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-21T17:22:18.634Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-21T17:22:30.855Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-21T17:22:30.855Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.026s coverage: 10.7% of statements [2022-07-21T17:22:30.855Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-21T17:22:33.405Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.158s coverage: 13.8% of statements [2022-07-21T17:22:41.530Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-21T17:22:44.825Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-21T17:22:44.826Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-21T17:22:44.826Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-21T17:22:45.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-21T17:22:45.466Z] $ docker stop --time=1 8a9bfe3fb771a68d3ded8e880c08349a367fb7006283b6c7b69b3addc1934957 [2022-07-21T17:22:47.318Z] $ docker rm -f 8a9bfe3fb771a68d3ded8e880c08349a367fb7006283b6c7b69b3addc1934957 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T17:22:47.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-21T17:22:47.925Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-21T17:22:48.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T17:22:48.893Z] + ls -al . [2022-07-21T17:22:48.893Z] total 232 [2022-07-21T17:22:48.893Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 17:22 . [2022-07-21T17:22:48.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 17:21 .. [2022-07-21T17:22:48.893Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 17:22 .git [2022-07-21T17:22:48.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 17:21 .github [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 21 17:21 .gitignore [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 21 17:21 .golangci.yml [2022-07-21T17:22:48.893Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 17:21 .semver [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 21 17:21 Attribution.txt [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 21 17:21 CHANGELOG.md [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 21 17:21 Dockerfile [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 17:21 GOVERNANCE.md [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 21 17:21 Jenkinsfile [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 17:21 LICENSE [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 21 17:21 Makefile [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 21 17:21 OWNERS.md [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 21 17:21 README.md [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 17:21 VERSION [2022-07-21T17:22:48.893Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 17:21 bin [2022-07-21T17:22:48.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 17:21 cmd [2022-07-21T17:22:48.893Z] -rw-r--r-- 1 jenkins jenkins 76491 Jul 21 17:22 coverage.out [2022-07-21T17:22:48.893Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 21 17:21 doc [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 21 17:21 go.mod [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 21 17:21 go.sum [2022-07-21T17:22:48.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 17:21 internal [2022-07-21T17:22:48.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 17:21 snap [2022-07-21T17:22:48.893Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 21 17:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T17:22:49.285Z] + 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=2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c --label arch=amd64 --label version=0.0.0 . [2022-07-21T17:22:49.285Z] Sending build context to Docker daemon 20.05MB [2022-07-21T17:22:49.285Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T17:22:49.285Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-21T17:22:49.285Z] ---> 14c65b0b785b [2022-07-21T17:22:49.285Z] Step 3/26 : ARG MAKE="make build" [2022-07-21T17:22:49.545Z] ---> Running in d9516dde562d [2022-07-21T17:22:49.545Z] Removing intermediate container d9516dde562d [2022-07-21T17:22:49.545Z] ---> 50762756763b [2022-07-21T17:22:49.545Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T17:22:49.545Z] ---> Running in bf5210c06d66 [2022-07-21T17:22:49.804Z] Removing intermediate container bf5210c06d66 [2022-07-21T17:22:49.804Z] ---> 4f733f2ce4ae [2022-07-21T17:22:49.804Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T17:22:49.804Z] ---> Running in ceda449729ce [2022-07-21T17:22:49.804Z] Removing intermediate container ceda449729ce [2022-07-21T17:22:49.804Z] ---> 0b1616d9987f [2022-07-21T17:22:49.804Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-21T17:22:50.066Z] ---> Running in 8d288ba02abc [2022-07-21T17:22:50.066Z] Removing intermediate container 8d288ba02abc [2022-07-21T17:22:50.066Z] ---> e5ac77e3d6e3 [2022-07-21T17:22:50.066Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T17:22:50.066Z] ---> Running in 414f3806a99d [2022-07-21T17:22:50.636Z] Removing intermediate container 414f3806a99d [2022-07-21T17:22:50.636Z] ---> 4d69dfad9ed5 [2022-07-21T17:22:50.636Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T17:22:50.636Z] ---> Running in f3a9f4485bed [2022-07-21T17:22:50.896Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T17:22:51.839Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T17:22:52.782Z] OK: 211 MiB in 51 packages [2022-07-21T17:22:53.042Z] Removing intermediate container f3a9f4485bed [2022-07-21T17:22:53.042Z] ---> 6805ec2a7042 [2022-07-21T17:22:53.042Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-21T17:22:53.042Z] ---> Running in 0ffb89c078d2 [2022-07-21T17:22:53.301Z] Removing intermediate container 0ffb89c078d2 [2022-07-21T17:22:53.301Z] ---> b7a21119f26b [2022-07-21T17:22:53.301Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-21T17:22:53.301Z] ---> e753e301239d [2022-07-21T17:22:53.301Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T17:22:53.301Z] ---> Running in 27397e72fd04 [2022-07-21T17:22:54.240Z] Removing intermediate container 27397e72fd04 [2022-07-21T17:22:54.240Z] ---> 096e02f7dc9e [2022-07-21T17:22:54.240Z] Step 12/26 : COPY . . [2022-07-21T17:22:54.811Z] ---> 52cda63378cd [2022-07-21T17:22:54.811Z] Step 13/26 : RUN ${MAKE} [2022-07-21T17:22:54.811Z] ---> Running in 03cb45f9f017 [2022-07-21T17:22:55.071Z] 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-07-21T17:23:17.021Z] Removing intermediate container 03cb45f9f017 [2022-07-21T17:23:17.021Z] ---> 6d33104d8a98 [2022-07-21T17:23:17.021Z] Step 14/26 : FROM alpine:3.15 [2022-07-21T17:23:17.021Z] 3.15: Pulling from library/alpine [2022-07-21T17:23:17.021Z] ab6db1bc80d0: Pulling fs layer [2022-07-21T17:23:17.280Z] ab6db1bc80d0: Verifying Checksum [2022-07-21T17:23:17.280Z] ab6db1bc80d0: Download complete [2022-07-21T17:23:17.539Z] ab6db1bc80d0: Pull complete [2022-07-21T17:23:17.539Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-21T17:23:17.539Z] Status: Downloaded newer image for alpine:3.15 [2022-07-21T17:23:17.539Z] ---> 2720e26172a0 [2022-07-21T17:23:17.539Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-21T17:23:17.539Z] ---> Running in 61bdf9a8e6b6 [2022-07-21T17:23:17.539Z] Removing intermediate container 61bdf9a8e6b6 [2022-07-21T17:23:17.539Z] ---> d72895816396 [2022-07-21T17:23:17.539Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-21T17:23:17.798Z] ---> Running in 27b086c7be5e [2022-07-21T17:23:18.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-21T17:23:18.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-21T17:23:18.321Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-21T17:23:18.321Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-21T17:23:18.321Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-21T17:23:18.321Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-21T17:23:18.321Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-21T17:23:18.321Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-21T17:23:18.321Z] Executing busybox-1.34.1-r7.trigger [2022-07-21T17:23:18.321Z] OK: 8 MiB in 20 packages [2022-07-21T17:23:18.581Z] Removing intermediate container 27b086c7be5e [2022-07-21T17:23:18.581Z] ---> b27840e4f932 [2022-07-21T17:23:18.581Z] Step 17/26 : WORKDIR / [2022-07-21T17:23:18.842Z] ---> Running in 1a14abc1d608 [2022-07-21T17:23:18.842Z] Removing intermediate container 1a14abc1d608 [2022-07-21T17:23:18.842Z] ---> 144a7c3a16f1 [2022-07-21T17:23:18.842Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-21T17:23:19.413Z] ---> 8f7c7c6d7655 [2022-07-21T17:23:19.413Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-21T17:23:19.672Z] ---> 04e6a02fcb57 [2022-07-21T17:23:19.672Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-21T17:23:19.933Z] ---> 4f083f5a1f5b [2022-07-21T17:23:19.933Z] Step 21/26 : EXPOSE 59984 [2022-07-21T17:23:19.933Z] ---> Running in 7e6d3540976c [2022-07-21T17:23:19.933Z] Removing intermediate container 7e6d3540976c [2022-07-21T17:23:19.933Z] ---> d967abec1a28 [2022-07-21T17:23:19.933Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-21T17:23:19.933Z] ---> Running in 0456870b232a [2022-07-21T17:23:20.193Z] Removing intermediate container 0456870b232a [2022-07-21T17:23:20.193Z] ---> e894a9863904 [2022-07-21T17:23:20.193Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-21T17:23:20.193Z] ---> Running in c2752ec6b5e7 [2022-07-21T17:23:20.193Z] Removing intermediate container c2752ec6b5e7 [2022-07-21T17:23:20.193Z] ---> 67f29cae7404 [2022-07-21T17:23:20.193Z] Step 24/26 : LABEL arch=amd64 [2022-07-21T17:23:20.193Z] ---> Running in dee66eb118d4 [2022-07-21T17:23:20.193Z] Removing intermediate container dee66eb118d4 [2022-07-21T17:23:20.193Z] ---> 994b7de9ec67 [2022-07-21T17:23:20.193Z] Step 25/26 : LABEL git_sha=2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c [2022-07-21T17:23:20.457Z] ---> Running in d625ea9888b4 [2022-07-21T17:23:20.457Z] Removing intermediate container d625ea9888b4 [2022-07-21T17:23:20.457Z] ---> f365f6dde811 [2022-07-21T17:23:20.457Z] Step 26/26 : LABEL version=0.0.0 [2022-07-21T17:23:20.457Z] ---> Running in 1cfa1ddbf55d [2022-07-21T17:23:20.717Z] Removing intermediate container 1cfa1ddbf55d [2022-07-21T17:23:20.717Z] ---> b134a9c82475 [2022-07-21T17:23:20.717Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-21T17:23:20.717Z] Successfully built b134a9c82475 [2022-07-21T17:23:20.717Z] 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-07-21T17:23:23.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T17:23:23.164Z] [2022-07-21T17:23:23.164Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T17:23:23.896Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T17:23:23.896Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-21T17:23:23.896Z] 5eb5b503b376: Pulling fs layer [2022-07-21T17:23:23.896Z] 5c69ac0246d0: Pulling fs layer [2022-07-21T17:23:23.896Z] ec43610c2a17: Pulling fs layer [2022-07-21T17:23:23.896Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-21T17:23:23.896Z] 33b1e0a273af: Pulling fs layer [2022-07-21T17:23:23.896Z] 5d3b04190fa2: Pulling fs layer [2022-07-21T17:23:23.896Z] 2f39f015ded8: Pulling fs layer [2022-07-21T17:23:23.896Z] 33b1e0a273af: Waiting [2022-07-21T17:23:23.896Z] 5d3b04190fa2: Waiting [2022-07-21T17:23:23.896Z] 3a2ae6a8a46f: Waiting [2022-07-21T17:23:23.896Z] 2f39f015ded8: Waiting [2022-07-21T17:23:23.896Z] 5c69ac0246d0: Verifying Checksum [2022-07-21T17:23:23.896Z] 5c69ac0246d0: Download complete [2022-07-21T17:23:23.896Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-21T17:23:23.896Z] 3a2ae6a8a46f: Download complete [2022-07-21T17:23:23.896Z] 33b1e0a273af: Verifying Checksum [2022-07-21T17:23:23.896Z] 33b1e0a273af: Download complete [2022-07-21T17:23:24.155Z] ec43610c2a17: Verifying Checksum [2022-07-21T17:23:24.155Z] ec43610c2a17: Download complete [2022-07-21T17:23:24.155Z] 5d3b04190fa2: Verifying Checksum [2022-07-21T17:23:24.155Z] 5d3b04190fa2: Download complete [2022-07-21T17:23:24.155Z] 5eb5b503b376: Verifying Checksum [2022-07-21T17:23:24.155Z] 5eb5b503b376: Download complete [2022-07-21T17:23:24.725Z] 2f39f015ded8: Download complete [2022-07-21T17:23:25.665Z] 5eb5b503b376: Pull complete [2022-07-21T17:23:25.665Z] 5c69ac0246d0: Pull complete [2022-07-21T17:23:26.233Z] ec43610c2a17: Pull complete [2022-07-21T17:23:26.233Z] 3a2ae6a8a46f: Pull complete [2022-07-21T17:23:26.248Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20683 in /w/workspace/undry_device-onvif-camera_PR-115 [Pipeline] { [Pipeline] ws [2022-07-21T17:23:26.437Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [2022-07-21T17:23:26.494Z] 33b1e0a273af: Pull complete [2022-07-21T17:23:26.494Z] 5d3b04190fa2: Pull complete [Pipeline] checkout [2022-07-21T17:23:26.544Z] Selected Git installation does not exist. Using Default [2022-07-21T17:23:26.544Z] The recommended git tool is: NONE [2022-07-21T17:23:31.770Z] 2f39f015ded8: Pull complete [2022-07-21T17:23:31.770Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-21T17:23:31.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T17:23:31.770Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T17:23:32.285Z] prd-ubuntu20.04-docker-8c-8g-20682 does not seem to be running inside a container [2022-07-21T17:23:32.339Z] $ 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-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@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-07-21T17:23:33.127Z] using credential edgex-jenkins-ssh [2022-07-21T17:23:33.151Z] Cloning the remote Git repository [2022-07-21T17:23:34.243Z] $ docker top fa7351ba79dc6a8a4de2bd9ee2808b3737b192d46101561a2f4d2f51422e744b -eo pid,comm [2022-07-21T17:23:33.234Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-21T17:23:33.307Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-07-21T17:23:33.400Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-21T17:23:33.401Z] > git --version # timeout=10 [2022-07-21T17:23:33.477Z] > git --version # 'git version 2.25.1' [2022-07-21T17:23:33.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T17:23:33.579Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T17:23:34.920Z] ---> job-cost.sh [2022-07-21T17:23:34.920Z] lf-activate-venv: SKIPPING [2022-07-21T17:23:34.920Z] INFO: No Stack... [2022-07-21T17:23:35.221Z] Merging remotes/origin/main commit 88753853dd15dc813abf6fe949f278b33fe89c26 into PR head commit 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c [2022-07-21T17:23:35.492Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T17:23:35.588Z] Merge succeeded, producing 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c [2022-07-21T17:23:35.588Z] Checking out Revision 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c (PR-115) [2022-07-21T17:23:34.624Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-21T17:23:34.646Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-21T17:23:34.673Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-21T17:23:34.707Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-21T17:23:34.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T17:23:34.721Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-21T17:23:35.240Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T17:23:35.268Z] > git checkout -f 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c # timeout=10 [2022-07-21T17:23:35.492Z] > git remote # timeout=10 [2022-07-21T17:23:35.510Z] > git config --get remote.origin.url # timeout=10 [2022-07-21T17:23:35.531Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T17:23:35.543Z] > git merge 88753853dd15dc813abf6fe949f278b33fe89c26 # timeout=10 [2022-07-21T17:23:35.568Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-21T17:23:35.596Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T17:23:35.610Z] > git checkout -f 2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c # timeout=10 [2022-07-21T17:23:35.753Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T17:23:36.396Z] + cat /w/workspace/undry_device-onvif-camera_PR-115/archives/cost.csv [2022-07-21T17:23:36.396Z] + cut -d, -f6 [Pipeline] lock [2022-07-21T17:23:36.678Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-115-1-stack-cost] [2022-07-21T17:23:36.683Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-115-1-stack-cost] did not exist. Created. [2022-07-21T17:23:36.683Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-115-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T17:23:37.429Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-21T17:23:37.641Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T17:23:37.824Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-115-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T17:23:38.017Z] $ docker stop --time=1 fa7351ba79dc6a8a4de2bd9ee2808b3737b192d46101561a2f4d2f51422e744b [2022-07-21T17:23:39.198Z] $ docker rm -f fa7351ba79dc6a8a4de2bd9ee2808b3737b192d46101561a2f4d2f51422e744b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-21T17:23:39.913Z] Commit message: "fix: convert MACAddress and FriendlyName to string type" [2022-07-21T17:23:39.969Z] > git --version # timeout=10 [2022-07-21T17:23:39.978Z] > git --version # 'git version 2.25.1' [2022-07-21T17:23:39.989Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T17:23:41.522Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-21T17:23:41.522Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-21T17:23:41.522Z] Dload Upload Total Spent Left Speed [2022-07-21T17:23:41.522Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-07-21T17:23:42.324Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-21T17:23:42.763Z] + sudo tee /etc/docker/daemon.new [2022-07-21T17:23:42.763Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-21T17:23:42.763Z] { [2022-07-21T17:23:42.763Z] "registry-mirrors": [ [2022-07-21T17:23:42.763Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-21T17:23:42.763Z] ], [2022-07-21T17:23:42.763Z] "bip": "10.250.0.254/24", [2022-07-21T17:23:42.763Z] "hosts": [ [2022-07-21T17:23:42.763Z] "tcp://0.0.0.0:5555", [2022-07-21T17:23:42.763Z] "unix:///var/run/docker.sock" [2022-07-21T17:23:42.763Z] ], [2022-07-21T17:23:42.763Z] "mtu": 1458, [2022-07-21T17:23:42.763Z] "selinux-enabled": true, [2022-07-21T17:23:42.763Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-21T17:23:42.763Z] } [Pipeline] sh [2022-07-21T17:23:43.123Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-21T17:23:43.554Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T17:24:02.120Z] provisioning config files... [2022-07-21T17:24:02.145Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3411969830183602628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T17:24:02.547Z] ---> docker-login.sh [2022-07-21T17:24:02.547Z] nexus3.edgexfoundry.org:10001 [2022-07-21T17:24:03.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:24:03.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:24:03.416Z] Configure a credential helper to remove this warning. See [2022-07-21T17:24:03.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:24:03.416Z] [2022-07-21T17:24:03.416Z] Login Succeeded [2022-07-21T17:24:03.416Z] nexus3.edgexfoundry.org:10002 [2022-07-21T17:24:03.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:24:03.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:24:03.970Z] Configure a credential helper to remove this warning. See [2022-07-21T17:24:03.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:24:03.970Z] [2022-07-21T17:24:03.970Z] Login Succeeded [2022-07-21T17:24:03.970Z] nexus3.edgexfoundry.org:10003 [2022-07-21T17:24:04.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:24:04.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:24:04.251Z] Configure a credential helper to remove this warning. See [2022-07-21T17:24:04.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:24:04.251Z] [2022-07-21T17:24:04.251Z] Login Succeeded [2022-07-21T17:24:04.251Z] nexus3.edgexfoundry.org:10004 [2022-07-21T17:24:04.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:24:04.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:24:04.851Z] Configure a credential helper to remove this warning. See [2022-07-21T17:24:04.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:24:04.851Z] [2022-07-21T17:24:04.851Z] Login Succeeded [2022-07-21T17:24:04.851Z] docker.io [2022-07-21T17:24:05.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T17:24:05.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T17:24:05.720Z] Configure a credential helper to remove this warning. See [2022-07-21T17:24:05.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T17:24:05.720Z] [2022-07-21T17:24:05.720Z] Login Succeeded [2022-07-21T17:24:05.720Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T17:24:05.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T17:24:06.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T17:24:06.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T17:24:06.198Z] ========================================================= [2022-07-21T17:24:06.198Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-21T17:24:06.198Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T17:24:06.703Z] + 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-07-21T17:24:07.304Z] Sending build context to Docker daemon 13.63MB [2022-07-21T17:24:07.304Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T17:24:07.304Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-21T17:24:07.304Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-21T17:24:07.304Z] b3c136eddcbf: Pulling fs layer [2022-07-21T17:24:07.304Z] c0a3192eca97: Pulling fs layer [2022-07-21T17:24:07.304Z] a050256f5b6f: Pulling fs layer [2022-07-21T17:24:07.304Z] 656be50a0ddc: Pulling fs layer [2022-07-21T17:24:07.304Z] 2bbca73fdf42: Pulling fs layer [2022-07-21T17:24:07.304Z] 46d945488cbd: Pulling fs layer [2022-07-21T17:24:07.304Z] 8a5474983e97: Pulling fs layer [2022-07-21T17:24:07.304Z] 329c88fbcd65: Pulling fs layer [2022-07-21T17:24:07.304Z] 656be50a0ddc: Waiting [2022-07-21T17:24:07.304Z] 2bbca73fdf42: Waiting [2022-07-21T17:24:07.304Z] 46d945488cbd: Waiting [2022-07-21T17:24:07.304Z] 8a5474983e97: Waiting [2022-07-21T17:24:07.304Z] 329c88fbcd65: Waiting [2022-07-21T17:24:07.595Z] a050256f5b6f: Download complete [2022-07-21T17:24:07.595Z] c0a3192eca97: Verifying Checksum [2022-07-21T17:24:07.595Z] c0a3192eca97: Download complete [2022-07-21T17:24:07.595Z] 2bbca73fdf42: Download complete [2022-07-21T17:24:07.595Z] 46d945488cbd: Verifying Checksum [2022-07-21T17:24:07.595Z] 46d945488cbd: Download complete [2022-07-21T17:24:07.595Z] b3c136eddcbf: Verifying Checksum [2022-07-21T17:24:08.595Z] b3c136eddcbf: Pull complete [2022-07-21T17:24:08.595Z] 329c88fbcd65: Verifying Checksum [2022-07-21T17:24:08.595Z] 329c88fbcd65: Download complete [2022-07-21T17:24:09.200Z] c0a3192eca97: Pull complete [2022-07-21T17:24:09.475Z] a050256f5b6f: Pull complete [2022-07-21T17:24:09.751Z] 8a5474983e97: Verifying Checksum [2022-07-21T17:24:09.751Z] 8a5474983e97: Download complete [2022-07-21T17:24:10.353Z] 656be50a0ddc: Verifying Checksum [2022-07-21T17:24:10.353Z] 656be50a0ddc: Download complete [2022-07-21T17:24:25.462Z] 656be50a0ddc: Pull complete [2022-07-21T17:24:25.462Z] 2bbca73fdf42: Pull complete [2022-07-21T17:24:25.462Z] 46d945488cbd: Pull complete [2022-07-21T17:24:29.794Z] 8a5474983e97: Pull complete [2022-07-21T17:24:31.777Z] 329c88fbcd65: Pull complete [2022-07-21T17:24:31.777Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-21T17:24:31.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-21T17:24:31.777Z] ---> ff4287adb874 [2022-07-21T17:24:31.777Z] Step 3/13 : ARG MAKE="make build" [2022-07-21T17:24:33.758Z] ---> Running in 14fabcf1dbfe [2022-07-21T17:24:33.758Z] Removing intermediate container 14fabcf1dbfe [2022-07-21T17:24:33.758Z] ---> 374eb992a934 [2022-07-21T17:24:33.758Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T17:24:33.758Z] ---> Running in 168a25dd8b13 [2022-07-21T17:24:34.364Z] Removing intermediate container 168a25dd8b13 [2022-07-21T17:24:34.364Z] ---> 1e8749317f37 [2022-07-21T17:24:34.364Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T17:24:34.364Z] ---> Running in 2e4b2dc1788e [2022-07-21T17:24:34.651Z] Removing intermediate container 2e4b2dc1788e [2022-07-21T17:24:34.651Z] ---> 4b1c87384ed8 [2022-07-21T17:24:34.651Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-21T17:24:34.651Z] ---> Running in f738a4ce1156 [2022-07-21T17:24:36.089Z] Removing intermediate container f738a4ce1156 [2022-07-21T17:24:36.089Z] ---> 99b119a63000 [2022-07-21T17:24:36.089Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T17:24:36.089Z] ---> Running in 6c7fcae9d012 [2022-07-21T17:24:38.062Z] Removing intermediate container 6c7fcae9d012 [2022-07-21T17:24:38.062Z] ---> 1250a9b34fc0 [2022-07-21T17:24:38.062Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T17:24:38.062Z] ---> Running in b3514559ca04 [2022-07-21T17:24:38.663Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T17:24:39.638Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T17:24:40.629Z] OK: 221 MiB in 51 packages [2022-07-21T17:24:41.227Z] Removing intermediate container b3514559ca04 [2022-07-21T17:24:41.227Z] ---> 191d3bb535f8 [2022-07-21T17:24:41.227Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-21T17:24:41.507Z] ---> Running in 2bc01f74cc7a [2022-07-21T17:24:41.781Z] Removing intermediate container 2bc01f74cc7a [2022-07-21T17:24:41.781Z] ---> 5dd3021e1d20 [2022-07-21T17:24:41.781Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-21T17:24:42.379Z] ---> f3ae2f09b4e9 [2022-07-21T17:24:42.379Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T17:24:42.379Z] ---> Running in 11c920c601d9 [2022-07-21T17:25:29.381Z] Removing intermediate container 11c920c601d9 [2022-07-21T17:25:29.381Z] ---> 9586578f22dc [2022-07-21T17:25:29.381Z] Step 12/13 : COPY . . [2022-07-21T17:25:29.381Z] ---> 417a84c94160 [2022-07-21T17:25:29.381Z] Step 13/13 : RUN ${MAKE} [2022-07-21T17:25:29.381Z] ---> Running in 715ada266d63 [2022-07-21T17:25:29.381Z] noop [2022-07-21T17:25:29.654Z] Removing intermediate container 715ada266d63 [2022-07-21T17:25:29.654Z] ---> 5993d6dbb7d2 [2022-07-21T17:25:29.654Z] Successfully built 5993d6dbb7d2 [2022-07-21T17:25:29.654Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T17:25:30.415Z] + docker inspect -f . ci-base-image-arm64 [2022-07-21T17:25:30.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T17:25:30.751Z] prd-ubuntu20.04-docker-arm64-4c-16g-20683 does not seem to be running inside a container [2022-07-21T17:25:30.836Z] $ 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-07-21T17:25:32.122Z] $ docker top d1528c53ee19de63a401f36e46290cf0b1a65bfa0d977590d8c38bf93dbd4b52 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T17:25:33.078Z] + go version [2022-07-21T17:25:33.078Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-21T17:25:33.117Z] $ docker stop --time=1 d1528c53ee19de63a401f36e46290cf0b1a65bfa0d977590d8c38bf93dbd4b52 [2022-07-21T17:25:34.743Z] $ docker rm -f d1528c53ee19de63a401f36e46290cf0b1a65bfa0d977590d8c38bf93dbd4b52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T17:25:35.673Z] + docker inspect -f . ci-base-image-arm64 [2022-07-21T17:25:35.673Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T17:25:35.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-20683 does not seem to be running inside a container [2022-07-21T17:25:36.082Z] $ 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-07-21T17:25:37.311Z] $ docker top ca52bfa047c095bc33b9d0b854238e836281db2dec7a65152f7280713172d2f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T17:25:38.260Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-07-21T17:25:38.999Z] + make test [2022-07-21T17:25:38.999Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-21T17:25:40.447Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-21T17:27:02.291Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-21T17:27:07.733Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.125s coverage: 10.7% of statements [2022-07-21T17:27:07.733Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-21T17:27:34.555Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.205s coverage: 13.8% of statements [2022-07-21T17:27:34.555Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-21T17:27:34.555Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-21T17:27:52.921Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-21T17:27:52.921Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-21T17:27:52.921Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-21T17:27:54.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-21T17:27:54.966Z] $ docker stop --time=1 ca52bfa047c095bc33b9d0b854238e836281db2dec7a65152f7280713172d2f8 [2022-07-21T17:27:56.737Z] $ docker rm -f ca52bfa047c095bc33b9d0b854238e836281db2dec7a65152f7280713172d2f8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T17:27:57.782Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-21T17:27:57.819Z] Warning: overwriting stash ‘coverage-report’ [2022-07-21T17:27:58.591Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T17:27:59.192Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T17:27:59.548Z] + ls -al . [2022-07-21T17:27:59.548Z] total 228 [2022-07-21T17:27:59.548Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 17:27 . [2022-07-21T17:27:59.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 17:23 .. [2022-07-21T17:27:59.548Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 17:23 .git [2022-07-21T17:27:59.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 17:23 .github [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 21 17:23 .gitignore [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 21 17:23 .golangci.yml [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 21 17:23 Attribution.txt [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 21 17:23 CHANGELOG.md [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 21 17:23 Dockerfile [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 17:23 GOVERNANCE.md [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 21 17:23 Jenkinsfile [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 17:23 LICENSE [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 21 17:23 Makefile [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 21 17:23 OWNERS.md [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 21 17:23 README.md [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 17:21 VERSION [2022-07-21T17:27:59.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 17:23 bin [2022-07-21T17:27:59.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 17:23 cmd [2022-07-21T17:27:59.548Z] -rw-r--r-- 1 jenkins jenkins 76491 Jul 21 17:27 coverage.out [2022-07-21T17:27:59.548Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 21 17:23 doc [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 21 17:23 go.mod [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 21 17:23 go.sum [2022-07-21T17:27:59.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 17:23 internal [2022-07-21T17:27:59.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 17:23 snap [2022-07-21T17:27:59.548Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 21 17:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T17:27:59.984Z] + 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=2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c --label arch=arm64 --label version=0.0.0 . [2022-07-21T17:28:00.588Z] Sending build context to Docker daemon 13.71MB [2022-07-21T17:28:00.588Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T17:28:00.588Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-21T17:28:00.588Z] ---> 5993d6dbb7d2 [2022-07-21T17:28:00.588Z] Step 3/26 : ARG MAKE="make build" [2022-07-21T17:28:00.588Z] ---> Running in 04b4dd3e5d4e [2022-07-21T17:28:00.868Z] Removing intermediate container 04b4dd3e5d4e [2022-07-21T17:28:00.868Z] ---> 9c4b03e5f16b [2022-07-21T17:28:00.868Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T17:28:01.146Z] ---> Running in 1d450f52d628 [2022-07-21T17:28:01.423Z] Removing intermediate container 1d450f52d628 [2022-07-21T17:28:01.423Z] ---> 3f1d7d7eb598 [2022-07-21T17:28:01.423Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T17:28:01.423Z] ---> Running in 016b218a1b43 [2022-07-21T17:28:01.700Z] Removing intermediate container 016b218a1b43 [2022-07-21T17:28:01.700Z] ---> 44c80af30e7d [2022-07-21T17:28:01.700Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-21T17:28:01.700Z] ---> Running in fc97091c1fa0 [2022-07-21T17:28:01.977Z] Removing intermediate container fc97091c1fa0 [2022-07-21T17:28:01.977Z] ---> 4fba4fa606cb [2022-07-21T17:28:01.977Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T17:28:02.272Z] ---> Running in cb02a69b8be9 [2022-07-21T17:28:03.722Z] Removing intermediate container cb02a69b8be9 [2022-07-21T17:28:03.722Z] ---> c2c31c3aed01 [2022-07-21T17:28:03.722Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T17:28:03.722Z] ---> Running in e0602f1353e2 [2022-07-21T17:28:04.709Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T17:28:05.706Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T17:28:06.316Z] OK: 221 MiB in 51 packages [2022-07-21T17:28:07.327Z] Removing intermediate container e0602f1353e2 [2022-07-21T17:28:07.327Z] ---> 67cbb515ac8b [2022-07-21T17:28:07.327Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-21T17:28:07.327Z] ---> Running in 823b6868d1c5 [2022-07-21T17:28:07.601Z] Removing intermediate container 823b6868d1c5 [2022-07-21T17:28:07.601Z] ---> f727cbf343b1 [2022-07-21T17:28:07.601Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-21T17:28:08.206Z] ---> f862738eeae1 [2022-07-21T17:28:08.206Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T17:28:08.206Z] ---> Running in 2f730e7775e5 [2022-07-21T17:28:10.190Z] Removing intermediate container 2f730e7775e5 [2022-07-21T17:28:10.190Z] ---> 1b8aefe8c98a [2022-07-21T17:28:10.190Z] Step 12/26 : COPY . . [2022-07-21T17:28:11.639Z] ---> a57dd4e1d1ca [2022-07-21T17:28:11.639Z] Step 13/26 : RUN ${MAKE} [2022-07-21T17:28:11.639Z] ---> Running in c607d44e294e [2022-07-21T17:28:12.634Z] 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-07-21T17:30:19.792Z] Removing intermediate container c607d44e294e [2022-07-21T17:30:19.792Z] ---> 0d4871543452 [2022-07-21T17:30:19.792Z] Step 14/26 : FROM alpine:3.15 [2022-07-21T17:30:19.792Z] 3.15: Pulling from library/alpine [2022-07-21T17:30:19.792Z] e0295fd11fe2: Pulling fs layer [2022-07-21T17:30:19.792Z] e0295fd11fe2: Verifying Checksum [2022-07-21T17:30:19.792Z] e0295fd11fe2: Download complete [2022-07-21T17:30:19.792Z] e0295fd11fe2: Pull complete [2022-07-21T17:30:19.792Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-21T17:30:19.792Z] Status: Downloaded newer image for alpine:3.15 [2022-07-21T17:30:19.792Z] ---> 60f2846fe774 [2022-07-21T17:30:19.792Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-21T17:30:19.792Z] ---> Running in b01109ae8027 [2022-07-21T17:30:19.792Z] Removing intermediate container b01109ae8027 [2022-07-21T17:30:19.792Z] ---> 4f4a7e846686 [2022-07-21T17:30:19.792Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-21T17:30:20.072Z] ---> Running in 636385f314ce [2022-07-21T17:30:21.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-21T17:30:21.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-21T17:30:21.931Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-21T17:30:21.931Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-21T17:30:21.931Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-21T17:30:21.931Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-21T17:30:22.203Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-21T17:30:22.203Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-21T17:30:22.203Z] Executing busybox-1.34.1-r7.trigger [2022-07-21T17:30:22.203Z] OK: 8 MiB in 20 packages [2022-07-21T17:30:23.189Z] Removing intermediate container 636385f314ce [2022-07-21T17:30:23.189Z] ---> 74903980595c [2022-07-21T17:30:23.189Z] Step 17/26 : WORKDIR / [2022-07-21T17:30:23.189Z] ---> Running in bc3c7113f93e [2022-07-21T17:30:23.469Z] Removing intermediate container bc3c7113f93e [2022-07-21T17:30:23.469Z] ---> ed48a4824e96 [2022-07-21T17:30:23.469Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-21T17:30:24.910Z] ---> 68f40a21b31b [2022-07-21T17:30:24.910Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-21T17:30:25.508Z] ---> e8fd18bd2097 [2022-07-21T17:30:25.508Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-21T17:30:25.785Z] ---> 318452eb8dc2 [2022-07-21T17:30:25.785Z] Step 21/26 : EXPOSE 59984 [2022-07-21T17:30:26.063Z] ---> Running in a55f90016e6f [2022-07-21T17:30:26.337Z] Removing intermediate container a55f90016e6f [2022-07-21T17:30:26.337Z] ---> 85b5f529c02b [2022-07-21T17:30:26.337Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-21T17:30:26.337Z] ---> Running in 7356ef661a8e [2022-07-21T17:30:26.612Z] Removing intermediate container 7356ef661a8e [2022-07-21T17:30:26.612Z] ---> c05b5c639410 [2022-07-21T17:30:26.612Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-21T17:30:26.612Z] ---> Running in 1595a88818be [2022-07-21T17:30:27.210Z] Removing intermediate container 1595a88818be [2022-07-21T17:30:27.210Z] ---> f6895462d426 [2022-07-21T17:30:27.210Z] Step 24/26 : LABEL arch=arm64 [2022-07-21T17:30:27.210Z] ---> Running in 09741e139a60 [2022-07-21T17:30:27.485Z] Removing intermediate container 09741e139a60 [2022-07-21T17:30:27.485Z] ---> dec42401e97e [2022-07-21T17:30:27.485Z] Step 25/26 : LABEL git_sha=2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c [2022-07-21T17:30:27.485Z] ---> Running in 1d122cfd8e65 [2022-07-21T17:30:27.761Z] Removing intermediate container 1d122cfd8e65 [2022-07-21T17:30:27.761Z] ---> 4f142d6c2c76 [2022-07-21T17:30:27.761Z] Step 26/26 : LABEL version=0.0.0 [2022-07-21T17:30:27.761Z] ---> Running in 52cb8219c954 [2022-07-21T17:30:28.033Z] Removing intermediate container 52cb8219c954 [2022-07-21T17:30:28.033Z] ---> 5d5ee63459d7 [2022-07-21T17:30:28.033Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-21T17:30:28.033Z] Successfully built 5d5ee63459d7 [2022-07-21T17:30:28.308Z] 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-07-21T17:30:29.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T17:30:29.139Z] [2022-07-21T17:30:29.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T17:30:29.559Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T17:30:29.838Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-21T17:30:29.838Z] 8998bd30e6a1: Pulling fs layer [2022-07-21T17:30:29.838Z] 04944245beec: Pulling fs layer [2022-07-21T17:30:29.838Z] 699f458cf7ca: Pulling fs layer [2022-07-21T17:30:29.838Z] 765212b225bb: Pulling fs layer [2022-07-21T17:30:29.838Z] f23df028b6ca: Pulling fs layer [2022-07-21T17:30:29.838Z] f23df028b6ca: Waiting [2022-07-21T17:30:29.838Z] d65c8cfc05b1: Pulling fs layer [2022-07-21T17:30:29.838Z] 2437ff75d9bd: Pulling fs layer [2022-07-21T17:30:29.838Z] d65c8cfc05b1: Waiting [2022-07-21T17:30:29.838Z] 2437ff75d9bd: Waiting [2022-07-21T17:30:29.838Z] 04944245beec: Verifying Checksum [2022-07-21T17:30:29.838Z] 04944245beec: Download complete [2022-07-21T17:30:29.838Z] 765212b225bb: Verifying Checksum [2022-07-21T17:30:29.838Z] 765212b225bb: Download complete [2022-07-21T17:30:29.838Z] f23df028b6ca: Download complete [2022-07-21T17:30:29.838Z] d65c8cfc05b1: Verifying Checksum [2022-07-21T17:30:29.838Z] d65c8cfc05b1: Download complete [2022-07-21T17:30:30.119Z] 699f458cf7ca: Verifying Checksum [2022-07-21T17:30:30.119Z] 699f458cf7ca: Download complete [2022-07-21T17:30:30.392Z] 8998bd30e6a1: Verifying Checksum [2022-07-21T17:30:30.392Z] 8998bd30e6a1: Download complete [2022-07-21T17:30:33.024Z] 2437ff75d9bd: Download complete [2022-07-21T17:30:35.013Z] 8998bd30e6a1: Pull complete [2022-07-21T17:30:35.013Z] 04944245beec: Pull complete [2022-07-21T17:30:36.454Z] 699f458cf7ca: Pull complete [2022-07-21T17:30:36.731Z] 765212b225bb: Pull complete [2022-07-21T17:30:37.717Z] f23df028b6ca: Pull complete [2022-07-21T17:30:37.992Z] d65c8cfc05b1: Pull complete [2022-07-21T17:30:53.116Z] 2437ff75d9bd: Pull complete [2022-07-21T17:30:53.116Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-21T17:30:53.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T17:30:53.116Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T17:30:53.490Z] prd-ubuntu20.04-docker-arm64-4c-16g-20683 does not seem to be running inside a container [2022-07-21T17:30:53.575Z] $ 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-07-21T17:30:56.134Z] $ docker top 40de22e5a2cff7d5a5c9426ddea4feb7b1bdd5c7f5aa47888ca4caf1f43e1cd3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T17:30:57.133Z] ---> job-cost.sh [2022-07-21T17:30:57.133Z] lf-activate-venv: SKIPPING [2022-07-21T17:30:57.133Z] INFO: No Stack... [2022-07-21T17:30:57.726Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-21T17:30:58.324Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T17:30:59.013Z] + cut -d, -f6 [2022-07-21T17:30:59.013Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-07-21T17:30:59.094Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-115-1-stack-cost] [2022-07-21T17:30:59.099Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-115-1-stack-cost] did not exist. Created. [2022-07-21T17:30:59.099Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-115-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T17:30:59.856Z] /w/workspace/device-onvif-camera/1@tmp/durable-2dd42ab5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-21T17:31:00.564Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-21T17:31:00.602Z] Warning: overwriting stash ‘stack-cost’ [2022-07-21T17:31:00.656Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T17:31:00.674Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-115-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T17:31:00.750Z] $ docker stop --time=1 40de22e5a2cff7d5a5c9426ddea4feb7b1bdd5c7f5aa47888ca4caf1f43e1cd3 [2022-07-21T17:31:02.267Z] $ docker rm -f 40de22e5a2cff7d5a5c9426ddea4feb7b1bdd5c7f5aa47888ca4caf1f43e1cd3 [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-07-21T17:31:03.297Z] provisioning config files... [2022-07-21T17:31:03.311Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-115@tmp/config5495138108080867325tmp [Pipeline] { [Pipeline] sh [2022-07-21T17:31:03.640Z] + set +x [2022-07-21T17:31:03.640Z] + curl -s https://codecov.io/bash [2022-07-21T17:31:03.640Z] + bash -s -- [2022-07-21T17:31:03.640Z] [2022-07-21T17:31:03.640Z] _____ _ [2022-07-21T17:31:03.640Z] / ____| | | [2022-07-21T17:31:03.640Z] | | ___ __| | ___ ___ _____ __ [2022-07-21T17:31:03.640Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-21T17:31:03.640Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-21T17:31:03.640Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-21T17:31:03.640Z] Bash-1.0.6 [2022-07-21T17:31:03.640Z] [2022-07-21T17:31:03.640Z] [2022-07-21T17:31:03.640Z] ==> git version 2.25.1 found [2022-07-21T17:31:03.640Z] ==> 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-07-21T17:31:03.640Z] Release-Date: 2020-01-08 [2022-07-21T17:31:03.640Z] 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-07-21T17:31:03.640Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-21T17:31:03.640Z] ==> Jenkins CI detected. [2022-07-21T17:31:03.640Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-115 [2022-07-21T17:31:03.641Z] project root: . [2022-07-21T17:31:03.641Z] --> token set from env [2022-07-21T17:31:03.641Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-21T17:31:03.641Z] ==> Running gcov in . (disable via -X gcov) [2022-07-21T17:31:03.641Z] ==> Python coveragepy not found [2022-07-21T17:31:03.641Z] ==> Searching for coverage reports in: [2022-07-21T17:31:03.641Z] + . [2022-07-21T17:31:03.641Z] -> Found 1 reports [2022-07-21T17:31:03.641Z] ==> Detecting git/mercurial file structure [2022-07-21T17:31:03.904Z] ==> Reading reports [2022-07-21T17:31:03.904Z] + ./coverage.out bytes=76491 [2022-07-21T17:31:03.904Z] ==> Appending adjustments [2022-07-21T17:31:03.904Z] https://docs.codecov.io/docs/fixing-reports [2022-07-21T17:31:03.904Z] + Found adjustments [2022-07-21T17:31:03.904Z] ==> Gzipping contents [2022-07-21T17:31:03.904Z] 12K /tmp/codecov.w4rWoO.gz [2022-07-21T17:31:03.904Z] ==> Uploading reports [2022-07-21T17:31:03.904Z] url: https://codecov.io [2022-07-21T17:31:03.904Z] query: branch=PR-115&commit=2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-115%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=115&job=&cmd_args= [2022-07-21T17:31:03.904Z] -> Pinging Codecov [2022-07-21T17:31:03.904Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-115&commit=2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-115%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=115&job=&cmd_args= [2022-07-21T17:31:04.473Z] -> Uploading to [2022-07-21T17:31:04.473Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-21/F29A59C45E3A92E06B3E522C9905F8EF/2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c/77a93774-3456-48b0-ba7a-f3afaa2d6a09.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220721%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220721T173104Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=293b8d07cd21b71117ac99f596fc7edfaa607d299c77ab73069615199be8f444 [2022-07-21T17:31:04.473Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-21T17:31:04.473Z] Dload Upload Total Spent Left Speed [2022-07-21T17:31:04.473Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10337 0 0 100 10337 0 48990 --:--:-- --:--:-- --:--:-- 48990 [2022-07-21T17:31:04.473Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/2f3b253f3b2b4d1d72b9278bb25a65fbcc450c0c [Pipeline] } [2022-07-21T17:31:04.498Z] 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-07-21T17:31:06.314Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-115/archives ] [2022-07-21T17:31:06.314Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-115/archives [2022-07-21T17:31:06.314Z] total 16 [2022-07-21T17:31:06.314Z] drwxr-xr-x 3 root root 4096 Jul 21 17:23 . [2022-07-21T17:31:06.314Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 17:23 .. [2022-07-21T17:31:06.314Z] drwxr-xr-x 2 root root 4096 Jul 21 17:23 cost [2022-07-21T17:31:06.314Z] -rw-r--r-- 1 root root 90 Jul 21 17:23 cost.csv [2022-07-21T17:31:06.314Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-115/archives [2022-07-21T17:31:06.314Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-115/archives [2022-07-21T17:31:06.314Z] total 16 [2022-07-21T17:31:06.314Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 17:23 . [2022-07-21T17:31:06.314Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 17:23 .. [2022-07-21T17:31:06.314Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 17:23 cost [2022-07-21T17:31:06.314Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 21 17:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-21T17:31:06.648Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T17:31:07.536Z] ---> package-listing.sh [2022-07-21T17:31:07.536Z] ++ facter osfamily [2022-07-21T17:31:07.536Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-21T17:31:07.797Z] + OS_FAMILY=debian [2022-07-21T17:31:07.797Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-115 [2022-07-21T17:31:07.797Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-21T17:31:07.797Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-21T17:31:07.797Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-21T17:31:07.797Z] + PACKAGES=/tmp/packages_start.txt [2022-07-21T17:31:07.797Z] + '[' /w/workspace/undry_device-onvif-camera_PR-115 ']' [2022-07-21T17:31:07.797Z] + PACKAGES=/tmp/packages_end.txt [2022-07-21T17:31:07.797Z] + case "${OS_FAMILY}" in [2022-07-21T17:31:07.797Z] + dpkg -l [2022-07-21T17:31:07.797Z] + grep '^ii' [2022-07-21T17:31:07.797Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-21T17:31:07.797Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-21T17:31:07.797Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-21T17:31:07.797Z] + '[' /w/workspace/undry_device-onvif-camera_PR-115 ']' [2022-07-21T17:31:07.797Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-115/archives/ [2022-07-21T17:31:07.797Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-115/archives/ [Pipeline] echo [2022-07-21T17:31:07.833Z] 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-115/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-21T17:31:08.129Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T17:31:08.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T17:31:08.757Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T17:31:08.913Z] prd-ubuntu20.04-docker-8c-8g-20682 does not seem to be running inside a container [2022-07-21T17:31:08.951Z] $ 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-115/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-115 -v /w/workspace/undry_device-onvif-camera_PR-115:/w/workspace/undry_device-onvif-camera_PR-115:rw,z -v /w/workspace/undry_device-onvif-camera_PR-115@tmp:/w/workspace/undry_device-onvif-camera_PR-115@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-07-21T17:31:09.357Z] $ docker top 50071688d49638206ecdf6a3edf217ed3ff401fc71a32c071e5944d72e06b7ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T17:31:09.761Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-21T17:31:10.075Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-21T17:31:10.387Z] + ls /var/log/sa-host [2022-07-21T17:31:10.387Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T17:31:10.578Z] provisioning config files... [2022-07-21T17:31:10.587Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-115@tmp/config7341228472145221775tmp [Pipeline] { [Pipeline] echo [2022-07-21T17:31:10.638Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T17:31:10.952Z] ---> create-netrc.sh [Pipeline] } [2022-07-21T17:31:10.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-21T17:31:11.382Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-21T17:31:11.414Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T17:31:11.726Z] ---> sudo-logs.sh [2022-07-21T17:31:11.726Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-21T17:31:11.807Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T17:31:12.122Z] ---> job-cost.sh [2022-07-21T17:31:12.122Z] lf-activate-venv: SKIPPING [2022-07-21T17:31:12.122Z] DEBUG: total: 0.2199999988079071 [2022-07-21T17:31:12.122Z] INFO: Retrieving Stack Cost... [2022-07-21T17:31:12.694Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T17:31:13.268Z] INFO: Archiving Costs [Pipeline] echo [2022-07-21T17:31:13.303Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T17:31:13.620Z] ---> logs-deploy.sh [2022-07-21T17:31:13.621Z] lf-activate-venv: SKIPPING [2022-07-21T17:31:13.621Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-115/1 [2022-07-21T17:31:13.621Z] INFO: archiving workspace using pattern(s): [2022-07-21T17:31:15.012Z] Archives upload complete. [2022-07-21T17:31:15.012Z] INFO: archiving logs to Nexus