Pull request #126 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 rather than 1ef154a79df7c87117ec71eed9d4985c690ea7b3 Obtained Jenkinsfile from 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13459178189284605856.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-ssh5302152947552736857.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-126/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-126/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14962191974780089768.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-126/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15106185855790467063.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-ssh2673430264777914271.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-126/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-126/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8388542129615683303.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22163 in /w/workspace/undry_device-onvif-camera_PR-126 [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-126 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 1ef154a79df7c87117ec71eed9d4985c690ea7b3 Merge succeeded, producing 1ef154a79df7c87117ec71eed9d4985c690ea7b3 Checking out Revision 1ef154a79df7c87117ec71eed9d4985c690ea7b3 (PR-126) > 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/126/head:refs/remotes/origin/PR-126 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ef154a79df7c87117ec71eed9d4985c690ea7b3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ef154a79df7c87117ec71eed9d4985c690ea7b3 # timeout=10 Commit message: "docs: in-depth discovery and credential guides" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-08T20:34:39.521Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-08T20:34:39.711Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-08T20:34:39.816Z] ========================================================= [2022-08-08T20:34:39.816Z] EdgeX Global Pipelines Version Info [2022-08-08T20:34:39.816Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-08T20:34:40.626Z] ------------------- [2022-08-08T20:34:40.626Z] stable info: [2022-08-08T20:34:40.626Z] ------------------- [2022-08-08T20:34:40.626Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-08T20:34:40.626Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-08T20:34:40.626Z] Message: update stable to v1.0.238 [2022-08-08T20:34:41.198Z] ------------------- [2022-08-08T20:34:41.198Z] experimental info: [2022-08-08T20:34:41.198Z] ------------------- [2022-08-08T20:34:41.198Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-08T20:34:41.198Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-08T20:34:41.198Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-08T20:34:41.568Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-08T20:34:41.607Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-08T20:34:41.647Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-08T20:34:41.705Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-08T20:34:41.757Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-08T20:34:41.810Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-08T20:34:41.851Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-08T20:34:41.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-08T20:34:41.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-08T20:34:41.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-08T20:34:42.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-08T20:34:42.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-08T20:34:42.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-08T20:34:42.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-08T20:34:42.189Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-08T20:34:42.227Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-08T20:34:42.272Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-08T20:34:42.314Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-08T20:34:42.356Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-08T20:34:42.395Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-08T20:34:42.437Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-08T20:34:42.482Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-08T20:34:42.526Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-08T20:34:42.568Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-08T20:34:42.607Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-08T20:34:42.646Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-08T20:34:42.691Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-08T20:34:42.736Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-126 [Pipeline] echo [2022-08-08T20:34:42.777Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-126 [Pipeline] echo [2022-08-08T20:34:42.820Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-126 [Pipeline] echo [2022-08-08T20:34:42.866Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ef154a79df7c87117ec71eed9d4985c690ea7b3 [Pipeline] echo [2022-08-08T20:34:42.911Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ef154a [Pipeline] echo [2022-08-08T20:34:42.955Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-08T20:34:43.076Z] provisioning config files... [2022-08-08T20:34:43.094Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-126@tmp/config3197161000964322042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-08T20:34:43.455Z] ---> docker-login.sh [2022-08-08T20:34:43.455Z] nexus3.edgexfoundry.org:10001 [2022-08-08T20:34:43.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:34:43.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:34:43.980Z] Configure a credential helper to remove this warning. See [2022-08-08T20:34:43.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:34:43.980Z] [2022-08-08T20:34:43.980Z] Login Succeeded [2022-08-08T20:34:43.980Z] nexus3.edgexfoundry.org:10002 [2022-08-08T20:34:43.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:34:43.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:34:43.980Z] Configure a credential helper to remove this warning. See [2022-08-08T20:34:43.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:34:43.980Z] [2022-08-08T20:34:43.980Z] Login Succeeded [2022-08-08T20:34:43.980Z] nexus3.edgexfoundry.org:10003 [2022-08-08T20:34:44.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:34:44.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:34:44.241Z] Configure a credential helper to remove this warning. See [2022-08-08T20:34:44.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:34:44.241Z] [2022-08-08T20:34:44.241Z] Login Succeeded [2022-08-08T20:34:44.241Z] nexus3.edgexfoundry.org:10004 [2022-08-08T20:34:44.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:34:44.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:34:44.241Z] Configure a credential helper to remove this warning. See [2022-08-08T20:34:44.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:34:44.241Z] [2022-08-08T20:34:44.241Z] Login Succeeded [2022-08-08T20:34:44.241Z] docker.io [2022-08-08T20:34:44.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:34:44.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:34:44.766Z] Configure a credential helper to remove this warning. See [2022-08-08T20:34:44.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:34:44.766Z] [2022-08-08T20:34:44.766Z] Login Succeeded [2022-08-08T20:34:44.766Z] ---> docker-login.sh ends [Pipeline] } [2022-08-08T20:34:44.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-08T20:34:45.437Z] + git rev-list -1 --merges 1ef154a79df7c87117ec71eed9d4985c690ea7b3~1..1ef154a79df7c87117ec71eed9d4985c690ea7b3 [Pipeline] echo [2022-08-08T20:34:45.485Z] -----------> git rev-list -1 --merges 1ef154a79df7c87117ec71eed9d4985c690ea7b3~1..1ef154a79df7c87117ec71eed9d4985c690ea7b3 1ef154a79df7c87117ec71eed9d4985c690ea7b3 [false] [Pipeline] sh [2022-08-08T20:34:45.798Z] + git log --format=format:%s -1 1ef154a79df7c87117ec71eed9d4985c690ea7b3 [Pipeline] echo [2022-08-08T20:34:45.834Z] ========================================================= [2022-08-08T20:34:45.834Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-08T20:34:45.834Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-08T20:34:46.279Z] + git log --format=format:%s -1 1ef154a79df7c87117ec71eed9d4985c690ea7b3 [Pipeline] echo [2022-08-08T20:34:46.310Z] [semverPrep] GIT_COMMIT: 1ef154a79df7c87117ec71eed9d4985c690ea7b3, Commit Message: docs: in-depth discovery and credential guides [Pipeline] echo [2022-08-08T20:34:46.338Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-08T20:34:46.738Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-08T20:34:46.738Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-08T20:34:46.738Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-08T20:34:46.738Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-08T20:34:46.738Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-08T20:34:46.738Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-08T20:34:46.738Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:34:47.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-08T20:34:47.221Z] [2022-08-08T20:34:47.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:34:47.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-08T20:34:47.599Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-08T20:34:47.599Z] b85a868b505f: Pulling fs layer [2022-08-08T20:34:47.599Z] e2be974225ed: Pulling fs layer [2022-08-08T20:34:47.599Z] 339a4e72a1f5: Pulling fs layer [2022-08-08T20:34:47.599Z] 988bab9f4d93: Pulling fs layer [2022-08-08T20:34:47.599Z] 1469e6f7b9e6: Pulling fs layer [2022-08-08T20:34:47.600Z] eaf3925da568: Pulling fs layer [2022-08-08T20:34:47.600Z] bab4dde63d76: Pulling fs layer [2022-08-08T20:34:47.600Z] bde34c3a00c8: Pulling fs layer [2022-08-08T20:34:47.600Z] b352a97aabf1: Pulling fs layer [2022-08-08T20:34:47.600Z] 4872d77fe225: Pulling fs layer [2022-08-08T20:34:47.600Z] 5851b861e8e6: Pulling fs layer [2022-08-08T20:34:47.600Z] bab4dde63d76: Waiting [2022-08-08T20:34:47.600Z] bde34c3a00c8: Waiting [2022-08-08T20:34:47.600Z] 4872d77fe225: Waiting [2022-08-08T20:34:47.600Z] 5851b861e8e6: Waiting [2022-08-08T20:34:47.600Z] 988bab9f4d93: Waiting [2022-08-08T20:34:47.600Z] 1469e6f7b9e6: Waiting [2022-08-08T20:34:47.600Z] eaf3925da568: Waiting [2022-08-08T20:34:47.600Z] b352a97aabf1: Waiting [2022-08-08T20:34:47.600Z] e2be974225ed: Verifying Checksum [2022-08-08T20:34:47.600Z] e2be974225ed: Download complete [2022-08-08T20:34:47.600Z] 988bab9f4d93: Verifying Checksum [2022-08-08T20:34:47.600Z] 988bab9f4d93: Download complete [2022-08-08T20:34:47.600Z] 1469e6f7b9e6: Verifying Checksum [2022-08-08T20:34:47.600Z] 1469e6f7b9e6: Download complete [2022-08-08T20:34:47.860Z] eaf3925da568: Verifying Checksum [2022-08-08T20:34:47.860Z] eaf3925da568: Download complete [2022-08-08T20:34:47.860Z] 339a4e72a1f5: Verifying Checksum [2022-08-08T20:34:47.860Z] 339a4e72a1f5: Download complete [2022-08-08T20:34:47.860Z] bde34c3a00c8: Download complete [2022-08-08T20:34:47.860Z] b352a97aabf1: Verifying Checksum [2022-08-08T20:34:47.860Z] b352a97aabf1: Download complete [2022-08-08T20:34:47.860Z] 4872d77fe225: Verifying Checksum [2022-08-08T20:34:47.860Z] b85a868b505f: Verifying Checksum [2022-08-08T20:34:47.860Z] b85a868b505f: Download complete [2022-08-08T20:34:48.120Z] bab4dde63d76: Verifying Checksum [2022-08-08T20:34:48.120Z] bab4dde63d76: Download complete [2022-08-08T20:34:49.063Z] b85a868b505f: Pull complete [2022-08-08T20:34:49.323Z] e2be974225ed: Pull complete [2022-08-08T20:34:49.894Z] 339a4e72a1f5: Pull complete [2022-08-08T20:34:49.894Z] 988bab9f4d93: Pull complete [2022-08-08T20:34:50.466Z] 1469e6f7b9e6: Pull complete [2022-08-08T20:34:50.466Z] eaf3925da568: Pull complete [2022-08-08T20:34:52.383Z] bab4dde63d76: Pull complete [2022-08-08T20:34:52.383Z] bde34c3a00c8: Pull complete [2022-08-08T20:34:52.383Z] b352a97aabf1: Pull complete [2022-08-08T20:34:52.383Z] 4872d77fe225: Pull complete [2022-08-08T20:34:52.383Z] 5851b861e8e6: Pull complete [2022-08-08T20:34:52.642Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-08T20:34:52.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-08T20:34:52.642Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T20:34:52.879Z] prd-ubuntu20.04-docker-8c-8g-22163 does not seem to be running inside a container [2022-08-08T20:34:52.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-08T20:34:55.123Z] $ docker top 103a127a2130c59ea02f128bfdb96b5708f73c1a40fa050dd058b2af6012f034 -eo pid,comm [2022-08-08T20:34:55.190Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-08T20:34:55.190Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-08T20:34:55.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-08T20:34:55.312Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-08T20:34:55.441Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-08T20:34:55.441Z] $ docker exec 103a127a2130c59ea02f128bfdb96b5708f73c1a40fa050dd058b2af6012f034 ssh-agent [2022-08-08T20:34:55.566Z] SSH_AUTH_SOCK=/tmp/ssh-qEqm2HHYvfgH/agent.34 [2022-08-08T20:34:55.566Z] SSH_AGENT_PID=40 [2022-08-08T20:34:55.572Z] Running ssh-add (command line suppressed) [2022-08-08T20:34:55.709Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-126@tmp/private_key_2362831858396836368.key (/w/workspace/undry_device-onvif-camera_PR-126@tmp/private_key_2362831858396836368.key) [2022-08-08T20:34:55.726Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-08T20:34:56.054Z] + git tag --points-at HEAD [Pipeline] } [2022-08-08T20:34:56.076Z] $ docker exec --env ******** --env ******** 103a127a2130c59ea02f128bfdb96b5708f73c1a40fa050dd058b2af6012f034 ssh-agent -k [2022-08-08T20:34:56.186Z] unset SSH_AUTH_SOCK; [2022-08-08T20:34:56.186Z] unset SSH_AGENT_PID; [2022-08-08T20:34:56.187Z] echo Agent pid 40 killed; [2022-08-08T20:34:56.200Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-08T20:34:56.291Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-08T20:34:56.291Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-08T20:34:56.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-08T20:34:56.423Z] $ docker exec 103a127a2130c59ea02f128bfdb96b5708f73c1a40fa050dd058b2af6012f034 ssh-agent [2022-08-08T20:34:56.567Z] SSH_AUTH_SOCK=/tmp/ssh-RkQnfB4Rb5XL/agent.72 [2022-08-08T20:34:56.567Z] SSH_AGENT_PID=78 [2022-08-08T20:34:56.573Z] Running ssh-add (command line suppressed) [2022-08-08T20:34:56.697Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-126@tmp/private_key_4294907088672803710.key (/w/workspace/undry_device-onvif-camera_PR-126@tmp/private_key_4294907088672803710.key) [2022-08-08T20:34:56.716Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-08T20:34:57.049Z] + git semver init [2022-08-08T20:34:57.310Z] 2022-08-08 20:34:57,233 [run_init] DEBUG init version:0.0.0 force:False [2022-08-08T20:34:57.310Z] 2022-08-08 20:34:57,234 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-126/.semver [2022-08-08T20:34:57.310Z] 2022-08-08 20:34:57,234 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-126/.semver [2022-08-08T20:34:57.310Z] 2022-08-08 20:34:57,234 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-126/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-126, universal_newlines=False, shell=None, istream=None) [2022-08-08T20:34:58.251Z] 2022-08-08 20:34:58,034 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-126/.git/info/exclude [2022-08-08T20:34:58.251Z] 2022-08-08 20:34:58,034 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-126/.semver/PR-126 with force:False [2022-08-08T20:34:58.251Z] 2022-08-08 20:34:58,035 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-126/.semver/PR-126 [2022-08-08T20:34:58.251Z] 2022-08-08 20:34:58,039 [execute] INFO git cat-file --batch-check [2022-08-08T20:34:58.251Z] 2022-08-08 20:34:58,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-126/.semver, universal_newlines=False, shell=None, istream=) [2022-08-08T20:34:58.251Z] 2022-08-08 20:34:58,045 [execute] INFO git cat-file --batch [2022-08-08T20:34:58.251Z] 2022-08-08 20:34:58,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-126/.semver, universal_newlines=False, shell=None, istream=) [2022-08-08T20:34:58.251Z] 2022-08-08 20:34:58,051 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-126/.semver/PR-126 [2022-08-08T20:34:58.251Z] 0.0.0 [Pipeline] } [2022-08-08T20:34:58.274Z] $ docker exec --env ******** --env ******** 103a127a2130c59ea02f128bfdb96b5708f73c1a40fa050dd058b2af6012f034 ssh-agent -k [2022-08-08T20:34:58.391Z] unset SSH_AUTH_SOCK; [2022-08-08T20:34:58.391Z] unset SSH_AGENT_PID; [2022-08-08T20:34:58.391Z] echo Agent pid 78 killed; [2022-08-08T20:34:58.404Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-08T20:34:58.846Z] + git semver [Pipeline] } [2022-08-08T20:34:59.131Z] $ docker stop --time=1 103a127a2130c59ea02f128bfdb96b5708f73c1a40fa050dd058b2af6012f034 [2022-08-08T20:35:00.442Z] $ docker rm -f 103a127a2130c59ea02f128bfdb96b5708f73c1a40fa050dd058b2af6012f034 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-08T20:35:00.842Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-08T20:35:01.138Z] Stashed 1 file(s) [Pipeline] echo [2022-08-08T20:35:01.155Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-08T20:35:01.742Z] provisioning config files... [2022-08-08T20:35:01.755Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-126@tmp/config2899890240600919658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-08T20:35:02.102Z] ---> docker-login.sh [2022-08-08T20:35:02.102Z] nexus3.edgexfoundry.org:10001 [2022-08-08T20:35:02.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:35:02.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:35:02.102Z] Configure a credential helper to remove this warning. See [2022-08-08T20:35:02.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:35:02.102Z] [2022-08-08T20:35:02.102Z] Login Succeeded [2022-08-08T20:35:02.102Z] nexus3.edgexfoundry.org:10002 [2022-08-08T20:35:02.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:35:02.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:35:02.102Z] Configure a credential helper to remove this warning. See [2022-08-08T20:35:02.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:35:02.102Z] [2022-08-08T20:35:02.102Z] Login Succeeded [2022-08-08T20:35:02.102Z] nexus3.edgexfoundry.org:10003 [2022-08-08T20:35:02.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:35:02.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:35:02.364Z] Configure a credential helper to remove this warning. See [2022-08-08T20:35:02.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:35:02.364Z] [2022-08-08T20:35:02.364Z] Login Succeeded [2022-08-08T20:35:02.364Z] nexus3.edgexfoundry.org:10004 [2022-08-08T20:35:02.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:35:02.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:35:02.364Z] Configure a credential helper to remove this warning. See [2022-08-08T20:35:02.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:35:02.364Z] [2022-08-08T20:35:02.364Z] Login Succeeded [2022-08-08T20:35:02.624Z] docker.io [2022-08-08T20:35:02.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:35:02.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:35:02.884Z] Configure a credential helper to remove this warning. See [2022-08-08T20:35:02.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:35:02.884Z] [2022-08-08T20:35:02.884Z] Login Succeeded [2022-08-08T20:35:02.884Z] ---> docker-login.sh ends [Pipeline] } [2022-08-08T20:35:02.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-08T20:35:03.106Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-08T20:35:03.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-08T20:35:03.176Z] ========================================================= [2022-08-08T20:35:03.176Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-08T20:35:03.176Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:35:03.632Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-08T20:35:03.633Z] Sending build context to Docker daemon 20.03MB [2022-08-08T20:35:03.633Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-08T20:35:03.633Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-08T20:35:03.902Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-08T20:35:03.902Z] 2408cc74d12b: Pulling fs layer [2022-08-08T20:35:03.902Z] ea60b727a1ce: Pulling fs layer [2022-08-08T20:35:03.902Z] 30c4a7721957: Pulling fs layer [2022-08-08T20:35:03.902Z] 370296b7ddb6: Pulling fs layer [2022-08-08T20:35:03.902Z] 7c6cee850709: Pulling fs layer [2022-08-08T20:35:03.902Z] 39a5fcdaea64: Pulling fs layer [2022-08-08T20:35:03.902Z] d94ebbe4e438: Pulling fs layer [2022-08-08T20:35:03.902Z] bcfd1f05c69d: Pulling fs layer [2022-08-08T20:35:03.902Z] 59ccb84bbe0f: Pulling fs layer [2022-08-08T20:35:03.902Z] d94ebbe4e438: Waiting [2022-08-08T20:35:03.902Z] bcfd1f05c69d: Waiting [2022-08-08T20:35:03.902Z] 7c6cee850709: Waiting [2022-08-08T20:35:03.902Z] 39a5fcdaea64: Waiting [2022-08-08T20:35:03.902Z] 59ccb84bbe0f: Waiting [2022-08-08T20:35:03.902Z] 30c4a7721957: Verifying Checksum [2022-08-08T20:35:03.902Z] 30c4a7721957: Download complete [2022-08-08T20:35:03.902Z] ea60b727a1ce: Download complete [2022-08-08T20:35:03.902Z] 7c6cee850709: Verifying Checksum [2022-08-08T20:35:03.902Z] 7c6cee850709: Download complete [2022-08-08T20:35:03.902Z] 39a5fcdaea64: Verifying Checksum [2022-08-08T20:35:03.902Z] 39a5fcdaea64: Download complete [2022-08-08T20:35:03.902Z] 2408cc74d12b: Verifying Checksum [2022-08-08T20:35:03.902Z] 2408cc74d12b: Download complete [2022-08-08T20:35:03.902Z] d94ebbe4e438: Verifying Checksum [2022-08-08T20:35:03.902Z] d94ebbe4e438: Download complete [2022-08-08T20:35:03.902Z] 2408cc74d12b: Pull complete [2022-08-08T20:35:04.168Z] ea60b727a1ce: Pull complete [2022-08-08T20:35:04.168Z] 30c4a7721957: Pull complete [2022-08-08T20:35:04.168Z] 59ccb84bbe0f: Verifying Checksum [2022-08-08T20:35:04.168Z] 59ccb84bbe0f: Download complete [2022-08-08T20:35:04.429Z] 370296b7ddb6: Verifying Checksum [2022-08-08T20:35:04.429Z] 370296b7ddb6: Download complete [2022-08-08T20:35:04.690Z] bcfd1f05c69d: Verifying Checksum [2022-08-08T20:35:04.690Z] bcfd1f05c69d: Download complete [2022-08-08T20:35:07.978Z] 370296b7ddb6: Pull complete [2022-08-08T20:35:07.978Z] 7c6cee850709: Pull complete [2022-08-08T20:35:08.237Z] 39a5fcdaea64: Pull complete [2022-08-08T20:35:08.237Z] d94ebbe4e438: Pull complete [2022-08-08T20:35:10.141Z] bcfd1f05c69d: Pull complete [2022-08-08T20:35:10.712Z] 59ccb84bbe0f: Pull complete [2022-08-08T20:35:10.712Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-08T20:35:10.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-08T20:35:10.712Z] ---> a4fb48ad2a94 [2022-08-08T20:35:10.712Z] Step 3/13 : ARG MAKE="make build" [2022-08-08T20:35:14.027Z] ---> Running in 258d56573c1b [2022-08-08T20:35:14.027Z] Removing intermediate container 258d56573c1b [2022-08-08T20:35:14.027Z] ---> 79e6a2630cf5 [2022-08-08T20:35:14.027Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-08T20:35:14.027Z] ---> Running in bb02c85f4156 [2022-08-08T20:35:14.027Z] Removing intermediate container bb02c85f4156 [2022-08-08T20:35:14.027Z] ---> f6505e1654cf [2022-08-08T20:35:14.027Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-08T20:35:14.027Z] ---> Running in 597b27bf1aaf [2022-08-08T20:35:14.290Z] Removing intermediate container 597b27bf1aaf [2022-08-08T20:35:14.290Z] ---> c9fc63bafa42 [2022-08-08T20:35:14.290Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-08T20:35:14.290Z] ---> Running in a0710686bb4f [2022-08-08T20:35:14.290Z] Removing intermediate container a0710686bb4f [2022-08-08T20:35:14.290Z] ---> acad48749a6d [2022-08-08T20:35:14.290Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-08T20:35:14.290Z] ---> Running in 32746d2f8812 [2022-08-08T20:35:14.864Z] Removing intermediate container 32746d2f8812 [2022-08-08T20:35:14.864Z] ---> 032c2c4a230c [2022-08-08T20:35:14.864Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-08T20:35:14.864Z] ---> Running in 4d30d836b407 [2022-08-08T20:35:15.124Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-08T20:35:16.067Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-08T20:35:16.328Z] OK: 211 MiB in 51 packages [2022-08-08T20:35:16.557Z] Still waiting to schedule task [2022-08-08T20:35:16.557Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-08T20:35:16.588Z] Removing intermediate container 4d30d836b407 [2022-08-08T20:35:16.588Z] ---> 0b9a7d8665a9 [2022-08-08T20:35:16.588Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-08T20:35:16.588Z] ---> Running in cb8585ffa636 [2022-08-08T20:35:16.848Z] Removing intermediate container cb8585ffa636 [2022-08-08T20:35:16.848Z] ---> 1685f2805ab3 [2022-08-08T20:35:16.848Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-08T20:35:16.848Z] ---> a7fc0e3445d1 [2022-08-08T20:35:16.848Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-08T20:35:16.848Z] ---> Running in 01144ee9ec46 [2022-08-08T20:35:38.822Z] Removing intermediate container 01144ee9ec46 [2022-08-08T20:35:38.822Z] ---> 90effe33d295 [2022-08-08T20:35:38.822Z] Step 12/13 : COPY . . [2022-08-08T20:35:38.822Z] ---> 529014c50c5d [2022-08-08T20:35:38.822Z] Step 13/13 : RUN ${MAKE} [2022-08-08T20:35:38.822Z] ---> Running in 09b8f81fe37f [2022-08-08T20:35:38.822Z] noop [2022-08-08T20:35:38.822Z] Removing intermediate container 09b8f81fe37f [2022-08-08T20:35:38.822Z] ---> 4e0847cb602c [2022-08-08T20:35:38.822Z] Successfully built 4e0847cb602c [2022-08-08T20:35:38.822Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:35:39.269Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-08T20:35:39.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T20:35:39.446Z] prd-ubuntu20.04-docker-8c-8g-22163 does not seem to be running inside a container [2022-08-08T20:35:39.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-08T20:35:39.847Z] $ docker top 65708cf19e0c425d80d4315fd2016695ef8c3ef2d68bdb9e5f550a9468f67b54 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T20:35:40.262Z] + go version [2022-08-08T20:35:40.262Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-08T20:35:40.299Z] $ docker stop --time=1 65708cf19e0c425d80d4315fd2016695ef8c3ef2d68bdb9e5f550a9468f67b54 [2022-08-08T20:35:41.580Z] $ docker rm -f 65708cf19e0c425d80d4315fd2016695ef8c3ef2d68bdb9e5f550a9468f67b54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:35:42.303Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-08T20:35:42.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T20:35:42.478Z] prd-ubuntu20.04-docker-8c-8g-22163 does not seem to be running inside a container [2022-08-08T20:35:42.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-08T20:35:42.944Z] $ docker top a8665cdb8636984259f462aeac745ea011aafc7893d417ce82bb724b1b50cb29 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T20:35:43.358Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-126 [Pipeline] fileExists [Pipeline] sh [2022-08-08T20:35:43.719Z] + make test [2022-08-08T20:35:43.719Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-08T20:35:43.978Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-08T20:35:56.191Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-08T20:35:56.191Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.028s coverage: 10.6% of statements [2022-08-08T20:35:56.191Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-08T20:35:59.493Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.131s coverage: 13.8% of statements [2022-08-08T20:36:07.632Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-08T20:36:11.838Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-08T20:36:11.838Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-08T20:36:11.838Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-08T20:36:11.876Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-08T20:36:11.912Z] $ docker stop --time=1 a8665cdb8636984259f462aeac745ea011aafc7893d417ce82bb724b1b50cb29 [2022-08-08T20:36:14.129Z] $ docker rm -f a8665cdb8636984259f462aeac745ea011aafc7893d417ce82bb724b1b50cb29 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-08T20:36:14.651Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-08T20:36:14.725Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-08T20:36:15.413Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-08T20:36:15.725Z] + ls -al . [2022-08-08T20:36:15.725Z] total 232 [2022-08-08T20:36:15.725Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 8 20:36 . [2022-08-08T20:36:15.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 20:34 .. [2022-08-08T20:36:15.725Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 20:36 .git [2022-08-08T20:36:15.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 20:34 .github [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 8 20:34 .gitignore [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 8 20:34 .golangci.yml [2022-08-08T20:36:15.725Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 20:34 .semver [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 8 20:34 Attribution.txt [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 8 20:34 CHANGELOG.md [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 8 20:34 Dockerfile [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 20:34 GOVERNANCE.md [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 8 20:34 Jenkinsfile [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 8 20:34 LICENSE [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 2473 Aug 8 20:34 Makefile [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 8 20:34 OWNERS.md [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 8 20:34 README.md [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 20:35 VERSION [2022-08-08T20:36:15.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 20:34 bin [2022-08-08T20:36:15.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 20:34 cmd [2022-08-08T20:36:15.725Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 8 20:35 coverage.out [2022-08-08T20:36:15.725Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 8 20:34 doc [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 8 20:34 go.mod [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 8 20:34 go.sum [2022-08-08T20:36:15.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 20:34 internal [2022-08-08T20:36:15.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 20:34 snap [2022-08-08T20:36:15.725Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 8 20:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:36:16.109Z] + 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=1ef154a79df7c87117ec71eed9d4985c690ea7b3 --label arch=amd64 --label version=0.0.0 . [2022-08-08T20:36:16.109Z] Sending build context to Docker daemon 20.11MB [2022-08-08T20:36:16.109Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-08T20:36:16.109Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-08T20:36:16.109Z] ---> 4e0847cb602c [2022-08-08T20:36:16.109Z] Step 3/26 : ARG MAKE="make build" [2022-08-08T20:36:16.371Z] ---> Running in e080feba25c0 [2022-08-08T20:36:16.371Z] Removing intermediate container e080feba25c0 [2022-08-08T20:36:16.371Z] ---> b33ad30adfdb [2022-08-08T20:36:16.371Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-08T20:36:16.371Z] ---> Running in c6e94fb4e54e [2022-08-08T20:36:16.631Z] Removing intermediate container c6e94fb4e54e [2022-08-08T20:36:16.631Z] ---> f006759d99c1 [2022-08-08T20:36:16.631Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-08T20:36:16.631Z] ---> Running in 6ff28bb4f6f6 [2022-08-08T20:36:16.631Z] Removing intermediate container 6ff28bb4f6f6 [2022-08-08T20:36:16.631Z] ---> cafb69e93be7 [2022-08-08T20:36:16.631Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-08T20:36:16.631Z] ---> Running in 0f97ad80caed [2022-08-08T20:36:16.892Z] Removing intermediate container 0f97ad80caed [2022-08-08T20:36:16.892Z] ---> 61344bfdab8f [2022-08-08T20:36:16.892Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-08T20:36:16.892Z] ---> Running in 1c68806f2705 [2022-08-08T20:36:17.465Z] Removing intermediate container 1c68806f2705 [2022-08-08T20:36:17.465Z] ---> 70a97121b708 [2022-08-08T20:36:17.465Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-08T20:36:17.465Z] ---> Running in ef7f7f6df31b [2022-08-08T20:36:17.726Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-08T20:36:18.670Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-08T20:36:18.931Z] OK: 211 MiB in 51 packages [2022-08-08T20:36:19.191Z] Removing intermediate container ef7f7f6df31b [2022-08-08T20:36:19.191Z] ---> 3bf5f918e914 [2022-08-08T20:36:19.191Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-08T20:36:19.191Z] ---> Running in 8606a40639dd [2022-08-08T20:36:19.450Z] Removing intermediate container 8606a40639dd [2022-08-08T20:36:19.450Z] ---> f5878a3ac09b [2022-08-08T20:36:19.450Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-08T20:36:19.450Z] ---> 46dc0eab1267 [2022-08-08T20:36:19.450Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-08T20:36:19.450Z] ---> Running in f34fced349d5 [2022-08-08T20:36:20.019Z] Removing intermediate container f34fced349d5 [2022-08-08T20:36:20.019Z] ---> b41b9d89a727 [2022-08-08T20:36:20.019Z] Step 12/26 : COPY . . [2022-08-08T20:36:20.589Z] ---> f9b24345fbb7 [2022-08-08T20:36:20.589Z] Step 13/26 : RUN ${MAKE} [2022-08-08T20:36:20.589Z] ---> Running in 69b6f6808f60 [2022-08-08T20:36:21.161Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-08T20:36:43.112Z] Removing intermediate container 69b6f6808f60 [2022-08-08T20:36:43.112Z] ---> 8fe78f948ac2 [2022-08-08T20:36:43.112Z] Step 14/26 : FROM alpine:3.15 [2022-08-08T20:36:43.374Z] 3.15: Pulling from library/alpine [2022-08-08T20:36:43.634Z] ab6db1bc80d0: Pulling fs layer [2022-08-08T20:36:43.634Z] ab6db1bc80d0: Verifying Checksum [2022-08-08T20:36:43.634Z] ab6db1bc80d0: Download complete [2022-08-08T20:36:43.895Z] ab6db1bc80d0: Pull complete [2022-08-08T20:36:43.895Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-08T20:36:43.895Z] Status: Downloaded newer image for alpine:3.15 [2022-08-08T20:36:43.895Z] ---> 2720e26172a0 [2022-08-08T20:36:43.895Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-08T20:36:43.895Z] ---> Running in 62afe68c49fd [2022-08-08T20:36:44.155Z] Removing intermediate container 62afe68c49fd [2022-08-08T20:36:44.155Z] ---> e27b2c4df623 [2022-08-08T20:36:44.155Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-08T20:36:44.155Z] ---> Running in 44aef52c81ac [2022-08-08T20:36:44.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-08-08T20:36:44.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-08-08T20:36:44.675Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-08T20:36:44.675Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-08T20:36:44.675Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-08T20:36:44.675Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-08T20:36:44.675Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-08T20:36:44.675Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-08T20:36:44.675Z] Executing busybox-1.34.1-r7.trigger [2022-08-08T20:36:44.675Z] OK: 8 MiB in 20 packages [2022-08-08T20:36:45.252Z] Removing intermediate container 44aef52c81ac [2022-08-08T20:36:45.252Z] ---> 81249b04bca6 [2022-08-08T20:36:45.252Z] Step 17/26 : WORKDIR / [2022-08-08T20:36:45.252Z] ---> Running in cb91f5a3d2f0 [2022-08-08T20:36:45.252Z] Removing intermediate container cb91f5a3d2f0 [2022-08-08T20:36:45.252Z] ---> 10169680b883 [2022-08-08T20:36:45.252Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-08T20:36:46.194Z] ---> 919823046289 [2022-08-08T20:36:46.194Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-08T20:36:46.194Z] ---> 21394b3f9305 [2022-08-08T20:36:46.194Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-08T20:36:46.194Z] ---> b661b5b769e7 [2022-08-08T20:36:46.194Z] Step 21/26 : EXPOSE 59984 [2022-08-08T20:36:46.194Z] ---> Running in fc6fd69fb6be [2022-08-08T20:36:46.455Z] Removing intermediate container fc6fd69fb6be [2022-08-08T20:36:46.455Z] ---> 807713144170 [2022-08-08T20:36:46.455Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-08T20:36:46.455Z] ---> Running in 39a66e345f54 [2022-08-08T20:36:46.455Z] Removing intermediate container 39a66e345f54 [2022-08-08T20:36:46.455Z] ---> a07f493cef12 [2022-08-08T20:36:46.455Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-08T20:36:46.455Z] ---> Running in 34304327d03f [2022-08-08T20:36:46.455Z] Removing intermediate container 34304327d03f [2022-08-08T20:36:46.455Z] ---> 5b1636cfcfcf [2022-08-08T20:36:46.455Z] Step 24/26 : LABEL arch=amd64 [2022-08-08T20:36:46.455Z] ---> Running in 408da3f57f56 [2022-08-08T20:36:46.715Z] Removing intermediate container 408da3f57f56 [2022-08-08T20:36:46.715Z] ---> bd574601a1df [2022-08-08T20:36:46.716Z] Step 25/26 : LABEL git_sha=1ef154a79df7c87117ec71eed9d4985c690ea7b3 [2022-08-08T20:36:46.716Z] ---> Running in 184e2b8dadb2 [2022-08-08T20:36:46.716Z] Removing intermediate container 184e2b8dadb2 [2022-08-08T20:36:46.716Z] ---> ea0d33b00b8a [2022-08-08T20:36:46.716Z] Step 26/26 : LABEL version=0.0.0 [2022-08-08T20:36:46.716Z] ---> Running in 1ec18de857a2 [2022-08-08T20:36:46.716Z] Removing intermediate container 1ec18de857a2 [2022-08-08T20:36:46.716Z] ---> 082cf023b004 [2022-08-08T20:36:46.716Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-08T20:36:46.716Z] Successfully built 082cf023b004 [2022-08-08T20:36:46.716Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:36:47.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-08T20:36:47.592Z] [2022-08-08T20:36:47.592Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:36:48.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-08T20:36:48.037Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-08T20:36:48.037Z] 5eb5b503b376: Pulling fs layer [2022-08-08T20:36:48.037Z] 5c69ac0246d0: Pulling fs layer [2022-08-08T20:36:48.037Z] ec43610c2a17: Pulling fs layer [2022-08-08T20:36:48.037Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-08T20:36:48.038Z] 33b1e0a273af: Pulling fs layer [2022-08-08T20:36:48.038Z] 5d3b04190fa2: Pulling fs layer [2022-08-08T20:36:48.038Z] 2f39f015ded8: Pulling fs layer [2022-08-08T20:36:48.038Z] 3a2ae6a8a46f: Waiting [2022-08-08T20:36:48.038Z] 33b1e0a273af: Waiting [2022-08-08T20:36:48.038Z] 5d3b04190fa2: Waiting [2022-08-08T20:36:48.038Z] 2f39f015ded8: Waiting [2022-08-08T20:36:48.038Z] 5c69ac0246d0: Download complete [2022-08-08T20:36:48.038Z] 3a2ae6a8a46f: Download complete [2022-08-08T20:36:48.038Z] 33b1e0a273af: Verifying Checksum [2022-08-08T20:36:48.038Z] 33b1e0a273af: Download complete [2022-08-08T20:36:48.300Z] 5d3b04190fa2: Download complete [2022-08-08T20:36:48.300Z] ec43610c2a17: Verifying Checksum [2022-08-08T20:36:48.300Z] ec43610c2a17: Download complete [2022-08-08T20:36:48.300Z] 5eb5b503b376: Verifying Checksum [2022-08-08T20:36:48.300Z] 5eb5b503b376: Download complete [2022-08-08T20:36:48.877Z] 2f39f015ded8: Download complete [2022-08-08T20:36:49.821Z] 5eb5b503b376: Pull complete [2022-08-08T20:36:49.821Z] 5c69ac0246d0: Pull complete [2022-08-08T20:36:50.392Z] ec43610c2a17: Pull complete [2022-08-08T20:36:50.392Z] 3a2ae6a8a46f: Pull complete [2022-08-08T20:36:50.653Z] 33b1e0a273af: Pull complete [2022-08-08T20:36:50.653Z] 5d3b04190fa2: Pull complete [2022-08-08T20:36:55.939Z] 2f39f015ded8: Pull complete [2022-08-08T20:36:55.939Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-08T20:36:55.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-08T20:36:55.939Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T20:36:56.152Z] prd-ubuntu20.04-docker-8c-8g-22163 does not seem to be running inside a container [2022-08-08T20:36:56.191Z] $ 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-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-08T20:36:58.545Z] $ docker top 09d1add30d5de036ef076686da7a1b0cc5e9e270bc6708983d76cdd38313301e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-08T20:36:59.020Z] ---> job-cost.sh [2022-08-08T20:36:59.020Z] lf-activate-venv: SKIPPING [2022-08-08T20:36:59.020Z] INFO: No Stack... [2022-08-08T20:36:59.589Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-08T20:37:00.158Z] INFO: Archiving Costs [Pipeline] sh [2022-08-08T20:37:00.477Z] + cat /w/workspace/undry_device-onvif-camera_PR-126/archives/cost.csv [2022-08-08T20:37:00.477Z] + cut -d, -f6 [Pipeline] lock [2022-08-08T20:37:00.524Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-126-1-stack-cost] [2022-08-08T20:37:00.530Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-126-1-stack-cost] did not exist. Created. [2022-08-08T20:37:00.530Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-126-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-08T20:37:00.924Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-08T20:37:01.008Z] Stashed 1 file(s) [Pipeline] } [2022-08-08T20:37:01.026Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-126-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-08T20:37:01.110Z] $ docker stop --time=1 09d1add30d5de036ef076686da7a1b0cc5e9e270bc6708983d76cdd38313301e [2022-08-08T20:37:02.291Z] $ docker rm -f 09d1add30d5de036ef076686da7a1b0cc5e9e270bc6708983d76cdd38313301e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-08T20:37:05.781Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22164 in /w/workspace/undry_device-onvif-camera_PR-126 [Pipeline] { [Pipeline] ws [2022-08-08T20:37:05.824Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-08-08T20:37:05.907Z] Selected Git installation does not exist. Using Default [2022-08-08T20:37:05.907Z] The recommended git tool is: NONE [2022-08-08T20:37:14.637Z] using credential edgex-jenkins-ssh [2022-08-08T20:37:14.661Z] Cloning the remote Git repository [2022-08-08T20:37:14.788Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-08T20:37:14.910Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-08-08T20:37:15.094Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-08T20:37:15.095Z] > git --version # timeout=10 [2022-08-08T20:37:15.141Z] > git --version # 'git version 2.25.1' [2022-08-08T20:37:15.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-08T20:37:15.444Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-08T20:37:16.775Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-08T20:37:16.812Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-08T20:37:16.848Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-08T20:37:16.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-08T20:37:16.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-08T20:37:16.920Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-08T20:37:17.437Z] Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 1ef154a79df7c87117ec71eed9d4985c690ea7b3 [2022-08-08T20:37:17.879Z] Merge succeeded, producing 1ef154a79df7c87117ec71eed9d4985c690ea7b3 [2022-08-08T20:37:17.879Z] Checking out Revision 1ef154a79df7c87117ec71eed9d4985c690ea7b3 (PR-126) [2022-08-08T20:37:17.464Z] > git config core.sparsecheckout # timeout=10 [2022-08-08T20:37:17.500Z] > git checkout -f 1ef154a79df7c87117ec71eed9d4985c690ea7b3 # timeout=10 [2022-08-08T20:37:17.768Z] > git remote # timeout=10 [2022-08-08T20:37:17.796Z] > git config --get remote.origin.url # timeout=10 [2022-08-08T20:37:17.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-08T20:37:17.828Z] > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 [2022-08-08T20:37:17.858Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-08T20:37:17.887Z] > git config core.sparsecheckout # timeout=10 [2022-08-08T20:37:17.907Z] > git checkout -f 1ef154a79df7c87117ec71eed9d4985c690ea7b3 # timeout=10 [2022-08-08T20:37:22.531Z] Commit message: "docs: in-depth discovery and credential guides" [2022-08-08T20:37:22.603Z] > git --version # timeout=10 [2022-08-08T20:37:22.619Z] > git --version # 'git version 2.25.1' [2022-08-08T20:37:22.646Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-08T20:37:23.858Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-08T20:37:23.858Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-08T20:37:23.858Z] Dload Upload Total Spent Left Speed [2022-08-08T20:37:23.858Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 69672 0 --:--:-- --:--:-- --:--:-- 69672 [Pipeline] sh [2022-08-08T20:37:24.682Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-08T20:37:25.042Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-08T20:37:25.043Z] + sudo tee /etc/docker/daemon.new [2022-08-08T20:37:25.043Z] { [2022-08-08T20:37:25.043Z] "registry-mirrors": [ [2022-08-08T20:37:25.043Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-08T20:37:25.043Z] ], [2022-08-08T20:37:25.043Z] "bip": "10.250.0.254/24", [2022-08-08T20:37:25.043Z] "hosts": [ [2022-08-08T20:37:25.043Z] "tcp://0.0.0.0:5555", [2022-08-08T20:37:25.043Z] "unix:///var/run/docker.sock" [2022-08-08T20:37:25.043Z] ], [2022-08-08T20:37:25.043Z] "mtu": 1458, [2022-08-08T20:37:25.043Z] "selinux-enabled": true, [2022-08-08T20:37:25.043Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-08T20:37:25.043Z] } [Pipeline] sh [2022-08-08T20:37:25.404Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-08T20:37:25.771Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-08T20:37:44.403Z] provisioning config files... [2022-08-08T20:37:44.433Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2364622742737195043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-08T20:37:44.850Z] ---> docker-login.sh [2022-08-08T20:37:44.850Z] nexus3.edgexfoundry.org:10001 [2022-08-08T20:37:45.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:37:45.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:37:45.720Z] Configure a credential helper to remove this warning. See [2022-08-08T20:37:45.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:37:45.720Z] [2022-08-08T20:37:45.720Z] Login Succeeded [2022-08-08T20:37:45.720Z] nexus3.edgexfoundry.org:10002 [2022-08-08T20:37:45.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:37:46.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:37:46.277Z] Configure a credential helper to remove this warning. See [2022-08-08T20:37:46.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:37:46.277Z] [2022-08-08T20:37:46.277Z] Login Succeeded [2022-08-08T20:37:46.277Z] nexus3.edgexfoundry.org:10003 [2022-08-08T20:37:46.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:37:46.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:37:46.845Z] Configure a credential helper to remove this warning. See [2022-08-08T20:37:46.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:37:46.845Z] [2022-08-08T20:37:46.845Z] Login Succeeded [2022-08-08T20:37:46.845Z] nexus3.edgexfoundry.org:10004 [2022-08-08T20:37:47.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:37:47.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:37:47.122Z] Configure a credential helper to remove this warning. See [2022-08-08T20:37:47.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:37:47.122Z] [2022-08-08T20:37:47.122Z] Login Succeeded [2022-08-08T20:37:47.122Z] docker.io [2022-08-08T20:37:47.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-08T20:37:48.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-08T20:37:48.003Z] Configure a credential helper to remove this warning. See [2022-08-08T20:37:48.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-08T20:37:48.003Z] [2022-08-08T20:37:48.003Z] Login Succeeded [2022-08-08T20:37:48.003Z] ---> docker-login.sh ends [Pipeline] } [2022-08-08T20:37:48.033Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-08T20:37:48.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-08T20:37:48.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-08T20:37:48.503Z] ========================================================= [2022-08-08T20:37:48.503Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-08T20:37:48.503Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:37:49.014Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-08T20:37:49.615Z] Sending build context to Docker daemon 13.66MB [2022-08-08T20:37:49.615Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-08T20:37:49.615Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-08T20:37:49.892Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-08T20:37:49.892Z] b3c136eddcbf: Pulling fs layer [2022-08-08T20:37:49.892Z] c0a3192eca97: Pulling fs layer [2022-08-08T20:37:49.892Z] a050256f5b6f: Pulling fs layer [2022-08-08T20:37:49.892Z] 656be50a0ddc: Pulling fs layer [2022-08-08T20:37:49.892Z] 2bbca73fdf42: Pulling fs layer [2022-08-08T20:37:49.892Z] 46d945488cbd: Pulling fs layer [2022-08-08T20:37:49.892Z] 8a5474983e97: Pulling fs layer [2022-08-08T20:37:49.892Z] 329c88fbcd65: Pulling fs layer [2022-08-08T20:37:49.892Z] 46d945488cbd: Waiting [2022-08-08T20:37:49.892Z] 8a5474983e97: Waiting [2022-08-08T20:37:49.892Z] 2bbca73fdf42: Waiting [2022-08-08T20:37:49.892Z] 656be50a0ddc: Waiting [2022-08-08T20:37:49.892Z] 329c88fbcd65: Waiting [2022-08-08T20:37:49.892Z] a050256f5b6f: Verifying Checksum [2022-08-08T20:37:49.892Z] a050256f5b6f: Download complete [2022-08-08T20:37:49.892Z] c0a3192eca97: Verifying Checksum [2022-08-08T20:37:49.892Z] c0a3192eca97: Download complete [2022-08-08T20:37:49.892Z] 2bbca73fdf42: Verifying Checksum [2022-08-08T20:37:49.892Z] 2bbca73fdf42: Download complete [2022-08-08T20:37:49.892Z] 46d945488cbd: Verifying Checksum [2022-08-08T20:37:49.892Z] 46d945488cbd: Download complete [2022-08-08T20:37:49.892Z] b3c136eddcbf: Verifying Checksum [2022-08-08T20:37:49.892Z] b3c136eddcbf: Download complete [2022-08-08T20:37:50.908Z] b3c136eddcbf: Pull complete [2022-08-08T20:37:51.188Z] 329c88fbcd65: Verifying Checksum [2022-08-08T20:37:51.188Z] 329c88fbcd65: Download complete [2022-08-08T20:37:51.794Z] c0a3192eca97: Pull complete [2022-08-08T20:37:52.071Z] a050256f5b6f: Pull complete [2022-08-08T20:37:52.345Z] 8a5474983e97: Verifying Checksum [2022-08-08T20:37:52.345Z] 8a5474983e97: Download complete [2022-08-08T20:37:53.327Z] 656be50a0ddc: Verifying Checksum [2022-08-08T20:37:53.327Z] 656be50a0ddc: Download complete [2022-08-08T20:38:05.757Z] 656be50a0ddc: Pull complete [2022-08-08T20:38:06.034Z] 2bbca73fdf42: Pull complete [2022-08-08T20:38:06.308Z] 46d945488cbd: Pull complete [2022-08-08T20:38:13.039Z] 8a5474983e97: Pull complete [2022-08-08T20:38:15.019Z] 329c88fbcd65: Pull complete [2022-08-08T20:38:15.019Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-08T20:38:15.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-08T20:38:15.019Z] ---> ff4287adb874 [2022-08-08T20:38:15.019Z] Step 3/13 : ARG MAKE="make build" [2022-08-08T20:38:17.006Z] ---> Running in a978710841af [2022-08-08T20:38:18.451Z] Removing intermediate container a978710841af [2022-08-08T20:38:18.451Z] ---> a34461378164 [2022-08-08T20:38:18.451Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-08T20:38:18.451Z] ---> Running in f97e0315bd6c [2022-08-08T20:38:18.726Z] Removing intermediate container f97e0315bd6c [2022-08-08T20:38:18.726Z] ---> 3af7213b5029 [2022-08-08T20:38:18.726Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-08T20:38:18.726Z] ---> Running in ff980c7e2cf2 [2022-08-08T20:38:19.001Z] Removing intermediate container ff980c7e2cf2 [2022-08-08T20:38:19.001Z] ---> c7da8b8ca678 [2022-08-08T20:38:19.001Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-08T20:38:19.281Z] ---> Running in de01f7286b46 [2022-08-08T20:38:19.559Z] Removing intermediate container de01f7286b46 [2022-08-08T20:38:19.559Z] ---> c05d4e476353 [2022-08-08T20:38:19.559Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-08T20:38:19.559Z] ---> Running in 10f5fdb22a0d [2022-08-08T20:38:21.561Z] Removing intermediate container 10f5fdb22a0d [2022-08-08T20:38:21.561Z] ---> 5498a00d02e4 [2022-08-08T20:38:21.561Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-08T20:38:21.561Z] ---> Running in 6bf68773a087 [2022-08-08T20:38:22.543Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-08T20:38:23.537Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-08T20:38:24.533Z] OK: 221 MiB in 51 packages [2022-08-08T20:38:25.140Z] Removing intermediate container 6bf68773a087 [2022-08-08T20:38:25.141Z] ---> 7d2924703a8f [2022-08-08T20:38:25.141Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-08T20:38:25.141Z] ---> Running in 7904051eec96 [2022-08-08T20:38:25.742Z] Removing intermediate container 7904051eec96 [2022-08-08T20:38:25.742Z] ---> d6819bb58ba5 [2022-08-08T20:38:25.742Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-08T20:38:26.028Z] ---> c26dbd2f689b [2022-08-08T20:38:26.028Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-08T20:38:26.306Z] ---> Running in defaf00808c0 [2022-08-08T20:39:13.339Z] Removing intermediate container defaf00808c0 [2022-08-08T20:39:13.339Z] ---> 5d098e5978c8 [2022-08-08T20:39:13.339Z] Step 12/13 : COPY . . [2022-08-08T20:39:13.339Z] ---> 0662e0936cc4 [2022-08-08T20:39:13.339Z] Step 13/13 : RUN ${MAKE} [2022-08-08T20:39:13.339Z] ---> Running in edd732aa1208 [2022-08-08T20:39:14.329Z] noop [2022-08-08T20:39:14.933Z] Removing intermediate container edd732aa1208 [2022-08-08T20:39:14.933Z] ---> 284047c00e3b [2022-08-08T20:39:14.933Z] Successfully built 284047c00e3b [2022-08-08T20:39:14.933Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:39:15.417Z] + docker inspect -f . ci-base-image-arm64 [2022-08-08T20:39:15.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T20:39:15.756Z] prd-ubuntu20.04-docker-arm64-4c-16g-22164 does not seem to be running inside a container [2022-08-08T20:39:15.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-08T20:39:17.196Z] $ docker top ba467594c70821262f4b5ea05e9f3b093868c67ea25bd14b0a6d9d497ed32fbf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T20:39:18.191Z] + go version [2022-08-08T20:39:18.191Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-08T20:39:18.233Z] $ docker stop --time=1 ba467594c70821262f4b5ea05e9f3b093868c67ea25bd14b0a6d9d497ed32fbf [2022-08-08T20:39:19.901Z] $ docker rm -f ba467594c70821262f4b5ea05e9f3b093868c67ea25bd14b0a6d9d497ed32fbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:39:20.821Z] + docker inspect -f . ci-base-image-arm64 [2022-08-08T20:39:20.821Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T20:39:21.119Z] prd-ubuntu20.04-docker-arm64-4c-16g-22164 does not seem to be running inside a container [2022-08-08T20:39:21.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-08T20:39:22.514Z] $ docker top 247a595933b22c0973a3b8d54bfa6767aebf49a71d9bc72b48e4dff23b7aa3a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T20:39:23.481Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-08-08T20:39:24.225Z] + make test [2022-08-08T20:39:24.225Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-08T20:39:26.210Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-08T20:41:03.125Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-08T20:41:08.555Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.132s coverage: 10.6% of statements [2022-08-08T20:41:08.555Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-08T20:41:35.413Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.894s coverage: 13.8% of statements [2022-08-08T20:41:35.413Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-08T20:41:35.413Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-08T20:41:57.632Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-08T20:41:57.632Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-08T20:41:57.632Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-08T20:41:57.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-08T20:41:57.703Z] $ docker stop --time=1 247a595933b22c0973a3b8d54bfa6767aebf49a71d9bc72b48e4dff23b7aa3a9 [2022-08-08T20:41:59.524Z] $ docker rm -f 247a595933b22c0973a3b8d54bfa6767aebf49a71d9bc72b48e4dff23b7aa3a9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-08T20:42:00.674Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-08T20:42:00.714Z] Warning: overwriting stash ‘coverage-report’ [2022-08-08T20:42:01.322Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-08T20:42:01.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-08T20:42:02.289Z] + ls -al . [2022-08-08T20:42:02.290Z] total 228 [2022-08-08T20:42:02.290Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 8 20:41 . [2022-08-08T20:42:02.290Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 20:37 .. [2022-08-08T20:42:02.290Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 20:37 .git [2022-08-08T20:42:02.290Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 20:37 .github [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 8 20:37 .gitignore [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 8 20:37 .golangci.yml [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 8 20:37 Attribution.txt [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 8 20:37 CHANGELOG.md [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 8 20:37 Dockerfile [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 20:37 GOVERNANCE.md [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 8 20:37 Jenkinsfile [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 8 20:37 LICENSE [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 2473 Aug 8 20:37 Makefile [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 8 20:37 OWNERS.md [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 8 20:37 README.md [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 20:35 VERSION [2022-08-08T20:42:02.290Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 20:37 bin [2022-08-08T20:42:02.290Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 20:37 cmd [2022-08-08T20:42:02.290Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 8 20:41 coverage.out [2022-08-08T20:42:02.290Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 8 20:37 doc [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 8 20:37 go.mod [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 8 20:37 go.sum [2022-08-08T20:42:02.290Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 20:37 internal [2022-08-08T20:42:02.290Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 20:37 snap [2022-08-08T20:42:02.290Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 8 20:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:42:02.721Z] + 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=1ef154a79df7c87117ec71eed9d4985c690ea7b3 --label arch=arm64 --label version=0.0.0 . [2022-08-08T20:42:03.321Z] Sending build context to Docker daemon 13.73MB [2022-08-08T20:42:03.321Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-08T20:42:03.321Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-08T20:42:03.321Z] ---> 284047c00e3b [2022-08-08T20:42:03.321Z] Step 3/26 : ARG MAKE="make build" [2022-08-08T20:42:03.597Z] ---> Running in 8f1fbbbe0f63 [2022-08-08T20:42:03.873Z] Removing intermediate container 8f1fbbbe0f63 [2022-08-08T20:42:03.873Z] ---> b00ac04273c8 [2022-08-08T20:42:03.873Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-08T20:42:03.873Z] ---> Running in 0510645ef4c2 [2022-08-08T20:42:04.158Z] Removing intermediate container 0510645ef4c2 [2022-08-08T20:42:04.158Z] ---> 6639e6e46516 [2022-08-08T20:42:04.158Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-08T20:42:04.158Z] ---> Running in da00f8cf6e1e [2022-08-08T20:42:04.760Z] Removing intermediate container da00f8cf6e1e [2022-08-08T20:42:04.760Z] ---> 6b4009bf64f5 [2022-08-08T20:42:04.760Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-08T20:42:04.760Z] ---> Running in c60e79d80fb8 [2022-08-08T20:42:05.038Z] Removing intermediate container c60e79d80fb8 [2022-08-08T20:42:05.038Z] ---> 3cb92dc3e382 [2022-08-08T20:42:05.038Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-08T20:42:05.038Z] ---> Running in 7b03bd877d38 [2022-08-08T20:42:07.047Z] Removing intermediate container 7b03bd877d38 [2022-08-08T20:42:07.047Z] ---> 65e7b73eb6bd [2022-08-08T20:42:07.047Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-08T20:42:07.047Z] ---> Running in 99334a095f62 [2022-08-08T20:42:08.032Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-08T20:42:09.017Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-08T20:42:09.619Z] OK: 221 MiB in 51 packages [2022-08-08T20:42:10.618Z] Removing intermediate container 99334a095f62 [2022-08-08T20:42:10.618Z] ---> 8c0adea20715 [2022-08-08T20:42:10.618Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-08T20:42:10.618Z] ---> Running in 220227e5c9f9 [2022-08-08T20:42:10.910Z] Removing intermediate container 220227e5c9f9 [2022-08-08T20:42:10.910Z] ---> 057c390b25fc [2022-08-08T20:42:10.910Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-08T20:42:11.516Z] ---> 2fbf8948f050 [2022-08-08T20:42:11.516Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-08T20:42:11.516Z] ---> Running in cc53616a56ca [2022-08-08T20:42:14.166Z] Removing intermediate container cc53616a56ca [2022-08-08T20:42:14.166Z] ---> f510c89d9a61 [2022-08-08T20:42:14.166Z] Step 12/26 : COPY . . [2022-08-08T20:42:15.154Z] ---> 4ab041be3a80 [2022-08-08T20:42:15.154Z] Step 13/26 : RUN ${MAKE} [2022-08-08T20:42:15.431Z] ---> Running in bc4d4e72320f [2022-08-08T20:42:16.418Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-08T20:44:53.413Z] Removing intermediate container bc4d4e72320f [2022-08-08T20:44:53.413Z] ---> 49f162d848ea [2022-08-08T20:44:53.413Z] Step 14/26 : FROM alpine:3.15 [2022-08-08T20:44:53.413Z] 3.15: Pulling from library/alpine [2022-08-08T20:44:53.413Z] e0295fd11fe2: Pulling fs layer [2022-08-08T20:44:53.413Z] e0295fd11fe2: Verifying Checksum [2022-08-08T20:44:53.413Z] e0295fd11fe2: Download complete [2022-08-08T20:44:53.413Z] e0295fd11fe2: Pull complete [2022-08-08T20:44:53.413Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-08T20:44:53.413Z] Status: Downloaded newer image for alpine:3.15 [2022-08-08T20:44:53.413Z] ---> 60f2846fe774 [2022-08-08T20:44:53.413Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-08T20:44:53.413Z] ---> Running in f16808811a7f [2022-08-08T20:44:53.413Z] Removing intermediate container f16808811a7f [2022-08-08T20:44:53.413Z] ---> 453b403cae2f [2022-08-08T20:44:53.413Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-08T20:44:53.413Z] ---> Running in 27b661876dda [2022-08-08T20:44:53.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-08-08T20:44:53.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-08-08T20:44:53.413Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-08T20:44:53.413Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-08T20:44:53.413Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-08T20:44:53.413Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-08T20:44:53.413Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-08T20:44:53.413Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-08T20:44:53.413Z] Executing busybox-1.34.1-r7.trigger [2022-08-08T20:44:53.413Z] OK: 8 MiB in 20 packages [2022-08-08T20:44:53.413Z] Removing intermediate container 27b661876dda [2022-08-08T20:44:53.413Z] ---> 7b6ed65a8635 [2022-08-08T20:44:53.413Z] Step 17/26 : WORKDIR / [2022-08-08T20:44:53.413Z] ---> Running in f4c7238ec356 [2022-08-08T20:44:53.413Z] Removing intermediate container f4c7238ec356 [2022-08-08T20:44:53.413Z] ---> 580b28d8f270 [2022-08-08T20:44:53.413Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-08T20:44:53.413Z] ---> 65e94a53784b [2022-08-08T20:44:53.413Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-08T20:44:53.413Z] ---> 3c23d92c6293 [2022-08-08T20:44:53.413Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-08T20:44:53.413Z] ---> 688b0c92b99f [2022-08-08T20:44:53.413Z] Step 21/26 : EXPOSE 59984 [2022-08-08T20:44:53.413Z] ---> Running in 5be360b83e11 [2022-08-08T20:44:53.413Z] Removing intermediate container 5be360b83e11 [2022-08-08T20:44:53.413Z] ---> 2ae89ba9e1b2 [2022-08-08T20:44:53.413Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-08T20:44:53.413Z] ---> Running in dc72ce589f22 [2022-08-08T20:44:53.413Z] Removing intermediate container dc72ce589f22 [2022-08-08T20:44:53.413Z] ---> 536d7be6c279 [2022-08-08T20:44:53.413Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-08T20:44:53.413Z] ---> Running in 1ef15ad63f8f [2022-08-08T20:44:53.413Z] Removing intermediate container 1ef15ad63f8f [2022-08-08T20:44:53.413Z] ---> 4428656d5a9b [2022-08-08T20:44:53.413Z] Step 24/26 : LABEL arch=arm64 [2022-08-08T20:44:53.413Z] ---> Running in de5c67e825cf [2022-08-08T20:44:53.413Z] Removing intermediate container de5c67e825cf [2022-08-08T20:44:53.413Z] ---> ed86622f16a0 [2022-08-08T20:44:53.413Z] Step 25/26 : LABEL git_sha=1ef154a79df7c87117ec71eed9d4985c690ea7b3 [2022-08-08T20:44:53.413Z] ---> Running in f24436dfa6df [2022-08-08T20:44:53.413Z] Removing intermediate container f24436dfa6df [2022-08-08T20:44:53.413Z] ---> 20e45446c2cc [2022-08-08T20:44:53.413Z] Step 26/26 : LABEL version=0.0.0 [2022-08-08T20:44:53.413Z] ---> Running in cc50ba45cfca [2022-08-08T20:44:53.413Z] Removing intermediate container cc50ba45cfca [2022-08-08T20:44:53.413Z] ---> c379b79b756b [2022-08-08T20:44:53.413Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-08T20:44:53.413Z] Successfully built c379b79b756b [2022-08-08T20:44:53.413Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:44:54.209Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-08T20:44:54.209Z] [2022-08-08T20:44:54.209Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:44:54.617Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-08T20:44:54.892Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-08T20:44:54.892Z] 8998bd30e6a1: Pulling fs layer [2022-08-08T20:44:54.892Z] 04944245beec: Pulling fs layer [2022-08-08T20:44:54.892Z] 699f458cf7ca: Pulling fs layer [2022-08-08T20:44:54.892Z] 765212b225bb: Pulling fs layer [2022-08-08T20:44:54.892Z] f23df028b6ca: Pulling fs layer [2022-08-08T20:44:54.892Z] d65c8cfc05b1: Pulling fs layer [2022-08-08T20:44:54.892Z] 2437ff75d9bd: Pulling fs layer [2022-08-08T20:44:54.892Z] 765212b225bb: Waiting [2022-08-08T20:44:54.892Z] f23df028b6ca: Waiting [2022-08-08T20:44:54.892Z] d65c8cfc05b1: Waiting [2022-08-08T20:44:54.892Z] 2437ff75d9bd: Waiting [2022-08-08T20:44:54.892Z] 04944245beec: Verifying Checksum [2022-08-08T20:44:54.892Z] 04944245beec: Download complete [2022-08-08T20:44:54.892Z] 765212b225bb: Verifying Checksum [2022-08-08T20:44:54.892Z] 765212b225bb: Download complete [2022-08-08T20:44:54.892Z] f23df028b6ca: Verifying Checksum [2022-08-08T20:44:54.892Z] f23df028b6ca: Download complete [2022-08-08T20:44:54.892Z] d65c8cfc05b1: Download complete [2022-08-08T20:44:55.168Z] 699f458cf7ca: Verifying Checksum [2022-08-08T20:44:55.168Z] 699f458cf7ca: Download complete [2022-08-08T20:44:55.441Z] 8998bd30e6a1: Verifying Checksum [2022-08-08T20:44:55.441Z] 8998bd30e6a1: Download complete [2022-08-08T20:44:58.074Z] 2437ff75d9bd: Verifying Checksum [2022-08-08T20:44:58.074Z] 2437ff75d9bd: Download complete [2022-08-08T20:44:59.512Z] 8998bd30e6a1: Pull complete [2022-08-08T20:44:59.787Z] 04944245beec: Pull complete [2022-08-08T20:45:01.225Z] 699f458cf7ca: Pull complete [2022-08-08T20:45:01.501Z] 765212b225bb: Pull complete [2022-08-08T20:45:02.490Z] f23df028b6ca: Pull complete [2022-08-08T20:45:02.490Z] d65c8cfc05b1: Pull complete [2022-08-08T20:45:17.599Z] 2437ff75d9bd: Pull complete [2022-08-08T20:45:17.599Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-08T20:45:17.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-08T20:45:17.599Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T20:45:17.983Z] prd-ubuntu20.04-docker-arm64-4c-16g-22164 does not seem to be running inside a container [2022-08-08T20:45:18.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-08T20:45:21.016Z] $ docker top 8197f5b6e0aebfc6d6dd360bd9353a86261d7cb3e158bfe2570cc0177d777a65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-08T20:45:22.035Z] ---> job-cost.sh [2022-08-08T20:45:22.035Z] lf-activate-venv: SKIPPING [2022-08-08T20:45:22.035Z] INFO: No Stack... [2022-08-08T20:45:22.310Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-08T20:45:23.289Z] INFO: Archiving Costs [Pipeline] sh [2022-08-08T20:45:23.966Z] + cut -d, -f6+ [2022-08-08T20:45:23.966Z] cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-08-08T20:45:24.047Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-126-1-stack-cost] [2022-08-08T20:45:24.051Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-126-1-stack-cost] did not exist. Created. [2022-08-08T20:45:24.051Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-126-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-08T20:45:24.799Z] /w/workspace/device-onvif-camera/1@tmp/durable-e5d22522/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-08T20:45:25.491Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-08T20:45:25.528Z] Warning: overwriting stash ‘stack-cost’ [2022-08-08T20:45:25.583Z] Stashed 1 file(s) [Pipeline] } [2022-08-08T20:45:25.598Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-126-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-08T20:45:25.683Z] $ docker stop --time=1 8197f5b6e0aebfc6d6dd360bd9353a86261d7cb3e158bfe2570cc0177d777a65 [2022-08-08T20:45:27.160Z] $ docker rm -f 8197f5b6e0aebfc6d6dd360bd9353a86261d7cb3e158bfe2570cc0177d777a65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-08T20:45:28.156Z] provisioning config files... [2022-08-08T20:45:28.166Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-126@tmp/config6697291306694079647tmp [Pipeline] { [Pipeline] sh [2022-08-08T20:45:28.500Z] + set +x [2022-08-08T20:45:28.500Z] + curl -s https://codecov.io/bash [2022-08-08T20:45:28.500Z] + bash -s -- [2022-08-08T20:45:28.500Z] [2022-08-08T20:45:28.500Z] _____ _ [2022-08-08T20:45:28.500Z] / ____| | | [2022-08-08T20:45:28.500Z] | | ___ __| | ___ ___ _____ __ [2022-08-08T20:45:28.500Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-08T20:45:28.500Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-08T20:45:28.500Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-08T20:45:28.500Z] Bash-1.0.6 [2022-08-08T20:45:28.500Z] [2022-08-08T20:45:28.500Z] [2022-08-08T20:45:28.500Z] ==> git version 2.25.1 found [2022-08-08T20:45:28.500Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-08T20:45:28.500Z] Release-Date: 2020-01-08 [2022-08-08T20:45:28.500Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-08T20:45:28.500Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-08T20:45:28.500Z] ==> Jenkins CI detected. [2022-08-08T20:45:28.500Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-126 [2022-08-08T20:45:28.500Z] project root: . [2022-08-08T20:45:28.500Z] --> token set from env [2022-08-08T20:45:28.500Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-08T20:45:28.500Z] ==> Running gcov in . (disable via -X gcov) [2022-08-08T20:45:28.500Z] ==> Python coveragepy not found [2022-08-08T20:45:28.500Z] ==> Searching for coverage reports in: [2022-08-08T20:45:28.500Z] + . [2022-08-08T20:45:28.500Z] -> Found 1 reports [2022-08-08T20:45:28.500Z] ==> Detecting git/mercurial file structure [2022-08-08T20:45:28.761Z] ==> Reading reports [2022-08-08T20:45:28.761Z] + ./coverage.out bytes=76856 [2022-08-08T20:45:28.761Z] ==> Appending adjustments [2022-08-08T20:45:28.761Z] https://docs.codecov.io/docs/fixing-reports [2022-08-08T20:45:28.761Z] + Found adjustments [2022-08-08T20:45:28.761Z] ==> Gzipping contents [2022-08-08T20:45:28.761Z] 12K /tmp/codecov.CES1I5.gz [2022-08-08T20:45:28.761Z] ==> Uploading reports [2022-08-08T20:45:28.761Z] url: https://codecov.io [2022-08-08T20:45:28.761Z] query: branch=PR-126&commit=1ef154a79df7c87117ec71eed9d4985c690ea7b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-126%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=126&job=&cmd_args= [2022-08-08T20:45:28.761Z] -> Pinging Codecov [2022-08-08T20:45:28.761Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-126&commit=1ef154a79df7c87117ec71eed9d4985c690ea7b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-126%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=126&job=&cmd_args= [2022-08-08T20:45:29.019Z] -> Uploading to [2022-08-08T20:45:29.019Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-08/F29A59C45E3A92E06B3E522C9905F8EF/1ef154a79df7c87117ec71eed9d4985c690ea7b3/996e7e06-5c67-4b9e-bcfb-a316cff682a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220808%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220808T204528Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e00c6f500306c70410bda2eb297f9dd5c26d061127e43279fbd29ef18271a65 [2022-08-08T20:45:29.019Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-08T20:45:29.019Z] Dload Upload Total Spent Left Speed [2022-08-08T20:45:29.593Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10412 0 0 100 10412 0 35903 --:--:-- --:--:-- --:--:-- 35903 [2022-08-08T20:45:29.593Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/1ef154a79df7c87117ec71eed9d4985c690ea7b3 [Pipeline] } [2022-08-08T20:45:29.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-08T20:45:31.323Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-126/archives ] [2022-08-08T20:45:31.323Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-126/archives [2022-08-08T20:45:31.323Z] total 16 [2022-08-08T20:45:31.323Z] drwxr-xr-x 3 root root 4096 Aug 8 20:36 . [2022-08-08T20:45:31.323Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 8 20:37 .. [2022-08-08T20:45:31.323Z] drwxr-xr-x 2 root root 4096 Aug 8 20:36 cost [2022-08-08T20:45:31.323Z] -rw-r--r-- 1 root root 91 Aug 8 20:36 cost.csv [2022-08-08T20:45:31.323Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-126/archives [2022-08-08T20:45:31.323Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-126/archives [2022-08-08T20:45:31.323Z] total 16 [2022-08-08T20:45:31.323Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 20:36 . [2022-08-08T20:45:31.323Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 8 20:37 .. [2022-08-08T20:45:31.323Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 8 20:36 cost [2022-08-08T20:45:31.323Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 8 20:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-08T20:45:31.649Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T20:45:32.547Z] ---> package-listing.sh [2022-08-08T20:45:32.547Z] ++ facter osfamily [2022-08-08T20:45:32.547Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-08T20:45:32.807Z] + OS_FAMILY=debian [2022-08-08T20:45:32.807Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-126 [2022-08-08T20:45:32.807Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-08T20:45:32.807Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-08T20:45:32.807Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-08T20:45:32.807Z] + PACKAGES=/tmp/packages_start.txt [2022-08-08T20:45:32.807Z] + '[' /w/workspace/undry_device-onvif-camera_PR-126 ']' [2022-08-08T20:45:32.807Z] + PACKAGES=/tmp/packages_end.txt [2022-08-08T20:45:32.807Z] + case "${OS_FAMILY}" in [2022-08-08T20:45:32.807Z] + dpkg -l [2022-08-08T20:45:32.807Z] + grep '^ii' [2022-08-08T20:45:32.807Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-08T20:45:32.807Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-08T20:45:32.807Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-08T20:45:32.807Z] + '[' /w/workspace/undry_device-onvif-camera_PR-126 ']' [2022-08-08T20:45:32.807Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-126/archives/ [2022-08-08T20:45:32.807Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-126/archives/ [Pipeline] echo [2022-08-08T20:45:32.850Z] 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-126/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-08T20:45:33.144Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-08T20:45:33.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-08T20:45:33.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-08T20:45:33.942Z] prd-ubuntu20.04-docker-8c-8g-22163 does not seem to be running inside a container [2022-08-08T20:45:33.985Z] $ 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-126/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-126 -v /w/workspace/undry_device-onvif-camera_PR-126:/w/workspace/undry_device-onvif-camera_PR-126:rw,z -v /w/workspace/undry_device-onvif-camera_PR-126@tmp:/w/workspace/undry_device-onvif-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-08T20:45:34.186Z] $ docker top 68cf1b53754fb5d6df018b075914b05a44cc00b5969e4c7bb407e0e94716c55f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-08T20:45:34.592Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-08T20:45:34.902Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-08T20:45:35.219Z] + ls /var/log/sa-host [2022-08-08T20:45:35.219Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-08T20:45:35.417Z] provisioning config files... [2022-08-08T20:45:35.426Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-126@tmp/config1635246032067324087tmp [Pipeline] { [Pipeline] echo [2022-08-08T20:45:35.482Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T20:45:35.794Z] ---> create-netrc.sh [Pipeline] } [2022-08-08T20:45:35.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-08T20:45:36.255Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-08T20:45:36.289Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T20:45:36.606Z] ---> sudo-logs.sh [2022-08-08T20:45:36.606Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-08T20:45:36.705Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T20:45:37.021Z] ---> job-cost.sh [2022-08-08T20:45:37.021Z] lf-activate-venv: SKIPPING [2022-08-08T20:45:37.021Z] DEBUG: total: 0.2199999988079071 [2022-08-08T20:45:37.021Z] INFO: Retrieving Stack Cost... [2022-08-08T20:45:37.282Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-08T20:45:37.852Z] INFO: Archiving Costs [Pipeline] echo [2022-08-08T20:45:37.886Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-08T20:45:38.202Z] ---> logs-deploy.sh [2022-08-08T20:45:38.202Z] lf-activate-venv: SKIPPING [2022-08-08T20:45:38.202Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-126/1 [2022-08-08T20:45:38.202Z] INFO: archiving workspace using pattern(s): [2022-08-08T20:45:39.144Z] Archives upload complete. [2022-08-08T20:45:39.405Z] INFO: archiving logs to Nexus