Pull request #171 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 rather than 0098c075bcc993362c49da90c8b4ea59cb51e9ec Obtained Jenkinsfile from 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 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-ssh4769853493849190041.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-ssh13996696723102044874.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-171/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-171/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16677755359521826433.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 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-ssh9545619756898220447.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-171/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-171/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7879547115786201206.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7554 in /w/workspace/undry_device-onvif-camera_PR-171 [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-171 # 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/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit 0098c075bcc993362c49da90c8b4ea59cb51e9ec Merge succeeded, producing 72c4c4c250e2bbea19f542fbc8589bd260d79f24 Checking out Revision 72c4c4c250e2bbea19f542fbc8589bd260d79f24 (PR-171) > git config core.sparsecheckout # timeout=10 > git checkout -f 0098c075bcc993362c49da90c8b4ea59cb51e9ec # 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 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72c4c4c250e2bbea19f542fbc8589bd260d79f24 # timeout=10 Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T18:22:45.933Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T18:22:45.990Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T18:22:46.005Z] ========================================================= [2022-10-10T18:22:46.005Z] EdgeX Global Pipelines Version Info [2022-10-10T18:22:46.005Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:22:46.716Z] ------------------- [2022-10-10T18:22:46.716Z] stable info: [2022-10-10T18:22:46.716Z] ------------------- [2022-10-10T18:22:46.716Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T18:22:46.716Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T18:22:46.716Z] Message: update stable to v1.0.239 > git rev-list --no-walk 3a896a9a9fef18f6179b9077942c70eae6bdba11 # timeout=10 [2022-10-10T18:22:47.284Z] ------------------- [2022-10-10T18:22:47.284Z] experimental info: [2022-10-10T18:22:47.284Z] ------------------- [2022-10-10T18:22:47.285Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T18:22:47.285Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T18:22:47.285Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T18:22:47.451Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-10T18:22:47.466Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-10T18:22:47.480Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T18:22:47.494Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T18:22:47.511Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T18:22:47.526Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T18:22:47.537Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T18:22:47.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T18:22:47.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T18:22:47.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T18:22:47.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T18:22:47.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-10T18:22:47.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T18:22:47.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T18:22:47.632Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T18:22:47.643Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T18:22:47.658Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T18:22:47.671Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T18:22:47.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T18:22:47.693Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T18:22:47.703Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-10T18:22:47.714Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-10T18:22:47.725Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T18:22:47.736Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T18:22:47.746Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T18:22:47.757Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T18:22:47.769Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T18:22:47.783Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo [2022-10-10T18:22:47.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo [2022-10-10T18:22:47.805Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo [2022-10-10T18:22:47.816Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72c4c4c250e2bbea19f542fbc8589bd260d79f24 [Pipeline] echo [2022-10-10T18:22:47.825Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 72c4c4c [Pipeline] echo [2022-10-10T18:22:47.833Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T18:22:47.869Z] provisioning config files... [2022-10-10T18:22:47.956Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config7436566175036893669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:22:48.264Z] ---> docker-login.sh [2022-10-10T18:22:48.264Z] nexus3.edgexfoundry.org:10001 [2022-10-10T18:22:48.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:22:48.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:22:48.783Z] Configure a credential helper to remove this warning. See [2022-10-10T18:22:48.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:22:48.783Z] [2022-10-10T18:22:48.783Z] Login Succeeded [2022-10-10T18:22:48.783Z] nexus3.edgexfoundry.org:10002 [2022-10-10T18:22:48.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:22:48.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:22:48.783Z] Configure a credential helper to remove this warning. See [2022-10-10T18:22:48.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:22:48.783Z] [2022-10-10T18:22:48.783Z] Login Succeeded [2022-10-10T18:22:48.783Z] nexus3.edgexfoundry.org:10003 [2022-10-10T18:22:49.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:22:49.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:22:49.041Z] Configure a credential helper to remove this warning. See [2022-10-10T18:22:49.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:22:49.041Z] [2022-10-10T18:22:49.041Z] Login Succeeded [2022-10-10T18:22:49.041Z] nexus3.edgexfoundry.org:10004 [2022-10-10T18:22:49.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:22:49.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:22:49.041Z] Configure a credential helper to remove this warning. See [2022-10-10T18:22:49.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:22:49.041Z] [2022-10-10T18:22:49.041Z] Login Succeeded [2022-10-10T18:22:49.041Z] docker.io [2022-10-10T18:22:49.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:22:49.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:22:49.613Z] Configure a credential helper to remove this warning. See [2022-10-10T18:22:49.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:22:49.613Z] [2022-10-10T18:22:49.613Z] Login Succeeded [2022-10-10T18:22:49.613Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T18:22:49.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T18:22:49.979Z] + git rev-list -1 --merges 72c4c4c250e2bbea19f542fbc8589bd260d79f24~1..72c4c4c250e2bbea19f542fbc8589bd260d79f24 [Pipeline] echo [2022-10-10T18:22:50.007Z] -----------> git rev-list -1 --merges 72c4c4c250e2bbea19f542fbc8589bd260d79f24~1..72c4c4c250e2bbea19f542fbc8589bd260d79f24 72c4c4c250e2bbea19f542fbc8589bd260d79f24 [2022-10-10T18:22:50.007Z] 72c4c4c250e2bbea19f542fbc8589bd260d79f24 [false] [Pipeline] sh [2022-10-10T18:22:50.295Z] + git log --format=format:%s -1 72c4c4c250e2bbea19f542fbc8589bd260d79f24 [Pipeline] echo [2022-10-10T18:22:50.307Z] ========================================================= [2022-10-10T18:22:50.307Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T18:22:50.307Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T18:22:50.623Z] + git log --format=format:%s -1 72c4c4c250e2bbea19f542fbc8589bd260d79f24 [Pipeline] echo [2022-10-10T18:22:50.634Z] [semverPrep] GIT_COMMIT: 72c4c4c250e2bbea19f542fbc8589bd260d79f24, Commit Message: Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD [Pipeline] echo [2022-10-10T18:22:50.641Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T18:22:51.008Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T18:22:51.008Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T18:22:51.008Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T18:22:51.008Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T18:22:51.008Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T18:22:51.008Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T18:22:51.008Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:22:51.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T18:22:51.401Z] [2022-10-10T18:22:51.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:22:51.696Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T18:22:51.697Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T18:22:51.697Z] b85a868b505f: Pulling fs layer [2022-10-10T18:22:51.697Z] e2be974225ed: Pulling fs layer [2022-10-10T18:22:51.697Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T18:22:51.697Z] 988bab9f4d93: Pulling fs layer [2022-10-10T18:22:51.697Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T18:22:51.697Z] eaf3925da568: Pulling fs layer [2022-10-10T18:22:51.697Z] bab4dde63d76: Pulling fs layer [2022-10-10T18:22:51.697Z] bde34c3a00c8: Pulling fs layer [2022-10-10T18:22:51.697Z] b352a97aabf1: Pulling fs layer [2022-10-10T18:22:51.697Z] 4872d77fe225: Pulling fs layer [2022-10-10T18:22:51.697Z] 5851b861e8e6: Pulling fs layer [2022-10-10T18:22:51.697Z] bde34c3a00c8: Waiting [2022-10-10T18:22:51.697Z] eaf3925da568: Waiting [2022-10-10T18:22:51.697Z] 4872d77fe225: Waiting [2022-10-10T18:22:51.697Z] b352a97aabf1: Waiting [2022-10-10T18:22:51.697Z] 5851b861e8e6: Waiting [2022-10-10T18:22:51.697Z] 988bab9f4d93: Waiting [2022-10-10T18:22:51.697Z] bab4dde63d76: Waiting [2022-10-10T18:22:51.697Z] 1469e6f7b9e6: Waiting [2022-10-10T18:22:51.697Z] e2be974225ed: Verifying Checksum [2022-10-10T18:22:51.697Z] e2be974225ed: Download complete [2022-10-10T18:22:51.697Z] 988bab9f4d93: Download complete [2022-10-10T18:22:52.113Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T18:22:52.113Z] 1469e6f7b9e6: Download complete [2022-10-10T18:22:52.113Z] eaf3925da568: Verifying Checksum [2022-10-10T18:22:52.113Z] eaf3925da568: Download complete [2022-10-10T18:22:52.113Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T18:22:52.113Z] 339a4e72a1f5: Download complete [2022-10-10T18:22:52.113Z] bde34c3a00c8: Verifying Checksum [2022-10-10T18:22:52.113Z] bde34c3a00c8: Download complete [2022-10-10T18:22:52.113Z] b352a97aabf1: Download complete [2022-10-10T18:22:52.113Z] 4872d77fe225: Verifying Checksum [2022-10-10T18:22:52.113Z] 4872d77fe225: Download complete [2022-10-10T18:22:52.113Z] 5851b861e8e6: Verifying Checksum [2022-10-10T18:22:52.113Z] 5851b861e8e6: Download complete [2022-10-10T18:22:52.113Z] b85a868b505f: Verifying Checksum [2022-10-10T18:22:52.113Z] b85a868b505f: Download complete [2022-10-10T18:22:54.060Z] bab4dde63d76: Verifying Checksum [2022-10-10T18:22:54.060Z] bab4dde63d76: Download complete [2022-10-10T18:22:54.060Z] b85a868b505f: Pull complete [2022-10-10T18:22:54.060Z] e2be974225ed: Pull complete [2022-10-10T18:22:54.626Z] 339a4e72a1f5: Pull complete [2022-10-10T18:22:54.626Z] 988bab9f4d93: Pull complete [2022-10-10T18:22:54.886Z] 1469e6f7b9e6: Pull complete [2022-10-10T18:22:54.886Z] eaf3925da568: Pull complete [2022-10-10T18:22:57.018Z] bab4dde63d76: Pull complete [2022-10-10T18:22:57.018Z] bde34c3a00c8: Pull complete [2022-10-10T18:22:57.018Z] b352a97aabf1: Pull complete [2022-10-10T18:22:57.018Z] 4872d77fe225: Pull complete [2022-10-10T18:22:57.278Z] 5851b861e8e6: Pull complete [2022-10-10T18:22:57.278Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T18:22:57.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T18:22:57.278Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:22:57.366Z] prd-ubuntu20.04-docker-8c-8g-7554 does not seem to be running inside a container [2022-10-10T18:22:57.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T18:22:59.325Z] $ docker top bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c -eo pid,comm [2022-10-10T18:22:59.380Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-10T18:22:59.380Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T18:22:59.415Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T18:22:59.416Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T18:22:59.543Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T18:22:59.548Z] $ docker exec bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c ssh-agent [2022-10-10T18:22:59.643Z] SSH_AUTH_SOCK=/tmp/ssh-t2VQNz4fihJV/agent.32 [2022-10-10T18:22:59.643Z] SSH_AGENT_PID=38 [2022-10-10T18:22:59.650Z] Running ssh-add (command line suppressed) [2022-10-10T18:22:59.759Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_14841034806358657564.key (/w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_14841034806358657564.key) [2022-10-10T18:22:59.775Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T18:23:00.062Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T18:23:00.081Z] $ docker exec --env ******** --env ******** bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c ssh-agent -k [2022-10-10T18:23:00.206Z] unset SSH_AUTH_SOCK; [2022-10-10T18:23:00.206Z] unset SSH_AGENT_PID; [2022-10-10T18:23:00.206Z] echo Agent pid 38 killed; [2022-10-10T18:23:00.218Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T18:23:00.239Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T18:23:00.239Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T18:23:00.352Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T18:23:00.356Z] $ docker exec bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c ssh-agent [2022-10-10T18:23:00.457Z] SSH_AUTH_SOCK=/tmp/ssh-iXI5c0OWgFlp/agent.70 [2022-10-10T18:23:00.457Z] SSH_AGENT_PID=76 [2022-10-10T18:23:00.461Z] Running ssh-add (command line suppressed) [2022-10-10T18:23:00.555Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_10749014241181497059.key (/w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_10749014241181497059.key) [2022-10-10T18:23:00.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T18:23:00.852Z] + git semver init [2022-10-10T18:23:01.123Z] 2022-10-10 18:23:01,033 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T18:23:01.123Z] 2022-10-10 18:23:01,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-171/.semver [2022-10-10T18:23:01.123Z] 2022-10-10 18:23:01,034 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-171/.semver [2022-10-10T18:23:01.123Z] 2022-10-10 18:23:01,035 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-171/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-171, universal_newlines=False, shell=None, istream=None) [2022-10-10T18:23:02.062Z] 2022-10-10 18:23:02,035 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-171/.git/info/exclude [2022-10-10T18:23:02.062Z] 2022-10-10 18:23:02,035 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 with force:False [2022-10-10T18:23:02.062Z] 2022-10-10 18:23:02,035 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 [2022-10-10T18:23:02.062Z] 2022-10-10 18:23:02,040 [execute] INFO git cat-file --batch-check [2022-10-10T18:23:02.062Z] 2022-10-10 18:23:02,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-171/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T18:23:02.062Z] 2022-10-10 18:23:02,046 [execute] INFO git cat-file --batch [2022-10-10T18:23:02.062Z] 2022-10-10 18:23:02,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-171/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T18:23:02.062Z] 2022-10-10 18:23:02,051 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 [2022-10-10T18:23:02.062Z] 0.0.0 [Pipeline] } [2022-10-10T18:23:02.333Z] $ docker exec --env ******** --env ******** bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c ssh-agent -k [2022-10-10T18:23:02.421Z] unset SSH_AUTH_SOCK; [2022-10-10T18:23:02.421Z] unset SSH_AGENT_PID; [2022-10-10T18:23:02.422Z] echo Agent pid 76 killed; [2022-10-10T18:23:02.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T18:23:02.726Z] + git semver [Pipeline] } [2022-10-10T18:23:03.006Z] $ docker stop --time=1 bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c [2022-10-10T18:23:04.291Z] $ docker rm -f bf8fa8b8dd2620c273e48593de19b702dbe9be44289e4858323c1beb9f54d74c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T18:23:04.620Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T18:23:04.785Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T18:23:04.787Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T18:23:04.881Z] provisioning config files... [2022-10-10T18:23:04.890Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config5063371342356015564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:23:05.187Z] ---> docker-login.sh [2022-10-10T18:23:05.187Z] nexus3.edgexfoundry.org:10001 [2022-10-10T18:23:05.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:23:05.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:23:05.187Z] Configure a credential helper to remove this warning. See [2022-10-10T18:23:05.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:23:05.187Z] [2022-10-10T18:23:05.187Z] Login Succeeded [2022-10-10T18:23:05.187Z] nexus3.edgexfoundry.org:10002 [2022-10-10T18:23:05.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:23:05.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:23:05.187Z] Configure a credential helper to remove this warning. See [2022-10-10T18:23:05.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:23:05.187Z] [2022-10-10T18:23:05.187Z] Login Succeeded [2022-10-10T18:23:05.187Z] nexus3.edgexfoundry.org:10003 [2022-10-10T18:23:05.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:23:05.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:23:05.447Z] Configure a credential helper to remove this warning. See [2022-10-10T18:23:05.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:23:05.447Z] [2022-10-10T18:23:05.447Z] Login Succeeded [2022-10-10T18:23:05.447Z] nexus3.edgexfoundry.org:10004 [2022-10-10T18:23:05.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:23:05.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:23:05.447Z] Configure a credential helper to remove this warning. See [2022-10-10T18:23:05.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:23:05.447Z] [2022-10-10T18:23:05.447Z] Login Succeeded [2022-10-10T18:23:05.447Z] docker.io [2022-10-10T18:23:05.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:23:05.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:23:05.967Z] Configure a credential helper to remove this warning. See [2022-10-10T18:23:05.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:23:05.967Z] [2022-10-10T18:23:05.967Z] Login Succeeded [2022-10-10T18:23:05.967Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T18:23:05.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T18:23:06.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T18:23:06.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T18:23:06.056Z] ========================================================= [2022-10-10T18:23:06.056Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T18:23:06.056Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:23:06.355Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T18:23:06.355Z] Sending build context to Docker daemon 20.84MB [2022-10-10T18:23:06.355Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T18:23:06.355Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-10T18:23:06.355Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T18:23:06.355Z] 2408cc74d12b: Pulling fs layer [2022-10-10T18:23:06.355Z] ea60b727a1ce: Pulling fs layer [2022-10-10T18:23:06.355Z] 30c4a7721957: Pulling fs layer [2022-10-10T18:23:06.355Z] 370296b7ddb6: Pulling fs layer [2022-10-10T18:23:06.355Z] 7c6cee850709: Pulling fs layer [2022-10-10T18:23:06.355Z] aa9baa53a306: Pulling fs layer [2022-10-10T18:23:06.355Z] 8b309c321861: Pulling fs layer [2022-10-10T18:23:06.355Z] d8d76fd02f46: Pulling fs layer [2022-10-10T18:23:06.355Z] fa31f396de31: Pulling fs layer [2022-10-10T18:23:06.355Z] 370296b7ddb6: Waiting [2022-10-10T18:23:06.355Z] 7c6cee850709: Waiting [2022-10-10T18:23:06.355Z] aa9baa53a306: Waiting [2022-10-10T18:23:06.355Z] 8b309c321861: Waiting [2022-10-10T18:23:06.355Z] d8d76fd02f46: Waiting [2022-10-10T18:23:06.355Z] fa31f396de31: Waiting [2022-10-10T18:23:06.616Z] 30c4a7721957: Verifying Checksum [2022-10-10T18:23:06.616Z] 30c4a7721957: Download complete [2022-10-10T18:23:06.616Z] ea60b727a1ce: Download complete [2022-10-10T18:23:06.616Z] 7c6cee850709: Verifying Checksum [2022-10-10T18:23:06.616Z] 7c6cee850709: Download complete [2022-10-10T18:23:06.616Z] aa9baa53a306: Download complete [2022-10-10T18:23:06.616Z] 2408cc74d12b: Verifying Checksum [2022-10-10T18:23:06.616Z] 2408cc74d12b: Download complete [2022-10-10T18:23:06.616Z] 8b309c321861: Download complete [2022-10-10T18:23:06.616Z] 2408cc74d12b: Pull complete [2022-10-10T18:23:06.876Z] ea60b727a1ce: Pull complete [2022-10-10T18:23:06.876Z] 30c4a7721957: Pull complete [2022-10-10T18:23:06.876Z] fa31f396de31: Verifying Checksum [2022-10-10T18:23:07.444Z] d8d76fd02f46: Verifying Checksum [2022-10-10T18:23:07.444Z] d8d76fd02f46: Download complete [2022-10-10T18:23:07.444Z] 370296b7ddb6: Verifying Checksum [2022-10-10T18:23:07.444Z] 370296b7ddb6: Download complete [2022-10-10T18:23:11.631Z] 370296b7ddb6: Pull complete [2022-10-10T18:23:11.631Z] 7c6cee850709: Pull complete [2022-10-10T18:23:11.631Z] aa9baa53a306: Pull complete [2022-10-10T18:23:11.631Z] 8b309c321861: Pull complete [2022-10-10T18:23:13.529Z] d8d76fd02f46: Pull complete [2022-10-10T18:23:14.095Z] fa31f396de31: Pull complete [2022-10-10T18:23:14.095Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T18:23:14.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T18:23:14.095Z] ---> cef68f9685f8 [2022-10-10T18:23:14.095Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-10T18:23:17.025Z] ---> Running in b0c0c733ef30 [2022-10-10T18:23:17.025Z] Removing intermediate container b0c0c733ef30 [2022-10-10T18:23:17.025Z] ---> bb4f4cd5a479 [2022-10-10T18:23:17.025Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T18:23:17.286Z] ---> Running in 4e5b4a62a314 [2022-10-10T18:23:17.286Z] Removing intermediate container 4e5b4a62a314 [2022-10-10T18:23:17.286Z] ---> 21d74e079ad8 [2022-10-10T18:23:17.286Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T18:23:17.286Z] ---> Running in f88e1cecb21d [2022-10-10T18:23:17.286Z] Removing intermediate container f88e1cecb21d [2022-10-10T18:23:17.286Z] ---> 181c3989f6bb [2022-10-10T18:23:17.286Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T18:23:17.544Z] ---> Running in deaa202465eb [2022-10-10T18:23:17.544Z] Removing intermediate container deaa202465eb [2022-10-10T18:23:17.544Z] ---> 3f30057bc233 [2022-10-10T18:23:17.544Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-10T18:23:17.544Z] ---> Running in 9a7ed7cfb665 [2022-10-10T18:23:17.544Z] Removing intermediate container 9a7ed7cfb665 [2022-10-10T18:23:17.544Z] ---> 2c0b0f3468af [2022-10-10T18:23:17.544Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T18:23:17.544Z] ---> Running in 40d99ebffb28 [2022-10-10T18:23:18.113Z] Removing intermediate container 40d99ebffb28 [2022-10-10T18:23:18.113Z] ---> a56bb60b18eb [2022-10-10T18:23:18.113Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T18:23:18.113Z] ---> Running in c3cecc6d41a6 [2022-10-10T18:23:18.372Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T18:23:19.305Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T18:23:19.854Z] Still waiting to schedule task [2022-10-10T18:23:19.855Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-10T18:23:19.873Z] OK: 211 MiB in 51 packages [2022-10-10T18:23:20.132Z] Removing intermediate container c3cecc6d41a6 [2022-10-10T18:23:20.133Z] ---> 0cf6ad834af9 [2022-10-10T18:23:20.133Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-10T18:23:20.133Z] ---> Running in a69ef866b87e [2022-10-10T18:23:20.133Z] Removing intermediate container a69ef866b87e [2022-10-10T18:23:20.133Z] ---> 89e102447870 [2022-10-10T18:23:20.133Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-10T18:23:20.391Z] ---> d0f3ab24fc18 [2022-10-10T18:23:20.391Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T18:23:20.391Z] ---> Running in 17f1a40eb6a8 [2022-10-10T18:23:42.613Z] Removing intermediate container 17f1a40eb6a8 [2022-10-10T18:23:42.613Z] ---> aad99c57ad04 [2022-10-10T18:23:42.613Z] Step 13/14 : COPY . . [2022-10-10T18:23:42.613Z] ---> d39c3eba0571 [2022-10-10T18:23:42.613Z] Step 14/14 : RUN ${MAKE} [2022-10-10T18:23:42.613Z] ---> Running in acf058167ab0 [2022-10-10T18:23:42.613Z] noop [2022-10-10T18:23:42.613Z] Removing intermediate container acf058167ab0 [2022-10-10T18:23:42.613Z] ---> 3755f624274f [2022-10-10T18:23:42.613Z] Successfully built 3755f624274f [2022-10-10T18:23:42.613Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:23:42.931Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T18:23:42.931Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:23:42.994Z] prd-ubuntu20.04-docker-8c-8g-7554 does not seem to be running inside a container [2022-10-10T18:23:43.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T18:23:43.394Z] $ docker top a2dafe3f00eefb4114e9f960a94413e152956c8bcac837c9d9fa44ee5c6f5d4b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T18:23:43.744Z] + go version [2022-10-10T18:23:43.744Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T18:23:43.755Z] $ docker stop --time=1 a2dafe3f00eefb4114e9f960a94413e152956c8bcac837c9d9fa44ee5c6f5d4b [2022-10-10T18:23:45.029Z] $ docker rm -f a2dafe3f00eefb4114e9f960a94413e152956c8bcac837c9d9fa44ee5c6f5d4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:23:45.439Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T18:23:45.439Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:23:45.507Z] prd-ubuntu20.04-docker-8c-8g-7554 does not seem to be running inside a container [2022-10-10T18:23:45.541Z] $ 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-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T18:23:45.882Z] $ docker top 6dd76e5e66630f6286c3cf930fe343e50764654dc5b2844d10f0c437a8e2ad4a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T18:23:46.231Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-171 [Pipeline] fileExists [Pipeline] sh [2022-10-10T18:23:46.527Z] + make test [2022-10-10T18:23:46.527Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T18:23:46.786Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-10T18:23:58.983Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-10T18:23:59.241Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements [2022-10-10T18:23:59.241Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-10T18:23:59.241Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.366s coverage: 86.5% of statements [2022-10-10T18:24:07.358Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-10T18:24:07.358Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T18:24:10.638Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T18:24:10.638Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T18:24:10.638Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T18:24:10.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T18:24:10.660Z] $ docker stop --time=1 6dd76e5e66630f6286c3cf930fe343e50764654dc5b2844d10f0c437a8e2ad4a [2022-10-10T18:24:12.920Z] $ docker rm -f 6dd76e5e66630f6286c3cf930fe343e50764654dc5b2844d10f0c437a8e2ad4a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T18:24:13.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T18:24:13.408Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T18:24:13.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T18:24:14.200Z] + ls -al . [2022-10-10T18:24:14.200Z] total 236 [2022-10-10T18:24:14.200Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 18:23 . [2022-10-10T18:24:14.200Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:22 .. [2022-10-10T18:24:14.200Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 18:24 .git [2022-10-10T18:24:14.200Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 18:22 .github [2022-10-10T18:24:14.200Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 10 18:22 .gitignore [2022-10-10T18:24:14.200Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 10 18:22 .golangci.yml [2022-10-10T18:24:14.200Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 18:23 .semver [2022-10-10T18:24:14.200Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 10 18:22 Attribution.txt [2022-10-10T18:24:14.200Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 10 18:22 CHANGELOG.md [2022-10-10T18:24:14.200Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 10 18:22 Dockerfile [2022-10-10T18:24:14.200Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 18:22 GOVERNANCE.md [2022-10-10T18:24:14.200Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 10 18:22 Jenkinsfile [2022-10-10T18:24:14.200Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 10 18:22 LICENSE [2022-10-10T18:24:14.201Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 10 18:22 Makefile [2022-10-10T18:24:14.201Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 10 18:22 OWNERS.md [2022-10-10T18:24:14.201Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 10 18:22 README.md [2022-10-10T18:24:14.201Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 18:23 VERSION [2022-10-10T18:24:14.201Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 18:22 bin [2022-10-10T18:24:14.201Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 18:22 cmd [2022-10-10T18:24:14.201Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 10 18:23 coverage.out [2022-10-10T18:24:14.201Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 10 18:22 doc [2022-10-10T18:24:14.201Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 10 18:22 go.mod [2022-10-10T18:24:14.201Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 10 18:22 go.sum [2022-10-10T18:24:14.201Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:22 internal [2022-10-10T18:24:14.201Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:22 snap [2022-10-10T18:24:14.201Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 10 18:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:24:14.509Z] + 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=72c4c4c250e2bbea19f542fbc8589bd260d79f24 --label arch=amd64 --label version=0.0.0 . [2022-10-10T18:24:14.509Z] Sending build context to Docker daemon 20.92MB [2022-10-10T18:24:14.509Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T18:24:14.509Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-10T18:24:14.509Z] ---> 3755f624274f [2022-10-10T18:24:14.509Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-10T18:24:14.770Z] ---> Running in bfc03b6025af [2022-10-10T18:24:14.770Z] Removing intermediate container bfc03b6025af [2022-10-10T18:24:14.770Z] ---> e3ded1439d9e [2022-10-10T18:24:14.770Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T18:24:14.770Z] ---> Running in 80e176015010 [2022-10-10T18:24:15.032Z] Removing intermediate container 80e176015010 [2022-10-10T18:24:15.032Z] ---> 21241078e984 [2022-10-10T18:24:15.032Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T18:24:15.032Z] ---> Running in bbc9e952646b [2022-10-10T18:24:15.032Z] Removing intermediate container bbc9e952646b [2022-10-10T18:24:15.032Z] ---> ab96ab3ac45a [2022-10-10T18:24:15.032Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T18:24:15.032Z] ---> Running in 46467fe5bafd [2022-10-10T18:24:15.032Z] Removing intermediate container 46467fe5bafd [2022-10-10T18:24:15.032Z] ---> ccea28a543ac [2022-10-10T18:24:15.032Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-10T18:24:15.032Z] ---> Running in 6485d83cc315 [2022-10-10T18:24:15.293Z] Removing intermediate container 6485d83cc315 [2022-10-10T18:24:15.293Z] ---> 6c9a3e7cdfec [2022-10-10T18:24:15.293Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T18:24:15.293Z] ---> Running in 9e5131f95f5e [2022-10-10T18:24:15.860Z] Removing intermediate container 9e5131f95f5e [2022-10-10T18:24:15.860Z] ---> 65869a638daa [2022-10-10T18:24:15.860Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T18:24:15.860Z] ---> Running in 9ff91d62ec2f [2022-10-10T18:24:16.118Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T18:24:16.687Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T18:24:17.267Z] OK: 211 MiB in 51 packages [2022-10-10T18:24:17.525Z] Removing intermediate container 9ff91d62ec2f [2022-10-10T18:24:17.525Z] ---> 9e50aae32fc4 [2022-10-10T18:24:17.525Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-10T18:24:17.525Z] ---> Running in 7834658c298e [2022-10-10T18:24:17.525Z] Removing intermediate container 7834658c298e [2022-10-10T18:24:17.525Z] ---> f9c516156fa0 [2022-10-10T18:24:17.525Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-10T18:24:17.783Z] ---> 9bbb08c7d8fe [2022-10-10T18:24:17.783Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T18:24:17.783Z] ---> Running in 1db4bbfd8ca2 [2022-10-10T18:24:18.353Z] Removing intermediate container 1db4bbfd8ca2 [2022-10-10T18:24:18.353Z] ---> 2f23d50a0ec8 [2022-10-10T18:24:18.353Z] Step 13/27 : COPY . . [2022-10-10T18:24:18.997Z] ---> 0c56552543ee [2022-10-10T18:24:18.997Z] Step 14/27 : RUN ${MAKE} [2022-10-10T18:24:18.997Z] ---> Running in 59094fbd50af [2022-10-10T18:24:19.255Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-10T18:24:41.174Z] Removing intermediate container 59094fbd50af [2022-10-10T18:24:41.174Z] ---> 33cdde164d40 [2022-10-10T18:24:41.174Z] Step 15/27 : FROM alpine:3.16 [2022-10-10T18:24:41.434Z] 3.16: Pulling from library/alpine [2022-10-10T18:24:41.693Z] 213ec9aee27d: Pulling fs layer [2022-10-10T18:24:41.952Z] 213ec9aee27d: Download complete [2022-10-10T18:24:41.952Z] 213ec9aee27d: Pull complete [2022-10-10T18:24:41.952Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T18:24:41.952Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T18:24:41.952Z] ---> 9c6f07244728 [2022-10-10T18:24:41.953Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-10T18:24:41.953Z] ---> Running in a25e58db3f7b [2022-10-10T18:24:42.212Z] Removing intermediate container a25e58db3f7b [2022-10-10T18:24:42.212Z] ---> e3923cd007b2 [2022-10-10T18:24:42.212Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T18:24:42.212Z] ---> Running in 6ce0ab392606 [2022-10-10T18:24:42.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T18:24:42.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T18:24:42.731Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T18:24:42.731Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T18:24:42.731Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T18:24:42.731Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T18:24:42.731Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T18:24:42.731Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T18:24:42.731Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T18:24:42.731Z] OK: 8 MiB in 20 packages [2022-10-10T18:24:43.299Z] Removing intermediate container 6ce0ab392606 [2022-10-10T18:24:43.299Z] ---> 1a65aad7909f [2022-10-10T18:24:43.299Z] Step 18/27 : WORKDIR / [2022-10-10T18:24:43.299Z] ---> Running in edba52c25861 [2022-10-10T18:24:43.299Z] Removing intermediate container edba52c25861 [2022-10-10T18:24:43.299Z] ---> 4583367ce75b [2022-10-10T18:24:43.299Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-10T18:24:44.236Z] ---> ef9c5e4a3ee4 [2022-10-10T18:24:44.236Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-10T18:24:44.236Z] ---> 9ad5d2721036 [2022-10-10T18:24:44.236Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-10T18:24:44.236Z] ---> 019d9cfc3b8a [2022-10-10T18:24:44.236Z] Step 22/27 : EXPOSE 59984 [2022-10-10T18:24:44.236Z] ---> Running in cdac46ad03f0 [2022-10-10T18:24:44.236Z] Removing intermediate container cdac46ad03f0 [2022-10-10T18:24:44.236Z] ---> 00ae0058916d [2022-10-10T18:24:44.236Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-10T18:24:44.494Z] ---> Running in 5320d9f79793 [2022-10-10T18:24:44.494Z] Removing intermediate container 5320d9f79793 [2022-10-10T18:24:44.494Z] ---> b352db65a965 [2022-10-10T18:24:44.494Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T18:24:44.494Z] ---> Running in d4f79245a14d [2022-10-10T18:24:44.494Z] Removing intermediate container d4f79245a14d [2022-10-10T18:24:44.494Z] ---> 7750f81475f1 [2022-10-10T18:24:44.494Z] Step 25/27 : LABEL arch=amd64 [2022-10-10T18:24:44.494Z] ---> Running in 09ffb9c69d00 [2022-10-10T18:24:44.753Z] Removing intermediate container 09ffb9c69d00 [2022-10-10T18:24:44.753Z] ---> 5a2eb61ad89c [2022-10-10T18:24:44.753Z] Step 26/27 : LABEL git_sha=72c4c4c250e2bbea19f542fbc8589bd260d79f24 [2022-10-10T18:24:44.753Z] ---> Running in e77f2d40a028 [2022-10-10T18:24:44.753Z] Removing intermediate container e77f2d40a028 [2022-10-10T18:24:44.753Z] ---> 6d696cc8a752 [2022-10-10T18:24:44.753Z] Step 27/27 : LABEL version=0.0.0 [2022-10-10T18:24:44.753Z] ---> Running in 2770db3b734a [2022-10-10T18:24:44.753Z] Removing intermediate container 2770db3b734a [2022-10-10T18:24:44.753Z] ---> 6c3ae87b9ca6 [2022-10-10T18:24:44.753Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T18:24:44.753Z] Successfully built 6c3ae87b9ca6 [2022-10-10T18:24:44.753Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:24:45.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T18:24:45.188Z] [2022-10-10T18:24:45.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:24:45.492Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T18:24:45.492Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T18:24:45.492Z] 5eb5b503b376: Pulling fs layer [2022-10-10T18:24:45.492Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T18:24:45.492Z] ec43610c2a17: Pulling fs layer [2022-10-10T18:24:45.492Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T18:24:45.492Z] 33b1e0a273af: Pulling fs layer [2022-10-10T18:24:45.492Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T18:24:45.492Z] 2f39f015ded8: Pulling fs layer [2022-10-10T18:24:45.492Z] 3a2ae6a8a46f: Waiting [2022-10-10T18:24:45.492Z] 5d3b04190fa2: Waiting [2022-10-10T18:24:45.492Z] 33b1e0a273af: Waiting [2022-10-10T18:24:45.492Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T18:24:45.492Z] 3a2ae6a8a46f: Download complete [2022-10-10T18:24:45.751Z] 33b1e0a273af: Verifying Checksum [2022-10-10T18:24:45.751Z] 33b1e0a273af: Download complete [2022-10-10T18:24:45.751Z] 5d3b04190fa2: Verifying Checksum [2022-10-10T18:24:45.751Z] 5d3b04190fa2: Download complete [2022-10-10T18:24:45.751Z] ec43610c2a17: Verifying Checksum [2022-10-10T18:24:45.751Z] ec43610c2a17: Download complete [2022-10-10T18:24:45.751Z] 5eb5b503b376: Verifying Checksum [2022-10-10T18:24:45.751Z] 5eb5b503b376: Download complete [2022-10-10T18:24:46.684Z] 2f39f015ded8: Download complete [2022-10-10T18:24:46.941Z] 5eb5b503b376: Pull complete [2022-10-10T18:24:47.200Z] 5c69ac0246d0: Pull complete [2022-10-10T18:24:47.462Z] ec43610c2a17: Pull complete [2022-10-10T18:24:47.729Z] 3a2ae6a8a46f: Pull complete [2022-10-10T18:24:47.729Z] 33b1e0a273af: Pull complete [2022-10-10T18:24:48.008Z] 5d3b04190fa2: Pull complete [2022-10-10T18:24:48.676Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7555 in /w/workspace/undry_device-onvif-camera_PR-171 [Pipeline] { [Pipeline] ws [2022-10-10T18:24:48.687Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-10-10T18:24:48.723Z] The recommended git tool is: git [2022-10-10T18:24:52.265Z] 2f39f015ded8: Pull complete [2022-10-10T18:24:52.265Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T18:24:52.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T18:24:52.265Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:24:52.363Z] prd-ubuntu20.04-docker-8c-8g-7554 does not seem to be running inside a container [2022-10-10T18:24:52.428Z] $ 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-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T18:24:53.693Z] using credential edgex-jenkins-ssh [2022-10-10T18:24:53.709Z] Cloning the remote Git repository [2022-10-10T18:24:54.806Z] $ docker top 497c776bef9a77776b04c1fa03d28c6296f027888fc03b5881aa7d145938f125 -eo pid,comm [Pipeline] { [2022-10-10T18:24:53.755Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-10T18:24:53.831Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-10-10T18:24:53.959Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-10T18:24:53.959Z] > git --version # timeout=10 [2022-10-10T18:24:53.981Z] > git --version # 'git version 2.25.1' [2022-10-10T18:24:53.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T18:24:54.029Z] Verifying host key using known hosts file [2022-10-10T18:24:54.203Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T18:24:54.215Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:24:55.253Z] ---> job-cost.sh [2022-10-10T18:24:55.253Z] lf-activate-venv: SKIPPING [2022-10-10T18:24:55.253Z] INFO: No Stack... [2022-10-10T18:24:55.514Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T18:24:56.082Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T18:24:55.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-10T18:24:55.464Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T18:24:56.376Z] + cat /w/workspace/undry_device-onvif-camera_PR-171/archives/cost.csv [2022-10-10T18:24:56.376Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T18:24:56.390Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] [2022-10-10T18:24:56.399Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] did not exist. Created. [2022-10-10T18:24:56.399Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T18:24:56.718Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T18:24:56.743Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T18:24:56.750Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T18:24:56.766Z] $ docker stop --time=1 497c776bef9a77776b04c1fa03d28c6296f027888fc03b5881aa7d145938f125 [2022-10-10T18:24:57.014Z] Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit 0098c075bcc993362c49da90c8b4ea59cb51e9ec [2022-10-10T18:24:56.295Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-10T18:24:56.352Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-10T18:24:56.353Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T18:24:56.358Z] Verifying host key using known hosts file [2022-10-10T18:24:56.365Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T18:24:56.379Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T18:24:57.029Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T18:24:57.050Z] > git checkout -f 0098c075bcc993362c49da90c8b4ea59cb51e9ec # timeout=10 [2022-10-10T18:24:57.263Z] > git remote # timeout=10 [2022-10-10T18:24:57.280Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T18:24:57.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T18:24:57.298Z] Verifying host key using known hosts file [2022-10-10T18:24:57.302Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T18:24:57.311Z] > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 [2022-10-10T18:24:57.733Z] Merge succeeded, producing 7d903ae391fffcabcbc1ff83650844782f9aa216 [2022-10-10T18:24:57.733Z] Checking out Revision 7d903ae391fffcabcbc1ff83650844782f9aa216 (PR-171) [2022-10-10T18:24:57.924Z] $ docker rm -f 497c776bef9a77776b04c1fa03d28c6296f027888fc03b5881aa7d145938f125 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T18:24:57.710Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T18:24:57.735Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T18:24:57.745Z] > git checkout -f 7d903ae391fffcabcbc1ff83650844782f9aa216 # timeout=10 [2022-10-10T18:25:01.394Z] Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" [2022-10-10T18:25:01.422Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T18:25:01.399Z] > git rev-list --no-walk 3a896a9a9fef18f6179b9077942c70eae6bdba11 # timeout=10 [2022-10-10T18:25:02.337Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T18:25:02.337Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T18:25:02.337Z] Dload Upload Total Spent Left Speed [2022-10-10T18:25:02.337Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 72425 0 --:--:-- --:--:-- --:--:-- 72425 [Pipeline] sh [2022-10-10T18:25:03.069Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T18:25:03.393Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T18:25:03.393Z] + sudo tee /etc/docker/daemon.new [2022-10-10T18:25:03.393Z] { [2022-10-10T18:25:03.393Z] "registry-mirrors": [ [2022-10-10T18:25:03.393Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T18:25:03.393Z] ], [2022-10-10T18:25:03.393Z] "bip": "10.250.0.254/24", [2022-10-10T18:25:03.393Z] "hosts": [ [2022-10-10T18:25:03.393Z] "tcp://0.0.0.0:5555", [2022-10-10T18:25:03.393Z] "unix:///var/run/docker.sock" [2022-10-10T18:25:03.393Z] ], [2022-10-10T18:25:03.393Z] "mtu": 1458, [2022-10-10T18:25:03.393Z] "selinux-enabled": true, [2022-10-10T18:25:03.393Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T18:25:03.393Z] } [Pipeline] sh [2022-10-10T18:25:03.715Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T18:25:04.051Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T18:25:22.298Z] provisioning config files... [2022-10-10T18:25:22.322Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config8576635501043940858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:25:22.668Z] ---> docker-login.sh [2022-10-10T18:25:22.668Z] nexus3.edgexfoundry.org:10001 [2022-10-10T18:25:22.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:25:23.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:25:23.209Z] Configure a credential helper to remove this warning. See [2022-10-10T18:25:23.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:25:23.209Z] [2022-10-10T18:25:23.209Z] Login Succeeded [2022-10-10T18:25:23.209Z] nexus3.edgexfoundry.org:10002 [2022-10-10T18:25:23.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:25:23.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:25:23.479Z] Configure a credential helper to remove this warning. See [2022-10-10T18:25:23.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:25:23.479Z] [2022-10-10T18:25:23.479Z] Login Succeeded [2022-10-10T18:25:23.479Z] nexus3.edgexfoundry.org:10003 [2022-10-10T18:25:23.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:25:24.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:25:24.017Z] Configure a credential helper to remove this warning. See [2022-10-10T18:25:24.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:25:24.017Z] [2022-10-10T18:25:24.017Z] Login Succeeded [2022-10-10T18:25:24.017Z] nexus3.edgexfoundry.org:10004 [2022-10-10T18:25:24.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:25:24.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:25:24.288Z] Configure a credential helper to remove this warning. See [2022-10-10T18:25:24.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:25:24.288Z] [2022-10-10T18:25:24.288Z] Login Succeeded [2022-10-10T18:25:24.288Z] docker.io [2022-10-10T18:25:24.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:25:24.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:25:24.824Z] Configure a credential helper to remove this warning. See [2022-10-10T18:25:24.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:25:24.824Z] [2022-10-10T18:25:24.824Z] Login Succeeded [2022-10-10T18:25:24.824Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T18:25:24.838Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T18:25:24.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T18:25:25.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T18:25:25.007Z] ========================================================= [2022-10-10T18:25:25.007Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T18:25:25.007Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:25:25.351Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T18:25:25.951Z] Sending build context to Docker daemon 14.27MB [2022-10-10T18:25:25.951Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T18:25:25.951Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-10T18:25:25.951Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T18:25:25.951Z] b3c136eddcbf: Pulling fs layer [2022-10-10T18:25:25.951Z] c0a3192eca97: Pulling fs layer [2022-10-10T18:25:25.951Z] a050256f5b6f: Pulling fs layer [2022-10-10T18:25:25.951Z] 656be50a0ddc: Pulling fs layer [2022-10-10T18:25:25.951Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T18:25:25.951Z] f607e4fc86c3: Pulling fs layer [2022-10-10T18:25:25.951Z] 4d572c569a2c: Pulling fs layer [2022-10-10T18:25:25.951Z] fcf976331f73: Pulling fs layer [2022-10-10T18:25:25.951Z] f607e4fc86c3: Waiting [2022-10-10T18:25:25.951Z] 4d572c569a2c: Waiting [2022-10-10T18:25:25.951Z] fcf976331f73: Waiting [2022-10-10T18:25:25.951Z] 656be50a0ddc: Waiting [2022-10-10T18:25:25.951Z] 2bbca73fdf42: Waiting [2022-10-10T18:25:25.951Z] a050256f5b6f: Download complete [2022-10-10T18:25:25.951Z] c0a3192eca97: Download complete [2022-10-10T18:25:25.951Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T18:25:25.951Z] 2bbca73fdf42: Download complete [2022-10-10T18:25:25.951Z] f607e4fc86c3: Download complete [2022-10-10T18:25:25.951Z] b3c136eddcbf: Verifying Checksum [2022-10-10T18:25:25.951Z] b3c136eddcbf: Download complete [2022-10-10T18:25:26.940Z] b3c136eddcbf: Pull complete [2022-10-10T18:25:27.222Z] fcf976331f73: Verifying Checksum [2022-10-10T18:25:27.222Z] fcf976331f73: Download complete [2022-10-10T18:25:27.491Z] c0a3192eca97: Pull complete [2022-10-10T18:25:28.082Z] a050256f5b6f: Pull complete [2022-10-10T18:25:28.350Z] 4d572c569a2c: Verifying Checksum [2022-10-10T18:25:28.350Z] 4d572c569a2c: Download complete [2022-10-10T18:25:28.939Z] 656be50a0ddc: Verifying Checksum [2022-10-10T18:25:28.939Z] 656be50a0ddc: Download complete [2022-10-10T18:25:41.279Z] 656be50a0ddc: Pull complete [2022-10-10T18:25:41.279Z] 2bbca73fdf42: Pull complete [2022-10-10T18:25:41.546Z] f607e4fc86c3: Pull complete [2022-10-10T18:25:48.213Z] 4d572c569a2c: Pull complete [2022-10-10T18:25:50.178Z] fcf976331f73: Pull complete [2022-10-10T18:25:50.178Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T18:25:50.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T18:25:50.178Z] ---> 3970a7415f9e [2022-10-10T18:25:50.178Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-10T18:25:51.673Z] ---> Running in a27375780ba3 [2022-10-10T18:25:51.940Z] Removing intermediate container a27375780ba3 [2022-10-10T18:25:51.940Z] ---> 852983b93f91 [2022-10-10T18:25:51.940Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T18:25:51.940Z] ---> Running in 394a6f942e50 [2022-10-10T18:25:52.209Z] Removing intermediate container 394a6f942e50 [2022-10-10T18:25:52.209Z] ---> 5d30a08e6f40 [2022-10-10T18:25:52.209Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T18:25:52.209Z] ---> Running in e4b7cac8cba1 [2022-10-10T18:25:52.476Z] Removing intermediate container e4b7cac8cba1 [2022-10-10T18:25:52.476Z] ---> 3188989e5145 [2022-10-10T18:25:52.476Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T18:25:52.742Z] ---> Running in af235b407018 [2022-10-10T18:25:53.009Z] Removing intermediate container af235b407018 [2022-10-10T18:25:53.009Z] ---> 31fbaf03656c [2022-10-10T18:25:53.009Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-10T18:25:53.009Z] ---> Running in a9302c0ccb0d [2022-10-10T18:25:53.276Z] Removing intermediate container a9302c0ccb0d [2022-10-10T18:25:53.276Z] ---> 7c97861f7810 [2022-10-10T18:25:53.276Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T18:25:53.543Z] ---> Running in ce0a20d5a0f6 [2022-10-10T18:25:54.957Z] Removing intermediate container ce0a20d5a0f6 [2022-10-10T18:25:54.957Z] ---> 19e82875dea5 [2022-10-10T18:25:54.957Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T18:25:55.239Z] ---> Running in 712ec41b48e2 [2022-10-10T18:25:56.211Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T18:25:57.170Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T18:25:57.756Z] OK: 221 MiB in 51 packages [2022-10-10T18:25:58.720Z] Removing intermediate container 712ec41b48e2 [2022-10-10T18:25:58.720Z] ---> 2352552383ff [2022-10-10T18:25:58.720Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-10T18:25:58.720Z] ---> Running in f36796909621 [2022-10-10T18:25:58.987Z] Removing intermediate container f36796909621 [2022-10-10T18:25:58.987Z] ---> 89288152f7ca [2022-10-10T18:25:58.987Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-10T18:25:59.570Z] ---> 28459c7128f4 [2022-10-10T18:25:59.570Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T18:25:59.570Z] ---> Running in f728a567b34f [2022-10-10T18:26:55.981Z] Removing intermediate container f728a567b34f [2022-10-10T18:26:55.981Z] ---> 57e66520fa96 [2022-10-10T18:26:55.981Z] Step 13/14 : COPY . . [2022-10-10T18:26:55.981Z] ---> 5a12dba5742a [2022-10-10T18:26:55.981Z] Step 14/14 : RUN ${MAKE} [2022-10-10T18:26:55.981Z] ---> Running in c27be0ed34c3 [2022-10-10T18:26:55.981Z] noop [2022-10-10T18:26:55.981Z] Removing intermediate container c27be0ed34c3 [2022-10-10T18:26:55.981Z] ---> cc075ddc5846 [2022-10-10T18:26:55.981Z] Successfully built cc075ddc5846 [2022-10-10T18:26:55.981Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:26:56.336Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T18:26:56.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:26:56.515Z] prd-ubuntu20.04-docker-arm64-4c-16g-7555 does not seem to be running inside a container [2022-10-10T18:26:56.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T18:26:57.760Z] $ docker top 213176aa8dd7ef3f80443b6f7ca6a5e544f1a906f3251c8593d8daad0ed25995 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T18:26:58.583Z] + go version [2022-10-10T18:26:58.583Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T18:26:58.601Z] $ docker stop --time=1 213176aa8dd7ef3f80443b6f7ca6a5e544f1a906f3251c8593d8daad0ed25995 [2022-10-10T18:27:00.253Z] $ docker rm -f 213176aa8dd7ef3f80443b6f7ca6a5e544f1a906f3251c8593d8daad0ed25995 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:27:00.800Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T18:27:00.800Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:27:00.961Z] prd-ubuntu20.04-docker-arm64-4c-16g-7555 does not seem to be running inside a container [2022-10-10T18:27:01.018Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T18:27:02.181Z] $ docker top 59fc345f8f96487abaa3bf5a0902afb63a9bdf388349ac5451b7aac2a0cc7ecf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T18:27:03.008Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-10-10T18:27:03.338Z] + make test [2022-10-10T18:27:03.607Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T18:27:05.549Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-10T18:28:42.184Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-10T18:28:42.184Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.170s coverage: 28.2% of statements [2022-10-10T18:28:42.184Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-10T18:29:00.421Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.465s coverage: 86.5% of statements [2022-10-10T18:29:01.007Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T18:29:01.007Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T18:29:33.288Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T18:29:33.288Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T18:29:33.288Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T18:29:33.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T18:29:33.319Z] $ docker stop --time=1 59fc345f8f96487abaa3bf5a0902afb63a9bdf388349ac5451b7aac2a0cc7ecf [2022-10-10T18:29:35.321Z] $ docker rm -f 59fc345f8f96487abaa3bf5a0902afb63a9bdf388349ac5451b7aac2a0cc7ecf [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T18:29:36.329Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T18:29:36.351Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T18:29:36.890Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T18:29:37.253Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T18:29:37.665Z] + ls -al . [2022-10-10T18:29:37.665Z] total 232 [2022-10-10T18:29:37.665Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 18:27 . [2022-10-10T18:29:37.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:24 .. [2022-10-10T18:29:37.665Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 18:24 .git [2022-10-10T18:29:37.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 18:24 .github [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 10 18:24 .gitignore [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 10 18:24 .golangci.yml [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 10 18:24 Attribution.txt [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 10 18:24 CHANGELOG.md [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 10 18:24 Dockerfile [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 18:24 GOVERNANCE.md [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 10 18:24 Jenkinsfile [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 10 18:24 LICENSE [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 10 18:24 Makefile [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 10 18:24 OWNERS.md [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 10 18:24 README.md [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 18:23 VERSION [2022-10-10T18:29:37.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 18:24 bin [2022-10-10T18:29:37.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 18:24 cmd [2022-10-10T18:29:37.665Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 10 18:29 coverage.out [2022-10-10T18:29:37.665Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 10 18:24 doc [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 10 18:24 go.mod [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 10 18:24 go.sum [2022-10-10T18:29:37.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:24 internal [2022-10-10T18:29:37.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:24 snap [2022-10-10T18:29:37.665Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 10 18:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:29:38.031Z] + 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=7d903ae391fffcabcbc1ff83650844782f9aa216 --label arch=arm64 --label version=0.0.0 . [2022-10-10T18:29:40.053Z] Sending build context to Docker daemon 14.35MB [2022-10-10T18:29:40.053Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T18:29:40.053Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-10T18:29:40.053Z] ---> cc075ddc5846 [2022-10-10T18:29:40.053Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-10T18:29:40.053Z] ---> Running in 6d0bf7136531 [2022-10-10T18:29:40.645Z] Removing intermediate container 6d0bf7136531 [2022-10-10T18:29:40.645Z] ---> 10defa8be928 [2022-10-10T18:29:40.645Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T18:29:40.645Z] ---> Running in 9afa9e662423 [2022-10-10T18:29:40.921Z] Removing intermediate container 9afa9e662423 [2022-10-10T18:29:40.921Z] ---> cf52911024b5 [2022-10-10T18:29:40.921Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T18:29:40.921Z] ---> Running in b059bf43a075 [2022-10-10T18:29:41.513Z] Removing intermediate container b059bf43a075 [2022-10-10T18:29:41.513Z] ---> b22ac0111256 [2022-10-10T18:29:41.513Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T18:29:41.513Z] ---> Running in 2d12d40c72a7 [2022-10-10T18:29:41.782Z] Removing intermediate container 2d12d40c72a7 [2022-10-10T18:29:41.782Z] ---> 3e3e2eab4ed9 [2022-10-10T18:29:41.782Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-10T18:29:42.050Z] ---> Running in 02f8825c4488 [2022-10-10T18:29:42.319Z] Removing intermediate container 02f8825c4488 [2022-10-10T18:29:42.319Z] ---> 6b36222e81c9 [2022-10-10T18:29:42.319Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T18:29:42.319Z] ---> Running in 6906d8863a3e [2022-10-10T18:29:44.271Z] Removing intermediate container 6906d8863a3e [2022-10-10T18:29:44.271Z] ---> cd6c4a807711 [2022-10-10T18:29:44.271Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T18:29:44.271Z] ---> Running in 36ded9435b87 [2022-10-10T18:29:45.682Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T18:29:46.637Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T18:29:47.593Z] OK: 221 MiB in 51 packages [2022-10-10T18:29:48.558Z] Removing intermediate container 36ded9435b87 [2022-10-10T18:29:48.558Z] ---> a65a250c8e40 [2022-10-10T18:29:48.558Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-10T18:29:48.558Z] ---> Running in 3387be46f876 [2022-10-10T18:29:48.826Z] Removing intermediate container 3387be46f876 [2022-10-10T18:29:48.826Z] ---> ea42587dc3db [2022-10-10T18:29:48.826Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-10T18:29:49.416Z] ---> dc8e0bc0ecc6 [2022-10-10T18:29:49.416Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T18:29:49.416Z] ---> Running in b91e5cd9cc6e [2022-10-10T18:29:52.006Z] Removing intermediate container b91e5cd9cc6e [2022-10-10T18:29:52.006Z] ---> 6ef990cd3f9d [2022-10-10T18:29:52.006Z] Step 13/27 : COPY . . [2022-10-10T18:29:55.362Z] ---> 4ad5f5f8bcd6 [2022-10-10T18:29:55.362Z] Step 14/27 : RUN ${MAKE} [2022-10-10T18:29:55.362Z] ---> Running in 6b7e1cb43db2 [2022-10-10T18:29:56.765Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-10T18:32:18.478Z] Removing intermediate container 6b7e1cb43db2 [2022-10-10T18:32:18.478Z] ---> ad8cdde1630e [2022-10-10T18:32:18.478Z] Step 15/27 : FROM alpine:3.16 [2022-10-10T18:32:18.478Z] 3.16: Pulling from library/alpine [2022-10-10T18:32:18.478Z] 9b18e9b68314: Pulling fs layer [2022-10-10T18:32:18.478Z] 9b18e9b68314: Verifying Checksum [2022-10-10T18:32:18.478Z] 9b18e9b68314: Download complete [2022-10-10T18:32:18.478Z] 9b18e9b68314: Pull complete [2022-10-10T18:32:18.478Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T18:32:18.478Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T18:32:18.478Z] ---> a6215f271958 [2022-10-10T18:32:18.478Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-10T18:32:18.478Z] ---> Running in ac85f19f60a1 [2022-10-10T18:32:18.478Z] Removing intermediate container ac85f19f60a1 [2022-10-10T18:32:18.478Z] ---> 7ed6ca72a4da [2022-10-10T18:32:18.478Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T18:32:18.478Z] ---> Running in 9f08978e851e [2022-10-10T18:32:18.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T18:32:18.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T18:32:18.478Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T18:32:18.478Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T18:32:18.478Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T18:32:18.478Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T18:32:18.478Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T18:32:18.478Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T18:32:18.478Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T18:32:18.478Z] OK: 8 MiB in 20 packages [2022-10-10T18:32:18.478Z] Removing intermediate container 9f08978e851e [2022-10-10T18:32:18.478Z] ---> 4be29f05d367 [2022-10-10T18:32:18.478Z] Step 18/27 : WORKDIR / [2022-10-10T18:32:18.478Z] ---> Running in a4aa19ac9e0f [2022-10-10T18:32:18.745Z] Removing intermediate container a4aa19ac9e0f [2022-10-10T18:32:18.745Z] ---> 1ee894cc3ac7 [2022-10-10T18:32:18.745Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-10T18:32:20.154Z] ---> a3fba499dc85 [2022-10-10T18:32:20.154Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-10T18:32:20.737Z] ---> 5508573bc802 [2022-10-10T18:32:20.737Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-10T18:32:21.328Z] ---> 5113806d79df [2022-10-10T18:32:21.328Z] Step 22/27 : EXPOSE 59984 [2022-10-10T18:32:21.328Z] ---> Running in 9373b904f044 [2022-10-10T18:32:21.595Z] Removing intermediate container 9373b904f044 [2022-10-10T18:32:21.595Z] ---> 37acdb8da8f7 [2022-10-10T18:32:21.595Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-10T18:32:21.595Z] ---> Running in 61093343dd44 [2022-10-10T18:32:21.862Z] Removing intermediate container 61093343dd44 [2022-10-10T18:32:21.862Z] ---> 225231331c1a [2022-10-10T18:32:21.862Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T18:32:21.862Z] ---> Running in 0b37f1670fe2 [2022-10-10T18:32:22.130Z] Removing intermediate container 0b37f1670fe2 [2022-10-10T18:32:22.130Z] ---> 2f0ace69de2c [2022-10-10T18:32:22.130Z] Step 25/27 : LABEL arch=arm64 [2022-10-10T18:32:22.396Z] ---> Running in 0393fc1c5ff2 [2022-10-10T18:32:22.663Z] Removing intermediate container 0393fc1c5ff2 [2022-10-10T18:32:22.663Z] ---> 5557281f70f8 [2022-10-10T18:32:22.663Z] Step 26/27 : LABEL git_sha=7d903ae391fffcabcbc1ff83650844782f9aa216 [2022-10-10T18:32:22.663Z] ---> Running in 8917faa26541 [2022-10-10T18:32:22.931Z] Removing intermediate container 8917faa26541 [2022-10-10T18:32:22.931Z] ---> b7ed3ed758f1 [2022-10-10T18:32:22.931Z] Step 27/27 : LABEL version=0.0.0 [2022-10-10T18:32:22.931Z] ---> Running in c94e5770ccaa [2022-10-10T18:32:23.198Z] Removing intermediate container c94e5770ccaa [2022-10-10T18:32:23.198Z] ---> a6bf9f0b905c [2022-10-10T18:32:23.198Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T18:32:23.198Z] Successfully built a6bf9f0b905c [2022-10-10T18:32:23.198Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:32:23.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T18:32:23.624Z] [2022-10-10T18:32:23.624Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:32:23.954Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T18:32:23.954Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T18:32:23.954Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T18:32:23.954Z] 04944245beec: Pulling fs layer [2022-10-10T18:32:23.954Z] 699f458cf7ca: Pulling fs layer [2022-10-10T18:32:23.954Z] 765212b225bb: Pulling fs layer [2022-10-10T18:32:23.954Z] f23df028b6ca: Pulling fs layer [2022-10-10T18:32:23.954Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T18:32:23.954Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T18:32:23.954Z] 765212b225bb: Waiting [2022-10-10T18:32:23.954Z] f23df028b6ca: Waiting [2022-10-10T18:32:23.954Z] d65c8cfc05b1: Waiting [2022-10-10T18:32:23.954Z] 2437ff75d9bd: Waiting [2022-10-10T18:32:24.222Z] 04944245beec: Verifying Checksum [2022-10-10T18:32:24.222Z] 04944245beec: Download complete [2022-10-10T18:32:24.222Z] 765212b225bb: Verifying Checksum [2022-10-10T18:32:24.222Z] 765212b225bb: Download complete [2022-10-10T18:32:24.223Z] f23df028b6ca: Download complete [2022-10-10T18:32:24.223Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T18:32:24.223Z] d65c8cfc05b1: Download complete [2022-10-10T18:32:24.223Z] 699f458cf7ca: Verifying Checksum [2022-10-10T18:32:24.223Z] 699f458cf7ca: Download complete [2022-10-10T18:32:24.807Z] 8998bd30e6a1: Verifying Checksum [2022-10-10T18:32:24.807Z] 8998bd30e6a1: Download complete [2022-10-10T18:32:27.385Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T18:32:27.385Z] 2437ff75d9bd: Download complete [2022-10-10T18:32:28.793Z] 8998bd30e6a1: Pull complete [2022-10-10T18:32:29.059Z] 04944245beec: Pull complete [2022-10-10T18:32:30.467Z] 699f458cf7ca: Pull complete [2022-10-10T18:32:30.733Z] 765212b225bb: Pull complete [2022-10-10T18:32:31.316Z] f23df028b6ca: Pull complete [2022-10-10T18:32:31.584Z] d65c8cfc05b1: Pull complete [2022-10-10T18:32:46.570Z] 2437ff75d9bd: Pull complete [2022-10-10T18:32:46.570Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T18:32:46.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T18:32:46.570Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:32:46.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-7555 does not seem to be running inside a container [2022-10-10T18:32:46.801Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-10T18:32:49.346Z] $ docker top e3f8be7eba2896ea56e0c2379617705348f275db009b85ec9280d4b2f52e6cbb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:32:50.171Z] ---> job-cost.sh [2022-10-10T18:32:50.171Z] lf-activate-venv: SKIPPING [2022-10-10T18:32:50.171Z] INFO: No Stack... [2022-10-10T18:32:50.435Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T18:32:51.387Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T18:32:51.699Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2022-10-10T18:32:51.699Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T18:32:52.025Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] [2022-10-10T18:32:52.033Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] did not exist. Created. [2022-10-10T18:32:52.033Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T18:32:52.367Z] /w/workspace/device-onvif-camera/2@tmp/durable-6ef6b9ea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T18:32:52.693Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T18:32:52.718Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T18:32:52.773Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T18:32:52.780Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T18:32:52.793Z] $ docker stop --time=1 e3f8be7eba2896ea56e0c2379617705348f275db009b85ec9280d4b2f52e6cbb [2022-10-10T18:32:54.263Z] $ docker rm -f e3f8be7eba2896ea56e0c2379617705348f275db009b85ec9280d4b2f52e6cbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-10T18:32:54.614Z] provisioning config files... [2022-10-10T18:32:54.621Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config1221904536736338106tmp [Pipeline] { [Pipeline] sh [2022-10-10T18:32:54.912Z] + set +x [2022-10-10T18:32:54.912Z] + curl -s https://codecov.io/bash [2022-10-10T18:32:54.912Z] + bash -s -- [2022-10-10T18:32:54.912Z] [2022-10-10T18:32:54.912Z] _____ _ [2022-10-10T18:32:54.912Z] / ____| | | [2022-10-10T18:32:54.912Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T18:32:54.912Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T18:32:54.912Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T18:32:54.912Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T18:32:54.912Z] Bash-1.0.6 [2022-10-10T18:32:54.912Z] [2022-10-10T18:32:54.912Z] [2022-10-10T18:32:54.912Z] ==> git version 2.25.1 found [2022-10-10T18:32:54.912Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-10T18:32:54.912Z] Release-Date: 2020-01-08 [2022-10-10T18:32:54.912Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-10T18:32:54.912Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T18:32:54.912Z] ==> Jenkins CI detected. [2022-10-10T18:32:54.912Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-171 [2022-10-10T18:32:54.912Z] project root: . [2022-10-10T18:32:54.912Z] --> token set from env [2022-10-10T18:32:54.912Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T18:32:54.912Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T18:32:54.912Z] ==> Python coveragepy not found [2022-10-10T18:32:54.912Z] ==> Searching for coverage reports in: [2022-10-10T18:32:54.912Z] + . [2022-10-10T18:32:54.912Z] -> Found 1 reports [2022-10-10T18:32:54.912Z] ==> Detecting git/mercurial file structure [2022-10-10T18:32:55.171Z] ==> Reading reports [2022-10-10T18:32:55.171Z] + ./coverage.out bytes=78461 [2022-10-10T18:32:55.171Z] ==> Appending adjustments [2022-10-10T18:32:55.171Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T18:32:55.171Z] + Found adjustments [2022-10-10T18:32:55.171Z] ==> Gzipping contents [2022-10-10T18:32:55.171Z] 12K /tmp/codecov.qYhBPc.gz [2022-10-10T18:32:55.171Z] ==> Uploading reports [2022-10-10T18:32:55.171Z] url: https://codecov.io [2022-10-10T18:32:55.171Z] query: branch=PR-171&commit=72c4c4c250e2bbea19f542fbc8589bd260d79f24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-171%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=171&job=&cmd_args= [2022-10-10T18:32:55.171Z] -> Pinging Codecov [2022-10-10T18:32:55.171Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-171&commit=72c4c4c250e2bbea19f542fbc8589bd260d79f24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-171%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=171&job=&cmd_args= [2022-10-10T18:32:55.738Z] -> Uploading to [2022-10-10T18:32:55.738Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/F29A59C45E3A92E06B3E522C9905F8EF/72c4c4c250e2bbea19f542fbc8589bd260d79f24/f218e2f2-52cd-4406-bb70-4254bdcfa13f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T183255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42fe3267fe926cb452cafee9c69bea018eb4b6d4a3dd033cf11e2741b876351f [2022-10-10T18:32:55.738Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T18:32:55.738Z] Dload Upload Total Spent Left Speed [2022-10-10T18:32:55.738Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10756 0 0 100 10756 0 45576 --:--:-- --:--:-- --:--:-- 45383 [2022-10-10T18:32:55.738Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/72c4c4c250e2bbea19f542fbc8589bd260d79f24 [Pipeline] } [2022-10-10T18:32:55.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-10T18:32:56.396Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-171/archives ] [2022-10-10T18:32:56.396Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-171/archives [2022-10-10T18:32:56.396Z] total 16 [2022-10-10T18:32:56.396Z] drwxr-xr-x 3 root root 4096 Oct 10 18:24 . [2022-10-10T18:32:56.396Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 18:24 .. [2022-10-10T18:32:56.396Z] drwxr-xr-x 2 root root 4096 Oct 10 18:24 cost [2022-10-10T18:32:56.396Z] -rw-r--r-- 1 root root 91 Oct 10 18:24 cost.csv [2022-10-10T18:32:56.396Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-171/archives [2022-10-10T18:32:56.396Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-171/archives [2022-10-10T18:32:56.396Z] total 16 [2022-10-10T18:32:56.396Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 18:24 . [2022-10-10T18:32:56.396Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 18:24 .. [2022-10-10T18:32:56.396Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 18:24 cost [2022-10-10T18:32:56.396Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 10 18:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:32:56.685Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:32:57.543Z] ---> package-listing.sh [2022-10-10T18:32:57.543Z] ++ facter osfamily [2022-10-10T18:32:57.543Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T18:32:57.802Z] + OS_FAMILY=debian [2022-10-10T18:32:57.802Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-171 [2022-10-10T18:32:57.802Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T18:32:57.802Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T18:32:57.802Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T18:32:57.802Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T18:32:57.802Z] + '[' /w/workspace/undry_device-onvif-camera_PR-171 ']' [2022-10-10T18:32:57.802Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T18:32:57.802Z] + case "${OS_FAMILY}" in [2022-10-10T18:32:57.802Z] + dpkg -l [2022-10-10T18:32:57.802Z] + grep '^ii' [2022-10-10T18:32:57.802Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T18:32:57.802Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T18:32:57.802Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T18:32:57.802Z] + '[' /w/workspace/undry_device-onvif-camera_PR-171 ']' [2022-10-10T18:32:57.802Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-171/archives/ [2022-10-10T18:32:57.802Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-171/archives/ [Pipeline] echo [2022-10-10T18:32:57.814Z] 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-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T18:32:58.092Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:32:58.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T18:32:58.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:32:58.711Z] prd-ubuntu20.04-docker-8c-8g-7554 does not seem to be running inside a container [2022-10-10T18:32:58.742Z] $ 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-171/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-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T18:32:58.931Z] $ docker top 77427929e780eb9b5942f7c557c73eeedf1684cd962842d428f7f81c4a44dd29 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T18:32:59.270Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T18:32:59.555Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T18:32:59.837Z] + ls /var/log/sa-host [2022-10-10T18:32:59.837Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T18:32:59.983Z] provisioning config files... [2022-10-10T18:32:59.991Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config18309849881774331249tmp [Pipeline] { [Pipeline] echo [2022-10-10T18:33:00.002Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:33:00.283Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T18:33:00.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:33:00.616Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T18:33:00.624Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:33:00.907Z] ---> sudo-logs.sh [2022-10-10T18:33:00.907Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T18:33:00.930Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:33:01.213Z] ---> job-cost.sh [2022-10-10T18:33:01.213Z] lf-activate-venv: SKIPPING [2022-10-10T18:33:01.213Z] DEBUG: total: 0.2199999988079071 [2022-10-10T18:33:01.213Z] INFO: Retrieving Stack Cost... [2022-10-10T18:33:01.472Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T18:33:02.042Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T18:33:02.052Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:33:02.338Z] ---> logs-deploy.sh [2022-10-10T18:33:02.338Z] lf-activate-venv: SKIPPING [2022-10-10T18:33:02.338Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-171/2 [2022-10-10T18:33:02.338Z] INFO: archiving workspace using pattern(s): [2022-10-10T18:33:03.276Z] Archives upload complete. [2022-10-10T18:33:03.276Z] INFO: archiving logs to Nexus