Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c3ec509adb15beeff9c635c67ee84ed92878cfab+a761beb27065a69935e8288e1ea85e5d9ee20b97 (125b0f4eb1f49386631ab36d1a472b3440041fd3) 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-ssh3793383035123487532.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh8391288869330376475.key > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-100/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-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1626113047766178121.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh11892848948198486193.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-100/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-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9940432644728935032.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-20572’ Running on prd-ubuntu20.04-docker-8c-8g-20576 in /w/workspace/undry_device-onvif-camera_PR-100 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-100 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a761beb27065a69935e8288e1ea85e5d9ee20b97 into PR head commit c3ec509adb15beeff9c635c67ee84ed92878cfab Merge succeeded, producing 771dfd1efd4fc651df4639607b65c3a5d73242a3 Checking out Revision 771dfd1efd4fc651df4639607b65c3a5d73242a3 (PR-100) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3ec509adb15beeff9c635c67ee84ed92878cfab # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a761beb27065a69935e8288e1ea85e5d9ee20b97 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 771dfd1efd4fc651df4639607b65c3a5d73242a3 # timeout=10 Commit message: "Merge commit 'a761beb27065a69935e8288e1ea85e5d9ee20b97' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-20T10:11:37.430Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-20T10:11:37.486Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-20T10:11:37.500Z] ========================================================= [2022-07-20T10:11:37.500Z] EdgeX Global Pipelines Version Info [2022-07-20T10:11:37.500Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2d40cce2f3119d08e63d15256cb76cb7145ecc6f # timeout=10 [2022-07-20T10:11:38.247Z] ------------------- [2022-07-20T10:11:38.247Z] stable info: [2022-07-20T10:11:38.247Z] ------------------- [2022-07-20T10:11:38.247Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-20T10:11:38.247Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-20T10:11:38.247Z] Message: update stable to v1.0.238 [2022-07-20T10:11:38.821Z] ------------------- [2022-07-20T10:11:38.821Z] experimental info: [2022-07-20T10:11:38.821Z] ------------------- [2022-07-20T10:11:38.821Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-20T10:11:38.821Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-20T10:11:38.821Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-20T10:11:39.017Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-20T10:11:39.030Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-20T10:11:39.041Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-20T10:11:39.055Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-20T10:11:39.066Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-20T10:11:39.077Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-20T10:11:39.090Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-20T10:11:39.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-20T10:11:39.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-20T10:11:39.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-20T10:11:39.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-20T10:11:39.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-20T10:11:39.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-20T10:11:39.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-20T10:11:39.193Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-20T10:11:39.204Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-20T10:11:39.215Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-20T10:11:39.229Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-20T10:11:39.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-20T10:11:39.252Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-20T10:11:39.261Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-20T10:11:39.270Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-20T10:11:39.279Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-20T10:11:39.289Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-20T10:11:39.314Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-20T10:11:39.332Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-20T10:11:39.349Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-20T10:11:39.366Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-100 [Pipeline] echo [2022-07-20T10:11:39.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-100 [Pipeline] echo [2022-07-20T10:11:39.389Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-100 [Pipeline] echo [2022-07-20T10:11:39.402Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 771dfd1efd4fc651df4639607b65c3a5d73242a3 [Pipeline] echo [2022-07-20T10:11:39.416Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 771dfd1 [Pipeline] echo [2022-07-20T10:11:39.428Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T10:11:39.470Z] provisioning config files... [2022-07-20T10:11:39.481Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config2423864865398656792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T10:11:39.801Z] ---> docker-login.sh [2022-07-20T10:11:39.802Z] nexus3.edgexfoundry.org:10001 [2022-07-20T10:11:40.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:11:40.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:11:40.061Z] Configure a credential helper to remove this warning. See [2022-07-20T10:11:40.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:11:40.061Z] [2022-07-20T10:11:40.061Z] Login Succeeded [2022-07-20T10:11:40.061Z] nexus3.edgexfoundry.org:10002 [2022-07-20T10:11:40.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:11:40.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:11:40.322Z] Configure a credential helper to remove this warning. See [2022-07-20T10:11:40.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:11:40.322Z] [2022-07-20T10:11:40.322Z] Login Succeeded [2022-07-20T10:11:40.322Z] nexus3.edgexfoundry.org:10003 [2022-07-20T10:11:40.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:11:40.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:11:40.322Z] Configure a credential helper to remove this warning. See [2022-07-20T10:11:40.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:11:40.322Z] [2022-07-20T10:11:40.322Z] Login Succeeded [2022-07-20T10:11:40.322Z] nexus3.edgexfoundry.org:10004 [2022-07-20T10:11:40.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:11:40.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:11:40.584Z] Configure a credential helper to remove this warning. See [2022-07-20T10:11:40.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:11:40.584Z] [2022-07-20T10:11:40.584Z] Login Succeeded [2022-07-20T10:11:40.584Z] docker.io [2022-07-20T10:11:40.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:11:41.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:11:41.159Z] Configure a credential helper to remove this warning. See [2022-07-20T10:11:41.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:11:41.159Z] [2022-07-20T10:11:41.159Z] Login Succeeded [2022-07-20T10:11:41.159Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T10:11:41.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-20T10:11:41.540Z] + git rev-list -1 --merges 771dfd1efd4fc651df4639607b65c3a5d73242a3~1..771dfd1efd4fc651df4639607b65c3a5d73242a3 [Pipeline] echo [2022-07-20T10:11:41.570Z] -----------> git rev-list -1 --merges 771dfd1efd4fc651df4639607b65c3a5d73242a3~1..771dfd1efd4fc651df4639607b65c3a5d73242a3 771dfd1efd4fc651df4639607b65c3a5d73242a3 [2022-07-20T10:11:41.570Z] 771dfd1efd4fc651df4639607b65c3a5d73242a3 [false] [Pipeline] sh [2022-07-20T10:11:41.867Z] + git log --format=format:%s -1 771dfd1efd4fc651df4639607b65c3a5d73242a3 [Pipeline] echo [2022-07-20T10:11:41.885Z] ========================================================= [2022-07-20T10:11:41.885Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-20T10:11:41.885Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T10:11:42.227Z] + git log --format=format:%s -1 771dfd1efd4fc651df4639607b65c3a5d73242a3 [Pipeline] echo [2022-07-20T10:11:42.239Z] [semverPrep] GIT_COMMIT: 771dfd1efd4fc651df4639607b65c3a5d73242a3, Commit Message: Merge commit 'a761beb27065a69935e8288e1ea85e5d9ee20b97' into HEAD [Pipeline] echo [2022-07-20T10:11:42.247Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-20T10:11:42.601Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-20T10:11:42.601Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-20T10:11:42.601Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-20T10:11:42.601Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-20T10:11:42.601Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-20T10:11:42.601Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-20T10:11:42.601Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T10:11:42.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T10:11:42.958Z] [2022-07-20T10:11:42.958Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T10:11:43.266Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T10:11:43.267Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-20T10:11:43.267Z] b85a868b505f: Pulling fs layer [2022-07-20T10:11:43.267Z] e2be974225ed: Pulling fs layer [2022-07-20T10:11:43.267Z] 339a4e72a1f5: Pulling fs layer [2022-07-20T10:11:43.267Z] 988bab9f4d93: Pulling fs layer [2022-07-20T10:11:43.267Z] 1469e6f7b9e6: Pulling fs layer [2022-07-20T10:11:43.267Z] eaf3925da568: Pulling fs layer [2022-07-20T10:11:43.267Z] bab4dde63d76: Pulling fs layer [2022-07-20T10:11:43.267Z] bde34c3a00c8: Pulling fs layer [2022-07-20T10:11:43.267Z] b352a97aabf1: Pulling fs layer [2022-07-20T10:11:43.267Z] 4872d77fe225: Pulling fs layer [2022-07-20T10:11:43.267Z] 5851b861e8e6: Pulling fs layer [2022-07-20T10:11:43.267Z] 988bab9f4d93: Waiting [2022-07-20T10:11:43.267Z] 1469e6f7b9e6: Waiting [2022-07-20T10:11:43.267Z] bab4dde63d76: Waiting [2022-07-20T10:11:43.267Z] 4872d77fe225: Waiting [2022-07-20T10:11:43.267Z] bde34c3a00c8: Waiting [2022-07-20T10:11:43.267Z] 5851b861e8e6: Waiting [2022-07-20T10:11:43.267Z] eaf3925da568: Waiting [2022-07-20T10:11:43.267Z] b352a97aabf1: Waiting [2022-07-20T10:11:43.267Z] e2be974225ed: Verifying Checksum [2022-07-20T10:11:43.267Z] e2be974225ed: Download complete [2022-07-20T10:11:43.267Z] 988bab9f4d93: Download complete [2022-07-20T10:11:43.529Z] 1469e6f7b9e6: Verifying Checksum [2022-07-20T10:11:43.529Z] 1469e6f7b9e6: Download complete [2022-07-20T10:11:43.529Z] eaf3925da568: Download complete [2022-07-20T10:11:43.529Z] 339a4e72a1f5: Verifying Checksum [2022-07-20T10:11:43.529Z] 339a4e72a1f5: Download complete [2022-07-20T10:11:43.529Z] bde34c3a00c8: Verifying Checksum [2022-07-20T10:11:43.529Z] bde34c3a00c8: Download complete [2022-07-20T10:11:43.529Z] b352a97aabf1: Verifying Checksum [2022-07-20T10:11:43.529Z] b352a97aabf1: Download complete [2022-07-20T10:11:43.529Z] 4872d77fe225: Download complete [2022-07-20T10:11:43.529Z] 5851b861e8e6: Verifying Checksum [2022-07-20T10:11:43.529Z] 5851b861e8e6: Download complete [2022-07-20T10:11:43.529Z] b85a868b505f: Verifying Checksum [2022-07-20T10:11:43.529Z] b85a868b505f: Download complete [2022-07-20T10:11:43.789Z] bab4dde63d76: Verifying Checksum [2022-07-20T10:11:43.789Z] bab4dde63d76: Download complete [2022-07-20T10:11:45.179Z] b85a868b505f: Pull complete [2022-07-20T10:11:45.179Z] e2be974225ed: Pull complete [2022-07-20T10:11:45.766Z] 339a4e72a1f5: Pull complete [2022-07-20T10:11:45.766Z] 988bab9f4d93: Pull complete [2022-07-20T10:11:46.030Z] 1469e6f7b9e6: Pull complete [2022-07-20T10:11:46.030Z] eaf3925da568: Pull complete [2022-07-20T10:11:47.942Z] bab4dde63d76: Pull complete [2022-07-20T10:11:48.208Z] bde34c3a00c8: Pull complete [2022-07-20T10:11:48.208Z] b352a97aabf1: Pull complete [2022-07-20T10:11:48.208Z] 4872d77fe225: Pull complete [2022-07-20T10:11:48.468Z] 5851b861e8e6: Pull complete [2022-07-20T10:11:48.468Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-20T10:11:48.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T10:11:48.468Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T10:11:48.576Z] prd-ubuntu20.04-docker-8c-8g-20576 does not seem to be running inside a container [2022-07-20T10:11:48.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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-07-20T10:11:50.151Z] $ docker top 735cbc9b5989146f1ff06766dded6c390e6dc34ffa324093edcd6e9a3fb3e49b -eo pid,comm [2022-07-20T10:11:50.226Z] 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-07-20T10:11:50.226Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-20T10:11:50.268Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-20T10:11:50.268Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-20T10:11:50.411Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-20T10:11:50.408Z] $ docker exec 735cbc9b5989146f1ff06766dded6c390e6dc34ffa324093edcd6e9a3fb3e49b ssh-agent [2022-07-20T10:11:50.533Z] SSH_AUTH_SOCK=/tmp/ssh-42k0c8DZh0iy/agent.33 [2022-07-20T10:11:50.533Z] SSH_AGENT_PID=39 [2022-07-20T10:11:50.539Z] Running ssh-add (command line suppressed) [2022-07-20T10:11:50.665Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_6051446850726588356.key (/w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_6051446850726588356.key) [2022-07-20T10:11:50.687Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-20T10:11:50.979Z] + git tag --points-at HEAD [Pipeline] } [2022-07-20T10:11:50.992Z] $ docker exec --env ******** --env ******** 735cbc9b5989146f1ff06766dded6c390e6dc34ffa324093edcd6e9a3fb3e49b ssh-agent -k [2022-07-20T10:11:51.117Z] unset SSH_AUTH_SOCK; [2022-07-20T10:11:51.117Z] unset SSH_AGENT_PID; [2022-07-20T10:11:51.117Z] echo Agent pid 39 killed; [2022-07-20T10:11:51.136Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-20T10:11:51.162Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-20T10:11:51.162Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-20T10:11:51.283Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-20T10:11:51.281Z] $ docker exec 735cbc9b5989146f1ff06766dded6c390e6dc34ffa324093edcd6e9a3fb3e49b ssh-agent [2022-07-20T10:11:51.419Z] SSH_AUTH_SOCK=/tmp/ssh-XG6WI9tAVFDI/agent.73 [2022-07-20T10:11:51.419Z] SSH_AGENT_PID=79 [2022-07-20T10:11:51.424Z] Running ssh-add (command line suppressed) [2022-07-20T10:11:51.540Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_8515839389203298046.key (/w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_8515839389203298046.key) [2022-07-20T10:11:51.561Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-20T10:11:51.851Z] + git semver init [2022-07-20T10:11:52.111Z] 2022-07-20 10:11:52,039 [run_init] DEBUG init version:0.0.0 force:False [2022-07-20T10:11:52.111Z] 2022-07-20 10:11:52,040 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-100/.semver [2022-07-20T10:11:52.111Z] 2022-07-20 10:11:52,041 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-100/.semver [2022-07-20T10:11:52.111Z] 2022-07-20 10:11:52,041 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-100/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-100, universal_newlines=False, shell=None, istream=None) [2022-07-20T10:11:53.054Z] 2022-07-20 10:11:52,822 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-100/.git/info/exclude [2022-07-20T10:11:53.054Z] 2022-07-20 10:11:52,822 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 with force:False [2022-07-20T10:11:53.054Z] 2022-07-20 10:11:52,823 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 [2022-07-20T10:11:53.054Z] 2022-07-20 10:11:52,827 [execute] INFO git cat-file --batch-check [2022-07-20T10:11:53.054Z] 2022-07-20 10:11:52,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-07-20T10:11:53.054Z] 2022-07-20 10:11:52,835 [execute] INFO git cat-file --batch [2022-07-20T10:11:53.054Z] 2022-07-20 10:11:52,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-07-20T10:11:53.054Z] 2022-07-20 10:11:52,840 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 [2022-07-20T10:11:53.054Z] 0.0.0 [Pipeline] } [2022-07-20T10:11:53.061Z] $ docker exec --env ******** --env ******** 735cbc9b5989146f1ff06766dded6c390e6dc34ffa324093edcd6e9a3fb3e49b ssh-agent -k [2022-07-20T10:11:53.174Z] unset SSH_AUTH_SOCK; [2022-07-20T10:11:53.174Z] unset SSH_AGENT_PID; [2022-07-20T10:11:53.175Z] echo Agent pid 79 killed; [2022-07-20T10:11:53.195Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-20T10:11:53.507Z] + git semver [Pipeline] } [2022-07-20T10:11:53.779Z] $ docker stop --time=1 735cbc9b5989146f1ff06766dded6c390e6dc34ffa324093edcd6e9a3fb3e49b [2022-07-20T10:11:55.106Z] $ docker rm -f 735cbc9b5989146f1ff06766dded6c390e6dc34ffa324093edcd6e9a3fb3e49b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T10:11:55.463Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-20T10:11:55.726Z] Stashed 1 file(s) [Pipeline] echo [2022-07-20T10:11:55.730Z] [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-07-20T10:11:55.900Z] provisioning config files... [2022-07-20T10:11:55.909Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config5432082115102143067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T10:11:56.215Z] ---> docker-login.sh [2022-07-20T10:11:56.215Z] nexus3.edgexfoundry.org:10001 [2022-07-20T10:11:56.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:11:56.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:11:56.215Z] Configure a credential helper to remove this warning. See [2022-07-20T10:11:56.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:11:56.215Z] [2022-07-20T10:11:56.215Z] Login Succeeded [2022-07-20T10:11:56.215Z] nexus3.edgexfoundry.org:10002 [2022-07-20T10:11:56.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:11:56.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:11:56.477Z] Configure a credential helper to remove this warning. See [2022-07-20T10:11:56.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:11:56.477Z] [2022-07-20T10:11:56.477Z] Login Succeeded [2022-07-20T10:11:56.477Z] nexus3.edgexfoundry.org:10003 [2022-07-20T10:11:56.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:11:56.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:11:56.477Z] Configure a credential helper to remove this warning. See [2022-07-20T10:11:56.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:11:56.477Z] [2022-07-20T10:11:56.477Z] Login Succeeded [2022-07-20T10:11:56.477Z] nexus3.edgexfoundry.org:10004 [2022-07-20T10:11:56.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:11:56.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:11:56.737Z] Configure a credential helper to remove this warning. See [2022-07-20T10:11:56.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:11:56.737Z] [2022-07-20T10:11:56.737Z] Login Succeeded [2022-07-20T10:11:56.737Z] docker.io [2022-07-20T10:11:56.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:11:56.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:11:56.997Z] Configure a credential helper to remove this warning. See [2022-07-20T10:11:56.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:11:56.997Z] [2022-07-20T10:11:56.997Z] Login Succeeded [2022-07-20T10:11:56.997Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T10:11:57.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-20T10:11:57.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T10:11:57.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T10:11:57.094Z] ========================================================= [2022-07-20T10:11:57.094Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-20T10:11:57.094Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T10:11:57.410Z] + 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-07-20T10:11:57.410Z] Sending build context to Docker daemon 18.95MB [2022-07-20T10:11:57.410Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-20T10:11:57.410Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-20T10:11:57.671Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-20T10:11:57.671Z] 2408cc74d12b: Pulling fs layer [2022-07-20T10:11:57.671Z] ea60b727a1ce: Pulling fs layer [2022-07-20T10:11:57.671Z] 30c4a7721957: Pulling fs layer [2022-07-20T10:11:57.671Z] 370296b7ddb6: Pulling fs layer [2022-07-20T10:11:57.671Z] 7c6cee850709: Pulling fs layer [2022-07-20T10:11:57.671Z] 39a5fcdaea64: Pulling fs layer [2022-07-20T10:11:57.671Z] d94ebbe4e438: Pulling fs layer [2022-07-20T10:11:57.671Z] bcfd1f05c69d: Pulling fs layer [2022-07-20T10:11:57.671Z] 59ccb84bbe0f: Pulling fs layer [2022-07-20T10:11:57.671Z] 370296b7ddb6: Waiting [2022-07-20T10:11:57.671Z] 7c6cee850709: Waiting [2022-07-20T10:11:57.671Z] 39a5fcdaea64: Waiting [2022-07-20T10:11:57.671Z] d94ebbe4e438: Waiting [2022-07-20T10:11:57.671Z] bcfd1f05c69d: Waiting [2022-07-20T10:11:57.671Z] 59ccb84bbe0f: Waiting [2022-07-20T10:11:57.671Z] 30c4a7721957: Verifying Checksum [2022-07-20T10:11:57.671Z] 30c4a7721957: Download complete [2022-07-20T10:11:57.671Z] ea60b727a1ce: Download complete [2022-07-20T10:11:57.671Z] 7c6cee850709: Verifying Checksum [2022-07-20T10:11:57.671Z] 7c6cee850709: Download complete [2022-07-20T10:11:57.671Z] 39a5fcdaea64: Verifying Checksum [2022-07-20T10:11:57.671Z] 39a5fcdaea64: Download complete [2022-07-20T10:11:57.671Z] 2408cc74d12b: Verifying Checksum [2022-07-20T10:11:57.671Z] 2408cc74d12b: Download complete [2022-07-20T10:11:57.671Z] d94ebbe4e438: Verifying Checksum [2022-07-20T10:11:57.671Z] d94ebbe4e438: Download complete [2022-07-20T10:11:57.932Z] 2408cc74d12b: Pull complete [2022-07-20T10:11:57.932Z] ea60b727a1ce: Pull complete [2022-07-20T10:11:57.932Z] 30c4a7721957: Pull complete [2022-07-20T10:11:58.193Z] 59ccb84bbe0f: Verifying Checksum [2022-07-20T10:11:58.193Z] 59ccb84bbe0f: Download complete [2022-07-20T10:11:58.453Z] bcfd1f05c69d: Download complete [2022-07-20T10:11:58.713Z] 370296b7ddb6: Verifying Checksum [2022-07-20T10:11:58.713Z] 370296b7ddb6: Download complete [2022-07-20T10:12:02.905Z] 370296b7ddb6: Pull complete [2022-07-20T10:12:02.905Z] 7c6cee850709: Pull complete [2022-07-20T10:12:02.905Z] 39a5fcdaea64: Pull complete [2022-07-20T10:12:02.905Z] d94ebbe4e438: Pull complete [2022-07-20T10:12:04.810Z] bcfd1f05c69d: Pull complete [2022-07-20T10:12:05.379Z] 59ccb84bbe0f: Pull complete [2022-07-20T10:12:05.379Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-20T10:12:05.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-20T10:12:05.379Z] ---> a4fb48ad2a94 [2022-07-20T10:12:05.379Z] Step 3/13 : ARG MAKE="make build" [2022-07-20T10:12:07.926Z] ---> Running in ad1fafd005d0 [2022-07-20T10:12:07.926Z] Removing intermediate container ad1fafd005d0 [2022-07-20T10:12:07.926Z] ---> 78138f15cca1 [2022-07-20T10:12:07.926Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T10:12:07.926Z] ---> Running in 0257f3a2c991 [2022-07-20T10:12:07.926Z] Removing intermediate container 0257f3a2c991 [2022-07-20T10:12:07.926Z] ---> bd88f53dd3aa [2022-07-20T10:12:07.926Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T10:12:07.926Z] ---> Running in 21efebe0a703 [2022-07-20T10:12:07.926Z] Removing intermediate container 21efebe0a703 [2022-07-20T10:12:07.926Z] ---> de3c0e855228 [2022-07-20T10:12:07.926Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-20T10:12:07.926Z] ---> Running in 99f8eb0607cc [2022-07-20T10:12:07.926Z] Removing intermediate container 99f8eb0607cc [2022-07-20T10:12:07.926Z] ---> 9916a871013e [2022-07-20T10:12:07.926Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T10:12:07.926Z] ---> Running in ebfc83af964f [2022-07-20T10:12:08.511Z] Removing intermediate container ebfc83af964f [2022-07-20T10:12:08.511Z] ---> 9b6f18cc848f [2022-07-20T10:12:08.511Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T10:12:08.773Z] ---> Running in c9129c243633 [2022-07-20T10:12:09.034Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T10:12:09.976Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T10:12:10.239Z] OK: 211 MiB in 51 packages [2022-07-20T10:12:10.501Z] Removing intermediate container c9129c243633 [2022-07-20T10:12:10.501Z] ---> ec294bcd166e [2022-07-20T10:12:10.501Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-20T10:12:10.501Z] ---> Running in dc76947968a8 [2022-07-20T10:12:10.761Z] Removing intermediate container dc76947968a8 [2022-07-20T10:12:10.761Z] ---> 3423274e91db [2022-07-20T10:12:10.761Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-20T10:12:10.761Z] ---> 4eb1034399c9 [2022-07-20T10:12:10.761Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T10:12:10.761Z] ---> Running in d081c068a85d [2022-07-20T10:12:10.850Z] Still waiting to schedule task [2022-07-20T10:12:10.850Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-20573’ is offline [2022-07-20T10:12:25.698Z] Removing intermediate container d081c068a85d [2022-07-20T10:12:25.698Z] ---> 962b1932f06d [2022-07-20T10:12:25.698Z] Step 12/13 : COPY . . [2022-07-20T10:12:25.698Z] ---> 77cffc2d4766 [2022-07-20T10:12:25.698Z] Step 13/13 : RUN ${MAKE} [2022-07-20T10:12:25.698Z] ---> Running in 07ce68a5a60b [2022-07-20T10:12:25.698Z] noop [2022-07-20T10:12:25.698Z] Removing intermediate container 07ce68a5a60b [2022-07-20T10:12:25.698Z] ---> 958ca2aa9bd0 [2022-07-20T10:12:25.698Z] Successfully built 958ca2aa9bd0 [2022-07-20T10:12:25.698Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T10:12:26.032Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-20T10:12:26.033Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T10:12:26.123Z] prd-ubuntu20.04-docker-8c-8g-20576 does not seem to be running inside a container [2022-07-20T10:12:26.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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-07-20T10:12:26.569Z] $ docker top 627fca38dfa8a9bb22708c0ca0e6dcc6023d8661fc11a31154eb8379c2c1de05 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T10:12:26.937Z] + go version [2022-07-20T10:12:26.937Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-20T10:12:26.950Z] $ docker stop --time=1 627fca38dfa8a9bb22708c0ca0e6dcc6023d8661fc11a31154eb8379c2c1de05 [2022-07-20T10:12:28.272Z] $ docker rm -f 627fca38dfa8a9bb22708c0ca0e6dcc6023d8661fc11a31154eb8379c2c1de05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T10:12:28.706Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-20T10:12:28.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T10:12:28.802Z] prd-ubuntu20.04-docker-8c-8g-20576 does not seem to be running inside a container [2022-07-20T10:12:28.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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-07-20T10:12:29.248Z] $ docker top a4e162bc6406017686575369b4a9c57cce83cf23da80e07efdfcc089a91e17d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T10:12:29.619Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-100 [Pipeline] fileExists [Pipeline] sh [2022-07-20T10:12:29.918Z] + make test [2022-07-20T10:12:29.918Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-20T10:12:30.177Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-20T10:12:40.166Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-20T10:12:40.737Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.019s coverage: 7.0% of statements [2022-07-20T10:12:40.737Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-20T10:12:44.033Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.023s coverage: 13.8% of statements [2022-07-20T10:12:50.601Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-20T10:12:53.890Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-20T10:12:53.890Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-20T10:12:53.890Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-20T10:12:54.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-20T10:12:54.184Z] $ docker stop --time=1 a4e162bc6406017686575369b4a9c57cce83cf23da80e07efdfcc089a91e17d5 [2022-07-20T10:12:56.123Z] $ docker rm -f a4e162bc6406017686575369b4a9c57cce83cf23da80e07efdfcc089a91e17d5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T10:12:56.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-20T10:12:56.659Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-20T10:12:57.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-20T10:12:57.374Z] + ls -al . [2022-07-20T10:12:57.374Z] total 228 [2022-07-20T10:12:57.375Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 10:12 . [2022-07-20T10:12:57.375Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:11 .. [2022-07-20T10:12:57.375Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 10:12 .git [2022-07-20T10:12:57.375Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:11 .github [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 20 10:11 .gitignore [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 20 10:11 .golangci.yml [2022-07-20T10:12:57.375Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 10:11 .semver [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 20 10:11 Attribution.txt [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 20 10:11 CHANGELOG.md [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 20 10:11 Dockerfile [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 10:11 GOVERNANCE.md [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 20 10:11 Jenkinsfile [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 10:11 LICENSE [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 20 10:11 Makefile [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 20 10:11 OWNERS.md [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 20 10:11 README.md [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 10:11 VERSION [2022-07-20T10:12:57.375Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 10:11 bin [2022-07-20T10:12:57.375Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:11 cmd [2022-07-20T10:12:57.375Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 20 10:12 coverage.out [2022-07-20T10:12:57.375Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 20 10:11 doc [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 20 10:11 go.mod [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 20 10:11 go.sum [2022-07-20T10:12:57.375Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:11 internal [2022-07-20T10:12:57.375Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:11 snap [2022-07-20T10:12:57.375Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 20 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T10:12:57.705Z] + 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=771dfd1efd4fc651df4639607b65c3a5d73242a3 --label arch=amd64 --label version=0.0.0 . [2022-07-20T10:12:57.705Z] Sending build context to Docker daemon 19.02MB [2022-07-20T10:12:57.705Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-20T10:12:57.705Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-20T10:12:57.705Z] ---> 958ca2aa9bd0 [2022-07-20T10:12:57.705Z] Step 3/26 : ARG MAKE="make build" [2022-07-20T10:12:57.967Z] ---> Running in 8b41dfa2efd2 [2022-07-20T10:12:57.967Z] Removing intermediate container 8b41dfa2efd2 [2022-07-20T10:12:57.967Z] ---> 39b027c66b27 [2022-07-20T10:12:57.967Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T10:12:57.967Z] ---> Running in 18c3850aa642 [2022-07-20T10:12:58.228Z] Removing intermediate container 18c3850aa642 [2022-07-20T10:12:58.228Z] ---> 0cfb1fd6b94e [2022-07-20T10:12:58.228Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T10:12:58.228Z] ---> Running in 8c7b8acf6fa5 [2022-07-20T10:12:58.228Z] Removing intermediate container 8c7b8acf6fa5 [2022-07-20T10:12:58.228Z] ---> 22f7fdf24080 [2022-07-20T10:12:58.228Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-20T10:12:58.228Z] ---> Running in f74e878abbcd [2022-07-20T10:12:58.489Z] Removing intermediate container f74e878abbcd [2022-07-20T10:12:58.489Z] ---> d5c9d68fd07a [2022-07-20T10:12:58.489Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T10:12:58.489Z] ---> Running in 7c053fcefe80 [2022-07-20T10:12:59.061Z] Removing intermediate container 7c053fcefe80 [2022-07-20T10:12:59.061Z] ---> a09b641512d1 [2022-07-20T10:12:59.061Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T10:12:59.061Z] ---> Running in 3e6d933ecf72 [2022-07-20T10:12:59.322Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T10:13:00.266Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T10:13:00.527Z] OK: 211 MiB in 51 packages [2022-07-20T10:13:01.100Z] Removing intermediate container 3e6d933ecf72 [2022-07-20T10:13:01.100Z] ---> 2dfbaccfcc7a [2022-07-20T10:13:01.100Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-20T10:13:01.100Z] ---> Running in f450e6cf0d3b [2022-07-20T10:13:01.100Z] Removing intermediate container f450e6cf0d3b [2022-07-20T10:13:01.100Z] ---> 7bc7b3e7927a [2022-07-20T10:13:01.100Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-20T10:13:01.361Z] ---> d6d2e381413b [2022-07-20T10:13:01.361Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T10:13:01.361Z] ---> Running in e644c975a331 [2022-07-20T10:13:01.932Z] Removing intermediate container e644c975a331 [2022-07-20T10:13:01.932Z] ---> b16b48b1e12b [2022-07-20T10:13:01.932Z] Step 12/26 : COPY . . [2022-07-20T10:13:02.505Z] ---> 37d2dc7e8ec6 [2022-07-20T10:13:02.505Z] Step 13/26 : RUN ${MAKE} [2022-07-20T10:13:02.505Z] ---> Running in 68214c3d4a63 [2022-07-20T10:13:02.767Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-20T10:13:24.715Z] Removing intermediate container 68214c3d4a63 [2022-07-20T10:13:24.715Z] ---> 232c5f047215 [2022-07-20T10:13:24.715Z] Step 14/26 : FROM alpine:3.15 [2022-07-20T10:13:24.715Z] 3.15: Pulling from library/alpine [2022-07-20T10:13:24.715Z] ab6db1bc80d0: Pulling fs layer [2022-07-20T10:13:24.715Z] ab6db1bc80d0: Verifying Checksum [2022-07-20T10:13:24.715Z] ab6db1bc80d0: Download complete [2022-07-20T10:13:24.715Z] ab6db1bc80d0: Pull complete [2022-07-20T10:13:24.715Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-20T10:13:24.715Z] Status: Downloaded newer image for alpine:3.15 [2022-07-20T10:13:24.715Z] ---> 2720e26172a0 [2022-07-20T10:13:24.715Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-20T10:13:24.715Z] ---> Running in d82d48068713 [2022-07-20T10:13:24.715Z] Removing intermediate container d82d48068713 [2022-07-20T10:13:24.715Z] ---> db508fc0bceb [2022-07-20T10:13:24.715Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-20T10:13:24.715Z] ---> Running in 97eaa8df25a2 [2022-07-20T10:13:24.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-20T10:13:24.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-20T10:13:24.715Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-20T10:13:24.715Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-20T10:13:24.715Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-20T10:13:24.715Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-20T10:13:24.715Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-20T10:13:24.715Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-20T10:13:24.715Z] Executing busybox-1.34.1-r7.trigger [2022-07-20T10:13:24.715Z] OK: 8 MiB in 20 packages [2022-07-20T10:13:24.715Z] Removing intermediate container 97eaa8df25a2 [2022-07-20T10:13:24.715Z] ---> e09905e46229 [2022-07-20T10:13:24.715Z] Step 17/26 : WORKDIR / [2022-07-20T10:13:24.715Z] ---> Running in 28bb4712fb21 [2022-07-20T10:13:24.715Z] Removing intermediate container 28bb4712fb21 [2022-07-20T10:13:24.715Z] ---> 40cc6f8fe1e5 [2022-07-20T10:13:24.715Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-20T10:13:24.715Z] ---> 1edb7dda2c3e [2022-07-20T10:13:24.715Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-20T10:13:24.975Z] ---> 060073cff7f9 [2022-07-20T10:13:24.975Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-20T10:13:24.975Z] ---> 50238ddde9dd [2022-07-20T10:13:24.975Z] Step 21/26 : EXPOSE 59984 [2022-07-20T10:13:25.236Z] ---> Running in ffdd5791eed8 [2022-07-20T10:13:25.236Z] Removing intermediate container ffdd5791eed8 [2022-07-20T10:13:25.236Z] ---> d7b7feb094fd [2022-07-20T10:13:25.236Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-20T10:13:25.236Z] ---> Running in a320d109cf24 [2022-07-20T10:13:25.236Z] Removing intermediate container a320d109cf24 [2022-07-20T10:13:25.236Z] ---> 3e8509336ee2 [2022-07-20T10:13:25.236Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-20T10:13:25.496Z] ---> Running in 4ba4fd4603d0 [2022-07-20T10:13:25.496Z] Removing intermediate container 4ba4fd4603d0 [2022-07-20T10:13:25.496Z] ---> d78708024c8f [2022-07-20T10:13:25.496Z] Step 24/26 : LABEL arch=amd64 [2022-07-20T10:13:25.496Z] ---> Running in 1ab7c4454151 [2022-07-20T10:13:25.756Z] Removing intermediate container 1ab7c4454151 [2022-07-20T10:13:25.756Z] ---> abc5f7a08288 [2022-07-20T10:13:25.756Z] Step 25/26 : LABEL git_sha=771dfd1efd4fc651df4639607b65c3a5d73242a3 [2022-07-20T10:13:25.756Z] ---> Running in c59b1a4dc803 [2022-07-20T10:13:25.756Z] Removing intermediate container c59b1a4dc803 [2022-07-20T10:13:25.756Z] ---> dfb559f9bb24 [2022-07-20T10:13:25.756Z] Step 26/26 : LABEL version=0.0.0 [2022-07-20T10:13:25.756Z] ---> Running in 161b2b3d8556 [2022-07-20T10:13:25.756Z] Removing intermediate container 161b2b3d8556 [2022-07-20T10:13:25.756Z] ---> 134000a0880f [2022-07-20T10:13:25.756Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-20T10:13:26.017Z] Successfully built 134000a0880f [2022-07-20T10:13:26.017Z] 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-07-20T10:13:26.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T10:13:26.458Z] [2022-07-20T10:13:26.458Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T10:13:26.759Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T10:13:26.759Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-20T10:13:26.759Z] 5eb5b503b376: Pulling fs layer [2022-07-20T10:13:26.759Z] 5c69ac0246d0: Pulling fs layer [2022-07-20T10:13:26.759Z] ec43610c2a17: Pulling fs layer [2022-07-20T10:13:26.759Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-20T10:13:26.759Z] 33b1e0a273af: Pulling fs layer [2022-07-20T10:13:26.759Z] 5d3b04190fa2: Pulling fs layer [2022-07-20T10:13:26.759Z] 2f39f015ded8: Pulling fs layer [2022-07-20T10:13:26.759Z] 3a2ae6a8a46f: Waiting [2022-07-20T10:13:26.759Z] 33b1e0a273af: Waiting [2022-07-20T10:13:26.759Z] 2f39f015ded8: Waiting [2022-07-20T10:13:26.759Z] 5d3b04190fa2: Waiting [2022-07-20T10:13:26.759Z] 5c69ac0246d0: Verifying Checksum [2022-07-20T10:13:26.759Z] 5c69ac0246d0: Download complete [2022-07-20T10:13:26.759Z] 3a2ae6a8a46f: Download complete [2022-07-20T10:13:26.759Z] 33b1e0a273af: Verifying Checksum [2022-07-20T10:13:26.759Z] 33b1e0a273af: Download complete [2022-07-20T10:13:26.759Z] ec43610c2a17: Verifying Checksum [2022-07-20T10:13:26.759Z] ec43610c2a17: Download complete [2022-07-20T10:13:26.759Z] 5d3b04190fa2: Verifying Checksum [2022-07-20T10:13:26.759Z] 5d3b04190fa2: Download complete [2022-07-20T10:13:27.018Z] 5eb5b503b376: Verifying Checksum [2022-07-20T10:13:27.018Z] 5eb5b503b376: Download complete [2022-07-20T10:13:27.583Z] 2f39f015ded8: Download complete [2022-07-20T10:13:28.152Z] 5eb5b503b376: Pull complete [2022-07-20T10:13:28.152Z] 5c69ac0246d0: Pull complete [2022-07-20T10:13:28.720Z] ec43610c2a17: Pull complete [2022-07-20T10:13:28.720Z] 3a2ae6a8a46f: Pull complete [2022-07-20T10:13:28.980Z] 33b1e0a273af: Pull complete [2022-07-20T10:13:28.980Z] 5d3b04190fa2: Pull complete [2022-07-20T10:13:33.174Z] 2f39f015ded8: Pull complete [2022-07-20T10:13:33.174Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-20T10:13:33.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T10:13:33.174Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T10:13:33.267Z] prd-ubuntu20.04-docker-8c-8g-20576 does not seem to be running inside a container [2022-07-20T10:13:33.299Z] $ 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-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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-07-20T10:13:35.066Z] $ docker top 23f3d7def863d8578de9a96d7ddcaabe0908c73eb4f96db3e0f8ccbf1f396f92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T10:13:35.461Z] ---> job-cost.sh [2022-07-20T10:13:35.461Z] lf-activate-venv: SKIPPING [2022-07-20T10:13:35.461Z] INFO: No Stack... [2022-07-20T10:13:35.722Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-20T10:13:36.294Z] INFO: Archiving Costs [Pipeline] sh [2022-07-20T10:13:36.589Z] + cat /w/workspace/undry_device-onvif-camera_PR-100/archives/cost.csv [2022-07-20T10:13:36.589Z] + cut -d, -f6 [Pipeline] lock [2022-07-20T10:13:36.604Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-100-8-stack-cost] [2022-07-20T10:13:36.610Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-8-stack-cost] did not exist. Created. [2022-07-20T10:13:36.610Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-100-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-20T10:13:36.914Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-20T10:13:36.938Z] Stashed 1 file(s) [Pipeline] } [2022-07-20T10:13:36.945Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-20T10:13:36.967Z] $ docker stop --time=1 23f3d7def863d8578de9a96d7ddcaabe0908c73eb4f96db3e0f8ccbf1f396f92 [2022-07-20T10:13:38.134Z] $ docker rm -f 23f3d7def863d8578de9a96d7ddcaabe0908c73eb4f96db3e0f8ccbf1f396f92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-20T10:14:44.673Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20578 in /w/workspace/undry_device-onvif-camera_PR-100 [Pipeline] { [Pipeline] ws [2022-07-20T10:14:44.685Z] Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout [2022-07-20T10:14:44.708Z] Selected Git installation does not exist. Using Default [2022-07-20T10:14:44.708Z] The recommended git tool is: NONE [2022-07-20T10:14:50.954Z] using credential edgex-jenkins-ssh [2022-07-20T10:14:50.972Z] Cloning the remote Git repository [2022-07-20T10:14:51.034Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-20T10:14:51.112Z] > git init /w/workspace/device-onvif-camera/8 # timeout=10 [2022-07-20T10:14:51.186Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-20T10:14:51.187Z] > git --version # timeout=10 [2022-07-20T10:14:51.204Z] > git --version # 'git version 2.25.1' [2022-07-20T10:14:51.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T10:14:51.360Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-20T10:14:52.506Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-20T10:14:52.533Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-20T10:14:53.069Z] Merging remotes/origin/main commit a761beb27065a69935e8288e1ea85e5d9ee20b97 into PR head commit c3ec509adb15beeff9c635c67ee84ed92878cfab [2022-07-20T10:14:53.613Z] Merge succeeded, producing 9b4310a5cdbce9b31e77eeaf2db5031ee7ea1248 [2022-07-20T10:14:53.614Z] Checking out Revision 9b4310a5cdbce9b31e77eeaf2db5031ee7ea1248 (PR-100) [2022-07-20T10:14:52.562Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-20T10:14:52.601Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-20T10:14:52.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T10:14:52.617Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-20T10:14:53.092Z] > git config core.sparsecheckout # timeout=10 [2022-07-20T10:14:53.107Z] > git checkout -f c3ec509adb15beeff9c635c67ee84ed92878cfab # timeout=10 [2022-07-20T10:14:53.255Z] > git remote # timeout=10 [2022-07-20T10:14:53.273Z] > git config --get remote.origin.url # timeout=10 [2022-07-20T10:14:53.285Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T10:14:53.297Z] > git merge a761beb27065a69935e8288e1ea85e5d9ee20b97 # timeout=10 [2022-07-20T10:14:53.597Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-20T10:14:53.624Z] > git config core.sparsecheckout # timeout=10 [2022-07-20T10:14:53.639Z] > git checkout -f 9b4310a5cdbce9b31e77eeaf2db5031ee7ea1248 # timeout=10 [2022-07-20T10:14:58.010Z] Commit message: "Merge commit 'a761beb27065a69935e8288e1ea85e5d9ee20b97' into HEAD" [2022-07-20T10:14:58.036Z] First time build. Skipping changelog. [2022-07-20T10:14:58.022Z] > git rev-list --no-walk 2d40cce2f3119d08e63d15256cb76cb7145ecc6f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T10:14:58.900Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-20T10:14:58.901Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-20T10:14:58.901Z] Dload Upload Total Spent Left Speed [2022-07-20T10:14:58.901Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 240k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh [2022-07-20T10:14:59.637Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-20T10:14:59.993Z] + sudo tee /etc/docker/daemon.new [2022-07-20T10:14:59.993Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-20T10:14:59.993Z] { [2022-07-20T10:14:59.993Z] "registry-mirrors": [ [2022-07-20T10:14:59.993Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-20T10:14:59.993Z] ], [2022-07-20T10:14:59.993Z] "bip": "10.250.0.254/24", [2022-07-20T10:14:59.993Z] "hosts": [ [2022-07-20T10:14:59.993Z] "tcp://0.0.0.0:5555", [2022-07-20T10:14:59.993Z] "unix:///var/run/docker.sock" [2022-07-20T10:14:59.993Z] ], [2022-07-20T10:14:59.993Z] "mtu": 1458, [2022-07-20T10:14:59.993Z] "selinux-enabled": true, [2022-07-20T10:14:59.993Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-20T10:14:59.993Z] } [Pipeline] sh [2022-07-20T10:15:00.354Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-20T10:15:00.697Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T10:15:19.052Z] provisioning config files... [2022-07-20T10:15:19.078Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config6822749210283896499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T10:15:19.436Z] ---> docker-login.sh [2022-07-20T10:15:19.436Z] nexus3.edgexfoundry.org:10001 [2022-07-20T10:15:20.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:15:20.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:15:20.309Z] Configure a credential helper to remove this warning. See [2022-07-20T10:15:20.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:15:20.309Z] [2022-07-20T10:15:20.309Z] Login Succeeded [2022-07-20T10:15:20.309Z] nexus3.edgexfoundry.org:10002 [2022-07-20T10:15:20.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:15:20.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:15:20.581Z] Configure a credential helper to remove this warning. See [2022-07-20T10:15:20.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:15:20.581Z] [2022-07-20T10:15:20.581Z] Login Succeeded [2022-07-20T10:15:20.581Z] nexus3.edgexfoundry.org:10003 [2022-07-20T10:15:21.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:15:21.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:15:21.175Z] Configure a credential helper to remove this warning. See [2022-07-20T10:15:21.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:15:21.175Z] [2022-07-20T10:15:21.175Z] Login Succeeded [2022-07-20T10:15:21.175Z] nexus3.edgexfoundry.org:10004 [2022-07-20T10:15:21.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:15:21.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:15:21.452Z] Configure a credential helper to remove this warning. See [2022-07-20T10:15:21.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:15:21.452Z] [2022-07-20T10:15:21.452Z] Login Succeeded [2022-07-20T10:15:21.726Z] docker.io [2022-07-20T10:15:21.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T10:15:22.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T10:15:22.271Z] Configure a credential helper to remove this warning. See [2022-07-20T10:15:22.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T10:15:22.271Z] [2022-07-20T10:15:22.271Z] Login Succeeded [2022-07-20T10:15:22.271Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T10:15:22.288Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-20T10:15:22.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T10:15:22.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T10:15:22.778Z] ========================================================= [2022-07-20T10:15:22.778Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-20T10:15:22.778Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T10:15:23.137Z] + 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-07-20T10:15:23.735Z] Sending build context to Docker daemon 12.92MB [2022-07-20T10:15:23.735Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-20T10:15:23.735Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-20T10:15:23.735Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-20T10:15:23.735Z] b3c136eddcbf: Pulling fs layer [2022-07-20T10:15:23.735Z] c0a3192eca97: Pulling fs layer [2022-07-20T10:15:23.735Z] a050256f5b6f: Pulling fs layer [2022-07-20T10:15:23.735Z] 656be50a0ddc: Pulling fs layer [2022-07-20T10:15:23.735Z] 2bbca73fdf42: Pulling fs layer [2022-07-20T10:15:23.735Z] 46d945488cbd: Pulling fs layer [2022-07-20T10:15:23.735Z] 8a5474983e97: Pulling fs layer [2022-07-20T10:15:23.735Z] 329c88fbcd65: Pulling fs layer [2022-07-20T10:15:23.735Z] 2bbca73fdf42: Waiting [2022-07-20T10:15:23.735Z] 46d945488cbd: Waiting [2022-07-20T10:15:23.735Z] 8a5474983e97: Waiting [2022-07-20T10:15:23.735Z] 329c88fbcd65: Waiting [2022-07-20T10:15:23.735Z] 656be50a0ddc: Waiting [2022-07-20T10:15:23.735Z] a050256f5b6f: Download complete [2022-07-20T10:15:23.735Z] c0a3192eca97: Verifying Checksum [2022-07-20T10:15:23.735Z] c0a3192eca97: Download complete [2022-07-20T10:15:23.735Z] 2bbca73fdf42: Verifying Checksum [2022-07-20T10:15:23.735Z] 2bbca73fdf42: Download complete [2022-07-20T10:15:24.017Z] 46d945488cbd: Verifying Checksum [2022-07-20T10:15:24.017Z] 46d945488cbd: Download complete [2022-07-20T10:15:24.017Z] b3c136eddcbf: Download complete [2022-07-20T10:15:24.629Z] b3c136eddcbf: Pull complete [2022-07-20T10:15:24.906Z] 329c88fbcd65: Verifying Checksum [2022-07-20T10:15:24.906Z] 329c88fbcd65: Download complete [2022-07-20T10:15:25.507Z] c0a3192eca97: Pull complete [2022-07-20T10:15:25.508Z] a050256f5b6f: Pull complete [2022-07-20T10:15:26.107Z] 8a5474983e97: Verifying Checksum [2022-07-20T10:15:26.107Z] 8a5474983e97: Download complete [2022-07-20T10:15:27.088Z] 656be50a0ddc: Verifying Checksum [2022-07-20T10:15:27.088Z] 656be50a0ddc: Download complete [2022-07-20T10:15:42.201Z] 656be50a0ddc: Pull complete [2022-07-20T10:15:42.201Z] 2bbca73fdf42: Pull complete [2022-07-20T10:15:42.201Z] 46d945488cbd: Pull complete [2022-07-20T10:15:47.620Z] 8a5474983e97: Pull complete [2022-07-20T10:15:49.613Z] 329c88fbcd65: Pull complete [2022-07-20T10:15:49.613Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-20T10:15:49.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-20T10:15:49.613Z] ---> ff4287adb874 [2022-07-20T10:15:49.613Z] Step 3/13 : ARG MAKE="make build" [2022-07-20T10:15:51.633Z] ---> Running in 14b9a36ab6d3 [2022-07-20T10:15:51.908Z] Removing intermediate container 14b9a36ab6d3 [2022-07-20T10:15:51.908Z] ---> 0de251264f49 [2022-07-20T10:15:51.908Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T10:15:51.908Z] ---> Running in 17c41cb8a5b6 [2022-07-20T10:15:52.511Z] Removing intermediate container 17c41cb8a5b6 [2022-07-20T10:15:52.511Z] ---> 570e76aadde6 [2022-07-20T10:15:52.511Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T10:15:52.511Z] ---> Running in ec25e852db4a [2022-07-20T10:15:52.786Z] Removing intermediate container ec25e852db4a [2022-07-20T10:15:52.786Z] ---> f97b4eacecb9 [2022-07-20T10:15:52.786Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-20T10:15:52.786Z] ---> Running in b5cb87c3b70d [2022-07-20T10:15:53.063Z] Removing intermediate container b5cb87c3b70d [2022-07-20T10:15:53.063Z] ---> c297704e7d29 [2022-07-20T10:15:53.063Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T10:15:53.063Z] ---> Running in 02350bd1fbfd [2022-07-20T10:15:55.069Z] Removing intermediate container 02350bd1fbfd [2022-07-20T10:15:55.069Z] ---> b8d4bc56676f [2022-07-20T10:15:55.069Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T10:15:55.069Z] ---> Running in 08b9288cc01d [2022-07-20T10:15:56.058Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T10:15:57.042Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T10:15:58.033Z] OK: 221 MiB in 51 packages [2022-07-20T10:15:58.643Z] Removing intermediate container 08b9288cc01d [2022-07-20T10:15:58.643Z] ---> 78a89f475adc [2022-07-20T10:15:58.643Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-20T10:15:58.643Z] ---> Running in 3014e61b634d [2022-07-20T10:15:58.922Z] Removing intermediate container 3014e61b634d [2022-07-20T10:15:58.922Z] ---> b54880be71a9 [2022-07-20T10:15:58.922Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-20T10:15:59.536Z] ---> fcac2c3288a1 [2022-07-20T10:15:59.536Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T10:15:59.536Z] ---> Running in 1398754efe94 [2022-07-20T10:16:46.543Z] Removing intermediate container 1398754efe94 [2022-07-20T10:16:46.543Z] ---> eb4fe340ea17 [2022-07-20T10:16:46.543Z] Step 12/13 : COPY . . [2022-07-20T10:16:46.543Z] ---> 92aeec759bc1 [2022-07-20T10:16:46.543Z] Step 13/13 : RUN ${MAKE} [2022-07-20T10:16:46.543Z] ---> Running in cd330d53a94e [2022-07-20T10:16:47.142Z] noop [2022-07-20T10:16:47.742Z] Removing intermediate container cd330d53a94e [2022-07-20T10:16:47.742Z] ---> 03ad425022e4 [2022-07-20T10:16:47.742Z] Successfully built 03ad425022e4 [2022-07-20T10:16:47.742Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T10:16:48.115Z] + docker inspect -f . ci-base-image-arm64 [2022-07-20T10:16:48.115Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T10:16:48.376Z] prd-ubuntu20.04-docker-arm64-4c-16g-20578 does not seem to be running inside a container [2022-07-20T10:16:48.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-20T10:16:49.858Z] $ docker top 07f864a9391ef3471d276f71335a8425124fd7d807e50f96f839680f09b753ba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T10:16:50.806Z] + go version [2022-07-20T10:16:50.806Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-20T10:16:50.835Z] $ docker stop --time=1 07f864a9391ef3471d276f71335a8425124fd7d807e50f96f839680f09b753ba [2022-07-20T10:16:52.519Z] $ docker rm -f 07f864a9391ef3471d276f71335a8425124fd7d807e50f96f839680f09b753ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T10:16:53.134Z] + docker inspect -f . ci-base-image-arm64 [2022-07-20T10:16:53.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T10:16:53.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-20578 does not seem to be running inside a container [2022-07-20T10:16:53.493Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-20T10:16:54.782Z] $ docker top 5b6678117702aea0c47c2efd7084f6fd0247296840e4ac6f02e52a16edddc8ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T10:16:55.684Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/8 [Pipeline] fileExists [Pipeline] sh [2022-07-20T10:16:56.358Z] + make test [2022-07-20T10:16:56.358Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-20T10:16:58.356Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-20T10:18:35.233Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-20T10:18:35.233Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.090s coverage: 7.0% of statements [2022-07-20T10:18:35.233Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-20T10:18:57.427Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.793s coverage: 13.8% of statements [2022-07-20T10:18:57.427Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-20T10:18:57.427Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-20T10:19:19.632Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-20T10:19:19.632Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-20T10:19:19.632Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-20T10:19:20.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-20T10:19:20.656Z] $ docker stop --time=1 5b6678117702aea0c47c2efd7084f6fd0247296840e4ac6f02e52a16edddc8ae [2022-07-20T10:19:22.369Z] $ docker rm -f 5b6678117702aea0c47c2efd7084f6fd0247296840e4ac6f02e52a16edddc8ae [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T10:19:23.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-20T10:19:23.382Z] Warning: overwriting stash ‘coverage-report’ [2022-07-20T10:19:24.101Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T10:19:24.493Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-20T10:19:24.838Z] + ls -al . [2022-07-20T10:19:24.839Z] total 224 [2022-07-20T10:19:24.839Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 10:19 . [2022-07-20T10:19:24.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:14 .. [2022-07-20T10:19:24.839Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 10:14 .git [2022-07-20T10:19:24.839Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:14 .github [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 20 10:14 .gitignore [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 20 10:14 .golangci.yml [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 20 10:14 Attribution.txt [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 20 10:14 CHANGELOG.md [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 20 10:14 Dockerfile [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 10:14 GOVERNANCE.md [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 20 10:14 Jenkinsfile [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 10:14 LICENSE [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 20 10:14 Makefile [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 20 10:14 OWNERS.md [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 20 10:14 README.md [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 10:11 VERSION [2022-07-20T10:19:24.839Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 10:14 bin [2022-07-20T10:19:24.839Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:14 cmd [2022-07-20T10:19:24.839Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 20 10:18 coverage.out [2022-07-20T10:19:24.839Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 20 10:14 doc [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 20 10:14 go.mod [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 20 10:14 go.sum [2022-07-20T10:19:24.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:14 internal [2022-07-20T10:19:24.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:14 snap [2022-07-20T10:19:24.839Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 20 10:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T10:19:25.275Z] + 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=9b4310a5cdbce9b31e77eeaf2db5031ee7ea1248 --label arch=arm64 --label version=0.0.0 . [2022-07-20T10:19:25.890Z] Sending build context to Docker daemon 12.99MB [2022-07-20T10:19:25.890Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-20T10:19:25.890Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-20T10:19:25.890Z] ---> 03ad425022e4 [2022-07-20T10:19:25.890Z] Step 3/26 : ARG MAKE="make build" [2022-07-20T10:19:26.174Z] ---> Running in 18b62c654566 [2022-07-20T10:19:26.445Z] Removing intermediate container 18b62c654566 [2022-07-20T10:19:26.445Z] ---> 86d6b39b9e07 [2022-07-20T10:19:26.445Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T10:19:26.445Z] ---> Running in 9117a56520ba [2022-07-20T10:19:26.726Z] Removing intermediate container 9117a56520ba [2022-07-20T10:19:26.726Z] ---> 21dc3b6759c2 [2022-07-20T10:19:26.726Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T10:19:26.726Z] ---> Running in a5550f56728e [2022-07-20T10:19:27.002Z] Removing intermediate container a5550f56728e [2022-07-20T10:19:27.002Z] ---> df4773902ae2 [2022-07-20T10:19:27.002Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-20T10:19:27.279Z] ---> Running in 8450d65b9038 [2022-07-20T10:19:27.554Z] Removing intermediate container 8450d65b9038 [2022-07-20T10:19:27.554Z] ---> 7a3f3f65a7ac [2022-07-20T10:19:27.554Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T10:19:27.554Z] ---> Running in 90783b1975de [2022-07-20T10:19:29.535Z] Removing intermediate container 90783b1975de [2022-07-20T10:19:29.535Z] ---> adcff5bdf197 [2022-07-20T10:19:29.535Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T10:19:29.535Z] ---> Running in 6e1f41f6933a [2022-07-20T10:19:30.511Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T10:19:31.488Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T10:19:32.468Z] OK: 221 MiB in 51 packages [2022-07-20T10:19:33.067Z] Removing intermediate container 6e1f41f6933a [2022-07-20T10:19:33.067Z] ---> a4e57a50c36e [2022-07-20T10:19:33.067Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-20T10:19:33.067Z] ---> Running in e5e3490b0be9 [2022-07-20T10:19:33.340Z] Removing intermediate container e5e3490b0be9 [2022-07-20T10:19:33.340Z] ---> 1f872aebd161 [2022-07-20T10:19:33.340Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-20T10:19:33.939Z] ---> 0afef268ce12 [2022-07-20T10:19:33.939Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T10:19:34.215Z] ---> Running in e1111c060542 [2022-07-20T10:19:36.224Z] Removing intermediate container e1111c060542 [2022-07-20T10:19:36.224Z] ---> bd7782565b1d [2022-07-20T10:19:36.224Z] Step 12/26 : COPY . . [2022-07-20T10:19:37.674Z] ---> 624ace8337d5 [2022-07-20T10:19:37.674Z] Step 13/26 : RUN ${MAKE} [2022-07-20T10:19:37.674Z] ---> Running in 5b1566a70021 [2022-07-20T10:19:38.658Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-20T10:22:00.568Z] Removing intermediate container 5b1566a70021 [2022-07-20T10:22:00.568Z] ---> f29afb4901b2 [2022-07-20T10:22:00.568Z] Step 14/26 : FROM alpine:3.15 [2022-07-20T10:22:00.568Z] 3.15: Pulling from library/alpine [2022-07-20T10:22:00.568Z] e0295fd11fe2: Pulling fs layer [2022-07-20T10:22:00.568Z] e0295fd11fe2: Verifying Checksum [2022-07-20T10:22:00.568Z] e0295fd11fe2: Download complete [2022-07-20T10:22:00.568Z] e0295fd11fe2: Pull complete [2022-07-20T10:22:00.568Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-20T10:22:00.568Z] Status: Downloaded newer image for alpine:3.15 [2022-07-20T10:22:00.568Z] ---> 60f2846fe774 [2022-07-20T10:22:00.568Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-20T10:22:00.568Z] ---> Running in 04465e37290e [2022-07-20T10:22:00.568Z] Removing intermediate container 04465e37290e [2022-07-20T10:22:00.568Z] ---> cba83f59d001 [2022-07-20T10:22:00.568Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-20T10:22:00.568Z] ---> Running in 2bcd70545feb [2022-07-20T10:22:00.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-20T10:22:00.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-20T10:22:00.568Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-20T10:22:00.568Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-20T10:22:00.568Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-20T10:22:00.568Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-20T10:22:00.568Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-20T10:22:00.568Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-20T10:22:00.568Z] Executing busybox-1.34.1-r7.trigger [2022-07-20T10:22:00.568Z] OK: 8 MiB in 20 packages [2022-07-20T10:22:00.568Z] Removing intermediate container 2bcd70545feb [2022-07-20T10:22:00.568Z] ---> 147f345e4b80 [2022-07-20T10:22:00.568Z] Step 17/26 : WORKDIR / [2022-07-20T10:22:00.568Z] ---> Running in 9bc9b7deca84 [2022-07-20T10:22:00.568Z] Removing intermediate container 9bc9b7deca84 [2022-07-20T10:22:00.568Z] ---> 598d3bae5caf [2022-07-20T10:22:00.568Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-20T10:22:00.568Z] ---> 69649c85ad75 [2022-07-20T10:22:00.568Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-20T10:22:00.568Z] ---> a8ddcb75a6f2 [2022-07-20T10:22:00.568Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-20T10:22:00.568Z] ---> 40c8a9ef5da7 [2022-07-20T10:22:00.568Z] Step 21/26 : EXPOSE 59984 [2022-07-20T10:22:00.568Z] ---> Running in 584a2c869a00 [2022-07-20T10:22:00.568Z] Removing intermediate container 584a2c869a00 [2022-07-20T10:22:00.568Z] ---> 4675a41084cb [2022-07-20T10:22:00.568Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-20T10:22:00.568Z] ---> Running in bfa87b25f62f [2022-07-20T10:22:00.568Z] Removing intermediate container bfa87b25f62f [2022-07-20T10:22:00.568Z] ---> 3733785f1c7b [2022-07-20T10:22:00.568Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-20T10:22:00.568Z] ---> Running in fa2eb724731d [2022-07-20T10:22:00.568Z] Removing intermediate container fa2eb724731d [2022-07-20T10:22:00.568Z] ---> 921424734889 [2022-07-20T10:22:00.568Z] Step 24/26 : LABEL arch=arm64 [2022-07-20T10:22:00.568Z] ---> Running in 7917dfaff085 [2022-07-20T10:22:00.568Z] Removing intermediate container 7917dfaff085 [2022-07-20T10:22:00.568Z] ---> 2f0b7af623e8 [2022-07-20T10:22:00.568Z] Step 25/26 : LABEL git_sha=9b4310a5cdbce9b31e77eeaf2db5031ee7ea1248 [2022-07-20T10:22:00.568Z] ---> Running in 20a81c2879c0 [2022-07-20T10:22:00.568Z] Removing intermediate container 20a81c2879c0 [2022-07-20T10:22:00.568Z] ---> ada3819a2347 [2022-07-20T10:22:00.568Z] Step 26/26 : LABEL version=0.0.0 [2022-07-20T10:22:00.568Z] ---> Running in 9c97f226f5b7 [2022-07-20T10:22:00.568Z] Removing intermediate container 9c97f226f5b7 [2022-07-20T10:22:00.568Z] ---> 949d0708e18f [2022-07-20T10:22:00.568Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-20T10:22:00.568Z] Successfully built 949d0708e18f [2022-07-20T10:22:00.568Z] 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-07-20T10:22:00.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T10:22:00.999Z] [2022-07-20T10:22:00.999Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T10:22:01.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T10:22:01.619Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-20T10:22:01.619Z] 8998bd30e6a1: Pulling fs layer [2022-07-20T10:22:01.619Z] 04944245beec: Pulling fs layer [2022-07-20T10:22:01.619Z] 699f458cf7ca: Pulling fs layer [2022-07-20T10:22:01.619Z] 765212b225bb: Pulling fs layer [2022-07-20T10:22:01.619Z] f23df028b6ca: Pulling fs layer [2022-07-20T10:22:01.619Z] d65c8cfc05b1: Pulling fs layer [2022-07-20T10:22:01.619Z] 2437ff75d9bd: Pulling fs layer [2022-07-20T10:22:01.619Z] 765212b225bb: Waiting [2022-07-20T10:22:01.619Z] f23df028b6ca: Waiting [2022-07-20T10:22:01.619Z] d65c8cfc05b1: Waiting [2022-07-20T10:22:01.619Z] 2437ff75d9bd: Waiting [2022-07-20T10:22:01.619Z] 04944245beec: Verifying Checksum [2022-07-20T10:22:01.619Z] 04944245beec: Download complete [2022-07-20T10:22:01.619Z] 765212b225bb: Verifying Checksum [2022-07-20T10:22:01.619Z] 765212b225bb: Download complete [2022-07-20T10:22:01.619Z] f23df028b6ca: Verifying Checksum [2022-07-20T10:22:01.619Z] f23df028b6ca: Download complete [2022-07-20T10:22:01.619Z] d65c8cfc05b1: Verifying Checksum [2022-07-20T10:22:01.619Z] d65c8cfc05b1: Download complete [2022-07-20T10:22:01.893Z] 699f458cf7ca: Verifying Checksum [2022-07-20T10:22:01.893Z] 699f458cf7ca: Download complete [2022-07-20T10:22:02.168Z] 8998bd30e6a1: Verifying Checksum [2022-07-20T10:22:02.168Z] 8998bd30e6a1: Download complete [2022-07-20T10:22:04.794Z] 2437ff75d9bd: Verifying Checksum [2022-07-20T10:22:04.794Z] 2437ff75d9bd: Download complete [2022-07-20T10:22:06.230Z] 8998bd30e6a1: Pull complete [2022-07-20T10:22:06.827Z] 04944245beec: Pull complete [2022-07-20T10:22:08.267Z] 699f458cf7ca: Pull complete [2022-07-20T10:22:08.540Z] 765212b225bb: Pull complete [2022-07-20T10:22:09.520Z] f23df028b6ca: Pull complete [2022-07-20T10:22:09.520Z] d65c8cfc05b1: Pull complete [2022-07-20T10:22:24.603Z] 2437ff75d9bd: Pull complete [2022-07-20T10:22:24.603Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-20T10:22:24.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T10:22:24.603Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T10:22:24.849Z] prd-ubuntu20.04-docker-arm64-4c-16g-20578 does not seem to be running inside a container [2022-07-20T10:22:24.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-20T10:22:27.445Z] $ docker top 61ddba6fa76aa8b5d07aef5fb6b441fc94a34bda8c4c41a662fece43da14b1f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T10:22:28.349Z] ---> job-cost.sh [2022-07-20T10:22:28.349Z] lf-activate-venv: SKIPPING [2022-07-20T10:22:28.349Z] INFO: No Stack... [2022-07-20T10:22:28.621Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-20T10:22:29.595Z] INFO: Archiving Costs [Pipeline] sh [2022-07-20T10:22:30.253Z] + cat /w/workspace/device-onvif-camera/8/archives/cost.csv [2022-07-20T10:22:30.253Z] + cut -d, -f6 [Pipeline] lock [2022-07-20T10:22:30.312Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-100-8-stack-cost] [2022-07-20T10:22:30.318Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-8-stack-cost] did not exist. Created. [2022-07-20T10:22:30.318Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-100-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-20T10:22:30.984Z] /w/workspace/device-onvif-camera/8@tmp/durable-faf511ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-20T10:22:31.653Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-20T10:22:31.674Z] Warning: overwriting stash ‘stack-cost’ [2022-07-20T10:22:31.729Z] Stashed 1 file(s) [Pipeline] } [2022-07-20T10:22:31.736Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-20T10:22:31.760Z] $ docker stop --time=1 61ddba6fa76aa8b5d07aef5fb6b441fc94a34bda8c4c41a662fece43da14b1f1 [2022-07-20T10:22:33.288Z] $ docker rm -f 61ddba6fa76aa8b5d07aef5fb6b441fc94a34bda8c4c41a662fece43da14b1f1 [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-07-20T10:22:33.757Z] provisioning config files... [2022-07-20T10:22:33.766Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config786569808254018820tmp [Pipeline] { [Pipeline] sh [2022-07-20T10:22:34.060Z] + set +x [2022-07-20T10:22:34.061Z] + curl -s https://codecov.io/bash [2022-07-20T10:22:34.061Z] + bash -s -- [2022-07-20T10:22:34.061Z] [2022-07-20T10:22:34.061Z] _____ _ [2022-07-20T10:22:34.061Z] / ____| | | [2022-07-20T10:22:34.061Z] | | ___ __| | ___ ___ _____ __ [2022-07-20T10:22:34.061Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-20T10:22:34.061Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-20T10:22:34.061Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-20T10:22:34.061Z] Bash-1.0.6 [2022-07-20T10:22:34.061Z] [2022-07-20T10:22:34.061Z] [2022-07-20T10:22:34.061Z] ==> git version 2.25.1 found [2022-07-20T10:22:34.061Z] ==> 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-07-20T10:22:34.061Z] Release-Date: 2020-01-08 [2022-07-20T10:22:34.061Z] 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-07-20T10:22:34.061Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-20T10:22:34.061Z] ==> Jenkins CI detected. [2022-07-20T10:22:34.061Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-100 [2022-07-20T10:22:34.061Z] project root: . [2022-07-20T10:22:34.061Z] --> token set from env [2022-07-20T10:22:34.061Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-20T10:22:34.061Z] ==> Running gcov in . (disable via -X gcov) [2022-07-20T10:22:34.061Z] ==> Python coveragepy not found [2022-07-20T10:22:34.061Z] ==> Searching for coverage reports in: [2022-07-20T10:22:34.061Z] + . [2022-07-20T10:22:34.061Z] -> Found 1 reports [2022-07-20T10:22:34.061Z] ==> Detecting git/mercurial file structure [2022-07-20T10:22:34.061Z] ==> Reading reports [2022-07-20T10:22:34.061Z] + ./coverage.out bytes=70262 [2022-07-20T10:22:34.061Z] ==> Appending adjustments [2022-07-20T10:22:34.061Z] https://docs.codecov.io/docs/fixing-reports [2022-07-20T10:22:34.322Z] + Found adjustments [2022-07-20T10:22:34.322Z] ==> Gzipping contents [2022-07-20T10:22:34.322Z] 12K /tmp/codecov.DwMgEx.gz [2022-07-20T10:22:34.322Z] ==> Uploading reports [2022-07-20T10:22:34.322Z] url: https://codecov.io [2022-07-20T10:22:34.322Z] query: branch=PR-100&commit=771dfd1efd4fc651df4639607b65c3a5d73242a3&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-100%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-07-20T10:22:34.322Z] -> Pinging Codecov [2022-07-20T10:22:34.322Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-100&commit=771dfd1efd4fc651df4639607b65c3a5d73242a3&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-100%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-07-20T10:22:34.583Z] -> Uploading to [2022-07-20T10:22:34.584Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-20/F29A59C45E3A92E06B3E522C9905F8EF/771dfd1efd4fc651df4639607b65c3a5d73242a3/6c966d8c-89ea-4b77-b6d2-482957bd227c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220720T102234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c09a33ed6d2a78f58ed8594ced95a1ba3d0e0ba948a9909bd6d19addc669f551 [2022-07-20T10:22:34.584Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-20T10:22:34.584Z] Dload Upload Total Spent Left Speed [2022-07-20T10:22:34.845Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9543 0 0 100 9543 0 43377 --:--:-- --:--:-- --:--:-- 43180 [2022-07-20T10:22:34.845Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/771dfd1efd4fc651df4639607b65c3a5d73242a3 [Pipeline] } [2022-07-20T10:22:34.854Z] 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-07-20T10:22:35.519Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-100/archives ] [2022-07-20T10:22:35.520Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-100/archives [2022-07-20T10:22:35.520Z] total 16 [2022-07-20T10:22:35.520Z] drwxr-xr-x 3 root root 4096 Jul 20 10:13 . [2022-07-20T10:22:35.520Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 10:13 .. [2022-07-20T10:22:35.520Z] drwxr-xr-x 2 root root 4096 Jul 20 10:13 cost [2022-07-20T10:22:35.520Z] -rw-r--r-- 1 root root 90 Jul 20 10:13 cost.csv [2022-07-20T10:22:35.520Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-100/archives [2022-07-20T10:22:35.520Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-100/archives [2022-07-20T10:22:35.520Z] total 16 [2022-07-20T10:22:35.520Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 10:13 . [2022-07-20T10:22:35.520Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 10:13 .. [2022-07-20T10:22:35.520Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 10:13 cost [2022-07-20T10:22:35.520Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 20 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-20T10:22:35.814Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T10:22:36.681Z] ---> package-listing.sh [2022-07-20T10:22:36.681Z] ++ facter osfamily [2022-07-20T10:22:36.681Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-20T10:22:36.942Z] + OS_FAMILY=debian [2022-07-20T10:22:36.942Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-100 [2022-07-20T10:22:36.942Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-20T10:22:36.942Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-20T10:22:36.942Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-20T10:22:36.942Z] + PACKAGES=/tmp/packages_start.txt [2022-07-20T10:22:36.942Z] + '[' /w/workspace/undry_device-onvif-camera_PR-100 ']' [2022-07-20T10:22:36.942Z] + PACKAGES=/tmp/packages_end.txt [2022-07-20T10:22:36.942Z] + case "${OS_FAMILY}" in [2022-07-20T10:22:36.942Z] + dpkg -l [2022-07-20T10:22:36.942Z] + grep '^ii' [2022-07-20T10:22:36.942Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-20T10:22:36.942Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-20T10:22:36.942Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-20T10:22:36.942Z] + '[' /w/workspace/undry_device-onvif-camera_PR-100 ']' [2022-07-20T10:22:36.942Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-100/archives/ [2022-07-20T10:22:36.942Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-100/archives/ [Pipeline] echo [2022-07-20T10:22:36.951Z] 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-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-20T10:22:37.232Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T10:22:37.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T10:22:37.803Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T10:22:37.885Z] prd-ubuntu20.04-docker-8c-8g-20576 does not seem to be running inside a container [2022-07-20T10:22:37.926Z] $ 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-100/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-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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-07-20T10:22:38.179Z] $ docker top eff8d76c2ea98ca73a29ad5a1d0196eb9fb14833ae0d80eb52fd5ce9aa317d72 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T10:22:38.542Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-20T10:22:38.833Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-20T10:22:39.120Z] + ls /var/log/sa-host [2022-07-20T10:22:39.120Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T10:22:39.257Z] provisioning config files... [2022-07-20T10:22:39.268Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config7323870752760227209tmp [Pipeline] { [Pipeline] echo [2022-07-20T10:22:39.285Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T10:22:39.571Z] ---> create-netrc.sh [Pipeline] } [2022-07-20T10:22:39.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-20T10:22:39.919Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-20T10:22:39.930Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T10:22:40.224Z] ---> sudo-logs.sh [2022-07-20T10:22:40.224Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-20T10:22:40.255Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T10:22:40.543Z] ---> job-cost.sh [2022-07-20T10:22:40.543Z] lf-activate-venv: SKIPPING [2022-07-20T10:22:40.543Z] DEBUG: total: 0.2199999988079071 [2022-07-20T10:22:40.543Z] INFO: Retrieving Stack Cost... [2022-07-20T10:22:41.115Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-20T10:22:41.378Z] INFO: Archiving Costs [Pipeline] echo [2022-07-20T10:22:41.391Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T10:22:41.679Z] ---> logs-deploy.sh [2022-07-20T10:22:41.679Z] lf-activate-venv: SKIPPING [2022-07-20T10:22:41.679Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-100/8 [2022-07-20T10:22:41.679Z] INFO: archiving workspace using pattern(s): [2022-07-20T10:22:42.621Z] Archives upload complete. [2022-07-20T10:22:42.621Z] INFO: archiving logs to Nexus