Pull request #90 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of brianointel for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8374ad439d5c8571ae7424cc77de71a785d5a0ca rather than d3b233c8ff56e5a9991a70e7f373557ecc6582ff Obtained Jenkinsfile from 8374ad439d5c8571ae7424cc77de71a785d5a0ca 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-ssh9854420568973792263.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh16563029737035683098.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-90/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-90/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6811570350761534075.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh16861936887141177799.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-90/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-90/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16550942689968181492.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.17 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 ‘prd-ubuntu20.04-docker-8c-8g-15545’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15547 in /w/workspace/oundry_device-onvif-camera_PR-90 [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/oundry_device-onvif-camera_PR-90 # 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 > 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/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit d3b233c8ff56e5a9991a70e7f373557ecc6582ff Merge succeeded, producing 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 Checking out Revision 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 (PR-90) > git config core.sparsecheckout # timeout=10 > git checkout -f d3b233c8ff56e5a9991a70e7f373557ecc6582ff # 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 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 # timeout=10 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-24T17:39:19.167Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-24T17:39:19.224Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-24T17:39:19.237Z] ========================================================= [2022-06-24T17:39:19.237Z] EdgeX Global Pipelines Version Info [2022-06-24T17:39:19.237Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 04e5de50dd3c8b18551e1b43de0dd5f73c11856b # timeout=10 [2022-06-24T17:39:19.985Z] ------------------- [2022-06-24T17:39:19.985Z] stable info: [2022-06-24T17:39:19.985Z] ------------------- [2022-06-24T17:39:19.985Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-24T17:39:19.985Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T17:39:19.985Z] Message: update stable to v1.0.234 [2022-06-24T17:39:20.559Z] ------------------- [2022-06-24T17:39:20.559Z] experimental info: [2022-06-24T17:39:20.559Z] ------------------- [2022-06-24T17:39:20.559Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-24T17:39:20.559Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T17:39:20.559Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-24T17:39:20.733Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-24T17:39:20.746Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-24T17:39:20.758Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-24T17:39:20.769Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-24T17:39:20.780Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-24T17:39:20.792Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-24T17:39:20.803Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-24T17:39:20.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-24T17:39:20.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-24T17:39:20.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-24T17:39:20.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-24T17:39:20.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-24T17:39:20.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-24T17:39:20.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-24T17:39:20.897Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T17:39:20.908Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T17:39:20.919Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T17:39:20.932Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T17:39:20.947Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-24T17:39:20.958Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-24T17:39:20.966Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-24T17:39:20.974Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-24T17:39:20.982Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-24T17:39:20.990Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-24T17:39:20.998Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-24T17:39:21.009Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-24T17:39:21.023Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-24T17:39:21.034Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2022-06-24T17:39:21.045Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2022-06-24T17:39:21.059Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2022-06-24T17:39:21.070Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 [Pipeline] echo [2022-06-24T17:39:21.081Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f444ce [Pipeline] echo [2022-06-24T17:39:21.096Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T17:39:21.140Z] provisioning config files... [2022-06-24T17:39:21.154Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config391772140087057461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:39:21.460Z] ---> docker-login.sh [2022-06-24T17:39:21.460Z] nexus3.edgexfoundry.org:10001 [2022-06-24T17:39:21.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:39:21.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:39:21.723Z] Configure a credential helper to remove this warning. See [2022-06-24T17:39:21.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:39:21.723Z] [2022-06-24T17:39:21.723Z] Login Succeeded [2022-06-24T17:39:21.723Z] nexus3.edgexfoundry.org:10002 [2022-06-24T17:39:21.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:39:21.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:39:21.985Z] Configure a credential helper to remove this warning. See [2022-06-24T17:39:21.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:39:21.985Z] [2022-06-24T17:39:21.985Z] Login Succeeded [2022-06-24T17:39:21.985Z] nexus3.edgexfoundry.org:10003 [2022-06-24T17:39:21.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:39:21.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:39:21.985Z] Configure a credential helper to remove this warning. See [2022-06-24T17:39:21.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:39:21.985Z] [2022-06-24T17:39:21.985Z] Login Succeeded [2022-06-24T17:39:21.985Z] nexus3.edgexfoundry.org:10004 [2022-06-24T17:39:22.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:39:22.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:39:22.248Z] Configure a credential helper to remove this warning. See [2022-06-24T17:39:22.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:39:22.248Z] [2022-06-24T17:39:22.248Z] Login Succeeded [2022-06-24T17:39:22.248Z] docker.io [2022-06-24T17:39:22.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:39:22.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:39:22.821Z] Configure a credential helper to remove this warning. See [2022-06-24T17:39:22.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:39:22.821Z] [2022-06-24T17:39:22.821Z] Login Succeeded [2022-06-24T17:39:22.821Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T17:39:22.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-24T17:39:23.255Z] + git rev-list -1 --merges 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46~1..8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 [Pipeline] echo [2022-06-24T17:39:23.284Z] -----------> git rev-list -1 --merges 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46~1..8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 [2022-06-24T17:39:23.284Z] 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 [false] [Pipeline] sh [2022-06-24T17:39:23.577Z] + git log --format=format:%s -1 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 [Pipeline] echo [2022-06-24T17:39:23.593Z] ========================================================= [2022-06-24T17:39:23.593Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-24T17:39:23.593Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T17:39:23.935Z] + git log --format=format:%s -1 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 [Pipeline] echo [2022-06-24T17:39:23.946Z] [semverPrep] GIT_COMMIT: 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-24T17:39:23.957Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-24T17:39:24.326Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-24T17:39:24.326Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-24T17:39:24.326Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-24T17:39:24.326Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-24T17:39:24.326Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-24T17:39:24.327Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-24T17:39:24.327Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:39:24.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T17:39:24.741Z] [2022-06-24T17:39:24.741Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:39:25.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T17:39:25.044Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-24T17:39:25.044Z] 42c077c10790: Pulling fs layer [2022-06-24T17:39:25.044Z] f63e77b7563a: Pulling fs layer [2022-06-24T17:39:25.044Z] bd5fdadae976: Pulling fs layer [2022-06-24T17:39:25.044Z] 205491f53016: Pulling fs layer [2022-06-24T17:39:25.044Z] df18705c85c3: Pulling fs layer [2022-06-24T17:39:25.044Z] bdb3f477010e: Pulling fs layer [2022-06-24T17:39:25.044Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-24T17:39:25.044Z] 2c6e9b1d212d: Pulling fs layer [2022-06-24T17:39:25.044Z] bdb8f0575790: Pulling fs layer [2022-06-24T17:39:25.044Z] 386e3cb2ff24: Pulling fs layer [2022-06-24T17:39:25.045Z] 2343380bae48: Pulling fs layer [2022-06-24T17:39:25.045Z] bdb8f0575790: Waiting [2022-06-24T17:39:25.045Z] 386e3cb2ff24: Waiting [2022-06-24T17:39:25.045Z] 2343380bae48: Waiting [2022-06-24T17:39:25.045Z] c8a8fc8e1c8f: Waiting [2022-06-24T17:39:25.045Z] df18705c85c3: Waiting [2022-06-24T17:39:25.045Z] 205491f53016: Waiting [2022-06-24T17:39:25.045Z] 2c6e9b1d212d: Waiting [2022-06-24T17:39:25.045Z] f63e77b7563a: Download complete [2022-06-24T17:39:25.045Z] 205491f53016: Verifying Checksum [2022-06-24T17:39:25.045Z] 205491f53016: Download complete [2022-06-24T17:39:25.045Z] df18705c85c3: Verifying Checksum [2022-06-24T17:39:25.045Z] df18705c85c3: Download complete [2022-06-24T17:39:25.304Z] bdb3f477010e: Verifying Checksum [2022-06-24T17:39:25.304Z] bd5fdadae976: Verifying Checksum [2022-06-24T17:39:25.304Z] bd5fdadae976: Download complete [2022-06-24T17:39:25.304Z] 2c6e9b1d212d: Verifying Checksum [2022-06-24T17:39:25.304Z] 2c6e9b1d212d: Download complete [2022-06-24T17:39:25.304Z] bdb8f0575790: Download complete [2022-06-24T17:39:25.304Z] 386e3cb2ff24: Verifying Checksum [2022-06-24T17:39:25.304Z] 386e3cb2ff24: Download complete [2022-06-24T17:39:25.304Z] 2343380bae48: Verifying Checksum [2022-06-24T17:39:25.304Z] 2343380bae48: Download complete [2022-06-24T17:39:25.304Z] 42c077c10790: Verifying Checksum [2022-06-24T17:39:25.304Z] 42c077c10790: Download complete [2022-06-24T17:39:25.563Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-24T17:39:25.563Z] c8a8fc8e1c8f: Download complete [2022-06-24T17:39:26.501Z] 42c077c10790: Pull complete [2022-06-24T17:39:26.761Z] f63e77b7563a: Pull complete [2022-06-24T17:39:27.333Z] bd5fdadae976: Pull complete [2022-06-24T17:39:27.333Z] 205491f53016: Pull complete [2022-06-24T17:39:27.593Z] df18705c85c3: Pull complete [2022-06-24T17:39:27.593Z] bdb3f477010e: Pull complete [2022-06-24T17:39:29.505Z] c8a8fc8e1c8f: Pull complete [2022-06-24T17:39:29.767Z] 2c6e9b1d212d: Pull complete [2022-06-24T17:39:29.767Z] bdb8f0575790: Pull complete [2022-06-24T17:39:29.767Z] 386e3cb2ff24: Pull complete [2022-06-24T17:39:30.027Z] 2343380bae48: Pull complete [2022-06-24T17:39:30.027Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-24T17:39:30.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T17:39:30.027Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:39:30.128Z] prd-ubuntu20.04-docker-8c-8g-15547 does not seem to be running inside a container [2022-06-24T17:39:30.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@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-06-24T17:39:31.386Z] $ docker top 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde -eo pid,comm [2022-06-24T17:39:31.451Z] 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-06-24T17:39:31.451Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-24T17:39:31.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T17:39:31.485Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T17:39:31.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T17:39:31.618Z] $ docker exec 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde ssh-agent [2022-06-24T17:39:31.729Z] SSH_AUTH_SOCK=/tmp/ssh-iBQfbcu3D0cW/agent.35 [2022-06-24T17:39:31.729Z] SSH_AGENT_PID=41 [2022-06-24T17:39:31.737Z] Running ssh-add (command line suppressed) [2022-06-24T17:39:31.850Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_1182880184768156798.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_1182880184768156798.key) [2022-06-24T17:39:31.861Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T17:39:32.148Z] + git tag --points-at HEAD [Pipeline] } [2022-06-24T17:39:32.170Z] $ docker exec --env ******** --env ******** 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde ssh-agent -k [2022-06-24T17:39:32.280Z] unset SSH_AUTH_SOCK; [2022-06-24T17:39:32.280Z] unset SSH_AGENT_PID; [2022-06-24T17:39:32.280Z] echo Agent pid 41 killed; [2022-06-24T17:39:32.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-24T17:39:32.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T17:39:32.313Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T17:39:32.458Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T17:39:32.464Z] $ docker exec 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde ssh-agent [2022-06-24T17:39:32.593Z] SSH_AUTH_SOCK=/tmp/ssh-rFekDibLHkY7/agent.74 [2022-06-24T17:39:32.593Z] SSH_AGENT_PID=80 [2022-06-24T17:39:32.598Z] Running ssh-add (command line suppressed) [2022-06-24T17:39:32.714Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_2421443366676551846.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_2421443366676551846.key) [2022-06-24T17:39:32.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T17:39:33.017Z] + git semver init [2022-06-24T17:39:33.278Z] 2022-06-24 17:39:33,234 [run_init] DEBUG init version:0.0.0 force:False [2022-06-24T17:39:33.278Z] 2022-06-24 17:39:33,234 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-24T17:39:33.278Z] 2022-06-24 17:39:33,235 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-24T17:39:33.278Z] 2022-06-24 17:39:33,235 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-90/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90, universal_newlines=False, shell=None, istream=None) [2022-06-24T17:39:33.849Z] 2022-06-24 17:39:33,844 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude [2022-06-24T17:39:33.849Z] 2022-06-24 17:39:33,845 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 with force:False [2022-06-24T17:39:33.849Z] 2022-06-24 17:39:33,845 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-24T17:39:33.849Z] 2022-06-24 17:39:33,850 [execute] INFO git cat-file --batch-check [2022-06-24T17:39:33.849Z] 2022-06-24 17:39:33,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) [2022-06-24T17:39:34.109Z] 2022-06-24 17:39:33,858 [execute] INFO git cat-file --batch [2022-06-24T17:39:34.109Z] 2022-06-24 17:39:33,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) [2022-06-24T17:39:34.109Z] 2022-06-24 17:39:33,863 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-24T17:39:34.109Z] 0.0.0 [Pipeline] } [2022-06-24T17:39:34.122Z] $ docker exec --env ******** --env ******** 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde ssh-agent -k [2022-06-24T17:39:34.232Z] unset SSH_AUTH_SOCK; [2022-06-24T17:39:34.233Z] unset SSH_AGENT_PID; [2022-06-24T17:39:34.233Z] echo Agent pid 80 killed; [2022-06-24T17:39:34.240Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-24T17:39:34.552Z] + git semver [Pipeline] } [2022-06-24T17:39:34.828Z] $ docker stop --time=1 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde [2022-06-24T17:39:36.121Z] $ docker rm -f 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-24T17:39:36.466Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-24T17:39:36.701Z] Stashed 1 file(s) [Pipeline] echo [2022-06-24T17:39:36.703Z] [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-06-24T17:39:36.835Z] provisioning config files... [2022-06-24T17:39:36.842Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5424721540883662140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:39:37.151Z] ---> docker-login.sh [2022-06-24T17:39:37.151Z] nexus3.edgexfoundry.org:10001 [2022-06-24T17:39:37.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:39:37.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:39:37.151Z] Configure a credential helper to remove this warning. See [2022-06-24T17:39:37.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:39:37.151Z] [2022-06-24T17:39:37.151Z] Login Succeeded [2022-06-24T17:39:37.151Z] nexus3.edgexfoundry.org:10002 [2022-06-24T17:39:37.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:39:37.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:39:37.412Z] Configure a credential helper to remove this warning. See [2022-06-24T17:39:37.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:39:37.412Z] [2022-06-24T17:39:37.412Z] Login Succeeded [2022-06-24T17:39:37.412Z] nexus3.edgexfoundry.org:10003 [2022-06-24T17:39:37.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:39:37.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:39:37.412Z] Configure a credential helper to remove this warning. See [2022-06-24T17:39:37.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:39:37.412Z] [2022-06-24T17:39:37.412Z] Login Succeeded [2022-06-24T17:39:37.412Z] nexus3.edgexfoundry.org:10004 [2022-06-24T17:39:37.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:39:37.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:39:37.673Z] Configure a credential helper to remove this warning. See [2022-06-24T17:39:37.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:39:37.673Z] [2022-06-24T17:39:37.673Z] Login Succeeded [2022-06-24T17:39:37.673Z] docker.io [2022-06-24T17:39:37.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:39:37.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:39:37.933Z] Configure a credential helper to remove this warning. See [2022-06-24T17:39:37.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:39:37.933Z] [2022-06-24T17:39:37.933Z] Login Succeeded [2022-06-24T17:39:37.933Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T17:39:37.941Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T17:39:38.005Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T17:39:38.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T17:39:38.027Z] ========================================================= [2022-06-24T17:39:38.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-24T17:39:38.027Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:39:38.344Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-24T17:39:38.344Z] Sending build context to Docker daemon 9.023MB [2022-06-24T17:39:38.344Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T17:39:38.344Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T17:39:38.344Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-24T17:39:38.344Z] 59bf1c3509f3: Pulling fs layer [2022-06-24T17:39:38.344Z] 666ba61612fd: Pulling fs layer [2022-06-24T17:39:38.344Z] 8ed8ca486205: Pulling fs layer [2022-06-24T17:39:38.344Z] cc1cd167ecdc: Pulling fs layer [2022-06-24T17:39:38.344Z] c516ae0d96e1: Pulling fs layer [2022-06-24T17:39:38.344Z] 684cea983483: Pulling fs layer [2022-06-24T17:39:38.344Z] dd3240ac7de5: Pulling fs layer [2022-06-24T17:39:38.344Z] b1e948a4e11c: Pulling fs layer [2022-06-24T17:39:38.344Z] a8fd76ee1af6: Pulling fs layer [2022-06-24T17:39:38.344Z] 646ad004c059: Pulling fs layer [2022-06-24T17:39:38.344Z] dd3240ac7de5: Waiting [2022-06-24T17:39:38.344Z] b1e948a4e11c: Waiting [2022-06-24T17:39:38.344Z] cc1cd167ecdc: Waiting [2022-06-24T17:39:38.344Z] 684cea983483: Waiting [2022-06-24T17:39:38.344Z] a8fd76ee1af6: Waiting [2022-06-24T17:39:38.344Z] 646ad004c059: Waiting [2022-06-24T17:39:38.344Z] c516ae0d96e1: Waiting [2022-06-24T17:39:38.344Z] 8ed8ca486205: Download complete [2022-06-24T17:39:38.344Z] 666ba61612fd: Download complete [2022-06-24T17:39:38.344Z] c516ae0d96e1: Verifying Checksum [2022-06-24T17:39:38.344Z] c516ae0d96e1: Download complete [2022-06-24T17:39:38.603Z] 684cea983483: Verifying Checksum [2022-06-24T17:39:38.603Z] 684cea983483: Download complete [2022-06-24T17:39:38.603Z] dd3240ac7de5: Download complete [2022-06-24T17:39:38.603Z] 59bf1c3509f3: Verifying Checksum [2022-06-24T17:39:38.603Z] 59bf1c3509f3: Download complete [2022-06-24T17:39:38.603Z] 59bf1c3509f3: Pull complete [2022-06-24T17:39:38.603Z] b1e948a4e11c: Verifying Checksum [2022-06-24T17:39:38.603Z] b1e948a4e11c: Download complete [2022-06-24T17:39:38.865Z] 666ba61612fd: Pull complete [2022-06-24T17:39:38.865Z] 8ed8ca486205: Pull complete [2022-06-24T17:39:38.865Z] 646ad004c059: Verifying Checksum [2022-06-24T17:39:38.865Z] 646ad004c059: Download complete [2022-06-24T17:39:39.125Z] a8fd76ee1af6: Verifying Checksum [2022-06-24T17:39:39.125Z] a8fd76ee1af6: Download complete [2022-06-24T17:39:39.125Z] cc1cd167ecdc: Verifying Checksum [2022-06-24T17:39:39.125Z] cc1cd167ecdc: Download complete [2022-06-24T17:39:42.417Z] cc1cd167ecdc: Pull complete [2022-06-24T17:39:42.678Z] c516ae0d96e1: Pull complete [2022-06-24T17:39:42.678Z] 684cea983483: Pull complete [2022-06-24T17:39:42.678Z] dd3240ac7de5: Pull complete [2022-06-24T17:39:42.936Z] b1e948a4e11c: Pull complete [2022-06-24T17:39:44.843Z] a8fd76ee1af6: Pull complete [2022-06-24T17:39:45.414Z] 646ad004c059: Pull complete [2022-06-24T17:39:45.414Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-24T17:39:45.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-24T17:39:45.414Z] ---> 8f69c11f6b0c [2022-06-24T17:39:45.414Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T17:39:46.797Z] ---> Running in cdbd87fea2ed [2022-06-24T17:39:46.798Z] Removing intermediate container cdbd87fea2ed [2022-06-24T17:39:46.798Z] ---> c7d9edc6335d [2022-06-24T17:39:46.798Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T17:39:46.798Z] ---> Running in 0619cd91d2f7 [2022-06-24T17:39:47.057Z] Removing intermediate container 0619cd91d2f7 [2022-06-24T17:39:47.058Z] ---> 65613051fab2 [2022-06-24T17:39:47.058Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T17:39:47.058Z] ---> Running in 0323a2f66ffc [2022-06-24T17:39:47.058Z] Removing intermediate container 0323a2f66ffc [2022-06-24T17:39:47.058Z] ---> 9d453cd02e6c [2022-06-24T17:39:47.058Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T17:39:47.058Z] ---> Running in e190a0e8e31d [2022-06-24T17:39:47.318Z] Removing intermediate container e190a0e8e31d [2022-06-24T17:39:47.318Z] ---> ce377f18b466 [2022-06-24T17:39:47.318Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T17:39:47.318Z] ---> Running in 87118b445013 [2022-06-24T17:39:47.888Z] Removing intermediate container 87118b445013 [2022-06-24T17:39:47.888Z] ---> 64eeab79ecd1 [2022-06-24T17:39:47.888Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T17:39:47.888Z] ---> Running in 3c738150b71a [2022-06-24T17:39:48.149Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-24T17:39:49.090Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-24T17:39:49.350Z] OK: 221 MiB in 52 packages [2022-06-24T17:39:49.613Z] Removing intermediate container 3c738150b71a [2022-06-24T17:39:49.613Z] ---> f70b235ec8a5 [2022-06-24T17:39:49.613Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T17:39:49.613Z] ---> Running in 4aa8bfb82cbd [2022-06-24T17:39:49.613Z] Removing intermediate container 4aa8bfb82cbd [2022-06-24T17:39:49.613Z] ---> 88041f9a7fad [2022-06-24T17:39:49.613Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T17:39:49.873Z] ---> 730350b93218 [2022-06-24T17:39:49.873Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T17:39:49.873Z] ---> Running in 689c50737a1e [2022-06-24T17:39:51.807Z] Still waiting to schedule task [2022-06-24T17:39:51.807Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15546’ is offline [2022-06-24T17:40:04.780Z] Removing intermediate container 689c50737a1e [2022-06-24T17:40:04.780Z] ---> c66e18bc3f62 [2022-06-24T17:40:04.780Z] Step 12/13 : COPY . . [2022-06-24T17:40:04.780Z] ---> ba0d357cb9a5 [2022-06-24T17:40:04.780Z] Step 13/13 : RUN ${MAKE} [2022-06-24T17:40:04.780Z] ---> Running in cfb5da1a80db [2022-06-24T17:40:04.780Z] noop [2022-06-24T17:40:04.780Z] Removing intermediate container cfb5da1a80db [2022-06-24T17:40:04.780Z] ---> b1be2eece950 [2022-06-24T17:40:04.780Z] Successfully built b1be2eece950 [2022-06-24T17:40:04.780Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:40:05.087Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T17:40:05.087Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:40:05.168Z] prd-ubuntu20.04-docker-8c-8g-15547 does not seem to be running inside a container [2022-06-24T17:40:05.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@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-06-24T17:40:05.589Z] $ docker top afd1cdb27401a6bc47d45af4c5a7b62116a24e91f3ef1c762cacd7d083161fab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T17:40:05.938Z] + go version [2022-06-24T17:40:05.938Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-24T17:40:05.951Z] $ docker stop --time=1 afd1cdb27401a6bc47d45af4c5a7b62116a24e91f3ef1c762cacd7d083161fab [2022-06-24T17:40:07.221Z] $ docker rm -f afd1cdb27401a6bc47d45af4c5a7b62116a24e91f3ef1c762cacd7d083161fab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:40:07.676Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T17:40:07.676Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:40:07.752Z] prd-ubuntu20.04-docker-8c-8g-15547 does not seem to be running inside a container [2022-06-24T17:40:07.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@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-06-24T17:40:08.151Z] $ docker top b96f2397fbdf43638fc92f077804ba7dcbb7cb8529fd1dcf5f153b46fae967fc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T17:40:08.510Z] + make test [2022-06-24T17:40:08.510Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T17:40:08.768Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T17:40:08.768Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-24T17:40:08.768Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-24T17:40:08.768Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T17:40:18.755Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-24T17:40:22.048Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.832s coverage: 13.8% of statements [2022-06-24T17:40:22.048Z] FAIL [2022-06-24T17:40:22.048Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-24T17:40:22.064Z] $ docker stop --time=1 b96f2397fbdf43638fc92f077804ba7dcbb7cb8529fd1dcf5f153b46fae967fc [2022-06-24T17:40:23.671Z] $ docker rm -f b96f2397fbdf43638fc92f077804ba7dcbb7cb8529fd1dcf5f153b46fae967fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:40:24.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T17:40:24.240Z] [2022-06-24T17:40:24.240Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:40:24.544Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T17:40:24.544Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-24T17:40:24.544Z] 5eb5b503b376: Pulling fs layer [2022-06-24T17:40:24.544Z] 5c69ac0246d0: Pulling fs layer [2022-06-24T17:40:24.544Z] ec43610c2a17: Pulling fs layer [2022-06-24T17:40:24.544Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-24T17:40:24.544Z] 33b1e0a273af: Pulling fs layer [2022-06-24T17:40:24.544Z] 5d3b04190fa2: Pulling fs layer [2022-06-24T17:40:24.544Z] 2f39f015ded8: Pulling fs layer [2022-06-24T17:40:24.544Z] 33b1e0a273af: Waiting [2022-06-24T17:40:24.544Z] 3a2ae6a8a46f: Waiting [2022-06-24T17:40:24.544Z] 5d3b04190fa2: Waiting [2022-06-24T17:40:24.544Z] 2f39f015ded8: Waiting [2022-06-24T17:40:24.544Z] 5c69ac0246d0: Download complete [2022-06-24T17:40:24.544Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-24T17:40:24.544Z] 3a2ae6a8a46f: Download complete [2022-06-24T17:40:24.544Z] 33b1e0a273af: Verifying Checksum [2022-06-24T17:40:24.544Z] 33b1e0a273af: Download complete [2022-06-24T17:40:24.804Z] 5d3b04190fa2: Verifying Checksum [2022-06-24T17:40:24.804Z] 5d3b04190fa2: Download complete [2022-06-24T17:40:24.804Z] ec43610c2a17: Verifying Checksum [2022-06-24T17:40:24.804Z] ec43610c2a17: Download complete [2022-06-24T17:40:24.804Z] 5eb5b503b376: Verifying Checksum [2022-06-24T17:40:24.804Z] 5eb5b503b376: Download complete [2022-06-24T17:40:25.377Z] 2f39f015ded8: Download complete [2022-06-24T17:40:25.955Z] 5eb5b503b376: Pull complete [2022-06-24T17:40:26.225Z] 5c69ac0246d0: Pull complete [2022-06-24T17:40:26.796Z] ec43610c2a17: Pull complete [2022-06-24T17:40:26.796Z] 3a2ae6a8a46f: Pull complete [2022-06-24T17:40:27.055Z] 33b1e0a273af: Pull complete [2022-06-24T17:40:27.055Z] 5d3b04190fa2: Pull complete [2022-06-24T17:40:31.261Z] 2f39f015ded8: Pull complete [2022-06-24T17:40:31.261Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-24T17:40:31.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T17:40:31.261Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:40:31.363Z] prd-ubuntu20.04-docker-8c-8g-15547 does not seem to be running inside a container [2022-06-24T17:40:31.401Z] $ 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/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@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-06-24T17:40:32.714Z] $ docker top 66aed7291cd5b6464050ac2925cba447129002364219612adccd7cbd2778e585 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:40:33.120Z] ---> job-cost.sh [2022-06-24T17:40:33.121Z] lf-activate-venv: SKIPPING [2022-06-24T17:40:33.121Z] INFO: No Stack... [2022-06-24T17:40:33.381Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T17:40:33.951Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T17:40:34.238Z] + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv [2022-06-24T17:40:34.238Z] + cut -d, -f6 [Pipeline] lock [2022-06-24T17:40:34.251Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] [2022-06-24T17:40:34.261Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] did not exist. Created. [2022-06-24T17:40:34.261Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T17:40:34.567Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-24T17:40:34.597Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T17:40:34.603Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T17:40:34.621Z] $ docker stop --time=1 66aed7291cd5b6464050ac2925cba447129002364219612adccd7cbd2778e585 [2022-06-24T17:40:35.785Z] $ docker rm -f 66aed7291cd5b6464050ac2925cba447129002364219612adccd7cbd2778e585 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-24T17:40:35.898Z] Failed in branch amd64 [2022-06-24T17:41:37.916Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15548 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws [2022-06-24T17:41:37.930Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [2022-06-24T17:41:37.968Z] Selected Git installation does not exist. Using Default [2022-06-24T17:41:37.968Z] The recommended git tool is: NONE [2022-06-24T17:41:44.847Z] using credential edgex-jenkins-ssh [2022-06-24T17:41:44.865Z] Cloning the remote Git repository [2022-06-24T17:41:44.935Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T17:41:45.039Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-06-24T17:41:45.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T17:41:45.133Z] > git --version # timeout=10 [2022-06-24T17:41:45.157Z] > git --version # 'git version 2.25.1' [2022-06-24T17:41:45.159Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T17:41:45.281Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T17:41:46.733Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit d3b233c8ff56e5a9991a70e7f373557ecc6582ff [2022-06-24T17:41:46.084Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T17:41:46.106Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T17:41:46.136Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T17:41:46.171Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T17:41:46.172Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T17:41:46.185Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-24T17:41:46.755Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T17:41:46.772Z] > git checkout -f d3b233c8ff56e5a9991a70e7f373557ecc6582ff # timeout=10 [2022-06-24T17:41:46.914Z] > git remote # timeout=10 [2022-06-24T17:41:46.930Z] > git config --get remote.origin.url # timeout=10 [2022-06-24T17:41:46.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T17:41:46.959Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-24T17:41:47.118Z] Merge succeeded, producing 2775c6cd762abb57a02b935f04ab40577b4831ef [2022-06-24T17:41:47.119Z] Checking out Revision 2775c6cd762abb57a02b935f04ab40577b4831ef (PR-90) [2022-06-24T17:41:47.104Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-24T17:41:47.129Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T17:41:47.151Z] > git checkout -f 2775c6cd762abb57a02b935f04ab40577b4831ef # timeout=10 [2022-06-24T17:41:51.356Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-24T17:41:51.381Z] First time build. Skipping changelog. [2022-06-24T17:41:51.367Z] > git rev-list --no-walk 04e5de50dd3c8b18551e1b43de0dd5f73c11856b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T17:41:52.263Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-24T17:41:52.263Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-24T17:41:52.263Z] Dload Upload Total Spent Left Speed [2022-06-24T17:41:52.263Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 90762 0 --:--:-- --:--:-- --:--:-- 90762 [Pipeline] sh [2022-06-24T17:41:53.068Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-24T17:41:53.422Z] + sudo tee /etc/docker/daemon.new [2022-06-24T17:41:53.422Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-24T17:41:53.422Z] { [2022-06-24T17:41:53.422Z] "registry-mirrors": [ [2022-06-24T17:41:53.422Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-24T17:41:53.422Z] ], [2022-06-24T17:41:53.422Z] "bip": "10.250.0.254/24", [2022-06-24T17:41:53.422Z] "hosts": [ [2022-06-24T17:41:53.422Z] "tcp://0.0.0.0:5555", [2022-06-24T17:41:53.422Z] "unix:///var/run/docker.sock" [2022-06-24T17:41:53.422Z] ], [2022-06-24T17:41:53.422Z] "mtu": 1458, [2022-06-24T17:41:53.422Z] "selinux-enabled": true, [2022-06-24T17:41:53.422Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-24T17:41:53.422Z] } [Pipeline] sh [2022-06-24T17:41:53.778Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-24T17:41:54.122Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T17:42:12.487Z] provisioning config files... [2022-06-24T17:42:12.509Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config7960953130948660084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:42:12.869Z] ---> docker-login.sh [2022-06-24T17:42:12.869Z] nexus3.edgexfoundry.org:10001 [2022-06-24T17:42:13.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:42:13.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:42:13.755Z] Configure a credential helper to remove this warning. See [2022-06-24T17:42:13.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:42:13.755Z] [2022-06-24T17:42:13.755Z] Login Succeeded [2022-06-24T17:42:13.755Z] nexus3.edgexfoundry.org:10002 [2022-06-24T17:42:14.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:42:14.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:42:14.353Z] Configure a credential helper to remove this warning. See [2022-06-24T17:42:14.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:42:14.353Z] [2022-06-24T17:42:14.353Z] Login Succeeded [2022-06-24T17:42:14.353Z] nexus3.edgexfoundry.org:10003 [2022-06-24T17:42:14.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:42:14.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:42:14.954Z] Configure a credential helper to remove this warning. See [2022-06-24T17:42:14.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:42:14.954Z] [2022-06-24T17:42:14.954Z] Login Succeeded [2022-06-24T17:42:14.954Z] nexus3.edgexfoundry.org:10004 [2022-06-24T17:42:15.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:42:15.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:42:15.507Z] Configure a credential helper to remove this warning. See [2022-06-24T17:42:15.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:42:15.507Z] [2022-06-24T17:42:15.507Z] Login Succeeded [2022-06-24T17:42:15.507Z] docker.io [2022-06-24T17:42:15.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:42:16.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:42:16.382Z] Configure a credential helper to remove this warning. See [2022-06-24T17:42:16.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:42:16.382Z] [2022-06-24T17:42:16.382Z] Login Succeeded [2022-06-24T17:42:16.382Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T17:42:16.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T17:42:17.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T17:42:17.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T17:42:17.037Z] ========================================================= [2022-06-24T17:42:17.037Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-24T17:42:17.037Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:42:17.454Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-24T17:42:18.083Z] Sending build context to Docker daemon 6.23MB [2022-06-24T17:42:18.083Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T17:42:18.083Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T17:42:18.364Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-24T17:42:18.364Z] 9b3977197b4f: Pulling fs layer [2022-06-24T17:42:18.364Z] 1a89e8eeedd5: Pulling fs layer [2022-06-24T17:42:18.364Z] 94645a83ff95: Pulling fs layer [2022-06-24T17:42:18.364Z] e6fb740bc735: Pulling fs layer [2022-06-24T17:42:18.364Z] 3a77bd46dcc9: Pulling fs layer [2022-06-24T17:42:18.364Z] 355e64cbe906: Pulling fs layer [2022-06-24T17:42:18.364Z] 63ab81a10011: Pulling fs layer [2022-06-24T17:42:18.364Z] 555d1d1c4555: Pulling fs layer [2022-06-24T17:42:18.364Z] 7d9057610161: Pulling fs layer [2022-06-24T17:42:18.364Z] 355e64cbe906: Waiting [2022-06-24T17:42:18.364Z] e6fb740bc735: Waiting [2022-06-24T17:42:18.364Z] 3a77bd46dcc9: Waiting [2022-06-24T17:42:18.364Z] 555d1d1c4555: Waiting [2022-06-24T17:42:18.364Z] 63ab81a10011: Waiting [2022-06-24T17:42:18.364Z] 7d9057610161: Waiting [2022-06-24T17:42:18.364Z] 94645a83ff95: Verifying Checksum [2022-06-24T17:42:18.364Z] 94645a83ff95: Download complete [2022-06-24T17:42:18.364Z] 1a89e8eeedd5: Verifying Checksum [2022-06-24T17:42:18.364Z] 1a89e8eeedd5: Download complete [2022-06-24T17:42:18.364Z] 3a77bd46dcc9: Download complete [2022-06-24T17:42:18.364Z] 355e64cbe906: Verifying Checksum [2022-06-24T17:42:18.364Z] 355e64cbe906: Download complete [2022-06-24T17:42:18.364Z] 9b3977197b4f: Verifying Checksum [2022-06-24T17:42:18.364Z] 9b3977197b4f: Download complete [2022-06-24T17:42:18.364Z] 63ab81a10011: Download complete [2022-06-24T17:42:19.367Z] 9b3977197b4f: Pull complete [2022-06-24T17:42:19.367Z] 7d9057610161: Verifying Checksum [2022-06-24T17:42:19.367Z] 7d9057610161: Download complete [2022-06-24T17:42:19.975Z] 1a89e8eeedd5: Pull complete [2022-06-24T17:42:20.256Z] 94645a83ff95: Pull complete [2022-06-24T17:42:20.533Z] 555d1d1c4555: Verifying Checksum [2022-06-24T17:42:20.533Z] 555d1d1c4555: Download complete [2022-06-24T17:42:21.133Z] e6fb740bc735: Verifying Checksum [2022-06-24T17:42:21.133Z] e6fb740bc735: Download complete [2022-06-24T17:42:33.558Z] e6fb740bc735: Pull complete [2022-06-24T17:42:33.558Z] 3a77bd46dcc9: Pull complete [2022-06-24T17:42:33.558Z] 355e64cbe906: Pull complete [2022-06-24T17:42:33.558Z] 63ab81a10011: Pull complete [2022-06-24T17:42:38.972Z] 555d1d1c4555: Pull complete [2022-06-24T17:42:40.955Z] 7d9057610161: Pull complete [2022-06-24T17:42:40.955Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-24T17:42:40.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-24T17:42:40.955Z] ---> 819e984ddca1 [2022-06-24T17:42:40.955Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T17:42:42.966Z] ---> Running in 8c6d30ace8de [2022-06-24T17:42:42.966Z] Removing intermediate container 8c6d30ace8de [2022-06-24T17:42:42.966Z] ---> 1f0a546d6f34 [2022-06-24T17:42:42.966Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T17:42:43.241Z] ---> Running in ac3d84c25bf3 [2022-06-24T17:42:43.535Z] Removing intermediate container ac3d84c25bf3 [2022-06-24T17:42:43.535Z] ---> 36c6f6839fed [2022-06-24T17:42:43.535Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T17:42:43.535Z] ---> Running in 852bd5192d51 [2022-06-24T17:42:43.813Z] Removing intermediate container 852bd5192d51 [2022-06-24T17:42:43.813Z] ---> 56dc4df3d5d7 [2022-06-24T17:42:43.813Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T17:42:44.090Z] ---> Running in d393f3c0d55c [2022-06-24T17:42:44.368Z] Removing intermediate container d393f3c0d55c [2022-06-24T17:42:44.368Z] ---> fa0ad2001d37 [2022-06-24T17:42:44.368Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T17:42:44.368Z] ---> Running in 976fd7b65d8a [2022-06-24T17:42:47.814Z] Removing intermediate container 976fd7b65d8a [2022-06-24T17:42:47.814Z] ---> 95296403cbd4 [2022-06-24T17:42:47.814Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T17:42:47.814Z] ---> Running in a04100e3a143 [2022-06-24T17:42:48.412Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-24T17:42:49.392Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-24T17:42:50.371Z] OK: 220 MiB in 52 packages [2022-06-24T17:42:50.971Z] Removing intermediate container a04100e3a143 [2022-06-24T17:42:50.971Z] ---> cd4b369c4e4a [2022-06-24T17:42:50.971Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T17:42:51.256Z] ---> Running in 228399cd4077 [2022-06-24T17:42:51.538Z] Removing intermediate container 228399cd4077 [2022-06-24T17:42:51.538Z] ---> ed7285529bcf [2022-06-24T17:42:51.538Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T17:42:52.137Z] ---> cdc9d2a7a089 [2022-06-24T17:42:52.137Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T17:42:52.137Z] ---> Running in 5a12d09c1212 [2022-06-24T17:43:48.728Z] Removing intermediate container 5a12d09c1212 [2022-06-24T17:43:48.728Z] ---> c4157990cbf9 [2022-06-24T17:43:48.728Z] Step 12/13 : COPY . . [2022-06-24T17:43:48.728Z] ---> b5be5d81e3b8 [2022-06-24T17:43:48.728Z] Step 13/13 : RUN ${MAKE} [2022-06-24T17:43:48.728Z] ---> Running in 7d13ab90fdd3 [2022-06-24T17:43:48.728Z] noop [2022-06-24T17:43:48.728Z] Removing intermediate container 7d13ab90fdd3 [2022-06-24T17:43:48.728Z] ---> ee94f2d1cacd [2022-06-24T17:43:48.728Z] Successfully built ee94f2d1cacd [2022-06-24T17:43:48.728Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:43:49.097Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T17:43:49.097Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:43:49.348Z] prd-ubuntu20.04-docker-arm64-4c-16g-15548 does not seem to be running inside a container [2022-06-24T17:43:49.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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 ******** ci-base-image-arm64 cat [2022-06-24T17:43:50.752Z] $ docker top 20733778ce23e87dc35a2ab4db03bf4a970b5461b91ceab6b95b1bab417a33e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T17:43:51.677Z] + go version [2022-06-24T17:43:51.677Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-24T17:43:51.704Z] $ docker stop --time=1 20733778ce23e87dc35a2ab4db03bf4a970b5461b91ceab6b95b1bab417a33e3 [2022-06-24T17:43:53.309Z] $ docker rm -f 20733778ce23e87dc35a2ab4db03bf4a970b5461b91ceab6b95b1bab417a33e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:43:53.934Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T17:43:53.934Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:43:54.172Z] prd-ubuntu20.04-docker-arm64-4c-16g-15548 does not seem to be running inside a container [2022-06-24T17:43:54.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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 ******** ci-base-image-arm64 cat [2022-06-24T17:43:55.457Z] $ docker top ada913648ec091c2cfc213591b7d00c636bd40a0a0fd46cf4b2bf73f9d0e6fd1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T17:43:56.355Z] + make test [2022-06-24T17:43:56.355Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T17:43:57.801Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T17:43:57.801Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-24T17:43:57.801Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-24T17:43:58.076Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T17:45:34.945Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-24T17:46:01.765Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 39.963s coverage: 13.8% of statements [2022-06-24T17:46:01.765Z] FAIL [2022-06-24T17:46:02.039Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-24T17:46:02.067Z] $ docker stop --time=1 ada913648ec091c2cfc213591b7d00c636bd40a0a0fd46cf4b2bf73f9d0e6fd1 [2022-06-24T17:46:03.864Z] $ docker rm -f ada913648ec091c2cfc213591b7d00c636bd40a0a0fd46cf4b2bf73f9d0e6fd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:46:04.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T17:46:04.933Z] [2022-06-24T17:46:04.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:46:05.285Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T17:46:05.559Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-24T17:46:05.559Z] 8998bd30e6a1: Pulling fs layer [2022-06-24T17:46:05.559Z] 04944245beec: Pulling fs layer [2022-06-24T17:46:05.559Z] 699f458cf7ca: Pulling fs layer [2022-06-24T17:46:05.559Z] 765212b225bb: Pulling fs layer [2022-06-24T17:46:05.559Z] f23df028b6ca: Pulling fs layer [2022-06-24T17:46:05.559Z] d65c8cfc05b1: Pulling fs layer [2022-06-24T17:46:05.559Z] 2437ff75d9bd: Pulling fs layer [2022-06-24T17:46:05.559Z] f23df028b6ca: Waiting [2022-06-24T17:46:05.559Z] d65c8cfc05b1: Waiting [2022-06-24T17:46:05.559Z] 2437ff75d9bd: Waiting [2022-06-24T17:46:05.559Z] 765212b225bb: Waiting [2022-06-24T17:46:05.559Z] 04944245beec: Verifying Checksum [2022-06-24T17:46:05.559Z] 04944245beec: Download complete [2022-06-24T17:46:05.559Z] 765212b225bb: Verifying Checksum [2022-06-24T17:46:05.559Z] 765212b225bb: Download complete [2022-06-24T17:46:05.839Z] f23df028b6ca: Verifying Checksum [2022-06-24T17:46:05.839Z] f23df028b6ca: Download complete [2022-06-24T17:46:05.839Z] d65c8cfc05b1: Download complete [2022-06-24T17:46:05.839Z] 699f458cf7ca: Verifying Checksum [2022-06-24T17:46:05.839Z] 699f458cf7ca: Download complete [2022-06-24T17:46:06.119Z] 8998bd30e6a1: Verifying Checksum [2022-06-24T17:46:06.119Z] 8998bd30e6a1: Download complete [2022-06-24T17:46:08.754Z] 2437ff75d9bd: Verifying Checksum [2022-06-24T17:46:08.754Z] 2437ff75d9bd: Download complete [2022-06-24T17:46:10.738Z] 8998bd30e6a1: Pull complete [2022-06-24T17:46:11.010Z] 04944245beec: Pull complete [2022-06-24T17:46:12.438Z] 699f458cf7ca: Pull complete [2022-06-24T17:46:12.710Z] 765212b225bb: Pull complete [2022-06-24T17:46:13.305Z] f23df028b6ca: Pull complete [2022-06-24T17:46:13.578Z] d65c8cfc05b1: Pull complete [2022-06-24T17:46:28.755Z] 2437ff75d9bd: Pull complete [2022-06-24T17:46:28.755Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-24T17:46:28.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T17:46:28.755Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:46:29.013Z] prd-ubuntu20.04-docker-arm64-4c-16g-15548 does not seem to be running inside a container [2022-06-24T17:46:29.142Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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:arm64 cat [2022-06-24T17:46:31.815Z] $ docker top 0539bd64ba3e22a39dd387895d7465fc8a3551e78fcafa2a8bc687505cc2c63f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:46:32.772Z] ---> job-cost.sh [2022-06-24T17:46:32.773Z] lf-activate-venv: SKIPPING [2022-06-24T17:46:32.773Z] INFO: No Stack... [2022-06-24T17:46:33.044Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-24T17:46:34.024Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T17:46:34.691Z] + + catcut /w/workspace/device-onvif-camera/7/archives/cost.csv -d, [2022-06-24T17:46:34.691Z] -f6 [Pipeline] lock [2022-06-24T17:46:34.761Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] [2022-06-24T17:46:34.771Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] did not exist. Created. [2022-06-24T17:46:34.771Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T17:46:35.444Z] /w/workspace/device-onvif-camera/7@tmp/durable-4dba92f1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-24T17:46:36.126Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-24T17:46:36.147Z] Warning: overwriting stash ‘stack-cost’ [2022-06-24T17:46:36.651Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T17:46:36.658Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T17:46:36.681Z] $ docker stop --time=1 0539bd64ba3e22a39dd387895d7465fc8a3551e78fcafa2a8bc687505cc2c63f [2022-06-24T17:46:38.142Z] $ docker rm -f 0539bd64ba3e22a39dd387895d7465fc8a3551e78fcafa2a8bc687505cc2c63f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-24T17:46:38.458Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-06-24T17:46:39.118Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] [2022-06-24T17:46:39.118Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T17:46:39.118Z] total 16 [2022-06-24T17:46:39.118Z] drwxr-xr-x 3 root root 4096 Jun 24 17:40 . [2022-06-24T17:46:39.118Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 17:40 .. [2022-06-24T17:46:39.118Z] drwxr-xr-x 2 root root 4096 Jun 24 17:40 cost [2022-06-24T17:46:39.118Z] -rw-r--r-- 1 root root 89 Jun 24 17:40 cost.csv [2022-06-24T17:46:39.118Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T17:46:39.118Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T17:46:39.118Z] total 16 [2022-06-24T17:46:39.118Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 17:40 . [2022-06-24T17:46:39.118Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 17:40 .. [2022-06-24T17:46:39.118Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 17:40 cost [2022-06-24T17:46:39.118Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 24 17:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:46:39.412Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:46:40.275Z] ---> package-listing.sh [2022-06-24T17:46:40.275Z] ++ facter osfamily [2022-06-24T17:46:40.275Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-24T17:46:40.535Z] + OS_FAMILY=debian [2022-06-24T17:46:40.535Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 [2022-06-24T17:46:40.535Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-24T17:46:40.535Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-24T17:46:40.535Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-24T17:46:40.535Z] + PACKAGES=/tmp/packages_start.txt [2022-06-24T17:46:40.535Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-24T17:46:40.535Z] + PACKAGES=/tmp/packages_end.txt [2022-06-24T17:46:40.535Z] + case "${OS_FAMILY}" in [2022-06-24T17:46:40.535Z] + dpkg -l [2022-06-24T17:46:40.535Z] + grep '^ii' [2022-06-24T17:46:40.535Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-24T17:46:40.535Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-24T17:46:40.535Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-24T17:46:40.535Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-24T17:46:40.536Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [2022-06-24T17:46:40.536Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [Pipeline] echo [2022-06-24T17:46:40.548Z] 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/oundry_device-onvif-camera_PR-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-24T17:46:40.828Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:46:41.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T17:46:41.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:46:41.200Z] prd-ubuntu20.04-docker-8c-8g-15547 does not seem to be running inside a container [2022-06-24T17:46:41.232Z] $ 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/oundry_device-onvif-camera_PR-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@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-06-24T17:46:41.444Z] $ docker top b4e9829d30b2bbdd3e120b93265ff0065ab91c0189157aa73a2c2742d08faf54 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T17:46:41.801Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-24T17:46:42.185Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-24T17:46:42.466Z] + ls /var/log/sa-host [2022-06-24T17:46:42.466Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T17:46:42.611Z] provisioning config files... [2022-06-24T17:46:42.621Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config8759894221680516847tmp [Pipeline] { [Pipeline] echo [2022-06-24T17:46:42.637Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:46:42.917Z] ---> create-netrc.sh [Pipeline] } [2022-06-24T17:46:42.925Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:46:43.252Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-24T17:46:43.260Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:46:43.546Z] ---> sudo-logs.sh [2022-06-24T17:46:43.546Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-24T17:46:43.568Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:46:43.861Z] ---> job-cost.sh [2022-06-24T17:46:43.862Z] lf-activate-venv: SKIPPING [2022-06-24T17:46:43.862Z] DEBUG: total: 0.2199999988079071 [2022-06-24T17:46:43.862Z] INFO: Retrieving Stack Cost... [2022-06-24T17:46:44.122Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T17:46:44.693Z] INFO: Archiving Costs [Pipeline] echo [2022-06-24T17:46:44.705Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:46:44.990Z] ---> logs-deploy.sh [2022-06-24T17:46:44.990Z] lf-activate-venv: SKIPPING [2022-06-24T17:46:44.990Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/7 [2022-06-24T17:46:44.990Z] INFO: archiving workspace using pattern(s): [2022-06-24T17:46:45.931Z] Archives upload complete. [2022-06-24T17:46:45.931Z] INFO: archiving logs to Nexus