Pull request #114 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 MonicaisHer for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at a761beb27065a69935e8288e1ea85e5d9ee20b97 rather than 0c165ac810ef2a78f8b8e29427eeb3171a73d136 Obtained Jenkinsfile from a761beb27065a69935e8288e1ea85e5d9ee20b97 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-ssh12311025788613503713.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-ssh17545866163684989284.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-114/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-114/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5963160879621145291.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-114/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3182119385730611306.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-ssh8200964262284842249.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-114/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-114/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3463588449541279116.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-20558 in /w/workspace/undry_device-onvif-camera_PR-114 [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-114 # 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 a761beb27065a69935e8288e1ea85e5d9ee20b97 into PR head commit 0c165ac810ef2a78f8b8e29427eeb3171a73d136 Merge succeeded, producing 0c165ac810ef2a78f8b8e29427eeb3171a73d136 Checking out Revision 0c165ac810ef2a78f8b8e29427eeb3171a73d136 (PR-114) > 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/114/head:refs/remotes/origin/PR-114 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c165ac810ef2a78f8b8e29427eeb3171a73d136 # 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 a761beb27065a69935e8288e1ea85e5d9ee20b97 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c165ac810ef2a78f8b8e29427eeb3171a73d136 # timeout=10 Commit message: "feat(snap): Add option to autostart app" 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-20T07:39:09.643Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-20T07:39:09.813Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-20T07:39:09.908Z] ========================================================= [2022-07-20T07:39:09.908Z] EdgeX Global Pipelines Version Info [2022-07-20T07:39:09.908Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-20T07:39:10.734Z] ------------------- [2022-07-20T07:39:10.734Z] stable info: [2022-07-20T07:39:10.734Z] ------------------- [2022-07-20T07:39:10.734Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-20T07:39:10.734Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-20T07:39:10.734Z] Message: update stable to v1.0.238 [2022-07-20T07:39:11.306Z] ------------------- [2022-07-20T07:39:11.306Z] experimental info: [2022-07-20T07:39:11.306Z] ------------------- [2022-07-20T07:39:11.306Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-20T07:39:11.307Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-20T07:39:11.307Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-20T07:39:11.687Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-20T07:39:11.729Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-20T07:39:11.770Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-20T07:39:11.811Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-20T07:39:11.852Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-20T07:39:11.887Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-20T07:39:11.923Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-20T07:39:11.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-20T07:39:12.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-20T07:39:12.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-20T07:39:12.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-20T07:39:12.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-20T07:39:12.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-20T07:39:12.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-20T07:39:12.244Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-20T07:39:12.284Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-20T07:39:12.325Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-20T07:39:12.362Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-20T07:39:12.405Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-20T07:39:12.446Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-20T07:39:12.482Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-20T07:39:12.528Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-20T07:39:12.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-20T07:39:12.611Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-20T07:39:12.652Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-20T07:39:12.696Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-20T07:39:12.738Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-20T07:39:12.781Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-114 [Pipeline] echo [2022-07-20T07:39:12.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-114 [Pipeline] echo [2022-07-20T07:39:12.856Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-114 [Pipeline] echo [2022-07-20T07:39:12.898Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c165ac810ef2a78f8b8e29427eeb3171a73d136 [Pipeline] echo [2022-07-20T07:39:12.941Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c165ac [Pipeline] echo [2022-07-20T07:39:12.986Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T07:39:13.105Z] provisioning config files... [2022-07-20T07:39:13.122Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-114@tmp/config6085065163818292029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T07:39:13.474Z] ---> docker-login.sh [2022-07-20T07:39:13.474Z] nexus3.edgexfoundry.org:10001 [2022-07-20T07:39:13.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:39:14.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:39:14.001Z] Configure a credential helper to remove this warning. See [2022-07-20T07:39:14.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:39:14.001Z] [2022-07-20T07:39:14.001Z] Login Succeeded [2022-07-20T07:39:14.001Z] nexus3.edgexfoundry.org:10002 [2022-07-20T07:39:14.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:39:14.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:39:14.001Z] Configure a credential helper to remove this warning. See [2022-07-20T07:39:14.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:39:14.001Z] [2022-07-20T07:39:14.001Z] Login Succeeded [2022-07-20T07:39:14.001Z] nexus3.edgexfoundry.org:10003 [2022-07-20T07:39:14.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:39:14.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:39:14.262Z] Configure a credential helper to remove this warning. See [2022-07-20T07:39:14.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:39:14.262Z] [2022-07-20T07:39:14.262Z] Login Succeeded [2022-07-20T07:39:14.262Z] nexus3.edgexfoundry.org:10004 [2022-07-20T07:39:14.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:39:14.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:39:14.525Z] Configure a credential helper to remove this warning. See [2022-07-20T07:39:14.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:39:14.525Z] [2022-07-20T07:39:14.525Z] Login Succeeded [2022-07-20T07:39:14.525Z] docker.io [2022-07-20T07:39:14.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:39:14.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:39:14.786Z] Configure a credential helper to remove this warning. See [2022-07-20T07:39:14.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:39:14.786Z] [2022-07-20T07:39:14.786Z] Login Succeeded [2022-07-20T07:39:14.786Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T07:39:14.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-20T07:39:15.408Z] + git rev-list -1 --merges 0c165ac810ef2a78f8b8e29427eeb3171a73d136~1..0c165ac810ef2a78f8b8e29427eeb3171a73d136 [Pipeline] echo [2022-07-20T07:39:15.454Z] -----------> git rev-list -1 --merges 0c165ac810ef2a78f8b8e29427eeb3171a73d136~1..0c165ac810ef2a78f8b8e29427eeb3171a73d136 0c165ac810ef2a78f8b8e29427eeb3171a73d136 [false] [Pipeline] sh [2022-07-20T07:39:15.763Z] + git log --format=format:%s -1 0c165ac810ef2a78f8b8e29427eeb3171a73d136 [Pipeline] echo [2022-07-20T07:39:15.799Z] ========================================================= [2022-07-20T07:39:15.799Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-20T07:39:15.799Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T07:39:16.224Z] + git log --format=format:%s -1 0c165ac810ef2a78f8b8e29427eeb3171a73d136 [Pipeline] echo [2022-07-20T07:39:16.256Z] [semverPrep] GIT_COMMIT: 0c165ac810ef2a78f8b8e29427eeb3171a73d136, Commit Message: feat(snap): Add option to autostart app [Pipeline] echo [2022-07-20T07:39:16.286Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-20T07:39:16.676Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-20T07:39:16.676Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-20T07:39:16.676Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-20T07:39:16.676Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-20T07:39:16.676Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-20T07:39:16.676Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-20T07:39:16.676Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T07:39:17.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T07:39:17.171Z] [2022-07-20T07:39:17.171Z] 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-20T07:39:17.545Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T07:39:17.545Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-20T07:39:17.545Z] b85a868b505f: Pulling fs layer [2022-07-20T07:39:17.545Z] e2be974225ed: Pulling fs layer [2022-07-20T07:39:17.545Z] 339a4e72a1f5: Pulling fs layer [2022-07-20T07:39:17.545Z] 988bab9f4d93: Pulling fs layer [2022-07-20T07:39:17.545Z] 1469e6f7b9e6: Pulling fs layer [2022-07-20T07:39:17.545Z] eaf3925da568: Pulling fs layer [2022-07-20T07:39:17.545Z] bab4dde63d76: Pulling fs layer [2022-07-20T07:39:17.545Z] bde34c3a00c8: Pulling fs layer [2022-07-20T07:39:17.545Z] 988bab9f4d93: Waiting [2022-07-20T07:39:17.545Z] eaf3925da568: Waiting [2022-07-20T07:39:17.545Z] 1469e6f7b9e6: Waiting [2022-07-20T07:39:17.545Z] bab4dde63d76: Waiting [2022-07-20T07:39:17.545Z] b352a97aabf1: Pulling fs layer [2022-07-20T07:39:17.545Z] 4872d77fe225: Pulling fs layer [2022-07-20T07:39:17.545Z] 5851b861e8e6: Pulling fs layer [2022-07-20T07:39:17.545Z] bde34c3a00c8: Waiting [2022-07-20T07:39:17.545Z] 5851b861e8e6: Waiting [2022-07-20T07:39:17.545Z] 4872d77fe225: Waiting [2022-07-20T07:39:17.545Z] b352a97aabf1: Waiting [2022-07-20T07:39:17.545Z] e2be974225ed: Verifying Checksum [2022-07-20T07:39:17.545Z] e2be974225ed: Download complete [2022-07-20T07:39:17.809Z] 988bab9f4d93: Verifying Checksum [2022-07-20T07:39:17.809Z] 988bab9f4d93: Download complete [2022-07-20T07:39:17.809Z] 1469e6f7b9e6: Verifying Checksum [2022-07-20T07:39:17.809Z] 1469e6f7b9e6: Download complete [2022-07-20T07:39:17.809Z] 339a4e72a1f5: Verifying Checksum [2022-07-20T07:39:17.809Z] 339a4e72a1f5: Download complete [2022-07-20T07:39:17.809Z] eaf3925da568: Verifying Checksum [2022-07-20T07:39:17.809Z] eaf3925da568: Download complete [2022-07-20T07:39:17.809Z] bde34c3a00c8: Download complete [2022-07-20T07:39:17.809Z] b352a97aabf1: Verifying Checksum [2022-07-20T07:39:17.809Z] b352a97aabf1: Download complete [2022-07-20T07:39:17.809Z] 4872d77fe225: Verifying Checksum [2022-07-20T07:39:17.809Z] 4872d77fe225: Download complete [2022-07-20T07:39:17.809Z] 5851b861e8e6: Verifying Checksum [2022-07-20T07:39:17.809Z] 5851b861e8e6: Download complete [2022-07-20T07:39:17.809Z] b85a868b505f: Verifying Checksum [2022-07-20T07:39:17.809Z] b85a868b505f: Download complete [2022-07-20T07:39:18.378Z] bab4dde63d76: Verifying Checksum [2022-07-20T07:39:18.378Z] bab4dde63d76: Download complete [2022-07-20T07:39:19.323Z] b85a868b505f: Pull complete [2022-07-20T07:39:19.585Z] e2be974225ed: Pull complete [2022-07-20T07:39:20.159Z] 339a4e72a1f5: Pull complete [2022-07-20T07:39:20.159Z] 988bab9f4d93: Pull complete [2022-07-20T07:39:20.420Z] 1469e6f7b9e6: Pull complete [2022-07-20T07:39:20.421Z] eaf3925da568: Pull complete [2022-07-20T07:39:22.967Z] bab4dde63d76: Pull complete [2022-07-20T07:39:22.967Z] bde34c3a00c8: Pull complete [2022-07-20T07:39:22.967Z] b352a97aabf1: Pull complete [2022-07-20T07:39:22.967Z] 4872d77fe225: Pull complete [2022-07-20T07:39:22.967Z] 5851b861e8e6: Pull complete [2022-07-20T07:39:22.967Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-20T07:39:22.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T07:39:22.967Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T07:39:23.207Z] prd-ubuntu20.04-docker-8c-8g-20558 does not seem to be running inside a container [2022-07-20T07:39:23.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-114 -v /w/workspace/undry_device-onvif-camera_PR-114:/w/workspace/undry_device-onvif-camera_PR-114:rw,z -v /w/workspace/undry_device-onvif-camera_PR-114@tmp:/w/workspace/undry_device-onvif-camera_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-20T07:39:24.731Z] $ docker top f32c9ce671467d8f23ad40c72ebf5b0149fe3a503456f61500ccd054ed7f8a92 -eo pid,comm [2022-07-20T07:39:24.807Z] 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-20T07:39:24.807Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-20T07:39:24.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-20T07:39:24.935Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-20T07:39:25.068Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-20T07:39:25.071Z] $ docker exec f32c9ce671467d8f23ad40c72ebf5b0149fe3a503456f61500ccd054ed7f8a92 ssh-agent [2022-07-20T07:39:25.205Z] SSH_AUTH_SOCK=/tmp/ssh-aBuHjlo1my0s/agent.34 [2022-07-20T07:39:25.205Z] SSH_AGENT_PID=40 [2022-07-20T07:39:25.212Z] Running ssh-add (command line suppressed) [2022-07-20T07:39:25.327Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-114@tmp/private_key_644825617635461083.key (/w/workspace/undry_device-onvif-camera_PR-114@tmp/private_key_644825617635461083.key) [2022-07-20T07:39:25.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-20T07:39:25.680Z] + git tag --points-at HEAD [Pipeline] } [2022-07-20T07:39:25.707Z] $ docker exec --env ******** --env ******** f32c9ce671467d8f23ad40c72ebf5b0149fe3a503456f61500ccd054ed7f8a92 ssh-agent -k [2022-07-20T07:39:25.840Z] unset SSH_AUTH_SOCK; [2022-07-20T07:39:25.841Z] unset SSH_AGENT_PID; [2022-07-20T07:39:25.841Z] echo Agent pid 40 killed; [2022-07-20T07:39:25.852Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-20T07:39:25.939Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-20T07:39:25.939Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-20T07:39:26.076Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-20T07:39:26.080Z] $ docker exec f32c9ce671467d8f23ad40c72ebf5b0149fe3a503456f61500ccd054ed7f8a92 ssh-agent [2022-07-20T07:39:26.231Z] SSH_AUTH_SOCK=/tmp/ssh-LLvKLsb3Fnyp/agent.73 [2022-07-20T07:39:26.231Z] SSH_AGENT_PID=79 [2022-07-20T07:39:26.237Z] Running ssh-add (command line suppressed) [2022-07-20T07:39:26.356Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-114@tmp/private_key_5881272349517918063.key (/w/workspace/undry_device-onvif-camera_PR-114@tmp/private_key_5881272349517918063.key) [2022-07-20T07:39:26.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-20T07:39:26.715Z] + git semver init [2022-07-20T07:39:26.977Z] 2022-07-20 07:39:26,928 [run_init] DEBUG init version:0.0.0 force:False [2022-07-20T07:39:26.977Z] 2022-07-20 07:39:26,930 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-114/.semver [2022-07-20T07:39:26.977Z] 2022-07-20 07:39:26,930 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-114/.semver [2022-07-20T07:39:26.977Z] 2022-07-20 07:39:26,930 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-114/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-114, universal_newlines=False, shell=None, istream=None) [2022-07-20T07:39:27.922Z] 2022-07-20 07:39:27,698 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-114/.git/info/exclude [2022-07-20T07:39:27.922Z] 2022-07-20 07:39:27,698 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-114/.semver/PR-114 with force:False [2022-07-20T07:39:27.922Z] 2022-07-20 07:39:27,699 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-114/.semver/PR-114 [2022-07-20T07:39:27.922Z] 2022-07-20 07:39:27,703 [execute] INFO git cat-file --batch-check [2022-07-20T07:39:27.922Z] 2022-07-20 07:39:27,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-114/.semver, universal_newlines=False, shell=None, istream=) [2022-07-20T07:39:27.922Z] 2022-07-20 07:39:27,710 [execute] INFO git cat-file --batch [2022-07-20T07:39:27.922Z] 2022-07-20 07:39:27,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-114/.semver, universal_newlines=False, shell=None, istream=) [2022-07-20T07:39:27.922Z] 2022-07-20 07:39:27,716 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-114/.semver/PR-114 [2022-07-20T07:39:27.922Z] 0.0.0 [Pipeline] } [2022-07-20T07:39:27.948Z] $ docker exec --env ******** --env ******** f32c9ce671467d8f23ad40c72ebf5b0149fe3a503456f61500ccd054ed7f8a92 ssh-agent -k [2022-07-20T07:39:28.076Z] unset SSH_AUTH_SOCK; [2022-07-20T07:39:28.076Z] unset SSH_AGENT_PID; [2022-07-20T07:39:28.077Z] echo Agent pid 79 killed; [2022-07-20T07:39:28.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-20T07:39:28.533Z] + git semver [Pipeline] } [2022-07-20T07:39:28.817Z] $ docker stop --time=1 f32c9ce671467d8f23ad40c72ebf5b0149fe3a503456f61500ccd054ed7f8a92 [2022-07-20T07:39:30.152Z] $ docker rm -f f32c9ce671467d8f23ad40c72ebf5b0149fe3a503456f61500ccd054ed7f8a92 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T07:39:30.570Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-20T07:39:30.910Z] Stashed 1 file(s) [Pipeline] echo [2022-07-20T07:39:30.933Z] [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-20T07:39:31.567Z] provisioning config files... [2022-07-20T07:39:31.580Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-114@tmp/config3917742066591476441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T07:39:31.931Z] ---> docker-login.sh [2022-07-20T07:39:31.931Z] nexus3.edgexfoundry.org:10001 [2022-07-20T07:39:31.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:39:31.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:39:31.931Z] Configure a credential helper to remove this warning. See [2022-07-20T07:39:31.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:39:31.931Z] [2022-07-20T07:39:31.931Z] Login Succeeded [2022-07-20T07:39:31.931Z] nexus3.edgexfoundry.org:10002 [2022-07-20T07:39:32.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:39:32.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:39:32.192Z] Configure a credential helper to remove this warning. See [2022-07-20T07:39:32.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:39:32.192Z] [2022-07-20T07:39:32.192Z] Login Succeeded [2022-07-20T07:39:32.192Z] nexus3.edgexfoundry.org:10003 [2022-07-20T07:39:32.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:39:32.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:39:32.192Z] Configure a credential helper to remove this warning. See [2022-07-20T07:39:32.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:39:32.192Z] [2022-07-20T07:39:32.192Z] Login Succeeded [2022-07-20T07:39:32.192Z] nexus3.edgexfoundry.org:10004 [2022-07-20T07:39:32.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:39:32.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:39:32.454Z] Configure a credential helper to remove this warning. See [2022-07-20T07:39:32.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:39:32.454Z] [2022-07-20T07:39:32.454Z] Login Succeeded [2022-07-20T07:39:32.454Z] docker.io [2022-07-20T07:39:32.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:39:33.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:39:33.029Z] Configure a credential helper to remove this warning. See [2022-07-20T07:39:33.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:39:33.029Z] [2022-07-20T07:39:33.029Z] Login Succeeded [2022-07-20T07:39:33.029Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T07:39:33.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-20T07:39:33.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T07:39:33.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T07:39:33.334Z] ========================================================= [2022-07-20T07:39:33.334Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-20T07:39:33.334Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T07:39:33.801Z] + 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-20T07:39:33.802Z] Sending build context to Docker daemon 18.94MB [2022-07-20T07:39:33.802Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-20T07:39:33.802Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-20T07:39:34.065Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-20T07:39:34.065Z] 2408cc74d12b: Pulling fs layer [2022-07-20T07:39:34.065Z] ea60b727a1ce: Pulling fs layer [2022-07-20T07:39:34.065Z] 30c4a7721957: Pulling fs layer [2022-07-20T07:39:34.065Z] 370296b7ddb6: Pulling fs layer [2022-07-20T07:39:34.065Z] 7c6cee850709: Pulling fs layer [2022-07-20T07:39:34.065Z] 39a5fcdaea64: Pulling fs layer [2022-07-20T07:39:34.065Z] d94ebbe4e438: Pulling fs layer [2022-07-20T07:39:34.065Z] bcfd1f05c69d: Pulling fs layer [2022-07-20T07:39:34.065Z] 59ccb84bbe0f: Pulling fs layer [2022-07-20T07:39:34.065Z] 370296b7ddb6: Waiting [2022-07-20T07:39:34.065Z] 7c6cee850709: Waiting [2022-07-20T07:39:34.065Z] 39a5fcdaea64: Waiting [2022-07-20T07:39:34.065Z] d94ebbe4e438: Waiting [2022-07-20T07:39:34.065Z] bcfd1f05c69d: Waiting [2022-07-20T07:39:34.065Z] 59ccb84bbe0f: Waiting [2022-07-20T07:39:34.065Z] 30c4a7721957: Verifying Checksum [2022-07-20T07:39:34.065Z] 30c4a7721957: Download complete [2022-07-20T07:39:34.065Z] ea60b727a1ce: Verifying Checksum [2022-07-20T07:39:34.065Z] 7c6cee850709: Download complete [2022-07-20T07:39:34.065Z] 2408cc74d12b: Verifying Checksum [2022-07-20T07:39:34.065Z] 2408cc74d12b: Download complete [2022-07-20T07:39:34.065Z] d94ebbe4e438: Download complete [2022-07-20T07:39:34.329Z] 2408cc74d12b: Pull complete [2022-07-20T07:39:34.329Z] ea60b727a1ce: Pull complete [2022-07-20T07:39:34.329Z] 30c4a7721957: Pull complete [2022-07-20T07:39:34.592Z] 59ccb84bbe0f: Verifying Checksum [2022-07-20T07:39:34.592Z] 59ccb84bbe0f: Download complete [2022-07-20T07:39:34.592Z] bcfd1f05c69d: Verifying Checksum [2022-07-20T07:39:34.592Z] bcfd1f05c69d: Download complete [2022-07-20T07:39:35.163Z] 370296b7ddb6: Verifying Checksum [2022-07-20T07:39:35.163Z] 370296b7ddb6: Download complete [2022-07-20T07:39:39.376Z] 370296b7ddb6: Pull complete [2022-07-20T07:39:39.376Z] 7c6cee850709: Pull complete [2022-07-20T07:39:39.376Z] 39a5fcdaea64: Pull complete [2022-07-20T07:39:39.636Z] d94ebbe4e438: Pull complete [2022-07-20T07:39:42.175Z] bcfd1f05c69d: Pull complete [2022-07-20T07:39:42.747Z] 59ccb84bbe0f: Pull complete [2022-07-20T07:39:42.747Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-20T07:39:42.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-20T07:39:42.747Z] ---> a4fb48ad2a94 [2022-07-20T07:39:42.747Z] Step 3/13 : ARG MAKE="make build" [2022-07-20T07:39:44.136Z] ---> Running in 36ead0568087 [2022-07-20T07:39:44.397Z] Removing intermediate container 36ead0568087 [2022-07-20T07:39:44.397Z] ---> 9c79b45ab9d7 [2022-07-20T07:39:44.397Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T07:39:44.397Z] ---> Running in 0abee36cb913 [2022-07-20T07:39:44.397Z] Removing intermediate container 0abee36cb913 [2022-07-20T07:39:44.397Z] ---> 05bfbd659b06 [2022-07-20T07:39:44.397Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T07:39:44.397Z] ---> Running in 6cb608a5c738 [2022-07-20T07:39:44.657Z] Removing intermediate container 6cb608a5c738 [2022-07-20T07:39:44.657Z] ---> a3e87525f1ee [2022-07-20T07:39:44.657Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-20T07:39:44.657Z] ---> Running in e0ef986120fb [2022-07-20T07:39:44.657Z] Removing intermediate container e0ef986120fb [2022-07-20T07:39:44.657Z] ---> 69f585eaef72 [2022-07-20T07:39:44.657Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T07:39:44.919Z] ---> Running in 9522eb16294b [2022-07-20T07:39:45.492Z] Removing intermediate container 9522eb16294b [2022-07-20T07:39:45.492Z] ---> 503945477c22 [2022-07-20T07:39:45.492Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T07:39:45.492Z] ---> Running in 549cb7b3e1bb [2022-07-20T07:39:45.754Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T07:39:46.369Z] Still waiting to schedule task [2022-07-20T07:39:46.370Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-20T07:39:46.698Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T07:39:46.958Z] OK: 211 MiB in 51 packages [2022-07-20T07:39:47.531Z] Removing intermediate container 549cb7b3e1bb [2022-07-20T07:39:47.531Z] ---> ec66ae5f75b5 [2022-07-20T07:39:47.531Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-20T07:39:47.531Z] ---> Running in 27310fcdd749 [2022-07-20T07:39:47.531Z] Removing intermediate container 27310fcdd749 [2022-07-20T07:39:47.531Z] ---> 833f5416d2ae [2022-07-20T07:39:47.531Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-20T07:39:47.793Z] ---> 007d2ba55e41 [2022-07-20T07:39:47.793Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T07:39:47.793Z] ---> Running in bc1ea637b632 [2022-07-20T07:40:09.777Z] Removing intermediate container bc1ea637b632 [2022-07-20T07:40:09.777Z] ---> dc38bdedbba7 [2022-07-20T07:40:09.777Z] Step 12/13 : COPY . . [2022-07-20T07:40:09.777Z] ---> 885e195bdb80 [2022-07-20T07:40:09.777Z] Step 13/13 : RUN ${MAKE} [2022-07-20T07:40:09.777Z] ---> Running in 2a5da16873fe [2022-07-20T07:40:09.777Z] noop [2022-07-20T07:40:09.777Z] Removing intermediate container 2a5da16873fe [2022-07-20T07:40:09.777Z] ---> 585d85079752 [2022-07-20T07:40:09.777Z] Successfully built 585d85079752 [2022-07-20T07:40:09.777Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T07:40:10.209Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-20T07:40:10.209Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T07:40:10.361Z] prd-ubuntu20.04-docker-8c-8g-20558 does not seem to be running inside a container [2022-07-20T07:40:10.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-114 -v /w/workspace/undry_device-onvif-camera_PR-114:/w/workspace/undry_device-onvif-camera_PR-114:rw,z -v /w/workspace/undry_device-onvif-camera_PR-114@tmp:/w/workspace/undry_device-onvif-camera_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-20T07:40:10.842Z] $ docker top 7dc872987c837d4e2ada68c6e00fffe11462a3aa238b1da1308c49d39c8db226 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T07:40:11.269Z] + go version [2022-07-20T07:40:11.269Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-20T07:40:11.300Z] $ docker stop --time=1 7dc872987c837d4e2ada68c6e00fffe11462a3aa238b1da1308c49d39c8db226 [2022-07-20T07:40:12.606Z] $ docker rm -f 7dc872987c837d4e2ada68c6e00fffe11462a3aa238b1da1308c49d39c8db226 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T07:40:13.294Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-20T07:40:13.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T07:40:13.448Z] prd-ubuntu20.04-docker-8c-8g-20558 does not seem to be running inside a container [2022-07-20T07:40:13.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-114 -v /w/workspace/undry_device-onvif-camera_PR-114:/w/workspace/undry_device-onvif-camera_PR-114:rw,z -v /w/workspace/undry_device-onvif-camera_PR-114@tmp:/w/workspace/undry_device-onvif-camera_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-20T07:40:13.887Z] $ docker top f7fd5338f34d0ff9ad9140ee469e5702b23cb82091542b881c3e594572b38c53 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T07:40:14.293Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-114 [Pipeline] fileExists [Pipeline] sh [2022-07-20T07:40:14.653Z] + make test [2022-07-20T07:40:14.653Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-20T07:40:14.912Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-20T07:40:24.910Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-20T07:40:25.868Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 7.0% of statements [2022-07-20T07:40:25.868Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-20T07:40:29.167Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.008s coverage: 13.8% of statements [2022-07-20T07:40:35.740Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-20T07:40:39.033Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-20T07:40:39.033Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-20T07:40:39.033Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-20T07:40:39.320Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-20T07:40:39.348Z] $ docker stop --time=1 f7fd5338f34d0ff9ad9140ee469e5702b23cb82091542b881c3e594572b38c53 [2022-07-20T07:40:41.254Z] $ docker rm -f f7fd5338f34d0ff9ad9140ee469e5702b23cb82091542b881c3e594572b38c53 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T07:40:41.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-20T07:40:41.852Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-20T07:40:42.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-20T07:40:42.844Z] + ls -al . [2022-07-20T07:40:42.844Z] total 228 [2022-07-20T07:40:42.844Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 07:40 . [2022-07-20T07:40:42.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 07:39 .. [2022-07-20T07:40:42.844Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 07:40 .git [2022-07-20T07:40:42.844Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 07:39 .github [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 20 07:39 .gitignore [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 20 07:39 .golangci.yml [2022-07-20T07:40:42.844Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 07:39 .semver [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 20 07:39 Attribution.txt [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 20 07:39 CHANGELOG.md [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 20 07:39 Dockerfile [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 07:39 GOVERNANCE.md [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 20 07:39 Jenkinsfile [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 07:39 LICENSE [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 20 07:39 Makefile [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 20 07:39 OWNERS.md [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 20 07:39 README.md [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 07:39 VERSION [2022-07-20T07:40:42.844Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 07:39 bin [2022-07-20T07:40:42.844Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 07:39 cmd [2022-07-20T07:40:42.844Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 20 07:40 coverage.out [2022-07-20T07:40:42.844Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 20 07:39 doc [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 20 07:39 go.mod [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 20 07:39 go.sum [2022-07-20T07:40:42.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 07:39 internal [2022-07-20T07:40:42.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 07:39 snap [2022-07-20T07:40:42.844Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 20 07:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T07:40:43.234Z] + 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=0c165ac810ef2a78f8b8e29427eeb3171a73d136 --label arch=amd64 --label version=0.0.0 . [2022-07-20T07:40:43.235Z] Sending build context to Docker daemon 19.01MB [2022-07-20T07:40:43.235Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-20T07:40:43.235Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-20T07:40:43.235Z] ---> 585d85079752 [2022-07-20T07:40:43.235Z] Step 3/26 : ARG MAKE="make build" [2022-07-20T07:40:43.498Z] ---> Running in 8f7589eab0b4 [2022-07-20T07:40:43.498Z] Removing intermediate container 8f7589eab0b4 [2022-07-20T07:40:43.498Z] ---> d0c184ab124a [2022-07-20T07:40:43.498Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T07:40:43.770Z] ---> Running in 5ccb46431b81 [2022-07-20T07:40:43.770Z] Removing intermediate container 5ccb46431b81 [2022-07-20T07:40:43.770Z] ---> 085ba00b062f [2022-07-20T07:40:43.770Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T07:40:43.770Z] ---> Running in cfac9786e03d [2022-07-20T07:40:43.770Z] Removing intermediate container cfac9786e03d [2022-07-20T07:40:43.770Z] ---> 781606ded5ce [2022-07-20T07:40:43.770Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-20T07:40:44.030Z] ---> Running in 4034a7d122c1 [2022-07-20T07:40:44.030Z] Removing intermediate container 4034a7d122c1 [2022-07-20T07:40:44.030Z] ---> 277b03f5f62f [2022-07-20T07:40:44.030Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T07:40:44.030Z] ---> Running in 320d1b3e1c83 [2022-07-20T07:40:44.599Z] Removing intermediate container 320d1b3e1c83 [2022-07-20T07:40:44.599Z] ---> 25196b1d232a [2022-07-20T07:40:44.599Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T07:40:44.599Z] ---> Running in 9f233ca007fb [2022-07-20T07:40:45.168Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T07:40:45.742Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T07:40:46.002Z] OK: 211 MiB in 51 packages [2022-07-20T07:40:46.571Z] Removing intermediate container 9f233ca007fb [2022-07-20T07:40:46.571Z] ---> 313664ae053f [2022-07-20T07:40:46.571Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-20T07:40:46.571Z] ---> Running in ca6bef1d5be3 [2022-07-20T07:40:46.571Z] Removing intermediate container ca6bef1d5be3 [2022-07-20T07:40:46.571Z] ---> 80b742205de1 [2022-07-20T07:40:46.571Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-20T07:40:46.833Z] ---> 718adffd9dd5 [2022-07-20T07:40:46.833Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T07:40:46.833Z] ---> Running in 8008d1a45589 [2022-07-20T07:40:47.404Z] Removing intermediate container 8008d1a45589 [2022-07-20T07:40:47.404Z] ---> e92e7fd155d8 [2022-07-20T07:40:47.404Z] Step 12/26 : COPY . . [2022-07-20T07:40:48.346Z] ---> 9d6baeb8d179 [2022-07-20T07:40:48.346Z] Step 13/26 : RUN ${MAKE} [2022-07-20T07:40:48.346Z] ---> Running in ab0a21090685 [2022-07-20T07:40:48.346Z] 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-20T07:41:10.301Z] Removing intermediate container ab0a21090685 [2022-07-20T07:41:10.301Z] ---> deda614bc931 [2022-07-20T07:41:10.301Z] Step 14/26 : FROM alpine:3.15 [2022-07-20T07:41:10.872Z] 3.15: Pulling from library/alpine [2022-07-20T07:41:10.872Z] ab6db1bc80d0: Pulling fs layer [2022-07-20T07:41:11.134Z] ab6db1bc80d0: Verifying Checksum [2022-07-20T07:41:11.134Z] ab6db1bc80d0: Download complete [2022-07-20T07:41:11.134Z] ab6db1bc80d0: Pull complete [2022-07-20T07:41:11.134Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-20T07:41:11.134Z] Status: Downloaded newer image for alpine:3.15 [2022-07-20T07:41:11.134Z] ---> 2720e26172a0 [2022-07-20T07:41:11.134Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-20T07:41:11.396Z] ---> Running in ef519547b0a7 [2022-07-20T07:41:11.396Z] Removing intermediate container ef519547b0a7 [2022-07-20T07:41:11.396Z] ---> f6ada10db0f9 [2022-07-20T07:41:11.396Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-20T07:41:11.396Z] ---> Running in 94ad87032e6b [2022-07-20T07:41:11.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-20T07:41:11.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-20T07:41:11.928Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-20T07:41:11.928Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-20T07:41:11.928Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-20T07:41:11.928Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-20T07:41:11.928Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-20T07:41:11.928Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-20T07:41:11.928Z] Executing busybox-1.34.1-r7.trigger [2022-07-20T07:41:11.928Z] OK: 8 MiB in 20 packages [2022-07-20T07:41:12.503Z] Removing intermediate container 94ad87032e6b [2022-07-20T07:41:12.503Z] ---> 43896e56083d [2022-07-20T07:41:12.503Z] Step 17/26 : WORKDIR / [2022-07-20T07:41:12.503Z] ---> Running in 10c5a846cf82 [2022-07-20T07:41:12.503Z] Removing intermediate container 10c5a846cf82 [2022-07-20T07:41:12.503Z] ---> 98021658b17d [2022-07-20T07:41:12.503Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-20T07:41:13.078Z] ---> f161aa13da5e [2022-07-20T07:41:13.078Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-20T07:41:13.345Z] ---> 626c5a62d3ed [2022-07-20T07:41:13.345Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-20T07:41:13.345Z] ---> 9c2b2d9f574f [2022-07-20T07:41:13.345Z] Step 21/26 : EXPOSE 59984 [2022-07-20T07:41:13.345Z] ---> Running in 7807d598b847 [2022-07-20T07:41:13.612Z] Removing intermediate container 7807d598b847 [2022-07-20T07:41:13.612Z] ---> dd572964851b [2022-07-20T07:41:13.612Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-20T07:41:13.612Z] ---> Running in 943f47484e07 [2022-07-20T07:41:13.612Z] Removing intermediate container 943f47484e07 [2022-07-20T07:41:13.612Z] ---> 9d6efbd69073 [2022-07-20T07:41:13.612Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-20T07:41:13.612Z] ---> Running in 9917a55d640a [2022-07-20T07:41:13.875Z] Removing intermediate container 9917a55d640a [2022-07-20T07:41:13.875Z] ---> 98be7e5ade1b [2022-07-20T07:41:13.875Z] Step 24/26 : LABEL arch=amd64 [2022-07-20T07:41:13.875Z] ---> Running in 5ac37c35c6c5 [2022-07-20T07:41:13.875Z] Removing intermediate container 5ac37c35c6c5 [2022-07-20T07:41:13.875Z] ---> 9e5d58b8cc5a [2022-07-20T07:41:13.875Z] Step 25/26 : LABEL git_sha=0c165ac810ef2a78f8b8e29427eeb3171a73d136 [2022-07-20T07:41:13.875Z] ---> Running in 368689beef8c [2022-07-20T07:41:14.135Z] Removing intermediate container 368689beef8c [2022-07-20T07:41:14.135Z] ---> bee0a7946d3e [2022-07-20T07:41:14.135Z] Step 26/26 : LABEL version=0.0.0 [2022-07-20T07:41:14.135Z] ---> Running in 1f72d72abd97 [2022-07-20T07:41:14.135Z] Removing intermediate container 1f72d72abd97 [2022-07-20T07:41:14.135Z] ---> edc54260dd81 [2022-07-20T07:41:14.135Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-20T07:41:14.135Z] Successfully built edc54260dd81 [2022-07-20T07:41:14.135Z] 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-20T07:41:14.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T07:41:14.977Z] [2022-07-20T07:41:14.977Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T07:41:15.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T07:41:15.363Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-20T07:41:15.363Z] 5eb5b503b376: Pulling fs layer [2022-07-20T07:41:15.363Z] 5c69ac0246d0: Pulling fs layer [2022-07-20T07:41:15.363Z] ec43610c2a17: Pulling fs layer [2022-07-20T07:41:15.363Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-20T07:41:15.363Z] 33b1e0a273af: Pulling fs layer [2022-07-20T07:41:15.363Z] 5d3b04190fa2: Pulling fs layer [2022-07-20T07:41:15.363Z] 2f39f015ded8: Pulling fs layer [2022-07-20T07:41:15.363Z] 33b1e0a273af: Waiting [2022-07-20T07:41:15.363Z] 5d3b04190fa2: Waiting [2022-07-20T07:41:15.363Z] 2f39f015ded8: Waiting [2022-07-20T07:41:15.363Z] 3a2ae6a8a46f: Waiting [2022-07-20T07:41:15.363Z] 5c69ac0246d0: Download complete [2022-07-20T07:41:15.363Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-20T07:41:15.363Z] 3a2ae6a8a46f: Download complete [2022-07-20T07:41:15.363Z] 33b1e0a273af: Verifying Checksum [2022-07-20T07:41:15.363Z] 33b1e0a273af: Download complete [2022-07-20T07:41:15.622Z] 5d3b04190fa2: Verifying Checksum [2022-07-20T07:41:15.622Z] 5d3b04190fa2: Download complete [2022-07-20T07:41:15.622Z] ec43610c2a17: Verifying Checksum [2022-07-20T07:41:15.622Z] ec43610c2a17: Download complete [2022-07-20T07:41:15.622Z] 5eb5b503b376: Verifying Checksum [2022-07-20T07:41:15.623Z] 5eb5b503b376: Download complete [2022-07-20T07:41:16.189Z] 2f39f015ded8: Verifying Checksum [2022-07-20T07:41:16.189Z] 2f39f015ded8: Download complete [2022-07-20T07:41:17.127Z] 5eb5b503b376: Pull complete [2022-07-20T07:41:17.127Z] 5c69ac0246d0: Pull complete [2022-07-20T07:41:17.389Z] ec43610c2a17: Pull complete [2022-07-20T07:41:17.389Z] 3a2ae6a8a46f: Pull complete [2022-07-20T07:41:17.656Z] 33b1e0a273af: Pull complete [2022-07-20T07:41:17.656Z] 5d3b04190fa2: Pull complete [2022-07-20T07:41:21.866Z] 2f39f015ded8: Pull complete [2022-07-20T07:41:21.866Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-20T07:41:21.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T07:41:21.866Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T07:41:22.097Z] prd-ubuntu20.04-docker-8c-8g-20558 does not seem to be running inside a container [2022-07-20T07:41:22.128Z] $ 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-114 -v /w/workspace/undry_device-onvif-camera_PR-114:/w/workspace/undry_device-onvif-camera_PR-114:rw,z -v /w/workspace/undry_device-onvif-camera_PR-114@tmp:/w/workspace/undry_device-onvif-camera_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-20T07:41:23.864Z] $ docker top 586fb09e6fec2db3dd20f96a13e0423281b5253d68623c8ada2b250952c72230 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T07:41:24.405Z] ---> job-cost.sh [2022-07-20T07:41:24.405Z] lf-activate-venv: SKIPPING [2022-07-20T07:41:24.405Z] INFO: No Stack... [2022-07-20T07:41:25.041Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-20T07:41:25.645Z] INFO: Archiving Costs [Pipeline] sh [2022-07-20T07:41:25.959Z] + + cat /w/workspace/undry_device-onvif-camera_PR-114/archives/cost.csvcut [2022-07-20T07:41:25.959Z] -d, -f6 [Pipeline] lock [2022-07-20T07:41:25.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-114-1-stack-cost] [2022-07-20T07:41:26.004Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-114-1-stack-cost] did not exist. Created. [2022-07-20T07:41:26.004Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-114-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-20T07:41:26.384Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-20T07:41:26.430Z] Stashed 1 file(s) [Pipeline] } [2022-07-20T07:41:26.458Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-114-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-20T07:41:26.538Z] $ docker stop --time=1 586fb09e6fec2db3dd20f96a13e0423281b5253d68623c8ada2b250952c72230 [2022-07-20T07:41:27.705Z] $ docker rm -f 586fb09e6fec2db3dd20f96a13e0423281b5253d68623c8ada2b250952c72230 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-20T07:41:29.509Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20559 in /w/workspace/undry_device-onvif-camera_PR-114 [Pipeline] { [Pipeline] ws [2022-07-20T07:41:29.553Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-07-20T07:41:29.645Z] Selected Git installation does not exist. Using Default [2022-07-20T07:41:29.645Z] The recommended git tool is: NONE [2022-07-20T07:41:36.320Z] using credential edgex-jenkins-ssh [2022-07-20T07:41:36.347Z] Cloning the remote Git repository [2022-07-20T07:41:36.405Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-20T07:41:36.484Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-07-20T07:41:36.558Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-20T07:41:36.558Z] > git --version # timeout=10 [2022-07-20T07:41:36.576Z] > git --version # 'git version 2.25.1' [2022-07-20T07:41:36.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T07:41:36.670Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-20T07:41:38.397Z] Merging remotes/origin/main commit a761beb27065a69935e8288e1ea85e5d9ee20b97 into PR head commit 0c165ac810ef2a78f8b8e29427eeb3171a73d136 [2022-07-20T07:41:37.748Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-20T07:41:37.773Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-20T07:41:37.821Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-20T07:41:37.884Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-20T07:41:37.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T07:41:37.902Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-20T07:41:38.419Z] > git config core.sparsecheckout # timeout=10 [2022-07-20T07:41:38.435Z] > git checkout -f 0c165ac810ef2a78f8b8e29427eeb3171a73d136 # timeout=10 [2022-07-20T07:41:38.730Z] Merge succeeded, producing 0c165ac810ef2a78f8b8e29427eeb3171a73d136 [2022-07-20T07:41:38.730Z] Checking out Revision 0c165ac810ef2a78f8b8e29427eeb3171a73d136 (PR-114) [2022-07-20T07:41:38.635Z] > git remote # timeout=10 [2022-07-20T07:41:38.651Z] > git config --get remote.origin.url # timeout=10 [2022-07-20T07:41:38.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T07:41:38.690Z] > git merge a761beb27065a69935e8288e1ea85e5d9ee20b97 # timeout=10 [2022-07-20T07:41:38.716Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-20T07:41:38.739Z] > git config core.sparsecheckout # timeout=10 [2022-07-20T07:41:38.758Z] > git checkout -f 0c165ac810ef2a78f8b8e29427eeb3171a73d136 # timeout=10 [2022-07-20T07:41:43.103Z] Commit message: "feat(snap): Add option to autostart app" [2022-07-20T07:41:43.163Z] > git --version # timeout=10 [2022-07-20T07:41:43.173Z] > git --version # 'git version 2.25.1' [2022-07-20T07:41:43.188Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T07:41:44.312Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-20T07:41:44.312Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-20T07:41:44.312Z] Dload Upload Total Spent Left Speed [2022-07-20T07:41:44.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 71697 0 --:--:-- --:--:-- --:--:-- 71697 [Pipeline] sh [2022-07-20T07:41:45.056Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-20T07:41:45.453Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-07-20T07:41:45.453Z] sudo tee /etc/docker/daemon.new [2022-07-20T07:41:45.453Z] { [2022-07-20T07:41:45.453Z] "registry-mirrors": [ [2022-07-20T07:41:45.453Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-20T07:41:45.453Z] ], [2022-07-20T07:41:45.453Z] "bip": "10.250.0.254/24", [2022-07-20T07:41:45.453Z] "hosts": [ [2022-07-20T07:41:45.453Z] "tcp://0.0.0.0:5555", [2022-07-20T07:41:45.453Z] "unix:///var/run/docker.sock" [2022-07-20T07:41:45.453Z] ], [2022-07-20T07:41:45.453Z] "mtu": 1458, [2022-07-20T07:41:45.453Z] "selinux-enabled": true, [2022-07-20T07:41:45.453Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-20T07:41:45.453Z] } [Pipeline] sh [2022-07-20T07:41:45.837Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-20T07:41:46.193Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T07:42:04.783Z] provisioning config files... [2022-07-20T07:42:04.808Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1242310296394352474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T07:42:05.212Z] ---> docker-login.sh [2022-07-20T07:42:05.212Z] nexus3.edgexfoundry.org:10001 [2022-07-20T07:42:05.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:42:06.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:42:06.088Z] Configure a credential helper to remove this warning. See [2022-07-20T07:42:06.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:42:06.088Z] [2022-07-20T07:42:06.088Z] Login Succeeded [2022-07-20T07:42:06.088Z] nexus3.edgexfoundry.org:10002 [2022-07-20T07:42:06.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:42:06.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:42:06.361Z] Configure a credential helper to remove this warning. See [2022-07-20T07:42:06.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:42:06.361Z] [2022-07-20T07:42:06.361Z] Login Succeeded [2022-07-20T07:42:06.361Z] nexus3.edgexfoundry.org:10003 [2022-07-20T07:42:06.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:42:06.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:42:06.963Z] Configure a credential helper to remove this warning. See [2022-07-20T07:42:06.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:42:06.963Z] [2022-07-20T07:42:06.963Z] Login Succeeded [2022-07-20T07:42:06.963Z] nexus3.edgexfoundry.org:10004 [2022-07-20T07:42:07.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:42:07.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:42:07.510Z] Configure a credential helper to remove this warning. See [2022-07-20T07:42:07.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:42:07.510Z] [2022-07-20T07:42:07.510Z] Login Succeeded [2022-07-20T07:42:07.510Z] docker.io [2022-07-20T07:42:07.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T07:42:08.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T07:42:08.056Z] Configure a credential helper to remove this warning. See [2022-07-20T07:42:08.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T07:42:08.056Z] [2022-07-20T07:42:08.056Z] Login Succeeded [2022-07-20T07:42:08.056Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T07:42:08.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-20T07:42:08.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T07:42:08.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T07:42:08.547Z] ========================================================= [2022-07-20T07:42:08.547Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-20T07:42:08.547Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T07:42:09.058Z] + 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-20T07:42:09.664Z] Sending build context to Docker daemon 12.9MB [2022-07-20T07:42:09.664Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-20T07:42:09.664Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-20T07:42:09.664Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-20T07:42:09.664Z] b3c136eddcbf: Pulling fs layer [2022-07-20T07:42:09.664Z] c0a3192eca97: Pulling fs layer [2022-07-20T07:42:09.664Z] a050256f5b6f: Pulling fs layer [2022-07-20T07:42:09.664Z] 656be50a0ddc: Pulling fs layer [2022-07-20T07:42:09.664Z] 2bbca73fdf42: Pulling fs layer [2022-07-20T07:42:09.664Z] 46d945488cbd: Pulling fs layer [2022-07-20T07:42:09.664Z] 8a5474983e97: Pulling fs layer [2022-07-20T07:42:09.665Z] 329c88fbcd65: Pulling fs layer [2022-07-20T07:42:09.665Z] 8a5474983e97: Waiting [2022-07-20T07:42:09.665Z] 656be50a0ddc: Waiting [2022-07-20T07:42:09.665Z] 329c88fbcd65: Waiting [2022-07-20T07:42:09.665Z] 2bbca73fdf42: Waiting [2022-07-20T07:42:09.665Z] 46d945488cbd: Waiting [2022-07-20T07:42:09.944Z] a050256f5b6f: Verifying Checksum [2022-07-20T07:42:09.944Z] a050256f5b6f: Download complete [2022-07-20T07:42:09.944Z] c0a3192eca97: Verifying Checksum [2022-07-20T07:42:09.944Z] c0a3192eca97: Download complete [2022-07-20T07:42:09.944Z] 2bbca73fdf42: Download complete [2022-07-20T07:42:09.944Z] 46d945488cbd: Download complete [2022-07-20T07:42:09.944Z] b3c136eddcbf: Verifying Checksum [2022-07-20T07:42:09.944Z] b3c136eddcbf: Download complete [2022-07-20T07:42:10.938Z] b3c136eddcbf: Pull complete [2022-07-20T07:42:10.938Z] 329c88fbcd65: Verifying Checksum [2022-07-20T07:42:10.938Z] 329c88fbcd65: Download complete [2022-07-20T07:42:11.543Z] c0a3192eca97: Pull complete [2022-07-20T07:42:11.821Z] a050256f5b6f: Pull complete [2022-07-20T07:42:12.095Z] 8a5474983e97: Verifying Checksum [2022-07-20T07:42:12.095Z] 8a5474983e97: Download complete [2022-07-20T07:42:12.693Z] 656be50a0ddc: Verifying Checksum [2022-07-20T07:42:12.693Z] 656be50a0ddc: Download complete [2022-07-20T07:42:25.136Z] 656be50a0ddc: Pull complete [2022-07-20T07:42:25.410Z] 2bbca73fdf42: Pull complete [2022-07-20T07:42:26.010Z] 46d945488cbd: Pull complete [2022-07-20T07:42:32.737Z] 8a5474983e97: Pull complete [2022-07-20T07:42:34.173Z] 329c88fbcd65: Pull complete [2022-07-20T07:42:34.173Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-20T07:42:34.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-20T07:42:34.174Z] ---> ff4287adb874 [2022-07-20T07:42:34.174Z] Step 3/13 : ARG MAKE="make build" [2022-07-20T07:42:36.155Z] ---> Running in db528b5a3fc7 [2022-07-20T07:42:36.155Z] Removing intermediate container db528b5a3fc7 [2022-07-20T07:42:36.155Z] ---> 6d14d171f351 [2022-07-20T07:42:36.155Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T07:42:36.155Z] ---> Running in 6fccf92c4c71 [2022-07-20T07:42:36.773Z] Removing intermediate container 6fccf92c4c71 [2022-07-20T07:42:36.773Z] ---> c9956bbc6dd7 [2022-07-20T07:42:36.773Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T07:42:36.773Z] ---> Running in 4b2abcc63375 [2022-07-20T07:42:38.224Z] Removing intermediate container 4b2abcc63375 [2022-07-20T07:42:38.224Z] ---> 02e5ebadfd47 [2022-07-20T07:42:38.224Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-20T07:42:38.224Z] ---> Running in bc468bc22835 [2022-07-20T07:42:38.224Z] Removing intermediate container bc468bc22835 [2022-07-20T07:42:38.224Z] ---> 81f73251d22a [2022-07-20T07:42:38.224Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T07:42:38.224Z] ---> Running in 452923e2df30 [2022-07-20T07:42:40.208Z] Removing intermediate container 452923e2df30 [2022-07-20T07:42:40.208Z] ---> c4bd4da19111 [2022-07-20T07:42:40.208Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T07:42:40.208Z] ---> Running in cd49b62a3c48 [2022-07-20T07:42:41.209Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T07:42:42.191Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T07:42:42.784Z] OK: 221 MiB in 51 packages [2022-07-20T07:42:43.781Z] Removing intermediate container cd49b62a3c48 [2022-07-20T07:42:43.781Z] ---> 31f76950ad55 [2022-07-20T07:42:43.781Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-20T07:42:43.781Z] ---> Running in bffabee05863 [2022-07-20T07:42:44.055Z] Removing intermediate container bffabee05863 [2022-07-20T07:42:44.055Z] ---> af479110c65e [2022-07-20T07:42:44.055Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-20T07:42:44.653Z] ---> de15948a1c49 [2022-07-20T07:42:44.653Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T07:42:44.653Z] ---> Running in 06621ff1563c [2022-07-20T07:43:31.678Z] Removing intermediate container 06621ff1563c [2022-07-20T07:43:31.678Z] ---> e41c9863b683 [2022-07-20T07:43:31.678Z] Step 12/13 : COPY . . [2022-07-20T07:43:31.678Z] ---> 91441ad107a6 [2022-07-20T07:43:31.678Z] Step 13/13 : RUN ${MAKE} [2022-07-20T07:43:31.678Z] ---> Running in 1e34b87d6e85 [2022-07-20T07:43:31.678Z] noop [2022-07-20T07:43:31.678Z] Removing intermediate container 1e34b87d6e85 [2022-07-20T07:43:31.678Z] ---> bda7b056fb67 [2022-07-20T07:43:31.678Z] Successfully built bda7b056fb67 [2022-07-20T07:43:31.678Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T07:43:32.159Z] + docker inspect -f . ci-base-image-arm64 [2022-07-20T07:43:32.159Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T07:43:32.474Z] prd-ubuntu20.04-docker-arm64-4c-16g-20559 does not seem to be running inside a container [2022-07-20T07:43:32.558Z] $ 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-20T07:43:33.833Z] $ docker top 1b1b35565702c4bdb85e3c993b68f06743579f0bcf362a5c18760c1aac617006 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T07:43:34.767Z] + go version [2022-07-20T07:43:34.767Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-20T07:43:34.809Z] $ docker stop --time=1 1b1b35565702c4bdb85e3c993b68f06743579f0bcf362a5c18760c1aac617006 [2022-07-20T07:43:36.429Z] $ docker rm -f 1b1b35565702c4bdb85e3c993b68f06743579f0bcf362a5c18760c1aac617006 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T07:43:37.312Z] + docker inspect -f . ci-base-image-arm64 [2022-07-20T07:43:37.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T07:43:37.612Z] prd-ubuntu20.04-docker-arm64-4c-16g-20559 does not seem to be running inside a container [2022-07-20T07:43:37.697Z] $ 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-20T07:43:38.946Z] $ docker top aeb854e113e8c1046080b415778925d45aa9201958b15656aba8079b95a31b9f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T07:43:39.884Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-07-20T07:43:40.602Z] + make test [2022-07-20T07:43:40.602Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-20T07:43:42.041Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-20T07:45:03.928Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-20T07:45:09.386Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.088s coverage: 7.0% of statements [2022-07-20T07:45:09.386Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-20T07:45:41.784Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 33.472s coverage: 13.8% of statements [2022-07-20T07:45:41.784Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-20T07:45:41.784Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-20T07:46:00.134Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-20T07:46:00.134Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-20T07:46:00.134Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-20T07:46:00.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-20T07:46:00.803Z] $ docker stop --time=1 aeb854e113e8c1046080b415778925d45aa9201958b15656aba8079b95a31b9f [2022-07-20T07:46:02.536Z] $ docker rm -f aeb854e113e8c1046080b415778925d45aa9201958b15656aba8079b95a31b9f [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T07:46:03.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-20T07:46:03.586Z] Warning: overwriting stash ‘coverage-report’ [2022-07-20T07:46:04.104Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T07:46:04.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-20T07:46:05.057Z] + ls -al . [2022-07-20T07:46:05.057Z] total 224 [2022-07-20T07:46:05.057Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 07:46 . [2022-07-20T07:46:05.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 07:41 .. [2022-07-20T07:46:05.057Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 07:41 .git [2022-07-20T07:46:05.057Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 07:41 .github [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 20 07:41 .gitignore [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 20 07:41 .golangci.yml [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 20 07:41 Attribution.txt [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 20 07:41 CHANGELOG.md [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 20 07:41 Dockerfile [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 07:41 GOVERNANCE.md [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 20 07:41 Jenkinsfile [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 07:41 LICENSE [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 20 07:41 Makefile [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 20 07:41 OWNERS.md [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 20 07:41 README.md [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 07:39 VERSION [2022-07-20T07:46:05.057Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 07:41 bin [2022-07-20T07:46:05.057Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 07:41 cmd [2022-07-20T07:46:05.057Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 20 07:45 coverage.out [2022-07-20T07:46:05.057Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 20 07:41 doc [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 20 07:41 go.mod [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 20 07:41 go.sum [2022-07-20T07:46:05.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 07:41 internal [2022-07-20T07:46:05.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 07:41 snap [2022-07-20T07:46:05.057Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 20 07:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T07:46:05.486Z] + 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=0c165ac810ef2a78f8b8e29427eeb3171a73d136 --label arch=arm64 --label version=0.0.0 . [2022-07-20T07:46:06.089Z] Sending build context to Docker daemon 12.97MB [2022-07-20T07:46:06.089Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-20T07:46:06.089Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-20T07:46:06.089Z] ---> bda7b056fb67 [2022-07-20T07:46:06.089Z] Step 3/26 : ARG MAKE="make build" [2022-07-20T07:46:06.089Z] ---> Running in 71de66d60c33 [2022-07-20T07:46:06.361Z] Removing intermediate container 71de66d60c33 [2022-07-20T07:46:06.361Z] ---> 3d727c5c5c0d [2022-07-20T07:46:06.361Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T07:46:06.651Z] ---> Running in 2dd9ab6bb289 [2022-07-20T07:46:06.923Z] Removing intermediate container 2dd9ab6bb289 [2022-07-20T07:46:06.923Z] ---> 915609ccb8bf [2022-07-20T07:46:06.923Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T07:46:06.923Z] ---> Running in 9be2af230e80 [2022-07-20T07:46:07.196Z] Removing intermediate container 9be2af230e80 [2022-07-20T07:46:07.196Z] ---> 0246eb562ea8 [2022-07-20T07:46:07.196Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-20T07:46:07.196Z] ---> Running in dc0f0a8c6b5e [2022-07-20T07:46:07.502Z] Removing intermediate container dc0f0a8c6b5e [2022-07-20T07:46:07.502Z] ---> 60c46881ac43 [2022-07-20T07:46:07.502Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T07:46:07.502Z] ---> Running in 9eeb55450048 [2022-07-20T07:46:09.499Z] Removing intermediate container 9eeb55450048 [2022-07-20T07:46:09.499Z] ---> 889a7649daf3 [2022-07-20T07:46:09.499Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T07:46:09.499Z] ---> Running in 8f3c4fe1b5eb [2022-07-20T07:46:10.479Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T07:46:11.076Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T07:46:12.057Z] OK: 221 MiB in 51 packages [2022-07-20T07:46:13.039Z] Removing intermediate container 8f3c4fe1b5eb [2022-07-20T07:46:13.039Z] ---> c1ee4d86702d [2022-07-20T07:46:13.039Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-20T07:46:13.039Z] ---> Running in f8044b06a3dd [2022-07-20T07:46:13.319Z] Removing intermediate container f8044b06a3dd [2022-07-20T07:46:13.319Z] ---> 515e860672d4 [2022-07-20T07:46:13.319Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-20T07:46:13.929Z] ---> e0aa9a6420e3 [2022-07-20T07:46:13.929Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T07:46:13.929Z] ---> Running in 311fd65cf8b9 [2022-07-20T07:46:15.918Z] Removing intermediate container 311fd65cf8b9 [2022-07-20T07:46:15.918Z] ---> 16d179cd754f [2022-07-20T07:46:15.918Z] Step 12/26 : COPY . . [2022-07-20T07:46:16.902Z] ---> 537fc2c48988 [2022-07-20T07:46:16.902Z] Step 13/26 : RUN ${MAKE} [2022-07-20T07:46:16.902Z] ---> Running in bc910c6548d2 [2022-07-20T07:46:17.886Z] 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-20T07:48:24.788Z] Removing intermediate container bc910c6548d2 [2022-07-20T07:48:24.788Z] ---> ba7194e3092a [2022-07-20T07:48:24.788Z] Step 14/26 : FROM alpine:3.15 [2022-07-20T07:48:24.788Z] 3.15: Pulling from library/alpine [2022-07-20T07:48:24.788Z] e0295fd11fe2: Pulling fs layer [2022-07-20T07:48:24.788Z] e0295fd11fe2: Verifying Checksum [2022-07-20T07:48:24.788Z] e0295fd11fe2: Download complete [2022-07-20T07:48:24.788Z] e0295fd11fe2: Pull complete [2022-07-20T07:48:24.788Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-20T07:48:24.788Z] Status: Downloaded newer image for alpine:3.15 [2022-07-20T07:48:24.788Z] ---> 60f2846fe774 [2022-07-20T07:48:24.788Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-20T07:48:24.788Z] ---> Running in f74c7ff1a65b [2022-07-20T07:48:24.788Z] Removing intermediate container f74c7ff1a65b [2022-07-20T07:48:24.788Z] ---> b49623db9a29 [2022-07-20T07:48:24.789Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-20T07:48:24.789Z] ---> Running in 2228e2004a84 [2022-07-20T07:48:25.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-20T07:48:26.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-20T07:48:27.032Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-20T07:48:27.032Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-20T07:48:27.032Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-20T07:48:27.032Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-20T07:48:27.032Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-20T07:48:27.032Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-20T07:48:27.032Z] Executing busybox-1.34.1-r7.trigger [2022-07-20T07:48:27.032Z] OK: 8 MiB in 20 packages [2022-07-20T07:48:28.029Z] Removing intermediate container 2228e2004a84 [2022-07-20T07:48:28.029Z] ---> 144139025857 [2022-07-20T07:48:28.029Z] Step 17/26 : WORKDIR / [2022-07-20T07:48:28.029Z] ---> Running in 89c3c22806f4 [2022-07-20T07:48:28.306Z] Removing intermediate container 89c3c22806f4 [2022-07-20T07:48:28.306Z] ---> cfb517ec1c86 [2022-07-20T07:48:28.306Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-20T07:48:29.744Z] ---> 7bb097cf28fe [2022-07-20T07:48:29.744Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-20T07:48:30.346Z] ---> 25978793f559 [2022-07-20T07:48:30.346Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-20T07:48:30.622Z] ---> d0a7d694cd73 [2022-07-20T07:48:30.622Z] Step 21/26 : EXPOSE 59984 [2022-07-20T07:48:30.908Z] ---> Running in 83cdb62b2bee [2022-07-20T07:48:31.184Z] Removing intermediate container 83cdb62b2bee [2022-07-20T07:48:31.184Z] ---> 1ca6083cc19d [2022-07-20T07:48:31.184Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-20T07:48:31.184Z] ---> Running in 987196326e14 [2022-07-20T07:48:31.460Z] Removing intermediate container 987196326e14 [2022-07-20T07:48:31.460Z] ---> 4f2118765590 [2022-07-20T07:48:31.460Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-20T07:48:31.460Z] ---> Running in b2d12fed6755 [2022-07-20T07:48:31.738Z] Removing intermediate container b2d12fed6755 [2022-07-20T07:48:31.738Z] ---> 50c9a61ff554 [2022-07-20T07:48:31.738Z] Step 24/26 : LABEL arch=arm64 [2022-07-20T07:48:31.738Z] ---> Running in 988477719c91 [2022-07-20T07:48:32.340Z] Removing intermediate container 988477719c91 [2022-07-20T07:48:32.340Z] ---> 9fd3748fe917 [2022-07-20T07:48:32.340Z] Step 25/26 : LABEL git_sha=0c165ac810ef2a78f8b8e29427eeb3171a73d136 [2022-07-20T07:48:32.340Z] ---> Running in a83ad8283e5b [2022-07-20T07:48:32.615Z] Removing intermediate container a83ad8283e5b [2022-07-20T07:48:32.615Z] ---> 16a84dbd0912 [2022-07-20T07:48:32.615Z] Step 26/26 : LABEL version=0.0.0 [2022-07-20T07:48:32.615Z] ---> Running in 26107b1c369f [2022-07-20T07:48:32.890Z] Removing intermediate container 26107b1c369f [2022-07-20T07:48:32.890Z] ---> 91167f872b4f [2022-07-20T07:48:32.890Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-20T07:48:32.890Z] Successfully built 91167f872b4f [2022-07-20T07:48:32.890Z] 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-20T07:48:33.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T07:48:33.696Z] [2022-07-20T07:48:33.696Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T07:48:34.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T07:48:34.398Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-20T07:48:34.398Z] 8998bd30e6a1: Pulling fs layer [2022-07-20T07:48:34.398Z] 04944245beec: Pulling fs layer [2022-07-20T07:48:34.398Z] 699f458cf7ca: Pulling fs layer [2022-07-20T07:48:34.398Z] 765212b225bb: Pulling fs layer [2022-07-20T07:48:34.398Z] f23df028b6ca: Pulling fs layer [2022-07-20T07:48:34.398Z] d65c8cfc05b1: Pulling fs layer [2022-07-20T07:48:34.398Z] 2437ff75d9bd: Pulling fs layer [2022-07-20T07:48:34.398Z] 765212b225bb: Waiting [2022-07-20T07:48:34.398Z] d65c8cfc05b1: Waiting [2022-07-20T07:48:34.398Z] 2437ff75d9bd: Waiting [2022-07-20T07:48:34.398Z] f23df028b6ca: Waiting [2022-07-20T07:48:34.398Z] 04944245beec: Verifying Checksum [2022-07-20T07:48:34.398Z] 04944245beec: Download complete [2022-07-20T07:48:34.398Z] 765212b225bb: Download complete [2022-07-20T07:48:34.398Z] f23df028b6ca: Verifying Checksum [2022-07-20T07:48:34.398Z] f23df028b6ca: Download complete [2022-07-20T07:48:34.398Z] d65c8cfc05b1: Download complete [2022-07-20T07:48:34.678Z] 699f458cf7ca: Verifying Checksum [2022-07-20T07:48:34.678Z] 699f458cf7ca: Download complete [2022-07-20T07:48:34.955Z] 8998bd30e6a1: Verifying Checksum [2022-07-20T07:48:34.955Z] 8998bd30e6a1: Download complete [2022-07-20T07:48:37.588Z] 2437ff75d9bd: Verifying Checksum [2022-07-20T07:48:37.588Z] 2437ff75d9bd: Download complete [2022-07-20T07:48:39.572Z] 8998bd30e6a1: Pull complete [2022-07-20T07:48:39.846Z] 04944245beec: Pull complete [2022-07-20T07:48:41.294Z] 699f458cf7ca: Pull complete [2022-07-20T07:48:41.294Z] 765212b225bb: Pull complete [2022-07-20T07:48:42.293Z] f23df028b6ca: Pull complete [2022-07-20T07:48:42.569Z] d65c8cfc05b1: Pull complete [2022-07-20T07:48:57.661Z] 2437ff75d9bd: Pull complete [2022-07-20T07:48:57.661Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-20T07:48:57.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T07:48:57.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T07:48:58.063Z] prd-ubuntu20.04-docker-arm64-4c-16g-20559 does not seem to be running inside a container [2022-07-20T07:48:58.158Z] $ 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-20T07:49:00.774Z] $ docker top 2d500a38a63fb1d5276807794ee4a9683e537531935590e7e9e13890aec88309 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T07:49:01.771Z] ---> job-cost.sh [2022-07-20T07:49:01.771Z] lf-activate-venv: SKIPPING [2022-07-20T07:49:01.771Z] INFO: No Stack... [2022-07-20T07:49:02.045Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-20T07:49:03.025Z] INFO: Archiving Costs [Pipeline] sh [2022-07-20T07:49:03.713Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-07-20T07:49:03.713Z] + cut -d, -f6 [Pipeline] lock [2022-07-20T07:49:03.796Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-114-1-stack-cost] [2022-07-20T07:49:03.801Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-114-1-stack-cost] did not exist. Created. [2022-07-20T07:49:03.801Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-114-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-20T07:49:04.551Z] /w/workspace/device-onvif-camera/1@tmp/durable-6993dff7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-20T07:49:05.247Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-20T07:49:05.282Z] Warning: overwriting stash ‘stack-cost’ [2022-07-20T07:49:05.338Z] Stashed 1 file(s) [Pipeline] } [2022-07-20T07:49:05.359Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-114-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-20T07:49:05.455Z] $ docker stop --time=1 2d500a38a63fb1d5276807794ee4a9683e537531935590e7e9e13890aec88309 [2022-07-20T07:49:06.939Z] $ docker rm -f 2d500a38a63fb1d5276807794ee4a9683e537531935590e7e9e13890aec88309 [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-20T07:49:08.014Z] provisioning config files... [2022-07-20T07:49:08.023Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-114@tmp/config7023996802795519080tmp [Pipeline] { [Pipeline] sh [2022-07-20T07:49:08.362Z] + set +x [2022-07-20T07:49:08.362Z] + curl -s https://codecov.io/bash [2022-07-20T07:49:08.362Z] + bash -s -- [2022-07-20T07:49:08.362Z] [2022-07-20T07:49:08.362Z] _____ _ [2022-07-20T07:49:08.362Z] / ____| | | [2022-07-20T07:49:08.362Z] | | ___ __| | ___ ___ _____ __ [2022-07-20T07:49:08.362Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-20T07:49:08.362Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-20T07:49:08.362Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-20T07:49:08.362Z] Bash-1.0.6 [2022-07-20T07:49:08.362Z] [2022-07-20T07:49:08.362Z] [2022-07-20T07:49:08.362Z] ==> git version 2.25.1 found [2022-07-20T07:49:08.362Z] ==> 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-20T07:49:08.362Z] Release-Date: 2020-01-08 [2022-07-20T07:49:08.362Z] 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-20T07:49:08.362Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-20T07:49:08.362Z] ==> Jenkins CI detected. [2022-07-20T07:49:08.362Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-114 [2022-07-20T07:49:08.362Z] project root: . [2022-07-20T07:49:08.362Z] --> token set from env [2022-07-20T07:49:08.362Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-20T07:49:08.362Z] ==> Running gcov in . (disable via -X gcov) [2022-07-20T07:49:08.362Z] ==> Python coveragepy not found [2022-07-20T07:49:08.362Z] ==> Searching for coverage reports in: [2022-07-20T07:49:08.362Z] + . [2022-07-20T07:49:08.362Z] -> Found 1 reports [2022-07-20T07:49:08.362Z] ==> Detecting git/mercurial file structure [2022-07-20T07:49:08.362Z] ==> Reading reports [2022-07-20T07:49:08.622Z] + ./coverage.out bytes=70262 [2022-07-20T07:49:08.622Z] ==> Appending adjustments [2022-07-20T07:49:08.622Z] https://docs.codecov.io/docs/fixing-reports [2022-07-20T07:49:08.622Z] + Found adjustments [2022-07-20T07:49:08.622Z] ==> Gzipping contents [2022-07-20T07:49:08.622Z] 12K /tmp/codecov.cWogqm.gz [2022-07-20T07:49:08.622Z] ==> Uploading reports [2022-07-20T07:49:08.622Z] url: https://codecov.io [2022-07-20T07:49:08.622Z] query: branch=PR-114&commit=0c165ac810ef2a78f8b8e29427eeb3171a73d136&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=114&job=&cmd_args= [2022-07-20T07:49:08.622Z] -> Pinging Codecov [2022-07-20T07:49:08.622Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-114&commit=0c165ac810ef2a78f8b8e29427eeb3171a73d136&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=114&job=&cmd_args= [2022-07-20T07:49:08.882Z] -> Uploading to [2022-07-20T07:49:08.882Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-20/F29A59C45E3A92E06B3E522C9905F8EF/0c165ac810ef2a78f8b8e29427eeb3171a73d136/6e556072-ed09-457e-a8d0-b542161bdbf4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220720T074908Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cb912dc7d27be7849c3e4bbfe7d2fa5bd474f85b275c00817ba9cd40c52ce192 [2022-07-20T07:49:08.882Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-20T07:49:08.882Z] Dload Upload Total Spent Left Speed [2022-07-20T07:49:09.142Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9528 0 0 100 9528 0 42918 --:--:-- --:--:-- --:--:-- 42726 100 9528 0 0 100 9528 0 27697 --:--:-- --:--:-- --:--:-- 27697 [2022-07-20T07:49:09.142Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/0c165ac810ef2a78f8b8e29427eeb3171a73d136 [Pipeline] } [2022-07-20T07:49:09.171Z] 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-20T07:49:10.939Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-114/archives ] [2022-07-20T07:49:10.939Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-114/archives [2022-07-20T07:49:10.939Z] total 16 [2022-07-20T07:49:10.939Z] drwxr-xr-x 3 root root 4096 Jul 20 07:41 . [2022-07-20T07:49:10.939Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 07:41 .. [2022-07-20T07:49:10.939Z] drwxr-xr-x 2 root root 4096 Jul 20 07:41 cost [2022-07-20T07:49:10.939Z] -rw-r--r-- 1 root root 90 Jul 20 07:41 cost.csv [2022-07-20T07:49:10.939Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-114/archives [2022-07-20T07:49:10.939Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-114/archives [2022-07-20T07:49:10.939Z] total 16 [2022-07-20T07:49:10.939Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 07:41 . [2022-07-20T07:49:10.939Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 07:41 .. [2022-07-20T07:49:10.939Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 07:41 cost [2022-07-20T07:49:10.939Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 20 07:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-20T07:49:11.264Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T07:49:12.154Z] ---> package-listing.sh [2022-07-20T07:49:12.154Z] ++ facter osfamily [2022-07-20T07:49:12.154Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-20T07:49:12.413Z] + OS_FAMILY=debian [2022-07-20T07:49:12.413Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-114 [2022-07-20T07:49:12.413Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-20T07:49:12.413Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-20T07:49:12.413Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-20T07:49:12.413Z] + PACKAGES=/tmp/packages_start.txt [2022-07-20T07:49:12.413Z] + '[' /w/workspace/undry_device-onvif-camera_PR-114 ']' [2022-07-20T07:49:12.413Z] + PACKAGES=/tmp/packages_end.txt [2022-07-20T07:49:12.413Z] + case "${OS_FAMILY}" in [2022-07-20T07:49:12.413Z] + dpkg -l [2022-07-20T07:49:12.413Z] + grep '^ii' [2022-07-20T07:49:12.413Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-20T07:49:12.413Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-20T07:49:12.413Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-20T07:49:12.413Z] + '[' /w/workspace/undry_device-onvif-camera_PR-114 ']' [2022-07-20T07:49:12.413Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-114/archives/ [2022-07-20T07:49:12.413Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-114/archives/ [Pipeline] echo [2022-07-20T07:49:12.451Z] 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-114/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-20T07:49:12.747Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T07:49:13.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T07:49:13.384Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T07:49:13.555Z] prd-ubuntu20.04-docker-8c-8g-20558 does not seem to be running inside a container [2022-07-20T07:49:13.583Z] $ 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-114/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-114 -v /w/workspace/undry_device-onvif-camera_PR-114:/w/workspace/undry_device-onvif-camera_PR-114:rw,z -v /w/workspace/undry_device-onvif-camera_PR-114@tmp:/w/workspace/undry_device-onvif-camera_PR-114@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-20T07:49:13.837Z] $ docker top 6e406db380a4bec7f1ae8406a8f45a5de88a4e41a5e146936989c9ea41aa34b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T07:49:14.254Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-20T07:49:14.564Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-20T07:49:14.879Z] + ls /var/log/sa-host [2022-07-20T07:49:14.879Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T07:49:15.064Z] provisioning config files... [2022-07-20T07:49:15.074Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-114@tmp/config3142852920539789583tmp [Pipeline] { [Pipeline] echo [2022-07-20T07:49:15.125Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T07:49:15.441Z] ---> create-netrc.sh [Pipeline] } [2022-07-20T07:49:15.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-20T07:49:15.895Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-20T07:49:15.928Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T07:49:16.239Z] ---> sudo-logs.sh [2022-07-20T07:49:16.240Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-20T07:49:16.325Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T07:49:16.643Z] ---> job-cost.sh [2022-07-20T07:49:16.643Z] lf-activate-venv: SKIPPING [2022-07-20T07:49:16.643Z] DEBUG: total: 0.2199999988079071 [2022-07-20T07:49:16.643Z] INFO: Retrieving Stack Cost... [2022-07-20T07:49:17.216Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-20T07:49:17.476Z] INFO: Archiving Costs [Pipeline] echo [2022-07-20T07:49:17.513Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T07:49:17.830Z] ---> logs-deploy.sh [2022-07-20T07:49:17.830Z] lf-activate-venv: SKIPPING [2022-07-20T07:49:17.830Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-114/1 [2022-07-20T07:49:17.830Z] INFO: archiving workspace using pattern(s): [2022-07-20T07:49:18.773Z] Archives upload complete. [2022-07-20T07:49:18.773Z] INFO: archiving logs to Nexus