Pull request #174 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 66447988b5970b64981174d7c941281712afb8e7 rather than d4eb940c70f9fc45a3d8abe2ed98aeea5a2aed78 Obtained Jenkinsfile from 66447988b5970b64981174d7c941281712afb8e7 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-ssh18210635940883468658.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-ssh17692585542950425302.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-174/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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3377199933718146616.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-ssh16898647820631981935.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-174/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-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16059430033921855098.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 ‘prd-ubuntu20.04-docker-8c-8g-7748’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7750 in /w/workspace/undry_device-onvif-camera_PR-174 [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-174 # 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/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 66447988b5970b64981174d7c941281712afb8e7 into PR head commit d4eb940c70f9fc45a3d8abe2ed98aeea5a2aed78 Merge succeeded, producing cdf18c6f139d843ca6c241faffb742aa16eb3e48 Checking out Revision cdf18c6f139d843ca6c241faffb742aa16eb3e48 (PR-174) > git config core.sparsecheckout # timeout=10 > git checkout -f d4eb940c70f9fc45a3d8abe2ed98aeea5a2aed78 # 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 66447988b5970b64981174d7c941281712afb8e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdf18c6f139d843ca6c241faffb742aa16eb3e48 # timeout=10 Commit message: "Merge commit '66447988b5970b64981174d7c941281712afb8e7' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-12T13:02:46.440Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-12T13:02:46.515Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-12T13:02:46.532Z] ========================================================= [2022-10-12T13:02:46.532Z] EdgeX Global Pipelines Version Info [2022-10-12T13:02:46.532Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 185109018fe04e04d048a5b865df7b17774e4144 # timeout=10 [2022-10-12T13:02:47.251Z] ------------------- [2022-10-12T13:02:47.251Z] stable info: [2022-10-12T13:02:47.252Z] ------------------- [2022-10-12T13:02:47.252Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-12T13:02:47.252Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T13:02:47.252Z] Message: update stable to v1.0.239 [2022-10-12T13:02:47.821Z] ------------------- [2022-10-12T13:02:47.821Z] experimental info: [2022-10-12T13:02:47.821Z] ------------------- [2022-10-12T13:02:47.821Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-12T13:02:47.821Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T13:02:47.821Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-12T13:02:48.049Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-12T13:02:48.066Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-12T13:02:48.082Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-12T13:02:48.098Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-12T13:02:48.115Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-12T13:02:48.130Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-12T13:02:48.148Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-12T13:02:48.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-12T13:02:48.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-12T13:02:48.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-12T13:02:48.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-12T13:02:48.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-12T13:02:48.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-12T13:02:48.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-12T13:02:48.291Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T13:02:48.308Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T13:02:48.325Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T13:02:48.343Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T13:02:48.358Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-12T13:02:48.378Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-12T13:02:48.397Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-12T13:02:48.424Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-12T13:02:48.445Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-12T13:02:48.464Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-12T13:02:48.483Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-12T13:02:48.499Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-12T13:02:48.520Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-12T13:02:48.537Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo [2022-10-12T13:02:48.554Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo [2022-10-12T13:02:48.568Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo [2022-10-12T13:02:48.584Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdf18c6f139d843ca6c241faffb742aa16eb3e48 [Pipeline] echo [2022-10-12T13:02:48.602Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdf18c6 [Pipeline] echo [2022-10-12T13:02:48.618Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T13:02:48.677Z] provisioning config files... [2022-10-12T13:02:48.694Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config4247150865547268339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T13:02:49.002Z] ---> docker-login.sh [2022-10-12T13:02:49.002Z] nexus3.edgexfoundry.org:10001 [2022-10-12T13:02:49.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:02:49.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:02:49.262Z] Configure a credential helper to remove this warning. See [2022-10-12T13:02:49.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:02:49.262Z] [2022-10-12T13:02:49.262Z] Login Succeeded [2022-10-12T13:02:49.262Z] nexus3.edgexfoundry.org:10002 [2022-10-12T13:02:49.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:02:49.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:02:49.262Z] Configure a credential helper to remove this warning. See [2022-10-12T13:02:49.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:02:49.262Z] [2022-10-12T13:02:49.262Z] Login Succeeded [2022-10-12T13:02:49.262Z] nexus3.edgexfoundry.org:10003 [2022-10-12T13:02:49.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:02:49.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:02:49.523Z] Configure a credential helper to remove this warning. See [2022-10-12T13:02:49.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:02:49.523Z] [2022-10-12T13:02:49.523Z] Login Succeeded [2022-10-12T13:02:49.523Z] nexus3.edgexfoundry.org:10004 [2022-10-12T13:02:49.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:02:49.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:02:49.523Z] Configure a credential helper to remove this warning. See [2022-10-12T13:02:49.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:02:49.523Z] [2022-10-12T13:02:49.523Z] Login Succeeded [2022-10-12T13:02:49.523Z] docker.io [2022-10-12T13:02:49.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:02:50.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:02:50.094Z] Configure a credential helper to remove this warning. See [2022-10-12T13:02:50.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:02:50.094Z] [2022-10-12T13:02:50.094Z] Login Succeeded [2022-10-12T13:02:50.094Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T13:02:50.103Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-12T13:02:50.495Z] + git rev-list -1 --merges cdf18c6f139d843ca6c241faffb742aa16eb3e48~1..cdf18c6f139d843ca6c241faffb742aa16eb3e48 [Pipeline] echo [2022-10-12T13:02:50.520Z] -----------> git rev-list -1 --merges cdf18c6f139d843ca6c241faffb742aa16eb3e48~1..cdf18c6f139d843ca6c241faffb742aa16eb3e48 cdf18c6f139d843ca6c241faffb742aa16eb3e48 [2022-10-12T13:02:50.520Z] cdf18c6f139d843ca6c241faffb742aa16eb3e48 [false] [Pipeline] sh [2022-10-12T13:02:50.811Z] + git log --format=format:%s -1 cdf18c6f139d843ca6c241faffb742aa16eb3e48 [Pipeline] echo [2022-10-12T13:02:50.825Z] ========================================================= [2022-10-12T13:02:50.825Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-12T13:02:50.825Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T13:02:51.168Z] + git log --format=format:%s -1 cdf18c6f139d843ca6c241faffb742aa16eb3e48 [Pipeline] echo [2022-10-12T13:02:51.179Z] [semverPrep] GIT_COMMIT: cdf18c6f139d843ca6c241faffb742aa16eb3e48, Commit Message: Merge commit '66447988b5970b64981174d7c941281712afb8e7' into HEAD [Pipeline] echo [2022-10-12T13:02:51.188Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-12T13:02:51.615Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-12T13:02:51.615Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-12T13:02:51.615Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-12T13:02:51.615Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-12T13:02:51.615Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-12T13:02:51.615Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-12T13:02:51.615Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T13:02:52.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T13:02:52.094Z] [2022-10-12T13:02:52.094Z] 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-12T13:02:52.396Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T13:02:52.397Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-12T13:02:52.397Z] b85a868b505f: Pulling fs layer [2022-10-12T13:02:52.397Z] e2be974225ed: Pulling fs layer [2022-10-12T13:02:52.397Z] 339a4e72a1f5: Pulling fs layer [2022-10-12T13:02:52.397Z] 988bab9f4d93: Pulling fs layer [2022-10-12T13:02:52.397Z] 1469e6f7b9e6: Pulling fs layer [2022-10-12T13:02:52.397Z] eaf3925da568: Pulling fs layer [2022-10-12T13:02:52.397Z] bab4dde63d76: Pulling fs layer [2022-10-12T13:02:52.397Z] bde34c3a00c8: Pulling fs layer [2022-10-12T13:02:52.397Z] b352a97aabf1: Pulling fs layer [2022-10-12T13:02:52.397Z] 4872d77fe225: Pulling fs layer [2022-10-12T13:02:52.397Z] 5851b861e8e6: Pulling fs layer [2022-10-12T13:02:52.397Z] 988bab9f4d93: Waiting [2022-10-12T13:02:52.397Z] 1469e6f7b9e6: Waiting [2022-10-12T13:02:52.397Z] eaf3925da568: Waiting [2022-10-12T13:02:52.397Z] b352a97aabf1: Waiting [2022-10-12T13:02:52.397Z] bab4dde63d76: Waiting [2022-10-12T13:02:52.397Z] 4872d77fe225: Waiting [2022-10-12T13:02:52.397Z] 5851b861e8e6: Waiting [2022-10-12T13:02:52.397Z] bde34c3a00c8: Waiting [2022-10-12T13:02:52.397Z] e2be974225ed: Download complete [2022-10-12T13:02:52.397Z] 988bab9f4d93: Verifying Checksum [2022-10-12T13:02:52.397Z] 988bab9f4d93: Download complete [2022-10-12T13:02:52.663Z] 1469e6f7b9e6: Verifying Checksum [2022-10-12T13:02:52.663Z] 1469e6f7b9e6: Download complete [2022-10-12T13:02:52.663Z] eaf3925da568: Verifying Checksum [2022-10-12T13:02:52.663Z] eaf3925da568: Download complete [2022-10-12T13:02:52.663Z] 339a4e72a1f5: Verifying Checksum [2022-10-12T13:02:52.663Z] 339a4e72a1f5: Download complete [2022-10-12T13:02:52.663Z] bde34c3a00c8: Verifying Checksum [2022-10-12T13:02:52.663Z] bde34c3a00c8: Download complete [2022-10-12T13:02:52.663Z] b352a97aabf1: Verifying Checksum [2022-10-12T13:02:52.663Z] b352a97aabf1: Download complete [2022-10-12T13:02:52.663Z] 4872d77fe225: Verifying Checksum [2022-10-12T13:02:52.663Z] 4872d77fe225: Download complete [2022-10-12T13:02:52.663Z] 5851b861e8e6: Verifying Checksum [2022-10-12T13:02:52.663Z] 5851b861e8e6: Download complete [2022-10-12T13:02:52.663Z] b85a868b505f: Verifying Checksum [2022-10-12T13:02:52.663Z] b85a868b505f: Download complete [2022-10-12T13:02:52.922Z] bab4dde63d76: Verifying Checksum [2022-10-12T13:02:52.922Z] bab4dde63d76: Download complete [2022-10-12T13:02:53.856Z] b85a868b505f: Pull complete [2022-10-12T13:02:54.115Z] e2be974225ed: Pull complete [2022-10-12T13:02:54.373Z] 339a4e72a1f5: Pull complete [2022-10-12T13:02:54.631Z] 988bab9f4d93: Pull complete [2022-10-12T13:02:54.889Z] 1469e6f7b9e6: Pull complete [2022-10-12T13:02:54.889Z] eaf3925da568: Pull complete [2022-10-12T13:02:56.787Z] bab4dde63d76: Pull complete [2022-10-12T13:02:56.787Z] bde34c3a00c8: Pull complete [2022-10-12T13:02:56.787Z] b352a97aabf1: Pull complete [2022-10-12T13:02:56.787Z] 4872d77fe225: Pull complete [2022-10-12T13:02:56.787Z] 5851b861e8e6: Pull complete [2022-10-12T13:02:56.787Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-12T13:02:56.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T13:02:56.787Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T13:02:57.133Z] prd-ubuntu20.04-docker-8c-8g-7750 does not seem to be running inside a container [2022-10-12T13:02:57.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-12T13:02:58.716Z] $ docker top 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 -eo pid,comm [2022-10-12T13:02:58.776Z] 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-12T13:02:58.776Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-12T13:02:58.818Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T13:02:58.818Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T13:02:58.942Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T13:02:58.946Z] $ docker exec 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 ssh-agent [2022-10-12T13:02:59.049Z] SSH_AUTH_SOCK=/tmp/ssh-9TnCJs3wTltL/agent.32 [2022-10-12T13:02:59.049Z] SSH_AGENT_PID=38 [2022-10-12T13:02:59.056Z] Running ssh-add (command line suppressed) [2022-10-12T13:02:59.172Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_14379708082067737293.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_14379708082067737293.key) [2022-10-12T13:02:59.185Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T13:02:59.510Z] + git tag --points-at HEAD [Pipeline] } [2022-10-12T13:02:59.554Z] $ docker exec --env ******** --env ******** 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 ssh-agent -k [2022-10-12T13:02:59.658Z] unset SSH_AUTH_SOCK; [2022-10-12T13:02:59.659Z] unset SSH_AGENT_PID; [2022-10-12T13:02:59.659Z] echo Agent pid 38 killed; [2022-10-12T13:02:59.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-12T13:02:59.691Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T13:02:59.691Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T13:02:59.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T13:02:59.800Z] $ docker exec 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 ssh-agent [2022-10-12T13:02:59.926Z] SSH_AUTH_SOCK=/tmp/ssh-3BA9QyrllHDg/agent.70 [2022-10-12T13:02:59.926Z] SSH_AGENT_PID=76 [2022-10-12T13:02:59.930Z] Running ssh-add (command line suppressed) [2022-10-12T13:03:00.044Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_3600348082740607278.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_3600348082740607278.key) [2022-10-12T13:03:00.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T13:03:00.340Z] + git semver init [2022-10-12T13:03:00.599Z] 2022-10-12 13:03:00,535 [run_init] DEBUG init version:0.0.0 force:False [2022-10-12T13:03:00.599Z] 2022-10-12 13:03:00,535 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-174/.semver [2022-10-12T13:03:00.599Z] 2022-10-12 13:03:00,536 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-174/.semver [2022-10-12T13:03:00.599Z] 2022-10-12 13:03:00,536 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-174/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-174, universal_newlines=False, shell=None, istream=None) [2022-10-12T13:03:01.535Z] 2022-10-12 13:03:01,508 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-174/.git/info/exclude [2022-10-12T13:03:01.535Z] 2022-10-12 13:03:01,509 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 with force:False [2022-10-12T13:03:01.535Z] 2022-10-12 13:03:01,509 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-12T13:03:01.535Z] 2022-10-12 13:03:01,514 [execute] INFO git cat-file --batch-check [2022-10-12T13:03:01.535Z] 2022-10-12 13:03:01,514 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T13:03:01.535Z] 2022-10-12 13:03:01,521 [execute] INFO git cat-file --batch [2022-10-12T13:03:01.535Z] 2022-10-12 13:03:01,521 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T13:03:01.535Z] 2022-10-12 13:03:01,524 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-12T13:03:01.535Z] 0.0.0 [Pipeline] } [2022-10-12T13:03:01.806Z] $ docker exec --env ******** --env ******** 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 ssh-agent -k [2022-10-12T13:03:01.904Z] unset SSH_AUTH_SOCK; [2022-10-12T13:03:01.904Z] unset SSH_AGENT_PID; [2022-10-12T13:03:01.904Z] echo Agent pid 76 killed; [2022-10-12T13:03:01.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-12T13:03:02.229Z] + git semver [Pipeline] } [2022-10-12T13:03:02.500Z] $ docker stop --time=1 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 [2022-10-12T13:03:03.829Z] $ docker rm -f 64a0aa98d43305ba3c3d4f44ff52315af0d7b2a5abced752567a7771ac4e5074 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T13:03:04.175Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-12T13:03:04.343Z] Stashed 1 file(s) [Pipeline] echo [2022-10-12T13:03:04.346Z] [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-12T13:03:04.494Z] provisioning config files... [2022-10-12T13:03:04.503Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config7106892138744052067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T13:03:04.800Z] ---> docker-login.sh [2022-10-12T13:03:04.800Z] nexus3.edgexfoundry.org:10001 [2022-10-12T13:03:04.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:03:04.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:03:04.800Z] Configure a credential helper to remove this warning. See [2022-10-12T13:03:04.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:03:04.800Z] [2022-10-12T13:03:04.800Z] Login Succeeded [2022-10-12T13:03:04.800Z] nexus3.edgexfoundry.org:10002 [2022-10-12T13:03:04.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:03:04.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:03:04.800Z] Configure a credential helper to remove this warning. See [2022-10-12T13:03:04.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:03:04.800Z] [2022-10-12T13:03:04.800Z] Login Succeeded [2022-10-12T13:03:04.800Z] nexus3.edgexfoundry.org:10003 [2022-10-12T13:03:05.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:03:05.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:03:05.058Z] Configure a credential helper to remove this warning. See [2022-10-12T13:03:05.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:03:05.058Z] [2022-10-12T13:03:05.058Z] Login Succeeded [2022-10-12T13:03:05.058Z] nexus3.edgexfoundry.org:10004 [2022-10-12T13:03:05.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:03:05.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:03:05.058Z] Configure a credential helper to remove this warning. See [2022-10-12T13:03:05.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:03:05.058Z] [2022-10-12T13:03:05.058Z] Login Succeeded [2022-10-12T13:03:05.058Z] docker.io [2022-10-12T13:03:05.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:03:05.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:03:05.576Z] Configure a credential helper to remove this warning. See [2022-10-12T13:03:05.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:03:05.576Z] [2022-10-12T13:03:05.576Z] Login Succeeded [2022-10-12T13:03:05.576Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T13:03:05.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T13:03:05.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T13:03:05.658Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T13:03:05.670Z] ========================================================= [2022-10-12T13:03:05.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-12T13:03:05.670Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T13:03:05.997Z] + 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-12T13:03:05.997Z] Sending build context to Docker daemon 21.34MB [2022-10-12T13:03:05.997Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T13:03:05.997Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-12T13:03:05.997Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-12T13:03:05.997Z] 213ec9aee27d: Pulling fs layer [2022-10-12T13:03:05.997Z] 4583459ba037: Pulling fs layer [2022-10-12T13:03:05.997Z] 93c1e223e6f2: Pulling fs layer [2022-10-12T13:03:05.998Z] 53926ce57604: Pulling fs layer [2022-10-12T13:03:05.998Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-12T13:03:05.998Z] 30f14e443154: Pulling fs layer [2022-10-12T13:03:05.998Z] 801331c1e519: Pulling fs layer [2022-10-12T13:03:05.998Z] 99cc6dd402b0: Pulling fs layer [2022-10-12T13:03:05.998Z] 7d9ed39f4882: Pulling fs layer [2022-10-12T13:03:05.998Z] 53926ce57604: Waiting [2022-10-12T13:03:05.998Z] 801331c1e519: Waiting [2022-10-12T13:03:05.998Z] 99cc6dd402b0: Waiting [2022-10-12T13:03:05.998Z] 21b2b0c7a3f4: Waiting [2022-10-12T13:03:05.998Z] 30f14e443154: Waiting [2022-10-12T13:03:05.998Z] 7d9ed39f4882: Waiting [2022-10-12T13:03:05.998Z] 93c1e223e6f2: Verifying Checksum [2022-10-12T13:03:05.998Z] 93c1e223e6f2: Download complete [2022-10-12T13:03:06.261Z] 4583459ba037: Verifying Checksum [2022-10-12T13:03:06.261Z] 4583459ba037: Download complete [2022-10-12T13:03:06.261Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-12T13:03:06.261Z] 21b2b0c7a3f4: Download complete [2022-10-12T13:03:06.261Z] 30f14e443154: Verifying Checksum [2022-10-12T13:03:06.261Z] 30f14e443154: Download complete [2022-10-12T13:03:06.261Z] 213ec9aee27d: Download complete [2022-10-12T13:03:06.261Z] 801331c1e519: Download complete [2022-10-12T13:03:06.261Z] 213ec9aee27d: Pull complete [2022-10-12T13:03:06.525Z] 4583459ba037: Pull complete [2022-10-12T13:03:06.525Z] 93c1e223e6f2: Pull complete [2022-10-12T13:03:06.787Z] 7d9ed39f4882: Verifying Checksum [2022-10-12T13:03:06.787Z] 7d9ed39f4882: Download complete [2022-10-12T13:03:06.787Z] 99cc6dd402b0: Verifying Checksum [2022-10-12T13:03:06.787Z] 99cc6dd402b0: Download complete [2022-10-12T13:03:07.044Z] 53926ce57604: Verifying Checksum [2022-10-12T13:03:07.044Z] 53926ce57604: Download complete [2022-10-12T13:03:11.226Z] 53926ce57604: Pull complete [2022-10-12T13:03:11.226Z] 21b2b0c7a3f4: Pull complete [2022-10-12T13:03:11.226Z] 30f14e443154: Pull complete [2022-10-12T13:03:11.226Z] 801331c1e519: Pull complete [2022-10-12T13:03:12.597Z] 99cc6dd402b0: Pull complete [2022-10-12T13:03:13.531Z] 7d9ed39f4882: Pull complete [2022-10-12T13:03:13.531Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-12T13:03:13.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-12T13:03:13.531Z] ---> 1dedd983c030 [2022-10-12T13:03:13.531Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-12T13:03:15.435Z] ---> Running in deec77bd40e1 [2022-10-12T13:03:15.435Z] Removing intermediate container deec77bd40e1 [2022-10-12T13:03:15.435Z] ---> da3b4a6749fd [2022-10-12T13:03:15.435Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T13:03:15.435Z] ---> Running in f131c23fd56c [2022-10-12T13:03:15.435Z] Removing intermediate container f131c23fd56c [2022-10-12T13:03:15.435Z] ---> 1f8266a77b92 [2022-10-12T13:03:15.435Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T13:03:15.435Z] ---> Running in 9a07289a31d0 [2022-10-12T13:03:15.435Z] Removing intermediate container 9a07289a31d0 [2022-10-12T13:03:15.435Z] ---> cf6e44f3bbd9 [2022-10-12T13:03:15.435Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T13:03:15.692Z] ---> Running in 53905c4461e7 [2022-10-12T13:03:15.692Z] Removing intermediate container 53905c4461e7 [2022-10-12T13:03:15.692Z] ---> 41b0c2e08ea4 [2022-10-12T13:03:15.692Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-12T13:03:15.692Z] ---> Running in b6957d9b256a [2022-10-12T13:03:15.692Z] Removing intermediate container b6957d9b256a [2022-10-12T13:03:15.692Z] ---> e0fa6a577af1 [2022-10-12T13:03:15.692Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T13:03:15.692Z] ---> Running in 92b15d440f8c [2022-10-12T13:03:16.259Z] Removing intermediate container 92b15d440f8c [2022-10-12T13:03:16.259Z] ---> a7aa58732726 [2022-10-12T13:03:16.259Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T13:03:16.517Z] ---> Running in 06cf65bfd562 [2022-10-12T13:03:16.776Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T13:03:17.343Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T13:03:17.915Z] OK: 211 MiB in 51 packages [2022-10-12T13:03:18.174Z] Removing intermediate container 06cf65bfd562 [2022-10-12T13:03:18.174Z] ---> 76eb289abd4c [2022-10-12T13:03:18.174Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-12T13:03:18.174Z] ---> Running in 17bb14e2c738 [2022-10-12T13:03:18.174Z] Removing intermediate container 17bb14e2c738 [2022-10-12T13:03:18.174Z] ---> e040153a5b07 [2022-10-12T13:03:18.174Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-12T13:03:18.431Z] ---> 4d1c6d0e8c51 [2022-10-12T13:03:18.431Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T13:03:18.431Z] ---> Running in 8944d9fc158f [2022-10-12T13:03:19.460Z] Still waiting to schedule task [2022-10-12T13:03:19.460Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7749’ is offline [2022-10-12T13:03:36.511Z] Removing intermediate container 8944d9fc158f [2022-10-12T13:03:36.511Z] ---> 2539dcce2c6b [2022-10-12T13:03:36.511Z] Step 13/14 : COPY . . [2022-10-12T13:03:36.512Z] ---> 088a95b48960 [2022-10-12T13:03:36.512Z] Step 14/14 : RUN ${MAKE} [2022-10-12T13:03:36.512Z] ---> Running in 84bbfff3189a [2022-10-12T13:03:36.512Z] noop [2022-10-12T13:03:36.512Z] Removing intermediate container 84bbfff3189a [2022-10-12T13:03:36.512Z] ---> e42a7950a854 [2022-10-12T13:03:36.512Z] Successfully built e42a7950a854 [2022-10-12T13:03:36.512Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T13:03:36.813Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T13:03:36.813Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T13:03:36.881Z] prd-ubuntu20.04-docker-8c-8g-7750 does not seem to be running inside a container [2022-10-12T13:03:36.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-12T13:03:37.303Z] $ docker top d1709a60929369954b440ca6eb7e1dc0837f79e2c86765b58a941b93f8fc7721 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T13:03:37.641Z] + go version [2022-10-12T13:03:37.641Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-12T13:03:37.652Z] $ docker stop --time=1 d1709a60929369954b440ca6eb7e1dc0837f79e2c86765b58a941b93f8fc7721 [2022-10-12T13:03:38.943Z] $ docker rm -f d1709a60929369954b440ca6eb7e1dc0837f79e2c86765b58a941b93f8fc7721 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T13:03:39.358Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T13:03:39.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T13:03:39.424Z] prd-ubuntu20.04-docker-8c-8g-7750 does not seem to be running inside a container [2022-10-12T13:03:39.453Z] $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-12T13:03:39.776Z] $ docker top 19c4fab918828698a0a85e80ea8e264271553e5f9a1ce2ab6f09474f6adaff6d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T13:03:40.111Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] fileExists [Pipeline] sh [2022-10-12T13:03:40.406Z] + make test [2022-10-12T13:03:40.406Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-12T13:03:40.664Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-12T13:03:52.865Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-12T13:03:52.865Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements [2022-10-12T13:03:52.865Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-12T13:03:52.865Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.372s coverage: 86.5% of statements [2022-10-12T13:04:00.969Z] 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-12T13:04:00.969Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T13:04:03.497Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T13:04:03.497Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T13:04:03.497Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T13:04:03.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T13:04:03.522Z] $ docker stop --time=1 19c4fab918828698a0a85e80ea8e264271553e5f9a1ce2ab6f09474f6adaff6d [2022-10-12T13:04:05.377Z] $ docker rm -f 19c4fab918828698a0a85e80ea8e264271553e5f9a1ce2ab6f09474f6adaff6d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T13:04:05.819Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T13:04:05.864Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-12T13:04:06.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T13:04:06.685Z] + ls -al . [2022-10-12T13:04:06.685Z] total 236 [2022-10-12T13:04:06.685Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 13:03 . [2022-10-12T13:04:06.685Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 13:02 .. [2022-10-12T13:04:06.685Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 13:03 .git [2022-10-12T13:04:06.685Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 13:02 .github [2022-10-12T13:04:06.685Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 12 13:02 .gitignore [2022-10-12T13:04:06.685Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 13:02 .golangci.yml [2022-10-12T13:04:06.685Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 13:03 .semver [2022-10-12T13:04:06.685Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 13:02 Attribution.txt [2022-10-12T13:04:06.685Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 13:02 CHANGELOG.md [2022-10-12T13:04:06.685Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 13:02 Dockerfile [2022-10-12T13:04:06.685Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 13:02 GOVERNANCE.md [2022-10-12T13:04:06.685Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 13:02 Jenkinsfile [2022-10-12T13:04:06.685Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 13:02 LICENSE [2022-10-12T13:04:06.685Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 13:02 Makefile [2022-10-12T13:04:06.685Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 13:02 OWNERS.md [2022-10-12T13:04:06.685Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 13:02 README.md [2022-10-12T13:04:06.685Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 13:03 VERSION [2022-10-12T13:04:06.685Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 13:02 bin [2022-10-12T13:04:06.685Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 13:02 cmd [2022-10-12T13:04:06.685Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 13:03 coverage.out [2022-10-12T13:04:06.686Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 13:02 doc [2022-10-12T13:04:06.686Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 13:02 go.mod [2022-10-12T13:04:06.686Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 13:02 go.sum [2022-10-12T13:04:06.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 13:02 internal [2022-10-12T13:04:06.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 13:02 snap [2022-10-12T13:04:06.686Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 13:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T13:04:06.989Z] + 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=cdf18c6f139d843ca6c241faffb742aa16eb3e48 --label arch=amd64 --label version=0.0.0 . [2022-10-12T13:04:06.989Z] Sending build context to Docker daemon 21.42MB [2022-10-12T13:04:06.989Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T13:04:06.989Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-12T13:04:06.989Z] ---> e42a7950a854 [2022-10-12T13:04:06.989Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-12T13:04:07.249Z] ---> Running in b82cb1e4a304 [2022-10-12T13:04:07.249Z] Removing intermediate container b82cb1e4a304 [2022-10-12T13:04:07.249Z] ---> c7444750c84c [2022-10-12T13:04:07.249Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T13:04:07.249Z] ---> Running in 901f32e916ac [2022-10-12T13:04:07.249Z] Removing intermediate container 901f32e916ac [2022-10-12T13:04:07.249Z] ---> 727918477041 [2022-10-12T13:04:07.249Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T13:04:07.509Z] ---> Running in 7d7770babc58 [2022-10-12T13:04:07.509Z] Removing intermediate container 7d7770babc58 [2022-10-12T13:04:07.509Z] ---> 9faa41738155 [2022-10-12T13:04:07.509Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T13:04:07.509Z] ---> Running in de42e1848c77 [2022-10-12T13:04:07.768Z] Removing intermediate container de42e1848c77 [2022-10-12T13:04:07.768Z] ---> 0fa3d5774d51 [2022-10-12T13:04:07.768Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-12T13:04:07.768Z] ---> Running in adffeda7fa82 [2022-10-12T13:04:07.768Z] Removing intermediate container adffeda7fa82 [2022-10-12T13:04:07.768Z] ---> 47aca4811903 [2022-10-12T13:04:07.768Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T13:04:07.768Z] ---> Running in 0fddb866cd19 [2022-10-12T13:04:08.334Z] Removing intermediate container 0fddb866cd19 [2022-10-12T13:04:08.334Z] ---> 4f63230fb2d4 [2022-10-12T13:04:08.334Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T13:04:08.334Z] ---> Running in 8637081a06f1 [2022-10-12T13:04:08.593Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T13:04:09.530Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T13:04:09.790Z] OK: 211 MiB in 51 packages [2022-10-12T13:04:10.359Z] Removing intermediate container 8637081a06f1 [2022-10-12T13:04:10.359Z] ---> c6e6b42c18e9 [2022-10-12T13:04:10.359Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-12T13:04:10.359Z] ---> Running in 4002002d5a18 [2022-10-12T13:04:10.359Z] Removing intermediate container 4002002d5a18 [2022-10-12T13:04:10.359Z] ---> 0602339d4a98 [2022-10-12T13:04:10.359Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-12T13:04:10.620Z] ---> 65011e913b5f [2022-10-12T13:04:10.620Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T13:04:10.620Z] ---> Running in 6f6a7292bccd [2022-10-12T13:04:11.189Z] Removing intermediate container 6f6a7292bccd [2022-10-12T13:04:11.189Z] ---> 712e3e32d891 [2022-10-12T13:04:11.189Z] Step 13/27 : COPY . . [2022-10-12T13:04:11.755Z] ---> 82c19f078c14 [2022-10-12T13:04:11.756Z] Step 14/27 : RUN ${MAKE} [2022-10-12T13:04:11.756Z] ---> Running in 83b17bbae2d1 [2022-10-12T13:04:12.014Z] 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-12T13:04:33.938Z] Removing intermediate container 83b17bbae2d1 [2022-10-12T13:04:33.938Z] ---> 3f2a0ce07c70 [2022-10-12T13:04:33.938Z] Step 15/27 : FROM alpine:3.16 [2022-10-12T13:04:33.938Z] 3.16: Pulling from library/alpine [2022-10-12T13:04:33.938Z] 213ec9aee27d: Already exists [2022-10-12T13:04:33.938Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T13:04:33.938Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T13:04:33.938Z] ---> 9c6f07244728 [2022-10-12T13:04:33.938Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-12T13:04:33.938Z] ---> Running in 07e56b23de01 [2022-10-12T13:04:33.938Z] Removing intermediate container 07e56b23de01 [2022-10-12T13:04:33.938Z] ---> f1882c1b5003 [2022-10-12T13:04:33.938Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-12T13:04:33.938Z] ---> Running in a54fd1ad66f7 [2022-10-12T13:04:34.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T13:04:34.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T13:04:34.719Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-12T13:04:34.719Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T13:04:34.719Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-12T13:04:34.719Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T13:04:34.719Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-12T13:04:34.719Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-12T13:04:34.719Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T13:04:34.719Z] OK: 8 MiB in 20 packages [2022-10-12T13:04:34.977Z] Removing intermediate container a54fd1ad66f7 [2022-10-12T13:04:34.977Z] ---> f96876ead8bd [2022-10-12T13:04:34.977Z] Step 18/27 : WORKDIR / [2022-10-12T13:04:35.237Z] ---> Running in 65ef77620043 [2022-10-12T13:04:35.237Z] Removing intermediate container 65ef77620043 [2022-10-12T13:04:35.237Z] ---> 0cfaaf5be5fd [2022-10-12T13:04:35.237Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-12T13:04:35.803Z] ---> 78990aa163d7 [2022-10-12T13:04:35.803Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-12T13:04:36.061Z] ---> df9687bc48c2 [2022-10-12T13:04:36.061Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-12T13:04:36.321Z] ---> a05e54572e31 [2022-10-12T13:04:36.321Z] Step 22/27 : EXPOSE 59984 [2022-10-12T13:04:36.321Z] ---> Running in 76ab5dd72064 [2022-10-12T13:04:36.321Z] Removing intermediate container 76ab5dd72064 [2022-10-12T13:04:36.321Z] ---> 3753cd1cb8c4 [2022-10-12T13:04:36.321Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-12T13:04:36.321Z] ---> Running in 299d1f215a09 [2022-10-12T13:04:36.579Z] Removing intermediate container 299d1f215a09 [2022-10-12T13:04:36.579Z] ---> 0b6716c4182c [2022-10-12T13:04:36.579Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T13:04:36.579Z] ---> Running in baee9a97c22c [2022-10-12T13:04:36.579Z] Removing intermediate container baee9a97c22c [2022-10-12T13:04:36.579Z] ---> 030cc30ab956 [2022-10-12T13:04:36.579Z] Step 25/27 : LABEL arch=amd64 [2022-10-12T13:04:36.579Z] ---> Running in 9f95914df446 [2022-10-12T13:04:36.837Z] Removing intermediate container 9f95914df446 [2022-10-12T13:04:36.837Z] ---> 0e7f527b1985 [2022-10-12T13:04:36.837Z] Step 26/27 : LABEL git_sha=cdf18c6f139d843ca6c241faffb742aa16eb3e48 [2022-10-12T13:04:36.837Z] ---> Running in 9cbdaa79bfc0 [2022-10-12T13:04:36.837Z] Removing intermediate container 9cbdaa79bfc0 [2022-10-12T13:04:36.837Z] ---> 7a086162272b [2022-10-12T13:04:36.837Z] Step 27/27 : LABEL version=0.0.0 [2022-10-12T13:04:36.837Z] ---> Running in c6d8bcd3f4c0 [2022-10-12T13:04:37.096Z] Removing intermediate container c6d8bcd3f4c0 [2022-10-12T13:04:37.096Z] ---> 95fa83bb9d07 [2022-10-12T13:04:37.096Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T13:04:37.096Z] Successfully built 95fa83bb9d07 [2022-10-12T13:04:37.096Z] 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-12T13:04:37.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T13:04:37.530Z] [2022-10-12T13:04:37.530Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T13:04:37.825Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T13:04:37.825Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-12T13:04:37.825Z] 5eb5b503b376: Pulling fs layer [2022-10-12T13:04:37.825Z] 5c69ac0246d0: Pulling fs layer [2022-10-12T13:04:37.825Z] ec43610c2a17: Pulling fs layer [2022-10-12T13:04:37.825Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-12T13:04:37.825Z] 33b1e0a273af: Pulling fs layer [2022-10-12T13:04:37.825Z] 5d3b04190fa2: Pulling fs layer [2022-10-12T13:04:37.825Z] 2f39f015ded8: Pulling fs layer [2022-10-12T13:04:37.825Z] 3a2ae6a8a46f: Waiting [2022-10-12T13:04:37.825Z] 33b1e0a273af: Waiting [2022-10-12T13:04:37.825Z] 5d3b04190fa2: Waiting [2022-10-12T13:04:37.825Z] 2f39f015ded8: Waiting [2022-10-12T13:04:37.825Z] 5c69ac0246d0: Download complete [2022-10-12T13:04:37.825Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-12T13:04:37.825Z] 3a2ae6a8a46f: Download complete [2022-10-12T13:04:37.825Z] 33b1e0a273af: Verifying Checksum [2022-10-12T13:04:37.825Z] 33b1e0a273af: Download complete [2022-10-12T13:04:37.825Z] 5d3b04190fa2: Verifying Checksum [2022-10-12T13:04:37.825Z] 5d3b04190fa2: Download complete [2022-10-12T13:04:38.083Z] ec43610c2a17: Verifying Checksum [2022-10-12T13:04:38.083Z] ec43610c2a17: Download complete [2022-10-12T13:04:38.083Z] 5eb5b503b376: Verifying Checksum [2022-10-12T13:04:38.083Z] 5eb5b503b376: Download complete [2022-10-12T13:04:38.648Z] 2f39f015ded8: Download complete [2022-10-12T13:04:39.215Z] 5eb5b503b376: Pull complete [2022-10-12T13:04:39.474Z] 5c69ac0246d0: Pull complete [2022-10-12T13:04:39.733Z] ec43610c2a17: Pull complete [2022-10-12T13:04:39.733Z] 3a2ae6a8a46f: Pull complete [2022-10-12T13:04:39.992Z] 33b1e0a273af: Pull complete [2022-10-12T13:04:39.992Z] 5d3b04190fa2: Pull complete [2022-10-12T13:04:44.178Z] 2f39f015ded8: Pull complete [2022-10-12T13:04:44.178Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-12T13:04:44.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T13:04:44.178Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T13:04:44.253Z] prd-ubuntu20.04-docker-8c-8g-7750 does not seem to be running inside a container [2022-10-12T13:04:44.283Z] $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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-12T13:04:46.100Z] $ docker top b1689aef46f02f5a66cd01f4c5e89f304d2bddb4a7b79e3d53b0ec682ad0b4b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T13:04:46.483Z] ---> job-cost.sh [2022-10-12T13:04:46.484Z] lf-activate-venv: SKIPPING [2022-10-12T13:04:46.484Z] INFO: No Stack... [2022-10-12T13:04:47.049Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T13:04:47.307Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T13:04:47.591Z] + + catcut /w/workspace/undry_device-onvif-camera_PR-174/archives/cost.csv -d, [2022-10-12T13:04:47.591Z] -f6 [Pipeline] lock [2022-10-12T13:04:47.604Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] [2022-10-12T13:04:47.612Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] did not exist. Created. [2022-10-12T13:04:47.612Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T13:04:47.915Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-12T13:04:47.938Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T13:04:47.945Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T13:04:47.963Z] $ docker stop --time=1 b1689aef46f02f5a66cd01f4c5e89f304d2bddb4a7b79e3d53b0ec682ad0b4b4 [2022-10-12T13:04:49.144Z] $ docker rm -f b1689aef46f02f5a66cd01f4c5e89f304d2bddb4a7b79e3d53b0ec682ad0b4b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-12T13:04:50.141Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7752 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] ws [2022-10-12T13:04:50.155Z] Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout [2022-10-12T13:04:50.192Z] The recommended git tool is: git [2022-10-12T13:04:55.009Z] using credential edgex-jenkins-ssh [2022-10-12T13:04:55.026Z] Cloning the remote Git repository [2022-10-12T13:04:55.071Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T13:04:55.148Z] > git init /w/workspace/device-onvif-camera/8 # timeout=10 [2022-10-12T13:04:55.287Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T13:04:55.288Z] > git --version # timeout=10 [2022-10-12T13:04:55.309Z] > git --version # 'git version 2.25.1' [2022-10-12T13:04:55.311Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T13:04:55.353Z] Verifying host key using known hosts file [2022-10-12T13:04:55.544Z] 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-12T13:04:55.557Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T13:04:56.787Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-12T13:04:56.807Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T13:04:58.482Z] Merging remotes/origin/main commit 66447988b5970b64981174d7c941281712afb8e7 into PR head commit d4eb940c70f9fc45a3d8abe2ed98aeea5a2aed78 [2022-10-12T13:04:57.639Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-12T13:04:57.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T13:04:57.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T13:04:57.683Z] Verifying host key using known hosts file [2022-10-12T13:04:57.690Z] 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-12T13:04:57.700Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-12T13:04:58.499Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T13:04:58.521Z] > git checkout -f d4eb940c70f9fc45a3d8abe2ed98aeea5a2aed78 # timeout=10 [2022-10-12T13:04:58.739Z] > git remote # timeout=10 [2022-10-12T13:04:58.758Z] > git config --get remote.origin.url # timeout=10 [2022-10-12T13:04:58.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T13:04:58.778Z] Verifying host key using known hosts file [2022-10-12T13:04:58.784Z] 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-12T13:04:58.795Z] > git merge 66447988b5970b64981174d7c941281712afb8e7 # timeout=10 [2022-10-12T13:04:59.086Z] Merge succeeded, producing 4b57e7fd7691a3994b032ef2879b490b97dc9dac [2022-10-12T13:04:59.086Z] Checking out Revision 4b57e7fd7691a3994b032ef2879b490b97dc9dac (PR-174) [2022-10-12T13:04:59.060Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-12T13:04:59.093Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T13:04:59.106Z] > git checkout -f 4b57e7fd7691a3994b032ef2879b490b97dc9dac # timeout=10 [2022-10-12T13:05:02.552Z] Commit message: "Merge commit '66447988b5970b64981174d7c941281712afb8e7' into HEAD" [2022-10-12T13:05:02.577Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T13:05:02.561Z] > git rev-list --no-walk 185109018fe04e04d048a5b865df7b17774e4144 # timeout=10 [2022-10-12T13:05:03.591Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-12T13:05:03.591Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T13:05:03.591Z] Dload Upload Total Spent Left Speed [2022-10-12T13:05:03.591Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 12602 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 87513 0 --:--:-- --:--:-- --:--:-- 86910 [Pipeline] sh [2022-10-12T13:05:04.332Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-12T13:05:04.661Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-12T13:05:04.661Z] + sudo tee /etc/docker/daemon.new [2022-10-12T13:05:04.661Z] { [2022-10-12T13:05:04.661Z] "registry-mirrors": [ [2022-10-12T13:05:04.661Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-12T13:05:04.661Z] ], [2022-10-12T13:05:04.661Z] "bip": "10.250.0.254/24", [2022-10-12T13:05:04.661Z] "hosts": [ [2022-10-12T13:05:04.661Z] "tcp://0.0.0.0:5555", [2022-10-12T13:05:04.661Z] "unix:///var/run/docker.sock" [2022-10-12T13:05:04.661Z] ], [2022-10-12T13:05:04.661Z] "mtu": 1458, [2022-10-12T13:05:04.661Z] "selinux-enabled": true, [2022-10-12T13:05:04.661Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-12T13:05:04.661Z] } [Pipeline] sh [2022-10-12T13:05:04.984Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-12T13:05:05.308Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T13:05:23.570Z] provisioning config files... [2022-10-12T13:05:23.593Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config9446235186340714347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T13:05:23.935Z] ---> docker-login.sh [2022-10-12T13:05:23.935Z] nexus3.edgexfoundry.org:10001 [2022-10-12T13:05:24.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:05:24.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:05:24.473Z] Configure a credential helper to remove this warning. See [2022-10-12T13:05:24.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:05:24.473Z] [2022-10-12T13:05:24.473Z] Login Succeeded [2022-10-12T13:05:24.473Z] nexus3.edgexfoundry.org:10002 [2022-10-12T13:05:24.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:05:24.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:05:24.742Z] Configure a credential helper to remove this warning. See [2022-10-12T13:05:24.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:05:24.742Z] [2022-10-12T13:05:24.742Z] Login Succeeded [2022-10-12T13:05:24.742Z] nexus3.edgexfoundry.org:10003 [2022-10-12T13:05:25.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:05:25.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:05:25.011Z] Configure a credential helper to remove this warning. See [2022-10-12T13:05:25.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:05:25.011Z] [2022-10-12T13:05:25.011Z] Login Succeeded [2022-10-12T13:05:25.280Z] nexus3.edgexfoundry.org:10004 [2022-10-12T13:05:25.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:05:25.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:05:25.549Z] Configure a credential helper to remove this warning. See [2022-10-12T13:05:25.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:05:25.549Z] [2022-10-12T13:05:25.549Z] Login Succeeded [2022-10-12T13:05:25.549Z] docker.io [2022-10-12T13:05:25.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T13:05:26.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T13:05:26.136Z] Configure a credential helper to remove this warning. See [2022-10-12T13:05:26.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T13:05:26.136Z] [2022-10-12T13:05:26.136Z] Login Succeeded [2022-10-12T13:05:26.136Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T13:05:26.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T13:05:26.290Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T13:05:26.301Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T13:05:26.308Z] ========================================================= [2022-10-12T13:05:26.308Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-12T13:05:26.308Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T13:05:26.642Z] + 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-12T13:05:26.910Z] Sending build context to Docker daemon 14.78MB [2022-10-12T13:05:27.186Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T13:05:27.186Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-12T13:05:27.186Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-12T13:05:27.186Z] 9b18e9b68314: Pulling fs layer [2022-10-12T13:05:27.186Z] d32db5db7311: Pulling fs layer [2022-10-12T13:05:27.186Z] d0c4b47475fc: Pulling fs layer [2022-10-12T13:05:27.186Z] 5831b945b038: Pulling fs layer [2022-10-12T13:05:27.186Z] 86bbec2aaacd: Pulling fs layer [2022-10-12T13:05:27.186Z] e10730c5d714: Pulling fs layer [2022-10-12T13:05:27.186Z] 5dd5c2283517: Pulling fs layer [2022-10-12T13:05:27.186Z] d5ac0230b979: Pulling fs layer [2022-10-12T13:05:27.186Z] 5831b945b038: Waiting [2022-10-12T13:05:27.186Z] 86bbec2aaacd: Waiting [2022-10-12T13:05:27.186Z] e10730c5d714: Waiting [2022-10-12T13:05:27.186Z] 5dd5c2283517: Waiting [2022-10-12T13:05:27.186Z] d5ac0230b979: Waiting [2022-10-12T13:05:27.186Z] d0c4b47475fc: Verifying Checksum [2022-10-12T13:05:27.186Z] d0c4b47475fc: Download complete [2022-10-12T13:05:27.186Z] d32db5db7311: Verifying Checksum [2022-10-12T13:05:27.186Z] d32db5db7311: Download complete [2022-10-12T13:05:27.186Z] 86bbec2aaacd: Download complete [2022-10-12T13:05:27.186Z] e10730c5d714: Verifying Checksum [2022-10-12T13:05:27.186Z] e10730c5d714: Download complete [2022-10-12T13:05:27.186Z] 9b18e9b68314: Verifying Checksum [2022-10-12T13:05:27.186Z] 9b18e9b68314: Download complete [2022-10-12T13:05:28.157Z] 9b18e9b68314: Pull complete [2022-10-12T13:05:28.426Z] d5ac0230b979: Verifying Checksum [2022-10-12T13:05:28.426Z] d5ac0230b979: Download complete [2022-10-12T13:05:28.697Z] d32db5db7311: Pull complete [2022-10-12T13:05:28.967Z] d0c4b47475fc: Pull complete [2022-10-12T13:05:29.566Z] 5dd5c2283517: Download complete [2022-10-12T13:05:30.159Z] 5831b945b038: Verifying Checksum [2022-10-12T13:05:30.159Z] 5831b945b038: Download complete [2022-10-12T13:05:42.481Z] 5831b945b038: Pull complete [2022-10-12T13:05:42.481Z] 86bbec2aaacd: Pull complete [2022-10-12T13:05:42.481Z] e10730c5d714: Pull complete [2022-10-12T13:05:47.830Z] 5dd5c2283517: Pull complete [2022-10-12T13:05:49.251Z] d5ac0230b979: Pull complete [2022-10-12T13:05:49.251Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-12T13:05:49.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-12T13:05:49.251Z] ---> 59b3b1a385d4 [2022-10-12T13:05:49.251Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-12T13:05:51.200Z] ---> Running in 148ff957656e [2022-10-12T13:05:51.200Z] Removing intermediate container 148ff957656e [2022-10-12T13:05:51.200Z] ---> 98661ef8225a [2022-10-12T13:05:51.200Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T13:05:51.468Z] ---> Running in 2d53534ace58 [2022-10-12T13:05:51.738Z] Removing intermediate container 2d53534ace58 [2022-10-12T13:05:51.738Z] ---> 151199cfff7a [2022-10-12T13:05:51.738Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T13:05:51.738Z] ---> Running in fb5ac6f0ed66 [2022-10-12T13:05:52.005Z] Removing intermediate container fb5ac6f0ed66 [2022-10-12T13:05:52.005Z] ---> 5301f324f3c6 [2022-10-12T13:05:52.005Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T13:05:52.005Z] ---> Running in 9619d0239372 [2022-10-12T13:05:52.587Z] Removing intermediate container 9619d0239372 [2022-10-12T13:05:52.587Z] ---> 0b3947918b85 [2022-10-12T13:05:52.587Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-12T13:05:52.587Z] ---> Running in f3ca31fbf81a [2022-10-12T13:05:52.854Z] Removing intermediate container f3ca31fbf81a [2022-10-12T13:05:52.854Z] ---> a9b64a64d9f7 [2022-10-12T13:05:52.854Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T13:05:52.854Z] ---> Running in 000f1696d139 [2022-10-12T13:05:54.803Z] Removing intermediate container 000f1696d139 [2022-10-12T13:05:54.803Z] ---> 8ea64f9c17ba [2022-10-12T13:05:54.803Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T13:05:54.803Z] ---> Running in 425fa46f22f4 [2022-10-12T13:05:55.382Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T13:05:56.337Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T13:05:57.296Z] OK: 221 MiB in 51 packages [2022-10-12T13:05:57.881Z] Removing intermediate container 425fa46f22f4 [2022-10-12T13:05:57.881Z] ---> 58e9b591bded [2022-10-12T13:05:57.881Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-12T13:05:57.881Z] ---> Running in 959eb3b52120 [2022-10-12T13:05:58.148Z] Removing intermediate container 959eb3b52120 [2022-10-12T13:05:58.148Z] ---> d56b9a1fe7a4 [2022-10-12T13:05:58.148Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-12T13:05:58.731Z] ---> 95706ad9fc21 [2022-10-12T13:05:58.731Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T13:05:58.731Z] ---> Running in 05aa889c44be [2022-10-12T13:06:55.153Z] Removing intermediate container 05aa889c44be [2022-10-12T13:06:55.153Z] ---> 00cd4e3d2a61 [2022-10-12T13:06:55.153Z] Step 13/14 : COPY . . [2022-10-12T13:06:55.153Z] ---> f8be53bed05a [2022-10-12T13:06:55.153Z] Step 14/14 : RUN ${MAKE} [2022-10-12T13:06:55.153Z] ---> Running in a293e85b6efd [2022-10-12T13:06:55.153Z] noop [2022-10-12T13:06:55.153Z] Removing intermediate container a293e85b6efd [2022-10-12T13:06:55.153Z] ---> 683f9c308253 [2022-10-12T13:06:55.153Z] Successfully built 683f9c308253 [2022-10-12T13:06:55.153Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T13:06:55.510Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T13:06:55.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T13:06:55.693Z] prd-ubuntu20.04-docker-arm64-4c-16g-7752 does not seem to be running inside a container [2022-10-12T13:06:55.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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-12T13:06:56.940Z] $ docker top 379a40827cc3050ecc2dc0a962c9c7978493bbe7bae0d7a6de7a7b7fd3c41b22 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T13:06:57.750Z] + go version [2022-10-12T13:06:57.750Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-12T13:06:57.768Z] $ docker stop --time=1 379a40827cc3050ecc2dc0a962c9c7978493bbe7bae0d7a6de7a7b7fd3c41b22 [2022-10-12T13:06:59.387Z] $ docker rm -f 379a40827cc3050ecc2dc0a962c9c7978493bbe7bae0d7a6de7a7b7fd3c41b22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T13:06:59.913Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T13:06:59.913Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T13:07:00.072Z] prd-ubuntu20.04-docker-arm64-4c-16g-7752 does not seem to be running inside a container [2022-10-12T13:07:00.142Z] $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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-12T13:07:01.311Z] $ docker top c91e4079259866bce14cc435ace4528843886ba1bb79b39dcc21b16b26ce3b4c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T13:07:01.804Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/8 [Pipeline] fileExists [Pipeline] sh [2022-10-12T13:07:02.125Z] + make test [2022-10-12T13:07:02.126Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-12T13:07:04.062Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-12T13:08:40.761Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-12T13:08:40.761Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.191s coverage: 28.2% of statements [2022-10-12T13:08:40.761Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-12T13:08:55.746Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.257s coverage: 86.5% of statements [2022-10-12T13:08:56.014Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-12T13:08:56.014Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T13:09:22.684Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T13:09:22.684Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T13:09:22.684Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T13:09:22.703Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T13:09:22.716Z] $ docker stop --time=1 c91e4079259866bce14cc435ace4528843886ba1bb79b39dcc21b16b26ce3b4c [2022-10-12T13:09:24.630Z] $ docker rm -f c91e4079259866bce14cc435ace4528843886ba1bb79b39dcc21b16b26ce3b4c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T13:09:25.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T13:09:25.759Z] Warning: overwriting stash ‘coverage-report’ [2022-10-12T13:09:26.347Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T13:09:26.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T13:09:27.078Z] + ls -al . [2022-10-12T13:09:27.078Z] total 232 [2022-10-12T13:09:27.078Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 13:07 . [2022-10-12T13:09:27.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 13:04 .. [2022-10-12T13:09:27.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 13:04 .git [2022-10-12T13:09:27.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 13:04 .github [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 12 13:04 .gitignore [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 13:04 .golangci.yml [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 13:04 Attribution.txt [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 13:04 CHANGELOG.md [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 13:04 Dockerfile [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 13:04 GOVERNANCE.md [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 13:04 Jenkinsfile [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 13:04 LICENSE [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 13:04 Makefile [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 13:04 OWNERS.md [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 13:04 README.md [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 13:03 VERSION [2022-10-12T13:09:27.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 13:04 bin [2022-10-12T13:09:27.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 13:04 cmd [2022-10-12T13:09:27.078Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 13:08 coverage.out [2022-10-12T13:09:27.078Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 13:04 doc [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 13:04 go.mod [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 13:04 go.sum [2022-10-12T13:09:27.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 13:04 internal [2022-10-12T13:09:27.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 13:04 snap [2022-10-12T13:09:27.078Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 13:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T13:09:27.432Z] + 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=4b57e7fd7691a3994b032ef2879b490b97dc9dac --label arch=arm64 --label version=0.0.0 . [2022-10-12T13:09:28.395Z] Sending build context to Docker daemon 14.85MB [2022-10-12T13:09:28.395Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T13:09:28.395Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-12T13:09:28.395Z] ---> 683f9c308253 [2022-10-12T13:09:28.395Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-12T13:09:30.331Z] ---> Running in 6f1f32df9c50 [2022-10-12T13:09:30.598Z] Removing intermediate container 6f1f32df9c50 [2022-10-12T13:09:30.598Z] ---> 32130c3161db [2022-10-12T13:09:30.598Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T13:09:30.598Z] ---> Running in f9642389675c [2022-10-12T13:09:30.865Z] Removing intermediate container f9642389675c [2022-10-12T13:09:30.865Z] ---> a5bc3b0aa23f [2022-10-12T13:09:30.865Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T13:09:30.865Z] ---> Running in 9381ead9a37f [2022-10-12T13:09:31.141Z] Removing intermediate container 9381ead9a37f [2022-10-12T13:09:31.141Z] ---> 844b829f90ee [2022-10-12T13:09:31.141Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T13:09:31.411Z] ---> Running in 905f6adc84ee [2022-10-12T13:09:31.680Z] Removing intermediate container 905f6adc84ee [2022-10-12T13:09:31.680Z] ---> a23df8e541d3 [2022-10-12T13:09:31.680Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-12T13:09:31.680Z] ---> Running in 1be112530cc9 [2022-10-12T13:09:31.948Z] Removing intermediate container 1be112530cc9 [2022-10-12T13:09:31.948Z] ---> 24c9d094d184 [2022-10-12T13:09:31.948Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T13:09:31.948Z] ---> Running in 7cb29d639b02 [2022-10-12T13:09:33.889Z] Removing intermediate container 7cb29d639b02 [2022-10-12T13:09:33.889Z] ---> 838007021b68 [2022-10-12T13:09:33.889Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T13:09:33.889Z] ---> Running in 87c11614f47d [2022-10-12T13:09:34.846Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T13:09:35.811Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T13:09:36.768Z] OK: 221 MiB in 51 packages [2022-10-12T13:09:37.747Z] Removing intermediate container 87c11614f47d [2022-10-12T13:09:37.747Z] ---> 5d70d6a04193 [2022-10-12T13:09:37.747Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-12T13:09:37.747Z] ---> Running in ced21c6d0d29 [2022-10-12T13:09:38.018Z] Removing intermediate container ced21c6d0d29 [2022-10-12T13:09:38.018Z] ---> 4ab85628b3a5 [2022-10-12T13:09:38.018Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-12T13:09:38.602Z] ---> cc189fde33c1 [2022-10-12T13:09:38.602Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T13:09:38.602Z] ---> Running in 6fa2e94e6886 [2022-10-12T13:09:40.546Z] Removing intermediate container 6fa2e94e6886 [2022-10-12T13:09:40.546Z] ---> 44781448ebb4 [2022-10-12T13:09:40.546Z] Step 13/27 : COPY . . [2022-10-12T13:09:42.531Z] ---> b16c27b502f8 [2022-10-12T13:09:42.531Z] Step 14/27 : RUN ${MAKE} [2022-10-12T13:09:42.531Z] ---> Running in 245150011c10 [2022-10-12T13:09:43.942Z] 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-12T13:12:05.650Z] Removing intermediate container 245150011c10 [2022-10-12T13:12:05.650Z] ---> 33e2d105fca4 [2022-10-12T13:12:05.650Z] Step 15/27 : FROM alpine:3.16 [2022-10-12T13:12:06.227Z] 3.16: Pulling from library/alpine [2022-10-12T13:12:06.227Z] 9b18e9b68314: Already exists [2022-10-12T13:12:06.492Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T13:12:06.492Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T13:12:06.492Z] ---> a6215f271958 [2022-10-12T13:12:06.492Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-12T13:12:06.492Z] ---> Running in 73cbe654998d [2022-10-12T13:12:06.759Z] Removing intermediate container 73cbe654998d [2022-10-12T13:12:06.759Z] ---> 672e822cd230 [2022-10-12T13:12:06.759Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-12T13:12:07.046Z] ---> Running in 3de9eeb491b1 [2022-10-12T13:12:08.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T13:12:08.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T13:12:08.865Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-12T13:12:08.865Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T13:12:09.132Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-12T13:12:09.132Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T13:12:09.132Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-12T13:12:09.132Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-12T13:12:09.132Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T13:12:09.132Z] OK: 8 MiB in 20 packages [2022-10-12T13:12:10.098Z] Removing intermediate container 3de9eeb491b1 [2022-10-12T13:12:10.098Z] ---> a994dfa9913c [2022-10-12T13:12:10.098Z] Step 18/27 : WORKDIR / [2022-10-12T13:12:10.098Z] ---> Running in 66b143905471 [2022-10-12T13:12:10.366Z] Removing intermediate container 66b143905471 [2022-10-12T13:12:10.366Z] ---> 8d115d8fd2b2 [2022-10-12T13:12:10.366Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-12T13:12:11.772Z] ---> c454fcb2295b [2022-10-12T13:12:11.772Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-12T13:12:12.039Z] ---> 0cf4fdadf819 [2022-10-12T13:12:12.039Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-12T13:12:12.624Z] ---> 1612a518a703 [2022-10-12T13:12:12.624Z] Step 22/27 : EXPOSE 59984 [2022-10-12T13:12:12.624Z] ---> Running in 012fc3eb3853 [2022-10-12T13:12:12.890Z] Removing intermediate container 012fc3eb3853 [2022-10-12T13:12:12.890Z] ---> 3f9a42ee4537 [2022-10-12T13:12:12.890Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-12T13:12:13.163Z] ---> Running in 4f451c8c92d6 [2022-10-12T13:12:13.163Z] Removing intermediate container 4f451c8c92d6 [2022-10-12T13:12:13.163Z] ---> 8284738cec8c [2022-10-12T13:12:13.163Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T13:12:13.428Z] ---> Running in 0fcbf05705e7 [2022-10-12T13:12:13.707Z] Removing intermediate container 0fcbf05705e7 [2022-10-12T13:12:13.707Z] ---> 053a9e783fe2 [2022-10-12T13:12:13.707Z] Step 25/27 : LABEL arch=arm64 [2022-10-12T13:12:13.707Z] ---> Running in a9b0374c7484 [2022-10-12T13:12:13.975Z] Removing intermediate container a9b0374c7484 [2022-10-12T13:12:13.975Z] ---> 6818bf1d8288 [2022-10-12T13:12:13.975Z] Step 26/27 : LABEL git_sha=4b57e7fd7691a3994b032ef2879b490b97dc9dac [2022-10-12T13:12:13.975Z] ---> Running in 6ebbdcc11b2a [2022-10-12T13:12:14.245Z] Removing intermediate container 6ebbdcc11b2a [2022-10-12T13:12:14.246Z] ---> 2da1c11470b3 [2022-10-12T13:12:14.246Z] Step 27/27 : LABEL version=0.0.0 [2022-10-12T13:12:14.516Z] ---> Running in d60923a2debe [2022-10-12T13:12:14.782Z] Removing intermediate container d60923a2debe [2022-10-12T13:12:14.782Z] ---> f99915d6e0a6 [2022-10-12T13:12:14.782Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T13:12:14.782Z] Successfully built f99915d6e0a6 [2022-10-12T13:12:14.782Z] 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-12T13:12:15.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T13:12:15.347Z] [2022-10-12T13:12:15.347Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T13:12:15.708Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T13:12:15.708Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-12T13:12:15.708Z] 8998bd30e6a1: Pulling fs layer [2022-10-12T13:12:15.708Z] 04944245beec: Pulling fs layer [2022-10-12T13:12:15.708Z] 699f458cf7ca: Pulling fs layer [2022-10-12T13:12:15.708Z] 765212b225bb: Pulling fs layer [2022-10-12T13:12:15.708Z] f23df028b6ca: Pulling fs layer [2022-10-12T13:12:15.708Z] d65c8cfc05b1: Pulling fs layer [2022-10-12T13:12:15.708Z] 2437ff75d9bd: Pulling fs layer [2022-10-12T13:12:15.708Z] 765212b225bb: Waiting [2022-10-12T13:12:15.708Z] f23df028b6ca: Waiting [2022-10-12T13:12:15.708Z] d65c8cfc05b1: Waiting [2022-10-12T13:12:15.708Z] 2437ff75d9bd: Waiting [2022-10-12T13:12:15.978Z] 04944245beec: Verifying Checksum [2022-10-12T13:12:15.978Z] 04944245beec: Download complete [2022-10-12T13:12:15.978Z] 765212b225bb: Verifying Checksum [2022-10-12T13:12:15.978Z] 765212b225bb: Download complete [2022-10-12T13:12:15.978Z] f23df028b6ca: Verifying Checksum [2022-10-12T13:12:15.978Z] f23df028b6ca: Download complete [2022-10-12T13:12:15.978Z] d65c8cfc05b1: Verifying Checksum [2022-10-12T13:12:15.978Z] d65c8cfc05b1: Download complete [2022-10-12T13:12:16.251Z] 699f458cf7ca: Verifying Checksum [2022-10-12T13:12:16.251Z] 699f458cf7ca: Download complete [2022-10-12T13:12:16.527Z] 8998bd30e6a1: Verifying Checksum [2022-10-12T13:12:16.527Z] 8998bd30e6a1: Download complete [2022-10-12T13:12:19.144Z] 2437ff75d9bd: Verifying Checksum [2022-10-12T13:12:19.144Z] 2437ff75d9bd: Download complete [2022-10-12T13:12:21.088Z] 8998bd30e6a1: Pull complete [2022-10-12T13:12:21.355Z] 04944245beec: Pull complete [2022-10-12T13:12:22.761Z] 699f458cf7ca: Pull complete [2022-10-12T13:12:22.761Z] 765212b225bb: Pull complete [2022-10-12T13:12:23.722Z] f23df028b6ca: Pull complete [2022-10-12T13:12:23.722Z] d65c8cfc05b1: Pull complete [2022-10-12T13:12:38.706Z] 2437ff75d9bd: Pull complete [2022-10-12T13:12:38.706Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-12T13:12:38.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T13:12:38.706Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T13:12:38.890Z] prd-ubuntu20.04-docker-arm64-4c-16g-7752 does not seem to be running inside a container [2022-10-12T13:12:38.944Z] $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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-12T13:12:41.537Z] $ docker top daa93066065e7fa3ea97fd35979621f4937762dee7a91184719e1bed82a08fdb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T13:12:42.364Z] ---> job-cost.sh [2022-10-12T13:12:42.364Z] lf-activate-venv: SKIPPING [2022-10-12T13:12:42.364Z] INFO: No Stack... [2022-10-12T13:12:42.630Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-12T13:12:43.587Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T13:12:43.899Z] + cat /w/workspace/device-onvif-camera/8/archives/cost.csv [2022-10-12T13:12:43.899Z] + cut -d, -f6 [Pipeline] lock [2022-10-12T13:12:43.951Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] [2022-10-12T13:12:43.957Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] did not exist. Created. [2022-10-12T13:12:43.957Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T13:12:44.286Z] /w/workspace/device-onvif-camera/8@tmp/durable-4cae4a7b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-12T13:12:44.614Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-12T13:12:44.628Z] Warning: overwriting stash ‘stack-cost’ [2022-10-12T13:12:44.681Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T13:12:44.686Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T13:12:44.700Z] $ docker stop --time=1 daa93066065e7fa3ea97fd35979621f4937762dee7a91184719e1bed82a08fdb [2022-10-12T13:12:46.130Z] $ docker rm -f daa93066065e7fa3ea97fd35979621f4937762dee7a91184719e1bed82a08fdb [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-12T13:12:46.544Z] provisioning config files... [2022-10-12T13:12:46.551Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config14516159442673360749tmp [Pipeline] { [Pipeline] sh [2022-10-12T13:12:46.843Z] + set +x [2022-10-12T13:12:46.843Z] + curl -s https://codecov.io/bash [2022-10-12T13:12:46.843Z] + bash -s -- [2022-10-12T13:12:46.843Z] [2022-10-12T13:12:46.843Z] _____ _ [2022-10-12T13:12:46.843Z] / ____| | | [2022-10-12T13:12:46.843Z] | | ___ __| | ___ ___ _____ __ [2022-10-12T13:12:46.843Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-12T13:12:46.843Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-12T13:12:46.843Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-12T13:12:46.843Z] Bash-1.0.6 [2022-10-12T13:12:46.843Z] [2022-10-12T13:12:46.843Z] [2022-10-12T13:12:46.843Z] ==> git version 2.25.1 found [2022-10-12T13:12:46.843Z] ==> 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-12T13:12:46.843Z] Release-Date: 2020-01-08 [2022-10-12T13:12:46.843Z] 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-12T13:12:46.843Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-12T13:12:46.843Z] ==> Jenkins CI detected. [2022-10-12T13:12:46.843Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-174 [2022-10-12T13:12:46.843Z] project root: . [2022-10-12T13:12:46.843Z] --> token set from env [2022-10-12T13:12:46.843Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-12T13:12:46.843Z] ==> Running gcov in . (disable via -X gcov) [2022-10-12T13:12:46.843Z] ==> Python coveragepy not found [2022-10-12T13:12:46.843Z] ==> Searching for coverage reports in: [2022-10-12T13:12:46.843Z] + . [2022-10-12T13:12:46.843Z] -> Found 1 reports [2022-10-12T13:12:46.843Z] ==> Detecting git/mercurial file structure [2022-10-12T13:12:46.843Z] ==> Reading reports [2022-10-12T13:12:46.843Z] + ./coverage.out bytes=78636 [2022-10-12T13:12:46.843Z] ==> Appending adjustments [2022-10-12T13:12:46.843Z] https://docs.codecov.io/docs/fixing-reports [2022-10-12T13:12:47.103Z] + Found adjustments [2022-10-12T13:12:47.103Z] ==> Gzipping contents [2022-10-12T13:12:47.103Z] 12K /tmp/codecov.MS7OeG.gz [2022-10-12T13:12:47.103Z] ==> Uploading reports [2022-10-12T13:12:47.103Z] url: https://codecov.io [2022-10-12T13:12:47.103Z] query: branch=PR-174&commit=cdf18c6f139d843ca6c241faffb742aa16eb3e48&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-12T13:12:47.103Z] -> Pinging Codecov [2022-10-12T13:12:47.103Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-174&commit=cdf18c6f139d843ca6c241faffb742aa16eb3e48&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-12T13:12:48.040Z] -> Uploading to [2022-10-12T13:12:48.040Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-12/F29A59C45E3A92E06B3E522C9905F8EF/cdf18c6f139d843ca6c241faffb742aa16eb3e48/3c816767-c76f-40fc-962e-9fe232c743e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T131247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7bcaf8f6a1a16932b48d7c190582c42d0442561d91d00750f7b40825059b3da6 [2022-10-12T13:12:48.040Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T13:12:48.040Z] Dload Upload Total Spent Left Speed [2022-10-12T13:12:48.300Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10781 0 0 100 10781 0 48563 --:--:-- --:--:-- --:--:-- 48345 100 10781 0 0 100 10781 0 45876 --:--:-- --:--:-- --:--:-- 45682 [2022-10-12T13:12:48.300Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/cdf18c6f139d843ca6c241faffb742aa16eb3e48 [Pipeline] } [2022-10-12T13:12:48.308Z] 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-12T13:12:49.096Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-174/archives ] [2022-10-12T13:12:49.096Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-12T13:12:49.096Z] total 16 [2022-10-12T13:12:49.096Z] drwxr-xr-x 3 root root 4096 Oct 12 13:04 . [2022-10-12T13:12:49.096Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 13:04 .. [2022-10-12T13:12:49.096Z] drwxr-xr-x 2 root root 4096 Oct 12 13:04 cost [2022-10-12T13:12:49.096Z] -rw-r--r-- 1 root root 91 Oct 12 13:04 cost.csv [2022-10-12T13:12:49.096Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-12T13:12:49.096Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-12T13:12:49.096Z] total 16 [2022-10-12T13:12:49.096Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 13:04 . [2022-10-12T13:12:49.096Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 13:04 .. [2022-10-12T13:12:49.096Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 13:04 cost [2022-10-12T13:12:49.096Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 12 13:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-12T13:12:49.386Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T13:12:50.242Z] ---> package-listing.sh [2022-10-12T13:12:50.242Z] ++ facter osfamily [2022-10-12T13:12:50.242Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-12T13:12:50.501Z] + OS_FAMILY=debian [2022-10-12T13:12:50.501Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-174 [2022-10-12T13:12:50.501Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-12T13:12:50.501Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-12T13:12:50.501Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-12T13:12:50.501Z] + PACKAGES=/tmp/packages_start.txt [2022-10-12T13:12:50.501Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-12T13:12:50.501Z] + PACKAGES=/tmp/packages_end.txt [2022-10-12T13:12:50.501Z] + case "${OS_FAMILY}" in [2022-10-12T13:12:50.501Z] + dpkg -l [2022-10-12T13:12:50.501Z] + grep '^ii' [2022-10-12T13:12:50.501Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-12T13:12:50.501Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-12T13:12:50.501Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-12T13:12:50.501Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-12T13:12:50.501Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-174/archives/ [2022-10-12T13:12:50.501Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-174/archives/ [Pipeline] echo [2022-10-12T13:12:50.510Z] 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-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-12T13:12:50.786Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T13:12:51.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T13:12:51.348Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T13:12:51.422Z] prd-ubuntu20.04-docker-8c-8g-7750 does not seem to be running inside a container [2022-10-12T13:12:51.455Z] $ 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-174/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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-12T13:12:51.669Z] $ docker top bbdfe6c05b960141ff701a8652f5d7ec8f078ecd6aca21a9097b6329d8309203 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T13:12:52.014Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-12T13:12:52.296Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-12T13:12:52.578Z] + ls /var/log/sa-host [2022-10-12T13:12:52.578Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T13:12:52.813Z] provisioning config files... [2022-10-12T13:12:52.820Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config12346650791788926430tmp [Pipeline] { [Pipeline] echo [2022-10-12T13:12:52.833Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T13:12:53.114Z] ---> create-netrc.sh [Pipeline] } [2022-10-12T13:12:53.120Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-12T13:12:53.464Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-12T13:12:53.471Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T13:12:53.753Z] ---> sudo-logs.sh [2022-10-12T13:12:53.753Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-12T13:12:53.774Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T13:12:54.055Z] ---> job-cost.sh [2022-10-12T13:12:54.055Z] lf-activate-venv: SKIPPING [2022-10-12T13:12:54.055Z] DEBUG: total: 0.2199999988079071 [2022-10-12T13:12:54.055Z] INFO: Retrieving Stack Cost... [2022-10-12T13:12:54.622Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T13:12:54.881Z] INFO: Archiving Costs [Pipeline] echo [2022-10-12T13:12:54.890Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T13:12:55.170Z] ---> logs-deploy.sh [2022-10-12T13:12:55.170Z] lf-activate-venv: SKIPPING [2022-10-12T13:12:55.170Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-174/8 [2022-10-12T13:12:55.170Z] INFO: archiving workspace using pattern(s): [2022-10-12T13:12:56.103Z] Archives upload complete. [2022-10-12T13:12:56.103Z] INFO: archiving logs to Nexus