Pull request #178 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6+7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 (6d40f1a2b0536f84acd8ca090dfaa2483b01c38d) 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-ssh5181040368089094909.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4959424984178323455.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-178/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-178/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9819236345759600442.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-178/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3767777864297213841.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14924711372184766821.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-178/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-178/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15635327101010648956.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8018 in /w/workspace/undry_device-onvif-camera_PR-178 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-178 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/178/head:refs/remotes/origin/PR-178 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 into PR head commit 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 Merge succeeded, producing 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 Checking out Revision 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 (PR-178) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T03:21:03.520Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 # timeout=10 [Pipeline] withCredentials [2022-10-17T03:21:03.688Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T03:21:03.790Z] ========================================================= [2022-10-17T03:21:03.790Z] EdgeX Global Pipelines Version Info [2022-10-17T03:21:03.790Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-17T03:21:04.545Z] ------------------- [2022-10-17T03:21:04.545Z] stable info: [2022-10-17T03:21:04.545Z] ------------------- [2022-10-17T03:21:04.545Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T03:21:04.545Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T03:21:04.545Z] Message: update stable to v1.0.239 [2022-10-17T03:21:05.117Z] ------------------- [2022-10-17T03:21:05.117Z] experimental info: [2022-10-17T03:21:05.117Z] ------------------- [2022-10-17T03:21:05.117Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T03:21:05.117Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T03:21:05.117Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T03:21:05.414Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-17T03:21:05.457Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-17T03:21:05.499Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T03:21:05.543Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T03:21:05.585Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T03:21:05.625Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T03:21:05.667Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T03:21:05.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T03:21:05.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T03:21:05.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T03:21:05.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T03:21:05.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-17T03:21:05.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T03:21:05.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T03:21:05.974Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T03:21:06.013Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T03:21:06.056Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T03:21:06.097Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T03:21:06.147Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T03:21:06.186Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T03:21:06.228Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-17T03:21:06.273Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-17T03:21:06.320Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T03:21:06.362Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T03:21:06.406Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-17T03:21:06.450Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T03:21:06.490Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T03:21:06.531Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-178 [Pipeline] echo [2022-10-17T03:21:06.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-178 [Pipeline] echo [2022-10-17T03:21:06.616Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-178 [Pipeline] echo [2022-10-17T03:21:06.658Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 [Pipeline] echo [2022-10-17T03:21:06.698Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3121cf9 [Pipeline] echo [2022-10-17T03:21:06.741Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T03:21:06.855Z] provisioning config files... [2022-10-17T03:21:06.872Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-178@tmp/config332824186146588889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T03:21:07.214Z] ---> docker-login.sh [2022-10-17T03:21:07.214Z] nexus3.edgexfoundry.org:10001 [2022-10-17T03:21:07.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:21:08.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:21:08.049Z] Configure a credential helper to remove this warning. See [2022-10-17T03:21:08.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:21:08.049Z] [2022-10-17T03:21:08.049Z] Login Succeeded [2022-10-17T03:21:08.049Z] nexus3.edgexfoundry.org:10002 [2022-10-17T03:21:08.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:21:08.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:21:08.049Z] Configure a credential helper to remove this warning. See [2022-10-17T03:21:08.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:21:08.049Z] [2022-10-17T03:21:08.049Z] Login Succeeded [2022-10-17T03:21:08.049Z] nexus3.edgexfoundry.org:10003 [2022-10-17T03:21:08.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:21:08.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:21:08.311Z] Configure a credential helper to remove this warning. See [2022-10-17T03:21:08.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:21:08.311Z] [2022-10-17T03:21:08.311Z] Login Succeeded [2022-10-17T03:21:08.311Z] nexus3.edgexfoundry.org:10004 [2022-10-17T03:21:08.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:21:08.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:21:08.311Z] Configure a credential helper to remove this warning. See [2022-10-17T03:21:08.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:21:08.311Z] [2022-10-17T03:21:08.311Z] Login Succeeded [2022-10-17T03:21:08.311Z] docker.io [2022-10-17T03:21:08.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:21:08.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:21:08.882Z] Configure a credential helper to remove this warning. See [2022-10-17T03:21:08.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:21:08.882Z] [2022-10-17T03:21:08.882Z] Login Succeeded [2022-10-17T03:21:08.882Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T03:21:08.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T03:21:09.570Z] + git rev-list -1 --merges 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6~1..3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 [Pipeline] echo [2022-10-17T03:21:09.623Z] -----------> git rev-list -1 --merges 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6~1..3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 [false] [Pipeline] sh [2022-10-17T03:21:09.936Z] + git log --format=format:%s -1 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 [Pipeline] echo [2022-10-17T03:21:09.976Z] ========================================================= [2022-10-17T03:21:09.976Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T03:21:09.976Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T03:21:10.432Z] + git log --format=format:%s -1 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 [Pipeline] echo [2022-10-17T03:21:10.466Z] [semverPrep] GIT_COMMIT: 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-10-17T03:21:10.497Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T03:21:10.899Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T03:21:10.899Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T03:21:10.899Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T03:21:10.899Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T03:21:10.899Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T03:21:10.899Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T03:21:10.899Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T03:21:11.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T03:21:11.378Z] [2022-10-17T03:21:11.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T03:21:11.756Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T03:21:11.756Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T03:21:11.756Z] b85a868b505f: Pulling fs layer [2022-10-17T03:21:11.756Z] e2be974225ed: Pulling fs layer [2022-10-17T03:21:11.756Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T03:21:11.756Z] 988bab9f4d93: Pulling fs layer [2022-10-17T03:21:11.756Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T03:21:11.756Z] eaf3925da568: Pulling fs layer [2022-10-17T03:21:11.756Z] bab4dde63d76: Pulling fs layer [2022-10-17T03:21:11.756Z] bde34c3a00c8: Pulling fs layer [2022-10-17T03:21:11.756Z] b352a97aabf1: Pulling fs layer [2022-10-17T03:21:11.756Z] 4872d77fe225: Pulling fs layer [2022-10-17T03:21:11.756Z] 5851b861e8e6: Pulling fs layer [2022-10-17T03:21:11.756Z] b352a97aabf1: Waiting [2022-10-17T03:21:11.756Z] 1469e6f7b9e6: Waiting [2022-10-17T03:21:11.756Z] 988bab9f4d93: Waiting [2022-10-17T03:21:11.756Z] 4872d77fe225: Waiting [2022-10-17T03:21:11.756Z] eaf3925da568: Waiting [2022-10-17T03:21:11.756Z] bab4dde63d76: Waiting [2022-10-17T03:21:11.756Z] 5851b861e8e6: Waiting [2022-10-17T03:21:11.756Z] bde34c3a00c8: Waiting [2022-10-17T03:21:11.756Z] e2be974225ed: Verifying Checksum [2022-10-17T03:21:11.756Z] e2be974225ed: Download complete [2022-10-17T03:21:11.756Z] 988bab9f4d93: Verifying Checksum [2022-10-17T03:21:11.756Z] 988bab9f4d93: Download complete [2022-10-17T03:21:12.016Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T03:21:12.016Z] 339a4e72a1f5: Download complete [2022-10-17T03:21:12.016Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T03:21:12.016Z] 1469e6f7b9e6: Download complete [2022-10-17T03:21:12.016Z] eaf3925da568: Verifying Checksum [2022-10-17T03:21:12.016Z] eaf3925da568: Download complete [2022-10-17T03:21:12.016Z] bde34c3a00c8: Download complete [2022-10-17T03:21:12.016Z] b352a97aabf1: Download complete [2022-10-17T03:21:12.016Z] 4872d77fe225: Download complete [2022-10-17T03:21:12.016Z] 5851b861e8e6: Download complete [2022-10-17T03:21:12.016Z] b85a868b505f: Verifying Checksum [2022-10-17T03:21:12.016Z] b85a868b505f: Download complete [2022-10-17T03:21:12.276Z] bab4dde63d76: Verifying Checksum [2022-10-17T03:21:12.276Z] bab4dde63d76: Download complete [2022-10-17T03:21:13.217Z] b85a868b505f: Pull complete [2022-10-17T03:21:13.478Z] e2be974225ed: Pull complete [2022-10-17T03:21:14.047Z] 339a4e72a1f5: Pull complete [2022-10-17T03:21:14.047Z] 988bab9f4d93: Pull complete [2022-10-17T03:21:14.304Z] 1469e6f7b9e6: Pull complete [2022-10-17T03:21:14.304Z] eaf3925da568: Pull complete [2022-10-17T03:21:16.205Z] bab4dde63d76: Pull complete [2022-10-17T03:21:16.205Z] bde34c3a00c8: Pull complete [2022-10-17T03:21:16.205Z] b352a97aabf1: Pull complete [2022-10-17T03:21:16.464Z] 4872d77fe225: Pull complete [2022-10-17T03:21:16.464Z] 5851b861e8e6: Pull complete [2022-10-17T03:21:16.464Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T03:21:16.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T03:21:16.464Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T03:21:16.688Z] prd-ubuntu20.04-docker-8c-8g-8018 does not seem to be running inside a container [2022-10-17T03:21:16.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-178 -v /w/workspace/undry_device-onvif-camera_PR-178:/w/workspace/undry_device-onvif-camera_PR-178:rw,z -v /w/workspace/undry_device-onvif-camera_PR-178@tmp:/w/workspace/undry_device-onvif-camera_PR-178@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-17T03:21:18.285Z] $ docker top 6f2a60ec0c03abb71a92cfcb978adda77603a03187ddaade37ea2c92dcc2d1f7 -eo pid,comm [2022-10-17T03:21:18.342Z] 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-10-17T03:21:18.342Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T03:21:18.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T03:21:18.471Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T03:21:18.584Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T03:21:18.586Z] $ docker exec 6f2a60ec0c03abb71a92cfcb978adda77603a03187ddaade37ea2c92dcc2d1f7 ssh-agent [2022-10-17T03:21:18.714Z] SSH_AUTH_SOCK=/tmp/ssh-PUtUU5bUW8yQ/agent.32 [2022-10-17T03:21:18.714Z] SSH_AGENT_PID=38 [2022-10-17T03:21:18.722Z] Running ssh-add (command line suppressed) [2022-10-17T03:21:18.828Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-178@tmp/private_key_5105485444901590498.key (/w/workspace/undry_device-onvif-camera_PR-178@tmp/private_key_5105485444901590498.key) [2022-10-17T03:21:18.844Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T03:21:19.176Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T03:21:19.201Z] $ docker exec --env ******** --env ******** 6f2a60ec0c03abb71a92cfcb978adda77603a03187ddaade37ea2c92dcc2d1f7 ssh-agent -k [2022-10-17T03:21:19.294Z] unset SSH_AUTH_SOCK; [2022-10-17T03:21:19.295Z] unset SSH_AGENT_PID; [2022-10-17T03:21:19.295Z] echo Agent pid 38 killed; [2022-10-17T03:21:19.307Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T03:21:19.394Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T03:21:19.394Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T03:21:19.512Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T03:21:19.515Z] $ docker exec 6f2a60ec0c03abb71a92cfcb978adda77603a03187ddaade37ea2c92dcc2d1f7 ssh-agent [2022-10-17T03:21:19.629Z] SSH_AUTH_SOCK=/tmp/ssh-5W9RlLBpoQcM/agent.70 [2022-10-17T03:21:19.629Z] SSH_AGENT_PID=76 [2022-10-17T03:21:19.633Z] Running ssh-add (command line suppressed) [2022-10-17T03:21:19.729Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-178@tmp/private_key_5404286459020717949.key (/w/workspace/undry_device-onvif-camera_PR-178@tmp/private_key_5404286459020717949.key) [2022-10-17T03:21:19.742Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T03:21:20.064Z] + git semver init [2022-10-17T03:21:20.323Z] 2022-10-17 03:21:20,258 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T03:21:20.323Z] 2022-10-17 03:21:20,259 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-178/.semver [2022-10-17T03:21:20.323Z] 2022-10-17 03:21:20,259 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-178/.semver [2022-10-17T03:21:20.323Z] 2022-10-17 03:21:20,260 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-178/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-178, universal_newlines=False, shell=None, istream=None) [2022-10-17T03:21:21.259Z] 2022-10-17 03:21:21,245 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-178/.git/info/exclude [2022-10-17T03:21:21.259Z] 2022-10-17 03:21:21,245 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-178/.semver/PR-178 with force:False [2022-10-17T03:21:21.259Z] 2022-10-17 03:21:21,245 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-178/.semver/PR-178 [2022-10-17T03:21:21.259Z] 2022-10-17 03:21:21,250 [execute] INFO git cat-file --batch-check [2022-10-17T03:21:21.259Z] 2022-10-17 03:21:21,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-178/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T03:21:21.259Z] 2022-10-17 03:21:21,257 [execute] INFO git cat-file --batch [2022-10-17T03:21:21.259Z] 2022-10-17 03:21:21,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-178/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T03:21:21.518Z] 2022-10-17 03:21:21,265 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-178/.semver/PR-178 [2022-10-17T03:21:21.518Z] 0.0.0 [Pipeline] } [2022-10-17T03:21:21.548Z] $ docker exec --env ******** --env ******** 6f2a60ec0c03abb71a92cfcb978adda77603a03187ddaade37ea2c92dcc2d1f7 ssh-agent -k [2022-10-17T03:21:21.644Z] unset SSH_AUTH_SOCK; [2022-10-17T03:21:21.644Z] unset SSH_AGENT_PID; [2022-10-17T03:21:21.644Z] echo Agent pid 76 killed; [2022-10-17T03:21:21.653Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T03:21:22.070Z] + git semver [Pipeline] } [2022-10-17T03:21:22.364Z] $ docker stop --time=1 6f2a60ec0c03abb71a92cfcb978adda77603a03187ddaade37ea2c92dcc2d1f7 [2022-10-17T03:21:23.696Z] $ docker rm -f 6f2a60ec0c03abb71a92cfcb978adda77603a03187ddaade37ea2c92dcc2d1f7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T03:21:24.103Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T03:21:24.360Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T03:21:24.380Z] [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-10-17T03:21:25.016Z] provisioning config files... [2022-10-17T03:21:25.030Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-178@tmp/config13141298855628048583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T03:21:25.367Z] ---> docker-login.sh [2022-10-17T03:21:25.367Z] nexus3.edgexfoundry.org:10001 [2022-10-17T03:21:25.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:21:25.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:21:25.367Z] Configure a credential helper to remove this warning. See [2022-10-17T03:21:25.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:21:25.367Z] [2022-10-17T03:21:25.367Z] Login Succeeded [2022-10-17T03:21:25.367Z] nexus3.edgexfoundry.org:10002 [2022-10-17T03:21:25.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:21:25.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:21:25.367Z] Configure a credential helper to remove this warning. See [2022-10-17T03:21:25.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:21:25.367Z] [2022-10-17T03:21:25.367Z] Login Succeeded [2022-10-17T03:21:25.367Z] nexus3.edgexfoundry.org:10003 [2022-10-17T03:21:25.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:21:25.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:21:25.626Z] Configure a credential helper to remove this warning. See [2022-10-17T03:21:25.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:21:25.626Z] [2022-10-17T03:21:25.626Z] Login Succeeded [2022-10-17T03:21:25.626Z] nexus3.edgexfoundry.org:10004 [2022-10-17T03:21:25.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:21:25.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:21:25.626Z] Configure a credential helper to remove this warning. See [2022-10-17T03:21:25.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:21:25.626Z] [2022-10-17T03:21:25.626Z] Login Succeeded [2022-10-17T03:21:25.626Z] docker.io [2022-10-17T03:21:25.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:21:26.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:21:26.146Z] Configure a credential helper to remove this warning. See [2022-10-17T03:21:26.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:21:26.146Z] [2022-10-17T03:21:26.146Z] Login Succeeded [2022-10-17T03:21:26.146Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T03:21:26.174Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T03:21:26.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T03:21:26.403Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T03:21:26.433Z] ========================================================= [2022-10-17T03:21:26.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T03:21:26.433Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T03:21:26.903Z] + 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-10-17T03:21:26.903Z] Sending build context to Docker daemon 21.31MB [2022-10-17T03:21:26.903Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T03:21:26.903Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-17T03:21:27.165Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T03:21:27.165Z] 213ec9aee27d: Pulling fs layer [2022-10-17T03:21:27.165Z] 4583459ba037: Pulling fs layer [2022-10-17T03:21:27.165Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T03:21:27.165Z] 53926ce57604: Pulling fs layer [2022-10-17T03:21:27.165Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T03:21:27.165Z] 53926ce57604: Waiting [2022-10-17T03:21:27.165Z] 30f14e443154: Pulling fs layer [2022-10-17T03:21:27.165Z] 801331c1e519: Pulling fs layer [2022-10-17T03:21:27.165Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T03:21:27.165Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T03:21:27.165Z] 99cc6dd402b0: Waiting [2022-10-17T03:21:27.165Z] 21b2b0c7a3f4: Waiting [2022-10-17T03:21:27.165Z] 7d9ed39f4882: Waiting [2022-10-17T03:21:27.165Z] 30f14e443154: Waiting [2022-10-17T03:21:27.165Z] 801331c1e519: Waiting [2022-10-17T03:21:27.165Z] 93c1e223e6f2: Verifying Checksum [2022-10-17T03:21:27.165Z] 93c1e223e6f2: Download complete [2022-10-17T03:21:27.165Z] 4583459ba037: Verifying Checksum [2022-10-17T03:21:27.165Z] 4583459ba037: Download complete [2022-10-17T03:21:27.165Z] 21b2b0c7a3f4: Download complete [2022-10-17T03:21:27.165Z] 30f14e443154: Verifying Checksum [2022-10-17T03:21:27.165Z] 30f14e443154: Download complete [2022-10-17T03:21:27.165Z] 213ec9aee27d: Verifying Checksum [2022-10-17T03:21:27.165Z] 801331c1e519: Download complete [2022-10-17T03:21:27.165Z] 213ec9aee27d: Pull complete [2022-10-17T03:21:27.439Z] 4583459ba037: Pull complete [2022-10-17T03:21:27.439Z] 93c1e223e6f2: Pull complete [2022-10-17T03:21:27.713Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T03:21:27.713Z] 7d9ed39f4882: Download complete [2022-10-17T03:21:27.975Z] 53926ce57604: Verifying Checksum [2022-10-17T03:21:27.975Z] 53926ce57604: Download complete [2022-10-17T03:21:27.975Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T03:21:27.975Z] 99cc6dd402b0: Download complete [2022-10-17T03:21:32.069Z] 53926ce57604: Pull complete [2022-10-17T03:21:32.069Z] 21b2b0c7a3f4: Pull complete [2022-10-17T03:21:32.069Z] 30f14e443154: Pull complete [2022-10-17T03:21:32.069Z] 801331c1e519: Pull complete [2022-10-17T03:21:33.971Z] 99cc6dd402b0: Pull complete [2022-10-17T03:21:34.538Z] 7d9ed39f4882: Pull complete [2022-10-17T03:21:34.538Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T03:21:34.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T03:21:34.538Z] ---> 1dedd983c030 [2022-10-17T03:21:34.538Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-17T03:21:36.458Z] ---> Running in b85b5767e2a9 [2022-10-17T03:21:36.458Z] Removing intermediate container b85b5767e2a9 [2022-10-17T03:21:36.458Z] ---> 4ae0fc1cb319 [2022-10-17T03:21:36.458Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T03:21:36.717Z] ---> Running in 57e0267bb519 [2022-10-17T03:21:36.717Z] Removing intermediate container 57e0267bb519 [2022-10-17T03:21:36.717Z] ---> 9768f4889ba7 [2022-10-17T03:21:36.717Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T03:21:36.717Z] ---> Running in fe82e25b533b [2022-10-17T03:21:36.976Z] Removing intermediate container fe82e25b533b [2022-10-17T03:21:36.976Z] ---> 3e47508f94af [2022-10-17T03:21:36.976Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T03:21:36.976Z] ---> Running in b6691a789ea2 [2022-10-17T03:21:36.976Z] Removing intermediate container b6691a789ea2 [2022-10-17T03:21:36.976Z] ---> 72a2b9536fda [2022-10-17T03:21:36.976Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-17T03:21:37.237Z] ---> Running in cdc68ea9bae6 [2022-10-17T03:21:37.237Z] Removing intermediate container cdc68ea9bae6 [2022-10-17T03:21:37.237Z] ---> 1abe49f987e6 [2022-10-17T03:21:37.237Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T03:21:37.237Z] ---> Running in 9df97a99a4cc [2022-10-17T03:21:37.805Z] Removing intermediate container 9df97a99a4cc [2022-10-17T03:21:37.805Z] ---> b3053146fcc8 [2022-10-17T03:21:37.805Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T03:21:37.805Z] ---> Running in 866012c67dcd [2022-10-17T03:21:38.372Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T03:21:39.307Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T03:21:39.577Z] OK: 211 MiB in 51 packages [2022-10-17T03:21:39.836Z] Removing intermediate container 866012c67dcd [2022-10-17T03:21:39.836Z] ---> 88bc3eab37b4 [2022-10-17T03:21:39.836Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-17T03:21:39.836Z] ---> Running in 5d4bbb9ae7b0 [2022-10-17T03:21:39.836Z] Removing intermediate container 5d4bbb9ae7b0 [2022-10-17T03:21:39.836Z] ---> 288303a5ec55 [2022-10-17T03:21:39.836Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-17T03:21:39.863Z] Still waiting to schedule task [2022-10-17T03:21:39.864Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-17T03:21:40.095Z] ---> 7cb6ca216d85 [2022-10-17T03:21:40.095Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T03:21:40.095Z] ---> Running in 0b4e84706d9a [2022-10-17T03:21:58.562Z] Removing intermediate container 0b4e84706d9a [2022-10-17T03:21:58.562Z] ---> c32adf8302f7 [2022-10-17T03:21:58.562Z] Step 13/14 : COPY . . [2022-10-17T03:21:58.562Z] ---> dcea9db7e9a7 [2022-10-17T03:21:58.562Z] Step 14/14 : RUN ${MAKE} [2022-10-17T03:21:58.562Z] ---> Running in 13d7a9b7d0aa [2022-10-17T03:21:58.562Z] noop [2022-10-17T03:21:58.562Z] Removing intermediate container 13d7a9b7d0aa [2022-10-17T03:21:58.562Z] ---> 4a2ceb9252b6 [2022-10-17T03:21:58.562Z] Successfully built 4a2ceb9252b6 [2022-10-17T03:21:58.562Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T03:21:59.017Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T03:21:59.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T03:21:59.166Z] prd-ubuntu20.04-docker-8c-8g-8018 does not seem to be running inside a container [2022-10-17T03:21:59.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-178 -v /w/workspace/undry_device-onvif-camera_PR-178:/w/workspace/undry_device-onvif-camera_PR-178:rw,z -v /w/workspace/undry_device-onvif-camera_PR-178@tmp:/w/workspace/undry_device-onvif-camera_PR-178@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 ******** ci-base-image-x86_64 cat [2022-10-17T03:21:59.596Z] $ docker top 3c12a54a7dc17e09729a7b794d981c14535633f383913fc6a0843f599e504d9c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T03:21:59.986Z] + go version [2022-10-17T03:21:59.986Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T03:22:00.022Z] $ docker stop --time=1 3c12a54a7dc17e09729a7b794d981c14535633f383913fc6a0843f599e504d9c [2022-10-17T03:22:01.371Z] $ docker rm -f 3c12a54a7dc17e09729a7b794d981c14535633f383913fc6a0843f599e504d9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T03:22:02.101Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T03:22:02.101Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T03:22:02.253Z] prd-ubuntu20.04-docker-8c-8g-8018 does not seem to be running inside a container [2022-10-17T03:22:02.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-178 -v /w/workspace/undry_device-onvif-camera_PR-178:/w/workspace/undry_device-onvif-camera_PR-178:rw,z -v /w/workspace/undry_device-onvif-camera_PR-178@tmp:/w/workspace/undry_device-onvif-camera_PR-178@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 ******** ci-base-image-x86_64 cat [2022-10-17T03:22:02.671Z] $ docker top 28c0044743a20b031e44da3f4d08a429cb4c9c8ba07ee3bf083f3d00d70bfe20 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T03:22:03.058Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-178 [Pipeline] fileExists [Pipeline] sh [2022-10-17T03:22:03.417Z] + make test [2022-10-17T03:22:03.418Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T03:22:03.675Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-17T03:22:13.650Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-17T03:22:15.118Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements [2022-10-17T03:22:15.118Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-17T03:22:15.118Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.299s coverage: 86.5% of statements [2022-10-17T03:22:23.255Z] 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-10-17T03:22:23.255Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T03:22:25.781Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T03:22:25.781Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T03:22:25.781Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T03:22:26.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T03:22:26.104Z] $ docker stop --time=1 28c0044743a20b031e44da3f4d08a429cb4c9c8ba07ee3bf083f3d00d70bfe20 [2022-10-17T03:22:27.812Z] $ docker rm -f 28c0044743a20b031e44da3f4d08a429cb4c9c8ba07ee3bf083f3d00d70bfe20 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T03:22:28.308Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T03:22:28.377Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-17T03:22:29.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T03:22:29.359Z] + ls -al . [2022-10-17T03:22:29.359Z] total 236 [2022-10-17T03:22:29.359Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 03:22 . [2022-10-17T03:22:29.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 03:21 .. [2022-10-17T03:22:29.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 03:22 .git [2022-10-17T03:22:29.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 03:21 .github [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 17 03:21 .gitignore [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 03:21 .golangci.yml [2022-10-17T03:22:29.359Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 03:21 .semver [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 17 03:21 Attribution.txt [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 17 03:21 CHANGELOG.md [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 17 03:21 Dockerfile [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 03:21 GOVERNANCE.md [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 17 03:21 Jenkinsfile [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 03:21 LICENSE [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 17 03:21 Makefile [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 03:21 OWNERS.md [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 17 03:21 README.md [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 03:21 VERSION [2022-10-17T03:22:29.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 03:21 bin [2022-10-17T03:22:29.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 03:21 cmd [2022-10-17T03:22:29.359Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 17 03:22 coverage.out [2022-10-17T03:22:29.359Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 03:21 doc [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 17 03:21 go.mod [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 17 03:21 go.sum [2022-10-17T03:22:29.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 03:21 internal [2022-10-17T03:22:29.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 03:21 snap [2022-10-17T03:22:29.359Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 17 03:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T03:22:29.767Z] + 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=3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 --label arch=amd64 --label version=0.0.0 . [2022-10-17T03:22:29.767Z] Sending build context to Docker daemon 21.39MB [2022-10-17T03:22:29.767Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T03:22:29.767Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-17T03:22:29.767Z] ---> 4a2ceb9252b6 [2022-10-17T03:22:29.767Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-17T03:22:30.027Z] ---> Running in 54bbd39e7276 [2022-10-17T03:22:30.027Z] Removing intermediate container 54bbd39e7276 [2022-10-17T03:22:30.027Z] ---> dc16f0e0d994 [2022-10-17T03:22:30.027Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T03:22:30.027Z] ---> Running in 1e1288c61dc2 [2022-10-17T03:22:30.286Z] Removing intermediate container 1e1288c61dc2 [2022-10-17T03:22:30.286Z] ---> aeb4e8df1129 [2022-10-17T03:22:30.286Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T03:22:30.286Z] ---> Running in 5afc32b14776 [2022-10-17T03:22:30.286Z] Removing intermediate container 5afc32b14776 [2022-10-17T03:22:30.286Z] ---> 8cb52fa894a3 [2022-10-17T03:22:30.286Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T03:22:30.286Z] ---> Running in d8ee67cbe2db [2022-10-17T03:22:30.546Z] Removing intermediate container d8ee67cbe2db [2022-10-17T03:22:30.546Z] ---> a4e0205c881b [2022-10-17T03:22:30.546Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-17T03:22:30.546Z] ---> Running in b543f09be94d [2022-10-17T03:22:30.546Z] Removing intermediate container b543f09be94d [2022-10-17T03:22:30.546Z] ---> c7c682230b6f [2022-10-17T03:22:30.546Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T03:22:30.807Z] ---> Running in 0a0ce0b16487 [2022-10-17T03:22:31.376Z] Removing intermediate container 0a0ce0b16487 [2022-10-17T03:22:31.376Z] ---> 3cefb578a49a [2022-10-17T03:22:31.376Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T03:22:31.376Z] ---> Running in 5c73dc6760fc [2022-10-17T03:22:31.634Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T03:22:32.572Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T03:22:32.830Z] OK: 211 MiB in 51 packages [2022-10-17T03:22:33.090Z] Removing intermediate container 5c73dc6760fc [2022-10-17T03:22:33.090Z] ---> b8b30b73b8b8 [2022-10-17T03:22:33.090Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-17T03:22:33.349Z] ---> Running in f56d9470dbaf [2022-10-17T03:22:33.349Z] Removing intermediate container f56d9470dbaf [2022-10-17T03:22:33.349Z] ---> 144925b54b0b [2022-10-17T03:22:33.349Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-17T03:22:33.349Z] ---> e334a89af8e4 [2022-10-17T03:22:33.349Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T03:22:33.607Z] ---> Running in 8b128a928c12 [2022-10-17T03:22:34.176Z] Removing intermediate container 8b128a928c12 [2022-10-17T03:22:34.176Z] ---> d85557488123 [2022-10-17T03:22:34.176Z] Step 13/27 : COPY . . [2022-10-17T03:22:34.747Z] ---> 4235a1322199 [2022-10-17T03:22:34.747Z] Step 14/27 : RUN ${MAKE} [2022-10-17T03:22:35.006Z] ---> Running in 83b64e16f00e [2022-10-17T03:22:35.264Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-17T03:22:57.195Z] Removing intermediate container 83b64e16f00e [2022-10-17T03:22:57.195Z] ---> 412aac4eb819 [2022-10-17T03:22:57.195Z] Step 15/27 : FROM alpine:3.16 [2022-10-17T03:22:57.195Z] 3.16: Pulling from library/alpine [2022-10-17T03:22:57.195Z] 213ec9aee27d: Already exists [2022-10-17T03:22:57.195Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T03:22:57.195Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T03:22:57.195Z] ---> 9c6f07244728 [2022-10-17T03:22:57.195Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-17T03:22:57.455Z] ---> Running in 53a3fa63e28f [2022-10-17T03:22:57.455Z] Removing intermediate container 53a3fa63e28f [2022-10-17T03:22:57.455Z] ---> 959b7e850dca [2022-10-17T03:22:57.455Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T03:22:57.455Z] ---> Running in d16e4fcafb32 [2022-10-17T03:22:57.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T03:22:57.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T03:22:58.233Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T03:22:58.233Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T03:22:58.233Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T03:22:58.233Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T03:22:58.233Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T03:22:58.233Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T03:22:58.233Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T03:22:58.233Z] OK: 8 MiB in 20 packages [2022-10-17T03:22:58.492Z] Removing intermediate container d16e4fcafb32 [2022-10-17T03:22:58.492Z] ---> 12c9bb5d91b5 [2022-10-17T03:22:58.492Z] Step 18/27 : WORKDIR / [2022-10-17T03:22:58.492Z] ---> Running in 7d5a1632e5ff [2022-10-17T03:22:58.753Z] Removing intermediate container 7d5a1632e5ff [2022-10-17T03:22:58.753Z] ---> f34ca0e123f9 [2022-10-17T03:22:58.753Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-17T03:22:59.319Z] ---> 14a63343aa18 [2022-10-17T03:22:59.319Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-17T03:22:59.319Z] ---> 2fc327475ad3 [2022-10-17T03:22:59.319Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-17T03:22:59.580Z] ---> b586e897af6f [2022-10-17T03:22:59.580Z] Step 22/27 : EXPOSE 59984 [2022-10-17T03:22:59.580Z] ---> Running in eea56b92eef3 [2022-10-17T03:22:59.839Z] Removing intermediate container eea56b92eef3 [2022-10-17T03:22:59.839Z] ---> bc2f3efd47b2 [2022-10-17T03:22:59.839Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-17T03:22:59.839Z] ---> Running in 480281b98b53 [2022-10-17T03:22:59.839Z] Removing intermediate container 480281b98b53 [2022-10-17T03:22:59.839Z] ---> 276a98ab850b [2022-10-17T03:22:59.839Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T03:22:59.839Z] ---> Running in bf150b157196 [2022-10-17T03:23:00.099Z] Removing intermediate container bf150b157196 [2022-10-17T03:23:00.099Z] ---> 45b9e0708139 [2022-10-17T03:23:00.099Z] Step 25/27 : LABEL arch=amd64 [2022-10-17T03:23:00.099Z] ---> Running in 67a8f7c6f3eb [2022-10-17T03:23:00.099Z] Removing intermediate container 67a8f7c6f3eb [2022-10-17T03:23:00.099Z] ---> 52992a207705 [2022-10-17T03:23:00.099Z] Step 26/27 : LABEL git_sha=3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 [2022-10-17T03:23:00.099Z] ---> Running in fa7f1d0463f3 [2022-10-17T03:23:00.357Z] Removing intermediate container fa7f1d0463f3 [2022-10-17T03:23:00.357Z] ---> 75dd11495fc7 [2022-10-17T03:23:00.357Z] Step 27/27 : LABEL version=0.0.0 [2022-10-17T03:23:00.357Z] ---> Running in abf4f6f77451 [2022-10-17T03:23:00.357Z] Removing intermediate container abf4f6f77451 [2022-10-17T03:23:00.357Z] ---> d2a295d5c4fd [2022-10-17T03:23:00.357Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T03:23:00.357Z] Successfully built d2a295d5c4fd [2022-10-17T03:23:00.357Z] 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-10-17T03:23:01.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T03:23:01.217Z] [2022-10-17T03:23:01.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T03:23:01.586Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T03:23:01.586Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T03:23:01.586Z] 5eb5b503b376: Pulling fs layer [2022-10-17T03:23:01.586Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T03:23:01.586Z] ec43610c2a17: Pulling fs layer [2022-10-17T03:23:01.586Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T03:23:01.586Z] 33b1e0a273af: Pulling fs layer [2022-10-17T03:23:01.586Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T03:23:01.586Z] 2f39f015ded8: Pulling fs layer [2022-10-17T03:23:01.586Z] 3a2ae6a8a46f: Waiting [2022-10-17T03:23:01.586Z] 33b1e0a273af: Waiting [2022-10-17T03:23:01.586Z] 5d3b04190fa2: Waiting [2022-10-17T03:23:01.586Z] 2f39f015ded8: Waiting [2022-10-17T03:23:01.586Z] 5c69ac0246d0: Verifying Checksum [2022-10-17T03:23:01.586Z] 5c69ac0246d0: Download complete [2022-10-17T03:23:01.586Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T03:23:01.586Z] 3a2ae6a8a46f: Download complete [2022-10-17T03:23:01.586Z] 33b1e0a273af: Verifying Checksum [2022-10-17T03:23:01.586Z] 33b1e0a273af: Download complete [2022-10-17T03:23:01.845Z] ec43610c2a17: Verifying Checksum [2022-10-17T03:23:01.845Z] ec43610c2a17: Download complete [2022-10-17T03:23:01.845Z] 5d3b04190fa2: Verifying Checksum [2022-10-17T03:23:01.845Z] 5d3b04190fa2: Download complete [2022-10-17T03:23:01.845Z] 5eb5b503b376: Verifying Checksum [2022-10-17T03:23:01.845Z] 5eb5b503b376: Download complete [2022-10-17T03:23:02.413Z] 2f39f015ded8: Download complete [2022-10-17T03:23:03.346Z] 5eb5b503b376: Pull complete [2022-10-17T03:23:03.346Z] 5c69ac0246d0: Pull complete [2022-10-17T03:23:04.282Z] ec43610c2a17: Pull complete [2022-10-17T03:23:04.282Z] 3a2ae6a8a46f: Pull complete [2022-10-17T03:23:04.542Z] 33b1e0a273af: Pull complete [2022-10-17T03:23:04.808Z] 5d3b04190fa2: Pull complete [2022-10-17T03:23:05.531Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8019 in /w/workspace/undry_device-onvif-camera_PR-178 [Pipeline] { [Pipeline] ws [2022-10-17T03:23:05.570Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-17T03:23:05.641Z] The recommended git tool is: git [2022-10-17T03:23:08.986Z] 2f39f015ded8: Pull complete [2022-10-17T03:23:08.986Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T03:23:08.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T03:23:08.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T03:23:09.206Z] prd-ubuntu20.04-docker-8c-8g-8018 does not seem to be running inside a container [2022-10-17T03:23:09.239Z] $ 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-178 -v /w/workspace/undry_device-onvif-camera_PR-178:/w/workspace/undry_device-onvif-camera_PR-178:rw,z -v /w/workspace/undry_device-onvif-camera_PR-178@tmp:/w/workspace/undry_device-onvif-camera_PR-178@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-17T03:23:10.439Z] using credential edgex-jenkins-ssh [2022-10-17T03:23:10.455Z] Cloning the remote Git repository [2022-10-17T03:23:10.516Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-17T03:23:10.829Z] $ docker top 5302c0321948160df5fc75360bba15035cadfa4986054282bb2cc60c77be6be6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T03:23:11.288Z] ---> job-cost.sh [2022-10-17T03:23:11.288Z] lf-activate-venv: SKIPPING [2022-10-17T03:23:11.288Z] INFO: No Stack... [2022-10-17T03:23:11.547Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T03:23:11.565Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-10-17T03:23:11.725Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-17T03:23:11.726Z] > git --version # timeout=10 [2022-10-17T03:23:11.749Z] > git --version # 'git version 2.25.1' [2022-10-17T03:23:11.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T03:23:11.807Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T03:23:12.124Z] + cut -d, -f6 [2022-10-17T03:23:12.124Z] + cat /w/workspace/undry_device-onvif-camera_PR-178/archives/cost.csv [Pipeline] lock [2022-10-17T03:23:12.173Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-178-1-stack-cost] [2022-10-17T03:23:12.177Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-178-1-stack-cost] did not exist. Created. [2022-10-17T03:23:12.178Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-178-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T03:23:12.558Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T03:23:12.605Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T03:23:12.635Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-178-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T03:23:12.717Z] $ docker stop --time=1 5302c0321948160df5fc75360bba15035cadfa4986054282bb2cc60c77be6be6 [2022-10-17T03:23:11.808Z] Verifying host key using known hosts file [2022-10-17T03:23:12.007Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T03:23:12.020Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T03:23:13.908Z] $ docker rm -f 5302c0321948160df5fc75360bba15035cadfa4986054282bb2cc60c77be6be6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-17T03:23:13.303Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-17T03:23:13.324Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T03:23:14.062Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-17T03:23:14.103Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-17T03:23:14.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T03:23:14.108Z] Verifying host key using known hosts file [2022-10-17T03:23:14.115Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T03:23:14.124Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/178/head:refs/remotes/origin/PR-178 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-17T03:23:14.659Z] Merging remotes/origin/main commit 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 into PR head commit 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 [2022-10-17T03:23:15.035Z] Merge succeeded, producing 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 [2022-10-17T03:23:15.036Z] Checking out Revision 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 (PR-178) [2022-10-17T03:23:15.682Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-10-17T03:23:15.734Z] > git --version # timeout=10 [2022-10-17T03:23:15.744Z] > git --version # 'git version 2.25.1' [2022-10-17T03:23:15.772Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T03:23:14.681Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T03:23:14.699Z] > git checkout -f 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 # timeout=10 [2022-10-17T03:23:14.937Z] > git remote # timeout=10 [2022-10-17T03:23:14.955Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T03:23:14.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T03:23:14.978Z] Verifying host key using known hosts file [2022-10-17T03:23:14.983Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T03:23:14.993Z] > git merge 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 # timeout=10 [2022-10-17T03:23:15.024Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T03:23:15.045Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T03:23:15.059Z] > git checkout -f 3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T03:23:16.831Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T03:23:16.831Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T03:23:16.831Z] Dload Upload Total Spent Left Speed [2022-10-17T03:23:16.831Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh [2022-10-17T03:23:17.439Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T03:23:17.779Z] + sudo tee /etc/docker/daemon.new [2022-10-17T03:23:17.779Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T03:23:17.779Z] { [2022-10-17T03:23:17.779Z] "registry-mirrors": [ [2022-10-17T03:23:17.779Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T03:23:17.779Z] ], [2022-10-17T03:23:17.779Z] "bip": "10.250.0.254/24", [2022-10-17T03:23:17.779Z] "hosts": [ [2022-10-17T03:23:17.779Z] "tcp://0.0.0.0:5555", [2022-10-17T03:23:17.779Z] "unix:///var/run/docker.sock" [2022-10-17T03:23:17.779Z] ], [2022-10-17T03:23:17.779Z] "mtu": 1458, [2022-10-17T03:23:17.779Z] "selinux-enabled": true, [2022-10-17T03:23:17.779Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T03:23:17.779Z] } [Pipeline] sh [2022-10-17T03:23:18.117Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-17T03:23:18.471Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T03:23:36.776Z] provisioning config files... [2022-10-17T03:23:36.802Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config18197297507046288179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T03:23:37.188Z] ---> docker-login.sh [2022-10-17T03:23:37.188Z] nexus3.edgexfoundry.org:10001 [2022-10-17T03:23:37.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:23:37.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:23:37.774Z] Configure a credential helper to remove this warning. See [2022-10-17T03:23:37.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:23:37.774Z] [2022-10-17T03:23:37.774Z] Login Succeeded [2022-10-17T03:23:37.774Z] nexus3.edgexfoundry.org:10002 [2022-10-17T03:23:38.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:23:38.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:23:38.043Z] Configure a credential helper to remove this warning. See [2022-10-17T03:23:38.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:23:38.043Z] [2022-10-17T03:23:38.043Z] Login Succeeded [2022-10-17T03:23:38.043Z] nexus3.edgexfoundry.org:10003 [2022-10-17T03:23:38.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:23:38.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:23:38.584Z] Configure a credential helper to remove this warning. See [2022-10-17T03:23:38.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:23:38.584Z] [2022-10-17T03:23:38.584Z] Login Succeeded [2022-10-17T03:23:38.584Z] nexus3.edgexfoundry.org:10004 [2022-10-17T03:23:38.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:23:38.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:23:38.855Z] Configure a credential helper to remove this warning. See [2022-10-17T03:23:38.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:23:38.855Z] [2022-10-17T03:23:38.855Z] Login Succeeded [2022-10-17T03:23:38.855Z] docker.io [2022-10-17T03:23:39.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T03:23:39.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T03:23:39.390Z] Configure a credential helper to remove this warning. See [2022-10-17T03:23:39.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T03:23:39.390Z] [2022-10-17T03:23:39.390Z] Login Succeeded [2022-10-17T03:23:39.390Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T03:23:39.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T03:23:39.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T03:23:39.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T03:23:39.760Z] ========================================================= [2022-10-17T03:23:39.760Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T03:23:39.760Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T03:23:40.249Z] + 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-10-17T03:23:40.840Z] Sending build context to Docker daemon 14.68MB [2022-10-17T03:23:40.840Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T03:23:40.840Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-17T03:23:40.840Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T03:23:40.840Z] 9b18e9b68314: Pulling fs layer [2022-10-17T03:23:40.840Z] d32db5db7311: Pulling fs layer [2022-10-17T03:23:40.840Z] d0c4b47475fc: Pulling fs layer [2022-10-17T03:23:40.840Z] 5831b945b038: Pulling fs layer [2022-10-17T03:23:40.840Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T03:23:40.840Z] e10730c5d714: Pulling fs layer [2022-10-17T03:23:40.840Z] 5dd5c2283517: Pulling fs layer [2022-10-17T03:23:40.840Z] d5ac0230b979: Pulling fs layer [2022-10-17T03:23:40.840Z] 5831b945b038: Waiting [2022-10-17T03:23:40.840Z] 86bbec2aaacd: Waiting [2022-10-17T03:23:40.840Z] e10730c5d714: Waiting [2022-10-17T03:23:40.840Z] d5ac0230b979: Waiting [2022-10-17T03:23:40.840Z] 5dd5c2283517: Waiting [2022-10-17T03:23:40.840Z] d0c4b47475fc: Verifying Checksum [2022-10-17T03:23:40.840Z] d0c4b47475fc: Download complete [2022-10-17T03:23:40.840Z] d32db5db7311: Verifying Checksum [2022-10-17T03:23:40.840Z] d32db5db7311: Download complete [2022-10-17T03:23:41.110Z] 86bbec2aaacd: Verifying Checksum [2022-10-17T03:23:41.110Z] 86bbec2aaacd: Download complete [2022-10-17T03:23:41.110Z] e10730c5d714: Verifying Checksum [2022-10-17T03:23:41.110Z] e10730c5d714: Download complete [2022-10-17T03:23:41.110Z] 9b18e9b68314: Verifying Checksum [2022-10-17T03:23:41.110Z] 9b18e9b68314: Download complete [2022-10-17T03:23:42.105Z] 9b18e9b68314: Pull complete [2022-10-17T03:23:42.105Z] d5ac0230b979: Verifying Checksum [2022-10-17T03:23:42.105Z] d5ac0230b979: Download complete [2022-10-17T03:23:42.377Z] d32db5db7311: Pull complete [2022-10-17T03:23:42.647Z] d0c4b47475fc: Pull complete [2022-10-17T03:23:43.234Z] 5dd5c2283517: Verifying Checksum [2022-10-17T03:23:43.234Z] 5dd5c2283517: Download complete [2022-10-17T03:23:43.833Z] 5831b945b038: Verifying Checksum [2022-10-17T03:23:43.833Z] 5831b945b038: Download complete [2022-10-17T03:23:56.289Z] 5831b945b038: Pull complete [2022-10-17T03:23:56.289Z] 86bbec2aaacd: Pull complete [2022-10-17T03:23:56.289Z] e10730c5d714: Pull complete [2022-10-17T03:24:02.989Z] 5dd5c2283517: Pull complete [2022-10-17T03:24:04.410Z] d5ac0230b979: Pull complete [2022-10-17T03:24:04.410Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T03:24:04.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T03:24:04.410Z] ---> 59b3b1a385d4 [2022-10-17T03:24:04.410Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-17T03:24:06.384Z] ---> Running in c8b4bd889cbf [2022-10-17T03:24:06.384Z] Removing intermediate container c8b4bd889cbf [2022-10-17T03:24:06.384Z] ---> 8e129fa7c205 [2022-10-17T03:24:06.384Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T03:24:06.384Z] ---> Running in 6f28bfdb54f7 [2022-10-17T03:24:06.654Z] Removing intermediate container 6f28bfdb54f7 [2022-10-17T03:24:06.654Z] ---> 5f614350f2ff [2022-10-17T03:24:06.654Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T03:24:06.921Z] ---> Running in 1e0b6eac0480 [2022-10-17T03:24:07.188Z] Removing intermediate container 1e0b6eac0480 [2022-10-17T03:24:07.188Z] ---> 54d80953f7c5 [2022-10-17T03:24:07.188Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T03:24:07.188Z] ---> Running in ec731c6ca1e3 [2022-10-17T03:24:07.455Z] Removing intermediate container ec731c6ca1e3 [2022-10-17T03:24:07.455Z] ---> d54299994f93 [2022-10-17T03:24:07.455Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-17T03:24:07.455Z] ---> Running in 3e7351d192f0 [2022-10-17T03:24:07.726Z] Removing intermediate container 3e7351d192f0 [2022-10-17T03:24:07.726Z] ---> 7ad91b5149d6 [2022-10-17T03:24:07.726Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T03:24:07.992Z] ---> Running in 75caab371551 [2022-10-17T03:24:09.936Z] Removing intermediate container 75caab371551 [2022-10-17T03:24:09.936Z] ---> 19be0ddb808b [2022-10-17T03:24:09.936Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T03:24:09.936Z] ---> Running in 51af92b4f6a9 [2022-10-17T03:24:10.521Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T03:24:11.484Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T03:24:12.448Z] OK: 221 MiB in 51 packages [2022-10-17T03:24:13.414Z] Removing intermediate container 51af92b4f6a9 [2022-10-17T03:24:13.414Z] ---> 2b4cccb6e1b9 [2022-10-17T03:24:13.414Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-17T03:24:13.414Z] ---> Running in e9522efbf7ea [2022-10-17T03:24:13.683Z] Removing intermediate container e9522efbf7ea [2022-10-17T03:24:13.683Z] ---> 963d20bfa96e [2022-10-17T03:24:13.683Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-17T03:24:14.266Z] ---> 7ffa8e5a1e3d [2022-10-17T03:24:14.266Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T03:24:14.266Z] ---> Running in 0a814f63eeef [2022-10-17T03:25:01.147Z] Removing intermediate container 0a814f63eeef [2022-10-17T03:25:01.147Z] ---> 07e9f45ce591 [2022-10-17T03:25:01.147Z] Step 13/14 : COPY . . [2022-10-17T03:25:02.565Z] ---> 5609d8d0a786 [2022-10-17T03:25:02.565Z] Step 14/14 : RUN ${MAKE} [2022-10-17T03:25:02.565Z] ---> Running in 80bd82f1a4d8 [2022-10-17T03:25:03.528Z] noop [2022-10-17T03:25:04.116Z] Removing intermediate container 80bd82f1a4d8 [2022-10-17T03:25:04.116Z] ---> 8deeca9a341b [2022-10-17T03:25:04.384Z] Successfully built 8deeca9a341b [2022-10-17T03:25:04.384Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T03:25:04.876Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T03:25:04.876Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T03:25:05.127Z] prd-ubuntu20.04-docker-arm64-4c-16g-8019 does not seem to be running inside a container [2022-10-17T03:25:05.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-17T03:25:06.348Z] $ docker top 7fe85a8b7fe02c5726d51fdcc5e162f346beadec701c8301bc4992a9c89829bd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T03:25:07.210Z] + go version [2022-10-17T03:25:07.211Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T03:25:07.249Z] $ docker stop --time=1 7fe85a8b7fe02c5726d51fdcc5e162f346beadec701c8301bc4992a9c89829bd [2022-10-17T03:25:08.838Z] $ docker rm -f 7fe85a8b7fe02c5726d51fdcc5e162f346beadec701c8301bc4992a9c89829bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T03:25:09.680Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T03:25:09.680Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T03:25:09.913Z] prd-ubuntu20.04-docker-arm64-4c-16g-8019 does not seem to be running inside a container [2022-10-17T03:25:09.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-17T03:25:11.091Z] $ docker top 4b990f1b3980ee5206eb5fd35f907f5655d41e3af4ed3616398b257c205f58f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T03:25:11.659Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-17T03:25:12.043Z] + make test [2022-10-17T03:25:12.044Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T03:25:13.992Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-17T03:26:50.651Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-17T03:26:50.651Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.176s coverage: 28.2% of statements [2022-10-17T03:26:50.651Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-17T03:27:05.696Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.652s coverage: 86.5% of statements [2022-10-17T03:27:06.276Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T03:27:06.276Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T03:27:32.978Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T03:27:32.978Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T03:27:32.978Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T03:27:33.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T03:27:33.051Z] $ docker stop --time=1 4b990f1b3980ee5206eb5fd35f907f5655d41e3af4ed3616398b257c205f58f1 [2022-10-17T03:27:34.796Z] $ docker rm -f 4b990f1b3980ee5206eb5fd35f907f5655d41e3af4ed3616398b257c205f58f1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T03:27:35.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T03:27:35.891Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T03:27:36.362Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T03:27:36.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T03:27:37.285Z] + ls -al . [2022-10-17T03:27:37.285Z] total 232 [2022-10-17T03:27:37.285Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 03:25 . [2022-10-17T03:27:37.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 03:23 .. [2022-10-17T03:27:37.285Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 03:23 .git [2022-10-17T03:27:37.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 03:23 .github [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 17 03:23 .gitignore [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 03:23 .golangci.yml [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 17 03:23 Attribution.txt [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 17 03:23 CHANGELOG.md [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 17 03:23 Dockerfile [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 03:23 GOVERNANCE.md [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 17 03:23 Jenkinsfile [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 03:23 LICENSE [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 17 03:23 Makefile [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 03:23 OWNERS.md [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 17 03:23 README.md [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 03:21 VERSION [2022-10-17T03:27:37.285Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 03:23 bin [2022-10-17T03:27:37.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 03:23 cmd [2022-10-17T03:27:37.285Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 17 03:27 coverage.out [2022-10-17T03:27:37.285Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 03:23 doc [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 17 03:23 go.mod [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 17 03:23 go.sum [2022-10-17T03:27:37.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 03:23 internal [2022-10-17T03:27:37.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 03:23 snap [2022-10-17T03:27:37.285Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 17 03:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T03:27:37.707Z] + 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=3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 --label arch=arm64 --label version=0.0.0 . [2022-10-17T03:27:38.290Z] Sending build context to Docker daemon 14.75MB [2022-10-17T03:27:38.290Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T03:27:38.290Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-17T03:27:38.290Z] ---> 8deeca9a341b [2022-10-17T03:27:38.290Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-17T03:27:38.559Z] ---> Running in f69cc0bf7cfd [2022-10-17T03:27:38.826Z] Removing intermediate container f69cc0bf7cfd [2022-10-17T03:27:38.826Z] ---> b95722c41c0a [2022-10-17T03:27:38.826Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T03:27:38.826Z] ---> Running in cfdcd5da2bae [2022-10-17T03:27:39.093Z] Removing intermediate container cfdcd5da2bae [2022-10-17T03:27:39.093Z] ---> 3e70b6946d09 [2022-10-17T03:27:39.093Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T03:27:39.360Z] ---> Running in 9bb01d10612d [2022-10-17T03:27:39.627Z] Removing intermediate container 9bb01d10612d [2022-10-17T03:27:39.627Z] ---> 365ce3d38e4d [2022-10-17T03:27:39.627Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T03:27:39.627Z] ---> Running in f5a46ee625e4 [2022-10-17T03:27:39.894Z] Removing intermediate container f5a46ee625e4 [2022-10-17T03:27:39.894Z] ---> 36c1bf8b7eba [2022-10-17T03:27:39.894Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-17T03:27:40.162Z] ---> Running in d5b3c2e2c3a4 [2022-10-17T03:27:40.430Z] Removing intermediate container d5b3c2e2c3a4 [2022-10-17T03:27:40.430Z] ---> b39a0a534d25 [2022-10-17T03:27:40.430Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T03:27:40.430Z] ---> Running in a599c7becf3d [2022-10-17T03:27:43.018Z] Removing intermediate container a599c7becf3d [2022-10-17T03:27:43.018Z] ---> 3312032c12d6 [2022-10-17T03:27:43.018Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T03:27:43.018Z] ---> Running in c26f0c8cd832 [2022-10-17T03:27:44.421Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T03:27:45.378Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T03:27:45.969Z] OK: 221 MiB in 51 packages [2022-10-17T03:27:46.932Z] Removing intermediate container c26f0c8cd832 [2022-10-17T03:27:46.932Z] ---> b6008a5cbe00 [2022-10-17T03:27:46.932Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-17T03:27:46.932Z] ---> Running in e247a5fe01a0 [2022-10-17T03:27:47.518Z] Removing intermediate container e247a5fe01a0 [2022-10-17T03:27:47.518Z] ---> 326f61b346b7 [2022-10-17T03:27:47.518Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-17T03:27:48.688Z] ---> fdf638a86b5d [2022-10-17T03:27:48.688Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T03:27:48.688Z] ---> Running in 1581f4a50f3b [2022-10-17T03:27:51.268Z] Removing intermediate container 1581f4a50f3b [2022-10-17T03:27:51.268Z] ---> 0c2572243035 [2022-10-17T03:27:51.268Z] Step 13/27 : COPY . . [2022-10-17T03:27:52.685Z] ---> 60d001b7a70f [2022-10-17T03:27:52.685Z] Step 14/27 : RUN ${MAKE} [2022-10-17T03:27:52.685Z] ---> Running in 2bec3f27d82d [2022-10-17T03:27:53.644Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-17T03:30:30.382Z] Removing intermediate container 2bec3f27d82d [2022-10-17T03:30:30.382Z] ---> 11d06d4e7bb5 [2022-10-17T03:30:30.382Z] Step 15/27 : FROM alpine:3.16 [2022-10-17T03:30:30.382Z] 3.16: Pulling from library/alpine [2022-10-17T03:30:30.382Z] 9b18e9b68314: Already exists [2022-10-17T03:30:30.382Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T03:30:30.382Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T03:30:30.382Z] ---> a6215f271958 [2022-10-17T03:30:30.382Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-17T03:30:30.382Z] ---> Running in 04426c599475 [2022-10-17T03:30:30.382Z] Removing intermediate container 04426c599475 [2022-10-17T03:30:30.382Z] ---> 4c1a8c5a01a8 [2022-10-17T03:30:30.382Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T03:30:30.382Z] ---> Running in 6f7658edfd5d [2022-10-17T03:30:30.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T03:30:30.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T03:30:30.382Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T03:30:30.382Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T03:30:30.382Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T03:30:30.382Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T03:30:30.382Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T03:30:30.382Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T03:30:30.382Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T03:30:30.382Z] OK: 8 MiB in 20 packages [2022-10-17T03:30:30.382Z] Removing intermediate container 6f7658edfd5d [2022-10-17T03:30:30.382Z] ---> 9084652c3f05 [2022-10-17T03:30:30.382Z] Step 18/27 : WORKDIR / [2022-10-17T03:30:30.382Z] ---> Running in e411cfd2905d [2022-10-17T03:30:30.382Z] Removing intermediate container e411cfd2905d [2022-10-17T03:30:30.382Z] ---> e28f0b5c549b [2022-10-17T03:30:30.382Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-17T03:30:30.382Z] ---> 236a0a26f4f8 [2022-10-17T03:30:30.382Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-17T03:30:30.382Z] ---> 2ada36f4a31c [2022-10-17T03:30:30.382Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-17T03:30:30.382Z] ---> 116cf7993e2c [2022-10-17T03:30:30.382Z] Step 22/27 : EXPOSE 59984 [2022-10-17T03:30:30.382Z] ---> Running in c940dade605a [2022-10-17T03:30:30.382Z] Removing intermediate container c940dade605a [2022-10-17T03:30:30.382Z] ---> b60fb819d4de [2022-10-17T03:30:30.382Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-17T03:30:30.382Z] ---> Running in 14a054bf0aa8 [2022-10-17T03:30:30.382Z] Removing intermediate container 14a054bf0aa8 [2022-10-17T03:30:30.382Z] ---> 69e1d891ad80 [2022-10-17T03:30:30.382Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T03:30:30.382Z] ---> Running in fcdca473d61c [2022-10-17T03:30:30.382Z] Removing intermediate container fcdca473d61c [2022-10-17T03:30:30.382Z] ---> 556239a8917c [2022-10-17T03:30:30.382Z] Step 25/27 : LABEL arch=arm64 [2022-10-17T03:30:30.382Z] ---> Running in 2e2d6d2387cf [2022-10-17T03:30:30.382Z] Removing intermediate container 2e2d6d2387cf [2022-10-17T03:30:30.382Z] ---> 1ec800ce706a [2022-10-17T03:30:30.382Z] Step 26/27 : LABEL git_sha=3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 [2022-10-17T03:30:30.382Z] ---> Running in 71b9ec33565a [2022-10-17T03:30:30.383Z] Removing intermediate container 71b9ec33565a [2022-10-17T03:30:30.383Z] ---> c5ab0840e613 [2022-10-17T03:30:30.383Z] Step 27/27 : LABEL version=0.0.0 [2022-10-17T03:30:30.383Z] ---> Running in 3c4f6a788f63 [2022-10-17T03:30:30.383Z] Removing intermediate container 3c4f6a788f63 [2022-10-17T03:30:30.383Z] ---> 5df8f092917d [2022-10-17T03:30:30.383Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T03:30:30.383Z] Successfully built 5df8f092917d [2022-10-17T03:30:30.383Z] 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-10-17T03:30:31.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T03:30:31.216Z] [2022-10-17T03:30:31.216Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T03:30:31.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T03:30:31.621Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T03:30:31.621Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T03:30:31.621Z] 04944245beec: Pulling fs layer [2022-10-17T03:30:31.621Z] 699f458cf7ca: Pulling fs layer [2022-10-17T03:30:31.621Z] 765212b225bb: Pulling fs layer [2022-10-17T03:30:31.621Z] f23df028b6ca: Pulling fs layer [2022-10-17T03:30:31.621Z] 765212b225bb: Waiting [2022-10-17T03:30:31.621Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T03:30:31.621Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T03:30:31.621Z] 2437ff75d9bd: Waiting [2022-10-17T03:30:31.621Z] d65c8cfc05b1: Waiting [2022-10-17T03:30:31.621Z] f23df028b6ca: Waiting [2022-10-17T03:30:31.889Z] 04944245beec: Verifying Checksum [2022-10-17T03:30:31.889Z] 04944245beec: Download complete [2022-10-17T03:30:31.889Z] 765212b225bb: Verifying Checksum [2022-10-17T03:30:31.889Z] 765212b225bb: Download complete [2022-10-17T03:30:31.889Z] f23df028b6ca: Verifying Checksum [2022-10-17T03:30:31.889Z] f23df028b6ca: Download complete [2022-10-17T03:30:31.889Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T03:30:31.889Z] d65c8cfc05b1: Download complete [2022-10-17T03:30:31.889Z] 699f458cf7ca: Verifying Checksum [2022-10-17T03:30:31.889Z] 699f458cf7ca: Download complete [2022-10-17T03:30:32.473Z] 8998bd30e6a1: Verifying Checksum [2022-10-17T03:30:32.473Z] 8998bd30e6a1: Download complete [2022-10-17T03:30:34.544Z] 2437ff75d9bd: Verifying Checksum [2022-10-17T03:30:34.544Z] 2437ff75d9bd: Download complete [2022-10-17T03:30:36.547Z] 8998bd30e6a1: Pull complete [2022-10-17T03:30:36.821Z] 04944245beec: Pull complete [2022-10-17T03:30:38.224Z] 699f458cf7ca: Pull complete [2022-10-17T03:30:38.224Z] 765212b225bb: Pull complete [2022-10-17T03:30:39.179Z] f23df028b6ca: Pull complete [2022-10-17T03:30:39.179Z] d65c8cfc05b1: Pull complete [2022-10-17T03:30:54.159Z] 2437ff75d9bd: Pull complete [2022-10-17T03:30:54.159Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T03:30:54.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T03:30:54.159Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T03:30:54.466Z] prd-ubuntu20.04-docker-arm64-4c-16g-8019 does not seem to be running inside a container [2022-10-17T03:30:54.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-17T03:30:56.994Z] $ docker top e4d2405793c5ddefd99f1529e1e5499577aa139619573de997d75b555bb42e6c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T03:30:57.568Z] ---> job-cost.sh [2022-10-17T03:30:57.845Z] lf-activate-venv: SKIPPING [2022-10-17T03:30:57.845Z] INFO: No Stack... [2022-10-17T03:30:58.110Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T03:30:59.061Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T03:30:59.403Z] + cut -d, -f6 [2022-10-17T03:30:59.403Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-10-17T03:30:59.475Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-178-1-stack-cost] [2022-10-17T03:30:59.480Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-178-1-stack-cost] did not exist. Created. [2022-10-17T03:30:59.480Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-178-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T03:30:59.883Z] /w/workspace/device-onvif-camera/1@tmp/durable-21fc73e1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T03:31:00.230Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T03:31:00.521Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T03:31:00.578Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T03:31:00.593Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-178-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T03:31:00.683Z] $ docker stop --time=1 e4d2405793c5ddefd99f1529e1e5499577aa139619573de997d75b555bb42e6c [2022-10-17T03:31:02.148Z] $ docker rm -f e4d2405793c5ddefd99f1529e1e5499577aa139619573de997d75b555bb42e6c [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-10-17T03:31:03.099Z] provisioning config files... [2022-10-17T03:31:03.106Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-178@tmp/config15306786732791599370tmp [Pipeline] { [Pipeline] sh [2022-10-17T03:31:03.441Z] + set +x [2022-10-17T03:31:03.441Z] + curl -s https://codecov.io/bash [2022-10-17T03:31:03.441Z] + bash -s -- [2022-10-17T03:31:03.441Z] [2022-10-17T03:31:03.441Z] _____ _ [2022-10-17T03:31:03.441Z] / ____| | | [2022-10-17T03:31:03.441Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T03:31:03.441Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T03:31:03.441Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T03:31:03.441Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T03:31:03.441Z] Bash-1.0.6 [2022-10-17T03:31:03.441Z] [2022-10-17T03:31:03.441Z] [2022-10-17T03:31:03.441Z] ==> git version 2.25.1 found [2022-10-17T03:31:03.441Z] ==> 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-10-17T03:31:03.441Z] Release-Date: 2020-01-08 [2022-10-17T03:31:03.441Z] 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-10-17T03:31:03.441Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T03:31:03.441Z] ==> Jenkins CI detected. [2022-10-17T03:31:03.441Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-178 [2022-10-17T03:31:03.441Z] project root: . [2022-10-17T03:31:03.441Z] --> token set from env [2022-10-17T03:31:03.441Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T03:31:03.441Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T03:31:03.441Z] ==> Python coveragepy not found [2022-10-17T03:31:03.441Z] ==> Searching for coverage reports in: [2022-10-17T03:31:03.441Z] + . [2022-10-17T03:31:03.441Z] -> Found 1 reports [2022-10-17T03:31:03.441Z] ==> Detecting git/mercurial file structure [2022-10-17T03:31:03.700Z] ==> Reading reports [2022-10-17T03:31:03.700Z] + ./coverage.out bytes=78636 [2022-10-17T03:31:03.700Z] ==> Appending adjustments [2022-10-17T03:31:03.700Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T03:31:03.700Z] + Found adjustments [2022-10-17T03:31:03.700Z] ==> Gzipping contents [2022-10-17T03:31:03.700Z] 12K /tmp/codecov.P9SvTg.gz [2022-10-17T03:31:03.700Z] ==> Uploading reports [2022-10-17T03:31:03.700Z] url: https://codecov.io [2022-10-17T03:31:03.700Z] query: branch=PR-178&commit=3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-178%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=178&job=&cmd_args= [2022-10-17T03:31:03.700Z] -> Pinging Codecov [2022-10-17T03:31:03.700Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-178&commit=3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-178%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=178&job=&cmd_args= [2022-10-17T03:31:04.269Z] -> Uploading to [2022-10-17T03:31:04.269Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/F29A59C45E3A92E06B3E522C9905F8EF/3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6/366d14a0-6fd3-4d5f-9d21-481779ff4c5c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T033104Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4012ae9cbc0451e6d9b57722855cd9ac135480c0748fd39c23aba7c5d706e143 [2022-10-17T03:31:04.269Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T03:31:04.269Z] Dload Upload Total Spent Left Speed [2022-10-17T03:31:04.529Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10762 0 0 100 10762 0 44288 --:--:-- --:--:-- --:--:-- 44288 [2022-10-17T03:31:04.529Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3121cf9c6ebc4b1a73edab8a6cad72dc87b65da6 [Pipeline] } [2022-10-17T03:31:04.555Z] 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-10-17T03:31:06.253Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-178/archives ] [2022-10-17T03:31:06.253Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-178/archives [2022-10-17T03:31:06.253Z] total 16 [2022-10-17T03:31:06.253Z] drwxr-xr-x 3 root root 4096 Oct 17 03:23 . [2022-10-17T03:31:06.253Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 03:23 .. [2022-10-17T03:31:06.253Z] drwxr-xr-x 2 root root 4096 Oct 17 03:23 cost [2022-10-17T03:31:06.253Z] -rw-r--r-- 1 root root 91 Oct 17 03:23 cost.csv [2022-10-17T03:31:06.253Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-178/archives [2022-10-17T03:31:06.253Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-178/archives [2022-10-17T03:31:06.253Z] total 16 [2022-10-17T03:31:06.253Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 03:23 . [2022-10-17T03:31:06.253Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 03:23 .. [2022-10-17T03:31:06.253Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 03:23 cost [2022-10-17T03:31:06.253Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 17 03:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T03:31:06.621Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T03:31:07.506Z] ---> package-listing.sh [2022-10-17T03:31:07.506Z] ++ facter osfamily [2022-10-17T03:31:07.506Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T03:31:07.765Z] + OS_FAMILY=debian [2022-10-17T03:31:07.765Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-178 [2022-10-17T03:31:07.765Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T03:31:07.765Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T03:31:07.765Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T03:31:07.765Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T03:31:07.765Z] + '[' /w/workspace/undry_device-onvif-camera_PR-178 ']' [2022-10-17T03:31:07.765Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T03:31:07.765Z] + case "${OS_FAMILY}" in [2022-10-17T03:31:07.765Z] + dpkg -l [2022-10-17T03:31:07.765Z] + grep '^ii' [2022-10-17T03:31:07.765Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T03:31:07.765Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T03:31:07.765Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T03:31:07.765Z] + '[' /w/workspace/undry_device-onvif-camera_PR-178 ']' [2022-10-17T03:31:07.765Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-178/archives/ [2022-10-17T03:31:07.765Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-178/archives/ [Pipeline] echo [2022-10-17T03:31:07.802Z] 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-178/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-17T03:31:08.095Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T03:31:08.725Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T03:31:08.725Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T03:31:08.867Z] prd-ubuntu20.04-docker-8c-8g-8018 does not seem to be running inside a container [2022-10-17T03:31:08.903Z] $ 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-178/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-178 -v /w/workspace/undry_device-onvif-camera_PR-178:/w/workspace/undry_device-onvif-camera_PR-178:rw,z -v /w/workspace/undry_device-onvif-camera_PR-178@tmp:/w/workspace/undry_device-onvif-camera_PR-178@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-17T03:31:09.148Z] $ docker top e5a881bdfb7f48715f103d96f1c35851c70b8992e0d8b56659a9c539c6360e5b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T03:31:09.527Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T03:31:09.834Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T03:31:10.140Z] + ls /var/log/sa-host [2022-10-17T03:31:10.140Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T03:31:10.409Z] provisioning config files... [2022-10-17T03:31:10.419Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-178@tmp/config10334430753538939744tmp [Pipeline] { [Pipeline] echo [2022-10-17T03:31:10.474Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T03:31:10.786Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T03:31:10.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T03:31:11.226Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T03:31:11.260Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T03:31:11.570Z] ---> sudo-logs.sh [2022-10-17T03:31:11.570Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T03:31:11.654Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T03:31:11.968Z] ---> job-cost.sh [2022-10-17T03:31:11.968Z] lf-activate-venv: SKIPPING [2022-10-17T03:31:11.968Z] DEBUG: total: 0.2199999988079071 [2022-10-17T03:31:11.968Z] INFO: Retrieving Stack Cost... [2022-10-17T03:31:12.227Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T03:31:12.797Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T03:31:12.834Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T03:31:13.143Z] ---> logs-deploy.sh [2022-10-17T03:31:13.143Z] lf-activate-venv: SKIPPING [2022-10-17T03:31:13.143Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-178/1 [2022-10-17T03:31:13.143Z] INFO: archiving workspace using pattern(s): [2022-10-17T03:31:14.079Z] Archives upload complete. [2022-10-17T03:31:14.079Z] INFO: archiving logs to Nexus