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 48f025dff2f2ff238476ea74f4e3869ed791b589 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-ssh881887376084333314.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-ssh14016461677796057018.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-ssh5584718622394688990.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-ssh16770755719251144930.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-ssh16599880281289388697.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16106 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 48f025dff2f2ff238476ea74f4e3869ed791b589 Merge succeeded, producing bc5b9d838b6a9b25d31832896b2c140f22c57010 Checking out Revision bc5b9d838b6a9b25d31832896b2c140f22c57010 (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 48f025dff2f2ff238476ea74f4e3869ed791b589 # 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 bc5b9d838b6a9b25d31832896b2c140f22c57010 # 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-27T15:38:59.841Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T15:38:59.942Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T15:38:59.957Z] ========================================================= [2022-06-27T15:38:59.957Z] EdgeX Global Pipelines Version Info [2022-06-27T15:38:59.957Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 16ab54abe7bff73a40740f858a070dcccd827bfc # timeout=10 [2022-06-27T15:39:00.714Z] ------------------- [2022-06-27T15:39:00.714Z] stable info: [2022-06-27T15:39:00.714Z] ------------------- [2022-06-27T15:39:00.714Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T15:39:00.714Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T15:39:00.714Z] Message: update stable to v1.0.234 [2022-06-27T15:39:01.288Z] ------------------- [2022-06-27T15:39:01.288Z] experimental info: [2022-06-27T15:39:01.288Z] ------------------- [2022-06-27T15:39:01.288Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T15:39:01.288Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T15:39:01.288Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T15:39:01.496Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-27T15:39:01.507Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-27T15:39:01.518Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T15:39:01.529Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T15:39:01.542Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T15:39:01.553Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T15:39:01.565Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T15:39:01.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T15:39:01.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T15:39:01.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T15:39:01.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T15:39:01.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-27T15:39:01.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T15:39:01.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T15:39:01.676Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T15:39:01.690Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T15:39:01.707Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T15:39:01.717Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T15:39:01.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T15:39:01.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T15:39:01.753Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T15:39:01.761Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T15:39:01.769Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T15:39:01.778Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T15:39:01.786Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T15:39:01.795Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T15:39:01.803Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T15:39:01.812Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2022-06-27T15:39:01.824Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2022-06-27T15:39:01.834Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2022-06-27T15:39:01.843Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc5b9d838b6a9b25d31832896b2c140f22c57010 [Pipeline] echo [2022-06-27T15:39:01.852Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc5b9d8 [Pipeline] echo [2022-06-27T15:39:01.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T15:39:01.904Z] provisioning config files... [2022-06-27T15:39:01.919Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5445251539822196053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:39:02.224Z] ---> docker-login.sh [2022-06-27T15:39:02.224Z] nexus3.edgexfoundry.org:10001 [2022-06-27T15:39:02.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:39:02.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:39:02.486Z] Configure a credential helper to remove this warning. See [2022-06-27T15:39:02.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:39:02.486Z] [2022-06-27T15:39:02.486Z] Login Succeeded [2022-06-27T15:39:02.486Z] nexus3.edgexfoundry.org:10002 [2022-06-27T15:39:02.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:39:02.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:39:02.748Z] Configure a credential helper to remove this warning. See [2022-06-27T15:39:02.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:39:02.748Z] [2022-06-27T15:39:02.748Z] Login Succeeded [2022-06-27T15:39:02.748Z] nexus3.edgexfoundry.org:10003 [2022-06-27T15:39:02.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:39:02.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:39:02.748Z] Configure a credential helper to remove this warning. See [2022-06-27T15:39:02.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:39:02.748Z] [2022-06-27T15:39:02.748Z] Login Succeeded [2022-06-27T15:39:02.748Z] nexus3.edgexfoundry.org:10004 [2022-06-27T15:39:03.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:39:03.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:39:03.008Z] Configure a credential helper to remove this warning. See [2022-06-27T15:39:03.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:39:03.008Z] [2022-06-27T15:39:03.008Z] Login Succeeded [2022-06-27T15:39:03.008Z] docker.io [2022-06-27T15:39:03.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:39:03.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:39:03.581Z] Configure a credential helper to remove this warning. See [2022-06-27T15:39:03.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:39:03.581Z] [2022-06-27T15:39:03.581Z] Login Succeeded [2022-06-27T15:39:03.581Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T15:39:03.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T15:39:03.986Z] + git rev-list -1 --merges bc5b9d838b6a9b25d31832896b2c140f22c57010~1..bc5b9d838b6a9b25d31832896b2c140f22c57010 [Pipeline] echo [2022-06-27T15:39:04.015Z] -----------> git rev-list -1 --merges bc5b9d838b6a9b25d31832896b2c140f22c57010~1..bc5b9d838b6a9b25d31832896b2c140f22c57010 bc5b9d838b6a9b25d31832896b2c140f22c57010 [2022-06-27T15:39:04.015Z] bc5b9d838b6a9b25d31832896b2c140f22c57010 [false] [Pipeline] sh [2022-06-27T15:39:04.305Z] + git log --format=format:%s -1 bc5b9d838b6a9b25d31832896b2c140f22c57010 [Pipeline] echo [2022-06-27T15:39:04.324Z] ========================================================= [2022-06-27T15:39:04.324Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T15:39:04.324Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T15:39:04.660Z] + git log --format=format:%s -1 bc5b9d838b6a9b25d31832896b2c140f22c57010 [Pipeline] echo [2022-06-27T15:39:04.675Z] [semverPrep] GIT_COMMIT: bc5b9d838b6a9b25d31832896b2c140f22c57010, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-27T15:39:04.684Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T15:39:05.053Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T15:39:05.054Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T15:39:05.054Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T15:39:05.054Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T15:39:05.054Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T15:39:05.054Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T15:39:05.054Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:39:05.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T15:39:05.482Z] [2022-06-27T15:39:05.482Z] 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-27T15:39:05.783Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T15:39:05.783Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T15:39:05.783Z] 42c077c10790: Pulling fs layer [2022-06-27T15:39:05.783Z] f63e77b7563a: Pulling fs layer [2022-06-27T15:39:05.783Z] bd5fdadae976: Pulling fs layer [2022-06-27T15:39:05.783Z] 205491f53016: Pulling fs layer [2022-06-27T15:39:05.783Z] df18705c85c3: Pulling fs layer [2022-06-27T15:39:05.783Z] bdb3f477010e: Pulling fs layer [2022-06-27T15:39:05.783Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T15:39:05.783Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T15:39:05.783Z] bdb8f0575790: Pulling fs layer [2022-06-27T15:39:05.783Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T15:39:05.783Z] 2343380bae48: Pulling fs layer [2022-06-27T15:39:05.783Z] 205491f53016: Waiting [2022-06-27T15:39:05.783Z] bdb8f0575790: Waiting [2022-06-27T15:39:05.783Z] bdb3f477010e: Waiting [2022-06-27T15:39:05.783Z] 386e3cb2ff24: Waiting [2022-06-27T15:39:05.783Z] c8a8fc8e1c8f: Waiting [2022-06-27T15:39:05.783Z] 2343380bae48: Waiting [2022-06-27T15:39:05.783Z] 2c6e9b1d212d: Waiting [2022-06-27T15:39:05.783Z] df18705c85c3: Waiting [2022-06-27T15:39:05.783Z] f63e77b7563a: Download complete [2022-06-27T15:39:05.783Z] 205491f53016: Verifying Checksum [2022-06-27T15:39:05.783Z] 205491f53016: Download complete [2022-06-27T15:39:06.054Z] df18705c85c3: Verifying Checksum [2022-06-27T15:39:06.054Z] df18705c85c3: Download complete [2022-06-27T15:39:06.054Z] bd5fdadae976: Verifying Checksum [2022-06-27T15:39:06.054Z] bd5fdadae976: Download complete [2022-06-27T15:39:06.054Z] bdb3f477010e: Verifying Checksum [2022-06-27T15:39:06.054Z] bdb3f477010e: Download complete [2022-06-27T15:39:06.054Z] 2c6e9b1d212d: Verifying Checksum [2022-06-27T15:39:06.054Z] 2c6e9b1d212d: Download complete [2022-06-27T15:39:06.054Z] bdb8f0575790: Verifying Checksum [2022-06-27T15:39:06.054Z] bdb8f0575790: Download complete [2022-06-27T15:39:06.054Z] 386e3cb2ff24: Download complete [2022-06-27T15:39:06.054Z] 2343380bae48: Verifying Checksum [2022-06-27T15:39:06.054Z] 2343380bae48: Download complete [2022-06-27T15:39:06.054Z] 42c077c10790: Download complete [2022-06-27T15:39:06.315Z] c8a8fc8e1c8f: Download complete [2022-06-27T15:39:07.257Z] 42c077c10790: Pull complete [2022-06-27T15:39:07.257Z] f63e77b7563a: Pull complete [2022-06-27T15:39:07.829Z] bd5fdadae976: Pull complete [2022-06-27T15:39:07.829Z] 205491f53016: Pull complete [2022-06-27T15:39:08.090Z] df18705c85c3: Pull complete [2022-06-27T15:39:08.351Z] bdb3f477010e: Pull complete [2022-06-27T15:39:10.261Z] c8a8fc8e1c8f: Pull complete [2022-06-27T15:39:10.261Z] 2c6e9b1d212d: Pull complete [2022-06-27T15:39:10.261Z] bdb8f0575790: Pull complete [2022-06-27T15:39:10.261Z] 386e3cb2ff24: Pull complete [2022-06-27T15:39:10.261Z] 2343380bae48: Pull complete [2022-06-27T15:39:10.261Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T15:39:10.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T15:39:10.261Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:39:10.364Z] prd-ubuntu20.04-docker-8c-8g-16106 does not seem to be running inside a container [2022-06-27T15:39:10.403Z] $ 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-27T15:39:11.927Z] $ docker top 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c -eo pid,comm [2022-06-27T15:39:11.995Z] 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-27T15:39:11.995Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T15:39:12.024Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T15:39:12.024Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T15:39:12.162Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T15:39:12.169Z] $ docker exec 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c ssh-agent [2022-06-27T15:39:12.293Z] SSH_AUTH_SOCK=/tmp/ssh-ZZBWrxmavfxu/agent.32 [2022-06-27T15:39:12.293Z] SSH_AGENT_PID=38 [2022-06-27T15:39:12.299Z] Running ssh-add (command line suppressed) [2022-06-27T15:39:12.413Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4364413998542671422.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4364413998542671422.key) [2022-06-27T15:39:12.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T15:39:12.716Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T15:39:12.742Z] $ docker exec --env ******** --env ******** 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c ssh-agent -k [2022-06-27T15:39:12.855Z] unset SSH_AUTH_SOCK; [2022-06-27T15:39:12.855Z] unset SSH_AGENT_PID; [2022-06-27T15:39:12.855Z] echo Agent pid 38 killed; [2022-06-27T15:39:12.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T15:39:12.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T15:39:12.899Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T15:39:13.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T15:39:13.044Z] $ docker exec 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c ssh-agent [2022-06-27T15:39:13.181Z] SSH_AUTH_SOCK=/tmp/ssh-8IUrLU6PFVyI/agent.71 [2022-06-27T15:39:13.181Z] SSH_AGENT_PID=78 [2022-06-27T15:39:13.188Z] Running ssh-add (command line suppressed) [2022-06-27T15:39:13.308Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_2856380908257645581.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_2856380908257645581.key) [2022-06-27T15:39:13.318Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T15:39:13.606Z] + git semver init [2022-06-27T15:39:13.869Z] 2022-06-27 15:39:13,825 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T15:39:13.869Z] 2022-06-27 15:39:13,826 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-27T15:39:13.869Z] 2022-06-27 15:39:13,826 [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-27T15:39:13.869Z] 2022-06-27 15:39:13,826 [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-27T15:39:14.809Z] 2022-06-27 15:39:14,507 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude [2022-06-27T15:39:14.809Z] 2022-06-27 15:39:14,508 [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-27T15:39:14.809Z] 2022-06-27 15:39:14,508 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-27T15:39:14.809Z] 2022-06-27 15:39:14,513 [execute] INFO git cat-file --batch-check [2022-06-27T15:39:14.809Z] 2022-06-27 15:39:14,514 [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-27T15:39:14.809Z] 2022-06-27 15:39:14,521 [execute] INFO git cat-file --batch [2022-06-27T15:39:14.809Z] 2022-06-27 15:39:14,521 [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-27T15:39:14.809Z] 2022-06-27 15:39:14,527 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-27T15:39:14.809Z] 0.0.0 [Pipeline] } [2022-06-27T15:39:14.821Z] $ docker exec --env ******** --env ******** 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c ssh-agent -k [2022-06-27T15:39:14.937Z] unset SSH_AUTH_SOCK; [2022-06-27T15:39:14.937Z] unset SSH_AGENT_PID; [2022-06-27T15:39:14.937Z] echo Agent pid 78 killed; [2022-06-27T15:39:14.945Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T15:39:15.254Z] + git semver [Pipeline] } [2022-06-27T15:39:15.534Z] $ docker stop --time=1 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c [2022-06-27T15:39:16.871Z] $ docker rm -f 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T15:39:17.230Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T15:39:17.478Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T15:39:17.481Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T15:39:17.597Z] provisioning config files... [2022-06-27T15:39:17.608Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5978000965858335808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:39:17.911Z] ---> docker-login.sh [2022-06-27T15:39:17.911Z] nexus3.edgexfoundry.org:10001 [2022-06-27T15:39:17.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:39:17.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:39:17.911Z] Configure a credential helper to remove this warning. See [2022-06-27T15:39:17.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:39:17.911Z] [2022-06-27T15:39:17.911Z] Login Succeeded [2022-06-27T15:39:17.911Z] nexus3.edgexfoundry.org:10002 [2022-06-27T15:39:17.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:39:18.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:39:18.172Z] Configure a credential helper to remove this warning. See [2022-06-27T15:39:18.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:39:18.172Z] [2022-06-27T15:39:18.172Z] Login Succeeded [2022-06-27T15:39:18.172Z] nexus3.edgexfoundry.org:10003 [2022-06-27T15:39:18.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:39:18.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:39:18.172Z] Configure a credential helper to remove this warning. See [2022-06-27T15:39:18.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:39:18.172Z] [2022-06-27T15:39:18.172Z] Login Succeeded [2022-06-27T15:39:18.172Z] nexus3.edgexfoundry.org:10004 [2022-06-27T15:39:18.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:39:18.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:39:18.434Z] Configure a credential helper to remove this warning. See [2022-06-27T15:39:18.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:39:18.434Z] [2022-06-27T15:39:18.434Z] Login Succeeded [2022-06-27T15:39:18.434Z] docker.io [2022-06-27T15:39:18.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:39:18.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:39:18.695Z] Configure a credential helper to remove this warning. See [2022-06-27T15:39:18.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:39:18.695Z] [2022-06-27T15:39:18.695Z] Login Succeeded [2022-06-27T15:39:18.695Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T15:39:18.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T15:39:18.767Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T15:39:18.777Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T15:39:18.783Z] ========================================================= [2022-06-27T15:39:18.783Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T15:39:18.783Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:39:19.097Z] + 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-27T15:39:19.097Z] Sending build context to Docker daemon 8.852MB [2022-06-27T15:39:19.097Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T15:39:19.097Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T15:39:19.097Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T15:39:19.097Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T15:39:19.097Z] 666ba61612fd: Pulling fs layer [2022-06-27T15:39:19.097Z] 8ed8ca486205: Pulling fs layer [2022-06-27T15:39:19.097Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T15:39:19.097Z] c516ae0d96e1: Pulling fs layer [2022-06-27T15:39:19.097Z] 684cea983483: Pulling fs layer [2022-06-27T15:39:19.097Z] dd3240ac7de5: Pulling fs layer [2022-06-27T15:39:19.097Z] b1e948a4e11c: Pulling fs layer [2022-06-27T15:39:19.097Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T15:39:19.097Z] 646ad004c059: Pulling fs layer [2022-06-27T15:39:19.097Z] cc1cd167ecdc: Waiting [2022-06-27T15:39:19.097Z] c516ae0d96e1: Waiting [2022-06-27T15:39:19.097Z] 684cea983483: Waiting [2022-06-27T15:39:19.097Z] dd3240ac7de5: Waiting [2022-06-27T15:39:19.097Z] b1e948a4e11c: Waiting [2022-06-27T15:39:19.097Z] a8fd76ee1af6: Waiting [2022-06-27T15:39:19.097Z] 646ad004c059: Waiting [2022-06-27T15:39:19.097Z] 8ed8ca486205: Download complete [2022-06-27T15:39:19.359Z] 666ba61612fd: Verifying Checksum [2022-06-27T15:39:19.359Z] 666ba61612fd: Download complete [2022-06-27T15:39:19.359Z] c516ae0d96e1: Download complete [2022-06-27T15:39:19.359Z] 684cea983483: Verifying Checksum [2022-06-27T15:39:19.359Z] 684cea983483: Download complete [2022-06-27T15:39:19.359Z] dd3240ac7de5: Download complete [2022-06-27T15:39:19.359Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T15:39:19.359Z] 59bf1c3509f3: Download complete [2022-06-27T15:39:19.359Z] b1e948a4e11c: Verifying Checksum [2022-06-27T15:39:19.359Z] b1e948a4e11c: Download complete [2022-06-27T15:39:19.359Z] 59bf1c3509f3: Pull complete [2022-06-27T15:39:19.621Z] 666ba61612fd: Pull complete [2022-06-27T15:39:19.621Z] 8ed8ca486205: Pull complete [2022-06-27T15:39:19.882Z] 646ad004c059: Verifying Checksum [2022-06-27T15:39:19.882Z] 646ad004c059: Download complete [2022-06-27T15:39:19.882Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T15:39:19.882Z] a8fd76ee1af6: Download complete [2022-06-27T15:39:20.141Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T15:39:20.141Z] cc1cd167ecdc: Download complete [2022-06-27T15:39:23.432Z] cc1cd167ecdc: Pull complete [2022-06-27T15:39:23.432Z] c516ae0d96e1: Pull complete [2022-06-27T15:39:23.432Z] 684cea983483: Pull complete [2022-06-27T15:39:23.432Z] dd3240ac7de5: Pull complete [2022-06-27T15:39:23.691Z] b1e948a4e11c: Pull complete [2022-06-27T15:39:25.598Z] a8fd76ee1af6: Pull complete [2022-06-27T15:39:26.167Z] 646ad004c059: Pull complete [2022-06-27T15:39:26.167Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T15:39:26.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T15:39:26.426Z] ---> 8f69c11f6b0c [2022-06-27T15:39:26.426Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T15:39:28.338Z] ---> Running in 8cde1fc5aec9 [2022-06-27T15:39:28.338Z] Removing intermediate container 8cde1fc5aec9 [2022-06-27T15:39:28.338Z] ---> f5e2d881de87 [2022-06-27T15:39:28.338Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T15:39:28.338Z] ---> Running in cc55e7a35f15 [2022-06-27T15:39:28.338Z] Removing intermediate container cc55e7a35f15 [2022-06-27T15:39:28.338Z] ---> 56d23b42999c [2022-06-27T15:39:28.338Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T15:39:28.338Z] ---> Running in bb623f6b8c2e [2022-06-27T15:39:28.597Z] Removing intermediate container bb623f6b8c2e [2022-06-27T15:39:28.597Z] ---> 44988f1b4554 [2022-06-27T15:39:28.597Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T15:39:28.597Z] ---> Running in 8ac8c2cd26f9 [2022-06-27T15:39:28.597Z] Removing intermediate container 8ac8c2cd26f9 [2022-06-27T15:39:28.597Z] ---> cc536f7a6fa9 [2022-06-27T15:39:28.597Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T15:39:28.597Z] ---> Running in dac026dd1c60 [2022-06-27T15:39:29.168Z] Removing intermediate container dac026dd1c60 [2022-06-27T15:39:29.168Z] ---> 53cb795e03cc [2022-06-27T15:39:29.168Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T15:39:29.428Z] ---> Running in 48bd74d9c57d [2022-06-27T15:39:29.689Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T15:39:30.631Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T15:39:30.891Z] OK: 221 MiB in 52 packages [2022-06-27T15:39:31.150Z] Removing intermediate container 48bd74d9c57d [2022-06-27T15:39:31.150Z] ---> d0d96a7b0c8a [2022-06-27T15:39:31.150Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T15:39:31.150Z] ---> Running in ebe957e55ae7 [2022-06-27T15:39:31.150Z] Removing intermediate container ebe957e55ae7 [2022-06-27T15:39:31.150Z] ---> 875d2bd7e446 [2022-06-27T15:39:31.150Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T15:39:31.410Z] ---> 13b85e7d8671 [2022-06-27T15:39:31.410Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T15:39:31.410Z] ---> Running in 72834c6e88b1 [2022-06-27T15:39:32.569Z] Still waiting to schedule task [2022-06-27T15:39:32.569Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-27T15:39:46.309Z] Removing intermediate container 72834c6e88b1 [2022-06-27T15:39:46.309Z] ---> 014d315328cc [2022-06-27T15:39:46.309Z] Step 12/13 : COPY . . [2022-06-27T15:39:46.880Z] ---> 59caf67a9586 [2022-06-27T15:39:46.880Z] Step 13/13 : RUN ${MAKE} [2022-06-27T15:39:46.880Z] ---> Running in aab985f51c6e [2022-06-27T15:39:47.140Z] noop [2022-06-27T15:39:47.400Z] Removing intermediate container aab985f51c6e [2022-06-27T15:39:47.400Z] ---> 5edf69d5da84 [2022-06-27T15:39:47.400Z] Successfully built 5edf69d5da84 [2022-06-27T15:39:47.400Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:39:47.722Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T15:39:47.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:39:47.802Z] prd-ubuntu20.04-docker-8c-8g-16106 does not seem to be running inside a container [2022-06-27T15:39:47.840Z] $ 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-27T15:39:48.227Z] $ docker top aee4e3102e273958854dc326b0a6bd4981c08bd8e9d389f579e2dad3c0b38ed3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T15:39:48.574Z] + go version [2022-06-27T15:39:48.574Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T15:39:48.589Z] $ docker stop --time=1 aee4e3102e273958854dc326b0a6bd4981c08bd8e9d389f579e2dad3c0b38ed3 [2022-06-27T15:39:49.898Z] $ docker rm -f aee4e3102e273958854dc326b0a6bd4981c08bd8e9d389f579e2dad3c0b38ed3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:39:50.319Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T15:39:50.319Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:39:50.409Z] prd-ubuntu20.04-docker-8c-8g-16106 does not seem to be running inside a container [2022-06-27T15:39:50.470Z] $ 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-27T15:39:50.961Z] $ docker top f62ed1e443b983717aba59db19498ab5493d1011b996054880ce34b4406d777c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T15:39:51.366Z] + make test [2022-06-27T15:39:51.366Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T15:39:51.626Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-27T15:39:51.626Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-27T15:39:51.626Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-27T15:39:51.626Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T15:40:01.614Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T15:40:04.924Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.807s coverage: 13.8% of statements [2022-06-27T15:40:04.924Z] FAIL [2022-06-27T15:40:05.182Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-27T15:40:05.198Z] $ docker stop --time=1 f62ed1e443b983717aba59db19498ab5493d1011b996054880ce34b4406d777c [2022-06-27T15:40:06.904Z] $ docker rm -f f62ed1e443b983717aba59db19498ab5493d1011b996054880ce34b4406d777c [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-27T15:40:07.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T15:40:07.426Z] [2022-06-27T15:40:07.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:40:07.729Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T15:40:07.729Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T15:40:07.729Z] 5eb5b503b376: Pulling fs layer [2022-06-27T15:40:07.729Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T15:40:07.729Z] ec43610c2a17: Pulling fs layer [2022-06-27T15:40:07.729Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T15:40:07.729Z] 33b1e0a273af: Pulling fs layer [2022-06-27T15:40:07.729Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T15:40:07.729Z] 2f39f015ded8: Pulling fs layer [2022-06-27T15:40:07.729Z] 33b1e0a273af: Waiting [2022-06-27T15:40:07.729Z] 5d3b04190fa2: Waiting [2022-06-27T15:40:07.729Z] 2f39f015ded8: Waiting [2022-06-27T15:40:07.729Z] 3a2ae6a8a46f: Waiting [2022-06-27T15:40:07.729Z] 5c69ac0246d0: Verifying Checksum [2022-06-27T15:40:07.729Z] 5c69ac0246d0: Download complete [2022-06-27T15:40:07.729Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T15:40:07.729Z] 3a2ae6a8a46f: Download complete [2022-06-27T15:40:07.729Z] 33b1e0a273af: Verifying Checksum [2022-06-27T15:40:07.729Z] 33b1e0a273af: Download complete [2022-06-27T15:40:07.729Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T15:40:07.729Z] 5d3b04190fa2: Download complete [2022-06-27T15:40:07.990Z] ec43610c2a17: Verifying Checksum [2022-06-27T15:40:07.990Z] ec43610c2a17: Download complete [2022-06-27T15:40:07.990Z] 5eb5b503b376: Verifying Checksum [2022-06-27T15:40:07.990Z] 5eb5b503b376: Download complete [2022-06-27T15:40:08.558Z] 2f39f015ded8: Download complete [2022-06-27T15:40:09.496Z] 5eb5b503b376: Pull complete [2022-06-27T15:40:09.496Z] 5c69ac0246d0: Pull complete [2022-06-27T15:40:09.756Z] ec43610c2a17: Pull complete [2022-06-27T15:40:10.016Z] 3a2ae6a8a46f: Pull complete [2022-06-27T15:40:10.016Z] 33b1e0a273af: Pull complete [2022-06-27T15:40:10.275Z] 5d3b04190fa2: Pull complete [2022-06-27T15:40:14.462Z] 2f39f015ded8: Pull complete [2022-06-27T15:40:14.462Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T15:40:14.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T15:40:14.462Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:40:14.547Z] prd-ubuntu20.04-docker-8c-8g-16106 does not seem to be running inside a container [2022-06-27T15:40:14.582Z] $ 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-27T15:40:16.350Z] $ docker top 62ec152662fed087c026b178205ad7193b975edd34d778e859a726e81993d1fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:40:16.756Z] ---> job-cost.sh [2022-06-27T15:40:16.756Z] lf-activate-venv: SKIPPING [2022-06-27T15:40:16.756Z] INFO: No Stack... [2022-06-27T15:40:17.017Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T15:40:17.587Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T15:40:17.877Z] + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv [2022-06-27T15:40:17.877Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T15:40:17.890Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] [2022-06-27T15:40:17.896Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] did not exist. Created. [2022-06-27T15:40:17.896Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T15:40:18.197Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T15:40:18.226Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T15:40:18.232Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T15:40:18.253Z] $ docker stop --time=1 62ec152662fed087c026b178205ad7193b975edd34d778e859a726e81993d1fb [2022-06-27T15:40:19.424Z] $ docker rm -f 62ec152662fed087c026b178205ad7193b975edd34d778e859a726e81993d1fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T15:40:19.532Z] Failed in branch amd64 [2022-06-27T15:41:08.434Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16107 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws [2022-06-27T15:41:08.445Z] Running in /w/workspace/device-onvif-camera/13 [Pipeline] { [Pipeline] checkout [2022-06-27T15:41:08.483Z] Selected Git installation does not exist. Using Default [2022-06-27T15:41:08.483Z] The recommended git tool is: NONE [2022-06-27T15:41:14.684Z] using credential edgex-jenkins-ssh [2022-06-27T15:41:14.700Z] Cloning the remote Git repository [2022-06-27T15:41:14.758Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T15:41:14.832Z] > git init /w/workspace/device-onvif-camera/13 # timeout=10 [2022-06-27T15:41:14.925Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T15:41:14.926Z] > git --version # timeout=10 [2022-06-27T15:41:14.999Z] > git --version # 'git version 2.25.1' [2022-06-27T15:41:15.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T15:41:15.138Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T15:41:15.981Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T15:41:16.000Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T15:41:16.027Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T15:41:16.067Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T15:41:16.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T15:41:16.080Z] > 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-27T15:41:16.587Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 48f025dff2f2ff238476ea74f4e3869ed791b589 [2022-06-27T15:41:16.978Z] Merge succeeded, producing e581f0f6c7b04d14d8b6bdb7c2ca27ebb94b2e0f [2022-06-27T15:41:16.978Z] Checking out Revision e581f0f6c7b04d14d8b6bdb7c2ca27ebb94b2e0f (PR-90) [2022-06-27T15:41:16.605Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T15:41:16.623Z] > git checkout -f 48f025dff2f2ff238476ea74f4e3869ed791b589 # timeout=10 [2022-06-27T15:41:16.747Z] > git remote # timeout=10 [2022-06-27T15:41:16.761Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T15:41:16.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T15:41:16.794Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-27T15:41:16.963Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T15:41:16.987Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T15:41:16.997Z] > git checkout -f e581f0f6c7b04d14d8b6bdb7c2ca27ebb94b2e0f # timeout=10 [2022-06-27T15:41:21.185Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-27T15:41:21.214Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T15:41:21.195Z] > git rev-list --no-walk 16ab54abe7bff73a40740f858a070dcccd827bfc # timeout=10 [2022-06-27T15:41:22.072Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T15:41:22.072Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T15:41:22.072Z] Dload Upload Total Spent Left Speed [2022-06-27T15:41:22.072Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2022-06-27T15:41:22.729Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T15:41:23.066Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T15:41:23.066Z] + sudo tee /etc/docker/daemon.new [2022-06-27T15:41:23.066Z] { [2022-06-27T15:41:23.066Z] "registry-mirrors": [ [2022-06-27T15:41:23.066Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T15:41:23.066Z] ], [2022-06-27T15:41:23.066Z] "bip": "10.250.0.254/24", [2022-06-27T15:41:23.066Z] "hosts": [ [2022-06-27T15:41:23.066Z] "tcp://0.0.0.0:5555", [2022-06-27T15:41:23.066Z] "unix:///var/run/docker.sock" [2022-06-27T15:41:23.066Z] ], [2022-06-27T15:41:23.066Z] "mtu": 1458, [2022-06-27T15:41:23.066Z] "selinux-enabled": true, [2022-06-27T15:41:23.066Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T15:41:23.066Z] } [Pipeline] sh [2022-06-27T15:41:23.418Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T15:41:23.754Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T15:41:42.080Z] provisioning config files... [2022-06-27T15:41:42.101Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/13@tmp/config4661454831358287333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:41:42.451Z] ---> docker-login.sh [2022-06-27T15:41:42.451Z] nexus3.edgexfoundry.org:10001 [2022-06-27T15:41:43.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:41:43.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:41:43.316Z] Configure a credential helper to remove this warning. See [2022-06-27T15:41:43.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:41:43.316Z] [2022-06-27T15:41:43.316Z] Login Succeeded [2022-06-27T15:41:43.316Z] nexus3.edgexfoundry.org:10002 [2022-06-27T15:41:43.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:41:43.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:41:43.589Z] Configure a credential helper to remove this warning. See [2022-06-27T15:41:43.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:41:43.589Z] [2022-06-27T15:41:43.589Z] Login Succeeded [2022-06-27T15:41:43.589Z] nexus3.edgexfoundry.org:10003 [2022-06-27T15:41:43.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:41:44.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:41:44.134Z] Configure a credential helper to remove this warning. See [2022-06-27T15:41:44.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:41:44.134Z] [2022-06-27T15:41:44.134Z] Login Succeeded [2022-06-27T15:41:44.134Z] nexus3.edgexfoundry.org:10004 [2022-06-27T15:41:44.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:41:44.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:41:44.411Z] Configure a credential helper to remove this warning. See [2022-06-27T15:41:44.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:41:44.411Z] [2022-06-27T15:41:44.411Z] Login Succeeded [2022-06-27T15:41:44.411Z] docker.io [2022-06-27T15:41:44.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:41:45.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:41:45.278Z] Configure a credential helper to remove this warning. See [2022-06-27T15:41:45.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:41:45.278Z] [2022-06-27T15:41:45.278Z] Login Succeeded [2022-06-27T15:41:45.278Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T15:41:45.295Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T15:41:45.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T15:41:45.798Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T15:41:45.811Z] ========================================================= [2022-06-27T15:41:45.811Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T15:41:45.811Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:41:46.247Z] + 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-27T15:41:46.522Z] Sending build context to Docker daemon 6.054MB [2022-06-27T15:41:46.522Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T15:41:46.522Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T15:41:46.800Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T15:41:46.800Z] 9b3977197b4f: Pulling fs layer [2022-06-27T15:41:46.800Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T15:41:46.800Z] 94645a83ff95: Pulling fs layer [2022-06-27T15:41:46.800Z] e6fb740bc735: Pulling fs layer [2022-06-27T15:41:46.800Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T15:41:46.800Z] 355e64cbe906: Pulling fs layer [2022-06-27T15:41:46.800Z] 63ab81a10011: Pulling fs layer [2022-06-27T15:41:46.800Z] 555d1d1c4555: Pulling fs layer [2022-06-27T15:41:46.800Z] 7d9057610161: Pulling fs layer [2022-06-27T15:41:46.800Z] e6fb740bc735: Waiting [2022-06-27T15:41:46.800Z] 3a77bd46dcc9: Waiting [2022-06-27T15:41:46.800Z] 355e64cbe906: Waiting [2022-06-27T15:41:46.800Z] 63ab81a10011: Waiting [2022-06-27T15:41:46.800Z] 555d1d1c4555: Waiting [2022-06-27T15:41:46.800Z] 7d9057610161: Waiting [2022-06-27T15:41:46.800Z] 94645a83ff95: Verifying Checksum [2022-06-27T15:41:46.800Z] 94645a83ff95: Download complete [2022-06-27T15:41:46.800Z] 1a89e8eeedd5: Download complete [2022-06-27T15:41:46.800Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T15:41:46.800Z] 3a77bd46dcc9: Download complete [2022-06-27T15:41:46.800Z] 355e64cbe906: Verifying Checksum [2022-06-27T15:41:46.800Z] 355e64cbe906: Download complete [2022-06-27T15:41:46.800Z] 9b3977197b4f: Download complete [2022-06-27T15:41:46.800Z] 63ab81a10011: Verifying Checksum [2022-06-27T15:41:46.800Z] 63ab81a10011: Download complete [2022-06-27T15:41:47.790Z] 9b3977197b4f: Pull complete [2022-06-27T15:41:47.790Z] 7d9057610161: Verifying Checksum [2022-06-27T15:41:47.790Z] 7d9057610161: Download complete [2022-06-27T15:41:48.401Z] 1a89e8eeedd5: Pull complete [2022-06-27T15:41:48.682Z] 94645a83ff95: Pull complete [2022-06-27T15:41:48.954Z] 555d1d1c4555: Download complete [2022-06-27T15:41:49.572Z] e6fb740bc735: Verifying Checksum [2022-06-27T15:41:49.572Z] e6fb740bc735: Download complete [2022-06-27T15:42:02.008Z] e6fb740bc735: Pull complete [2022-06-27T15:42:02.008Z] 3a77bd46dcc9: Pull complete [2022-06-27T15:42:02.008Z] 355e64cbe906: Pull complete [2022-06-27T15:42:02.282Z] 63ab81a10011: Pull complete [2022-06-27T15:42:09.007Z] 555d1d1c4555: Pull complete [2022-06-27T15:42:10.994Z] 7d9057610161: Pull complete [2022-06-27T15:42:10.994Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T15:42:10.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T15:42:10.994Z] ---> 819e984ddca1 [2022-06-27T15:42:10.994Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T15:42:11.592Z] ---> Running in 6bb769b1bda0 [2022-06-27T15:42:11.867Z] Removing intermediate container 6bb769b1bda0 [2022-06-27T15:42:11.867Z] ---> be2e08af8287 [2022-06-27T15:42:11.867Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T15:42:12.148Z] ---> Running in e3c167690a28 [2022-06-27T15:42:12.421Z] Removing intermediate container e3c167690a28 [2022-06-27T15:42:12.421Z] ---> 0ba105397d53 [2022-06-27T15:42:12.421Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T15:42:12.421Z] ---> Running in 900dcf7874ea [2022-06-27T15:42:12.704Z] Removing intermediate container 900dcf7874ea [2022-06-27T15:42:12.704Z] ---> bf2961b8aa5a [2022-06-27T15:42:12.704Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T15:42:12.704Z] ---> Running in dabb8a9ed0ae [2022-06-27T15:42:12.991Z] Removing intermediate container dabb8a9ed0ae [2022-06-27T15:42:12.991Z] ---> 3a439d9a57fa [2022-06-27T15:42:12.991Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T15:42:12.991Z] ---> Running in e8b472fe8163 [2022-06-27T15:42:15.651Z] Removing intermediate container e8b472fe8163 [2022-06-27T15:42:15.651Z] ---> 0b9e0c82c930 [2022-06-27T15:42:15.651Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T15:42:15.932Z] ---> Running in 5cda4de5f68a [2022-06-27T15:42:16.911Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T15:42:17.895Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T15:42:18.492Z] OK: 220 MiB in 52 packages [2022-06-27T15:42:19.479Z] Removing intermediate container 5cda4de5f68a [2022-06-27T15:42:19.479Z] ---> 13df1b279452 [2022-06-27T15:42:19.479Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T15:42:19.479Z] ---> Running in dee5ba37d3a5 [2022-06-27T15:42:19.754Z] Removing intermediate container dee5ba37d3a5 [2022-06-27T15:42:19.754Z] ---> 26dd6b7d7fad [2022-06-27T15:42:19.755Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T15:42:20.366Z] ---> cd6a3eda0475 [2022-06-27T15:42:20.366Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T15:42:20.366Z] ---> Running in 39306986d317 [2022-06-27T15:43:07.385Z] Removing intermediate container 39306986d317 [2022-06-27T15:43:07.385Z] ---> ec4afc6901b3 [2022-06-27T15:43:07.385Z] Step 12/13 : COPY . . [2022-06-27T15:43:07.385Z] ---> 2200d74b37e6 [2022-06-27T15:43:07.385Z] Step 13/13 : RUN ${MAKE} [2022-06-27T15:43:07.385Z] ---> Running in 88b6fa38707f [2022-06-27T15:43:07.385Z] noop [2022-06-27T15:43:07.989Z] Removing intermediate container 88b6fa38707f [2022-06-27T15:43:07.989Z] ---> 76cd7919c075 [2022-06-27T15:43:07.989Z] Successfully built 76cd7919c075 [2022-06-27T15:43:07.989Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:43:08.358Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T15:43:08.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:43:08.601Z] prd-ubuntu20.04-docker-arm64-4c-16g-16107 does not seem to be running inside a container [2022-06-27T15:43:08.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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-27T15:43:10.004Z] $ docker top f83226e7862757ab808527d8bf2bd8c66f3822893e33f2c904c689e3c7549c85 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T15:43:11.002Z] + go version [2022-06-27T15:43:11.003Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T15:43:11.033Z] $ docker stop --time=1 f83226e7862757ab808527d8bf2bd8c66f3822893e33f2c904c689e3c7549c85 [2022-06-27T15:43:12.651Z] $ docker rm -f f83226e7862757ab808527d8bf2bd8c66f3822893e33f2c904c689e3c7549c85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:43:13.249Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T15:43:13.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:43:13.478Z] prd-ubuntu20.04-docker-arm64-4c-16g-16107 does not seem to be running inside a container [2022-06-27T15:43:13.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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-27T15:43:14.806Z] $ docker top f17ec06b6f713caea55ac9133f2b0f40d60d04941d8366e21a7bbb47a41b8df1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T15:43:15.720Z] + make test [2022-06-27T15:43:15.720Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T15:43:17.163Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-27T15:43:17.163Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-27T15:43:17.163Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-27T15:43:17.439Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T15:44:39.282Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T15:45:06.103Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.856s coverage: 13.8% of statements [2022-06-27T15:45:06.103Z] FAIL [2022-06-27T15:45:06.103Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-27T15:45:06.134Z] $ docker stop --time=1 f17ec06b6f713caea55ac9133f2b0f40d60d04941d8366e21a7bbb47a41b8df1 [2022-06-27T15:45:07.868Z] $ docker rm -f f17ec06b6f713caea55ac9133f2b0f40d60d04941d8366e21a7bbb47a41b8df1 [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-27T15:45:08.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T15:45:08.875Z] [2022-06-27T15:45:08.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:45:09.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T15:45:09.494Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T15:45:09.494Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T15:45:09.494Z] 04944245beec: Pulling fs layer [2022-06-27T15:45:09.494Z] 699f458cf7ca: Pulling fs layer [2022-06-27T15:45:09.494Z] 765212b225bb: Pulling fs layer [2022-06-27T15:45:09.494Z] f23df028b6ca: Pulling fs layer [2022-06-27T15:45:09.494Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T15:45:09.494Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T15:45:09.494Z] 765212b225bb: Waiting [2022-06-27T15:45:09.494Z] f23df028b6ca: Waiting [2022-06-27T15:45:09.494Z] d65c8cfc05b1: Waiting [2022-06-27T15:45:09.494Z] 2437ff75d9bd: Waiting [2022-06-27T15:45:09.494Z] 04944245beec: Verifying Checksum [2022-06-27T15:45:09.494Z] 04944245beec: Download complete [2022-06-27T15:45:09.494Z] 765212b225bb: Verifying Checksum [2022-06-27T15:45:09.494Z] 765212b225bb: Download complete [2022-06-27T15:45:09.494Z] f23df028b6ca: Verifying Checksum [2022-06-27T15:45:09.494Z] f23df028b6ca: Download complete [2022-06-27T15:45:09.494Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T15:45:09.494Z] d65c8cfc05b1: Download complete [2022-06-27T15:45:09.770Z] 699f458cf7ca: Verifying Checksum [2022-06-27T15:45:09.770Z] 699f458cf7ca: Download complete [2022-06-27T15:45:10.046Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T15:45:10.046Z] 8998bd30e6a1: Download complete [2022-06-27T15:45:12.690Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T15:45:12.690Z] 2437ff75d9bd: Download complete [2022-06-27T15:45:14.668Z] 8998bd30e6a1: Pull complete [2022-06-27T15:45:14.668Z] 04944245beec: Pull complete [2022-06-27T15:45:16.652Z] 699f458cf7ca: Pull complete [2022-06-27T15:45:16.652Z] 765212b225bb: Pull complete [2022-06-27T15:45:17.251Z] f23df028b6ca: Pull complete [2022-06-27T15:45:17.525Z] d65c8cfc05b1: Pull complete [2022-06-27T15:45:32.619Z] 2437ff75d9bd: Pull complete [2022-06-27T15:45:32.619Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T15:45:32.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T15:45:32.619Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:45:32.869Z] prd-ubuntu20.04-docker-arm64-4c-16g-16107 does not seem to be running inside a container [2022-06-27T15:45:32.962Z] $ 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/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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-27T15:45:35.353Z] $ docker top a17d74e26167a858dbd12cf13755d070a5def9c770a94cc812ac8dd17d0d77c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:45:36.261Z] ---> job-cost.sh [2022-06-27T15:45:36.261Z] lf-activate-venv: SKIPPING [2022-06-27T15:45:36.261Z] INFO: No Stack... [2022-06-27T15:45:36.534Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T15:45:37.511Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T15:45:38.183Z] + cat /w/workspace/device-onvif-camera/13/archives/cost.csv [2022-06-27T15:45:38.184Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T15:45:38.254Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] [2022-06-27T15:45:38.262Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] did not exist. Created. [2022-06-27T15:45:38.262Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T15:45:38.944Z] /w/workspace/device-onvif-camera/13@tmp/durable-d083efca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T15:45:39.621Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T15:45:39.649Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T15:45:40.100Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T15:45:40.110Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T15:45:40.137Z] $ docker stop --time=1 a17d74e26167a858dbd12cf13755d070a5def9c770a94cc812ac8dd17d0d77c2 [2022-06-27T15:45:41.617Z] $ docker rm -f a17d74e26167a858dbd12cf13755d070a5def9c770a94cc812ac8dd17d0d77c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T15:45:41.932Z] 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-27T15:45:42.595Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] [2022-06-27T15:45:42.595Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T15:45:42.595Z] total 16 [2022-06-27T15:45:42.596Z] drwxr-xr-x 3 root root 4096 Jun 27 15:40 . [2022-06-27T15:45:42.596Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 15:40 .. [2022-06-27T15:45:42.596Z] drwxr-xr-x 2 root root 4096 Jun 27 15:40 cost [2022-06-27T15:45:42.596Z] -rw-r--r-- 1 root root 90 Jun 27 15:40 cost.csv [2022-06-27T15:45:42.596Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T15:45:42.596Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T15:45:42.596Z] total 16 [2022-06-27T15:45:42.596Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 15:40 . [2022-06-27T15:45:42.596Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 15:40 .. [2022-06-27T15:45:42.596Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 15:40 cost [2022-06-27T15:45:42.596Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 27 15:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:45:42.886Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:45:43.750Z] ---> package-listing.sh [2022-06-27T15:45:43.750Z] ++ facter osfamily [2022-06-27T15:45:43.750Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T15:45:44.009Z] + OS_FAMILY=debian [2022-06-27T15:45:44.009Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 [2022-06-27T15:45:44.009Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T15:45:44.009Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T15:45:44.009Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T15:45:44.009Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T15:45:44.009Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-27T15:45:44.009Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T15:45:44.009Z] + case "${OS_FAMILY}" in [2022-06-27T15:45:44.009Z] + dpkg -l [2022-06-27T15:45:44.009Z] + grep '^ii' [2022-06-27T15:45:44.009Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T15:45:44.009Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T15:45:44.009Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T15:45:44.009Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-27T15:45:44.009Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [2022-06-27T15:45:44.009Z] + 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-27T15:45:44.021Z] 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-27T15:45:44.301Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:45:44.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T15:45:44.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:45:44.948Z] prd-ubuntu20.04-docker-8c-8g-16106 does not seem to be running inside a container [2022-06-27T15:45:44.983Z] $ 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-27T15:45:45.237Z] $ docker top 4eb2aba3bffc2666138aa918b63d8778e24f3c51282e1b1e4f50561ea6712ba3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T15:45:45.629Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T15:45:45.927Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T15:45:46.220Z] + ls /var/log/sa-host [2022-06-27T15:45:46.220Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T15:45:46.351Z] provisioning config files... [2022-06-27T15:45:46.360Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config6240163480808379294tmp [Pipeline] { [Pipeline] echo [2022-06-27T15:45:46.376Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:45:46.664Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T15:45:46.673Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:45:47.009Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T15:45:47.018Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:45:47.304Z] ---> sudo-logs.sh [2022-06-27T15:45:47.304Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T15:45:47.334Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:45:47.637Z] ---> job-cost.sh [2022-06-27T15:45:47.637Z] lf-activate-venv: SKIPPING [2022-06-27T15:45:47.637Z] DEBUG: total: 0.2199999988079071 [2022-06-27T15:45:47.637Z] INFO: Retrieving Stack Cost... [2022-06-27T15:45:47.898Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T15:45:48.470Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T15:45:48.483Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:45:48.773Z] ---> logs-deploy.sh [2022-06-27T15:45:48.773Z] lf-activate-venv: SKIPPING [2022-06-27T15:45:48.773Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/13 [2022-06-27T15:45:48.773Z] INFO: archiving workspace using pattern(s): [2022-06-27T15:45:49.721Z] Archives upload complete. [2022-06-27T15:45:49.721Z] INFO: archiving logs to Nexus