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 8b628f1f80489d80ea8abad1d9a87ea756733828 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-ssh11322124901610570195.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-ssh14652358866359331333.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-ssh5355067971822999454.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-ssh2221332065511251652.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-ssh2618071210511507765.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-16128’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16130 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 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 8b628f1f80489d80ea8abad1d9a87ea756733828 Merge succeeded, producing e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc Checking out Revision e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc (PR-90) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b628f1f80489d80ea8abad1d9a87ea756733828 # 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 e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc # 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-27T19:59:36.226Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T19:59:36.269Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 0f44c4d712ab552f8feb5f3b37abc0045fa4f9e6 # timeout=10 [Pipeline] echo [2022-06-27T19:59:36.288Z] ========================================================= [2022-06-27T19:59:36.288Z] EdgeX Global Pipelines Version Info [2022-06-27T19:59:36.288Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T19:59:37.039Z] ------------------- [2022-06-27T19:59:37.039Z] stable info: [2022-06-27T19:59:37.039Z] ------------------- [2022-06-27T19:59:37.039Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T19:59:37.039Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T19:59:37.039Z] Message: update stable to v1.0.234 [2022-06-27T19:59:37.611Z] ------------------- [2022-06-27T19:59:37.611Z] experimental info: [2022-06-27T19:59:37.611Z] ------------------- [2022-06-27T19:59:37.611Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T19:59:37.611Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T19:59:37.611Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T19:59:37.826Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-27T19:59:37.840Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-27T19:59:37.850Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T19:59:37.866Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T19:59:37.876Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T19:59:37.888Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T19:59:37.899Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T19:59:37.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T19:59:37.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T19:59:37.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T19:59:37.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T19:59:37.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-27T19:59:37.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T19:59:37.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T19:59:38.006Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T19:59:38.017Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T19:59:38.030Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T19:59:38.044Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T19:59:38.055Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T19:59:38.066Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T19:59:38.077Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T19:59:38.088Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T19:59:38.100Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T19:59:38.113Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T19:59:38.124Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T19:59:38.135Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T19:59:38.146Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T19:59:38.157Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2022-06-27T19:59:38.168Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2022-06-27T19:59:38.179Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2022-06-27T19:59:38.190Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc [Pipeline] echo [2022-06-27T19:59:38.201Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3a18b0 [Pipeline] echo [2022-06-27T19:59:38.212Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T19:59:38.254Z] provisioning config files... [2022-06-27T19:59:38.267Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5356454552771397998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T19:59:38.568Z] ---> docker-login.sh [2022-06-27T19:59:38.568Z] nexus3.edgexfoundry.org:10001 [2022-06-27T19:59:38.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T19:59:38.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T19:59:38.829Z] Configure a credential helper to remove this warning. See [2022-06-27T19:59:38.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T19:59:38.829Z] [2022-06-27T19:59:38.829Z] Login Succeeded [2022-06-27T19:59:38.829Z] nexus3.edgexfoundry.org:10002 [2022-06-27T19:59:39.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T19:59:39.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T19:59:39.090Z] Configure a credential helper to remove this warning. See [2022-06-27T19:59:39.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T19:59:39.090Z] [2022-06-27T19:59:39.090Z] Login Succeeded [2022-06-27T19:59:39.090Z] nexus3.edgexfoundry.org:10003 [2022-06-27T19:59:39.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T19:59:39.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T19:59:39.090Z] Configure a credential helper to remove this warning. See [2022-06-27T19:59:39.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T19:59:39.090Z] [2022-06-27T19:59:39.090Z] Login Succeeded [2022-06-27T19:59:39.090Z] nexus3.edgexfoundry.org:10004 [2022-06-27T19:59:39.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T19:59:39.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T19:59:39.351Z] Configure a credential helper to remove this warning. See [2022-06-27T19:59:39.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T19:59:39.351Z] [2022-06-27T19:59:39.351Z] Login Succeeded [2022-06-27T19:59:39.351Z] docker.io [2022-06-27T19:59:39.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T19:59:39.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T19:59:39.611Z] Configure a credential helper to remove this warning. See [2022-06-27T19:59:39.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T19:59:39.611Z] [2022-06-27T19:59:39.611Z] Login Succeeded [2022-06-27T19:59:39.611Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T19:59:39.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T19:59:39.984Z] + git rev-list -1 --merges e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc~1..e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc [Pipeline] echo [2022-06-27T19:59:40.014Z] -----------> git rev-list -1 --merges e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc~1..e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc [2022-06-27T19:59:40.014Z] e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc [false] [Pipeline] sh [2022-06-27T19:59:40.313Z] + git log --format=format:%s -1 e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc [Pipeline] echo [2022-06-27T19:59:40.330Z] ========================================================= [2022-06-27T19:59:40.330Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T19:59:40.330Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T19:59:40.666Z] + git log --format=format:%s -1 e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc [Pipeline] echo [2022-06-27T19:59:40.678Z] [semverPrep] GIT_COMMIT: e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-27T19:59:40.689Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T19:59:41.042Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T19:59:41.042Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T19:59:41.042Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T19:59:41.042Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T19:59:41.042Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T19:59:41.042Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T19:59:41.042Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T19:59:41.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T19:59:41.400Z] [2022-06-27T19:59:41.400Z] 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-27T19:59:41.712Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T19:59:41.712Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T19:59:41.712Z] 42c077c10790: Pulling fs layer [2022-06-27T19:59:41.712Z] f63e77b7563a: Pulling fs layer [2022-06-27T19:59:41.712Z] bd5fdadae976: Pulling fs layer [2022-06-27T19:59:41.712Z] 205491f53016: Pulling fs layer [2022-06-27T19:59:41.712Z] df18705c85c3: Pulling fs layer [2022-06-27T19:59:41.712Z] bdb3f477010e: Pulling fs layer [2022-06-27T19:59:41.712Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T19:59:41.712Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T19:59:41.712Z] bdb8f0575790: Pulling fs layer [2022-06-27T19:59:41.712Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T19:59:41.712Z] 2343380bae48: Pulling fs layer [2022-06-27T19:59:41.712Z] 205491f53016: Waiting [2022-06-27T19:59:41.712Z] df18705c85c3: Waiting [2022-06-27T19:59:41.712Z] bdb3f477010e: Waiting [2022-06-27T19:59:41.712Z] bdb8f0575790: Waiting [2022-06-27T19:59:41.712Z] 386e3cb2ff24: Waiting [2022-06-27T19:59:41.712Z] c8a8fc8e1c8f: Waiting [2022-06-27T19:59:41.712Z] 2343380bae48: Waiting [2022-06-27T19:59:41.712Z] 2c6e9b1d212d: Waiting [2022-06-27T19:59:41.712Z] f63e77b7563a: Verifying Checksum [2022-06-27T19:59:41.712Z] f63e77b7563a: Download complete [2022-06-27T19:59:41.712Z] 205491f53016: Verifying Checksum [2022-06-27T19:59:41.972Z] df18705c85c3: Verifying Checksum [2022-06-27T19:59:41.972Z] df18705c85c3: Download complete [2022-06-27T19:59:41.972Z] bdb3f477010e: Verifying Checksum [2022-06-27T19:59:41.972Z] bdb3f477010e: Download complete [2022-06-27T19:59:41.972Z] bd5fdadae976: Verifying Checksum [2022-06-27T19:59:41.972Z] bd5fdadae976: Download complete [2022-06-27T19:59:41.972Z] 2c6e9b1d212d: Verifying Checksum [2022-06-27T19:59:41.972Z] 2c6e9b1d212d: Download complete [2022-06-27T19:59:41.972Z] bdb8f0575790: Verifying Checksum [2022-06-27T19:59:41.972Z] bdb8f0575790: Download complete [2022-06-27T19:59:41.972Z] 386e3cb2ff24: Verifying Checksum [2022-06-27T19:59:41.972Z] 386e3cb2ff24: Download complete [2022-06-27T19:59:41.972Z] 2343380bae48: Verifying Checksum [2022-06-27T19:59:41.972Z] 2343380bae48: Download complete [2022-06-27T19:59:41.972Z] 42c077c10790: Download complete [2022-06-27T19:59:42.232Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-27T19:59:42.232Z] c8a8fc8e1c8f: Download complete [2022-06-27T19:59:43.174Z] 42c077c10790: Pull complete [2022-06-27T19:59:43.434Z] f63e77b7563a: Pull complete [2022-06-27T19:59:44.004Z] bd5fdadae976: Pull complete [2022-06-27T19:59:44.004Z] 205491f53016: Pull complete [2022-06-27T19:59:44.265Z] df18705c85c3: Pull complete [2022-06-27T19:59:44.265Z] bdb3f477010e: Pull complete [2022-06-27T19:59:46.173Z] c8a8fc8e1c8f: Pull complete [2022-06-27T19:59:46.173Z] 2c6e9b1d212d: Pull complete [2022-06-27T19:59:46.173Z] bdb8f0575790: Pull complete [2022-06-27T19:59:46.173Z] 386e3cb2ff24: Pull complete [2022-06-27T19:59:46.434Z] 2343380bae48: Pull complete [2022-06-27T19:59:46.434Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T19:59:46.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T19:59:46.434Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T19:59:46.533Z] prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container [2022-06-27T19:59:46.576Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T19:59:48.168Z] $ docker top 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 -eo pid,comm [2022-06-27T19:59:48.232Z] 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-27T19:59:48.232Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T19:59:48.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T19:59:48.265Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T19:59:48.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T19:59:48.402Z] $ docker exec 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 ssh-agent [2022-06-27T19:59:48.498Z] SSH_AUTH_SOCK=/tmp/ssh-D51mLZKpO73h/agent.33 [2022-06-27T19:59:48.498Z] SSH_AGENT_PID=39 [2022-06-27T19:59:48.505Z] Running ssh-add (command line suppressed) [2022-06-27T19:59:48.605Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_6386692861779909872.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_6386692861779909872.key) [2022-06-27T19:59:48.615Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T19:59:48.904Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T19:59:48.929Z] $ docker exec --env ******** --env ******** 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 ssh-agent -k [2022-06-27T19:59:49.042Z] unset SSH_AUTH_SOCK; [2022-06-27T19:59:49.042Z] unset SSH_AGENT_PID; [2022-06-27T19:59:49.043Z] echo Agent pid 39 killed; [2022-06-27T19:59:49.049Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T19:59:49.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T19:59:49.068Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T19:59:49.181Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T19:59:49.188Z] $ docker exec 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 ssh-agent [2022-06-27T19:59:49.295Z] SSH_AUTH_SOCK=/tmp/ssh-zGlybV94HVFC/agent.73 [2022-06-27T19:59:49.295Z] SSH_AGENT_PID=79 [2022-06-27T19:59:49.301Z] Running ssh-add (command line suppressed) [2022-06-27T19:59:49.404Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_8321591811401569353.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_8321591811401569353.key) [2022-06-27T19:59:49.414Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T19:59:49.704Z] + git semver init [2022-06-27T19:59:49.964Z] 2022-06-27 19:59:49,906 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T19:59:49.964Z] 2022-06-27 19:59:49,907 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-27T19:59:49.964Z] 2022-06-27 19:59:49,907 [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-27T19:59:49.964Z] 2022-06-27 19:59:49,907 [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-27T19:59:50.908Z] 2022-06-27 19:59:50,895 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude [2022-06-27T19:59:50.908Z] 2022-06-27 19:59:50,896 [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-27T19:59:50.908Z] 2022-06-27 19:59:50,896 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-27T19:59:50.908Z] 2022-06-27 19:59:50,900 [execute] INFO git cat-file --batch-check [2022-06-27T19:59:50.908Z] 2022-06-27 19:59:50,900 [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-27T19:59:50.908Z] 2022-06-27 19:59:50,907 [execute] INFO git cat-file --batch [2022-06-27T19:59:50.908Z] 2022-06-27 19:59:50,907 [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-27T19:59:51.170Z] 2022-06-27 19:59:50,913 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-27T19:59:51.170Z] 0.0.0 [Pipeline] } [2022-06-27T19:59:51.184Z] $ docker exec --env ******** --env ******** 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 ssh-agent -k [2022-06-27T19:59:51.296Z] unset SSH_AUTH_SOCK; [2022-06-27T19:59:51.297Z] unset SSH_AGENT_PID; [2022-06-27T19:59:51.297Z] echo Agent pid 79 killed; [2022-06-27T19:59:51.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T19:59:51.608Z] + git semver [Pipeline] } [2022-06-27T19:59:51.889Z] $ docker stop --time=1 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 [2022-06-27T19:59:53.240Z] $ docker rm -f 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T19:59:53.595Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T19:59:53.867Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T19:59:53.869Z] [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-27T19:59:53.986Z] provisioning config files... [2022-06-27T19:59:53.995Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1266742105611046018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T19:59:54.289Z] ---> docker-login.sh [2022-06-27T19:59:54.289Z] nexus3.edgexfoundry.org:10001 [2022-06-27T19:59:54.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T19:59:54.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T19:59:54.289Z] Configure a credential helper to remove this warning. See [2022-06-27T19:59:54.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T19:59:54.289Z] [2022-06-27T19:59:54.289Z] Login Succeeded [2022-06-27T19:59:54.289Z] nexus3.edgexfoundry.org:10002 [2022-06-27T19:59:54.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T19:59:54.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T19:59:54.550Z] Configure a credential helper to remove this warning. See [2022-06-27T19:59:54.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T19:59:54.550Z] [2022-06-27T19:59:54.550Z] Login Succeeded [2022-06-27T19:59:54.550Z] nexus3.edgexfoundry.org:10003 [2022-06-27T19:59:54.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T19:59:54.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T19:59:54.550Z] Configure a credential helper to remove this warning. See [2022-06-27T19:59:54.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T19:59:54.550Z] [2022-06-27T19:59:54.550Z] Login Succeeded [2022-06-27T19:59:54.550Z] nexus3.edgexfoundry.org:10004 [2022-06-27T19:59:54.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T19:59:54.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T19:59:54.810Z] Configure a credential helper to remove this warning. See [2022-06-27T19:59:54.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T19:59:54.810Z] [2022-06-27T19:59:54.810Z] Login Succeeded [2022-06-27T19:59:54.810Z] docker.io [2022-06-27T19:59:54.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T19:59:55.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T19:59:55.070Z] Configure a credential helper to remove this warning. See [2022-06-27T19:59:55.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T19:59:55.070Z] [2022-06-27T19:59:55.070Z] Login Succeeded [2022-06-27T19:59:55.070Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T19:59:55.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T19:59:55.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T19:59:55.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T19:59:55.166Z] ========================================================= [2022-06-27T19:59:55.166Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T19:59:55.166Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T19:59:55.484Z] + 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-27T19:59:55.484Z] Sending build context to Docker daemon 8.853MB [2022-06-27T19:59:55.484Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T19:59:55.484Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T19:59:55.484Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T19:59:55.484Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T19:59:55.484Z] 666ba61612fd: Pulling fs layer [2022-06-27T19:59:55.484Z] 8ed8ca486205: Pulling fs layer [2022-06-27T19:59:55.484Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T19:59:55.484Z] c516ae0d96e1: Pulling fs layer [2022-06-27T19:59:55.484Z] 684cea983483: Pulling fs layer [2022-06-27T19:59:55.484Z] dd3240ac7de5: Pulling fs layer [2022-06-27T19:59:55.484Z] b1e948a4e11c: Pulling fs layer [2022-06-27T19:59:55.484Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T19:59:55.484Z] 646ad004c059: Pulling fs layer [2022-06-27T19:59:55.484Z] b1e948a4e11c: Waiting [2022-06-27T19:59:55.484Z] dd3240ac7de5: Waiting [2022-06-27T19:59:55.484Z] a8fd76ee1af6: Waiting [2022-06-27T19:59:55.484Z] c516ae0d96e1: Waiting [2022-06-27T19:59:55.484Z] 684cea983483: Waiting [2022-06-27T19:59:55.484Z] 8ed8ca486205: Verifying Checksum [2022-06-27T19:59:55.484Z] 8ed8ca486205: Download complete [2022-06-27T19:59:55.484Z] 666ba61612fd: Download complete [2022-06-27T19:59:55.746Z] c516ae0d96e1: Verifying Checksum [2022-06-27T19:59:55.746Z] c516ae0d96e1: Download complete [2022-06-27T19:59:55.746Z] 684cea983483: Download complete [2022-06-27T19:59:55.746Z] dd3240ac7de5: Verifying Checksum [2022-06-27T19:59:55.746Z] dd3240ac7de5: Download complete [2022-06-27T19:59:55.746Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T19:59:55.746Z] 59bf1c3509f3: Download complete [2022-06-27T19:59:55.746Z] b1e948a4e11c: Verifying Checksum [2022-06-27T19:59:55.746Z] b1e948a4e11c: Download complete [2022-06-27T19:59:55.746Z] 59bf1c3509f3: Pull complete [2022-06-27T19:59:56.008Z] 666ba61612fd: Pull complete [2022-06-27T19:59:56.008Z] 8ed8ca486205: Pull complete [2022-06-27T19:59:56.008Z] 646ad004c059: Verifying Checksum [2022-06-27T19:59:56.008Z] 646ad004c059: Download complete [2022-06-27T19:59:56.270Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T19:59:56.270Z] a8fd76ee1af6: Download complete [2022-06-27T19:59:56.270Z] cc1cd167ecdc: Download complete [2022-06-27T20:00:00.466Z] cc1cd167ecdc: Pull complete [2022-06-27T20:00:00.466Z] c516ae0d96e1: Pull complete [2022-06-27T20:00:00.466Z] 684cea983483: Pull complete [2022-06-27T20:00:00.466Z] dd3240ac7de5: Pull complete [2022-06-27T20:00:00.466Z] b1e948a4e11c: Pull complete [2022-06-27T20:00:02.378Z] a8fd76ee1af6: Pull complete [2022-06-27T20:00:02.648Z] 646ad004c059: Pull complete [2022-06-27T20:00:02.648Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T20:00:02.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T20:00:02.648Z] ---> 8f69c11f6b0c [2022-06-27T20:00:02.648Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T20:00:04.561Z] ---> Running in 28bec62790e1 [2022-06-27T20:00:04.561Z] Removing intermediate container 28bec62790e1 [2022-06-27T20:00:04.561Z] ---> bf245eb0f597 [2022-06-27T20:00:04.561Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:00:04.561Z] ---> Running in 7d88afe8217f [2022-06-27T20:00:04.821Z] Removing intermediate container 7d88afe8217f [2022-06-27T20:00:04.821Z] ---> cdf90956a221 [2022-06-27T20:00:04.821Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:00:04.821Z] ---> Running in 7d33a5ddb850 [2022-06-27T20:00:04.821Z] Removing intermediate container 7d33a5ddb850 [2022-06-27T20:00:04.821Z] ---> c4d6d5eb9fe6 [2022-06-27T20:00:04.821Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T20:00:04.821Z] ---> Running in 89a5a03f2357 [2022-06-27T20:00:05.081Z] Removing intermediate container 89a5a03f2357 [2022-06-27T20:00:05.081Z] ---> c0a8b62ff57b [2022-06-27T20:00:05.081Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:00:05.081Z] ---> Running in 14dea170c9e9 [2022-06-27T20:00:05.650Z] Removing intermediate container 14dea170c9e9 [2022-06-27T20:00:05.650Z] ---> e4d62837986b [2022-06-27T20:00:05.650Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:00:05.650Z] ---> Running in f551a3644d11 [2022-06-27T20:00:05.910Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T20:00:06.852Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T20:00:07.112Z] OK: 221 MiB in 52 packages [2022-06-27T20:00:07.374Z] Removing intermediate container f551a3644d11 [2022-06-27T20:00:07.374Z] ---> 49b0d6a15367 [2022-06-27T20:00:07.374Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T20:00:07.374Z] ---> Running in 8e08e15d6302 [2022-06-27T20:00:07.634Z] Removing intermediate container 8e08e15d6302 [2022-06-27T20:00:07.634Z] ---> 6a04dd993bdc [2022-06-27T20:00:07.634Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T20:00:07.634Z] ---> afc438d5cbeb [2022-06-27T20:00:07.634Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:00:07.634Z] ---> Running in 3dd6ece4ee4c [2022-06-27T20:00:08.959Z] Still waiting to schedule task [2022-06-27T20:00:08.959Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16129’ is offline [2022-06-27T20:00:25.765Z] Removing intermediate container 3dd6ece4ee4c [2022-06-27T20:00:25.766Z] ---> ee4184457351 [2022-06-27T20:00:25.766Z] Step 12/13 : COPY . . [2022-06-27T20:00:25.766Z] ---> 6df498f774ed [2022-06-27T20:00:25.766Z] Step 13/13 : RUN ${MAKE} [2022-06-27T20:00:25.766Z] ---> Running in e3e900140a6d [2022-06-27T20:00:25.766Z] noop [2022-06-27T20:00:25.766Z] Removing intermediate container e3e900140a6d [2022-06-27T20:00:25.766Z] ---> 74d2a402b641 [2022-06-27T20:00:25.766Z] Successfully built 74d2a402b641 [2022-06-27T20:00:25.766Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:00:26.082Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T20:00:26.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:00:26.168Z] prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container [2022-06-27T20:00:26.208Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-27T20:00:26.616Z] $ docker top 461873f5a59eeedaa0de502ef01b741233c21e9c2756aa3e8b9fc23c03f83cc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:00:26.969Z] + go version [2022-06-27T20:00:26.969Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T20:00:26.982Z] $ docker stop --time=1 461873f5a59eeedaa0de502ef01b741233c21e9c2756aa3e8b9fc23c03f83cc2 [2022-06-27T20:00:28.287Z] $ docker rm -f 461873f5a59eeedaa0de502ef01b741233c21e9c2756aa3e8b9fc23c03f83cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:00:28.809Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T20:00:28.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:00:28.883Z] prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container [2022-06-27T20:00:28.922Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-27T20:00:29.315Z] $ docker top e6c9c53005d7dd44ad5d3dfca8853d4d6d9f15a6e5e2865d9443c18d31bb714e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T20:00:29.680Z] + make test [2022-06-27T20:00:29.680Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T20:00:29.941Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-27T20:00:29.941Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-27T20:00:29.941Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-27T20:00:29.941Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T20:00:38.066Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-27T20:00:38.066Z] internal/driver/onvifclient.go:63:27: d.tryGetCredentialsFromMac undefined (type *Driver has no field or method tryGetCredentialsFromMac) [2022-06-27T20:00:43.353Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.773s coverage: 13.8% of statements [2022-06-27T20:00:43.353Z] make: *** [Makefile:48: unittest] Error 2 [Pipeline] } [2022-06-27T20:00:43.371Z] $ docker stop --time=1 e6c9c53005d7dd44ad5d3dfca8853d4d6d9f15a6e5e2865d9443c18d31bb714e [2022-06-27T20:00:45.155Z] $ docker rm -f e6c9c53005d7dd44ad5d3dfca8853d4d6d9f15a6e5e2865d9443c18d31bb714e [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-27T20:00:45.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:00:45.659Z] [2022-06-27T20:00:45.659Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:00:45.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:00:45.964Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T20:00:45.964Z] 5eb5b503b376: Pulling fs layer [2022-06-27T20:00:45.964Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T20:00:45.964Z] ec43610c2a17: Pulling fs layer [2022-06-27T20:00:45.964Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T20:00:45.964Z] 33b1e0a273af: Pulling fs layer [2022-06-27T20:00:45.964Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T20:00:45.964Z] 2f39f015ded8: Pulling fs layer [2022-06-27T20:00:45.964Z] 33b1e0a273af: Waiting [2022-06-27T20:00:45.964Z] 5d3b04190fa2: Waiting [2022-06-27T20:00:45.964Z] 2f39f015ded8: Waiting [2022-06-27T20:00:45.964Z] 3a2ae6a8a46f: Waiting [2022-06-27T20:00:45.964Z] 5c69ac0246d0: Verifying Checksum [2022-06-27T20:00:45.964Z] 5c69ac0246d0: Download complete [2022-06-27T20:00:45.964Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T20:00:45.964Z] 3a2ae6a8a46f: Download complete [2022-06-27T20:00:46.224Z] 33b1e0a273af: Verifying Checksum [2022-06-27T20:00:46.224Z] 33b1e0a273af: Download complete [2022-06-27T20:00:46.224Z] 5d3b04190fa2: Download complete [2022-06-27T20:00:46.224Z] ec43610c2a17: Verifying Checksum [2022-06-27T20:00:46.224Z] ec43610c2a17: Download complete [2022-06-27T20:00:46.224Z] 5eb5b503b376: Verifying Checksum [2022-06-27T20:00:46.224Z] 5eb5b503b376: Download complete [2022-06-27T20:00:46.792Z] 2f39f015ded8: Download complete [2022-06-27T20:00:47.362Z] 5eb5b503b376: Pull complete [2022-06-27T20:00:47.621Z] 5c69ac0246d0: Pull complete [2022-06-27T20:00:48.191Z] ec43610c2a17: Pull complete [2022-06-27T20:00:48.191Z] 3a2ae6a8a46f: Pull complete [2022-06-27T20:00:48.451Z] 33b1e0a273af: Pull complete [2022-06-27T20:00:48.452Z] 5d3b04190fa2: Pull complete [2022-06-27T20:00:52.651Z] 2f39f015ded8: Pull complete [2022-06-27T20:00:52.651Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T20:00:52.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:00:52.651Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:00:52.750Z] prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container [2022-06-27T20:00:52.790Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T20:00:54.459Z] $ docker top 77e6bfc01cf9ec107746d8414caa3a5aaa83286edaef6e06fc0ef389223068f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:00:54.865Z] ---> job-cost.sh [2022-06-27T20:00:54.865Z] lf-activate-venv: SKIPPING [2022-06-27T20:00:54.865Z] INFO: No Stack... [2022-06-27T20:00:55.126Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T20:00:55.697Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T20:00:55.994Z] + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv [2022-06-27T20:00:55.994Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T20:00:56.009Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] [2022-06-27T20:00:56.015Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] did not exist. Created. [2022-06-27T20:00:56.015Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T20:00:56.323Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T20:00:56.354Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T20:00:56.364Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T20:00:56.388Z] $ docker stop --time=1 77e6bfc01cf9ec107746d8414caa3a5aaa83286edaef6e06fc0ef389223068f7 [2022-06-27T20:00:57.546Z] $ docker rm -f 77e6bfc01cf9ec107746d8414caa3a5aaa83286edaef6e06fc0ef389223068f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T20:00:57.647Z] Failed in branch amd64 [2022-06-27T20:01:45.268Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16131 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws [2022-06-27T20:01:45.281Z] Running in /w/workspace/device-onvif-camera/16 [Pipeline] { [Pipeline] checkout [2022-06-27T20:01:45.336Z] Selected Git installation does not exist. Using Default [2022-06-27T20:01:45.336Z] The recommended git tool is: NONE [2022-06-27T20:01:52.143Z] using credential edgex-jenkins-ssh [2022-06-27T20:01:52.162Z] Cloning the remote Git repository [2022-06-27T20:01:52.216Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T20:01:52.287Z] > git init /w/workspace/device-onvif-camera/16 # timeout=10 [2022-06-27T20:01:52.362Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T20:01:52.363Z] > git --version # timeout=10 [2022-06-27T20:01:52.381Z] > git --version # 'git version 2.25.1' [2022-06-27T20:01:52.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:01:52.577Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T20:01:54.149Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T20:01:54.172Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T20:01:54.200Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T20:01:54.239Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T20:01:54.240Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:01:54.254Z] > 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-27T20:01:54.765Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 8b628f1f80489d80ea8abad1d9a87ea756733828 [2022-06-27T20:01:55.129Z] Merge succeeded, producing d80a1a9c921fd7e0b7b866a6de74141fb997da8e [2022-06-27T20:01:55.129Z] Checking out Revision d80a1a9c921fd7e0b7b866a6de74141fb997da8e (PR-90) [2022-06-27T20:01:54.782Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T20:01:54.798Z] > git checkout -f 8b628f1f80489d80ea8abad1d9a87ea756733828 # timeout=10 [2022-06-27T20:01:54.929Z] > git remote # timeout=10 [2022-06-27T20:01:54.949Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T20:01:54.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:01:54.983Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-27T20:01:55.112Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T20:01:55.136Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T20:01:55.155Z] > git checkout -f d80a1a9c921fd7e0b7b866a6de74141fb997da8e # timeout=10 [2022-06-27T20:01:59.258Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-27T20:01:59.281Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T20:02:00.141Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T20:02:00.141Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T20:02:00.141Z] Dload Upload Total Spent Left Speed [2022-06-27T20:02:00.141Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94253 0 --:--:-- --:--:-- --:--:-- 94253 [Pipeline] sh [2022-06-27T20:01:59.266Z] > git rev-list --no-walk 0f44c4d712ab552f8feb5f3b37abc0045fa4f9e6 # timeout=10 [2022-06-27T20:02:00.929Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T20:02:01.274Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-06-27T20:02:01.274Z] sudo tee /etc/docker/daemon.new [2022-06-27T20:02:01.274Z] { [2022-06-27T20:02:01.274Z] "registry-mirrors": [ [2022-06-27T20:02:01.274Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T20:02:01.274Z] ], [2022-06-27T20:02:01.274Z] "bip": "10.250.0.254/24", [2022-06-27T20:02:01.274Z] "hosts": [ [2022-06-27T20:02:01.274Z] "tcp://0.0.0.0:5555", [2022-06-27T20:02:01.274Z] "unix:///var/run/docker.sock" [2022-06-27T20:02:01.274Z] ], [2022-06-27T20:02:01.274Z] "mtu": 1458, [2022-06-27T20:02:01.274Z] "selinux-enabled": true, [2022-06-27T20:02:01.274Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T20:02:01.274Z] } [Pipeline] sh [2022-06-27T20:02:01.615Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T20:02:01.949Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:02:20.274Z] provisioning config files... [2022-06-27T20:02:20.296Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/16@tmp/config6071294777896811172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:02:20.642Z] ---> docker-login.sh [2022-06-27T20:02:20.642Z] nexus3.edgexfoundry.org:10001 [2022-06-27T20:02:21.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:02:21.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:02:21.522Z] Configure a credential helper to remove this warning. See [2022-06-27T20:02:21.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:02:21.522Z] [2022-06-27T20:02:21.522Z] Login Succeeded [2022-06-27T20:02:21.522Z] nexus3.edgexfoundry.org:10002 [2022-06-27T20:02:21.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:02:21.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:02:21.794Z] Configure a credential helper to remove this warning. See [2022-06-27T20:02:21.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:02:21.794Z] [2022-06-27T20:02:21.794Z] Login Succeeded [2022-06-27T20:02:21.794Z] nexus3.edgexfoundry.org:10003 [2022-06-27T20:02:22.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:02:22.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:02:22.392Z] Configure a credential helper to remove this warning. See [2022-06-27T20:02:22.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:02:22.392Z] [2022-06-27T20:02:22.392Z] Login Succeeded [2022-06-27T20:02:22.392Z] nexus3.edgexfoundry.org:10004 [2022-06-27T20:02:22.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:02:22.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:02:22.664Z] Configure a credential helper to remove this warning. See [2022-06-27T20:02:22.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:02:22.664Z] [2022-06-27T20:02:22.664Z] Login Succeeded [2022-06-27T20:02:22.937Z] docker.io [2022-06-27T20:02:23.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:02:23.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:02:23.481Z] Configure a credential helper to remove this warning. See [2022-06-27T20:02:23.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:02:23.481Z] [2022-06-27T20:02:23.481Z] Login Succeeded [2022-06-27T20:02:23.481Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T20:02:23.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T20:02:23.909Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:02:23.922Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:02:23.933Z] ========================================================= [2022-06-27T20:02:23.933Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T20:02:23.933Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:02:24.288Z] + 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-27T20:02:24.564Z] Sending build context to Docker daemon 6.054MB [2022-06-27T20:02:24.564Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T20:02:24.564Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T20:02:24.852Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T20:02:24.852Z] 9b3977197b4f: Pulling fs layer [2022-06-27T20:02:24.852Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T20:02:24.852Z] 94645a83ff95: Pulling fs layer [2022-06-27T20:02:24.852Z] e6fb740bc735: Pulling fs layer [2022-06-27T20:02:24.852Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T20:02:24.852Z] 355e64cbe906: Pulling fs layer [2022-06-27T20:02:24.852Z] 63ab81a10011: Pulling fs layer [2022-06-27T20:02:24.852Z] 555d1d1c4555: Pulling fs layer [2022-06-27T20:02:24.852Z] 7d9057610161: Pulling fs layer [2022-06-27T20:02:24.852Z] 355e64cbe906: Waiting [2022-06-27T20:02:24.852Z] 555d1d1c4555: Waiting [2022-06-27T20:02:24.852Z] 63ab81a10011: Waiting [2022-06-27T20:02:24.852Z] 7d9057610161: Waiting [2022-06-27T20:02:24.852Z] e6fb740bc735: Waiting [2022-06-27T20:02:24.852Z] 94645a83ff95: Download complete [2022-06-27T20:02:24.852Z] 1a89e8eeedd5: Download complete [2022-06-27T20:02:24.852Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T20:02:24.852Z] 3a77bd46dcc9: Download complete [2022-06-27T20:02:24.852Z] 355e64cbe906: Verifying Checksum [2022-06-27T20:02:24.852Z] 355e64cbe906: Download complete [2022-06-27T20:02:24.852Z] 9b3977197b4f: Verifying Checksum [2022-06-27T20:02:24.852Z] 9b3977197b4f: Download complete [2022-06-27T20:02:24.852Z] 63ab81a10011: Verifying Checksum [2022-06-27T20:02:24.852Z] 63ab81a10011: Download complete [2022-06-27T20:02:25.851Z] 7d9057610161: Verifying Checksum [2022-06-27T20:02:25.851Z] 7d9057610161: Download complete [2022-06-27T20:02:25.851Z] 9b3977197b4f: Pull complete [2022-06-27T20:02:26.451Z] 1a89e8eeedd5: Pull complete [2022-06-27T20:02:26.726Z] 94645a83ff95: Pull complete [2022-06-27T20:02:27.002Z] 555d1d1c4555: Verifying Checksum [2022-06-27T20:02:27.002Z] 555d1d1c4555: Download complete [2022-06-27T20:02:27.593Z] e6fb740bc735: Download complete [2022-06-27T20:02:40.004Z] e6fb740bc735: Pull complete [2022-06-27T20:02:40.004Z] 3a77bd46dcc9: Pull complete [2022-06-27T20:02:40.004Z] 355e64cbe906: Pull complete [2022-06-27T20:02:40.281Z] 63ab81a10011: Pull complete [2022-06-27T20:02:47.021Z] 555d1d1c4555: Pull complete [2022-06-27T20:02:49.007Z] 7d9057610161: Pull complete [2022-06-27T20:02:49.007Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T20:02:49.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T20:02:49.007Z] ---> 819e984ddca1 [2022-06-27T20:02:49.007Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T20:02:49.605Z] ---> Running in e6f726851c6b [2022-06-27T20:02:49.880Z] Removing intermediate container e6f726851c6b [2022-06-27T20:02:49.880Z] ---> 03c819b30ae0 [2022-06-27T20:02:49.880Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:02:49.880Z] ---> Running in f10920cb7559 [2022-06-27T20:02:50.155Z] Removing intermediate container f10920cb7559 [2022-06-27T20:02:50.155Z] ---> 8b471768f5e6 [2022-06-27T20:02:50.155Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:02:50.155Z] ---> Running in 4192a7c8b590 [2022-06-27T20:02:50.437Z] Removing intermediate container 4192a7c8b590 [2022-06-27T20:02:50.437Z] ---> b2cd62abd3be [2022-06-27T20:02:50.437Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T20:02:50.717Z] ---> Running in 75cfe9289743 [2022-06-27T20:02:50.991Z] Removing intermediate container 75cfe9289743 [2022-06-27T20:02:50.991Z] ---> a6e507989538 [2022-06-27T20:02:50.991Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:02:50.991Z] ---> Running in 213d1ba5bcba [2022-06-27T20:02:54.393Z] Removing intermediate container 213d1ba5bcba [2022-06-27T20:02:54.393Z] ---> f14c01b40672 [2022-06-27T20:02:54.393Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:02:54.393Z] ---> Running in f16b7f7dee7f [2022-06-27T20:02:54.993Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T20:02:55.976Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T20:02:56.957Z] OK: 220 MiB in 52 packages [2022-06-27T20:02:57.551Z] Removing intermediate container f16b7f7dee7f [2022-06-27T20:02:57.551Z] ---> d79bf3672d79 [2022-06-27T20:02:57.551Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T20:02:57.551Z] ---> Running in f9eaa876f04f [2022-06-27T20:02:57.829Z] Removing intermediate container f9eaa876f04f [2022-06-27T20:02:57.829Z] ---> a92850080433 [2022-06-27T20:02:57.829Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T20:02:58.426Z] ---> d91f134d73d8 [2022-06-27T20:02:58.426Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:02:58.426Z] ---> Running in 24f4f6585fe6 [2022-06-27T20:03:45.425Z] Removing intermediate container 24f4f6585fe6 [2022-06-27T20:03:45.426Z] ---> 64d7d0bc0eb4 [2022-06-27T20:03:45.426Z] Step 12/13 : COPY . . [2022-06-27T20:03:45.426Z] ---> 0c04c3402d8d [2022-06-27T20:03:45.426Z] Step 13/13 : RUN ${MAKE} [2022-06-27T20:03:45.426Z] ---> Running in 0a046a3b7801 [2022-06-27T20:03:45.700Z] noop [2022-06-27T20:03:46.299Z] Removing intermediate container 0a046a3b7801 [2022-06-27T20:03:46.299Z] ---> 66f21ec8a8bf [2022-06-27T20:03:46.299Z] Successfully built 66f21ec8a8bf [2022-06-27T20:03:46.299Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:03:46.668Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T20:03:46.668Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:03:46.930Z] prd-ubuntu20.04-docker-arm64-4c-16g-16131 does not seem to be running inside a container [2022-06-27T20:03:47.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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-06-27T20:03:48.297Z] $ docker top 4b5aca162512e488b2ec337aa2a67cfaf8428b8fa462585a2511ee0844cefc72 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:03:49.197Z] + go version [2022-06-27T20:03:49.197Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T20:03:49.220Z] $ docker stop --time=1 4b5aca162512e488b2ec337aa2a67cfaf8428b8fa462585a2511ee0844cefc72 [2022-06-27T20:03:50.856Z] $ docker rm -f 4b5aca162512e488b2ec337aa2a67cfaf8428b8fa462585a2511ee0844cefc72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:03:51.482Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T20:03:51.482Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:03:51.713Z] prd-ubuntu20.04-docker-arm64-4c-16g-16131 does not seem to be running inside a container [2022-06-27T20:03:51.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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-06-27T20:03:53.048Z] $ docker top 9fd8ac31d5bcd910e5f139e805f109167eff66e7a92579f3be1a62928d9663b1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T20:03:53.968Z] + make test [2022-06-27T20:03:53.968Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T20:03:55.414Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-27T20:03:55.414Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-27T20:03:55.414Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-27T20:03:55.686Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T20:05:03.768Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-27T20:05:03.768Z] internal/driver/onvifclient.go:63:27: d.tryGetCredentialsFromMac undefined (type *Driver has no field or method tryGetCredentialsFromMac) [2022-06-27T20:05:42.786Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.246s coverage: 13.8% of statements [2022-06-27T20:05:42.786Z] make: *** [Makefile:48: unittest] Error 2 [Pipeline] } [2022-06-27T20:05:42.809Z] $ docker stop --time=1 9fd8ac31d5bcd910e5f139e805f109167eff66e7a92579f3be1a62928d9663b1 [2022-06-27T20:05:44.518Z] $ docker rm -f 9fd8ac31d5bcd910e5f139e805f109167eff66e7a92579f3be1a62928d9663b1 [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-27T20:05:45.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:05:45.520Z] [2022-06-27T20:05:45.520Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:05:45.899Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:05:46.222Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T20:05:46.222Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T20:05:46.222Z] 04944245beec: Pulling fs layer [2022-06-27T20:05:46.222Z] 699f458cf7ca: Pulling fs layer [2022-06-27T20:05:46.222Z] 765212b225bb: Pulling fs layer [2022-06-27T20:05:46.222Z] f23df028b6ca: Pulling fs layer [2022-06-27T20:05:46.222Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T20:05:46.222Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T20:05:46.222Z] f23df028b6ca: Waiting [2022-06-27T20:05:46.222Z] d65c8cfc05b1: Waiting [2022-06-27T20:05:46.222Z] 2437ff75d9bd: Waiting [2022-06-27T20:05:46.222Z] 765212b225bb: Waiting [2022-06-27T20:05:46.222Z] 04944245beec: Verifying Checksum [2022-06-27T20:05:46.222Z] 04944245beec: Download complete [2022-06-27T20:05:46.222Z] 765212b225bb: Verifying Checksum [2022-06-27T20:05:46.222Z] 765212b225bb: Download complete [2022-06-27T20:05:46.222Z] f23df028b6ca: Verifying Checksum [2022-06-27T20:05:46.222Z] f23df028b6ca: Download complete [2022-06-27T20:05:46.222Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T20:05:46.222Z] d65c8cfc05b1: Download complete [2022-06-27T20:05:46.521Z] 699f458cf7ca: Verifying Checksum [2022-06-27T20:05:46.521Z] 699f458cf7ca: Download complete [2022-06-27T20:05:46.806Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T20:05:46.806Z] 8998bd30e6a1: Download complete [2022-06-27T20:05:49.474Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T20:05:49.474Z] 2437ff75d9bd: Download complete [2022-06-27T20:05:52.104Z] 8998bd30e6a1: Pull complete [2022-06-27T20:05:52.104Z] 04944245beec: Pull complete [2022-06-27T20:05:53.539Z] 699f458cf7ca: Pull complete [2022-06-27T20:05:53.812Z] 765212b225bb: Pull complete [2022-06-27T20:05:54.789Z] f23df028b6ca: Pull complete [2022-06-27T20:05:55.063Z] d65c8cfc05b1: Pull complete [2022-06-27T20:06:10.147Z] 2437ff75d9bd: Pull complete [2022-06-27T20:06:10.147Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T20:06:10.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:06:10.147Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:06:10.420Z] prd-ubuntu20.04-docker-arm64-4c-16g-16131 does not seem to be running inside a container [2022-06-27T20:06:10.517Z] $ 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/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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-06-27T20:06:12.968Z] $ docker top bbc06cb4441d8a4d35cf0734ea85f776d7a7e6f52a248bbce8ecfdb9e1e1397e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:06:13.888Z] ---> job-cost.sh [2022-06-27T20:06:13.888Z] lf-activate-venv: SKIPPING [2022-06-27T20:06:13.888Z] INFO: No Stack... [2022-06-27T20:06:14.479Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T20:06:15.451Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T20:06:16.112Z] + + cat /w/workspace/device-onvif-camera/16/archives/cost.csv [2022-06-27T20:06:16.112Z] cut -d, -f6 [Pipeline] lock [2022-06-27T20:06:16.176Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] [2022-06-27T20:06:16.182Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] did not exist. Created. [2022-06-27T20:06:16.182Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T20:06:16.862Z] /w/workspace/device-onvif-camera/16@tmp/durable-26388547/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T20:06:17.541Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T20:06:17.563Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T20:06:17.999Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T20:06:18.004Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T20:06:18.025Z] $ docker stop --time=1 bbc06cb4441d8a4d35cf0734ea85f776d7a7e6f52a248bbce8ecfdb9e1e1397e [2022-06-27T20:06:19.512Z] $ docker rm -f bbc06cb4441d8a4d35cf0734ea85f776d7a7e6f52a248bbce8ecfdb9e1e1397e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T20:06:19.847Z] 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-27T20:06:20.496Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] [2022-06-27T20:06:20.496Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T20:06:20.496Z] total 16 [2022-06-27T20:06:20.496Z] drwxr-xr-x 3 root root 4096 Jun 27 20:00 . [2022-06-27T20:06:20.496Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:00 .. [2022-06-27T20:06:20.496Z] drwxr-xr-x 2 root root 4096 Jun 27 20:00 cost [2022-06-27T20:06:20.496Z] -rw-r--r-- 1 root root 90 Jun 27 20:00 cost.csv [2022-06-27T20:06:20.496Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T20:06:20.496Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T20:06:20.496Z] total 16 [2022-06-27T20:06:20.496Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 20:00 . [2022-06-27T20:06:20.496Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:00 .. [2022-06-27T20:06:20.496Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 20:00 cost [2022-06-27T20:06:20.496Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 27 20:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:06:20.787Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:06:21.647Z] ---> package-listing.sh [2022-06-27T20:06:21.647Z] ++ facter osfamily [2022-06-27T20:06:21.647Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T20:06:21.907Z] + OS_FAMILY=debian [2022-06-27T20:06:21.907Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 [2022-06-27T20:06:21.907Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T20:06:21.907Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T20:06:21.907Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T20:06:21.907Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T20:06:21.907Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-27T20:06:21.907Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T20:06:21.907Z] + case "${OS_FAMILY}" in [2022-06-27T20:06:21.907Z] + dpkg -l [2022-06-27T20:06:21.907Z] + grep '^ii' [2022-06-27T20:06:21.907Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T20:06:21.907Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T20:06:21.907Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T20:06:21.907Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-27T20:06:21.907Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [2022-06-27T20:06:21.907Z] + 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-27T20:06:21.919Z] 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-27T20:06:22.201Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:06:22.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:06:22.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:06:22.851Z] prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container [2022-06-27T20:06:22.884Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T20:06:23.134Z] $ docker top e2b4914371a97077906969246e7bae58ccb1281cb393d3d3bda8a900452f5f2e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:06:23.498Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T20:06:23.788Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T20:06:24.090Z] + ls /var/log/sa-host [2022-06-27T20:06:24.090Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:06:24.153Z] provisioning config files... [2022-06-27T20:06:24.161Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config553776332407488039tmp [Pipeline] { [Pipeline] echo [2022-06-27T20:06:24.172Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:06:24.491Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T20:06:24.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:06:24.940Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T20:06:24.949Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:06:25.231Z] ---> sudo-logs.sh [2022-06-27T20:06:25.231Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T20:06:25.252Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:06:25.547Z] ---> job-cost.sh [2022-06-27T20:06:25.547Z] lf-activate-venv: SKIPPING [2022-06-27T20:06:25.547Z] DEBUG: total: 0.2199999988079071 [2022-06-27T20:06:25.547Z] INFO: Retrieving Stack Cost... [2022-06-27T20:06:25.806Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T20:06:26.376Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T20:06:26.387Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:06:26.673Z] ---> logs-deploy.sh [2022-06-27T20:06:26.673Z] lf-activate-venv: SKIPPING [2022-06-27T20:06:26.673Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/16 [2022-06-27T20:06:26.673Z] INFO: archiving workspace using pattern(s): [2022-06-27T20:06:27.615Z] Archives upload complete. [2022-06-27T20:06:27.615Z] INFO: archiving logs to Nexus