Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 18118626ca0893b728531bfc2ef8f97357a298a2 rather than f92c7211e63df553c60284b71f5b9253c4ebb8b3 Obtained Jenkinsfile from 18118626ca0893b728531bfc2ef8f97357a298a2 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-ssh12448143064957733711.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh8016296348659349867.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11377595613176706089.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 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-ssh7621944729754592650.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12174066618771059213.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [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-250 in /w/workspace/oundry_device-onvif-camera_PR-65 [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/oundry_device-onvif-camera_PR-65 # 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 > 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/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit f92c7211e63df553c60284b71f5b9253c4ebb8b3 Merge succeeded, producing adb884d8668282ad178a3bdff0c37f789c00adfd Checking out Revision adb884d8668282ad178a3bdff0c37f789c00adfd (PR-65) > git config core.sparsecheckout # timeout=10 > git checkout -f f92c7211e63df553c60284b71f5b9253c4ebb8b3 # 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 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adb884d8668282ad178a3bdff0c37f789c00adfd # timeout=10 Commit message: "Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-27T10:10:39.122Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-27T10:10:39.160Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-27T10:10:39.182Z] ========================================================= [2022-05-27T10:10:39.182Z] EdgeX Global Pipelines Version Info [2022-05-27T10:10:39.182Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 807ec9d7b7af48af72e33211e43297a64da5e492 # timeout=10 [2022-05-27T10:10:39.946Z] ------------------- [2022-05-27T10:10:39.946Z] stable info: [2022-05-27T10:10:39.946Z] ------------------- [2022-05-27T10:10:39.946Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-27T10:10:39.946Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-27T10:10:39.946Z] Message: update stable to v1.0.230 [2022-05-27T10:10:40.522Z] ------------------- [2022-05-27T10:10:40.522Z] experimental info: [2022-05-27T10:10:40.522Z] ------------------- [2022-05-27T10:10:40.522Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-27T10:10:40.522Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-27T10:10:40.522Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-27T10:10:40.684Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-05-27T10:10:40.692Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-05-27T10:10:40.700Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-27T10:10:40.708Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-27T10:10:40.715Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-27T10:10:40.723Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-27T10:10:40.732Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-27T10:10:40.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-27T10:10:40.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-27T10:10:40.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-27T10:10:40.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-27T10:10:40.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-05-27T10:10:40.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-27T10:10:40.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-27T10:10:40.798Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-27T10:10:40.805Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-27T10:10:40.813Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-27T10:10:40.821Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-27T10:10:40.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-27T10:10:40.836Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-27T10:10:40.844Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-27T10:10:40.851Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-27T10:10:40.859Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-27T10:10:40.867Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-27T10:10:40.877Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-27T10:10:40.891Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-27T10:10:40.902Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo [2022-05-27T10:10:40.914Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo [2022-05-27T10:10:40.924Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo [2022-05-27T10:10:40.939Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adb884d8668282ad178a3bdff0c37f789c00adfd [Pipeline] echo [2022-05-27T10:10:40.949Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adb884d [Pipeline] echo [2022-05-27T10:10:40.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T10:10:40.991Z] provisioning config files... [2022-05-27T10:10:41.010Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config6104703717880822646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T10:10:41.316Z] ---> docker-login.sh [2022-05-27T10:10:41.316Z] nexus3.edgexfoundry.org:10001 [2022-05-27T10:10:41.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:10:41.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:10:41.580Z] Configure a credential helper to remove this warning. See [2022-05-27T10:10:41.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:10:41.580Z] [2022-05-27T10:10:41.580Z] Login Succeeded [2022-05-27T10:10:41.580Z] nexus3.edgexfoundry.org:10002 [2022-05-27T10:10:41.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:10:41.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:10:41.841Z] Configure a credential helper to remove this warning. See [2022-05-27T10:10:41.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:10:41.841Z] [2022-05-27T10:10:41.841Z] Login Succeeded [2022-05-27T10:10:41.841Z] nexus3.edgexfoundry.org:10003 [2022-05-27T10:10:41.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:10:41.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:10:41.841Z] Configure a credential helper to remove this warning. See [2022-05-27T10:10:41.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:10:41.841Z] [2022-05-27T10:10:41.841Z] Login Succeeded [2022-05-27T10:10:41.841Z] nexus3.edgexfoundry.org:10004 [2022-05-27T10:10:42.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:10:42.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:10:42.102Z] Configure a credential helper to remove this warning. See [2022-05-27T10:10:42.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:10:42.102Z] [2022-05-27T10:10:42.102Z] Login Succeeded [2022-05-27T10:10:42.102Z] docker.io [2022-05-27T10:10:42.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:10:42.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:10:42.675Z] Configure a credential helper to remove this warning. See [2022-05-27T10:10:42.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:10:42.675Z] [2022-05-27T10:10:42.675Z] Login Succeeded [2022-05-27T10:10:42.675Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T10:10:42.685Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-27T10:10:43.047Z] + git rev-list -1 --merges adb884d8668282ad178a3bdff0c37f789c00adfd~1..adb884d8668282ad178a3bdff0c37f789c00adfd [Pipeline] echo [2022-05-27T10:10:43.073Z] -----------> git rev-list -1 --merges adb884d8668282ad178a3bdff0c37f789c00adfd~1..adb884d8668282ad178a3bdff0c37f789c00adfd adb884d8668282ad178a3bdff0c37f789c00adfd [2022-05-27T10:10:43.073Z] adb884d8668282ad178a3bdff0c37f789c00adfd [false] [Pipeline] sh [2022-05-27T10:10:43.361Z] + git log --format=format:%s -1 adb884d8668282ad178a3bdff0c37f789c00adfd [Pipeline] echo [2022-05-27T10:10:43.377Z] ========================================================= [2022-05-27T10:10:43.377Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-27T10:10:43.377Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T10:10:43.724Z] + git log --format=format:%s -1 adb884d8668282ad178a3bdff0c37f789c00adfd [Pipeline] echo [2022-05-27T10:10:43.737Z] [semverPrep] GIT_COMMIT: adb884d8668282ad178a3bdff0c37f789c00adfd, Commit Message: Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD [Pipeline] echo [2022-05-27T10:10:43.747Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-27T10:10:44.111Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-27T10:10:44.112Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-27T10:10:44.112Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-27T10:10:44.112Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-27T10:10:44.112Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-27T10:10:44.112Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-27T10:10:44.112Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T10:10:44.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T10:10:44.533Z] [2022-05-27T10:10:44.533Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T10:10:44.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T10:10:44.840Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-27T10:10:44.840Z] 1fe172e4850f: Pulling fs layer [2022-05-27T10:10:44.840Z] caf521ccaac6: Pulling fs layer [2022-05-27T10:10:44.840Z] 3ead6fa29328: Pulling fs layer [2022-05-27T10:10:44.840Z] 5c2a1cbceb83: Pulling fs layer [2022-05-27T10:10:44.840Z] a8d5f1318db7: Pulling fs layer [2022-05-27T10:10:44.840Z] c427282e49a2: Pulling fs layer [2022-05-27T10:10:44.840Z] 1827001aaf11: Pulling fs layer [2022-05-27T10:10:44.840Z] 0714d37db230: Pulling fs layer [2022-05-27T10:10:44.840Z] ac28cf19c067: Pulling fs layer [2022-05-27T10:10:44.840Z] ca983d60f3e2: Pulling fs layer [2022-05-27T10:10:44.840Z] 9f894cec8388: Pulling fs layer [2022-05-27T10:10:44.840Z] ac28cf19c067: Waiting [2022-05-27T10:10:44.840Z] ca983d60f3e2: Waiting [2022-05-27T10:10:44.840Z] 9f894cec8388: Waiting [2022-05-27T10:10:44.840Z] 5c2a1cbceb83: Waiting [2022-05-27T10:10:44.840Z] a8d5f1318db7: Waiting [2022-05-27T10:10:44.840Z] c427282e49a2: Waiting [2022-05-27T10:10:44.840Z] 1827001aaf11: Waiting [2022-05-27T10:10:44.840Z] 0714d37db230: Waiting [2022-05-27T10:10:44.840Z] caf521ccaac6: Download complete [2022-05-27T10:10:44.840Z] 5c2a1cbceb83: Verifying Checksum [2022-05-27T10:10:44.840Z] 5c2a1cbceb83: Download complete [2022-05-27T10:10:45.102Z] a8d5f1318db7: Verifying Checksum [2022-05-27T10:10:45.102Z] a8d5f1318db7: Download complete [2022-05-27T10:10:45.102Z] 3ead6fa29328: Verifying Checksum [2022-05-27T10:10:45.102Z] 3ead6fa29328: Download complete [2022-05-27T10:10:45.102Z] c427282e49a2: Verifying Checksum [2022-05-27T10:10:45.102Z] c427282e49a2: Download complete [2022-05-27T10:10:45.102Z] 0714d37db230: Verifying Checksum [2022-05-27T10:10:45.102Z] ac28cf19c067: Verifying Checksum [2022-05-27T10:10:45.102Z] ac28cf19c067: Download complete [2022-05-27T10:10:45.102Z] ca983d60f3e2: Download complete [2022-05-27T10:10:45.102Z] 9f894cec8388: Download complete [2022-05-27T10:10:45.102Z] 1fe172e4850f: Verifying Checksum [2022-05-27T10:10:45.102Z] 1fe172e4850f: Download complete [2022-05-27T10:10:45.362Z] 1827001aaf11: Verifying Checksum [2022-05-27T10:10:45.362Z] 1827001aaf11: Download complete [2022-05-27T10:10:46.751Z] 1fe172e4850f: Pull complete [2022-05-27T10:10:46.751Z] caf521ccaac6: Pull complete [2022-05-27T10:10:47.013Z] 3ead6fa29328: Pull complete [2022-05-27T10:10:47.279Z] 5c2a1cbceb83: Pull complete [2022-05-27T10:10:47.541Z] a8d5f1318db7: Pull complete [2022-05-27T10:10:47.541Z] c427282e49a2: Pull complete [2022-05-27T10:10:50.110Z] 1827001aaf11: Pull complete [2022-05-27T10:10:50.110Z] 0714d37db230: Pull complete [2022-05-27T10:10:50.110Z] ac28cf19c067: Pull complete [2022-05-27T10:10:50.110Z] ca983d60f3e2: Pull complete [2022-05-27T10:10:50.110Z] 9f894cec8388: Pull complete [2022-05-27T10:10:50.110Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-27T10:10:50.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T10:10:50.110Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T10:10:50.217Z] prd-ubuntu20.04-docker-8c-8g-250 does not seem to be running inside a container [2022-05-27T10:10:50.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-27T10:10:51.640Z] $ docker top 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa -eo pid,comm [2022-05-27T10:10:51.718Z] 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-05-27T10:10:51.718Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-27T10:10:51.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-27T10:10:51.758Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-27T10:10:51.905Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-27T10:10:51.911Z] $ docker exec 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa ssh-agent [2022-05-27T10:10:52.045Z] SSH_AUTH_SOCK=/tmp/ssh-LGNjFeElhfHt/agent.32 [2022-05-27T10:10:52.046Z] SSH_AGENT_PID=39 [2022-05-27T10:10:52.051Z] Running ssh-add (command line suppressed) [2022-05-27T10:10:52.185Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_1884189479293983872.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_1884189479293983872.key) [2022-05-27T10:10:52.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-27T10:10:52.494Z] + git tag --points-at HEAD [Pipeline] } [2022-05-27T10:10:52.523Z] $ docker exec --env ******** --env ******** 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa ssh-agent -k [2022-05-27T10:10:52.636Z] unset SSH_AUTH_SOCK; [2022-05-27T10:10:52.637Z] unset SSH_AGENT_PID; [2022-05-27T10:10:52.637Z] echo Agent pid 39 killed; [2022-05-27T10:10:52.647Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-27T10:10:52.671Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-27T10:10:52.671Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-27T10:10:52.810Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-27T10:10:52.816Z] $ docker exec 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa ssh-agent [2022-05-27T10:10:52.940Z] SSH_AUTH_SOCK=/tmp/ssh-7mlTHk7Tan76/agent.72 [2022-05-27T10:10:52.940Z] SSH_AGENT_PID=78 [2022-05-27T10:10:52.948Z] Running ssh-add (command line suppressed) [2022-05-27T10:10:53.072Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_3484265124608544190.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_3484265124608544190.key) [2022-05-27T10:10:53.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-27T10:10:53.376Z] + git semver init [2022-05-27T10:10:53.637Z] 2022-05-27 10:10:53,557 [run_init] DEBUG init version:0.0.0 force:False [2022-05-27T10:10:53.637Z] 2022-05-27 10:10:53,558 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-65/.semver [2022-05-27T10:10:53.637Z] 2022-05-27 10:10:53,558 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-65/.semver [2022-05-27T10:10:53.637Z] 2022-05-27 10:10:53,559 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-65/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-65, universal_newlines=False, shell=None, istream=None) [2022-05-27T10:10:54.583Z] 2022-05-27 10:10:54,227 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-65/.git/info/exclude [2022-05-27T10:10:54.583Z] 2022-05-27 10:10:54,227 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 with force:False [2022-05-27T10:10:54.583Z] 2022-05-27 10:10:54,227 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 [2022-05-27T10:10:54.583Z] 2022-05-27 10:10:54,227 [write_version] DEBUG version is same as current version 0.0.0 [2022-05-27T10:10:54.583Z] 2022-05-27 10:10:54,228 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 [2022-05-27T10:10:54.583Z] 0.0.0 [Pipeline] } [2022-05-27T10:10:54.597Z] $ docker exec --env ******** --env ******** 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa ssh-agent -k [2022-05-27T10:10:54.716Z] unset SSH_AUTH_SOCK; [2022-05-27T10:10:54.716Z] unset SSH_AGENT_PID; [2022-05-27T10:10:54.716Z] echo Agent pid 78 killed; [2022-05-27T10:10:54.730Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-27T10:10:55.036Z] + git semver [Pipeline] } [2022-05-27T10:10:55.315Z] $ docker stop --time=1 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa [2022-05-27T10:10:56.698Z] $ docker rm -f 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T10:10:57.055Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-27T10:10:57.321Z] Stashed 1 file(s) [Pipeline] echo [2022-05-27T10:10:57.323Z] [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-05-27T10:10:57.424Z] provisioning config files... [2022-05-27T10:10:57.435Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config3766102432773013815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T10:10:57.736Z] ---> docker-login.sh [2022-05-27T10:10:57.736Z] nexus3.edgexfoundry.org:10001 [2022-05-27T10:10:57.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:10:57.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:10:57.736Z] Configure a credential helper to remove this warning. See [2022-05-27T10:10:57.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:10:57.736Z] [2022-05-27T10:10:57.736Z] Login Succeeded [2022-05-27T10:10:57.736Z] nexus3.edgexfoundry.org:10002 [2022-05-27T10:10:57.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:10:57.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:10:57.997Z] Configure a credential helper to remove this warning. See [2022-05-27T10:10:57.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:10:57.997Z] [2022-05-27T10:10:57.997Z] Login Succeeded [2022-05-27T10:10:57.997Z] nexus3.edgexfoundry.org:10003 [2022-05-27T10:10:57.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:10:57.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:10:57.997Z] Configure a credential helper to remove this warning. See [2022-05-27T10:10:57.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:10:57.997Z] [2022-05-27T10:10:57.997Z] Login Succeeded [2022-05-27T10:10:57.997Z] nexus3.edgexfoundry.org:10004 [2022-05-27T10:10:58.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:10:58.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:10:58.266Z] Configure a credential helper to remove this warning. See [2022-05-27T10:10:58.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:10:58.266Z] [2022-05-27T10:10:58.266Z] Login Succeeded [2022-05-27T10:10:58.266Z] docker.io [2022-05-27T10:10:58.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:10:58.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:10:58.528Z] Configure a credential helper to remove this warning. See [2022-05-27T10:10:58.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:10:58.528Z] [2022-05-27T10:10:58.528Z] Login Succeeded [2022-05-27T10:10:58.528Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T10:10:58.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-27T10:10:58.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-27T10:10:58.612Z] ========================================================= [2022-05-27T10:10:58.612Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-27T10:10:58.612Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T10:10:58.930Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-27T10:10:58.930Z] Sending build context to Docker daemon 8.775MB [2022-05-27T10:10:58.930Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T10:10:58.930Z] Step 2/13 : FROM ${BASE} AS builder [2022-05-27T10:10:58.930Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-27T10:10:58.930Z] 59bf1c3509f3: Pulling fs layer [2022-05-27T10:10:58.930Z] 666ba61612fd: Pulling fs layer [2022-05-27T10:10:58.930Z] 8ed8ca486205: Pulling fs layer [2022-05-27T10:10:58.930Z] 4fe6c5a15a65: Pulling fs layer [2022-05-27T10:10:58.930Z] 22a0e8bec74d: Pulling fs layer [2022-05-27T10:10:58.930Z] ca2b28591e48: Pulling fs layer [2022-05-27T10:10:58.930Z] a51346096db8: Pulling fs layer [2022-05-27T10:10:58.930Z] daebc70d1ce1: Pulling fs layer [2022-05-27T10:10:58.930Z] 0e18a0eac166: Pulling fs layer [2022-05-27T10:10:58.930Z] 4fe6c5a15a65: Waiting [2022-05-27T10:10:58.930Z] daebc70d1ce1: Waiting [2022-05-27T10:10:58.930Z] 22a0e8bec74d: Waiting [2022-05-27T10:10:58.930Z] a51346096db8: Waiting [2022-05-27T10:10:58.930Z] 0e18a0eac166: Waiting [2022-05-27T10:10:58.930Z] 8ed8ca486205: Verifying Checksum [2022-05-27T10:10:58.930Z] 8ed8ca486205: Download complete [2022-05-27T10:10:58.930Z] 666ba61612fd: Download complete [2022-05-27T10:10:59.198Z] 22a0e8bec74d: Verifying Checksum [2022-05-27T10:10:59.198Z] 22a0e8bec74d: Download complete [2022-05-27T10:10:59.198Z] ca2b28591e48: Download complete [2022-05-27T10:10:59.198Z] 59bf1c3509f3: Verifying Checksum [2022-05-27T10:10:59.198Z] 59bf1c3509f3: Download complete [2022-05-27T10:10:59.198Z] a51346096db8: Verifying Checksum [2022-05-27T10:10:59.198Z] a51346096db8: Download complete [2022-05-27T10:10:59.198Z] daebc70d1ce1: Verifying Checksum [2022-05-27T10:10:59.198Z] daebc70d1ce1: Download complete [2022-05-27T10:10:59.198Z] 59bf1c3509f3: Pull complete [2022-05-27T10:10:59.462Z] 666ba61612fd: Pull complete [2022-05-27T10:10:59.462Z] 8ed8ca486205: Pull complete [2022-05-27T10:10:59.723Z] 4fe6c5a15a65: Verifying Checksum [2022-05-27T10:10:59.723Z] 4fe6c5a15a65: Download complete [2022-05-27T10:10:59.723Z] 0e18a0eac166: Verifying Checksum [2022-05-27T10:10:59.723Z] 0e18a0eac166: Download complete [2022-05-27T10:11:03.919Z] 4fe6c5a15a65: Pull complete [2022-05-27T10:11:04.178Z] 22a0e8bec74d: Pull complete [2022-05-27T10:11:04.178Z] ca2b28591e48: Pull complete [2022-05-27T10:11:04.178Z] a51346096db8: Pull complete [2022-05-27T10:11:04.442Z] daebc70d1ce1: Pull complete [2022-05-27T10:11:06.979Z] 0e18a0eac166: Pull complete [2022-05-27T10:11:06.979Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-27T10:11:06.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-27T10:11:06.979Z] ---> f018257e8ee9 [2022-05-27T10:11:06.979Z] Step 3/13 : ARG MAKE="make build" [2022-05-27T10:11:07.927Z] ---> Running in c1f8be31c0b0 [2022-05-27T10:11:08.188Z] Removing intermediate container c1f8be31c0b0 [2022-05-27T10:11:08.188Z] ---> 0efa7199f18e [2022-05-27T10:11:08.188Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T10:11:08.188Z] ---> Running in 22d9d90ea1f7 [2022-05-27T10:11:08.188Z] Removing intermediate container 22d9d90ea1f7 [2022-05-27T10:11:08.188Z] ---> b2248bb8591a [2022-05-27T10:11:08.188Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-05-27T10:11:08.188Z] ---> Running in d3bfe370c5f8 [2022-05-27T10:11:08.448Z] Removing intermediate container d3bfe370c5f8 [2022-05-27T10:11:08.448Z] ---> 9bf4de6e60ad [2022-05-27T10:11:08.448Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-05-27T10:11:08.448Z] ---> Running in 6cd9391772e3 [2022-05-27T10:11:08.708Z] Removing intermediate container 6cd9391772e3 [2022-05-27T10:11:08.708Z] ---> a416630b30b1 [2022-05-27T10:11:08.708Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T10:11:08.708Z] ---> Running in c25d027956ae [2022-05-27T10:11:09.276Z] Removing intermediate container c25d027956ae [2022-05-27T10:11:09.276Z] ---> 30ce16f9de45 [2022-05-27T10:11:09.276Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T10:11:09.276Z] ---> Running in 110053de9f94 [2022-05-27T10:11:09.535Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T10:11:10.476Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T10:11:11.046Z] OK: 221 MiB in 52 packages [2022-05-27T10:11:11.305Z] Removing intermediate container 110053de9f94 [2022-05-27T10:11:11.305Z] ---> 14e6943402cc [2022-05-27T10:11:11.305Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-05-27T10:11:11.305Z] ---> Running in 3fff98b975fc [2022-05-27T10:11:11.305Z] Removing intermediate container 3fff98b975fc [2022-05-27T10:11:11.305Z] ---> 0f36c3eb4a27 [2022-05-27T10:11:11.305Z] Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ [2022-05-27T10:11:11.565Z] ---> c589429f2fa0 [2022-05-27T10:11:11.565Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T10:11:11.565Z] ---> Running in ead0705b7543 [2022-05-27T10:11:12.399Z] Still waiting to schedule task [2022-05-27T10:11:12.399Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-27T10:11:12.505Z] Removing intermediate container ead0705b7543 [2022-05-27T10:11:12.505Z] ---> 51114c90eb9f [2022-05-27T10:11:12.505Z] Step 12/13 : COPY . . [2022-05-27T10:11:12.765Z] ---> a8b13fd3ac41 [2022-05-27T10:11:12.765Z] Step 13/13 : RUN ${MAKE} [2022-05-27T10:11:12.765Z] ---> Running in b8efac270ba6 [2022-05-27T10:11:13.024Z] noop [2022-05-27T10:11:13.287Z] Removing intermediate container b8efac270ba6 [2022-05-27T10:11:13.287Z] ---> b8483b236adf [2022-05-27T10:11:13.287Z] Successfully built b8483b236adf [2022-05-27T10:11:13.287Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T10:11:13.595Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-27T10:11:13.595Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T10:11:13.680Z] prd-ubuntu20.04-docker-8c-8g-250 does not seem to be running inside a container [2022-05-27T10:11:13.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** ci-base-image-x86_64 cat [2022-05-27T10:11:14.127Z] $ docker top 46f5cad15e391ff6d5250067aebb773b4f6e9696f6856e3caa7c39a59fb81e8a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T10:11:14.491Z] + go version [2022-05-27T10:11:14.491Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-27T10:11:14.504Z] $ docker stop --time=1 46f5cad15e391ff6d5250067aebb773b4f6e9696f6856e3caa7c39a59fb81e8a [2022-05-27T10:11:15.826Z] $ docker rm -f 46f5cad15e391ff6d5250067aebb773b4f6e9696f6856e3caa7c39a59fb81e8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T10:11:16.232Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-27T10:11:16.232Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T10:11:16.320Z] prd-ubuntu20.04-docker-8c-8g-250 does not seem to be running inside a container [2022-05-27T10:11:16.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** ci-base-image-x86_64 cat [2022-05-27T10:11:16.758Z] $ docker top e3dd96f42c40b94ccd1e801f9f0a8062da2bf4d62ab982372e6416dfa86280a6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-27T10:11:17.197Z] + make test [2022-05-27T10:11:17.197Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-27T10:11:17.197Z] go: downloading github.com/IOTechSystems/onvif v0.1.1 [2022-05-27T10:11:17.772Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 [2022-05-27T10:11:17.772Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-05-27T10:11:17.772Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-05-27T10:11:17.772Z] go: downloading github.com/gofrs/uuid v3.2.0+incompatible [2022-05-27T10:11:17.772Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-27T10:11:17.772Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-05-27T10:11:17.772Z] go: downloading github.com/beevik/etree v1.1.0 [2022-05-27T10:11:17.772Z] go: downloading github.com/clbanning/mxj/v2 v2.3.2 [2022-05-27T10:11:17.772Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-05-27T10:11:17.772Z] go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae [2022-05-27T10:11:17.772Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-05-27T10:11:18.036Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-05-27T10:11:18.036Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-27T10:11:18.036Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-05-27T10:11:18.036Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-27T10:11:18.036Z] go: downloading github.com/go-kit/log v0.2.0 [2022-05-27T10:11:18.036Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-05-27T10:11:18.036Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-27T10:11:18.036Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-05-27T10:11:18.036Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-27T10:11:18.036Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 [2022-05-27T10:11:18.036Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-05-27T10:11:18.036Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-05-27T10:11:18.036Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-27T10:11:18.036Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-05-27T10:11:18.299Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-05-27T10:11:18.299Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-05-27T10:11:18.299Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-05-27T10:11:18.299Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-27T10:11:18.299Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-27T10:11:18.299Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-05-27T10:11:18.299Z] go: downloading golang.org/x/text v0.3.7 [2022-05-27T10:11:18.299Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-05-27T10:11:18.299Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2022-05-27T10:11:18.299Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-27T10:11:18.299Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-05-27T10:11:18.299Z] go: downloading google.golang.org/grpc v1.42.0 [2022-05-27T10:11:18.561Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-27T10:11:18.561Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-27T10:11:18.561Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-27T10:11:18.561Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-27T10:11:18.561Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-27T10:11:18.561Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-05-27T10:11:18.561Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-27T10:11:18.821Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-27T10:11:18.821Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-27T10:11:18.821Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-05-27T10:11:18.821Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-27T10:11:18.821Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-27T10:11:18.821Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-27T10:11:18.821Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-27T10:11:18.821Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-27T10:11:18.821Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-27T10:11:18.821Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-27T10:11:18.821Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-27T10:11:18.821Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-27T10:11:18.821Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-27T10:11:19.081Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-27T10:11:19.081Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-27T10:11:19.081Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-27T10:11:19.081Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-27T10:11:19.081Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-27T10:11:21.626Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-05-27T10:11:31.617Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-05-27T10:11:31.617Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 0.9% of statements [2022-05-27T10:11:39.743Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-27T10:11:42.281Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-27T10:11:42.281Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-27T10:11:42.281Z] ./bin/test-attribution-txt.sh [2022-05-27T10:11:42.281Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo [2022-05-27T10:11:43.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-27T10:11:43.253Z] $ docker stop --time=1 e3dd96f42c40b94ccd1e801f9f0a8062da2bf4d62ab982372e6416dfa86280a6 [2022-05-27T10:11:45.780Z] $ docker rm -f e3dd96f42c40b94ccd1e801f9f0a8062da2bf4d62ab982372e6416dfa86280a6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T10:11:46.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-27T10:11:46.496Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-27T10:11:46.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-27T10:11:47.282Z] + ls -al . [2022-05-27T10:11:47.282Z] total 224 [2022-05-27T10:11:47.282Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 10:11 . [2022-05-27T10:11:47.282Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:10 .. [2022-05-27T10:11:47.282Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 10:10 .git [2022-05-27T10:11:47.282Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 10:10 .github [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 352 May 27 10:10 .gitignore [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 10:10 .golangci.yml [2022-05-27T10:11:47.282Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 10:10 .semver [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 9415 May 27 10:10 Attribution.txt [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 189 May 27 10:10 CHANGELOG.md [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 1686 May 27 10:10 Dockerfile [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 10:10 GOVERNANCE.md [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 660 May 27 10:10 Jenkinsfile [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 27 10:10 LICENSE [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 2473 May 27 10:10 Makefile [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 625 May 27 10:10 OWNERS.md [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 28742 May 27 10:10 README.md [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 5 May 27 10:10 VERSION [2022-05-27T10:11:47.282Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 10:10 bin [2022-05-27T10:11:47.282Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:10 cmd [2022-05-27T10:11:47.282Z] -rw-r--r-- 1 jenkins jenkins 42596 May 27 10:11 coverage.out [2022-05-27T10:11:47.282Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:10 doc [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 3716 May 27 10:10 go.mod [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 37264 May 27 10:10 go.sum [2022-05-27T10:11:47.282Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:10 internal [2022-05-27T10:11:47.282Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:10 pkg [2022-05-27T10:11:47.282Z] -rw-rw-r-- 1 jenkins jenkins 236 May 27 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T10:11:47.589Z] + 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=adb884d8668282ad178a3bdff0c37f789c00adfd --label arch=amd64 --label version=0.0.0 . [2022-05-27T10:11:47.590Z] Sending build context to Docker daemon 8.819MB [2022-05-27T10:11:47.590Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T10:11:47.590Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-27T10:11:47.590Z] ---> b8483b236adf [2022-05-27T10:11:47.590Z] Step 3/26 : ARG MAKE="make build" [2022-05-27T10:11:47.590Z] ---> Running in cfea9f778fde [2022-05-27T10:11:47.850Z] Removing intermediate container cfea9f778fde [2022-05-27T10:11:47.850Z] ---> 041ef0bde37a [2022-05-27T10:11:47.850Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T10:11:47.850Z] ---> Running in d1f36e15a3f0 [2022-05-27T10:11:47.850Z] Removing intermediate container d1f36e15a3f0 [2022-05-27T10:11:47.850Z] ---> 60017abec157 [2022-05-27T10:11:47.850Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-27T10:11:47.850Z] ---> Running in 4fcd320c732d [2022-05-27T10:11:48.110Z] Removing intermediate container 4fcd320c732d [2022-05-27T10:11:48.110Z] ---> 151f2fd3d939 [2022-05-27T10:11:48.110Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-05-27T10:11:48.110Z] ---> Running in 3e06272bfdfc [2022-05-27T10:11:48.110Z] Removing intermediate container 3e06272bfdfc [2022-05-27T10:11:48.110Z] ---> e2308379cf84 [2022-05-27T10:11:48.110Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T10:11:48.110Z] ---> Running in 351be99d3cc4 [2022-05-27T10:11:48.684Z] Removing intermediate container 351be99d3cc4 [2022-05-27T10:11:48.684Z] ---> 6e75d920e74d [2022-05-27T10:11:48.684Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T10:11:48.684Z] ---> Running in ce05a483eab9 [2022-05-27T10:11:49.253Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T10:11:49.825Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T10:11:50.084Z] OK: 221 MiB in 52 packages [2022-05-27T10:11:50.651Z] Removing intermediate container ce05a483eab9 [2022-05-27T10:11:50.651Z] ---> 8f02ffeef429 [2022-05-27T10:11:50.651Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-05-27T10:11:50.651Z] ---> Running in 75e89bc73dfc [2022-05-27T10:11:50.651Z] Removing intermediate container 75e89bc73dfc [2022-05-27T10:11:50.651Z] ---> 571b0af884ba [2022-05-27T10:11:50.651Z] Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ [2022-05-27T10:11:50.912Z] ---> cc8be70a49af [2022-05-27T10:11:50.912Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T10:11:50.912Z] ---> Running in 7e63b4f0838a [2022-05-27T10:11:51.483Z] Removing intermediate container 7e63b4f0838a [2022-05-27T10:11:51.483Z] ---> 0110946b3a20 [2022-05-27T10:11:51.483Z] Step 12/26 : COPY . . [2022-05-27T10:11:51.744Z] ---> f8e6c36c6351 [2022-05-27T10:11:51.744Z] Step 13/26 : RUN ${MAKE} [2022-05-27T10:11:51.744Z] ---> Running in 639611e7b6ad [2022-05-27T10:11:52.004Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-05-27T10:11:52.004Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 [2022-05-27T10:11:52.004Z] go: downloading github.com/IOTechSystems/onvif v0.1.1 [2022-05-27T10:11:52.264Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-05-27T10:11:52.264Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-05-27T10:11:52.264Z] go: downloading github.com/gofrs/uuid v3.2.0+incompatible [2022-05-27T10:11:52.264Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-27T10:11:52.264Z] go: downloading github.com/clbanning/mxj/v2 v2.3.2 [2022-05-27T10:11:52.264Z] go: downloading github.com/beevik/etree v1.1.0 [2022-05-27T10:11:52.264Z] go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae [2022-05-27T10:11:52.264Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-05-27T10:11:52.264Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-05-27T10:11:52.264Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-27T10:11:52.264Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-05-27T10:11:52.264Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-05-27T10:11:52.264Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-05-27T10:11:52.264Z] go: downloading github.com/go-kit/log v0.2.0 [2022-05-27T10:11:52.264Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-05-27T10:11:52.264Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 [2022-05-27T10:11:52.264Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-27T10:11:52.525Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-27T10:11:52.525Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-05-27T10:11:52.525Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-05-27T10:11:52.525Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-05-27T10:11:52.525Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-27T10:11:52.525Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-05-27T10:11:52.525Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-05-27T10:11:52.525Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2022-05-27T10:11:52.525Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-27T10:11:52.525Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-27T10:11:52.525Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-27T10:11:52.525Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-05-27T10:11:52.525Z] go: downloading golang.org/x/text v0.3.7 [2022-05-27T10:11:52.525Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-27T10:11:52.525Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-27T10:11:52.525Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-27T10:11:52.525Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-27T10:11:52.525Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-27T10:11:52.525Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-27T10:11:52.525Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-27T10:11:52.525Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-27T10:11:52.525Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-27T10:11:52.525Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-27T10:11:52.525Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-27T10:11:52.525Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-05-27T10:11:52.525Z] go: downloading google.golang.org/grpc v1.42.0 [2022-05-27T10:11:52.525Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-27T10:11:52.525Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-27T10:11:52.785Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-27T10:11:52.785Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-05-27T10:11:52.785Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-27T10:11:52.785Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-27T10:11:52.785Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-27T10:11:52.785Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-27T10:11:52.785Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-05-27T10:11:52.785Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-27T10:11:52.785Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-05-27T10:11:52.785Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-27T10:11:52.785Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-27T10:11:52.785Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-27T10:11:53.045Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-27T10:12:25.151Z] Removing intermediate container 639611e7b6ad [2022-05-27T10:12:25.151Z] ---> da616c192fa1 [2022-05-27T10:12:25.151Z] Step 14/26 : FROM alpine:3.15 [2022-05-27T10:12:25.151Z] 3.15: Pulling from library/alpine [2022-05-27T10:12:25.151Z] df9b9388f04a: Pulling fs layer [2022-05-27T10:12:25.151Z] df9b9388f04a: Verifying Checksum [2022-05-27T10:12:25.151Z] df9b9388f04a: Download complete [2022-05-27T10:12:25.151Z] df9b9388f04a: Pull complete [2022-05-27T10:12:25.151Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-27T10:12:25.151Z] Status: Downloaded newer image for alpine:3.15 [2022-05-27T10:12:25.151Z] ---> 0ac33e5f5afa [2022-05-27T10:12:25.152Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-27T10:12:25.152Z] ---> Running in ad9001f56ad8 [2022-05-27T10:12:25.152Z] Removing intermediate container ad9001f56ad8 [2022-05-27T10:12:25.152Z] ---> 0ef5ba46f132 [2022-05-27T10:12:25.152Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-27T10:12:25.152Z] ---> Running in b2f0647e1f76 [2022-05-27T10:12:25.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T10:12:25.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T10:12:25.152Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-27T10:12:25.152Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-05-27T10:12:25.152Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-27T10:12:25.152Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-27T10:12:25.152Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-27T10:12:25.152Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-27T10:12:25.152Z] Executing busybox-1.34.1-r5.trigger [2022-05-27T10:12:25.152Z] OK: 8 MiB in 20 packages [2022-05-27T10:12:25.152Z] Removing intermediate container b2f0647e1f76 [2022-05-27T10:12:25.152Z] ---> a6594e74a3e5 [2022-05-27T10:12:25.152Z] Step 17/26 : WORKDIR / [2022-05-27T10:12:25.152Z] ---> Running in 946ed8a38a8f [2022-05-27T10:12:25.152Z] Removing intermediate container 946ed8a38a8f [2022-05-27T10:12:25.152Z] ---> e9b7fdf3c153 [2022-05-27T10:12:25.152Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-05-27T10:12:25.152Z] ---> 0b1e83b77bde [2022-05-27T10:12:25.152Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-05-27T10:12:25.152Z] ---> 8d9391e02b93 [2022-05-27T10:12:25.152Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-05-27T10:12:25.152Z] ---> 97ead4afec90 [2022-05-27T10:12:25.152Z] Step 21/26 : EXPOSE 59984 [2022-05-27T10:12:25.152Z] ---> Running in 87d9572896c6 [2022-05-27T10:12:25.152Z] Removing intermediate container 87d9572896c6 [2022-05-27T10:12:25.152Z] ---> b395824594ba [2022-05-27T10:12:25.152Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-05-27T10:12:25.152Z] ---> Running in e17a13432e71 [2022-05-27T10:12:25.152Z] Removing intermediate container e17a13432e71 [2022-05-27T10:12:25.152Z] ---> 5ebc2f0d7f91 [2022-05-27T10:12:25.152Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-27T10:12:25.152Z] ---> Running in 8ce7ce050300 [2022-05-27T10:12:25.152Z] Removing intermediate container 8ce7ce050300 [2022-05-27T10:12:25.152Z] ---> c7c13955e266 [2022-05-27T10:12:25.152Z] Step 24/26 : LABEL arch=amd64 [2022-05-27T10:12:25.152Z] ---> Running in d3ed60740267 [2022-05-27T10:12:25.152Z] Removing intermediate container d3ed60740267 [2022-05-27T10:12:25.152Z] ---> 7a9ccdf2dd86 [2022-05-27T10:12:25.152Z] Step 25/26 : LABEL git_sha=adb884d8668282ad178a3bdff0c37f789c00adfd [2022-05-27T10:12:25.152Z] ---> Running in b724f3f8b4b0 [2022-05-27T10:12:25.152Z] Removing intermediate container b724f3f8b4b0 [2022-05-27T10:12:25.152Z] ---> 36eb90785f09 [2022-05-27T10:12:25.152Z] Step 26/26 : LABEL version=0.0.0 [2022-05-27T10:12:25.152Z] ---> Running in e3009537419e [2022-05-27T10:12:25.152Z] Removing intermediate container e3009537419e [2022-05-27T10:12:25.152Z] ---> 5436ce0a8270 [2022-05-27T10:12:25.152Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-27T10:12:25.152Z] Successfully built 5436ce0a8270 [2022-05-27T10:12:25.152Z] 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-05-27T10:12:25.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T10:12:25.571Z] [2022-05-27T10:12:25.571Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T10:12:25.877Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T10:12:25.877Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-27T10:12:25.877Z] 5eb5b503b376: Pulling fs layer [2022-05-27T10:12:25.877Z] 5c69ac0246d0: Pulling fs layer [2022-05-27T10:12:25.877Z] ec43610c2a17: Pulling fs layer [2022-05-27T10:12:25.877Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-27T10:12:25.877Z] 33b1e0a273af: Pulling fs layer [2022-05-27T10:12:25.877Z] 5d3b04190fa2: Pulling fs layer [2022-05-27T10:12:25.877Z] 2f39f015ded8: Pulling fs layer [2022-05-27T10:12:25.877Z] 3a2ae6a8a46f: Waiting [2022-05-27T10:12:25.877Z] 33b1e0a273af: Waiting [2022-05-27T10:12:25.877Z] 5d3b04190fa2: Waiting [2022-05-27T10:12:25.877Z] 2f39f015ded8: Waiting [2022-05-27T10:12:25.877Z] 5c69ac0246d0: Download complete [2022-05-27T10:12:25.877Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-27T10:12:25.877Z] 3a2ae6a8a46f: Download complete [2022-05-27T10:12:25.877Z] 33b1e0a273af: Verifying Checksum [2022-05-27T10:12:25.877Z] 33b1e0a273af: Download complete [2022-05-27T10:12:25.877Z] 5d3b04190fa2: Verifying Checksum [2022-05-27T10:12:25.877Z] 5d3b04190fa2: Download complete [2022-05-27T10:12:25.877Z] ec43610c2a17: Verifying Checksum [2022-05-27T10:12:25.877Z] ec43610c2a17: Download complete [2022-05-27T10:12:26.139Z] 5eb5b503b376: Verifying Checksum [2022-05-27T10:12:26.139Z] 5eb5b503b376: Download complete [2022-05-27T10:12:26.710Z] 2f39f015ded8: Download complete [2022-05-27T10:12:27.280Z] 5eb5b503b376: Pull complete [2022-05-27T10:12:27.540Z] 5c69ac0246d0: Pull complete [2022-05-27T10:12:27.800Z] ec43610c2a17: Pull complete [2022-05-27T10:12:28.059Z] 3a2ae6a8a46f: Pull complete [2022-05-27T10:12:28.319Z] 33b1e0a273af: Pull complete [2022-05-27T10:12:28.319Z] 5d3b04190fa2: Pull complete [2022-05-27T10:12:32.511Z] 2f39f015ded8: Pull complete [2022-05-27T10:12:32.511Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-27T10:12:32.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T10:12:32.511Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T10:12:32.607Z] prd-ubuntu20.04-docker-8c-8g-250 does not seem to be running inside a container [2022-05-27T10:12:32.641Z] $ 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/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-27T10:12:34.187Z] $ docker top c2271bbc7f74d2444d7dd60dddcbd737db9c180ad41bdb8dbd3fe722426ea82e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T10:12:34.581Z] ---> job-cost.sh [2022-05-27T10:12:34.581Z] lf-activate-venv: SKIPPING [2022-05-27T10:12:34.581Z] INFO: No Stack... [2022-05-27T10:12:35.153Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-27T10:12:35.413Z] INFO: Archiving Costs [Pipeline] sh [2022-05-27T10:12:35.702Z] + cat /w/workspace/oundry_device-onvif-camera_PR-65/archives/cost.csv [2022-05-27T10:12:35.702Z] + cut -d, -f6 [Pipeline] lock [2022-05-27T10:12:35.715Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] [2022-05-27T10:12:35.721Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] did not exist. Created. [2022-05-27T10:12:35.721Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-27T10:12:36.018Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-27T10:12:36.042Z] Stashed 1 file(s) [Pipeline] } [2022-05-27T10:12:36.048Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-27T10:12:36.068Z] $ docker stop --time=1 c2271bbc7f74d2444d7dd60dddcbd737db9c180ad41bdb8dbd3fe722426ea82e [2022-05-27T10:12:37.223Z] $ docker rm -f c2271bbc7f74d2444d7dd60dddcbd737db9c180ad41bdb8dbd3fe722426ea82e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-27T10:12:49.228Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-252 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] ws [2022-05-27T10:12:49.238Z] Running in /w/workspace/device-onvif-camera/13 [Pipeline] { [Pipeline] checkout [2022-05-27T10:12:49.291Z] Selected Git installation does not exist. Using Default [2022-05-27T10:12:49.291Z] The recommended git tool is: NONE [2022-05-27T10:12:55.623Z] using credential edgex-jenkins-ssh [2022-05-27T10:12:55.642Z] Cloning the remote Git repository [2022-05-27T10:12:55.702Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-05-27T10:12:55.785Z] > git init /w/workspace/device-onvif-camera/13 # timeout=10 [2022-05-27T10:12:55.882Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-05-27T10:12:55.883Z] > git --version # timeout=10 [2022-05-27T10:12:55.906Z] > git --version # 'git version 2.25.1' [2022-05-27T10:12:55.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-27T10:12:55.979Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-27T10:12:56.713Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-05-27T10:12:56.739Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-27T10:12:56.770Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-05-27T10:12:56.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-05-27T10:12:56.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-27T10:12:56.875Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-27T10:12:57.455Z] Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit f92c7211e63df553c60284b71f5b9253c4ebb8b3 [2022-05-27T10:12:57.870Z] Merge succeeded, producing a7e0d88e2e7ed8cc23e6694a272d29151fff3654 [2022-05-27T10:12:57.871Z] Checking out Revision a7e0d88e2e7ed8cc23e6694a272d29151fff3654 (PR-65) [2022-05-27T10:12:57.480Z] > git config core.sparsecheckout # timeout=10 [2022-05-27T10:12:57.499Z] > git checkout -f f92c7211e63df553c60284b71f5b9253c4ebb8b3 # timeout=10 [2022-05-27T10:12:57.633Z] > git remote # timeout=10 [2022-05-27T10:12:57.650Z] > git config --get remote.origin.url # timeout=10 [2022-05-27T10:12:57.663Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-27T10:12:57.674Z] > git merge 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 [2022-05-27T10:12:57.856Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-27T10:12:57.882Z] > git config core.sparsecheckout # timeout=10 [2022-05-27T10:12:57.900Z] > git checkout -f a7e0d88e2e7ed8cc23e6694a272d29151fff3654 # timeout=10 [2022-05-27T10:13:02.203Z] Commit message: "Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD" [2022-05-27T10:13:02.229Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T10:13:02.217Z] > git rev-list --no-walk 807ec9d7b7af48af72e33211e43297a64da5e492 # timeout=10 [2022-05-27T10:13:03.172Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-27T10:13:03.172Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-27T10:13:03.172Z] Dload Upload Total Spent Left Speed [2022-05-27T10:13:03.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 48050 0 --:--:-- --:--:-- --:--:-- 47863 [Pipeline] sh [2022-05-27T10:13:04.007Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-27T10:13:04.376Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-27T10:13:04.376Z] + sudo tee /etc/docker/daemon.new [2022-05-27T10:13:04.376Z] { [2022-05-27T10:13:04.376Z] "registry-mirrors": [ [2022-05-27T10:13:04.376Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-27T10:13:04.376Z] ], [2022-05-27T10:13:04.376Z] "bip": "10.250.0.254/24", [2022-05-27T10:13:04.376Z] "hosts": [ [2022-05-27T10:13:04.376Z] "tcp://0.0.0.0:5555", [2022-05-27T10:13:04.376Z] "unix:///var/run/docker.sock" [2022-05-27T10:13:04.376Z] ], [2022-05-27T10:13:04.376Z] "mtu": 1458, [2022-05-27T10:13:04.376Z] "selinux-enabled": true, [2022-05-27T10:13:04.376Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-27T10:13:04.376Z] } [Pipeline] sh [2022-05-27T10:13:04.728Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-27T10:13:05.073Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T10:13:23.408Z] provisioning config files... [2022-05-27T10:13:23.432Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/13@tmp/config8788397065689121067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T10:13:23.984Z] ---> docker-login.sh [2022-05-27T10:13:23.984Z] nexus3.edgexfoundry.org:10001 [2022-05-27T10:13:24.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:13:24.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:13:24.857Z] Configure a credential helper to remove this warning. See [2022-05-27T10:13:24.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:13:24.857Z] [2022-05-27T10:13:24.857Z] Login Succeeded [2022-05-27T10:13:24.857Z] nexus3.edgexfoundry.org:10002 [2022-05-27T10:13:25.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:13:25.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:13:25.458Z] Configure a credential helper to remove this warning. See [2022-05-27T10:13:25.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:13:25.458Z] [2022-05-27T10:13:25.458Z] Login Succeeded [2022-05-27T10:13:25.458Z] nexus3.edgexfoundry.org:10003 [2022-05-27T10:13:25.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:13:26.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:13:26.012Z] Configure a credential helper to remove this warning. See [2022-05-27T10:13:26.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:13:26.012Z] [2022-05-27T10:13:26.012Z] Login Succeeded [2022-05-27T10:13:26.012Z] nexus3.edgexfoundry.org:10004 [2022-05-27T10:13:26.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:13:26.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:13:26.558Z] Configure a credential helper to remove this warning. See [2022-05-27T10:13:26.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:13:26.558Z] [2022-05-27T10:13:26.558Z] Login Succeeded [2022-05-27T10:13:26.558Z] docker.io [2022-05-27T10:13:26.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T10:13:27.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T10:13:27.101Z] Configure a credential helper to remove this warning. See [2022-05-27T10:13:27.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T10:13:27.101Z] [2022-05-27T10:13:27.101Z] Login Succeeded [2022-05-27T10:13:27.101Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T10:13:27.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-27T10:13:27.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-27T10:13:27.372Z] ========================================================= [2022-05-27T10:13:27.372Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-27T10:13:27.372Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T10:13:27.727Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-27T10:13:28.003Z] Sending build context to Docker daemon 6.064MB [2022-05-27T10:13:28.003Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T10:13:28.003Z] Step 2/13 : FROM ${BASE} AS builder [2022-05-27T10:13:28.281Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-27T10:13:28.281Z] 9b3977197b4f: Pulling fs layer [2022-05-27T10:13:28.281Z] 1a89e8eeedd5: Pulling fs layer [2022-05-27T10:13:28.281Z] 94645a83ff95: Pulling fs layer [2022-05-27T10:13:28.281Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-27T10:13:28.281Z] 0c92f367c5e7: Pulling fs layer [2022-05-27T10:13:28.281Z] 3096ccb668a1: Pulling fs layer [2022-05-27T10:13:28.281Z] e8cf19c19ddd: Pulling fs layer [2022-05-27T10:13:28.281Z] a4caa8a26152: Pulling fs layer [2022-05-27T10:13:28.281Z] 3f3a8bcf1eab: Waiting [2022-05-27T10:13:28.281Z] 0c92f367c5e7: Waiting [2022-05-27T10:13:28.281Z] 3096ccb668a1: Waiting [2022-05-27T10:13:28.281Z] e8cf19c19ddd: Waiting [2022-05-27T10:13:28.281Z] a4caa8a26152: Waiting [2022-05-27T10:13:28.281Z] 94645a83ff95: Verifying Checksum [2022-05-27T10:13:28.281Z] 94645a83ff95: Download complete [2022-05-27T10:13:28.281Z] 1a89e8eeedd5: Verifying Checksum [2022-05-27T10:13:28.281Z] 1a89e8eeedd5: Download complete [2022-05-27T10:13:28.281Z] 0c92f367c5e7: Verifying Checksum [2022-05-27T10:13:28.281Z] 0c92f367c5e7: Download complete [2022-05-27T10:13:28.281Z] 9b3977197b4f: Verifying Checksum [2022-05-27T10:13:28.281Z] 9b3977197b4f: Download complete [2022-05-27T10:13:28.281Z] 3096ccb668a1: Verifying Checksum [2022-05-27T10:13:28.281Z] 3096ccb668a1: Download complete [2022-05-27T10:13:28.281Z] e8cf19c19ddd: Verifying Checksum [2022-05-27T10:13:28.281Z] e8cf19c19ddd: Download complete [2022-05-27T10:13:29.274Z] 9b3977197b4f: Pull complete [2022-05-27T10:13:29.559Z] 1a89e8eeedd5: Pull complete [2022-05-27T10:13:30.174Z] 94645a83ff95: Pull complete [2022-05-27T10:13:30.447Z] a4caa8a26152: Verifying Checksum [2022-05-27T10:13:30.447Z] a4caa8a26152: Download complete [2022-05-27T10:13:31.041Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-27T10:13:31.041Z] 3f3a8bcf1eab: Download complete [2022-05-27T10:13:43.439Z] 3f3a8bcf1eab: Pull complete [2022-05-27T10:13:43.439Z] 0c92f367c5e7: Pull complete [2022-05-27T10:13:43.439Z] 3096ccb668a1: Pull complete [2022-05-27T10:13:43.439Z] e8cf19c19ddd: Pull complete [2022-05-27T10:13:48.853Z] a4caa8a26152: Pull complete [2022-05-27T10:13:48.853Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-27T10:13:48.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-27T10:13:48.853Z] ---> 725f1c02e7f9 [2022-05-27T10:13:48.853Z] Step 3/13 : ARG MAKE="make build" [2022-05-27T10:13:50.287Z] ---> Running in a672680831e6 [2022-05-27T10:13:50.563Z] Removing intermediate container a672680831e6 [2022-05-27T10:13:50.563Z] ---> dd8fbd42c1d7 [2022-05-27T10:13:50.563Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T10:13:50.563Z] ---> Running in 45ae41b3dedb [2022-05-27T10:13:50.844Z] Removing intermediate container 45ae41b3dedb [2022-05-27T10:13:50.844Z] ---> 347d2d5efde5 [2022-05-27T10:13:50.844Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-05-27T10:13:51.119Z] ---> Running in 886d169b267c [2022-05-27T10:13:51.397Z] Removing intermediate container 886d169b267c [2022-05-27T10:13:51.397Z] ---> 66a67134ee82 [2022-05-27T10:13:51.397Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-05-27T10:13:51.397Z] ---> Running in 871dba028acb [2022-05-27T10:13:51.684Z] Removing intermediate container 871dba028acb [2022-05-27T10:13:51.684Z] ---> 2171afdd7761 [2022-05-27T10:13:51.684Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T10:13:51.960Z] ---> Running in 1d1fea8c940d [2022-05-27T10:13:53.944Z] Removing intermediate container 1d1fea8c940d [2022-05-27T10:13:53.944Z] ---> 8c8e06764a93 [2022-05-27T10:13:53.944Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T10:13:53.944Z] ---> Running in 0d937a005c8e [2022-05-27T10:13:54.926Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-27T10:13:55.915Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-27T10:13:56.907Z] OK: 220 MiB in 52 packages [2022-05-27T10:13:57.511Z] Removing intermediate container 0d937a005c8e [2022-05-27T10:13:57.511Z] ---> ca26013392ff [2022-05-27T10:13:57.511Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-05-27T10:13:57.787Z] ---> Running in 0044117130de [2022-05-27T10:13:58.062Z] Removing intermediate container 0044117130de [2022-05-27T10:13:58.062Z] ---> 2918d2189740 [2022-05-27T10:13:58.062Z] Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ [2022-05-27T10:13:59.047Z] ---> c47e60cc8d34 [2022-05-27T10:13:59.047Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T10:13:59.047Z] ---> Running in a16da8eb997d [2022-05-27T10:14:01.063Z] Removing intermediate container a16da8eb997d [2022-05-27T10:14:01.063Z] ---> 4b14944fd1d2 [2022-05-27T10:14:01.063Z] Step 12/13 : COPY . . [2022-05-27T10:14:02.054Z] ---> a806b8062a04 [2022-05-27T10:14:02.054Z] Step 13/13 : RUN ${MAKE} [2022-05-27T10:14:02.337Z] ---> Running in 9cb847eced7e [2022-05-27T10:14:03.335Z] noop [2022-05-27T10:14:03.939Z] Removing intermediate container 9cb847eced7e [2022-05-27T10:14:03.939Z] ---> cd4b7fcc0b9b [2022-05-27T10:14:03.939Z] Successfully built cd4b7fcc0b9b [2022-05-27T10:14:03.939Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T10:14:04.305Z] + docker inspect -f . ci-base-image-arm64 [2022-05-27T10:14:04.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T10:14:04.567Z] prd-ubuntu20.04-docker-arm64-4c-16g-252 does not seem to be running inside a container [2022-05-27T10:14:04.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-27T10:14:05.993Z] $ docker top 45503ead810367c8ddb3ff9d5a9f1604a7631ad69f51af0aa3645dcc974dbe8f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T10:14:06.905Z] + go version [2022-05-27T10:14:06.905Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-27T10:14:06.935Z] $ docker stop --time=1 45503ead810367c8ddb3ff9d5a9f1604a7631ad69f51af0aa3645dcc974dbe8f [2022-05-27T10:14:08.605Z] $ docker rm -f 45503ead810367c8ddb3ff9d5a9f1604a7631ad69f51af0aa3645dcc974dbe8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T10:14:09.207Z] + docker inspect -f . ci-base-image-arm64 [2022-05-27T10:14:09.207Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T10:14:09.453Z] prd-ubuntu20.04-docker-arm64-4c-16g-252 does not seem to be running inside a container [2022-05-27T10:14:09.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-27T10:14:10.882Z] $ docker top eda7f884470ea52d82155583a4a555c3b34e915e999e366d2c0a9851f8ef64f9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-27T10:14:11.843Z] + make test [2022-05-27T10:14:11.844Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-27T10:14:11.844Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 [2022-05-27T10:14:11.844Z] go: downloading github.com/IOTechSystems/onvif v0.1.1 [2022-05-27T10:14:12.440Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-05-27T10:14:12.440Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-05-27T10:14:12.714Z] go: downloading github.com/gofrs/uuid v3.2.0+incompatible [2022-05-27T10:14:12.714Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-27T10:14:12.714Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-05-27T10:14:12.714Z] go: downloading github.com/clbanning/mxj/v2 v2.3.2 [2022-05-27T10:14:12.714Z] go: downloading github.com/beevik/etree v1.1.0 [2022-05-27T10:14:12.989Z] go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae [2022-05-27T10:14:12.989Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-05-27T10:14:12.989Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-05-27T10:14:12.989Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-27T10:14:12.989Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-05-27T10:14:12.989Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-05-27T10:14:13.264Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-05-27T10:14:13.264Z] go: downloading github.com/go-kit/log v0.2.0 [2022-05-27T10:14:13.264Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-27T10:14:13.264Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-05-27T10:14:13.264Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-27T10:14:13.264Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-05-27T10:14:13.264Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 [2022-05-27T10:14:13.549Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-27T10:14:13.549Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-05-27T10:14:13.549Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-05-27T10:14:13.549Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-05-27T10:14:13.549Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-05-27T10:14:13.822Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-27T10:14:13.822Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-05-27T10:14:13.822Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-27T10:14:13.822Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-27T10:14:13.822Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-05-27T10:14:13.822Z] go: downloading golang.org/x/text v0.3.7 [2022-05-27T10:14:14.095Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2022-05-27T10:14:14.095Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-27T10:14:14.095Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-27T10:14:14.095Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-05-27T10:14:14.372Z] go: downloading google.golang.org/grpc v1.42.0 [2022-05-27T10:14:15.356Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-27T10:14:15.356Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-05-27T10:14:15.356Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-27T10:14:15.633Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-27T10:14:15.633Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-27T10:14:15.633Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-27T10:14:15.633Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-05-27T10:14:15.910Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-27T10:14:16.892Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-27T10:14:16.892Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-27T10:14:16.892Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-27T10:14:16.892Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-27T10:14:16.892Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-27T10:14:17.167Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-05-27T10:14:17.445Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-27T10:14:17.716Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-27T10:14:17.716Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-27T10:14:17.716Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-27T10:14:17.716Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-27T10:14:17.716Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-27T10:14:17.716Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-27T10:14:17.991Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-27T10:14:17.991Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-27T10:14:17.991Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-27T10:14:17.991Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-27T10:14:24.692Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-05-27T10:16:01.568Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-05-27T10:16:01.568Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.070s coverage: 0.9% of statements [2022-05-27T10:16:01.568Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-27T10:16:01.568Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-27T10:16:19.935Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-27T10:16:19.935Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-27T10:16:19.935Z] ./bin/test-attribution-txt.sh [2022-05-27T10:16:19.935Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo [2022-05-27T10:16:22.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-27T10:16:22.593Z] $ docker stop --time=1 eda7f884470ea52d82155583a4a555c3b34e915e999e366d2c0a9851f8ef64f9 [2022-05-27T10:16:24.412Z] $ docker rm -f eda7f884470ea52d82155583a4a555c3b34e915e999e366d2c0a9851f8ef64f9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T10:16:27.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-27T10:16:27.046Z] Warning: overwriting stash ‘coverage-report’ [2022-05-27T10:16:27.508Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T10:16:27.897Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-27T10:16:28.225Z] + ls -al . [2022-05-27T10:16:28.225Z] total 220 [2022-05-27T10:16:28.225Z] drwxrwxr-x 9 jenkins jenkins 4096 May 27 10:16 . [2022-05-27T10:16:28.225Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:12 .. [2022-05-27T10:16:28.225Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 10:13 .git [2022-05-27T10:16:28.225Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 10:12 .github [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 352 May 27 10:12 .gitignore [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 10:12 .golangci.yml [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 9415 May 27 10:12 Attribution.txt [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 189 May 27 10:12 CHANGELOG.md [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 1686 May 27 10:12 Dockerfile [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 10:12 GOVERNANCE.md [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 660 May 27 10:12 Jenkinsfile [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 27 10:12 LICENSE [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 2473 May 27 10:12 Makefile [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 625 May 27 10:12 OWNERS.md [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 28742 May 27 10:12 README.md [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 5 May 27 10:10 VERSION [2022-05-27T10:16:28.225Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 10:12 bin [2022-05-27T10:16:28.225Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:12 cmd [2022-05-27T10:16:28.225Z] -rw-r--r-- 1 jenkins jenkins 42596 May 27 10:15 coverage.out [2022-05-27T10:16:28.225Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:12 doc [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 3716 May 27 10:12 go.mod [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 37264 May 27 10:12 go.sum [2022-05-27T10:16:28.225Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:12 internal [2022-05-27T10:16:28.225Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:12 pkg [2022-05-27T10:16:28.225Z] -rw-rw-r-- 1 jenkins jenkins 236 May 27 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T10:16:28.575Z] + 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=a7e0d88e2e7ed8cc23e6694a272d29151fff3654 --label arch=arm64 --label version=0.0.0 . [2022-05-27T10:16:28.850Z] Sending build context to Docker daemon 6.108MB [2022-05-27T10:16:28.850Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T10:16:28.850Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-27T10:16:28.850Z] ---> cd4b7fcc0b9b [2022-05-27T10:16:28.850Z] Step 3/26 : ARG MAKE="make build" [2022-05-27T10:16:29.123Z] ---> Running in 697fb2febbad [2022-05-27T10:16:29.395Z] Removing intermediate container 697fb2febbad [2022-05-27T10:16:29.395Z] ---> 8ef20c3e5109 [2022-05-27T10:16:29.395Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T10:16:29.395Z] ---> Running in 47400d4298bc [2022-05-27T10:16:29.677Z] Removing intermediate container 47400d4298bc [2022-05-27T10:16:29.677Z] ---> b437e5068261 [2022-05-27T10:16:29.677Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-27T10:16:29.950Z] ---> Running in 89934505cc4d [2022-05-27T10:16:30.226Z] Removing intermediate container 89934505cc4d [2022-05-27T10:16:30.226Z] ---> 6af5969f3120 [2022-05-27T10:16:30.226Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-05-27T10:16:30.226Z] ---> Running in a18ca217cc6b [2022-05-27T10:16:30.498Z] Removing intermediate container a18ca217cc6b [2022-05-27T10:16:30.498Z] ---> 00bd3809816b [2022-05-27T10:16:30.498Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T10:16:30.498Z] ---> Running in 37806745fefc [2022-05-27T10:16:32.486Z] Removing intermediate container 37806745fefc [2022-05-27T10:16:32.486Z] ---> 7c44bbd6bc0f [2022-05-27T10:16:32.486Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T10:16:32.486Z] ---> Running in 58edb75880eb [2022-05-27T10:16:33.462Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-27T10:16:34.066Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-27T10:16:35.039Z] OK: 220 MiB in 52 packages [2022-05-27T10:16:36.039Z] Removing intermediate container 58edb75880eb [2022-05-27T10:16:36.039Z] ---> 6a81675b49a1 [2022-05-27T10:16:36.039Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-05-27T10:16:36.040Z] ---> Running in 71f88f97f8c3 [2022-05-27T10:16:36.314Z] Removing intermediate container 71f88f97f8c3 [2022-05-27T10:16:36.314Z] ---> d9bd55e540d9 [2022-05-27T10:16:36.314Z] Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ [2022-05-27T10:16:36.915Z] ---> e930a58571d1 [2022-05-27T10:16:36.915Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T10:16:37.189Z] ---> Running in 33d1e62fbee4 [2022-05-27T10:16:38.640Z] Removing intermediate container 33d1e62fbee4 [2022-05-27T10:16:38.640Z] ---> 70c109b5bc41 [2022-05-27T10:16:38.640Z] Step 12/26 : COPY . . [2022-05-27T10:16:39.640Z] ---> 58f6d0843d07 [2022-05-27T10:16:39.640Z] Step 13/26 : RUN ${MAKE} [2022-05-27T10:16:39.640Z] ---> Running in 20386ac73f3c [2022-05-27T10:16:40.621Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-05-27T10:16:40.621Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 [2022-05-27T10:16:40.621Z] go: downloading github.com/IOTechSystems/onvif v0.1.1 [2022-05-27T10:16:41.615Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-05-27T10:16:41.615Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-05-27T10:16:41.894Z] go: downloading github.com/gofrs/uuid v3.2.0+incompatible [2022-05-27T10:16:41.894Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-27T10:16:41.894Z] go: downloading github.com/clbanning/mxj/v2 v2.3.2 [2022-05-27T10:16:42.174Z] go: downloading github.com/beevik/etree v1.1.0 [2022-05-27T10:16:42.174Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-05-27T10:16:42.174Z] go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae [2022-05-27T10:16:42.174Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-05-27T10:16:42.174Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-27T10:16:42.174Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-05-27T10:16:42.453Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-05-27T10:16:42.453Z] go: downloading github.com/go-kit/log v0.2.0 [2022-05-27T10:16:42.453Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-05-27T10:16:42.735Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-05-27T10:16:42.735Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 [2022-05-27T10:16:42.735Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-27T10:16:42.735Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-27T10:16:43.019Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-05-27T10:16:43.019Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-05-27T10:16:43.019Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-05-27T10:16:43.019Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-05-27T10:16:43.291Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-27T10:16:43.292Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-05-27T10:16:43.292Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-27T10:16:43.292Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-27T10:16:43.292Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-05-27T10:16:43.292Z] go: downloading golang.org/x/text v0.3.7 [2022-05-27T10:16:43.292Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2022-05-27T10:16:43.569Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-27T10:16:43.569Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-27T10:16:43.845Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-05-27T10:16:43.845Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-27T10:16:44.440Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-05-27T10:16:44.440Z] go: downloading google.golang.org/grpc v1.42.0 [2022-05-27T10:16:45.886Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-27T10:16:45.886Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-27T10:16:45.886Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-27T10:16:45.886Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-27T10:16:45.886Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-27T10:16:45.886Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-27T10:16:46.161Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-27T10:16:46.161Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-27T10:16:46.161Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-27T10:16:46.161Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-05-27T10:16:46.441Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-27T10:16:47.419Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-05-27T10:16:47.419Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-27T10:16:47.419Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-27T10:16:47.419Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-27T10:16:47.419Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-27T10:16:47.419Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-27T10:16:47.419Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-27T10:16:47.419Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-27T10:16:47.693Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-27T10:16:47.693Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-27T10:16:47.693Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-27T10:16:47.967Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-27T10:19:24.902Z] Removing intermediate container 20386ac73f3c [2022-05-27T10:19:24.902Z] ---> 094cec28e181 [2022-05-27T10:19:24.902Z] Step 14/26 : FROM alpine:3.15 [2022-05-27T10:19:24.902Z] 3.15: Pulling from library/alpine [2022-05-27T10:19:24.902Z] 9981e73032c8: Pulling fs layer [2022-05-27T10:19:24.902Z] 9981e73032c8: Verifying Checksum [2022-05-27T10:19:24.902Z] 9981e73032c8: Download complete [2022-05-27T10:19:24.902Z] 9981e73032c8: Pull complete [2022-05-27T10:19:24.902Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-27T10:19:24.902Z] Status: Downloaded newer image for alpine:3.15 [2022-05-27T10:19:24.902Z] ---> 3fb3c9af89a9 [2022-05-27T10:19:24.902Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-27T10:19:24.902Z] ---> Running in 28b026b9243f [2022-05-27T10:19:24.902Z] Removing intermediate container 28b026b9243f [2022-05-27T10:19:24.902Z] ---> 4c44d8982434 [2022-05-27T10:19:24.902Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-27T10:19:24.902Z] ---> Running in c0e53d375058 [2022-05-27T10:19:24.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-27T10:19:24.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-27T10:19:24.902Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-27T10:19:24.902Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-05-27T10:19:24.902Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-27T10:19:24.902Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-27T10:19:24.902Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-27T10:19:24.902Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-27T10:19:24.902Z] Executing busybox-1.34.1-r5.trigger [2022-05-27T10:19:24.902Z] OK: 8 MiB in 20 packages [2022-05-27T10:19:24.902Z] Removing intermediate container c0e53d375058 [2022-05-27T10:19:24.902Z] ---> cd7bb3992bb8 [2022-05-27T10:19:24.902Z] Step 17/26 : WORKDIR / [2022-05-27T10:19:24.902Z] ---> Running in 5fc30b300696 [2022-05-27T10:19:24.902Z] Removing intermediate container 5fc30b300696 [2022-05-27T10:19:24.902Z] ---> a480080ccd09 [2022-05-27T10:19:24.902Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-05-27T10:19:25.173Z] ---> eed7d7fdf786 [2022-05-27T10:19:25.173Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-05-27T10:19:25.770Z] ---> ad6acad4e8ed [2022-05-27T10:19:25.770Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-05-27T10:19:26.048Z] ---> 515209030538 [2022-05-27T10:19:26.048Z] Step 21/26 : EXPOSE 59984 [2022-05-27T10:19:26.330Z] ---> Running in 2aa70c3be063 [2022-05-27T10:19:26.607Z] Removing intermediate container 2aa70c3be063 [2022-05-27T10:19:26.607Z] ---> 22f851cc7967 [2022-05-27T10:19:26.607Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-05-27T10:19:26.607Z] ---> Running in c7d96ccce3f0 [2022-05-27T10:19:26.881Z] Removing intermediate container c7d96ccce3f0 [2022-05-27T10:19:26.881Z] ---> 120bff33cf78 [2022-05-27T10:19:26.881Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-27T10:19:26.881Z] ---> Running in 34852efa0922 [2022-05-27T10:19:27.155Z] Removing intermediate container 34852efa0922 [2022-05-27T10:19:27.156Z] ---> bb6cd2cba62b [2022-05-27T10:19:27.156Z] Step 24/26 : LABEL arch=arm64 [2022-05-27T10:19:27.430Z] ---> Running in aa614bf7247f [2022-05-27T10:19:27.703Z] Removing intermediate container aa614bf7247f [2022-05-27T10:19:27.703Z] ---> 2c99eea03fa5 [2022-05-27T10:19:27.703Z] Step 25/26 : LABEL git_sha=a7e0d88e2e7ed8cc23e6694a272d29151fff3654 [2022-05-27T10:19:27.703Z] ---> Running in 8b626b42ecff [2022-05-27T10:19:27.979Z] Removing intermediate container 8b626b42ecff [2022-05-27T10:19:27.979Z] ---> 6add9f45648e [2022-05-27T10:19:27.979Z] Step 26/26 : LABEL version=0.0.0 [2022-05-27T10:19:27.979Z] ---> Running in b38377ed72b0 [2022-05-27T10:19:28.253Z] Removing intermediate container b38377ed72b0 [2022-05-27T10:19:28.253Z] ---> 07bb6a0c58fc [2022-05-27T10:19:28.253Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-27T10:19:28.253Z] Successfully built 07bb6a0c58fc [2022-05-27T10:19:28.253Z] 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-05-27T10:19:28.691Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T10:19:28.691Z] [2022-05-27T10:19:28.691Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T10:19:29.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T10:19:29.322Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-27T10:19:29.322Z] 8998bd30e6a1: Pulling fs layer [2022-05-27T10:19:29.322Z] 04944245beec: Pulling fs layer [2022-05-27T10:19:29.322Z] 699f458cf7ca: Pulling fs layer [2022-05-27T10:19:29.322Z] 765212b225bb: Pulling fs layer [2022-05-27T10:19:29.322Z] f23df028b6ca: Pulling fs layer [2022-05-27T10:19:29.322Z] d65c8cfc05b1: Pulling fs layer [2022-05-27T10:19:29.322Z] 2437ff75d9bd: Pulling fs layer [2022-05-27T10:19:29.322Z] 765212b225bb: Waiting [2022-05-27T10:19:29.322Z] f23df028b6ca: Waiting [2022-05-27T10:19:29.322Z] d65c8cfc05b1: Waiting [2022-05-27T10:19:29.322Z] 2437ff75d9bd: Waiting [2022-05-27T10:19:29.322Z] 04944245beec: Verifying Checksum [2022-05-27T10:19:29.322Z] 04944245beec: Download complete [2022-05-27T10:19:29.322Z] 765212b225bb: Verifying Checksum [2022-05-27T10:19:29.322Z] 765212b225bb: Download complete [2022-05-27T10:19:29.322Z] f23df028b6ca: Download complete [2022-05-27T10:19:29.322Z] d65c8cfc05b1: Verifying Checksum [2022-05-27T10:19:29.322Z] d65c8cfc05b1: Download complete [2022-05-27T10:19:29.604Z] 699f458cf7ca: Verifying Checksum [2022-05-27T10:19:29.604Z] 699f458cf7ca: Download complete [2022-05-27T10:19:29.879Z] 8998bd30e6a1: Verifying Checksum [2022-05-27T10:19:29.879Z] 8998bd30e6a1: Download complete [2022-05-27T10:19:32.516Z] 2437ff75d9bd: Download complete [2022-05-27T10:19:33.954Z] 8998bd30e6a1: Pull complete [2022-05-27T10:19:34.559Z] 04944245beec: Pull complete [2022-05-27T10:19:36.010Z] 699f458cf7ca: Pull complete [2022-05-27T10:19:36.284Z] 765212b225bb: Pull complete [2022-05-27T10:19:37.269Z] f23df028b6ca: Pull complete [2022-05-27T10:19:37.269Z] d65c8cfc05b1: Pull complete [2022-05-27T10:19:52.379Z] 2437ff75d9bd: Pull complete [2022-05-27T10:19:52.379Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-27T10:19:52.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T10:19:52.379Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T10:19:52.638Z] prd-ubuntu20.04-docker-arm64-4c-16g-252 does not seem to be running inside a container [2022-05-27T10:19:52.733Z] $ 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/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-27T10:19:55.373Z] $ docker top 5816a7d1d318f521cc6a0425ea6e9f6f1f2b04c510336a13785aca3cc5cf2bd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T10:19:56.289Z] ---> job-cost.sh [2022-05-27T10:19:56.289Z] lf-activate-venv: SKIPPING [2022-05-27T10:19:56.289Z] INFO: No Stack... [2022-05-27T10:19:56.886Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-27T10:19:57.866Z] INFO: Archiving Costs [Pipeline] sh [2022-05-27T10:19:58.537Z] + + cat /w/workspace/device-onvif-camera/13/archives/cost.csv [2022-05-27T10:19:58.537Z] cut -d, -f6 [Pipeline] lock [2022-05-27T10:19:58.603Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] [2022-05-27T10:19:58.609Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] did not exist. Created. [2022-05-27T10:19:58.609Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-27T10:19:59.300Z] /w/workspace/device-onvif-camera/13@tmp/durable-feb9c823/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-27T10:19:59.988Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-27T10:20:00.016Z] Warning: overwriting stash ‘stack-cost’ [2022-05-27T10:20:00.071Z] Stashed 1 file(s) [Pipeline] } [2022-05-27T10:20:00.078Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-27T10:20:00.105Z] $ docker stop --time=1 5816a7d1d318f521cc6a0425ea6e9f6f1f2b04c510336a13785aca3cc5cf2bd0 [2022-05-27T10:20:01.614Z] $ docker rm -f 5816a7d1d318f521cc6a0425ea6e9f6f1f2b04c510336a13785aca3cc5cf2bd0 [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-05-27T10:20:02.052Z] provisioning config files... [2022-05-27T10:20:02.065Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config2069570968452763637tmp [Pipeline] { [Pipeline] sh [2022-05-27T10:20:02.375Z] + set +x [2022-05-27T10:20:02.375Z] + bash -s -- [2022-05-27T10:20:02.375Z] + curl -s https://codecov.io/bash [2022-05-27T10:20:02.375Z] [2022-05-27T10:20:02.375Z] _____ _ [2022-05-27T10:20:02.375Z] / ____| | | [2022-05-27T10:20:02.375Z] | | ___ __| | ___ ___ _____ __ [2022-05-27T10:20:02.375Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-27T10:20:02.375Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-27T10:20:02.375Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-27T10:20:02.375Z] Bash-1.0.6 [2022-05-27T10:20:02.375Z] [2022-05-27T10:20:02.375Z] [2022-05-27T10:20:02.375Z] ==> git version 2.25.1 found [2022-05-27T10:20:02.375Z] ==> 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-05-27T10:20:02.375Z] Release-Date: 2020-01-08 [2022-05-27T10:20:02.375Z] 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-05-27T10:20:02.375Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-27T10:20:02.375Z] ==> Jenkins CI detected. [2022-05-27T10:20:02.375Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-65 [2022-05-27T10:20:02.375Z] project root: . [2022-05-27T10:20:02.375Z] --> token set from env [2022-05-27T10:20:02.375Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-27T10:20:02.375Z] ==> Running gcov in . (disable via -X gcov) [2022-05-27T10:20:02.375Z] ==> Python coveragepy not found [2022-05-27T10:20:02.375Z] ==> Searching for coverage reports in: [2022-05-27T10:20:02.375Z] + . [2022-05-27T10:20:02.375Z] -> Found 1 reports [2022-05-27T10:20:02.375Z] ==> Detecting git/mercurial file structure [2022-05-27T10:20:02.636Z] ==> Reading reports [2022-05-27T10:20:02.636Z] + ./coverage.out bytes=42596 [2022-05-27T10:20:02.636Z] ==> Appending adjustments [2022-05-27T10:20:02.636Z] https://docs.codecov.io/docs/fixing-reports [2022-05-27T10:20:02.636Z] + Found adjustments [2022-05-27T10:20:02.636Z] ==> Gzipping contents [2022-05-27T10:20:02.636Z] 8.0K /tmp/codecov.2thhIH.gz [2022-05-27T10:20:02.636Z] ==> Uploading reports [2022-05-27T10:20:02.636Z] url: https://codecov.io [2022-05-27T10:20:02.637Z] query: branch=PR-65&commit=adb884d8668282ad178a3bdff0c37f789c00adfd&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= [2022-05-27T10:20:02.637Z] -> Pinging Codecov [2022-05-27T10:20:02.637Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-65&commit=adb884d8668282ad178a3bdff0c37f789c00adfd&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= [2022-05-27T10:20:02.896Z] -> Uploading to [2022-05-27T10:20:02.896Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-27/F29A59C45E3A92E06B3E522C9905F8EF/adb884d8668282ad178a3bdff0c37f789c00adfd/7b683a9d-1cc3-4f47-85ef-6a2042ff4eb5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220527%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220527T102002Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7151c82162d28c65468a8c9dbd6f306248cb0e680326354004029d50a892508d [2022-05-27T10:20:02.896Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-27T10:20:02.896Z] Dload Upload Total Spent Left Speed [2022-05-27T10:20:03.160Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5649 0 0 100 5649 0 27556 --:--:-- --:--:-- --:--:-- 27556 [2022-05-27T10:20:03.160Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/adb884d8668282ad178a3bdff0c37f789c00adfd [Pipeline] } [2022-05-27T10:20:03.168Z] 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-05-27T10:20:03.873Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-65/archives ] [2022-05-27T10:20:03.874Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives [2022-05-27T10:20:03.874Z] total 16 [2022-05-27T10:20:03.874Z] drwxr-xr-x 3 root root 4096 May 27 10:12 . [2022-05-27T10:20:03.874Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 10:12 .. [2022-05-27T10:20:03.874Z] drwxr-xr-x 2 root root 4096 May 27 10:12 cost [2022-05-27T10:20:03.874Z] -rw-r--r-- 1 root root 90 May 27 10:12 cost.csv [2022-05-27T10:20:03.874Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-65/archives [2022-05-27T10:20:03.874Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives [2022-05-27T10:20:03.874Z] total 16 [2022-05-27T10:20:03.874Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 10:12 . [2022-05-27T10:20:03.874Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 10:12 .. [2022-05-27T10:20:03.874Z] drwxr-xr-x 2 jenkins jenkins 4096 May 27 10:12 cost [2022-05-27T10:20:03.874Z] -rw-r--r-- 1 jenkins jenkins 90 May 27 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-27T10:20:04.169Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T10:20:05.035Z] ---> package-listing.sh [2022-05-27T10:20:05.035Z] ++ facter osfamily [2022-05-27T10:20:05.035Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-27T10:20:05.296Z] + OS_FAMILY=debian [2022-05-27T10:20:05.296Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-65 [2022-05-27T10:20:05.296Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-27T10:20:05.296Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-27T10:20:05.296Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-27T10:20:05.296Z] + PACKAGES=/tmp/packages_start.txt [2022-05-27T10:20:05.296Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' [2022-05-27T10:20:05.296Z] + PACKAGES=/tmp/packages_end.txt [2022-05-27T10:20:05.296Z] + case "${OS_FAMILY}" in [2022-05-27T10:20:05.296Z] + dpkg -l [2022-05-27T10:20:05.296Z] + grep '^ii' [2022-05-27T10:20:05.296Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-27T10:20:05.296Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-27T10:20:05.296Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-27T10:20:05.296Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' [2022-05-27T10:20:05.296Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-65/archives/ [2022-05-27T10:20:05.296Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-65/archives/ [Pipeline] echo [2022-05-27T10:20:05.308Z] 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/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-27T10:20:05.590Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T10:20:06.160Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T10:20:06.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T10:20:06.239Z] prd-ubuntu20.04-docker-8c-8g-250 does not seem to be running inside a container [2022-05-27T10:20:06.273Z] $ 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/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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-05-27T10:20:06.544Z] $ docker top efc81ad342c45fa58d75f64d81ee5ce9d6eeed06078c643f3e6334fb738e0992 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T10:20:06.899Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-27T10:20:07.186Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-27T10:20:07.480Z] + ls /var/log/sa-host [2022-05-27T10:20:07.480Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T10:20:07.635Z] provisioning config files... [2022-05-27T10:20:07.645Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config4611505074632291517tmp [Pipeline] { [Pipeline] echo [2022-05-27T10:20:07.660Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T10:20:07.941Z] ---> create-netrc.sh [Pipeline] } [2022-05-27T10:20:07.949Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-27T10:20:08.292Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-27T10:20:08.301Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T10:20:08.585Z] ---> sudo-logs.sh [2022-05-27T10:20:08.585Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-27T10:20:08.611Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T10:20:08.900Z] ---> job-cost.sh [2022-05-27T10:20:08.900Z] lf-activate-venv: SKIPPING [2022-05-27T10:20:08.900Z] DEBUG: total: 0.2199999988079071 [2022-05-27T10:20:08.900Z] INFO: Retrieving Stack Cost... [2022-05-27T10:20:09.474Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-27T10:20:09.735Z] INFO: Archiving Costs [Pipeline] echo [2022-05-27T10:20:09.746Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T10:20:10.029Z] ---> logs-deploy.sh [2022-05-27T10:20:10.029Z] lf-activate-venv: SKIPPING [2022-05-27T10:20:10.029Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-65/13 [2022-05-27T10:20:10.029Z] INFO: archiving workspace using pattern(s): [2022-05-27T10:20:10.972Z] Archives upload complete. [2022-05-27T10:20:10.972Z] INFO: archiving logs to Nexus