Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9d0d0adc12b168f4411813955a34df444bee6435+48aac476b513547f736cc1fa92662379694eca8e (d1364a59c960a1d950084e2a4fbe6fe0abc70839) 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-ssh8545554948799920862.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh16959745536191050481.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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14346455894070816036.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15109659109007970087.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1580913165220612077.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 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 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-117024’ Running on prd-ubuntu20.04-docker-8c-8g-117031 in /w/workspace/undry_device-onvif-camera_PR-184 [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-184 # 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/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 9d0d0adc12b168f4411813955a34df444bee6435 Merge succeeded, producing 2d108ea950caf46c1d9cc3e409fd0cc7670d653a Checking out Revision 2d108ea950caf46c1d9cc3e409fd0cc7670d653a (PR-184) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0d0adc12b168f4411813955a34df444bee6435 # 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 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d108ea950caf46c1d9cc3e409fd0cc7670d653a # timeout=10 Commit message: "Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD" > git rev-list --no-walk 9d0d0adc12b168f4411813955a34df444bee6435 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T02:11:12.965Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T02:11:13.003Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T02:11:13.017Z] ========================================================= [2022-10-26T02:11:13.017Z] EdgeX Global Pipelines Version Info [2022-10-26T02:11:13.017Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:11:13.739Z] ------------------- [2022-10-26T02:11:13.739Z] stable info: [2022-10-26T02:11:13.739Z] ------------------- [2022-10-26T02:11:13.739Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T02:11:13.739Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T02:11:13.739Z] Message: update stable to v1.0.243 [2022-10-26T02:11:14.309Z] ------------------- [2022-10-26T02:11:14.309Z] experimental info: [2022-10-26T02:11:14.309Z] ------------------- [2022-10-26T02:11:14.309Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T02:11:14.309Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T02:11:14.309Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T02:11:14.471Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-26T02:11:14.485Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-26T02:11:14.495Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T02:11:14.506Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T02:11:14.517Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T02:11:14.528Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T02:11:14.541Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T02:11:14.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T02:11:14.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T02:11:14.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T02:11:14.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T02:11:14.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-26T02:11:14.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T02:11:14.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T02:11:14.657Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T02:11:14.668Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T02:11:14.678Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T02:11:14.692Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T02:11:14.702Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T02:11:14.713Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T02:11:14.726Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-26T02:11:14.737Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-26T02:11:14.750Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T02:11:14.762Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T02:11:14.773Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T02:11:14.786Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T02:11:14.806Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T02:11:14.824Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo [2022-10-26T02:11:14.839Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo [2022-10-26T02:11:14.849Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo [2022-10-26T02:11:14.861Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d108ea950caf46c1d9cc3e409fd0cc7670d653a [Pipeline] echo [2022-10-26T02:11:14.872Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d108ea [Pipeline] echo [2022-10-26T02:11:14.886Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T02:11:14.933Z] provisioning config files... [2022-10-26T02:11:14.948Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config9040927289804875636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:11:15.249Z] ---> docker-login.sh [2022-10-26T02:11:15.249Z] nexus3.edgexfoundry.org:10001 [2022-10-26T02:11:15.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:15.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:15.508Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:15.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:15.508Z] [2022-10-26T02:11:15.508Z] Login Succeeded [2022-10-26T02:11:15.508Z] nexus3.edgexfoundry.org:10002 [2022-10-26T02:11:15.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:15.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:15.508Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:15.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:15.508Z] [2022-10-26T02:11:15.508Z] Login Succeeded [2022-10-26T02:11:15.508Z] nexus3.edgexfoundry.org:10003 [2022-10-26T02:11:15.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:15.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:15.767Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:15.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:15.767Z] [2022-10-26T02:11:15.767Z] Login Succeeded [2022-10-26T02:11:15.767Z] nexus3.edgexfoundry.org:10004 [2022-10-26T02:11:15.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:15.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:15.767Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:15.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:15.767Z] [2022-10-26T02:11:15.767Z] Login Succeeded [2022-10-26T02:11:15.767Z] docker.io [2022-10-26T02:11:15.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:16.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:16.337Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:16.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:16.337Z] [2022-10-26T02:11:16.337Z] Login Succeeded [2022-10-26T02:11:16.337Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T02:11:16.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T02:11:16.708Z] + git rev-list -1 --merges 2d108ea950caf46c1d9cc3e409fd0cc7670d653a~1..2d108ea950caf46c1d9cc3e409fd0cc7670d653a [Pipeline] echo [2022-10-26T02:11:16.739Z] -----------> git rev-list -1 --merges 2d108ea950caf46c1d9cc3e409fd0cc7670d653a~1..2d108ea950caf46c1d9cc3e409fd0cc7670d653a 2d108ea950caf46c1d9cc3e409fd0cc7670d653a [2022-10-26T02:11:16.739Z] 2d108ea950caf46c1d9cc3e409fd0cc7670d653a [false] [Pipeline] sh [2022-10-26T02:11:17.026Z] + git log --format=format:%s -1 2d108ea950caf46c1d9cc3e409fd0cc7670d653a [Pipeline] echo [2022-10-26T02:11:17.042Z] ========================================================= [2022-10-26T02:11:17.042Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T02:11:17.042Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T02:11:17.379Z] + git log --format=format:%s -1 2d108ea950caf46c1d9cc3e409fd0cc7670d653a [Pipeline] echo [2022-10-26T02:11:17.390Z] [semverPrep] GIT_COMMIT: 2d108ea950caf46c1d9cc3e409fd0cc7670d653a, Commit Message: Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD [Pipeline] echo [2022-10-26T02:11:17.399Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T02:11:17.747Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T02:11:17.747Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T02:11:17.747Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T02:11:17.747Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T02:11:17.747Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T02:11:17.747Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T02:11:17.747Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:11:18.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T02:11:18.082Z] [2022-10-26T02:11:18.082Z] 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-26T02:11:18.423Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T02:11:18.423Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T02:11:18.423Z] b85a868b505f: Pulling fs layer [2022-10-26T02:11:18.423Z] e2be974225ed: Pulling fs layer [2022-10-26T02:11:18.423Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T02:11:18.423Z] 988bab9f4d93: Pulling fs layer [2022-10-26T02:11:18.423Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T02:11:18.423Z] eaf3925da568: Pulling fs layer [2022-10-26T02:11:18.423Z] bab4dde63d76: Pulling fs layer [2022-10-26T02:11:18.423Z] bde34c3a00c8: Pulling fs layer [2022-10-26T02:11:18.423Z] b352a97aabf1: Pulling fs layer [2022-10-26T02:11:18.423Z] 4872d77fe225: Pulling fs layer [2022-10-26T02:11:18.423Z] 5851b861e8e6: Pulling fs layer [2022-10-26T02:11:18.423Z] 988bab9f4d93: Waiting [2022-10-26T02:11:18.423Z] 1469e6f7b9e6: Waiting [2022-10-26T02:11:18.423Z] eaf3925da568: Waiting [2022-10-26T02:11:18.423Z] bab4dde63d76: Waiting [2022-10-26T02:11:18.423Z] bde34c3a00c8: Waiting [2022-10-26T02:11:18.423Z] b352a97aabf1: Waiting [2022-10-26T02:11:18.423Z] 4872d77fe225: Waiting [2022-10-26T02:11:18.423Z] 5851b861e8e6: Waiting [2022-10-26T02:11:18.423Z] e2be974225ed: Verifying Checksum [2022-10-26T02:11:18.423Z] e2be974225ed: Download complete [2022-10-26T02:11:18.423Z] 988bab9f4d93: Verifying Checksum [2022-10-26T02:11:18.423Z] 988bab9f4d93: Download complete [2022-10-26T02:11:18.423Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T02:11:18.423Z] 1469e6f7b9e6: Download complete [2022-10-26T02:11:18.423Z] eaf3925da568: Verifying Checksum [2022-10-26T02:11:18.423Z] eaf3925da568: Download complete [2022-10-26T02:11:18.684Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T02:11:18.684Z] 339a4e72a1f5: Download complete [2022-10-26T02:11:18.684Z] bde34c3a00c8: Download complete [2022-10-26T02:11:18.684Z] b352a97aabf1: Verifying Checksum [2022-10-26T02:11:18.684Z] b352a97aabf1: Download complete [2022-10-26T02:11:18.684Z] 4872d77fe225: Verifying Checksum [2022-10-26T02:11:18.684Z] 4872d77fe225: Download complete [2022-10-26T02:11:18.684Z] 5851b861e8e6: Verifying Checksum [2022-10-26T02:11:18.684Z] 5851b861e8e6: Download complete [2022-10-26T02:11:18.684Z] b85a868b505f: Verifying Checksum [2022-10-26T02:11:18.684Z] b85a868b505f: Download complete [2022-10-26T02:11:18.945Z] bab4dde63d76: Verifying Checksum [2022-10-26T02:11:18.945Z] bab4dde63d76: Download complete [2022-10-26T02:11:19.879Z] b85a868b505f: Pull complete [2022-10-26T02:11:20.137Z] e2be974225ed: Pull complete [2022-10-26T02:11:20.396Z] 339a4e72a1f5: Pull complete [2022-10-26T02:11:20.655Z] 988bab9f4d93: Pull complete [2022-10-26T02:11:20.916Z] 1469e6f7b9e6: Pull complete [2022-10-26T02:11:20.916Z] eaf3925da568: Pull complete [2022-10-26T02:11:22.834Z] bab4dde63d76: Pull complete [2022-10-26T02:11:22.834Z] bde34c3a00c8: Pull complete [2022-10-26T02:11:22.834Z] b352a97aabf1: Pull complete [2022-10-26T02:11:22.834Z] 4872d77fe225: Pull complete [2022-10-26T02:11:22.834Z] 5851b861e8e6: Pull complete [2022-10-26T02:11:22.834Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T02:11:22.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T02:11:22.834Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:11:22.934Z] prd-ubuntu20.04-docker-8c-8g-117031 does not seem to be running inside a container [2022-10-26T02:11:22.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T02:11:25.262Z] $ docker top 31da8aea519b31bd140178c0d2de2e23ad57938fedd6091654a7f3afd29e206a -eo pid,comm [2022-10-26T02:11:25.318Z] 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-26T02:11:25.318Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T02:11:25.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T02:11:25.353Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T02:11:25.466Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T02:11:25.470Z] $ docker exec 31da8aea519b31bd140178c0d2de2e23ad57938fedd6091654a7f3afd29e206a ssh-agent [2022-10-26T02:11:25.563Z] SSH_AUTH_SOCK=/tmp/ssh-cb1FEeWR1XEf/agent.32 [2022-10-26T02:11:25.563Z] SSH_AGENT_PID=38 [2022-10-26T02:11:25.568Z] Running ssh-add (command line suppressed) [2022-10-26T02:11:25.688Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_14867829014579714918.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_14867829014579714918.key) [2022-10-26T02:11:25.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T02:11:25.985Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T02:11:26.002Z] $ docker exec --env ******** --env ******** 31da8aea519b31bd140178c0d2de2e23ad57938fedd6091654a7f3afd29e206a ssh-agent -k [2022-10-26T02:11:26.104Z] unset SSH_AUTH_SOCK; [2022-10-26T02:11:26.104Z] unset SSH_AGENT_PID; [2022-10-26T02:11:26.105Z] echo Agent pid 38 killed; [2022-10-26T02:11:26.114Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T02:11:26.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T02:11:26.136Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T02:11:26.251Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T02:11:26.255Z] $ docker exec 31da8aea519b31bd140178c0d2de2e23ad57938fedd6091654a7f3afd29e206a ssh-agent [2022-10-26T02:11:26.376Z] SSH_AUTH_SOCK=/tmp/ssh-r7Z08EWDxQw0/agent.70 [2022-10-26T02:11:26.376Z] SSH_AGENT_PID=76 [2022-10-26T02:11:26.380Z] Running ssh-add (command line suppressed) [2022-10-26T02:11:26.481Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_14020924811098232978.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_14020924811098232978.key) [2022-10-26T02:11:26.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T02:11:26.779Z] + git semver init [2022-10-26T02:11:27.037Z] 2022-10-26 02:11:26,963 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T02:11:27.037Z] 2022-10-26 02:11:26,964 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-184/.semver [2022-10-26T02:11:27.037Z] 2022-10-26 02:11:26,965 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-184/.semver [2022-10-26T02:11:27.037Z] 2022-10-26 02:11:26,965 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-184/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-184, universal_newlines=False, shell=None, istream=None) [2022-10-26T02:11:28.414Z] 2022-10-26 02:11:27,994 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-184/.git/info/exclude [2022-10-26T02:11:28.414Z] 2022-10-26 02:11:27,995 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 with force:False [2022-10-26T02:11:28.414Z] 2022-10-26 02:11:27,995 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 [2022-10-26T02:11:28.414Z] 2022-10-26 02:11:27,999 [execute] INFO git cat-file --batch-check [2022-10-26T02:11:28.414Z] 2022-10-26 02:11:27,999 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T02:11:28.414Z] 2022-10-26 02:11:28,007 [execute] INFO git cat-file --batch [2022-10-26T02:11:28.414Z] 2022-10-26 02:11:28,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T02:11:28.414Z] 2022-10-26 02:11:28,014 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 [2022-10-26T02:11:28.414Z] 0.0.0 [Pipeline] } [2022-10-26T02:11:28.425Z] $ docker exec --env ******** --env ******** 31da8aea519b31bd140178c0d2de2e23ad57938fedd6091654a7f3afd29e206a ssh-agent -k [2022-10-26T02:11:28.544Z] unset SSH_AUTH_SOCK; [2022-10-26T02:11:28.545Z] unset SSH_AGENT_PID; [2022-10-26T02:11:28.545Z] echo Agent pid 76 killed; [2022-10-26T02:11:28.552Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T02:11:28.853Z] + git semver [Pipeline] } [2022-10-26T02:11:29.128Z] $ docker stop --time=1 31da8aea519b31bd140178c0d2de2e23ad57938fedd6091654a7f3afd29e206a [2022-10-26T02:11:30.422Z] $ docker rm -f 31da8aea519b31bd140178c0d2de2e23ad57938fedd6091654a7f3afd29e206a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T02:11:30.764Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T02:11:30.935Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T02:11:30.937Z] [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-26T02:11:31.074Z] provisioning config files... [2022-10-26T02:11:31.083Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config9873978110218761249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:11:31.376Z] ---> docker-login.sh [2022-10-26T02:11:31.376Z] nexus3.edgexfoundry.org:10001 [2022-10-26T02:11:31.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:31.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:31.376Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:31.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:31.376Z] [2022-10-26T02:11:31.376Z] Login Succeeded [2022-10-26T02:11:31.376Z] nexus3.edgexfoundry.org:10002 [2022-10-26T02:11:31.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:31.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:31.376Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:31.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:31.376Z] [2022-10-26T02:11:31.376Z] Login Succeeded [2022-10-26T02:11:31.376Z] nexus3.edgexfoundry.org:10003 [2022-10-26T02:11:31.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:31.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:31.635Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:31.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:31.635Z] [2022-10-26T02:11:31.635Z] Login Succeeded [2022-10-26T02:11:31.635Z] nexus3.edgexfoundry.org:10004 [2022-10-26T02:11:31.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:31.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:31.635Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:31.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:31.635Z] [2022-10-26T02:11:31.635Z] Login Succeeded [2022-10-26T02:11:31.635Z] docker.io [2022-10-26T02:11:31.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:32.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:32.157Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:32.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:32.157Z] [2022-10-26T02:11:32.157Z] Login Succeeded [2022-10-26T02:11:32.157Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T02:11:32.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T02:11:32.222Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T02:11:32.234Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T02:11:32.247Z] ========================================================= [2022-10-26T02:11:32.247Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T02:11:32.247Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:11:32.563Z] + 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-26T02:11:32.563Z] Sending build context to Docker daemon 21.45MB [2022-10-26T02:11:32.563Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T02:11:32.563Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-26T02:11:32.823Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T02:11:32.823Z] 213ec9aee27d: Pulling fs layer [2022-10-26T02:11:32.823Z] 4583459ba037: Pulling fs layer [2022-10-26T02:11:32.823Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T02:11:32.823Z] 53926ce57604: Pulling fs layer [2022-10-26T02:11:32.823Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T02:11:32.823Z] 30f14e443154: Pulling fs layer [2022-10-26T02:11:32.823Z] 801331c1e519: Pulling fs layer [2022-10-26T02:11:32.823Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T02:11:32.823Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T02:11:32.823Z] 30f14e443154: Waiting [2022-10-26T02:11:32.823Z] 801331c1e519: Waiting [2022-10-26T02:11:32.823Z] 21b2b0c7a3f4: Waiting [2022-10-26T02:11:32.823Z] 53926ce57604: Waiting [2022-10-26T02:11:32.823Z] 99cc6dd402b0: Waiting [2022-10-26T02:11:32.823Z] 7d9ed39f4882: Waiting [2022-10-26T02:11:32.823Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T02:11:32.823Z] 93c1e223e6f2: Download complete [2022-10-26T02:11:32.823Z] 4583459ba037: Download complete [2022-10-26T02:11:32.823Z] 21b2b0c7a3f4: Download complete [2022-10-26T02:11:32.823Z] 30f14e443154: Verifying Checksum [2022-10-26T02:11:32.823Z] 30f14e443154: Download complete [2022-10-26T02:11:32.823Z] 213ec9aee27d: Verifying Checksum [2022-10-26T02:11:32.823Z] 801331c1e519: Verifying Checksum [2022-10-26T02:11:32.823Z] 801331c1e519: Download complete [2022-10-26T02:11:32.823Z] 213ec9aee27d: Pull complete [2022-10-26T02:11:33.082Z] 4583459ba037: Pull complete [2022-10-26T02:11:33.082Z] 93c1e223e6f2: Pull complete [2022-10-26T02:11:34.025Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T02:11:34.025Z] 7d9ed39f4882: Download complete [2022-10-26T02:11:34.025Z] 53926ce57604: Verifying Checksum [2022-10-26T02:11:34.025Z] 53926ce57604: Download complete [2022-10-26T02:11:34.025Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T02:11:34.025Z] 99cc6dd402b0: Download complete [2022-10-26T02:11:38.210Z] 53926ce57604: Pull complete [2022-10-26T02:11:38.210Z] 21b2b0c7a3f4: Pull complete [2022-10-26T02:11:38.210Z] 30f14e443154: Pull complete [2022-10-26T02:11:38.210Z] 801331c1e519: Pull complete [2022-10-26T02:11:40.110Z] 99cc6dd402b0: Pull complete [2022-10-26T02:11:40.677Z] 7d9ed39f4882: Pull complete [2022-10-26T02:11:40.677Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T02:11:40.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T02:11:40.677Z] ---> 1dedd983c030 [2022-10-26T02:11:40.677Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-26T02:11:43.219Z] ---> Running in 6a8475e8dfc2 [2022-10-26T02:11:43.219Z] Removing intermediate container 6a8475e8dfc2 [2022-10-26T02:11:43.219Z] ---> 58feb58a5252 [2022-10-26T02:11:43.219Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T02:11:43.219Z] ---> Running in efb0a27b064f [2022-10-26T02:11:43.219Z] Removing intermediate container efb0a27b064f [2022-10-26T02:11:43.219Z] ---> e923da7d86ee [2022-10-26T02:11:43.219Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T02:11:43.219Z] ---> Running in a23a516cb981 [2022-10-26T02:11:43.219Z] Removing intermediate container a23a516cb981 [2022-10-26T02:11:43.219Z] ---> eb2d6165b877 [2022-10-26T02:11:43.219Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T02:11:43.479Z] ---> Running in f023ea67348b [2022-10-26T02:11:43.479Z] Removing intermediate container f023ea67348b [2022-10-26T02:11:43.479Z] ---> 7e6f0abf0b81 [2022-10-26T02:11:43.479Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-26T02:11:43.479Z] ---> Running in 95292b590bf7 [2022-10-26T02:11:43.479Z] Removing intermediate container 95292b590bf7 [2022-10-26T02:11:43.479Z] ---> bc81300dbfea [2022-10-26T02:11:43.479Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T02:11:43.479Z] ---> Running in 60bbe7872d65 [2022-10-26T02:11:44.049Z] Removing intermediate container 60bbe7872d65 [2022-10-26T02:11:44.049Z] ---> 3481ccebc831 [2022-10-26T02:11:44.049Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T02:11:44.049Z] ---> Running in 00e8db37972d [2022-10-26T02:11:44.307Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T02:11:44.875Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T02:11:45.443Z] OK: 211 MiB in 51 packages [2022-10-26T02:11:45.702Z] Removing intermediate container 00e8db37972d [2022-10-26T02:11:45.702Z] ---> 5d76e93b3253 [2022-10-26T02:11:45.702Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-26T02:11:45.702Z] ---> Running in 564a281e7540 [2022-10-26T02:11:45.964Z] Removing intermediate container 564a281e7540 [2022-10-26T02:11:45.964Z] ---> d88ea25292fa [2022-10-26T02:11:45.964Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-26T02:11:45.964Z] ---> 1f3bfba7d8d0 [2022-10-26T02:11:45.964Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T02:11:45.964Z] ---> Running in c69a57805563 [2022-10-26T02:11:46.035Z] Still waiting to schedule task [2022-10-26T02:11:46.035Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117028’ [2022-10-26T02:12:04.053Z] Removing intermediate container c69a57805563 [2022-10-26T02:12:04.053Z] ---> efa729a84eb0 [2022-10-26T02:12:04.053Z] Step 13/14 : COPY . . [2022-10-26T02:12:04.053Z] ---> 496a9d72a874 [2022-10-26T02:12:04.053Z] Step 14/14 : RUN ${MAKE} [2022-10-26T02:12:04.053Z] ---> Running in 6bcc5a3bbed9 [2022-10-26T02:12:04.053Z] noop [2022-10-26T02:12:04.053Z] Removing intermediate container 6bcc5a3bbed9 [2022-10-26T02:12:04.053Z] ---> df4b84a272b6 [2022-10-26T02:12:04.053Z] Successfully built df4b84a272b6 [2022-10-26T02:12:04.053Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:12:04.353Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T02:12:04.353Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:12:04.413Z] prd-ubuntu20.04-docker-8c-8g-117031 does not seem to be running inside a container [2022-10-26T02:12:04.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T02:12:04.787Z] $ docker top 2bd6a0069328cdf1e3814386b537f826620301081f80f24454c558828a08d153 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:12:05.115Z] + go version [2022-10-26T02:12:05.115Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T02:12:05.128Z] $ docker stop --time=1 2bd6a0069328cdf1e3814386b537f826620301081f80f24454c558828a08d153 [2022-10-26T02:12:06.392Z] $ docker rm -f 2bd6a0069328cdf1e3814386b537f826620301081f80f24454c558828a08d153 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:12:06.774Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T02:12:06.774Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:12:06.833Z] prd-ubuntu20.04-docker-8c-8g-117031 does not seem to be running inside a container [2022-10-26T02:12:06.873Z] $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T02:12:07.185Z] $ docker top a06e97d5cfe5b591fc4594cbddca732417e0ff3bb3a77b600215c4d469b4ac9e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:12:07.524Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] fileExists [Pipeline] sh [2022-10-26T02:12:07.820Z] + make test [2022-10-26T02:12:07.820Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T02:12:08.387Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T02:12:18.368Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T02:12:19.742Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements [2022-10-26T02:12:19.742Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T02:12:19.742Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.565s coverage: 86.5% of statements [2022-10-26T02:12:27.843Z] 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-26T02:12:27.843Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T02:12:31.120Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T02:12:31.120Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T02:12:31.120Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T02:12:31.132Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T02:12:31.145Z] $ docker stop --time=1 a06e97d5cfe5b591fc4594cbddca732417e0ff3bb3a77b600215c4d469b4ac9e [2022-10-26T02:12:33.317Z] $ docker rm -f a06e97d5cfe5b591fc4594cbddca732417e0ff3bb3a77b600215c4d469b4ac9e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T02:12:33.769Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T02:12:33.828Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T02:12:34.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T02:12:34.566Z] + ls -al . [2022-10-26T02:12:34.566Z] total 244 [2022-10-26T02:12:34.566Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 02:12 . [2022-10-26T02:12:34.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:11 .. [2022-10-26T02:12:34.566Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 02:12 .git [2022-10-26T02:12:34.566Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 02:11 .github [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 02:11 .gitignore [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 02:11 .golangci.yml [2022-10-26T02:12:34.566Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 02:11 .semver [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 02:11 Attribution.txt [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 02:11 CHANGELOG.md [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 26 02:11 Dockerfile [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 02:11 GOVERNANCE.md [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 02:11 Jenkinsfile [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 02:11 LICENSE [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 02:11 Makefile [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 02:11 OWNERS.md [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 02:11 README.md [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 02:11 VERSION [2022-10-26T02:12:34.566Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 02:11 bin [2022-10-26T02:12:34.566Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 02:11 cmd [2022-10-26T02:12:34.566Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 02:12 coverage.out [2022-10-26T02:12:34.566Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 02:11 doc [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 26 02:11 go.mod [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 46378 Oct 26 02:11 go.sum [2022-10-26T02:12:34.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:11 internal [2022-10-26T02:12:34.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:11 snap [2022-10-26T02:12:34.566Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:12:34.872Z] + 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=2d108ea950caf46c1d9cc3e409fd0cc7670d653a --label arch=amd64 --label version=0.0.0 . [2022-10-26T02:12:34.872Z] Sending build context to Docker daemon 21.53MB [2022-10-26T02:12:34.872Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T02:12:34.872Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-26T02:12:34.872Z] ---> df4b84a272b6 [2022-10-26T02:12:34.872Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-26T02:12:35.131Z] ---> Running in 49ad8adc32d1 [2022-10-26T02:12:35.131Z] Removing intermediate container 49ad8adc32d1 [2022-10-26T02:12:35.131Z] ---> 37ca81190e01 [2022-10-26T02:12:35.131Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T02:12:35.131Z] ---> Running in 8a6a6105c15c [2022-10-26T02:12:35.131Z] Removing intermediate container 8a6a6105c15c [2022-10-26T02:12:35.131Z] ---> 68782d98e352 [2022-10-26T02:12:35.131Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T02:12:35.390Z] ---> Running in 0a71dffdd4c3 [2022-10-26T02:12:35.390Z] Removing intermediate container 0a71dffdd4c3 [2022-10-26T02:12:35.390Z] ---> fbc53788fa31 [2022-10-26T02:12:35.390Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T02:12:35.390Z] ---> Running in 15539982ed22 [2022-10-26T02:12:35.390Z] Removing intermediate container 15539982ed22 [2022-10-26T02:12:35.390Z] ---> 198ad8702ef0 [2022-10-26T02:12:35.390Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-26T02:12:35.390Z] ---> Running in adcb47df4007 [2022-10-26T02:12:35.649Z] Removing intermediate container adcb47df4007 [2022-10-26T02:12:35.649Z] ---> b79cfc38383b [2022-10-26T02:12:35.649Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T02:12:35.649Z] ---> Running in 3b8150792acc [2022-10-26T02:12:36.216Z] Removing intermediate container 3b8150792acc [2022-10-26T02:12:36.216Z] ---> fe85c527ed80 [2022-10-26T02:12:36.216Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T02:12:36.216Z] ---> Running in 3d7a973acf63 [2022-10-26T02:12:36.474Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T02:12:36.734Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T02:12:37.671Z] OK: 211 MiB in 51 packages [2022-10-26T02:12:37.671Z] Removing intermediate container 3d7a973acf63 [2022-10-26T02:12:37.671Z] ---> c18c2977bfed [2022-10-26T02:12:37.671Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-26T02:12:37.671Z] ---> Running in 2a7c7b974ea6 [2022-10-26T02:12:37.931Z] Removing intermediate container 2a7c7b974ea6 [2022-10-26T02:12:37.931Z] ---> 5840ab695f06 [2022-10-26T02:12:37.931Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-26T02:12:37.931Z] ---> d658daf1f909 [2022-10-26T02:12:37.931Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T02:12:37.931Z] ---> Running in 85af82d3fbe0 [2022-10-26T02:12:38.866Z] Removing intermediate container 85af82d3fbe0 [2022-10-26T02:12:38.866Z] ---> 8d4a394a5af1 [2022-10-26T02:12:38.866Z] Step 13/27 : COPY . . [2022-10-26T02:12:39.435Z] ---> d0fe6bbdd9a4 [2022-10-26T02:12:39.435Z] Step 14/27 : RUN ${MAKE} [2022-10-26T02:12:39.435Z] ---> Running in d32c0ada74da [2022-10-26T02:12:39.693Z] 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-26T02:13:06.304Z] Removing intermediate container d32c0ada74da [2022-10-26T02:13:06.304Z] ---> 22a4a01c28ec [2022-10-26T02:13:06.304Z] Step 15/27 : FROM alpine:3.16 [2022-10-26T02:13:06.304Z] 3.16: Pulling from library/alpine [2022-10-26T02:13:06.304Z] 213ec9aee27d: Already exists [2022-10-26T02:13:06.304Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T02:13:06.304Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T02:13:06.304Z] ---> 9c6f07244728 [2022-10-26T02:13:06.304Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T02:13:06.305Z] ---> Running in f79705642836 [2022-10-26T02:13:06.305Z] Removing intermediate container f79705642836 [2022-10-26T02:13:06.305Z] ---> 259d633342d9 [2022-10-26T02:13:06.305Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T02:13:06.305Z] ---> Running in aa5799a3da03 [2022-10-26T02:13:06.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T02:13:06.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T02:13:06.305Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T02:13:06.305Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T02:13:06.305Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T02:13:06.305Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T02:13:06.305Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T02:13:06.305Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T02:13:06.305Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T02:13:06.305Z] OK: 8 MiB in 20 packages [2022-10-26T02:13:06.305Z] Removing intermediate container aa5799a3da03 [2022-10-26T02:13:06.305Z] ---> a7f2d1851e71 [2022-10-26T02:13:06.305Z] Step 18/27 : WORKDIR / [2022-10-26T02:13:06.305Z] ---> Running in b367b3d0fbe9 [2022-10-26T02:13:06.305Z] Removing intermediate container b367b3d0fbe9 [2022-10-26T02:13:06.305Z] ---> 7500db2ac034 [2022-10-26T02:13:06.305Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T02:13:06.305Z] ---> 9c7d51c377b8 [2022-10-26T02:13:06.305Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T02:13:06.305Z] ---> f3d9b36212e9 [2022-10-26T02:13:06.305Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T02:13:06.305Z] ---> d0835b443cac [2022-10-26T02:13:06.305Z] Step 22/27 : EXPOSE 59984 [2022-10-26T02:13:06.305Z] ---> Running in 5bddfc8de275 [2022-10-26T02:13:06.305Z] Removing intermediate container 5bddfc8de275 [2022-10-26T02:13:06.305Z] ---> 05d2b34f4c0d [2022-10-26T02:13:06.305Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T02:13:06.305Z] ---> Running in 7f9bbc14c7f4 [2022-10-26T02:13:06.305Z] Removing intermediate container 7f9bbc14c7f4 [2022-10-26T02:13:06.305Z] ---> 69b408b09811 [2022-10-26T02:13:06.305Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T02:13:06.305Z] ---> Running in 71dcaba1cf4d [2022-10-26T02:13:06.305Z] Removing intermediate container 71dcaba1cf4d [2022-10-26T02:13:06.305Z] ---> 5d6d00698c56 [2022-10-26T02:13:06.305Z] Step 25/27 : LABEL arch=amd64 [2022-10-26T02:13:06.305Z] ---> Running in 729929710a29 [2022-10-26T02:13:06.305Z] Removing intermediate container 729929710a29 [2022-10-26T02:13:06.305Z] ---> e3954908beb8 [2022-10-26T02:13:06.305Z] Step 26/27 : LABEL git_sha=2d108ea950caf46c1d9cc3e409fd0cc7670d653a [2022-10-26T02:13:06.305Z] ---> Running in 5f53c175809b [2022-10-26T02:13:06.305Z] Removing intermediate container 5f53c175809b [2022-10-26T02:13:06.305Z] ---> 33766c8f372b [2022-10-26T02:13:06.305Z] Step 27/27 : LABEL version=0.0.0 [2022-10-26T02:13:06.305Z] ---> Running in 6b0a0eb2b0da [2022-10-26T02:13:06.565Z] Removing intermediate container 6b0a0eb2b0da [2022-10-26T02:13:06.565Z] ---> 699624d4175c [2022-10-26T02:13:06.565Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T02:13:06.565Z] Successfully built 699624d4175c [2022-10-26T02:13:06.565Z] 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-26T02:13:06.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T02:13:06.985Z] [2022-10-26T02:13:06.985Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:13:07.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T02:13:07.282Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T02:13:07.282Z] 5eb5b503b376: Pulling fs layer [2022-10-26T02:13:07.282Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T02:13:07.282Z] ec43610c2a17: Pulling fs layer [2022-10-26T02:13:07.282Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T02:13:07.282Z] 33b1e0a273af: Pulling fs layer [2022-10-26T02:13:07.282Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T02:13:07.282Z] 2f39f015ded8: Pulling fs layer [2022-10-26T02:13:07.282Z] 3a2ae6a8a46f: Waiting [2022-10-26T02:13:07.282Z] 33b1e0a273af: Waiting [2022-10-26T02:13:07.282Z] 5d3b04190fa2: Waiting [2022-10-26T02:13:07.282Z] 2f39f015ded8: Waiting [2022-10-26T02:13:07.282Z] 5c69ac0246d0: Download complete [2022-10-26T02:13:07.282Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T02:13:07.282Z] 3a2ae6a8a46f: Download complete [2022-10-26T02:13:07.540Z] 33b1e0a273af: Verifying Checksum [2022-10-26T02:13:07.540Z] 33b1e0a273af: Download complete [2022-10-26T02:13:07.540Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T02:13:07.540Z] 5d3b04190fa2: Download complete [2022-10-26T02:13:07.540Z] ec43610c2a17: Verifying Checksum [2022-10-26T02:13:07.540Z] ec43610c2a17: Download complete [2022-10-26T02:13:07.540Z] 5eb5b503b376: Verifying Checksum [2022-10-26T02:13:07.540Z] 5eb5b503b376: Download complete [2022-10-26T02:13:08.106Z] 2f39f015ded8: Download complete [2022-10-26T02:13:08.676Z] 5eb5b503b376: Pull complete [2022-10-26T02:13:09.620Z] 5c69ac0246d0: Pull complete [2022-10-26T02:13:10.197Z] ec43610c2a17: Pull complete [2022-10-26T02:13:10.764Z] 3a2ae6a8a46f: Pull complete [2022-10-26T02:13:11.331Z] 33b1e0a273af: Pull complete [2022-10-26T02:13:11.590Z] 5d3b04190fa2: Pull complete [2022-10-26T02:13:15.780Z] 2f39f015ded8: Pull complete [2022-10-26T02:13:15.781Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T02:13:15.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T02:13:15.781Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:13:15.855Z] prd-ubuntu20.04-docker-8c-8g-117031 does not seem to be running inside a container [2022-10-26T02:13:15.882Z] $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T02:13:21.762Z] $ docker top 6029f66a57cd2126cbe501c8e03814c1b266e7134056f45ac510d2b9764211cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:13:22.123Z] ---> job-cost.sh [2022-10-26T02:13:22.123Z] lf-activate-venv: SKIPPING [2022-10-26T02:13:22.123Z] INFO: No Stack... [2022-10-26T02:13:22.385Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T02:13:22.642Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T02:13:22.937Z] + cut -d, -f6 [2022-10-26T02:13:22.937Z] + cat /w/workspace/undry_device-onvif-camera_PR-184/archives/cost.csv [Pipeline] lock [2022-10-26T02:13:22.950Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-3-stack-cost] [2022-10-26T02:13:22.959Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-3-stack-cost] did not exist. Created. [2022-10-26T02:13:22.959Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T02:13:23.280Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T02:13:23.311Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T02:13:23.317Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T02:13:23.334Z] $ docker stop --time=1 6029f66a57cd2126cbe501c8e03814c1b266e7134056f45ac510d2b9764211cc [2022-10-26T02:13:24.482Z] $ docker rm -f 6029f66a57cd2126cbe501c8e03814c1b266e7134056f45ac510d2b9764211cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T02:14:45.521Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117035 in /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] { [Pipeline] ws [2022-10-26T02:14:45.541Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-10-26T02:14:45.584Z] The recommended git tool is: git [2022-10-26T02:14:51.392Z] using credential edgex-jenkins-ssh [2022-10-26T02:14:51.413Z] Cloning the remote Git repository [2022-10-26T02:14:51.470Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T02:14:51.560Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-10-26T02:14:51.729Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T02:14:51.730Z] > git --version # timeout=10 [2022-10-26T02:14:51.764Z] > git --version # 'git version 2.25.1' [2022-10-26T02:14:51.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T02:14:51.827Z] Verifying host key using known hosts file [2022-10-26T02:14:52.097Z] 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-26T02:14:52.111Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T02:14:53.881Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-26T02:14:53.903Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T02:14:55.473Z] Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 9d0d0adc12b168f4411813955a34df444bee6435 [2022-10-26T02:14:54.850Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-26T02:14:54.892Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T02:14:54.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T02:14:54.899Z] Verifying host key using known hosts file [2022-10-26T02:14:54.907Z] 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-26T02:14:54.919Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T02:14:55.494Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T02:14:55.510Z] > git checkout -f 9d0d0adc12b168f4411813955a34df444bee6435 # timeout=10 [2022-10-26T02:14:55.750Z] > git remote # timeout=10 [2022-10-26T02:14:56.138Z] Merge succeeded, producing ecc963a8a4ec9899c2103eecae8246b9999f68e7 [2022-10-26T02:14:56.139Z] Checking out Revision ecc963a8a4ec9899c2103eecae8246b9999f68e7 (PR-184) [2022-10-26T02:14:55.767Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T02:14:55.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T02:14:55.793Z] Verifying host key using known hosts file [2022-10-26T02:14:55.797Z] 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-26T02:14:55.807Z] > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 [2022-10-26T02:14:56.120Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T02:14:56.147Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T02:14:56.169Z] > git checkout -f ecc963a8a4ec9899c2103eecae8246b9999f68e7 # timeout=10 [2022-10-26T02:14:59.681Z] Commit message: "Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD" [2022-10-26T02:14:59.691Z] > git rev-list --no-walk 9d0d0adc12b168f4411813955a34df444bee6435 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T02:15:00.708Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T02:15:00.708Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T02:15:00.708Z] Dload Upload Total Spent Left Speed [2022-10-26T02:15:00.708Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2022-10-26T02:15:01.541Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T02:15:01.902Z] + sudo tee /etc/docker/daemon.new [2022-10-26T02:15:01.902Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T02:15:01.902Z] { [2022-10-26T02:15:01.902Z] "registry-mirrors": [ [2022-10-26T02:15:01.902Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T02:15:01.902Z] ], [2022-10-26T02:15:01.902Z] "bip": "10.250.0.254/24", [2022-10-26T02:15:01.902Z] "hosts": [ [2022-10-26T02:15:01.902Z] "tcp://0.0.0.0:5555", [2022-10-26T02:15:01.902Z] "unix:///var/run/docker.sock" [2022-10-26T02:15:01.902Z] ], [2022-10-26T02:15:01.902Z] "mtu": 1458, [2022-10-26T02:15:01.902Z] "selinux-enabled": true, [2022-10-26T02:15:01.902Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T02:15:01.902Z] } [Pipeline] sh [2022-10-26T02:15:02.270Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T02:15:02.626Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T02:15:21.854Z] provisioning config files... [2022-10-26T02:15:21.883Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config9606479780393630647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:15:22.238Z] ---> docker-login.sh [2022-10-26T02:15:22.238Z] nexus3.edgexfoundry.org:10001 [2022-10-26T02:15:22.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:15:22.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:15:22.827Z] Configure a credential helper to remove this warning. See [2022-10-26T02:15:22.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:15:22.827Z] [2022-10-26T02:15:22.827Z] Login Succeeded [2022-10-26T02:15:22.827Z] nexus3.edgexfoundry.org:10002 [2022-10-26T02:15:23.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:15:23.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:15:23.379Z] Configure a credential helper to remove this warning. See [2022-10-26T02:15:23.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:15:23.379Z] [2022-10-26T02:15:23.379Z] Login Succeeded [2022-10-26T02:15:23.379Z] nexus3.edgexfoundry.org:10003 [2022-10-26T02:15:23.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:15:23.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:15:23.650Z] Configure a credential helper to remove this warning. See [2022-10-26T02:15:23.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:15:23.650Z] [2022-10-26T02:15:23.650Z] Login Succeeded [2022-10-26T02:15:23.650Z] nexus3.edgexfoundry.org:10004 [2022-10-26T02:15:23.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:15:24.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:15:24.189Z] Configure a credential helper to remove this warning. See [2022-10-26T02:15:24.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:15:24.189Z] [2022-10-26T02:15:24.189Z] Login Succeeded [2022-10-26T02:15:24.189Z] docker.io [2022-10-26T02:15:24.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:15:24.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:15:24.727Z] Configure a credential helper to remove this warning. See [2022-10-26T02:15:24.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:15:24.727Z] [2022-10-26T02:15:24.727Z] Login Succeeded [2022-10-26T02:15:24.727Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T02:15:24.741Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T02:15:24.898Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T02:15:24.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T02:15:24.915Z] ========================================================= [2022-10-26T02:15:24.915Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T02:15:24.915Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:15:25.261Z] + 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-26T02:15:25.848Z] Sending build context to Docker daemon 14.76MB [2022-10-26T02:15:25.848Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T02:15:25.848Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-26T02:15:26.117Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T02:15:26.117Z] 9b18e9b68314: Pulling fs layer [2022-10-26T02:15:26.117Z] d32db5db7311: Pulling fs layer [2022-10-26T02:15:26.117Z] d0c4b47475fc: Pulling fs layer [2022-10-26T02:15:26.117Z] 5831b945b038: Pulling fs layer [2022-10-26T02:15:26.117Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T02:15:26.117Z] e10730c5d714: Pulling fs layer [2022-10-26T02:15:26.117Z] 5dd5c2283517: Pulling fs layer [2022-10-26T02:15:26.117Z] d5ac0230b979: Pulling fs layer [2022-10-26T02:15:26.117Z] e10730c5d714: Waiting [2022-10-26T02:15:26.117Z] 5dd5c2283517: Waiting [2022-10-26T02:15:26.117Z] d5ac0230b979: Waiting [2022-10-26T02:15:26.117Z] 5831b945b038: Waiting [2022-10-26T02:15:26.117Z] 86bbec2aaacd: Waiting [2022-10-26T02:15:26.117Z] d0c4b47475fc: Verifying Checksum [2022-10-26T02:15:26.117Z] d0c4b47475fc: Download complete [2022-10-26T02:15:26.117Z] d32db5db7311: Verifying Checksum [2022-10-26T02:15:26.117Z] d32db5db7311: Download complete [2022-10-26T02:15:26.117Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T02:15:26.117Z] 86bbec2aaacd: Download complete [2022-10-26T02:15:26.117Z] e10730c5d714: Verifying Checksum [2022-10-26T02:15:26.117Z] e10730c5d714: Download complete [2022-10-26T02:15:26.117Z] 9b18e9b68314: Verifying Checksum [2022-10-26T02:15:26.117Z] 9b18e9b68314: Download complete [2022-10-26T02:15:27.086Z] d5ac0230b979: Verifying Checksum [2022-10-26T02:15:27.086Z] d5ac0230b979: Download complete [2022-10-26T02:15:28.054Z] 9b18e9b68314: Pull complete [2022-10-26T02:15:28.326Z] 5dd5c2283517: Download complete [2022-10-26T02:15:28.326Z] d32db5db7311: Pull complete [2022-10-26T02:15:28.596Z] d0c4b47475fc: Pull complete [2022-10-26T02:15:28.865Z] 5831b945b038: Verifying Checksum [2022-10-26T02:15:28.865Z] 5831b945b038: Download complete [2022-10-26T02:15:41.225Z] 5831b945b038: Pull complete [2022-10-26T02:15:41.225Z] 86bbec2aaacd: Pull complete [2022-10-26T02:15:41.225Z] e10730c5d714: Pull complete [2022-10-26T02:15:46.587Z] 5dd5c2283517: Pull complete [2022-10-26T02:15:47.555Z] d5ac0230b979: Pull complete [2022-10-26T02:15:47.555Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T02:15:47.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T02:15:47.555Z] ---> 59b3b1a385d4 [2022-10-26T02:15:47.555Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-26T02:15:50.186Z] ---> Running in 20f617245fdc [2022-10-26T02:15:50.186Z] Removing intermediate container 20f617245fdc [2022-10-26T02:15:50.186Z] ---> d4b2fdae088b [2022-10-26T02:15:50.186Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T02:15:50.186Z] ---> Running in c8fe6f23b25a [2022-10-26T02:15:50.457Z] Removing intermediate container c8fe6f23b25a [2022-10-26T02:15:50.457Z] ---> f283b565ee37 [2022-10-26T02:15:50.457Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T02:15:50.457Z] ---> Running in d4c9de0abb88 [2022-10-26T02:15:51.048Z] Removing intermediate container d4c9de0abb88 [2022-10-26T02:15:51.048Z] ---> c336adb02281 [2022-10-26T02:15:51.048Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T02:15:51.048Z] ---> Running in 4d2da6c7e59c [2022-10-26T02:15:51.320Z] Removing intermediate container 4d2da6c7e59c [2022-10-26T02:15:51.320Z] ---> 4d9bac49ecce [2022-10-26T02:15:51.320Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-26T02:15:51.320Z] ---> Running in 15e3eedc5217 [2022-10-26T02:15:51.911Z] Removing intermediate container 15e3eedc5217 [2022-10-26T02:15:51.911Z] ---> be6a8e5683cb [2022-10-26T02:15:51.911Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T02:15:51.911Z] ---> Running in a1358e45409c [2022-10-26T02:15:53.873Z] Removing intermediate container a1358e45409c [2022-10-26T02:15:53.873Z] ---> acee3995659c [2022-10-26T02:15:53.873Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T02:15:53.873Z] ---> Running in 5cb06cbfc8dd [2022-10-26T02:15:54.841Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T02:15:55.427Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T02:15:56.845Z] OK: 221 MiB in 51 packages [2022-10-26T02:15:57.824Z] Removing intermediate container 5cb06cbfc8dd [2022-10-26T02:15:57.824Z] ---> 713a4c70b8cc [2022-10-26T02:15:57.824Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-26T02:15:57.824Z] ---> Running in ae6677b5d729 [2022-10-26T02:15:58.095Z] Removing intermediate container ae6677b5d729 [2022-10-26T02:15:58.095Z] ---> 8e08ed8b8569 [2022-10-26T02:15:58.095Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-26T02:15:58.688Z] ---> f181f590d04e [2022-10-26T02:15:58.688Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T02:15:58.688Z] ---> Running in 345ce49e4127 [2022-10-26T02:16:55.153Z] Removing intermediate container 345ce49e4127 [2022-10-26T02:16:55.153Z] ---> 1950083cca1d [2022-10-26T02:16:55.153Z] Step 13/14 : COPY . . [2022-10-26T02:16:57.134Z] ---> 2816cbb99092 [2022-10-26T02:16:57.134Z] Step 14/14 : RUN ${MAKE} [2022-10-26T02:16:57.134Z] ---> Running in b4a4568a0187 [2022-10-26T02:16:58.098Z] noop [2022-10-26T02:16:58.690Z] Removing intermediate container b4a4568a0187 [2022-10-26T02:16:58.690Z] ---> 91121c568845 [2022-10-26T02:16:58.690Z] Successfully built 91121c568845 [2022-10-26T02:16:58.690Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:16:59.036Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T02:16:59.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:16:59.231Z] prd-ubuntu20.04-docker-arm64-4c-16g-117035 does not seem to be running inside a container [2022-10-26T02:16:59.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T02:17:00.650Z] $ docker top 10b0af66690db49c61429bb8b8bfb7c104bcfd2286f97381d13a955cff09c65c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:17:01.541Z] + go version [2022-10-26T02:17:01.541Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T02:17:01.566Z] $ docker stop --time=1 10b0af66690db49c61429bb8b8bfb7c104bcfd2286f97381d13a955cff09c65c [2022-10-26T02:17:03.885Z] $ docker rm -f 10b0af66690db49c61429bb8b8bfb7c104bcfd2286f97381d13a955cff09c65c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:17:04.440Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T02:17:04.440Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:17:04.632Z] prd-ubuntu20.04-docker-arm64-4c-16g-117035 does not seem to be running inside a container [2022-10-26T02:17:04.715Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T02:17:06.061Z] $ docker top 7536223abf8169057bd93ef46c4de013e0fd5328d4be26e01b47e65ca20f271a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:17:06.903Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-10-26T02:17:07.558Z] + make test [2022-10-26T02:17:07.558Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T02:17:09.513Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T02:19:01.390Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T02:19:09.754Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.199s coverage: 28.2% of statements [2022-10-26T02:19:09.754Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T02:19:19.897Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.707s coverage: 86.5% of statements [2022-10-26T02:19:19.897Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T02:19:19.897Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T02:20:06.822Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T02:20:06.822Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T02:20:06.822Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T02:20:06.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T02:20:06.858Z] $ docker stop --time=1 7536223abf8169057bd93ef46c4de013e0fd5328d4be26e01b47e65ca20f271a [2022-10-26T02:20:09.701Z] $ docker rm -f 7536223abf8169057bd93ef46c4de013e0fd5328d4be26e01b47e65ca20f271a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T02:20:10.898Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T02:20:10.925Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T02:20:11.642Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T02:20:12.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T02:20:12.367Z] + ls -al . [2022-10-26T02:20:12.367Z] total 240 [2022-10-26T02:20:12.367Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 02:17 . [2022-10-26T02:20:12.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:14 .. [2022-10-26T02:20:12.367Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 02:14 .git [2022-10-26T02:20:12.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 02:14 .github [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 02:14 .gitignore [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 02:14 .golangci.yml [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 02:14 Attribution.txt [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 02:14 CHANGELOG.md [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 26 02:14 Dockerfile [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 02:14 GOVERNANCE.md [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 02:14 Jenkinsfile [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 02:14 LICENSE [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 02:14 Makefile [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 02:14 OWNERS.md [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 02:14 README.md [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 02:11 VERSION [2022-10-26T02:20:12.367Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 02:14 bin [2022-10-26T02:20:12.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 02:14 cmd [2022-10-26T02:20:12.367Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 02:19 coverage.out [2022-10-26T02:20:12.367Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 02:14 doc [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 26 02:14 go.mod [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 46378 Oct 26 02:14 go.sum [2022-10-26T02:20:12.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:14 internal [2022-10-26T02:20:12.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:14 snap [2022-10-26T02:20:12.367Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 02:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:20:12.719Z] + 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=ecc963a8a4ec9899c2103eecae8246b9999f68e7 --label arch=arm64 --label version=0.0.0 . [2022-10-26T02:20:13.310Z] Sending build context to Docker daemon 14.84MB [2022-10-26T02:20:13.310Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T02:20:13.310Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-26T02:20:13.310Z] ---> 91121c568845 [2022-10-26T02:20:13.310Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-26T02:20:13.578Z] ---> Running in 4bf3375451d6 [2022-10-26T02:20:13.846Z] Removing intermediate container 4bf3375451d6 [2022-10-26T02:20:13.846Z] ---> aab056816f48 [2022-10-26T02:20:13.846Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T02:20:13.846Z] ---> Running in 5778a7708dc3 [2022-10-26T02:20:14.124Z] Removing intermediate container 5778a7708dc3 [2022-10-26T02:20:14.124Z] ---> ee70b1c7e005 [2022-10-26T02:20:14.124Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T02:20:14.393Z] ---> Running in e7ba658e2f01 [2022-10-26T02:20:14.667Z] Removing intermediate container e7ba658e2f01 [2022-10-26T02:20:14.667Z] ---> 414c337bd647 [2022-10-26T02:20:14.667Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T02:20:14.667Z] ---> Running in f9090c2f9632 [2022-10-26T02:20:15.254Z] Removing intermediate container f9090c2f9632 [2022-10-26T02:20:15.254Z] ---> b0b27526ded1 [2022-10-26T02:20:15.254Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-26T02:20:15.254Z] ---> Running in 806fc48f70a9 [2022-10-26T02:20:15.525Z] Removing intermediate container 806fc48f70a9 [2022-10-26T02:20:15.525Z] ---> 9875fe79ec43 [2022-10-26T02:20:15.525Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T02:20:15.525Z] ---> Running in 75eed02e84a8 [2022-10-26T02:20:17.494Z] Removing intermediate container 75eed02e84a8 [2022-10-26T02:20:17.494Z] ---> ef3d277bf23f [2022-10-26T02:20:17.494Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T02:20:17.494Z] ---> Running in d82e0bdbccef [2022-10-26T02:20:18.461Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T02:20:19.049Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T02:20:21.026Z] OK: 221 MiB in 51 packages [2022-10-26T02:20:21.623Z] Removing intermediate container d82e0bdbccef [2022-10-26T02:20:21.623Z] ---> 395a9c69f179 [2022-10-26T02:20:21.623Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-26T02:20:21.623Z] ---> Running in 80f725a67beb [2022-10-26T02:20:21.894Z] Removing intermediate container 80f725a67beb [2022-10-26T02:20:21.894Z] ---> 092a632db9f6 [2022-10-26T02:20:21.894Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-26T02:20:22.493Z] ---> 70003c94baa2 [2022-10-26T02:20:22.493Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T02:20:22.493Z] ---> Running in d053d14a449d [2022-10-26T02:20:25.083Z] Removing intermediate container d053d14a449d [2022-10-26T02:20:25.083Z] ---> 0eea12324338 [2022-10-26T02:20:25.083Z] Step 13/27 : COPY . . [2022-10-26T02:20:26.500Z] ---> 2601df46385d [2022-10-26T02:20:26.500Z] Step 14/27 : RUN ${MAKE} [2022-10-26T02:20:26.500Z] ---> Running in ca74d332bdea [2022-10-26T02:20:27.933Z] 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-26T02:23:19.701Z] Removing intermediate container ca74d332bdea [2022-10-26T02:23:19.701Z] ---> a48a71af025e [2022-10-26T02:23:19.701Z] Step 15/27 : FROM alpine:3.16 [2022-10-26T02:23:19.701Z] 3.16: Pulling from library/alpine [2022-10-26T02:23:19.701Z] 9b18e9b68314: Already exists [2022-10-26T02:23:19.701Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T02:23:19.701Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T02:23:19.701Z] ---> a6215f271958 [2022-10-26T02:23:19.701Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T02:23:19.701Z] ---> Running in e0a797e28372 [2022-10-26T02:23:19.701Z] Removing intermediate container e0a797e28372 [2022-10-26T02:23:19.701Z] ---> 22022bbd0bc8 [2022-10-26T02:23:19.701Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T02:23:19.701Z] ---> Running in bee115fd1a7b [2022-10-26T02:23:19.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T02:23:19.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T02:23:19.701Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T02:23:19.701Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T02:23:19.701Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T02:23:19.701Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T02:23:19.701Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T02:23:19.701Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T02:23:19.701Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T02:23:19.701Z] OK: 8 MiB in 20 packages [2022-10-26T02:23:19.701Z] Removing intermediate container bee115fd1a7b [2022-10-26T02:23:19.701Z] ---> 1a6a2099cecc [2022-10-26T02:23:19.701Z] Step 18/27 : WORKDIR / [2022-10-26T02:23:19.701Z] ---> Running in c603ccefd1fb [2022-10-26T02:23:19.701Z] Removing intermediate container c603ccefd1fb [2022-10-26T02:23:19.701Z] ---> 86c741986996 [2022-10-26T02:23:19.701Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T02:23:19.701Z] ---> 68b7d1f714b8 [2022-10-26T02:23:19.701Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T02:23:20.288Z] ---> 2b5656716ae6 [2022-10-26T02:23:20.288Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T02:23:20.556Z] ---> 4af258431e73 [2022-10-26T02:23:20.556Z] Step 22/27 : EXPOSE 59984 [2022-10-26T02:23:20.825Z] ---> Running in ce13329ef1c7 [2022-10-26T02:23:21.093Z] Removing intermediate container ce13329ef1c7 [2022-10-26T02:23:21.093Z] ---> eb72c4d745f9 [2022-10-26T02:23:21.093Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T02:23:21.093Z] ---> Running in 0cc9af479adc [2022-10-26T02:23:21.361Z] Removing intermediate container 0cc9af479adc [2022-10-26T02:23:21.361Z] ---> 083b281453ac [2022-10-26T02:23:21.361Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T02:23:21.361Z] ---> Running in d1c32a2d4e6a [2022-10-26T02:23:21.950Z] Removing intermediate container d1c32a2d4e6a [2022-10-26T02:23:21.950Z] ---> f6774f246997 [2022-10-26T02:23:21.950Z] Step 25/27 : LABEL arch=arm64 [2022-10-26T02:23:21.950Z] ---> Running in 5772b83f6323 [2022-10-26T02:23:22.218Z] Removing intermediate container 5772b83f6323 [2022-10-26T02:23:22.218Z] ---> ca9876c58607 [2022-10-26T02:23:22.218Z] Step 26/27 : LABEL git_sha=ecc963a8a4ec9899c2103eecae8246b9999f68e7 [2022-10-26T02:23:22.218Z] ---> Running in 84af8103d59c [2022-10-26T02:23:22.487Z] Removing intermediate container 84af8103d59c [2022-10-26T02:23:22.487Z] ---> 8163cb23f37b [2022-10-26T02:23:22.487Z] Step 27/27 : LABEL version=0.0.0 [2022-10-26T02:23:22.756Z] ---> Running in 3990a03d3c1d [2022-10-26T02:23:23.025Z] Removing intermediate container 3990a03d3c1d [2022-10-26T02:23:23.025Z] ---> 431d209918ee [2022-10-26T02:23:23.025Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T02:23:23.025Z] Successfully built 431d209918ee [2022-10-26T02:23:23.025Z] 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-26T02:23:23.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T02:23:23.465Z] [2022-10-26T02:23:23.466Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:23:23.801Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T02:23:23.801Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T02:23:23.801Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T02:23:23.801Z] 04944245beec: Pulling fs layer [2022-10-26T02:23:23.801Z] 699f458cf7ca: Pulling fs layer [2022-10-26T02:23:23.801Z] 765212b225bb: Pulling fs layer [2022-10-26T02:23:23.801Z] f23df028b6ca: Pulling fs layer [2022-10-26T02:23:23.801Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T02:23:23.801Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T02:23:23.801Z] f23df028b6ca: Waiting [2022-10-26T02:23:23.801Z] d65c8cfc05b1: Waiting [2022-10-26T02:23:23.801Z] 2437ff75d9bd: Waiting [2022-10-26T02:23:23.801Z] 765212b225bb: Waiting [2022-10-26T02:23:24.072Z] 04944245beec: Verifying Checksum [2022-10-26T02:23:24.072Z] 04944245beec: Download complete [2022-10-26T02:23:24.072Z] 765212b225bb: Verifying Checksum [2022-10-26T02:23:24.072Z] 765212b225bb: Download complete [2022-10-26T02:23:24.072Z] f23df028b6ca: Verifying Checksum [2022-10-26T02:23:24.072Z] f23df028b6ca: Download complete [2022-10-26T02:23:24.072Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T02:23:24.072Z] d65c8cfc05b1: Download complete [2022-10-26T02:23:24.346Z] 699f458cf7ca: Verifying Checksum [2022-10-26T02:23:24.346Z] 699f458cf7ca: Download complete [2022-10-26T02:23:24.614Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T02:23:24.614Z] 8998bd30e6a1: Download complete [2022-10-26T02:23:27.199Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T02:23:27.199Z] 2437ff75d9bd: Download complete [2022-10-26T02:23:28.606Z] 8998bd30e6a1: Pull complete [2022-10-26T02:23:29.190Z] 04944245beec: Pull complete [2022-10-26T02:23:30.607Z] 699f458cf7ca: Pull complete [2022-10-26T02:23:30.607Z] 765212b225bb: Pull complete [2022-10-26T02:23:31.569Z] f23df028b6ca: Pull complete [2022-10-26T02:23:31.569Z] d65c8cfc05b1: Pull complete [2022-10-26T02:23:46.574Z] 2437ff75d9bd: Pull complete [2022-10-26T02:23:46.574Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T02:23:46.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T02:23:46.574Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:23:46.761Z] prd-ubuntu20.04-docker-arm64-4c-16g-117035 does not seem to be running inside a container [2022-10-26T02:23:46.830Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T02:23:49.577Z] $ docker top efa341090167daae3f61864e2633d544e16963c0529e9bb3458d842ac2a46a58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:23:50.429Z] ---> job-cost.sh [2022-10-26T02:23:50.429Z] lf-activate-venv: SKIPPING [2022-10-26T02:23:50.429Z] INFO: No Stack... [2022-10-26T02:23:51.014Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T02:23:51.979Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T02:23:52.619Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [2022-10-26T02:23:52.619Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T02:23:52.653Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-3-stack-cost] [2022-10-26T02:23:52.662Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-3-stack-cost] did not exist. Created. [2022-10-26T02:23:52.662Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T02:23:53.313Z] /w/workspace/device-onvif-camera/3@tmp/durable-de70eb50/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T02:23:53.968Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T02:23:53.984Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T02:23:54.049Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T02:23:54.055Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T02:23:54.084Z] $ docker stop --time=1 efa341090167daae3f61864e2633d544e16963c0529e9bb3458d842ac2a46a58 [2022-10-26T02:23:55.608Z] $ docker rm -f efa341090167daae3f61864e2633d544e16963c0529e9bb3458d842ac2a46a58 [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-26T02:23:56.008Z] provisioning config files... [2022-10-26T02:23:56.016Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config7886444564895936830tmp [Pipeline] { [Pipeline] sh [2022-10-26T02:23:56.390Z] + set +x [2022-10-26T02:23:56.390Z] + bash -s -- [2022-10-26T02:23:56.390Z] + curl -s https://codecov.io/bash [2022-10-26T02:23:56.390Z] [2022-10-26T02:23:56.390Z] _____ _ [2022-10-26T02:23:56.390Z] / ____| | | [2022-10-26T02:23:56.390Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T02:23:56.390Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T02:23:56.390Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T02:23:56.390Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T02:23:56.390Z] Bash-1.0.6 [2022-10-26T02:23:56.390Z] [2022-10-26T02:23:56.390Z] [2022-10-26T02:23:56.390Z] ==> git version 2.25.1 found [2022-10-26T02:23:56.390Z] ==> 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-26T02:23:56.390Z] Release-Date: 2020-01-08 [2022-10-26T02:23:56.390Z] 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-26T02:23:56.390Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T02:23:56.390Z] ==> Jenkins CI detected. [2022-10-26T02:23:56.390Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-184 [2022-10-26T02:23:56.390Z] project root: . [2022-10-26T02:23:56.390Z] --> token set from env [2022-10-26T02:23:56.390Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T02:23:56.390Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T02:23:56.390Z] ==> Python coveragepy not found [2022-10-26T02:23:56.390Z] ==> Searching for coverage reports in: [2022-10-26T02:23:56.390Z] + . [2022-10-26T02:23:56.390Z] -> Found 1 reports [2022-10-26T02:23:56.390Z] ==> Detecting git/mercurial file structure [2022-10-26T02:23:56.390Z] ==> Reading reports [2022-10-26T02:23:56.390Z] + ./coverage.out bytes=78636 [2022-10-26T02:23:56.390Z] ==> Appending adjustments [2022-10-26T02:23:56.390Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T02:23:56.649Z] + Found adjustments [2022-10-26T02:23:56.649Z] ==> Gzipping contents [2022-10-26T02:23:56.649Z] 12K /tmp/codecov.2xbNep.gz [2022-10-26T02:23:56.649Z] ==> Uploading reports [2022-10-26T02:23:56.649Z] url: https://codecov.io [2022-10-26T02:23:56.649Z] query: branch=PR-184&commit=2d108ea950caf46c1d9cc3e409fd0cc7670d653a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-10-26T02:23:56.649Z] -> Pinging Codecov [2022-10-26T02:23:56.649Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-184&commit=2d108ea950caf46c1d9cc3e409fd0cc7670d653a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-10-26T02:23:56.908Z] -> Uploading to [2022-10-26T02:23:56.908Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/F29A59C45E3A92E06B3E522C9905F8EF/2d108ea950caf46c1d9cc3e409fd0cc7670d653a/29c171b3-22d2-450b-b3dd-fe76513e3944.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T022356Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=762cdd414c2bc25db9fd3f96eac7bac755c8dffc7428d88c6f8af2ccd3e2f792 [2022-10-26T02:23:56.908Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T02:23:56.908Z] Dload Upload Total Spent Left Speed [2022-10-26T02:23:57.168Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10801 0 0 100 10801 0 47165 --:--:-- --:--:-- --:--:-- 47165 [2022-10-26T02:23:57.168Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/2d108ea950caf46c1d9cc3e409fd0cc7670d653a [Pipeline] } [2022-10-26T02:23:57.176Z] 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-26T02:23:58.065Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-184/archives ] [2022-10-26T02:23:58.065Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-10-26T02:23:58.065Z] total 16 [2022-10-26T02:23:58.065Z] drwxr-xr-x 3 root root 4096 Oct 26 02:13 . [2022-10-26T02:23:58.065Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 02:13 .. [2022-10-26T02:23:58.065Z] drwxr-xr-x 2 root root 4096 Oct 26 02:13 cost [2022-10-26T02:23:58.066Z] -rw-r--r-- 1 root root 91 Oct 26 02:13 cost.csv [2022-10-26T02:23:58.066Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-10-26T02:23:58.066Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-10-26T02:23:58.066Z] total 16 [2022-10-26T02:23:58.066Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 02:13 . [2022-10-26T02:23:58.066Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 02:13 .. [2022-10-26T02:23:58.066Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 02:13 cost [2022-10-26T02:23:58.066Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 26 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:23:58.358Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:23:59.219Z] ---> package-listing.sh [2022-10-26T02:23:59.219Z] ++ facter osfamily [2022-10-26T02:23:59.219Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T02:23:59.482Z] + OS_FAMILY=debian [2022-10-26T02:23:59.482Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-184 [2022-10-26T02:23:59.482Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T02:23:59.482Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T02:23:59.482Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T02:23:59.482Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T02:23:59.482Z] + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' [2022-10-26T02:23:59.482Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T02:23:59.482Z] + case "${OS_FAMILY}" in [2022-10-26T02:23:59.482Z] + dpkg -l [2022-10-26T02:23:59.482Z] + grep '^ii' [2022-10-26T02:23:59.482Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T02:23:59.482Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T02:23:59.482Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T02:23:59.482Z] + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' [2022-10-26T02:23:59.482Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-184/archives/ [2022-10-26T02:23:59.482Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-184/archives/ [Pipeline] echo [2022-10-26T02:23:59.495Z] 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-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T02:23:59.779Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:24:00.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T02:24:00.340Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:24:00.408Z] prd-ubuntu20.04-docker-8c-8g-117031 does not seem to be running inside a container [2022-10-26T02:24:00.444Z] $ 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-184/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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T02:24:00.640Z] $ docker top 4f2384980105140f73546efee2903bb641e94f9ec8655e957a10cb065b8417c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:24:00.981Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T02:24:01.263Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T02:24:01.549Z] + ls /var/log/sa-host [2022-10-26T02:24:01.549Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T02:24:01.622Z] provisioning config files... [2022-10-26T02:24:01.630Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config11821061782773467724tmp [Pipeline] { [Pipeline] echo [2022-10-26T02:24:01.643Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:24:01.925Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T02:24:01.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:24:02.256Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T02:24:02.265Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:24:02.553Z] ---> sudo-logs.sh [2022-10-26T02:24:02.553Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T02:24:02.583Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:24:02.871Z] ---> job-cost.sh [2022-10-26T02:24:02.871Z] lf-activate-venv: SKIPPING [2022-10-26T02:24:02.871Z] DEBUG: total: 0.2199999988079071 [2022-10-26T02:24:02.871Z] INFO: Retrieving Stack Cost... [2022-10-26T02:24:03.439Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T02:24:04.008Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T02:24:04.022Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:24:04.310Z] ---> logs-deploy.sh [2022-10-26T02:24:04.311Z] lf-activate-venv: SKIPPING [2022-10-26T02:24:04.311Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-184/3 [2022-10-26T02:24:04.311Z] INFO: archiving workspace using pattern(s): [2022-10-26T02:24:05.256Z] Archives upload complete. [2022-10-26T02:24:05.256Z] INFO: archiving logs to Nexus