Pull request #90 updated Pull request #90 updated Pull request #90 updated Pull request #90 updated Pull request #90 updated 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 d6d95102fbf19105d5fb7e86e86cea88fb28d54b 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-ssh15416652679771244027.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-ssh10255957914178795318.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-ssh8632347169732988268.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-ssh4595039944803792868.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-ssh3395803479154276701.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-15543’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15545 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 d6d95102fbf19105d5fb7e86e86cea88fb28d54b Merge succeeded, producing 11acfad0fd38378eeebc0de5b7949f6c91639f3f Checking out Revision 11acfad0fd38378eeebc0de5b7949f6c91639f3f (PR-90) > git config core.sparsecheckout # timeout=10 > git checkout -f d6d95102fbf19105d5fb7e86e86cea88fb28d54b # 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 11acfad0fd38378eeebc0de5b7949f6c91639f3f # 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:26:08.912Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-24T17:26:08.963Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-24T17:26:08.978Z] ========================================================= [2022-06-24T17:26:08.978Z] EdgeX Global Pipelines Version Info [2022-06-24T17:26:08.978Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 3a7888ec3c7d0dd5b10305344d62210fd07cc6c6 # timeout=10 [2022-06-24T17:26:09.727Z] ------------------- [2022-06-24T17:26:09.727Z] stable info: [2022-06-24T17:26:09.727Z] ------------------- [2022-06-24T17:26:09.727Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-24T17:26:09.727Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T17:26:09.727Z] Message: update stable to v1.0.234 [2022-06-24T17:26:10.301Z] ------------------- [2022-06-24T17:26:10.301Z] experimental info: [2022-06-24T17:26:10.301Z] ------------------- [2022-06-24T17:26:10.301Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-24T17:26:10.301Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T17:26:10.301Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-24T17:26:10.503Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-24T17:26:10.511Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-24T17:26:10.519Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-24T17:26:10.534Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-24T17:26:10.548Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-24T17:26:10.559Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-24T17:26:10.571Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-24T17:26:10.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-24T17:26:10.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-24T17:26:10.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-24T17:26:10.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-24T17:26:10.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-24T17:26:10.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-24T17:26:10.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-24T17:26:10.664Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T17:26:10.675Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T17:26:10.687Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T17:26:10.698Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T17:26:10.709Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-24T17:26:10.726Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-24T17:26:10.740Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-24T17:26:10.751Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-24T17:26:10.762Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-24T17:26:10.773Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-24T17:26:10.784Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-24T17:26:10.795Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-24T17:26:10.806Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-24T17:26:10.820Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2022-06-24T17:26:10.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2022-06-24T17:26:10.842Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2022-06-24T17:26:10.853Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11acfad0fd38378eeebc0de5b7949f6c91639f3f [Pipeline] echo [2022-06-24T17:26:10.864Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 11acfad [Pipeline] echo [2022-06-24T17:26:10.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T17:26:10.911Z] provisioning config files... [2022-06-24T17:26:10.922Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1012913818353914696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:26:11.236Z] ---> docker-login.sh [2022-06-24T17:26:11.237Z] nexus3.edgexfoundry.org:10001 [2022-06-24T17:26:11.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:26:11.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:26:11.499Z] Configure a credential helper to remove this warning. See [2022-06-24T17:26:11.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:26:11.499Z] [2022-06-24T17:26:11.499Z] Login Succeeded [2022-06-24T17:26:11.499Z] nexus3.edgexfoundry.org:10002 [2022-06-24T17:26:11.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:26:11.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:26:11.761Z] Configure a credential helper to remove this warning. See [2022-06-24T17:26:11.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:26:11.761Z] [2022-06-24T17:26:11.761Z] Login Succeeded [2022-06-24T17:26:11.761Z] nexus3.edgexfoundry.org:10003 [2022-06-24T17:26:11.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:26:11.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:26:11.761Z] Configure a credential helper to remove this warning. See [2022-06-24T17:26:11.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:26:11.761Z] [2022-06-24T17:26:11.761Z] Login Succeeded [2022-06-24T17:26:12.023Z] nexus3.edgexfoundry.org:10004 [2022-06-24T17:26:12.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:26:12.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:26:12.023Z] Configure a credential helper to remove this warning. See [2022-06-24T17:26:12.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:26:12.023Z] [2022-06-24T17:26:12.023Z] Login Succeeded [2022-06-24T17:26:12.023Z] docker.io [2022-06-24T17:26:12.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:26:12.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:26:12.595Z] Configure a credential helper to remove this warning. See [2022-06-24T17:26:12.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:26:12.595Z] [2022-06-24T17:26:12.595Z] Login Succeeded [2022-06-24T17:26:12.595Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T17:26:12.604Z] 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:26:12.982Z] + git rev-list -1 --merges 11acfad0fd38378eeebc0de5b7949f6c91639f3f~1..11acfad0fd38378eeebc0de5b7949f6c91639f3f [Pipeline] echo [2022-06-24T17:26:13.008Z] -----------> git rev-list -1 --merges 11acfad0fd38378eeebc0de5b7949f6c91639f3f~1..11acfad0fd38378eeebc0de5b7949f6c91639f3f 11acfad0fd38378eeebc0de5b7949f6c91639f3f [2022-06-24T17:26:13.008Z] 11acfad0fd38378eeebc0de5b7949f6c91639f3f [false] [Pipeline] sh [2022-06-24T17:26:13.302Z] + git log --format=format:%s -1 11acfad0fd38378eeebc0de5b7949f6c91639f3f [Pipeline] echo [2022-06-24T17:26:13.319Z] ========================================================= [2022-06-24T17:26:13.319Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-24T17:26:13.319Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T17:26:13.656Z] + git log --format=format:%s -1 11acfad0fd38378eeebc0de5b7949f6c91639f3f [Pipeline] echo [2022-06-24T17:26:13.668Z] [semverPrep] GIT_COMMIT: 11acfad0fd38378eeebc0de5b7949f6c91639f3f, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-24T17:26:13.682Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-24T17:26:14.027Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-24T17:26:14.027Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-24T17:26:14.027Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-24T17:26:14.027Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-24T17:26:14.027Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-24T17:26:14.027Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-24T17:26:14.027Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:26:14.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T17:26:14.387Z] [2022-06-24T17:26:14.387Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:26:14.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T17:26:14.700Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-24T17:26:14.700Z] 42c077c10790: Pulling fs layer [2022-06-24T17:26:14.700Z] f63e77b7563a: Pulling fs layer [2022-06-24T17:26:14.700Z] bd5fdadae976: Pulling fs layer [2022-06-24T17:26:14.700Z] 205491f53016: Pulling fs layer [2022-06-24T17:26:14.700Z] df18705c85c3: Pulling fs layer [2022-06-24T17:26:14.700Z] bdb3f477010e: Pulling fs layer [2022-06-24T17:26:14.700Z] 205491f53016: Waiting [2022-06-24T17:26:14.700Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-24T17:26:14.700Z] df18705c85c3: Waiting [2022-06-24T17:26:14.700Z] 2c6e9b1d212d: Pulling fs layer [2022-06-24T17:26:14.700Z] bdb8f0575790: Pulling fs layer [2022-06-24T17:26:14.700Z] 2c6e9b1d212d: Waiting [2022-06-24T17:26:14.700Z] 386e3cb2ff24: Pulling fs layer [2022-06-24T17:26:14.700Z] bdb8f0575790: Waiting [2022-06-24T17:26:14.700Z] 2343380bae48: Pulling fs layer [2022-06-24T17:26:14.700Z] 2343380bae48: Waiting [2022-06-24T17:26:14.700Z] 386e3cb2ff24: Waiting [2022-06-24T17:26:14.700Z] f63e77b7563a: Download complete [2022-06-24T17:26:14.700Z] 205491f53016: Verifying Checksum [2022-06-24T17:26:14.700Z] 205491f53016: Download complete [2022-06-24T17:26:14.959Z] df18705c85c3: Verifying Checksum [2022-06-24T17:26:14.959Z] df18705c85c3: Download complete [2022-06-24T17:26:14.959Z] bdb3f477010e: Verifying Checksum [2022-06-24T17:26:14.959Z] bdb3f477010e: Download complete [2022-06-24T17:26:14.959Z] bd5fdadae976: Verifying Checksum [2022-06-24T17:26:14.959Z] bd5fdadae976: Download complete [2022-06-24T17:26:14.959Z] 2c6e9b1d212d: Download complete [2022-06-24T17:26:14.959Z] bdb8f0575790: Verifying Checksum [2022-06-24T17:26:14.959Z] bdb8f0575790: Download complete [2022-06-24T17:26:14.959Z] 386e3cb2ff24: Verifying Checksum [2022-06-24T17:26:14.959Z] 386e3cb2ff24: Download complete [2022-06-24T17:26:14.959Z] 42c077c10790: Verifying Checksum [2022-06-24T17:26:14.959Z] 42c077c10790: Download complete [2022-06-24T17:26:15.219Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-24T17:26:15.219Z] c8a8fc8e1c8f: Download complete [2022-06-24T17:26:16.159Z] 42c077c10790: Pull complete [2022-06-24T17:26:16.419Z] f63e77b7563a: Pull complete [2022-06-24T17:26:16.679Z] bd5fdadae976: Pull complete [2022-06-24T17:26:16.938Z] 205491f53016: Pull complete [2022-06-24T17:26:17.199Z] df18705c85c3: Pull complete [2022-06-24T17:26:17.199Z] bdb3f477010e: Pull complete [2022-06-24T17:26:19.108Z] c8a8fc8e1c8f: Pull complete [2022-06-24T17:26:19.108Z] 2c6e9b1d212d: Pull complete [2022-06-24T17:26:19.108Z] bdb8f0575790: Pull complete [2022-06-24T17:26:19.370Z] 386e3cb2ff24: Pull complete [2022-06-24T17:26:19.370Z] 2343380bae48: Pull complete [2022-06-24T17:26:19.370Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-24T17:26:19.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T17:26:19.370Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:26:19.474Z] prd-ubuntu20.04-docker-8c-8g-15545 does not seem to be running inside a container [2022-06-24T17:26:19.507Z] $ 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-24T17:26:21.012Z] $ docker top 5a9f97c1c628de9be42dec05c87316193890442ab5d8c3e4c9e740fd88707a1e -eo pid,comm [2022-06-24T17:26:21.079Z] 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:26:21.079Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-24T17:26:21.116Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T17:26:21.116Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T17:26:21.250Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T17:26:21.250Z] $ docker exec 5a9f97c1c628de9be42dec05c87316193890442ab5d8c3e4c9e740fd88707a1e ssh-agent [2022-06-24T17:26:21.389Z] SSH_AUTH_SOCK=/tmp/ssh-c9YiDyJ3lL0V/agent.33 [2022-06-24T17:26:21.389Z] SSH_AGENT_PID=39 [2022-06-24T17:26:21.395Z] Running ssh-add (command line suppressed) [2022-06-24T17:26:21.500Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4850789339060562999.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4850789339060562999.key) [2022-06-24T17:26:21.517Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T17:26:21.807Z] + git tag --points-at HEAD [Pipeline] } [2022-06-24T17:26:21.827Z] $ docker exec --env ******** --env ******** 5a9f97c1c628de9be42dec05c87316193890442ab5d8c3e4c9e740fd88707a1e ssh-agent -k [2022-06-24T17:26:21.935Z] unset SSH_AUTH_SOCK; [2022-06-24T17:26:21.935Z] unset SSH_AGENT_PID; [2022-06-24T17:26:21.935Z] echo Agent pid 39 killed; [2022-06-24T17:26:21.956Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-24T17:26:21.985Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T17:26:21.985Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T17:26:22.114Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T17:26:22.114Z] $ docker exec 5a9f97c1c628de9be42dec05c87316193890442ab5d8c3e4c9e740fd88707a1e ssh-agent [2022-06-24T17:26:22.238Z] SSH_AUTH_SOCK=/tmp/ssh-REtXKztiHZQD/agent.72 [2022-06-24T17:26:22.238Z] SSH_AGENT_PID=78 [2022-06-24T17:26:22.244Z] Running ssh-add (command line suppressed) [2022-06-24T17:26:22.353Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_6215174538226512623.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_6215174538226512623.key) [2022-06-24T17:26:22.371Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T17:26:22.663Z] + git semver init [2022-06-24T17:26:22.923Z] 2022-06-24 17:26:22,842 [run_init] DEBUG init version:0.0.0 force:False [2022-06-24T17:26:22.923Z] 2022-06-24 17:26:22,843 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-24T17:26:22.923Z] 2022-06-24 17:26:22,843 [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:26:22.923Z] 2022-06-24 17:26:22,844 [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:26:23.865Z] 2022-06-24 17:26:23,525 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude [2022-06-24T17:26:23.865Z] 2022-06-24 17:26:23,525 [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:26:23.865Z] 2022-06-24 17:26:23,525 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-24T17:26:23.865Z] 2022-06-24 17:26:23,529 [execute] INFO git cat-file --batch-check [2022-06-24T17:26:23.865Z] 2022-06-24 17:26:23,530 [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:26:23.865Z] 2022-06-24 17:26:23,536 [execute] INFO git cat-file --batch [2022-06-24T17:26:23.865Z] 2022-06-24 17:26:23,536 [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:26:23.865Z] 2022-06-24 17:26:23,541 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-24T17:26:23.865Z] 0.0.0 [Pipeline] } [2022-06-24T17:26:23.874Z] $ docker exec --env ******** --env ******** 5a9f97c1c628de9be42dec05c87316193890442ab5d8c3e4c9e740fd88707a1e ssh-agent -k [2022-06-24T17:26:23.989Z] unset SSH_AUTH_SOCK; [2022-06-24T17:26:23.989Z] unset SSH_AGENT_PID; [2022-06-24T17:26:23.989Z] echo Agent pid 78 killed; [2022-06-24T17:26:24.002Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-24T17:26:24.308Z] + git semver [Pipeline] } [2022-06-24T17:26:24.582Z] $ docker stop --time=1 5a9f97c1c628de9be42dec05c87316193890442ab5d8c3e4c9e740fd88707a1e [2022-06-24T17:26:25.906Z] $ docker rm -f 5a9f97c1c628de9be42dec05c87316193890442ab5d8c3e4c9e740fd88707a1e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-24T17:26:26.256Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-24T17:26:26.479Z] Stashed 1 file(s) [Pipeline] echo [2022-06-24T17:26:26.481Z] [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:26:26.605Z] provisioning config files... [2022-06-24T17:26:26.617Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1296212573585534266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:26:26.916Z] ---> docker-login.sh [2022-06-24T17:26:26.916Z] nexus3.edgexfoundry.org:10001 [2022-06-24T17:26:26.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:26:26.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:26:26.916Z] Configure a credential helper to remove this warning. See [2022-06-24T17:26:26.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:26:26.916Z] [2022-06-24T17:26:26.916Z] Login Succeeded [2022-06-24T17:26:26.916Z] nexus3.edgexfoundry.org:10002 [2022-06-24T17:26:26.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:26:27.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:26:27.177Z] Configure a credential helper to remove this warning. See [2022-06-24T17:26:27.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:26:27.177Z] [2022-06-24T17:26:27.177Z] Login Succeeded [2022-06-24T17:26:27.177Z] nexus3.edgexfoundry.org:10003 [2022-06-24T17:26:27.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:26:27.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:26:27.177Z] Configure a credential helper to remove this warning. See [2022-06-24T17:26:27.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:26:27.178Z] [2022-06-24T17:26:27.178Z] Login Succeeded [2022-06-24T17:26:27.178Z] nexus3.edgexfoundry.org:10004 [2022-06-24T17:26:27.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:26:27.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:26:27.440Z] Configure a credential helper to remove this warning. See [2022-06-24T17:26:27.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:26:27.440Z] [2022-06-24T17:26:27.440Z] Login Succeeded [2022-06-24T17:26:27.440Z] docker.io [2022-06-24T17:26:27.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:26:27.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:26:27.702Z] Configure a credential helper to remove this warning. See [2022-06-24T17:26:27.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:26:27.702Z] [2022-06-24T17:26:27.702Z] Login Succeeded [2022-06-24T17:26:27.702Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T17:26:27.710Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T17:26:27.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T17:26:27.792Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T17:26:27.800Z] ========================================================= [2022-06-24T17:26:27.800Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-24T17:26:27.800Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:26:28.121Z] + 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:26:28.121Z] Sending build context to Docker daemon 9.012MB [2022-06-24T17:26:28.121Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T17:26:28.121Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T17:26:28.121Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-24T17:26:28.121Z] 59bf1c3509f3: Pulling fs layer [2022-06-24T17:26:28.121Z] 666ba61612fd: Pulling fs layer [2022-06-24T17:26:28.121Z] 8ed8ca486205: Pulling fs layer [2022-06-24T17:26:28.121Z] cc1cd167ecdc: Pulling fs layer [2022-06-24T17:26:28.121Z] c516ae0d96e1: Pulling fs layer [2022-06-24T17:26:28.121Z] 684cea983483: Pulling fs layer [2022-06-24T17:26:28.121Z] dd3240ac7de5: Pulling fs layer [2022-06-24T17:26:28.121Z] b1e948a4e11c: Pulling fs layer [2022-06-24T17:26:28.121Z] a8fd76ee1af6: Pulling fs layer [2022-06-24T17:26:28.121Z] 646ad004c059: Pulling fs layer [2022-06-24T17:26:28.121Z] c516ae0d96e1: Waiting [2022-06-24T17:26:28.121Z] 684cea983483: Waiting [2022-06-24T17:26:28.121Z] dd3240ac7de5: Waiting [2022-06-24T17:26:28.121Z] cc1cd167ecdc: Waiting [2022-06-24T17:26:28.121Z] a8fd76ee1af6: Waiting [2022-06-24T17:26:28.121Z] 646ad004c059: Waiting [2022-06-24T17:26:28.121Z] 8ed8ca486205: Verifying Checksum [2022-06-24T17:26:28.121Z] 8ed8ca486205: Download complete [2022-06-24T17:26:28.382Z] 666ba61612fd: Download complete [2022-06-24T17:26:28.382Z] c516ae0d96e1: Verifying Checksum [2022-06-24T17:26:28.382Z] c516ae0d96e1: Download complete [2022-06-24T17:26:28.382Z] 684cea983483: Verifying Checksum [2022-06-24T17:26:28.382Z] 684cea983483: Download complete [2022-06-24T17:26:28.382Z] dd3240ac7de5: Verifying Checksum [2022-06-24T17:26:28.382Z] dd3240ac7de5: Download complete [2022-06-24T17:26:28.382Z] 59bf1c3509f3: Verifying Checksum [2022-06-24T17:26:28.382Z] 59bf1c3509f3: Download complete [2022-06-24T17:26:28.382Z] b1e948a4e11c: Verifying Checksum [2022-06-24T17:26:28.382Z] b1e948a4e11c: Download complete [2022-06-24T17:26:28.382Z] 59bf1c3509f3: Pull complete [2022-06-24T17:26:28.641Z] 666ba61612fd: Pull complete [2022-06-24T17:26:28.641Z] 8ed8ca486205: Pull complete [2022-06-24T17:26:28.900Z] 646ad004c059: Verifying Checksum [2022-06-24T17:26:28.900Z] 646ad004c059: Download complete [2022-06-24T17:26:29.159Z] cc1cd167ecdc: Verifying Checksum [2022-06-24T17:26:29.159Z] cc1cd167ecdc: Download complete [2022-06-24T17:26:29.159Z] a8fd76ee1af6: Verifying Checksum [2022-06-24T17:26:29.159Z] a8fd76ee1af6: Download complete [2022-06-24T17:26:32.453Z] cc1cd167ecdc: Pull complete [2022-06-24T17:26:32.712Z] c516ae0d96e1: Pull complete [2022-06-24T17:26:32.712Z] 684cea983483: Pull complete [2022-06-24T17:26:32.712Z] dd3240ac7de5: Pull complete [2022-06-24T17:26:32.972Z] b1e948a4e11c: Pull complete [2022-06-24T17:26:34.877Z] a8fd76ee1af6: Pull complete [2022-06-24T17:26:35.814Z] 646ad004c059: Pull complete [2022-06-24T17:26:35.814Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-24T17:26:35.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-24T17:26:35.814Z] ---> 8f69c11f6b0c [2022-06-24T17:26:35.814Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T17:26:37.727Z] ---> Running in 66d5c4a441d1 [2022-06-24T17:26:37.727Z] Removing intermediate container 66d5c4a441d1 [2022-06-24T17:26:37.727Z] ---> cd5efdbfec06 [2022-06-24T17:26:37.727Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T17:26:37.727Z] ---> Running in e4077acd7484 [2022-06-24T17:26:37.727Z] Removing intermediate container e4077acd7484 [2022-06-24T17:26:37.727Z] ---> 7c0060ce8823 [2022-06-24T17:26:37.727Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T17:26:37.727Z] ---> Running in 571062168b69 [2022-06-24T17:26:37.727Z] Removing intermediate container 571062168b69 [2022-06-24T17:26:37.727Z] ---> 22b8164ce592 [2022-06-24T17:26:37.727Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T17:26:37.727Z] ---> Running in ac574e151324 [2022-06-24T17:26:37.727Z] Removing intermediate container ac574e151324 [2022-06-24T17:26:37.727Z] ---> d72391ce632d [2022-06-24T17:26:37.727Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T17:26:37.988Z] ---> Running in d8a7ebc3ce1d [2022-06-24T17:26:38.561Z] Removing intermediate container d8a7ebc3ce1d [2022-06-24T17:26:38.561Z] ---> 981a3b9192f7 [2022-06-24T17:26:38.561Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T17:26:38.561Z] ---> Running in b12d9d261be8 [2022-06-24T17:26:38.822Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-24T17:26:39.765Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-24T17:26:40.027Z] OK: 221 MiB in 52 packages [2022-06-24T17:26:40.288Z] Removing intermediate container b12d9d261be8 [2022-06-24T17:26:40.288Z] ---> d3c5b45aedc3 [2022-06-24T17:26:40.288Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T17:26:40.288Z] ---> Running in a83843157782 [2022-06-24T17:26:40.550Z] Removing intermediate container a83843157782 [2022-06-24T17:26:40.550Z] ---> 53eb0c624318 [2022-06-24T17:26:40.550Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T17:26:40.550Z] ---> ada66ca66c6b [2022-06-24T17:26:40.550Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T17:26:40.550Z] ---> Running in eeb1feaefbee [2022-06-24T17:26:41.579Z] Still waiting to schedule task [2022-06-24T17:26:41.579Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15544’ is offline [2022-06-24T17:26:58.685Z] Removing intermediate container eeb1feaefbee [2022-06-24T17:26:58.685Z] ---> 2f222a823c92 [2022-06-24T17:26:58.685Z] Step 12/13 : COPY . . [2022-06-24T17:26:58.685Z] ---> c2e69b8efa82 [2022-06-24T17:26:58.685Z] Step 13/13 : RUN ${MAKE} [2022-06-24T17:26:58.685Z] ---> Running in 81b124a9672e [2022-06-24T17:26:58.685Z] noop [2022-06-24T17:26:58.685Z] Removing intermediate container 81b124a9672e [2022-06-24T17:26:58.685Z] ---> 75d1f97a08ff [2022-06-24T17:26:58.685Z] Successfully built 75d1f97a08ff [2022-06-24T17:26:58.685Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:26:59.010Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T17:26:59.010Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:26:59.096Z] prd-ubuntu20.04-docker-8c-8g-15545 does not seem to be running inside a container [2022-06-24T17:26:59.134Z] $ 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-24T17:26:59.570Z] $ docker top 28851c090362b2232b9d7fc8bbbaebeacd86ba7d4e5657f957a27ca5eb257b38 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T17:26:59.923Z] + go version [2022-06-24T17:26:59.923Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-24T17:26:59.940Z] $ docker stop --time=1 28851c090362b2232b9d7fc8bbbaebeacd86ba7d4e5657f957a27ca5eb257b38 [2022-06-24T17:27:01.220Z] $ docker rm -f 28851c090362b2232b9d7fc8bbbaebeacd86ba7d4e5657f957a27ca5eb257b38 [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:27:01.638Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T17:27:01.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:27:01.718Z] prd-ubuntu20.04-docker-8c-8g-15545 does not seem to be running inside a container [2022-06-24T17:27:01.773Z] $ 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-24T17:27:02.165Z] $ docker top 42143752ccbc1a6c143665c75a482b5dde017e79e347dba2a12ea7e6e48369e0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T17:27:02.558Z] + make test [2022-06-24T17:27:02.558Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T17:27:02.816Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T17:27:02.816Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-24T17:27:02.816Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-24T17:27:02.816Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T17:27:10.934Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T17:27:10.934Z] internal/driver/credentials.go:103:140: newline in string [2022-06-24T17:27:10.934Z] internal/driver/credentials.go:103:140: syntax error: unexpected newline, expecting comma or ) [2022-06-24T17:27:16.217Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.651s coverage: 13.8% of statements [2022-06-24T17:27:16.217Z] make: *** [Makefile:48: unittest] Error 2 [Pipeline] } [2022-06-24T17:27:16.232Z] $ docker stop --time=1 42143752ccbc1a6c143665c75a482b5dde017e79e347dba2a12ea7e6e48369e0 [2022-06-24T17:27:18.059Z] $ docker rm -f 42143752ccbc1a6c143665c75a482b5dde017e79e347dba2a12ea7e6e48369e0 [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:27:18.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T17:27:18.616Z] [2022-06-24T17:27:18.616Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:27:18.913Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T17:27:18.913Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-24T17:27:18.913Z] 5eb5b503b376: Pulling fs layer [2022-06-24T17:27:18.913Z] 5c69ac0246d0: Pulling fs layer [2022-06-24T17:27:18.913Z] ec43610c2a17: Pulling fs layer [2022-06-24T17:27:18.913Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-24T17:27:18.913Z] 33b1e0a273af: Pulling fs layer [2022-06-24T17:27:18.913Z] 5d3b04190fa2: Pulling fs layer [2022-06-24T17:27:18.913Z] 2f39f015ded8: Pulling fs layer [2022-06-24T17:27:18.913Z] 5d3b04190fa2: Waiting [2022-06-24T17:27:18.913Z] 33b1e0a273af: Waiting [2022-06-24T17:27:18.913Z] 3a2ae6a8a46f: Waiting [2022-06-24T17:27:18.913Z] 2f39f015ded8: Waiting [2022-06-24T17:27:18.913Z] 5c69ac0246d0: Verifying Checksum [2022-06-24T17:27:18.913Z] 5c69ac0246d0: Download complete [2022-06-24T17:27:18.913Z] 3a2ae6a8a46f: Download complete [2022-06-24T17:27:18.913Z] 33b1e0a273af: Verifying Checksum [2022-06-24T17:27:18.913Z] 33b1e0a273af: Download complete [2022-06-24T17:27:19.181Z] ec43610c2a17: Verifying Checksum [2022-06-24T17:27:19.181Z] ec43610c2a17: Download complete [2022-06-24T17:27:19.181Z] 5d3b04190fa2: Download complete [2022-06-24T17:27:19.181Z] 5eb5b503b376: Verifying Checksum [2022-06-24T17:27:19.181Z] 5eb5b503b376: Download complete [2022-06-24T17:27:19.750Z] 2f39f015ded8: Download complete [2022-06-24T17:27:20.320Z] 5eb5b503b376: Pull complete [2022-06-24T17:27:20.320Z] 5c69ac0246d0: Pull complete [2022-06-24T17:27:20.888Z] ec43610c2a17: Pull complete [2022-06-24T17:27:20.888Z] 3a2ae6a8a46f: Pull complete [2022-06-24T17:27:21.147Z] 33b1e0a273af: Pull complete [2022-06-24T17:27:21.147Z] 5d3b04190fa2: Pull complete [2022-06-24T17:27:25.344Z] 2f39f015ded8: Pull complete [2022-06-24T17:27:25.344Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-24T17:27:25.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T17:27:25.344Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:27:25.430Z] prd-ubuntu20.04-docker-8c-8g-15545 does not seem to be running inside a container [2022-06-24T17:27:25.468Z] $ 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-24T17:27:27.341Z] $ docker top 5e7cac4cd5a0287556075310ac7bf4bd3714abd038be7cc4faacbf76b6bc5024 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:27:27.714Z] ---> job-cost.sh [2022-06-24T17:27:27.714Z] lf-activate-venv: SKIPPING [2022-06-24T17:27:27.714Z] INFO: No Stack... [2022-06-24T17:27:27.974Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T17:27:28.543Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T17:27:28.845Z] + + catcut -d, /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv -f6 [2022-06-24T17:27:28.845Z] [Pipeline] lock [2022-06-24T17:27:28.859Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-6-stack-cost] [2022-06-24T17:27:28.864Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-6-stack-cost] did not exist. Created. [2022-06-24T17:27:28.864Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T17:27:29.170Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-24T17:27:29.208Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T17:27:29.214Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T17:27:29.238Z] $ docker stop --time=1 5e7cac4cd5a0287556075310ac7bf4bd3714abd038be7cc4faacbf76b6bc5024 [2022-06-24T17:27:30.415Z] $ docker rm -f 5e7cac4cd5a0287556075310ac7bf4bd3714abd038be7cc4faacbf76b6bc5024 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-24T17:27:30.530Z] Failed in branch amd64 [2022-06-24T17:28:16.845Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15546 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws [2022-06-24T17:28:16.858Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-06-24T17:28:16.897Z] Selected Git installation does not exist. Using Default [2022-06-24T17:28:16.898Z] The recommended git tool is: NONE [2022-06-24T17:28:23.288Z] using credential edgex-jenkins-ssh [2022-06-24T17:28:23.309Z] Cloning the remote Git repository [2022-06-24T17:28:23.390Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T17:28:23.488Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-06-24T17:28:23.611Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T17:28:23.612Z] > git --version # timeout=10 [2022-06-24T17:28:23.636Z] > git --version # 'git version 2.25.1' [2022-06-24T17:28:23.639Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T17:28:23.776Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T17:28:24.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T17:28:24.639Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T17:28:24.672Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T17:28:25.257Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit d6d95102fbf19105d5fb7e86e86cea88fb28d54b [2022-06-24T17:28:25.657Z] Merge succeeded, producing 04e5de50dd3c8b18551e1b43de0dd5f73c11856b [2022-06-24T17:28:25.657Z] Checking out Revision 04e5de50dd3c8b18551e1b43de0dd5f73c11856b (PR-90) [2022-06-24T17:28:24.708Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T17:28:24.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T17:28:24.726Z] > 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:28:25.280Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T17:28:25.296Z] > git checkout -f d6d95102fbf19105d5fb7e86e86cea88fb28d54b # timeout=10 [2022-06-24T17:28:25.431Z] > git remote # timeout=10 [2022-06-24T17:28:25.448Z] > git config --get remote.origin.url # timeout=10 [2022-06-24T17:28:25.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T17:28:25.473Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-24T17:28:25.647Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-24T17:28:25.669Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T17:28:25.684Z] > git checkout -f 04e5de50dd3c8b18551e1b43de0dd5f73c11856b # timeout=10 [2022-06-24T17:28:29.924Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-24T17:28:29.950Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T17:28:29.938Z] > git rev-list --no-walk 3a7888ec3c7d0dd5b10305344d62210fd07cc6c6 # timeout=10 [2022-06-24T17:28:30.873Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-24T17:28:30.873Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-24T17:28:30.873Z] Dload Upload Total Spent Left Speed [2022-06-24T17:28:30.873Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98814 0 --:--:-- --:--:-- --:--:-- 98814 [Pipeline] sh [2022-06-24T17:28:31.706Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-24T17:28:32.041Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-06-24T17:28:32.041Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-24T17:28:32.041Z] { [2022-06-24T17:28:32.041Z] "registry-mirrors": [ [2022-06-24T17:28:32.041Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-24T17:28:32.041Z] ], [2022-06-24T17:28:32.041Z] "bip": "10.250.0.254/24", [2022-06-24T17:28:32.041Z] "hosts": [ [2022-06-24T17:28:32.041Z] "tcp://0.0.0.0:5555", [2022-06-24T17:28:32.041Z] "unix:///var/run/docker.sock" [2022-06-24T17:28:32.041Z] ], [2022-06-24T17:28:32.041Z] "mtu": 1458, [2022-06-24T17:28:32.041Z] "selinux-enabled": true, [2022-06-24T17:28:32.041Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-24T17:28:32.041Z] } [Pipeline] sh [2022-06-24T17:28:32.379Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-24T17:28:32.719Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T17:28:51.048Z] provisioning config files... [2022-06-24T17:28:51.071Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config6667823015484003114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:28:51.432Z] ---> docker-login.sh [2022-06-24T17:28:51.432Z] nexus3.edgexfoundry.org:10001 [2022-06-24T17:28:52.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:28:52.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:28:52.305Z] Configure a credential helper to remove this warning. See [2022-06-24T17:28:52.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:28:52.305Z] [2022-06-24T17:28:52.305Z] Login Succeeded [2022-06-24T17:28:52.305Z] nexus3.edgexfoundry.org:10002 [2022-06-24T17:28:52.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:28:52.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:28:52.580Z] Configure a credential helper to remove this warning. See [2022-06-24T17:28:52.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:28:52.580Z] [2022-06-24T17:28:52.580Z] Login Succeeded [2022-06-24T17:28:52.580Z] nexus3.edgexfoundry.org:10003 [2022-06-24T17:28:53.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:28:53.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:28:53.199Z] Configure a credential helper to remove this warning. See [2022-06-24T17:28:53.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:28:53.199Z] [2022-06-24T17:28:53.199Z] Login Succeeded [2022-06-24T17:28:53.199Z] nexus3.edgexfoundry.org:10004 [2022-06-24T17:28:53.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:28:53.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:28:53.479Z] Configure a credential helper to remove this warning. See [2022-06-24T17:28:53.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:28:53.479Z] [2022-06-24T17:28:53.479Z] Login Succeeded [2022-06-24T17:28:53.479Z] docker.io [2022-06-24T17:28:54.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:28:54.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:28:54.352Z] Configure a credential helper to remove this warning. See [2022-06-24T17:28:54.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:28:54.352Z] [2022-06-24T17:28:54.352Z] Login Succeeded [2022-06-24T17:28:54.352Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T17:28:54.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T17:28:54.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T17:28:54.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T17:28:54.902Z] ========================================================= [2022-06-24T17:28:54.902Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-24T17:28:54.902Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:28:55.292Z] + 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:28:55.894Z] Sending build context to Docker daemon 6.216MB [2022-06-24T17:28:55.894Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T17:28:55.894Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T17:28:55.894Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-24T17:28:55.894Z] 9b3977197b4f: Pulling fs layer [2022-06-24T17:28:55.894Z] 1a89e8eeedd5: Pulling fs layer [2022-06-24T17:28:55.894Z] 94645a83ff95: Pulling fs layer [2022-06-24T17:28:55.894Z] e6fb740bc735: Pulling fs layer [2022-06-24T17:28:55.894Z] 3a77bd46dcc9: Pulling fs layer [2022-06-24T17:28:55.894Z] 355e64cbe906: Pulling fs layer [2022-06-24T17:28:55.894Z] 63ab81a10011: Pulling fs layer [2022-06-24T17:28:55.894Z] 555d1d1c4555: Pulling fs layer [2022-06-24T17:28:55.894Z] 7d9057610161: Pulling fs layer [2022-06-24T17:28:55.894Z] 355e64cbe906: Waiting [2022-06-24T17:28:55.894Z] 63ab81a10011: Waiting [2022-06-24T17:28:55.894Z] 555d1d1c4555: Waiting [2022-06-24T17:28:55.894Z] 7d9057610161: Waiting [2022-06-24T17:28:55.894Z] e6fb740bc735: Waiting [2022-06-24T17:28:55.894Z] 3a77bd46dcc9: Waiting [2022-06-24T17:28:55.894Z] 94645a83ff95: Verifying Checksum [2022-06-24T17:28:55.894Z] 94645a83ff95: Download complete [2022-06-24T17:28:55.894Z] 1a89e8eeedd5: Verifying Checksum [2022-06-24T17:28:55.894Z] 1a89e8eeedd5: Download complete [2022-06-24T17:28:55.894Z] 3a77bd46dcc9: Verifying Checksum [2022-06-24T17:28:55.894Z] 3a77bd46dcc9: Download complete [2022-06-24T17:28:56.172Z] 355e64cbe906: Verifying Checksum [2022-06-24T17:28:56.172Z] 355e64cbe906: Download complete [2022-06-24T17:28:56.172Z] 63ab81a10011: Verifying Checksum [2022-06-24T17:28:56.172Z] 9b3977197b4f: Verifying Checksum [2022-06-24T17:28:56.172Z] 63ab81a10011: Download complete [2022-06-24T17:28:57.168Z] 9b3977197b4f: Pull complete [2022-06-24T17:28:57.168Z] 7d9057610161: Verifying Checksum [2022-06-24T17:28:57.168Z] 7d9057610161: Download complete [2022-06-24T17:28:57.451Z] 1a89e8eeedd5: Pull complete [2022-06-24T17:28:57.726Z] 94645a83ff95: Pull complete [2022-06-24T17:28:58.328Z] 555d1d1c4555: Verifying Checksum [2022-06-24T17:28:58.328Z] 555d1d1c4555: Download complete [2022-06-24T17:28:58.929Z] e6fb740bc735: Verifying Checksum [2022-06-24T17:28:58.929Z] e6fb740bc735: Download complete [2022-06-24T17:29:11.350Z] e6fb740bc735: Pull complete [2022-06-24T17:29:11.350Z] 3a77bd46dcc9: Pull complete [2022-06-24T17:29:11.350Z] 355e64cbe906: Pull complete [2022-06-24T17:29:11.350Z] 63ab81a10011: Pull complete [2022-06-24T17:29:18.073Z] 555d1d1c4555: Pull complete [2022-06-24T17:29:19.530Z] 7d9057610161: Pull complete [2022-06-24T17:29:19.530Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-24T17:29:19.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-24T17:29:19.530Z] ---> 819e984ddca1 [2022-06-24T17:29:19.530Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T17:29:21.510Z] ---> Running in 2330370de849 [2022-06-24T17:29:21.510Z] Removing intermediate container 2330370de849 [2022-06-24T17:29:21.510Z] ---> 6e9452ae97e3 [2022-06-24T17:29:21.510Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T17:29:21.510Z] ---> Running in 8363f5b8dd2e [2022-06-24T17:29:21.793Z] Removing intermediate container 8363f5b8dd2e [2022-06-24T17:29:21.793Z] ---> 7992a951a644 [2022-06-24T17:29:21.793Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T17:29:21.793Z] ---> Running in 5b63537ee9b1 [2022-06-24T17:29:22.073Z] Removing intermediate container 5b63537ee9b1 [2022-06-24T17:29:22.073Z] ---> 526fa8bb1791 [2022-06-24T17:29:22.073Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T17:29:22.351Z] ---> Running in b259ca092a12 [2022-06-24T17:29:22.625Z] Removing intermediate container b259ca092a12 [2022-06-24T17:29:22.626Z] ---> 4fe98a030ea5 [2022-06-24T17:29:22.626Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T17:29:22.626Z] ---> Running in 383faf8eeff0 [2022-06-24T17:29:24.607Z] Removing intermediate container 383faf8eeff0 [2022-06-24T17:29:24.607Z] ---> 817d6c9174d6 [2022-06-24T17:29:24.607Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T17:29:24.607Z] ---> Running in 1783dc72bd32 [2022-06-24T17:29:26.593Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-24T17:29:27.575Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-24T17:29:28.558Z] OK: 220 MiB in 52 packages [2022-06-24T17:29:29.161Z] Removing intermediate container 1783dc72bd32 [2022-06-24T17:29:29.161Z] ---> ae1d590cf4c9 [2022-06-24T17:29:29.161Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T17:29:29.161Z] ---> Running in c503369e8f5a [2022-06-24T17:29:29.434Z] Removing intermediate container c503369e8f5a [2022-06-24T17:29:29.434Z] ---> fcb74203445f [2022-06-24T17:29:29.434Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T17:29:30.037Z] ---> 4b5a327b5540 [2022-06-24T17:29:30.037Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T17:29:30.037Z] ---> Running in 27d14152f28d [2022-06-24T17:30:17.043Z] Removing intermediate container 27d14152f28d [2022-06-24T17:30:17.043Z] ---> 94273634e122 [2022-06-24T17:30:17.043Z] Step 12/13 : COPY . . [2022-06-24T17:30:17.043Z] ---> bc375da0f298 [2022-06-24T17:30:17.043Z] Step 13/13 : RUN ${MAKE} [2022-06-24T17:30:17.043Z] ---> Running in fbc865c093f4 [2022-06-24T17:30:17.043Z] noop [2022-06-24T17:30:17.315Z] Removing intermediate container fbc865c093f4 [2022-06-24T17:30:17.316Z] ---> a6e90c041a8a [2022-06-24T17:30:17.316Z] Successfully built a6e90c041a8a [2022-06-24T17:30:17.316Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:30:17.678Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T17:30:17.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:30:17.907Z] prd-ubuntu20.04-docker-arm64-4c-16g-15546 does not seem to be running inside a container [2022-06-24T17:30:17.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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:30:19.307Z] $ docker top 0a89e19ba11fc6b75597c63cbda791cf46d042073f9b5d00a589956ab1a0e84c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T17:30:20.180Z] + go version [2022-06-24T17:30:20.181Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-24T17:30:20.208Z] $ docker stop --time=1 0a89e19ba11fc6b75597c63cbda791cf46d042073f9b5d00a589956ab1a0e84c [2022-06-24T17:30:21.811Z] $ docker rm -f 0a89e19ba11fc6b75597c63cbda791cf46d042073f9b5d00a589956ab1a0e84c [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:30:22.435Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T17:30:22.435Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:30:22.659Z] prd-ubuntu20.04-docker-arm64-4c-16g-15546 does not seem to be running inside a container [2022-06-24T17:30:22.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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:30:23.981Z] $ docker top cf79dc22bb8c88d86e746cf3b51e134cfc5301bf9369224ffbec4cda5c275fe1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T17:30:24.868Z] + make test [2022-06-24T17:30:24.868Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T17:30:26.314Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T17:30:26.314Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-24T17:30:26.314Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-24T17:30:26.591Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T17:31:48.433Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T17:31:48.433Z] internal/driver/credentials.go:103:140: newline in string [2022-06-24T17:31:48.433Z] internal/driver/credentials.go:103:140: syntax error: unexpected newline, expecting comma or ) [2022-06-24T17:32:15.238Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.618s coverage: 13.8% of statements [2022-06-24T17:32:15.238Z] make: *** [Makefile:48: unittest] Error 2 [Pipeline] } [2022-06-24T17:32:15.264Z] $ docker stop --time=1 cf79dc22bb8c88d86e746cf3b51e134cfc5301bf9369224ffbec4cda5c275fe1 [2022-06-24T17:32:16.985Z] $ docker rm -f cf79dc22bb8c88d86e746cf3b51e134cfc5301bf9369224ffbec4cda5c275fe1 [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:32:18.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T17:32:18.034Z] [2022-06-24T17:32:18.034Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:32:18.387Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T17:32:18.666Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-24T17:32:18.666Z] 8998bd30e6a1: Pulling fs layer [2022-06-24T17:32:18.666Z] 04944245beec: Pulling fs layer [2022-06-24T17:32:18.666Z] 699f458cf7ca: Pulling fs layer [2022-06-24T17:32:18.666Z] 765212b225bb: Pulling fs layer [2022-06-24T17:32:18.666Z] f23df028b6ca: Pulling fs layer [2022-06-24T17:32:18.666Z] d65c8cfc05b1: Pulling fs layer [2022-06-24T17:32:18.666Z] 2437ff75d9bd: Pulling fs layer [2022-06-24T17:32:18.666Z] 765212b225bb: Waiting [2022-06-24T17:32:18.666Z] f23df028b6ca: Waiting [2022-06-24T17:32:18.666Z] d65c8cfc05b1: Waiting [2022-06-24T17:32:18.666Z] 2437ff75d9bd: Waiting [2022-06-24T17:32:18.666Z] 04944245beec: Verifying Checksum [2022-06-24T17:32:18.666Z] 04944245beec: Download complete [2022-06-24T17:32:18.666Z] 765212b225bb: Verifying Checksum [2022-06-24T17:32:18.666Z] 765212b225bb: Download complete [2022-06-24T17:32:18.666Z] f23df028b6ca: Verifying Checksum [2022-06-24T17:32:18.666Z] f23df028b6ca: Download complete [2022-06-24T17:32:18.943Z] d65c8cfc05b1: Verifying Checksum [2022-06-24T17:32:18.943Z] d65c8cfc05b1: Download complete [2022-06-24T17:32:18.943Z] 699f458cf7ca: Verifying Checksum [2022-06-24T17:32:18.943Z] 699f458cf7ca: Download complete [2022-06-24T17:32:19.216Z] 8998bd30e6a1: Verifying Checksum [2022-06-24T17:32:19.216Z] 8998bd30e6a1: Download complete [2022-06-24T17:32:21.880Z] 2437ff75d9bd: Verifying Checksum [2022-06-24T17:32:21.880Z] 2437ff75d9bd: Download complete [2022-06-24T17:32:23.860Z] 8998bd30e6a1: Pull complete [2022-06-24T17:32:24.133Z] 04944245beec: Pull complete [2022-06-24T17:32:25.575Z] 699f458cf7ca: Pull complete [2022-06-24T17:32:25.847Z] 765212b225bb: Pull complete [2022-06-24T17:32:26.823Z] f23df028b6ca: Pull complete [2022-06-24T17:32:27.097Z] d65c8cfc05b1: Pull complete [2022-06-24T17:32:42.184Z] 2437ff75d9bd: Pull complete [2022-06-24T17:32:42.184Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-24T17:32:42.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T17:32:42.184Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:32:42.519Z] prd-ubuntu20.04-docker-arm64-4c-16g-15546 does not seem to be running inside a container [2022-06-24T17:32:42.638Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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:32:45.130Z] $ docker top d5177be2cdd69d61e65fc082141bb8eb250859b5d8a89532dfffd5eff3a438f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:32:46.109Z] ---> job-cost.sh [2022-06-24T17:32:46.109Z] lf-activate-venv: SKIPPING [2022-06-24T17:32:46.109Z] INFO: No Stack... [2022-06-24T17:32:46.711Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-24T17:32:47.315Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T17:32:47.986Z] + + catcut /w/workspace/device-onvif-camera/6/archives/cost.csv -d, [2022-06-24T17:32:47.987Z] -f6 [Pipeline] lock [2022-06-24T17:32:48.048Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-6-stack-cost] [2022-06-24T17:32:48.053Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-6-stack-cost] did not exist. Created. [2022-06-24T17:32:48.053Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T17:32:48.727Z] /w/workspace/device-onvif-camera/6@tmp/durable-0780bafa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-24T17:32:49.397Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-24T17:32:49.425Z] Warning: overwriting stash ‘stack-cost’ [2022-06-24T17:32:49.845Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T17:32:49.853Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T17:32:49.876Z] $ docker stop --time=1 d5177be2cdd69d61e65fc082141bb8eb250859b5d8a89532dfffd5eff3a438f4 [2022-06-24T17:32:51.384Z] $ docker rm -f d5177be2cdd69d61e65fc082141bb8eb250859b5d8a89532dfffd5eff3a438f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-24T17:32:51.714Z] 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:32:52.444Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] [2022-06-24T17:32:52.444Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T17:32:52.444Z] total 16 [2022-06-24T17:32:52.444Z] drwxr-xr-x 3 root root 4096 Jun 24 17:27 . [2022-06-24T17:32:52.444Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 17:27 .. [2022-06-24T17:32:52.444Z] drwxr-xr-x 2 root root 4096 Jun 24 17:27 cost [2022-06-24T17:32:52.444Z] -rw-r--r-- 1 root root 89 Jun 24 17:27 cost.csv [2022-06-24T17:32:52.444Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T17:32:52.444Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T17:32:52.444Z] total 16 [2022-06-24T17:32:52.444Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 17:27 . [2022-06-24T17:32:52.444Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 17:27 .. [2022-06-24T17:32:52.444Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 17:27 cost [2022-06-24T17:32:52.444Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 24 17:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:32:52.736Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:32:53.594Z] ---> package-listing.sh [2022-06-24T17:32:53.594Z] ++ facter osfamily [2022-06-24T17:32:53.594Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-24T17:32:53.854Z] + OS_FAMILY=debian [2022-06-24T17:32:53.854Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 [2022-06-24T17:32:53.854Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-24T17:32:53.854Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-24T17:32:53.854Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-24T17:32:53.854Z] + PACKAGES=/tmp/packages_start.txt [2022-06-24T17:32:53.854Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-24T17:32:53.854Z] + PACKAGES=/tmp/packages_end.txt [2022-06-24T17:32:53.854Z] + case "${OS_FAMILY}" in [2022-06-24T17:32:53.854Z] + dpkg -l [2022-06-24T17:32:53.854Z] + grep '^ii' [2022-06-24T17:32:53.854Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-24T17:32:53.854Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-24T17:32:53.854Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-24T17:32:53.854Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-24T17:32:53.854Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [2022-06-24T17:32:53.854Z] + 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:32:53.866Z] 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:32:54.149Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:32:54.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T17:32:54.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:32:54.793Z] prd-ubuntu20.04-docker-8c-8g-15545 does not seem to be running inside a container [2022-06-24T17:32:54.830Z] $ 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-24T17:32:55.077Z] $ docker top ec7365fa33a50332aa028ca59d3b4caf49aae4b596e87d85f16df5356525df73 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T17:32:55.435Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-24T17:32:55.757Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-24T17:32:56.063Z] + ls /var/log/sa-host [2022-06-24T17:32:56.063Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T17:32:56.130Z] provisioning config files... [2022-06-24T17:32:56.139Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config3674034818867145577tmp [Pipeline] { [Pipeline] echo [2022-06-24T17:32:56.151Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:32:56.434Z] ---> create-netrc.sh [Pipeline] } [2022-06-24T17:32:56.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:32:56.766Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-24T17:32:56.776Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:32:57.063Z] ---> sudo-logs.sh [2022-06-24T17:32:57.063Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-24T17:32:57.087Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:32:57.381Z] ---> job-cost.sh [2022-06-24T17:32:57.381Z] lf-activate-venv: SKIPPING [2022-06-24T17:32:57.381Z] DEBUG: total: 0.2199999988079071 [2022-06-24T17:32:57.381Z] INFO: Retrieving Stack Cost... [2022-06-24T17:32:57.642Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T17:32:58.213Z] INFO: Archiving Costs [Pipeline] echo [2022-06-24T17:32:58.224Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:32:58.510Z] ---> logs-deploy.sh [2022-06-24T17:32:58.510Z] lf-activate-venv: SKIPPING [2022-06-24T17:32:58.510Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/6 [2022-06-24T17:32:58.510Z] INFO: archiving workspace using pattern(s): [2022-06-24T17:32:59.450Z] Archives upload complete. [2022-06-24T17:32:59.450Z] INFO: archiving logs to Nexus