Pull request #162 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f+d3157763bdfd8f49e0a7266dceddd97d249ca275 (f8e91da9f1ce6d99fe04bb6169e06442a6d36f0c) 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-ssh16083305943968790556.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7737553551170130938.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-162/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-162/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1797564901048607031.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-162/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15574049157544241856.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5112356044023366418.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-162/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-162/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12365621196575607630.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-460 in /w/workspace/undry_device-onvif-camera_PR-162 [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-162 # 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/162/head:refs/remotes/origin/PR-162 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d3157763bdfd8f49e0a7266dceddd97d249ca275 into PR head commit 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f Merge succeeded, producing 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f Checking out Revision 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f (PR-162) > git config core.sparsecheckout # timeout=10 > git checkout -f 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f # 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 d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f # timeout=10 Commit message: "Testing Conventional Commit Bot" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-21T20:11:16.171Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-21T20:11:16.361Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-21T20:11:16.467Z] ========================================================= [2022-09-21T20:11:16.467Z] EdgeX Global Pipelines Version Info [2022-09-21T20:11:16.467Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:11:17.201Z] ------------------- [2022-09-21T20:11:17.201Z] stable info: [2022-09-21T20:11:17.201Z] ------------------- [2022-09-21T20:11:17.201Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-21T20:11:17.201Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-21T20:11:17.201Z] Message: update stable to v1.0.239 [2022-09-21T20:11:17.771Z] ------------------- [2022-09-21T20:11:17.771Z] experimental info: [2022-09-21T20:11:17.771Z] ------------------- [2022-09-21T20:11:17.771Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-21T20:11:17.771Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-21T20:11:17.771Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-21T20:11:18.089Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-21T20:11:18.126Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-21T20:11:18.165Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-21T20:11:18.207Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-21T20:11:18.250Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-21T20:11:18.289Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-21T20:11:18.330Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-21T20:11:18.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-21T20:11:18.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-21T20:11:18.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-21T20:11:18.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-21T20:11:18.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-21T20:11:18.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-21T20:11:18.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-21T20:11:18.658Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-21T20:11:18.696Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-21T20:11:18.744Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T20:11:18.784Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T20:11:18.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-21T20:11:18.866Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-21T20:11:18.908Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-21T20:11:18.948Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-21T20:11:18.990Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-21T20:11:19.032Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-21T20:11:19.073Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-21T20:11:19.108Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-21T20:11:19.148Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-21T20:11:19.185Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-162 [Pipeline] echo [2022-09-21T20:11:19.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-162 [Pipeline] echo [2022-09-21T20:11:19.254Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-162 [Pipeline] echo [2022-09-21T20:11:19.290Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [Pipeline] echo [2022-09-21T20:11:19.327Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 13e3a24 [Pipeline] echo [2022-09-21T20:11:19.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T20:11:19.453Z] provisioning config files... [2022-09-21T20:11:19.470Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-162@tmp/config4348275679093164832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:11:19.804Z] ---> docker-login.sh [2022-09-21T20:11:19.804Z] nexus3.edgexfoundry.org:10001 [2022-09-21T20:11:20.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:11:20.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:11:20.065Z] Configure a credential helper to remove this warning. See [2022-09-21T20:11:20.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:11:20.065Z] [2022-09-21T20:11:20.065Z] Login Succeeded [2022-09-21T20:11:20.065Z] nexus3.edgexfoundry.org:10002 [2022-09-21T20:11:20.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:11:20.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:11:20.325Z] Configure a credential helper to remove this warning. See [2022-09-21T20:11:20.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:11:20.325Z] [2022-09-21T20:11:20.325Z] Login Succeeded [2022-09-21T20:11:20.325Z] nexus3.edgexfoundry.org:10003 [2022-09-21T20:11:20.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:11:20.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:11:20.325Z] Configure a credential helper to remove this warning. See [2022-09-21T20:11:20.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:11:20.325Z] [2022-09-21T20:11:20.325Z] Login Succeeded [2022-09-21T20:11:20.325Z] nexus3.edgexfoundry.org:10004 [2022-09-21T20:11:20.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:11:20.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:11:20.585Z] Configure a credential helper to remove this warning. See [2022-09-21T20:11:20.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:11:20.585Z] [2022-09-21T20:11:20.585Z] Login Succeeded [2022-09-21T20:11:20.585Z] docker.io [2022-09-21T20:11:20.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:11:20.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:11:20.844Z] Configure a credential helper to remove this warning. See [2022-09-21T20:11:20.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:11:20.844Z] [2022-09-21T20:11:20.844Z] Login Succeeded [2022-09-21T20:11:20.844Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T20:11:20.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-21T20:11:21.515Z] + git rev-list -1 --merges 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f~1..13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [Pipeline] echo [2022-09-21T20:11:21.552Z] -----------> git rev-list -1 --merges 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f~1..13e3a24582a5b40a5cbcd28dc5de342f4d74b90f 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [false] [Pipeline] sh [2022-09-21T20:11:21.858Z] + git log --format=format:%s -1 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [Pipeline] echo [2022-09-21T20:11:21.892Z] ========================================================= [2022-09-21T20:11:21.892Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-21T20:11:21.892Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T20:11:22.301Z] + git log --format=format:%s -1 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [Pipeline] echo [2022-09-21T20:11:22.575Z] [semverPrep] GIT_COMMIT: 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f, Commit Message: Testing Conventional Commit Bot [Pipeline] echo [2022-09-21T20:11:22.599Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-21T20:11:23.084Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-21T20:11:23.084Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-21T20:11:23.084Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-21T20:11:23.084Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-21T20:11:23.084Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-21T20:11:23.084Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-21T20:11:23.084Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:11:23.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T20:11:23.796Z] [2022-09-21T20:11:23.796Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:11:24.171Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T20:11:24.171Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-21T20:11:24.171Z] b85a868b505f: Pulling fs layer [2022-09-21T20:11:24.171Z] e2be974225ed: Pulling fs layer [2022-09-21T20:11:24.171Z] 339a4e72a1f5: Pulling fs layer [2022-09-21T20:11:24.171Z] 988bab9f4d93: Pulling fs layer [2022-09-21T20:11:24.171Z] 1469e6f7b9e6: Pulling fs layer [2022-09-21T20:11:24.171Z] eaf3925da568: Pulling fs layer [2022-09-21T20:11:24.171Z] bab4dde63d76: Pulling fs layer [2022-09-21T20:11:24.171Z] bde34c3a00c8: Pulling fs layer [2022-09-21T20:11:24.171Z] b352a97aabf1: Pulling fs layer [2022-09-21T20:11:24.171Z] 4872d77fe225: Pulling fs layer [2022-09-21T20:11:24.171Z] 5851b861e8e6: Pulling fs layer [2022-09-21T20:11:24.171Z] 988bab9f4d93: Waiting [2022-09-21T20:11:24.171Z] bde34c3a00c8: Waiting [2022-09-21T20:11:24.171Z] eaf3925da568: Waiting [2022-09-21T20:11:24.171Z] b352a97aabf1: Waiting [2022-09-21T20:11:24.171Z] bab4dde63d76: Waiting [2022-09-21T20:11:24.171Z] 4872d77fe225: Waiting [2022-09-21T20:11:24.171Z] 1469e6f7b9e6: Waiting [2022-09-21T20:11:24.171Z] 5851b861e8e6: Waiting [2022-09-21T20:11:24.171Z] e2be974225ed: Verifying Checksum [2022-09-21T20:11:24.171Z] e2be974225ed: Download complete [2022-09-21T20:11:24.171Z] 988bab9f4d93: Verifying Checksum [2022-09-21T20:11:24.171Z] 988bab9f4d93: Download complete [2022-09-21T20:11:24.432Z] 339a4e72a1f5: Verifying Checksum [2022-09-21T20:11:24.432Z] 339a4e72a1f5: Download complete [2022-09-21T20:11:24.432Z] eaf3925da568: Download complete [2022-09-21T20:11:24.432Z] 1469e6f7b9e6: Verifying Checksum [2022-09-21T20:11:24.432Z] 1469e6f7b9e6: Download complete [2022-09-21T20:11:24.432Z] bde34c3a00c8: Download complete [2022-09-21T20:11:24.432Z] b352a97aabf1: Verifying Checksum [2022-09-21T20:11:24.432Z] b352a97aabf1: Download complete [2022-09-21T20:11:24.432Z] 4872d77fe225: Verifying Checksum [2022-09-21T20:11:24.432Z] 4872d77fe225: Download complete [2022-09-21T20:11:24.432Z] 5851b861e8e6: Verifying Checksum [2022-09-21T20:11:24.432Z] 5851b861e8e6: Download complete [2022-09-21T20:11:24.432Z] b85a868b505f: Verifying Checksum [2022-09-21T20:11:24.432Z] b85a868b505f: Download complete [2022-09-21T20:11:24.691Z] bab4dde63d76: Verifying Checksum [2022-09-21T20:11:24.691Z] bab4dde63d76: Download complete [2022-09-21T20:11:25.625Z] b85a868b505f: Pull complete [2022-09-21T20:11:25.884Z] e2be974225ed: Pull complete [2022-09-21T20:11:26.146Z] 339a4e72a1f5: Pull complete [2022-09-21T20:11:26.406Z] 988bab9f4d93: Pull complete [2022-09-21T20:11:26.666Z] 1469e6f7b9e6: Pull complete [2022-09-21T20:11:26.666Z] eaf3925da568: Pull complete [2022-09-21T20:11:28.573Z] bab4dde63d76: Pull complete [2022-09-21T20:11:28.573Z] bde34c3a00c8: Pull complete [2022-09-21T20:11:28.573Z] b352a97aabf1: Pull complete [2022-09-21T20:11:28.573Z] 4872d77fe225: Pull complete [2022-09-21T20:11:28.833Z] 5851b861e8e6: Pull complete [2022-09-21T20:11:28.833Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-21T20:11:28.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T20:11:28.833Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:11:29.065Z] prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container [2022-09-21T20:11:29.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-162 -v /w/workspace/undry_device-onvif-camera_PR-162:/w/workspace/undry_device-onvif-camera_PR-162:rw,z -v /w/workspace/undry_device-onvif-camera_PR-162@tmp:/w/workspace/undry_device-onvif-camera_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-21T20:11:31.553Z] $ docker top f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca -eo pid,comm [2022-09-21T20:11:31.616Z] 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-09-21T20:11:31.616Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-21T20:11:31.732Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T20:11:31.732Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T20:11:31.845Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T20:11:31.847Z] $ docker exec f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca ssh-agent [2022-09-21T20:11:31.953Z] SSH_AUTH_SOCK=/tmp/ssh-unGd579IKcWA/agent.31 [2022-09-21T20:11:31.953Z] SSH_AGENT_PID=37 [2022-09-21T20:11:31.959Z] Running ssh-add (command line suppressed) [2022-09-21T20:11:32.068Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-162@tmp/private_key_7069964459829405966.key (/w/workspace/undry_device-onvif-camera_PR-162@tmp/private_key_7069964459829405966.key) [2022-09-21T20:11:32.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T20:11:32.406Z] + git tag --points-at HEAD [Pipeline] } [2022-09-21T20:11:32.432Z] $ docker exec --env ******** --env ******** f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca ssh-agent -k [2022-09-21T20:11:32.524Z] unset SSH_AUTH_SOCK; [2022-09-21T20:11:32.524Z] unset SSH_AGENT_PID; [2022-09-21T20:11:32.525Z] echo Agent pid 37 killed; [2022-09-21T20:11:32.535Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-21T20:11:32.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T20:11:32.618Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T20:11:32.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T20:11:32.736Z] $ docker exec f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca ssh-agent [2022-09-21T20:11:32.858Z] SSH_AUTH_SOCK=/tmp/ssh-oIy4umJEOoTo/agent.69 [2022-09-21T20:11:32.858Z] SSH_AGENT_PID=75 [2022-09-21T20:11:32.862Z] Running ssh-add (command line suppressed) [2022-09-21T20:11:32.962Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-162@tmp/private_key_8725250315682662845.key (/w/workspace/undry_device-onvif-camera_PR-162@tmp/private_key_8725250315682662845.key) [2022-09-21T20:11:32.976Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T20:11:33.304Z] + git semver init [2022-09-21T20:11:33.562Z] 2022-09-21 20:11:33,492 [run_init] DEBUG init version:0.0.0 force:False [2022-09-21T20:11:33.562Z] 2022-09-21 20:11:33,492 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-162/.semver [2022-09-21T20:11:33.562Z] 2022-09-21 20:11:33,493 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-162/.semver [2022-09-21T20:11:33.562Z] 2022-09-21 20:11:33,493 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-162/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-162, universal_newlines=False, shell=None, istream=None) [2022-09-21T20:11:34.497Z] 2022-09-21 20:11:34,467 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-162/.git/info/exclude [2022-09-21T20:11:34.497Z] 2022-09-21 20:11:34,468 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-162/.semver/PR-162 with force:False [2022-09-21T20:11:34.497Z] 2022-09-21 20:11:34,468 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-162/.semver/PR-162 [2022-09-21T20:11:34.497Z] 2022-09-21 20:11:34,472 [execute] INFO git cat-file --batch-check [2022-09-21T20:11:34.497Z] 2022-09-21 20:11:34,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-162/.semver, universal_newlines=False, shell=None, istream=) [2022-09-21T20:11:34.497Z] 2022-09-21 20:11:34,479 [execute] INFO git cat-file --batch [2022-09-21T20:11:34.497Z] 2022-09-21 20:11:34,479 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-162/.semver, universal_newlines=False, shell=None, istream=) [2022-09-21T20:11:34.497Z] 2022-09-21 20:11:34,484 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-162/.semver/PR-162 [2022-09-21T20:11:34.497Z] 0.0.0 [Pipeline] } [2022-09-21T20:11:34.771Z] $ docker exec --env ******** --env ******** f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca ssh-agent -k [2022-09-21T20:11:34.869Z] unset SSH_AUTH_SOCK; [2022-09-21T20:11:34.869Z] unset SSH_AGENT_PID; [2022-09-21T20:11:34.869Z] echo Agent pid 75 killed; [2022-09-21T20:11:34.879Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-21T20:11:35.296Z] + git semver [Pipeline] } [2022-09-21T20:11:35.577Z] $ docker stop --time=1 f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca [2022-09-21T20:11:36.943Z] $ docker rm -f f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T20:11:37.351Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-21T20:11:37.605Z] Stashed 1 file(s) [Pipeline] echo [2022-09-21T20:11:37.621Z] [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-09-21T20:11:38.181Z] provisioning config files... [2022-09-21T20:11:38.192Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-162@tmp/config459644717412091347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:11:38.533Z] ---> docker-login.sh [2022-09-21T20:11:38.533Z] nexus3.edgexfoundry.org:10001 [2022-09-21T20:11:38.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:11:38.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:11:38.533Z] Configure a credential helper to remove this warning. See [2022-09-21T20:11:38.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:11:38.533Z] [2022-09-21T20:11:38.533Z] Login Succeeded [2022-09-21T20:11:38.533Z] nexus3.edgexfoundry.org:10002 [2022-09-21T20:11:38.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:11:38.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:11:38.533Z] Configure a credential helper to remove this warning. See [2022-09-21T20:11:38.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:11:38.533Z] [2022-09-21T20:11:38.533Z] Login Succeeded [2022-09-21T20:11:38.533Z] nexus3.edgexfoundry.org:10003 [2022-09-21T20:11:38.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:11:38.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:11:38.793Z] Configure a credential helper to remove this warning. See [2022-09-21T20:11:38.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:11:38.793Z] [2022-09-21T20:11:38.793Z] Login Succeeded [2022-09-21T20:11:38.793Z] nexus3.edgexfoundry.org:10004 [2022-09-21T20:11:38.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:11:38.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:11:38.793Z] Configure a credential helper to remove this warning. See [2022-09-21T20:11:38.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:11:38.793Z] [2022-09-21T20:11:38.793Z] Login Succeeded [2022-09-21T20:11:38.793Z] docker.io [2022-09-21T20:11:39.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:11:39.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:11:39.311Z] Configure a credential helper to remove this warning. See [2022-09-21T20:11:39.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:11:39.311Z] [2022-09-21T20:11:39.311Z] Login Succeeded [2022-09-21T20:11:39.311Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T20:11:39.343Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-21T20:11:39.535Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T20:11:39.571Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T20:11:39.604Z] ========================================================= [2022-09-21T20:11:39.604Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-21T20:11:39.604Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:11:40.079Z] + 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-09-21T20:11:40.079Z] Sending build context to Docker daemon 20.7MB [2022-09-21T20:11:40.079Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T20:11:40.079Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-21T20:11:40.079Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-21T20:11:40.079Z] 2408cc74d12b: Pulling fs layer [2022-09-21T20:11:40.079Z] ea60b727a1ce: Pulling fs layer [2022-09-21T20:11:40.079Z] 30c4a7721957: Pulling fs layer [2022-09-21T20:11:40.079Z] 370296b7ddb6: Pulling fs layer [2022-09-21T20:11:40.079Z] 7c6cee850709: Pulling fs layer [2022-09-21T20:11:40.079Z] 39a5fcdaea64: Pulling fs layer [2022-09-21T20:11:40.079Z] d94ebbe4e438: Pulling fs layer [2022-09-21T20:11:40.079Z] bcfd1f05c69d: Pulling fs layer [2022-09-21T20:11:40.079Z] 59ccb84bbe0f: Pulling fs layer [2022-09-21T20:11:40.079Z] 370296b7ddb6: Waiting [2022-09-21T20:11:40.079Z] 7c6cee850709: Waiting [2022-09-21T20:11:40.079Z] 39a5fcdaea64: Waiting [2022-09-21T20:11:40.079Z] d94ebbe4e438: Waiting [2022-09-21T20:11:40.079Z] bcfd1f05c69d: Waiting [2022-09-21T20:11:40.079Z] 59ccb84bbe0f: Waiting [2022-09-21T20:11:40.339Z] 30c4a7721957: Verifying Checksum [2022-09-21T20:11:40.339Z] 30c4a7721957: Download complete [2022-09-21T20:11:40.339Z] ea60b727a1ce: Verifying Checksum [2022-09-21T20:11:40.339Z] ea60b727a1ce: Download complete [2022-09-21T20:11:40.339Z] 7c6cee850709: Verifying Checksum [2022-09-21T20:11:40.339Z] 7c6cee850709: Download complete [2022-09-21T20:11:40.339Z] 2408cc74d12b: Verifying Checksum [2022-09-21T20:11:40.339Z] 2408cc74d12b: Download complete [2022-09-21T20:11:40.339Z] 39a5fcdaea64: Verifying Checksum [2022-09-21T20:11:40.339Z] 39a5fcdaea64: Download complete [2022-09-21T20:11:40.339Z] d94ebbe4e438: Verifying Checksum [2022-09-21T20:11:40.339Z] d94ebbe4e438: Download complete [2022-09-21T20:11:40.339Z] 2408cc74d12b: Pull complete [2022-09-21T20:11:40.608Z] ea60b727a1ce: Pull complete [2022-09-21T20:11:40.608Z] 30c4a7721957: Pull complete [2022-09-21T20:11:40.872Z] 59ccb84bbe0f: Verifying Checksum [2022-09-21T20:11:40.872Z] 59ccb84bbe0f: Download complete [2022-09-21T20:11:40.872Z] bcfd1f05c69d: Verifying Checksum [2022-09-21T20:11:40.872Z] bcfd1f05c69d: Download complete [2022-09-21T20:11:41.132Z] 370296b7ddb6: Verifying Checksum [2022-09-21T20:11:41.132Z] 370296b7ddb6: Download complete [2022-09-21T20:11:45.331Z] 370296b7ddb6: Pull complete [2022-09-21T20:11:45.331Z] 7c6cee850709: Pull complete [2022-09-21T20:11:45.331Z] 39a5fcdaea64: Pull complete [2022-09-21T20:11:45.331Z] d94ebbe4e438: Pull complete [2022-09-21T20:11:47.242Z] bcfd1f05c69d: Pull complete [2022-09-21T20:11:47.807Z] 59ccb84bbe0f: Pull complete [2022-09-21T20:11:47.807Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-21T20:11:48.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-21T20:11:48.065Z] ---> a4fb48ad2a94 [2022-09-21T20:11:48.065Z] Step 3/13 : ARG MAKE="make build" [2022-09-21T20:11:50.674Z] ---> Running in f8fc5cb97c6d [2022-09-21T20:11:50.674Z] Removing intermediate container f8fc5cb97c6d [2022-09-21T20:11:50.674Z] ---> 3873062aea46 [2022-09-21T20:11:50.674Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-21T20:11:50.935Z] ---> Running in 9353a0e5e461 [2022-09-21T20:11:50.935Z] Removing intermediate container 9353a0e5e461 [2022-09-21T20:11:50.935Z] ---> 7ece6f302516 [2022-09-21T20:11:50.935Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T20:11:50.935Z] ---> Running in 36af5cb7de69 [2022-09-21T20:11:51.195Z] Removing intermediate container 36af5cb7de69 [2022-09-21T20:11:51.195Z] ---> 45c012f4624b [2022-09-21T20:11:51.195Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-21T20:11:51.195Z] ---> Running in 8fcc381c5cbc [2022-09-21T20:11:51.195Z] Removing intermediate container 8fcc381c5cbc [2022-09-21T20:11:51.195Z] ---> 8bcb3a50a483 [2022-09-21T20:11:51.195Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T20:11:51.195Z] ---> Running in b3ed01a42a53 [2022-09-21T20:11:51.762Z] Removing intermediate container b3ed01a42a53 [2022-09-21T20:11:51.762Z] ---> cb55a602b2f6 [2022-09-21T20:11:51.762Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T20:11:52.021Z] ---> Running in fdcf4d1df16e [2022-09-21T20:11:52.280Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T20:11:53.014Z] Still waiting to schedule task [2022-09-21T20:11:53.015Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-21T20:11:53.217Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T20:11:53.476Z] OK: 211 MiB in 51 packages [2022-09-21T20:11:53.735Z] Removing intermediate container fdcf4d1df16e [2022-09-21T20:11:53.735Z] ---> 8b03d268e14a [2022-09-21T20:11:53.735Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-21T20:11:53.735Z] ---> Running in 7ebb4d45a999 [2022-09-21T20:11:53.995Z] Removing intermediate container 7ebb4d45a999 [2022-09-21T20:11:53.995Z] ---> 08e78ceda591 [2022-09-21T20:11:53.995Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-21T20:11:53.995Z] ---> 435a096e3762 [2022-09-21T20:11:53.995Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T20:11:54.253Z] ---> Running in 668941fd4b5b [2022-09-21T20:12:16.191Z] Removing intermediate container 668941fd4b5b [2022-09-21T20:12:16.191Z] ---> f4601f92d178 [2022-09-21T20:12:16.191Z] Step 12/13 : COPY . . [2022-09-21T20:12:16.191Z] ---> 5815cd5142a6 [2022-09-21T20:12:16.191Z] Step 13/13 : RUN ${MAKE} [2022-09-21T20:12:16.191Z] ---> Running in 03c2d8dbe350 [2022-09-21T20:12:16.191Z] noop [2022-09-21T20:12:16.191Z] Removing intermediate container 03c2d8dbe350 [2022-09-21T20:12:16.191Z] ---> db085de700cb [2022-09-21T20:12:16.191Z] Successfully built db085de700cb [2022-09-21T20:12:16.191Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:12:16.648Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-21T20:12:16.649Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:12:16.799Z] prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container [2022-09-21T20:12:16.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-162 -v /w/workspace/undry_device-onvif-camera_PR-162:/w/workspace/undry_device-onvif-camera_PR-162:rw,z -v /w/workspace/undry_device-onvif-camera_PR-162@tmp:/w/workspace/undry_device-onvif-camera_PR-162@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 ******** ci-base-image-x86_64 cat [2022-09-21T20:12:17.184Z] $ docker top 7b23d2e47dc307c9e9a62c55fd61c46f50b43e88dcb8feb0161b8d306e02b3fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T20:12:17.590Z] + go version [2022-09-21T20:12:17.590Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-21T20:12:17.620Z] $ docker stop --time=1 7b23d2e47dc307c9e9a62c55fd61c46f50b43e88dcb8feb0161b8d306e02b3fa [2022-09-21T20:12:18.915Z] $ docker rm -f 7b23d2e47dc307c9e9a62c55fd61c46f50b43e88dcb8feb0161b8d306e02b3fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:12:19.611Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-21T20:12:19.611Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:12:19.785Z] prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container [2022-09-21T20:12:19.813Z] $ 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-162 -v /w/workspace/undry_device-onvif-camera_PR-162:/w/workspace/undry_device-onvif-camera_PR-162:rw,z -v /w/workspace/undry_device-onvif-camera_PR-162@tmp:/w/workspace/undry_device-onvif-camera_PR-162@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 ******** ci-base-image-x86_64 cat [2022-09-21T20:12:20.162Z] $ docker top 0123ded921ae7cc3dbc6c5e5637d21adc99bceb83d780c85b7cd2e523c88b69d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T20:12:20.555Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-162 [Pipeline] fileExists [Pipeline] sh [2022-09-21T20:12:20.919Z] + make test [2022-09-21T20:12:20.919Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-21T20:12:21.181Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-21T20:12:33.403Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-21T20:12:33.403Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.6% of statements [2022-09-21T20:12:33.403Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-21T20:12:33.403Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.490s coverage: 86.5% of statements [2022-09-21T20:12:41.511Z] 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-09-21T20:12:41.511Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-21T20:12:44.792Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-21T20:12:44.792Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-21T20:12:44.792Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-21T20:12:45.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-21T20:12:45.109Z] $ docker stop --time=1 0123ded921ae7cc3dbc6c5e5637d21adc99bceb83d780c85b7cd2e523c88b69d [2022-09-21T20:12:47.291Z] $ docker rm -f 0123ded921ae7cc3dbc6c5e5637d21adc99bceb83d780c85b7cd2e523c88b69d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T20:12:47.815Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-21T20:12:47.885Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-21T20:12:48.535Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-21T20:12:48.847Z] + ls -al . [2022-09-21T20:12:48.847Z] total 236 [2022-09-21T20:12:48.847Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 20:12 . [2022-09-21T20:12:48.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:11 .. [2022-09-21T20:12:48.847Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 20:12 .git [2022-09-21T20:12:48.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 20:11 .github [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 21 20:11 .gitignore [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 20:11 .golangci.yml [2022-09-21T20:12:48.847Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 20:11 .semver [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 21 20:11 Attribution.txt [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 21 20:11 CHANGELOG.md [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 21 20:11 Dockerfile [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 20:11 GOVERNANCE.md [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 21 20:11 Jenkinsfile [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 21 20:11 LICENSE [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 2703 Sep 21 20:11 Makefile [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 21 20:11 OWNERS.md [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 21 20:11 README.md [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 20:11 VERSION [2022-09-21T20:12:48.847Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 20:11 bin [2022-09-21T20:12:48.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 20:11 cmd [2022-09-21T20:12:48.847Z] -rw-r--r-- 1 jenkins jenkins 79818 Sep 21 20:12 coverage.out [2022-09-21T20:12:48.847Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 20:11 doc [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 21 20:11 go.mod [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 21 20:11 go.sum [2022-09-21T20:12:48.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:11 internal [2022-09-21T20:12:48.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:11 snap [2022-09-21T20:12:48.847Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 21 20:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:12:49.228Z] + 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=13e3a24582a5b40a5cbcd28dc5de342f4d74b90f --label arch=amd64 --label version=0.0.0 . [2022-09-21T20:12:49.228Z] Sending build context to Docker daemon 20.78MB [2022-09-21T20:12:49.228Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T20:12:49.228Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-21T20:12:49.228Z] ---> db085de700cb [2022-09-21T20:12:49.228Z] Step 3/26 : ARG MAKE="make build" [2022-09-21T20:12:49.486Z] ---> Running in d227c47a7706 [2022-09-21T20:12:49.487Z] Removing intermediate container d227c47a7706 [2022-09-21T20:12:49.487Z] ---> ee3a6f947c1f [2022-09-21T20:12:49.487Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-21T20:12:49.487Z] ---> Running in 59e4c09e7dc0 [2022-09-21T20:12:49.747Z] Removing intermediate container 59e4c09e7dc0 [2022-09-21T20:12:49.747Z] ---> 5a018f8a1102 [2022-09-21T20:12:49.747Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T20:12:49.747Z] ---> Running in 547300ab7f62 [2022-09-21T20:12:49.747Z] Removing intermediate container 547300ab7f62 [2022-09-21T20:12:49.747Z] ---> 7648cbd634ae [2022-09-21T20:12:49.747Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-21T20:12:49.747Z] ---> Running in 222faa3d78c3 [2022-09-21T20:12:49.747Z] Removing intermediate container 222faa3d78c3 [2022-09-21T20:12:49.747Z] ---> 83e5aa0abc8c [2022-09-21T20:12:49.747Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T20:12:49.747Z] ---> Running in 976ccb66a292 [2022-09-21T20:12:50.313Z] Removing intermediate container 976ccb66a292 [2022-09-21T20:12:50.313Z] ---> e1b09d68969c [2022-09-21T20:12:50.313Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T20:12:50.313Z] ---> Running in ae3b764d1e5f [2022-09-21T20:12:50.572Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T20:12:51.516Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T20:12:51.774Z] OK: 211 MiB in 51 packages [2022-09-21T20:12:52.034Z] Removing intermediate container ae3b764d1e5f [2022-09-21T20:12:52.034Z] ---> 1d92d5d45dec [2022-09-21T20:12:52.034Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-21T20:12:52.034Z] ---> Running in 46386a68fa4f [2022-09-21T20:12:52.034Z] Removing intermediate container 46386a68fa4f [2022-09-21T20:12:52.034Z] ---> 8391871ff3ec [2022-09-21T20:12:52.034Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-21T20:12:52.292Z] ---> 8a8020f5b237 [2022-09-21T20:12:52.292Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T20:12:52.292Z] ---> Running in 5971fbff6377 [2022-09-21T20:12:52.861Z] Removing intermediate container 5971fbff6377 [2022-09-21T20:12:52.861Z] ---> ae0cca5f5436 [2022-09-21T20:12:52.861Z] Step 12/26 : COPY . . [2022-09-21T20:12:53.428Z] ---> e02543bf737d [2022-09-21T20:12:53.428Z] Step 13/26 : RUN ${MAKE} [2022-09-21T20:12:53.428Z] ---> Running in ebc7c4e0e870 [2022-09-21T20:12:53.688Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-21T20:13:15.606Z] Removing intermediate container ebc7c4e0e870 [2022-09-21T20:13:15.606Z] ---> 8a81055e2623 [2022-09-21T20:13:15.606Z] Step 14/26 : FROM alpine:3.16 [2022-09-21T20:13:16.173Z] 3.16: Pulling from library/alpine [2022-09-21T20:13:16.173Z] 213ec9aee27d: Pulling fs layer [2022-09-21T20:13:16.469Z] 213ec9aee27d: Verifying Checksum [2022-09-21T20:13:16.469Z] 213ec9aee27d: Download complete [2022-09-21T20:13:16.469Z] 213ec9aee27d: Pull complete [2022-09-21T20:13:16.469Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-21T20:13:16.469Z] Status: Downloaded newer image for alpine:3.16 [2022-09-21T20:13:16.469Z] ---> 9c6f07244728 [2022-09-21T20:13:16.469Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-21T20:13:16.727Z] ---> Running in 930145d73748 [2022-09-21T20:13:16.727Z] Removing intermediate container 930145d73748 [2022-09-21T20:13:16.727Z] ---> 16c68d05066e [2022-09-21T20:13:16.727Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-21T20:13:16.727Z] ---> Running in 9a7811c0069a [2022-09-21T20:13:16.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T20:13:16.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T20:13:17.243Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-21T20:13:17.243Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-21T20:13:17.243Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-21T20:13:17.243Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-21T20:13:17.243Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-21T20:13:17.243Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-21T20:13:17.243Z] Executing busybox-1.35.0-r17.trigger [2022-09-21T20:13:17.243Z] OK: 8 MiB in 20 packages [2022-09-21T20:13:17.811Z] Removing intermediate container 9a7811c0069a [2022-09-21T20:13:17.811Z] ---> 64f2147dc967 [2022-09-21T20:13:17.811Z] Step 17/26 : WORKDIR / [2022-09-21T20:13:17.811Z] ---> Running in 66b191ba8053 [2022-09-21T20:13:17.811Z] Removing intermediate container 66b191ba8053 [2022-09-21T20:13:17.811Z] ---> 624b90d43414 [2022-09-21T20:13:17.811Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-21T20:13:18.383Z] ---> 7544ca8f6af7 [2022-09-21T20:13:18.383Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-21T20:13:18.642Z] ---> 87610ffd9285 [2022-09-21T20:13:18.642Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-21T20:13:18.642Z] ---> 7ce358e29c12 [2022-09-21T20:13:18.642Z] Step 21/26 : EXPOSE 59984 [2022-09-21T20:13:18.642Z] ---> Running in 58e030bbd01f [2022-09-21T20:13:18.900Z] Removing intermediate container 58e030bbd01f [2022-09-21T20:13:18.900Z] ---> 7fcd32676f89 [2022-09-21T20:13:18.900Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-21T20:13:18.900Z] ---> Running in 4d6b80621dd8 [2022-09-21T20:13:18.900Z] Removing intermediate container 4d6b80621dd8 [2022-09-21T20:13:18.900Z] ---> 6430eb9a3325 [2022-09-21T20:13:18.900Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-21T20:13:18.900Z] ---> Running in c27cea0e13b4 [2022-09-21T20:13:18.900Z] Removing intermediate container c27cea0e13b4 [2022-09-21T20:13:18.900Z] ---> 986843404084 [2022-09-21T20:13:18.900Z] Step 24/26 : LABEL arch=amd64 [2022-09-21T20:13:19.159Z] ---> Running in a411641721f4 [2022-09-21T20:13:19.159Z] Removing intermediate container a411641721f4 [2022-09-21T20:13:19.159Z] ---> 0da15a9d5247 [2022-09-21T20:13:19.159Z] Step 25/26 : LABEL git_sha=13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [2022-09-21T20:13:19.159Z] ---> Running in 72b52786f5ec [2022-09-21T20:13:19.159Z] Removing intermediate container 72b52786f5ec [2022-09-21T20:13:19.159Z] ---> 34a5e52347f1 [2022-09-21T20:13:19.159Z] Step 26/26 : LABEL version=0.0.0 [2022-09-21T20:13:19.159Z] ---> Running in 6f6c5393463c [2022-09-21T20:13:19.327Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-461 in /w/workspace/undry_device-onvif-camera_PR-162 [Pipeline] { [Pipeline] ws [2022-09-21T20:13:19.373Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [2022-09-21T20:13:19.418Z] Removing intermediate container 6f6c5393463c [2022-09-21T20:13:19.418Z] ---> ea0fb77f48ee [2022-09-21T20:13:19.418Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-21T20:13:19.418Z] Successfully built ea0fb77f48ee [2022-09-21T20:13:19.418Z] Successfully tagged device-onvif-camera:latest [Pipeline] checkout [2022-09-21T20:13:19.451Z] The recommended git tool is: git [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-09-21T20:13:20.291Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T20:13:20.291Z] [2022-09-21T20:13:20.291Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:13:20.672Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T20:13:20.672Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-21T20:13:20.672Z] 5eb5b503b376: Pulling fs layer [2022-09-21T20:13:20.672Z] 5c69ac0246d0: Pulling fs layer [2022-09-21T20:13:20.672Z] ec43610c2a17: Pulling fs layer [2022-09-21T20:13:20.672Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-21T20:13:20.672Z] 33b1e0a273af: Pulling fs layer [2022-09-21T20:13:20.672Z] 5d3b04190fa2: Pulling fs layer [2022-09-21T20:13:20.672Z] 2f39f015ded8: Pulling fs layer [2022-09-21T20:13:20.672Z] 3a2ae6a8a46f: Waiting [2022-09-21T20:13:20.672Z] 33b1e0a273af: Waiting [2022-09-21T20:13:20.672Z] 5d3b04190fa2: Waiting [2022-09-21T20:13:20.672Z] 2f39f015ded8: Waiting [2022-09-21T20:13:20.672Z] 5c69ac0246d0: Verifying Checksum [2022-09-21T20:13:20.672Z] 5c69ac0246d0: Download complete [2022-09-21T20:13:20.672Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-21T20:13:20.672Z] 3a2ae6a8a46f: Download complete [2022-09-21T20:13:20.672Z] 33b1e0a273af: Verifying Checksum [2022-09-21T20:13:20.672Z] 33b1e0a273af: Download complete [2022-09-21T20:13:20.672Z] 5d3b04190fa2: Verifying Checksum [2022-09-21T20:13:20.672Z] 5d3b04190fa2: Download complete [2022-09-21T20:13:20.672Z] ec43610c2a17: Verifying Checksum [2022-09-21T20:13:20.672Z] ec43610c2a17: Download complete [2022-09-21T20:13:20.930Z] 5eb5b503b376: Verifying Checksum [2022-09-21T20:13:20.930Z] 5eb5b503b376: Download complete [2022-09-21T20:13:21.497Z] 2f39f015ded8: Download complete [2022-09-21T20:13:22.066Z] 5eb5b503b376: Pull complete [2022-09-21T20:13:22.326Z] 5c69ac0246d0: Pull complete [2022-09-21T20:13:22.890Z] ec43610c2a17: Pull complete [2022-09-21T20:13:22.890Z] 3a2ae6a8a46f: Pull complete [2022-09-21T20:13:23.148Z] 33b1e0a273af: Pull complete [2022-09-21T20:13:23.148Z] 5d3b04190fa2: Pull complete [2022-09-21T20:13:23.935Z] using credential edgex-jenkins-ssh [2022-09-21T20:13:23.952Z] Cloning the remote Git repository [2022-09-21T20:13:23.992Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-21T20:13:24.056Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-09-21T20:13:24.192Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-21T20:13:24.192Z] > git --version # timeout=10 [2022-09-21T20:13:24.213Z] > git --version # 'git version 2.25.1' [2022-09-21T20:13:24.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T20:13:24.254Z] Verifying host key using known hosts file [2022-09-21T20:13:24.419Z] 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-09-21T20:13:24.432Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-21T20:13:25.665Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-21T20:13:25.687Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-21T20:13:26.449Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-21T20:13:26.485Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-21T20:13:26.486Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T20:13:26.490Z] Verifying host key using known hosts file [2022-09-21T20:13:26.497Z] 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-09-21T20:13:26.509Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-21T20:13:27.064Z] Merging remotes/origin/main commit d3157763bdfd8f49e0a7266dceddd97d249ca275 into PR head commit 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [2022-09-21T20:13:27.392Z] Merge succeeded, producing 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [2022-09-21T20:13:27.393Z] Checking out Revision 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f (PR-162) [2022-09-21T20:13:27.084Z] > git config core.sparsecheckout # timeout=10 [2022-09-21T20:13:27.102Z] > git checkout -f 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f # timeout=10 [2022-09-21T20:13:27.303Z] > git remote # timeout=10 [2022-09-21T20:13:27.320Z] > git config --get remote.origin.url # timeout=10 [2022-09-21T20:13:27.342Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T20:13:27.346Z] Verifying host key using known hosts file [2022-09-21T20:13:27.350Z] 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-09-21T20:13:27.359Z] > git merge d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 [2022-09-21T20:13:27.380Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-21T20:13:27.401Z] > git config core.sparsecheckout # timeout=10 [2022-09-21T20:13:27.414Z] > git checkout -f 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f # timeout=10 [2022-09-21T20:13:28.482Z] 2f39f015ded8: Pull complete [2022-09-21T20:13:28.482Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-21T20:13:28.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T20:13:28.482Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:13:28.703Z] prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container [2022-09-21T20:13:28.736Z] $ 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-162 -v /w/workspace/undry_device-onvif-camera_PR-162:/w/workspace/undry_device-onvif-camera_PR-162:rw,z -v /w/workspace/undry_device-onvif-camera_PR-162@tmp:/w/workspace/undry_device-onvif-camera_PR-162@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-09-21T20:13:31.053Z] Commit message: "Testing Conventional Commit Bot" [2022-09-21T20:13:31.100Z] > git --version # timeout=10 [2022-09-21T20:13:31.110Z] > git --version # 'git version 2.25.1' [2022-09-21T20:13:31.121Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-21T20:13:31.461Z] $ docker top 5ed08570434909d3dace19f86b65fb42647f10e393b5add514b2f5991fea3a18 -eo pid,comm [Pipeline] { [2022-09-21T20:13:31.532Z] [2022-09-21T20:13:31.532Z] GitHub has been notified of this commit’s build result [2022-09-21T20:13:31.532Z] [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T20:13:31.921Z] ---> job-cost.sh [2022-09-21T20:13:31.921Z] lf-activate-venv: SKIPPING [2022-09-21T20:13:31.921Z] INFO: No Stack... [2022-09-21T20:13:32.182Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-21T20:13:32.353Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-21T20:13:32.354Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-21T20:13:32.354Z] Dload Upload Total Spent Left Speed [2022-09-21T20:13:32.354Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 74129 0 --:--:-- --:--:-- --:--:-- 74129 [Pipeline] sh [2022-09-21T20:13:33.011Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-21T20:13:33.116Z] INFO: Archiving Costs [Pipeline] sh [2022-09-21T20:13:33.345Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-21T20:13:33.345Z] + sudo tee /etc/docker/daemon.new [2022-09-21T20:13:33.345Z] { [2022-09-21T20:13:33.345Z] "registry-mirrors": [ [2022-09-21T20:13:33.345Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-21T20:13:33.345Z] ], [2022-09-21T20:13:33.345Z] "bip": "10.250.0.254/24", [2022-09-21T20:13:33.345Z] "hosts": [ [2022-09-21T20:13:33.345Z] "tcp://0.0.0.0:5555", [2022-09-21T20:13:33.345Z] "unix:///var/run/docker.sock" [2022-09-21T20:13:33.345Z] ], [2022-09-21T20:13:33.345Z] "mtu": 1458, [2022-09-21T20:13:33.345Z] "selinux-enabled": true, [2022-09-21T20:13:33.345Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-21T20:13:33.345Z] } [Pipeline] sh [2022-09-21T20:13:33.427Z] + cat /w/workspace/undry_device-onvif-camera_PR-162/archives/cost.csv [2022-09-21T20:13:33.427Z] + cut -d, -f6 [Pipeline] lock [2022-09-21T20:13:33.495Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] [2022-09-21T20:13:33.501Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] did not exist. Created. [2022-09-21T20:13:33.501Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-21T20:13:33.688Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-21T20:13:33.888Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-21T20:13:33.942Z] Stashed 1 file(s) [Pipeline] } [2022-09-21T20:13:33.972Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] [Pipeline] // lock [2022-09-21T20:13:34.033Z] + sudo service docker restart [Pipeline] } [2022-09-21T20:13:34.056Z] $ docker stop --time=1 5ed08570434909d3dace19f86b65fb42647f10e393b5add514b2f5991fea3a18 [2022-09-21T20:13:35.226Z] $ docker rm -f 5ed08570434909d3dace19f86b65fb42647f10e393b5add514b2f5991fea3a18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T20:13:52.318Z] provisioning config files... [2022-09-21T20:13:52.342Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config8553986445451522499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:13:52.717Z] ---> docker-login.sh [2022-09-21T20:13:52.717Z] nexus3.edgexfoundry.org:10001 [2022-09-21T20:13:53.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:13:53.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:13:53.194Z] Configure a credential helper to remove this warning. See [2022-09-21T20:13:53.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:13:53.194Z] [2022-09-21T20:13:53.194Z] Login Succeeded [2022-09-21T20:13:53.194Z] nexus3.edgexfoundry.org:10002 [2022-09-21T20:13:53.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:13:53.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:13:53.461Z] Configure a credential helper to remove this warning. See [2022-09-21T20:13:53.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:13:53.461Z] [2022-09-21T20:13:53.461Z] Login Succeeded [2022-09-21T20:13:53.461Z] nexus3.edgexfoundry.org:10003 [2022-09-21T20:13:53.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:13:53.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:13:53.728Z] Configure a credential helper to remove this warning. See [2022-09-21T20:13:53.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:13:53.728Z] [2022-09-21T20:13:53.728Z] Login Succeeded [2022-09-21T20:13:53.728Z] nexus3.edgexfoundry.org:10004 [2022-09-21T20:13:53.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:13:54.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:13:54.263Z] Configure a credential helper to remove this warning. See [2022-09-21T20:13:54.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:13:54.263Z] [2022-09-21T20:13:54.263Z] Login Succeeded [2022-09-21T20:13:54.263Z] docker.io [2022-09-21T20:13:54.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:13:54.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:13:54.844Z] Configure a credential helper to remove this warning. See [2022-09-21T20:13:54.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:13:54.844Z] [2022-09-21T20:13:54.844Z] Login Succeeded [2022-09-21T20:13:54.844Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T20:13:54.893Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-21T20:13:55.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T20:13:55.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T20:13:55.206Z] ========================================================= [2022-09-21T20:13:55.206Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-21T20:13:55.206Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:13:55.686Z] + 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-09-21T20:13:55.952Z] Sending build context to Docker daemon 14.16MB [2022-09-21T20:13:56.223Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T20:13:56.223Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-21T20:13:56.223Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-21T20:13:56.223Z] b3c136eddcbf: Pulling fs layer [2022-09-21T20:13:56.223Z] c0a3192eca97: Pulling fs layer [2022-09-21T20:13:56.223Z] a050256f5b6f: Pulling fs layer [2022-09-21T20:13:56.223Z] 656be50a0ddc: Pulling fs layer [2022-09-21T20:13:56.223Z] 2bbca73fdf42: Pulling fs layer [2022-09-21T20:13:56.223Z] 46d945488cbd: Pulling fs layer [2022-09-21T20:13:56.223Z] 8a5474983e97: Pulling fs layer [2022-09-21T20:13:56.223Z] 329c88fbcd65: Pulling fs layer [2022-09-21T20:13:56.223Z] 46d945488cbd: Waiting [2022-09-21T20:13:56.223Z] 8a5474983e97: Waiting [2022-09-21T20:13:56.223Z] 329c88fbcd65: Waiting [2022-09-21T20:13:56.223Z] 656be50a0ddc: Waiting [2022-09-21T20:13:56.223Z] 2bbca73fdf42: Waiting [2022-09-21T20:13:56.223Z] a050256f5b6f: Download complete [2022-09-21T20:13:56.223Z] c0a3192eca97: Download complete [2022-09-21T20:13:56.223Z] 2bbca73fdf42: Verifying Checksum [2022-09-21T20:13:56.223Z] 2bbca73fdf42: Download complete [2022-09-21T20:13:56.223Z] b3c136eddcbf: Verifying Checksum [2022-09-21T20:13:56.223Z] b3c136eddcbf: Download complete [2022-09-21T20:13:56.491Z] 46d945488cbd: Verifying Checksum [2022-09-21T20:13:56.491Z] 46d945488cbd: Download complete [2022-09-21T20:13:57.096Z] b3c136eddcbf: Pull complete [2022-09-21T20:13:57.683Z] c0a3192eca97: Pull complete [2022-09-21T20:13:57.683Z] 329c88fbcd65: Verifying Checksum [2022-09-21T20:13:57.683Z] 329c88fbcd65: Download complete [2022-09-21T20:13:57.957Z] a050256f5b6f: Pull complete [2022-09-21T20:13:58.546Z] 8a5474983e97: Verifying Checksum [2022-09-21T20:13:58.546Z] 8a5474983e97: Download complete [2022-09-21T20:13:59.132Z] 656be50a0ddc: Verifying Checksum [2022-09-21T20:13:59.132Z] 656be50a0ddc: Download complete [2022-09-21T20:14:11.452Z] 656be50a0ddc: Pull complete [2022-09-21T20:14:11.452Z] 2bbca73fdf42: Pull complete [2022-09-21T20:14:11.452Z] 46d945488cbd: Pull complete [2022-09-21T20:14:18.114Z] 8a5474983e97: Pull complete [2022-09-21T20:14:19.083Z] 329c88fbcd65: Pull complete [2022-09-21T20:14:19.083Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-21T20:14:19.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-21T20:14:19.083Z] ---> ff4287adb874 [2022-09-21T20:14:19.083Z] Step 3/13 : ARG MAKE="make build" [2022-09-21T20:14:21.061Z] ---> Running in ffc1a924cc80 [2022-09-21T20:14:21.061Z] Removing intermediate container ffc1a924cc80 [2022-09-21T20:14:21.061Z] ---> c91e1e918f23 [2022-09-21T20:14:21.061Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-21T20:14:21.061Z] ---> Running in 316b57a5e32a [2022-09-21T20:14:21.328Z] Removing intermediate container 316b57a5e32a [2022-09-21T20:14:21.328Z] ---> 2d2358500c34 [2022-09-21T20:14:21.328Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T20:14:21.597Z] ---> Running in fd6cffbd072f [2022-09-21T20:14:21.864Z] Removing intermediate container fd6cffbd072f [2022-09-21T20:14:21.864Z] ---> d2665fe4afae [2022-09-21T20:14:21.864Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-21T20:14:21.864Z] ---> Running in 22aa5b799fa0 [2022-09-21T20:14:22.139Z] Removing intermediate container 22aa5b799fa0 [2022-09-21T20:14:22.139Z] ---> 76fd58de24c3 [2022-09-21T20:14:22.139Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T20:14:22.139Z] ---> Running in 4f670d40a37e [2022-09-21T20:14:24.085Z] Removing intermediate container 4f670d40a37e [2022-09-21T20:14:24.085Z] ---> 5de232d71bb4 [2022-09-21T20:14:24.085Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T20:14:24.085Z] ---> Running in 729897308cbd [2022-09-21T20:14:25.044Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T20:14:25.999Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T20:14:26.584Z] OK: 221 MiB in 51 packages [2022-09-21T20:14:27.538Z] Removing intermediate container 729897308cbd [2022-09-21T20:14:27.538Z] ---> 9f3bffff80b2 [2022-09-21T20:14:27.538Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-21T20:14:27.538Z] ---> Running in fb712b2484c9 [2022-09-21T20:14:27.806Z] Removing intermediate container fb712b2484c9 [2022-09-21T20:14:27.806Z] ---> 769d9c7a7ff3 [2022-09-21T20:14:27.806Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-21T20:14:28.073Z] ---> 6f4e9da4ec61 [2022-09-21T20:14:28.073Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T20:14:28.342Z] ---> Running in 7da1be40c3bb [2022-09-21T20:15:24.738Z] Removing intermediate container 7da1be40c3bb [2022-09-21T20:15:24.738Z] ---> fae0767a41c9 [2022-09-21T20:15:24.738Z] Step 12/13 : COPY . . [2022-09-21T20:15:24.738Z] ---> be82abfca2a3 [2022-09-21T20:15:24.738Z] Step 13/13 : RUN ${MAKE} [2022-09-21T20:15:24.738Z] ---> Running in b46acb229a9f [2022-09-21T20:15:24.738Z] noop [2022-09-21T20:15:24.738Z] Removing intermediate container b46acb229a9f [2022-09-21T20:15:24.738Z] ---> 1b301156b9b0 [2022-09-21T20:15:24.738Z] Successfully built 1b301156b9b0 [2022-09-21T20:15:24.738Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:15:25.205Z] + docker inspect -f . ci-base-image-arm64 [2022-09-21T20:15:25.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:15:25.446Z] prd-ubuntu20.04-docker-arm64-4c-16g-461 does not seem to be running inside a container [2022-09-21T20:15:25.519Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-21T20:15:26.690Z] $ docker top f7ac128653a1643673d984dfb4c0c07578a5660b96c63b8e795835e47344f76e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T20:15:27.658Z] + go version [2022-09-21T20:15:27.658Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-21T20:15:27.779Z] $ docker stop --time=1 f7ac128653a1643673d984dfb4c0c07578a5660b96c63b8e795835e47344f76e [2022-09-21T20:15:29.374Z] $ docker rm -f f7ac128653a1643673d984dfb4c0c07578a5660b96c63b8e795835e47344f76e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:15:30.212Z] + docker inspect -f . ci-base-image-arm64 [2022-09-21T20:15:30.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:15:30.470Z] prd-ubuntu20.04-docker-arm64-4c-16g-461 does not seem to be running inside a container [2022-09-21T20:15:30.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-21T20:15:31.673Z] $ docker top 2e6bbe94a8e4fff1f01aafa15c597851edba8c00c486e5c01231f626d1d512de -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T20:15:32.555Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-21T20:15:32.946Z] + make test [2022-09-21T20:15:32.946Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-21T20:15:34.909Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-21T20:17:11.549Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-21T20:17:11.549Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.217s coverage: 28.6% of statements [2022-09-21T20:17:11.549Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-21T20:17:30.115Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.501s coverage: 86.5% of statements [2022-09-21T20:17:30.115Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-21T20:17:30.115Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-21T20:17:49.149Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-21T20:17:49.769Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-21T20:17:49.769Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-21T20:17:49.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-21T20:17:49.987Z] $ docker stop --time=1 2e6bbe94a8e4fff1f01aafa15c597851edba8c00c486e5c01231f626d1d512de [2022-09-21T20:17:51.837Z] $ docker rm -f 2e6bbe94a8e4fff1f01aafa15c597851edba8c00c486e5c01231f626d1d512de [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T20:17:52.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-21T20:17:52.970Z] Warning: overwriting stash ‘coverage-report’ [2022-09-21T20:17:54.087Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T20:17:54.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-21T20:17:55.115Z] + ls -al . [2022-09-21T20:17:55.115Z] total 232 [2022-09-21T20:17:55.115Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 20:15 . [2022-09-21T20:17:55.115Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:13 .. [2022-09-21T20:17:55.115Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 20:13 .git [2022-09-21T20:17:55.115Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 20:13 .github [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 21 20:13 .gitignore [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 20:13 .golangci.yml [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 21 20:13 Attribution.txt [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 21 20:13 CHANGELOG.md [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 21 20:13 Dockerfile [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 20:13 GOVERNANCE.md [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 21 20:13 Jenkinsfile [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 21 20:13 LICENSE [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 2703 Sep 21 20:13 Makefile [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 21 20:13 OWNERS.md [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 21 20:13 README.md [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 20:11 VERSION [2022-09-21T20:17:55.115Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 20:13 bin [2022-09-21T20:17:55.115Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 20:13 cmd [2022-09-21T20:17:55.115Z] -rw-r--r-- 1 jenkins jenkins 79818 Sep 21 20:17 coverage.out [2022-09-21T20:17:55.115Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 20:13 doc [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 21 20:13 go.mod [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 21 20:13 go.sum [2022-09-21T20:17:55.115Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:13 internal [2022-09-21T20:17:55.115Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:13 snap [2022-09-21T20:17:55.115Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 21 20:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:17:55.531Z] + 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=13e3a24582a5b40a5cbcd28dc5de342f4d74b90f --label arch=arm64 --label version=0.0.0 . [2022-09-21T20:17:56.838Z] Sending build context to Docker daemon 14.24MB [2022-09-21T20:17:56.838Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T20:17:56.838Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-21T20:17:56.838Z] ---> 1b301156b9b0 [2022-09-21T20:17:56.838Z] Step 3/26 : ARG MAKE="make build" [2022-09-21T20:17:56.838Z] ---> Running in ff6adb5efd0f [2022-09-21T20:17:57.118Z] Removing intermediate container ff6adb5efd0f [2022-09-21T20:17:57.118Z] ---> fecb2db91b5c [2022-09-21T20:17:57.118Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-21T20:17:57.118Z] ---> Running in 3cb3e3629e46 [2022-09-21T20:17:57.757Z] Removing intermediate container 3cb3e3629e46 [2022-09-21T20:17:57.757Z] ---> 5ee40bb83f85 [2022-09-21T20:17:57.757Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T20:17:57.757Z] ---> Running in 61d3a0a85c35 [2022-09-21T20:17:58.074Z] Removing intermediate container 61d3a0a85c35 [2022-09-21T20:17:58.074Z] ---> 48038ae72564 [2022-09-21T20:17:58.074Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-21T20:17:58.074Z] ---> Running in 871c9e802abc [2022-09-21T20:17:58.387Z] Removing intermediate container 871c9e802abc [2022-09-21T20:17:58.387Z] ---> 2dbec5d92ad9 [2022-09-21T20:17:58.387Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T20:17:58.387Z] ---> Running in 65a9bcd40599 [2022-09-21T20:18:00.170Z] Removing intermediate container 65a9bcd40599 [2022-09-21T20:18:00.170Z] ---> ee0e4532ff5c [2022-09-21T20:18:00.170Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T20:18:00.170Z] ---> Running in 86cc485bd4ac [2022-09-21T20:18:00.906Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T20:18:03.456Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T20:18:28.093Z] OK: 221 MiB in 51 packages [2022-09-21T20:18:28.093Z] Removing intermediate container 86cc485bd4ac [2022-09-21T20:18:28.093Z] ---> 8a626eedccdf [2022-09-21T20:18:28.093Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-21T20:18:28.093Z] ---> Running in 4650781b601d [2022-09-21T20:18:28.093Z] Removing intermediate container 4650781b601d [2022-09-21T20:18:28.093Z] ---> db22c6dd79a1 [2022-09-21T20:18:28.093Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-21T20:18:28.093Z] ---> 5968503dd25b [2022-09-21T20:18:28.093Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T20:18:28.093Z] ---> Running in ce0fe2386992 [2022-09-21T20:18:29.277Z] Removing intermediate container ce0fe2386992 [2022-09-21T20:18:29.277Z] ---> 761484af14b3 [2022-09-21T20:18:29.277Z] Step 12/26 : COPY . . [2022-09-21T20:18:31.244Z] ---> 061de2495953 [2022-09-21T20:18:31.244Z] Step 13/26 : RUN ${MAKE} [2022-09-21T20:18:31.244Z] ---> Running in 6b4c5ae1503e [2022-09-21T20:18:32.217Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-21T20:20:55.038Z] Removing intermediate container 6b4c5ae1503e [2022-09-21T20:20:55.038Z] ---> 327a3be8fefc [2022-09-21T20:20:55.038Z] Step 14/26 : FROM alpine:3.16 [2022-09-21T20:20:55.038Z] 3.16: Pulling from library/alpine [2022-09-21T20:20:55.038Z] 9b18e9b68314: Pulling fs layer [2022-09-21T20:20:55.038Z] 9b18e9b68314: Download complete [2022-09-21T20:20:55.038Z] 9b18e9b68314: Pull complete [2022-09-21T20:20:55.038Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-21T20:20:55.038Z] Status: Downloaded newer image for alpine:3.16 [2022-09-21T20:20:55.038Z] ---> a6215f271958 [2022-09-21T20:20:55.038Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-21T20:20:55.038Z] ---> Running in 41c246ac28b1 [2022-09-21T20:20:55.038Z] Removing intermediate container 41c246ac28b1 [2022-09-21T20:20:55.038Z] ---> cab085843165 [2022-09-21T20:20:55.038Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-21T20:20:55.038Z] ---> Running in eca1ce95e0a9 [2022-09-21T20:20:55.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T20:20:55.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T20:20:55.038Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-21T20:20:55.038Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-21T20:20:55.038Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-21T20:20:55.038Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-21T20:20:55.038Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-21T20:20:55.038Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-21T20:20:55.038Z] Executing busybox-1.35.0-r17.trigger [2022-09-21T20:20:55.038Z] OK: 8 MiB in 20 packages [2022-09-21T20:20:55.038Z] Removing intermediate container eca1ce95e0a9 [2022-09-21T20:20:55.038Z] ---> 44385d5a825a [2022-09-21T20:20:55.038Z] Step 17/26 : WORKDIR / [2022-09-21T20:20:55.038Z] ---> Running in 869322dd40e2 [2022-09-21T20:20:55.038Z] Removing intermediate container 869322dd40e2 [2022-09-21T20:20:55.038Z] ---> 18a5d06f483b [2022-09-21T20:20:55.038Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-21T20:20:55.038Z] ---> 53c588921a3e [2022-09-21T20:20:55.038Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-21T20:20:55.038Z] ---> e8d993fadaa4 [2022-09-21T20:20:55.038Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-21T20:20:55.038Z] ---> 6348b298b0d5 [2022-09-21T20:20:55.038Z] Step 21/26 : EXPOSE 59984 [2022-09-21T20:20:55.038Z] ---> Running in 1f247d8212d5 [2022-09-21T20:20:55.038Z] Removing intermediate container 1f247d8212d5 [2022-09-21T20:20:55.038Z] ---> 4c1aad704ff3 [2022-09-21T20:20:55.038Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-21T20:20:55.038Z] ---> Running in d26ac048dc43 [2022-09-21T20:20:55.038Z] Removing intermediate container d26ac048dc43 [2022-09-21T20:20:55.038Z] ---> ae9ef5e2baec [2022-09-21T20:20:55.038Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-21T20:20:55.310Z] ---> Running in 7f5c7f6bdb49 [2022-09-21T20:20:55.580Z] Removing intermediate container 7f5c7f6bdb49 [2022-09-21T20:20:55.580Z] ---> 27dac58a8149 [2022-09-21T20:20:55.580Z] Step 24/26 : LABEL arch=arm64 [2022-09-21T20:20:55.580Z] ---> Running in 4945ad481abb [2022-09-21T20:20:55.849Z] Removing intermediate container 4945ad481abb [2022-09-21T20:20:55.849Z] ---> ab4b0fa9baaa [2022-09-21T20:20:55.849Z] Step 25/26 : LABEL git_sha=13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [2022-09-21T20:20:55.849Z] ---> Running in 2ce32827ba2c [2022-09-21T20:20:56.118Z] Removing intermediate container 2ce32827ba2c [2022-09-21T20:20:56.118Z] ---> d18209d07bca [2022-09-21T20:20:56.118Z] Step 26/26 : LABEL version=0.0.0 [2022-09-21T20:20:56.118Z] ---> Running in efe77a10671d [2022-09-21T20:20:56.387Z] Removing intermediate container efe77a10671d [2022-09-21T20:20:56.387Z] ---> 83ad38dd0cf6 [2022-09-21T20:20:56.387Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-21T20:20:56.387Z] Successfully built 83ad38dd0cf6 [2022-09-21T20:20:56.387Z] 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-09-21T20:20:57.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T20:20:57.152Z] [2022-09-21T20:20:57.152Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:20:57.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T20:20:57.552Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-21T20:20:57.552Z] 8998bd30e6a1: Pulling fs layer [2022-09-21T20:20:57.552Z] 04944245beec: Pulling fs layer [2022-09-21T20:20:57.552Z] 699f458cf7ca: Pulling fs layer [2022-09-21T20:20:57.552Z] 765212b225bb: Pulling fs layer [2022-09-21T20:20:57.552Z] f23df028b6ca: Pulling fs layer [2022-09-21T20:20:57.552Z] d65c8cfc05b1: Pulling fs layer [2022-09-21T20:20:57.552Z] 2437ff75d9bd: Pulling fs layer [2022-09-21T20:20:57.552Z] 765212b225bb: Waiting [2022-09-21T20:20:57.552Z] f23df028b6ca: Waiting [2022-09-21T20:20:57.552Z] d65c8cfc05b1: Waiting [2022-09-21T20:20:57.552Z] 2437ff75d9bd: Waiting [2022-09-21T20:20:57.823Z] 04944245beec: Verifying Checksum [2022-09-21T20:20:57.823Z] 04944245beec: Download complete [2022-09-21T20:20:57.823Z] 765212b225bb: Verifying Checksum [2022-09-21T20:20:57.823Z] 765212b225bb: Download complete [2022-09-21T20:20:57.823Z] f23df028b6ca: Download complete [2022-09-21T20:20:57.823Z] d65c8cfc05b1: Verifying Checksum [2022-09-21T20:20:57.823Z] d65c8cfc05b1: Download complete [2022-09-21T20:20:57.823Z] 699f458cf7ca: Verifying Checksum [2022-09-21T20:20:57.823Z] 699f458cf7ca: Download complete [2022-09-21T20:20:58.404Z] 8998bd30e6a1: Verifying Checksum [2022-09-21T20:20:58.404Z] 8998bd30e6a1: Download complete [2022-09-21T20:21:00.341Z] 2437ff75d9bd: Verifying Checksum [2022-09-21T20:21:00.341Z] 2437ff75d9bd: Download complete [2022-09-21T20:21:02.278Z] 8998bd30e6a1: Pull complete [2022-09-21T20:21:02.545Z] 04944245beec: Pull complete [2022-09-21T20:21:03.950Z] 699f458cf7ca: Pull complete [2022-09-21T20:21:04.216Z] 765212b225bb: Pull complete [2022-09-21T20:21:04.807Z] f23df028b6ca: Pull complete [2022-09-21T20:21:05.074Z] d65c8cfc05b1: Pull complete [2022-09-21T20:21:20.055Z] 2437ff75d9bd: Pull complete [2022-09-21T20:21:20.055Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-21T20:21:20.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T20:21:20.055Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:21:20.369Z] prd-ubuntu20.04-docker-arm64-4c-16g-461 does not seem to be running inside a container [2022-09-21T20:21:20.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-21T20:21:22.841Z] $ docker top 89147a6c8524924d05f12178d8412e9574e0f7534859dc42857256abf4acc4c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:21:23.433Z] ---> job-cost.sh [2022-09-21T20:21:23.701Z] lf-activate-venv: SKIPPING [2022-09-21T20:21:23.701Z] INFO: No Stack... [2022-09-21T20:21:24.278Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-21T20:21:25.235Z] INFO: Archiving Costs [Pipeline] sh [2022-09-21T20:21:25.589Z] + cut -d, -f6 [2022-09-21T20:21:25.589Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-09-21T20:21:25.669Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] [2022-09-21T20:21:25.675Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] did not exist. Created. [2022-09-21T20:21:25.676Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-21T20:21:26.082Z] /w/workspace/device-onvif-camera/1@tmp/durable-271be3e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-21T20:21:26.754Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-21T20:21:26.812Z] Warning: overwriting stash ‘stack-cost’ [2022-09-21T20:21:26.869Z] Stashed 1 file(s) [Pipeline] } [2022-09-21T20:21:26.882Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-21T20:21:26.960Z] $ docker stop --time=1 89147a6c8524924d05f12178d8412e9574e0f7534859dc42857256abf4acc4c5 [2022-09-21T20:21:28.416Z] $ docker rm -f 89147a6c8524924d05f12178d8412e9574e0f7534859dc42857256abf4acc4c5 [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-09-21T20:21:29.371Z] provisioning config files... [2022-09-21T20:21:29.377Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-162@tmp/config17155276994467627311tmp [Pipeline] { [Pipeline] sh [2022-09-21T20:21:29.707Z] + set +x [2022-09-21T20:21:29.707Z] + curl -s https://codecov.io/bash [2022-09-21T20:21:29.707Z] + bash -s -- [2022-09-21T20:21:29.707Z] [2022-09-21T20:21:29.707Z] _____ _ [2022-09-21T20:21:29.707Z] / ____| | | [2022-09-21T20:21:29.707Z] | | ___ __| | ___ ___ _____ __ [2022-09-21T20:21:29.707Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-21T20:21:29.707Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-21T20:21:29.707Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-21T20:21:29.707Z] Bash-1.0.6 [2022-09-21T20:21:29.707Z] [2022-09-21T20:21:29.707Z] [2022-09-21T20:21:29.707Z] ==> git version 2.25.1 found [2022-09-21T20:21:29.707Z] ==> 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-09-21T20:21:29.707Z] Release-Date: 2020-01-08 [2022-09-21T20:21:29.707Z] 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-09-21T20:21:29.707Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-21T20:21:29.707Z] ==> Jenkins CI detected. [2022-09-21T20:21:29.707Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-162 [2022-09-21T20:21:29.707Z] project root: . [2022-09-21T20:21:29.707Z] --> token set from env [2022-09-21T20:21:29.707Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-21T20:21:29.707Z] ==> Running gcov in . (disable via -X gcov) [2022-09-21T20:21:29.707Z] ==> Python coveragepy not found [2022-09-21T20:21:29.707Z] ==> Searching for coverage reports in: [2022-09-21T20:21:29.707Z] + . [2022-09-21T20:21:29.967Z] -> Found 1 reports [2022-09-21T20:21:29.967Z] ==> Detecting git/mercurial file structure [2022-09-21T20:21:29.967Z] ==> Reading reports [2022-09-21T20:21:29.967Z] + ./coverage.out bytes=79818 [2022-09-21T20:21:29.967Z] ==> Appending adjustments [2022-09-21T20:21:29.967Z] https://docs.codecov.io/docs/fixing-reports [2022-09-21T20:21:29.967Z] + Found adjustments [2022-09-21T20:21:29.967Z] ==> Gzipping contents [2022-09-21T20:21:29.967Z] 12K /tmp/codecov.laiZr6.gz [2022-09-21T20:21:29.967Z] ==> Uploading reports [2022-09-21T20:21:29.967Z] url: https://codecov.io [2022-09-21T20:21:29.967Z] query: branch=PR-162&commit=13e3a24582a5b40a5cbcd28dc5de342f4d74b90f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-162%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=162&job=&cmd_args= [2022-09-21T20:21:29.967Z] -> Pinging Codecov [2022-09-21T20:21:29.967Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-162&commit=13e3a24582a5b40a5cbcd28dc5de342f4d74b90f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-162%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=162&job=&cmd_args= [2022-09-21T20:21:30.536Z] -> Uploading to [2022-09-21T20:21:30.536Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-21/F29A59C45E3A92E06B3E522C9905F8EF/13e3a24582a5b40a5cbcd28dc5de342f4d74b90f/8900f257-aa2f-4d90-b076-1b61b42174e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220921T202130Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b6efbad623ea87665522eea18314934826aa8d6fd8fc4633d4133136e2509560 [2022-09-21T20:21:30.536Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-21T20:21:30.536Z] Dload Upload Total Spent Left Speed [2022-09-21T20:21:30.536Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10926 0 0 100 10926 0 48345 --:--:-- --:--:-- --:--:-- 48345 [2022-09-21T20:21:30.536Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [Pipeline] } [2022-09-21T20:21:30.566Z] 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-09-21T20:21:32.327Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-162/archives ] [2022-09-21T20:21:32.327Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-162/archives [2022-09-21T20:21:32.327Z] total 16 [2022-09-21T20:21:32.327Z] drwxr-xr-x 3 root root 4096 Sep 21 20:13 . [2022-09-21T20:21:32.327Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 20:13 .. [2022-09-21T20:21:32.327Z] drwxr-xr-x 2 root root 4096 Sep 21 20:13 cost [2022-09-21T20:21:32.327Z] -rw-r--r-- 1 root root 91 Sep 21 20:13 cost.csv [2022-09-21T20:21:32.327Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-162/archives [2022-09-21T20:21:32.327Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-162/archives [2022-09-21T20:21:32.327Z] total 16 [2022-09-21T20:21:32.327Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 20:13 . [2022-09-21T20:21:32.327Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 20:13 .. [2022-09-21T20:21:32.327Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 20:13 cost [2022-09-21T20:21:32.327Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 21 20:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:21:32.652Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:21:33.542Z] ---> package-listing.sh [2022-09-21T20:21:33.542Z] ++ facter osfamily [2022-09-21T20:21:33.542Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-21T20:21:33.802Z] + OS_FAMILY=debian [2022-09-21T20:21:33.802Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-162 [2022-09-21T20:21:33.802Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-21T20:21:33.802Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-21T20:21:33.802Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-21T20:21:33.802Z] + PACKAGES=/tmp/packages_start.txt [2022-09-21T20:21:33.802Z] + '[' /w/workspace/undry_device-onvif-camera_PR-162 ']' [2022-09-21T20:21:33.802Z] + PACKAGES=/tmp/packages_end.txt [2022-09-21T20:21:33.802Z] + case "${OS_FAMILY}" in [2022-09-21T20:21:33.802Z] + dpkg -l [2022-09-21T20:21:33.802Z] + grep '^ii' [2022-09-21T20:21:33.802Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-21T20:21:33.802Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-21T20:21:33.802Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-21T20:21:33.802Z] + '[' /w/workspace/undry_device-onvif-camera_PR-162 ']' [2022-09-21T20:21:33.802Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-162/archives/ [2022-09-21T20:21:33.802Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-162/archives/ [Pipeline] echo [2022-09-21T20:21:33.839Z] 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-162/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-21T20:21:34.131Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:21:34.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T20:21:34.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:21:34.880Z] prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container [2022-09-21T20:21:34.900Z] $ 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-162/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-162 -v /w/workspace/undry_device-onvif-camera_PR-162:/w/workspace/undry_device-onvif-camera_PR-162:rw,z -v /w/workspace/undry_device-onvif-camera_PR-162@tmp:/w/workspace/undry_device-onvif-camera_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-21T20:21:35.084Z] $ docker top f3fe483163679af67cf568a4a700e8fdd11853fcab0378db08baeadcdc9ceade -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T20:21:35.476Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-21T20:21:35.782Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-21T20:21:36.093Z] + ls /var/log/sa-host [2022-09-21T20:21:36.093Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T20:21:36.306Z] provisioning config files... [2022-09-21T20:21:36.315Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-162@tmp/config6952624081465695097tmp [Pipeline] { [Pipeline] echo [2022-09-21T20:21:36.367Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:21:36.676Z] ---> create-netrc.sh [Pipeline] } [2022-09-21T20:21:36.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:21:37.111Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-21T20:21:37.145Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:21:37.451Z] ---> sudo-logs.sh [2022-09-21T20:21:37.451Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-21T20:21:37.532Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:21:37.835Z] ---> job-cost.sh [2022-09-21T20:21:37.836Z] lf-activate-venv: SKIPPING [2022-09-21T20:21:37.836Z] DEBUG: total: 0.2199999988079071 [2022-09-21T20:21:37.836Z] INFO: Retrieving Stack Cost... [2022-09-21T20:21:38.094Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-21T20:21:38.664Z] INFO: Archiving Costs [Pipeline] echo [2022-09-21T20:21:38.695Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:21:39.000Z] ---> logs-deploy.sh [2022-09-21T20:21:39.000Z] lf-activate-venv: SKIPPING [2022-09-21T20:21:39.000Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-162/1 [2022-09-21T20:21:39.000Z] INFO: archiving workspace using pattern(s): [2022-09-21T20:21:39.934Z] Archives upload complete. [2022-09-21T20:21:40.192Z] INFO: archiving logs to Nexus