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 2ee905fbe86984ccf6a9f7f91c367bb975162094 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-ssh16073322950032179039.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-ssh14604068201596331971.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-ssh12409223445378209816.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-ssh17398976921064672777.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-ssh2739110616240045373.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-15558 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 2ee905fbe86984ccf6a9f7f91c367bb975162094 Merge succeeded, producing 8f63b75a03262fbb6fab626403b1d2f9c7398724 Checking out Revision 8f63b75a03262fbb6fab626403b1d2f9c7398724 (PR-90) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ee905fbe86984ccf6a9f7f91c367bb975162094 # 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 8f63b75a03262fbb6fab626403b1d2f9c7398724 # 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-24T20:57:56.302Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-24T20:57:56.362Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-24T20:57:56.376Z] ========================================================= [2022-06-24T20:57:56.376Z] EdgeX Global Pipelines Version Info [2022-06-24T20:57:56.376Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 19781e8e92fefebae0ea795d32f91106155e9e89 # timeout=10 [2022-06-24T20:57:57.172Z] ------------------- [2022-06-24T20:57:57.172Z] stable info: [2022-06-24T20:57:57.172Z] ------------------- [2022-06-24T20:57:57.172Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-24T20:57:57.172Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T20:57:57.172Z] Message: update stable to v1.0.234 [2022-06-24T20:57:57.743Z] ------------------- [2022-06-24T20:57:57.743Z] experimental info: [2022-06-24T20:57:57.743Z] ------------------- [2022-06-24T20:57:57.743Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-24T20:57:57.743Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T20:57:57.743Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-24T20:57:57.917Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-24T20:57:57.932Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-24T20:57:57.942Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-24T20:57:57.953Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-24T20:57:57.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-24T20:57:57.975Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-24T20:57:57.986Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-24T20:57:57.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-24T20:57:58.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-24T20:57:58.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-24T20:57:58.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-24T20:57:58.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-24T20:57:58.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-24T20:57:58.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-24T20:57:58.088Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T20:57:58.099Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T20:57:58.110Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T20:57:58.123Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T20:57:58.136Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-24T20:57:58.147Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-24T20:57:58.160Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-24T20:57:58.171Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-24T20:57:58.182Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-24T20:57:58.193Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-24T20:57:58.204Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-24T20:57:58.217Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-24T20:57:58.230Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-24T20:57:58.247Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2022-06-24T20:57:58.263Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2022-06-24T20:57:58.272Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2022-06-24T20:57:58.284Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f63b75a03262fbb6fab626403b1d2f9c7398724 [Pipeline] echo [2022-06-24T20:57:58.297Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f63b75 [Pipeline] echo [2022-06-24T20:57:58.310Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T20:57:58.346Z] provisioning config files... [2022-06-24T20:57:58.359Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config6218734065075779066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T20:57:58.660Z] ---> docker-login.sh [2022-06-24T20:57:58.660Z] nexus3.edgexfoundry.org:10001 [2022-06-24T20:57:58.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T20:57:59.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T20:57:59.182Z] Configure a credential helper to remove this warning. See [2022-06-24T20:57:59.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T20:57:59.182Z] [2022-06-24T20:57:59.182Z] Login Succeeded [2022-06-24T20:57:59.182Z] nexus3.edgexfoundry.org:10002 [2022-06-24T20:57:59.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T20:57:59.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T20:57:59.182Z] Configure a credential helper to remove this warning. See [2022-06-24T20:57:59.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T20:57:59.182Z] [2022-06-24T20:57:59.182Z] Login Succeeded [2022-06-24T20:57:59.182Z] nexus3.edgexfoundry.org:10003 [2022-06-24T20:57:59.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T20:57:59.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T20:57:59.443Z] Configure a credential helper to remove this warning. See [2022-06-24T20:57:59.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T20:57:59.443Z] [2022-06-24T20:57:59.443Z] Login Succeeded [2022-06-24T20:57:59.443Z] nexus3.edgexfoundry.org:10004 [2022-06-24T20:57:59.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T20:57:59.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T20:57:59.443Z] Configure a credential helper to remove this warning. See [2022-06-24T20:57:59.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T20:57:59.443Z] [2022-06-24T20:57:59.443Z] Login Succeeded [2022-06-24T20:57:59.443Z] docker.io [2022-06-24T20:57:59.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T20:58:00.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T20:58:00.017Z] Configure a credential helper to remove this warning. See [2022-06-24T20:58:00.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T20:58:00.017Z] [2022-06-24T20:58:00.017Z] Login Succeeded [2022-06-24T20:58:00.017Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T20:58:00.032Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-24T20:58:00.419Z] + git rev-list -1 --merges 8f63b75a03262fbb6fab626403b1d2f9c7398724~1..8f63b75a03262fbb6fab626403b1d2f9c7398724 [Pipeline] echo [2022-06-24T20:58:00.507Z] -----------> git rev-list -1 --merges 8f63b75a03262fbb6fab626403b1d2f9c7398724~1..8f63b75a03262fbb6fab626403b1d2f9c7398724 8f63b75a03262fbb6fab626403b1d2f9c7398724 [2022-06-24T20:58:00.507Z] 8f63b75a03262fbb6fab626403b1d2f9c7398724 [false] [Pipeline] sh [2022-06-24T20:58:00.797Z] + git log --format=format:%s -1 8f63b75a03262fbb6fab626403b1d2f9c7398724 [Pipeline] echo [2022-06-24T20:58:00.812Z] ========================================================= [2022-06-24T20:58:00.812Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-24T20:58:00.812Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T20:58:01.147Z] + git log --format=format:%s -1 8f63b75a03262fbb6fab626403b1d2f9c7398724 [Pipeline] echo [2022-06-24T20:58:01.161Z] [semverPrep] GIT_COMMIT: 8f63b75a03262fbb6fab626403b1d2f9c7398724, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-24T20:58:01.168Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-24T20:58:01.526Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-24T20:58:01.526Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-24T20:58:01.526Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-24T20:58:01.526Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-24T20:58:01.526Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee -a /etc/ssh/ssh_known_hosts [2022-06-24T20:58:01.526Z] [2022-06-24T20:58:01.526Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T20:58:01.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T20:58:01.954Z] [2022-06-24T20:58:01.954Z] 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-24T20:58:02.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T20:58:02.259Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-24T20:58:02.259Z] 42c077c10790: Pulling fs layer [2022-06-24T20:58:02.259Z] f63e77b7563a: Pulling fs layer [2022-06-24T20:58:02.259Z] bd5fdadae976: Pulling fs layer [2022-06-24T20:58:02.259Z] 205491f53016: Pulling fs layer [2022-06-24T20:58:02.259Z] df18705c85c3: Pulling fs layer [2022-06-24T20:58:02.259Z] bdb3f477010e: Pulling fs layer [2022-06-24T20:58:02.259Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-24T20:58:02.259Z] 2c6e9b1d212d: Pulling fs layer [2022-06-24T20:58:02.259Z] bdb8f0575790: Pulling fs layer [2022-06-24T20:58:02.259Z] 386e3cb2ff24: Pulling fs layer [2022-06-24T20:58:02.259Z] 2343380bae48: Pulling fs layer [2022-06-24T20:58:02.259Z] 2c6e9b1d212d: Waiting [2022-06-24T20:58:02.259Z] 205491f53016: Waiting [2022-06-24T20:58:02.259Z] df18705c85c3: Waiting [2022-06-24T20:58:02.259Z] bdb3f477010e: Waiting [2022-06-24T20:58:02.259Z] c8a8fc8e1c8f: Waiting [2022-06-24T20:58:02.259Z] bdb8f0575790: Waiting [2022-06-24T20:58:02.259Z] 2343380bae48: Waiting [2022-06-24T20:58:02.259Z] 386e3cb2ff24: Waiting [2022-06-24T20:58:02.259Z] f63e77b7563a: Download complete [2022-06-24T20:58:02.259Z] 205491f53016: Verifying Checksum [2022-06-24T20:58:02.259Z] 205491f53016: Download complete [2022-06-24T20:58:02.519Z] bd5fdadae976: Verifying Checksum [2022-06-24T20:58:02.519Z] bd5fdadae976: Download complete [2022-06-24T20:58:02.519Z] df18705c85c3: Verifying Checksum [2022-06-24T20:58:02.519Z] df18705c85c3: Download complete [2022-06-24T20:58:02.519Z] bdb3f477010e: Verifying Checksum [2022-06-24T20:58:02.519Z] bdb3f477010e: Download complete [2022-06-24T20:58:02.519Z] 2c6e9b1d212d: Download complete [2022-06-24T20:58:02.519Z] bdb8f0575790: Download complete [2022-06-24T20:58:02.519Z] 386e3cb2ff24: Download complete [2022-06-24T20:58:02.519Z] 2343380bae48: Verifying Checksum [2022-06-24T20:58:02.519Z] 2343380bae48: Download complete [2022-06-24T20:58:02.519Z] 42c077c10790: Verifying Checksum [2022-06-24T20:58:02.519Z] 42c077c10790: Download complete [2022-06-24T20:58:02.779Z] c8a8fc8e1c8f: Download complete [2022-06-24T20:58:03.719Z] 42c077c10790: Pull complete [2022-06-24T20:58:03.979Z] f63e77b7563a: Pull complete [2022-06-24T20:58:04.239Z] bd5fdadae976: Pull complete [2022-06-24T20:58:04.500Z] 205491f53016: Pull complete [2022-06-24T20:58:04.762Z] df18705c85c3: Pull complete [2022-06-24T20:58:04.762Z] bdb3f477010e: Pull complete [2022-06-24T20:58:06.668Z] c8a8fc8e1c8f: Pull complete [2022-06-24T20:58:06.668Z] 2c6e9b1d212d: Pull complete [2022-06-24T20:58:06.928Z] bdb8f0575790: Pull complete [2022-06-24T20:58:06.928Z] 386e3cb2ff24: Pull complete [2022-06-24T20:58:06.928Z] 2343380bae48: Pull complete [2022-06-24T20:58:06.928Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-24T20:58:06.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T20:58:06.928Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T20:58:07.025Z] prd-ubuntu20.04-docker-8c-8g-15558 does not seem to be running inside a container [2022-06-24T20:58:07.062Z] $ 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-24T20:58:08.550Z] $ docker top 001ca913e7e1e5f4a8dcee0184ad029f7b1b35eb455a3c7b8974feeff20c4e8c -eo pid,comm [2022-06-24T20:58:08.619Z] 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-24T20:58:08.619Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-24T20:58:08.656Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T20:58:08.656Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T20:58:08.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T20:58:08.783Z] $ docker exec 001ca913e7e1e5f4a8dcee0184ad029f7b1b35eb455a3c7b8974feeff20c4e8c ssh-agent [2022-06-24T20:58:08.913Z] SSH_AUTH_SOCK=/tmp/ssh-PYvMKRkK8Z5E/agent.34 [2022-06-24T20:58:08.913Z] SSH_AGENT_PID=42 [2022-06-24T20:58:08.920Z] Running ssh-add (command line suppressed) [2022-06-24T20:58:09.044Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_965091123712645828.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_965091123712645828.key) [2022-06-24T20:58:09.056Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T20:58:09.347Z] + git tag --points-at HEAD [Pipeline] } [2022-06-24T20:58:09.371Z] $ docker exec --env ******** --env ******** 001ca913e7e1e5f4a8dcee0184ad029f7b1b35eb455a3c7b8974feeff20c4e8c ssh-agent -k [2022-06-24T20:58:09.472Z] unset SSH_AUTH_SOCK; [2022-06-24T20:58:09.473Z] unset SSH_AGENT_PID; [2022-06-24T20:58:09.473Z] echo Agent pid 42 killed; [2022-06-24T20:58:09.479Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-24T20:58:09.499Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T20:58:09.499Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T20:58:09.637Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T20:58:09.643Z] $ docker exec 001ca913e7e1e5f4a8dcee0184ad029f7b1b35eb455a3c7b8974feeff20c4e8c ssh-agent [2022-06-24T20:58:09.753Z] SSH_AUTH_SOCK=/tmp/ssh-vNkwf8ahpe2f/agent.75 [2022-06-24T20:58:09.753Z] SSH_AGENT_PID=81 [2022-06-24T20:58:09.760Z] Running ssh-add (command line suppressed) [2022-06-24T20:58:09.873Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_1851058755475839593.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_1851058755475839593.key) [2022-06-24T20:58:09.884Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T20:58:10.174Z] + git semver init [2022-06-24T20:58:10.433Z] 2022-06-24 20:58:10,381 [run_init] DEBUG init version:0.0.0 force:False [2022-06-24T20:58:10.433Z] 2022-06-24 20:58:10,382 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-24T20:58:10.433Z] 2022-06-24 20:58:10,383 [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-24T20:58:10.433Z] 2022-06-24 20:58:10,383 [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-24T20:58:11.378Z] 2022-06-24 20:58:11,069 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude [2022-06-24T20:58:11.378Z] 2022-06-24 20:58:11,070 [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-24T20:58:11.378Z] 2022-06-24 20:58:11,070 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-24T20:58:11.378Z] 2022-06-24 20:58:11,074 [execute] INFO git cat-file --batch-check [2022-06-24T20:58:11.378Z] 2022-06-24 20:58:11,074 [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-24T20:58:11.378Z] 2022-06-24 20:58:11,080 [execute] INFO git cat-file --batch [2022-06-24T20:58:11.378Z] 2022-06-24 20:58:11,080 [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-24T20:58:11.378Z] 2022-06-24 20:58:11,085 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-24T20:58:11.378Z] 0.0.0 [Pipeline] } [2022-06-24T20:58:11.394Z] $ docker exec --env ******** --env ******** 001ca913e7e1e5f4a8dcee0184ad029f7b1b35eb455a3c7b8974feeff20c4e8c ssh-agent -k [2022-06-24T20:58:11.501Z] unset SSH_AUTH_SOCK; [2022-06-24T20:58:11.505Z] unset SSH_AGENT_PID; [2022-06-24T20:58:11.505Z] echo Agent pid 81 killed; [2022-06-24T20:58:11.508Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-24T20:58:11.816Z] + git semver [Pipeline] } [2022-06-24T20:58:12.098Z] $ docker stop --time=1 001ca913e7e1e5f4a8dcee0184ad029f7b1b35eb455a3c7b8974feeff20c4e8c [2022-06-24T20:58:13.406Z] $ docker rm -f 001ca913e7e1e5f4a8dcee0184ad029f7b1b35eb455a3c7b8974feeff20c4e8c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-24T20:58:13.781Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-24T20:58:14.056Z] Stashed 1 file(s) [Pipeline] echo [2022-06-24T20:58:14.059Z] [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-24T20:58:14.210Z] provisioning config files... [2022-06-24T20:58:14.220Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config30783194290212166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T20:58:14.521Z] ---> docker-login.sh [2022-06-24T20:58:14.521Z] nexus3.edgexfoundry.org:10001 [2022-06-24T20:58:14.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T20:58:14.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T20:58:14.521Z] Configure a credential helper to remove this warning. See [2022-06-24T20:58:14.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T20:58:14.521Z] [2022-06-24T20:58:14.521Z] Login Succeeded [2022-06-24T20:58:14.521Z] nexus3.edgexfoundry.org:10002 [2022-06-24T20:58:14.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T20:58:14.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T20:58:14.781Z] Configure a credential helper to remove this warning. See [2022-06-24T20:58:14.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T20:58:14.781Z] [2022-06-24T20:58:14.781Z] Login Succeeded [2022-06-24T20:58:14.781Z] nexus3.edgexfoundry.org:10003 [2022-06-24T20:58:14.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T20:58:14.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T20:58:14.781Z] Configure a credential helper to remove this warning. See [2022-06-24T20:58:14.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T20:58:14.781Z] [2022-06-24T20:58:14.781Z] Login Succeeded [2022-06-24T20:58:14.781Z] nexus3.edgexfoundry.org:10004 [2022-06-24T20:58:14.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T20:58:15.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T20:58:15.041Z] Configure a credential helper to remove this warning. See [2022-06-24T20:58:15.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T20:58:15.041Z] [2022-06-24T20:58:15.041Z] Login Succeeded [2022-06-24T20:58:15.041Z] docker.io [2022-06-24T20:58:15.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T20:58:15.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T20:58:15.302Z] Configure a credential helper to remove this warning. See [2022-06-24T20:58:15.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T20:58:15.302Z] [2022-06-24T20:58:15.302Z] Login Succeeded [2022-06-24T20:58:15.302Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T20:58:15.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T20:58:15.382Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T20:58:15.397Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T20:58:15.404Z] ========================================================= [2022-06-24T20:58:15.404Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-24T20:58:15.404Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T20:58:15.723Z] + 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-24T20:58:15.723Z] Sending build context to Docker daemon 8.842MB [2022-06-24T20:58:15.723Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T20:58:15.723Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T20:58:15.723Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-24T20:58:15.723Z] 59bf1c3509f3: Pulling fs layer [2022-06-24T20:58:15.723Z] 666ba61612fd: Pulling fs layer [2022-06-24T20:58:15.723Z] 8ed8ca486205: Pulling fs layer [2022-06-24T20:58:15.723Z] cc1cd167ecdc: Pulling fs layer [2022-06-24T20:58:15.723Z] c516ae0d96e1: Pulling fs layer [2022-06-24T20:58:15.723Z] 684cea983483: Pulling fs layer [2022-06-24T20:58:15.723Z] dd3240ac7de5: Pulling fs layer [2022-06-24T20:58:15.723Z] b1e948a4e11c: Pulling fs layer [2022-06-24T20:58:15.723Z] a8fd76ee1af6: Pulling fs layer [2022-06-24T20:58:15.723Z] 646ad004c059: Pulling fs layer [2022-06-24T20:58:15.723Z] cc1cd167ecdc: Waiting [2022-06-24T20:58:15.723Z] c516ae0d96e1: Waiting [2022-06-24T20:58:15.723Z] 684cea983483: Waiting [2022-06-24T20:58:15.723Z] dd3240ac7de5: Waiting [2022-06-24T20:58:15.723Z] 646ad004c059: Waiting [2022-06-24T20:58:15.723Z] a8fd76ee1af6: Waiting [2022-06-24T20:58:15.723Z] b1e948a4e11c: Waiting [2022-06-24T20:58:15.723Z] 8ed8ca486205: Verifying Checksum [2022-06-24T20:58:15.723Z] 8ed8ca486205: Download complete [2022-06-24T20:58:15.723Z] 666ba61612fd: Verifying Checksum [2022-06-24T20:58:15.723Z] 666ba61612fd: Download complete [2022-06-24T20:58:15.723Z] c516ae0d96e1: Verifying Checksum [2022-06-24T20:58:15.723Z] c516ae0d96e1: Download complete [2022-06-24T20:58:15.983Z] 684cea983483: Verifying Checksum [2022-06-24T20:58:15.983Z] 684cea983483: Download complete [2022-06-24T20:58:15.983Z] dd3240ac7de5: Download complete [2022-06-24T20:58:15.983Z] 59bf1c3509f3: Verifying Checksum [2022-06-24T20:58:15.983Z] 59bf1c3509f3: Download complete [2022-06-24T20:58:15.983Z] b1e948a4e11c: Verifying Checksum [2022-06-24T20:58:15.983Z] b1e948a4e11c: Download complete [2022-06-24T20:58:15.983Z] 59bf1c3509f3: Pull complete [2022-06-24T20:58:16.245Z] 666ba61612fd: Pull complete [2022-06-24T20:58:16.245Z] 8ed8ca486205: Pull complete [2022-06-24T20:58:16.505Z] 646ad004c059: Verifying Checksum [2022-06-24T20:58:16.505Z] 646ad004c059: Download complete [2022-06-24T20:58:16.505Z] a8fd76ee1af6: Download complete [2022-06-24T20:58:16.505Z] cc1cd167ecdc: Verifying Checksum [2022-06-24T20:58:16.505Z] cc1cd167ecdc: Download complete [2022-06-24T20:58:20.695Z] cc1cd167ecdc: Pull complete [2022-06-24T20:58:20.695Z] c516ae0d96e1: Pull complete [2022-06-24T20:58:20.695Z] 684cea983483: Pull complete [2022-06-24T20:58:20.695Z] dd3240ac7de5: Pull complete [2022-06-24T20:58:20.695Z] b1e948a4e11c: Pull complete [2022-06-24T20:58:22.604Z] a8fd76ee1af6: Pull complete [2022-06-24T20:58:23.173Z] 646ad004c059: Pull complete [2022-06-24T20:58:23.435Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-24T20:58:23.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-24T20:58:23.435Z] ---> 8f69c11f6b0c [2022-06-24T20:58:23.435Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T20:58:25.348Z] ---> Running in 694e89d9eb49 [2022-06-24T20:58:25.348Z] Removing intermediate container 694e89d9eb49 [2022-06-24T20:58:25.348Z] ---> 6bf5def89e4f [2022-06-24T20:58:25.348Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T20:58:25.348Z] ---> Running in 6f388319ae30 [2022-06-24T20:58:25.348Z] Removing intermediate container 6f388319ae30 [2022-06-24T20:58:25.348Z] ---> 0b11f59d2be8 [2022-06-24T20:58:25.348Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T20:58:25.609Z] ---> Running in d3c6cb940560 [2022-06-24T20:58:25.609Z] Removing intermediate container d3c6cb940560 [2022-06-24T20:58:25.609Z] ---> 5510af9114c8 [2022-06-24T20:58:25.609Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T20:58:25.609Z] ---> Running in 944c376caa6a [2022-06-24T20:58:25.609Z] Removing intermediate container 944c376caa6a [2022-06-24T20:58:25.609Z] ---> 5c1f3db3b356 [2022-06-24T20:58:25.609Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T20:58:25.609Z] ---> Running in 0f8074a2315c [2022-06-24T20:58:26.180Z] Removing intermediate container 0f8074a2315c [2022-06-24T20:58:26.180Z] ---> 519982d92778 [2022-06-24T20:58:26.180Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T20:58:26.442Z] ---> Running in 331247a0839b [2022-06-24T20:58:26.702Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-24T20:58:27.642Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-24T20:58:27.902Z] OK: 221 MiB in 52 packages [2022-06-24T20:58:28.162Z] Removing intermediate container 331247a0839b [2022-06-24T20:58:28.162Z] ---> 83c87bd3d6c4 [2022-06-24T20:58:28.162Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T20:58:28.162Z] ---> Running in 478b83a405d7 [2022-06-24T20:58:28.162Z] Removing intermediate container 478b83a405d7 [2022-06-24T20:58:28.162Z] ---> c2aac9720b66 [2022-06-24T20:58:28.162Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T20:58:28.422Z] ---> fca10e5dec65 [2022-06-24T20:58:28.422Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T20:58:28.422Z] ---> Running in d752545ca228 [2022-06-24T20:58:29.168Z] Still waiting to schedule task [2022-06-24T20:58:29.168Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-24T20:58:46.533Z] Removing intermediate container d752545ca228 [2022-06-24T20:58:46.533Z] ---> 17f0f31c07b0 [2022-06-24T20:58:46.533Z] Step 12/13 : COPY . . [2022-06-24T20:58:46.533Z] ---> 2764536c39db [2022-06-24T20:58:46.533Z] Step 13/13 : RUN ${MAKE} [2022-06-24T20:58:46.533Z] ---> Running in 54d53db520a3 [2022-06-24T20:58:46.533Z] noop [2022-06-24T20:58:46.533Z] Removing intermediate container 54d53db520a3 [2022-06-24T20:58:46.533Z] ---> a46d173612e9 [2022-06-24T20:58:46.533Z] Successfully built a46d173612e9 [2022-06-24T20:58:46.533Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T20:58:46.850Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T20:58:46.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T20:58:46.928Z] prd-ubuntu20.04-docker-8c-8g-15558 does not seem to be running inside a container [2022-06-24T20:58:46.965Z] $ 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-24T20:58:47.365Z] $ docker top d28c32e954ef0a4ce3e4e938f061618010c76bd98090cfe6c4579412ac209872 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T20:58:47.720Z] + go version [2022-06-24T20:58:47.720Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-24T20:58:47.737Z] $ docker stop --time=1 d28c32e954ef0a4ce3e4e938f061618010c76bd98090cfe6c4579412ac209872 [2022-06-24T20:58:49.033Z] $ docker rm -f d28c32e954ef0a4ce3e4e938f061618010c76bd98090cfe6c4579412ac209872 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T20:58:49.461Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T20:58:49.461Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T20:58:49.542Z] prd-ubuntu20.04-docker-8c-8g-15558 does not seem to be running inside a container [2022-06-24T20:58:49.579Z] $ 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-24T20:58:49.966Z] $ docker top 2fc9fcdc4413bbe17f9f5ca1e4a3cc53a8ead86e3367f0eea7d2b0bdd3c2f22d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T20:58:50.329Z] + make test [2022-06-24T20:58:50.329Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T20:58:50.594Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T20:58:50.594Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-24T20:58:50.594Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-24T20:58:50.594Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T20:59:00.668Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-24T20:59:03.967Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.735s coverage: 13.8% of statements [2022-06-24T20:59:03.967Z] FAIL [2022-06-24T20:59:03.967Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-24T20:59:03.982Z] $ docker stop --time=1 2fc9fcdc4413bbe17f9f5ca1e4a3cc53a8ead86e3367f0eea7d2b0bdd3c2f22d [2022-06-24T20:59:05.740Z] $ docker rm -f 2fc9fcdc4413bbe17f9f5ca1e4a3cc53a8ead86e3367f0eea7d2b0bdd3c2f22d [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-24T20:59:06.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T20:59:06.266Z] [2022-06-24T20:59:06.266Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T20:59:06.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T20:59:06.572Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-24T20:59:06.572Z] 5eb5b503b376: Pulling fs layer [2022-06-24T20:59:06.572Z] 5c69ac0246d0: Pulling fs layer [2022-06-24T20:59:06.572Z] ec43610c2a17: Pulling fs layer [2022-06-24T20:59:06.572Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-24T20:59:06.572Z] 33b1e0a273af: Pulling fs layer [2022-06-24T20:59:06.572Z] 5d3b04190fa2: Pulling fs layer [2022-06-24T20:59:06.572Z] 2f39f015ded8: Pulling fs layer [2022-06-24T20:59:06.572Z] 33b1e0a273af: Waiting [2022-06-24T20:59:06.572Z] 5d3b04190fa2: Waiting [2022-06-24T20:59:06.572Z] 2f39f015ded8: Waiting [2022-06-24T20:59:06.572Z] 3a2ae6a8a46f: Waiting [2022-06-24T20:59:06.572Z] 5c69ac0246d0: Verifying Checksum [2022-06-24T20:59:06.572Z] 5c69ac0246d0: Download complete [2022-06-24T20:59:06.572Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-24T20:59:06.572Z] 3a2ae6a8a46f: Download complete [2022-06-24T20:59:06.572Z] 33b1e0a273af: Verifying Checksum [2022-06-24T20:59:06.572Z] 33b1e0a273af: Download complete [2022-06-24T20:59:06.835Z] ec43610c2a17: Verifying Checksum [2022-06-24T20:59:06.835Z] ec43610c2a17: Download complete [2022-06-24T20:59:06.835Z] 5d3b04190fa2: Verifying Checksum [2022-06-24T20:59:06.835Z] 5d3b04190fa2: Download complete [2022-06-24T20:59:06.835Z] 5eb5b503b376: Verifying Checksum [2022-06-24T20:59:06.835Z] 5eb5b503b376: Download complete [2022-06-24T20:59:07.405Z] 2f39f015ded8: Download complete [2022-06-24T20:59:07.972Z] 5eb5b503b376: Pull complete [2022-06-24T20:59:08.232Z] 5c69ac0246d0: Pull complete [2022-06-24T20:59:08.802Z] ec43610c2a17: Pull complete [2022-06-24T20:59:08.802Z] 3a2ae6a8a46f: Pull complete [2022-06-24T20:59:09.067Z] 33b1e0a273af: Pull complete [2022-06-24T20:59:09.067Z] 5d3b04190fa2: Pull complete [2022-06-24T20:59:13.262Z] 2f39f015ded8: Pull complete [2022-06-24T20:59:13.262Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-24T20:59:13.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T20:59:13.262Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T20:59:13.354Z] prd-ubuntu20.04-docker-8c-8g-15558 does not seem to be running inside a container [2022-06-24T20:59:13.392Z] $ 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-24T20:59:15.569Z] $ docker top af21cf58756273c55681b1c8ad16f4b5c54ada91e3c3ca940ce525816e8293cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T20:59:15.969Z] ---> job-cost.sh [2022-06-24T20:59:15.969Z] lf-activate-venv: SKIPPING [2022-06-24T20:59:15.969Z] INFO: No Stack... [2022-06-24T20:59:16.228Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T20:59:16.800Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T20:59:17.101Z] + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv [2022-06-24T20:59:17.101Z] + cut -d, -f6 [Pipeline] lock [2022-06-24T20:59:17.115Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-11-stack-cost] [2022-06-24T20:59:17.121Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-11-stack-cost] did not exist. Created. [2022-06-24T20:59:17.121Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T20:59:17.427Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-24T20:59:17.461Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T20:59:17.467Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T20:59:17.488Z] $ docker stop --time=1 af21cf58756273c55681b1c8ad16f4b5c54ada91e3c3ca940ce525816e8293cc [2022-06-24T20:59:18.655Z] $ docker rm -f af21cf58756273c55681b1c8ad16f4b5c54ada91e3c3ca940ce525816e8293cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-24T20:59:18.765Z] Failed in branch amd64 [2022-06-24T21:00:08.783Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15559 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws [2022-06-24T21:00:08.797Z] Running in /w/workspace/device-onvif-camera/11 [Pipeline] { [Pipeline] checkout [2022-06-24T21:00:08.841Z] Selected Git installation does not exist. Using Default [2022-06-24T21:00:08.841Z] The recommended git tool is: NONE [2022-06-24T21:00:15.598Z] using credential edgex-jenkins-ssh [2022-06-24T21:00:15.613Z] Cloning the remote Git repository [2022-06-24T21:00:15.665Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T21:00:15.734Z] > git init /w/workspace/device-onvif-camera/11 # timeout=10 [2022-06-24T21:00:15.808Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T21:00:15.808Z] > git --version # timeout=10 [2022-06-24T21:00:15.826Z] > git --version # 'git version 2.25.1' [2022-06-24T21:00:15.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T21:00:15.966Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T21:00:17.474Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 2ee905fbe86984ccf6a9f7f91c367bb975162094 [2022-06-24T21:00:17.944Z] Merge succeeded, producing 16d5b5e35c95230f9af2c266bb10ad10ad1cd932 [2022-06-24T21:00:17.944Z] Checking out Revision 16d5b5e35c95230f9af2c266bb10ad10ad1cd932 (PR-90) [2022-06-24T21:00:16.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T21:00:16.851Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T21:00:16.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T21:00:16.913Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T21:00:16.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T21:00:16.927Z] > 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-24T21:00:17.496Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T21:00:17.517Z] > git checkout -f 2ee905fbe86984ccf6a9f7f91c367bb975162094 # timeout=10 [2022-06-24T21:00:17.663Z] > git remote # timeout=10 [2022-06-24T21:00:17.691Z] > git config --get remote.origin.url # timeout=10 [2022-06-24T21:00:17.711Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T21:00:17.725Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-24T21:00:17.929Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-24T21:00:17.954Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T21:00:17.973Z] > git checkout -f 16d5b5e35c95230f9af2c266bb10ad10ad1cd932 # timeout=10 [2022-06-24T21:00:22.200Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-24T21:00:22.228Z] First time build. Skipping changelog. [2022-06-24T21:00:22.210Z] > git rev-list --no-walk 19781e8e92fefebae0ea795d32f91106155e9e89 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T21:00:23.099Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-24T21:00:23.099Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-24T21:00:23.099Z] Dload Upload Total Spent Left Speed [2022-06-24T21:00:23.099Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 85090 0 --:--:-- --:--:-- --:--:-- 84503 100 12253 100 12253 0 0 83924 0 --:--:-- --:--:-- --:--:-- 83924 [Pipeline] sh [2022-06-24T21:00:23.800Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-24T21:00:24.138Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-06-24T21:00:24.138Z] sudo tee /etc/docker/daemon.new [2022-06-24T21:00:24.138Z] { [2022-06-24T21:00:24.138Z] "registry-mirrors": [ [2022-06-24T21:00:24.138Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-24T21:00:24.138Z] ], [2022-06-24T21:00:24.138Z] "bip": "10.250.0.254/24", [2022-06-24T21:00:24.138Z] "hosts": [ [2022-06-24T21:00:24.138Z] "tcp://0.0.0.0:5555", [2022-06-24T21:00:24.138Z] "unix:///var/run/docker.sock" [2022-06-24T21:00:24.138Z] ], [2022-06-24T21:00:24.138Z] "mtu": 1458, [2022-06-24T21:00:24.138Z] "selinux-enabled": true, [2022-06-24T21:00:24.138Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-24T21:00:24.138Z] } [Pipeline] sh [2022-06-24T21:00:24.483Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-24T21:00:24.822Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T21:00:43.170Z] provisioning config files... [2022-06-24T21:00:43.195Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/11@tmp/config7467615548899291337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T21:00:43.558Z] ---> docker-login.sh [2022-06-24T21:00:43.558Z] nexus3.edgexfoundry.org:10001 [2022-06-24T21:00:44.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T21:00:44.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T21:00:44.441Z] Configure a credential helper to remove this warning. See [2022-06-24T21:00:44.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T21:00:44.441Z] [2022-06-24T21:00:44.441Z] Login Succeeded [2022-06-24T21:00:44.441Z] nexus3.edgexfoundry.org:10002 [2022-06-24T21:00:44.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T21:00:44.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T21:00:44.712Z] Configure a credential helper to remove this warning. See [2022-06-24T21:00:44.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T21:00:44.712Z] [2022-06-24T21:00:44.712Z] Login Succeeded [2022-06-24T21:00:44.712Z] nexus3.edgexfoundry.org:10003 [2022-06-24T21:00:45.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T21:00:45.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T21:00:45.310Z] Configure a credential helper to remove this warning. See [2022-06-24T21:00:45.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T21:00:45.310Z] [2022-06-24T21:00:45.310Z] Login Succeeded [2022-06-24T21:00:45.310Z] nexus3.edgexfoundry.org:10004 [2022-06-24T21:00:45.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T21:00:45.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T21:00:45.858Z] Configure a credential helper to remove this warning. See [2022-06-24T21:00:45.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T21:00:45.858Z] [2022-06-24T21:00:45.858Z] Login Succeeded [2022-06-24T21:00:45.858Z] docker.io [2022-06-24T21:00:46.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T21:00:46.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T21:00:46.725Z] Configure a credential helper to remove this warning. See [2022-06-24T21:00:46.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T21:00:46.725Z] [2022-06-24T21:00:46.725Z] Login Succeeded [2022-06-24T21:00:46.725Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T21:00:46.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T21:00:47.256Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T21:00:47.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T21:00:47.278Z] ========================================================= [2022-06-24T21:00:47.278Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-24T21:00:47.278Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T21:00:47.631Z] + 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-24T21:00:47.907Z] Sending build context to Docker daemon 6.051MB [2022-06-24T21:00:48.184Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T21:00:48.184Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T21:00:48.184Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-24T21:00:48.184Z] 9b3977197b4f: Pulling fs layer [2022-06-24T21:00:48.184Z] 1a89e8eeedd5: Pulling fs layer [2022-06-24T21:00:48.184Z] 94645a83ff95: Pulling fs layer [2022-06-24T21:00:48.184Z] e6fb740bc735: Pulling fs layer [2022-06-24T21:00:48.184Z] 3a77bd46dcc9: Pulling fs layer [2022-06-24T21:00:48.184Z] 355e64cbe906: Pulling fs layer [2022-06-24T21:00:48.184Z] 63ab81a10011: Pulling fs layer [2022-06-24T21:00:48.184Z] 555d1d1c4555: Pulling fs layer [2022-06-24T21:00:48.184Z] 7d9057610161: Pulling fs layer [2022-06-24T21:00:48.184Z] 355e64cbe906: Waiting [2022-06-24T21:00:48.184Z] 63ab81a10011: Waiting [2022-06-24T21:00:48.184Z] 555d1d1c4555: Waiting [2022-06-24T21:00:48.184Z] e6fb740bc735: Waiting [2022-06-24T21:00:48.184Z] 3a77bd46dcc9: Waiting [2022-06-24T21:00:48.184Z] 7d9057610161: Waiting [2022-06-24T21:00:48.184Z] 94645a83ff95: Verifying Checksum [2022-06-24T21:00:48.184Z] 94645a83ff95: Download complete [2022-06-24T21:00:48.184Z] 1a89e8eeedd5: Verifying Checksum [2022-06-24T21:00:48.184Z] 1a89e8eeedd5: Download complete [2022-06-24T21:00:48.184Z] 3a77bd46dcc9: Verifying Checksum [2022-06-24T21:00:48.184Z] 3a77bd46dcc9: Download complete [2022-06-24T21:00:48.184Z] 355e64cbe906: Verifying Checksum [2022-06-24T21:00:48.184Z] 355e64cbe906: Download complete [2022-06-24T21:00:48.184Z] 9b3977197b4f: Verifying Checksum [2022-06-24T21:00:48.184Z] 9b3977197b4f: Download complete [2022-06-24T21:00:48.460Z] 63ab81a10011: Verifying Checksum [2022-06-24T21:00:48.460Z] 63ab81a10011: Download complete [2022-06-24T21:00:49.481Z] 9b3977197b4f: Pull complete [2022-06-24T21:00:49.481Z] 7d9057610161: Verifying Checksum [2022-06-24T21:00:49.481Z] 7d9057610161: Download complete [2022-06-24T21:00:50.084Z] 1a89e8eeedd5: Pull complete [2022-06-24T21:00:50.359Z] 94645a83ff95: Pull complete [2022-06-24T21:00:50.359Z] 555d1d1c4555: Verifying Checksum [2022-06-24T21:00:50.359Z] 555d1d1c4555: Download complete [2022-06-24T21:00:50.957Z] e6fb740bc735: Verifying Checksum [2022-06-24T21:00:50.957Z] e6fb740bc735: Download complete [2022-06-24T21:01:03.373Z] e6fb740bc735: Pull complete [2022-06-24T21:01:03.373Z] 3a77bd46dcc9: Pull complete [2022-06-24T21:01:03.373Z] 355e64cbe906: Pull complete [2022-06-24T21:01:03.649Z] 63ab81a10011: Pull complete [2022-06-24T21:01:10.397Z] 555d1d1c4555: Pull complete [2022-06-24T21:01:11.835Z] 7d9057610161: Pull complete [2022-06-24T21:01:11.835Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-24T21:01:11.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-24T21:01:11.835Z] ---> 819e984ddca1 [2022-06-24T21:01:11.835Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T21:01:13.808Z] ---> Running in 172a1c4163dd [2022-06-24T21:01:13.808Z] Removing intermediate container 172a1c4163dd [2022-06-24T21:01:13.808Z] ---> 40ad6b70df99 [2022-06-24T21:01:13.808Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T21:01:13.808Z] ---> Running in c32ff3e10189 [2022-06-24T21:01:14.081Z] Removing intermediate container c32ff3e10189 [2022-06-24T21:01:14.081Z] ---> fbd0f592b758 [2022-06-24T21:01:14.081Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T21:01:14.082Z] ---> Running in e9e2875630a4 [2022-06-24T21:01:14.359Z] Removing intermediate container e9e2875630a4 [2022-06-24T21:01:14.359Z] ---> feef5e2938b6 [2022-06-24T21:01:14.359Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T21:01:14.639Z] ---> Running in ca8bdc395ecd [2022-06-24T21:01:14.917Z] Removing intermediate container ca8bdc395ecd [2022-06-24T21:01:14.917Z] ---> 40b4637ae026 [2022-06-24T21:01:14.917Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T21:01:14.917Z] ---> Running in 4c202101111e [2022-06-24T21:01:17.558Z] Removing intermediate container 4c202101111e [2022-06-24T21:01:17.558Z] ---> bbe41ae83339 [2022-06-24T21:01:17.558Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T21:01:17.558Z] ---> Running in 0781ed8c4e33 [2022-06-24T21:01:18.538Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-24T21:01:19.512Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-24T21:01:20.112Z] OK: 220 MiB in 52 packages [2022-06-24T21:01:21.091Z] Removing intermediate container 0781ed8c4e33 [2022-06-24T21:01:21.091Z] ---> 1ae7e65309b6 [2022-06-24T21:01:21.091Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T21:01:21.091Z] ---> Running in 0a3a52292de4 [2022-06-24T21:01:21.364Z] Removing intermediate container 0a3a52292de4 [2022-06-24T21:01:21.364Z] ---> c1d68b13c314 [2022-06-24T21:01:21.364Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T21:01:21.964Z] ---> 553b5ce4e2d0 [2022-06-24T21:01:21.964Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T21:01:21.964Z] ---> Running in 3c5ef7ddf49c [2022-06-24T21:02:08.969Z] Removing intermediate container 3c5ef7ddf49c [2022-06-24T21:02:08.970Z] ---> afa78ecc40f0 [2022-06-24T21:02:08.970Z] Step 12/13 : COPY . . [2022-06-24T21:02:08.970Z] ---> 53ad562e6c08 [2022-06-24T21:02:08.970Z] Step 13/13 : RUN ${MAKE} [2022-06-24T21:02:08.970Z] ---> Running in b00b406b3d40 [2022-06-24T21:02:09.246Z] noop [2022-06-24T21:02:09.846Z] Removing intermediate container b00b406b3d40 [2022-06-24T21:02:09.846Z] ---> 21c4dfdbd287 [2022-06-24T21:02:09.846Z] Successfully built 21c4dfdbd287 [2022-06-24T21:02:09.846Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T21:02:10.213Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T21:02:10.213Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T21:02:10.453Z] prd-ubuntu20.04-docker-arm64-4c-16g-15559 does not seem to be running inside a container [2022-06-24T21:02:10.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@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-24T21:02:11.824Z] $ docker top f405e5123e00fa076382640bc6dc3e227c3abb589aabbdfe0649702fda94bbf9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T21:02:12.738Z] + go version [2022-06-24T21:02:12.739Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-24T21:02:12.767Z] $ docker stop --time=1 f405e5123e00fa076382640bc6dc3e227c3abb589aabbdfe0649702fda94bbf9 [2022-06-24T21:02:14.462Z] $ docker rm -f f405e5123e00fa076382640bc6dc3e227c3abb589aabbdfe0649702fda94bbf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T21:02:15.042Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T21:02:15.042Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T21:02:15.271Z] prd-ubuntu20.04-docker-arm64-4c-16g-15559 does not seem to be running inside a container [2022-06-24T21:02:15.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@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-24T21:02:16.604Z] $ docker top 6f978c46c317340c3c642a37542e9b0a9ba222aae5550c5c8f175df0d4434dcd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T21:02:17.529Z] + make test [2022-06-24T21:02:17.530Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T21:02:18.971Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T21:02:18.971Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-24T21:02:18.971Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-24T21:02:19.248Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T21:03:41.097Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-24T21:04:03.272Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.926s coverage: 13.8% of statements [2022-06-24T21:04:03.272Z] FAIL [2022-06-24T21:04:03.545Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-24T21:04:03.575Z] $ docker stop --time=1 6f978c46c317340c3c642a37542e9b0a9ba222aae5550c5c8f175df0d4434dcd [2022-06-24T21:04:05.301Z] $ docker rm -f 6f978c46c317340c3c642a37542e9b0a9ba222aae5550c5c8f175df0d4434dcd [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-24T21:04:06.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T21:04:06.319Z] [2022-06-24T21:04:06.319Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T21:04:06.672Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T21:04:06.946Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-24T21:04:06.946Z] 8998bd30e6a1: Pulling fs layer [2022-06-24T21:04:06.946Z] 04944245beec: Pulling fs layer [2022-06-24T21:04:06.946Z] 699f458cf7ca: Pulling fs layer [2022-06-24T21:04:06.946Z] 765212b225bb: Pulling fs layer [2022-06-24T21:04:06.946Z] f23df028b6ca: Pulling fs layer [2022-06-24T21:04:06.946Z] d65c8cfc05b1: Pulling fs layer [2022-06-24T21:04:06.946Z] 2437ff75d9bd: Pulling fs layer [2022-06-24T21:04:06.946Z] f23df028b6ca: Waiting [2022-06-24T21:04:06.946Z] 765212b225bb: Waiting [2022-06-24T21:04:06.946Z] d65c8cfc05b1: Waiting [2022-06-24T21:04:06.946Z] 2437ff75d9bd: Waiting [2022-06-24T21:04:06.946Z] 04944245beec: Verifying Checksum [2022-06-24T21:04:06.946Z] 04944245beec: Download complete [2022-06-24T21:04:06.946Z] 765212b225bb: Verifying Checksum [2022-06-24T21:04:06.946Z] 765212b225bb: Download complete [2022-06-24T21:04:06.946Z] f23df028b6ca: Verifying Checksum [2022-06-24T21:04:06.946Z] f23df028b6ca: Download complete [2022-06-24T21:04:07.226Z] d65c8cfc05b1: Verifying Checksum [2022-06-24T21:04:07.226Z] d65c8cfc05b1: Download complete [2022-06-24T21:04:07.226Z] 699f458cf7ca: Verifying Checksum [2022-06-24T21:04:07.226Z] 699f458cf7ca: Download complete [2022-06-24T21:04:07.501Z] 8998bd30e6a1: Verifying Checksum [2022-06-24T21:04:07.501Z] 8998bd30e6a1: Download complete [2022-06-24T21:04:10.137Z] 2437ff75d9bd: Verifying Checksum [2022-06-24T21:04:10.137Z] 2437ff75d9bd: Download complete [2022-06-24T21:04:12.128Z] 8998bd30e6a1: Pull complete [2022-06-24T21:04:12.404Z] 04944245beec: Pull complete [2022-06-24T21:04:13.842Z] 699f458cf7ca: Pull complete [2022-06-24T21:04:13.842Z] 765212b225bb: Pull complete [2022-06-24T21:04:14.823Z] f23df028b6ca: Pull complete [2022-06-24T21:04:15.098Z] d65c8cfc05b1: Pull complete [2022-06-24T21:04:30.203Z] 2437ff75d9bd: Pull complete [2022-06-24T21:04:30.203Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-24T21:04:30.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T21:04:30.203Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T21:04:30.448Z] prd-ubuntu20.04-docker-arm64-4c-16g-15559 does not seem to be running inside a container [2022-06-24T21:04:30.541Z] $ 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/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@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-24T21:04:32.870Z] $ docker top c8125df7065a55c1eb7e05c9bd521ed3557d4c92247b338814695e0ccab4c40f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T21:04:33.786Z] ---> job-cost.sh [2022-06-24T21:04:33.786Z] lf-activate-venv: SKIPPING [2022-06-24T21:04:33.786Z] INFO: No Stack... [2022-06-24T21:04:34.379Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-24T21:04:34.970Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T21:04:35.632Z] + cat /w/workspace/device-onvif-camera/11/archives/cost.csv [2022-06-24T21:04:35.632Z] + cut -d, -f6 [Pipeline] lock [2022-06-24T21:04:35.697Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-11-stack-cost] [2022-06-24T21:04:35.703Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-11-stack-cost] did not exist. Created. [2022-06-24T21:04:35.703Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T21:04:36.381Z] /w/workspace/device-onvif-camera/11@tmp/durable-244e3b63/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-24T21:04:37.064Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-24T21:04:37.085Z] Warning: overwriting stash ‘stack-cost’ [2022-06-24T21:04:37.543Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T21:04:37.549Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T21:04:37.579Z] $ docker stop --time=1 c8125df7065a55c1eb7e05c9bd521ed3557d4c92247b338814695e0ccab4c40f [2022-06-24T21:04:39.066Z] $ docker rm -f c8125df7065a55c1eb7e05c9bd521ed3557d4c92247b338814695e0ccab4c40f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-24T21:04:39.383Z] 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-24T21:04:40.100Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] [2022-06-24T21:04:40.101Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T21:04:40.101Z] total 16 [2022-06-24T21:04:40.101Z] drwxr-xr-x 3 root root 4096 Jun 24 20:59 . [2022-06-24T21:04:40.101Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 20:59 .. [2022-06-24T21:04:40.101Z] drwxr-xr-x 2 root root 4096 Jun 24 20:59 cost [2022-06-24T21:04:40.101Z] -rw-r--r-- 1 root root 90 Jun 24 20:59 cost.csv [2022-06-24T21:04:40.101Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T21:04:40.101Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T21:04:40.101Z] total 16 [2022-06-24T21:04:40.101Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 20:59 . [2022-06-24T21:04:40.101Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 20:59 .. [2022-06-24T21:04:40.101Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 20:59 cost [2022-06-24T21:04:40.101Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 24 20:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-24T21:04:40.394Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T21:04:41.253Z] ---> package-listing.sh [2022-06-24T21:04:41.253Z] ++ facter osfamily [2022-06-24T21:04:41.253Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-24T21:04:41.514Z] + OS_FAMILY=debian [2022-06-24T21:04:41.514Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 [2022-06-24T21:04:41.514Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-24T21:04:41.514Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-24T21:04:41.514Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-24T21:04:41.514Z] + PACKAGES=/tmp/packages_start.txt [2022-06-24T21:04:41.514Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-24T21:04:41.514Z] + PACKAGES=/tmp/packages_end.txt [2022-06-24T21:04:41.514Z] + case "${OS_FAMILY}" in [2022-06-24T21:04:41.514Z] + dpkg -l [2022-06-24T21:04:41.514Z] + grep '^ii' [2022-06-24T21:04:41.514Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-24T21:04:41.514Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-24T21:04:41.514Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-24T21:04:41.514Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-24T21:04:41.514Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [2022-06-24T21:04:41.514Z] + 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-24T21:04:41.526Z] 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-24T21:04:41.807Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T21:04:42.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T21:04:42.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T21:04:42.456Z] prd-ubuntu20.04-docker-8c-8g-15558 does not seem to be running inside a container [2022-06-24T21:04:42.485Z] $ 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-24T21:04:42.726Z] $ docker top b78477254f00b6518fb5f767b10b5625edbc5b6edcd0ec33790fe20e47d9c368 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T21:04:43.086Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-24T21:04:43.373Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-24T21:04:43.661Z] + ls /var/log/sa-host [2022-06-24T21:04:43.661Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T21:04:43.795Z] provisioning config files... [2022-06-24T21:04:43.804Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config2496610932460580536tmp [Pipeline] { [Pipeline] echo [2022-06-24T21:04:43.821Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T21:04:44.106Z] ---> create-netrc.sh [Pipeline] } [2022-06-24T21:04:44.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-24T21:04:44.450Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-24T21:04:44.458Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T21:04:44.744Z] ---> sudo-logs.sh [2022-06-24T21:04:44.744Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-24T21:04:44.775Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T21:04:45.063Z] ---> job-cost.sh [2022-06-24T21:04:45.063Z] lf-activate-venv: SKIPPING [2022-06-24T21:04:45.063Z] DEBUG: total: 0.2199999988079071 [2022-06-24T21:04:45.063Z] INFO: Retrieving Stack Cost... [2022-06-24T21:04:45.334Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T21:04:45.903Z] INFO: Archiving Costs [Pipeline] echo [2022-06-24T21:04:45.918Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T21:04:46.206Z] ---> logs-deploy.sh [2022-06-24T21:04:46.206Z] lf-activate-venv: SKIPPING [2022-06-24T21:04:46.206Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/11 [2022-06-24T21:04:46.206Z] INFO: archiving workspace using pattern(s): [2022-06-24T21:04:47.147Z] Archives upload complete. [2022-06-24T21:04:47.147Z] INFO: archiving logs to Nexus