Pull request #117 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 71e0e48ceeb97099740467347434efc97fecf137 rather than 2848f2351700e324b1023f3ab0cf6ce2f8accca5 Obtained Jenkinsfile from 71e0e48ceeb97099740467347434efc97fecf137 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-ssh3596623249335119115.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-ssh6818490132458480899.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-117/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-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5620229329206847969.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-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2573477204810888304.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-ssh12346585157275520850.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-117/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-117/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15527428673884069227.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20823 in /w/workspace/undry_device-onvif-camera_PR-117 [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-117 # 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 71e0e48ceeb97099740467347434efc97fecf137 into PR head commit 2848f2351700e324b1023f3ab0cf6ce2f8accca5 Merge succeeded, producing 2848f2351700e324b1023f3ab0cf6ce2f8accca5 Checking out Revision 2848f2351700e324b1023f3ab0cf6ce2f8accca5 (PR-117) > 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/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2848f2351700e324b1023f3ab0cf6ce2f8accca5 # 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 71e0e48ceeb97099740467347434efc97fecf137 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2848f2351700e324b1023f3ab0cf6ce2f8accca5 # timeout=10 Commit message: "fix: always sanitize mac address before comparing it" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-22T22:04:30.132Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-22T22:04:30.295Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-22T22:04:30.392Z] ========================================================= [2022-07-22T22:04:30.392Z] EdgeX Global Pipelines Version Info [2022-07-22T22:04:30.392Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-22T22:04:31.199Z] ------------------- [2022-07-22T22:04:31.199Z] stable info: [2022-07-22T22:04:31.199Z] ------------------- [2022-07-22T22:04:31.199Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-22T22:04:31.199Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-22T22:04:31.199Z] Message: update stable to v1.0.238 [2022-07-22T22:04:31.772Z] ------------------- [2022-07-22T22:04:31.772Z] experimental info: [2022-07-22T22:04:31.772Z] ------------------- [2022-07-22T22:04:31.772Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-22T22:04:31.772Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-22T22:04:31.772Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-22T22:04:32.153Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-22T22:04:32.191Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-22T22:04:32.231Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-22T22:04:32.267Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-22T22:04:32.309Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-22T22:04:32.348Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-22T22:04:32.385Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-22T22:04:32.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-22T22:04:32.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-22T22:04:32.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-22T22:04:32.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-22T22:04:32.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-22T22:04:32.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-22T22:04:32.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-22T22:04:32.686Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-22T22:04:32.722Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-22T22:04:32.763Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-22T22:04:32.804Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-22T22:04:32.844Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-22T22:04:32.881Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-22T22:04:32.922Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-22T22:04:32.962Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-22T22:04:33.005Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-22T22:04:33.048Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-22T22:04:33.087Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-22T22:04:33.127Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-22T22:04:33.167Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-22T22:04:33.210Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-117 [Pipeline] echo [2022-07-22T22:04:33.251Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-117 [Pipeline] echo [2022-07-22T22:04:33.285Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-117 [Pipeline] echo [2022-07-22T22:04:33.321Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2848f2351700e324b1023f3ab0cf6ce2f8accca5 [Pipeline] echo [2022-07-22T22:04:33.361Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2848f23 [Pipeline] echo [2022-07-22T22:04:33.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T22:04:33.509Z] provisioning config files... [2022-07-22T22:04:33.523Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-117@tmp/config8587076585588155704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T22:04:33.865Z] ---> docker-login.sh [2022-07-22T22:04:33.865Z] nexus3.edgexfoundry.org:10001 [2022-07-22T22:04:34.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:04:34.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:04:34.391Z] Configure a credential helper to remove this warning. See [2022-07-22T22:04:34.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:04:34.391Z] [2022-07-22T22:04:34.391Z] Login Succeeded [2022-07-22T22:04:34.391Z] nexus3.edgexfoundry.org:10002 [2022-07-22T22:04:34.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:04:34.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:04:34.653Z] Configure a credential helper to remove this warning. See [2022-07-22T22:04:34.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:04:34.653Z] [2022-07-22T22:04:34.653Z] Login Succeeded [2022-07-22T22:04:34.653Z] nexus3.edgexfoundry.org:10003 [2022-07-22T22:04:34.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:04:34.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:04:34.653Z] Configure a credential helper to remove this warning. See [2022-07-22T22:04:34.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:04:34.653Z] [2022-07-22T22:04:34.653Z] Login Succeeded [2022-07-22T22:04:34.653Z] nexus3.edgexfoundry.org:10004 [2022-07-22T22:04:34.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:04:34.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:04:34.915Z] Configure a credential helper to remove this warning. See [2022-07-22T22:04:34.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:04:34.915Z] [2022-07-22T22:04:34.915Z] Login Succeeded [2022-07-22T22:04:34.915Z] docker.io [2022-07-22T22:04:34.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:04:35.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:04:35.492Z] Configure a credential helper to remove this warning. See [2022-07-22T22:04:35.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:04:35.492Z] [2022-07-22T22:04:35.492Z] Login Succeeded [2022-07-22T22:04:35.492Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T22:04:35.521Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-22T22:04:36.158Z] + git rev-list -1 --merges 2848f2351700e324b1023f3ab0cf6ce2f8accca5~1..2848f2351700e324b1023f3ab0cf6ce2f8accca5 [Pipeline] echo [2022-07-22T22:04:36.208Z] -----------> git rev-list -1 --merges 2848f2351700e324b1023f3ab0cf6ce2f8accca5~1..2848f2351700e324b1023f3ab0cf6ce2f8accca5 2848f2351700e324b1023f3ab0cf6ce2f8accca5 [false] [Pipeline] sh [2022-07-22T22:04:36.524Z] + git log --format=format:%s -1 2848f2351700e324b1023f3ab0cf6ce2f8accca5 [Pipeline] echo [2022-07-22T22:04:36.559Z] ========================================================= [2022-07-22T22:04:36.559Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-22T22:04:36.559Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-22T22:04:37.002Z] + git log --format=format:%s -1 2848f2351700e324b1023f3ab0cf6ce2f8accca5 [Pipeline] echo [2022-07-22T22:04:37.035Z] [semverPrep] GIT_COMMIT: 2848f2351700e324b1023f3ab0cf6ce2f8accca5, Commit Message: fix: always sanitize mac address before comparing it [Pipeline] echo [2022-07-22T22:04:37.063Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-22T22:04:37.457Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-22T22:04:37.457Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-22T22:04:37.457Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-22T22:04:37.457Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-22T22:04:37.457Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-22T22:04:37.457Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-22T22:04:37.457Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:04:37.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T22:04:37.893Z] [2022-07-22T22:04:37.893Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:04:38.270Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T22:04:38.270Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-22T22:04:38.270Z] b85a868b505f: Pulling fs layer [2022-07-22T22:04:38.270Z] e2be974225ed: Pulling fs layer [2022-07-22T22:04:38.270Z] 339a4e72a1f5: Pulling fs layer [2022-07-22T22:04:38.270Z] 988bab9f4d93: Pulling fs layer [2022-07-22T22:04:38.270Z] 1469e6f7b9e6: Pulling fs layer [2022-07-22T22:04:38.270Z] eaf3925da568: Pulling fs layer [2022-07-22T22:04:38.270Z] bab4dde63d76: Pulling fs layer [2022-07-22T22:04:38.270Z] bde34c3a00c8: Pulling fs layer [2022-07-22T22:04:38.270Z] b352a97aabf1: Pulling fs layer [2022-07-22T22:04:38.270Z] 4872d77fe225: Pulling fs layer [2022-07-22T22:04:38.270Z] 5851b861e8e6: Pulling fs layer [2022-07-22T22:04:38.270Z] bab4dde63d76: Waiting [2022-07-22T22:04:38.270Z] bde34c3a00c8: Waiting [2022-07-22T22:04:38.270Z] b352a97aabf1: Waiting [2022-07-22T22:04:38.270Z] 4872d77fe225: Waiting [2022-07-22T22:04:38.270Z] 5851b861e8e6: Waiting [2022-07-22T22:04:38.270Z] 988bab9f4d93: Waiting [2022-07-22T22:04:38.270Z] 1469e6f7b9e6: Waiting [2022-07-22T22:04:38.270Z] eaf3925da568: Waiting [2022-07-22T22:04:38.270Z] e2be974225ed: Download complete [2022-07-22T22:04:38.270Z] 988bab9f4d93: Verifying Checksum [2022-07-22T22:04:38.270Z] 988bab9f4d93: Download complete [2022-07-22T22:04:38.532Z] 339a4e72a1f5: Verifying Checksum [2022-07-22T22:04:38.532Z] 339a4e72a1f5: Download complete [2022-07-22T22:04:38.532Z] 1469e6f7b9e6: Verifying Checksum [2022-07-22T22:04:38.532Z] 1469e6f7b9e6: Download complete [2022-07-22T22:04:38.532Z] eaf3925da568: Download complete [2022-07-22T22:04:38.532Z] bde34c3a00c8: Verifying Checksum [2022-07-22T22:04:38.532Z] bde34c3a00c8: Download complete [2022-07-22T22:04:38.532Z] b352a97aabf1: Verifying Checksum [2022-07-22T22:04:38.532Z] b352a97aabf1: Download complete [2022-07-22T22:04:38.532Z] 4872d77fe225: Download complete [2022-07-22T22:04:38.532Z] 5851b861e8e6: Download complete [2022-07-22T22:04:38.532Z] b85a868b505f: Download complete [2022-07-22T22:04:38.792Z] bab4dde63d76: Verifying Checksum [2022-07-22T22:04:38.792Z] bab4dde63d76: Download complete [2022-07-22T22:04:39.732Z] b85a868b505f: Pull complete [2022-07-22T22:04:39.993Z] e2be974225ed: Pull complete [2022-07-22T22:04:40.564Z] 339a4e72a1f5: Pull complete [2022-07-22T22:04:40.564Z] 988bab9f4d93: Pull complete [2022-07-22T22:04:40.825Z] 1469e6f7b9e6: Pull complete [2022-07-22T22:04:41.087Z] eaf3925da568: Pull complete [2022-07-22T22:04:43.001Z] bab4dde63d76: Pull complete [2022-07-22T22:04:43.001Z] bde34c3a00c8: Pull complete [2022-07-22T22:04:43.001Z] b352a97aabf1: Pull complete [2022-07-22T22:04:43.264Z] 4872d77fe225: Pull complete [2022-07-22T22:04:43.264Z] 5851b861e8e6: Pull complete [2022-07-22T22:04:43.264Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-22T22:04:43.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-22T22:04:43.264Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T22:04:43.500Z] prd-ubuntu20.04-docker-8c-8g-20823 does not seem to be running inside a container [2022-07-22T22:04:43.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-117 -v /w/workspace/undry_device-onvif-camera_PR-117:/w/workspace/undry_device-onvif-camera_PR-117:rw,z -v /w/workspace/undry_device-onvif-camera_PR-117@tmp:/w/workspace/undry_device-onvif-camera_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-22T22:04:45.098Z] $ docker top 596a1ad85abd600da8f63df04000c5f8bbee707de6b4c44c4a43b259bf421600 -eo pid,comm [2022-07-22T22:04:45.170Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-22T22:04:45.170Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-22T22:04:45.298Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-22T22:04:45.298Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-22T22:04:45.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-22T22:04:45.433Z] $ docker exec 596a1ad85abd600da8f63df04000c5f8bbee707de6b4c44c4a43b259bf421600 ssh-agent [2022-07-22T22:04:45.569Z] SSH_AUTH_SOCK=/tmp/ssh-538UnwP6zmFh/agent.33 [2022-07-22T22:04:45.569Z] SSH_AGENT_PID=39 [2022-07-22T22:04:45.576Z] Running ssh-add (command line suppressed) [2022-07-22T22:04:45.710Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-117@tmp/private_key_5175847245806630319.key (/w/workspace/undry_device-onvif-camera_PR-117@tmp/private_key_5175847245806630319.key) [2022-07-22T22:04:45.728Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-22T22:04:46.055Z] + git tag --points-at HEAD [Pipeline] } [2022-07-22T22:04:46.081Z] $ docker exec --env ******** --env ******** 596a1ad85abd600da8f63df04000c5f8bbee707de6b4c44c4a43b259bf421600 ssh-agent -k [2022-07-22T22:04:46.182Z] unset SSH_AUTH_SOCK; [2022-07-22T22:04:46.182Z] unset SSH_AGENT_PID; [2022-07-22T22:04:46.182Z] echo Agent pid 39 killed; [2022-07-22T22:04:46.197Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-22T22:04:46.274Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-22T22:04:46.274Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-22T22:04:46.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-22T22:04:46.408Z] $ docker exec 596a1ad85abd600da8f63df04000c5f8bbee707de6b4c44c4a43b259bf421600 ssh-agent [2022-07-22T22:04:46.559Z] SSH_AUTH_SOCK=/tmp/ssh-LA1KhBk89YEs/agent.72 [2022-07-22T22:04:46.559Z] SSH_AGENT_PID=78 [2022-07-22T22:04:46.565Z] Running ssh-add (command line suppressed) [2022-07-22T22:04:46.682Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-117@tmp/private_key_4484011460331671430.key (/w/workspace/undry_device-onvif-camera_PR-117@tmp/private_key_4484011460331671430.key) [2022-07-22T22:04:46.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-22T22:04:47.031Z] + git semver init [2022-07-22T22:04:47.293Z] 2022-07-22 22:04:47,232 [run_init] DEBUG init version:0.0.0 force:False [2022-07-22T22:04:47.293Z] 2022-07-22 22:04:47,233 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-117/.semver [2022-07-22T22:04:47.293Z] 2022-07-22 22:04:47,234 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-117/.semver [2022-07-22T22:04:47.293Z] 2022-07-22 22:04:47,234 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-117/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-117, universal_newlines=False, shell=None, istream=None) [2022-07-22T22:04:48.236Z] 2022-07-22 22:04:48,027 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-117/.git/info/exclude [2022-07-22T22:04:48.237Z] 2022-07-22 22:04:48,027 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-117/.semver/PR-117 with force:False [2022-07-22T22:04:48.237Z] 2022-07-22 22:04:48,028 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-117/.semver/PR-117 [2022-07-22T22:04:48.237Z] 2022-07-22 22:04:48,032 [execute] INFO git cat-file --batch-check [2022-07-22T22:04:48.237Z] 2022-07-22 22:04:48,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-117/.semver, universal_newlines=False, shell=None, istream=) [2022-07-22T22:04:48.237Z] 2022-07-22 22:04:48,039 [execute] INFO git cat-file --batch [2022-07-22T22:04:48.237Z] 2022-07-22 22:04:48,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-117/.semver, universal_newlines=False, shell=None, istream=) [2022-07-22T22:04:48.237Z] 2022-07-22 22:04:48,044 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-117/.semver/PR-117 [2022-07-22T22:04:48.237Z] 0.0.0 [Pipeline] } [2022-07-22T22:04:48.265Z] $ docker exec --env ******** --env ******** 596a1ad85abd600da8f63df04000c5f8bbee707de6b4c44c4a43b259bf421600 ssh-agent -k [2022-07-22T22:04:48.368Z] unset SSH_AUTH_SOCK; [2022-07-22T22:04:48.369Z] unset SSH_AGENT_PID; [2022-07-22T22:04:48.369Z] echo Agent pid 78 killed; [2022-07-22T22:04:48.384Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-22T22:04:48.809Z] + git semver [Pipeline] } [2022-07-22T22:04:49.094Z] $ docker stop --time=1 596a1ad85abd600da8f63df04000c5f8bbee707de6b4c44c4a43b259bf421600 [2022-07-22T22:04:50.406Z] $ docker rm -f 596a1ad85abd600da8f63df04000c5f8bbee707de6b4c44c4a43b259bf421600 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-22T22:04:50.836Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-22T22:04:51.179Z] Stashed 1 file(s) [Pipeline] echo [2022-07-22T22:04:51.195Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T22:04:51.763Z] provisioning config files... [2022-07-22T22:04:51.773Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-117@tmp/config3347956283709674032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T22:04:52.121Z] ---> docker-login.sh [2022-07-22T22:04:52.121Z] nexus3.edgexfoundry.org:10001 [2022-07-22T22:04:52.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:04:52.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:04:52.121Z] Configure a credential helper to remove this warning. See [2022-07-22T22:04:52.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:04:52.121Z] [2022-07-22T22:04:52.121Z] Login Succeeded [2022-07-22T22:04:52.121Z] nexus3.edgexfoundry.org:10002 [2022-07-22T22:04:52.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:04:52.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:04:52.383Z] Configure a credential helper to remove this warning. See [2022-07-22T22:04:52.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:04:52.383Z] [2022-07-22T22:04:52.383Z] Login Succeeded [2022-07-22T22:04:52.383Z] nexus3.edgexfoundry.org:10003 [2022-07-22T22:04:52.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:04:52.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:04:52.383Z] Configure a credential helper to remove this warning. See [2022-07-22T22:04:52.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:04:52.383Z] [2022-07-22T22:04:52.383Z] Login Succeeded [2022-07-22T22:04:52.383Z] nexus3.edgexfoundry.org:10004 [2022-07-22T22:04:52.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:04:52.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:04:52.645Z] Configure a credential helper to remove this warning. See [2022-07-22T22:04:52.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:04:52.645Z] [2022-07-22T22:04:52.645Z] Login Succeeded [2022-07-22T22:04:52.645Z] docker.io [2022-07-22T22:04:52.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:04:52.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:04:52.907Z] Configure a credential helper to remove this warning. See [2022-07-22T22:04:52.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:04:52.907Z] [2022-07-22T22:04:52.907Z] Login Succeeded [2022-07-22T22:04:52.907Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T22:04:52.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-22T22:04:53.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T22:04:53.174Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T22:04:53.205Z] ========================================================= [2022-07-22T22:04:53.205Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-22T22:04:53.205Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:04:53.669Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-22T22:04:53.669Z] Sending build context to Docker daemon 19.99MB [2022-07-22T22:04:53.669Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T22:04:53.669Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-22T22:04:53.932Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-22T22:04:53.932Z] 2408cc74d12b: Pulling fs layer [2022-07-22T22:04:53.932Z] ea60b727a1ce: Pulling fs layer [2022-07-22T22:04:53.932Z] 30c4a7721957: Pulling fs layer [2022-07-22T22:04:53.932Z] 370296b7ddb6: Pulling fs layer [2022-07-22T22:04:53.932Z] 7c6cee850709: Pulling fs layer [2022-07-22T22:04:53.932Z] 39a5fcdaea64: Pulling fs layer [2022-07-22T22:04:53.932Z] d94ebbe4e438: Pulling fs layer [2022-07-22T22:04:53.932Z] bcfd1f05c69d: Pulling fs layer [2022-07-22T22:04:53.932Z] 59ccb84bbe0f: Pulling fs layer [2022-07-22T22:04:53.932Z] 39a5fcdaea64: Waiting [2022-07-22T22:04:53.932Z] d94ebbe4e438: Waiting [2022-07-22T22:04:53.932Z] bcfd1f05c69d: Waiting [2022-07-22T22:04:53.932Z] 59ccb84bbe0f: Waiting [2022-07-22T22:04:53.932Z] 7c6cee850709: Waiting [2022-07-22T22:04:53.932Z] 370296b7ddb6: Waiting [2022-07-22T22:04:53.932Z] 30c4a7721957: Verifying Checksum [2022-07-22T22:04:53.932Z] 30c4a7721957: Download complete [2022-07-22T22:04:53.932Z] ea60b727a1ce: Verifying Checksum [2022-07-22T22:04:53.932Z] ea60b727a1ce: Download complete [2022-07-22T22:04:53.932Z] 7c6cee850709: Verifying Checksum [2022-07-22T22:04:53.932Z] 7c6cee850709: Download complete [2022-07-22T22:04:53.932Z] 39a5fcdaea64: Verifying Checksum [2022-07-22T22:04:53.932Z] 39a5fcdaea64: Download complete [2022-07-22T22:04:53.932Z] 2408cc74d12b: Verifying Checksum [2022-07-22T22:04:53.932Z] 2408cc74d12b: Download complete [2022-07-22T22:04:53.932Z] d94ebbe4e438: Verifying Checksum [2022-07-22T22:04:53.932Z] d94ebbe4e438: Download complete [2022-07-22T22:04:54.194Z] 2408cc74d12b: Pull complete [2022-07-22T22:04:54.194Z] ea60b727a1ce: Pull complete [2022-07-22T22:04:54.194Z] 30c4a7721957: Pull complete [2022-07-22T22:04:54.456Z] 59ccb84bbe0f: Verifying Checksum [2022-07-22T22:04:54.456Z] 59ccb84bbe0f: Download complete [2022-07-22T22:04:54.456Z] bcfd1f05c69d: Verifying Checksum [2022-07-22T22:04:54.456Z] bcfd1f05c69d: Download complete [2022-07-22T22:04:54.716Z] 370296b7ddb6: Verifying Checksum [2022-07-22T22:04:54.716Z] 370296b7ddb6: Download complete [2022-07-22T22:04:58.922Z] 370296b7ddb6: Pull complete [2022-07-22T22:04:59.182Z] 7c6cee850709: Pull complete [2022-07-22T22:04:59.182Z] 39a5fcdaea64: Pull complete [2022-07-22T22:04:59.182Z] d94ebbe4e438: Pull complete [2022-07-22T22:05:01.726Z] bcfd1f05c69d: Pull complete [2022-07-22T22:05:02.295Z] 59ccb84bbe0f: Pull complete [2022-07-22T22:05:02.295Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-22T22:05:02.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-22T22:05:02.295Z] ---> a4fb48ad2a94 [2022-07-22T22:05:02.295Z] Step 3/13 : ARG MAKE="make build" [2022-07-22T22:05:04.231Z] ---> Running in 4a1a04dc5fab [2022-07-22T22:05:04.231Z] Removing intermediate container 4a1a04dc5fab [2022-07-22T22:05:04.231Z] ---> 852c11d34d66 [2022-07-22T22:05:04.231Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T22:05:04.231Z] ---> Running in c2b1a49d77bb [2022-07-22T22:05:04.231Z] Removing intermediate container c2b1a49d77bb [2022-07-22T22:05:04.231Z] ---> d43fd94bb960 [2022-07-22T22:05:04.231Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T22:05:04.231Z] ---> Running in edad469d27ec [2022-07-22T22:05:04.231Z] Removing intermediate container edad469d27ec [2022-07-22T22:05:04.231Z] ---> f2d7044c2acb [2022-07-22T22:05:04.231Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-22T22:05:04.231Z] ---> Running in 6d26a5be9e2b [2022-07-22T22:05:04.231Z] Removing intermediate container 6d26a5be9e2b [2022-07-22T22:05:04.231Z] ---> 7a4491af5f54 [2022-07-22T22:05:04.231Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T22:05:04.491Z] ---> Running in e893cc93e6f5 [2022-07-22T22:05:05.061Z] Removing intermediate container e893cc93e6f5 [2022-07-22T22:05:05.061Z] ---> fbe16ae97d6b [2022-07-22T22:05:05.061Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T22:05:05.061Z] ---> Running in 0e010017ce4f [2022-07-22T22:05:05.321Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-22T22:05:06.259Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-22T22:05:06.521Z] OK: 211 MiB in 51 packages [2022-07-22T22:05:06.590Z] Still waiting to schedule task [2022-07-22T22:05:06.591Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-22T22:05:06.787Z] Removing intermediate container 0e010017ce4f [2022-07-22T22:05:06.787Z] ---> 42fafc9c8d51 [2022-07-22T22:05:06.787Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-22T22:05:06.787Z] ---> Running in 2ef517f314b5 [2022-07-22T22:05:06.787Z] Removing intermediate container 2ef517f314b5 [2022-07-22T22:05:06.787Z] ---> 319e7d1b81fd [2022-07-22T22:05:06.787Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-22T22:05:07.047Z] ---> d62647c2fb93 [2022-07-22T22:05:07.047Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T22:05:07.047Z] ---> Running in 6700c0895f83 [2022-07-22T22:05:25.201Z] Removing intermediate container 6700c0895f83 [2022-07-22T22:05:25.201Z] ---> 769a97cde5d1 [2022-07-22T22:05:25.201Z] Step 12/13 : COPY . . [2022-07-22T22:05:25.201Z] ---> 2c35d7c6914f [2022-07-22T22:05:25.201Z] Step 13/13 : RUN ${MAKE} [2022-07-22T22:05:25.201Z] ---> Running in 6fc7d725f8d5 [2022-07-22T22:05:25.201Z] noop [2022-07-22T22:05:25.201Z] Removing intermediate container 6fc7d725f8d5 [2022-07-22T22:05:25.201Z] ---> 07bea07bf4b4 [2022-07-22T22:05:25.201Z] Successfully built 07bea07bf4b4 [2022-07-22T22:05:25.201Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:05:25.641Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-22T22:05:25.642Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T22:05:25.804Z] prd-ubuntu20.04-docker-8c-8g-20823 does not seem to be running inside a container [2022-07-22T22:05:25.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-117 -v /w/workspace/undry_device-onvif-camera_PR-117:/w/workspace/undry_device-onvif-camera_PR-117:rw,z -v /w/workspace/undry_device-onvif-camera_PR-117@tmp:/w/workspace/undry_device-onvif-camera_PR-117@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 ******** ci-base-image-x86_64 cat [2022-07-22T22:05:26.223Z] $ docker top 642c7da36986662b7dc270b2a4f5d9d41a472e98eeebc7cc424b1c8856775dad -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T22:05:26.629Z] + go version [2022-07-22T22:05:26.629Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-22T22:05:26.660Z] $ docker stop --time=1 642c7da36986662b7dc270b2a4f5d9d41a472e98eeebc7cc424b1c8856775dad [2022-07-22T22:05:28.004Z] $ docker rm -f 642c7da36986662b7dc270b2a4f5d9d41a472e98eeebc7cc424b1c8856775dad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:05:28.704Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-22T22:05:28.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T22:05:28.859Z] prd-ubuntu20.04-docker-8c-8g-20823 does not seem to be running inside a container [2022-07-22T22:05:28.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-117 -v /w/workspace/undry_device-onvif-camera_PR-117:/w/workspace/undry_device-onvif-camera_PR-117:rw,z -v /w/workspace/undry_device-onvif-camera_PR-117@tmp:/w/workspace/undry_device-onvif-camera_PR-117@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 ******** ci-base-image-x86_64 cat [2022-07-22T22:05:29.356Z] $ docker top ec81e67efdff1e72c27261ac3cd96b41c926ba43e6e551acd27291f4d8bd0400 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T22:05:29.771Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-117 [Pipeline] fileExists [Pipeline] sh [2022-07-22T22:05:30.131Z] + make test [2022-07-22T22:05:30.131Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-22T22:05:30.392Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-22T22:05:40.384Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-22T22:05:40.955Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.023s coverage: 10.6% of statements [2022-07-22T22:05:40.955Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-22T22:05:46.241Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.233s coverage: 13.8% of statements [2022-07-22T22:05:53.926Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-22T22:05:57.225Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-22T22:05:57.225Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-22T22:05:57.225Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-22T22:05:57.516Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-22T22:05:57.545Z] $ docker stop --time=1 ec81e67efdff1e72c27261ac3cd96b41c926ba43e6e551acd27291f4d8bd0400 [2022-07-22T22:05:59.477Z] $ docker rm -f ec81e67efdff1e72c27261ac3cd96b41c926ba43e6e551acd27291f4d8bd0400 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-22T22:06:00.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-22T22:06:00.076Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-22T22:06:00.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-22T22:06:01.106Z] + ls -al . [2022-07-22T22:06:01.106Z] total 232 [2022-07-22T22:06:01.106Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 22:05 . [2022-07-22T22:06:01.106Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 22:04 .. [2022-07-22T22:06:01.106Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 22:05 .git [2022-07-22T22:06:01.106Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 22:04 .github [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 22 22:04 .gitignore [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 22:04 .golangci.yml [2022-07-22T22:06:01.106Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 22:04 .semver [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 22 22:04 Attribution.txt [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 22 22:04 CHANGELOG.md [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 22 22:04 Dockerfile [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 22:04 GOVERNANCE.md [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 22 22:04 Jenkinsfile [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 22:04 LICENSE [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 22 22:04 Makefile [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 22:04 OWNERS.md [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 22 22:04 README.md [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 22:04 VERSION [2022-07-22T22:06:01.106Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 22:04 bin [2022-07-22T22:06:01.106Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 22:04 cmd [2022-07-22T22:06:01.106Z] -rw-r--r-- 1 jenkins jenkins 76856 Jul 22 22:05 coverage.out [2022-07-22T22:06:01.106Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 22 22:04 doc [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 22 22:04 go.mod [2022-07-22T22:06:01.106Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 22 22:04 go.sum [2022-07-22T22:06:01.106Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 22:04 internal [2022-07-22T22:06:01.107Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 22:04 snap [2022-07-22T22:06:01.107Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 22:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:06:01.553Z] + 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=2848f2351700e324b1023f3ab0cf6ce2f8accca5 --label arch=amd64 --label version=0.0.0 . [2022-07-22T22:06:01.553Z] Sending build context to Docker daemon 20.07MB [2022-07-22T22:06:01.553Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T22:06:01.553Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-22T22:06:01.553Z] ---> 07bea07bf4b4 [2022-07-22T22:06:01.553Z] Step 3/26 : ARG MAKE="make build" [2022-07-22T22:06:01.814Z] ---> Running in 59433c64286e [2022-07-22T22:06:01.814Z] Removing intermediate container 59433c64286e [2022-07-22T22:06:01.814Z] ---> 8ac4983fc901 [2022-07-22T22:06:01.814Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T22:06:01.814Z] ---> Running in 07efdbebfd2a [2022-07-22T22:06:02.076Z] Removing intermediate container 07efdbebfd2a [2022-07-22T22:06:02.076Z] ---> e80d2c993468 [2022-07-22T22:06:02.076Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T22:06:02.076Z] ---> Running in 6fb6cc025cb5 [2022-07-22T22:06:02.076Z] Removing intermediate container 6fb6cc025cb5 [2022-07-22T22:06:02.076Z] ---> dcee2f482e0f [2022-07-22T22:06:02.076Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-22T22:06:02.076Z] ---> Running in f2962a79345e [2022-07-22T22:06:02.337Z] Removing intermediate container f2962a79345e [2022-07-22T22:06:02.337Z] ---> 985c94d5f7bf [2022-07-22T22:06:02.337Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T22:06:02.337Z] ---> Running in 756fdf3b8999 [2022-07-22T22:06:02.909Z] Removing intermediate container 756fdf3b8999 [2022-07-22T22:06:02.909Z] ---> 18e432f85aa6 [2022-07-22T22:06:02.909Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T22:06:02.909Z] ---> Running in d16ef97b0e5c [2022-07-22T22:06:03.169Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-22T22:06:04.111Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-22T22:06:04.373Z] OK: 211 MiB in 51 packages [2022-07-22T22:06:04.633Z] Removing intermediate container d16ef97b0e5c [2022-07-22T22:06:04.633Z] ---> d2050488a9eb [2022-07-22T22:06:04.633Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-22T22:06:04.904Z] ---> Running in 7ab15c378452 [2022-07-22T22:06:04.904Z] Removing intermediate container 7ab15c378452 [2022-07-22T22:06:04.904Z] ---> d0602985003e [2022-07-22T22:06:04.904Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-22T22:06:05.164Z] ---> 56699eebf76a [2022-07-22T22:06:05.164Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T22:06:05.164Z] ---> Running in deb6bed844bd [2022-07-22T22:06:05.735Z] Removing intermediate container deb6bed844bd [2022-07-22T22:06:05.735Z] ---> 42e5acedb734 [2022-07-22T22:06:05.735Z] Step 12/26 : COPY . . [2022-07-22T22:06:06.678Z] ---> 740733938490 [2022-07-22T22:06:06.678Z] Step 13/26 : RUN ${MAKE} [2022-07-22T22:06:06.678Z] ---> Running in 26cc76444f32 [2022-07-22T22:06:06.938Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-22T22:06:28.883Z] Removing intermediate container 26cc76444f32 [2022-07-22T22:06:28.883Z] ---> 28baa6bdba63 [2022-07-22T22:06:28.883Z] Step 14/26 : FROM alpine:3.15 [2022-07-22T22:06:28.883Z] 3.15: Pulling from library/alpine [2022-07-22T22:06:28.883Z] ab6db1bc80d0: Pulling fs layer [2022-07-22T22:06:28.883Z] ab6db1bc80d0: Verifying Checksum [2022-07-22T22:06:28.883Z] ab6db1bc80d0: Download complete [2022-07-22T22:06:28.883Z] ab6db1bc80d0: Pull complete [2022-07-22T22:06:28.883Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-22T22:06:28.883Z] Status: Downloaded newer image for alpine:3.15 [2022-07-22T22:06:28.883Z] ---> 2720e26172a0 [2022-07-22T22:06:28.883Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-22T22:06:28.883Z] ---> Running in 49c4cb6fe3ed [2022-07-22T22:06:28.883Z] Removing intermediate container 49c4cb6fe3ed [2022-07-22T22:06:28.883Z] ---> 3885e04910ba [2022-07-22T22:06:28.883Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-22T22:06:28.883Z] ---> Running in 9202fe7d4695 [2022-07-22T22:06:28.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-22T22:06:28.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-22T22:06:28.883Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-22T22:06:28.883Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-22T22:06:28.883Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-22T22:06:28.883Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-22T22:06:28.883Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-22T22:06:28.883Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-22T22:06:28.883Z] Executing busybox-1.34.1-r7.trigger [2022-07-22T22:06:28.883Z] OK: 8 MiB in 20 packages [2022-07-22T22:06:29.452Z] Removing intermediate container 9202fe7d4695 [2022-07-22T22:06:29.452Z] ---> 2809878beb81 [2022-07-22T22:06:29.452Z] Step 17/26 : WORKDIR / [2022-07-22T22:06:29.452Z] ---> Running in c3e4bf305665 [2022-07-22T22:06:29.452Z] Removing intermediate container c3e4bf305665 [2022-07-22T22:06:29.452Z] ---> 47a52b096921 [2022-07-22T22:06:29.452Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-22T22:06:30.022Z] ---> a822745e674f [2022-07-22T22:06:30.022Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-22T22:06:30.284Z] ---> ce10ff68541c [2022-07-22T22:06:30.284Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-22T22:06:30.545Z] ---> 72bb8fd21238 [2022-07-22T22:06:30.545Z] Step 21/26 : EXPOSE 59984 [2022-07-22T22:06:30.545Z] ---> Running in ebae0821df59 [2022-07-22T22:06:30.545Z] Removing intermediate container ebae0821df59 [2022-07-22T22:06:30.545Z] ---> 81ae062e89e0 [2022-07-22T22:06:30.545Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-22T22:06:30.545Z] ---> Running in 0d4c0733fa2e [2022-07-22T22:06:30.805Z] Removing intermediate container 0d4c0733fa2e [2022-07-22T22:06:30.805Z] ---> c06a8336b89a [2022-07-22T22:06:30.805Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-22T22:06:30.805Z] ---> Running in aca888fb2f62 [2022-07-22T22:06:30.805Z] Removing intermediate container aca888fb2f62 [2022-07-22T22:06:30.805Z] ---> 299b1d2f7b84 [2022-07-22T22:06:30.805Z] Step 24/26 : LABEL arch=amd64 [2022-07-22T22:06:31.068Z] ---> Running in 6efae5e80a3a [2022-07-22T22:06:31.068Z] Removing intermediate container 6efae5e80a3a [2022-07-22T22:06:31.068Z] ---> d9692f3e85d0 [2022-07-22T22:06:31.068Z] Step 25/26 : LABEL git_sha=2848f2351700e324b1023f3ab0cf6ce2f8accca5 [2022-07-22T22:06:31.068Z] ---> Running in 717eafbba596 [2022-07-22T22:06:31.329Z] Removing intermediate container 717eafbba596 [2022-07-22T22:06:31.329Z] ---> 16dc32b873fa [2022-07-22T22:06:31.329Z] Step 26/26 : LABEL version=0.0.0 [2022-07-22T22:06:31.329Z] ---> Running in 308ec257636f [2022-07-22T22:06:31.329Z] Removing intermediate container 308ec257636f [2022-07-22T22:06:31.329Z] ---> 1dd931b56245 [2022-07-22T22:06:31.329Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-22T22:06:31.329Z] Successfully built 1dd931b56245 [2022-07-22T22:06:31.329Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:06:32.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T22:06:32.191Z] [2022-07-22T22:06:32.191Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:06:32.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T22:06:32.562Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-22T22:06:32.562Z] 5eb5b503b376: Pulling fs layer [2022-07-22T22:06:32.562Z] 5c69ac0246d0: Pulling fs layer [2022-07-22T22:06:32.562Z] ec43610c2a17: Pulling fs layer [2022-07-22T22:06:32.562Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-22T22:06:32.562Z] 33b1e0a273af: Pulling fs layer [2022-07-22T22:06:32.562Z] 5d3b04190fa2: Pulling fs layer [2022-07-22T22:06:32.562Z] 2f39f015ded8: Pulling fs layer [2022-07-22T22:06:32.562Z] 3a2ae6a8a46f: Waiting [2022-07-22T22:06:32.562Z] 5d3b04190fa2: Waiting [2022-07-22T22:06:32.562Z] 33b1e0a273af: Waiting [2022-07-22T22:06:32.562Z] 2f39f015ded8: Waiting [2022-07-22T22:06:32.562Z] 5c69ac0246d0: Verifying Checksum [2022-07-22T22:06:32.562Z] 5c69ac0246d0: Download complete [2022-07-22T22:06:32.562Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-22T22:06:32.562Z] 3a2ae6a8a46f: Download complete [2022-07-22T22:06:32.562Z] 33b1e0a273af: Verifying Checksum [2022-07-22T22:06:32.562Z] 33b1e0a273af: Download complete [2022-07-22T22:06:32.562Z] 5d3b04190fa2: Verifying Checksum [2022-07-22T22:06:32.562Z] 5d3b04190fa2: Download complete [2022-07-22T22:06:32.562Z] ec43610c2a17: Verifying Checksum [2022-07-22T22:06:32.562Z] ec43610c2a17: Download complete [2022-07-22T22:06:32.822Z] 5eb5b503b376: Verifying Checksum [2022-07-22T22:06:32.822Z] 5eb5b503b376: Download complete [2022-07-22T22:06:33.393Z] 2f39f015ded8: Verifying Checksum [2022-07-22T22:06:33.393Z] 2f39f015ded8: Download complete [2022-07-22T22:06:34.334Z] 5eb5b503b376: Pull complete [2022-07-22T22:06:34.334Z] 5c69ac0246d0: Pull complete [2022-07-22T22:06:34.905Z] ec43610c2a17: Pull complete [2022-07-22T22:06:34.905Z] 3a2ae6a8a46f: Pull complete [2022-07-22T22:06:35.165Z] 33b1e0a273af: Pull complete [2022-07-22T22:06:35.165Z] 5d3b04190fa2: Pull complete [2022-07-22T22:06:39.446Z] 2f39f015ded8: Pull complete [2022-07-22T22:06:39.446Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-22T22:06:39.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T22:06:39.446Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T22:06:39.697Z] prd-ubuntu20.04-docker-8c-8g-20823 does not seem to be running inside a container [2022-07-22T22:06:39.732Z] $ 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-117 -v /w/workspace/undry_device-onvif-camera_PR-117:/w/workspace/undry_device-onvif-camera_PR-117:rw,z -v /w/workspace/undry_device-onvif-camera_PR-117@tmp:/w/workspace/undry_device-onvif-camera_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-22T22:06:41.860Z] $ docker top f16760e5d1e698506e0483abae75ead2354cc05f0572ae4c7657ec629322e6f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T22:06:42.353Z] ---> job-cost.sh [2022-07-22T22:06:42.353Z] lf-activate-venv: SKIPPING [2022-07-22T22:06:42.353Z] INFO: No Stack... [2022-07-22T22:06:42.923Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-22T22:06:43.184Z] INFO: Archiving Costs [Pipeline] sh [2022-07-22T22:06:43.499Z] + cat /w/workspace/undry_device-onvif-camera_PR-117/archives/cost.csv [2022-07-22T22:06:43.499Z] + cut -d, -f6 [Pipeline] lock [2022-07-22T22:06:43.537Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-117-1-stack-cost] [2022-07-22T22:06:43.541Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-117-1-stack-cost] did not exist. Created. [2022-07-22T22:06:43.542Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-22T22:06:43.934Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-22T22:06:43.986Z] Stashed 1 file(s) [Pipeline] } [2022-07-22T22:06:44.015Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-22T22:06:44.090Z] $ docker stop --time=1 f16760e5d1e698506e0483abae75ead2354cc05f0572ae4c7657ec629322e6f9 [2022-07-22T22:06:45.259Z] $ docker rm -f f16760e5d1e698506e0483abae75ead2354cc05f0572ae4c7657ec629322e6f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-22T22:06:48.937Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20824 in /w/workspace/undry_device-onvif-camera_PR-117 [Pipeline] { [Pipeline] ws [2022-07-22T22:06:48.977Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-07-22T22:06:49.083Z] Selected Git installation does not exist. Using Default [2022-07-22T22:06:49.083Z] The recommended git tool is: NONE [2022-07-22T22:06:55.637Z] using credential edgex-jenkins-ssh [2022-07-22T22:06:55.655Z] Cloning the remote Git repository [2022-07-22T22:06:55.738Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-22T22:06:55.858Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-07-22T22:06:55.941Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-22T22:06:55.941Z] > git --version # timeout=10 [2022-07-22T22:06:55.961Z] > git --version # 'git version 2.25.1' [2022-07-22T22:06:55.962Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-22T22:06:56.024Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-22T22:06:57.680Z] Merging remotes/origin/main commit 71e0e48ceeb97099740467347434efc97fecf137 into PR head commit 2848f2351700e324b1023f3ab0cf6ce2f8accca5 [2022-07-22T22:06:58.020Z] Merge succeeded, producing 2848f2351700e324b1023f3ab0cf6ce2f8accca5 [2022-07-22T22:06:58.021Z] Checking out Revision 2848f2351700e324b1023f3ab0cf6ce2f8accca5 (PR-117) [2022-07-22T22:06:57.112Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-22T22:06:57.130Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-22T22:06:57.162Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-22T22:06:57.197Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-22T22:06:57.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-22T22:06:57.211Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-22T22:06:57.702Z] > git config core.sparsecheckout # timeout=10 [2022-07-22T22:06:57.718Z] > git checkout -f 2848f2351700e324b1023f3ab0cf6ce2f8accca5 # timeout=10 [2022-07-22T22:06:57.931Z] > git remote # timeout=10 [2022-07-22T22:06:57.950Z] > git config --get remote.origin.url # timeout=10 [2022-07-22T22:06:57.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-22T22:06:57.978Z] > git merge 71e0e48ceeb97099740467347434efc97fecf137 # timeout=10 [2022-07-22T22:06:58.001Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-22T22:06:58.031Z] > git config core.sparsecheckout # timeout=10 [2022-07-22T22:06:58.044Z] > git checkout -f 2848f2351700e324b1023f3ab0cf6ce2f8accca5 # timeout=10 [2022-07-22T22:07:02.322Z] Commit message: "fix: always sanitize mac address before comparing it" [2022-07-22T22:07:02.378Z] > git --version # timeout=10 [2022-07-22T22:07:02.389Z] > git --version # 'git version 2.25.1' [2022-07-22T22:07:02.401Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-22T22:07:03.547Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-22T22:07:03.547Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-22T22:07:03.547Z] Dload Upload Total Spent Left Speed [2022-07-22T22:07:03.547Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 72116 0 --:--:-- --:--:-- --:--:-- 72116 [Pipeline] sh [2022-07-22T22:07:04.457Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-22T22:07:04.822Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-22T22:07:04.822Z] + sudo tee /etc/docker/daemon.new [2022-07-22T22:07:04.822Z] { [2022-07-22T22:07:04.822Z] "registry-mirrors": [ [2022-07-22T22:07:04.822Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-22T22:07:04.822Z] ], [2022-07-22T22:07:04.822Z] "bip": "10.250.0.254/24", [2022-07-22T22:07:04.822Z] "hosts": [ [2022-07-22T22:07:04.822Z] "tcp://0.0.0.0:5555", [2022-07-22T22:07:04.822Z] "unix:///var/run/docker.sock" [2022-07-22T22:07:04.822Z] ], [2022-07-22T22:07:04.822Z] "mtu": 1458, [2022-07-22T22:07:04.822Z] "selinux-enabled": true, [2022-07-22T22:07:04.822Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-22T22:07:04.822Z] } [Pipeline] sh [2022-07-22T22:07:05.184Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-22T22:07:05.534Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T22:07:23.916Z] provisioning config files... [2022-07-22T22:07:23.940Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7743361462341912360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T22:07:24.343Z] ---> docker-login.sh [2022-07-22T22:07:24.343Z] nexus3.edgexfoundry.org:10001 [2022-07-22T22:07:24.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:07:25.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:07:25.222Z] Configure a credential helper to remove this warning. See [2022-07-22T22:07:25.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:07:25.222Z] [2022-07-22T22:07:25.222Z] Login Succeeded [2022-07-22T22:07:25.222Z] nexus3.edgexfoundry.org:10002 [2022-07-22T22:07:25.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:07:25.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:07:25.770Z] Configure a credential helper to remove this warning. See [2022-07-22T22:07:25.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:07:25.770Z] [2022-07-22T22:07:25.770Z] Login Succeeded [2022-07-22T22:07:25.770Z] nexus3.edgexfoundry.org:10003 [2022-07-22T22:07:26.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:07:26.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:07:26.325Z] Configure a credential helper to remove this warning. See [2022-07-22T22:07:26.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:07:26.325Z] [2022-07-22T22:07:26.325Z] Login Succeeded [2022-07-22T22:07:26.325Z] nexus3.edgexfoundry.org:10004 [2022-07-22T22:07:26.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:07:26.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:07:26.600Z] Configure a credential helper to remove this warning. See [2022-07-22T22:07:26.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:07:26.600Z] [2022-07-22T22:07:26.600Z] Login Succeeded [2022-07-22T22:07:26.600Z] docker.io [2022-07-22T22:07:27.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-22T22:07:27.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-22T22:07:27.469Z] Configure a credential helper to remove this warning. See [2022-07-22T22:07:27.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-22T22:07:27.469Z] [2022-07-22T22:07:27.469Z] Login Succeeded [2022-07-22T22:07:27.469Z] ---> docker-login.sh ends [Pipeline] } [2022-07-22T22:07:27.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-22T22:07:27.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T22:07:27.912Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-22T22:07:27.945Z] ========================================================= [2022-07-22T22:07:27.945Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-22T22:07:27.945Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:07:28.463Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-22T22:07:29.071Z] Sending build context to Docker daemon 13.63MB [2022-07-22T22:07:29.071Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T22:07:29.071Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-22T22:07:29.071Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-22T22:07:29.071Z] b3c136eddcbf: Pulling fs layer [2022-07-22T22:07:29.071Z] c0a3192eca97: Pulling fs layer [2022-07-22T22:07:29.071Z] a050256f5b6f: Pulling fs layer [2022-07-22T22:07:29.071Z] 656be50a0ddc: Pulling fs layer [2022-07-22T22:07:29.071Z] 2bbca73fdf42: Pulling fs layer [2022-07-22T22:07:29.071Z] 46d945488cbd: Pulling fs layer [2022-07-22T22:07:29.071Z] 8a5474983e97: Pulling fs layer [2022-07-22T22:07:29.071Z] 329c88fbcd65: Pulling fs layer [2022-07-22T22:07:29.071Z] 46d945488cbd: Waiting [2022-07-22T22:07:29.071Z] 656be50a0ddc: Waiting [2022-07-22T22:07:29.071Z] 2bbca73fdf42: Waiting [2022-07-22T22:07:29.071Z] 329c88fbcd65: Waiting [2022-07-22T22:07:29.071Z] 8a5474983e97: Waiting [2022-07-22T22:07:29.346Z] a050256f5b6f: Verifying Checksum [2022-07-22T22:07:29.346Z] a050256f5b6f: Download complete [2022-07-22T22:07:29.346Z] c0a3192eca97: Verifying Checksum [2022-07-22T22:07:29.346Z] c0a3192eca97: Download complete [2022-07-22T22:07:29.346Z] 2bbca73fdf42: Verifying Checksum [2022-07-22T22:07:29.346Z] 2bbca73fdf42: Download complete [2022-07-22T22:07:29.346Z] 46d945488cbd: Verifying Checksum [2022-07-22T22:07:29.346Z] 46d945488cbd: Download complete [2022-07-22T22:07:29.346Z] b3c136eddcbf: Verifying Checksum [2022-07-22T22:07:29.346Z] b3c136eddcbf: Download complete [2022-07-22T22:07:30.352Z] b3c136eddcbf: Pull complete [2022-07-22T22:07:30.352Z] 329c88fbcd65: Verifying Checksum [2022-07-22T22:07:30.352Z] 329c88fbcd65: Download complete [2022-07-22T22:07:30.952Z] c0a3192eca97: Pull complete [2022-07-22T22:07:31.227Z] a050256f5b6f: Pull complete [2022-07-22T22:07:31.501Z] 8a5474983e97: Verifying Checksum [2022-07-22T22:07:31.501Z] 8a5474983e97: Download complete [2022-07-22T22:07:32.481Z] 656be50a0ddc: Verifying Checksum [2022-07-22T22:07:32.481Z] 656be50a0ddc: Download complete [2022-07-22T22:07:44.886Z] 656be50a0ddc: Pull complete [2022-07-22T22:07:44.886Z] 2bbca73fdf42: Pull complete [2022-07-22T22:07:45.159Z] 46d945488cbd: Pull complete [2022-07-22T22:07:51.889Z] 8a5474983e97: Pull complete [2022-07-22T22:07:53.327Z] 329c88fbcd65: Pull complete [2022-07-22T22:07:53.327Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-22T22:07:53.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-22T22:07:53.327Z] ---> ff4287adb874 [2022-07-22T22:07:53.327Z] Step 3/13 : ARG MAKE="make build" [2022-07-22T22:07:55.336Z] ---> Running in 32489cbadfc1 [2022-07-22T22:07:55.612Z] Removing intermediate container 32489cbadfc1 [2022-07-22T22:07:55.612Z] ---> 791e36d6de8c [2022-07-22T22:07:55.612Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T22:07:55.612Z] ---> Running in e890f8a75a1b [2022-07-22T22:07:55.888Z] Removing intermediate container e890f8a75a1b [2022-07-22T22:07:55.888Z] ---> 768b7a801a27 [2022-07-22T22:07:55.888Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T22:07:55.888Z] ---> Running in b7d130c66e90 [2022-07-22T22:07:57.322Z] Removing intermediate container b7d130c66e90 [2022-07-22T22:07:57.322Z] ---> 09ee7517df31 [2022-07-22T22:07:57.322Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-22T22:07:57.322Z] ---> Running in 2097a5396cda [2022-07-22T22:07:57.596Z] Removing intermediate container 2097a5396cda [2022-07-22T22:07:57.596Z] ---> 1451602d677d [2022-07-22T22:07:57.596Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T22:07:57.876Z] ---> Running in 7b9731a23d24 [2022-07-22T22:07:59.313Z] Removing intermediate container 7b9731a23d24 [2022-07-22T22:07:59.313Z] ---> cfd8f5ae8861 [2022-07-22T22:07:59.313Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T22:07:59.596Z] ---> Running in 49800824274b [2022-07-22T22:08:00.586Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-22T22:08:01.566Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-22T22:08:02.176Z] OK: 221 MiB in 51 packages [2022-07-22T22:08:03.167Z] Removing intermediate container 49800824274b [2022-07-22T22:08:03.167Z] ---> 3e6d689527b0 [2022-07-22T22:08:03.167Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-22T22:08:03.167Z] ---> Running in 1bda6104995b [2022-07-22T22:08:03.444Z] Removing intermediate container 1bda6104995b [2022-07-22T22:08:03.444Z] ---> 4f39e71e32a5 [2022-07-22T22:08:03.444Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-22T22:08:04.045Z] ---> a5be64c79218 [2022-07-22T22:08:04.045Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T22:08:04.045Z] ---> Running in b1fbc588ee61 [2022-07-22T22:08:51.061Z] Removing intermediate container b1fbc588ee61 [2022-07-22T22:08:51.061Z] ---> 2f8c36972f14 [2022-07-22T22:08:51.061Z] Step 12/13 : COPY . . [2022-07-22T22:08:51.061Z] ---> 1995ae5d332a [2022-07-22T22:08:51.061Z] Step 13/13 : RUN ${MAKE} [2022-07-22T22:08:51.061Z] ---> Running in 9136bcdf65e1 [2022-07-22T22:08:51.061Z] noop [2022-07-22T22:08:51.061Z] Removing intermediate container 9136bcdf65e1 [2022-07-22T22:08:51.061Z] ---> 43bd18185fcd [2022-07-22T22:08:51.061Z] Successfully built 43bd18185fcd [2022-07-22T22:08:51.061Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:08:51.554Z] + docker inspect -f . ci-base-image-arm64 [2022-07-22T22:08:51.554Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T22:08:51.878Z] prd-ubuntu20.04-docker-arm64-4c-16g-20824 does not seem to be running inside a container [2022-07-22T22:08:51.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-22T22:08:53.243Z] $ docker top cb73d9f2566465645e818ec88f99716949d78b8992571f01dc3aef7eb64f9916 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T22:08:54.210Z] + go version [2022-07-22T22:08:54.210Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-22T22:08:54.249Z] $ docker stop --time=1 cb73d9f2566465645e818ec88f99716949d78b8992571f01dc3aef7eb64f9916 [2022-07-22T22:08:55.922Z] $ docker rm -f cb73d9f2566465645e818ec88f99716949d78b8992571f01dc3aef7eb64f9916 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:08:56.828Z] + docker inspect -f . ci-base-image-arm64 [2022-07-22T22:08:56.828Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T22:08:57.144Z] prd-ubuntu20.04-docker-arm64-4c-16g-20824 does not seem to be running inside a container [2022-07-22T22:08:57.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-22T22:08:58.503Z] $ docker top 3274ef36514c9f134d14cfe3eeeef084041800a587e56ac0ab889502c2ef6993 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T22:08:59.479Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-07-22T22:09:00.227Z] + make test [2022-07-22T22:09:00.227Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-22T22:09:02.214Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-22T22:10:24.066Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-22T22:10:28.389Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.120s coverage: 10.6% of statements [2022-07-22T22:10:28.389Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-22T22:10:50.551Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.055s coverage: 13.8% of statements [2022-07-22T22:10:50.551Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-22T22:10:50.551Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-22T22:11:12.748Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-22T22:11:12.748Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-22T22:11:12.748Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-22T22:11:14.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-22T22:11:14.802Z] $ docker stop --time=1 3274ef36514c9f134d14cfe3eeeef084041800a587e56ac0ab889502c2ef6993 [2022-07-22T22:11:16.577Z] $ docker rm -f 3274ef36514c9f134d14cfe3eeeef084041800a587e56ac0ab889502c2ef6993 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-22T22:11:17.622Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-22T22:11:17.656Z] Warning: overwriting stash ‘coverage-report’ [2022-07-22T22:11:18.207Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-22T22:11:18.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-22T22:11:19.148Z] + ls -al . [2022-07-22T22:11:19.148Z] total 228 [2022-07-22T22:11:19.148Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 22:11 . [2022-07-22T22:11:19.148Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 22:06 .. [2022-07-22T22:11:19.148Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 22:07 .git [2022-07-22T22:11:19.148Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 22:06 .github [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 22 22:06 .gitignore [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 22:06 .golangci.yml [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 22 22:06 Attribution.txt [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 22 22:06 CHANGELOG.md [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 22 22:06 Dockerfile [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 22:06 GOVERNANCE.md [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 22 22:06 Jenkinsfile [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 22:06 LICENSE [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 22 22:06 Makefile [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 22:06 OWNERS.md [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 22 22:06 README.md [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 22:04 VERSION [2022-07-22T22:11:19.148Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 22:06 bin [2022-07-22T22:11:19.148Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 22:06 cmd [2022-07-22T22:11:19.148Z] -rw-r--r-- 1 jenkins jenkins 76856 Jul 22 22:10 coverage.out [2022-07-22T22:11:19.148Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 22 22:06 doc [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 22 22:06 go.mod [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 22 22:06 go.sum [2022-07-22T22:11:19.148Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 22:06 internal [2022-07-22T22:11:19.148Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 22:06 snap [2022-07-22T22:11:19.148Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 22:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:11:19.594Z] + 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=2848f2351700e324b1023f3ab0cf6ce2f8accca5 --label arch=arm64 --label version=0.0.0 . [2022-07-22T22:11:20.196Z] Sending build context to Docker daemon 13.7MB [2022-07-22T22:11:20.196Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-22T22:11:20.196Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-22T22:11:20.196Z] ---> 43bd18185fcd [2022-07-22T22:11:20.196Z] Step 3/26 : ARG MAKE="make build" [2022-07-22T22:11:20.196Z] ---> Running in c520200638c8 [2022-07-22T22:11:20.477Z] Removing intermediate container c520200638c8 [2022-07-22T22:11:20.477Z] ---> af07b0da956c [2022-07-22T22:11:20.478Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-22T22:11:20.751Z] ---> Running in b4c70fe41bb1 [2022-07-22T22:11:21.022Z] Removing intermediate container b4c70fe41bb1 [2022-07-22T22:11:21.022Z] ---> 8b04615fc448 [2022-07-22T22:11:21.022Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-22T22:11:21.022Z] ---> Running in 05b9219727d4 [2022-07-22T22:11:21.295Z] Removing intermediate container 05b9219727d4 [2022-07-22T22:11:21.295Z] ---> 8e79725a6e1d [2022-07-22T22:11:21.295Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-22T22:11:21.295Z] ---> Running in 6d7d9d4eca6d [2022-07-22T22:11:21.568Z] Removing intermediate container 6d7d9d4eca6d [2022-07-22T22:11:21.568Z] ---> 4ddfcff8bffd [2022-07-22T22:11:21.568Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-22T22:11:21.846Z] ---> Running in b543d615325d [2022-07-22T22:11:23.295Z] Removing intermediate container b543d615325d [2022-07-22T22:11:23.295Z] ---> 794aa0056f69 [2022-07-22T22:11:23.295Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-22T22:11:23.295Z] ---> Running in 772657d90311 [2022-07-22T22:11:24.280Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-22T22:11:25.268Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-22T22:11:26.249Z] OK: 221 MiB in 51 packages [2022-07-22T22:11:26.848Z] Removing intermediate container 772657d90311 [2022-07-22T22:11:26.848Z] ---> 22c2bf4ddaaa [2022-07-22T22:11:26.848Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-22T22:11:26.848Z] ---> Running in 7ad39c9ccdf1 [2022-07-22T22:11:27.444Z] Removing intermediate container 7ad39c9ccdf1 [2022-07-22T22:11:27.444Z] ---> cdcd871198f7 [2022-07-22T22:11:27.444Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-22T22:11:27.722Z] ---> 8bd15a38b17c [2022-07-22T22:11:27.722Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-22T22:11:27.999Z] ---> Running in 19dac80adb15 [2022-07-22T22:11:29.978Z] Removing intermediate container 19dac80adb15 [2022-07-22T22:11:29.978Z] ---> 002ec1e5fc13 [2022-07-22T22:11:29.978Z] Step 12/26 : COPY . . [2022-07-22T22:11:31.423Z] ---> 8e04b7146c42 [2022-07-22T22:11:31.423Z] Step 13/26 : RUN ${MAKE} [2022-07-22T22:11:31.423Z] ---> Running in faac51e45701 [2022-07-22T22:11:32.420Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-22T22:13:39.301Z] Removing intermediate container faac51e45701 [2022-07-22T22:13:39.301Z] ---> 736b98865ef4 [2022-07-22T22:13:39.301Z] Step 14/26 : FROM alpine:3.15 [2022-07-22T22:13:39.301Z] 3.15: Pulling from library/alpine [2022-07-22T22:13:39.301Z] e0295fd11fe2: Pulling fs layer [2022-07-22T22:13:39.301Z] e0295fd11fe2: Verifying Checksum [2022-07-22T22:13:39.301Z] e0295fd11fe2: Pull complete [2022-07-22T22:13:39.301Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-22T22:13:39.301Z] Status: Downloaded newer image for alpine:3.15 [2022-07-22T22:13:39.301Z] ---> 60f2846fe774 [2022-07-22T22:13:39.301Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-22T22:13:39.301Z] ---> Running in 80920be44c82 [2022-07-22T22:13:39.301Z] Removing intermediate container 80920be44c82 [2022-07-22T22:13:39.301Z] ---> e5048d028768 [2022-07-22T22:13:39.301Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-22T22:13:39.301Z] ---> Running in 41e5e68b9e20 [2022-07-22T22:13:40.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-22T22:13:40.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-22T22:13:41.266Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-22T22:13:41.266Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-22T22:13:41.266Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-22T22:13:41.266Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-22T22:13:41.267Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-22T22:13:41.267Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-22T22:13:41.267Z] Executing busybox-1.34.1-r7.trigger [2022-07-22T22:13:41.267Z] OK: 8 MiB in 20 packages [2022-07-22T22:13:42.254Z] Removing intermediate container 41e5e68b9e20 [2022-07-22T22:13:42.254Z] ---> 68e48ce61273 [2022-07-22T22:13:42.254Z] Step 17/26 : WORKDIR / [2022-07-22T22:13:42.254Z] ---> Running in 1b99a97c1305 [2022-07-22T22:13:42.528Z] Removing intermediate container 1b99a97c1305 [2022-07-22T22:13:42.528Z] ---> 216472e932d8 [2022-07-22T22:13:42.528Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-22T22:13:43.966Z] ---> 6b40da26af37 [2022-07-22T22:13:43.966Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-22T22:13:44.564Z] ---> 6d3a06e0c3a5 [2022-07-22T22:13:44.564Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-22T22:13:45.165Z] ---> 51099d60a425 [2022-07-22T22:13:45.165Z] Step 21/26 : EXPOSE 59984 [2022-07-22T22:13:45.439Z] ---> Running in 33b4c032b378 [2022-07-22T22:13:45.714Z] Removing intermediate container 33b4c032b378 [2022-07-22T22:13:45.714Z] ---> ab615bced1c5 [2022-07-22T22:13:45.714Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-22T22:13:45.714Z] ---> Running in 81fdde8c8c9a [2022-07-22T22:13:45.987Z] Removing intermediate container 81fdde8c8c9a [2022-07-22T22:13:45.987Z] ---> 07a4a7d234fb [2022-07-22T22:13:45.987Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-22T22:13:45.987Z] ---> Running in a5abfb0d8493 [2022-07-22T22:13:46.585Z] Removing intermediate container a5abfb0d8493 [2022-07-22T22:13:46.585Z] ---> 90a57b50bcf6 [2022-07-22T22:13:46.585Z] Step 24/26 : LABEL arch=arm64 [2022-07-22T22:13:46.585Z] ---> Running in bbe833082705 [2022-07-22T22:13:46.858Z] Removing intermediate container bbe833082705 [2022-07-22T22:13:46.858Z] ---> 0315f9054cb9 [2022-07-22T22:13:46.858Z] Step 25/26 : LABEL git_sha=2848f2351700e324b1023f3ab0cf6ce2f8accca5 [2022-07-22T22:13:46.858Z] ---> Running in a0f6d28c9e15 [2022-07-22T22:13:47.134Z] Removing intermediate container a0f6d28c9e15 [2022-07-22T22:13:47.134Z] ---> 739ff41fd3ea [2022-07-22T22:13:47.134Z] Step 26/26 : LABEL version=0.0.0 [2022-07-22T22:13:47.134Z] ---> Running in c1d76b2d3d94 [2022-07-22T22:13:47.407Z] Removing intermediate container c1d76b2d3d94 [2022-07-22T22:13:47.407Z] ---> ee4792d39409 [2022-07-22T22:13:47.407Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-22T22:13:47.681Z] Successfully built ee4792d39409 [2022-07-22T22:13:47.681Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:13:48.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-22T22:13:48.516Z] [2022-07-22T22:13:48.516Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:13:48.938Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-22T22:13:49.217Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-22T22:13:49.217Z] 8998bd30e6a1: Pulling fs layer [2022-07-22T22:13:49.217Z] 04944245beec: Pulling fs layer [2022-07-22T22:13:49.217Z] 699f458cf7ca: Pulling fs layer [2022-07-22T22:13:49.217Z] 765212b225bb: Pulling fs layer [2022-07-22T22:13:49.217Z] f23df028b6ca: Pulling fs layer [2022-07-22T22:13:49.217Z] d65c8cfc05b1: Pulling fs layer [2022-07-22T22:13:49.217Z] 2437ff75d9bd: Pulling fs layer [2022-07-22T22:13:49.217Z] f23df028b6ca: Waiting [2022-07-22T22:13:49.217Z] d65c8cfc05b1: Waiting [2022-07-22T22:13:49.217Z] 2437ff75d9bd: Waiting [2022-07-22T22:13:49.217Z] 765212b225bb: Waiting [2022-07-22T22:13:49.217Z] 04944245beec: Verifying Checksum [2022-07-22T22:13:49.217Z] 04944245beec: Download complete [2022-07-22T22:13:49.217Z] 765212b225bb: Verifying Checksum [2022-07-22T22:13:49.217Z] 765212b225bb: Download complete [2022-07-22T22:13:49.217Z] f23df028b6ca: Verifying Checksum [2022-07-22T22:13:49.217Z] f23df028b6ca: Download complete [2022-07-22T22:13:49.217Z] d65c8cfc05b1: Verifying Checksum [2022-07-22T22:13:49.217Z] d65c8cfc05b1: Download complete [2022-07-22T22:13:49.493Z] 699f458cf7ca: Verifying Checksum [2022-07-22T22:13:49.493Z] 699f458cf7ca: Download complete [2022-07-22T22:13:49.774Z] 8998bd30e6a1: Verifying Checksum [2022-07-22T22:13:49.774Z] 8998bd30e6a1: Download complete [2022-07-22T22:13:52.407Z] 2437ff75d9bd: Verifying Checksum [2022-07-22T22:13:52.407Z] 2437ff75d9bd: Download complete [2022-07-22T22:13:53.847Z] 8998bd30e6a1: Pull complete [2022-07-22T22:13:54.447Z] 04944245beec: Pull complete [2022-07-22T22:13:55.882Z] 699f458cf7ca: Pull complete [2022-07-22T22:13:56.157Z] 765212b225bb: Pull complete [2022-07-22T22:13:57.140Z] f23df028b6ca: Pull complete [2022-07-22T22:13:57.140Z] d65c8cfc05b1: Pull complete [2022-07-22T22:14:12.254Z] 2437ff75d9bd: Pull complete [2022-07-22T22:14:12.254Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-22T22:14:12.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-22T22:14:12.254Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T22:14:12.650Z] prd-ubuntu20.04-docker-arm64-4c-16g-20824 does not seem to be running inside a container [2022-07-22T22:14:12.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-22T22:14:15.367Z] $ docker top 73fb5be904326401c1ec637369cddf5a67c56112327de12e88a07e598009c5ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-22T22:14:16.335Z] ---> job-cost.sh [2022-07-22T22:14:16.335Z] lf-activate-venv: SKIPPING [2022-07-22T22:14:16.335Z] INFO: No Stack... [2022-07-22T22:14:16.609Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-22T22:14:17.594Z] INFO: Archiving Costs [Pipeline] sh [2022-07-22T22:14:18.280Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-07-22T22:14:18.280Z] + cut -d, -f6 [Pipeline] lock [2022-07-22T22:14:18.369Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-117-1-stack-cost] [2022-07-22T22:14:18.374Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-117-1-stack-cost] did not exist. Created. [2022-07-22T22:14:18.374Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-22T22:14:19.121Z] /w/workspace/device-onvif-camera/1@tmp/durable-f932ad78/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-22T22:14:19.827Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-22T22:14:19.867Z] Warning: overwriting stash ‘stack-cost’ [2022-07-22T22:14:19.924Z] Stashed 1 file(s) [Pipeline] } [2022-07-22T22:14:19.939Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-22T22:14:20.027Z] $ docker stop --time=1 73fb5be904326401c1ec637369cddf5a67c56112327de12e88a07e598009c5ee [2022-07-22T22:14:21.537Z] $ docker rm -f 73fb5be904326401c1ec637369cddf5a67c56112327de12e88a07e598009c5ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-22T22:14:22.510Z] provisioning config files... [2022-07-22T22:14:22.520Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-117@tmp/config862826787001560186tmp [Pipeline] { [Pipeline] sh [2022-07-22T22:14:22.846Z] + set +x [2022-07-22T22:14:22.846Z] + curl -s https://codecov.io/bash [2022-07-22T22:14:22.846Z] + bash -s -- [2022-07-22T22:14:22.846Z] [2022-07-22T22:14:22.846Z] _____ _ [2022-07-22T22:14:22.846Z] / ____| | | [2022-07-22T22:14:22.846Z] | | ___ __| | ___ ___ _____ __ [2022-07-22T22:14:22.846Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-22T22:14:22.846Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-22T22:14:22.846Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-22T22:14:22.846Z] Bash-1.0.6 [2022-07-22T22:14:22.846Z] [2022-07-22T22:14:22.846Z] [2022-07-22T22:14:22.846Z] ==> git version 2.25.1 found [2022-07-22T22:14:22.846Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-22T22:14:22.846Z] Release-Date: 2020-01-08 [2022-07-22T22:14:22.846Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-22T22:14:22.846Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-22T22:14:22.846Z] ==> Jenkins CI detected. [2022-07-22T22:14:22.846Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-117 [2022-07-22T22:14:22.846Z] project root: . [2022-07-22T22:14:22.846Z] --> token set from env [2022-07-22T22:14:22.846Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-22T22:14:22.846Z] ==> Running gcov in . (disable via -X gcov) [2022-07-22T22:14:22.846Z] ==> Python coveragepy not found [2022-07-22T22:14:22.846Z] ==> Searching for coverage reports in: [2022-07-22T22:14:22.846Z] + . [2022-07-22T22:14:23.107Z] -> Found 1 reports [2022-07-22T22:14:23.107Z] ==> Detecting git/mercurial file structure [2022-07-22T22:14:23.107Z] ==> Reading reports [2022-07-22T22:14:23.107Z] + ./coverage.out bytes=76856 [2022-07-22T22:14:23.107Z] ==> Appending adjustments [2022-07-22T22:14:23.107Z] https://docs.codecov.io/docs/fixing-reports [2022-07-22T22:14:23.107Z] + Found adjustments [2022-07-22T22:14:23.107Z] ==> Gzipping contents [2022-07-22T22:14:23.107Z] 12K /tmp/codecov.ng45VH.gz [2022-07-22T22:14:23.107Z] ==> Uploading reports [2022-07-22T22:14:23.107Z] url: https://codecov.io [2022-07-22T22:14:23.107Z] query: branch=PR-117&commit=2848f2351700e324b1023f3ab0cf6ce2f8accca5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-117%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=117&job=&cmd_args= [2022-07-22T22:14:23.107Z] -> Pinging Codecov [2022-07-22T22:14:23.107Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-117&commit=2848f2351700e324b1023f3ab0cf6ce2f8accca5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-117%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=117&job=&cmd_args= [2022-07-22T22:14:23.367Z] -> Uploading to [2022-07-22T22:14:23.368Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-22/F29A59C45E3A92E06B3E522C9905F8EF/2848f2351700e324b1023f3ab0cf6ce2f8accca5/fb42640c-73f5-4f88-9c7f-c40222d8f66a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220722%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220722T221423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57c04148d47dee31bb1ca08cc5f7294ac59d254b76dc2dbf5ec6a8665375ee26 [2022-07-22T22:14:23.368Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-22T22:14:23.368Z] Dload Upload Total Spent Left Speed [2022-07-22T22:14:23.627Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10402 0 0 100 10402 0 45622 --:--:-- --:--:-- --:--:-- 45423 100 10402 0 0 100 10402 0 42457 --:--:-- --:--:-- --:--:-- 42284 [2022-07-22T22:14:23.628Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/2848f2351700e324b1023f3ab0cf6ce2f8accca5 [Pipeline] } [2022-07-22T22:14:23.655Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-22T22:14:25.407Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-117/archives ] [2022-07-22T22:14:25.407Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-117/archives [2022-07-22T22:14:25.407Z] total 16 [2022-07-22T22:14:25.407Z] drwxr-xr-x 3 root root 4096 Jul 22 22:06 . [2022-07-22T22:14:25.407Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 22 22:06 .. [2022-07-22T22:14:25.407Z] drwxr-xr-x 2 root root 4096 Jul 22 22:06 cost [2022-07-22T22:14:25.407Z] -rw-r--r-- 1 root root 90 Jul 22 22:06 cost.csv [2022-07-22T22:14:25.407Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-117/archives [2022-07-22T22:14:25.407Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-117/archives [2022-07-22T22:14:25.407Z] total 16 [2022-07-22T22:14:25.407Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 22:06 . [2022-07-22T22:14:25.407Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 22 22:06 .. [2022-07-22T22:14:25.407Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 22 22:06 cost [2022-07-22T22:14:25.407Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 22 22:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-22T22:14:25.744Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T22:14:26.644Z] ---> package-listing.sh [2022-07-22T22:14:26.644Z] ++ facter osfamily [2022-07-22T22:14:26.644Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-22T22:14:26.905Z] + OS_FAMILY=debian [2022-07-22T22:14:26.905Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-117 [2022-07-22T22:14:26.905Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-22T22:14:26.905Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-22T22:14:26.905Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-22T22:14:26.905Z] + PACKAGES=/tmp/packages_start.txt [2022-07-22T22:14:26.905Z] + '[' /w/workspace/undry_device-onvif-camera_PR-117 ']' [2022-07-22T22:14:26.905Z] + PACKAGES=/tmp/packages_end.txt [2022-07-22T22:14:26.905Z] + case "${OS_FAMILY}" in [2022-07-22T22:14:26.905Z] + dpkg -l [2022-07-22T22:14:26.905Z] + grep '^ii' [2022-07-22T22:14:26.905Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-22T22:14:26.905Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-22T22:14:26.905Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-22T22:14:26.905Z] + '[' /w/workspace/undry_device-onvif-camera_PR-117 ']' [2022-07-22T22:14:26.905Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-117/archives/ [2022-07-22T22:14:26.905Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-117/archives/ [Pipeline] echo [2022-07-22T22:14:26.948Z] 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-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-22T22:14:27.247Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-22T22:14:27.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-22T22:14:27.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-22T22:14:28.054Z] prd-ubuntu20.04-docker-8c-8g-20823 does not seem to be running inside a container [2022-07-22T22:14:28.090Z] $ 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-117/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-117 -v /w/workspace/undry_device-onvif-camera_PR-117:/w/workspace/undry_device-onvif-camera_PR-117:rw,z -v /w/workspace/undry_device-onvif-camera_PR-117@tmp:/w/workspace/undry_device-onvif-camera_PR-117@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-22T22:14:28.322Z] $ docker top 516c25d26a1250a47c8e0a75f2e4a8044a4d28bf2bf4ccc9bedbaf8dff2257fd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-22T22:14:28.733Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-22T22:14:29.046Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-22T22:14:29.363Z] + ls /var/log/sa-host [2022-07-22T22:14:29.363Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-22T22:14:29.554Z] provisioning config files... [2022-07-22T22:14:29.563Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-117@tmp/config541868829066915743tmp [Pipeline] { [Pipeline] echo [2022-07-22T22:14:29.613Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T22:14:29.931Z] ---> create-netrc.sh [Pipeline] } [2022-07-22T22:14:29.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-22T22:14:30.353Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-22T22:14:30.386Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T22:14:30.698Z] ---> sudo-logs.sh [2022-07-22T22:14:30.698Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-22T22:14:30.782Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T22:14:31.095Z] ---> job-cost.sh [2022-07-22T22:14:31.096Z] lf-activate-venv: SKIPPING [2022-07-22T22:14:31.096Z] DEBUG: total: 0.2199999988079071 [2022-07-22T22:14:31.096Z] INFO: Retrieving Stack Cost... [2022-07-22T22:14:31.666Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-22T22:14:31.926Z] INFO: Archiving Costs [Pipeline] echo [2022-07-22T22:14:31.962Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-22T22:14:32.277Z] ---> logs-deploy.sh [2022-07-22T22:14:32.277Z] lf-activate-venv: SKIPPING [2022-07-22T22:14:32.277Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-117/1 [2022-07-22T22:14:32.277Z] INFO: archiving workspace using pattern(s): [2022-07-22T22:14:33.216Z] Archives upload complete. [2022-07-22T22:14:33.216Z] INFO: archiving logs to Nexus