Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7487ad10d00543b471dbeb0441a080f9856c7acf+58a46bebf81eee9640e76b602e43d09af82d89e1 (5f87ee38d99ba5ec4a55c8ea331884aa2d0d9537) 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-ssh8919773578130596799.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-ssh15518967476419923699.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-108/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-108/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11960084647063123792.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-ssh1089294646580646522.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-108/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-108/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10292296499558118586.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20205 in /w/workspace/undry_device-onvif-camera_PR-108 [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-108 # 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 58a46bebf81eee9640e76b602e43d09af82d89e1 into PR head commit 7487ad10d00543b471dbeb0441a080f9856c7acf Merge succeeded, producing e2422a13b24b132736ba1015718c862948f214fb Checking out Revision e2422a13b24b132736ba1015718c862948f214fb (PR-108) > 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/108/head:refs/remotes/origin/PR-108 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7487ad10d00543b471dbeb0441a080f9856c7acf # 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 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2422a13b24b132736ba1015718c862948f214fb # timeout=10 Commit message: "Merge commit '58a46bebf81eee9640e76b602e43d09af82d89e1' into HEAD" > git rev-list --no-walk 7487ad10d00543b471dbeb0441a080f9856c7acf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-15T10:10:38.123Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-15T10:10:38.175Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-15T10:10:38.187Z] ========================================================= [2022-07-15T10:10:38.187Z] EdgeX Global Pipelines Version Info [2022-07-15T10:10:38.187Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-15T10:10:38.972Z] ------------------- [2022-07-15T10:10:38.972Z] stable info: [2022-07-15T10:10:38.972Z] ------------------- [2022-07-15T10:10:38.972Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-15T10:10:38.972Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-15T10:10:38.972Z] Message: update stable to v1.0.238 [2022-07-15T10:10:39.548Z] ------------------- [2022-07-15T10:10:39.548Z] experimental info: [2022-07-15T10:10:39.548Z] ------------------- [2022-07-15T10:10:39.548Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-15T10:10:39.548Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-15T10:10:39.548Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-15T10:10:39.722Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-15T10:10:39.735Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-15T10:10:39.746Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-15T10:10:39.760Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-15T10:10:39.775Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-15T10:10:39.785Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-15T10:10:39.799Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-15T10:10:39.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-15T10:10:39.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-15T10:10:39.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-15T10:10:39.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-15T10:10:39.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-15T10:10:39.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-15T10:10:39.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-15T10:10:39.964Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-15T10:10:39.976Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-15T10:10:39.987Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-15T10:10:39.997Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-15T10:10:40.006Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-15T10:10:40.015Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-15T10:10:40.025Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-15T10:10:40.038Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-15T10:10:40.050Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-15T10:10:40.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-15T10:10:40.073Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-15T10:10:40.087Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-15T10:10:40.097Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-15T10:10:40.109Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-108 [Pipeline] echo [2022-07-15T10:10:40.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-108 [Pipeline] echo [2022-07-15T10:10:40.134Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-108 [Pipeline] echo [2022-07-15T10:10:40.145Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2422a13b24b132736ba1015718c862948f214fb [Pipeline] echo [2022-07-15T10:10:40.159Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2422a1 [Pipeline] echo [2022-07-15T10:10:40.171Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-15T10:10:40.213Z] provisioning config files... [2022-07-15T10:10:40.227Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-108@tmp/config5863186599348278876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T10:10:40.557Z] ---> docker-login.sh [2022-07-15T10:10:40.558Z] nexus3.edgexfoundry.org:10001 [2022-07-15T10:10:40.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:10:40.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:10:40.820Z] Configure a credential helper to remove this warning. See [2022-07-15T10:10:40.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:10:40.820Z] [2022-07-15T10:10:40.820Z] Login Succeeded [2022-07-15T10:10:41.083Z] nexus3.edgexfoundry.org:10002 [2022-07-15T10:10:41.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:10:41.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:10:41.083Z] Configure a credential helper to remove this warning. See [2022-07-15T10:10:41.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:10:41.083Z] [2022-07-15T10:10:41.083Z] Login Succeeded [2022-07-15T10:10:41.083Z] nexus3.edgexfoundry.org:10003 [2022-07-15T10:10:41.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:10:41.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:10:41.343Z] Configure a credential helper to remove this warning. See [2022-07-15T10:10:41.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:10:41.343Z] [2022-07-15T10:10:41.343Z] Login Succeeded [2022-07-15T10:10:41.343Z] nexus3.edgexfoundry.org:10004 [2022-07-15T10:10:41.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:10:41.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:10:41.343Z] Configure a credential helper to remove this warning. See [2022-07-15T10:10:41.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:10:41.343Z] [2022-07-15T10:10:41.343Z] Login Succeeded [2022-07-15T10:10:41.343Z] docker.io [2022-07-15T10:10:41.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:10:41.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:10:41.894Z] Configure a credential helper to remove this warning. See [2022-07-15T10:10:41.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:10:41.894Z] [2022-07-15T10:10:41.894Z] Login Succeeded [2022-07-15T10:10:41.894Z] ---> docker-login.sh ends [Pipeline] } [2022-07-15T10:10:41.902Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-15T10:10:42.277Z] + git rev-list -1 --merges e2422a13b24b132736ba1015718c862948f214fb~1..e2422a13b24b132736ba1015718c862948f214fb [Pipeline] echo [2022-07-15T10:10:42.315Z] -----------> git rev-list -1 --merges e2422a13b24b132736ba1015718c862948f214fb~1..e2422a13b24b132736ba1015718c862948f214fb e2422a13b24b132736ba1015718c862948f214fb [2022-07-15T10:10:42.315Z] e2422a13b24b132736ba1015718c862948f214fb [false] [Pipeline] sh [2022-07-15T10:10:42.608Z] + git log --format=format:%s -1 e2422a13b24b132736ba1015718c862948f214fb [Pipeline] echo [2022-07-15T10:10:42.623Z] ========================================================= [2022-07-15T10:10:42.623Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-15T10:10:42.623Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-15T10:10:42.948Z] + git log --format=format:%s -1 e2422a13b24b132736ba1015718c862948f214fb [Pipeline] echo [2022-07-15T10:10:42.960Z] [semverPrep] GIT_COMMIT: e2422a13b24b132736ba1015718c862948f214fb, Commit Message: Merge commit '58a46bebf81eee9640e76b602e43d09af82d89e1' into HEAD [Pipeline] echo [2022-07-15T10:10:42.968Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-15T10:10:43.334Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-15T10:10:43.334Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-15T10:10:43.334Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-15T10:10:43.334Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-15T10:10:43.334Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-15T10:10:43.334Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-15T10:10:43.334Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T10:10:43.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-15T10:10:43.759Z] [2022-07-15T10:10:43.759Z] 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-15T10:10:44.065Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-15T10:10:44.066Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-15T10:10:44.066Z] b85a868b505f: Pulling fs layer [2022-07-15T10:10:44.066Z] e2be974225ed: Pulling fs layer [2022-07-15T10:10:44.066Z] 339a4e72a1f5: Pulling fs layer [2022-07-15T10:10:44.066Z] 988bab9f4d93: Pulling fs layer [2022-07-15T10:10:44.066Z] 1469e6f7b9e6: Pulling fs layer [2022-07-15T10:10:44.066Z] eaf3925da568: Pulling fs layer [2022-07-15T10:10:44.066Z] bab4dde63d76: Pulling fs layer [2022-07-15T10:10:44.066Z] bde34c3a00c8: Pulling fs layer [2022-07-15T10:10:44.066Z] b352a97aabf1: Pulling fs layer [2022-07-15T10:10:44.066Z] 4872d77fe225: Pulling fs layer [2022-07-15T10:10:44.066Z] 5851b861e8e6: Pulling fs layer [2022-07-15T10:10:44.066Z] bde34c3a00c8: Waiting [2022-07-15T10:10:44.066Z] b352a97aabf1: Waiting [2022-07-15T10:10:44.066Z] 5851b861e8e6: Waiting [2022-07-15T10:10:44.066Z] bab4dde63d76: Waiting [2022-07-15T10:10:44.066Z] 988bab9f4d93: Waiting [2022-07-15T10:10:44.066Z] 4872d77fe225: Waiting [2022-07-15T10:10:44.066Z] 1469e6f7b9e6: Waiting [2022-07-15T10:10:44.066Z] e2be974225ed: Verifying Checksum [2022-07-15T10:10:44.066Z] e2be974225ed: Download complete [2022-07-15T10:10:44.066Z] 988bab9f4d93: Verifying Checksum [2022-07-15T10:10:44.066Z] 988bab9f4d93: Download complete [2022-07-15T10:10:44.329Z] 339a4e72a1f5: Verifying Checksum [2022-07-15T10:10:44.329Z] 339a4e72a1f5: Download complete [2022-07-15T10:10:44.329Z] 1469e6f7b9e6: Verifying Checksum [2022-07-15T10:10:44.329Z] 1469e6f7b9e6: Download complete [2022-07-15T10:10:44.329Z] eaf3925da568: Verifying Checksum [2022-07-15T10:10:44.329Z] bde34c3a00c8: Verifying Checksum [2022-07-15T10:10:44.329Z] bde34c3a00c8: Download complete [2022-07-15T10:10:44.329Z] b352a97aabf1: Verifying Checksum [2022-07-15T10:10:44.329Z] b352a97aabf1: Download complete [2022-07-15T10:10:44.329Z] 4872d77fe225: Download complete [2022-07-15T10:10:44.329Z] 5851b861e8e6: Verifying Checksum [2022-07-15T10:10:44.329Z] 5851b861e8e6: Download complete [2022-07-15T10:10:44.329Z] b85a868b505f: Verifying Checksum [2022-07-15T10:10:44.329Z] b85a868b505f: Download complete [2022-07-15T10:10:44.592Z] bab4dde63d76: Verifying Checksum [2022-07-15T10:10:44.592Z] bab4dde63d76: Download complete [2022-07-15T10:10:45.975Z] b85a868b505f: Pull complete [2022-07-15T10:10:45.975Z] e2be974225ed: Pull complete [2022-07-15T10:10:46.552Z] 339a4e72a1f5: Pull complete [2022-07-15T10:10:46.552Z] 988bab9f4d93: Pull complete [2022-07-15T10:10:46.814Z] 1469e6f7b9e6: Pull complete [2022-07-15T10:10:47.074Z] eaf3925da568: Pull complete [2022-07-15T10:10:48.990Z] bab4dde63d76: Pull complete [2022-07-15T10:10:48.990Z] bde34c3a00c8: Pull complete [2022-07-15T10:10:49.250Z] b352a97aabf1: Pull complete [2022-07-15T10:10:49.250Z] 4872d77fe225: Pull complete [2022-07-15T10:10:49.512Z] 5851b861e8e6: Pull complete [2022-07-15T10:10:49.512Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-15T10:10:49.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-15T10:10:49.512Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T10:10:49.614Z] prd-ubuntu20.04-docker-8c-8g-20205 does not seem to be running inside a container [2022-07-15T10:10:49.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-108 -v /w/workspace/undry_device-onvif-camera_PR-108:/w/workspace/undry_device-onvif-camera_PR-108:rw,z -v /w/workspace/undry_device-onvif-camera_PR-108@tmp:/w/workspace/undry_device-onvif-camera_PR-108@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-15T10:10:50.985Z] $ docker top 9eca47fd94571b5123108f0fbcd684e54e0e0a5560fb52be6b89aa14ad6b6689 -eo pid,comm [2022-07-15T10:10:51.058Z] 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-15T10:10:51.058Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-15T10:10:51.092Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-15T10:10:51.092Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-15T10:10:51.229Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-15T10:10:51.231Z] $ docker exec 9eca47fd94571b5123108f0fbcd684e54e0e0a5560fb52be6b89aa14ad6b6689 ssh-agent [2022-07-15T10:10:51.364Z] SSH_AUTH_SOCK=/tmp/ssh-8Hf5BZIZERwr/agent.34 [2022-07-15T10:10:51.364Z] SSH_AGENT_PID=40 [2022-07-15T10:10:51.371Z] Running ssh-add (command line suppressed) [2022-07-15T10:10:51.493Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-108@tmp/private_key_7745018005545053284.key (/w/workspace/undry_device-onvif-camera_PR-108@tmp/private_key_7745018005545053284.key) [2022-07-15T10:10:51.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-15T10:10:51.804Z] + git tag --points-at HEAD [Pipeline] } [2022-07-15T10:10:51.824Z] $ docker exec --env ******** --env ******** 9eca47fd94571b5123108f0fbcd684e54e0e0a5560fb52be6b89aa14ad6b6689 ssh-agent -k [2022-07-15T10:10:51.946Z] unset SSH_AUTH_SOCK; [2022-07-15T10:10:51.946Z] unset SSH_AGENT_PID; [2022-07-15T10:10:51.946Z] echo Agent pid 40 killed; [2022-07-15T10:10:51.965Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-15T10:10:51.987Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-15T10:10:51.987Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-15T10:10:52.133Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-15T10:10:52.133Z] $ docker exec 9eca47fd94571b5123108f0fbcd684e54e0e0a5560fb52be6b89aa14ad6b6689 ssh-agent [2022-07-15T10:10:52.276Z] SSH_AUTH_SOCK=/tmp/ssh-ehd7ri0v65zf/agent.72 [2022-07-15T10:10:52.276Z] SSH_AGENT_PID=78 [2022-07-15T10:10:52.281Z] Running ssh-add (command line suppressed) [2022-07-15T10:10:52.396Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-108@tmp/private_key_2011098524721007258.key (/w/workspace/undry_device-onvif-camera_PR-108@tmp/private_key_2011098524721007258.key) [2022-07-15T10:10:52.416Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-15T10:10:52.708Z] + git semver init [2022-07-15T10:10:52.971Z] 2022-07-15 10:10:52,931 [run_init] DEBUG init version:0.0.0 force:False [2022-07-15T10:10:52.971Z] 2022-07-15 10:10:52,932 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-108/.semver [2022-07-15T10:10:52.971Z] 2022-07-15 10:10:52,933 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-108/.semver [2022-07-15T10:10:52.971Z] 2022-07-15 10:10:52,934 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-108/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-108, universal_newlines=False, shell=None, istream=None) [2022-07-15T10:10:53.922Z] 2022-07-15 10:10:53,634 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-108/.git/info/exclude [2022-07-15T10:10:53.922Z] 2022-07-15 10:10:53,634 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-108/.semver/PR-108 with force:False [2022-07-15T10:10:53.922Z] 2022-07-15 10:10:53,635 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-108/.semver/PR-108 [2022-07-15T10:10:53.922Z] 2022-07-15 10:10:53,639 [execute] INFO git cat-file --batch-check [2022-07-15T10:10:53.922Z] 2022-07-15 10:10:53,639 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-108/.semver, universal_newlines=False, shell=None, istream=) [2022-07-15T10:10:53.922Z] 2022-07-15 10:10:53,645 [execute] INFO git cat-file --batch [2022-07-15T10:10:53.922Z] 2022-07-15 10:10:53,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-108/.semver, universal_newlines=False, shell=None, istream=) [2022-07-15T10:10:53.922Z] 2022-07-15 10:10:53,651 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-108/.semver/PR-108 [2022-07-15T10:10:53.922Z] 0.0.0 [Pipeline] } [2022-07-15T10:10:53.933Z] $ docker exec --env ******** --env ******** 9eca47fd94571b5123108f0fbcd684e54e0e0a5560fb52be6b89aa14ad6b6689 ssh-agent -k [2022-07-15T10:10:54.044Z] unset SSH_AUTH_SOCK; [2022-07-15T10:10:54.045Z] unset SSH_AGENT_PID; [2022-07-15T10:10:54.045Z] echo Agent pid 78 killed; [2022-07-15T10:10:54.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-15T10:10:54.371Z] + git semver [Pipeline] } [2022-07-15T10:10:54.647Z] $ docker stop --time=1 9eca47fd94571b5123108f0fbcd684e54e0e0a5560fb52be6b89aa14ad6b6689 [2022-07-15T10:10:55.968Z] $ docker rm -f 9eca47fd94571b5123108f0fbcd684e54e0e0a5560fb52be6b89aa14ad6b6689 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-15T10:10:56.331Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-15T10:10:56.579Z] Stashed 1 file(s) [Pipeline] echo [2022-07-15T10:10:56.581Z] [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-15T10:10:56.730Z] provisioning config files... [2022-07-15T10:10:56.740Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-108@tmp/config7181972740601448017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T10:10:57.035Z] ---> docker-login.sh [2022-07-15T10:10:57.035Z] nexus3.edgexfoundry.org:10001 [2022-07-15T10:10:57.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:10:57.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:10:57.035Z] Configure a credential helper to remove this warning. See [2022-07-15T10:10:57.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:10:57.035Z] [2022-07-15T10:10:57.035Z] Login Succeeded [2022-07-15T10:10:57.035Z] nexus3.edgexfoundry.org:10002 [2022-07-15T10:10:57.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:10:57.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:10:57.296Z] Configure a credential helper to remove this warning. See [2022-07-15T10:10:57.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:10:57.296Z] [2022-07-15T10:10:57.296Z] Login Succeeded [2022-07-15T10:10:57.296Z] nexus3.edgexfoundry.org:10003 [2022-07-15T10:10:57.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:10:57.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:10:57.296Z] Configure a credential helper to remove this warning. See [2022-07-15T10:10:57.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:10:57.296Z] [2022-07-15T10:10:57.296Z] Login Succeeded [2022-07-15T10:10:57.296Z] nexus3.edgexfoundry.org:10004 [2022-07-15T10:10:57.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:10:57.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:10:57.558Z] Configure a credential helper to remove this warning. See [2022-07-15T10:10:57.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:10:57.558Z] [2022-07-15T10:10:57.558Z] Login Succeeded [2022-07-15T10:10:57.558Z] docker.io [2022-07-15T10:10:57.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:10:57.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:10:57.818Z] Configure a credential helper to remove this warning. See [2022-07-15T10:10:57.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:10:57.818Z] [2022-07-15T10:10:57.818Z] Login Succeeded [2022-07-15T10:10:57.818Z] ---> docker-login.sh ends [Pipeline] } [2022-07-15T10:10:57.827Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-15T10:10:57.891Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T10:10:57.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T10:10:57.910Z] ========================================================= [2022-07-15T10:10:57.910Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-15T10:10:57.910Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T10:10:58.228Z] + 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-15T10:10:58.228Z] Sending build context to Docker daemon 9.399MB [2022-07-15T10:10:58.228Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-15T10:10:58.228Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-15T10:10:58.228Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-15T10:10:58.228Z] 2408cc74d12b: Pulling fs layer [2022-07-15T10:10:58.228Z] ea60b727a1ce: Pulling fs layer [2022-07-15T10:10:58.228Z] 30c4a7721957: Pulling fs layer [2022-07-15T10:10:58.228Z] 370296b7ddb6: Pulling fs layer [2022-07-15T10:10:58.228Z] 7c6cee850709: Pulling fs layer [2022-07-15T10:10:58.228Z] 39a5fcdaea64: Pulling fs layer [2022-07-15T10:10:58.228Z] d94ebbe4e438: Pulling fs layer [2022-07-15T10:10:58.228Z] bcfd1f05c69d: Pulling fs layer [2022-07-15T10:10:58.228Z] 59ccb84bbe0f: Pulling fs layer [2022-07-15T10:10:58.228Z] 370296b7ddb6: Waiting [2022-07-15T10:10:58.228Z] 7c6cee850709: Waiting [2022-07-15T10:10:58.228Z] bcfd1f05c69d: Waiting [2022-07-15T10:10:58.228Z] 59ccb84bbe0f: Waiting [2022-07-15T10:10:58.228Z] 39a5fcdaea64: Waiting [2022-07-15T10:10:58.228Z] d94ebbe4e438: Waiting [2022-07-15T10:10:58.228Z] 30c4a7721957: Verifying Checksum [2022-07-15T10:10:58.228Z] ea60b727a1ce: Verifying Checksum [2022-07-15T10:10:58.228Z] ea60b727a1ce: Download complete [2022-07-15T10:10:58.492Z] 7c6cee850709: Verifying Checksum [2022-07-15T10:10:58.492Z] 7c6cee850709: Download complete [2022-07-15T10:10:58.492Z] 39a5fcdaea64: Download complete [2022-07-15T10:10:58.492Z] 2408cc74d12b: Verifying Checksum [2022-07-15T10:10:58.492Z] d94ebbe4e438: Verifying Checksum [2022-07-15T10:10:58.492Z] d94ebbe4e438: Download complete [2022-07-15T10:10:58.492Z] 2408cc74d12b: Pull complete [2022-07-15T10:10:58.763Z] ea60b727a1ce: Pull complete [2022-07-15T10:10:58.763Z] 30c4a7721957: Pull complete [2022-07-15T10:10:59.026Z] 59ccb84bbe0f: Verifying Checksum [2022-07-15T10:10:59.026Z] 59ccb84bbe0f: Download complete [2022-07-15T10:10:59.026Z] bcfd1f05c69d: Verifying Checksum [2022-07-15T10:10:59.026Z] bcfd1f05c69d: Download complete [2022-07-15T10:10:59.287Z] 370296b7ddb6: Verifying Checksum [2022-07-15T10:10:59.287Z] 370296b7ddb6: Download complete [2022-07-15T10:11:03.492Z] 370296b7ddb6: Pull complete [2022-07-15T10:11:03.492Z] 7c6cee850709: Pull complete [2022-07-15T10:11:03.492Z] 39a5fcdaea64: Pull complete [2022-07-15T10:11:03.492Z] d94ebbe4e438: Pull complete [2022-07-15T10:11:06.028Z] bcfd1f05c69d: Pull complete [2022-07-15T10:11:06.597Z] 59ccb84bbe0f: Pull complete [2022-07-15T10:11:06.597Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-15T10:11:06.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-15T10:11:06.597Z] ---> a4fb48ad2a94 [2022-07-15T10:11:06.597Z] Step 3/13 : ARG MAKE="make build" [2022-07-15T10:11:07.982Z] ---> Running in 30f1108601c2 [2022-07-15T10:11:07.982Z] Removing intermediate container 30f1108601c2 [2022-07-15T10:11:07.982Z] ---> a56832ec08d8 [2022-07-15T10:11:07.982Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-15T10:11:08.243Z] ---> Running in 9ae6dfd31fbb [2022-07-15T10:11:08.243Z] Removing intermediate container 9ae6dfd31fbb [2022-07-15T10:11:08.243Z] ---> 49379b6b23d3 [2022-07-15T10:11:08.243Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-15T10:11:08.243Z] ---> Running in 941f086b0b63 [2022-07-15T10:11:08.243Z] Removing intermediate container 941f086b0b63 [2022-07-15T10:11:08.243Z] ---> 6a5c130d2c91 [2022-07-15T10:11:08.243Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-15T10:11:08.243Z] ---> Running in 4a9ac3b73709 [2022-07-15T10:11:08.504Z] Removing intermediate container 4a9ac3b73709 [2022-07-15T10:11:08.504Z] ---> 09d274ba6f0e [2022-07-15T10:11:08.504Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T10:11:08.504Z] ---> Running in 3937a41799da [2022-07-15T10:11:09.075Z] Removing intermediate container 3937a41799da [2022-07-15T10:11:09.075Z] ---> 8db85a4f4298 [2022-07-15T10:11:09.075Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-15T10:11:09.075Z] ---> Running in 02309db82a22 [2022-07-15T10:11:09.373Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-15T10:11:10.315Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-15T10:11:10.888Z] OK: 211 MiB in 51 packages [2022-07-15T10:11:11.148Z] Removing intermediate container 02309db82a22 [2022-07-15T10:11:11.148Z] ---> c3d061e4cede [2022-07-15T10:11:11.148Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-15T10:11:11.148Z] ---> Running in a786661da77a [2022-07-15T10:11:11.148Z] Removing intermediate container a786661da77a [2022-07-15T10:11:11.148Z] ---> 8096ca369ca6 [2022-07-15T10:11:11.148Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-15T10:11:11.408Z] ---> e0f882381b8d [2022-07-15T10:11:11.408Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T10:11:11.408Z] ---> Running in 86668404bf69 [2022-07-15T10:11:11.684Z] Still waiting to schedule task [2022-07-15T10:11:11.684Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-15T10:11:33.365Z] Removing intermediate container 86668404bf69 [2022-07-15T10:11:33.366Z] ---> 301a629828c8 [2022-07-15T10:11:33.366Z] Step 12/13 : COPY . . [2022-07-15T10:11:33.366Z] ---> c5a8b1ff76ae [2022-07-15T10:11:33.366Z] Step 13/13 : RUN ${MAKE} [2022-07-15T10:11:33.366Z] ---> Running in 967b55ee4859 [2022-07-15T10:11:33.366Z] noop [2022-07-15T10:11:33.366Z] Removing intermediate container 967b55ee4859 [2022-07-15T10:11:33.366Z] ---> fde0fd5c199f [2022-07-15T10:11:33.366Z] Successfully built fde0fd5c199f [2022-07-15T10:11:33.366Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T10:11:33.688Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-15T10:11:33.688Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T10:11:33.765Z] prd-ubuntu20.04-docker-8c-8g-20205 does not seem to be running inside a container [2022-07-15T10:11:33.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-108 -v /w/workspace/undry_device-onvif-camera_PR-108:/w/workspace/undry_device-onvif-camera_PR-108:rw,z -v /w/workspace/undry_device-onvif-camera_PR-108@tmp:/w/workspace/undry_device-onvif-camera_PR-108@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-15T10:11:34.239Z] $ docker top 0cdc098cb14c0bfcaccb2565c1977fc7b18a78ac0bc27dbf9b786d6870397cff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T10:11:34.616Z] + go version [2022-07-15T10:11:34.617Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-15T10:11:34.626Z] $ docker stop --time=1 0cdc098cb14c0bfcaccb2565c1977fc7b18a78ac0bc27dbf9b786d6870397cff [2022-07-15T10:11:35.896Z] $ docker rm -f 0cdc098cb14c0bfcaccb2565c1977fc7b18a78ac0bc27dbf9b786d6870397cff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T10:11:36.289Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-15T10:11:36.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T10:11:36.379Z] prd-ubuntu20.04-docker-8c-8g-20205 does not seem to be running inside a container [2022-07-15T10:11:36.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-108 -v /w/workspace/undry_device-onvif-camera_PR-108:/w/workspace/undry_device-onvif-camera_PR-108:rw,z -v /w/workspace/undry_device-onvif-camera_PR-108@tmp:/w/workspace/undry_device-onvif-camera_PR-108@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-15T10:11:36.793Z] $ docker top aa8744640f15452271cc113d791a1b54214d8f8c38e34a2940aadd1c849fa58f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T10:11:37.152Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-108 [Pipeline] fileExists [Pipeline] sh [2022-07-15T10:11:37.450Z] + make test [2022-07-15T10:11:37.450Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-15T10:11:37.709Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-15T10:11:47.704Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-15T10:11:48.645Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 7.0% of statements [2022-07-15T10:11:48.645Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-15T10:11:51.199Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.018s coverage: 13.8% of statements [2022-07-15T10:11:57.781Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-15T10:12:01.287Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-15T10:12:01.287Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-15T10:12:01.287Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-15T10:12:01.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-15T10:12:01.574Z] $ docker stop --time=1 aa8744640f15452271cc113d791a1b54214d8f8c38e34a2940aadd1c849fa58f [2022-07-15T10:12:03.396Z] $ docker rm -f aa8744640f15452271cc113d791a1b54214d8f8c38e34a2940aadd1c849fa58f [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-15T10:12:03.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-15T10:12:03.909Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-15T10:12:04.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-15T10:12:04.701Z] + ls -al . [2022-07-15T10:12:04.702Z] total 252 [2022-07-15T10:12:04.702Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 10:12 . [2022-07-15T10:12:04.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 10:10 .. [2022-07-15T10:12:04.702Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 10:11 .git [2022-07-15T10:12:04.702Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 10:10 .github [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 15 10:10 .gitignore [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 10:10 .golangci.yml [2022-07-15T10:12:04.702Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 10:10 .semver [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 15 10:10 Attribution.txt [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 15 10:10 CHANGELOG.md [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 15 10:10 Dockerfile [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 10:10 GOVERNANCE.md [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 15 10:10 Jenkinsfile [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 15 10:10 LICENSE [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 15 10:10 Makefile [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 15 10:10 OWNERS.md [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 15 10:10 README.md [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 10:10 VERSION [2022-07-15T10:12:04.702Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 10:10 bin [2022-07-15T10:12:04.702Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 10:10 cmd [2022-07-15T10:12:04.702Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 15 10:11 coverage.out [2022-07-15T10:12:04.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 10:10 doc [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 15 10:10 go.mod [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 15 10:10 go.sum [2022-07-15T10:12:04.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 10:10 internal [2022-07-15T10:12:04.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 10:10 snap [2022-07-15T10:12:04.702Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 15 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T10:12:05.014Z] + 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=e2422a13b24b132736ba1015718c862948f214fb --label arch=amd64 --label version=0.0.0 . [2022-07-15T10:12:05.014Z] Sending build context to Docker daemon 9.47MB [2022-07-15T10:12:05.014Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-15T10:12:05.014Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-15T10:12:05.014Z] ---> fde0fd5c199f [2022-07-15T10:12:05.014Z] Step 3/26 : ARG MAKE="make build" [2022-07-15T10:12:05.014Z] ---> Running in 91b1fe53c8de [2022-07-15T10:12:05.274Z] Removing intermediate container 91b1fe53c8de [2022-07-15T10:12:05.274Z] ---> 485f5d588d63 [2022-07-15T10:12:05.274Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-15T10:12:05.274Z] ---> Running in e2d17037b85a [2022-07-15T10:12:05.274Z] Removing intermediate container e2d17037b85a [2022-07-15T10:12:05.274Z] ---> 6b441a503473 [2022-07-15T10:12:05.274Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-15T10:12:05.274Z] ---> Running in 22e6b697fcb1 [2022-07-15T10:12:05.534Z] Removing intermediate container 22e6b697fcb1 [2022-07-15T10:12:05.534Z] ---> 4d6e5dcf46f1 [2022-07-15T10:12:05.534Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-15T10:12:05.534Z] ---> Running in 34b71ac78246 [2022-07-15T10:12:05.534Z] Removing intermediate container 34b71ac78246 [2022-07-15T10:12:05.534Z] ---> a4233b5869bc [2022-07-15T10:12:05.534Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T10:12:05.534Z] ---> Running in 6fc5a4d0ec5d [2022-07-15T10:12:06.109Z] Removing intermediate container 6fc5a4d0ec5d [2022-07-15T10:12:06.109Z] ---> ced5e57df2e5 [2022-07-15T10:12:06.109Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-15T10:12:06.368Z] ---> Running in daf63932dc6c [2022-07-15T10:12:06.630Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-15T10:12:07.576Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-15T10:12:07.576Z] OK: 211 MiB in 51 packages [2022-07-15T10:12:08.147Z] Removing intermediate container daf63932dc6c [2022-07-15T10:12:08.147Z] ---> e9dad86dfedc [2022-07-15T10:12:08.147Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-15T10:12:08.147Z] ---> Running in 86860558620d [2022-07-15T10:12:08.147Z] Removing intermediate container 86860558620d [2022-07-15T10:12:08.147Z] ---> c8d642a12f4c [2022-07-15T10:12:08.147Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-15T10:12:08.147Z] ---> b386b27eafc3 [2022-07-15T10:12:08.147Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T10:12:08.407Z] ---> Running in 83c550f88f2b [2022-07-15T10:12:08.977Z] Removing intermediate container 83c550f88f2b [2022-07-15T10:12:08.977Z] ---> b96db1aa76be [2022-07-15T10:12:08.977Z] Step 12/26 : COPY . . [2022-07-15T10:12:09.238Z] ---> ba103a039388 [2022-07-15T10:12:09.238Z] Step 13/26 : RUN ${MAKE} [2022-07-15T10:12:09.498Z] ---> Running in 6b07bf9a28ec [2022-07-15T10:12:09.757Z] 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-15T10:12:31.717Z] Removing intermediate container 6b07bf9a28ec [2022-07-15T10:12:31.717Z] ---> 8459e130e8df [2022-07-15T10:12:31.717Z] Step 14/26 : FROM alpine:3.15 [2022-07-15T10:12:31.717Z] 3.15: Pulling from library/alpine [2022-07-15T10:12:31.717Z] df9b9388f04a: Pulling fs layer [2022-07-15T10:12:31.717Z] df9b9388f04a: Verifying Checksum [2022-07-15T10:12:31.717Z] df9b9388f04a: Download complete [2022-07-15T10:12:31.717Z] df9b9388f04a: Pull complete [2022-07-15T10:12:31.717Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-15T10:12:31.717Z] Status: Downloaded newer image for alpine:3.15 [2022-07-15T10:12:31.717Z] ---> 0ac33e5f5afa [2022-07-15T10:12:31.717Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-15T10:12:31.717Z] ---> Running in cf0888932104 [2022-07-15T10:12:31.717Z] Removing intermediate container cf0888932104 [2022-07-15T10:12:31.717Z] ---> 6d5d237c66e6 [2022-07-15T10:12:31.717Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-15T10:12:31.717Z] ---> Running in 95846a12d10a [2022-07-15T10:12:31.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-15T10:12:31.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-15T10:12:31.717Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-15T10:12:31.717Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-15T10:12:31.717Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-15T10:12:31.717Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-15T10:12:31.717Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-15T10:12:31.717Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-15T10:12:31.717Z] Executing busybox-1.34.1-r5.trigger [2022-07-15T10:12:31.717Z] OK: 8 MiB in 20 packages [2022-07-15T10:12:31.717Z] Removing intermediate container 95846a12d10a [2022-07-15T10:12:31.717Z] ---> e6594972eca5 [2022-07-15T10:12:31.717Z] Step 17/26 : WORKDIR / [2022-07-15T10:12:31.717Z] ---> Running in 62f90c4e671a [2022-07-15T10:12:31.717Z] Removing intermediate container 62f90c4e671a [2022-07-15T10:12:31.717Z] ---> c166acdef1d2 [2022-07-15T10:12:31.717Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-15T10:12:31.717Z] ---> 53188704f874 [2022-07-15T10:12:31.717Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-15T10:12:31.717Z] ---> aa5d6f9b5e9c [2022-07-15T10:12:31.717Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-15T10:12:31.717Z] ---> 2b4762cf1582 [2022-07-15T10:12:31.717Z] Step 21/26 : EXPOSE 59984 [2022-07-15T10:12:31.717Z] ---> Running in c48d71db7b09 [2022-07-15T10:12:31.717Z] Removing intermediate container c48d71db7b09 [2022-07-15T10:12:31.717Z] ---> ca22206caa58 [2022-07-15T10:12:31.717Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-15T10:12:31.717Z] ---> Running in fea39bb0e986 [2022-07-15T10:12:31.978Z] Removing intermediate container fea39bb0e986 [2022-07-15T10:12:31.978Z] ---> 6340dc067b9b [2022-07-15T10:12:31.978Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-15T10:12:31.978Z] ---> Running in 4b59f1d21b92 [2022-07-15T10:12:31.978Z] Removing intermediate container 4b59f1d21b92 [2022-07-15T10:12:31.978Z] ---> 3a0914cf6f2d [2022-07-15T10:12:31.978Z] Step 24/26 : LABEL arch=amd64 [2022-07-15T10:12:31.978Z] ---> Running in 7315f41b679a [2022-07-15T10:12:32.239Z] Removing intermediate container 7315f41b679a [2022-07-15T10:12:32.239Z] ---> 39f6098c883c [2022-07-15T10:12:32.239Z] Step 25/26 : LABEL git_sha=e2422a13b24b132736ba1015718c862948f214fb [2022-07-15T10:12:32.239Z] ---> Running in 4d77cf7aedf5 [2022-07-15T10:12:32.239Z] Removing intermediate container 4d77cf7aedf5 [2022-07-15T10:12:32.239Z] ---> d07c23887cab [2022-07-15T10:12:32.239Z] Step 26/26 : LABEL version=0.0.0 [2022-07-15T10:12:32.239Z] ---> Running in 4a3a71ca75d7 [2022-07-15T10:12:32.500Z] Removing intermediate container 4a3a71ca75d7 [2022-07-15T10:12:32.500Z] ---> 6c3af7533a73 [2022-07-15T10:12:32.500Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-15T10:12:32.500Z] Successfully built 6c3af7533a73 [2022-07-15T10:12:32.500Z] 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-15T10:12:32.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T10:12:32.953Z] [2022-07-15T10:12:32.953Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T10:12:33.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T10:12:33.259Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-15T10:12:33.259Z] 5eb5b503b376: Pulling fs layer [2022-07-15T10:12:33.259Z] 5c69ac0246d0: Pulling fs layer [2022-07-15T10:12:33.259Z] ec43610c2a17: Pulling fs layer [2022-07-15T10:12:33.259Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-15T10:12:33.259Z] 33b1e0a273af: Pulling fs layer [2022-07-15T10:12:33.259Z] 5d3b04190fa2: Pulling fs layer [2022-07-15T10:12:33.259Z] 2f39f015ded8: Pulling fs layer [2022-07-15T10:12:33.259Z] 3a2ae6a8a46f: Waiting [2022-07-15T10:12:33.259Z] 33b1e0a273af: Waiting [2022-07-15T10:12:33.259Z] 5d3b04190fa2: Waiting [2022-07-15T10:12:33.259Z] 2f39f015ded8: Waiting [2022-07-15T10:12:33.259Z] 5c69ac0246d0: Download complete [2022-07-15T10:12:33.259Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-15T10:12:33.259Z] 3a2ae6a8a46f: Download complete [2022-07-15T10:12:33.259Z] 33b1e0a273af: Verifying Checksum [2022-07-15T10:12:33.259Z] 33b1e0a273af: Download complete [2022-07-15T10:12:33.259Z] 5d3b04190fa2: Verifying Checksum [2022-07-15T10:12:33.259Z] 5d3b04190fa2: Download complete [2022-07-15T10:12:33.259Z] ec43610c2a17: Verifying Checksum [2022-07-15T10:12:33.259Z] ec43610c2a17: Download complete [2022-07-15T10:12:33.520Z] 5eb5b503b376: Verifying Checksum [2022-07-15T10:12:33.520Z] 5eb5b503b376: Download complete [2022-07-15T10:12:34.087Z] 2f39f015ded8: Verifying Checksum [2022-07-15T10:12:34.087Z] 2f39f015ded8: Download complete [2022-07-15T10:12:34.655Z] 5eb5b503b376: Pull complete [2022-07-15T10:12:34.914Z] 5c69ac0246d0: Pull complete [2022-07-15T10:12:35.482Z] ec43610c2a17: Pull complete [2022-07-15T10:12:35.482Z] 3a2ae6a8a46f: Pull complete [2022-07-15T10:12:35.741Z] 33b1e0a273af: Pull complete [2022-07-15T10:12:35.741Z] 5d3b04190fa2: Pull complete [2022-07-15T10:12:41.014Z] 2f39f015ded8: Pull complete [2022-07-15T10:12:41.014Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-15T10:12:41.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T10:12:41.014Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T10:12:41.105Z] prd-ubuntu20.04-docker-8c-8g-20205 does not seem to be running inside a container [2022-07-15T10:12:41.145Z] $ 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-108 -v /w/workspace/undry_device-onvif-camera_PR-108:/w/workspace/undry_device-onvif-camera_PR-108:rw,z -v /w/workspace/undry_device-onvif-camera_PR-108@tmp:/w/workspace/undry_device-onvif-camera_PR-108@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-15T10:12:42.800Z] $ docker top 80996956c70e92a2ed313dc7b781db24362b870b5929955c9e3021c8cafc88e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T10:12:43.200Z] ---> job-cost.sh [2022-07-15T10:12:43.201Z] lf-activate-venv: SKIPPING [2022-07-15T10:12:43.201Z] INFO: No Stack... [2022-07-15T10:12:43.460Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-15T10:12:44.029Z] INFO: Archiving Costs [Pipeline] sh [2022-07-15T10:12:44.326Z] + cat /w/workspace/undry_device-onvif-camera_PR-108/archives/cost.csv [2022-07-15T10:12:44.326Z] + cut -d, -f6 [Pipeline] lock [2022-07-15T10:12:44.354Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-108-2-stack-cost] [2022-07-15T10:12:44.360Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-108-2-stack-cost] did not exist. Created. [2022-07-15T10:12:44.360Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-108-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-15T10:12:44.732Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-15T10:12:44.768Z] Stashed 1 file(s) [Pipeline] } [2022-07-15T10:12:44.774Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-108-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-15T10:12:44.797Z] $ docker stop --time=1 80996956c70e92a2ed313dc7b781db24362b870b5929955c9e3021c8cafc88e2 [2022-07-15T10:12:45.958Z] $ docker rm -f 80996956c70e92a2ed313dc7b781db24362b870b5929955c9e3021c8cafc88e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-15T10:12:46.982Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20207 in /w/workspace/undry_device-onvif-camera_PR-108 [Pipeline] { [Pipeline] ws [2022-07-15T10:12:46.994Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-07-15T10:12:47.050Z] Selected Git installation does not exist. Using Default [2022-07-15T10:12:47.050Z] The recommended git tool is: NONE [2022-07-15T10:12:54.284Z] using credential edgex-jenkins-ssh [2022-07-15T10:12:54.305Z] Cloning the remote Git repository [2022-07-15T10:12:54.370Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-15T10:12:54.473Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-07-15T10:12:54.603Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-15T10:12:54.604Z] > git --version # timeout=10 [2022-07-15T10:12:54.646Z] > git --version # 'git version 2.25.1' [2022-07-15T10:12:54.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-15T10:12:54.782Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-15T10:12:55.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-15T10:12:56.499Z] Merging remotes/origin/main commit 58a46bebf81eee9640e76b602e43d09af82d89e1 into PR head commit 7487ad10d00543b471dbeb0441a080f9856c7acf [2022-07-15T10:12:57.000Z] Merge succeeded, producing c3480060e4823314895ed470a1ad45f638ad9d1b [2022-07-15T10:12:57.000Z] Checking out Revision c3480060e4823314895ed470a1ad45f638ad9d1b (PR-108) [2022-07-15T10:12:55.758Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-15T10:12:55.820Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-15T10:12:55.912Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-15T10:12:55.915Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-15T10:12:55.942Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/108/head:refs/remotes/origin/PR-108 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-15T10:12:56.521Z] > git config core.sparsecheckout # timeout=10 [2022-07-15T10:12:56.548Z] > git checkout -f 7487ad10d00543b471dbeb0441a080f9856c7acf # timeout=10 [2022-07-15T10:12:56.698Z] > git remote # timeout=10 [2022-07-15T10:12:56.725Z] > git config --get remote.origin.url # timeout=10 [2022-07-15T10:12:56.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-15T10:12:56.761Z] > git merge 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 [2022-07-15T10:12:56.976Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-15T10:12:57.010Z] > git config core.sparsecheckout # timeout=10 [2022-07-15T10:12:57.022Z] > git checkout -f c3480060e4823314895ed470a1ad45f638ad9d1b # timeout=10 [2022-07-15T10:13:01.228Z] Commit message: "Merge commit '58a46bebf81eee9640e76b602e43d09af82d89e1' into HEAD" [2022-07-15T10:13:01.240Z] > git rev-list --no-walk 7487ad10d00543b471dbeb0441a080f9856c7acf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-15T10:13:02.322Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-15T10:13:02.322Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-15T10:13:02.322Z] Dload Upload Total Spent Left Speed [2022-07-15T10:13:02.322Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 80077 0 --:--:-- --:--:-- --:--:-- 80077 [Pipeline] sh [2022-07-15T10:13:03.165Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-15T10:13:03.506Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-15T10:13:03.506Z] + sudo tee /etc/docker/daemon.new [2022-07-15T10:13:03.506Z] { [2022-07-15T10:13:03.506Z] "registry-mirrors": [ [2022-07-15T10:13:03.506Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-15T10:13:03.506Z] ], [2022-07-15T10:13:03.506Z] "bip": "10.250.0.254/24", [2022-07-15T10:13:03.506Z] "hosts": [ [2022-07-15T10:13:03.506Z] "tcp://0.0.0.0:5555", [2022-07-15T10:13:03.506Z] "unix:///var/run/docker.sock" [2022-07-15T10:13:03.506Z] ], [2022-07-15T10:13:03.506Z] "mtu": 1458, [2022-07-15T10:13:03.506Z] "selinux-enabled": true, [2022-07-15T10:13:03.506Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-15T10:13:03.506Z] } [Pipeline] sh [2022-07-15T10:13:03.851Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-15T10:13:04.190Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-15T10:13:22.690Z] provisioning config files... [2022-07-15T10:13:22.716Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config5663313360794057733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T10:13:23.072Z] ---> docker-login.sh [2022-07-15T10:13:23.072Z] nexus3.edgexfoundry.org:10001 [2022-07-15T10:13:23.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:13:23.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:13:23.943Z] Configure a credential helper to remove this warning. See [2022-07-15T10:13:23.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:13:23.943Z] [2022-07-15T10:13:23.943Z] Login Succeeded [2022-07-15T10:13:23.943Z] nexus3.edgexfoundry.org:10002 [2022-07-15T10:13:24.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:13:24.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:13:24.217Z] Configure a credential helper to remove this warning. See [2022-07-15T10:13:24.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:13:24.217Z] [2022-07-15T10:13:24.217Z] Login Succeeded [2022-07-15T10:13:24.217Z] nexus3.edgexfoundry.org:10003 [2022-07-15T10:13:24.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:13:24.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:13:24.773Z] Configure a credential helper to remove this warning. See [2022-07-15T10:13:24.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:13:24.773Z] [2022-07-15T10:13:24.773Z] Login Succeeded [2022-07-15T10:13:24.773Z] nexus3.edgexfoundry.org:10004 [2022-07-15T10:13:25.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:13:25.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:13:25.058Z] Configure a credential helper to remove this warning. See [2022-07-15T10:13:25.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:13:25.058Z] [2022-07-15T10:13:25.058Z] Login Succeeded [2022-07-15T10:13:25.058Z] docker.io [2022-07-15T10:13:25.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T10:13:25.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T10:13:25.928Z] Configure a credential helper to remove this warning. See [2022-07-15T10:13:25.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T10:13:25.928Z] [2022-07-15T10:13:25.928Z] Login Succeeded [2022-07-15T10:13:25.928Z] ---> docker-login.sh ends [Pipeline] } [2022-07-15T10:13:25.945Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-15T10:13:26.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T10:13:26.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T10:13:26.215Z] ========================================================= [2022-07-15T10:13:26.215Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-15T10:13:26.215Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T10:13:26.568Z] + 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-15T10:13:26.840Z] Sending build context to Docker daemon 6.459MB [2022-07-15T10:13:26.840Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-15T10:13:26.840Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-15T10:13:27.117Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-15T10:13:27.117Z] b3c136eddcbf: Pulling fs layer [2022-07-15T10:13:27.117Z] c0a3192eca97: Pulling fs layer [2022-07-15T10:13:27.117Z] a050256f5b6f: Pulling fs layer [2022-07-15T10:13:27.117Z] 656be50a0ddc: Pulling fs layer [2022-07-15T10:13:27.117Z] 2bbca73fdf42: Pulling fs layer [2022-07-15T10:13:27.117Z] 46d945488cbd: Pulling fs layer [2022-07-15T10:13:27.117Z] 8a5474983e97: Pulling fs layer [2022-07-15T10:13:27.117Z] 329c88fbcd65: Pulling fs layer [2022-07-15T10:13:27.117Z] 46d945488cbd: Waiting [2022-07-15T10:13:27.117Z] 8a5474983e97: Waiting [2022-07-15T10:13:27.117Z] 329c88fbcd65: Waiting [2022-07-15T10:13:27.117Z] 656be50a0ddc: Waiting [2022-07-15T10:13:27.117Z] 2bbca73fdf42: Waiting [2022-07-15T10:13:27.117Z] a050256f5b6f: Verifying Checksum [2022-07-15T10:13:27.117Z] a050256f5b6f: Download complete [2022-07-15T10:13:27.117Z] c0a3192eca97: Verifying Checksum [2022-07-15T10:13:27.117Z] c0a3192eca97: Download complete [2022-07-15T10:13:27.117Z] 2bbca73fdf42: Verifying Checksum [2022-07-15T10:13:27.117Z] 2bbca73fdf42: Download complete [2022-07-15T10:13:27.117Z] 46d945488cbd: Verifying Checksum [2022-07-15T10:13:27.117Z] 46d945488cbd: Download complete [2022-07-15T10:13:27.117Z] b3c136eddcbf: Verifying Checksum [2022-07-15T10:13:27.117Z] b3c136eddcbf: Download complete [2022-07-15T10:13:28.113Z] b3c136eddcbf: Pull complete [2022-07-15T10:13:28.394Z] 329c88fbcd65: Verifying Checksum [2022-07-15T10:13:28.394Z] 329c88fbcd65: Download complete [2022-07-15T10:13:28.672Z] c0a3192eca97: Pull complete [2022-07-15T10:13:29.271Z] a050256f5b6f: Pull complete [2022-07-15T10:13:29.543Z] 8a5474983e97: Verifying Checksum [2022-07-15T10:13:29.543Z] 8a5474983e97: Download complete [2022-07-15T10:13:30.134Z] 656be50a0ddc: Download complete [2022-07-15T10:13:45.260Z] 656be50a0ddc: Pull complete [2022-07-15T10:13:45.260Z] 2bbca73fdf42: Pull complete [2022-07-15T10:13:45.260Z] 46d945488cbd: Pull complete [2022-07-15T10:13:50.687Z] 8a5474983e97: Pull complete [2022-07-15T10:13:52.127Z] 329c88fbcd65: Pull complete [2022-07-15T10:13:52.127Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-15T10:13:52.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-15T10:13:52.402Z] ---> ff4287adb874 [2022-07-15T10:13:52.402Z] Step 3/13 : ARG MAKE="make build" [2022-07-15T10:13:53.380Z] ---> Running in f37763bb9694 [2022-07-15T10:13:53.380Z] Removing intermediate container f37763bb9694 [2022-07-15T10:13:53.380Z] ---> 412a41d342c7 [2022-07-15T10:13:53.380Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-15T10:13:53.657Z] ---> Running in 0664ed4c7df1 [2022-07-15T10:13:53.930Z] Removing intermediate container 0664ed4c7df1 [2022-07-15T10:13:53.930Z] ---> 25c01b6bcc10 [2022-07-15T10:13:53.930Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-15T10:13:53.930Z] ---> Running in 99a3a75cecb9 [2022-07-15T10:13:54.210Z] Removing intermediate container 99a3a75cecb9 [2022-07-15T10:13:54.210Z] ---> ee66e8dce407 [2022-07-15T10:13:54.210Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-15T10:13:54.488Z] ---> Running in 09a713ad58b9 [2022-07-15T10:13:54.763Z] Removing intermediate container 09a713ad58b9 [2022-07-15T10:13:54.763Z] ---> 4b9857e67386 [2022-07-15T10:13:54.763Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T10:13:54.763Z] ---> Running in 01fea04e84d9 [2022-07-15T10:13:56.763Z] Removing intermediate container 01fea04e84d9 [2022-07-15T10:13:56.763Z] ---> bb861daaf08e [2022-07-15T10:13:56.763Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-15T10:13:56.763Z] ---> Running in b13f1bbf8863 [2022-07-15T10:13:59.410Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-15T10:14:00.011Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-15T10:14:00.611Z] OK: 221 MiB in 51 packages [2022-07-15T10:14:01.601Z] Removing intermediate container b13f1bbf8863 [2022-07-15T10:14:01.601Z] ---> cc8c964f76ff [2022-07-15T10:14:01.601Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-15T10:14:01.601Z] ---> Running in 04f9a1866b28 [2022-07-15T10:14:01.873Z] Removing intermediate container 04f9a1866b28 [2022-07-15T10:14:01.873Z] ---> 5ff5df329e41 [2022-07-15T10:14:01.873Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-15T10:14:02.473Z] ---> b5bb0ff3ddb2 [2022-07-15T10:14:02.473Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T10:14:02.473Z] ---> Running in bf6d3b83bb4e [2022-07-15T10:14:49.661Z] Removing intermediate container bf6d3b83bb4e [2022-07-15T10:14:49.661Z] ---> 4bfebef0c209 [2022-07-15T10:14:49.661Z] Step 12/13 : COPY . . [2022-07-15T10:14:49.661Z] ---> f5fb9f9b5f55 [2022-07-15T10:14:49.661Z] Step 13/13 : RUN ${MAKE} [2022-07-15T10:14:49.661Z] ---> Running in 0c2393f5380e [2022-07-15T10:14:49.661Z] noop [2022-07-15T10:14:49.661Z] Removing intermediate container 0c2393f5380e [2022-07-15T10:14:49.661Z] ---> 7e871d67fb24 [2022-07-15T10:14:49.661Z] Successfully built 7e871d67fb24 [2022-07-15T10:14:49.661Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T10:14:50.026Z] + docker inspect -f . ci-base-image-arm64 [2022-07-15T10:14:50.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T10:14:50.281Z] prd-ubuntu20.04-docker-arm64-4c-16g-20207 does not seem to be running inside a container [2022-07-15T10:14:50.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-15T10:14:51.667Z] $ docker top 967e3733aa59d5db6e9cbc0f24b8609901361168e67107cc0b619910a88b308d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T10:14:52.600Z] + go version [2022-07-15T10:14:52.600Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-15T10:14:52.627Z] $ docker stop --time=1 967e3733aa59d5db6e9cbc0f24b8609901361168e67107cc0b619910a88b308d [2022-07-15T10:14:54.257Z] $ docker rm -f 967e3733aa59d5db6e9cbc0f24b8609901361168e67107cc0b619910a88b308d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T10:14:54.872Z] + docker inspect -f . ci-base-image-arm64 [2022-07-15T10:14:54.872Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T10:14:55.127Z] prd-ubuntu20.04-docker-arm64-4c-16g-20207 does not seem to be running inside a container [2022-07-15T10:14:55.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-15T10:14:56.468Z] $ docker top 52411d5cabd3e56dfb7b4986c0e5d31c3297768b410f427acf58e924db5f5c8c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T10:14:57.391Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-07-15T10:14:58.061Z] + make test [2022-07-15T10:14:58.061Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-15T10:14:59.503Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-15T10:16:36.371Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-15T10:16:36.371Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.092s coverage: 7.0% of statements [2022-07-15T10:16:36.371Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-15T10:16:54.679Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.908s coverage: 13.8% of statements [2022-07-15T10:16:54.679Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-15T10:16:54.679Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-15T10:17:16.937Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-15T10:17:16.937Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-15T10:17:16.937Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-15T10:17:19.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-15T10:17:19.609Z] $ docker stop --time=1 52411d5cabd3e56dfb7b4986c0e5d31c3297768b410f427acf58e924db5f5c8c [2022-07-15T10:17:21.427Z] $ docker rm -f 52411d5cabd3e56dfb7b4986c0e5d31c3297768b410f427acf58e924db5f5c8c [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-15T10:17:22.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-15T10:17:22.492Z] Warning: overwriting stash ‘coverage-report’ [2022-07-15T10:17:23.061Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-15T10:17:23.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-15T10:17:23.837Z] + ls -al . [2022-07-15T10:17:23.837Z] total 248 [2022-07-15T10:17:23.837Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 15 10:17 . [2022-07-15T10:17:23.837Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 10:12 .. [2022-07-15T10:17:23.837Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 10:13 .git [2022-07-15T10:17:23.837Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 10:12 .github [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 15 10:12 .gitignore [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 10:12 .golangci.yml [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 15 10:12 Attribution.txt [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 15 10:12 CHANGELOG.md [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 15 10:12 Dockerfile [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 10:12 GOVERNANCE.md [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 15 10:12 Jenkinsfile [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 15 10:12 LICENSE [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 15 10:12 Makefile [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 15 10:12 OWNERS.md [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 15 10:12 README.md [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 10:10 VERSION [2022-07-15T10:17:23.837Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 10:12 bin [2022-07-15T10:17:23.837Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 10:12 cmd [2022-07-15T10:17:23.837Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 15 10:16 coverage.out [2022-07-15T10:17:23.837Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 10:12 doc [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 15 10:12 go.mod [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 15 10:12 go.sum [2022-07-15T10:17:23.837Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 10:12 internal [2022-07-15T10:17:23.837Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 10:12 snap [2022-07-15T10:17:23.837Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 15 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T10:17:24.197Z] + 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=c3480060e4823314895ed470a1ad45f638ad9d1b --label arch=arm64 --label version=0.0.0 . [2022-07-15T10:17:24.478Z] Sending build context to Docker daemon 6.53MB [2022-07-15T10:17:24.753Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-15T10:17:24.753Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-15T10:17:24.753Z] ---> 7e871d67fb24 [2022-07-15T10:17:24.753Z] Step 3/26 : ARG MAKE="make build" [2022-07-15T10:17:24.753Z] ---> Running in e6b9d5bcf085 [2022-07-15T10:17:25.037Z] Removing intermediate container e6b9d5bcf085 [2022-07-15T10:17:25.037Z] ---> 4d3151d9bfd5 [2022-07-15T10:17:25.037Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-15T10:17:25.318Z] ---> Running in 6194f8f5ecdc [2022-07-15T10:17:25.592Z] Removing intermediate container 6194f8f5ecdc [2022-07-15T10:17:25.592Z] ---> 4d51b3d32ae5 [2022-07-15T10:17:25.592Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-15T10:17:25.592Z] ---> Running in dde7a2771eb3 [2022-07-15T10:17:25.873Z] Removing intermediate container dde7a2771eb3 [2022-07-15T10:17:25.873Z] ---> 06605494e3bc [2022-07-15T10:17:25.873Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-15T10:17:26.148Z] ---> Running in 7c25d4df0208 [2022-07-15T10:17:26.422Z] Removing intermediate container 7c25d4df0208 [2022-07-15T10:17:26.422Z] ---> 6d6f27406631 [2022-07-15T10:17:26.422Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T10:17:26.422Z] ---> Running in 83a481c2901e [2022-07-15T10:17:28.409Z] Removing intermediate container 83a481c2901e [2022-07-15T10:17:28.409Z] ---> 559c408b1dca [2022-07-15T10:17:28.409Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-15T10:17:28.409Z] ---> Running in 8f3e13c4e75d [2022-07-15T10:17:29.392Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-15T10:17:30.377Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-15T10:17:31.359Z] OK: 221 MiB in 51 packages [2022-07-15T10:17:31.959Z] Removing intermediate container 8f3e13c4e75d [2022-07-15T10:17:31.959Z] ---> c59ea6d95a32 [2022-07-15T10:17:31.959Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-15T10:17:32.234Z] ---> Running in 12080cae05a7 [2022-07-15T10:17:32.510Z] Removing intermediate container 12080cae05a7 [2022-07-15T10:17:32.510Z] ---> 0fee6da38ea6 [2022-07-15T10:17:32.510Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-15T10:17:33.110Z] ---> d45a3d83cacf [2022-07-15T10:17:33.110Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T10:17:33.110Z] ---> Running in d6807ca0961e [2022-07-15T10:17:35.131Z] Removing intermediate container d6807ca0961e [2022-07-15T10:17:35.131Z] ---> 63c4ac5ecc61 [2022-07-15T10:17:35.131Z] Step 12/26 : COPY . . [2022-07-15T10:17:36.574Z] ---> 5eed6dc9be72 [2022-07-15T10:17:36.574Z] Step 13/26 : RUN ${MAKE} [2022-07-15T10:17:36.574Z] ---> Running in 0281f9b14986 [2022-07-15T10:17:37.560Z] 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-15T10:19:59.477Z] Removing intermediate container 0281f9b14986 [2022-07-15T10:19:59.477Z] ---> 20b7196d8289 [2022-07-15T10:19:59.477Z] Step 14/26 : FROM alpine:3.15 [2022-07-15T10:19:59.477Z] 3.15: Pulling from library/alpine [2022-07-15T10:19:59.477Z] 9981e73032c8: Pulling fs layer [2022-07-15T10:19:59.477Z] 9981e73032c8: Verifying Checksum [2022-07-15T10:19:59.477Z] 9981e73032c8: Download complete [2022-07-15T10:19:59.477Z] 9981e73032c8: Pull complete [2022-07-15T10:19:59.477Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-15T10:19:59.477Z] Status: Downloaded newer image for alpine:3.15 [2022-07-15T10:19:59.477Z] ---> 3fb3c9af89a9 [2022-07-15T10:19:59.477Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-15T10:19:59.477Z] ---> Running in 69ea55059dd2 [2022-07-15T10:19:59.477Z] Removing intermediate container 69ea55059dd2 [2022-07-15T10:19:59.477Z] ---> 579ed038f4b9 [2022-07-15T10:19:59.477Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-15T10:19:59.477Z] ---> Running in 4845e5a8f1b3 [2022-07-15T10:19:59.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-15T10:19:59.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-15T10:19:59.477Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-15T10:19:59.477Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-15T10:19:59.477Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-15T10:19:59.477Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-15T10:19:59.477Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-15T10:19:59.477Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-15T10:19:59.477Z] Executing busybox-1.34.1-r5.trigger [2022-07-15T10:19:59.477Z] OK: 8 MiB in 20 packages [2022-07-15T10:19:59.477Z] Removing intermediate container 4845e5a8f1b3 [2022-07-15T10:19:59.477Z] ---> 8790bc37f264 [2022-07-15T10:19:59.477Z] Step 17/26 : WORKDIR / [2022-07-15T10:19:59.477Z] ---> Running in 620eec0cbdb6 [2022-07-15T10:19:59.477Z] Removing intermediate container 620eec0cbdb6 [2022-07-15T10:19:59.477Z] ---> 287a5bc79627 [2022-07-15T10:19:59.477Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-15T10:19:59.750Z] ---> 23441ccbb1b1 [2022-07-15T10:19:59.751Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-15T10:20:00.346Z] ---> 79cb06e8c4ce [2022-07-15T10:20:00.346Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-15T10:20:00.944Z] ---> 14f04971dadf [2022-07-15T10:20:00.944Z] Step 21/26 : EXPOSE 59984 [2022-07-15T10:20:00.944Z] ---> Running in a246b97533d7 [2022-07-15T10:20:01.223Z] Removing intermediate container a246b97533d7 [2022-07-15T10:20:01.223Z] ---> 39796ac39302 [2022-07-15T10:20:01.223Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-15T10:20:01.223Z] ---> Running in c277b101d3e3 [2022-07-15T10:20:01.821Z] Removing intermediate container c277b101d3e3 [2022-07-15T10:20:01.821Z] ---> 88802fa75fef [2022-07-15T10:20:01.821Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-15T10:20:01.821Z] ---> Running in 5e08a6268602 [2022-07-15T10:20:02.103Z] Removing intermediate container 5e08a6268602 [2022-07-15T10:20:02.103Z] ---> 77b0628dbc01 [2022-07-15T10:20:02.103Z] Step 24/26 : LABEL arch=arm64 [2022-07-15T10:20:02.103Z] ---> Running in 78e242e9f067 [2022-07-15T10:20:02.381Z] Removing intermediate container 78e242e9f067 [2022-07-15T10:20:02.381Z] ---> 7a4216199aa3 [2022-07-15T10:20:02.381Z] Step 25/26 : LABEL git_sha=c3480060e4823314895ed470a1ad45f638ad9d1b [2022-07-15T10:20:02.381Z] ---> Running in 0fee66e65ad7 [2022-07-15T10:20:02.976Z] Removing intermediate container 0fee66e65ad7 [2022-07-15T10:20:02.976Z] ---> e302984cbae3 [2022-07-15T10:20:02.976Z] Step 26/26 : LABEL version=0.0.0 [2022-07-15T10:20:02.976Z] ---> Running in 6603fad43958 [2022-07-15T10:20:03.249Z] Removing intermediate container 6603fad43958 [2022-07-15T10:20:03.249Z] ---> c07e819937a8 [2022-07-15T10:20:03.249Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-15T10:20:03.249Z] Successfully built c07e819937a8 [2022-07-15T10:20:03.249Z] 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-15T10:20:03.725Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-15T10:20:03.725Z] [2022-07-15T10:20:03.725Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T10:20:04.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-15T10:20:04.346Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-15T10:20:04.346Z] 8998bd30e6a1: Pulling fs layer [2022-07-15T10:20:04.346Z] 04944245beec: Pulling fs layer [2022-07-15T10:20:04.346Z] 699f458cf7ca: Pulling fs layer [2022-07-15T10:20:04.346Z] 765212b225bb: Pulling fs layer [2022-07-15T10:20:04.346Z] f23df028b6ca: Pulling fs layer [2022-07-15T10:20:04.346Z] d65c8cfc05b1: Pulling fs layer [2022-07-15T10:20:04.346Z] 2437ff75d9bd: Pulling fs layer [2022-07-15T10:20:04.346Z] 765212b225bb: Waiting [2022-07-15T10:20:04.346Z] f23df028b6ca: Waiting [2022-07-15T10:20:04.346Z] d65c8cfc05b1: Waiting [2022-07-15T10:20:04.346Z] 2437ff75d9bd: Waiting [2022-07-15T10:20:04.346Z] 04944245beec: Verifying Checksum [2022-07-15T10:20:04.346Z] 04944245beec: Download complete [2022-07-15T10:20:04.346Z] 765212b225bb: Verifying Checksum [2022-07-15T10:20:04.346Z] 765212b225bb: Download complete [2022-07-15T10:20:04.346Z] f23df028b6ca: Verifying Checksum [2022-07-15T10:20:04.346Z] f23df028b6ca: Download complete [2022-07-15T10:20:04.346Z] d65c8cfc05b1: Verifying Checksum [2022-07-15T10:20:04.346Z] d65c8cfc05b1: Download complete [2022-07-15T10:20:04.620Z] 699f458cf7ca: Verifying Checksum [2022-07-15T10:20:04.620Z] 699f458cf7ca: Download complete [2022-07-15T10:20:04.892Z] 8998bd30e6a1: Verifying Checksum [2022-07-15T10:20:04.892Z] 8998bd30e6a1: Download complete [2022-07-15T10:20:06.870Z] 2437ff75d9bd: Verifying Checksum [2022-07-15T10:20:06.870Z] 2437ff75d9bd: Download complete [2022-07-15T10:20:08.843Z] 8998bd30e6a1: Pull complete [2022-07-15T10:20:09.125Z] 04944245beec: Pull complete [2022-07-15T10:20:10.563Z] 699f458cf7ca: Pull complete [2022-07-15T10:20:10.837Z] 765212b225bb: Pull complete [2022-07-15T10:20:11.816Z] f23df028b6ca: Pull complete [2022-07-15T10:20:11.816Z] d65c8cfc05b1: Pull complete [2022-07-15T10:20:26.882Z] 2437ff75d9bd: Pull complete [2022-07-15T10:20:26.882Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-15T10:20:26.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-15T10:20:26.882Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T10:20:27.116Z] prd-ubuntu20.04-docker-arm64-4c-16g-20207 does not seem to be running inside a container [2022-07-15T10:20:27.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-15T10:20:30.066Z] $ docker top 691522a3aa5b4f33d92f692e6f7a1c0dd90a9dd01aa6011b8c5d988ded313b2f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T10:20:31.054Z] ---> job-cost.sh [2022-07-15T10:20:31.054Z] lf-activate-venv: SKIPPING [2022-07-15T10:20:31.054Z] INFO: No Stack... [2022-07-15T10:20:31.654Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-15T10:20:32.629Z] INFO: Archiving Costs [Pipeline] sh [2022-07-15T10:20:33.292Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2022-07-15T10:20:33.292Z] + cut -d, -f6 [Pipeline] lock [2022-07-15T10:20:33.355Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-108-2-stack-cost] [2022-07-15T10:20:33.361Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-108-2-stack-cost] did not exist. Created. [2022-07-15T10:20:33.361Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-108-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-15T10:20:34.046Z] /w/workspace/device-onvif-camera/2@tmp/durable-7ff955ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-15T10:20:34.720Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-15T10:20:34.748Z] Warning: overwriting stash ‘stack-cost’ [2022-07-15T10:20:34.803Z] Stashed 1 file(s) [Pipeline] } [2022-07-15T10:20:34.813Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-108-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-15T10:20:34.837Z] $ docker stop --time=1 691522a3aa5b4f33d92f692e6f7a1c0dd90a9dd01aa6011b8c5d988ded313b2f [2022-07-15T10:20:36.352Z] $ docker rm -f 691522a3aa5b4f33d92f692e6f7a1c0dd90a9dd01aa6011b8c5d988ded313b2f [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-15T10:20:36.812Z] provisioning config files... [2022-07-15T10:20:36.820Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-108@tmp/config2023739454638556885tmp [Pipeline] { [Pipeline] sh [2022-07-15T10:20:37.111Z] + set +x [2022-07-15T10:20:37.111Z] + curl -s https://codecov.io/bash [2022-07-15T10:20:37.111Z] + bash -s -- [2022-07-15T10:20:37.111Z] [2022-07-15T10:20:37.111Z] _____ _ [2022-07-15T10:20:37.111Z] / ____| | | [2022-07-15T10:20:37.111Z] | | ___ __| | ___ ___ _____ __ [2022-07-15T10:20:37.111Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-15T10:20:37.111Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-15T10:20:37.111Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-15T10:20:37.111Z] Bash-1.0.6 [2022-07-15T10:20:37.111Z] [2022-07-15T10:20:37.111Z] [2022-07-15T10:20:37.111Z] ==> git version 2.25.1 found [2022-07-15T10:20:37.111Z] ==> 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-15T10:20:37.111Z] Release-Date: 2020-01-08 [2022-07-15T10:20:37.111Z] 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-15T10:20:37.111Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-15T10:20:37.111Z] ==> Jenkins CI detected. [2022-07-15T10:20:37.111Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-108 [2022-07-15T10:20:37.111Z] project root: . [2022-07-15T10:20:37.111Z] --> token set from env [2022-07-15T10:20:37.111Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-15T10:20:37.111Z] ==> Running gcov in . (disable via -X gcov) [2022-07-15T10:20:37.111Z] ==> Python coveragepy not found [2022-07-15T10:20:37.111Z] ==> Searching for coverage reports in: [2022-07-15T10:20:37.111Z] + . [2022-07-15T10:20:37.111Z] -> Found 1 reports [2022-07-15T10:20:37.111Z] ==> Detecting git/mercurial file structure [2022-07-15T10:20:37.111Z] ==> Reading reports [2022-07-15T10:20:37.371Z] + ./coverage.out bytes=70262 [2022-07-15T10:20:37.371Z] ==> Appending adjustments [2022-07-15T10:20:37.371Z] https://docs.codecov.io/docs/fixing-reports [2022-07-15T10:20:37.371Z] + Found adjustments [2022-07-15T10:20:37.371Z] ==> Gzipping contents [2022-07-15T10:20:37.371Z] 12K /tmp/codecov.kARo5Y.gz [2022-07-15T10:20:37.371Z] ==> Uploading reports [2022-07-15T10:20:37.371Z] url: https://codecov.io [2022-07-15T10:20:37.371Z] query: branch=PR-108&commit=e2422a13b24b132736ba1015718c862948f214fb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-108%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=108&job=&cmd_args= [2022-07-15T10:20:37.371Z] -> Pinging Codecov [2022-07-15T10:20:37.371Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-108&commit=e2422a13b24b132736ba1015718c862948f214fb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-108%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=108&job=&cmd_args= [2022-07-15T10:20:37.631Z] -> Uploading to [2022-07-15T10:20:37.631Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-15/F29A59C45E3A92E06B3E522C9905F8EF/e2422a13b24b132736ba1015718c862948f214fb/1ef4762e-16f3-4240-92a1-0aa5014e3dd8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220715%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220715T102037Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f2de7b4effbcdc6c1440f2ebae4f1abcadefeb0343de58e4f6d87bc2bf9dece4 [2022-07-15T10:20:37.631Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-15T10:20:37.631Z] Dload Upload Total Spent Left Speed [2022-07-15T10:20:37.892Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9543 0 0 100 9543 0 39433 --:--:-- --:--:-- --:--:-- 39433 [2022-07-15T10:20:37.892Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/e2422a13b24b132736ba1015718c862948f214fb [Pipeline] } [2022-07-15T10:20:37.900Z] 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-15T10:20:38.594Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-108/archives ] [2022-07-15T10:20:38.594Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-108/archives [2022-07-15T10:20:38.594Z] total 16 [2022-07-15T10:20:38.594Z] drwxr-xr-x 3 root root 4096 Jul 15 10:12 . [2022-07-15T10:20:38.594Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 15 10:12 .. [2022-07-15T10:20:38.594Z] drwxr-xr-x 2 root root 4096 Jul 15 10:12 cost [2022-07-15T10:20:38.594Z] -rw-r--r-- 1 root root 90 Jul 15 10:12 cost.csv [2022-07-15T10:20:38.594Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-108/archives [2022-07-15T10:20:38.594Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-108/archives [2022-07-15T10:20:38.594Z] total 16 [2022-07-15T10:20:38.594Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 10:12 . [2022-07-15T10:20:38.594Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 15 10:12 .. [2022-07-15T10:20:38.594Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 10:12 cost [2022-07-15T10:20:38.594Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 15 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-15T10:20:38.888Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T10:20:39.758Z] ---> package-listing.sh [2022-07-15T10:20:39.758Z] ++ facter osfamily [2022-07-15T10:20:39.758Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-15T10:20:40.020Z] + OS_FAMILY=debian [2022-07-15T10:20:40.020Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-108 [2022-07-15T10:20:40.020Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-15T10:20:40.020Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-15T10:20:40.020Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-15T10:20:40.020Z] + PACKAGES=/tmp/packages_start.txt [2022-07-15T10:20:40.020Z] + '[' /w/workspace/undry_device-onvif-camera_PR-108 ']' [2022-07-15T10:20:40.020Z] + PACKAGES=/tmp/packages_end.txt [2022-07-15T10:20:40.020Z] + case "${OS_FAMILY}" in [2022-07-15T10:20:40.020Z] + dpkg -l [2022-07-15T10:20:40.020Z] + grep '^ii' [2022-07-15T10:20:40.020Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-15T10:20:40.020Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-15T10:20:40.020Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-15T10:20:40.020Z] + '[' /w/workspace/undry_device-onvif-camera_PR-108 ']' [2022-07-15T10:20:40.020Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-108/archives/ [2022-07-15T10:20:40.020Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-108/archives/ [Pipeline] echo [2022-07-15T10:20:40.034Z] 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-108/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-15T10:20:40.316Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T10:20:40.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T10:20:40.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T10:20:40.964Z] prd-ubuntu20.04-docker-8c-8g-20205 does not seem to be running inside a container [2022-07-15T10:20:40.999Z] $ 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-108/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-108 -v /w/workspace/undry_device-onvif-camera_PR-108:/w/workspace/undry_device-onvif-camera_PR-108:rw,z -v /w/workspace/undry_device-onvif-camera_PR-108@tmp:/w/workspace/undry_device-onvif-camera_PR-108@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-15T10:20:41.256Z] $ docker top f750ad5926eb6f27bb8fb5bc237d295c41bd08bbea348e90077033bca3e26d11 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T10:20:41.614Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-15T10:20:41.905Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-15T10:20:42.194Z] + ls /var/log/sa-host [2022-07-15T10:20:42.194Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-15T10:20:42.332Z] provisioning config files... [2022-07-15T10:20:42.340Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-108@tmp/config6193778340848084483tmp [Pipeline] { [Pipeline] echo [2022-07-15T10:20:42.354Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T10:20:42.636Z] ---> create-netrc.sh [Pipeline] } [2022-07-15T10:20:42.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-15T10:20:42.978Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-15T10:20:42.987Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T10:20:43.271Z] ---> sudo-logs.sh [2022-07-15T10:20:43.272Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-15T10:20:43.301Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T10:20:43.597Z] ---> job-cost.sh [2022-07-15T10:20:43.597Z] lf-activate-venv: SKIPPING [2022-07-15T10:20:43.597Z] DEBUG: total: 0.2199999988079071 [2022-07-15T10:20:43.597Z] INFO: Retrieving Stack Cost... [2022-07-15T10:20:43.859Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-15T10:20:44.431Z] INFO: Archiving Costs [Pipeline] echo [2022-07-15T10:20:44.442Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T10:20:44.725Z] ---> logs-deploy.sh [2022-07-15T10:20:44.725Z] lf-activate-venv: SKIPPING [2022-07-15T10:20:44.725Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-108/2 [2022-07-15T10:20:44.725Z] INFO: archiving workspace using pattern(s): [2022-07-15T10:20:45.668Z] Archives upload complete. [2022-07-15T10:20:45.928Z] INFO: archiving logs to Nexus