Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 659f5a409730c1aa6059f10a7d2527ba47038078+12ac4ca00df350acb7aaa5b8264558c40625f436 (f7750b5892646647677c8fd10f648674420c56de) 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-ssh1897216493959951063.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14132601813709403722.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-185/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-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4684061845226745861.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5741957778546334440.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-185/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-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14484990905354984293.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118982 in /w/workspace/undry_device-onvif-camera_PR-185 [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-185 # 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 Merging remotes/origin/main commit 12ac4ca00df350acb7aaa5b8264558c40625f436 into PR head commit 659f5a409730c1aa6059f10a7d2527ba47038078 Merge succeeded, producing 70ae1f57fb3aab0b645a0969230fc45de85e98ec Checking out Revision 70ae1f57fb3aab0b645a0969230fc45de85e98ec (PR-185) > 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/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # 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 12ac4ca00df350acb7aaa5b8264558c40625f436 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 70ae1f57fb3aab0b645a0969230fc45de85e98ec # timeout=10 Commit message: "Merge commit '12ac4ca00df350acb7aaa5b8264558c40625f436' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-11T02:11:16.351Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-11T02:11:16.389Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-11T02:11:16.407Z] ========================================================= [2022-11-11T02:11:16.407Z] EdgeX Global Pipelines Version Info [2022-11-11T02:11:16.407Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 72ce3f2687ad241e7f48ce217e30f149e95bf054 # timeout=10 [2022-11-11T02:11:17.128Z] ------------------- [2022-11-11T02:11:17.128Z] stable info: [2022-11-11T02:11:17.128Z] ------------------- [2022-11-11T02:11:17.128Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-11T02:11:17.128Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-11T02:11:17.128Z] Message: update stable to v1.0.244 [2022-11-11T02:11:17.698Z] ------------------- [2022-11-11T02:11:17.698Z] experimental info: [2022-11-11T02:11:17.698Z] ------------------- [2022-11-11T02:11:17.698Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-11T02:11:17.698Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-11T02:11:17.698Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-11T02:11:17.861Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-11-11T02:11:17.874Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-11-11T02:11:17.882Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-11T02:11:17.891Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-11T02:11:17.899Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-11T02:11:17.912Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-11T02:11:17.922Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-11T02:11:17.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-11T02:11:17.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-11T02:11:17.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-11T02:11:17.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-11T02:11:17.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-11-11T02:11:17.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-11T02:11:17.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-11T02:11:17.995Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-11T02:11:18.003Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-11T02:11:18.011Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-11T02:11:18.021Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-11T02:11:18.037Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-11T02:11:18.047Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-11T02:11:18.058Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-11T02:11:18.072Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-11-11T02:11:18.085Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-11T02:11:18.098Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-11T02:11:18.109Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-11T02:11:18.126Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-11T02:11:18.143Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-11T02:11:18.152Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo [2022-11-11T02:11:18.166Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo [2022-11-11T02:11:18.185Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo [2022-11-11T02:11:18.198Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 70ae1f57fb3aab0b645a0969230fc45de85e98ec [Pipeline] echo [2022-11-11T02:11:18.208Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 70ae1f5 [Pipeline] echo [2022-11-11T02:11:18.219Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-11T02:11:18.263Z] provisioning config files... [2022-11-11T02:11:18.276Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config13128674823944042695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:11:18.577Z] ---> docker-login.sh [2022-11-11T02:11:18.577Z] nexus3.edgexfoundry.org:10001 [2022-11-11T02:11:18.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:18.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:18.841Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:18.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:18.841Z] [2022-11-11T02:11:18.841Z] Login Succeeded [2022-11-11T02:11:18.841Z] nexus3.edgexfoundry.org:10002 [2022-11-11T02:11:18.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:19.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:19.105Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:19.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:19.105Z] [2022-11-11T02:11:19.105Z] Login Succeeded [2022-11-11T02:11:19.105Z] nexus3.edgexfoundry.org:10003 [2022-11-11T02:11:19.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:19.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:19.105Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:19.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:19.105Z] [2022-11-11T02:11:19.105Z] Login Succeeded [2022-11-11T02:11:19.105Z] nexus3.edgexfoundry.org:10004 [2022-11-11T02:11:19.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:19.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:19.106Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:19.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:19.106Z] [2022-11-11T02:11:19.106Z] Login Succeeded [2022-11-11T02:11:19.106Z] docker.io [2022-11-11T02:11:19.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:19.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:19.632Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:19.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:19.632Z] [2022-11-11T02:11:19.632Z] Login Succeeded [2022-11-11T02:11:19.632Z] ---> docker-login.sh ends [Pipeline] } [2022-11-11T02:11:19.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-11T02:11:20.002Z] + git rev-list -1 --merges 70ae1f57fb3aab0b645a0969230fc45de85e98ec~1..70ae1f57fb3aab0b645a0969230fc45de85e98ec [Pipeline] echo [2022-11-11T02:11:20.033Z] -----------> git rev-list -1 --merges 70ae1f57fb3aab0b645a0969230fc45de85e98ec~1..70ae1f57fb3aab0b645a0969230fc45de85e98ec 70ae1f57fb3aab0b645a0969230fc45de85e98ec [2022-11-11T02:11:20.033Z] 70ae1f57fb3aab0b645a0969230fc45de85e98ec [false] [Pipeline] sh [2022-11-11T02:11:20.322Z] + git log --format=format:%s -1 70ae1f57fb3aab0b645a0969230fc45de85e98ec [Pipeline] echo [2022-11-11T02:11:20.336Z] ========================================================= [2022-11-11T02:11:20.336Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-11T02:11:20.336Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-11T02:11:20.671Z] + git log --format=format:%s -1 70ae1f57fb3aab0b645a0969230fc45de85e98ec [Pipeline] echo [2022-11-11T02:11:20.682Z] [semverPrep] GIT_COMMIT: 70ae1f57fb3aab0b645a0969230fc45de85e98ec, Commit Message: Merge commit '12ac4ca00df350acb7aaa5b8264558c40625f436' into HEAD [Pipeline] echo [2022-11-11T02:11:20.689Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-11T02:11:21.029Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-11T02:11:21.029Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-11T02:11:21.029Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-11T02:11:21.029Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-11T02:11:21.029Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-11T02:11:21.029Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-11T02:11:21.029Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:11:21.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-11T02:11:21.387Z] [2022-11-11T02:11:21.387Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:11:21.690Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-11T02:11:21.949Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-11T02:11:21.949Z] b85a868b505f: Pulling fs layer [2022-11-11T02:11:21.950Z] e2be974225ed: Pulling fs layer [2022-11-11T02:11:21.950Z] 339a4e72a1f5: Pulling fs layer [2022-11-11T02:11:21.950Z] 988bab9f4d93: Pulling fs layer [2022-11-11T02:11:21.950Z] 1469e6f7b9e6: Pulling fs layer [2022-11-11T02:11:21.950Z] eaf3925da568: Pulling fs layer [2022-11-11T02:11:21.950Z] bab4dde63d76: Pulling fs layer [2022-11-11T02:11:21.950Z] bde34c3a00c8: Pulling fs layer [2022-11-11T02:11:21.950Z] b352a97aabf1: Pulling fs layer [2022-11-11T02:11:21.950Z] 4872d77fe225: Pulling fs layer [2022-11-11T02:11:21.950Z] 5851b861e8e6: Pulling fs layer [2022-11-11T02:11:21.950Z] 988bab9f4d93: Waiting [2022-11-11T02:11:21.950Z] 1469e6f7b9e6: Waiting [2022-11-11T02:11:21.950Z] eaf3925da568: Waiting [2022-11-11T02:11:21.950Z] bab4dde63d76: Waiting [2022-11-11T02:11:21.950Z] bde34c3a00c8: Waiting [2022-11-11T02:11:21.950Z] b352a97aabf1: Waiting [2022-11-11T02:11:21.950Z] 4872d77fe225: Waiting [2022-11-11T02:11:21.950Z] 5851b861e8e6: Waiting [2022-11-11T02:11:21.950Z] e2be974225ed: Verifying Checksum [2022-11-11T02:11:21.950Z] e2be974225ed: Download complete [2022-11-11T02:11:21.950Z] 988bab9f4d93: Verifying Checksum [2022-11-11T02:11:21.950Z] 988bab9f4d93: Download complete [2022-11-11T02:11:21.950Z] 1469e6f7b9e6: Verifying Checksum [2022-11-11T02:11:21.950Z] 1469e6f7b9e6: Download complete [2022-11-11T02:11:21.950Z] eaf3925da568: Verifying Checksum [2022-11-11T02:11:21.950Z] eaf3925da568: Download complete [2022-11-11T02:11:21.950Z] 339a4e72a1f5: Verifying Checksum [2022-11-11T02:11:21.950Z] 339a4e72a1f5: Download complete [2022-11-11T02:11:22.210Z] bde34c3a00c8: Download complete [2022-11-11T02:11:22.210Z] b352a97aabf1: Verifying Checksum [2022-11-11T02:11:22.210Z] 4872d77fe225: Download complete [2022-11-11T02:11:22.210Z] 5851b861e8e6: Verifying Checksum [2022-11-11T02:11:22.210Z] 5851b861e8e6: Download complete [2022-11-11T02:11:22.210Z] b85a868b505f: Verifying Checksum [2022-11-11T02:11:22.210Z] b85a868b505f: Download complete [2022-11-11T02:11:22.471Z] bab4dde63d76: Verifying Checksum [2022-11-11T02:11:22.471Z] bab4dde63d76: Download complete [2022-11-11T02:11:23.848Z] b85a868b505f: Pull complete [2022-11-11T02:11:23.848Z] e2be974225ed: Pull complete [2022-11-11T02:11:24.108Z] 339a4e72a1f5: Pull complete [2022-11-11T02:11:24.368Z] 988bab9f4d93: Pull complete [2022-11-11T02:11:24.628Z] 1469e6f7b9e6: Pull complete [2022-11-11T02:11:24.628Z] eaf3925da568: Pull complete [2022-11-11T02:11:26.531Z] bab4dde63d76: Pull complete [2022-11-11T02:11:26.531Z] bde34c3a00c8: Pull complete [2022-11-11T02:11:26.531Z] b352a97aabf1: Pull complete [2022-11-11T02:11:26.531Z] 4872d77fe225: Pull complete [2022-11-11T02:11:26.531Z] 5851b861e8e6: Pull complete [2022-11-11T02:11:26.531Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-11T02:11:26.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-11T02:11:26.532Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:11:26.624Z] prd-ubuntu20.04-docker-8c-8g-118982 does not seem to be running inside a container [2022-11-11T02:11:26.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-11T02:11:29.479Z] $ docker top d89be7fdac8cdfa0d075343afea4b18a813f4cb75cb3cd290246da4a5ded926b -eo pid,comm [2022-11-11T02:11:29.529Z] 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-11-11T02:11:29.529Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-11T02:11:29.562Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-11T02:11:29.562Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-11T02:11:29.694Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-11T02:11:29.701Z] $ docker exec d89be7fdac8cdfa0d075343afea4b18a813f4cb75cb3cd290246da4a5ded926b ssh-agent [2022-11-11T02:11:29.802Z] SSH_AUTH_SOCK=/tmp/ssh-tkzTeJQLiGWA/agent.31 [2022-11-11T02:11:29.802Z] SSH_AGENT_PID=37 [2022-11-11T02:11:29.808Z] Running ssh-add (command line suppressed) [2022-11-11T02:11:29.919Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_7486227101005241768.key (/w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_7486227101005241768.key) [2022-11-11T02:11:29.928Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-11T02:11:30.211Z] + git tag --points-at HEAD [Pipeline] } [2022-11-11T02:11:30.229Z] $ docker exec --env ******** --env ******** d89be7fdac8cdfa0d075343afea4b18a813f4cb75cb3cd290246da4a5ded926b ssh-agent -k [2022-11-11T02:11:30.334Z] unset SSH_AUTH_SOCK; [2022-11-11T02:11:30.334Z] unset SSH_AGENT_PID; [2022-11-11T02:11:30.334Z] echo Agent pid 37 killed; [2022-11-11T02:11:30.340Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-11T02:11:30.366Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-11T02:11:30.366Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-11T02:11:30.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-11T02:11:30.486Z] $ docker exec d89be7fdac8cdfa0d075343afea4b18a813f4cb75cb3cd290246da4a5ded926b ssh-agent [2022-11-11T02:11:30.596Z] SSH_AUTH_SOCK=/tmp/ssh-C2J9yjpg3R5R/agent.69 [2022-11-11T02:11:30.596Z] SSH_AGENT_PID=74 [2022-11-11T02:11:30.601Z] Running ssh-add (command line suppressed) [2022-11-11T02:11:30.694Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_6356590132377151899.key (/w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_6356590132377151899.key) [2022-11-11T02:11:30.706Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-11T02:11:30.994Z] + git semver init [2022-11-11T02:11:31.252Z] 2022-11-11 02:11:31,212 [run_init] DEBUG init version:0.0.0 force:False [2022-11-11T02:11:31.252Z] 2022-11-11 02:11:31,213 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-185/.semver [2022-11-11T02:11:31.252Z] 2022-11-11 02:11:31,213 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-185/.semver [2022-11-11T02:11:31.252Z] 2022-11-11 02:11:31,214 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-185/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-185, universal_newlines=False, shell=None, istream=None) [2022-11-11T02:11:32.629Z] 2022-11-11 02:11:32,328 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-185/.git/info/exclude [2022-11-11T02:11:32.629Z] 2022-11-11 02:11:32,328 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 with force:False [2022-11-11T02:11:32.629Z] 2022-11-11 02:11:32,328 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 [2022-11-11T02:11:32.629Z] 2022-11-11 02:11:32,331 [execute] INFO git cat-file --batch-check [2022-11-11T02:11:32.629Z] 2022-11-11 02:11:32,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-11-11T02:11:32.629Z] 2022-11-11 02:11:32,337 [execute] INFO git cat-file --batch [2022-11-11T02:11:32.629Z] 2022-11-11 02:11:32,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-11-11T02:11:32.629Z] 2022-11-11 02:11:32,343 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 [2022-11-11T02:11:32.629Z] 0.0.0 [Pipeline] } [2022-11-11T02:11:32.643Z] $ docker exec --env ******** --env ******** d89be7fdac8cdfa0d075343afea4b18a813f4cb75cb3cd290246da4a5ded926b ssh-agent -k [2022-11-11T02:11:32.739Z] unset SSH_AUTH_SOCK; [2022-11-11T02:11:32.740Z] unset SSH_AGENT_PID; [2022-11-11T02:11:32.740Z] echo Agent pid 74 killed; [2022-11-11T02:11:32.746Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-11T02:11:33.055Z] + git semver [Pipeline] } [2022-11-11T02:11:33.331Z] $ docker stop --time=1 d89be7fdac8cdfa0d075343afea4b18a813f4cb75cb3cd290246da4a5ded926b [2022-11-11T02:11:34.631Z] $ docker rm -f d89be7fdac8cdfa0d075343afea4b18a813f4cb75cb3cd290246da4a5ded926b [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-11T02:11:34.973Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-11T02:11:35.141Z] Stashed 1 file(s) [Pipeline] echo [2022-11-11T02:11:35.144Z] [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-11-11T02:11:35.288Z] provisioning config files... [2022-11-11T02:11:35.295Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config1242850793804554915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:11:35.583Z] ---> docker-login.sh [2022-11-11T02:11:35.583Z] nexus3.edgexfoundry.org:10001 [2022-11-11T02:11:35.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:35.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:35.583Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:35.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:35.583Z] [2022-11-11T02:11:35.583Z] Login Succeeded [2022-11-11T02:11:35.583Z] nexus3.edgexfoundry.org:10002 [2022-11-11T02:11:35.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:35.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:35.583Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:35.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:35.583Z] [2022-11-11T02:11:35.583Z] Login Succeeded [2022-11-11T02:11:35.583Z] nexus3.edgexfoundry.org:10003 [2022-11-11T02:11:35.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:35.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:35.841Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:35.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:35.841Z] [2022-11-11T02:11:35.841Z] Login Succeeded [2022-11-11T02:11:35.841Z] nexus3.edgexfoundry.org:10004 [2022-11-11T02:11:35.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:35.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:35.841Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:35.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:35.841Z] [2022-11-11T02:11:35.841Z] Login Succeeded [2022-11-11T02:11:35.841Z] docker.io [2022-11-11T02:11:36.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:36.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:36.360Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:36.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:36.360Z] [2022-11-11T02:11:36.360Z] Login Succeeded [2022-11-11T02:11:36.360Z] ---> docker-login.sh ends [Pipeline] } [2022-11-11T02:11:36.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-11T02:11:36.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-11T02:11:36.457Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-11T02:11:36.466Z] ========================================================= [2022-11-11T02:11:36.466Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-11T02:11:36.466Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:11:36.775Z] + 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-11-11T02:11:37.036Z] Sending build context to Docker daemon 27.53MB [2022-11-11T02:11:37.036Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-11T02:11:37.036Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-11T02:11:37.301Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-11T02:11:37.301Z] 213ec9aee27d: Pulling fs layer [2022-11-11T02:11:37.301Z] 4583459ba037: Pulling fs layer [2022-11-11T02:11:37.301Z] 93c1e223e6f2: Pulling fs layer [2022-11-11T02:11:37.301Z] 53926ce57604: Pulling fs layer [2022-11-11T02:11:37.301Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-11T02:11:37.301Z] 53926ce57604: Waiting [2022-11-11T02:11:37.301Z] 21b2b0c7a3f4: Waiting [2022-11-11T02:11:37.301Z] 22ff95d597cd: Pulling fs layer [2022-11-11T02:11:37.301Z] 12d6caf4c0d1: Pulling fs layer [2022-11-11T02:11:37.301Z] 22ff95d597cd: Waiting [2022-11-11T02:11:37.301Z] 96b7cbca73a9: Pulling fs layer [2022-11-11T02:11:37.301Z] a7acece74701: Pulling fs layer [2022-11-11T02:11:37.301Z] a7acece74701: Waiting [2022-11-11T02:11:37.301Z] 96b7cbca73a9: Waiting [2022-11-11T02:11:37.301Z] 93c1e223e6f2: Verifying Checksum [2022-11-11T02:11:37.301Z] 93c1e223e6f2: Download complete [2022-11-11T02:11:37.301Z] 4583459ba037: Verifying Checksum [2022-11-11T02:11:37.301Z] 4583459ba037: Download complete [2022-11-11T02:11:37.301Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-11T02:11:37.301Z] 21b2b0c7a3f4: Download complete [2022-11-11T02:11:37.301Z] 22ff95d597cd: Verifying Checksum [2022-11-11T02:11:37.301Z] 22ff95d597cd: Download complete [2022-11-11T02:11:37.301Z] 213ec9aee27d: Download complete [2022-11-11T02:11:37.564Z] 213ec9aee27d: Pull complete [2022-11-11T02:11:37.564Z] 12d6caf4c0d1: Download complete [2022-11-11T02:11:37.835Z] 4583459ba037: Pull complete [2022-11-11T02:11:37.835Z] 93c1e223e6f2: Pull complete [2022-11-11T02:11:38.099Z] a7acece74701: Verifying Checksum [2022-11-11T02:11:38.099Z] a7acece74701: Download complete [2022-11-11T02:11:38.099Z] 53926ce57604: Verifying Checksum [2022-11-11T02:11:38.099Z] 53926ce57604: Download complete [2022-11-11T02:11:38.359Z] 96b7cbca73a9: Verifying Checksum [2022-11-11T02:11:38.359Z] 96b7cbca73a9: Download complete [2022-11-11T02:11:42.553Z] 53926ce57604: Pull complete [2022-11-11T02:11:42.553Z] 21b2b0c7a3f4: Pull complete [2022-11-11T02:11:42.553Z] 22ff95d597cd: Pull complete [2022-11-11T02:11:42.811Z] 12d6caf4c0d1: Pull complete [2022-11-11T02:11:45.338Z] 96b7cbca73a9: Pull complete [2022-11-11T02:11:45.904Z] a7acece74701: Pull complete [2022-11-11T02:11:46.163Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-11T02:11:46.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-11T02:11:46.163Z] ---> db6d94c90886 [2022-11-11T02:11:46.163Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-11T02:11:50.247Z] Still waiting to schedule task [2022-11-11T02:11:50.247Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118979’ [2022-11-11T02:11:51.440Z] ---> Running in 6d0df256760c [2022-11-11T02:11:51.698Z] Removing intermediate container 6d0df256760c [2022-11-11T02:11:51.698Z] ---> d6c7e4b89711 [2022-11-11T02:11:51.698Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-11T02:11:51.698Z] ---> Running in 18f557d48f11 [2022-11-11T02:11:51.957Z] Removing intermediate container 18f557d48f11 [2022-11-11T02:11:51.957Z] ---> fbd8ebff79ed [2022-11-11T02:11:51.957Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-11T02:11:52.214Z] ---> Running in 318afba00a95 [2022-11-11T02:11:52.472Z] Removing intermediate container 318afba00a95 [2022-11-11T02:11:52.472Z] ---> 8395aacf5c17 [2022-11-11T02:11:52.472Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-11T02:11:52.731Z] ---> Running in 242cc16babd8 [2022-11-11T02:11:52.990Z] Removing intermediate container 242cc16babd8 [2022-11-11T02:11:52.990Z] ---> 4c1bad51b2d5 [2022-11-11T02:11:52.990Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-11T02:11:52.990Z] ---> Running in 1143107b40c5 [2022-11-11T02:11:53.250Z] Removing intermediate container 1143107b40c5 [2022-11-11T02:11:53.250Z] ---> 4ced6f030b30 [2022-11-11T02:11:53.250Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-11T02:11:53.509Z] ---> Running in e45051ac4cde [2022-11-11T02:11:53.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-11T02:11:53.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-11T02:11:54.335Z] OK: 211 MiB in 51 packages [2022-11-11T02:11:54.593Z] Removing intermediate container e45051ac4cde [2022-11-11T02:11:54.593Z] ---> 4748059f140b [2022-11-11T02:11:54.593Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-11T02:11:54.593Z] ---> Running in b89b1e118832 [2022-11-11T02:11:54.593Z] Removing intermediate container b89b1e118832 [2022-11-11T02:11:54.593Z] ---> d6a088676778 [2022-11-11T02:11:54.593Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-11T02:11:54.850Z] ---> bc40835b8602 [2022-11-11T02:11:54.850Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-11T02:11:54.850Z] ---> Running in 4cda4c4fa782 [2022-11-11T02:12:16.786Z] Removing intermediate container 4cda4c4fa782 [2022-11-11T02:12:16.786Z] ---> 6e419f31cfa3 [2022-11-11T02:12:16.786Z] Step 12/13 : COPY . . [2022-11-11T02:12:16.786Z] ---> 0e6434fd28d3 [2022-11-11T02:12:16.786Z] Step 13/13 : RUN ${MAKE} [2022-11-11T02:12:16.786Z] ---> Running in fa5db423845f [2022-11-11T02:12:16.786Z] noop [2022-11-11T02:12:16.786Z] Removing intermediate container fa5db423845f [2022-11-11T02:12:16.786Z] ---> bd44692dbb4f [2022-11-11T02:12:16.786Z] Successfully built bd44692dbb4f [2022-11-11T02:12:16.786Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:12:17.106Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-11T02:12:17.106Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:12:17.169Z] prd-ubuntu20.04-docker-8c-8g-118982 does not seem to be running inside a container [2022-11-11T02:12:17.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-11T02:12:17.518Z] $ docker top a14221dcd5a90b36689285c86cbb17dcd3bbc6978cdc871fbe0b43c48e20a9cf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-11T02:12:17.858Z] + go version [2022-11-11T02:12:17.858Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-11T02:12:17.871Z] $ docker stop --time=1 a14221dcd5a90b36689285c86cbb17dcd3bbc6978cdc871fbe0b43c48e20a9cf [2022-11-11T02:12:19.120Z] $ docker rm -f a14221dcd5a90b36689285c86cbb17dcd3bbc6978cdc871fbe0b43c48e20a9cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:12:19.533Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-11T02:12:19.533Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:12:19.601Z] prd-ubuntu20.04-docker-8c-8g-118982 does not seem to be running inside a container [2022-11-11T02:12:19.637Z] $ 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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-11T02:12:19.955Z] $ docker top be024fab0a4645eca59abd50f9796a377cbb82b6ae8451c705c8b781db85efd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-11T02:12:20.303Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-185 [Pipeline] fileExists [Pipeline] sh [2022-11-11T02:12:20.598Z] + make test [2022-11-11T02:12:20.598Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-11T02:12:20.857Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-11T02:12:30.882Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-11T02:12:34.167Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 29.3% of statements [2022-11-11T02:12:34.167Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-11T02:12:34.167Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.516s coverage: 86.5% of statements [2022-11-11T02:12:40.722Z] 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-11-11T02:12:40.722Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-11T02:12:44.005Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-11T02:12:44.005Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-11T02:12:44.005Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-11T02:12:44.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-11T02:12:44.035Z] $ docker stop --time=1 be024fab0a4645eca59abd50f9796a377cbb82b6ae8451c705c8b781db85efd0 [2022-11-11T02:12:46.413Z] $ docker rm -f be024fab0a4645eca59abd50f9796a377cbb82b6ae8451c705c8b781db85efd0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-11T02:12:46.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-11T02:12:46.904Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-11T02:12:47.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-11T02:12:47.618Z] + ls -al . [2022-11-11T02:12:47.618Z] total 248 [2022-11-11T02:12:47.618Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 02:12 . [2022-11-11T02:12:47.618Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:11 .. [2022-11-11T02:12:47.618Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 02:12 .git [2022-11-11T02:12:47.618Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:11 .github [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 11 02:11 .gitignore [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 11 02:11 .golangci.yml [2022-11-11T02:12:47.618Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 02:11 .semver [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 11 02:11 Attribution.txt [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 11 02:11 CHANGELOG.md [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 11 02:11 Dockerfile [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 02:11 GOVERNANCE.md [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 11 02:11 Jenkinsfile [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 11 02:11 LICENSE [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 11 02:11 Makefile [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 11 02:11 OWNERS.md [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 11 02:11 README.md [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 02:11 VERSION [2022-11-11T02:12:47.618Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 02:11 bin [2022-11-11T02:12:47.618Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:11 cmd [2022-11-11T02:12:47.618Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 11 02:12 coverage.out [2022-11-11T02:12:47.618Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 02:11 doc [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 3687 Nov 11 02:11 go.mod [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 46105 Nov 11 02:11 go.sum [2022-11-11T02:12:47.618Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:11 internal [2022-11-11T02:12:47.618Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:11 snap [2022-11-11T02:12:47.618Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 11 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:12:47.923Z] + 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=70ae1f57fb3aab0b645a0969230fc45de85e98ec --label arch=amd64 --label version=0.0.0 . [2022-11-11T02:12:47.923Z] Sending build context to Docker daemon 27.61MB [2022-11-11T02:12:47.923Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-11T02:12:47.923Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-11T02:12:47.923Z] ---> bd44692dbb4f [2022-11-11T02:12:47.923Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-11T02:12:48.180Z] ---> Running in 943188c12bc9 [2022-11-11T02:12:48.464Z] Removing intermediate container 943188c12bc9 [2022-11-11T02:12:48.464Z] ---> da62c0deb9ee [2022-11-11T02:12:48.464Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-11T02:12:48.464Z] ---> Running in 522f8a4d2c98 [2022-11-11T02:12:48.464Z] Removing intermediate container 522f8a4d2c98 [2022-11-11T02:12:48.464Z] ---> 2aef24f683eb [2022-11-11T02:12:48.464Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-11T02:12:48.464Z] ---> Running in 9779749b79a7 [2022-11-11T02:12:49.852Z] Removing intermediate container 9779749b79a7 [2022-11-11T02:12:49.852Z] ---> 66cb781ff1ab [2022-11-11T02:12:49.852Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-11T02:12:49.852Z] ---> Running in 0e610849437c [2022-11-11T02:12:50.111Z] Removing intermediate container 0e610849437c [2022-11-11T02:12:50.111Z] ---> e0af923d8599 [2022-11-11T02:12:50.111Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-11T02:12:50.111Z] ---> Running in 89973f2cee23 [2022-11-11T02:12:50.111Z] Removing intermediate container 89973f2cee23 [2022-11-11T02:12:50.111Z] ---> cd9478f5c147 [2022-11-11T02:12:50.111Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-11T02:12:50.111Z] ---> Running in 8893c42de2e6 [2022-11-11T02:12:50.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-11T02:12:50.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-11T02:12:50.890Z] OK: 211 MiB in 51 packages [2022-11-11T02:12:51.149Z] Removing intermediate container 8893c42de2e6 [2022-11-11T02:12:51.149Z] ---> c3578b5ac16f [2022-11-11T02:12:51.149Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-11T02:12:51.149Z] ---> Running in b18305683631 [2022-11-11T02:12:51.408Z] Removing intermediate container b18305683631 [2022-11-11T02:12:51.408Z] ---> 8ab6b0ed623f [2022-11-11T02:12:51.408Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-11T02:12:51.408Z] ---> 71b730d48837 [2022-11-11T02:12:51.408Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-11T02:12:51.408Z] ---> Running in bf122283df09 [2022-11-11T02:12:52.344Z] Removing intermediate container bf122283df09 [2022-11-11T02:12:52.344Z] ---> d33590357e6c [2022-11-11T02:12:52.344Z] Step 12/26 : COPY . . [2022-11-11T02:12:53.279Z] ---> 7eaa7315426f [2022-11-11T02:12:53.279Z] Step 13/26 : RUN ${MAKE} [2022-11-11T02:12:53.279Z] ---> Running in 90886d88427b [2022-11-11T02:12:53.539Z] 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" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-11T02:13:15.508Z] Removing intermediate container 90886d88427b [2022-11-11T02:13:15.508Z] ---> 42c34e2f03d6 [2022-11-11T02:13:15.508Z] Step 14/26 : FROM alpine:3.16 [2022-11-11T02:13:16.094Z] 3.16: Pulling from library/alpine [2022-11-11T02:13:16.094Z] 213ec9aee27d: Already exists [2022-11-11T02:13:16.353Z] Digest: sha256:65a2763f593ae85fab3b5406dc9e80f744ec5b449f269b699b5efd37a07ad32e [2022-11-11T02:13:16.353Z] Status: Downloaded newer image for alpine:3.16 [2022-11-11T02:13:16.353Z] ---> 9c6f07244728 [2022-11-11T02:13:16.353Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-11T02:13:16.353Z] ---> Running in 6890310dea59 [2022-11-11T02:13:16.623Z] Removing intermediate container 6890310dea59 [2022-11-11T02:13:16.623Z] ---> 30aa80d0d7d7 [2022-11-11T02:13:16.623Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-11T02:13:16.623Z] ---> Running in 595861674b12 [2022-11-11T02:13:16.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-11T02:13:17.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-11T02:13:17.427Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-11T02:13:17.427Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-11T02:13:17.427Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-11T02:13:17.427Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-11T02:13:17.427Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-11T02:13:17.427Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-11T02:13:17.427Z] Executing busybox-1.35.0-r17.trigger [2022-11-11T02:13:17.427Z] OK: 8 MiB in 20 packages [2022-11-11T02:13:18.006Z] Removing intermediate container 595861674b12 [2022-11-11T02:13:18.006Z] ---> b55313fc7700 [2022-11-11T02:13:18.006Z] Step 17/26 : WORKDIR / [2022-11-11T02:13:18.006Z] ---> Running in 239808a18e11 [2022-11-11T02:13:18.006Z] Removing intermediate container 239808a18e11 [2022-11-11T02:13:18.006Z] ---> 226ec19adea7 [2022-11-11T02:13:18.006Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-11T02:13:18.944Z] ---> f889d132e641 [2022-11-11T02:13:18.944Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-11T02:13:18.944Z] ---> 81493fe48aa4 [2022-11-11T02:13:18.944Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-11T02:13:18.944Z] ---> 0146197bfb96 [2022-11-11T02:13:18.944Z] Step 21/26 : EXPOSE 59984 [2022-11-11T02:13:18.944Z] ---> Running in fc8bf95fac39 [2022-11-11T02:13:18.944Z] Removing intermediate container fc8bf95fac39 [2022-11-11T02:13:18.944Z] ---> 2cc550b4a0e0 [2022-11-11T02:13:18.944Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-11T02:13:18.944Z] ---> Running in 1b59615c1990 [2022-11-11T02:13:19.202Z] Removing intermediate container 1b59615c1990 [2022-11-11T02:13:19.203Z] ---> 694e3e283266 [2022-11-11T02:13:19.203Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-11T02:13:19.203Z] ---> Running in 90d9317ff5ff [2022-11-11T02:13:19.203Z] Removing intermediate container 90d9317ff5ff [2022-11-11T02:13:19.203Z] ---> 111cbc2f98a0 [2022-11-11T02:13:19.203Z] Step 24/26 : LABEL arch=amd64 [2022-11-11T02:13:19.203Z] ---> Running in 68f7891b4538 [2022-11-11T02:13:19.462Z] Removing intermediate container 68f7891b4538 [2022-11-11T02:13:19.462Z] ---> 3c182d93fa5f [2022-11-11T02:13:19.462Z] Step 25/26 : LABEL git_sha=70ae1f57fb3aab0b645a0969230fc45de85e98ec [2022-11-11T02:13:19.462Z] ---> Running in 33d6bc2f437c [2022-11-11T02:13:19.462Z] Removing intermediate container 33d6bc2f437c [2022-11-11T02:13:19.462Z] ---> c4740a23b1d7 [2022-11-11T02:13:19.462Z] Step 26/26 : LABEL version=0.0.0 [2022-11-11T02:13:19.462Z] ---> Running in 12e5b3d53bac [2022-11-11T02:13:19.462Z] Removing intermediate container 12e5b3d53bac [2022-11-11T02:13:19.462Z] ---> 4df7b5bc0a56 [2022-11-11T02:13:19.462Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-11T02:13:19.462Z] Successfully built 4df7b5bc0a56 [2022-11-11T02:13:19.462Z] 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-11-11T02:13:19.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-11T02:13:19.843Z] [2022-11-11T02:13:19.843Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:13:20.149Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-11T02:13:20.149Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-11T02:13:20.149Z] 5eb5b503b376: Pulling fs layer [2022-11-11T02:13:20.149Z] 5c69ac0246d0: Pulling fs layer [2022-11-11T02:13:20.149Z] ec43610c2a17: Pulling fs layer [2022-11-11T02:13:20.149Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-11T02:13:20.149Z] 33b1e0a273af: Pulling fs layer [2022-11-11T02:13:20.149Z] 5d3b04190fa2: Pulling fs layer [2022-11-11T02:13:20.149Z] 2f39f015ded8: Pulling fs layer [2022-11-11T02:13:20.149Z] 33b1e0a273af: Waiting [2022-11-11T02:13:20.149Z] 5d3b04190fa2: Waiting [2022-11-11T02:13:20.149Z] 2f39f015ded8: Waiting [2022-11-11T02:13:20.149Z] 3a2ae6a8a46f: Waiting [2022-11-11T02:13:20.149Z] 5c69ac0246d0: Download complete [2022-11-11T02:13:20.149Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-11T02:13:20.149Z] 3a2ae6a8a46f: Download complete [2022-11-11T02:13:20.408Z] 33b1e0a273af: Verifying Checksum [2022-11-11T02:13:20.408Z] 33b1e0a273af: Download complete [2022-11-11T02:13:20.408Z] 5d3b04190fa2: Download complete [2022-11-11T02:13:20.408Z] ec43610c2a17: Verifying Checksum [2022-11-11T02:13:20.408Z] ec43610c2a17: Download complete [2022-11-11T02:13:20.677Z] 5eb5b503b376: Download complete [2022-11-11T02:13:21.663Z] 2f39f015ded8: Download complete [2022-11-11T02:13:21.921Z] 5eb5b503b376: Pull complete [2022-11-11T02:13:22.182Z] 5c69ac0246d0: Pull complete [2022-11-11T02:13:22.766Z] ec43610c2a17: Pull complete [2022-11-11T02:13:22.766Z] 3a2ae6a8a46f: Pull complete [2022-11-11T02:13:22.766Z] 33b1e0a273af: Pull complete [2022-11-11T02:13:22.766Z] 5d3b04190fa2: Pull complete [2022-11-11T02:13:27.057Z] 2f39f015ded8: Pull complete [2022-11-11T02:13:27.057Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-11T02:13:27.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-11T02:13:27.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:13:27.158Z] prd-ubuntu20.04-docker-8c-8g-118982 does not seem to be running inside a container [2022-11-11T02:13:27.198Z] $ 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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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-11-11T02:14:06.337Z] $ docker top b8b7ce6f33c3900bcb6571675fae3851374c3ed1dbebd91b842eaddeaee3dea9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:14:06.704Z] ---> job-cost.sh [2022-11-11T02:14:06.704Z] lf-activate-venv: SKIPPING [2022-11-11T02:14:06.704Z] INFO: No Stack... [2022-11-11T02:14:06.963Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-11T02:14:07.221Z] INFO: Archiving Costs [Pipeline] sh [2022-11-11T02:14:07.509Z] + cat /w/workspace/undry_device-onvif-camera_PR-185/archives/cost.csv [2022-11-11T02:14:07.509Z] + cut -d, -f6 [Pipeline] lock [2022-11-11T02:14:07.522Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-185-9-stack-cost] [2022-11-11T02:14:07.527Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-9-stack-cost] did not exist. Created. [2022-11-11T02:14:07.527Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-185-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-11T02:14:07.823Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-11T02:14:07.853Z] Stashed 1 file(s) [Pipeline] } [2022-11-11T02:14:07.859Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-11T02:14:07.878Z] $ docker stop --time=1 b8b7ce6f33c3900bcb6571675fae3851374c3ed1dbebd91b842eaddeaee3dea9 [2022-11-11T02:14:09.018Z] $ docker rm -f b8b7ce6f33c3900bcb6571675fae3851374c3ed1dbebd91b842eaddeaee3dea9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-11T02:14:38.272Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118986 in /w/workspace/undry_device-onvif-camera_PR-185 [Pipeline] { [Pipeline] ws [2022-11-11T02:14:38.286Z] Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout [2022-11-11T02:14:38.333Z] The recommended git tool is: git [2022-11-11T02:14:43.914Z] using credential edgex-jenkins-ssh [2022-11-11T02:14:43.933Z] Cloning the remote Git repository [2022-11-11T02:14:43.975Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-11T02:14:44.062Z] > git init /w/workspace/device-onvif-camera/9 # timeout=10 [2022-11-11T02:14:44.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-11T02:14:44.230Z] > git --version # timeout=10 [2022-11-11T02:14:44.260Z] > git --version # 'git version 2.25.1' [2022-11-11T02:14:44.263Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-11T02:14:44.321Z] Verifying host key using known hosts file [2022-11-11T02:14:44.548Z] 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-11-11T02:14:44.560Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-11T02:14:46.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-11T02:14:46.221Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-11T02:14:47.952Z] Merging remotes/origin/main commit 12ac4ca00df350acb7aaa5b8264558c40625f436 into PR head commit 659f5a409730c1aa6059f10a7d2527ba47038078 [2022-11-11T02:14:47.298Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-11T02:14:47.345Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-11T02:14:47.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-11T02:14:47.352Z] Verifying host key using known hosts file [2022-11-11T02:14:47.361Z] 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-11-11T02:14:47.375Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-11T02:14:47.968Z] > git config core.sparsecheckout # timeout=10 [2022-11-11T02:14:47.999Z] > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # timeout=10 [2022-11-11T02:14:48.267Z] > git remote # timeout=10 [2022-11-11T02:14:48.296Z] > git config --get remote.origin.url # timeout=10 [2022-11-11T02:14:48.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-11T02:14:48.331Z] Verifying host key using known hosts file [2022-11-11T02:14:48.336Z] 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-11-11T02:14:48.347Z] > git merge 12ac4ca00df350acb7aaa5b8264558c40625f436 # timeout=10 [2022-11-11T02:14:49.157Z] Merge succeeded, producing 5cce61cfafa56cf00f7e0b6d759cd70c921a96b6 [2022-11-11T02:14:49.158Z] Checking out Revision 5cce61cfafa56cf00f7e0b6d759cd70c921a96b6 (PR-185) [2022-11-11T02:14:49.115Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-11T02:14:49.160Z] > git config core.sparsecheckout # timeout=10 [2022-11-11T02:14:49.184Z] > git checkout -f 5cce61cfafa56cf00f7e0b6d759cd70c921a96b6 # timeout=10 [2022-11-11T02:14:53.148Z] Commit message: "Merge commit '12ac4ca00df350acb7aaa5b8264558c40625f436' into HEAD" [2022-11-11T02:14:53.151Z] > git rev-list --no-walk 72ce3f2687ad241e7f48ce217e30f149e95bf054 # timeout=10 [2022-11-11T02:14:53.179Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-11T02:14:54.086Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-11T02:14:54.086Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-11T02:14:54.086Z] Dload Upload Total Spent Left Speed [2022-11-11T02:14:54.087Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2022-11-11T02:14:54.759Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-11T02:14:55.101Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-11T02:14:55.101Z] + sudo tee /etc/docker/daemon.new [2022-11-11T02:14:55.101Z] { [2022-11-11T02:14:55.101Z] "registry-mirrors": [ [2022-11-11T02:14:55.101Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-11T02:14:55.101Z] ], [2022-11-11T02:14:55.101Z] "bip": "10.250.0.254/24", [2022-11-11T02:14:55.101Z] "hosts": [ [2022-11-11T02:14:55.101Z] "tcp://0.0.0.0:5555", [2022-11-11T02:14:55.101Z] "unix:///var/run/docker.sock" [2022-11-11T02:14:55.101Z] ], [2022-11-11T02:14:55.101Z] "mtu": 1458, [2022-11-11T02:14:55.101Z] "selinux-enabled": true, [2022-11-11T02:14:55.101Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-11T02:14:55.101Z] } [Pipeline] sh [2022-11-11T02:14:55.438Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-11T02:14:55.775Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-11T02:15:14.073Z] provisioning config files... [2022-11-11T02:15:14.104Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config18296431828352849969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:15:14.463Z] ---> docker-login.sh [2022-11-11T02:15:14.463Z] nexus3.edgexfoundry.org:10001 [2022-11-11T02:15:15.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:15:15.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:15:15.058Z] Configure a credential helper to remove this warning. See [2022-11-11T02:15:15.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:15:15.058Z] [2022-11-11T02:15:15.058Z] Login Succeeded [2022-11-11T02:15:15.058Z] nexus3.edgexfoundry.org:10002 [2022-11-11T02:15:15.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:15:15.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:15:15.599Z] Configure a credential helper to remove this warning. See [2022-11-11T02:15:15.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:15:15.599Z] [2022-11-11T02:15:15.599Z] Login Succeeded [2022-11-11T02:15:15.599Z] nexus3.edgexfoundry.org:10003 [2022-11-11T02:15:15.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:15:15.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:15:15.869Z] Configure a credential helper to remove this warning. See [2022-11-11T02:15:15.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:15:15.869Z] [2022-11-11T02:15:15.869Z] Login Succeeded [2022-11-11T02:15:15.869Z] nexus3.edgexfoundry.org:10004 [2022-11-11T02:15:16.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:15:16.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:15:16.138Z] Configure a credential helper to remove this warning. See [2022-11-11T02:15:16.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:15:16.138Z] [2022-11-11T02:15:16.138Z] Login Succeeded [2022-11-11T02:15:16.138Z] docker.io [2022-11-11T02:15:16.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:15:17.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:15:17.000Z] Configure a credential helper to remove this warning. See [2022-11-11T02:15:17.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:15:17.000Z] [2022-11-11T02:15:17.000Z] Login Succeeded [2022-11-11T02:15:17.000Z] ---> docker-login.sh ends [Pipeline] } [2022-11-11T02:15:17.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-11T02:15:17.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-11T02:15:17.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-11T02:15:17.218Z] ========================================================= [2022-11-11T02:15:17.219Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-11T02:15:17.219Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:15:17.567Z] + 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-11-11T02:15:18.160Z] Sending build context to Docker daemon 20.46MB [2022-11-11T02:15:18.160Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-11T02:15:18.160Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-11T02:15:19.139Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-11T02:15:19.140Z] 9b18e9b68314: Pulling fs layer [2022-11-11T02:15:19.140Z] 35d82f9e3411: Pulling fs layer [2022-11-11T02:15:19.140Z] e16973657156: Pulling fs layer [2022-11-11T02:15:19.140Z] fc693d55d65f: Pulling fs layer [2022-11-11T02:15:19.140Z] 7e9fc2657dce: Pulling fs layer [2022-11-11T02:15:19.140Z] dda99020689f: Pulling fs layer [2022-11-11T02:15:19.140Z] db1c61fa0a46: Pulling fs layer [2022-11-11T02:15:19.140Z] 891c053d2c06: Pulling fs layer [2022-11-11T02:15:19.140Z] fc693d55d65f: Waiting [2022-11-11T02:15:19.140Z] 7e9fc2657dce: Waiting [2022-11-11T02:15:19.140Z] dda99020689f: Waiting [2022-11-11T02:15:19.140Z] db1c61fa0a46: Waiting [2022-11-11T02:15:19.140Z] 891c053d2c06: Waiting [2022-11-11T02:15:19.140Z] e16973657156: Verifying Checksum [2022-11-11T02:15:19.140Z] e16973657156: Download complete [2022-11-11T02:15:19.140Z] 35d82f9e3411: Verifying Checksum [2022-11-11T02:15:19.140Z] 35d82f9e3411: Download complete [2022-11-11T02:15:19.140Z] 7e9fc2657dce: Verifying Checksum [2022-11-11T02:15:19.140Z] 7e9fc2657dce: Download complete [2022-11-11T02:15:19.140Z] dda99020689f: Download complete [2022-11-11T02:15:19.140Z] 9b18e9b68314: Verifying Checksum [2022-11-11T02:15:20.130Z] 9b18e9b68314: Pull complete [2022-11-11T02:15:20.130Z] 891c053d2c06: Verifying Checksum [2022-11-11T02:15:20.130Z] 891c053d2c06: Download complete [2022-11-11T02:15:20.404Z] 35d82f9e3411: Pull complete [2022-11-11T02:15:20.673Z] e16973657156: Pull complete [2022-11-11T02:15:21.647Z] db1c61fa0a46: Verifying Checksum [2022-11-11T02:15:21.647Z] db1c61fa0a46: Download complete [2022-11-11T02:15:21.926Z] fc693d55d65f: Verifying Checksum [2022-11-11T02:15:21.926Z] fc693d55d65f: Download complete [2022-11-11T02:15:34.300Z] fc693d55d65f: Pull complete [2022-11-11T02:15:34.300Z] 7e9fc2657dce: Pull complete [2022-11-11T02:15:34.582Z] dda99020689f: Pull complete [2022-11-11T02:15:41.279Z] db1c61fa0a46: Pull complete [2022-11-11T02:15:43.249Z] 891c053d2c06: Pull complete [2022-11-11T02:15:43.249Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-11T02:15:43.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-11T02:15:43.249Z] ---> f96f9c87975a [2022-11-11T02:15:43.249Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-11T02:15:45.267Z] ---> Running in 578f67ab143b [2022-11-11T02:15:45.536Z] Removing intermediate container 578f67ab143b [2022-11-11T02:15:45.536Z] ---> a1a428551e2c [2022-11-11T02:15:45.536Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-11T02:15:45.817Z] ---> Running in 2310685f54b2 [2022-11-11T02:15:46.087Z] Removing intermediate container 2310685f54b2 [2022-11-11T02:15:46.087Z] ---> d19d8fa8cf29 [2022-11-11T02:15:46.087Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-11T02:15:46.087Z] ---> Running in 54c254010cb9 [2022-11-11T02:15:46.360Z] Removing intermediate container 54c254010cb9 [2022-11-11T02:15:46.360Z] ---> d9af0ea3b451 [2022-11-11T02:15:46.360Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-11T02:15:46.628Z] ---> Running in ecf309708c76 [2022-11-11T02:15:46.900Z] Removing intermediate container ecf309708c76 [2022-11-11T02:15:46.900Z] ---> 6ec4f8ea5233 [2022-11-11T02:15:46.900Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-11T02:15:46.900Z] ---> Running in de01c8da653a [2022-11-11T02:15:47.170Z] Removing intermediate container de01c8da653a [2022-11-11T02:15:47.170Z] ---> f4e88cf66b38 [2022-11-11T02:15:47.170Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-11T02:15:47.439Z] ---> Running in 1664e838c6dc [2022-11-11T02:15:48.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-11T02:15:48.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-11T02:15:49.950Z] OK: 221 MiB in 51 packages [2022-11-11T02:15:50.538Z] Removing intermediate container 1664e838c6dc [2022-11-11T02:15:50.538Z] ---> 2c1a4ebbce50 [2022-11-11T02:15:50.538Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-11T02:15:50.816Z] ---> Running in 6d757fc00d44 [2022-11-11T02:15:51.086Z] Removing intermediate container 6d757fc00d44 [2022-11-11T02:15:51.086Z] ---> d4b6afac962c [2022-11-11T02:15:51.086Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-11T02:15:51.673Z] ---> 11801f2b8569 [2022-11-11T02:15:51.673Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-11T02:15:51.673Z] ---> Running in 5ecdfa6eb100 [2022-11-11T02:16:48.123Z] Removing intermediate container 5ecdfa6eb100 [2022-11-11T02:16:48.123Z] ---> 8aecfe29e39b [2022-11-11T02:16:48.123Z] Step 12/13 : COPY . . [2022-11-11T02:16:48.123Z] ---> fc8f494ab4f9 [2022-11-11T02:16:48.123Z] Step 13/13 : RUN ${MAKE} [2022-11-11T02:16:48.123Z] ---> Running in 0b8aad1078c4 [2022-11-11T02:16:48.123Z] noop [2022-11-11T02:16:48.123Z] Removing intermediate container 0b8aad1078c4 [2022-11-11T02:16:48.123Z] ---> d8edd2c028ae [2022-11-11T02:16:48.123Z] Successfully built d8edd2c028ae [2022-11-11T02:16:48.123Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:16:48.467Z] + docker inspect -f . ci-base-image-arm64 [2022-11-11T02:16:48.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:16:48.637Z] prd-ubuntu20.04-docker-arm64-4c-16g-118986 does not seem to be running inside a container [2022-11-11T02:16:48.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-11T02:16:49.858Z] $ docker top 0cfe69822e6d054ffd259a2e687f62b6d019ac7cfc3f9a757bff3b78db9485d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-11T02:16:50.683Z] + go version [2022-11-11T02:16:50.683Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-11T02:16:50.698Z] $ docker stop --time=1 0cfe69822e6d054ffd259a2e687f62b6d019ac7cfc3f9a757bff3b78db9485d5 [2022-11-11T02:16:52.295Z] $ docker rm -f 0cfe69822e6d054ffd259a2e687f62b6d019ac7cfc3f9a757bff3b78db9485d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:16:52.844Z] + docker inspect -f . ci-base-image-arm64 [2022-11-11T02:16:52.844Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:16:53.005Z] prd-ubuntu20.04-docker-arm64-4c-16g-118986 does not seem to be running inside a container [2022-11-11T02:16:53.069Z] $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-11T02:16:54.160Z] $ docker top f5d3b547d712ea52fd4c647d3c61eaeee44feb0edbfaeab8e94b499bf7174e50 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-11T02:16:54.990Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/9 [Pipeline] fileExists [Pipeline] sh [2022-11-11T02:16:55.638Z] + make test [2022-11-11T02:16:55.638Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-11T02:16:57.587Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-11T02:18:49.267Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-11T02:18:49.538Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.206s coverage: 29.3% of statements [2022-11-11T02:18:49.538Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-11T02:19:07.772Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.284s coverage: 86.5% of statements [2022-11-11T02:19:08.040Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-11T02:19:08.040Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-11T02:19:46.933Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-11T02:19:46.933Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-11T02:19:46.933Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-11T02:19:46.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-11T02:19:46.964Z] $ docker stop --time=1 f5d3b547d712ea52fd4c647d3c61eaeee44feb0edbfaeab8e94b499bf7174e50 [2022-11-11T02:19:48.984Z] $ docker rm -f f5d3b547d712ea52fd4c647d3c61eaeee44feb0edbfaeab8e94b499bf7174e50 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-11T02:19:50.076Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-11T02:19:50.099Z] Warning: overwriting stash ‘coverage-report’ [2022-11-11T02:19:50.917Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-11T02:19:51.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-11T02:19:51.846Z] + ls -al . [2022-11-11T02:19:51.846Z] total 244 [2022-11-11T02:19:51.846Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 02:16 . [2022-11-11T02:19:51.846Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:14 .. [2022-11-11T02:19:51.846Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 02:14 .git [2022-11-11T02:19:51.846Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:14 .github [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 11 02:14 .gitignore [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 11 02:14 .golangci.yml [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 11 02:14 Attribution.txt [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 11 02:14 CHANGELOG.md [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 11 02:14 Dockerfile [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 02:14 GOVERNANCE.md [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 11 02:14 Jenkinsfile [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 11 02:14 LICENSE [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 11 02:14 Makefile [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 11 02:14 OWNERS.md [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 11 02:14 README.md [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 02:11 VERSION [2022-11-11T02:19:51.846Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 02:14 bin [2022-11-11T02:19:51.846Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:14 cmd [2022-11-11T02:19:51.846Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 11 02:19 coverage.out [2022-11-11T02:19:51.846Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 02:14 doc [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 3687 Nov 11 02:14 go.mod [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 46105 Nov 11 02:14 go.sum [2022-11-11T02:19:51.846Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:14 internal [2022-11-11T02:19:51.846Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:14 snap [2022-11-11T02:19:51.846Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 11 02:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:19:52.365Z] + 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=5cce61cfafa56cf00f7e0b6d759cd70c921a96b6 --label arch=arm64 --label version=0.0.0 . [2022-11-11T02:19:53.795Z] Sending build context to Docker daemon 20.54MB [2022-11-11T02:19:53.795Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-11T02:19:53.795Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-11T02:19:53.795Z] ---> d8edd2c028ae [2022-11-11T02:19:53.795Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-11T02:19:53.795Z] ---> Running in dfea0635bf07 [2022-11-11T02:19:55.206Z] Removing intermediate container dfea0635bf07 [2022-11-11T02:19:55.206Z] ---> 074e72cba77a [2022-11-11T02:19:55.206Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-11T02:19:55.206Z] ---> Running in 7064ab0a9cb8 [2022-11-11T02:19:55.488Z] Removing intermediate container 7064ab0a9cb8 [2022-11-11T02:19:55.488Z] ---> 3f05898b6fa5 [2022-11-11T02:19:55.488Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-11T02:19:55.756Z] ---> Running in 7f7d5cfbb445 [2022-11-11T02:19:56.024Z] Removing intermediate container 7f7d5cfbb445 [2022-11-11T02:19:56.024Z] ---> 060fcc658ca0 [2022-11-11T02:19:56.024Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-11T02:19:56.291Z] ---> Running in 2e1a031992de [2022-11-11T02:19:56.877Z] Removing intermediate container 2e1a031992de [2022-11-11T02:19:56.877Z] ---> ee87d7aa7013 [2022-11-11T02:19:56.877Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-11T02:19:56.877Z] ---> Running in e891ce97e15a [2022-11-11T02:19:57.461Z] Removing intermediate container e891ce97e15a [2022-11-11T02:19:57.461Z] ---> 53821e671390 [2022-11-11T02:19:57.461Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-11T02:19:57.461Z] ---> Running in ab2521e1980a [2022-11-11T02:19:58.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-11T02:19:59.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-11T02:20:00.566Z] OK: 221 MiB in 51 packages [2022-11-11T02:20:01.537Z] Removing intermediate container ab2521e1980a [2022-11-11T02:20:01.537Z] ---> b80a9281cd8a [2022-11-11T02:20:01.537Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-11T02:20:01.537Z] ---> Running in ccf49603f86b [2022-11-11T02:20:03.488Z] Removing intermediate container ccf49603f86b [2022-11-11T02:20:03.488Z] ---> f281595bbd0a [2022-11-11T02:20:03.488Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-11T02:20:03.753Z] ---> a755ba1be58d [2022-11-11T02:20:03.753Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-11T02:20:04.020Z] ---> Running in be62707443ca [2022-11-11T02:20:06.612Z] Removing intermediate container be62707443ca [2022-11-11T02:20:06.612Z] ---> 97402a02faf8 [2022-11-11T02:20:06.612Z] Step 12/26 : COPY . . [2022-11-11T02:20:08.559Z] ---> 3dc73afe700e [2022-11-11T02:20:08.559Z] Step 13/26 : RUN ${MAKE} [2022-11-11T02:20:08.559Z] ---> Running in 462e62d1be65 [2022-11-11T02:20:09.520Z] 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" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-11T02:22:46.263Z] Removing intermediate container 462e62d1be65 [2022-11-11T02:22:46.263Z] ---> 366b00bf90b2 [2022-11-11T02:22:46.263Z] Step 14/26 : FROM alpine:3.16 [2022-11-11T02:22:46.263Z] 3.16: Pulling from library/alpine [2022-11-11T02:22:46.263Z] 9b18e9b68314: Already exists [2022-11-11T02:22:46.263Z] Digest: sha256:65a2763f593ae85fab3b5406dc9e80f744ec5b449f269b699b5efd37a07ad32e [2022-11-11T02:22:46.263Z] Status: Downloaded newer image for alpine:3.16 [2022-11-11T02:22:46.263Z] ---> 16d65c69c39d [2022-11-11T02:22:46.263Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-11T02:22:46.263Z] ---> Running in 64aacfcedd99 [2022-11-11T02:22:46.263Z] Removing intermediate container 64aacfcedd99 [2022-11-11T02:22:46.263Z] ---> 946a55cb691b [2022-11-11T02:22:46.263Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-11T02:22:46.263Z] ---> Running in 9f1082532866 [2022-11-11T02:22:46.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-11T02:22:46.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-11T02:22:46.263Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-11T02:22:46.263Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-11T02:22:46.263Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-11T02:22:46.263Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-11T02:22:46.263Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-11T02:22:46.263Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-11T02:22:46.263Z] Executing busybox-1.35.0-r17.trigger [2022-11-11T02:22:46.263Z] OK: 8 MiB in 20 packages [2022-11-11T02:22:46.263Z] Removing intermediate container 9f1082532866 [2022-11-11T02:22:46.263Z] ---> ac4fc67e83ea [2022-11-11T02:22:46.263Z] Step 17/26 : WORKDIR / [2022-11-11T02:22:46.263Z] ---> Running in f07a91afee94 [2022-11-11T02:22:46.263Z] Removing intermediate container f07a91afee94 [2022-11-11T02:22:46.263Z] ---> d343dd06b5e6 [2022-11-11T02:22:46.263Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-11T02:22:48.210Z] ---> 6d59adf42535 [2022-11-11T02:22:48.210Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-11T02:22:48.477Z] ---> 6548d05c1c15 [2022-11-11T02:22:48.477Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-11T02:22:48.744Z] ---> 33930c32a356 [2022-11-11T02:22:48.745Z] Step 21/26 : EXPOSE 59984 [2022-11-11T02:22:49.014Z] ---> Running in fa556f83d526 [2022-11-11T02:22:49.281Z] Removing intermediate container fa556f83d526 [2022-11-11T02:22:49.281Z] ---> 46f4c87b8b70 [2022-11-11T02:22:49.281Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-11T02:22:49.281Z] ---> Running in 0f8244be4075 [2022-11-11T02:22:49.550Z] Removing intermediate container 0f8244be4075 [2022-11-11T02:22:49.550Z] ---> 5741776ef982 [2022-11-11T02:22:49.550Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-11T02:22:49.818Z] ---> Running in 241b525b3015 [2022-11-11T02:22:50.084Z] Removing intermediate container 241b525b3015 [2022-11-11T02:22:50.084Z] ---> 8eda529ca0b6 [2022-11-11T02:22:50.084Z] Step 24/26 : LABEL arch=arm64 [2022-11-11T02:22:50.084Z] ---> Running in 74cceb706903 [2022-11-11T02:22:50.350Z] Removing intermediate container 74cceb706903 [2022-11-11T02:22:50.350Z] ---> d8ffa55db438 [2022-11-11T02:22:50.350Z] Step 25/26 : LABEL git_sha=5cce61cfafa56cf00f7e0b6d759cd70c921a96b6 [2022-11-11T02:22:50.350Z] ---> Running in 7a1157e65b8f [2022-11-11T02:22:50.617Z] Removing intermediate container 7a1157e65b8f [2022-11-11T02:22:50.617Z] ---> 6094081d7cc9 [2022-11-11T02:22:50.617Z] Step 26/26 : LABEL version=0.0.0 [2022-11-11T02:22:50.887Z] ---> Running in ff9bb18e362c [2022-11-11T02:22:51.153Z] Removing intermediate container ff9bb18e362c [2022-11-11T02:22:51.154Z] ---> f348a0c600d3 [2022-11-11T02:22:51.154Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-11T02:22:51.154Z] Successfully built f348a0c600d3 [2022-11-11T02:22:51.154Z] 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-11-11T02:22:51.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-11T02:22:51.563Z] [2022-11-11T02:22:51.563Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:22:51.904Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-11T02:22:51.904Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-11T02:22:51.904Z] 8998bd30e6a1: Pulling fs layer [2022-11-11T02:22:51.904Z] 04944245beec: Pulling fs layer [2022-11-11T02:22:51.904Z] 699f458cf7ca: Pulling fs layer [2022-11-11T02:22:51.904Z] 765212b225bb: Pulling fs layer [2022-11-11T02:22:51.904Z] f23df028b6ca: Pulling fs layer [2022-11-11T02:22:51.904Z] d65c8cfc05b1: Pulling fs layer [2022-11-11T02:22:51.904Z] 2437ff75d9bd: Pulling fs layer [2022-11-11T02:22:51.904Z] 765212b225bb: Waiting [2022-11-11T02:22:51.904Z] d65c8cfc05b1: Waiting [2022-11-11T02:22:51.904Z] 2437ff75d9bd: Waiting [2022-11-11T02:22:51.904Z] f23df028b6ca: Waiting [2022-11-11T02:22:52.171Z] 04944245beec: Verifying Checksum [2022-11-11T02:22:52.171Z] 04944245beec: Download complete [2022-11-11T02:22:52.171Z] 765212b225bb: Verifying Checksum [2022-11-11T02:22:52.171Z] 765212b225bb: Download complete [2022-11-11T02:22:52.171Z] f23df028b6ca: Verifying Checksum [2022-11-11T02:22:52.171Z] f23df028b6ca: Download complete [2022-11-11T02:22:52.171Z] d65c8cfc05b1: Verifying Checksum [2022-11-11T02:22:52.171Z] d65c8cfc05b1: Download complete [2022-11-11T02:22:52.440Z] 699f458cf7ca: Verifying Checksum [2022-11-11T02:22:52.440Z] 699f458cf7ca: Download complete [2022-11-11T02:22:52.709Z] 8998bd30e6a1: Verifying Checksum [2022-11-11T02:22:52.709Z] 8998bd30e6a1: Download complete [2022-11-11T02:22:55.305Z] 2437ff75d9bd: Verifying Checksum [2022-11-11T02:22:55.305Z] 2437ff75d9bd: Download complete [2022-11-11T02:22:56.712Z] 8998bd30e6a1: Pull complete [2022-11-11T02:22:57.296Z] 04944245beec: Pull complete [2022-11-11T02:22:58.255Z] 699f458cf7ca: Pull complete [2022-11-11T02:22:58.524Z] 765212b225bb: Pull complete [2022-11-11T02:22:59.486Z] f23df028b6ca: Pull complete [2022-11-11T02:22:59.486Z] d65c8cfc05b1: Pull complete [2022-11-11T02:23:11.800Z] 2437ff75d9bd: Pull complete [2022-11-11T02:23:11.800Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-11T02:23:11.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-11T02:23:11.800Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:23:11.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-118986 does not seem to be running inside a container [2022-11-11T02:23:12.068Z] $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-11T02:23:14.965Z] $ docker top 3b0521135c50b34a815f4a37af82568bea814b9bd583e2abc199db4763cfc5d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:23:15.824Z] ---> job-cost.sh [2022-11-11T02:23:15.824Z] lf-activate-venv: SKIPPING [2022-11-11T02:23:15.824Z] INFO: No Stack... [2022-11-11T02:23:16.410Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-11T02:23:16.992Z] INFO: Archiving Costs [Pipeline] sh [2022-11-11T02:23:17.631Z] + cut -d, -f6 [2022-11-11T02:23:17.631Z] + cat /w/workspace/device-onvif-camera/9/archives/cost.csv [Pipeline] lock [2022-11-11T02:23:17.699Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-185-9-stack-cost] [2022-11-11T02:23:17.706Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-9-stack-cost] did not exist. Created. [2022-11-11T02:23:17.706Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-185-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-11T02:23:18.042Z] /w/workspace/device-onvif-camera/9@tmp/durable-1dae0b48/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-11T02:23:18.967Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-11T02:23:18.988Z] Warning: overwriting stash ‘stack-cost’ [2022-11-11T02:23:19.060Z] Stashed 1 file(s) [Pipeline] } [2022-11-11T02:23:19.068Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-11T02:23:19.086Z] $ docker stop --time=1 3b0521135c50b34a815f4a37af82568bea814b9bd583e2abc199db4763cfc5d3 [2022-11-11T02:23:21.031Z] $ docker rm -f 3b0521135c50b34a815f4a37af82568bea814b9bd583e2abc199db4763cfc5d3 [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-11-11T02:23:21.414Z] provisioning config files... [2022-11-11T02:23:21.421Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config18054914918558862146tmp [Pipeline] { [Pipeline] sh [2022-11-11T02:23:21.710Z] + set +x [2022-11-11T02:23:21.710Z] + curl -s https://codecov.io/bash [2022-11-11T02:23:21.710Z] + bash -s -- [2022-11-11T02:23:21.710Z] [2022-11-11T02:23:21.710Z] _____ _ [2022-11-11T02:23:21.710Z] / ____| | | [2022-11-11T02:23:21.710Z] | | ___ __| | ___ ___ _____ __ [2022-11-11T02:23:21.710Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-11T02:23:21.710Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-11T02:23:21.710Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-11T02:23:21.710Z] Bash-1.0.6 [2022-11-11T02:23:21.710Z] [2022-11-11T02:23:21.710Z] [2022-11-11T02:23:21.710Z] ==> git version 2.25.1 found [2022-11-11T02:23:21.710Z] ==> 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-11-11T02:23:21.710Z] Release-Date: 2020-01-08 [2022-11-11T02:23:21.710Z] 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-11-11T02:23:21.710Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-11T02:23:21.710Z] ==> Jenkins CI detected. [2022-11-11T02:23:21.710Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-185 [2022-11-11T02:23:21.710Z] project root: . [2022-11-11T02:23:21.710Z] --> token set from env [2022-11-11T02:23:21.710Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-11T02:23:21.710Z] ==> Running gcov in . (disable via -X gcov) [2022-11-11T02:23:21.710Z] ==> Python coveragepy not found [2022-11-11T02:23:21.710Z] ==> Searching for coverage reports in: [2022-11-11T02:23:21.710Z] + . [2022-11-11T02:23:21.710Z] -> Found 1 reports [2022-11-11T02:23:21.710Z] ==> Detecting git/mercurial file structure [2022-11-11T02:23:21.710Z] ==> Reading reports [2022-11-11T02:23:21.711Z] + ./coverage.out bytes=79184 [2022-11-11T02:23:21.711Z] ==> Appending adjustments [2022-11-11T02:23:21.711Z] https://docs.codecov.io/docs/fixing-reports [2022-11-11T02:23:21.969Z] + Found adjustments [2022-11-11T02:23:21.969Z] ==> Gzipping contents [2022-11-11T02:23:21.969Z] 12K /tmp/codecov.fpFX8P.gz [2022-11-11T02:23:21.969Z] ==> Uploading reports [2022-11-11T02:23:21.969Z] url: https://codecov.io [2022-11-11T02:23:21.969Z] query: branch=PR-185&commit=70ae1f57fb3aab0b645a0969230fc45de85e98ec&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-185%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-11-11T02:23:21.969Z] -> Pinging Codecov [2022-11-11T02:23:21.969Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-185&commit=70ae1f57fb3aab0b645a0969230fc45de85e98ec&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-185%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-11-11T02:23:22.229Z] -> Uploading to [2022-11-11T02:23:22.229Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-11/F29A59C45E3A92E06B3E522C9905F8EF/70ae1f57fb3aab0b645a0969230fc45de85e98ec/a09da04e-6174-49d7-98c8-874c1ab252a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221111T022322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=523de9d9a34ca5e8ceb7835d39f81f7d531eae42724041fd732fc3dfb9b394fd [2022-11-11T02:23:22.229Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-11T02:23:22.229Z] Dload Upload Total Spent Left Speed [2022-11-11T02:23:22.486Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10908 0 0 100 10908 0 38139 --:--:-- --:--:-- --:--:-- 38139 [2022-11-11T02:23:22.486Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/70ae1f57fb3aab0b645a0969230fc45de85e98ec [Pipeline] } [2022-11-11T02:23:22.492Z] 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-11-11T02:23:23.197Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-185/archives ] [2022-11-11T02:23:23.197Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-185/archives [2022-11-11T02:23:23.197Z] total 16 [2022-11-11T02:23:23.197Z] drwxr-xr-x 3 root root 4096 Nov 11 02:14 . [2022-11-11T02:23:23.197Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 02:14 .. [2022-11-11T02:23:23.197Z] drwxr-xr-x 2 root root 4096 Nov 11 02:14 cost [2022-11-11T02:23:23.197Z] -rw-r--r-- 1 root root 91 Nov 11 02:14 cost.csv [2022-11-11T02:23:23.197Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-185/archives [2022-11-11T02:23:23.197Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-185/archives [2022-11-11T02:23:23.197Z] total 16 [2022-11-11T02:23:23.197Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 02:14 . [2022-11-11T02:23:23.197Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 02:14 .. [2022-11-11T02:23:23.197Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 02:14 cost [2022-11-11T02:23:23.197Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 11 02:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:23:23.488Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:23:24.341Z] ---> package-listing.sh [2022-11-11T02:23:24.341Z] ++ facter osfamily [2022-11-11T02:23:24.341Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-11T02:23:24.598Z] + OS_FAMILY=debian [2022-11-11T02:23:24.598Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-185 [2022-11-11T02:23:24.598Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-11T02:23:24.598Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-11T02:23:24.598Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-11T02:23:24.598Z] + PACKAGES=/tmp/packages_start.txt [2022-11-11T02:23:24.598Z] + '[' /w/workspace/undry_device-onvif-camera_PR-185 ']' [2022-11-11T02:23:24.598Z] + PACKAGES=/tmp/packages_end.txt [2022-11-11T02:23:24.598Z] + case "${OS_FAMILY}" in [2022-11-11T02:23:24.598Z] + dpkg -l [2022-11-11T02:23:24.598Z] + grep '^ii' [2022-11-11T02:23:24.598Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-11T02:23:24.598Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-11T02:23:24.598Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-11T02:23:24.598Z] + '[' /w/workspace/undry_device-onvif-camera_PR-185 ']' [2022-11-11T02:23:24.598Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-185/archives/ [2022-11-11T02:23:24.598Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-185/archives/ [Pipeline] echo [2022-11-11T02:23:24.606Z] 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-11T02:23:24.880Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:23:25.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-11T02:23:25.434Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:23:25.537Z] prd-ubuntu20.04-docker-8c-8g-118982 does not seem to be running inside a container [2022-11-11T02:23:25.572Z] $ 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-185/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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-11T02:23:25.904Z] $ docker top 2b34e7cdbbb952640a9120e22abdbaf648341526343d2cdc9d4a053e728f8f34 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-11T02:23:26.239Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-11T02:23:26.522Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-11T02:23:26.803Z] + ls /var/log/sa-host [2022-11-11T02:23:26.803Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-11T02:23:26.863Z] provisioning config files... [2022-11-11T02:23:26.872Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config16634569125995137467tmp [Pipeline] { [Pipeline] echo [2022-11-11T02:23:26.886Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:23:27.164Z] ---> create-netrc.sh [Pipeline] } [2022-11-11T02:23:27.171Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:23:27.482Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-11T02:23:27.490Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:23:27.772Z] ---> sudo-logs.sh [2022-11-11T02:23:27.772Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-11T02:23:27.800Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:23:28.087Z] ---> job-cost.sh [2022-11-11T02:23:28.087Z] lf-activate-venv: SKIPPING [2022-11-11T02:23:28.087Z] DEBUG: total: 0.2199999988079071 [2022-11-11T02:23:28.087Z] INFO: Retrieving Stack Cost... [2022-11-11T02:23:28.346Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-11T02:23:28.915Z] INFO: Archiving Costs [Pipeline] echo [2022-11-11T02:23:28.926Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:23:29.210Z] ---> logs-deploy.sh [2022-11-11T02:23:29.210Z] lf-activate-venv: SKIPPING [2022-11-11T02:23:29.210Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-185/9 [2022-11-11T02:23:29.210Z] INFO: archiving workspace using pattern(s): [2022-11-11T02:23:30.164Z] Archives upload complete. [2022-11-11T02:23:30.422Z] INFO: archiving logs to Nexus