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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0 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-ssh7313559397898123650.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1626013576763083520.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9502729640993379215.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh2642918631277035328.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2720073461149703156.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22401 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-125 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 6e01ff7ddf1d0cc14e0e380b479e5efc638d617f Checking out Revision 6e01ff7ddf1d0cc14e0e380b479e5efc638d617f (PR-125) > 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/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # 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 9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e01ff7ddf1d0cc14e0e380b479e5efc638d617f # timeout=10 Commit message: "Merge commit '9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0' into HEAD" > git rev-list --no-walk b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-10T10:10:19.470Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-10T10:10:19.519Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-10T10:10:19.532Z] ========================================================= [2022-08-10T10:10:19.533Z] EdgeX Global Pipelines Version Info [2022-08-10T10:10:19.533Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-10T10:10:20.298Z] ------------------- [2022-08-10T10:10:20.298Z] stable info: [2022-08-10T10:10:20.298Z] ------------------- [2022-08-10T10:10:20.298Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-10T10:10:20.298Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-10T10:10:20.298Z] Message: update stable to v1.0.238 [2022-08-10T10:10:20.874Z] ------------------- [2022-08-10T10:10:20.874Z] experimental info: [2022-08-10T10:10:20.874Z] ------------------- [2022-08-10T10:10:20.874Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-10T10:10:20.874Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-10T10:10:20.874Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-10T10:10:21.059Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-10T10:10:21.070Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-10T10:10:21.082Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-10T10:10:21.093Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-10T10:10:21.103Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-10T10:10:21.119Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-10T10:10:21.133Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-10T10:10:21.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-10T10:10:21.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-10T10:10:21.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-10T10:10:21.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-10T10:10:21.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-10T10:10:21.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-10T10:10:21.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-10T10:10:21.237Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-10T10:10:21.249Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-10T10:10:21.263Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-10T10:10:21.274Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-10T10:10:21.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-10T10:10:21.299Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-10T10:10:21.309Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-10T10:10:21.321Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-10T10:10:21.333Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-10T10:10:21.344Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-10T10:10:21.356Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-10T10:10:21.369Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-10T10:10:21.380Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-10T10:10:21.393Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-08-10T10:10:21.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-08-10T10:10:21.414Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-08-10T10:10:21.426Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e01ff7ddf1d0cc14e0e380b479e5efc638d617f [Pipeline] echo [2022-08-10T10:10:21.438Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e01ff7 [Pipeline] echo [2022-08-10T10:10:21.450Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-10T10:10:21.502Z] provisioning config files... [2022-08-10T10:10:21.520Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config3952790204267168043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T10:10:21.935Z] ---> docker-login.sh [2022-08-10T10:10:21.935Z] nexus3.edgexfoundry.org:10001 [2022-08-10T10:10:22.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:10:22.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:10:22.461Z] Configure a credential helper to remove this warning. See [2022-08-10T10:10:22.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:10:22.461Z] [2022-08-10T10:10:22.461Z] Login Succeeded [2022-08-10T10:10:22.461Z] nexus3.edgexfoundry.org:10002 [2022-08-10T10:10:22.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:10:22.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:10:22.723Z] Configure a credential helper to remove this warning. See [2022-08-10T10:10:22.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:10:22.723Z] [2022-08-10T10:10:22.723Z] Login Succeeded [2022-08-10T10:10:22.723Z] nexus3.edgexfoundry.org:10003 [2022-08-10T10:10:22.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:10:22.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:10:22.723Z] Configure a credential helper to remove this warning. See [2022-08-10T10:10:22.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:10:22.723Z] [2022-08-10T10:10:22.723Z] Login Succeeded [2022-08-10T10:10:22.723Z] nexus3.edgexfoundry.org:10004 [2022-08-10T10:10:22.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:10:22.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:10:22.991Z] Configure a credential helper to remove this warning. See [2022-08-10T10:10:22.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:10:22.991Z] [2022-08-10T10:10:22.991Z] Login Succeeded [2022-08-10T10:10:22.991Z] docker.io [2022-08-10T10:10:22.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:10:23.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:10:23.251Z] Configure a credential helper to remove this warning. See [2022-08-10T10:10:23.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:10:23.251Z] [2022-08-10T10:10:23.251Z] Login Succeeded [2022-08-10T10:10:23.251Z] ---> docker-login.sh ends [Pipeline] } [2022-08-10T10:10:23.260Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-10T10:10:23.623Z] + git rev-list -1 --merges 6e01ff7ddf1d0cc14e0e380b479e5efc638d617f~1..6e01ff7ddf1d0cc14e0e380b479e5efc638d617f [Pipeline] echo [2022-08-10T10:10:23.654Z] -----------> git rev-list -1 --merges 6e01ff7ddf1d0cc14e0e380b479e5efc638d617f~1..6e01ff7ddf1d0cc14e0e380b479e5efc638d617f 6e01ff7ddf1d0cc14e0e380b479e5efc638d617f [2022-08-10T10:10:23.654Z] 6e01ff7ddf1d0cc14e0e380b479e5efc638d617f [false] [Pipeline] sh [2022-08-10T10:10:23.947Z] + git log --format=format:%s -1 6e01ff7ddf1d0cc14e0e380b479e5efc638d617f [Pipeline] echo [2022-08-10T10:10:23.962Z] ========================================================= [2022-08-10T10:10:23.962Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-10T10:10:23.962Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-10T10:10:24.310Z] + git log --format=format:%s -1 6e01ff7ddf1d0cc14e0e380b479e5efc638d617f [Pipeline] echo [2022-08-10T10:10:24.322Z] [semverPrep] GIT_COMMIT: 6e01ff7ddf1d0cc14e0e380b479e5efc638d617f, Commit Message: Merge commit '9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0' into HEAD [Pipeline] echo [2022-08-10T10:10:24.329Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-10T10:10:24.704Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-10T10:10:24.705Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-10T10:10:24.705Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-10T10:10:24.705Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-10T10:10:24.705Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-10T10:10:24.705Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-10T10:10:24.705Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:10:25.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-10T10:10:25.162Z] [2022-08-10T10:10:25.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:10:25.472Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-10T10:10:25.472Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-10T10:10:25.472Z] b85a868b505f: Pulling fs layer [2022-08-10T10:10:25.472Z] e2be974225ed: Pulling fs layer [2022-08-10T10:10:25.472Z] 339a4e72a1f5: Pulling fs layer [2022-08-10T10:10:25.472Z] 988bab9f4d93: Pulling fs layer [2022-08-10T10:10:25.472Z] 1469e6f7b9e6: Pulling fs layer [2022-08-10T10:10:25.472Z] eaf3925da568: Pulling fs layer [2022-08-10T10:10:25.472Z] bab4dde63d76: Pulling fs layer [2022-08-10T10:10:25.472Z] bde34c3a00c8: Pulling fs layer [2022-08-10T10:10:25.472Z] 988bab9f4d93: Waiting [2022-08-10T10:10:25.472Z] b352a97aabf1: Pulling fs layer [2022-08-10T10:10:25.472Z] 1469e6f7b9e6: Waiting [2022-08-10T10:10:25.472Z] eaf3925da568: Waiting [2022-08-10T10:10:25.472Z] 4872d77fe225: Pulling fs layer [2022-08-10T10:10:25.472Z] bab4dde63d76: Waiting [2022-08-10T10:10:25.472Z] 5851b861e8e6: Pulling fs layer [2022-08-10T10:10:25.472Z] bde34c3a00c8: Waiting [2022-08-10T10:10:25.472Z] b352a97aabf1: Waiting [2022-08-10T10:10:25.472Z] 4872d77fe225: Waiting [2022-08-10T10:10:25.472Z] 5851b861e8e6: Waiting [2022-08-10T10:10:25.472Z] e2be974225ed: Verifying Checksum [2022-08-10T10:10:25.472Z] e2be974225ed: Download complete [2022-08-10T10:10:25.472Z] 988bab9f4d93: Verifying Checksum [2022-08-10T10:10:25.472Z] 988bab9f4d93: Download complete [2022-08-10T10:10:25.734Z] 1469e6f7b9e6: Verifying Checksum [2022-08-10T10:10:25.734Z] 1469e6f7b9e6: Download complete [2022-08-10T10:10:25.734Z] 339a4e72a1f5: Verifying Checksum [2022-08-10T10:10:25.734Z] 339a4e72a1f5: Download complete [2022-08-10T10:10:25.734Z] eaf3925da568: Verifying Checksum [2022-08-10T10:10:25.734Z] bde34c3a00c8: Verifying Checksum [2022-08-10T10:10:25.734Z] bde34c3a00c8: Download complete [2022-08-10T10:10:25.734Z] b352a97aabf1: Download complete [2022-08-10T10:10:25.734Z] 4872d77fe225: Download complete [2022-08-10T10:10:25.734Z] 5851b861e8e6: Verifying Checksum [2022-08-10T10:10:25.735Z] 5851b861e8e6: Download complete [2022-08-10T10:10:25.735Z] b85a868b505f: Download complete [2022-08-10T10:10:25.995Z] bab4dde63d76: Verifying Checksum [2022-08-10T10:10:25.995Z] bab4dde63d76: Download complete [2022-08-10T10:10:27.380Z] b85a868b505f: Pull complete [2022-08-10T10:10:27.380Z] e2be974225ed: Pull complete [2022-08-10T10:10:27.951Z] 339a4e72a1f5: Pull complete [2022-08-10T10:10:27.951Z] 988bab9f4d93: Pull complete [2022-08-10T10:10:28.213Z] 1469e6f7b9e6: Pull complete [2022-08-10T10:10:28.475Z] eaf3925da568: Pull complete [2022-08-10T10:10:30.385Z] bab4dde63d76: Pull complete [2022-08-10T10:10:30.385Z] bde34c3a00c8: Pull complete [2022-08-10T10:10:30.648Z] b352a97aabf1: Pull complete [2022-08-10T10:10:30.648Z] 4872d77fe225: Pull complete [2022-08-10T10:10:30.648Z] 5851b861e8e6: Pull complete [2022-08-10T10:10:30.648Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-10T10:10:30.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-10T10:10:30.648Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T10:10:31.005Z] prd-ubuntu20.04-docker-8c-8g-22401 does not seem to be running inside a container [2022-08-10T10:10:31.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-10T10:10:32.814Z] $ docker top 092e2e896125fdb35253de4072181757d9b130bd559f056874c1d0e49dee9cdc -eo pid,comm [2022-08-10T10:10:32.886Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-10T10:10:32.886Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-10T10:10:32.924Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-10T10:10:32.924Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-10T10:10:33.063Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-10T10:10:33.070Z] $ docker exec 092e2e896125fdb35253de4072181757d9b130bd559f056874c1d0e49dee9cdc ssh-agent [2022-08-10T10:10:33.187Z] SSH_AUTH_SOCK=/tmp/ssh-gcZowS5LFtQ4/agent.32 [2022-08-10T10:10:33.187Z] SSH_AGENT_PID=38 [2022-08-10T10:10:33.195Z] Running ssh-add (command line suppressed) [2022-08-10T10:10:33.333Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4673856953207449067.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4673856953207449067.key) [2022-08-10T10:10:33.346Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-10T10:10:33.638Z] + git tag --points-at HEAD [Pipeline] } [2022-08-10T10:10:33.661Z] $ docker exec --env ******** --env ******** 092e2e896125fdb35253de4072181757d9b130bd559f056874c1d0e49dee9cdc ssh-agent -k [2022-08-10T10:10:33.787Z] unset SSH_AUTH_SOCK; [2022-08-10T10:10:33.787Z] unset SSH_AGENT_PID; [2022-08-10T10:10:33.787Z] echo Agent pid 38 killed; [2022-08-10T10:10:33.797Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-10T10:10:33.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-10T10:10:33.821Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-10T10:10:33.966Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-10T10:10:33.973Z] $ docker exec 092e2e896125fdb35253de4072181757d9b130bd559f056874c1d0e49dee9cdc ssh-agent [2022-08-10T10:10:34.106Z] SSH_AUTH_SOCK=/tmp/ssh-Y15t8L7CNeiR/agent.72 [2022-08-10T10:10:34.106Z] SSH_AGENT_PID=78 [2022-08-10T10:10:34.118Z] Running ssh-add (command line suppressed) [2022-08-10T10:10:34.256Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4154438457671726620.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4154438457671726620.key) [2022-08-10T10:10:34.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-10T10:10:34.565Z] + git semver init [2022-08-10T10:10:34.825Z] 2022-08-10 10:10:34,766 [run_init] DEBUG init version:0.0.0 force:False [2022-08-10T10:10:34.825Z] 2022-08-10 10:10:34,767 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-10T10:10:34.825Z] 2022-08-10 10:10:34,767 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-10T10:10:34.825Z] 2022-08-10 10:10:34,767 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-08-10T10:10:35.773Z] 2022-08-10 10:10:35,568 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-08-10T10:10:35.773Z] 2022-08-10 10:10:35,569 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-08-10T10:10:35.773Z] 2022-08-10 10:10:35,569 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-10T10:10:35.773Z] 2022-08-10 10:10:35,572 [execute] INFO git cat-file --batch-check [2022-08-10T10:10:35.773Z] 2022-08-10 10:10:35,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-10T10:10:35.773Z] 2022-08-10 10:10:35,579 [execute] INFO git cat-file --batch [2022-08-10T10:10:35.773Z] 2022-08-10 10:10:35,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-10T10:10:35.773Z] 2022-08-10 10:10:35,586 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-10T10:10:35.773Z] 0.0.0 [Pipeline] } [2022-08-10T10:10:35.788Z] $ docker exec --env ******** --env ******** 092e2e896125fdb35253de4072181757d9b130bd559f056874c1d0e49dee9cdc ssh-agent -k [2022-08-10T10:10:35.916Z] unset SSH_AUTH_SOCK; [2022-08-10T10:10:35.916Z] unset SSH_AGENT_PID; [2022-08-10T10:10:35.916Z] echo Agent pid 78 killed; [2022-08-10T10:10:35.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-10T10:10:36.235Z] + git semver [Pipeline] } [2022-08-10T10:10:36.518Z] $ docker stop --time=1 092e2e896125fdb35253de4072181757d9b130bd559f056874c1d0e49dee9cdc [2022-08-10T10:10:37.878Z] $ docker rm -f 092e2e896125fdb35253de4072181757d9b130bd559f056874c1d0e49dee9cdc [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-10T10:10:38.234Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-10T10:10:38.503Z] Stashed 1 file(s) [Pipeline] echo [2022-08-10T10:10:38.507Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-10T10:10:38.629Z] provisioning config files... [2022-08-10T10:10:38.641Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config3835008517712861140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T10:10:38.949Z] ---> docker-login.sh [2022-08-10T10:10:38.949Z] nexus3.edgexfoundry.org:10001 [2022-08-10T10:10:38.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:10:38.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:10:38.949Z] Configure a credential helper to remove this warning. See [2022-08-10T10:10:38.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:10:38.949Z] [2022-08-10T10:10:38.949Z] Login Succeeded [2022-08-10T10:10:38.949Z] nexus3.edgexfoundry.org:10002 [2022-08-10T10:10:38.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:10:39.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:10:39.210Z] Configure a credential helper to remove this warning. See [2022-08-10T10:10:39.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:10:39.210Z] [2022-08-10T10:10:39.210Z] Login Succeeded [2022-08-10T10:10:39.210Z] nexus3.edgexfoundry.org:10003 [2022-08-10T10:10:39.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:10:39.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:10:39.210Z] Configure a credential helper to remove this warning. See [2022-08-10T10:10:39.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:10:39.210Z] [2022-08-10T10:10:39.210Z] Login Succeeded [2022-08-10T10:10:39.210Z] nexus3.edgexfoundry.org:10004 [2022-08-10T10:10:39.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:10:39.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:10:39.472Z] Configure a credential helper to remove this warning. See [2022-08-10T10:10:39.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:10:39.472Z] [2022-08-10T10:10:39.472Z] Login Succeeded [2022-08-10T10:10:39.472Z] docker.io [2022-08-10T10:10:39.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:10:39.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:10:39.734Z] Configure a credential helper to remove this warning. See [2022-08-10T10:10:39.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:10:39.734Z] [2022-08-10T10:10:39.734Z] Login Succeeded [2022-08-10T10:10:39.734Z] ---> docker-login.sh ends [Pipeline] } [2022-08-10T10:10:39.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-10T10:10:39.815Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-10T10:10:39.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-10T10:10:39.840Z] ========================================================= [2022-08-10T10:10:39.840Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-10T10:10:39.840Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:10:40.164Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-10T10:10:40.164Z] Sending build context to Docker daemon 20.46MB [2022-08-10T10:10:40.164Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-10T10:10:40.164Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-10T10:10:40.425Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-10T10:10:40.425Z] 2408cc74d12b: Pulling fs layer [2022-08-10T10:10:40.425Z] ea60b727a1ce: Pulling fs layer [2022-08-10T10:10:40.425Z] 30c4a7721957: Pulling fs layer [2022-08-10T10:10:40.425Z] 370296b7ddb6: Pulling fs layer [2022-08-10T10:10:40.425Z] 7c6cee850709: Pulling fs layer [2022-08-10T10:10:40.425Z] 39a5fcdaea64: Pulling fs layer [2022-08-10T10:10:40.425Z] d94ebbe4e438: Pulling fs layer [2022-08-10T10:10:40.425Z] bcfd1f05c69d: Pulling fs layer [2022-08-10T10:10:40.425Z] 59ccb84bbe0f: Pulling fs layer [2022-08-10T10:10:40.425Z] 39a5fcdaea64: Waiting [2022-08-10T10:10:40.425Z] 7c6cee850709: Waiting [2022-08-10T10:10:40.425Z] d94ebbe4e438: Waiting [2022-08-10T10:10:40.425Z] 370296b7ddb6: Waiting [2022-08-10T10:10:40.425Z] 59ccb84bbe0f: Waiting [2022-08-10T10:10:40.425Z] bcfd1f05c69d: Waiting [2022-08-10T10:10:40.425Z] 30c4a7721957: Verifying Checksum [2022-08-10T10:10:40.425Z] 30c4a7721957: Download complete [2022-08-10T10:10:40.425Z] ea60b727a1ce: Download complete [2022-08-10T10:10:40.425Z] 7c6cee850709: Verifying Checksum [2022-08-10T10:10:40.425Z] 7c6cee850709: Download complete [2022-08-10T10:10:40.425Z] 39a5fcdaea64: Verifying Checksum [2022-08-10T10:10:40.425Z] 39a5fcdaea64: Download complete [2022-08-10T10:10:40.425Z] 2408cc74d12b: Verifying Checksum [2022-08-10T10:10:40.425Z] 2408cc74d12b: Download complete [2022-08-10T10:10:40.425Z] d94ebbe4e438: Download complete [2022-08-10T10:10:40.689Z] 2408cc74d12b: Pull complete [2022-08-10T10:10:40.689Z] ea60b727a1ce: Pull complete [2022-08-10T10:10:40.963Z] 30c4a7721957: Pull complete [2022-08-10T10:10:40.963Z] 59ccb84bbe0f: Verifying Checksum [2022-08-10T10:10:40.963Z] 59ccb84bbe0f: Download complete [2022-08-10T10:10:40.963Z] bcfd1f05c69d: Download complete [2022-08-10T10:10:41.224Z] 370296b7ddb6: Verifying Checksum [2022-08-10T10:10:41.224Z] 370296b7ddb6: Download complete [2022-08-10T10:10:45.423Z] 370296b7ddb6: Pull complete [2022-08-10T10:10:45.423Z] 7c6cee850709: Pull complete [2022-08-10T10:10:45.687Z] 39a5fcdaea64: Pull complete [2022-08-10T10:10:45.687Z] d94ebbe4e438: Pull complete [2022-08-10T10:10:48.240Z] bcfd1f05c69d: Pull complete [2022-08-10T10:10:48.811Z] 59ccb84bbe0f: Pull complete [2022-08-10T10:10:48.811Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-10T10:10:48.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-10T10:10:48.811Z] ---> a4fb48ad2a94 [2022-08-10T10:10:48.811Z] Step 3/13 : ARG MAKE="make build" [2022-08-10T10:10:51.370Z] ---> Running in 206bf3c23adb [2022-08-10T10:10:51.370Z] Removing intermediate container 206bf3c23adb [2022-08-10T10:10:51.370Z] ---> 0787495c3ba6 [2022-08-10T10:10:51.370Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-10T10:10:51.370Z] ---> Running in f04415b74e8d [2022-08-10T10:10:51.370Z] Removing intermediate container f04415b74e8d [2022-08-10T10:10:51.370Z] ---> 700cc7c9bcd4 [2022-08-10T10:10:51.370Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-10T10:10:51.370Z] ---> Running in a6184022e7fd [2022-08-10T10:10:51.370Z] Removing intermediate container a6184022e7fd [2022-08-10T10:10:51.370Z] ---> d5002e646dbe [2022-08-10T10:10:51.370Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-10T10:10:51.370Z] ---> Running in 7169c39fd3b3 [2022-08-10T10:10:51.634Z] Removing intermediate container 7169c39fd3b3 [2022-08-10T10:10:51.634Z] ---> 75d8d356dd75 [2022-08-10T10:10:51.634Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T10:10:51.634Z] ---> Running in 8ddc65fb5dd3 [2022-08-10T10:10:52.208Z] Removing intermediate container 8ddc65fb5dd3 [2022-08-10T10:10:52.208Z] ---> 977710bf3d98 [2022-08-10T10:10:52.209Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-10T10:10:52.209Z] ---> Running in c7853a950d0d [2022-08-10T10:10:52.471Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-10T10:10:53.413Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-10T10:10:53.596Z] Still waiting to schedule task [2022-08-10T10:10:53.597Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-10T10:10:53.673Z] OK: 211 MiB in 51 packages [2022-08-10T10:10:54.256Z] Removing intermediate container c7853a950d0d [2022-08-10T10:10:54.256Z] ---> 0f57b2afdaac [2022-08-10T10:10:54.256Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-10T10:10:54.256Z] ---> Running in 8cc4d2a8ecdf [2022-08-10T10:10:54.256Z] Removing intermediate container 8cc4d2a8ecdf [2022-08-10T10:10:54.256Z] ---> ee30b886bb83 [2022-08-10T10:10:54.256Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-10T10:10:54.256Z] ---> b82bafd99c6b [2022-08-10T10:10:54.256Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-10T10:10:54.517Z] ---> Running in 5dd37c9985cd [2022-08-10T10:11:16.503Z] Removing intermediate container 5dd37c9985cd [2022-08-10T10:11:16.503Z] ---> b1dc71f6b838 [2022-08-10T10:11:16.503Z] Step 12/13 : COPY . . [2022-08-10T10:11:16.503Z] ---> 39ebae56d06b [2022-08-10T10:11:16.503Z] Step 13/13 : RUN ${MAKE} [2022-08-10T10:11:16.503Z] ---> Running in d54e7d107a07 [2022-08-10T10:11:16.503Z] noop [2022-08-10T10:11:16.503Z] Removing intermediate container d54e7d107a07 [2022-08-10T10:11:16.503Z] ---> 6110fd95d4b1 [2022-08-10T10:11:16.503Z] Successfully built 6110fd95d4b1 [2022-08-10T10:11:16.503Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:11:16.823Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-10T10:11:16.823Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T10:11:16.901Z] prd-ubuntu20.04-docker-8c-8g-22401 does not seem to be running inside a container [2022-08-10T10:11:16.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-x86_64 cat [2022-08-10T10:11:17.352Z] $ docker top 6a9a69c3d1665e731e870a157cacac4bd004c99fcdd2e87c07e6b1031451b359 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T10:11:17.717Z] + go version [2022-08-10T10:11:17.717Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-10T10:11:17.731Z] $ docker stop --time=1 6a9a69c3d1665e731e870a157cacac4bd004c99fcdd2e87c07e6b1031451b359 [2022-08-10T10:11:19.026Z] $ docker rm -f 6a9a69c3d1665e731e870a157cacac4bd004c99fcdd2e87c07e6b1031451b359 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:11:19.425Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-10T10:11:19.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T10:11:19.606Z] prd-ubuntu20.04-docker-8c-8g-22401 does not seem to be running inside a container [2022-08-10T10:11:19.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-x86_64 cat [2022-08-10T10:11:20.003Z] $ docker top b5cffbea4c9c1b71187bebbde5b69309fb1d1a24cebbd461078b699fa8094b21 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T10:11:20.366Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-08-10T10:11:20.668Z] + make test [2022-08-10T10:11:20.668Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-10T10:11:21.237Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-10T10:11:31.227Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-10T10:11:32.607Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.028s coverage: 10.6% of statements [2022-08-10T10:11:32.607Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-10T10:11:36.811Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.524s coverage: 13.8% of statements [2022-08-10T10:11:44.949Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-10T10:11:44.949Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-10T10:11:48.249Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-10T10:11:48.249Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-10T10:11:48.249Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-10T10:11:48.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-10T10:11:48.284Z] $ docker stop --time=1 b5cffbea4c9c1b71187bebbde5b69309fb1d1a24cebbd461078b699fa8094b21 [2022-08-10T10:11:50.271Z] $ docker rm -f b5cffbea4c9c1b71187bebbde5b69309fb1d1a24cebbd461078b699fa8094b21 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-10T10:11:50.765Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-10T10:11:50.824Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-10T10:11:51.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-10T10:11:51.636Z] + ls -al . [2022-08-10T10:11:51.636Z] total 232 [2022-08-10T10:11:51.636Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 10:11 . [2022-08-10T10:11:51.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 10:10 .. [2022-08-10T10:11:51.636Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 10:11 .git [2022-08-10T10:11:51.636Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 10:10 .github [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 10 10:10 .gitignore [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 10 10:10 .golangci.yml [2022-08-10T10:11:51.636Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 10:10 .semver [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 10 10:10 Attribution.txt [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 10 10:10 CHANGELOG.md [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 10 10:10 Dockerfile [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 10:10 GOVERNANCE.md [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 10 10:10 Jenkinsfile [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 10 10:10 LICENSE [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 10 10:10 Makefile [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 10 10:10 OWNERS.md [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 10 10:10 README.md [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 10 10:10 VERSION [2022-08-10T10:11:51.636Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 10:10 bin [2022-08-10T10:11:51.636Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 10:10 cmd [2022-08-10T10:11:51.636Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 10 10:11 coverage.out [2022-08-10T10:11:51.636Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 10 10:10 doc [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 10 10:10 go.mod [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 10 10:10 go.sum [2022-08-10T10:11:51.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 10:10 internal [2022-08-10T10:11:51.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 10:10 snap [2022-08-10T10:11:51.636Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 10 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:11:51.964Z] + 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=6e01ff7ddf1d0cc14e0e380b479e5efc638d617f --label arch=amd64 --label version=0.0.0 . [2022-08-10T10:11:51.964Z] Sending build context to Docker daemon 20.53MB [2022-08-10T10:11:51.964Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-10T10:11:51.964Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-10T10:11:51.964Z] ---> 6110fd95d4b1 [2022-08-10T10:11:51.964Z] Step 3/27 : ARG MAKE="make build" [2022-08-10T10:11:52.233Z] ---> Running in ff661d633d29 [2022-08-10T10:11:52.233Z] Removing intermediate container ff661d633d29 [2022-08-10T10:11:52.233Z] ---> 6224a992610c [2022-08-10T10:11:52.233Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-10T10:11:52.233Z] ---> Running in 5032f5756799 [2022-08-10T10:11:52.494Z] Removing intermediate container 5032f5756799 [2022-08-10T10:11:52.494Z] ---> 27fc375f5cec [2022-08-10T10:11:52.494Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-10T10:11:52.494Z] ---> Running in 64810b819bfa [2022-08-10T10:11:52.494Z] Removing intermediate container 64810b819bfa [2022-08-10T10:11:52.494Z] ---> c57e1abea04b [2022-08-10T10:11:52.494Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-10T10:11:52.494Z] ---> Running in f0963bdcd29e [2022-08-10T10:11:52.755Z] Removing intermediate container f0963bdcd29e [2022-08-10T10:11:52.755Z] ---> 9f2f1b87c10e [2022-08-10T10:11:52.755Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T10:11:52.755Z] ---> Running in 98661d432580 [2022-08-10T10:11:53.326Z] Removing intermediate container 98661d432580 [2022-08-10T10:11:53.326Z] ---> 55bc506265dc [2022-08-10T10:11:53.326Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-10T10:11:53.326Z] ---> Running in 96b5c0cca18f [2022-08-10T10:11:53.587Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-10T10:11:54.530Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-10T10:11:54.792Z] OK: 211 MiB in 51 packages [2022-08-10T10:11:55.366Z] Removing intermediate container 96b5c0cca18f [2022-08-10T10:11:55.366Z] ---> 11f6f20338b6 [2022-08-10T10:11:55.366Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-10T10:11:55.366Z] ---> Running in 918d90a84582 [2022-08-10T10:11:55.366Z] Removing intermediate container 918d90a84582 [2022-08-10T10:11:55.366Z] ---> d7a4f2eddf22 [2022-08-10T10:11:55.366Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-10T10:11:55.627Z] ---> 99e865a5a584 [2022-08-10T10:11:55.627Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-10T10:11:55.627Z] ---> Running in 1b38d67e4465 [2022-08-10T10:11:56.207Z] Removing intermediate container 1b38d67e4465 [2022-08-10T10:11:56.207Z] ---> 6417639ca31d [2022-08-10T10:11:56.207Z] Step 12/27 : COPY . . [2022-08-10T10:11:57.151Z] ---> 0722460fedac [2022-08-10T10:11:57.151Z] Step 13/27 : RUN ${MAKE} [2022-08-10T10:11:57.151Z] ---> Running in d8111027075c [2022-08-10T10:11:57.412Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-10T10:12:19.375Z] Removing intermediate container d8111027075c [2022-08-10T10:12:19.375Z] ---> d8f0bd4f8600 [2022-08-10T10:12:19.375Z] Step 14/27 : FROM alpine:3.16 [2022-08-10T10:12:20.317Z] 3.16: Pulling from library/alpine [2022-08-10T10:12:20.578Z] 213ec9aee27d: Pulling fs layer [2022-08-10T10:12:21.165Z] 213ec9aee27d: Verifying Checksum [2022-08-10T10:12:21.165Z] 213ec9aee27d: Download complete [2022-08-10T10:12:21.165Z] 213ec9aee27d: Pull complete [2022-08-10T10:12:21.165Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-10T10:12:21.165Z] Status: Downloaded newer image for alpine:3.16 [2022-08-10T10:12:21.165Z] ---> 9c6f07244728 [2022-08-10T10:12:21.165Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-10T10:12:21.426Z] ---> Running in aa1362556dff [2022-08-10T10:12:21.426Z] Removing intermediate container aa1362556dff [2022-08-10T10:12:21.426Z] ---> 2a119b623e0a [2022-08-10T10:12:21.426Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-10T10:12:21.426Z] ---> Running in 1400b1cf8d88 [2022-08-10T10:12:21.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-10T10:12:21.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-10T10:12:21.947Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-10T10:12:21.947Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-10T10:12:21.947Z] (3/21) Installing readline (8.1.2-r0) [2022-08-10T10:12:22.207Z] (4/21) Installing bash (5.1.16-r2) [2022-08-10T10:12:22.207Z] Executing bash-5.1.16-r2.post-install [2022-08-10T10:12:22.207Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-10T10:12:22.207Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-08-10T10:12:22.207Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-08-10T10:12:22.207Z] (8/21) Installing libcurl (7.83.1-r2) [2022-08-10T10:12:22.207Z] (9/21) Installing curl (7.83.1-r2) [2022-08-10T10:12:22.207Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-10T10:12:22.207Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-08-10T10:12:22.207Z] (12/21) Installing jq (1.6-r1) [2022-08-10T10:12:22.207Z] (13/21) Installing popt (1.18-r0) [2022-08-10T10:12:22.207Z] (14/21) Installing pcre (8.45-r2) [2022-08-10T10:12:22.207Z] (15/21) Installing slang (2.3.2-r0) [2022-08-10T10:12:22.207Z] (16/21) Installing newt (0.52.21-r2) [2022-08-10T10:12:22.207Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-08-10T10:12:22.207Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-10T10:12:22.207Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-10T10:12:22.207Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-10T10:12:22.207Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-10T10:12:22.207Z] Executing busybox-1.35.0-r17.trigger [2022-08-10T10:12:22.207Z] Executing ca-certificates-20220614-r0.trigger [2022-08-10T10:12:22.467Z] OK: 17 MiB in 35 packages [2022-08-10T10:12:23.036Z] Removing intermediate container 1400b1cf8d88 [2022-08-10T10:12:23.036Z] ---> 19106d710006 [2022-08-10T10:12:23.036Z] Step 17/27 : WORKDIR / [2022-08-10T10:12:23.036Z] ---> Running in da79c6959e59 [2022-08-10T10:12:23.036Z] Removing intermediate container da79c6959e59 [2022-08-10T10:12:23.036Z] ---> f4058b27a163 [2022-08-10T10:12:23.036Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-10T10:12:23.502Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22402 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-08-10T10:12:23.514Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-08-10T10:12:23.582Z] Selected Git installation does not exist. Using Default [2022-08-10T10:12:23.582Z] The recommended git tool is: NONE [2022-08-10T10:12:23.604Z] ---> a68611c56166 [2022-08-10T10:12:23.604Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-10T10:12:23.864Z] ---> 54d672a22196 [2022-08-10T10:12:23.864Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-10T10:12:23.864Z] ---> 9ceb9f012035 [2022-08-10T10:12:23.864Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-10T10:12:24.128Z] ---> 0c7cdefa5c27 [2022-08-10T10:12:24.128Z] Step 22/27 : EXPOSE 59984 [2022-08-10T10:12:24.128Z] ---> Running in f07f9432845f [2022-08-10T10:12:24.389Z] Removing intermediate container f07f9432845f [2022-08-10T10:12:24.389Z] ---> 538648edac86 [2022-08-10T10:12:24.389Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-10T10:12:24.389Z] ---> Running in d911c6f8b7ea [2022-08-10T10:12:24.389Z] Removing intermediate container d911c6f8b7ea [2022-08-10T10:12:24.389Z] ---> 468622c84ff3 [2022-08-10T10:12:24.389Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-10T10:12:24.389Z] ---> Running in 6b4201b8e079 [2022-08-10T10:12:24.658Z] Removing intermediate container 6b4201b8e079 [2022-08-10T10:12:24.658Z] ---> e0e16a74e825 [2022-08-10T10:12:24.658Z] Step 25/27 : LABEL arch=amd64 [2022-08-10T10:12:24.658Z] ---> Running in 0ebb81ef0a60 [2022-08-10T10:12:24.658Z] Removing intermediate container 0ebb81ef0a60 [2022-08-10T10:12:24.658Z] ---> f39f6f82f9a7 [2022-08-10T10:12:24.658Z] Step 26/27 : LABEL git_sha=6e01ff7ddf1d0cc14e0e380b479e5efc638d617f [2022-08-10T10:12:24.919Z] ---> Running in e4aad22c6f49 [2022-08-10T10:12:24.919Z] Removing intermediate container e4aad22c6f49 [2022-08-10T10:12:24.919Z] ---> 8374af404e6c [2022-08-10T10:12:24.919Z] Step 27/27 : LABEL version=0.0.0 [2022-08-10T10:12:24.919Z] ---> Running in 23da395fd4c6 [2022-08-10T10:12:25.181Z] Removing intermediate container 23da395fd4c6 [2022-08-10T10:12:25.181Z] ---> ae2b1f0cdefe [2022-08-10T10:12:25.181Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-10T10:12:25.181Z] Successfully built ae2b1f0cdefe [2022-08-10T10:12:25.181Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:12:25.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-10T10:12:25.645Z] [2022-08-10T10:12:25.645Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:12:25.957Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-10T10:12:25.957Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-10T10:12:25.957Z] 5eb5b503b376: Pulling fs layer [2022-08-10T10:12:25.957Z] 5c69ac0246d0: Pulling fs layer [2022-08-10T10:12:25.957Z] ec43610c2a17: Pulling fs layer [2022-08-10T10:12:25.957Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-10T10:12:25.957Z] 33b1e0a273af: Pulling fs layer [2022-08-10T10:12:25.957Z] 5d3b04190fa2: Pulling fs layer [2022-08-10T10:12:25.957Z] 2f39f015ded8: Pulling fs layer [2022-08-10T10:12:25.957Z] 33b1e0a273af: Waiting [2022-08-10T10:12:25.957Z] 5d3b04190fa2: Waiting [2022-08-10T10:12:25.957Z] 2f39f015ded8: Waiting [2022-08-10T10:12:25.957Z] 3a2ae6a8a46f: Waiting [2022-08-10T10:12:25.957Z] 5c69ac0246d0: Verifying Checksum [2022-08-10T10:12:25.957Z] 5c69ac0246d0: Download complete [2022-08-10T10:12:25.957Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-10T10:12:25.957Z] 3a2ae6a8a46f: Download complete [2022-08-10T10:12:26.217Z] 33b1e0a273af: Verifying Checksum [2022-08-10T10:12:26.217Z] 33b1e0a273af: Download complete [2022-08-10T10:12:26.217Z] 5d3b04190fa2: Download complete [2022-08-10T10:12:26.217Z] ec43610c2a17: Verifying Checksum [2022-08-10T10:12:26.217Z] ec43610c2a17: Download complete [2022-08-10T10:12:26.217Z] 5eb5b503b376: Verifying Checksum [2022-08-10T10:12:26.217Z] 5eb5b503b376: Download complete [2022-08-10T10:12:26.787Z] 2f39f015ded8: Download complete [2022-08-10T10:12:27.727Z] 5eb5b503b376: Pull complete [2022-08-10T10:12:27.727Z] 5c69ac0246d0: Pull complete [2022-08-10T10:12:28.296Z] ec43610c2a17: Pull complete [2022-08-10T10:12:28.296Z] 3a2ae6a8a46f: Pull complete [2022-08-10T10:12:28.555Z] 33b1e0a273af: Pull complete [2022-08-10T10:12:28.555Z] 5d3b04190fa2: Pull complete [2022-08-10T10:12:30.757Z] using credential edgex-jenkins-ssh [2022-08-10T10:12:30.773Z] Cloning the remote Git repository [2022-08-10T10:12:30.848Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-10T10:12:30.925Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-08-10T10:12:31.117Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-10T10:12:31.118Z] > git --version # timeout=10 [2022-08-10T10:12:31.197Z] > git --version # 'git version 2.25.1' [2022-08-10T10:12:31.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-10T10:12:31.316Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-10T10:12:32.502Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-10T10:12:32.533Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-10T10:12:32.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-10T10:12:32.590Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-10T10:12:32.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-10T10:12:32.606Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-10T10:12:33.106Z] Merging remotes/origin/main commit 9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-08-10T10:12:33.832Z] Merge succeeded, producing db3c4ce6fef191f5a715f5e10ef01fbd122a3127 [2022-08-10T10:12:33.832Z] Checking out Revision db3c4ce6fef191f5a715f5e10ef01fbd122a3127 (PR-125) [2022-08-10T10:12:33.850Z] 2f39f015ded8: Pull complete [2022-08-10T10:12:33.850Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-10T10:12:33.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-10T10:12:33.850Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T10:12:33.953Z] prd-ubuntu20.04-docker-8c-8g-22401 does not seem to be running inside a container [2022-08-10T10:12:33.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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:latest cat [2022-08-10T10:12:33.129Z] > git config core.sparsecheckout # timeout=10 [2022-08-10T10:12:33.162Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-08-10T10:12:33.397Z] > git remote # timeout=10 [2022-08-10T10:12:33.420Z] > git config --get remote.origin.url # timeout=10 [2022-08-10T10:12:33.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-10T10:12:33.444Z] > git merge 9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0 # timeout=10 [2022-08-10T10:12:33.815Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-10T10:12:33.842Z] > git config core.sparsecheckout # timeout=10 [2022-08-10T10:12:33.854Z] > git checkout -f db3c4ce6fef191f5a715f5e10ef01fbd122a3127 # timeout=10 [2022-08-10T10:12:35.829Z] $ docker top fc3c760a8dd2cb6f2922a2d4cd5f75f9a975d8472c1abe8fc092aca7dd6eec14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T10:12:36.247Z] ---> job-cost.sh [2022-08-10T10:12:36.247Z] lf-activate-venv: SKIPPING [2022-08-10T10:12:36.247Z] INFO: No Stack... [2022-08-10T10:12:37.189Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-10T10:12:37.450Z] INFO: Archiving Costs [Pipeline] sh [2022-08-10T10:12:37.752Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-08-10T10:12:37.753Z] + cut -d, -f6 [Pipeline] lock [2022-08-10T10:12:37.769Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-2-stack-cost] [2022-08-10T10:12:37.774Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-2-stack-cost] did not exist. Created. [2022-08-10T10:12:37.775Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-10T10:12:38.083Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-10T10:12:38.121Z] Stashed 1 file(s) [Pipeline] } [2022-08-10T10:12:38.131Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-10T10:12:38.153Z] $ docker stop --time=1 fc3c760a8dd2cb6f2922a2d4cd5f75f9a975d8472c1abe8fc092aca7dd6eec14 [2022-08-10T10:12:38.164Z] Commit message: "Merge commit '9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0' into HEAD" [2022-08-10T10:12:38.177Z] > git rev-list --no-walk b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-08-10T10:12:38.585Z] [2022-08-10T10:12:38.585Z] GitHub has been notified of this commit’s build result [2022-08-10T10:12:38.585Z] [2022-08-10T10:12:39.333Z] $ docker rm -f fc3c760a8dd2cb6f2922a2d4cd5f75f9a975d8472c1abe8fc092aca7dd6eec14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-10T10:12:39.985Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-10T10:12:39.985Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-10T10:12:39.985Z] Dload Upload Total Spent Left Speed [2022-08-10T10:12:39.985Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 92029 0 --:--:-- --:--:-- --:--:-- 92029 [Pipeline] sh [2022-08-10T10:12:40.827Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-10T10:12:41.166Z] + sudo tee /etc/docker/daemon.new [2022-08-10T10:12:41.166Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-10T10:12:41.166Z] { [2022-08-10T10:12:41.166Z] "registry-mirrors": [ [2022-08-10T10:12:41.166Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-10T10:12:41.166Z] ], [2022-08-10T10:12:41.166Z] "bip": "10.250.0.254/24", [2022-08-10T10:12:41.166Z] "hosts": [ [2022-08-10T10:12:41.166Z] "tcp://0.0.0.0:5555", [2022-08-10T10:12:41.166Z] "unix:///var/run/docker.sock" [2022-08-10T10:12:41.166Z] ], [2022-08-10T10:12:41.166Z] "mtu": 1458, [2022-08-10T10:12:41.166Z] "selinux-enabled": true, [2022-08-10T10:12:41.166Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-10T10:12:41.166Z] } [Pipeline] sh [2022-08-10T10:12:41.513Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-10T10:12:41.847Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-10T10:13:00.346Z] provisioning config files... [2022-08-10T10:13:00.369Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config6479093809684796880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T10:13:00.721Z] ---> docker-login.sh [2022-08-10T10:13:00.721Z] nexus3.edgexfoundry.org:10001 [2022-08-10T10:13:01.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:13:01.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:13:01.588Z] Configure a credential helper to remove this warning. See [2022-08-10T10:13:01.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:13:01.588Z] [2022-08-10T10:13:01.588Z] Login Succeeded [2022-08-10T10:13:01.588Z] nexus3.edgexfoundry.org:10002 [2022-08-10T10:13:01.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:13:01.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:13:01.859Z] Configure a credential helper to remove this warning. See [2022-08-10T10:13:01.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:13:01.859Z] [2022-08-10T10:13:01.859Z] Login Succeeded [2022-08-10T10:13:01.859Z] nexus3.edgexfoundry.org:10003 [2022-08-10T10:13:02.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:13:02.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:13:02.402Z] Configure a credential helper to remove this warning. See [2022-08-10T10:13:02.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:13:02.402Z] [2022-08-10T10:13:02.402Z] Login Succeeded [2022-08-10T10:13:02.402Z] nexus3.edgexfoundry.org:10004 [2022-08-10T10:13:02.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:13:02.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:13:02.678Z] Configure a credential helper to remove this warning. See [2022-08-10T10:13:02.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:13:02.678Z] [2022-08-10T10:13:02.678Z] Login Succeeded [2022-08-10T10:13:02.678Z] docker.io [2022-08-10T10:13:03.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T10:13:03.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T10:13:03.539Z] Configure a credential helper to remove this warning. See [2022-08-10T10:13:03.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T10:13:03.539Z] [2022-08-10T10:13:03.539Z] Login Succeeded [2022-08-10T10:13:03.539Z] ---> docker-login.sh ends [Pipeline] } [2022-08-10T10:13:03.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-10T10:13:03.790Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-10T10:13:03.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-10T10:13:03.819Z] ========================================================= [2022-08-10T10:13:03.819Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-10T10:13:03.819Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:13:04.178Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-10T10:13:04.777Z] Sending build context to Docker daemon 14.01MB [2022-08-10T10:13:04.777Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-10T10:13:04.777Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-10T10:13:04.777Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-10T10:13:04.777Z] b3c136eddcbf: Pulling fs layer [2022-08-10T10:13:04.777Z] c0a3192eca97: Pulling fs layer [2022-08-10T10:13:04.777Z] a050256f5b6f: Pulling fs layer [2022-08-10T10:13:04.777Z] 656be50a0ddc: Pulling fs layer [2022-08-10T10:13:04.777Z] 2bbca73fdf42: Pulling fs layer [2022-08-10T10:13:04.777Z] 46d945488cbd: Pulling fs layer [2022-08-10T10:13:04.777Z] 8a5474983e97: Pulling fs layer [2022-08-10T10:13:04.777Z] 329c88fbcd65: Pulling fs layer [2022-08-10T10:13:04.778Z] 2bbca73fdf42: Waiting [2022-08-10T10:13:04.778Z] 46d945488cbd: Waiting [2022-08-10T10:13:04.778Z] 8a5474983e97: Waiting [2022-08-10T10:13:04.778Z] 329c88fbcd65: Waiting [2022-08-10T10:13:04.778Z] 656be50a0ddc: Waiting [2022-08-10T10:13:04.778Z] a050256f5b6f: Verifying Checksum [2022-08-10T10:13:04.778Z] a050256f5b6f: Download complete [2022-08-10T10:13:04.778Z] c0a3192eca97: Verifying Checksum [2022-08-10T10:13:04.778Z] c0a3192eca97: Download complete [2022-08-10T10:13:05.054Z] 2bbca73fdf42: Verifying Checksum [2022-08-10T10:13:05.054Z] 2bbca73fdf42: Download complete [2022-08-10T10:13:05.054Z] 46d945488cbd: Verifying Checksum [2022-08-10T10:13:05.054Z] 46d945488cbd: Download complete [2022-08-10T10:13:05.054Z] b3c136eddcbf: Download complete [2022-08-10T10:13:06.047Z] b3c136eddcbf: Pull complete [2022-08-10T10:13:06.047Z] 329c88fbcd65: Verifying Checksum [2022-08-10T10:13:06.047Z] 329c88fbcd65: Download complete [2022-08-10T10:13:06.654Z] c0a3192eca97: Pull complete [2022-08-10T10:13:06.654Z] a050256f5b6f: Pull complete [2022-08-10T10:13:07.255Z] 8a5474983e97: Verifying Checksum [2022-08-10T10:13:07.255Z] 8a5474983e97: Download complete [2022-08-10T10:13:07.858Z] 656be50a0ddc: Verifying Checksum [2022-08-10T10:13:20.280Z] 656be50a0ddc: Pull complete [2022-08-10T10:13:20.558Z] 2bbca73fdf42: Pull complete [2022-08-10T10:13:20.832Z] 46d945488cbd: Pull complete [2022-08-10T10:13:27.558Z] 8a5474983e97: Pull complete [2022-08-10T10:13:28.996Z] 329c88fbcd65: Pull complete [2022-08-10T10:13:28.996Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-10T10:13:28.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-10T10:13:28.996Z] ---> ff4287adb874 [2022-08-10T10:13:28.996Z] Step 3/13 : ARG MAKE="make build" [2022-08-10T10:13:30.972Z] ---> Running in 7b25b7fc3559 [2022-08-10T10:13:30.972Z] Removing intermediate container 7b25b7fc3559 [2022-08-10T10:13:30.972Z] ---> fc56cb5be8a7 [2022-08-10T10:13:30.972Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-10T10:13:30.972Z] ---> Running in ac0c2a4c7892 [2022-08-10T10:13:31.566Z] Removing intermediate container ac0c2a4c7892 [2022-08-10T10:13:31.566Z] ---> 5b8b957fef7c [2022-08-10T10:13:31.566Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-10T10:13:31.566Z] ---> Running in 89daaed8812b [2022-08-10T10:13:31.838Z] Removing intermediate container 89daaed8812b [2022-08-10T10:13:31.838Z] ---> 228c88e8938b [2022-08-10T10:13:31.838Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-10T10:13:31.838Z] ---> Running in 1c5198d53e0e [2022-08-10T10:13:32.117Z] Removing intermediate container 1c5198d53e0e [2022-08-10T10:13:32.117Z] ---> 9ff5458d1317 [2022-08-10T10:13:32.117Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T10:13:32.117Z] ---> Running in ca5d73bc7253 [2022-08-10T10:13:34.106Z] Removing intermediate container ca5d73bc7253 [2022-08-10T10:13:34.106Z] ---> 8c5e7cc49c67 [2022-08-10T10:13:34.106Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-10T10:13:34.106Z] ---> Running in 57d0bec3404e [2022-08-10T10:13:36.094Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-10T10:13:37.068Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-10T10:13:38.052Z] OK: 221 MiB in 51 packages [2022-08-10T10:13:38.667Z] Removing intermediate container 57d0bec3404e [2022-08-10T10:13:38.667Z] ---> 1925d26f9f82 [2022-08-10T10:13:38.667Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-10T10:13:38.667Z] ---> Running in 83afab52edc5 [2022-08-10T10:13:38.945Z] Removing intermediate container 83afab52edc5 [2022-08-10T10:13:38.945Z] ---> bbaeb16e6adb [2022-08-10T10:13:38.945Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-10T10:13:39.546Z] ---> 7c696e6ca7b4 [2022-08-10T10:13:39.546Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-10T10:13:39.546Z] ---> Running in 047d46e5b522 [2022-08-10T10:14:36.118Z] Removing intermediate container 047d46e5b522 [2022-08-10T10:14:36.118Z] ---> fa641269e319 [2022-08-10T10:14:36.118Z] Step 12/13 : COPY . . [2022-08-10T10:14:36.118Z] ---> 4152a493642c [2022-08-10T10:14:36.118Z] Step 13/13 : RUN ${MAKE} [2022-08-10T10:14:36.118Z] ---> Running in 143a0eb5eecb [2022-08-10T10:14:36.118Z] noop [2022-08-10T10:14:36.118Z] Removing intermediate container 143a0eb5eecb [2022-08-10T10:14:36.118Z] ---> 3881d90d9ad6 [2022-08-10T10:14:36.118Z] Successfully built 3881d90d9ad6 [2022-08-10T10:14:36.118Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:14:36.495Z] + docker inspect -f . ci-base-image-arm64 [2022-08-10T10:14:36.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T10:14:36.744Z] prd-ubuntu20.04-docker-arm64-4c-16g-22402 does not seem to be running inside a container [2022-08-10T10:14:36.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** ci-base-image-arm64 cat [2022-08-10T10:14:38.090Z] $ docker top bc64085cb56f6268947cfc7abd90157c92e7ef62967b611aa5af67060a020722 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T10:14:38.987Z] + go version [2022-08-10T10:14:38.987Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-10T10:14:39.014Z] $ docker stop --time=1 bc64085cb56f6268947cfc7abd90157c92e7ef62967b611aa5af67060a020722 [2022-08-10T10:14:40.618Z] $ docker rm -f bc64085cb56f6268947cfc7abd90157c92e7ef62967b611aa5af67060a020722 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:14:41.231Z] + docker inspect -f . ci-base-image-arm64 [2022-08-10T10:14:41.231Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T10:14:41.461Z] prd-ubuntu20.04-docker-arm64-4c-16g-22402 does not seem to be running inside a container [2022-08-10T10:14:41.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** ci-base-image-arm64 cat [2022-08-10T10:14:42.786Z] $ docker top 196f78cd00c493fb07494fd0916c6f27287d3f832303fc594075c5909d841223 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T10:14:43.677Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-08-10T10:14:44.346Z] + make test [2022-08-10T10:14:44.346Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-10T10:14:46.327Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-10T10:16:08.182Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-10T10:16:14.956Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.119s coverage: 10.6% of statements [2022-08-10T10:16:14.956Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-10T10:16:41.760Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.882s coverage: 13.8% of statements [2022-08-10T10:16:41.760Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-10T10:16:41.760Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-10T10:17:00.107Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-10T10:17:00.107Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-10T10:17:00.383Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-10T10:17:00.679Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-10T10:17:00.697Z] $ docker stop --time=1 196f78cd00c493fb07494fd0916c6f27287d3f832303fc594075c5909d841223 [2022-08-10T10:17:02.468Z] $ docker rm -f 196f78cd00c493fb07494fd0916c6f27287d3f832303fc594075c5909d841223 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-10T10:17:03.452Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-10T10:17:03.482Z] Warning: overwriting stash ‘coverage-report’ [2022-08-10T10:17:03.998Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-10T10:17:04.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-10T10:17:04.732Z] + ls -al . [2022-08-10T10:17:04.732Z] total 228 [2022-08-10T10:17:04.732Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 10 10:14 . [2022-08-10T10:17:04.732Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 10:12 .. [2022-08-10T10:17:04.732Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 10:12 .git [2022-08-10T10:17:04.732Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 10:12 .github [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 10 10:12 .gitignore [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 10 10:12 .golangci.yml [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 10 10:12 Attribution.txt [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 10 10:12 CHANGELOG.md [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 10 10:12 Dockerfile [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 10:12 GOVERNANCE.md [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 10 10:12 Jenkinsfile [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 10 10:12 LICENSE [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 10 10:12 Makefile [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 10 10:12 OWNERS.md [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 10 10:12 README.md [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 10 10:10 VERSION [2022-08-10T10:17:04.732Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 10:12 bin [2022-08-10T10:17:04.732Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 10:12 cmd [2022-08-10T10:17:04.732Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 10 10:16 coverage.out [2022-08-10T10:17:04.732Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 10 10:12 doc [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 10 10:12 go.mod [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 10 10:12 go.sum [2022-08-10T10:17:04.732Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 10:12 internal [2022-08-10T10:17:04.732Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 10:12 snap [2022-08-10T10:17:04.732Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 10 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:17:05.084Z] + 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=db3c4ce6fef191f5a715f5e10ef01fbd122a3127 --label arch=arm64 --label version=0.0.0 . [2022-08-10T10:17:05.681Z] Sending build context to Docker daemon 14.09MB [2022-08-10T10:17:05.681Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-10T10:17:05.681Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-10T10:17:05.682Z] ---> 3881d90d9ad6 [2022-08-10T10:17:05.682Z] Step 3/27 : ARG MAKE="make build" [2022-08-10T10:17:05.682Z] ---> Running in baee8ebc71a2 [2022-08-10T10:17:06.292Z] Removing intermediate container baee8ebc71a2 [2022-08-10T10:17:06.292Z] ---> 6d7442ee74f3 [2022-08-10T10:17:06.292Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-10T10:17:06.292Z] ---> Running in 655979c62c16 [2022-08-10T10:17:06.568Z] Removing intermediate container 655979c62c16 [2022-08-10T10:17:06.568Z] ---> 211605633980 [2022-08-10T10:17:06.568Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-10T10:17:06.568Z] ---> Running in f94fdd3697f4 [2022-08-10T10:17:06.845Z] Removing intermediate container f94fdd3697f4 [2022-08-10T10:17:06.845Z] ---> 77609e1e7860 [2022-08-10T10:17:06.845Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-10T10:17:07.140Z] ---> Running in 1c0e0e577884 [2022-08-10T10:17:07.420Z] Removing intermediate container 1c0e0e577884 [2022-08-10T10:17:07.420Z] ---> 8c021ce72f67 [2022-08-10T10:17:07.420Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T10:17:07.420Z] ---> Running in 3478fe7e01d6 [2022-08-10T10:17:08.872Z] Removing intermediate container 3478fe7e01d6 [2022-08-10T10:17:08.872Z] ---> fc526f0dcae3 [2022-08-10T10:17:08.872Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-10T10:17:09.152Z] ---> Running in d14be2529e53 [2022-08-10T10:17:10.132Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-10T10:17:11.112Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-10T10:17:11.712Z] OK: 221 MiB in 51 packages [2022-08-10T10:17:12.700Z] Removing intermediate container d14be2529e53 [2022-08-10T10:17:12.700Z] ---> 270ae513be78 [2022-08-10T10:17:12.700Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-10T10:17:12.700Z] ---> Running in 7917da50bf32 [2022-08-10T10:17:12.976Z] Removing intermediate container 7917da50bf32 [2022-08-10T10:17:12.976Z] ---> 1672496ffe65 [2022-08-10T10:17:12.976Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-10T10:17:13.581Z] ---> 7763abb293ae [2022-08-10T10:17:13.581Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-10T10:17:13.581Z] ---> Running in beb41f9d8cf7 [2022-08-10T10:17:15.570Z] Removing intermediate container beb41f9d8cf7 [2022-08-10T10:17:15.570Z] ---> f521f7014179 [2022-08-10T10:17:15.570Z] Step 12/27 : COPY . . [2022-08-10T10:17:17.013Z] ---> 0a50d8e69933 [2022-08-10T10:17:17.013Z] Step 13/27 : RUN ${MAKE} [2022-08-10T10:17:17.013Z] ---> Running in dfd712543718 [2022-08-10T10:17:17.999Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-10T10:19:24.932Z] Removing intermediate container dfd712543718 [2022-08-10T10:19:24.932Z] ---> 2933a6ae2cdc [2022-08-10T10:19:24.932Z] Step 14/27 : FROM alpine:3.16 [2022-08-10T10:19:24.932Z] 3.16: Pulling from library/alpine [2022-08-10T10:19:25.207Z] 9b18e9b68314: Pulling fs layer [2022-08-10T10:19:25.484Z] 9b18e9b68314: Verifying Checksum [2022-08-10T10:19:25.484Z] 9b18e9b68314: Download complete [2022-08-10T10:19:26.084Z] 9b18e9b68314: Pull complete [2022-08-10T10:19:26.084Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-10T10:19:26.084Z] Status: Downloaded newer image for alpine:3.16 [2022-08-10T10:19:26.084Z] ---> a6215f271958 [2022-08-10T10:19:26.084Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-10T10:19:26.084Z] ---> Running in 680dd5395929 [2022-08-10T10:19:26.359Z] Removing intermediate container 680dd5395929 [2022-08-10T10:19:26.359Z] ---> 39f8caedaedd [2022-08-10T10:19:26.359Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-10T10:19:26.359Z] ---> Running in 03073c2f6a8f [2022-08-10T10:19:27.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-10T10:19:27.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-10T10:19:28.608Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-10T10:19:28.608Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-10T10:19:28.608Z] (3/21) Installing readline (8.1.2-r0) [2022-08-10T10:19:28.608Z] (4/21) Installing bash (5.1.16-r2) [2022-08-10T10:19:28.608Z] Executing bash-5.1.16-r2.post-install [2022-08-10T10:19:28.608Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-10T10:19:28.608Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-08-10T10:19:28.608Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-08-10T10:19:28.608Z] (8/21) Installing libcurl (7.83.1-r2) [2022-08-10T10:19:28.608Z] (9/21) Installing curl (7.83.1-r2) [2022-08-10T10:19:28.608Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-10T10:19:28.608Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-08-10T10:19:28.883Z] (12/21) Installing jq (1.6-r1) [2022-08-10T10:19:28.883Z] (13/21) Installing popt (1.18-r0) [2022-08-10T10:19:28.883Z] (14/21) Installing pcre (8.45-r2) [2022-08-10T10:19:28.883Z] (15/21) Installing slang (2.3.2-r0) [2022-08-10T10:19:28.883Z] (16/21) Installing newt (0.52.21-r2) [2022-08-10T10:19:28.883Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-08-10T10:19:28.883Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-10T10:19:28.883Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-10T10:19:28.883Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-10T10:19:28.883Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-10T10:19:28.883Z] Executing busybox-1.35.0-r17.trigger [2022-08-10T10:19:28.883Z] Executing ca-certificates-20220614-r0.trigger [2022-08-10T10:19:29.159Z] OK: 16 MiB in 35 packages [2022-08-10T10:19:31.144Z] Removing intermediate container 03073c2f6a8f [2022-08-10T10:19:31.144Z] ---> 1a99f07a0367 [2022-08-10T10:19:31.144Z] Step 17/27 : WORKDIR / [2022-08-10T10:19:31.144Z] ---> Running in 304b6ac2ceca [2022-08-10T10:19:31.418Z] Removing intermediate container 304b6ac2ceca [2022-08-10T10:19:31.418Z] ---> 69fbd05dac30 [2022-08-10T10:19:31.418Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-10T10:19:32.859Z] ---> e7230acd988b [2022-08-10T10:19:32.859Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-10T10:19:33.465Z] ---> 2c6e327ab0b9 [2022-08-10T10:19:33.465Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-10T10:19:33.747Z] ---> ceccdc223089 [2022-08-10T10:19:33.747Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-10T10:19:34.359Z] ---> 993974626ab9 [2022-08-10T10:19:34.359Z] Step 22/27 : EXPOSE 59984 [2022-08-10T10:19:34.639Z] ---> Running in 0c12edbb5086 [2022-08-10T10:19:34.916Z] Removing intermediate container 0c12edbb5086 [2022-08-10T10:19:34.916Z] ---> f264aa537349 [2022-08-10T10:19:34.916Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-10T10:19:34.916Z] ---> Running in d7cb3ab610b9 [2022-08-10T10:19:35.190Z] Removing intermediate container d7cb3ab610b9 [2022-08-10T10:19:35.190Z] ---> 8d7b07ff9291 [2022-08-10T10:19:35.190Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-10T10:19:35.190Z] ---> Running in 0be9a8e0e6a5 [2022-08-10T10:19:35.465Z] Removing intermediate container 0be9a8e0e6a5 [2022-08-10T10:19:35.465Z] ---> add52ddfcea2 [2022-08-10T10:19:35.465Z] Step 25/27 : LABEL arch=arm64 [2022-08-10T10:19:35.741Z] ---> Running in 2a3bed4d6498 [2022-08-10T10:19:36.018Z] Removing intermediate container 2a3bed4d6498 [2022-08-10T10:19:36.018Z] ---> 5f0b3e81ca15 [2022-08-10T10:19:36.018Z] Step 26/27 : LABEL git_sha=db3c4ce6fef191f5a715f5e10ef01fbd122a3127 [2022-08-10T10:19:36.018Z] ---> Running in 10a80cdec680 [2022-08-10T10:19:36.293Z] Removing intermediate container 10a80cdec680 [2022-08-10T10:19:36.293Z] ---> cb2173a0353e [2022-08-10T10:19:36.293Z] Step 27/27 : LABEL version=0.0.0 [2022-08-10T10:19:36.293Z] ---> Running in 6fe63ae6dac4 [2022-08-10T10:19:36.568Z] Removing intermediate container 6fe63ae6dac4 [2022-08-10T10:19:36.568Z] ---> e1d545a55f6f [2022-08-10T10:19:36.568Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-10T10:19:36.568Z] Successfully built e1d545a55f6f [2022-08-10T10:19:36.568Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:19:37.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-10T10:19:37.012Z] [2022-08-10T10:19:37.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:19:37.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-10T10:19:37.655Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-10T10:19:37.655Z] 8998bd30e6a1: Pulling fs layer [2022-08-10T10:19:37.655Z] 04944245beec: Pulling fs layer [2022-08-10T10:19:37.655Z] 699f458cf7ca: Pulling fs layer [2022-08-10T10:19:37.655Z] 765212b225bb: Pulling fs layer [2022-08-10T10:19:37.655Z] f23df028b6ca: Pulling fs layer [2022-08-10T10:19:37.655Z] d65c8cfc05b1: Pulling fs layer [2022-08-10T10:19:37.655Z] 2437ff75d9bd: Pulling fs layer [2022-08-10T10:19:37.655Z] f23df028b6ca: Waiting [2022-08-10T10:19:37.655Z] d65c8cfc05b1: Waiting [2022-08-10T10:19:37.655Z] 2437ff75d9bd: Waiting [2022-08-10T10:19:37.655Z] 765212b225bb: Waiting [2022-08-10T10:19:37.655Z] 04944245beec: Verifying Checksum [2022-08-10T10:19:37.655Z] 04944245beec: Download complete [2022-08-10T10:19:37.655Z] 765212b225bb: Verifying Checksum [2022-08-10T10:19:37.655Z] 765212b225bb: Download complete [2022-08-10T10:19:37.655Z] f23df028b6ca: Verifying Checksum [2022-08-10T10:19:37.655Z] f23df028b6ca: Download complete [2022-08-10T10:19:37.655Z] d65c8cfc05b1: Verifying Checksum [2022-08-10T10:19:37.655Z] d65c8cfc05b1: Download complete [2022-08-10T10:19:37.655Z] 699f458cf7ca: Verifying Checksum [2022-08-10T10:19:37.655Z] 699f458cf7ca: Download complete [2022-08-10T10:19:38.259Z] 8998bd30e6a1: Verifying Checksum [2022-08-10T10:19:38.259Z] 8998bd30e6a1: Download complete [2022-08-10T10:19:40.903Z] 2437ff75d9bd: Verifying Checksum [2022-08-10T10:19:40.903Z] 2437ff75d9bd: Download complete [2022-08-10T10:19:42.892Z] 8998bd30e6a1: Pull complete [2022-08-10T10:19:43.166Z] 04944245beec: Pull complete [2022-08-10T10:19:44.607Z] 699f458cf7ca: Pull complete [2022-08-10T10:19:44.880Z] 765212b225bb: Pull complete [2022-08-10T10:19:45.862Z] f23df028b6ca: Pull complete [2022-08-10T10:19:45.862Z] d65c8cfc05b1: Pull complete [2022-08-10T10:20:00.951Z] 2437ff75d9bd: Pull complete [2022-08-10T10:20:00.951Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-10T10:20:00.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-10T10:20:00.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T10:20:01.208Z] prd-ubuntu20.04-docker-arm64-4c-16g-22402 does not seem to be running inside a container [2022-08-10T10:20:01.298Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-10T10:20:03.846Z] $ docker top 462f77acae21e41c9024da7c88beab361a0fd62c3a07f1c85ac5fabd147f56d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T10:20:04.785Z] ---> job-cost.sh [2022-08-10T10:20:04.785Z] lf-activate-venv: SKIPPING [2022-08-10T10:20:04.785Z] INFO: No Stack... [2022-08-10T10:20:05.058Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-10T10:20:06.039Z] INFO: Archiving Costs [Pipeline] sh [2022-08-10T10:20:06.709Z] + cut+ -d, -f6 [2022-08-10T10:20:06.709Z] cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock [2022-08-10T10:20:06.774Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-2-stack-cost] [2022-08-10T10:20:06.785Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-2-stack-cost] did not exist. Created. [2022-08-10T10:20:06.785Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-10T10:20:07.469Z] /w/workspace/device-onvif-camera/2@tmp/durable-3d0067b9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-10T10:20:08.156Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-10T10:20:08.177Z] Warning: overwriting stash ‘stack-cost’ [2022-08-10T10:20:08.234Z] Stashed 1 file(s) [Pipeline] } [2022-08-10T10:20:08.241Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-10T10:20:08.261Z] $ docker stop --time=1 462f77acae21e41c9024da7c88beab361a0fd62c3a07f1c85ac5fabd147f56d0 [2022-08-10T10:20:09.765Z] $ docker rm -f 462f77acae21e41c9024da7c88beab361a0fd62c3a07f1c85ac5fabd147f56d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-10T10:20:10.203Z] provisioning config files... [2022-08-10T10:20:10.222Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1795499638431386784tmp [Pipeline] { [Pipeline] sh [2022-08-10T10:20:10.548Z] + set +x [2022-08-10T10:20:10.548Z] + curl+ -s https://codecov.io/bash [2022-08-10T10:20:10.548Z] bash -s -- [2022-08-10T10:20:10.548Z] [2022-08-10T10:20:10.548Z] _____ _ [2022-08-10T10:20:10.548Z] / ____| | | [2022-08-10T10:20:10.548Z] | | ___ __| | ___ ___ _____ __ [2022-08-10T10:20:10.548Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-10T10:20:10.548Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-10T10:20:10.548Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-10T10:20:10.548Z] Bash-1.0.6 [2022-08-10T10:20:10.548Z] [2022-08-10T10:20:10.548Z] [2022-08-10T10:20:10.548Z] ==> git version 2.25.1 found [2022-08-10T10:20:10.548Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-10T10:20:10.548Z] Release-Date: 2020-01-08 [2022-08-10T10:20:10.548Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-10T10:20:10.548Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-10T10:20:10.548Z] ==> Jenkins CI detected. [2022-08-10T10:20:10.548Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-08-10T10:20:10.548Z] project root: . [2022-08-10T10:20:10.548Z] --> token set from env [2022-08-10T10:20:10.548Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-10T10:20:10.548Z] ==> Running gcov in . (disable via -X gcov) [2022-08-10T10:20:10.548Z] ==> Python coveragepy not found [2022-08-10T10:20:10.548Z] ==> Searching for coverage reports in: [2022-08-10T10:20:10.548Z] + . [2022-08-10T10:20:10.863Z] -> Found 1 reports [2022-08-10T10:20:10.863Z] ==> Detecting git/mercurial file structure [2022-08-10T10:20:10.863Z] ==> Reading reports [2022-08-10T10:20:10.863Z] + ./coverage.out bytes=76856 [2022-08-10T10:20:10.863Z] ==> Appending adjustments [2022-08-10T10:20:10.863Z] https://docs.codecov.io/docs/fixing-reports [2022-08-10T10:20:10.863Z] + Found adjustments [2022-08-10T10:20:10.863Z] ==> Gzipping contents [2022-08-10T10:20:10.863Z] 12K /tmp/codecov.Pbs0ht.gz [2022-08-10T10:20:10.863Z] ==> Uploading reports [2022-08-10T10:20:10.863Z] url: https://codecov.io [2022-08-10T10:20:10.863Z] query: branch=PR-125&commit=6e01ff7ddf1d0cc14e0e380b479e5efc638d617f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-10T10:20:10.863Z] -> Pinging Codecov [2022-08-10T10:20:10.863Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=6e01ff7ddf1d0cc14e0e380b479e5efc638d617f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-10T10:20:11.152Z] -> Uploading to [2022-08-10T10:20:11.152Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-10/F29A59C45E3A92E06B3E522C9905F8EF/6e01ff7ddf1d0cc14e0e380b479e5efc638d617f/d7e688db-33d1-4991-85fb-6b1a8696228c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220810%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220810T102011Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1a55ed51237213e4044e8cef3f714fbc91786bc3529d1d879705ac8f7f08a67 [2022-08-10T10:20:11.152Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-10T10:20:11.152Z] Dload Upload Total Spent Left Speed [2022-08-10T10:20:11.410Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10398 0 0 100 10398 0 43325 --:--:-- --:--:-- --:--:-- 43506 [2022-08-10T10:20:11.410Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/6e01ff7ddf1d0cc14e0e380b479e5efc638d617f [Pipeline] } [2022-08-10T10:20:11.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-10T10:20:12.105Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-08-10T10:20:12.105Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-10T10:20:12.105Z] total 16 [2022-08-10T10:20:12.105Z] drwxr-xr-x 3 root root 4096 Aug 10 10:12 . [2022-08-10T10:20:12.105Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 10:12 .. [2022-08-10T10:20:12.105Z] drwxr-xr-x 2 root root 4096 Aug 10 10:12 cost [2022-08-10T10:20:12.105Z] -rw-r--r-- 1 root root 91 Aug 10 10:12 cost.csv [2022-08-10T10:20:12.105Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-10T10:20:12.105Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-10T10:20:12.105Z] total 16 [2022-08-10T10:20:12.105Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 10:12 . [2022-08-10T10:20:12.105Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 10:12 .. [2022-08-10T10:20:12.105Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 10 10:12 cost [2022-08-10T10:20:12.105Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 10 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-10T10:20:12.398Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T10:20:13.261Z] ---> package-listing.sh [2022-08-10T10:20:13.262Z] ++ facter osfamily [2022-08-10T10:20:13.262Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-10T10:20:13.521Z] + OS_FAMILY=debian [2022-08-10T10:20:13.521Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-08-10T10:20:13.521Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-10T10:20:13.521Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-10T10:20:13.521Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-10T10:20:13.521Z] + PACKAGES=/tmp/packages_start.txt [2022-08-10T10:20:13.521Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-10T10:20:13.521Z] + PACKAGES=/tmp/packages_end.txt [2022-08-10T10:20:13.521Z] + case "${OS_FAMILY}" in [2022-08-10T10:20:13.521Z] + dpkg -l [2022-08-10T10:20:13.521Z] + grep '^ii' [2022-08-10T10:20:13.521Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-10T10:20:13.521Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-10T10:20:13.521Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-10T10:20:13.521Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-10T10:20:13.521Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-08-10T10:20:13.521Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-08-10T10:20:13.533Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-10T10:20:13.813Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T10:20:14.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-10T10:20:14.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T10:20:14.519Z] prd-ubuntu20.04-docker-8c-8g-22401 does not seem to be running inside a container [2022-08-10T10:20:14.569Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-08-10T10:20:14.829Z] $ docker top 0674aab6becf11257e3f24fe8c124876e6920d19d5fdd11d9b4444596add0f00 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T10:20:15.185Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-10T10:20:15.472Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-10T10:20:15.760Z] + ls /var/log/sa-host [2022-08-10T10:20:15.760Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-10T10:20:15.904Z] provisioning config files... [2022-08-10T10:20:15.913Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7597806819922420680tmp [Pipeline] { [Pipeline] echo [2022-08-10T10:20:15.929Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T10:20:16.212Z] ---> create-netrc.sh [Pipeline] } [2022-08-10T10:20:16.219Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-10T10:20:16.616Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-10T10:20:16.624Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T10:20:16.911Z] ---> sudo-logs.sh [2022-08-10T10:20:16.911Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-10T10:20:16.934Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T10:20:17.219Z] ---> job-cost.sh [2022-08-10T10:20:17.219Z] lf-activate-venv: SKIPPING [2022-08-10T10:20:17.219Z] DEBUG: total: 0.2199999988079071 [2022-08-10T10:20:17.219Z] INFO: Retrieving Stack Cost... [2022-08-10T10:20:17.788Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-10T10:20:18.358Z] INFO: Archiving Costs [Pipeline] echo [2022-08-10T10:20:18.370Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T10:20:18.655Z] ---> logs-deploy.sh [2022-08-10T10:20:18.655Z] lf-activate-venv: SKIPPING [2022-08-10T10:20:18.655Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/2 [2022-08-10T10:20:18.655Z] INFO: archiving workspace using pattern(s): [2022-08-10T10:20:19.595Z] Archives upload complete. [2022-08-10T10:20:19.858Z] INFO: archiving logs to Nexus