Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 rather than d7608bef33885ab978c5fad83f7633bf1a7789b2 Obtained Jenkinsfile from 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15433360166721376758.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-ssh14644072376448065295.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-ssh13750799401151921124.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-ssh4806887436142896133.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-ssh11912610905291739434.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7609’ Running on prd-ubuntu20.04-docker-8c-8g-7612 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 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit d7608bef33885ab978c5fad83f7633bf1a7789b2 Merge succeeded, producing 48d9002021d6a40e5e67837968619e60e9c92fc7 Checking out Revision 48d9002021d6a40e5e67837968619e60e9c92fc7 (PR-174) > git config core.sparsecheckout # timeout=10 > git checkout -f d7608bef33885ab978c5fad83f7633bf1a7789b2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48d9002021d6a40e5e67837968619e60e9c92fc7 # timeout=10 Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" > git rev-list --no-walk d7608bef33885ab978c5fad83f7633bf1a7789b2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-11T02:10:43.069Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-11T02:10:43.153Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-11T02:10:43.171Z] ========================================================= [2022-10-11T02:10:43.171Z] EdgeX Global Pipelines Version Info [2022-10-11T02:10:43.171Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:10:43.883Z] ------------------- [2022-10-11T02:10:43.883Z] stable info: [2022-10-11T02:10:43.883Z] ------------------- [2022-10-11T02:10:43.883Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-11T02:10:43.883Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-11T02:10:43.883Z] Message: update stable to v1.0.239 [2022-10-11T02:10:44.456Z] ------------------- [2022-10-11T02:10:44.456Z] experimental info: [2022-10-11T02:10:44.456Z] ------------------- [2022-10-11T02:10:44.456Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-11T02:10:44.456Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-11T02:10:44.456Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-11T02:10:44.626Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-11T02:10:44.643Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-11T02:10:44.655Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-11T02:10:44.668Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-11T02:10:44.681Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-11T02:10:44.697Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-11T02:10:44.711Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-11T02:10:44.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-11T02:10:44.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-11T02:10:44.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-11T02:10:44.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-11T02:10:44.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-11T02:10:44.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-11T02:10:44.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-11T02:10:44.802Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-11T02:10:44.810Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-11T02:10:44.818Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-11T02:10:44.826Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-11T02:10:44.834Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-11T02:10:44.845Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-11T02:10:44.853Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-11T02:10:44.861Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-11T02:10:44.869Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-11T02:10:44.877Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-11T02:10:44.885Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-11T02:10:44.896Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-11T02:10:44.904Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-11T02:10:44.912Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo [2022-10-11T02:10:44.920Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo [2022-10-11T02:10:44.928Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo [2022-10-11T02:10:44.936Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48d9002021d6a40e5e67837968619e60e9c92fc7 [Pipeline] echo [2022-10-11T02:10:44.946Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48d9002 [Pipeline] echo [2022-10-11T02:10:44.954Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T02:10:44.992Z] provisioning config files... [2022-10-11T02:10:45.004Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config3134104132809882284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:10:45.303Z] ---> docker-login.sh [2022-10-11T02:10:45.303Z] nexus3.edgexfoundry.org:10001 [2022-10-11T02:10:45.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:10:45.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:10:45.825Z] Configure a credential helper to remove this warning. See [2022-10-11T02:10:45.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:10:45.825Z] [2022-10-11T02:10:45.825Z] Login Succeeded [2022-10-11T02:10:45.825Z] nexus3.edgexfoundry.org:10002 [2022-10-11T02:10:45.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:10:45.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:10:45.825Z] Configure a credential helper to remove this warning. See [2022-10-11T02:10:45.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:10:45.825Z] [2022-10-11T02:10:45.825Z] Login Succeeded [2022-10-11T02:10:45.825Z] nexus3.edgexfoundry.org:10003 [2022-10-11T02:10:45.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:10:46.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:10:46.084Z] Configure a credential helper to remove this warning. See [2022-10-11T02:10:46.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:10:46.084Z] [2022-10-11T02:10:46.084Z] Login Succeeded [2022-10-11T02:10:46.084Z] nexus3.edgexfoundry.org:10004 [2022-10-11T02:10:46.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:10:46.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:10:46.084Z] Configure a credential helper to remove this warning. See [2022-10-11T02:10:46.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:10:46.084Z] [2022-10-11T02:10:46.084Z] Login Succeeded [2022-10-11T02:10:46.084Z] docker.io [2022-10-11T02:10:46.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:10:46.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:10:46.651Z] Configure a credential helper to remove this warning. See [2022-10-11T02:10:46.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:10:46.651Z] [2022-10-11T02:10:46.651Z] Login Succeeded [2022-10-11T02:10:46.651Z] ---> docker-login.sh ends [Pipeline] } [2022-10-11T02:10:46.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-11T02:10:47.010Z] + git rev-list -1 --merges 48d9002021d6a40e5e67837968619e60e9c92fc7~1..48d9002021d6a40e5e67837968619e60e9c92fc7 [Pipeline] echo [2022-10-11T02:10:47.042Z] -----------> git rev-list -1 --merges 48d9002021d6a40e5e67837968619e60e9c92fc7~1..48d9002021d6a40e5e67837968619e60e9c92fc7 48d9002021d6a40e5e67837968619e60e9c92fc7 [2022-10-11T02:10:47.042Z] 48d9002021d6a40e5e67837968619e60e9c92fc7 [false] [Pipeline] sh [2022-10-11T02:10:47.331Z] + git log --format=format:%s -1 48d9002021d6a40e5e67837968619e60e9c92fc7 [Pipeline] echo [2022-10-11T02:10:47.344Z] ========================================================= [2022-10-11T02:10:47.344Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-11T02:10:47.344Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-11T02:10:47.732Z] + git log --format=format:%s -1 48d9002021d6a40e5e67837968619e60e9c92fc7 [Pipeline] echo [2022-10-11T02:10:47.743Z] [semverPrep] GIT_COMMIT: 48d9002021d6a40e5e67837968619e60e9c92fc7, Commit Message: Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD [Pipeline] echo [2022-10-11T02:10:47.751Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-11T02:10:48.107Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-11T02:10:48.107Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-11T02:10:48.107Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-11T02:10:48.107Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-11T02:10:48.107Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-11T02:10:48.107Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-11T02:10:48.107Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:10:48.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-11T02:10:48.555Z] [2022-10-11T02:10:48.555Z] 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-11T02:10:48.854Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-11T02:10:48.854Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-11T02:10:48.854Z] b85a868b505f: Pulling fs layer [2022-10-11T02:10:48.854Z] e2be974225ed: Pulling fs layer [2022-10-11T02:10:48.854Z] 339a4e72a1f5: Pulling fs layer [2022-10-11T02:10:48.854Z] 988bab9f4d93: Pulling fs layer [2022-10-11T02:10:48.854Z] 1469e6f7b9e6: Pulling fs layer [2022-10-11T02:10:48.854Z] eaf3925da568: Pulling fs layer [2022-10-11T02:10:48.854Z] bab4dde63d76: Pulling fs layer [2022-10-11T02:10:48.854Z] bde34c3a00c8: Pulling fs layer [2022-10-11T02:10:48.854Z] b352a97aabf1: Pulling fs layer [2022-10-11T02:10:48.854Z] 4872d77fe225: Pulling fs layer [2022-10-11T02:10:48.854Z] 5851b861e8e6: Pulling fs layer [2022-10-11T02:10:48.854Z] eaf3925da568: Waiting [2022-10-11T02:10:48.854Z] bab4dde63d76: Waiting [2022-10-11T02:10:48.854Z] bde34c3a00c8: Waiting [2022-10-11T02:10:48.854Z] b352a97aabf1: Waiting [2022-10-11T02:10:48.854Z] 988bab9f4d93: Waiting [2022-10-11T02:10:48.854Z] 1469e6f7b9e6: Waiting [2022-10-11T02:10:48.854Z] 5851b861e8e6: Waiting [2022-10-11T02:10:48.854Z] 4872d77fe225: Waiting [2022-10-11T02:10:48.854Z] e2be974225ed: Download complete [2022-10-11T02:10:48.854Z] 988bab9f4d93: Download complete [2022-10-11T02:10:49.115Z] 1469e6f7b9e6: Verifying Checksum [2022-10-11T02:10:49.115Z] 1469e6f7b9e6: Download complete [2022-10-11T02:10:49.115Z] eaf3925da568: Verifying Checksum [2022-10-11T02:10:49.115Z] eaf3925da568: Download complete [2022-10-11T02:10:49.115Z] 339a4e72a1f5: Verifying Checksum [2022-10-11T02:10:49.115Z] 339a4e72a1f5: Download complete [2022-10-11T02:10:49.115Z] bde34c3a00c8: Verifying Checksum [2022-10-11T02:10:49.115Z] b352a97aabf1: Verifying Checksum [2022-10-11T02:10:49.115Z] b352a97aabf1: Download complete [2022-10-11T02:10:49.115Z] 4872d77fe225: Verifying Checksum [2022-10-11T02:10:49.115Z] 4872d77fe225: Download complete [2022-10-11T02:10:49.115Z] 5851b861e8e6: Verifying Checksum [2022-10-11T02:10:49.115Z] 5851b861e8e6: Download complete [2022-10-11T02:10:49.115Z] b85a868b505f: Verifying Checksum [2022-10-11T02:10:49.115Z] b85a868b505f: Download complete [2022-10-11T02:10:49.378Z] bab4dde63d76: Verifying Checksum [2022-10-11T02:10:49.378Z] bab4dde63d76: Download complete [2022-10-11T02:10:50.314Z] b85a868b505f: Pull complete [2022-10-11T02:10:50.572Z] e2be974225ed: Pull complete [2022-10-11T02:10:51.137Z] 339a4e72a1f5: Pull complete [2022-10-11T02:10:51.137Z] 988bab9f4d93: Pull complete [2022-10-11T02:10:51.403Z] 1469e6f7b9e6: Pull complete [2022-10-11T02:10:51.403Z] eaf3925da568: Pull complete [2022-10-11T02:10:53.940Z] bab4dde63d76: Pull complete [2022-10-11T02:10:53.940Z] bde34c3a00c8: Pull complete [2022-10-11T02:10:53.940Z] b352a97aabf1: Pull complete [2022-10-11T02:10:53.940Z] 4872d77fe225: Pull complete [2022-10-11T02:10:53.940Z] 5851b861e8e6: Pull complete [2022-10-11T02:10:53.940Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-11T02:10:53.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-11T02:10:53.940Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:10:54.016Z] prd-ubuntu20.04-docker-8c-8g-7612 does not seem to be running inside a container [2022-10-11T02:10:54.056Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-11T02:10:56.983Z] $ docker top 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 -eo pid,comm [2022-10-11T02:10:57.040Z] 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-11T02:10:57.040Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-11T02:10:57.069Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-11T02:10:57.069Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-11T02:10:57.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-11T02:10:57.173Z] $ docker exec 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 ssh-agent [2022-10-11T02:10:57.279Z] SSH_AUTH_SOCK=/tmp/ssh-y7qo35Z2JUWn/agent.33 [2022-10-11T02:10:57.279Z] SSH_AGENT_PID=39 [2022-10-11T02:10:57.284Z] Running ssh-add (command line suppressed) [2022-10-11T02:10:57.376Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_14746064257392820923.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_14746064257392820923.key) [2022-10-11T02:10:57.392Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-11T02:10:57.696Z] + git tag --points-at HEAD [Pipeline] } [2022-10-11T02:10:57.713Z] $ docker exec --env ******** --env ******** 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 ssh-agent -k [2022-10-11T02:10:57.805Z] unset SSH_AUTH_SOCK; [2022-10-11T02:10:57.806Z] unset SSH_AGENT_PID; [2022-10-11T02:10:57.806Z] echo Agent pid 39 killed; [2022-10-11T02:10:57.821Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-11T02:10:57.844Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-11T02:10:57.844Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-11T02:10:57.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-11T02:10:57.968Z] $ docker exec 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 ssh-agent [2022-10-11T02:10:58.075Z] SSH_AUTH_SOCK=/tmp/ssh-o9nM5keVg0sA/agent.71 [2022-10-11T02:10:58.075Z] SSH_AGENT_PID=77 [2022-10-11T02:10:58.080Z] Running ssh-add (command line suppressed) [2022-10-11T02:10:58.178Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_13336200965668914047.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_13336200965668914047.key) [2022-10-11T02:10:58.196Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-11T02:10:58.483Z] + git semver init [2022-10-11T02:10:58.743Z] 2022-10-11 02:10:58,665 [run_init] DEBUG init version:0.0.0 force:False [2022-10-11T02:10:58.743Z] 2022-10-11 02:10:58,666 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-174/.semver [2022-10-11T02:10:58.743Z] 2022-10-11 02:10:58,666 [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-11T02:10:58.743Z] 2022-10-11 02:10:58,666 [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-11T02:11:00.150Z] 2022-10-11 02:10:59,750 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-174/.git/info/exclude [2022-10-11T02:11:00.150Z] 2022-10-11 02:10:59,750 [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-11T02:11:00.150Z] 2022-10-11 02:10:59,751 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-11T02:11:00.150Z] 2022-10-11 02:10:59,755 [execute] INFO git cat-file --batch-check [2022-10-11T02:11:00.150Z] 2022-10-11 02:10:59,755 [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-11T02:11:00.150Z] 2022-10-11 02:10:59,760 [execute] INFO git cat-file --batch [2022-10-11T02:11:00.150Z] 2022-10-11 02:10:59,761 [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-11T02:11:00.150Z] 2022-10-11 02:10:59,766 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-11T02:11:00.150Z] 0.0.0 [Pipeline] } [2022-10-11T02:11:00.159Z] $ docker exec --env ******** --env ******** 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 ssh-agent -k [2022-10-11T02:11:00.261Z] unset SSH_AUTH_SOCK; [2022-10-11T02:11:00.262Z] unset SSH_AGENT_PID; [2022-10-11T02:11:00.262Z] echo Agent pid 77 killed; [2022-10-11T02:11:00.272Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-11T02:11:00.592Z] + git semver [Pipeline] } [2022-10-11T02:11:00.860Z] $ docker stop --time=1 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 [2022-10-11T02:11:02.146Z] $ docker rm -f 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-11T02:11:02.511Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-11T02:11:02.707Z] Stashed 1 file(s) [Pipeline] echo [2022-10-11T02:11:02.710Z] [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-11T02:11:02.812Z] provisioning config files... [2022-10-11T02:11:02.834Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config15380118444647072066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:11:03.141Z] ---> docker-login.sh [2022-10-11T02:11:03.141Z] nexus3.edgexfoundry.org:10001 [2022-10-11T02:11:03.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:03.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:03.142Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:03.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:03.142Z] [2022-10-11T02:11:03.142Z] Login Succeeded [2022-10-11T02:11:03.142Z] nexus3.edgexfoundry.org:10002 [2022-10-11T02:11:03.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:03.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:03.407Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:03.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:03.407Z] [2022-10-11T02:11:03.407Z] Login Succeeded [2022-10-11T02:11:03.407Z] nexus3.edgexfoundry.org:10003 [2022-10-11T02:11:03.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:03.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:03.407Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:03.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:03.407Z] [2022-10-11T02:11:03.407Z] Login Succeeded [2022-10-11T02:11:03.407Z] nexus3.edgexfoundry.org:10004 [2022-10-11T02:11:03.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:03.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:03.690Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:03.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:03.690Z] [2022-10-11T02:11:03.690Z] Login Succeeded [2022-10-11T02:11:03.690Z] docker.io [2022-10-11T02:11:03.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:03.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:03.960Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:03.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:03.960Z] [2022-10-11T02:11:03.960Z] Login Succeeded [2022-10-11T02:11:03.960Z] ---> docker-login.sh ends [Pipeline] } [2022-10-11T02:11:03.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-11T02:11:04.036Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T02:11:04.047Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T02:11:04.054Z] ========================================================= [2022-10-11T02:11:04.054Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-11T02:11:04.054Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:11:04.368Z] + 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-11T02:11:04.368Z] Sending build context to Docker daemon 21.22MB [2022-10-11T02:11:04.368Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T02:11:04.368Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-11T02:11:04.368Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-11T02:11:04.368Z] 213ec9aee27d: Pulling fs layer [2022-10-11T02:11:04.368Z] 4583459ba037: Pulling fs layer [2022-10-11T02:11:04.368Z] 93c1e223e6f2: Pulling fs layer [2022-10-11T02:11:04.368Z] 53926ce57604: Pulling fs layer [2022-10-11T02:11:04.368Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-11T02:11:04.368Z] 30f14e443154: Pulling fs layer [2022-10-11T02:11:04.368Z] 801331c1e519: Pulling fs layer [2022-10-11T02:11:04.368Z] 99cc6dd402b0: Pulling fs layer [2022-10-11T02:11:04.368Z] 7d9ed39f4882: Pulling fs layer [2022-10-11T02:11:04.368Z] 53926ce57604: Waiting [2022-10-11T02:11:04.368Z] 801331c1e519: Waiting [2022-10-11T02:11:04.368Z] 21b2b0c7a3f4: Waiting [2022-10-11T02:11:04.368Z] 99cc6dd402b0: Waiting [2022-10-11T02:11:04.368Z] 30f14e443154: Waiting [2022-10-11T02:11:04.368Z] 7d9ed39f4882: Waiting [2022-10-11T02:11:04.646Z] 93c1e223e6f2: Download complete [2022-10-11T02:11:04.646Z] 4583459ba037: Download complete [2022-10-11T02:11:04.646Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-11T02:11:04.646Z] 21b2b0c7a3f4: Download complete [2022-10-11T02:11:04.646Z] 30f14e443154: Download complete [2022-10-11T02:11:04.646Z] 213ec9aee27d: Download complete [2022-10-11T02:11:04.646Z] 801331c1e519: Download complete [2022-10-11T02:11:04.912Z] 213ec9aee27d: Pull complete [2022-10-11T02:11:04.912Z] 4583459ba037: Pull complete [2022-10-11T02:11:04.912Z] 93c1e223e6f2: Pull complete [2022-10-11T02:11:05.196Z] 7d9ed39f4882: Verifying Checksum [2022-10-11T02:11:05.196Z] 7d9ed39f4882: Download complete [2022-10-11T02:11:05.465Z] 53926ce57604: Verifying Checksum [2022-10-11T02:11:05.465Z] 53926ce57604: Download complete [2022-10-11T02:11:05.727Z] 99cc6dd402b0: Verifying Checksum [2022-10-11T02:11:05.727Z] 99cc6dd402b0: Download complete [2022-10-11T02:11:09.968Z] 53926ce57604: Pull complete [2022-10-11T02:11:09.968Z] 21b2b0c7a3f4: Pull complete [2022-10-11T02:11:09.968Z] 30f14e443154: Pull complete [2022-10-11T02:11:09.968Z] 801331c1e519: Pull complete [2022-10-11T02:11:11.887Z] 99cc6dd402b0: Pull complete [2022-10-11T02:11:12.152Z] 7d9ed39f4882: Pull complete [2022-10-11T02:11:12.421Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-11T02:11:12.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-11T02:11:12.421Z] ---> 1dedd983c030 [2022-10-11T02:11:12.421Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-11T02:11:17.786Z] Still waiting to schedule task [2022-10-11T02:11:17.786Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7610’ [2022-10-11T02:11:30.653Z] ---> Running in edb23db4823a [2022-10-11T02:11:30.654Z] Removing intermediate container edb23db4823a [2022-10-11T02:11:30.654Z] ---> 1c01b902e750 [2022-10-11T02:11:30.654Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T02:11:30.654Z] ---> Running in 54247bb5edb8 [2022-10-11T02:11:31.222Z] Removing intermediate container 54247bb5edb8 [2022-10-11T02:11:31.222Z] ---> 0b4a77d1f0be [2022-10-11T02:11:31.222Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-11T02:11:31.788Z] ---> Running in de9334a0e3fb [2022-10-11T02:11:32.723Z] Removing intermediate container de9334a0e3fb [2022-10-11T02:11:32.723Z] ---> 22c44a5da2c8 [2022-10-11T02:11:32.723Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-11T02:11:32.723Z] ---> Running in d76816004926 [2022-10-11T02:11:33.661Z] Removing intermediate container d76816004926 [2022-10-11T02:11:33.661Z] ---> 8b280191ba24 [2022-10-11T02:11:33.661Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-11T02:11:34.254Z] ---> Running in ef1265be5123 [2022-10-11T02:11:34.849Z] Removing intermediate container ef1265be5123 [2022-10-11T02:11:34.849Z] ---> cc762972ef99 [2022-10-11T02:11:34.849Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T02:11:35.416Z] ---> Running in 95bdb47b25d2 [2022-10-11T02:11:37.950Z] Removing intermediate container 95bdb47b25d2 [2022-10-11T02:11:37.950Z] ---> 10d3ead006bf [2022-10-11T02:11:37.950Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T02:11:38.208Z] ---> Running in d048b7f8b81b [2022-10-11T02:11:39.583Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-11T02:11:40.157Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-11T02:11:40.415Z] OK: 211 MiB in 51 packages [2022-10-11T02:11:42.314Z] Removing intermediate container d048b7f8b81b [2022-10-11T02:11:42.314Z] ---> 321ba3e8cd14 [2022-10-11T02:11:42.314Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-11T02:11:42.572Z] ---> Running in faebfce3ad37 [2022-10-11T02:11:43.506Z] Removing intermediate container faebfce3ad37 [2022-10-11T02:11:43.506Z] ---> a1ffd1b0bce9 [2022-10-11T02:11:43.506Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-11T02:11:44.441Z] ---> bf224ef72add [2022-10-11T02:11:44.441Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T02:11:45.009Z] ---> Running in eef1473af816 [2022-10-11T02:12:06.945Z] Removing intermediate container eef1473af816 [2022-10-11T02:12:06.945Z] ---> 85039c079110 [2022-10-11T02:12:06.945Z] Step 13/14 : COPY . . [2022-10-11T02:12:07.521Z] ---> d3b803742c61 [2022-10-11T02:12:07.521Z] Step 14/14 : RUN ${MAKE} [2022-10-11T02:12:07.521Z] ---> Running in 6b9123c20dce [2022-10-11T02:12:07.521Z] noop [2022-10-11T02:12:07.783Z] Removing intermediate container 6b9123c20dce [2022-10-11T02:12:07.783Z] ---> 50df854cb16d [2022-10-11T02:12:07.783Z] Successfully built 50df854cb16d [2022-10-11T02:12:07.783Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:12:08.103Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-11T02:12:08.103Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:12:08.182Z] prd-ubuntu20.04-docker-8c-8g-7612 does not seem to be running inside a container [2022-10-11T02:12:08.209Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-10-11T02:12:08.557Z] $ docker top 5dc4b8d756ca288a52dd9f1ed4a08f4c85835d2192cac53462e7c047eb5aed8e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T02:12:08.898Z] + go version [2022-10-11T02:12:08.898Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-11T02:12:08.908Z] $ docker stop --time=1 5dc4b8d756ca288a52dd9f1ed4a08f4c85835d2192cac53462e7c047eb5aed8e [2022-10-11T02:12:10.192Z] $ docker rm -f 5dc4b8d756ca288a52dd9f1ed4a08f4c85835d2192cac53462e7c047eb5aed8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:12:10.604Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-11T02:12:10.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:12:10.673Z] prd-ubuntu20.04-docker-8c-8g-7612 does not seem to be running inside a container [2022-10-11T02:12:10.704Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-10-11T02:12:11.021Z] $ docker top 971f11515e6cd255aa3ee68edb61f19c92fe8a65865b28dba4e9fe1b4bba3137 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T02:12:11.375Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] fileExists [Pipeline] sh [2022-10-11T02:12:11.685Z] + make test [2022-10-11T02:12:11.685Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-11T02:12:11.943Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-11T02:12:21.938Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-11T02:12:22.871Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.2% of statements [2022-10-11T02:12:22.871Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-11T02:12:22.871Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.406s coverage: 86.5% of statements [2022-10-11T02:12:31.006Z] 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-11T02:12:31.006Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-11T02:12:33.532Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-11T02:12:33.532Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-11T02:12:33.532Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-11T02:12:33.545Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-11T02:12:33.554Z] $ docker stop --time=1 971f11515e6cd255aa3ee68edb61f19c92fe8a65865b28dba4e9fe1b4bba3137 [2022-10-11T02:12:35.892Z] $ docker rm -f 971f11515e6cd255aa3ee68edb61f19c92fe8a65865b28dba4e9fe1b4bba3137 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-11T02:12:36.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-11T02:12:36.388Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-11T02:12:36.873Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-11T02:12:37.155Z] + ls -al . [2022-10-11T02:12:37.155Z] total 236 [2022-10-11T02:12:37.155Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 02:12 . [2022-10-11T02:12:37.155Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:10 .. [2022-10-11T02:12:37.155Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 02:12 .git [2022-10-11T02:12:37.155Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:10 .github [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 11 02:10 .gitignore [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 02:10 .golangci.yml [2022-10-11T02:12:37.155Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 02:10 .semver [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 11 02:10 Attribution.txt [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 11 02:10 CHANGELOG.md [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 11 02:10 Dockerfile [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 02:10 GOVERNANCE.md [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 11 02:10 Jenkinsfile [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 02:10 LICENSE [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 11 02:10 Makefile [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 02:10 OWNERS.md [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 11 02:10 README.md [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 02:11 VERSION [2022-10-11T02:12:37.155Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 02:10 bin [2022-10-11T02:12:37.155Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:10 cmd [2022-10-11T02:12:37.155Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 11 02:12 coverage.out [2022-10-11T02:12:37.155Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 02:10 doc [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 11 02:10 go.mod [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 11 02:10 go.sum [2022-10-11T02:12:37.155Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:10 internal [2022-10-11T02:12:37.155Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:10 snap [2022-10-11T02:12:37.155Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 02:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:12:37.499Z] + 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=48d9002021d6a40e5e67837968619e60e9c92fc7 --label arch=amd64 --label version=0.0.0 . [2022-10-11T02:12:37.499Z] Sending build context to Docker daemon 21.3MB [2022-10-11T02:12:37.499Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T02:12:37.499Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-11T02:12:37.499Z] ---> 50df854cb16d [2022-10-11T02:12:37.499Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-11T02:12:37.757Z] ---> Running in 5f291a2999c1 [2022-10-11T02:12:37.757Z] Removing intermediate container 5f291a2999c1 [2022-10-11T02:12:37.757Z] ---> da6d39758ddf [2022-10-11T02:12:37.758Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T02:12:37.758Z] ---> Running in 5e4758aad9b4 [2022-10-11T02:12:37.758Z] Removing intermediate container 5e4758aad9b4 [2022-10-11T02:12:37.758Z] ---> 6c911e7b363b [2022-10-11T02:12:37.758Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-11T02:12:38.016Z] ---> Running in bc59c52e8545 [2022-10-11T02:12:38.016Z] Removing intermediate container bc59c52e8545 [2022-10-11T02:12:38.016Z] ---> 90c670019ddc [2022-10-11T02:12:38.016Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-11T02:12:38.016Z] ---> Running in fe37b09c9bf6 [2022-10-11T02:12:38.016Z] Removing intermediate container fe37b09c9bf6 [2022-10-11T02:12:38.016Z] ---> 1bb803ac182d [2022-10-11T02:12:38.016Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-11T02:12:38.016Z] ---> Running in 1c2383a073de [2022-10-11T02:12:38.274Z] Removing intermediate container 1c2383a073de [2022-10-11T02:12:38.274Z] ---> dd2299f7b110 [2022-10-11T02:12:38.274Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T02:12:38.274Z] ---> Running in 482261fab76f [2022-10-11T02:12:38.840Z] Removing intermediate container 482261fab76f [2022-10-11T02:12:38.840Z] ---> 1e69df517b03 [2022-10-11T02:12:38.840Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T02:12:38.840Z] ---> Running in 80fdfe88b5b1 [2022-10-11T02:12:38.840Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-11T02:12:39.772Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-11T02:12:40.031Z] OK: 211 MiB in 51 packages [2022-10-11T02:12:40.289Z] Removing intermediate container 80fdfe88b5b1 [2022-10-11T02:12:40.289Z] ---> adac177588b3 [2022-10-11T02:12:40.289Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-11T02:12:40.547Z] ---> Running in a5beb1042497 [2022-10-11T02:12:40.547Z] Removing intermediate container a5beb1042497 [2022-10-11T02:12:40.547Z] ---> 5c8ccd3df4f4 [2022-10-11T02:12:40.547Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-11T02:12:40.547Z] ---> eb9bf0b3b538 [2022-10-11T02:12:40.547Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T02:12:40.547Z] ---> Running in 780e2da60df1 [2022-10-11T02:12:41.480Z] Removing intermediate container 780e2da60df1 [2022-10-11T02:12:41.480Z] ---> 2324a35a2a2a [2022-10-11T02:12:41.480Z] Step 13/27 : COPY . . [2022-10-11T02:12:42.045Z] ---> 7e4030b6c273 [2022-10-11T02:12:42.045Z] Step 14/27 : RUN ${MAKE} [2022-10-11T02:12:42.045Z] ---> Running in e44bf08259c1 [2022-10-11T02:12:42.302Z] 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-11T02:13:08.823Z] Removing intermediate container e44bf08259c1 [2022-10-11T02:13:08.823Z] ---> 7293f24f1869 [2022-10-11T02:13:08.823Z] Step 15/27 : FROM alpine:3.16 [2022-10-11T02:13:08.823Z] 3.16: Pulling from library/alpine [2022-10-11T02:13:08.823Z] 213ec9aee27d: Already exists [2022-10-11T02:13:08.823Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-11T02:13:08.823Z] Status: Downloaded newer image for alpine:3.16 [2022-10-11T02:13:08.823Z] ---> 9c6f07244728 [2022-10-11T02:13:08.823Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-11T02:13:08.823Z] ---> Running in 8d5c54be2d53 [2022-10-11T02:13:08.823Z] Removing intermediate container 8d5c54be2d53 [2022-10-11T02:13:08.823Z] ---> 126bae43ccb9 [2022-10-11T02:13:08.823Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-11T02:13:08.823Z] ---> Running in 55a06b03d522 [2022-10-11T02:13:08.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-11T02:13:08.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-11T02:13:08.823Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-11T02:13:08.823Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-11T02:13:08.823Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-11T02:13:08.823Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-11T02:13:08.823Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-11T02:13:08.823Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-11T02:13:08.823Z] Executing busybox-1.35.0-r17.trigger [2022-10-11T02:13:08.823Z] OK: 8 MiB in 20 packages [2022-10-11T02:13:08.823Z] Removing intermediate container 55a06b03d522 [2022-10-11T02:13:08.823Z] ---> 408dd7ef9e4f [2022-10-11T02:13:08.823Z] Step 18/27 : WORKDIR / [2022-10-11T02:13:08.823Z] ---> Running in 624f9fe8b845 [2022-10-11T02:13:08.823Z] Removing intermediate container 624f9fe8b845 [2022-10-11T02:13:08.823Z] ---> 5a115b335976 [2022-10-11T02:13:08.823Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-11T02:13:08.823Z] ---> 08f4a43dae64 [2022-10-11T02:13:08.823Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-11T02:13:08.823Z] ---> 67e561128590 [2022-10-11T02:13:08.823Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-11T02:13:08.823Z] ---> 62fe2036becf [2022-10-11T02:13:08.823Z] Step 22/27 : EXPOSE 59984 [2022-10-11T02:13:08.823Z] ---> Running in c53da356d7ad [2022-10-11T02:13:08.823Z] Removing intermediate container c53da356d7ad [2022-10-11T02:13:08.823Z] ---> 8fb40e801075 [2022-10-11T02:13:08.823Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-11T02:13:08.823Z] ---> Running in d374b4db9a53 [2022-10-11T02:13:08.823Z] Removing intermediate container d374b4db9a53 [2022-10-11T02:13:08.823Z] ---> 4d8063c3af7e [2022-10-11T02:13:08.823Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-11T02:13:08.823Z] ---> Running in 8ba7d5edc62d [2022-10-11T02:13:08.823Z] Removing intermediate container 8ba7d5edc62d [2022-10-11T02:13:08.823Z] ---> 007d40ded02c [2022-10-11T02:13:08.823Z] Step 25/27 : LABEL arch=amd64 [2022-10-11T02:13:08.823Z] ---> Running in d00512b55ca3 [2022-10-11T02:13:08.823Z] Removing intermediate container d00512b55ca3 [2022-10-11T02:13:08.823Z] ---> 88be4dd7d7a0 [2022-10-11T02:13:08.823Z] Step 26/27 : LABEL git_sha=48d9002021d6a40e5e67837968619e60e9c92fc7 [2022-10-11T02:13:08.823Z] ---> Running in 630d55ce0751 [2022-10-11T02:13:08.823Z] Removing intermediate container 630d55ce0751 [2022-10-11T02:13:08.823Z] ---> 8c0a8c9c2789 [2022-10-11T02:13:08.823Z] Step 27/27 : LABEL version=0.0.0 [2022-10-11T02:13:08.823Z] ---> Running in a1f028218c59 [2022-10-11T02:13:08.823Z] Removing intermediate container a1f028218c59 [2022-10-11T02:13:08.823Z] ---> 83eb89f2ac64 [2022-10-11T02:13:08.823Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-11T02:13:08.823Z] Successfully built 83eb89f2ac64 [2022-10-11T02:13:08.823Z] 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-11T02:13:09.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T02:13:09.203Z] [2022-10-11T02:13:09.203Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:13:09.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T02:13:09.494Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-11T02:13:09.494Z] 5eb5b503b376: Pulling fs layer [2022-10-11T02:13:09.494Z] 5c69ac0246d0: Pulling fs layer [2022-10-11T02:13:09.494Z] ec43610c2a17: Pulling fs layer [2022-10-11T02:13:09.494Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-11T02:13:09.494Z] 33b1e0a273af: Pulling fs layer [2022-10-11T02:13:09.494Z] 5d3b04190fa2: Pulling fs layer [2022-10-11T02:13:09.494Z] 2f39f015ded8: Pulling fs layer [2022-10-11T02:13:09.494Z] 5d3b04190fa2: Waiting [2022-10-11T02:13:09.494Z] 33b1e0a273af: Waiting [2022-10-11T02:13:09.494Z] 2f39f015ded8: Waiting [2022-10-11T02:13:09.494Z] 5c69ac0246d0: Verifying Checksum [2022-10-11T02:13:09.494Z] 5c69ac0246d0: Download complete [2022-10-11T02:13:09.494Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-11T02:13:09.494Z] 3a2ae6a8a46f: Download complete [2022-10-11T02:13:09.754Z] 33b1e0a273af: Verifying Checksum [2022-10-11T02:13:09.754Z] 33b1e0a273af: Download complete [2022-10-11T02:13:09.754Z] ec43610c2a17: Verifying Checksum [2022-10-11T02:13:09.754Z] ec43610c2a17: Download complete [2022-10-11T02:13:09.754Z] 5d3b04190fa2: Verifying Checksum [2022-10-11T02:13:09.754Z] 5d3b04190fa2: Download complete [2022-10-11T02:13:09.754Z] 5eb5b503b376: Verifying Checksum [2022-10-11T02:13:09.754Z] 5eb5b503b376: Download complete [2022-10-11T02:13:10.695Z] 2f39f015ded8: Verifying Checksum [2022-10-11T02:13:10.695Z] 2f39f015ded8: Download complete [2022-10-11T02:13:10.952Z] 5eb5b503b376: Pull complete [2022-10-11T02:13:10.952Z] 5c69ac0246d0: Pull complete [2022-10-11T02:13:11.517Z] ec43610c2a17: Pull complete [2022-10-11T02:13:11.517Z] 3a2ae6a8a46f: Pull complete [2022-10-11T02:13:11.775Z] 33b1e0a273af: Pull complete [2022-10-11T02:13:11.775Z] 5d3b04190fa2: Pull complete [2022-10-11T02:13:15.955Z] 2f39f015ded8: Pull complete [2022-10-11T02:13:15.955Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-11T02:13:15.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T02:13:15.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:13:16.026Z] prd-ubuntu20.04-docker-8c-8g-7612 does not seem to be running inside a container [2022-10-11T02:13:16.050Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-11T02:13:19.516Z] $ docker top eb423236bdd9b3b667b063412805a737fab78859f673eae211ee9e923cc2ac22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:13:19.899Z] ---> job-cost.sh [2022-10-11T02:13:19.899Z] lf-activate-venv: SKIPPING [2022-10-11T02:13:19.899Z] INFO: No Stack... [2022-10-11T02:13:20.159Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-11T02:13:20.724Z] INFO: Archiving Costs [Pipeline] sh [2022-10-11T02:13:21.010Z] + cat /w/workspace/undry_device-onvif-camera_PR-174/archives/cost.csv [2022-10-11T02:13:21.011Z] + cut -d, -f6 [Pipeline] lock [2022-10-11T02:13:21.023Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] [2022-10-11T02:13:21.036Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] did not exist. Created. [2022-10-11T02:13:21.036Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-11T02:13:21.331Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-11T02:13:21.369Z] Stashed 1 file(s) [Pipeline] } [2022-10-11T02:13:21.376Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-11T02:13:21.393Z] $ docker stop --time=1 eb423236bdd9b3b667b063412805a737fab78859f673eae211ee9e923cc2ac22 [2022-10-11T02:13:22.527Z] $ docker rm -f eb423236bdd9b3b667b063412805a737fab78859f673eae211ee9e923cc2ac22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-11T02:13:40.987Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7615 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] ws [2022-10-11T02:13:40.996Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2022-10-11T02:13:41.028Z] The recommended git tool is: git [2022-10-11T02:13:47.262Z] using credential edgex-jenkins-ssh [2022-10-11T02:13:47.282Z] Cloning the remote Git repository [2022-10-11T02:13:47.333Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-11T02:13:47.420Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-10-11T02:13:47.589Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-11T02:13:47.590Z] > git --version # timeout=10 [2022-10-11T02:13:47.614Z] > git --version # 'git version 2.25.1' [2022-10-11T02:13:47.616Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-11T02:13:47.670Z] Verifying host key using known hosts file [2022-10-11T02:13:47.892Z] 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-11T02:13:47.905Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-11T02:13:49.189Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-11T02:13:49.224Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-11T02:13:51.102Z] Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit d7608bef33885ab978c5fad83f7633bf1a7789b2 [2022-10-11T02:13:50.254Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-11T02:13:50.309Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-11T02:13:50.311Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-11T02:13:50.317Z] Verifying host key using known hosts file [2022-10-11T02:13:50.326Z] 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-11T02:13:50.341Z] > 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-11T02:13:51.123Z] > git config core.sparsecheckout # timeout=10 [2022-10-11T02:13:51.161Z] > git checkout -f d7608bef33885ab978c5fad83f7633bf1a7789b2 # timeout=10 [2022-10-11T02:13:52.072Z] Merge succeeded, producing df9a3fbcbe8cad976df713ebeee647e5f7497bae [2022-10-11T02:13:52.072Z] Checking out Revision df9a3fbcbe8cad976df713ebeee647e5f7497bae (PR-174) [2022-10-11T02:13:51.422Z] > git remote # timeout=10 [2022-10-11T02:13:51.445Z] > git config --get remote.origin.url # timeout=10 [2022-10-11T02:13:51.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-11T02:13:51.480Z] Verifying host key using known hosts file [2022-10-11T02:13:51.487Z] 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-11T02:13:51.499Z] > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 [2022-10-11T02:13:52.047Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-11T02:13:52.080Z] > git config core.sparsecheckout # timeout=10 [2022-10-11T02:13:52.099Z] > git checkout -f df9a3fbcbe8cad976df713ebeee647e5f7497bae # timeout=10 [2022-10-11T02:13:55.686Z] Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" [2022-10-11T02:13:55.696Z] > git rev-list --no-walk d7608bef33885ab978c5fad83f7633bf1a7789b2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-11T02:13:56.711Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-11T02:13:56.712Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-11T02:13:56.712Z] Dload Upload Total Spent Left Speed [2022-10-11T02:13:56.712Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 71602 0 --:--:-- --:--:-- --:--:-- 71602 [Pipeline] sh [2022-10-11T02:13:57.415Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-11T02:13:57.750Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-11T02:13:57.750Z] + sudo tee /etc/docker/daemon.new [2022-10-11T02:13:57.750Z] { [2022-10-11T02:13:57.750Z] "registry-mirrors": [ [2022-10-11T02:13:57.750Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-11T02:13:57.750Z] ], [2022-10-11T02:13:57.750Z] "bip": "10.250.0.254/24", [2022-10-11T02:13:57.750Z] "hosts": [ [2022-10-11T02:13:57.750Z] "tcp://0.0.0.0:5555", [2022-10-11T02:13:57.750Z] "unix:///var/run/docker.sock" [2022-10-11T02:13:57.750Z] ], [2022-10-11T02:13:57.750Z] "mtu": 1458, [2022-10-11T02:13:57.750Z] "selinux-enabled": true, [2022-10-11T02:13:57.750Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-11T02:13:57.750Z] } [Pipeline] sh [2022-10-11T02:13:58.082Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-11T02:13:58.438Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T02:14:16.734Z] provisioning config files... [2022-10-11T02:14:16.759Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config11027402141090072233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:14:17.111Z] ---> docker-login.sh [2022-10-11T02:14:17.111Z] nexus3.edgexfoundry.org:10001 [2022-10-11T02:14:17.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:14:17.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:14:17.700Z] Configure a credential helper to remove this warning. See [2022-10-11T02:14:17.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:14:17.700Z] [2022-10-11T02:14:17.700Z] Login Succeeded [2022-10-11T02:14:17.700Z] nexus3.edgexfoundry.org:10002 [2022-10-11T02:14:17.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:14:18.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:14:18.239Z] Configure a credential helper to remove this warning. See [2022-10-11T02:14:18.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:14:18.239Z] [2022-10-11T02:14:18.239Z] Login Succeeded [2022-10-11T02:14:18.239Z] nexus3.edgexfoundry.org:10003 [2022-10-11T02:14:18.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:14:18.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:14:18.509Z] Configure a credential helper to remove this warning. See [2022-10-11T02:14:18.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:14:18.509Z] [2022-10-11T02:14:18.509Z] Login Succeeded [2022-10-11T02:14:18.509Z] nexus3.edgexfoundry.org:10004 [2022-10-11T02:14:18.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:14:19.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:14:19.047Z] Configure a credential helper to remove this warning. See [2022-10-11T02:14:19.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:14:19.047Z] [2022-10-11T02:14:19.047Z] Login Succeeded [2022-10-11T02:14:19.047Z] docker.io [2022-10-11T02:14:19.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:14:19.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:14:19.638Z] Configure a credential helper to remove this warning. See [2022-10-11T02:14:19.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:14:19.638Z] [2022-10-11T02:14:19.638Z] Login Succeeded [2022-10-11T02:14:19.638Z] ---> docker-login.sh ends [Pipeline] } [2022-10-11T02:14:19.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-11T02:14:19.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T02:14:19.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T02:14:19.844Z] ========================================================= [2022-10-11T02:14:19.844Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-11T02:14:19.844Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:14:20.199Z] + 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-11T02:14:20.789Z] Sending build context to Docker daemon 14.64MB [2022-10-11T02:14:20.789Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T02:14:20.789Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-11T02:14:20.789Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-11T02:14:20.789Z] 9b18e9b68314: Pulling fs layer [2022-10-11T02:14:20.789Z] d32db5db7311: Pulling fs layer [2022-10-11T02:14:20.789Z] d0c4b47475fc: Pulling fs layer [2022-10-11T02:14:20.789Z] 5831b945b038: Pulling fs layer [2022-10-11T02:14:20.789Z] 86bbec2aaacd: Pulling fs layer [2022-10-11T02:14:20.789Z] e10730c5d714: Pulling fs layer [2022-10-11T02:14:20.789Z] 5831b945b038: Waiting [2022-10-11T02:14:20.790Z] 86bbec2aaacd: Waiting [2022-10-11T02:14:20.790Z] 5dd5c2283517: Pulling fs layer [2022-10-11T02:14:20.790Z] d5ac0230b979: Pulling fs layer [2022-10-11T02:14:20.790Z] e10730c5d714: Waiting [2022-10-11T02:14:20.790Z] d5ac0230b979: Waiting [2022-10-11T02:14:20.790Z] 5dd5c2283517: Waiting [2022-10-11T02:14:21.068Z] d0c4b47475fc: Verifying Checksum [2022-10-11T02:14:21.068Z] d0c4b47475fc: Download complete [2022-10-11T02:14:21.068Z] d32db5db7311: Download complete [2022-10-11T02:14:21.068Z] 86bbec2aaacd: Download complete [2022-10-11T02:14:21.068Z] e10730c5d714: Verifying Checksum [2022-10-11T02:14:21.068Z] e10730c5d714: Download complete [2022-10-11T02:14:21.068Z] 9b18e9b68314: Verifying Checksum [2022-10-11T02:14:22.089Z] 9b18e9b68314: Pull complete [2022-10-11T02:14:22.362Z] d5ac0230b979: Verifying Checksum [2022-10-11T02:14:22.362Z] d5ac0230b979: Download complete [2022-10-11T02:14:22.641Z] d32db5db7311: Pull complete [2022-10-11T02:14:22.914Z] d0c4b47475fc: Pull complete [2022-10-11T02:14:23.188Z] 5dd5c2283517: Verifying Checksum [2022-10-11T02:14:23.188Z] 5dd5c2283517: Download complete [2022-10-11T02:14:24.160Z] 5831b945b038: Download complete [2022-10-11T02:14:36.505Z] 5831b945b038: Pull complete [2022-10-11T02:14:36.505Z] 86bbec2aaacd: Pull complete [2022-10-11T02:14:36.505Z] e10730c5d714: Pull complete [2022-10-11T02:14:43.181Z] 5dd5c2283517: Pull complete [2022-10-11T02:14:44.153Z] d5ac0230b979: Pull complete [2022-10-11T02:14:44.153Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-11T02:14:44.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-11T02:14:44.423Z] ---> 59b3b1a385d4 [2022-10-11T02:14:44.423Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-11T02:14:46.375Z] ---> Running in ea6ab2f8d52f [2022-10-11T02:14:46.643Z] Removing intermediate container ea6ab2f8d52f [2022-10-11T02:14:46.643Z] ---> 02f99c847516 [2022-10-11T02:14:46.643Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T02:14:46.643Z] ---> Running in 5dfe8261db1e [2022-10-11T02:14:46.912Z] Removing intermediate container 5dfe8261db1e [2022-10-11T02:14:46.912Z] ---> 59361515274e [2022-10-11T02:14:46.912Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-11T02:14:47.184Z] ---> Running in 6eacbb6f9ea7 [2022-10-11T02:14:47.453Z] Removing intermediate container 6eacbb6f9ea7 [2022-10-11T02:14:47.453Z] ---> c268a8f2e404 [2022-10-11T02:14:47.453Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-11T02:14:47.453Z] ---> Running in dae3e1e7db8b [2022-10-11T02:14:48.039Z] Removing intermediate container dae3e1e7db8b [2022-10-11T02:14:48.039Z] ---> 541dde9a978b [2022-10-11T02:14:48.039Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-11T02:14:48.039Z] ---> Running in fb94318e3da6 [2022-10-11T02:14:48.308Z] Removing intermediate container fb94318e3da6 [2022-10-11T02:14:48.308Z] ---> 458f5325c219 [2022-10-11T02:14:48.308Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T02:14:48.308Z] ---> Running in 8a530aa264ab [2022-10-11T02:14:50.255Z] Removing intermediate container 8a530aa264ab [2022-10-11T02:14:50.255Z] ---> e120f1feae25 [2022-10-11T02:14:50.255Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T02:14:50.255Z] ---> Running in 40190e4b2335 [2022-10-11T02:14:51.216Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-11T02:14:52.188Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-11T02:14:53.157Z] OK: 221 MiB in 51 packages [2022-10-11T02:14:54.136Z] Removing intermediate container 40190e4b2335 [2022-10-11T02:14:54.136Z] ---> 910d9a4ccda8 [2022-10-11T02:14:54.136Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-11T02:14:54.136Z] ---> Running in 66bfeccc2673 [2022-10-11T02:14:54.403Z] Removing intermediate container 66bfeccc2673 [2022-10-11T02:14:54.403Z] ---> 40b2af52a081 [2022-10-11T02:14:54.403Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-11T02:14:54.986Z] ---> 1d5059949abc [2022-10-11T02:14:54.986Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T02:14:54.986Z] ---> Running in b798e8a2b84f [2022-10-11T02:15:51.428Z] Removing intermediate container b798e8a2b84f [2022-10-11T02:15:51.428Z] ---> 6814919d4f2c [2022-10-11T02:15:51.428Z] Step 13/14 : COPY . . [2022-10-11T02:15:51.428Z] ---> 020ce716ef42 [2022-10-11T02:15:51.428Z] Step 14/14 : RUN ${MAKE} [2022-10-11T02:15:51.428Z] ---> Running in c84dc62c0c03 [2022-10-11T02:15:51.428Z] noop [2022-10-11T02:15:51.428Z] Removing intermediate container c84dc62c0c03 [2022-10-11T02:15:51.428Z] ---> 6b90215f6a7c [2022-10-11T02:15:51.428Z] Successfully built 6b90215f6a7c [2022-10-11T02:15:51.428Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:15:51.793Z] + docker inspect -f . ci-base-image-arm64 [2022-10-11T02:15:51.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:15:52.002Z] prd-ubuntu20.04-docker-arm64-4c-16g-7615 does not seem to be running inside a container [2022-10-11T02:15:52.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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-11T02:15:53.510Z] $ docker top 81786ded1efd91ab4102d763321603847d042eb3beaf407f3601f418c3e11cd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T02:15:54.390Z] + go version [2022-10-11T02:15:54.390Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-11T02:15:54.416Z] $ docker stop --time=1 81786ded1efd91ab4102d763321603847d042eb3beaf407f3601f418c3e11cd1 [2022-10-11T02:15:56.126Z] $ docker rm -f 81786ded1efd91ab4102d763321603847d042eb3beaf407f3601f418c3e11cd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:15:56.702Z] + docker inspect -f . ci-base-image-arm64 [2022-10-11T02:15:56.702Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:15:56.893Z] prd-ubuntu20.04-docker-arm64-4c-16g-7615 does not seem to be running inside a container [2022-10-11T02:15:56.978Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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-11T02:15:58.328Z] $ docker top 6d8ea666db69d05399beb72c91f2d90d12422f4b6509c7caeb9aa15743acce3b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T02:15:59.198Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh [2022-10-11T02:15:59.855Z] + make test [2022-10-11T02:15:59.855Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-11T02:16:01.809Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-11T02:17:53.495Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-11T02:17:53.495Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.197s coverage: 28.2% of statements [2022-10-11T02:17:53.495Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-11T02:18:11.745Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.421s coverage: 86.5% of statements [2022-10-11T02:18:11.746Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-11T02:18:11.746Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-11T02:18:50.680Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-11T02:18:50.680Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-11T02:18:50.680Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-11T02:18:50.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-11T02:18:50.736Z] $ docker stop --time=1 6d8ea666db69d05399beb72c91f2d90d12422f4b6509c7caeb9aa15743acce3b [2022-10-11T02:18:52.731Z] $ docker rm -f 6d8ea666db69d05399beb72c91f2d90d12422f4b6509c7caeb9aa15743acce3b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-11T02:18:53.861Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-11T02:18:53.885Z] Warning: overwriting stash ‘coverage-report’ [2022-10-11T02:18:54.479Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-11T02:18:54.882Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-11T02:18:55.236Z] + ls -al . [2022-10-11T02:18:55.237Z] total 232 [2022-10-11T02:18:55.237Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 02:16 . [2022-10-11T02:18:55.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:13 .. [2022-10-11T02:18:55.237Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 02:13 .git [2022-10-11T02:18:55.237Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:13 .github [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 11 02:13 .gitignore [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 02:13 .golangci.yml [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 11 02:13 Attribution.txt [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 11 02:13 CHANGELOG.md [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 11 02:13 Dockerfile [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 02:13 GOVERNANCE.md [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 11 02:13 Jenkinsfile [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 02:13 LICENSE [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 11 02:13 Makefile [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 02:13 OWNERS.md [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 11 02:13 README.md [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 02:11 VERSION [2022-10-11T02:18:55.237Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 02:13 bin [2022-10-11T02:18:55.237Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:13 cmd [2022-10-11T02:18:55.237Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 11 02:18 coverage.out [2022-10-11T02:18:55.237Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 02:13 doc [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 11 02:13 go.mod [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 11 02:13 go.sum [2022-10-11T02:18:55.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:13 internal [2022-10-11T02:18:55.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:13 snap [2022-10-11T02:18:55.237Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 02:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:18:55.909Z] + 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=df9a3fbcbe8cad976df713ebeee647e5f7497bae --label arch=arm64 --label version=0.0.0 . [2022-10-11T02:18:57.391Z] Sending build context to Docker daemon 14.71MB [2022-10-11T02:18:57.392Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T02:18:57.392Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-11T02:18:57.392Z] ---> 6b90215f6a7c [2022-10-11T02:18:57.392Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-11T02:18:57.681Z] ---> Running in 36eebfdd3e7d [2022-10-11T02:18:58.291Z] Removing intermediate container 36eebfdd3e7d [2022-10-11T02:18:58.291Z] ---> b93471f4480e [2022-10-11T02:18:58.291Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T02:18:58.291Z] ---> Running in b5515b386e71 [2022-10-11T02:18:58.886Z] Removing intermediate container b5515b386e71 [2022-10-11T02:18:58.886Z] ---> 1487eacc91ab [2022-10-11T02:18:58.886Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-11T02:18:59.154Z] ---> Running in 748494bc3247 [2022-10-11T02:18:59.431Z] Removing intermediate container 748494bc3247 [2022-10-11T02:18:59.431Z] ---> 610cfa650818 [2022-10-11T02:18:59.431Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-11T02:18:59.431Z] ---> Running in 5e7464a16d58 [2022-10-11T02:19:00.020Z] Removing intermediate container 5e7464a16d58 [2022-10-11T02:19:00.020Z] ---> ec22dca22880 [2022-10-11T02:19:00.020Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-11T02:19:00.020Z] ---> Running in cea0285684df [2022-10-11T02:19:01.432Z] Removing intermediate container cea0285684df [2022-10-11T02:19:01.432Z] ---> 9a4bfdc95019 [2022-10-11T02:19:01.433Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T02:19:01.433Z] ---> Running in cdd90eeb115c [2022-10-11T02:19:04.799Z] Removing intermediate container cdd90eeb115c [2022-10-11T02:19:04.799Z] ---> 54de6a561ffe [2022-10-11T02:19:04.799Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T02:19:05.079Z] ---> Running in e7883c41e928 [2022-10-11T02:19:06.512Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-11T02:19:07.475Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-11T02:19:08.888Z] OK: 221 MiB in 51 packages [2022-10-11T02:19:09.474Z] Removing intermediate container e7883c41e928 [2022-10-11T02:19:09.474Z] ---> a34581c90299 [2022-10-11T02:19:09.474Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-11T02:19:09.746Z] ---> Running in 5ea1e040e752 [2022-10-11T02:19:10.016Z] Removing intermediate container 5ea1e040e752 [2022-10-11T02:19:10.016Z] ---> 0702deac1217 [2022-10-11T02:19:10.016Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-11T02:19:10.610Z] ---> 5e3c2d691a83 [2022-10-11T02:19:10.610Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T02:19:10.610Z] ---> Running in abf1515b990d [2022-10-11T02:19:13.206Z] Removing intermediate container abf1515b990d [2022-10-11T02:19:13.206Z] ---> 18561d72b5de [2022-10-11T02:19:13.206Z] Step 13/27 : COPY . . [2022-10-11T02:19:14.624Z] ---> b0a080606a7a [2022-10-11T02:19:14.624Z] Step 14/27 : RUN ${MAKE} [2022-10-11T02:19:14.624Z] ---> Running in 34e5facb6bb1 [2022-10-11T02:19:15.592Z] 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-11T02:22:07.368Z] Removing intermediate container 34e5facb6bb1 [2022-10-11T02:22:07.368Z] ---> b25ebd783822 [2022-10-11T02:22:07.368Z] Step 15/27 : FROM alpine:3.16 [2022-10-11T02:22:07.368Z] 3.16: Pulling from library/alpine [2022-10-11T02:22:07.368Z] 9b18e9b68314: Already exists [2022-10-11T02:22:07.368Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-11T02:22:07.368Z] Status: Downloaded newer image for alpine:3.16 [2022-10-11T02:22:07.368Z] ---> a6215f271958 [2022-10-11T02:22:07.368Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-11T02:22:07.368Z] ---> Running in d6757ba301ef [2022-10-11T02:22:07.368Z] Removing intermediate container d6757ba301ef [2022-10-11T02:22:07.368Z] ---> c0abd012d495 [2022-10-11T02:22:07.368Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-11T02:22:07.368Z] ---> Running in bdf0edc28922 [2022-10-11T02:22:07.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-11T02:22:07.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-11T02:22:07.368Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-11T02:22:07.368Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-11T02:22:07.368Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-11T02:22:07.368Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-11T02:22:07.368Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-11T02:22:07.368Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-11T02:22:07.368Z] Executing busybox-1.35.0-r17.trigger [2022-10-11T02:22:07.368Z] OK: 8 MiB in 20 packages [2022-10-11T02:22:07.368Z] Removing intermediate container bdf0edc28922 [2022-10-11T02:22:07.368Z] ---> f5842332f41c [2022-10-11T02:22:07.368Z] Step 18/27 : WORKDIR / [2022-10-11T02:22:07.368Z] ---> Running in bb6f1b4c00b7 [2022-10-11T02:22:07.368Z] Removing intermediate container bb6f1b4c00b7 [2022-10-11T02:22:07.368Z] ---> 7f7ff5d2f667 [2022-10-11T02:22:07.368Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-11T02:22:07.368Z] ---> 25dc02311eae [2022-10-11T02:22:07.368Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-11T02:22:07.368Z] ---> a68453a78835 [2022-10-11T02:22:07.368Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-11T02:22:07.368Z] ---> 782605d7c4c5 [2022-10-11T02:22:07.368Z] Step 22/27 : EXPOSE 59984 [2022-10-11T02:22:07.635Z] ---> Running in 9a91e750b450 [2022-10-11T02:22:07.902Z] Removing intermediate container 9a91e750b450 [2022-10-11T02:22:07.902Z] ---> 1d7909c2602f [2022-10-11T02:22:07.902Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-11T02:22:07.902Z] ---> Running in 583b06ba832e [2022-10-11T02:22:08.170Z] Removing intermediate container 583b06ba832e [2022-10-11T02:22:08.170Z] ---> a3f36f1eac0c [2022-10-11T02:22:08.170Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-11T02:22:08.441Z] ---> Running in 5f65ae51691a [2022-10-11T02:22:08.708Z] Removing intermediate container 5f65ae51691a [2022-10-11T02:22:08.708Z] ---> 5ccdd22e48dc [2022-10-11T02:22:08.708Z] Step 25/27 : LABEL arch=arm64 [2022-10-11T02:22:08.708Z] ---> Running in 3bdbe6c6b8ee [2022-10-11T02:22:08.975Z] Removing intermediate container 3bdbe6c6b8ee [2022-10-11T02:22:08.975Z] ---> 50af134a4a6c [2022-10-11T02:22:08.975Z] Step 26/27 : LABEL git_sha=df9a3fbcbe8cad976df713ebeee647e5f7497bae [2022-10-11T02:22:08.975Z] ---> Running in 1ae85be9eca3 [2022-10-11T02:22:09.256Z] Removing intermediate container 1ae85be9eca3 [2022-10-11T02:22:09.256Z] ---> 7c64be446401 [2022-10-11T02:22:09.256Z] Step 27/27 : LABEL version=0.0.0 [2022-10-11T02:22:09.523Z] ---> Running in a10031c29ab8 [2022-10-11T02:22:09.789Z] Removing intermediate container a10031c29ab8 [2022-10-11T02:22:09.789Z] ---> 04b225e918d9 [2022-10-11T02:22:09.789Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-11T02:22:09.789Z] Successfully built 04b225e918d9 [2022-10-11T02:22:09.789Z] 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-11T02:22:10.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-11T02:22:10.237Z] [2022-10-11T02:22:10.237Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:22:10.567Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-11T02:22:10.567Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-11T02:22:10.567Z] 8998bd30e6a1: Pulling fs layer [2022-10-11T02:22:10.567Z] 04944245beec: Pulling fs layer [2022-10-11T02:22:10.567Z] 699f458cf7ca: Pulling fs layer [2022-10-11T02:22:10.567Z] 765212b225bb: Pulling fs layer [2022-10-11T02:22:10.567Z] f23df028b6ca: Pulling fs layer [2022-10-11T02:22:10.567Z] d65c8cfc05b1: Pulling fs layer [2022-10-11T02:22:10.567Z] 2437ff75d9bd: Pulling fs layer [2022-10-11T02:22:10.567Z] 765212b225bb: Waiting [2022-10-11T02:22:10.567Z] f23df028b6ca: Waiting [2022-10-11T02:22:10.567Z] d65c8cfc05b1: Waiting [2022-10-11T02:22:10.567Z] 2437ff75d9bd: Waiting [2022-10-11T02:22:10.835Z] 04944245beec: Verifying Checksum [2022-10-11T02:22:10.835Z] 04944245beec: Download complete [2022-10-11T02:22:10.835Z] 765212b225bb: Verifying Checksum [2022-10-11T02:22:10.835Z] 765212b225bb: Download complete [2022-10-11T02:22:10.835Z] f23df028b6ca: Verifying Checksum [2022-10-11T02:22:10.835Z] f23df028b6ca: Download complete [2022-10-11T02:22:10.835Z] d65c8cfc05b1: Verifying Checksum [2022-10-11T02:22:10.835Z] d65c8cfc05b1: Download complete [2022-10-11T02:22:11.103Z] 699f458cf7ca: Verifying Checksum [2022-10-11T02:22:11.103Z] 699f458cf7ca: Download complete [2022-10-11T02:22:11.372Z] 8998bd30e6a1: Verifying Checksum [2022-10-11T02:22:11.372Z] 8998bd30e6a1: Download complete [2022-10-11T02:22:13.977Z] 2437ff75d9bd: Verifying Checksum [2022-10-11T02:22:13.977Z] 2437ff75d9bd: Download complete [2022-10-11T02:22:15.930Z] 8998bd30e6a1: Pull complete [2022-10-11T02:22:16.198Z] 04944245beec: Pull complete [2022-10-11T02:22:17.611Z] 699f458cf7ca: Pull complete [2022-10-11T02:22:17.881Z] 765212b225bb: Pull complete [2022-10-11T02:22:19.835Z] f23df028b6ca: Pull complete [2022-10-11T02:22:20.104Z] d65c8cfc05b1: Pull complete [2022-10-11T02:22:35.112Z] 2437ff75d9bd: Pull complete [2022-10-11T02:22:35.112Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-11T02:22:35.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-11T02:22:35.112Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:22:35.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-7615 does not seem to be running inside a container [2022-10-11T02:22:35.399Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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-11T02:22:38.393Z] $ docker top 057971f3a501b3ceedc114deda42a2291fc7a455514f5b529511f9cceb2e91e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:22:39.274Z] ---> job-cost.sh [2022-10-11T02:22:39.274Z] lf-activate-venv: SKIPPING [2022-10-11T02:22:39.274Z] INFO: No Stack... [2022-10-11T02:22:39.858Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-11T02:22:40.443Z] INFO: Archiving Costs [Pipeline] sh [2022-10-11T02:22:41.089Z] + cut -d, -f6 [2022-10-11T02:22:41.089Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [Pipeline] lock [2022-10-11T02:22:41.160Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] [2022-10-11T02:22:41.167Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] did not exist. Created. [2022-10-11T02:22:41.167Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-11T02:22:41.826Z] /w/workspace/device-onvif-camera/4@tmp/durable-68356011/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-11T02:22:42.495Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-11T02:22:42.512Z] Warning: overwriting stash ‘stack-cost’ [2022-10-11T02:22:42.579Z] Stashed 1 file(s) [Pipeline] } [2022-10-11T02:22:42.585Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-11T02:22:42.609Z] $ docker stop --time=1 057971f3a501b3ceedc114deda42a2291fc7a455514f5b529511f9cceb2e91e6 [2022-10-11T02:22:44.165Z] $ docker rm -f 057971f3a501b3ceedc114deda42a2291fc7a455514f5b529511f9cceb2e91e6 [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-11T02:22:44.593Z] provisioning config files... [2022-10-11T02:22:44.602Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config8293653700987682784tmp [Pipeline] { [Pipeline] sh [2022-10-11T02:22:44.894Z] + set +x [2022-10-11T02:22:44.894Z] + curl -s https://codecov.io/bash [2022-10-11T02:22:44.894Z] + bash -s -- [2022-10-11T02:22:44.894Z] [2022-10-11T02:22:44.894Z] _____ _ [2022-10-11T02:22:44.894Z] / ____| | | [2022-10-11T02:22:44.894Z] | | ___ __| | ___ ___ _____ __ [2022-10-11T02:22:44.894Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-11T02:22:44.894Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-11T02:22:44.894Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-11T02:22:44.894Z] Bash-1.0.6 [2022-10-11T02:22:44.894Z] [2022-10-11T02:22:44.894Z] [2022-10-11T02:22:44.894Z] ==> git version 2.25.1 found [2022-10-11T02:22:44.894Z] ==> 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-11T02:22:44.894Z] Release-Date: 2020-01-08 [2022-10-11T02:22:44.894Z] 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-11T02:22:44.894Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-11T02:22:44.894Z] ==> Jenkins CI detected. [2022-10-11T02:22:44.894Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-174 [2022-10-11T02:22:44.894Z] project root: . [2022-10-11T02:22:44.894Z] --> token set from env [2022-10-11T02:22:44.894Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-11T02:22:44.894Z] ==> Running gcov in . (disable via -X gcov) [2022-10-11T02:22:44.894Z] ==> Python coveragepy not found [2022-10-11T02:22:44.894Z] ==> Searching for coverage reports in: [2022-10-11T02:22:44.894Z] + . [2022-10-11T02:22:44.894Z] -> Found 1 reports [2022-10-11T02:22:44.894Z] ==> Detecting git/mercurial file structure [2022-10-11T02:22:44.894Z] ==> Reading reports [2022-10-11T02:22:45.153Z] + ./coverage.out bytes=78461 [2022-10-11T02:22:45.153Z] ==> Appending adjustments [2022-10-11T02:22:45.153Z] https://docs.codecov.io/docs/fixing-reports [2022-10-11T02:22:45.153Z] + Found adjustments [2022-10-11T02:22:45.153Z] ==> Gzipping contents [2022-10-11T02:22:45.153Z] 12K /tmp/codecov.6Avto9.gz [2022-10-11T02:22:45.153Z] ==> Uploading reports [2022-10-11T02:22:45.153Z] url: https://codecov.io [2022-10-11T02:22:45.153Z] query: branch=PR-174&commit=48d9002021d6a40e5e67837968619e60e9c92fc7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-11T02:22:45.153Z] -> Pinging Codecov [2022-10-11T02:22:45.153Z] 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=48d9002021d6a40e5e67837968619e60e9c92fc7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-11T02:22:45.413Z] -> Uploading to [2022-10-11T02:22:45.413Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-11/F29A59C45E3A92E06B3E522C9905F8EF/48d9002021d6a40e5e67837968619e60e9c92fc7/4fa7dcdf-129a-4f12-aa08-6e3a1c5f9ff3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221011T022245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=186576ffdde80d30cd8d7cc44d87365ad9c6a67bd9e7430490e3f210b4787435 [2022-10-11T02:22:45.413Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-11T02:22:45.413Z] Dload Upload Total Spent Left Speed [2022-10-11T02:22:45.673Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10733 0 0 100 10733 0 44535 --:--:-- --:--:-- --:--:-- 44535 [2022-10-11T02:22:45.673Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/48d9002021d6a40e5e67837968619e60e9c92fc7 [Pipeline] } [2022-10-11T02:22:45.680Z] 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-11T02:22:46.378Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-174/archives ] [2022-10-11T02:22:46.379Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-11T02:22:46.379Z] total 16 [2022-10-11T02:22:46.379Z] drwxr-xr-x 3 root root 4096 Oct 11 02:13 . [2022-10-11T02:22:46.379Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 02:13 .. [2022-10-11T02:22:46.379Z] drwxr-xr-x 2 root root 4096 Oct 11 02:13 cost [2022-10-11T02:22:46.379Z] -rw-r--r-- 1 root root 91 Oct 11 02:13 cost.csv [2022-10-11T02:22:46.379Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-11T02:22:46.379Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-11T02:22:46.379Z] total 16 [2022-10-11T02:22:46.379Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 02:13 . [2022-10-11T02:22:46.379Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 02:13 .. [2022-10-11T02:22:46.379Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 02:13 cost [2022-10-11T02:22:46.379Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 11 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:22:46.668Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:22:47.528Z] ---> package-listing.sh [2022-10-11T02:22:47.528Z] ++ facter osfamily [2022-10-11T02:22:47.528Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-11T02:22:47.788Z] + OS_FAMILY=debian [2022-10-11T02:22:47.788Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-174 [2022-10-11T02:22:47.788Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-11T02:22:47.788Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-11T02:22:47.788Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-11T02:22:47.788Z] + PACKAGES=/tmp/packages_start.txt [2022-10-11T02:22:47.788Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-11T02:22:47.788Z] + PACKAGES=/tmp/packages_end.txt [2022-10-11T02:22:47.788Z] + case "${OS_FAMILY}" in [2022-10-11T02:22:47.788Z] + dpkg -l [2022-10-11T02:22:47.788Z] + grep '^ii' [2022-10-11T02:22:47.788Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-11T02:22:47.788Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-11T02:22:47.788Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-11T02:22:47.788Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-11T02:22:47.788Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-174/archives/ [2022-10-11T02:22:47.788Z] + 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-11T02:22:47.800Z] 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-11T02:22:48.079Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:22:48.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T02:22:48.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:22:48.694Z] prd-ubuntu20.04-docker-8c-8g-7612 does not seem to be running inside a container [2022-10-11T02:22:48.720Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-11T02:22:48.907Z] $ docker top e1ceccf71a9115af0bf12ade222e6c8da735870bf4683338088497d4284ac833 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T02:22:49.246Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-11T02:22:49.528Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-11T02:22:49.812Z] + ls /var/log/sa-host [2022-10-11T02:22:49.812Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T02:22:49.956Z] provisioning config files... [2022-10-11T02:22:49.965Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config15138702874293482762tmp [Pipeline] { [Pipeline] echo [2022-10-11T02:22:49.974Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:22:50.256Z] ---> create-netrc.sh [Pipeline] } [2022-10-11T02:22:50.262Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:22:50.598Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-11T02:22:50.606Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:22:50.887Z] ---> sudo-logs.sh [2022-10-11T02:22:50.887Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-11T02:22:50.907Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:22:51.185Z] ---> job-cost.sh [2022-10-11T02:22:51.185Z] lf-activate-venv: SKIPPING [2022-10-11T02:22:51.185Z] DEBUG: total: 0.2199999988079071 [2022-10-11T02:22:51.185Z] INFO: Retrieving Stack Cost... [2022-10-11T02:22:51.755Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-11T02:22:52.324Z] INFO: Archiving Costs [Pipeline] echo [2022-10-11T02:22:52.335Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:22:52.616Z] ---> logs-deploy.sh [2022-10-11T02:22:52.616Z] lf-activate-venv: SKIPPING [2022-10-11T02:22:52.616Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-174/4 [2022-10-11T02:22:52.616Z] INFO: archiving workspace using pattern(s): [2022-10-11T02:22:53.553Z] Archives upload complete. [2022-10-11T02:22:53.553Z] INFO: archiving logs to Nexus