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 36686a143f60cf54ba40f29de7d66d1a267c3acb 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-ssh17982692391433800366.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-ssh17743927680845395947.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-ssh2552493199524510968.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-ssh1014735225511807854.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-ssh16908266017619990904.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-15538’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15540 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-90 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 36686a143f60cf54ba40f29de7d66d1a267c3acb Merge succeeded, producing c1183a6cbdb50f453b90b36bff54e329b6456466 Checking out Revision c1183a6cbdb50f453b90b36bff54e329b6456466 (PR-90) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 36686a143f60cf54ba40f29de7d66d1a267c3acb # 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 c1183a6cbdb50f453b90b36bff54e329b6456466 # 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-24T16:33:29.634Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-24T16:33:29.689Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-24T16:33:29.707Z] ========================================================= [2022-06-24T16:33:29.708Z] EdgeX Global Pipelines Version Info [2022-06-24T16:33:29.708Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk fb44308ec0ffd0915758383ee5449aef2d6b50d5 # timeout=10 [2022-06-24T16:33:30.461Z] ------------------- [2022-06-24T16:33:30.461Z] stable info: [2022-06-24T16:33:30.461Z] ------------------- [2022-06-24T16:33:30.461Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-24T16:33:30.461Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T16:33:30.461Z] Message: update stable to v1.0.234 [2022-06-24T16:33:31.033Z] ------------------- [2022-06-24T16:33:31.033Z] experimental info: [2022-06-24T16:33:31.033Z] ------------------- [2022-06-24T16:33:31.033Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-24T16:33:31.033Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T16:33:31.033Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-24T16:33:31.208Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-24T16:33:31.220Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-24T16:33:31.231Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-24T16:33:31.243Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-24T16:33:31.255Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-24T16:33:31.267Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-24T16:33:31.279Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-24T16:33:31.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-24T16:33:31.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-24T16:33:31.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-24T16:33:31.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-24T16:33:31.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-24T16:33:31.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-24T16:33:31.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-24T16:33:31.376Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T16:33:31.390Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T16:33:31.401Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T16:33:31.412Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T16:33:31.426Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-24T16:33:31.439Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-24T16:33:31.450Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-24T16:33:31.464Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-24T16:33:31.474Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-24T16:33:31.486Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-24T16:33:31.500Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-24T16:33:31.510Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-24T16:33:31.521Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-24T16:33:31.535Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2022-06-24T16:33:31.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2022-06-24T16:33:31.556Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2022-06-24T16:33:31.569Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1183a6cbdb50f453b90b36bff54e329b6456466 [Pipeline] echo [2022-06-24T16:33:31.580Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1183a6 [Pipeline] echo [2022-06-24T16:33:31.592Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T16:33:31.631Z] provisioning config files... [2022-06-24T16:33:31.648Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1185038036817210068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T16:33:31.982Z] ---> docker-login.sh [2022-06-24T16:33:31.982Z] nexus3.edgexfoundry.org:10001 [2022-06-24T16:33:32.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:33:32.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:33:32.506Z] Configure a credential helper to remove this warning. See [2022-06-24T16:33:32.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:33:32.506Z] [2022-06-24T16:33:32.506Z] Login Succeeded [2022-06-24T16:33:32.506Z] nexus3.edgexfoundry.org:10002 [2022-06-24T16:33:32.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:33:32.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:33:32.506Z] Configure a credential helper to remove this warning. See [2022-06-24T16:33:32.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:33:32.506Z] [2022-06-24T16:33:32.506Z] Login Succeeded [2022-06-24T16:33:32.506Z] nexus3.edgexfoundry.org:10003 [2022-06-24T16:33:32.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:33:32.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:33:32.768Z] Configure a credential helper to remove this warning. See [2022-06-24T16:33:32.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:33:32.768Z] [2022-06-24T16:33:32.768Z] Login Succeeded [2022-06-24T16:33:32.768Z] nexus3.edgexfoundry.org:10004 [2022-06-24T16:33:32.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:33:33.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:33:33.029Z] Configure a credential helper to remove this warning. See [2022-06-24T16:33:33.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:33:33.029Z] [2022-06-24T16:33:33.029Z] Login Succeeded [2022-06-24T16:33:33.029Z] docker.io [2022-06-24T16:33:33.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:33:33.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:33:33.291Z] Configure a credential helper to remove this warning. See [2022-06-24T16:33:33.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:33:33.291Z] [2022-06-24T16:33:33.291Z] Login Succeeded [2022-06-24T16:33:33.291Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T16:33:33.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-24T16:33:33.681Z] + git rev-list -1 --merges c1183a6cbdb50f453b90b36bff54e329b6456466~1..c1183a6cbdb50f453b90b36bff54e329b6456466 [Pipeline] echo [2022-06-24T16:33:33.711Z] -----------> git rev-list -1 --merges c1183a6cbdb50f453b90b36bff54e329b6456466~1..c1183a6cbdb50f453b90b36bff54e329b6456466 c1183a6cbdb50f453b90b36bff54e329b6456466 [2022-06-24T16:33:33.711Z] c1183a6cbdb50f453b90b36bff54e329b6456466 [false] [Pipeline] sh [2022-06-24T16:33:34.010Z] + git log --format=format:%s -1 c1183a6cbdb50f453b90b36bff54e329b6456466 [Pipeline] echo [2022-06-24T16:33:34.026Z] ========================================================= [2022-06-24T16:33:34.026Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-24T16:33:34.026Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T16:33:34.363Z] + git log --format=format:%s -1 c1183a6cbdb50f453b90b36bff54e329b6456466 [Pipeline] echo [2022-06-24T16:33:34.376Z] [semverPrep] GIT_COMMIT: c1183a6cbdb50f453b90b36bff54e329b6456466, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-24T16:33:34.387Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-24T16:33:34.730Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-24T16:33:34.730Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-24T16:33:34.730Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-24T16:33:34.730Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-24T16:33:34.730Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-24T16:33:34.730Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-24T16:33:34.730Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T16:33:35.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T16:33:35.083Z] [2022-06-24T16:33:35.083Z] 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-24T16:33:35.391Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T16:33:35.658Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-24T16:33:35.658Z] 42c077c10790: Pulling fs layer [2022-06-24T16:33:35.658Z] f63e77b7563a: Pulling fs layer [2022-06-24T16:33:35.658Z] bd5fdadae976: Pulling fs layer [2022-06-24T16:33:35.658Z] 205491f53016: Pulling fs layer [2022-06-24T16:33:35.658Z] df18705c85c3: Pulling fs layer [2022-06-24T16:33:35.658Z] bdb3f477010e: Pulling fs layer [2022-06-24T16:33:35.658Z] df18705c85c3: Waiting [2022-06-24T16:33:35.658Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-24T16:33:35.658Z] 2c6e9b1d212d: Pulling fs layer [2022-06-24T16:33:35.658Z] bdb3f477010e: Waiting [2022-06-24T16:33:35.658Z] c8a8fc8e1c8f: Waiting [2022-06-24T16:33:35.658Z] 2c6e9b1d212d: Waiting [2022-06-24T16:33:35.658Z] bdb8f0575790: Pulling fs layer [2022-06-24T16:33:35.658Z] 386e3cb2ff24: Pulling fs layer [2022-06-24T16:33:35.658Z] 2343380bae48: Pulling fs layer [2022-06-24T16:33:35.658Z] 386e3cb2ff24: Waiting [2022-06-24T16:33:35.658Z] 2343380bae48: Waiting [2022-06-24T16:33:35.658Z] 205491f53016: Waiting [2022-06-24T16:33:35.658Z] bdb8f0575790: Waiting [2022-06-24T16:33:35.658Z] f63e77b7563a: Verifying Checksum [2022-06-24T16:33:35.658Z] f63e77b7563a: Download complete [2022-06-24T16:33:35.658Z] 205491f53016: Verifying Checksum [2022-06-24T16:33:35.658Z] df18705c85c3: Verifying Checksum [2022-06-24T16:33:35.658Z] df18705c85c3: Download complete [2022-06-24T16:33:35.658Z] bd5fdadae976: Verifying Checksum [2022-06-24T16:33:35.658Z] bd5fdadae976: Download complete [2022-06-24T16:33:35.658Z] bdb3f477010e: Verifying Checksum [2022-06-24T16:33:35.658Z] bdb3f477010e: Download complete [2022-06-24T16:33:35.658Z] 2c6e9b1d212d: Verifying Checksum [2022-06-24T16:33:35.658Z] 2c6e9b1d212d: Download complete [2022-06-24T16:33:35.919Z] bdb8f0575790: Verifying Checksum [2022-06-24T16:33:35.919Z] bdb8f0575790: Download complete [2022-06-24T16:33:35.919Z] 386e3cb2ff24: Download complete [2022-06-24T16:33:35.919Z] 42c077c10790: Verifying Checksum [2022-06-24T16:33:35.919Z] 42c077c10790: Download complete [2022-06-24T16:33:35.919Z] 2343380bae48: Download complete [2022-06-24T16:33:36.182Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-24T16:33:36.182Z] c8a8fc8e1c8f: Download complete [2022-06-24T16:33:37.123Z] 42c077c10790: Pull complete [2022-06-24T16:33:37.383Z] f63e77b7563a: Pull complete [2022-06-24T16:33:37.958Z] bd5fdadae976: Pull complete [2022-06-24T16:33:37.958Z] 205491f53016: Pull complete [2022-06-24T16:33:38.217Z] df18705c85c3: Pull complete [2022-06-24T16:33:38.217Z] bdb3f477010e: Pull complete [2022-06-24T16:33:40.132Z] c8a8fc8e1c8f: Pull complete [2022-06-24T16:33:40.132Z] 2c6e9b1d212d: Pull complete [2022-06-24T16:33:40.132Z] bdb8f0575790: Pull complete [2022-06-24T16:33:40.132Z] 386e3cb2ff24: Pull complete [2022-06-24T16:33:40.132Z] 2343380bae48: Pull complete [2022-06-24T16:33:40.395Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-24T16:33:40.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T16:33:40.395Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T16:33:40.499Z] prd-ubuntu20.04-docker-8c-8g-15540 does not seem to be running inside a container [2022-06-24T16:33:40.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-24T16:33:42.376Z] $ docker top bb0225953f5899b3f219825de49337f83e656ea258c6bf8c6eecf17a84dba95e -eo pid,comm [2022-06-24T16:33:42.439Z] 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-24T16:33:42.439Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-24T16:33:42.474Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T16:33:42.474Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T16:33:42.588Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T16:33:42.595Z] $ docker exec bb0225953f5899b3f219825de49337f83e656ea258c6bf8c6eecf17a84dba95e ssh-agent [2022-06-24T16:33:42.716Z] SSH_AUTH_SOCK=/tmp/ssh-3dSLtOz9xxiy/agent.33 [2022-06-24T16:33:42.716Z] SSH_AGENT_PID=40 [2022-06-24T16:33:42.721Z] Running ssh-add (command line suppressed) [2022-06-24T16:33:42.841Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_21751638770098639.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_21751638770098639.key) [2022-06-24T16:33:42.852Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T16:33:43.141Z] + git tag --points-at HEAD [Pipeline] } [2022-06-24T16:33:43.165Z] $ docker exec --env ******** --env ******** bb0225953f5899b3f219825de49337f83e656ea258c6bf8c6eecf17a84dba95e ssh-agent -k [2022-06-24T16:33:43.278Z] unset SSH_AUTH_SOCK; [2022-06-24T16:33:43.279Z] unset SSH_AGENT_PID; [2022-06-24T16:33:43.279Z] echo Agent pid 40 killed; [2022-06-24T16:33:43.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-24T16:33:43.311Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T16:33:43.311Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T16:33:43.453Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T16:33:43.460Z] $ docker exec bb0225953f5899b3f219825de49337f83e656ea258c6bf8c6eecf17a84dba95e ssh-agent [2022-06-24T16:33:43.578Z] SSH_AUTH_SOCK=/tmp/ssh-lCYcETFp1Ob6/agent.72 [2022-06-24T16:33:43.578Z] SSH_AGENT_PID=78 [2022-06-24T16:33:43.583Z] Running ssh-add (command line suppressed) [2022-06-24T16:33:43.695Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_7835659997277837109.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_7835659997277837109.key) [2022-06-24T16:33:43.708Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T16:33:43.997Z] + git semver init [2022-06-24T16:33:44.260Z] 2022-06-24 16:33:44,230 [run_init] DEBUG init version:0.0.0 force:False [2022-06-24T16:33:44.260Z] 2022-06-24 16:33:44,232 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-24T16:33:44.260Z] 2022-06-24 16:33:44,233 [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-24T16:33:44.260Z] 2022-06-24 16:33:44,233 [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-24T16:33:45.203Z] 2022-06-24 16:33:44,917 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude [2022-06-24T16:33:45.203Z] 2022-06-24 16:33:44,918 [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-24T16:33:45.203Z] 2022-06-24 16:33:44,918 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-24T16:33:45.203Z] 2022-06-24 16:33:44,923 [execute] INFO git cat-file --batch-check [2022-06-24T16:33:45.203Z] 2022-06-24 16:33:44,923 [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-24T16:33:45.203Z] 2022-06-24 16:33:44,930 [execute] INFO git cat-file --batch [2022-06-24T16:33:45.203Z] 2022-06-24 16:33:44,930 [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-24T16:33:45.203Z] 2022-06-24 16:33:44,935 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-24T16:33:45.203Z] 0.0.0 [Pipeline] } [2022-06-24T16:33:45.219Z] $ docker exec --env ******** --env ******** bb0225953f5899b3f219825de49337f83e656ea258c6bf8c6eecf17a84dba95e ssh-agent -k [2022-06-24T16:33:45.343Z] unset SSH_AUTH_SOCK; [2022-06-24T16:33:45.344Z] unset SSH_AGENT_PID; [2022-06-24T16:33:45.344Z] echo Agent pid 78 killed; [2022-06-24T16:33:45.349Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-24T16:33:45.668Z] + git semver [Pipeline] } [2022-06-24T16:33:45.947Z] $ docker stop --time=1 bb0225953f5899b3f219825de49337f83e656ea258c6bf8c6eecf17a84dba95e [2022-06-24T16:33:47.308Z] $ docker rm -f bb0225953f5899b3f219825de49337f83e656ea258c6bf8c6eecf17a84dba95e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-24T16:33:47.660Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-24T16:33:47.909Z] Stashed 1 file(s) [Pipeline] echo [2022-06-24T16:33:47.912Z] [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-24T16:33:48.051Z] provisioning config files... [2022-06-24T16:33:48.060Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5416009580531137915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T16:33:48.356Z] ---> docker-login.sh [2022-06-24T16:33:48.356Z] nexus3.edgexfoundry.org:10001 [2022-06-24T16:33:48.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:33:48.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:33:48.356Z] Configure a credential helper to remove this warning. See [2022-06-24T16:33:48.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:33:48.356Z] [2022-06-24T16:33:48.356Z] Login Succeeded [2022-06-24T16:33:48.356Z] nexus3.edgexfoundry.org:10002 [2022-06-24T16:33:48.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:33:48.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:33:48.617Z] Configure a credential helper to remove this warning. See [2022-06-24T16:33:48.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:33:48.617Z] [2022-06-24T16:33:48.617Z] Login Succeeded [2022-06-24T16:33:48.617Z] nexus3.edgexfoundry.org:10003 [2022-06-24T16:33:48.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:33:48.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:33:48.617Z] Configure a credential helper to remove this warning. See [2022-06-24T16:33:48.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:33:48.617Z] [2022-06-24T16:33:48.617Z] Login Succeeded [2022-06-24T16:33:48.617Z] nexus3.edgexfoundry.org:10004 [2022-06-24T16:33:48.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:33:48.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:33:48.877Z] Configure a credential helper to remove this warning. See [2022-06-24T16:33:48.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:33:48.877Z] [2022-06-24T16:33:48.877Z] Login Succeeded [2022-06-24T16:33:48.877Z] docker.io [2022-06-24T16:33:48.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:33:49.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:33:49.139Z] Configure a credential helper to remove this warning. See [2022-06-24T16:33:49.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:33:49.139Z] [2022-06-24T16:33:49.139Z] Login Succeeded [2022-06-24T16:33:49.139Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T16:33:49.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T16:33:49.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T16:33:49.228Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T16:33:49.235Z] ========================================================= [2022-06-24T16:33:49.235Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-24T16:33:49.235Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T16:33:49.561Z] + 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-24T16:33:49.561Z] Sending build context to Docker daemon 8.946MB [2022-06-24T16:33:49.561Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T16:33:49.561Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T16:33:49.561Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-24T16:33:49.561Z] 59bf1c3509f3: Pulling fs layer [2022-06-24T16:33:49.561Z] 666ba61612fd: Pulling fs layer [2022-06-24T16:33:49.561Z] 8ed8ca486205: Pulling fs layer [2022-06-24T16:33:49.561Z] cc1cd167ecdc: Pulling fs layer [2022-06-24T16:33:49.561Z] c516ae0d96e1: Pulling fs layer [2022-06-24T16:33:49.561Z] 684cea983483: Pulling fs layer [2022-06-24T16:33:49.561Z] dd3240ac7de5: Pulling fs layer [2022-06-24T16:33:49.561Z] b1e948a4e11c: Pulling fs layer [2022-06-24T16:33:49.561Z] a8fd76ee1af6: Pulling fs layer [2022-06-24T16:33:49.561Z] 646ad004c059: Pulling fs layer [2022-06-24T16:33:49.561Z] dd3240ac7de5: Waiting [2022-06-24T16:33:49.561Z] 684cea983483: Waiting [2022-06-24T16:33:49.561Z] b1e948a4e11c: Waiting [2022-06-24T16:33:49.561Z] a8fd76ee1af6: Waiting [2022-06-24T16:33:49.561Z] cc1cd167ecdc: Waiting [2022-06-24T16:33:49.561Z] 646ad004c059: Waiting [2022-06-24T16:33:49.561Z] c516ae0d96e1: Waiting [2022-06-24T16:33:49.823Z] 8ed8ca486205: Verifying Checksum [2022-06-24T16:33:49.823Z] 8ed8ca486205: Download complete [2022-06-24T16:33:49.823Z] 666ba61612fd: Verifying Checksum [2022-06-24T16:33:49.823Z] 666ba61612fd: Download complete [2022-06-24T16:33:49.823Z] c516ae0d96e1: Download complete [2022-06-24T16:33:49.823Z] 684cea983483: Download complete [2022-06-24T16:33:49.823Z] dd3240ac7de5: Verifying Checksum [2022-06-24T16:33:49.823Z] dd3240ac7de5: Download complete [2022-06-24T16:33:49.823Z] 59bf1c3509f3: Verifying Checksum [2022-06-24T16:33:49.823Z] 59bf1c3509f3: Download complete [2022-06-24T16:33:49.823Z] b1e948a4e11c: Verifying Checksum [2022-06-24T16:33:49.823Z] b1e948a4e11c: Download complete [2022-06-24T16:33:49.823Z] 59bf1c3509f3: Pull complete [2022-06-24T16:33:50.087Z] 666ba61612fd: Pull complete [2022-06-24T16:33:50.087Z] 8ed8ca486205: Pull complete [2022-06-24T16:33:50.350Z] 646ad004c059: Verifying Checksum [2022-06-24T16:33:50.350Z] 646ad004c059: Download complete [2022-06-24T16:33:50.350Z] a8fd76ee1af6: Verifying Checksum [2022-06-24T16:33:50.350Z] a8fd76ee1af6: Download complete [2022-06-24T16:33:50.609Z] cc1cd167ecdc: Verifying Checksum [2022-06-24T16:33:50.609Z] cc1cd167ecdc: Download complete [2022-06-24T16:33:54.815Z] cc1cd167ecdc: Pull complete [2022-06-24T16:33:54.815Z] c516ae0d96e1: Pull complete [2022-06-24T16:33:54.815Z] 684cea983483: Pull complete [2022-06-24T16:33:54.815Z] dd3240ac7de5: Pull complete [2022-06-24T16:33:54.815Z] b1e948a4e11c: Pull complete [2022-06-24T16:33:57.357Z] a8fd76ee1af6: Pull complete [2022-06-24T16:33:57.932Z] 646ad004c059: Pull complete [2022-06-24T16:33:57.932Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-24T16:33:57.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-24T16:33:57.932Z] ---> 8f69c11f6b0c [2022-06-24T16:33:57.932Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T16:33:59.848Z] ---> Running in 810a8c7f7781 [2022-06-24T16:33:59.848Z] Removing intermediate container 810a8c7f7781 [2022-06-24T16:33:59.848Z] ---> 3dd32ea37b90 [2022-06-24T16:33:59.848Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T16:33:59.848Z] ---> Running in 833c35835f32 [2022-06-24T16:33:59.848Z] Removing intermediate container 833c35835f32 [2022-06-24T16:33:59.848Z] ---> fed4d1207cd9 [2022-06-24T16:33:59.848Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T16:34:00.113Z] ---> Running in 502949af545f [2022-06-24T16:34:00.113Z] Removing intermediate container 502949af545f [2022-06-24T16:34:00.113Z] ---> 38e6160953b8 [2022-06-24T16:34:00.113Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T16:34:00.113Z] ---> Running in be03e68ec02d [2022-06-24T16:34:00.113Z] Removing intermediate container be03e68ec02d [2022-06-24T16:34:00.113Z] ---> f1a5a3ddc891 [2022-06-24T16:34:00.113Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T16:34:00.372Z] ---> Running in b980f2713764 [2022-06-24T16:34:00.943Z] Removing intermediate container b980f2713764 [2022-06-24T16:34:00.943Z] ---> 99fecabc8855 [2022-06-24T16:34:00.943Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T16:34:00.943Z] ---> Running in ec62690ce09d [2022-06-24T16:34:01.203Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-24T16:34:02.156Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-24T16:34:02.419Z] OK: 221 MiB in 52 packages [2022-06-24T16:34:02.689Z] Removing intermediate container ec62690ce09d [2022-06-24T16:34:02.689Z] ---> 91f4e7fa74dc [2022-06-24T16:34:02.689Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T16:34:02.689Z] ---> Running in 5e5bd270de8f [2022-06-24T16:34:02.961Z] Removing intermediate container 5e5bd270de8f [2022-06-24T16:34:02.961Z] ---> 5f8f83c05f88 [2022-06-24T16:34:02.961Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T16:34:02.961Z] ---> 8fc8835891bd [2022-06-24T16:34:02.961Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T16:34:03.005Z] Still waiting to schedule task [2022-06-24T16:34:03.005Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-24T16:34:03.222Z] ---> Running in afc598dd5a1e [2022-06-24T16:34:18.133Z] Removing intermediate container afc598dd5a1e [2022-06-24T16:34:18.133Z] ---> 3755284462a7 [2022-06-24T16:34:18.133Z] Step 12/13 : COPY . . [2022-06-24T16:34:18.133Z] ---> e4d4b2ffc479 [2022-06-24T16:34:18.133Z] Step 13/13 : RUN ${MAKE} [2022-06-24T16:34:18.133Z] ---> Running in bbb4c7a3ec39 [2022-06-24T16:34:18.392Z] noop [2022-06-24T16:34:18.653Z] Removing intermediate container bbb4c7a3ec39 [2022-06-24T16:34:18.653Z] ---> 3e1a5e466b02 [2022-06-24T16:34:18.653Z] Successfully built 3e1a5e466b02 [2022-06-24T16:34:18.653Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T16:34:18.963Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T16:34:18.964Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T16:34:19.047Z] prd-ubuntu20.04-docker-8c-8g-15540 does not seem to be running inside a container [2022-06-24T16:34:19.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-24T16:34:19.575Z] $ docker top ae77ba16c48d8d1aa937ac738dc4458235bf9f58662efddf8ebea0f8b38130e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T16:34:19.936Z] + go version [2022-06-24T16:34:19.937Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-24T16:34:19.952Z] $ docker stop --time=1 ae77ba16c48d8d1aa937ac738dc4458235bf9f58662efddf8ebea0f8b38130e8 [2022-06-24T16:34:21.239Z] $ docker rm -f ae77ba16c48d8d1aa937ac738dc4458235bf9f58662efddf8ebea0f8b38130e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T16:34:21.663Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T16:34:21.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T16:34:21.749Z] prd-ubuntu20.04-docker-8c-8g-15540 does not seem to be running inside a container [2022-06-24T16:34:21.867Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-24T16:34:22.254Z] $ docker top 1e6aeabc0283fd6494a232a080ae10fc4fe603d2e40e947c3dd00dd52b21488f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T16:34:22.718Z] + make test [2022-06-24T16:34:22.718Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T16:34:23.285Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T16:34:33.281Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-24T16:34:33.281Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.4% of statements [2022-06-24T16:34:37.493Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.599s coverage: 13.8% of statements [2022-06-24T16:34:44.073Z] internal/driver/credentials.go:98:18: func `(*Driver).getCredentialsFromMac` is unused (unused) [2022-06-24T16:34:44.073Z] func (d *Driver) getCredentialsFromMac(mac string) (Credentials, errors.EdgeX) { [2022-06-24T16:34:44.073Z] ^ [2022-06-24T16:34:44.073Z] make: *** [Makefile:52: lint] Error 1 [Pipeline] } [2022-06-24T16:34:44.092Z] $ docker stop --time=1 1e6aeabc0283fd6494a232a080ae10fc4fe603d2e40e947c3dd00dd52b21488f [2022-06-24T16:34:46.228Z] $ docker rm -f 1e6aeabc0283fd6494a232a080ae10fc4fe603d2e40e947c3dd00dd52b21488f [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-24T16:34:46.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T16:34:46.787Z] [2022-06-24T16:34:46.787Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T16:34:47.091Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T16:34:47.091Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-24T16:34:47.091Z] 5eb5b503b376: Pulling fs layer [2022-06-24T16:34:47.091Z] 5c69ac0246d0: Pulling fs layer [2022-06-24T16:34:47.091Z] ec43610c2a17: Pulling fs layer [2022-06-24T16:34:47.091Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-24T16:34:47.091Z] 33b1e0a273af: Pulling fs layer [2022-06-24T16:34:47.091Z] 5d3b04190fa2: Pulling fs layer [2022-06-24T16:34:47.091Z] 2f39f015ded8: Pulling fs layer [2022-06-24T16:34:47.091Z] 33b1e0a273af: Waiting [2022-06-24T16:34:47.091Z] 5d3b04190fa2: Waiting [2022-06-24T16:34:47.091Z] 3a2ae6a8a46f: Waiting [2022-06-24T16:34:47.091Z] 5c69ac0246d0: Download complete [2022-06-24T16:34:47.091Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-24T16:34:47.091Z] 3a2ae6a8a46f: Download complete [2022-06-24T16:34:47.091Z] 33b1e0a273af: Download complete [2022-06-24T16:34:47.350Z] ec43610c2a17: Verifying Checksum [2022-06-24T16:34:47.350Z] ec43610c2a17: Download complete [2022-06-24T16:34:47.350Z] 5d3b04190fa2: Download complete [2022-06-24T16:34:47.350Z] 5eb5b503b376: Verifying Checksum [2022-06-24T16:34:47.350Z] 5eb5b503b376: Download complete [2022-06-24T16:34:47.921Z] 2f39f015ded8: Download complete [2022-06-24T16:34:48.492Z] 5eb5b503b376: Pull complete [2022-06-24T16:34:48.752Z] 5c69ac0246d0: Pull complete [2022-06-24T16:34:49.323Z] ec43610c2a17: Pull complete [2022-06-24T16:34:49.323Z] 3a2ae6a8a46f: Pull complete [2022-06-24T16:34:49.580Z] 33b1e0a273af: Pull complete [2022-06-24T16:34:49.580Z] 5d3b04190fa2: Pull complete [2022-06-24T16:34:53.774Z] 2f39f015ded8: Pull complete [2022-06-24T16:34:53.774Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-24T16:34:53.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T16:34:53.774Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T16:34:53.866Z] prd-ubuntu20.04-docker-8c-8g-15540 does not seem to be running inside a container [2022-06-24T16:34:53.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-24T16:34:55.886Z] $ docker top 8884bcb80738931bed86dcd23c364f17781cfcf6cc33b331e35c6409ffd1dd10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T16:34:56.278Z] ---> job-cost.sh [2022-06-24T16:34:56.278Z] lf-activate-venv: SKIPPING [2022-06-24T16:34:56.278Z] INFO: No Stack... [2022-06-24T16:34:56.540Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T16:34:57.112Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T16:34:57.408Z] + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv [2022-06-24T16:34:57.408Z] + cut -d, -f6 [Pipeline] lock [2022-06-24T16:34:57.421Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-4-stack-cost] [2022-06-24T16:34:57.426Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-4-stack-cost] did not exist. Created. [2022-06-24T16:34:57.426Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T16:34:57.724Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-24T16:34:57.761Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T16:34:57.771Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T16:34:57.795Z] $ docker stop --time=1 8884bcb80738931bed86dcd23c364f17781cfcf6cc33b331e35c6409ffd1dd10 [2022-06-24T16:34:58.958Z] $ docker rm -f 8884bcb80738931bed86dcd23c364f17781cfcf6cc33b331e35c6409ffd1dd10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-24T16:34:59.068Z] Failed in branch amd64 [2022-06-24T16:35:38.749Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15541 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws [2022-06-24T16:35:38.763Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2022-06-24T16:35:38.831Z] Selected Git installation does not exist. Using Default [2022-06-24T16:35:38.831Z] The recommended git tool is: NONE [2022-06-24T16:35:44.821Z] using credential edgex-jenkins-ssh [2022-06-24T16:35:44.839Z] Cloning the remote Git repository [2022-06-24T16:35:44.893Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T16:35:44.969Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-06-24T16:35:45.045Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T16:35:45.046Z] > git --version # timeout=10 [2022-06-24T16:35:45.065Z] > git --version # 'git version 2.25.1' [2022-06-24T16:35:45.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T16:35:45.180Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T16:35:45.997Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T16:35:46.018Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T16:35:46.050Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T16:35:46.088Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T16:35:46.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T16:35:46.102Z] > 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-24T16:35:46.591Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 36686a143f60cf54ba40f29de7d66d1a267c3acb [2022-06-24T16:35:47.176Z] Merge succeeded, producing a69b820ba09c69a9559bc3e39782e96cdf3d7db3 [2022-06-24T16:35:47.176Z] Checking out Revision a69b820ba09c69a9559bc3e39782e96cdf3d7db3 (PR-90) [2022-06-24T16:35:46.613Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T16:35:46.685Z] > git checkout -f 36686a143f60cf54ba40f29de7d66d1a267c3acb # timeout=10 [2022-06-24T16:35:46.917Z] > git remote # timeout=10 [2022-06-24T16:35:46.940Z] > git config --get remote.origin.url # timeout=10 [2022-06-24T16:35:46.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T16:35:46.992Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-24T16:35:47.156Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-24T16:35:47.187Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T16:35:47.201Z] > git checkout -f a69b820ba09c69a9559bc3e39782e96cdf3d7db3 # timeout=10 [2022-06-24T16:35:51.410Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-24T16:35:51.450Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T16:35:51.422Z] > git rev-list --no-walk fb44308ec0ffd0915758383ee5449aef2d6b50d5 # timeout=10 [2022-06-24T16:35:52.291Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-24T16:35:52.291Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-24T16:35:52.291Z] Dload Upload Total Spent Left Speed [2022-06-24T16:35:52.291Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94253 0 --:--:-- --:--:-- --:--:-- 93534 100 12253 100 12253 0 0 93534 0 --:--:-- --:--:-- --:--:-- 92825 [Pipeline] sh [2022-06-24T16:35:53.090Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-24T16:35:53.459Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-06-24T16:35:53.459Z] /etc/docker/daemon.new [2022-06-24T16:35:53.459Z] { [2022-06-24T16:35:53.459Z] "registry-mirrors": [ [2022-06-24T16:35:53.459Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-24T16:35:53.459Z] ], [2022-06-24T16:35:53.459Z] "bip": "10.250.0.254/24", [2022-06-24T16:35:53.459Z] "hosts": [ [2022-06-24T16:35:53.459Z] "tcp://0.0.0.0:5555", [2022-06-24T16:35:53.459Z] "unix:///var/run/docker.sock" [2022-06-24T16:35:53.459Z] ], [2022-06-24T16:35:53.459Z] "mtu": 1458, [2022-06-24T16:35:53.459Z] "selinux-enabled": true, [2022-06-24T16:35:53.459Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-24T16:35:53.459Z] } [Pipeline] sh [2022-06-24T16:35:53.794Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-24T16:35:54.129Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T16:36:12.478Z] provisioning config files... [2022-06-24T16:36:12.502Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config2574017464514730839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T16:36:12.869Z] ---> docker-login.sh [2022-06-24T16:36:12.869Z] nexus3.edgexfoundry.org:10001 [2022-06-24T16:36:13.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:36:13.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:36:13.748Z] Configure a credential helper to remove this warning. See [2022-06-24T16:36:13.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:36:13.748Z] [2022-06-24T16:36:13.748Z] Login Succeeded [2022-06-24T16:36:13.748Z] nexus3.edgexfoundry.org:10002 [2022-06-24T16:36:14.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:36:14.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:36:14.024Z] Configure a credential helper to remove this warning. See [2022-06-24T16:36:14.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:36:14.024Z] [2022-06-24T16:36:14.024Z] Login Succeeded [2022-06-24T16:36:14.024Z] nexus3.edgexfoundry.org:10003 [2022-06-24T16:36:14.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:36:14.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:36:14.623Z] Configure a credential helper to remove this warning. See [2022-06-24T16:36:14.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:36:14.623Z] [2022-06-24T16:36:14.623Z] Login Succeeded [2022-06-24T16:36:14.623Z] nexus3.edgexfoundry.org:10004 [2022-06-24T16:36:14.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:36:15.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:36:15.179Z] Configure a credential helper to remove this warning. See [2022-06-24T16:36:15.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:36:15.179Z] [2022-06-24T16:36:15.179Z] Login Succeeded [2022-06-24T16:36:15.179Z] docker.io [2022-06-24T16:36:15.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T16:36:15.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T16:36:15.727Z] Configure a credential helper to remove this warning. See [2022-06-24T16:36:15.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T16:36:15.727Z] [2022-06-24T16:36:15.727Z] Login Succeeded [2022-06-24T16:36:15.727Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T16:36:15.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T16:36:16.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T16:36:16.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T16:36:16.404Z] ========================================================= [2022-06-24T16:36:16.404Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-24T16:36:16.404Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T16:36:16.767Z] + 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-24T16:36:17.372Z] Sending build context to Docker daemon 6.151MB [2022-06-24T16:36:17.372Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T16:36:17.373Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T16:36:17.373Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-24T16:36:17.373Z] 9b3977197b4f: Pulling fs layer [2022-06-24T16:36:17.373Z] 1a89e8eeedd5: Pulling fs layer [2022-06-24T16:36:17.373Z] 94645a83ff95: Pulling fs layer [2022-06-24T16:36:17.373Z] e6fb740bc735: Pulling fs layer [2022-06-24T16:36:17.373Z] 3a77bd46dcc9: Pulling fs layer [2022-06-24T16:36:17.373Z] 355e64cbe906: Pulling fs layer [2022-06-24T16:36:17.373Z] 63ab81a10011: Pulling fs layer [2022-06-24T16:36:17.373Z] 555d1d1c4555: Pulling fs layer [2022-06-24T16:36:17.373Z] 7d9057610161: Pulling fs layer [2022-06-24T16:36:17.373Z] e6fb740bc735: Waiting [2022-06-24T16:36:17.373Z] 3a77bd46dcc9: Waiting [2022-06-24T16:36:17.373Z] 355e64cbe906: Waiting [2022-06-24T16:36:17.373Z] 63ab81a10011: Waiting [2022-06-24T16:36:17.373Z] 555d1d1c4555: Waiting [2022-06-24T16:36:17.373Z] 7d9057610161: Waiting [2022-06-24T16:36:17.373Z] 94645a83ff95: Verifying Checksum [2022-06-24T16:36:17.373Z] 94645a83ff95: Download complete [2022-06-24T16:36:17.373Z] 1a89e8eeedd5: Verifying Checksum [2022-06-24T16:36:17.373Z] 1a89e8eeedd5: Download complete [2022-06-24T16:36:17.373Z] 3a77bd46dcc9: Verifying Checksum [2022-06-24T16:36:17.373Z] 3a77bd46dcc9: Download complete [2022-06-24T16:36:17.656Z] 355e64cbe906: Verifying Checksum [2022-06-24T16:36:17.656Z] 355e64cbe906: Download complete [2022-06-24T16:36:17.656Z] 9b3977197b4f: Verifying Checksum [2022-06-24T16:36:17.656Z] 9b3977197b4f: Download complete [2022-06-24T16:36:17.656Z] 63ab81a10011: Verifying Checksum [2022-06-24T16:36:17.656Z] 63ab81a10011: Download complete [2022-06-24T16:36:18.666Z] 7d9057610161: Verifying Checksum [2022-06-24T16:36:18.666Z] 7d9057610161: Download complete [2022-06-24T16:36:18.666Z] 9b3977197b4f: Pull complete [2022-06-24T16:36:19.270Z] 1a89e8eeedd5: Pull complete [2022-06-24T16:36:19.563Z] 94645a83ff95: Pull complete [2022-06-24T16:36:19.563Z] 555d1d1c4555: Verifying Checksum [2022-06-24T16:36:19.563Z] 555d1d1c4555: Download complete [2022-06-24T16:36:20.160Z] e6fb740bc735: Verifying Checksum [2022-06-24T16:36:20.160Z] e6fb740bc735: Download complete [2022-06-24T16:36:32.599Z] e6fb740bc735: Pull complete [2022-06-24T16:36:32.599Z] 3a77bd46dcc9: Pull complete [2022-06-24T16:36:32.599Z] 355e64cbe906: Pull complete [2022-06-24T16:36:32.874Z] 63ab81a10011: Pull complete [2022-06-24T16:36:39.601Z] 555d1d1c4555: Pull complete [2022-06-24T16:36:41.053Z] 7d9057610161: Pull complete [2022-06-24T16:36:41.053Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-24T16:36:41.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-24T16:36:41.053Z] ---> 819e984ddca1 [2022-06-24T16:36:41.053Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T16:36:42.052Z] ---> Running in ca1e57b41a6c [2022-06-24T16:36:42.052Z] Removing intermediate container ca1e57b41a6c [2022-06-24T16:36:42.052Z] ---> 88b690bf8261 [2022-06-24T16:36:42.052Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T16:36:42.052Z] ---> Running in f01173e84c02 [2022-06-24T16:36:42.324Z] Removing intermediate container f01173e84c02 [2022-06-24T16:36:42.324Z] ---> 2c87f70d0cca [2022-06-24T16:36:42.324Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T16:36:42.604Z] ---> Running in a498f2ef40ea [2022-06-24T16:36:42.878Z] Removing intermediate container a498f2ef40ea [2022-06-24T16:36:42.878Z] ---> 29c2a6c3c048 [2022-06-24T16:36:42.878Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T16:36:42.878Z] ---> Running in 1a96c051a1ce [2022-06-24T16:36:43.155Z] Removing intermediate container 1a96c051a1ce [2022-06-24T16:36:43.155Z] ---> 7142bad3d1f6 [2022-06-24T16:36:43.155Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T16:36:43.155Z] ---> Running in caa06b257e89 [2022-06-24T16:36:46.573Z] Removing intermediate container caa06b257e89 [2022-06-24T16:36:46.573Z] ---> 75dca330b576 [2022-06-24T16:36:46.573Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T16:36:46.573Z] ---> Running in 7c2c8c46dc9b [2022-06-24T16:36:47.568Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-24T16:36:48.171Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-24T16:36:49.145Z] OK: 220 MiB in 52 packages [2022-06-24T16:36:49.752Z] Removing intermediate container 7c2c8c46dc9b [2022-06-24T16:36:49.752Z] ---> 94ca8535653e [2022-06-24T16:36:49.752Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T16:36:49.752Z] ---> Running in fd0236d9f623 [2022-06-24T16:36:50.026Z] Removing intermediate container fd0236d9f623 [2022-06-24T16:36:50.026Z] ---> 0fea7b6de332 [2022-06-24T16:36:50.026Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T16:36:50.626Z] ---> af915ac1bde6 [2022-06-24T16:36:50.626Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T16:36:50.626Z] ---> Running in fa69925a8de6 [2022-06-24T16:37:37.630Z] Removing intermediate container fa69925a8de6 [2022-06-24T16:37:37.630Z] ---> 461c6dfc2658 [2022-06-24T16:37:37.630Z] Step 12/13 : COPY . . [2022-06-24T16:37:37.630Z] ---> e689aba8a0f1 [2022-06-24T16:37:37.630Z] Step 13/13 : RUN ${MAKE} [2022-06-24T16:37:37.630Z] ---> Running in ac7a7725e999 [2022-06-24T16:37:37.630Z] noop [2022-06-24T16:37:38.224Z] Removing intermediate container ac7a7725e999 [2022-06-24T16:37:38.224Z] ---> 2fa6377c5c6a [2022-06-24T16:37:38.224Z] Successfully built 2fa6377c5c6a [2022-06-24T16:37:38.224Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T16:37:38.582Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T16:37:38.582Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T16:37:38.812Z] prd-ubuntu20.04-docker-arm64-4c-16g-15541 does not seem to be running inside a container [2022-06-24T16:37:38.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-24T16:37:40.157Z] $ docker top 39fcb105dc1c13adbd6df48cb289afbe6dfb39c4c95326564114a05b23e074e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T16:37:41.055Z] + go version [2022-06-24T16:37:41.055Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-24T16:37:41.084Z] $ docker stop --time=1 39fcb105dc1c13adbd6df48cb289afbe6dfb39c4c95326564114a05b23e074e1 [2022-06-24T16:37:42.718Z] $ docker rm -f 39fcb105dc1c13adbd6df48cb289afbe6dfb39c4c95326564114a05b23e074e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T16:37:43.324Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T16:37:43.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T16:37:43.557Z] prd-ubuntu20.04-docker-arm64-4c-16g-15541 does not seem to be running inside a container [2022-06-24T16:37:43.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-24T16:37:44.907Z] $ docker top 1497f7a7bf05542c5fe1d82505af117eb78a283e7633d1fcf4603b3bff01c145 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T16:37:45.827Z] + make test [2022-06-24T16:37:45.828Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T16:37:47.818Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T16:39:09.644Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-24T16:39:09.644Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.083s coverage: 1.4% of statements [2022-06-24T16:39:36.457Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.542s coverage: 13.8% of statements [2022-06-24T16:39:36.457Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-24T16:39:36.457Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-24T16:40:03.293Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-24T16:40:03.293Z] ./internal/driver/macmapper.go [2022-06-24T16:40:03.293Z] ./internal/driver/config.go [2022-06-24T16:40:03.293Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-24T16:40:03.293Z] make: *** [Makefile:57: test] Error 1 [Pipeline] } [2022-06-24T16:40:03.321Z] $ docker stop --time=1 1497f7a7bf05542c5fe1d82505af117eb78a283e7633d1fcf4603b3bff01c145 [2022-06-24T16:40:05.109Z] $ docker rm -f 1497f7a7bf05542c5fe1d82505af117eb78a283e7633d1fcf4603b3bff01c145 [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-24T16:40:06.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T16:40:06.183Z] [2022-06-24T16:40:06.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T16:40:06.536Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T16:40:06.813Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-24T16:40:06.813Z] 8998bd30e6a1: Pulling fs layer [2022-06-24T16:40:06.813Z] 04944245beec: Pulling fs layer [2022-06-24T16:40:06.813Z] 699f458cf7ca: Pulling fs layer [2022-06-24T16:40:06.813Z] 765212b225bb: Pulling fs layer [2022-06-24T16:40:06.813Z] f23df028b6ca: Pulling fs layer [2022-06-24T16:40:06.813Z] d65c8cfc05b1: Pulling fs layer [2022-06-24T16:40:06.813Z] 2437ff75d9bd: Pulling fs layer [2022-06-24T16:40:06.813Z] 765212b225bb: Waiting [2022-06-24T16:40:06.813Z] f23df028b6ca: Waiting [2022-06-24T16:40:06.813Z] d65c8cfc05b1: Waiting [2022-06-24T16:40:06.813Z] 04944245beec: Verifying Checksum [2022-06-24T16:40:06.813Z] 04944245beec: Download complete [2022-06-24T16:40:06.813Z] 765212b225bb: Download complete [2022-06-24T16:40:06.813Z] f23df028b6ca: Verifying Checksum [2022-06-24T16:40:06.813Z] f23df028b6ca: Download complete [2022-06-24T16:40:06.813Z] d65c8cfc05b1: Verifying Checksum [2022-06-24T16:40:06.813Z] d65c8cfc05b1: Download complete [2022-06-24T16:40:07.092Z] 699f458cf7ca: Verifying Checksum [2022-06-24T16:40:07.093Z] 699f458cf7ca: Download complete [2022-06-24T16:40:07.370Z] 8998bd30e6a1: Verifying Checksum [2022-06-24T16:40:07.370Z] 8998bd30e6a1: Download complete [2022-06-24T16:40:09.990Z] 2437ff75d9bd: Verifying Checksum [2022-06-24T16:40:09.990Z] 2437ff75d9bd: Download complete [2022-06-24T16:40:11.430Z] 8998bd30e6a1: Pull complete [2022-06-24T16:40:12.027Z] 04944245beec: Pull complete [2022-06-24T16:40:14.104Z] 699f458cf7ca: Pull complete [2022-06-24T16:40:14.385Z] 765212b225bb: Pull complete [2022-06-24T16:40:15.373Z] f23df028b6ca: Pull complete [2022-06-24T16:40:15.647Z] d65c8cfc05b1: Pull complete [2022-06-24T16:40:30.739Z] 2437ff75d9bd: Pull complete [2022-06-24T16:40:30.739Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-24T16:40:30.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T16:40:30.739Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T16:40:30.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-15541 does not seem to be running inside a container [2022-06-24T16:40:31.088Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-24T16:40:33.509Z] $ docker top 2a774f76f3253a593667d75a2c511e0fdd738ebc054384d264413a9ab7951af5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T16:40:34.415Z] ---> job-cost.sh [2022-06-24T16:40:34.415Z] lf-activate-venv: SKIPPING [2022-06-24T16:40:34.415Z] INFO: No Stack... [2022-06-24T16:40:35.005Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-24T16:40:35.597Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T16:40:36.257Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2022-06-24T16:40:36.257Z] + cut -d, -f6 [Pipeline] lock [2022-06-24T16:40:36.319Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-4-stack-cost] [2022-06-24T16:40:36.327Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-4-stack-cost] did not exist. Created. [2022-06-24T16:40:36.327Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T16:40:37.004Z] /w/workspace/device-onvif-camera/4@tmp/durable-4c5164ed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-24T16:40:37.678Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-24T16:40:37.705Z] Warning: overwriting stash ‘stack-cost’ [2022-06-24T16:40:38.133Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T16:40:38.141Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T16:40:38.166Z] $ docker stop --time=1 2a774f76f3253a593667d75a2c511e0fdd738ebc054384d264413a9ab7951af5 [2022-06-24T16:40:39.664Z] $ docker rm -f 2a774f76f3253a593667d75a2c511e0fdd738ebc054384d264413a9ab7951af5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-24T16:40:39.995Z] 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-24T16:40:40.708Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] [2022-06-24T16:40:40.709Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T16:40:40.709Z] total 16 [2022-06-24T16:40:40.709Z] drwxr-xr-x 3 root root 4096 Jun 24 16:34 . [2022-06-24T16:40:40.709Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 16:34 .. [2022-06-24T16:40:40.709Z] drwxr-xr-x 2 root root 4096 Jun 24 16:34 cost [2022-06-24T16:40:40.709Z] -rw-r--r-- 1 root root 89 Jun 24 16:34 cost.csv [2022-06-24T16:40:40.709Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T16:40:40.709Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T16:40:40.709Z] total 16 [2022-06-24T16:40:40.709Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 16:34 . [2022-06-24T16:40:40.709Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 16:34 .. [2022-06-24T16:40:40.709Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 16:34 cost [2022-06-24T16:40:40.709Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 24 16:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-24T16:40:40.997Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T16:40:41.865Z] ---> package-listing.sh [2022-06-24T16:40:41.865Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-24T16:40:41.865Z] ++ facter osfamily [2022-06-24T16:40:42.124Z] + OS_FAMILY=debian [2022-06-24T16:40:42.124Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 [2022-06-24T16:40:42.124Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-24T16:40:42.124Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-24T16:40:42.124Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-24T16:40:42.124Z] + PACKAGES=/tmp/packages_start.txt [2022-06-24T16:40:42.124Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-24T16:40:42.124Z] + PACKAGES=/tmp/packages_end.txt [2022-06-24T16:40:42.124Z] + case "${OS_FAMILY}" in [2022-06-24T16:40:42.124Z] + dpkg -l [2022-06-24T16:40:42.124Z] + grep '^ii' [2022-06-24T16:40:42.124Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-24T16:40:42.124Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-24T16:40:42.124Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-24T16:40:42.124Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-24T16:40:42.124Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [2022-06-24T16:40:42.124Z] + 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-24T16:40:42.136Z] 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-24T16:40:42.414Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T16:40:42.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T16:40:42.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T16:40:43.058Z] prd-ubuntu20.04-docker-8c-8g-15540 does not seem to be running inside a container [2022-06-24T16:40:43.094Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-24T16:40:43.321Z] $ docker top a8a60aab15d32c2661c089e829c4227abb7e708865f4e1f1632ca9e0496f14a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T16:40:43.692Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-24T16:40:43.977Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-24T16:40:44.263Z] + ls /var/log/sa-host [2022-06-24T16:40:44.263Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T16:40:44.336Z] provisioning config files... [2022-06-24T16:40:44.344Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config3582165674799912860tmp [Pipeline] { [Pipeline] echo [2022-06-24T16:40:44.359Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T16:40:44.640Z] ---> create-netrc.sh [Pipeline] } [2022-06-24T16:40:44.647Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-24T16:40:44.964Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-24T16:40:44.972Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T16:40:45.254Z] ---> sudo-logs.sh [2022-06-24T16:40:45.255Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-24T16:40:45.281Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T16:40:45.565Z] ---> job-cost.sh [2022-06-24T16:40:45.565Z] lf-activate-venv: SKIPPING [2022-06-24T16:40:45.565Z] DEBUG: total: 0.2199999988079071 [2022-06-24T16:40:45.565Z] INFO: Retrieving Stack Cost... [2022-06-24T16:40:46.136Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T16:40:46.397Z] INFO: Archiving Costs [Pipeline] echo [2022-06-24T16:40:46.407Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T16:40:46.695Z] ---> logs-deploy.sh [2022-06-24T16:40:46.695Z] lf-activate-venv: SKIPPING [2022-06-24T16:40:46.695Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/4 [2022-06-24T16:40:46.695Z] INFO: archiving workspace using pattern(s): [2022-06-24T16:40:47.638Z] Archives upload complete. [2022-06-24T16:40:47.638Z] INFO: archiving logs to Nexus