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 6e638c025af27611a984b29d9a0273ac80522e19 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-ssh6448653531005065866.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-ssh16691003526746225228.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-ssh7019602664025788424.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-ssh18001541162953713874.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-ssh14387384055766370697.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-15554 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-90 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 6e638c025af27611a984b29d9a0273ac80522e19 Merge succeeded, producing 74a7fbbe15d76ab83c6d14bc923cd0c73ce7f072 Checking out Revision 74a7fbbe15d76ab83c6d14bc923cd0c73ce7f072 (PR-90) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e638c025af27611a984b29d9a0273ac80522e19 # 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 74a7fbbe15d76ab83c6d14bc923cd0c73ce7f072 # 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-24T18:24:38.710Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-24T18:24:38.768Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-24T18:24:38.787Z] ========================================================= [2022-06-24T18:24:38.787Z] EdgeX Global Pipelines Version Info [2022-06-24T18:24:38.787Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2a9aee2d3582786e9adc01ffe2e3fad49c60d8ba # timeout=10 [2022-06-24T18:24:39.529Z] ------------------- [2022-06-24T18:24:39.529Z] stable info: [2022-06-24T18:24:39.529Z] ------------------- [2022-06-24T18:24:39.529Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-24T18:24:39.529Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T18:24:39.529Z] Message: update stable to v1.0.234 [2022-06-24T18:24:40.105Z] ------------------- [2022-06-24T18:24:40.105Z] experimental info: [2022-06-24T18:24:40.105Z] ------------------- [2022-06-24T18:24:40.105Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-24T18:24:40.105Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T18:24:40.105Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-24T18:24:40.304Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-24T18:24:40.316Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-24T18:24:40.325Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-24T18:24:40.334Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-24T18:24:40.343Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-24T18:24:40.352Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-24T18:24:40.362Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-24T18:24:40.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-24T18:24:40.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-24T18:24:40.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-24T18:24:40.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-24T18:24:40.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-24T18:24:40.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-24T18:24:40.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-24T18:24:40.432Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T18:24:40.442Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T18:24:40.452Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T18:24:40.461Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T18:24:40.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-24T18:24:40.481Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-24T18:24:40.491Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-24T18:24:40.500Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-24T18:24:40.513Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-24T18:24:40.523Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-24T18:24:40.533Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-24T18:24:40.542Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-24T18:24:40.552Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-24T18:24:40.562Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2022-06-24T18:24:40.571Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2022-06-24T18:24:40.581Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2022-06-24T18:24:40.591Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74a7fbbe15d76ab83c6d14bc923cd0c73ce7f072 [Pipeline] echo [2022-06-24T18:24:40.601Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74a7fbb [Pipeline] echo [2022-06-24T18:24:40.611Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T18:24:40.643Z] provisioning config files... [2022-06-24T18:24:40.658Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config6575502153046180221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T18:24:40.987Z] ---> docker-login.sh [2022-06-24T18:24:40.987Z] nexus3.edgexfoundry.org:10001 [2022-06-24T18:24:41.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:24:41.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:24:41.248Z] Configure a credential helper to remove this warning. See [2022-06-24T18:24:41.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:24:41.248Z] [2022-06-24T18:24:41.248Z] Login Succeeded [2022-06-24T18:24:41.248Z] nexus3.edgexfoundry.org:10002 [2022-06-24T18:24:41.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:24:41.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:24:41.510Z] Configure a credential helper to remove this warning. See [2022-06-24T18:24:41.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:24:41.510Z] [2022-06-24T18:24:41.510Z] Login Succeeded [2022-06-24T18:24:41.510Z] nexus3.edgexfoundry.org:10003 [2022-06-24T18:24:41.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:24:41.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:24:41.510Z] Configure a credential helper to remove this warning. See [2022-06-24T18:24:41.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:24:41.510Z] [2022-06-24T18:24:41.510Z] Login Succeeded [2022-06-24T18:24:41.510Z] nexus3.edgexfoundry.org:10004 [2022-06-24T18:24:41.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:24:41.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:24:41.773Z] Configure a credential helper to remove this warning. See [2022-06-24T18:24:41.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:24:41.773Z] [2022-06-24T18:24:41.773Z] Login Succeeded [2022-06-24T18:24:41.773Z] docker.io [2022-06-24T18:24:41.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:24:42.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:24:42.348Z] Configure a credential helper to remove this warning. See [2022-06-24T18:24:42.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:24:42.348Z] [2022-06-24T18:24:42.348Z] Login Succeeded [2022-06-24T18:24:42.348Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T18:24:42.358Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-24T18:24:42.734Z] + git rev-list -1 --merges 74a7fbbe15d76ab83c6d14bc923cd0c73ce7f072~1..74a7fbbe15d76ab83c6d14bc923cd0c73ce7f072 [Pipeline] echo [2022-06-24T18:24:42.768Z] -----------> git rev-list -1 --merges 74a7fbbe15d76ab83c6d14bc923cd0c73ce7f072~1..74a7fbbe15d76ab83c6d14bc923cd0c73ce7f072 74a7fbbe15d76ab83c6d14bc923cd0c73ce7f072 [2022-06-24T18:24:42.768Z] 74a7fbbe15d76ab83c6d14bc923cd0c73ce7f072 [false] [Pipeline] sh [2022-06-24T18:24:43.063Z] + git log --format=format:%s -1 74a7fbbe15d76ab83c6d14bc923cd0c73ce7f072 [Pipeline] echo [2022-06-24T18:24:43.077Z] ========================================================= [2022-06-24T18:24:43.077Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-24T18:24:43.077Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T18:24:43.411Z] + git log --format=format:%s -1 74a7fbbe15d76ab83c6d14bc923cd0c73ce7f072 [Pipeline] echo [2022-06-24T18:24:43.425Z] [semverPrep] GIT_COMMIT: 74a7fbbe15d76ab83c6d14bc923cd0c73ce7f072, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-24T18:24:43.435Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-24T18:24:43.786Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-24T18:24:43.786Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-24T18:24:43.786Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-24T18:24:43.786Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-24T18:24:43.786Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-24T18:24:43.786Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-24T18:24:43.786Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T18:24:44.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T18:24:44.145Z] [2022-06-24T18:24:44.145Z] 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-24T18:24:44.462Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T18:24:44.462Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-24T18:24:44.462Z] 42c077c10790: Pulling fs layer [2022-06-24T18:24:44.462Z] f63e77b7563a: Pulling fs layer [2022-06-24T18:24:44.462Z] bd5fdadae976: Pulling fs layer [2022-06-24T18:24:44.462Z] 205491f53016: Pulling fs layer [2022-06-24T18:24:44.462Z] 205491f53016: Waiting [2022-06-24T18:24:44.462Z] df18705c85c3: Pulling fs layer [2022-06-24T18:24:44.462Z] bdb3f477010e: Pulling fs layer [2022-06-24T18:24:44.462Z] bdb3f477010e: Waiting [2022-06-24T18:24:44.462Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-24T18:24:44.462Z] 2c6e9b1d212d: Pulling fs layer [2022-06-24T18:24:44.462Z] df18705c85c3: Waiting [2022-06-24T18:24:44.462Z] bdb8f0575790: Pulling fs layer [2022-06-24T18:24:44.462Z] 386e3cb2ff24: Pulling fs layer [2022-06-24T18:24:44.462Z] bdb8f0575790: Waiting [2022-06-24T18:24:44.462Z] 2343380bae48: Pulling fs layer [2022-06-24T18:24:44.462Z] c8a8fc8e1c8f: Waiting [2022-06-24T18:24:44.462Z] 386e3cb2ff24: Waiting [2022-06-24T18:24:44.462Z] 2c6e9b1d212d: Waiting [2022-06-24T18:24:44.462Z] f63e77b7563a: Download complete [2022-06-24T18:24:44.462Z] 205491f53016: Verifying Checksum [2022-06-24T18:24:44.462Z] 205491f53016: Download complete [2022-06-24T18:24:44.723Z] df18705c85c3: Verifying Checksum [2022-06-24T18:24:44.723Z] df18705c85c3: Download complete [2022-06-24T18:24:44.723Z] bdb3f477010e: Download complete [2022-06-24T18:24:44.723Z] bd5fdadae976: Verifying Checksum [2022-06-24T18:24:44.723Z] bd5fdadae976: Download complete [2022-06-24T18:24:44.723Z] 2c6e9b1d212d: Verifying Checksum [2022-06-24T18:24:44.723Z] 2c6e9b1d212d: Download complete [2022-06-24T18:24:44.723Z] bdb8f0575790: Verifying Checksum [2022-06-24T18:24:44.723Z] bdb8f0575790: Download complete [2022-06-24T18:24:44.723Z] 386e3cb2ff24: Download complete [2022-06-24T18:24:44.723Z] 42c077c10790: Download complete [2022-06-24T18:24:44.983Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-24T18:24:44.983Z] c8a8fc8e1c8f: Download complete [2022-06-24T18:24:45.924Z] 42c077c10790: Pull complete [2022-06-24T18:24:46.185Z] f63e77b7563a: Pull complete [2022-06-24T18:24:46.446Z] bd5fdadae976: Pull complete [2022-06-24T18:24:46.446Z] 205491f53016: Pull complete [2022-06-24T18:24:46.708Z] df18705c85c3: Pull complete [2022-06-24T18:24:46.969Z] bdb3f477010e: Pull complete [2022-06-24T18:24:48.878Z] c8a8fc8e1c8f: Pull complete [2022-06-24T18:24:48.878Z] 2c6e9b1d212d: Pull complete [2022-06-24T18:24:49.139Z] bdb8f0575790: Pull complete [2022-06-24T18:24:49.139Z] 386e3cb2ff24: Pull complete [2022-06-24T18:24:49.139Z] 2343380bae48: Pull complete [2022-06-24T18:24:49.401Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-24T18:24:49.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T18:24:49.401Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T18:24:49.502Z] prd-ubuntu20.04-docker-8c-8g-15554 does not seem to be running inside a container [2022-06-24T18:24:49.542Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-24T18:24:51.171Z] $ docker top d5f82010b11e284a1bbed75dfb718179201e85418484693086a570404f13e64f -eo pid,comm [2022-06-24T18:24:51.238Z] 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-24T18:24:51.238Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-24T18:24:51.272Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T18:24:51.272Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T18:24:51.409Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T18:24:51.415Z] $ docker exec d5f82010b11e284a1bbed75dfb718179201e85418484693086a570404f13e64f ssh-agent [2022-06-24T18:24:51.542Z] SSH_AUTH_SOCK=/tmp/ssh-ydwHih3BlPAr/agent.32 [2022-06-24T18:24:51.542Z] SSH_AGENT_PID=38 [2022-06-24T18:24:51.548Z] Running ssh-add (command line suppressed) [2022-06-24T18:24:51.670Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_3806958174896697023.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_3806958174896697023.key) [2022-06-24T18:24:51.683Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T18:24:51.973Z] + git tag --points-at HEAD [Pipeline] } [2022-06-24T18:24:51.997Z] $ docker exec --env ******** --env ******** d5f82010b11e284a1bbed75dfb718179201e85418484693086a570404f13e64f ssh-agent -k [2022-06-24T18:24:52.113Z] unset SSH_AUTH_SOCK; [2022-06-24T18:24:52.114Z] unset SSH_AGENT_PID; [2022-06-24T18:24:52.114Z] echo Agent pid 38 killed; [2022-06-24T18:24:52.123Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-24T18:24:52.150Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T18:24:52.150Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T18:24:52.283Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T18:24:52.289Z] $ docker exec d5f82010b11e284a1bbed75dfb718179201e85418484693086a570404f13e64f ssh-agent [2022-06-24T18:24:52.418Z] SSH_AUTH_SOCK=/tmp/ssh-HHe6WzFUPd9d/agent.72 [2022-06-24T18:24:52.418Z] SSH_AGENT_PID=80 [2022-06-24T18:24:52.423Z] Running ssh-add (command line suppressed) [2022-06-24T18:24:52.544Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_249832665615020589.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_249832665615020589.key) [2022-06-24T18:24:52.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T18:24:52.848Z] + git semver init [2022-06-24T18:24:53.108Z] 2022-06-24 18:24:53,044 [run_init] DEBUG init version:0.0.0 force:False [2022-06-24T18:24:53.108Z] 2022-06-24 18:24:53,045 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-24T18:24:53.108Z] 2022-06-24 18:24:53,045 [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-24T18:24:53.108Z] 2022-06-24 18:24:53,046 [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-24T18:24:54.051Z] 2022-06-24 18:24:53,748 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude [2022-06-24T18:24:54.051Z] 2022-06-24 18:24:53,748 [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-24T18:24:54.051Z] 2022-06-24 18:24:53,748 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-24T18:24:54.051Z] 2022-06-24 18:24:53,753 [execute] INFO git cat-file --batch-check [2022-06-24T18:24:54.052Z] 2022-06-24 18:24:53,753 [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-24T18:24:54.052Z] 2022-06-24 18:24:53,759 [execute] INFO git cat-file --batch [2022-06-24T18:24:54.052Z] 2022-06-24 18:24:53,760 [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-24T18:24:54.052Z] 2022-06-24 18:24:53,765 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-24T18:24:54.052Z] 0.0.0 [Pipeline] } [2022-06-24T18:24:54.065Z] $ docker exec --env ******** --env ******** d5f82010b11e284a1bbed75dfb718179201e85418484693086a570404f13e64f ssh-agent -k [2022-06-24T18:24:54.182Z] unset SSH_AUTH_SOCK; [2022-06-24T18:24:54.182Z] unset SSH_AGENT_PID; [2022-06-24T18:24:54.182Z] echo Agent pid 80 killed; [2022-06-24T18:24:54.188Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-24T18:24:54.492Z] + git semver [Pipeline] } [2022-06-24T18:24:54.773Z] $ docker stop --time=1 d5f82010b11e284a1bbed75dfb718179201e85418484693086a570404f13e64f [2022-06-24T18:24:56.082Z] $ docker rm -f d5f82010b11e284a1bbed75dfb718179201e85418484693086a570404f13e64f [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-24T18:24:56.439Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-24T18:24:56.691Z] Stashed 1 file(s) [Pipeline] echo [2022-06-24T18:24:56.694Z] [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-24T18:24:56.790Z] provisioning config files... [2022-06-24T18:24:56.799Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1809483869120881990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T18:24:57.098Z] ---> docker-login.sh [2022-06-24T18:24:57.098Z] nexus3.edgexfoundry.org:10001 [2022-06-24T18:24:57.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:24:57.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:24:57.098Z] Configure a credential helper to remove this warning. See [2022-06-24T18:24:57.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:24:57.098Z] [2022-06-24T18:24:57.098Z] Login Succeeded [2022-06-24T18:24:57.098Z] nexus3.edgexfoundry.org:10002 [2022-06-24T18:24:57.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:24:57.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:24:57.358Z] Configure a credential helper to remove this warning. See [2022-06-24T18:24:57.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:24:57.358Z] [2022-06-24T18:24:57.358Z] Login Succeeded [2022-06-24T18:24:57.358Z] nexus3.edgexfoundry.org:10003 [2022-06-24T18:24:57.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:24:57.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:24:57.358Z] Configure a credential helper to remove this warning. See [2022-06-24T18:24:57.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:24:57.358Z] [2022-06-24T18:24:57.358Z] Login Succeeded [2022-06-24T18:24:57.358Z] nexus3.edgexfoundry.org:10004 [2022-06-24T18:24:57.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:24:57.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:24:57.619Z] Configure a credential helper to remove this warning. See [2022-06-24T18:24:57.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:24:57.619Z] [2022-06-24T18:24:57.619Z] Login Succeeded [2022-06-24T18:24:57.619Z] docker.io [2022-06-24T18:24:57.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:24:57.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:24:57.879Z] Configure a credential helper to remove this warning. See [2022-06-24T18:24:57.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:24:57.879Z] [2022-06-24T18:24:57.879Z] Login Succeeded [2022-06-24T18:24:57.879Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T18:24:57.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T18:24:57.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T18:24:57.964Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T18:24:57.975Z] ========================================================= [2022-06-24T18:24:57.975Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-24T18:24:57.975Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T18:24:58.294Z] + 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-24T18:24:58.294Z] Sending build context to Docker daemon 8.846MB [2022-06-24T18:24:58.294Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T18:24:58.294Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T18:24:58.294Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-24T18:24:58.294Z] 59bf1c3509f3: Pulling fs layer [2022-06-24T18:24:58.294Z] 666ba61612fd: Pulling fs layer [2022-06-24T18:24:58.294Z] 8ed8ca486205: Pulling fs layer [2022-06-24T18:24:58.294Z] cc1cd167ecdc: Pulling fs layer [2022-06-24T18:24:58.294Z] c516ae0d96e1: Pulling fs layer [2022-06-24T18:24:58.294Z] 684cea983483: Pulling fs layer [2022-06-24T18:24:58.294Z] dd3240ac7de5: Pulling fs layer [2022-06-24T18:24:58.294Z] b1e948a4e11c: Pulling fs layer [2022-06-24T18:24:58.294Z] a8fd76ee1af6: Pulling fs layer [2022-06-24T18:24:58.294Z] 646ad004c059: Pulling fs layer [2022-06-24T18:24:58.294Z] 684cea983483: Waiting [2022-06-24T18:24:58.294Z] dd3240ac7de5: Waiting [2022-06-24T18:24:58.294Z] b1e948a4e11c: Waiting [2022-06-24T18:24:58.294Z] a8fd76ee1af6: Waiting [2022-06-24T18:24:58.294Z] 646ad004c059: Waiting [2022-06-24T18:24:58.294Z] cc1cd167ecdc: Waiting [2022-06-24T18:24:58.294Z] c516ae0d96e1: Waiting [2022-06-24T18:24:58.294Z] 8ed8ca486205: Verifying Checksum [2022-06-24T18:24:58.294Z] 8ed8ca486205: Download complete [2022-06-24T18:24:58.294Z] 666ba61612fd: Verifying Checksum [2022-06-24T18:24:58.294Z] 666ba61612fd: Download complete [2022-06-24T18:24:58.552Z] c516ae0d96e1: Verifying Checksum [2022-06-24T18:24:58.552Z] c516ae0d96e1: Download complete [2022-06-24T18:24:58.552Z] 684cea983483: Verifying Checksum [2022-06-24T18:24:58.552Z] 684cea983483: Download complete [2022-06-24T18:24:58.552Z] 59bf1c3509f3: Verifying Checksum [2022-06-24T18:24:58.552Z] dd3240ac7de5: Verifying Checksum [2022-06-24T18:24:58.552Z] dd3240ac7de5: Download complete [2022-06-24T18:24:58.552Z] 59bf1c3509f3: Pull complete [2022-06-24T18:24:58.552Z] b1e948a4e11c: Verifying Checksum [2022-06-24T18:24:58.552Z] b1e948a4e11c: Download complete [2022-06-24T18:24:58.813Z] 666ba61612fd: Pull complete [2022-06-24T18:24:58.813Z] 8ed8ca486205: Pull complete [2022-06-24T18:24:59.389Z] a8fd76ee1af6: Verifying Checksum [2022-06-24T18:24:59.389Z] a8fd76ee1af6: Download complete [2022-06-24T18:24:59.389Z] cc1cd167ecdc: Verifying Checksum [2022-06-24T18:24:59.389Z] cc1cd167ecdc: Download complete [2022-06-24T18:24:59.649Z] 646ad004c059: Verifying Checksum [2022-06-24T18:24:59.649Z] 646ad004c059: Download complete [2022-06-24T18:25:03.849Z] cc1cd167ecdc: Pull complete [2022-06-24T18:25:03.849Z] c516ae0d96e1: Pull complete [2022-06-24T18:25:03.849Z] 684cea983483: Pull complete [2022-06-24T18:25:03.849Z] dd3240ac7de5: Pull complete [2022-06-24T18:25:03.849Z] b1e948a4e11c: Pull complete [2022-06-24T18:25:06.399Z] a8fd76ee1af6: Pull complete [2022-06-24T18:25:06.970Z] 646ad004c059: Pull complete [2022-06-24T18:25:06.970Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-24T18:25:06.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-24T18:25:06.970Z] ---> 8f69c11f6b0c [2022-06-24T18:25:06.970Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T18:25:08.881Z] ---> Running in a04330882f9e [2022-06-24T18:25:08.881Z] Removing intermediate container a04330882f9e [2022-06-24T18:25:08.881Z] ---> 87b0e25b786f [2022-06-24T18:25:08.881Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T18:25:08.881Z] ---> Running in 8e334cc52189 [2022-06-24T18:25:08.881Z] Removing intermediate container 8e334cc52189 [2022-06-24T18:25:08.881Z] ---> c74fdd415133 [2022-06-24T18:25:08.881Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T18:25:08.881Z] ---> Running in 23755eec1226 [2022-06-24T18:25:09.141Z] Removing intermediate container 23755eec1226 [2022-06-24T18:25:09.141Z] ---> 7b4fd4dfdd54 [2022-06-24T18:25:09.141Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T18:25:09.141Z] ---> Running in 93dfbe266518 [2022-06-24T18:25:09.141Z] Removing intermediate container 93dfbe266518 [2022-06-24T18:25:09.141Z] ---> 04d63306e797 [2022-06-24T18:25:09.141Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T18:25:09.141Z] ---> Running in 328b8894f0b8 [2022-06-24T18:25:09.711Z] Removing intermediate container 328b8894f0b8 [2022-06-24T18:25:09.711Z] ---> 0dab8f82dd2e [2022-06-24T18:25:09.711Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T18:25:09.971Z] ---> Running in a88a53799df7 [2022-06-24T18:25:10.231Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-24T18:25:11.172Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-24T18:25:11.172Z] OK: 221 MiB in 52 packages [2022-06-24T18:25:11.742Z] Removing intermediate container a88a53799df7 [2022-06-24T18:25:11.742Z] ---> dcdaf74647bd [2022-06-24T18:25:11.742Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T18:25:11.742Z] ---> Running in d62b6f411fb2 [2022-06-24T18:25:11.742Z] Removing intermediate container d62b6f411fb2 [2022-06-24T18:25:11.742Z] ---> ec0514012260 [2022-06-24T18:25:11.742Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T18:25:11.742Z] ---> 2df58ccfe453 [2022-06-24T18:25:11.742Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T18:25:11.763Z] Still waiting to schedule task [2022-06-24T18:25:11.763Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-24T18:25:12.002Z] ---> Running in 6b6d99d5172f [2022-06-24T18:25:33.963Z] Removing intermediate container 6b6d99d5172f [2022-06-24T18:25:33.963Z] ---> 61971d9225ce [2022-06-24T18:25:33.963Z] Step 12/13 : COPY . . [2022-06-24T18:25:33.963Z] ---> 507d962a96d4 [2022-06-24T18:25:33.963Z] Step 13/13 : RUN ${MAKE} [2022-06-24T18:25:33.963Z] ---> Running in c4a0161b26e8 [2022-06-24T18:25:33.963Z] noop [2022-06-24T18:25:33.963Z] Removing intermediate container c4a0161b26e8 [2022-06-24T18:25:33.963Z] ---> ba39d5da41f7 [2022-06-24T18:25:33.963Z] Successfully built ba39d5da41f7 [2022-06-24T18:25:33.963Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T18:25:34.286Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T18:25:34.286Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T18:25:34.372Z] prd-ubuntu20.04-docker-8c-8g-15554 does not seem to be running inside a container [2022-06-24T18:25:34.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-24T18:25:34.785Z] $ docker top 8e613249d22e5a80b2da1e00d4e9b9a9270e5321c59d220b57a570bc5ed2a1b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T18:25:35.133Z] + go version [2022-06-24T18:25:35.133Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-24T18:25:35.149Z] $ docker stop --time=1 8e613249d22e5a80b2da1e00d4e9b9a9270e5321c59d220b57a570bc5ed2a1b1 [2022-06-24T18:25:36.465Z] $ docker rm -f 8e613249d22e5a80b2da1e00d4e9b9a9270e5321c59d220b57a570bc5ed2a1b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T18:25:36.882Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T18:25:36.882Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T18:25:36.974Z] prd-ubuntu20.04-docker-8c-8g-15554 does not seem to be running inside a container [2022-06-24T18:25:37.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-24T18:25:37.460Z] $ docker top 48e8243a69ff3a5755cc6bdd46f8617a0cf1a16bada2b672c8355d6055e6a89a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T18:25:37.850Z] + make test [2022-06-24T18:25:37.850Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T18:25:38.109Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T18:25:38.109Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-24T18:25:38.109Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-24T18:25:38.368Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T18:25:48.348Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-24T18:25:51.656Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.810s coverage: 13.8% of statements [2022-06-24T18:25:51.656Z] FAIL [2022-06-24T18:25:51.917Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-24T18:25:51.934Z] $ docker stop --time=1 48e8243a69ff3a5755cc6bdd46f8617a0cf1a16bada2b672c8355d6055e6a89a [2022-06-24T18:25:53.635Z] $ docker rm -f 48e8243a69ff3a5755cc6bdd46f8617a0cf1a16bada2b672c8355d6055e6a89a [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-24T18:25:54.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T18:25:54.193Z] [2022-06-24T18:25:54.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T18:25:54.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T18:25:54.494Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-24T18:25:54.494Z] 5eb5b503b376: Pulling fs layer [2022-06-24T18:25:54.494Z] 5c69ac0246d0: Pulling fs layer [2022-06-24T18:25:54.494Z] ec43610c2a17: Pulling fs layer [2022-06-24T18:25:54.494Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-24T18:25:54.494Z] 33b1e0a273af: Pulling fs layer [2022-06-24T18:25:54.494Z] 5d3b04190fa2: Pulling fs layer [2022-06-24T18:25:54.494Z] 2f39f015ded8: Pulling fs layer [2022-06-24T18:25:54.494Z] 3a2ae6a8a46f: Waiting [2022-06-24T18:25:54.494Z] 2f39f015ded8: Waiting [2022-06-24T18:25:54.494Z] 33b1e0a273af: Waiting [2022-06-24T18:25:54.494Z] 5d3b04190fa2: Waiting [2022-06-24T18:25:54.494Z] 5c69ac0246d0: Verifying Checksum [2022-06-24T18:25:54.494Z] 5c69ac0246d0: Download complete [2022-06-24T18:25:54.494Z] 3a2ae6a8a46f: Download complete [2022-06-24T18:25:54.757Z] 33b1e0a273af: Verifying Checksum [2022-06-24T18:25:54.757Z] 33b1e0a273af: Download complete [2022-06-24T18:25:54.757Z] ec43610c2a17: Verifying Checksum [2022-06-24T18:25:54.757Z] ec43610c2a17: Download complete [2022-06-24T18:25:54.757Z] 5d3b04190fa2: Verifying Checksum [2022-06-24T18:25:54.757Z] 5d3b04190fa2: Download complete [2022-06-24T18:25:54.757Z] 5eb5b503b376: Verifying Checksum [2022-06-24T18:25:54.757Z] 5eb5b503b376: Download complete [2022-06-24T18:25:55.326Z] 2f39f015ded8: Download complete [2022-06-24T18:25:55.893Z] 5eb5b503b376: Pull complete [2022-06-24T18:25:56.153Z] 5c69ac0246d0: Pull complete [2022-06-24T18:25:56.722Z] ec43610c2a17: Pull complete [2022-06-24T18:25:56.722Z] 3a2ae6a8a46f: Pull complete [2022-06-24T18:25:56.984Z] 33b1e0a273af: Pull complete [2022-06-24T18:25:56.984Z] 5d3b04190fa2: Pull complete [2022-06-24T18:26:02.273Z] 2f39f015ded8: Pull complete [2022-06-24T18:26:02.273Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-24T18:26:02.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T18:26:02.273Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T18:26:02.373Z] prd-ubuntu20.04-docker-8c-8g-15554 does not seem to be running inside a container [2022-06-24T18:26:02.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-24T18:26:04.321Z] $ docker top e0c6f16a9c95c047eca708c880c401c0a5b3416f82623933df4a01271a8c58df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T18:26:04.737Z] ---> job-cost.sh [2022-06-24T18:26:04.737Z] lf-activate-venv: SKIPPING [2022-06-24T18:26:04.737Z] INFO: No Stack... [2022-06-24T18:26:05.308Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T18:26:05.568Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T18:26:05.864Z] + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv [2022-06-24T18:26:05.864Z] + cut -d, -f6 [Pipeline] lock [2022-06-24T18:26:05.880Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-10-stack-cost] [2022-06-24T18:26:05.889Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-10-stack-cost] did not exist. Created. [2022-06-24T18:26:05.889Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T18:26:06.207Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-24T18:26:06.243Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T18:26:06.250Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T18:26:06.273Z] $ docker stop --time=1 e0c6f16a9c95c047eca708c880c401c0a5b3416f82623933df4a01271a8c58df [2022-06-24T18:26:07.455Z] $ docker rm -f e0c6f16a9c95c047eca708c880c401c0a5b3416f82623933df4a01271a8c58df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-24T18:26:07.579Z] Failed in branch amd64 [2022-06-24T18:26:48.564Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15555 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws [2022-06-24T18:26:48.576Z] Running in /w/workspace/device-onvif-camera/10 [Pipeline] { [Pipeline] checkout [2022-06-24T18:26:48.605Z] Selected Git installation does not exist. Using Default [2022-06-24T18:26:48.605Z] The recommended git tool is: NONE [2022-06-24T18:26:54.959Z] using credential edgex-jenkins-ssh [2022-06-24T18:26:54.975Z] Cloning the remote Git repository [2022-06-24T18:26:55.080Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T18:26:55.175Z] > git init /w/workspace/device-onvif-camera/10 # timeout=10 [2022-06-24T18:26:55.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T18:26:55.306Z] > git --version # timeout=10 [2022-06-24T18:26:55.334Z] > git --version # 'git version 2.25.1' [2022-06-24T18:26:55.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T18:26:55.501Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T18:26:56.970Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 6e638c025af27611a984b29d9a0273ac80522e19 [2022-06-24T18:26:57.402Z] Merge succeeded, producing 19781e8e92fefebae0ea795d32f91106155e9e89 [2022-06-24T18:26:57.403Z] Checking out Revision 19781e8e92fefebae0ea795d32f91106155e9e89 (PR-90) [2022-06-24T18:26:56.352Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T18:26:56.385Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T18:26:56.411Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T18:26:56.447Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T18:26:56.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T18:26:56.460Z] > 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-24T18:26:56.990Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T18:26:57.012Z] > git checkout -f 6e638c025af27611a984b29d9a0273ac80522e19 # timeout=10 [2022-06-24T18:26:57.153Z] > git remote # timeout=10 [2022-06-24T18:26:57.172Z] > git config --get remote.origin.url # timeout=10 [2022-06-24T18:26:57.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T18:26:57.209Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-24T18:26:57.388Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-24T18:26:57.412Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T18:26:57.433Z] > git checkout -f 19781e8e92fefebae0ea795d32f91106155e9e89 # timeout=10 [2022-06-24T18:27:01.640Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-24T18:27:01.664Z] First time build. Skipping changelog. [2022-06-24T18:27:01.651Z] > git rev-list --no-walk 2a9aee2d3582786e9adc01ffe2e3fad49c60d8ba # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T18:27:02.679Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-24T18:27:02.679Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-24T18:27:02.679Z] Dload Upload Total Spent Left Speed [2022-06-24T18:27:02.679Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2022-06-24T18:27:03.448Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-24T18:27:03.797Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-06-24T18:27:03.797Z] sudo tee /etc/docker/daemon.new [2022-06-24T18:27:03.797Z] { [2022-06-24T18:27:03.797Z] "registry-mirrors": [ [2022-06-24T18:27:03.797Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-24T18:27:03.797Z] ], [2022-06-24T18:27:03.797Z] "bip": "10.250.0.254/24", [2022-06-24T18:27:03.797Z] "hosts": [ [2022-06-24T18:27:03.797Z] "tcp://0.0.0.0:5555", [2022-06-24T18:27:03.797Z] "unix:///var/run/docker.sock" [2022-06-24T18:27:03.797Z] ], [2022-06-24T18:27:03.797Z] "mtu": 1458, [2022-06-24T18:27:03.797Z] "selinux-enabled": true, [2022-06-24T18:27:03.797Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-24T18:27:03.797Z] } [Pipeline] sh [2022-06-24T18:27:04.142Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-24T18:27:04.478Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T18:27:22.814Z] provisioning config files... [2022-06-24T18:27:22.836Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/10@tmp/config6050476474515565028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T18:27:23.390Z] ---> docker-login.sh [2022-06-24T18:27:23.390Z] nexus3.edgexfoundry.org:10001 [2022-06-24T18:27:24.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:27:24.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:27:24.275Z] Configure a credential helper to remove this warning. See [2022-06-24T18:27:24.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:27:24.275Z] [2022-06-24T18:27:24.275Z] Login Succeeded [2022-06-24T18:27:24.275Z] nexus3.edgexfoundry.org:10002 [2022-06-24T18:27:24.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:27:24.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:27:24.549Z] Configure a credential helper to remove this warning. See [2022-06-24T18:27:24.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:27:24.549Z] [2022-06-24T18:27:24.549Z] Login Succeeded [2022-06-24T18:27:24.549Z] nexus3.edgexfoundry.org:10003 [2022-06-24T18:27:25.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:27:25.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:27:25.145Z] Configure a credential helper to remove this warning. See [2022-06-24T18:27:25.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:27:25.145Z] [2022-06-24T18:27:25.145Z] Login Succeeded [2022-06-24T18:27:25.145Z] nexus3.edgexfoundry.org:10004 [2022-06-24T18:27:25.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:27:25.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:27:25.699Z] Configure a credential helper to remove this warning. See [2022-06-24T18:27:25.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:27:25.699Z] [2022-06-24T18:27:25.699Z] Login Succeeded [2022-06-24T18:27:25.699Z] docker.io [2022-06-24T18:27:25.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T18:27:26.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T18:27:26.241Z] Configure a credential helper to remove this warning. See [2022-06-24T18:27:26.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T18:27:26.241Z] [2022-06-24T18:27:26.241Z] Login Succeeded [2022-06-24T18:27:26.242Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T18:27:26.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T18:27:26.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T18:27:26.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T18:27:26.523Z] ========================================================= [2022-06-24T18:27:26.523Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-24T18:27:26.523Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T18:27:26.867Z] + 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-24T18:27:27.140Z] Sending build context to Docker daemon 6.05MB [2022-06-24T18:27:27.140Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T18:27:27.140Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T18:27:27.422Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-24T18:27:27.422Z] 9b3977197b4f: Pulling fs layer [2022-06-24T18:27:27.422Z] 1a89e8eeedd5: Pulling fs layer [2022-06-24T18:27:27.422Z] 94645a83ff95: Pulling fs layer [2022-06-24T18:27:27.422Z] e6fb740bc735: Pulling fs layer [2022-06-24T18:27:27.422Z] 3a77bd46dcc9: Pulling fs layer [2022-06-24T18:27:27.422Z] 355e64cbe906: Pulling fs layer [2022-06-24T18:27:27.422Z] 63ab81a10011: Pulling fs layer [2022-06-24T18:27:27.422Z] 555d1d1c4555: Pulling fs layer [2022-06-24T18:27:27.422Z] 7d9057610161: Pulling fs layer [2022-06-24T18:27:27.422Z] 355e64cbe906: Waiting [2022-06-24T18:27:27.422Z] 63ab81a10011: Waiting [2022-06-24T18:27:27.422Z] 555d1d1c4555: Waiting [2022-06-24T18:27:27.422Z] 7d9057610161: Waiting [2022-06-24T18:27:27.422Z] e6fb740bc735: Waiting [2022-06-24T18:27:27.422Z] 3a77bd46dcc9: Waiting [2022-06-24T18:27:27.422Z] 94645a83ff95: Verifying Checksum [2022-06-24T18:27:27.422Z] 94645a83ff95: Download complete [2022-06-24T18:27:27.422Z] 1a89e8eeedd5: Verifying Checksum [2022-06-24T18:27:27.422Z] 1a89e8eeedd5: Download complete [2022-06-24T18:27:27.422Z] 3a77bd46dcc9: Verifying Checksum [2022-06-24T18:27:27.422Z] 3a77bd46dcc9: Download complete [2022-06-24T18:27:27.422Z] 355e64cbe906: Verifying Checksum [2022-06-24T18:27:27.422Z] 355e64cbe906: Download complete [2022-06-24T18:27:27.422Z] 63ab81a10011: Verifying Checksum [2022-06-24T18:27:27.422Z] 63ab81a10011: Download complete [2022-06-24T18:27:27.422Z] 9b3977197b4f: Download complete [2022-06-24T18:27:28.409Z] 7d9057610161: Verifying Checksum [2022-06-24T18:27:28.409Z] 7d9057610161: Download complete [2022-06-24T18:27:28.409Z] 9b3977197b4f: Pull complete [2022-06-24T18:27:29.013Z] 1a89e8eeedd5: Pull complete [2022-06-24T18:27:29.295Z] 94645a83ff95: Pull complete [2022-06-24T18:27:29.569Z] 555d1d1c4555: Verifying Checksum [2022-06-24T18:27:29.569Z] 555d1d1c4555: Download complete [2022-06-24T18:27:30.171Z] e6fb740bc735: Verifying Checksum [2022-06-24T18:27:30.171Z] e6fb740bc735: Download complete [2022-06-24T18:27:42.572Z] e6fb740bc735: Pull complete [2022-06-24T18:27:42.572Z] 3a77bd46dcc9: Pull complete [2022-06-24T18:27:42.572Z] 355e64cbe906: Pull complete [2022-06-24T18:27:42.847Z] 63ab81a10011: Pull complete [2022-06-24T18:27:49.564Z] 555d1d1c4555: Pull complete [2022-06-24T18:27:51.545Z] 7d9057610161: Pull complete [2022-06-24T18:27:51.545Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-24T18:27:51.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-24T18:27:51.545Z] ---> 819e984ddca1 [2022-06-24T18:27:51.545Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T18:27:52.994Z] ---> Running in 4951e001ec66 [2022-06-24T18:27:53.270Z] Removing intermediate container 4951e001ec66 [2022-06-24T18:27:53.270Z] ---> c77e1eacb2e7 [2022-06-24T18:27:53.270Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T18:27:53.270Z] ---> Running in 640f2ec75eef [2022-06-24T18:27:53.544Z] Removing intermediate container 640f2ec75eef [2022-06-24T18:27:53.544Z] ---> 8732e0aa772c [2022-06-24T18:27:53.544Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T18:27:53.544Z] ---> Running in 7bfdafbffdb3 [2022-06-24T18:27:54.140Z] Removing intermediate container 7bfdafbffdb3 [2022-06-24T18:27:54.141Z] ---> 37a40b8147c3 [2022-06-24T18:27:54.141Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T18:27:54.141Z] ---> Running in 892d7cc4e40a [2022-06-24T18:27:54.414Z] Removing intermediate container 892d7cc4e40a [2022-06-24T18:27:54.414Z] ---> 3aa9f6668a76 [2022-06-24T18:27:54.414Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T18:27:54.414Z] ---> Running in 330cb50e4537 [2022-06-24T18:27:56.403Z] Removing intermediate container 330cb50e4537 [2022-06-24T18:27:56.403Z] ---> 6f3bffdd3ce8 [2022-06-24T18:27:56.403Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T18:27:56.403Z] ---> Running in b5107ad3d53c [2022-06-24T18:27:57.392Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-24T18:27:58.377Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-24T18:27:58.972Z] OK: 220 MiB in 52 packages [2022-06-24T18:27:59.957Z] Removing intermediate container b5107ad3d53c [2022-06-24T18:27:59.957Z] ---> 09dc4ac5896d [2022-06-24T18:27:59.957Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T18:27:59.957Z] ---> Running in ab983073b151 [2022-06-24T18:28:00.232Z] Removing intermediate container ab983073b151 [2022-06-24T18:28:00.232Z] ---> 03a63939fd4e [2022-06-24T18:28:00.232Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T18:28:00.848Z] ---> 62d6b18f1571 [2022-06-24T18:28:00.848Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T18:28:00.848Z] ---> Running in 61957a2e68d6 [2022-06-24T18:28:47.881Z] Removing intermediate container 61957a2e68d6 [2022-06-24T18:28:47.881Z] ---> bef13b52a5f9 [2022-06-24T18:28:47.881Z] Step 12/13 : COPY . . [2022-06-24T18:28:47.881Z] ---> 83bdfb601020 [2022-06-24T18:28:47.881Z] Step 13/13 : RUN ${MAKE} [2022-06-24T18:28:47.881Z] ---> Running in 31985d1ef726 [2022-06-24T18:28:47.881Z] noop [2022-06-24T18:28:48.866Z] Removing intermediate container 31985d1ef726 [2022-06-24T18:28:48.866Z] ---> ab95c78958ab [2022-06-24T18:28:48.866Z] Successfully built ab95c78958ab [2022-06-24T18:28:48.866Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T18:28:49.234Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T18:28:49.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T18:28:49.478Z] prd-ubuntu20.04-docker-arm64-4c-16g-15555 does not seem to be running inside a container [2022-06-24T18:28:49.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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-24T18:28:50.869Z] $ docker top 76c4d574d968db55a11ed898f99a1b36091a05b04ea6527434aa8c81db49f60e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T18:28:51.758Z] + go version [2022-06-24T18:28:51.758Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-24T18:28:51.787Z] $ docker stop --time=1 76c4d574d968db55a11ed898f99a1b36091a05b04ea6527434aa8c81db49f60e [2022-06-24T18:28:53.414Z] $ docker rm -f 76c4d574d968db55a11ed898f99a1b36091a05b04ea6527434aa8c81db49f60e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T18:28:53.983Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T18:28:53.983Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T18:28:54.229Z] prd-ubuntu20.04-docker-arm64-4c-16g-15555 does not seem to be running inside a container [2022-06-24T18:28:54.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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-24T18:28:55.557Z] $ docker top ce38571befa1349c2a72f68018d33ef03106663a87880bb284dfd93d2b4ee92f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T18:28:56.457Z] + make test [2022-06-24T18:28:56.457Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T18:28:57.918Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T18:28:57.918Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-24T18:28:57.918Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-24T18:28:58.195Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T18:30:20.056Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-24T18:30:46.838Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.569s coverage: 13.8% of statements [2022-06-24T18:30:46.838Z] FAIL [2022-06-24T18:30:46.838Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-24T18:30:46.866Z] $ docker stop --time=1 ce38571befa1349c2a72f68018d33ef03106663a87880bb284dfd93d2b4ee92f [2022-06-24T18:30:48.600Z] $ docker rm -f ce38571befa1349c2a72f68018d33ef03106663a87880bb284dfd93d2b4ee92f [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-24T18:30:49.595Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T18:30:49.595Z] [2022-06-24T18:30:49.595Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T18:30:49.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T18:30:50.217Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-24T18:30:50.217Z] 8998bd30e6a1: Pulling fs layer [2022-06-24T18:30:50.217Z] 04944245beec: Pulling fs layer [2022-06-24T18:30:50.217Z] 699f458cf7ca: Pulling fs layer [2022-06-24T18:30:50.217Z] 765212b225bb: Pulling fs layer [2022-06-24T18:30:50.217Z] f23df028b6ca: Pulling fs layer [2022-06-24T18:30:50.217Z] d65c8cfc05b1: Pulling fs layer [2022-06-24T18:30:50.217Z] 2437ff75d9bd: Pulling fs layer [2022-06-24T18:30:50.217Z] f23df028b6ca: Waiting [2022-06-24T18:30:50.217Z] d65c8cfc05b1: Waiting [2022-06-24T18:30:50.217Z] 2437ff75d9bd: Waiting [2022-06-24T18:30:50.217Z] 765212b225bb: Waiting [2022-06-24T18:30:50.217Z] 04944245beec: Verifying Checksum [2022-06-24T18:30:50.217Z] 04944245beec: Download complete [2022-06-24T18:30:50.217Z] 765212b225bb: Verifying Checksum [2022-06-24T18:30:50.217Z] 765212b225bb: Download complete [2022-06-24T18:30:50.491Z] f23df028b6ca: Verifying Checksum [2022-06-24T18:30:50.491Z] f23df028b6ca: Download complete [2022-06-24T18:30:50.491Z] d65c8cfc05b1: Verifying Checksum [2022-06-24T18:30:50.491Z] d65c8cfc05b1: Download complete [2022-06-24T18:30:50.491Z] 699f458cf7ca: Verifying Checksum [2022-06-24T18:30:50.491Z] 699f458cf7ca: Download complete [2022-06-24T18:30:50.763Z] 8998bd30e6a1: Verifying Checksum [2022-06-24T18:30:50.763Z] 8998bd30e6a1: Download complete [2022-06-24T18:30:53.380Z] 2437ff75d9bd: Verifying Checksum [2022-06-24T18:30:53.380Z] 2437ff75d9bd: Download complete [2022-06-24T18:30:55.364Z] 8998bd30e6a1: Pull complete [2022-06-24T18:30:55.638Z] 04944245beec: Pull complete [2022-06-24T18:30:57.070Z] 699f458cf7ca: Pull complete [2022-06-24T18:30:57.352Z] 765212b225bb: Pull complete [2022-06-24T18:30:58.446Z] f23df028b6ca: Pull complete [2022-06-24T18:30:58.729Z] d65c8cfc05b1: Pull complete [2022-06-24T18:31:13.868Z] 2437ff75d9bd: Pull complete [2022-06-24T18:31:13.868Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-24T18:31:13.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T18:31:13.868Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T18:31:14.121Z] prd-ubuntu20.04-docker-arm64-4c-16g-15555 does not seem to be running inside a container [2022-06-24T18:31:14.214Z] $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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-24T18:31:16.739Z] $ docker top 01ce1cadb9c69a9a23ce82ec9112ad4f558aa9c30389f79574bd2c7e5206f490 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T18:31:17.662Z] ---> job-cost.sh [2022-06-24T18:31:17.662Z] lf-activate-venv: SKIPPING [2022-06-24T18:31:17.662Z] INFO: No Stack... [2022-06-24T18:31:18.253Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-24T18:31:18.846Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T18:31:19.508Z] + cat /w/workspace/device-onvif-camera/10/archives/cost.csv [2022-06-24T18:31:19.508Z] + cut -d, -f6 [Pipeline] lock [2022-06-24T18:31:19.571Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-10-stack-cost] [2022-06-24T18:31:19.577Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-10-stack-cost] did not exist. Created. [2022-06-24T18:31:19.577Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T18:31:20.253Z] /w/workspace/device-onvif-camera/10@tmp/durable-8219dd72/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-24T18:31:20.922Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-24T18:31:20.946Z] Warning: overwriting stash ‘stack-cost’ [2022-06-24T18:31:21.369Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T18:31:21.376Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T18:31:21.403Z] $ docker stop --time=1 01ce1cadb9c69a9a23ce82ec9112ad4f558aa9c30389f79574bd2c7e5206f490 [2022-06-24T18:31:22.904Z] $ docker rm -f 01ce1cadb9c69a9a23ce82ec9112ad4f558aa9c30389f79574bd2c7e5206f490 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-24T18:31:23.201Z] 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-24T18:31:23.894Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] [2022-06-24T18:31:23.894Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T18:31:23.894Z] total 16 [2022-06-24T18:31:23.894Z] drwxr-xr-x 3 root root 4096 Jun 24 18:26 . [2022-06-24T18:31:23.894Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 18:26 .. [2022-06-24T18:31:23.894Z] drwxr-xr-x 2 root root 4096 Jun 24 18:26 cost [2022-06-24T18:31:23.894Z] -rw-r--r-- 1 root root 90 Jun 24 18:26 cost.csv [2022-06-24T18:31:23.894Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T18:31:23.894Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T18:31:23.894Z] total 16 [2022-06-24T18:31:23.894Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 18:26 . [2022-06-24T18:31:23.894Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 18:26 .. [2022-06-24T18:31:23.894Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 18:26 cost [2022-06-24T18:31:23.894Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 24 18:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-24T18:31:24.185Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T18:31:25.048Z] ---> package-listing.sh [2022-06-24T18:31:25.048Z] ++ facter osfamily [2022-06-24T18:31:25.048Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-24T18:31:25.308Z] + OS_FAMILY=debian [2022-06-24T18:31:25.308Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 [2022-06-24T18:31:25.308Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-24T18:31:25.308Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-24T18:31:25.308Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-24T18:31:25.308Z] + PACKAGES=/tmp/packages_start.txt [2022-06-24T18:31:25.308Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-24T18:31:25.308Z] + PACKAGES=/tmp/packages_end.txt [2022-06-24T18:31:25.308Z] + case "${OS_FAMILY}" in [2022-06-24T18:31:25.308Z] + dpkg -l [2022-06-24T18:31:25.308Z] + grep '^ii' [2022-06-24T18:31:25.308Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-24T18:31:25.308Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-24T18:31:25.308Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-24T18:31:25.308Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-24T18:31:25.308Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [2022-06-24T18:31:25.308Z] + 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-24T18:31:25.319Z] 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-24T18:31:25.604Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T18:31:25.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T18:31:25.903Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T18:31:25.987Z] prd-ubuntu20.04-docker-8c-8g-15554 does not seem to be running inside a container [2022-06-24T18:31:26.022Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-24T18:31:26.248Z] $ docker top 4efea7c37f61c50f6094066006f35f234c465417e9efa072cb1adecbd04cd44a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T18:31:26.612Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-24T18:31:26.904Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-24T18:31:27.194Z] + ls /var/log/sa-host [2022-06-24T18:31:27.194Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T18:31:27.319Z] provisioning config files... [2022-06-24T18:31:27.328Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config6681799506959388347tmp [Pipeline] { [Pipeline] echo [2022-06-24T18:31:27.345Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T18:31:27.648Z] ---> create-netrc.sh [Pipeline] } [2022-06-24T18:31:27.669Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-24T18:31:28.003Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-24T18:31:28.012Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T18:31:28.295Z] ---> sudo-logs.sh [2022-06-24T18:31:28.295Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-24T18:31:28.316Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T18:31:28.601Z] ---> job-cost.sh [2022-06-24T18:31:28.601Z] lf-activate-venv: SKIPPING [2022-06-24T18:31:28.601Z] DEBUG: total: 0.2199999988079071 [2022-06-24T18:31:28.601Z] INFO: Retrieving Stack Cost... [2022-06-24T18:31:29.174Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T18:31:29.435Z] INFO: Archiving Costs [Pipeline] echo [2022-06-24T18:31:29.448Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T18:31:29.739Z] ---> logs-deploy.sh [2022-06-24T18:31:29.739Z] lf-activate-venv: SKIPPING [2022-06-24T18:31:29.739Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/10 [2022-06-24T18:31:29.739Z] INFO: archiving workspace using pattern(s): [2022-06-24T18:31:30.678Z] Archives upload complete. [2022-06-24T18:31:30.678Z] INFO: archiving logs to Nexus