Pull request #146 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 weichou1229 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 7fdb570f67acbbcb31debbaa30cbaf156f58b692+5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 (8bce2b02aa083d355c92f283d7a7545a8ef14f06) 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-ssh15960459665080362762.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh3306802117493278036.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-146/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-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8318396934037909769.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-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh526446250880803402.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh5031617692599123773.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-146/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-146/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7288188602847331636.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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: true SWAGGER_API_FOLDERS: doc/openapi/v2 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-23749 in /w/workspace/undry_device-onvif-camera_PR-146 [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-146 # 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 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 into PR head commit 7fdb570f67acbbcb31debbaa30cbaf156f58b692 Merge succeeded, producing 7fdb570f67acbbcb31debbaa30cbaf156f58b692 Checking out Revision 7fdb570f67acbbcb31debbaa30cbaf156f58b692 (PR-146) > 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/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fdb570f67acbbcb31debbaa30cbaf156f58b692 # 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 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fdb570f67acbbcb31debbaa30cbaf156f58b692 # timeout=10 Commit message: "fix: Check whether the onvif response is valid" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-29T03:14:28.199Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-29T03:14:28.441Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-29T03:14:28.575Z] ========================================================= [2022-08-29T03:14:28.575Z] EdgeX Global Pipelines Version Info [2022-08-29T03:14:28.575Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:14:29.414Z] ------------------- [2022-08-29T03:14:29.414Z] stable info: [2022-08-29T03:14:29.414Z] ------------------- [2022-08-29T03:14:29.414Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-29T03:14:29.414Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-29T03:14:29.414Z] Message: update stable to v1.0.239 [2022-08-29T03:14:29.986Z] ------------------- [2022-08-29T03:14:29.986Z] experimental info: [2022-08-29T03:14:29.986Z] ------------------- [2022-08-29T03:14:29.986Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-29T03:14:29.986Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-29T03:14:29.986Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-29T03:14:30.362Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-29T03:14:30.404Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-29T03:14:30.448Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-29T03:14:30.483Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-29T03:14:30.525Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-29T03:14:30.567Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-29T03:14:30.611Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-29T03:14:30.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-29T03:14:30.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-29T03:14:30.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-29T03:14:30.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-29T03:14:30.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-29T03:14:30.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-29T03:14:30.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-29T03:14:30.948Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-29T03:14:30.987Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-29T03:14:31.032Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-29T03:14:31.076Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-29T03:14:31.119Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-29T03:14:31.162Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-29T03:14:31.205Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-29T03:14:31.249Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-29T03:14:31.289Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-29T03:14:31.325Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-29T03:14:31.366Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-29T03:14:31.411Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-29T03:14:31.453Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-29T03:14:31.497Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo [2022-08-29T03:14:31.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo [2022-08-29T03:14:31.580Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo [2022-08-29T03:14:31.622Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7fdb570f67acbbcb31debbaa30cbaf156f58b692 [Pipeline] echo [2022-08-29T03:14:31.669Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7fdb570 [Pipeline] echo [2022-08-29T03:14:31.717Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-29T03:14:31.824Z] provisioning config files... [2022-08-29T03:14:31.840Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-146@tmp/config7985708228927665331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:14:32.189Z] ---> docker-login.sh [2022-08-29T03:14:32.189Z] nexus3.edgexfoundry.org:10001 [2022-08-29T03:14:32.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:14:32.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:14:32.710Z] Configure a credential helper to remove this warning. See [2022-08-29T03:14:32.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:14:32.710Z] [2022-08-29T03:14:32.710Z] Login Succeeded [2022-08-29T03:14:32.710Z] nexus3.edgexfoundry.org:10002 [2022-08-29T03:14:32.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:14:32.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:14:32.971Z] Configure a credential helper to remove this warning. See [2022-08-29T03:14:32.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:14:32.971Z] [2022-08-29T03:14:32.971Z] Login Succeeded [2022-08-29T03:14:32.971Z] nexus3.edgexfoundry.org:10003 [2022-08-29T03:14:32.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:14:32.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:14:32.971Z] Configure a credential helper to remove this warning. See [2022-08-29T03:14:32.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:14:32.971Z] [2022-08-29T03:14:32.971Z] Login Succeeded [2022-08-29T03:14:32.971Z] nexus3.edgexfoundry.org:10004 [2022-08-29T03:14:32.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:14:33.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:14:33.232Z] Configure a credential helper to remove this warning. See [2022-08-29T03:14:33.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:14:33.232Z] [2022-08-29T03:14:33.232Z] Login Succeeded [2022-08-29T03:14:33.232Z] docker.io [2022-08-29T03:14:33.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:14:33.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:14:33.493Z] Configure a credential helper to remove this warning. See [2022-08-29T03:14:33.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:14:33.493Z] [2022-08-29T03:14:33.493Z] Login Succeeded [2022-08-29T03:14:33.493Z] ---> docker-login.sh ends [Pipeline] } [2022-08-29T03:14:33.520Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-29T03:14:34.166Z] + git rev-list -1 --merges 7fdb570f67acbbcb31debbaa30cbaf156f58b692~1..7fdb570f67acbbcb31debbaa30cbaf156f58b692 [Pipeline] echo [2022-08-29T03:14:34.209Z] -----------> git rev-list -1 --merges 7fdb570f67acbbcb31debbaa30cbaf156f58b692~1..7fdb570f67acbbcb31debbaa30cbaf156f58b692 7fdb570f67acbbcb31debbaa30cbaf156f58b692 [false] [Pipeline] sh [2022-08-29T03:14:34.523Z] + git log --format=format:%s -1 7fdb570f67acbbcb31debbaa30cbaf156f58b692 [Pipeline] echo [2022-08-29T03:14:34.555Z] ========================================================= [2022-08-29T03:14:34.555Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-29T03:14:34.555Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-29T03:14:35.011Z] + git log --format=format:%s -1 7fdb570f67acbbcb31debbaa30cbaf156f58b692 [Pipeline] echo [2022-08-29T03:14:35.042Z] [semverPrep] GIT_COMMIT: 7fdb570f67acbbcb31debbaa30cbaf156f58b692, Commit Message: fix: Check whether the onvif response is valid [Pipeline] echo [2022-08-29T03:14:35.073Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-29T03:14:35.467Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-29T03:14:35.467Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-29T03:14:35.467Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-29T03:14:35.467Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-29T03:14:35.467Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-29T03:14:35.467Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-29T03:14:35.467Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:14:35.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-29T03:14:35.901Z] [2022-08-29T03:14:35.901Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:14:36.278Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-29T03:14:36.279Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-29T03:14:36.279Z] b85a868b505f: Pulling fs layer [2022-08-29T03:14:36.279Z] e2be974225ed: Pulling fs layer [2022-08-29T03:14:36.279Z] 339a4e72a1f5: Pulling fs layer [2022-08-29T03:14:36.279Z] 988bab9f4d93: Pulling fs layer [2022-08-29T03:14:36.279Z] 1469e6f7b9e6: Pulling fs layer [2022-08-29T03:14:36.279Z] eaf3925da568: Pulling fs layer [2022-08-29T03:14:36.279Z] bab4dde63d76: Pulling fs layer [2022-08-29T03:14:36.279Z] bde34c3a00c8: Pulling fs layer [2022-08-29T03:14:36.279Z] b352a97aabf1: Pulling fs layer [2022-08-29T03:14:36.279Z] 4872d77fe225: Pulling fs layer [2022-08-29T03:14:36.279Z] 5851b861e8e6: Pulling fs layer [2022-08-29T03:14:36.279Z] 1469e6f7b9e6: Waiting [2022-08-29T03:14:36.279Z] bde34c3a00c8: Waiting [2022-08-29T03:14:36.279Z] bab4dde63d76: Waiting [2022-08-29T03:14:36.279Z] eaf3925da568: Waiting [2022-08-29T03:14:36.279Z] 988bab9f4d93: Waiting [2022-08-29T03:14:36.279Z] 4872d77fe225: Waiting [2022-08-29T03:14:36.279Z] b352a97aabf1: Waiting [2022-08-29T03:14:36.279Z] e2be974225ed: Verifying Checksum [2022-08-29T03:14:36.279Z] e2be974225ed: Download complete [2022-08-29T03:14:36.279Z] 988bab9f4d93: Verifying Checksum [2022-08-29T03:14:36.279Z] 988bab9f4d93: Download complete [2022-08-29T03:14:36.540Z] 339a4e72a1f5: Verifying Checksum [2022-08-29T03:14:36.540Z] 339a4e72a1f5: Download complete [2022-08-29T03:14:36.540Z] eaf3925da568: Verifying Checksum [2022-08-29T03:14:36.540Z] eaf3925da568: Download complete [2022-08-29T03:14:36.540Z] 1469e6f7b9e6: Verifying Checksum [2022-08-29T03:14:36.540Z] 1469e6f7b9e6: Download complete [2022-08-29T03:14:36.540Z] bde34c3a00c8: Download complete [2022-08-29T03:14:36.540Z] b352a97aabf1: Verifying Checksum [2022-08-29T03:14:36.540Z] 4872d77fe225: Verifying Checksum [2022-08-29T03:14:36.540Z] 4872d77fe225: Download complete [2022-08-29T03:14:36.540Z] 5851b861e8e6: Verifying Checksum [2022-08-29T03:14:36.540Z] 5851b861e8e6: Download complete [2022-08-29T03:14:36.540Z] b85a868b505f: Verifying Checksum [2022-08-29T03:14:36.540Z] b85a868b505f: Download complete [2022-08-29T03:14:37.108Z] bab4dde63d76: Verifying Checksum [2022-08-29T03:14:37.108Z] bab4dde63d76: Download complete [2022-08-29T03:14:37.677Z] b85a868b505f: Pull complete [2022-08-29T03:14:37.937Z] e2be974225ed: Pull complete [2022-08-29T03:14:38.198Z] 339a4e72a1f5: Pull complete [2022-08-29T03:14:38.458Z] 988bab9f4d93: Pull complete [2022-08-29T03:14:38.717Z] 1469e6f7b9e6: Pull complete [2022-08-29T03:14:38.717Z] eaf3925da568: Pull complete [2022-08-29T03:14:40.624Z] bab4dde63d76: Pull complete [2022-08-29T03:14:40.624Z] bde34c3a00c8: Pull complete [2022-08-29T03:14:40.624Z] b352a97aabf1: Pull complete [2022-08-29T03:14:40.885Z] 4872d77fe225: Pull complete [2022-08-29T03:14:40.885Z] 5851b861e8e6: Pull complete [2022-08-29T03:14:40.885Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-29T03:14:40.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-29T03:14:40.885Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:14:41.109Z] prd-ubuntu20.04-docker-8c-8g-23749 does not seem to be running inside a container [2022-08-29T03:14:41.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-29T03:14:43.061Z] $ docker top e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 -eo pid,comm [2022-08-29T03:14:43.122Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-29T03:14:43.123Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-29T03:14:43.289Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-29T03:14:43.289Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-29T03:14:43.430Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-29T03:14:43.434Z] $ docker exec e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 ssh-agent [2022-08-29T03:14:43.566Z] SSH_AUTH_SOCK=/tmp/ssh-3ED4Akvhzvxw/agent.32 [2022-08-29T03:14:43.566Z] SSH_AGENT_PID=38 [2022-08-29T03:14:43.573Z] Running ssh-add (command line suppressed) [2022-08-29T03:14:43.686Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-146@tmp/private_key_3738126645363543283.key (/w/workspace/undry_device-onvif-camera_PR-146@tmp/private_key_3738126645363543283.key) [2022-08-29T03:14:43.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-29T03:14:44.038Z] + git tag --points-at HEAD [Pipeline] } [2022-08-29T03:14:44.064Z] $ docker exec --env ******** --env ******** e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 ssh-agent -k [2022-08-29T03:14:44.177Z] unset SSH_AUTH_SOCK; [2022-08-29T03:14:44.178Z] unset SSH_AGENT_PID; [2022-08-29T03:14:44.178Z] echo Agent pid 38 killed; [2022-08-29T03:14:44.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-29T03:14:44.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-29T03:14:44.280Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-29T03:14:44.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-29T03:14:44.409Z] $ docker exec e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 ssh-agent [2022-08-29T03:14:44.526Z] SSH_AUTH_SOCK=/tmp/ssh-tOwaOjV5TCNB/agent.70 [2022-08-29T03:14:44.526Z] SSH_AGENT_PID=76 [2022-08-29T03:14:44.533Z] Running ssh-add (command line suppressed) [2022-08-29T03:14:44.646Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-146@tmp/private_key_7459927138921556154.key (/w/workspace/undry_device-onvif-camera_PR-146@tmp/private_key_7459927138921556154.key) [2022-08-29T03:14:44.657Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-29T03:14:44.996Z] + git semver init [2022-08-29T03:14:45.256Z] 2022-08-29 03:14:45,197 [run_init] DEBUG init version:0.0.0 force:False [2022-08-29T03:14:45.256Z] 2022-08-29 03:14:45,198 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-146/.semver [2022-08-29T03:14:45.256Z] 2022-08-29 03:14:45,198 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-146/.semver [2022-08-29T03:14:45.256Z] 2022-08-29 03:14:45,199 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-146/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-146, universal_newlines=False, shell=None, istream=None) [2022-08-29T03:14:46.197Z] 2022-08-29 03:14:46,056 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-146/.git/info/exclude [2022-08-29T03:14:46.197Z] 2022-08-29 03:14:46,057 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-146/.semver/PR-146 with force:False [2022-08-29T03:14:46.197Z] 2022-08-29 03:14:46,057 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-146/.semver/PR-146 [2022-08-29T03:14:46.197Z] 2022-08-29 03:14:46,062 [execute] INFO git cat-file --batch-check [2022-08-29T03:14:46.197Z] 2022-08-29 03:14:46,062 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-146/.semver, universal_newlines=False, shell=None, istream=) [2022-08-29T03:14:46.197Z] 2022-08-29 03:14:46,069 [execute] INFO git cat-file --batch [2022-08-29T03:14:46.197Z] 2022-08-29 03:14:46,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-146/.semver, universal_newlines=False, shell=None, istream=) [2022-08-29T03:14:46.197Z] 2022-08-29 03:14:46,074 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-146/.semver/PR-146 [2022-08-29T03:14:46.197Z] 0.0.0 [Pipeline] } [2022-08-29T03:14:46.226Z] $ docker exec --env ******** --env ******** e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 ssh-agent -k [2022-08-29T03:14:46.335Z] unset SSH_AUTH_SOCK; [2022-08-29T03:14:46.335Z] unset SSH_AGENT_PID; [2022-08-29T03:14:46.335Z] echo Agent pid 76 killed; [2022-08-29T03:14:46.343Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-29T03:14:46.779Z] + git semver [Pipeline] } [2022-08-29T03:14:47.078Z] $ docker stop --time=1 e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 [2022-08-29T03:14:48.392Z] $ docker rm -f e4417004338c9bc65a78a6f57119ac9ec038b2fcabb5170e85c2094d72cbd2c0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-29T03:14:48.798Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-29T03:14:49.092Z] Stashed 1 file(s) [Pipeline] echo [2022-08-29T03:14:49.109Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-29T03:14:49.722Z] provisioning config files... [2022-08-29T03:14:49.732Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-146@tmp/config5417152227971638306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:14:50.085Z] ---> docker-login.sh [2022-08-29T03:14:50.085Z] nexus3.edgexfoundry.org:10001 [2022-08-29T03:14:50.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:14:50.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:14:50.085Z] Configure a credential helper to remove this warning. See [2022-08-29T03:14:50.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:14:50.085Z] [2022-08-29T03:14:50.085Z] Login Succeeded [2022-08-29T03:14:50.085Z] nexus3.edgexfoundry.org:10002 [2022-08-29T03:14:50.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:14:50.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:14:50.346Z] Configure a credential helper to remove this warning. See [2022-08-29T03:14:50.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:14:50.346Z] [2022-08-29T03:14:50.346Z] Login Succeeded [2022-08-29T03:14:50.346Z] nexus3.edgexfoundry.org:10003 [2022-08-29T03:14:50.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:14:50.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:14:50.346Z] Configure a credential helper to remove this warning. See [2022-08-29T03:14:50.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:14:50.346Z] [2022-08-29T03:14:50.346Z] Login Succeeded [2022-08-29T03:14:50.346Z] nexus3.edgexfoundry.org:10004 [2022-08-29T03:14:50.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:14:50.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:14:50.608Z] Configure a credential helper to remove this warning. See [2022-08-29T03:14:50.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:14:50.608Z] [2022-08-29T03:14:50.608Z] Login Succeeded [2022-08-29T03:14:50.608Z] docker.io [2022-08-29T03:14:50.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:14:50.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:14:50.868Z] Configure a credential helper to remove this warning. See [2022-08-29T03:14:50.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:14:50.868Z] [2022-08-29T03:14:50.868Z] Login Succeeded [2022-08-29T03:14:50.868Z] ---> docker-login.sh ends [Pipeline] } [2022-08-29T03:14:50.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-29T03:14:51.106Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-29T03:14:51.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-29T03:14:51.182Z] ========================================================= [2022-08-29T03:14:51.182Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-29T03:14:51.182Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:14:51.672Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-29T03:14:51.672Z] Sending build context to Docker daemon 20.58MB [2022-08-29T03:14:51.672Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-29T03:14:51.672Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-29T03:14:51.936Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-29T03:14:51.936Z] 2408cc74d12b: Pulling fs layer [2022-08-29T03:14:51.936Z] ea60b727a1ce: Pulling fs layer [2022-08-29T03:14:51.936Z] 30c4a7721957: Pulling fs layer [2022-08-29T03:14:51.936Z] 370296b7ddb6: Pulling fs layer [2022-08-29T03:14:51.936Z] 7c6cee850709: Pulling fs layer [2022-08-29T03:14:51.936Z] 39a5fcdaea64: Pulling fs layer [2022-08-29T03:14:51.936Z] d94ebbe4e438: Pulling fs layer [2022-08-29T03:14:51.936Z] bcfd1f05c69d: Pulling fs layer [2022-08-29T03:14:51.936Z] 59ccb84bbe0f: Pulling fs layer [2022-08-29T03:14:51.936Z] 39a5fcdaea64: Waiting [2022-08-29T03:14:51.936Z] 370296b7ddb6: Waiting [2022-08-29T03:14:51.936Z] d94ebbe4e438: Waiting [2022-08-29T03:14:51.936Z] 7c6cee850709: Waiting [2022-08-29T03:14:51.936Z] bcfd1f05c69d: Waiting [2022-08-29T03:14:51.936Z] 59ccb84bbe0f: Waiting [2022-08-29T03:14:51.936Z] 30c4a7721957: Verifying Checksum [2022-08-29T03:14:51.936Z] 30c4a7721957: Download complete [2022-08-29T03:14:51.936Z] ea60b727a1ce: Verifying Checksum [2022-08-29T03:14:51.936Z] ea60b727a1ce: Download complete [2022-08-29T03:14:51.936Z] 7c6cee850709: Verifying Checksum [2022-08-29T03:14:51.936Z] 7c6cee850709: Download complete [2022-08-29T03:14:51.936Z] 2408cc74d12b: Verifying Checksum [2022-08-29T03:14:51.936Z] 2408cc74d12b: Download complete [2022-08-29T03:14:51.936Z] 39a5fcdaea64: Verifying Checksum [2022-08-29T03:14:51.936Z] 39a5fcdaea64: Download complete [2022-08-29T03:14:51.936Z] d94ebbe4e438: Download complete [2022-08-29T03:14:51.936Z] 2408cc74d12b: Pull complete [2022-08-29T03:14:52.205Z] ea60b727a1ce: Pull complete [2022-08-29T03:14:52.205Z] 30c4a7721957: Pull complete [2022-08-29T03:14:52.467Z] bcfd1f05c69d: Verifying Checksum [2022-08-29T03:14:52.467Z] bcfd1f05c69d: Download complete [2022-08-29T03:14:53.050Z] 59ccb84bbe0f: Verifying Checksum [2022-08-29T03:14:53.050Z] 59ccb84bbe0f: Download complete [2022-08-29T03:14:53.050Z] 370296b7ddb6: Verifying Checksum [2022-08-29T03:14:53.050Z] 370296b7ddb6: Download complete [2022-08-29T03:14:57.299Z] 370296b7ddb6: Pull complete [2022-08-29T03:14:57.299Z] 7c6cee850709: Pull complete [2022-08-29T03:14:57.299Z] 39a5fcdaea64: Pull complete [2022-08-29T03:14:57.299Z] d94ebbe4e438: Pull complete [2022-08-29T03:14:58.681Z] bcfd1f05c69d: Pull complete [2022-08-29T03:14:59.251Z] 59ccb84bbe0f: Pull complete [2022-08-29T03:14:59.251Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-29T03:14:59.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-29T03:14:59.251Z] ---> a4fb48ad2a94 [2022-08-29T03:14:59.251Z] Step 3/13 : ARG MAKE="make build" [2022-08-29T03:15:02.559Z] ---> Running in 1e13ec66b22b [2022-08-29T03:15:02.823Z] Removing intermediate container 1e13ec66b22b [2022-08-29T03:15:02.823Z] ---> d0a60d620747 [2022-08-29T03:15:02.823Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-29T03:15:02.823Z] ---> Running in b36bac48d644 [2022-08-29T03:15:02.823Z] Removing intermediate container b36bac48d644 [2022-08-29T03:15:02.823Z] ---> 32e09e03418c [2022-08-29T03:15:02.823Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-29T03:15:02.823Z] ---> Running in 4ea196f74087 [2022-08-29T03:15:02.823Z] Removing intermediate container 4ea196f74087 [2022-08-29T03:15:02.823Z] ---> b4985e778d06 [2022-08-29T03:15:02.823Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-29T03:15:02.823Z] ---> Running in 18ba56dbd0a4 [2022-08-29T03:15:03.083Z] Removing intermediate container 18ba56dbd0a4 [2022-08-29T03:15:03.083Z] ---> fac79c38e117 [2022-08-29T03:15:03.083Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-29T03:15:03.083Z] ---> Running in 63f3581c97b7 [2022-08-29T03:15:03.653Z] Removing intermediate container 63f3581c97b7 [2022-08-29T03:15:03.653Z] ---> 3d1b2904a9dc [2022-08-29T03:15:03.653Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-29T03:15:03.653Z] ---> Running in f0c1ca610b06 [2022-08-29T03:15:03.913Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-29T03:15:04.536Z] Still waiting to schedule task [2022-08-29T03:15:04.537Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-29T03:15:04.854Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-29T03:15:05.115Z] OK: 211 MiB in 51 packages [2022-08-29T03:15:05.374Z] Removing intermediate container f0c1ca610b06 [2022-08-29T03:15:05.374Z] ---> 3588f4505c00 [2022-08-29T03:15:05.374Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-29T03:15:05.374Z] ---> Running in 53781407a373 [2022-08-29T03:15:05.374Z] Removing intermediate container 53781407a373 [2022-08-29T03:15:05.374Z] ---> 8a5e503738c2 [2022-08-29T03:15:05.374Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-29T03:15:05.637Z] ---> 145bfbb682ef [2022-08-29T03:15:05.637Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-29T03:15:05.637Z] ---> Running in 3a386e8eaf3c [2022-08-29T03:15:32.216Z] Removing intermediate container 3a386e8eaf3c [2022-08-29T03:15:32.216Z] ---> 365aa0327ff5 [2022-08-29T03:15:32.216Z] Step 12/13 : COPY . . [2022-08-29T03:15:32.216Z] ---> a1d37e4cffe8 [2022-08-29T03:15:32.216Z] Step 13/13 : RUN ${MAKE} [2022-08-29T03:15:32.217Z] ---> Running in 2275eb6d7482 [2022-08-29T03:15:32.217Z] noop [2022-08-29T03:15:32.217Z] Removing intermediate container 2275eb6d7482 [2022-08-29T03:15:32.217Z] ---> 1e14be789104 [2022-08-29T03:15:32.217Z] Successfully built 1e14be789104 [2022-08-29T03:15:32.217Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:15:32.672Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-29T03:15:32.672Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:15:32.834Z] prd-ubuntu20.04-docker-8c-8g-23749 does not seem to be running inside a container [2022-08-29T03:15:32.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-29T03:15:33.226Z] $ docker top 3d6392c9d9c5067e8f6bfbdfb680f3eac83f70f72bb864e224e0491e8b05fe93 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T03:15:33.620Z] + go version [2022-08-29T03:15:33.620Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-29T03:15:33.652Z] $ docker stop --time=1 3d6392c9d9c5067e8f6bfbdfb680f3eac83f70f72bb864e224e0491e8b05fe93 [2022-08-29T03:15:34.910Z] $ docker rm -f 3d6392c9d9c5067e8f6bfbdfb680f3eac83f70f72bb864e224e0491e8b05fe93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:15:35.653Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-29T03:15:35.653Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:15:35.811Z] prd-ubuntu20.04-docker-8c-8g-23749 does not seem to be running inside a container [2022-08-29T03:15:35.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-29T03:15:36.210Z] $ docker top 01c46388026e799bdb9c43cbc567d12ecdaf42cbb832ea42425615437bb64df9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T03:15:36.618Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-146 [Pipeline] fileExists [Pipeline] sh [2022-08-29T03:15:37.007Z] + make test [2022-08-29T03:15:37.008Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-29T03:15:37.266Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-29T03:15:47.247Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-29T03:15:47.507Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.026s coverage: 10.5% of statements [2022-08-29T03:15:47.507Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-29T03:15:50.798Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.789s coverage: 13.8% of statements [2022-08-29T03:15:57.367Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-29T03:15:57.367Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-29T03:15:59.903Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-29T03:15:59.903Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-29T03:15:59.903Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-29T03:15:59.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-29T03:15:59.980Z] $ docker stop --time=1 01c46388026e799bdb9c43cbc567d12ecdaf42cbb832ea42425615437bb64df9 [2022-08-29T03:16:02.163Z] $ docker rm -f 01c46388026e799bdb9c43cbc567d12ecdaf42cbb832ea42425615437bb64df9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-29T03:16:02.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-29T03:16:02.827Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-29T03:16:03.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-29T03:16:03.841Z] + ls -al . [2022-08-29T03:16:03.841Z] total 232 [2022-08-29T03:16:03.841Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 29 03:15 . [2022-08-29T03:16:03.841Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:14 .. [2022-08-29T03:16:03.841Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 03:15 .git [2022-08-29T03:16:03.841Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:14 .github [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 29 03:14 .gitignore [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 29 03:14 .golangci.yml [2022-08-29T03:16:03.841Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 03:14 .semver [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 29 03:14 Attribution.txt [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 29 03:14 CHANGELOG.md [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 29 03:14 Dockerfile [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 03:14 GOVERNANCE.md [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 29 03:14 Jenkinsfile [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 29 03:14 LICENSE [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 29 03:14 Makefile [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 29 03:14 OWNERS.md [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 29 03:14 README.md [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 29 03:14 VERSION [2022-08-29T03:16:03.841Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 03:14 bin [2022-08-29T03:16:03.841Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:14 cmd [2022-08-29T03:16:03.841Z] -rw-r--r-- 1 jenkins jenkins 77822 Aug 29 03:15 coverage.out [2022-08-29T03:16:03.841Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 29 03:14 doc [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 29 03:14 go.mod [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 29 03:14 go.sum [2022-08-29T03:16:03.841Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:14 internal [2022-08-29T03:16:03.841Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:14 snap [2022-08-29T03:16:03.841Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 29 03:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:16:04.227Z] + 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=7fdb570f67acbbcb31debbaa30cbaf156f58b692 --label arch=amd64 --label version=0.0.0 . [2022-08-29T03:16:04.227Z] Sending build context to Docker daemon 20.66MB [2022-08-29T03:16:04.227Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-29T03:16:04.227Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-29T03:16:04.227Z] ---> 1e14be789104 [2022-08-29T03:16:04.227Z] Step 3/26 : ARG MAKE="make build" [2022-08-29T03:16:04.488Z] ---> Running in 6b257f2585c2 [2022-08-29T03:16:04.488Z] Removing intermediate container 6b257f2585c2 [2022-08-29T03:16:04.488Z] ---> 90ee3cd349f8 [2022-08-29T03:16:04.488Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-29T03:16:04.488Z] ---> Running in 1abbfe029270 [2022-08-29T03:16:04.488Z] Removing intermediate container 1abbfe029270 [2022-08-29T03:16:04.488Z] ---> db59b252a349 [2022-08-29T03:16:04.488Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-29T03:16:04.488Z] ---> Running in 2343d343292d [2022-08-29T03:16:04.747Z] Removing intermediate container 2343d343292d [2022-08-29T03:16:04.747Z] ---> 1a5959c6d8fc [2022-08-29T03:16:04.747Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-29T03:16:04.747Z] ---> Running in e71eaa0f4be5 [2022-08-29T03:16:04.747Z] Removing intermediate container e71eaa0f4be5 [2022-08-29T03:16:04.747Z] ---> ec13a95b6e0a [2022-08-29T03:16:04.747Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-29T03:16:04.747Z] ---> Running in 9ce12b5c2d23 [2022-08-29T03:16:05.314Z] Removing intermediate container 9ce12b5c2d23 [2022-08-29T03:16:05.314Z] ---> a24a23f39759 [2022-08-29T03:16:05.314Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-29T03:16:05.314Z] ---> Running in a90d5371ad81 [2022-08-29T03:16:05.573Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-29T03:16:06.517Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-29T03:16:06.777Z] OK: 211 MiB in 51 packages [2022-08-29T03:16:07.038Z] Removing intermediate container a90d5371ad81 [2022-08-29T03:16:07.038Z] ---> 3a0481b0a69c [2022-08-29T03:16:07.038Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-29T03:16:07.038Z] ---> Running in 0d14f08292a5 [2022-08-29T03:16:07.038Z] Removing intermediate container 0d14f08292a5 [2022-08-29T03:16:07.038Z] ---> d33ac02dc427 [2022-08-29T03:16:07.038Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-29T03:16:07.298Z] ---> 4fcd716a4a9b [2022-08-29T03:16:07.298Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-29T03:16:07.298Z] ---> Running in 36227f7bc2e2 [2022-08-29T03:16:07.869Z] Removing intermediate container 36227f7bc2e2 [2022-08-29T03:16:07.869Z] ---> 5061958e730b [2022-08-29T03:16:07.869Z] Step 12/26 : COPY . . [2022-08-29T03:16:08.438Z] ---> d876cf529d44 [2022-08-29T03:16:08.438Z] Step 13/26 : RUN ${MAKE} [2022-08-29T03:16:08.438Z] ---> Running in 8c3d716aa352 [2022-08-29T03:16:08.697Z] 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-29T03:16:30.646Z] Removing intermediate container 8c3d716aa352 [2022-08-29T03:16:30.646Z] ---> 8cab17252ba1 [2022-08-29T03:16:30.646Z] Step 14/26 : FROM alpine:3.16 [2022-08-29T03:16:30.646Z] 3.16: Pulling from library/alpine [2022-08-29T03:16:30.646Z] 213ec9aee27d: Pulling fs layer [2022-08-29T03:16:30.646Z] 213ec9aee27d: Verifying Checksum [2022-08-29T03:16:30.646Z] 213ec9aee27d: Download complete [2022-08-29T03:16:30.646Z] 213ec9aee27d: Pull complete [2022-08-29T03:16:30.646Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-29T03:16:30.646Z] Status: Downloaded newer image for alpine:3.16 [2022-08-29T03:16:30.646Z] ---> 9c6f07244728 [2022-08-29T03:16:30.646Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-29T03:16:30.646Z] ---> Running in 2819641a149e [2022-08-29T03:16:30.646Z] Removing intermediate container 2819641a149e [2022-08-29T03:16:30.646Z] ---> bd4b1ace2648 [2022-08-29T03:16:30.646Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-29T03:16:30.646Z] ---> Running in 1b449761bfef [2022-08-29T03:16:30.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-29T03:16:30.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-29T03:16:30.646Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-29T03:16:30.646Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-29T03:16:30.646Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-29T03:16:30.646Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-29T03:16:30.646Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-29T03:16:30.646Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-29T03:16:30.646Z] Executing busybox-1.35.0-r17.trigger [2022-08-29T03:16:30.646Z] OK: 8 MiB in 20 packages [2022-08-29T03:16:30.646Z] Removing intermediate container 1b449761bfef [2022-08-29T03:16:30.646Z] ---> 19b1e6104a93 [2022-08-29T03:16:30.646Z] Step 17/26 : WORKDIR / [2022-08-29T03:16:30.646Z] ---> Running in a2037684cd81 [2022-08-29T03:16:30.646Z] Removing intermediate container a2037684cd81 [2022-08-29T03:16:30.646Z] ---> 635a1a101025 [2022-08-29T03:16:30.646Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-29T03:16:31.218Z] ---> b31ea528e7a3 [2022-08-29T03:16:31.218Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-29T03:16:31.218Z] ---> f904cb5929e6 [2022-08-29T03:16:31.218Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-29T03:16:31.218Z] ---> 81f839b121f1 [2022-08-29T03:16:31.218Z] Step 21/26 : EXPOSE 59984 [2022-08-29T03:16:31.479Z] ---> Running in 31f2b71461a2 [2022-08-29T03:16:31.479Z] Removing intermediate container 31f2b71461a2 [2022-08-29T03:16:31.479Z] ---> e758c4b56b47 [2022-08-29T03:16:31.479Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-29T03:16:31.479Z] ---> Running in 222534f3fbad [2022-08-29T03:16:31.479Z] Removing intermediate container 222534f3fbad [2022-08-29T03:16:31.479Z] ---> b24b34e9019c [2022-08-29T03:16:31.479Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-29T03:16:31.479Z] ---> Running in 78a4ab6ad19e [2022-08-29T03:16:31.738Z] Removing intermediate container 78a4ab6ad19e [2022-08-29T03:16:31.738Z] ---> 30f23889b750 [2022-08-29T03:16:31.738Z] Step 24/26 : LABEL arch=amd64 [2022-08-29T03:16:31.738Z] ---> Running in a196b777b126 [2022-08-29T03:16:31.738Z] Removing intermediate container a196b777b126 [2022-08-29T03:16:31.738Z] ---> 7d7843f26832 [2022-08-29T03:16:31.738Z] Step 25/26 : LABEL git_sha=7fdb570f67acbbcb31debbaa30cbaf156f58b692 [2022-08-29T03:16:31.738Z] ---> Running in 8b8c2255ca8c [2022-08-29T03:16:31.738Z] Removing intermediate container 8b8c2255ca8c [2022-08-29T03:16:31.738Z] ---> de925dd9e06f [2022-08-29T03:16:31.738Z] Step 26/26 : LABEL version=0.0.0 [2022-08-29T03:16:31.738Z] ---> Running in 6adba2203a74 [2022-08-29T03:16:31.997Z] Removing intermediate container 6adba2203a74 [2022-08-29T03:16:31.997Z] ---> b0925cff0ee4 [2022-08-29T03:16:31.997Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-29T03:16:31.997Z] Successfully built b0925cff0ee4 [2022-08-29T03:16:31.997Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:16:32.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-29T03:16:32.958Z] [2022-08-29T03:16:32.958Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:16:33.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-29T03:16:33.332Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-29T03:16:33.332Z] 5eb5b503b376: Pulling fs layer [2022-08-29T03:16:33.332Z] 5c69ac0246d0: Pulling fs layer [2022-08-29T03:16:33.332Z] ec43610c2a17: Pulling fs layer [2022-08-29T03:16:33.332Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-29T03:16:33.332Z] 33b1e0a273af: Pulling fs layer [2022-08-29T03:16:33.332Z] 5d3b04190fa2: Pulling fs layer [2022-08-29T03:16:33.332Z] 2f39f015ded8: Pulling fs layer [2022-08-29T03:16:33.332Z] 3a2ae6a8a46f: Waiting [2022-08-29T03:16:33.332Z] 33b1e0a273af: Waiting [2022-08-29T03:16:33.332Z] 5d3b04190fa2: Waiting [2022-08-29T03:16:33.332Z] 2f39f015ded8: Waiting [2022-08-29T03:16:33.332Z] 5c69ac0246d0: Download complete [2022-08-29T03:16:33.332Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-29T03:16:33.332Z] 3a2ae6a8a46f: Download complete [2022-08-29T03:16:33.594Z] 33b1e0a273af: Verifying Checksum [2022-08-29T03:16:33.594Z] 33b1e0a273af: Download complete [2022-08-29T03:16:33.594Z] 5d3b04190fa2: Download complete [2022-08-29T03:16:33.594Z] ec43610c2a17: Verifying Checksum [2022-08-29T03:16:33.594Z] ec43610c2a17: Download complete [2022-08-29T03:16:33.594Z] 5eb5b503b376: Verifying Checksum [2022-08-29T03:16:33.594Z] 5eb5b503b376: Download complete [2022-08-29T03:16:34.531Z] 2f39f015ded8: Download complete [2022-08-29T03:16:34.788Z] 5eb5b503b376: Pull complete [2022-08-29T03:16:34.788Z] 5c69ac0246d0: Pull complete [2022-08-29T03:16:35.355Z] ec43610c2a17: Pull complete [2022-08-29T03:16:35.355Z] 3a2ae6a8a46f: Pull complete [2022-08-29T03:16:35.613Z] 33b1e0a273af: Pull complete [2022-08-29T03:16:35.613Z] 5d3b04190fa2: Pull complete [2022-08-29T03:16:36.792Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23750 in /w/workspace/undry_device-onvif-camera_PR-146 [Pipeline] { [Pipeline] ws [2022-08-29T03:16:36.839Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-08-29T03:16:36.942Z] Selected Git installation does not exist. Using Default [2022-08-29T03:16:36.942Z] The recommended git tool is: NONE [2022-08-29T03:16:39.800Z] 2f39f015ded8: Pull complete [2022-08-29T03:16:39.800Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-29T03:16:39.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-29T03:16:39.800Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:16:40.040Z] prd-ubuntu20.04-docker-8c-8g-23749 does not seem to be running inside a container [2022-08-29T03:16:40.075Z] $ 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-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-29T03:16:41.973Z] $ docker top 38ac8033d408e0d70aca7a80249c5db21f9644cfe3b93c473508ec1421d93d3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:16:42.438Z] ---> job-cost.sh [2022-08-29T03:16:42.438Z] lf-activate-venv: SKIPPING [2022-08-29T03:16:42.438Z] INFO: No Stack... [2022-08-29T03:16:42.698Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-29T03:16:43.267Z] INFO: Archiving Costs [Pipeline] sh [2022-08-29T03:16:43.495Z] using credential edgex-jenkins-ssh [2022-08-29T03:16:43.514Z] Cloning the remote Git repository [2022-08-29T03:16:43.581Z] + cat /w/workspace/undry_device-onvif-camera_PR-146/archives/cost.csv [2022-08-29T03:16:43.581Z] + cut -d, -f6 [Pipeline] lock [2022-08-29T03:16:43.649Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] [2022-08-29T03:16:43.654Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] did not exist. Created. [2022-08-29T03:16:43.654Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-29T03:16:44.091Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-29T03:16:44.147Z] Stashed 1 file(s) [Pipeline] } [2022-08-29T03:16:44.174Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-29T03:16:44.256Z] $ docker stop --time=1 38ac8033d408e0d70aca7a80249c5db21f9644cfe3b93c473508ec1421d93d3a [2022-08-29T03:16:43.653Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-29T03:16:43.854Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-08-29T03:16:44.061Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-29T03:16:44.062Z] > git --version # timeout=10 [2022-08-29T03:16:44.188Z] > git --version # 'git version 2.25.1' [2022-08-29T03:16:44.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-29T03:16:44.337Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-29T03:16:45.416Z] $ docker rm -f 38ac8033d408e0d70aca7a80249c5db21f9644cfe3b93c473508ec1421d93d3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-29T03:16:45.593Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-29T03:16:45.636Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-29T03:16:45.673Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-29T03:16:45.706Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-29T03:16:45.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-29T03:16:45.721Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-29T03:16:46.220Z] Merging remotes/origin/main commit 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 into PR head commit 7fdb570f67acbbcb31debbaa30cbaf156f58b692 [2022-08-29T03:16:46.570Z] Merge succeeded, producing 7fdb570f67acbbcb31debbaa30cbaf156f58b692 [2022-08-29T03:16:46.571Z] Checking out Revision 7fdb570f67acbbcb31debbaa30cbaf156f58b692 (PR-146) [2022-08-29T03:16:46.243Z] > git config core.sparsecheckout # timeout=10 [2022-08-29T03:16:46.258Z] > git checkout -f 7fdb570f67acbbcb31debbaa30cbaf156f58b692 # timeout=10 [2022-08-29T03:16:46.480Z] > git remote # timeout=10 [2022-08-29T03:16:46.501Z] > git config --get remote.origin.url # timeout=10 [2022-08-29T03:16:46.520Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-29T03:16:46.532Z] > git merge 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 # timeout=10 [2022-08-29T03:16:46.558Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-29T03:16:46.582Z] > git config core.sparsecheckout # timeout=10 [2022-08-29T03:16:46.595Z] > git checkout -f 7fdb570f67acbbcb31debbaa30cbaf156f58b692 # timeout=10 [2022-08-29T03:16:50.923Z] Commit message: "fix: Check whether the onvif response is valid" [2022-08-29T03:16:50.989Z] > git --version # timeout=10 [2022-08-29T03:16:51.003Z] > git --version # 'git version 2.25.1' [2022-08-29T03:16:51.022Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-29T03:16:52.088Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-29T03:16:52.088Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-29T03:16:52.088Z] Dload Upload Total Spent Left Speed [2022-08-29T03:16:52.088Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2022-08-29T03:16:52.823Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-29T03:16:53.175Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-29T03:16:53.175Z] + sudo tee /etc/docker/daemon.new [2022-08-29T03:16:53.175Z] { [2022-08-29T03:16:53.175Z] "registry-mirrors": [ [2022-08-29T03:16:53.175Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-29T03:16:53.175Z] ], [2022-08-29T03:16:53.175Z] "bip": "10.250.0.254/24", [2022-08-29T03:16:53.175Z] "hosts": [ [2022-08-29T03:16:53.175Z] "tcp://0.0.0.0:5555", [2022-08-29T03:16:53.175Z] "unix:///var/run/docker.sock" [2022-08-29T03:16:53.175Z] ], [2022-08-29T03:16:53.175Z] "mtu": 1458, [2022-08-29T03:16:53.175Z] "selinux-enabled": true, [2022-08-29T03:16:53.175Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-29T03:16:53.175Z] } [Pipeline] sh [2022-08-29T03:16:53.527Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-29T03:16:53.879Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-29T03:17:12.431Z] provisioning config files... [2022-08-29T03:17:12.458Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3684280881712704421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:17:12.859Z] ---> docker-login.sh [2022-08-29T03:17:12.859Z] nexus3.edgexfoundry.org:10001 [2022-08-29T03:17:13.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:17:13.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:17:13.734Z] Configure a credential helper to remove this warning. See [2022-08-29T03:17:13.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:17:13.734Z] [2022-08-29T03:17:13.734Z] Login Succeeded [2022-08-29T03:17:13.734Z] nexus3.edgexfoundry.org:10002 [2022-08-29T03:17:14.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:17:14.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:17:14.009Z] Configure a credential helper to remove this warning. See [2022-08-29T03:17:14.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:17:14.009Z] [2022-08-29T03:17:14.009Z] Login Succeeded [2022-08-29T03:17:14.009Z] nexus3.edgexfoundry.org:10003 [2022-08-29T03:17:14.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:17:14.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:17:14.613Z] Configure a credential helper to remove this warning. See [2022-08-29T03:17:14.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:17:14.613Z] [2022-08-29T03:17:14.613Z] Login Succeeded [2022-08-29T03:17:14.613Z] nexus3.edgexfoundry.org:10004 [2022-08-29T03:17:14.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:17:15.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:17:15.161Z] Configure a credential helper to remove this warning. See [2022-08-29T03:17:15.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:17:15.161Z] [2022-08-29T03:17:15.161Z] Login Succeeded [2022-08-29T03:17:15.161Z] docker.io [2022-08-29T03:17:15.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:17:15.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:17:15.710Z] Configure a credential helper to remove this warning. See [2022-08-29T03:17:15.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:17:15.710Z] [2022-08-29T03:17:15.710Z] Login Succeeded [2022-08-29T03:17:15.710Z] ---> docker-login.sh ends [Pipeline] } [2022-08-29T03:17:15.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-29T03:17:16.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-29T03:17:16.132Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-29T03:17:16.163Z] ========================================================= [2022-08-29T03:17:16.163Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-29T03:17:16.163Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:17:16.676Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-29T03:17:17.274Z] Sending build context to Docker daemon 14.09MB [2022-08-29T03:17:17.274Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-29T03:17:17.274Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-29T03:17:17.560Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-29T03:17:17.560Z] b3c136eddcbf: Pulling fs layer [2022-08-29T03:17:17.560Z] c0a3192eca97: Pulling fs layer [2022-08-29T03:17:17.560Z] a050256f5b6f: Pulling fs layer [2022-08-29T03:17:17.560Z] 656be50a0ddc: Pulling fs layer [2022-08-29T03:17:17.560Z] 2bbca73fdf42: Pulling fs layer [2022-08-29T03:17:17.560Z] 46d945488cbd: Pulling fs layer [2022-08-29T03:17:17.560Z] 8a5474983e97: Pulling fs layer [2022-08-29T03:17:17.560Z] 329c88fbcd65: Pulling fs layer [2022-08-29T03:17:17.560Z] 8a5474983e97: Waiting [2022-08-29T03:17:17.560Z] 46d945488cbd: Waiting [2022-08-29T03:17:17.560Z] 656be50a0ddc: Waiting [2022-08-29T03:17:17.560Z] 2bbca73fdf42: Waiting [2022-08-29T03:17:17.560Z] 329c88fbcd65: Waiting [2022-08-29T03:17:17.560Z] a050256f5b6f: Verifying Checksum [2022-08-29T03:17:17.560Z] a050256f5b6f: Download complete [2022-08-29T03:17:17.560Z] c0a3192eca97: Verifying Checksum [2022-08-29T03:17:17.560Z] c0a3192eca97: Download complete [2022-08-29T03:17:17.560Z] 2bbca73fdf42: Download complete [2022-08-29T03:17:17.560Z] 46d945488cbd: Verifying Checksum [2022-08-29T03:17:17.560Z] 46d945488cbd: Download complete [2022-08-29T03:17:17.560Z] b3c136eddcbf: Verifying Checksum [2022-08-29T03:17:17.560Z] b3c136eddcbf: Download complete [2022-08-29T03:17:18.558Z] b3c136eddcbf: Pull complete [2022-08-29T03:17:18.558Z] 329c88fbcd65: Verifying Checksum [2022-08-29T03:17:18.558Z] 329c88fbcd65: Download complete [2022-08-29T03:17:19.167Z] c0a3192eca97: Pull complete [2022-08-29T03:17:19.444Z] a050256f5b6f: Pull complete [2022-08-29T03:17:19.720Z] 8a5474983e97: Verifying Checksum [2022-08-29T03:17:19.720Z] 8a5474983e97: Download complete [2022-08-29T03:17:20.701Z] 656be50a0ddc: Verifying Checksum [2022-08-29T03:17:20.701Z] 656be50a0ddc: Download complete [2022-08-29T03:17:33.118Z] 656be50a0ddc: Pull complete [2022-08-29T03:17:33.395Z] 2bbca73fdf42: Pull complete [2022-08-29T03:17:33.670Z] 46d945488cbd: Pull complete [2022-08-29T03:17:40.415Z] 8a5474983e97: Pull complete [2022-08-29T03:17:41.861Z] 329c88fbcd65: Pull complete [2022-08-29T03:17:42.136Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-29T03:17:42.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-29T03:17:42.137Z] ---> ff4287adb874 [2022-08-29T03:17:42.137Z] Step 3/13 : ARG MAKE="make build" [2022-08-29T03:17:44.126Z] ---> Running in 6e9fb7544dd0 [2022-08-29T03:17:44.126Z] Removing intermediate container 6e9fb7544dd0 [2022-08-29T03:17:44.126Z] ---> 534bda18376d [2022-08-29T03:17:44.126Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-29T03:17:44.126Z] ---> Running in f59327383752 [2022-08-29T03:17:44.404Z] Removing intermediate container f59327383752 [2022-08-29T03:17:44.404Z] ---> f8ef7157de40 [2022-08-29T03:17:44.404Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-29T03:17:44.678Z] ---> Running in 873e0f205906 [2022-08-29T03:17:44.956Z] Removing intermediate container 873e0f205906 [2022-08-29T03:17:44.956Z] ---> 95546c6aa05d [2022-08-29T03:17:44.956Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-29T03:17:44.956Z] ---> Running in 59667190fdb9 [2022-08-29T03:17:45.235Z] Removing intermediate container 59667190fdb9 [2022-08-29T03:17:45.235Z] ---> c16405302d4d [2022-08-29T03:17:45.235Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-29T03:17:45.235Z] ---> Running in 8b882d76ca85 [2022-08-29T03:17:47.227Z] Removing intermediate container 8b882d76ca85 [2022-08-29T03:17:47.227Z] ---> 2ac99537b6ec [2022-08-29T03:17:47.227Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-29T03:17:47.227Z] ---> Running in 6e8c8fe2cdd9 [2022-08-29T03:17:49.224Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-29T03:17:49.833Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-29T03:17:50.818Z] OK: 221 MiB in 51 packages [2022-08-29T03:17:51.422Z] Removing intermediate container 6e8c8fe2cdd9 [2022-08-29T03:17:51.422Z] ---> 0f0ca211906b [2022-08-29T03:17:51.422Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-29T03:17:51.422Z] ---> Running in acd340205f83 [2022-08-29T03:17:51.699Z] Removing intermediate container acd340205f83 [2022-08-29T03:17:51.699Z] ---> fe18e594880f [2022-08-29T03:17:51.699Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-29T03:17:52.301Z] ---> aed234f0418c [2022-08-29T03:17:52.301Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-29T03:17:52.301Z] ---> Running in 6087fb3b7394 [2022-08-29T03:18:48.850Z] Removing intermediate container 6087fb3b7394 [2022-08-29T03:18:48.850Z] ---> fa6aea985c4e [2022-08-29T03:18:48.850Z] Step 12/13 : COPY . . [2022-08-29T03:18:48.850Z] ---> 2c973404fecd [2022-08-29T03:18:48.850Z] Step 13/13 : RUN ${MAKE} [2022-08-29T03:18:48.850Z] ---> Running in 64fce907164f [2022-08-29T03:18:48.850Z] noop [2022-08-29T03:18:49.449Z] Removing intermediate container 64fce907164f [2022-08-29T03:18:49.449Z] ---> 386c882c6173 [2022-08-29T03:18:49.449Z] Successfully built 386c882c6173 [2022-08-29T03:18:49.449Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:18:49.923Z] + docker inspect -f . ci-base-image-arm64 [2022-08-29T03:18:49.923Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:18:50.218Z] prd-ubuntu20.04-docker-arm64-4c-16g-23750 does not seem to be running inside a container [2022-08-29T03:18:50.301Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-29T03:18:51.523Z] $ docker top cc4e678c7a6861477ac20464d30681f44266f183329af5aafc00c429e318fece -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T03:18:52.466Z] + go version [2022-08-29T03:18:52.466Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-29T03:18:52.504Z] $ docker stop --time=1 cc4e678c7a6861477ac20464d30681f44266f183329af5aafc00c429e318fece [2022-08-29T03:18:54.144Z] $ docker rm -f cc4e678c7a6861477ac20464d30681f44266f183329af5aafc00c429e318fece [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:18:55.060Z] + docker inspect -f . ci-base-image-arm64 [2022-08-29T03:18:55.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:18:55.347Z] prd-ubuntu20.04-docker-arm64-4c-16g-23750 does not seem to be running inside a container [2022-08-29T03:18:55.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-29T03:18:56.657Z] $ docker top 5eaf4ed230e3028024b61f65e9391439a60f1c4038e01efa14f90d547d8f26d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T03:18:57.589Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-08-29T03:18:58.316Z] + make test [2022-08-29T03:18:58.316Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-29T03:18:59.759Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-29T03:20:21.621Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-29T03:20:29.940Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.117s coverage: 10.5% of statements [2022-08-29T03:20:29.940Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-29T03:20:52.120Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.397s coverage: 13.8% of statements [2022-08-29T03:20:52.120Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-29T03:20:52.120Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-29T03:21:14.342Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-29T03:21:14.342Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-29T03:21:14.342Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-29T03:21:14.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-29T03:21:14.410Z] $ docker stop --time=1 5eaf4ed230e3028024b61f65e9391439a60f1c4038e01efa14f90d547d8f26d1 [2022-08-29T03:21:16.238Z] $ docker rm -f 5eaf4ed230e3028024b61f65e9391439a60f1c4038e01efa14f90d547d8f26d1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-29T03:21:17.404Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-29T03:21:17.442Z] Warning: overwriting stash ‘coverage-report’ [2022-08-29T03:21:18.253Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-29T03:21:18.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-29T03:21:19.221Z] + ls -al . [2022-08-29T03:21:19.221Z] total 228 [2022-08-29T03:21:19.221Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 29 03:18 . [2022-08-29T03:21:19.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:16 .. [2022-08-29T03:21:19.221Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 03:16 .git [2022-08-29T03:21:19.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:16 .github [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 29 03:16 .gitignore [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 29 03:16 .golangci.yml [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 29 03:16 Attribution.txt [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 29 03:16 CHANGELOG.md [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 29 03:16 Dockerfile [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 03:16 GOVERNANCE.md [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 29 03:16 Jenkinsfile [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 29 03:16 LICENSE [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 29 03:16 Makefile [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 29 03:16 OWNERS.md [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 29 03:16 README.md [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 29 03:14 VERSION [2022-08-29T03:21:19.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 03:16 bin [2022-08-29T03:21:19.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:16 cmd [2022-08-29T03:21:19.221Z] -rw-r--r-- 1 jenkins jenkins 77822 Aug 29 03:20 coverage.out [2022-08-29T03:21:19.221Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 29 03:16 doc [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 29 03:16 go.mod [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 29 03:16 go.sum [2022-08-29T03:21:19.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:16 internal [2022-08-29T03:21:19.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:16 snap [2022-08-29T03:21:19.221Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 29 03:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:21:19.651Z] + 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=7fdb570f67acbbcb31debbaa30cbaf156f58b692 --label arch=arm64 --label version=0.0.0 . [2022-08-29T03:21:20.251Z] Sending build context to Docker daemon 14.16MB [2022-08-29T03:21:20.251Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-29T03:21:20.251Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-29T03:21:20.251Z] ---> 386c882c6173 [2022-08-29T03:21:20.251Z] Step 3/26 : ARG MAKE="make build" [2022-08-29T03:21:20.251Z] ---> Running in 52c13c9a2c69 [2022-08-29T03:21:20.526Z] Removing intermediate container 52c13c9a2c69 [2022-08-29T03:21:20.526Z] ---> 0bef0d3d5bf7 [2022-08-29T03:21:20.526Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-29T03:21:20.812Z] ---> Running in 432cd3c15b40 [2022-08-29T03:21:21.086Z] Removing intermediate container 432cd3c15b40 [2022-08-29T03:21:21.086Z] ---> 2229bcb324ea [2022-08-29T03:21:21.087Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-29T03:21:21.087Z] ---> Running in 2929e64a962d [2022-08-29T03:21:21.361Z] Removing intermediate container 2929e64a962d [2022-08-29T03:21:21.362Z] ---> 4861ee4ee0be [2022-08-29T03:21:21.362Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-29T03:21:21.362Z] ---> Running in 16b894021e48 [2022-08-29T03:21:21.634Z] Removing intermediate container 16b894021e48 [2022-08-29T03:21:21.634Z] ---> 4a1e4bbf1c24 [2022-08-29T03:21:21.634Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-29T03:21:21.919Z] ---> Running in 587c99ab967b [2022-08-29T03:21:23.356Z] Removing intermediate container 587c99ab967b [2022-08-29T03:21:23.356Z] ---> c1f5223024ae [2022-08-29T03:21:23.356Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-29T03:21:23.641Z] ---> Running in 1c7c657f346c [2022-08-29T03:21:24.619Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-29T03:21:25.598Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-29T03:21:26.586Z] OK: 221 MiB in 51 packages [2022-08-29T03:21:27.184Z] Removing intermediate container 1c7c657f346c [2022-08-29T03:21:27.184Z] ---> 87fb1fdd55f1 [2022-08-29T03:21:27.184Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-29T03:21:27.184Z] ---> Running in a55bbccb79ce [2022-08-29T03:21:27.458Z] Removing intermediate container a55bbccb79ce [2022-08-29T03:21:27.458Z] ---> 2af568fe5518 [2022-08-29T03:21:27.458Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-29T03:21:28.064Z] ---> f852adbb5a40 [2022-08-29T03:21:28.064Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-29T03:21:28.064Z] ---> Running in 3f7113b70d1a [2022-08-29T03:21:30.065Z] Removing intermediate container 3f7113b70d1a [2022-08-29T03:21:30.065Z] ---> 89412767711b [2022-08-29T03:21:30.065Z] Step 12/26 : COPY . . [2022-08-29T03:21:31.504Z] ---> bd9caae41474 [2022-08-29T03:21:31.504Z] Step 13/26 : RUN ${MAKE} [2022-08-29T03:21:31.504Z] ---> Running in 8132e4bb3e72 [2022-08-29T03:21:32.490Z] 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-29T03:23:54.376Z] Removing intermediate container 8132e4bb3e72 [2022-08-29T03:23:54.376Z] ---> 73287dd1de82 [2022-08-29T03:23:54.376Z] Step 14/26 : FROM alpine:3.16 [2022-08-29T03:23:54.376Z] 3.16: Pulling from library/alpine [2022-08-29T03:23:54.376Z] 9b18e9b68314: Pulling fs layer [2022-08-29T03:23:54.376Z] 9b18e9b68314: Verifying Checksum [2022-08-29T03:23:54.376Z] 9b18e9b68314: Download complete [2022-08-29T03:23:54.376Z] 9b18e9b68314: Pull complete [2022-08-29T03:23:54.376Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-29T03:23:54.376Z] Status: Downloaded newer image for alpine:3.16 [2022-08-29T03:23:54.376Z] ---> a6215f271958 [2022-08-29T03:23:54.376Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-29T03:23:54.376Z] ---> Running in 86b95b6afc35 [2022-08-29T03:23:54.376Z] Removing intermediate container 86b95b6afc35 [2022-08-29T03:23:54.376Z] ---> 6bc8864eae20 [2022-08-29T03:23:54.376Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-29T03:23:54.376Z] ---> Running in 954abacdaa8c [2022-08-29T03:23:54.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-29T03:23:54.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-29T03:23:54.376Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-29T03:23:54.377Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-29T03:23:54.377Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-29T03:23:54.377Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-29T03:23:54.377Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-29T03:23:54.377Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-29T03:23:54.377Z] Executing busybox-1.35.0-r17.trigger [2022-08-29T03:23:54.377Z] OK: 8 MiB in 20 packages [2022-08-29T03:23:54.377Z] Removing intermediate container 954abacdaa8c [2022-08-29T03:23:54.377Z] ---> 0f2aafc0ed89 [2022-08-29T03:23:54.377Z] Step 17/26 : WORKDIR / [2022-08-29T03:23:54.377Z] ---> Running in c749d6f01365 [2022-08-29T03:23:54.377Z] Removing intermediate container c749d6f01365 [2022-08-29T03:23:54.377Z] ---> 752896ea89a4 [2022-08-29T03:23:54.377Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-29T03:23:54.377Z] ---> 4353e74b476b [2022-08-29T03:23:54.377Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-29T03:23:54.377Z] ---> 7e724bbef96e [2022-08-29T03:23:54.377Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-29T03:23:54.377Z] ---> 3b7a6516715f [2022-08-29T03:23:54.377Z] Step 21/26 : EXPOSE 59984 [2022-08-29T03:23:54.377Z] ---> Running in 878bd6195200 [2022-08-29T03:23:54.377Z] Removing intermediate container 878bd6195200 [2022-08-29T03:23:54.377Z] ---> 7b9eae294571 [2022-08-29T03:23:54.377Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-29T03:23:54.377Z] ---> Running in a35a0f6484b9 [2022-08-29T03:23:54.377Z] Removing intermediate container a35a0f6484b9 [2022-08-29T03:23:54.377Z] ---> 46caac6bf7f4 [2022-08-29T03:23:54.377Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-29T03:23:54.377Z] ---> Running in f8beea4651d1 [2022-08-29T03:23:54.377Z] Removing intermediate container f8beea4651d1 [2022-08-29T03:23:54.377Z] ---> 84377384a270 [2022-08-29T03:23:54.377Z] Step 24/26 : LABEL arch=arm64 [2022-08-29T03:23:54.377Z] ---> Running in 02ec79902173 [2022-08-29T03:23:54.377Z] Removing intermediate container 02ec79902173 [2022-08-29T03:23:54.377Z] ---> c316923b5a9a [2022-08-29T03:23:54.377Z] Step 25/26 : LABEL git_sha=7fdb570f67acbbcb31debbaa30cbaf156f58b692 [2022-08-29T03:23:54.377Z] ---> Running in 710b5fe4a22f [2022-08-29T03:23:54.377Z] Removing intermediate container 710b5fe4a22f [2022-08-29T03:23:54.377Z] ---> 9d7801ca971b [2022-08-29T03:23:54.377Z] Step 26/26 : LABEL version=0.0.0 [2022-08-29T03:23:54.377Z] ---> Running in 22624984a904 [2022-08-29T03:23:54.377Z] Removing intermediate container 22624984a904 [2022-08-29T03:23:54.377Z] ---> e7ee16a45f6c [2022-08-29T03:23:54.377Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-29T03:23:54.377Z] Successfully built e7ee16a45f6c [2022-08-29T03:23:54.377Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:23:55.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-29T03:23:55.224Z] [2022-08-29T03:23:55.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:23:55.646Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-29T03:23:55.921Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-29T03:23:55.921Z] 8998bd30e6a1: Pulling fs layer [2022-08-29T03:23:55.921Z] 04944245beec: Pulling fs layer [2022-08-29T03:23:55.921Z] 699f458cf7ca: Pulling fs layer [2022-08-29T03:23:55.921Z] 765212b225bb: Pulling fs layer [2022-08-29T03:23:55.921Z] f23df028b6ca: Pulling fs layer [2022-08-29T03:23:55.921Z] d65c8cfc05b1: Pulling fs layer [2022-08-29T03:23:55.921Z] 2437ff75d9bd: Pulling fs layer [2022-08-29T03:23:55.921Z] f23df028b6ca: Waiting [2022-08-29T03:23:55.921Z] d65c8cfc05b1: Waiting [2022-08-29T03:23:55.921Z] 2437ff75d9bd: Waiting [2022-08-29T03:23:55.921Z] 765212b225bb: Waiting [2022-08-29T03:23:55.921Z] 04944245beec: Verifying Checksum [2022-08-29T03:23:55.921Z] 04944245beec: Download complete [2022-08-29T03:23:55.921Z] 765212b225bb: Verifying Checksum [2022-08-29T03:23:55.921Z] 765212b225bb: Download complete [2022-08-29T03:23:55.921Z] f23df028b6ca: Verifying Checksum [2022-08-29T03:23:55.921Z] f23df028b6ca: Download complete [2022-08-29T03:23:55.921Z] d65c8cfc05b1: Verifying Checksum [2022-08-29T03:23:55.921Z] d65c8cfc05b1: Download complete [2022-08-29T03:23:56.200Z] 699f458cf7ca: Verifying Checksum [2022-08-29T03:23:56.200Z] 699f458cf7ca: Download complete [2022-08-29T03:23:56.476Z] 8998bd30e6a1: Verifying Checksum [2022-08-29T03:23:56.476Z] 8998bd30e6a1: Download complete [2022-08-29T03:23:59.114Z] 2437ff75d9bd: Verifying Checksum [2022-08-29T03:23:59.114Z] 2437ff75d9bd: Download complete [2022-08-29T03:24:01.096Z] 8998bd30e6a1: Pull complete [2022-08-29T03:24:01.369Z] 04944245beec: Pull complete [2022-08-29T03:24:02.810Z] 699f458cf7ca: Pull complete [2022-08-29T03:24:03.084Z] 765212b225bb: Pull complete [2022-08-29T03:24:04.066Z] f23df028b6ca: Pull complete [2022-08-29T03:24:04.066Z] d65c8cfc05b1: Pull complete [2022-08-29T03:24:19.153Z] 2437ff75d9bd: Pull complete [2022-08-29T03:24:19.153Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-29T03:24:19.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-29T03:24:19.153Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:24:19.562Z] prd-ubuntu20.04-docker-arm64-4c-16g-23750 does not seem to be running inside a container [2022-08-29T03:24:19.652Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-29T03:24:22.188Z] $ docker top af3d53a78e59d5538d1352cdda92a7a7f8e19ff8dc665ab63e55c1699af43b67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:24:23.150Z] ---> job-cost.sh [2022-08-29T03:24:23.150Z] lf-activate-venv: SKIPPING [2022-08-29T03:24:23.150Z] INFO: No Stack... [2022-08-29T03:24:24.122Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-29T03:24:24.714Z] INFO: Archiving Costs [Pipeline] sh [2022-08-29T03:24:25.438Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-08-29T03:24:25.438Z] + cut -d, -f6 [Pipeline] lock [2022-08-29T03:24:25.536Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] [2022-08-29T03:24:25.541Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] did not exist. Created. [2022-08-29T03:24:25.541Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-29T03:24:26.349Z] /w/workspace/device-onvif-camera/1@tmp/durable-66907138/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-29T03:24:27.079Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-29T03:24:27.114Z] Warning: overwriting stash ‘stack-cost’ [2022-08-29T03:24:27.171Z] Stashed 1 file(s) [Pipeline] } [2022-08-29T03:24:27.186Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-29T03:24:27.269Z] $ docker stop --time=1 af3d53a78e59d5538d1352cdda92a7a7f8e19ff8dc665ab63e55c1699af43b67 [2022-08-29T03:24:28.773Z] $ docker rm -f af3d53a78e59d5538d1352cdda92a7a7f8e19ff8dc665ab63e55c1699af43b67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-29T03:24:29.794Z] provisioning config files... [2022-08-29T03:24:29.805Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-146@tmp/config602892633549484258tmp [Pipeline] { [Pipeline] sh [2022-08-29T03:24:30.134Z] + set +x [2022-08-29T03:24:30.134Z] + curl -s https://codecov.io/bash [2022-08-29T03:24:30.134Z] + bash -s -- [2022-08-29T03:24:30.134Z] [2022-08-29T03:24:30.134Z] _____ _ [2022-08-29T03:24:30.134Z] / ____| | | [2022-08-29T03:24:30.134Z] | | ___ __| | ___ ___ _____ __ [2022-08-29T03:24:30.134Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-29T03:24:30.134Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-29T03:24:30.134Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-29T03:24:30.134Z] Bash-1.0.6 [2022-08-29T03:24:30.134Z] [2022-08-29T03:24:30.134Z] [2022-08-29T03:24:30.134Z] ==> git version 2.25.1 found [2022-08-29T03:24:30.134Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-29T03:24:30.134Z] Release-Date: 2020-01-08 [2022-08-29T03:24:30.134Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-29T03:24:30.134Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-29T03:24:30.134Z] ==> Jenkins CI detected. [2022-08-29T03:24:30.134Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-146 [2022-08-29T03:24:30.134Z] project root: . [2022-08-29T03:24:30.134Z] --> token set from env [2022-08-29T03:24:30.134Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-29T03:24:30.134Z] ==> Running gcov in . (disable via -X gcov) [2022-08-29T03:24:30.134Z] ==> Python coveragepy not found [2022-08-29T03:24:30.134Z] ==> Searching for coverage reports in: [2022-08-29T03:24:30.134Z] + . [2022-08-29T03:24:30.134Z] -> Found 1 reports [2022-08-29T03:24:30.134Z] ==> Detecting git/mercurial file structure [2022-08-29T03:24:30.397Z] ==> Reading reports [2022-08-29T03:24:30.397Z] + ./coverage.out bytes=77822 [2022-08-29T03:24:30.397Z] ==> Appending adjustments [2022-08-29T03:24:30.397Z] https://docs.codecov.io/docs/fixing-reports [2022-08-29T03:24:30.397Z] + Found adjustments [2022-08-29T03:24:30.397Z] ==> Gzipping contents [2022-08-29T03:24:30.397Z] 12K /tmp/codecov.6vYFYJ.gz [2022-08-29T03:24:30.397Z] ==> Uploading reports [2022-08-29T03:24:30.397Z] url: https://codecov.io [2022-08-29T03:24:30.397Z] query: branch=PR-146&commit=7fdb570f67acbbcb31debbaa30cbaf156f58b692&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=146&job=&cmd_args= [2022-08-29T03:24:30.397Z] -> Pinging Codecov [2022-08-29T03:24:30.397Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-146&commit=7fdb570f67acbbcb31debbaa30cbaf156f58b692&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=146&job=&cmd_args= [2022-08-29T03:24:30.658Z] -> Uploading to [2022-08-29T03:24:30.658Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-29/F29A59C45E3A92E06B3E522C9905F8EF/7fdb570f67acbbcb31debbaa30cbaf156f58b692/ee2531da-747a-423d-b169-34add7b29f25.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220829%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220829T032430Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5c54c57bc57060e6923fe8e2bad30da6b7fbf5a04675bdcdf62010bd8edb18cd [2022-08-29T03:24:30.658Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-29T03:24:30.658Z] Dload Upload Total Spent Left Speed [2022-08-29T03:24:30.919Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10481 0 0 100 10481 0 44411 --:--:-- --:--:-- --:--:-- 44411 [2022-08-29T03:24:30.919Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/7fdb570f67acbbcb31debbaa30cbaf156f58b692 [Pipeline] } [2022-08-29T03:24:30.949Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-29T03:24:32.672Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-146/archives ] [2022-08-29T03:24:32.672Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-146/archives [2022-08-29T03:24:32.672Z] total 16 [2022-08-29T03:24:32.672Z] drwxr-xr-x 3 root root 4096 Aug 29 03:16 . [2022-08-29T03:24:32.672Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 03:16 .. [2022-08-29T03:24:32.672Z] drwxr-xr-x 2 root root 4096 Aug 29 03:16 cost [2022-08-29T03:24:32.672Z] -rw-r--r-- 1 root root 91 Aug 29 03:16 cost.csv [2022-08-29T03:24:32.672Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-146/archives [2022-08-29T03:24:32.672Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-146/archives [2022-08-29T03:24:32.672Z] total 16 [2022-08-29T03:24:32.672Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 03:16 . [2022-08-29T03:24:32.672Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 03:16 .. [2022-08-29T03:24:32.672Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 29 03:16 cost [2022-08-29T03:24:32.672Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 29 03:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:24:33.015Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:24:33.909Z] ---> package-listing.sh [2022-08-29T03:24:33.909Z] ++ facter osfamily [2022-08-29T03:24:33.909Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-29T03:24:34.171Z] + OS_FAMILY=debian [2022-08-29T03:24:34.171Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-146 [2022-08-29T03:24:34.171Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-29T03:24:34.171Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-29T03:24:34.171Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-29T03:24:34.171Z] + PACKAGES=/tmp/packages_start.txt [2022-08-29T03:24:34.171Z] + '[' /w/workspace/undry_device-onvif-camera_PR-146 ']' [2022-08-29T03:24:34.171Z] + PACKAGES=/tmp/packages_end.txt [2022-08-29T03:24:34.171Z] + case "${OS_FAMILY}" in [2022-08-29T03:24:34.171Z] + dpkg -l [2022-08-29T03:24:34.171Z] + grep '^ii' [2022-08-29T03:24:34.171Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-29T03:24:34.171Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-29T03:24:34.171Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-29T03:24:34.171Z] + '[' /w/workspace/undry_device-onvif-camera_PR-146 ']' [2022-08-29T03:24:34.171Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-146/archives/ [2022-08-29T03:24:34.171Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-146/archives/ [Pipeline] echo [2022-08-29T03:24:34.206Z] 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-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-29T03:24:34.499Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:24:35.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-29T03:24:35.127Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:24:35.284Z] prd-ubuntu20.04-docker-8c-8g-23749 does not seem to be running inside a container [2022-08-29T03:24:35.311Z] $ 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-146/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-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-29T03:24:35.495Z] $ docker top ded58c55dc442685d361998c25d2a485dc667d9b105bd01807ef242534ab9e37 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T03:24:35.905Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-29T03:24:36.214Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-29T03:24:36.527Z] + ls /var/log/sa-host [2022-08-29T03:24:36.527Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-29T03:24:36.738Z] provisioning config files... [2022-08-29T03:24:36.747Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-146@tmp/config821134285199283694tmp [Pipeline] { [Pipeline] echo [2022-08-29T03:24:36.796Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:24:37.111Z] ---> create-netrc.sh [Pipeline] } [2022-08-29T03:24:37.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:24:37.549Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-29T03:24:37.581Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:24:37.899Z] ---> sudo-logs.sh [2022-08-29T03:24:37.900Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-29T03:24:37.979Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:24:38.292Z] ---> job-cost.sh [2022-08-29T03:24:38.292Z] lf-activate-venv: SKIPPING [2022-08-29T03:24:38.292Z] DEBUG: total: 0.2199999988079071 [2022-08-29T03:24:38.292Z] INFO: Retrieving Stack Cost... [2022-08-29T03:24:38.552Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-29T03:24:39.122Z] INFO: Archiving Costs [Pipeline] echo [2022-08-29T03:24:39.159Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:24:39.547Z] ---> logs-deploy.sh [2022-08-29T03:24:39.547Z] lf-activate-venv: SKIPPING [2022-08-29T03:24:39.547Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-146/1 [2022-08-29T03:24:39.547Z] INFO: archiving workspace using pattern(s): [2022-08-29T03:24:40.487Z] Archives upload complete. [2022-08-29T03:24:40.487Z] INFO: archiving logs to Nexus