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 0d7e8d3797501fd6c84f8e8e92d2abb8d4fbc968 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-ssh1906889104401634664.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-ssh3721864559183224178.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-ssh8026871922018165734.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-ssh13501959602689171475.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-ssh6459620040942256480.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-16138’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16140 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-90 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 0d7e8d3797501fd6c84f8e8e92d2abb8d4fbc968 Merge succeeded, producing f4fc899c9c0cf47e28fb3935b18676daa7a04e6b Checking out Revision f4fc899c9c0cf47e28fb3935b18676daa7a04e6b (PR-90) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d7e8d3797501fd6c84f8e8e92d2abb8d4fbc968 # 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 f4fc899c9c0cf47e28fb3935b18676daa7a04e6b # 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-27T20:24:10.269Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T20:24:10.315Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T20:24:10.335Z] ========================================================= [2022-06-27T20:24:10.335Z] EdgeX Global Pipelines Version Info [2022-06-27T20:24:10.335Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 61ce53615c5f4fa442b73a6596cf6df9b9be2c3a # timeout=10 [2022-06-27T20:24:11.159Z] ------------------- [2022-06-27T20:24:11.159Z] stable info: [2022-06-27T20:24:11.159Z] ------------------- [2022-06-27T20:24:11.159Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T20:24:11.159Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T20:24:11.159Z] Message: update stable to v1.0.234 [2022-06-27T20:24:11.730Z] ------------------- [2022-06-27T20:24:11.730Z] experimental info: [2022-06-27T20:24:11.730Z] ------------------- [2022-06-27T20:24:11.730Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T20:24:11.730Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T20:24:11.730Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T20:24:11.917Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-27T20:24:11.926Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-27T20:24:11.934Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T20:24:11.942Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T20:24:11.951Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T20:24:11.967Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T20:24:11.978Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T20:24:11.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T20:24:11.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T20:24:12.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T20:24:12.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T20:24:12.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-27T20:24:12.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T20:24:12.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T20:24:12.055Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T20:24:12.063Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T20:24:12.071Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T20:24:12.078Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T20:24:12.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T20:24:12.095Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T20:24:12.102Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T20:24:12.119Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T20:24:12.132Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T20:24:12.143Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T20:24:12.154Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T20:24:12.165Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T20:24:12.176Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T20:24:12.191Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2022-06-27T20:24:12.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2022-06-27T20:24:12.219Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2022-06-27T20:24:12.231Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f4fc899c9c0cf47e28fb3935b18676daa7a04e6b [Pipeline] echo [2022-06-27T20:24:12.245Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f4fc899 [Pipeline] echo [2022-06-27T20:24:12.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:24:12.290Z] provisioning config files... [2022-06-27T20:24:12.303Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5490791457100771742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:24:12.610Z] ---> docker-login.sh [2022-06-27T20:24:12.610Z] nexus3.edgexfoundry.org:10001 [2022-06-27T20:24:12.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:24:12.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:24:12.871Z] Configure a credential helper to remove this warning. See [2022-06-27T20:24:12.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:24:12.871Z] [2022-06-27T20:24:12.871Z] Login Succeeded [2022-06-27T20:24:12.871Z] nexus3.edgexfoundry.org:10002 [2022-06-27T20:24:13.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:24:13.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:24:13.134Z] Configure a credential helper to remove this warning. See [2022-06-27T20:24:13.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:24:13.134Z] [2022-06-27T20:24:13.134Z] Login Succeeded [2022-06-27T20:24:13.134Z] nexus3.edgexfoundry.org:10003 [2022-06-27T20:24:13.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:24:13.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:24:13.394Z] Configure a credential helper to remove this warning. See [2022-06-27T20:24:13.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:24:13.394Z] [2022-06-27T20:24:13.394Z] Login Succeeded [2022-06-27T20:24:13.394Z] nexus3.edgexfoundry.org:10004 [2022-06-27T20:24:13.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:24:13.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:24:13.394Z] Configure a credential helper to remove this warning. See [2022-06-27T20:24:13.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:24:13.395Z] [2022-06-27T20:24:13.395Z] Login Succeeded [2022-06-27T20:24:13.395Z] docker.io [2022-06-27T20:24:13.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:24:13.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:24:13.969Z] Configure a credential helper to remove this warning. See [2022-06-27T20:24:13.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:24:13.969Z] [2022-06-27T20:24:13.969Z] Login Succeeded [2022-06-27T20:24:13.969Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T20:24:13.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T20:24:14.366Z] + git rev-list -1 --merges f4fc899c9c0cf47e28fb3935b18676daa7a04e6b~1..f4fc899c9c0cf47e28fb3935b18676daa7a04e6b [Pipeline] echo [2022-06-27T20:24:14.460Z] -----------> git rev-list -1 --merges f4fc899c9c0cf47e28fb3935b18676daa7a04e6b~1..f4fc899c9c0cf47e28fb3935b18676daa7a04e6b f4fc899c9c0cf47e28fb3935b18676daa7a04e6b [2022-06-27T20:24:14.460Z] f4fc899c9c0cf47e28fb3935b18676daa7a04e6b [false] [Pipeline] sh [2022-06-27T20:24:14.752Z] + git log --format=format:%s -1 f4fc899c9c0cf47e28fb3935b18676daa7a04e6b [Pipeline] echo [2022-06-27T20:24:14.768Z] ========================================================= [2022-06-27T20:24:14.768Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T20:24:14.768Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T20:24:15.102Z] + git log --format=format:%s -1 f4fc899c9c0cf47e28fb3935b18676daa7a04e6b [Pipeline] echo [2022-06-27T20:24:15.115Z] [semverPrep] GIT_COMMIT: f4fc899c9c0cf47e28fb3935b18676daa7a04e6b, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-27T20:24:15.122Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T20:24:15.488Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T20:24:15.488Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T20:24:15.488Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T20:24:15.488Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T20:24:15.488Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T20:24:15.488Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T20:24:15.488Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:24:15.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T20:24:15.845Z] [2022-06-27T20:24:15.845Z] 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-27T20:24:16.156Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T20:24:16.156Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T20:24:16.156Z] 42c077c10790: Pulling fs layer [2022-06-27T20:24:16.156Z] f63e77b7563a: Pulling fs layer [2022-06-27T20:24:16.156Z] bd5fdadae976: Pulling fs layer [2022-06-27T20:24:16.156Z] 205491f53016: Pulling fs layer [2022-06-27T20:24:16.156Z] df18705c85c3: Pulling fs layer [2022-06-27T20:24:16.156Z] bdb3f477010e: Pulling fs layer [2022-06-27T20:24:16.156Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T20:24:16.156Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T20:24:16.156Z] bdb8f0575790: Pulling fs layer [2022-06-27T20:24:16.156Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T20:24:16.156Z] 2343380bae48: Pulling fs layer [2022-06-27T20:24:16.156Z] 205491f53016: Waiting [2022-06-27T20:24:16.156Z] df18705c85c3: Waiting [2022-06-27T20:24:16.156Z] bdb3f477010e: Waiting [2022-06-27T20:24:16.156Z] 2c6e9b1d212d: Waiting [2022-06-27T20:24:16.156Z] 386e3cb2ff24: Waiting [2022-06-27T20:24:16.156Z] bdb8f0575790: Waiting [2022-06-27T20:24:16.156Z] 2343380bae48: Waiting [2022-06-27T20:24:16.156Z] c8a8fc8e1c8f: Waiting [2022-06-27T20:24:16.156Z] f63e77b7563a: Download complete [2022-06-27T20:24:16.156Z] 205491f53016: Verifying Checksum [2022-06-27T20:24:16.156Z] 205491f53016: Download complete [2022-06-27T20:24:16.417Z] df18705c85c3: Verifying Checksum [2022-06-27T20:24:16.417Z] df18705c85c3: Download complete [2022-06-27T20:24:16.417Z] bdb3f477010e: Verifying Checksum [2022-06-27T20:24:16.417Z] bdb3f477010e: Download complete [2022-06-27T20:24:16.417Z] bd5fdadae976: Verifying Checksum [2022-06-27T20:24:16.417Z] bd5fdadae976: Download complete [2022-06-27T20:24:16.417Z] 2c6e9b1d212d: Download complete [2022-06-27T20:24:16.417Z] bdb8f0575790: Verifying Checksum [2022-06-27T20:24:16.417Z] bdb8f0575790: Download complete [2022-06-27T20:24:16.417Z] 386e3cb2ff24: Verifying Checksum [2022-06-27T20:24:16.417Z] 386e3cb2ff24: Download complete [2022-06-27T20:24:16.417Z] 2343380bae48: Verifying Checksum [2022-06-27T20:24:16.417Z] 2343380bae48: Download complete [2022-06-27T20:24:16.417Z] 42c077c10790: Verifying Checksum [2022-06-27T20:24:16.417Z] 42c077c10790: Download complete [2022-06-27T20:24:16.678Z] c8a8fc8e1c8f: Download complete [2022-06-27T20:24:18.063Z] 42c077c10790: Pull complete [2022-06-27T20:24:18.063Z] f63e77b7563a: Pull complete [2022-06-27T20:24:18.634Z] bd5fdadae976: Pull complete [2022-06-27T20:24:18.634Z] 205491f53016: Pull complete [2022-06-27T20:24:18.895Z] df18705c85c3: Pull complete [2022-06-27T20:24:18.895Z] bdb3f477010e: Pull complete [2022-06-27T20:24:20.805Z] c8a8fc8e1c8f: Pull complete [2022-06-27T20:24:21.066Z] 2c6e9b1d212d: Pull complete [2022-06-27T20:24:21.066Z] bdb8f0575790: Pull complete [2022-06-27T20:24:21.066Z] 386e3cb2ff24: Pull complete [2022-06-27T20:24:21.326Z] 2343380bae48: Pull complete [2022-06-27T20:24:21.326Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T20:24:21.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T20:24:21.326Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:24:21.425Z] prd-ubuntu20.04-docker-8c-8g-16140 does not seem to be running inside a container [2022-06-27T20:24:21.458Z] $ 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-27T20:24:22.787Z] $ docker top 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 -eo pid,comm [2022-06-27T20:24:22.862Z] 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-27T20:24:22.862Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T20:24:22.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T20:24:22.899Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T20:24:23.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T20:24:23.054Z] $ docker exec 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 ssh-agent [2022-06-27T20:24:23.185Z] SSH_AUTH_SOCK=/tmp/ssh-dkNnkjsEGzG7/agent.33 [2022-06-27T20:24:23.185Z] SSH_AGENT_PID=39 [2022-06-27T20:24:23.191Z] Running ssh-add (command line suppressed) [2022-06-27T20:24:23.304Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_5442842064289855127.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_5442842064289855127.key) [2022-06-27T20:24:23.322Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T20:24:23.611Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T20:24:23.630Z] $ docker exec --env ******** --env ******** 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 ssh-agent -k [2022-06-27T20:24:23.732Z] unset SSH_AUTH_SOCK; [2022-06-27T20:24:23.732Z] unset SSH_AGENT_PID; [2022-06-27T20:24:23.732Z] echo Agent pid 39 killed; [2022-06-27T20:24:23.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T20:24:23.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T20:24:23.770Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T20:24:23.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T20:24:23.900Z] $ docker exec 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 ssh-agent [2022-06-27T20:24:24.032Z] SSH_AUTH_SOCK=/tmp/ssh-Id88HTcCJgEm/agent.71 [2022-06-27T20:24:24.032Z] SSH_AGENT_PID=78 [2022-06-27T20:24:24.038Z] Running ssh-add (command line suppressed) [2022-06-27T20:24:24.154Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_931168320273741436.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_931168320273741436.key) [2022-06-27T20:24:24.171Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T20:24:24.464Z] + git semver init [2022-06-27T20:24:25.040Z] 2022-06-27 20:24:24,729 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T20:24:25.040Z] 2022-06-27 20:24:24,729 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-27T20:24:25.040Z] 2022-06-27 20:24:24,730 [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-27T20:24:25.040Z] 2022-06-27 20:24:24,730 [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-27T20:24:25.612Z] 2022-06-27 20:24:25,398 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude [2022-06-27T20:24:25.612Z] 2022-06-27 20:24:25,399 [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-27T20:24:25.612Z] 2022-06-27 20:24:25,399 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-27T20:24:25.612Z] 2022-06-27 20:24:25,403 [execute] INFO git cat-file --batch-check [2022-06-27T20:24:25.612Z] 2022-06-27 20:24:25,404 [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-27T20:24:25.612Z] 2022-06-27 20:24:25,410 [execute] INFO git cat-file --batch [2022-06-27T20:24:25.612Z] 2022-06-27 20:24:25,411 [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-27T20:24:25.612Z] 2022-06-27 20:24:25,418 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-27T20:24:25.612Z] 0.0.0 [Pipeline] } [2022-06-27T20:24:25.623Z] $ docker exec --env ******** --env ******** 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 ssh-agent -k [2022-06-27T20:24:25.732Z] unset SSH_AUTH_SOCK; [2022-06-27T20:24:25.733Z] unset SSH_AGENT_PID; [2022-06-27T20:24:25.733Z] echo Agent pid 78 killed; [2022-06-27T20:24:25.745Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T20:24:26.043Z] + git semver [Pipeline] } [2022-06-27T20:24:26.316Z] $ docker stop --time=1 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 [2022-06-27T20:24:27.602Z] $ docker rm -f 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T20:24:27.955Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T20:24:28.179Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T20:24:28.181Z] [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-27T20:24:28.335Z] provisioning config files... [2022-06-27T20:24:28.345Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5983330124664599264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:24:28.644Z] ---> docker-login.sh [2022-06-27T20:24:28.644Z] nexus3.edgexfoundry.org:10001 [2022-06-27T20:24:28.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:24:28.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:24:28.644Z] Configure a credential helper to remove this warning. See [2022-06-27T20:24:28.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:24:28.644Z] [2022-06-27T20:24:28.644Z] Login Succeeded [2022-06-27T20:24:28.644Z] nexus3.edgexfoundry.org:10002 [2022-06-27T20:24:28.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:24:28.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:24:28.909Z] Configure a credential helper to remove this warning. See [2022-06-27T20:24:28.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:24:28.909Z] [2022-06-27T20:24:28.909Z] Login Succeeded [2022-06-27T20:24:28.909Z] nexus3.edgexfoundry.org:10003 [2022-06-27T20:24:28.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:24:28.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:24:28.909Z] Configure a credential helper to remove this warning. See [2022-06-27T20:24:28.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:24:28.909Z] [2022-06-27T20:24:28.909Z] Login Succeeded [2022-06-27T20:24:28.909Z] nexus3.edgexfoundry.org:10004 [2022-06-27T20:24:28.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:24:29.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:24:29.171Z] Configure a credential helper to remove this warning. See [2022-06-27T20:24:29.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:24:29.171Z] [2022-06-27T20:24:29.171Z] Login Succeeded [2022-06-27T20:24:29.171Z] docker.io [2022-06-27T20:24:29.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:24:29.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:24:29.432Z] Configure a credential helper to remove this warning. See [2022-06-27T20:24:29.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:24:29.432Z] [2022-06-27T20:24:29.432Z] Login Succeeded [2022-06-27T20:24:29.432Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T20:24:29.440Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T20:24:29.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:24:29.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:24:29.527Z] ========================================================= [2022-06-27T20:24:29.527Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T20:24:29.527Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:24:29.842Z] + 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-27T20:24:29.842Z] Sending build context to Docker daemon 8.85MB [2022-06-27T20:24:29.842Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T20:24:29.842Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T20:24:29.842Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T20:24:29.842Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T20:24:29.842Z] 666ba61612fd: Pulling fs layer [2022-06-27T20:24:29.842Z] 8ed8ca486205: Pulling fs layer [2022-06-27T20:24:29.842Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T20:24:29.842Z] c516ae0d96e1: Pulling fs layer [2022-06-27T20:24:29.842Z] 684cea983483: Pulling fs layer [2022-06-27T20:24:29.842Z] dd3240ac7de5: Pulling fs layer [2022-06-27T20:24:29.842Z] b1e948a4e11c: Pulling fs layer [2022-06-27T20:24:29.842Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T20:24:29.842Z] 646ad004c059: Pulling fs layer [2022-06-27T20:24:29.842Z] c516ae0d96e1: Waiting [2022-06-27T20:24:29.842Z] dd3240ac7de5: Waiting [2022-06-27T20:24:29.842Z] 684cea983483: Waiting [2022-06-27T20:24:29.842Z] b1e948a4e11c: Waiting [2022-06-27T20:24:29.842Z] a8fd76ee1af6: Waiting [2022-06-27T20:24:29.842Z] 646ad004c059: Waiting [2022-06-27T20:24:29.842Z] cc1cd167ecdc: Waiting [2022-06-27T20:24:29.842Z] 8ed8ca486205: Verifying Checksum [2022-06-27T20:24:29.842Z] 8ed8ca486205: Download complete [2022-06-27T20:24:29.842Z] 666ba61612fd: Verifying Checksum [2022-06-27T20:24:29.842Z] 666ba61612fd: Download complete [2022-06-27T20:24:30.102Z] c516ae0d96e1: Verifying Checksum [2022-06-27T20:24:30.102Z] c516ae0d96e1: Download complete [2022-06-27T20:24:30.102Z] 684cea983483: Verifying Checksum [2022-06-27T20:24:30.102Z] 684cea983483: Download complete [2022-06-27T20:24:30.102Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T20:24:30.102Z] 59bf1c3509f3: Download complete [2022-06-27T20:24:30.102Z] dd3240ac7de5: Verifying Checksum [2022-06-27T20:24:30.102Z] dd3240ac7de5: Download complete [2022-06-27T20:24:30.102Z] b1e948a4e11c: Verifying Checksum [2022-06-27T20:24:30.102Z] b1e948a4e11c: Download complete [2022-06-27T20:24:30.102Z] 59bf1c3509f3: Pull complete [2022-06-27T20:24:30.367Z] 666ba61612fd: Pull complete [2022-06-27T20:24:30.367Z] 8ed8ca486205: Pull complete [2022-06-27T20:24:30.627Z] 646ad004c059: Verifying Checksum [2022-06-27T20:24:30.627Z] 646ad004c059: Download complete [2022-06-27T20:24:30.627Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T20:24:30.885Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T20:24:30.885Z] cc1cd167ecdc: Download complete [2022-06-27T20:24:35.089Z] cc1cd167ecdc: Pull complete [2022-06-27T20:24:35.089Z] c516ae0d96e1: Pull complete [2022-06-27T20:24:35.089Z] 684cea983483: Pull complete [2022-06-27T20:24:35.089Z] dd3240ac7de5: Pull complete [2022-06-27T20:24:35.089Z] b1e948a4e11c: Pull complete [2022-06-27T20:24:37.635Z] a8fd76ee1af6: Pull complete [2022-06-27T20:24:38.209Z] 646ad004c059: Pull complete [2022-06-27T20:24:38.209Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T20:24:38.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T20:24:38.470Z] ---> 8f69c11f6b0c [2022-06-27T20:24:38.470Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T20:24:39.855Z] ---> Running in 5090a80f19db [2022-06-27T20:24:39.855Z] Removing intermediate container 5090a80f19db [2022-06-27T20:24:39.855Z] ---> 2e5af49c600f [2022-06-27T20:24:39.855Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:24:39.855Z] ---> Running in 6d304ab11098 [2022-06-27T20:24:40.115Z] Removing intermediate container 6d304ab11098 [2022-06-27T20:24:40.115Z] ---> f149d68768a5 [2022-06-27T20:24:40.115Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:24:40.115Z] ---> Running in d76ca8a3811d [2022-06-27T20:24:40.115Z] Removing intermediate container d76ca8a3811d [2022-06-27T20:24:40.115Z] ---> 6646be2b4420 [2022-06-27T20:24:40.115Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T20:24:40.115Z] ---> Running in a9846badc461 [2022-06-27T20:24:40.376Z] Removing intermediate container a9846badc461 [2022-06-27T20:24:40.376Z] ---> 195cb52e191f [2022-06-27T20:24:40.376Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:24:40.376Z] ---> Running in 06fa06ae3039 [2022-06-27T20:24:40.948Z] Removing intermediate container 06fa06ae3039 [2022-06-27T20:24:40.948Z] ---> cbb7b674c626 [2022-06-27T20:24:40.948Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:24:40.948Z] ---> Running in 67bccfb048cf [2022-06-27T20:24:41.208Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T20:24:42.150Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T20:24:42.150Z] OK: 221 MiB in 52 packages [2022-06-27T20:24:42.418Z] Removing intermediate container 67bccfb048cf [2022-06-27T20:24:42.418Z] ---> 84e72dc075e2 [2022-06-27T20:24:42.418Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T20:24:42.688Z] ---> Running in 2d3cc5150f68 [2022-06-27T20:24:42.688Z] Removing intermediate container 2d3cc5150f68 [2022-06-27T20:24:42.688Z] ---> 0beeaef92b56 [2022-06-27T20:24:42.688Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T20:24:42.948Z] ---> b5eb8c56c171 [2022-06-27T20:24:42.948Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:24:42.948Z] ---> Running in a45f4cd3f3ed [2022-06-27T20:24:43.289Z] Still waiting to schedule task [2022-06-27T20:24:43.289Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16139’ is offline [2022-06-27T20:24:57.866Z] Removing intermediate container a45f4cd3f3ed [2022-06-27T20:24:57.866Z] ---> 7815a0a33c34 [2022-06-27T20:24:57.866Z] Step 12/13 : COPY . . [2022-06-27T20:24:57.866Z] ---> 8460ef17c020 [2022-06-27T20:24:57.866Z] Step 13/13 : RUN ${MAKE} [2022-06-27T20:24:57.866Z] ---> Running in 79d1bc237008 [2022-06-27T20:24:57.866Z] noop [2022-06-27T20:24:57.866Z] Removing intermediate container 79d1bc237008 [2022-06-27T20:24:57.866Z] ---> 64ca722ae9cc [2022-06-27T20:24:57.866Z] Successfully built 64ca722ae9cc [2022-06-27T20:24:57.866Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:24:58.186Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T20:24:58.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:24:58.273Z] prd-ubuntu20.04-docker-8c-8g-16140 does not seem to be running inside a container [2022-06-27T20:24:58.313Z] $ 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-27T20:24:58.701Z] $ docker top a37c722b6b6f532afb223f2eeb7301679055e30b08263132e1164ff992d27854 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:24:59.065Z] + go version [2022-06-27T20:24:59.065Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T20:24:59.077Z] $ docker stop --time=1 a37c722b6b6f532afb223f2eeb7301679055e30b08263132e1164ff992d27854 [2022-06-27T20:25:00.345Z] $ docker rm -f a37c722b6b6f532afb223f2eeb7301679055e30b08263132e1164ff992d27854 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:25:00.770Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T20:25:00.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:25:00.849Z] prd-ubuntu20.04-docker-8c-8g-16140 does not seem to be running inside a container [2022-06-27T20:25:00.877Z] $ 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-27T20:25:01.239Z] $ docker top 478cc025e92ce4e44c5251bb7dca2a22c8d57494f1ac2aa438674d1e97d1b6fc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T20:25:01.694Z] + make test [2022-06-27T20:25:01.694Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T20:25:01.959Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T20:25:11.974Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T20:25:12.233Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.012s coverage: 1.4% of statements [2022-06-27T20:25:16.431Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.404s coverage: 13.8% of statements [2022-06-27T20:25:23.007Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T20:25:28.287Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T20:25:28.287Z] ./internal/driver/config.go [2022-06-27T20:25:28.287Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T20:25:28.287Z] make: *** [Makefile:57: test] Error 1 [Pipeline] } [2022-06-27T20:25:28.300Z] $ docker stop --time=1 478cc025e92ce4e44c5251bb7dca2a22c8d57494f1ac2aa438674d1e97d1b6fc [2022-06-27T20:25:30.008Z] $ docker rm -f 478cc025e92ce4e44c5251bb7dca2a22c8d57494f1ac2aa438674d1e97d1b6fc [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-27T20:25:30.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:25:30.620Z] [2022-06-27T20:25:30.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:25:30.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:25:30.928Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T20:25:30.928Z] 5eb5b503b376: Pulling fs layer [2022-06-27T20:25:30.928Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T20:25:30.928Z] ec43610c2a17: Pulling fs layer [2022-06-27T20:25:30.928Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T20:25:30.928Z] 33b1e0a273af: Pulling fs layer [2022-06-27T20:25:30.928Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T20:25:30.928Z] 2f39f015ded8: Pulling fs layer [2022-06-27T20:25:30.928Z] 33b1e0a273af: Waiting [2022-06-27T20:25:30.928Z] 5d3b04190fa2: Waiting [2022-06-27T20:25:30.928Z] 3a2ae6a8a46f: Waiting [2022-06-27T20:25:30.928Z] 2f39f015ded8: Waiting [2022-06-27T20:25:30.928Z] 5c69ac0246d0: Verifying Checksum [2022-06-27T20:25:30.928Z] 5c69ac0246d0: Download complete [2022-06-27T20:25:30.928Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T20:25:30.928Z] 3a2ae6a8a46f: Download complete [2022-06-27T20:25:30.928Z] 33b1e0a273af: Verifying Checksum [2022-06-27T20:25:30.929Z] 33b1e0a273af: Download complete [2022-06-27T20:25:30.929Z] 5d3b04190fa2: Download complete [2022-06-27T20:25:30.929Z] ec43610c2a17: Verifying Checksum [2022-06-27T20:25:30.929Z] ec43610c2a17: Download complete [2022-06-27T20:25:31.186Z] 5eb5b503b376: Verifying Checksum [2022-06-27T20:25:31.186Z] 5eb5b503b376: Download complete [2022-06-27T20:25:31.754Z] 2f39f015ded8: Download complete [2022-06-27T20:25:32.324Z] 5eb5b503b376: Pull complete [2022-06-27T20:25:32.583Z] 5c69ac0246d0: Pull complete [2022-06-27T20:25:32.843Z] ec43610c2a17: Pull complete [2022-06-27T20:25:33.107Z] 3a2ae6a8a46f: Pull complete [2022-06-27T20:25:33.366Z] 33b1e0a273af: Pull complete [2022-06-27T20:25:33.366Z] 5d3b04190fa2: Pull complete [2022-06-27T20:25:37.561Z] 2f39f015ded8: Pull complete [2022-06-27T20:25:37.561Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T20:25:37.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:25:37.561Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:25:37.651Z] prd-ubuntu20.04-docker-8c-8g-16140 does not seem to be running inside a container [2022-06-27T20:25:37.686Z] $ 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-27T20:25:39.102Z] $ docker top e415afbaf85bec576bb9f925cedd591188cad587a457797c235f549d3cd57d8d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:25:39.480Z] ---> job-cost.sh [2022-06-27T20:25:39.480Z] lf-activate-venv: SKIPPING [2022-06-27T20:25:39.480Z] INFO: No Stack... [2022-06-27T20:25:40.047Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T20:25:40.307Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T20:25:40.595Z] + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv [2022-06-27T20:25:40.596Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T20:25:40.610Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] [2022-06-27T20:25:40.617Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] did not exist. Created. [2022-06-27T20:25:40.617Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T20:25:40.926Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T20:25:40.962Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T20:25:40.971Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T20:25:40.987Z] $ docker stop --time=1 e415afbaf85bec576bb9f925cedd591188cad587a457797c235f549d3cd57d8d [2022-06-27T20:25:42.126Z] $ docker rm -f e415afbaf85bec576bb9f925cedd591188cad587a457797c235f549d3cd57d8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T20:25:42.250Z] Failed in branch amd64 [2022-06-27T20:26:20.423Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16141 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws [2022-06-27T20:26:20.433Z] Running in /w/workspace/device-onvif-camera/18 [Pipeline] { [Pipeline] checkout [2022-06-27T20:26:20.475Z] Selected Git installation does not exist. Using Default [2022-06-27T20:26:20.475Z] The recommended git tool is: NONE [2022-06-27T20:26:26.891Z] using credential edgex-jenkins-ssh [2022-06-27T20:26:26.910Z] Cloning the remote Git repository [2022-06-27T20:26:26.978Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T20:26:27.061Z] > git init /w/workspace/device-onvif-camera/18 # timeout=10 [2022-06-27T20:26:27.123Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T20:26:27.124Z] > git --version # timeout=10 [2022-06-27T20:26:27.199Z] > git --version # 'git version 2.25.1' [2022-06-27T20:26:27.201Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:26:27.312Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T20:26:28.152Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T20:26:28.172Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T20:26:28.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T20:26:28.234Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T20:26:28.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:26:28.251Z] > 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-27T20:26:28.742Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 0d7e8d3797501fd6c84f8e8e92d2abb8d4fbc968 [2022-06-27T20:26:29.123Z] Merge succeeded, producing 3c2f01796f7c679798e80d02541898615556f002 [2022-06-27T20:26:29.123Z] Checking out Revision 3c2f01796f7c679798e80d02541898615556f002 (PR-90) [2022-06-27T20:26:28.764Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T20:26:28.780Z] > git checkout -f 0d7e8d3797501fd6c84f8e8e92d2abb8d4fbc968 # timeout=10 [2022-06-27T20:26:28.918Z] > git remote # timeout=10 [2022-06-27T20:26:28.941Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T20:26:28.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:26:28.968Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-27T20:26:29.101Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T20:26:29.133Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T20:26:29.162Z] > git checkout -f 3c2f01796f7c679798e80d02541898615556f002 # timeout=10 [2022-06-27T20:26:33.288Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-27T20:26:33.312Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T20:26:33.298Z] > git rev-list --no-walk 61ce53615c5f4fa442b73a6596cf6df9b9be2c3a # timeout=10 [2022-06-27T20:26:34.203Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T20:26:34.203Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T20:26:34.203Z] Dload Upload Total Spent Left Speed [2022-06-27T20:26:34.203Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 70017 0 --:--:-- --:--:-- --:--:-- 70017 [Pipeline] sh [2022-06-27T20:26:34.972Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T20:26:35.320Z] + sudo tee /etc/docker/daemon.new [2022-06-27T20:26:35.320Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T20:26:35.320Z] { [2022-06-27T20:26:35.320Z] "registry-mirrors": [ [2022-06-27T20:26:35.320Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T20:26:35.320Z] ], [2022-06-27T20:26:35.320Z] "bip": "10.250.0.254/24", [2022-06-27T20:26:35.320Z] "hosts": [ [2022-06-27T20:26:35.320Z] "tcp://0.0.0.0:5555", [2022-06-27T20:26:35.320Z] "unix:///var/run/docker.sock" [2022-06-27T20:26:35.320Z] ], [2022-06-27T20:26:35.320Z] "mtu": 1458, [2022-06-27T20:26:35.320Z] "selinux-enabled": true, [2022-06-27T20:26:35.320Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T20:26:35.320Z] } [Pipeline] sh [2022-06-27T20:26:35.668Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T20:26:36.011Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:26:54.366Z] provisioning config files... [2022-06-27T20:26:54.389Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/18@tmp/config8830098502406233742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:26:54.751Z] ---> docker-login.sh [2022-06-27T20:26:54.751Z] nexus3.edgexfoundry.org:10001 [2022-06-27T20:26:55.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:26:55.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:26:55.627Z] Configure a credential helper to remove this warning. See [2022-06-27T20:26:55.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:26:55.627Z] [2022-06-27T20:26:55.627Z] Login Succeeded [2022-06-27T20:26:55.627Z] nexus3.edgexfoundry.org:10002 [2022-06-27T20:26:55.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:26:56.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:26:56.177Z] Configure a credential helper to remove this warning. See [2022-06-27T20:26:56.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:26:56.177Z] [2022-06-27T20:26:56.177Z] Login Succeeded [2022-06-27T20:26:56.177Z] nexus3.edgexfoundry.org:10003 [2022-06-27T20:26:56.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:26:56.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:26:56.455Z] Configure a credential helper to remove this warning. See [2022-06-27T20:26:56.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:26:56.455Z] [2022-06-27T20:26:56.455Z] Login Succeeded [2022-06-27T20:26:56.455Z] nexus3.edgexfoundry.org:10004 [2022-06-27T20:26:57.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:26:57.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:26:57.061Z] Configure a credential helper to remove this warning. See [2022-06-27T20:26:57.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:26:57.061Z] [2022-06-27T20:26:57.061Z] Login Succeeded [2022-06-27T20:26:57.061Z] docker.io [2022-06-27T20:26:57.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:26:57.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:26:57.932Z] Configure a credential helper to remove this warning. See [2022-06-27T20:26:57.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:26:57.932Z] [2022-06-27T20:26:57.932Z] Login Succeeded [2022-06-27T20:26:57.932Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T20:26:57.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T20:26:58.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:26:58.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:26:58.534Z] ========================================================= [2022-06-27T20:26:58.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T20:26:58.534Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:26:58.889Z] + 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-27T20:26:59.170Z] Sending build context to Docker daemon 6.058MB [2022-06-27T20:26:59.170Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T20:26:59.170Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T20:26:59.448Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T20:26:59.448Z] 9b3977197b4f: Pulling fs layer [2022-06-27T20:26:59.448Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T20:26:59.448Z] 94645a83ff95: Pulling fs layer [2022-06-27T20:26:59.448Z] e6fb740bc735: Pulling fs layer [2022-06-27T20:26:59.448Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T20:26:59.448Z] 355e64cbe906: Pulling fs layer [2022-06-27T20:26:59.448Z] 63ab81a10011: Pulling fs layer [2022-06-27T20:26:59.448Z] 555d1d1c4555: Pulling fs layer [2022-06-27T20:26:59.448Z] 7d9057610161: Pulling fs layer [2022-06-27T20:26:59.448Z] e6fb740bc735: Waiting [2022-06-27T20:26:59.448Z] 555d1d1c4555: Waiting [2022-06-27T20:26:59.448Z] 355e64cbe906: Waiting [2022-06-27T20:26:59.448Z] 63ab81a10011: Waiting [2022-06-27T20:26:59.448Z] 7d9057610161: Waiting [2022-06-27T20:26:59.448Z] 3a77bd46dcc9: Waiting [2022-06-27T20:26:59.448Z] 94645a83ff95: Verifying Checksum [2022-06-27T20:26:59.448Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T20:26:59.448Z] 1a89e8eeedd5: Download complete [2022-06-27T20:26:59.448Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T20:26:59.448Z] 3a77bd46dcc9: Download complete [2022-06-27T20:26:59.448Z] 355e64cbe906: Verifying Checksum [2022-06-27T20:26:59.448Z] 355e64cbe906: Download complete [2022-06-27T20:26:59.448Z] 9b3977197b4f: Verifying Checksum [2022-06-27T20:26:59.448Z] 9b3977197b4f: Download complete [2022-06-27T20:26:59.448Z] 63ab81a10011: Verifying Checksum [2022-06-27T20:26:59.448Z] 63ab81a10011: Download complete [2022-06-27T20:27:00.458Z] 9b3977197b4f: Pull complete [2022-06-27T20:27:00.736Z] 7d9057610161: Verifying Checksum [2022-06-27T20:27:00.736Z] 7d9057610161: Download complete [2022-06-27T20:27:01.020Z] 1a89e8eeedd5: Pull complete [2022-06-27T20:27:01.300Z] 94645a83ff95: Pull complete [2022-06-27T20:27:01.903Z] 555d1d1c4555: Verifying Checksum [2022-06-27T20:27:01.903Z] 555d1d1c4555: Download complete [2022-06-27T20:27:02.505Z] e6fb740bc735: Download complete [2022-06-27T20:27:14.923Z] e6fb740bc735: Pull complete [2022-06-27T20:27:14.923Z] 3a77bd46dcc9: Pull complete [2022-06-27T20:27:14.923Z] 355e64cbe906: Pull complete [2022-06-27T20:27:14.923Z] 63ab81a10011: Pull complete [2022-06-27T20:27:21.652Z] 555d1d1c4555: Pull complete [2022-06-27T20:27:23.639Z] 7d9057610161: Pull complete [2022-06-27T20:27:23.639Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T20:27:23.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T20:27:23.639Z] ---> 819e984ddca1 [2022-06-27T20:27:23.639Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T20:27:24.236Z] ---> Running in 981a263d1448 [2022-06-27T20:27:24.510Z] Removing intermediate container 981a263d1448 [2022-06-27T20:27:24.511Z] ---> 6cb7166117d8 [2022-06-27T20:27:24.511Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:27:24.511Z] ---> Running in b49675388771 [2022-06-27T20:27:24.784Z] Removing intermediate container b49675388771 [2022-06-27T20:27:24.784Z] ---> 6c652ec49aaa [2022-06-27T20:27:24.784Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:27:25.059Z] ---> Running in 8b175019aa95 [2022-06-27T20:27:25.333Z] Removing intermediate container 8b175019aa95 [2022-06-27T20:27:25.333Z] ---> e200b23e683b [2022-06-27T20:27:25.333Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T20:27:25.333Z] ---> Running in 1875d275dade [2022-06-27T20:27:25.608Z] Removing intermediate container 1875d275dade [2022-06-27T20:27:25.608Z] ---> c96bf8866b38 [2022-06-27T20:27:25.608Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:27:25.888Z] ---> Running in 65f25ccb0c07 [2022-06-27T20:27:28.527Z] Removing intermediate container 65f25ccb0c07 [2022-06-27T20:27:28.527Z] ---> 68328eb28fe1 [2022-06-27T20:27:28.527Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:27:28.527Z] ---> Running in 5c9b6c2f1473 [2022-06-27T20:27:29.510Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T20:27:30.494Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T20:27:31.492Z] OK: 220 MiB in 52 packages [2022-06-27T20:27:32.096Z] Removing intermediate container 5c9b6c2f1473 [2022-06-27T20:27:32.096Z] ---> 335270f0662a [2022-06-27T20:27:32.096Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T20:27:32.096Z] ---> Running in fb56ee507bb8 [2022-06-27T20:27:32.372Z] Removing intermediate container fb56ee507bb8 [2022-06-27T20:27:32.372Z] ---> 94c1bec8e1f4 [2022-06-27T20:27:32.372Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T20:27:32.973Z] ---> 3a7bb71ae88a [2022-06-27T20:27:32.973Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:27:32.973Z] ---> Running in df164a34401f [2022-06-27T20:28:19.981Z] Removing intermediate container df164a34401f [2022-06-27T20:28:19.981Z] ---> c4504fe3e6a3 [2022-06-27T20:28:19.981Z] Step 12/13 : COPY . . [2022-06-27T20:28:19.981Z] ---> 0a55d0f3ead3 [2022-06-27T20:28:19.981Z] Step 13/13 : RUN ${MAKE} [2022-06-27T20:28:19.981Z] ---> Running in 67bb5e437a48 [2022-06-27T20:28:19.981Z] noop [2022-06-27T20:28:20.579Z] Removing intermediate container 67bb5e437a48 [2022-06-27T20:28:20.579Z] ---> 538047f9cc8d [2022-06-27T20:28:20.579Z] Successfully built 538047f9cc8d [2022-06-27T20:28:20.579Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:28:20.944Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T20:28:20.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:28:21.203Z] prd-ubuntu20.04-docker-arm64-4c-16g-16141 does not seem to be running inside a container [2022-06-27T20:28:21.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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-27T20:28:22.585Z] $ docker top 9fe55016f52c44fb541fa0fb7704c948013c29950d7f4a45bf043c6aa6d36482 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:28:23.508Z] + go version [2022-06-27T20:28:23.508Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T20:28:23.545Z] $ docker stop --time=1 9fe55016f52c44fb541fa0fb7704c948013c29950d7f4a45bf043c6aa6d36482 [2022-06-27T20:28:25.195Z] $ docker rm -f 9fe55016f52c44fb541fa0fb7704c948013c29950d7f4a45bf043c6aa6d36482 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:28:25.800Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T20:28:25.800Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:28:26.055Z] prd-ubuntu20.04-docker-arm64-4c-16g-16141 does not seem to be running inside a container [2022-06-27T20:28:26.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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-27T20:28:27.419Z] $ docker top 184a963faa12e7300afea1f46380f3111e0682f6396d26fa0897e436a610b2cf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T20:28:28.331Z] + make test [2022-06-27T20:28:28.331Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T20:28:30.324Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T20:30:07.231Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T20:30:07.231Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.078s coverage: 1.4% of statements [2022-06-27T20:30:17.389Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.083s coverage: 13.8% of statements [2022-06-27T20:30:17.986Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T20:30:17.986Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T20:30:50.392Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T20:30:50.392Z] ./internal/driver/config.go [2022-06-27T20:30:50.392Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T20:30:50.392Z] make: *** [Makefile:57: test] Error 1 [Pipeline] } [2022-06-27T20:30:50.418Z] $ docker stop --time=1 184a963faa12e7300afea1f46380f3111e0682f6396d26fa0897e436a610b2cf [2022-06-27T20:30:52.186Z] $ docker rm -f 184a963faa12e7300afea1f46380f3111e0682f6396d26fa0897e436a610b2cf [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-27T20:30:53.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:30:53.264Z] [2022-06-27T20:30:53.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:30:53.618Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:30:53.895Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T20:30:53.895Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T20:30:53.895Z] 04944245beec: Pulling fs layer [2022-06-27T20:30:53.895Z] 699f458cf7ca: Pulling fs layer [2022-06-27T20:30:53.895Z] 765212b225bb: Pulling fs layer [2022-06-27T20:30:53.895Z] f23df028b6ca: Pulling fs layer [2022-06-27T20:30:53.895Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T20:30:53.895Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T20:30:53.895Z] f23df028b6ca: Waiting [2022-06-27T20:30:53.895Z] d65c8cfc05b1: Waiting [2022-06-27T20:30:53.895Z] 765212b225bb: Waiting [2022-06-27T20:30:53.895Z] 2437ff75d9bd: Waiting [2022-06-27T20:30:53.895Z] 04944245beec: Verifying Checksum [2022-06-27T20:30:53.895Z] 04944245beec: Download complete [2022-06-27T20:30:53.895Z] 765212b225bb: Verifying Checksum [2022-06-27T20:30:53.895Z] 765212b225bb: Download complete [2022-06-27T20:30:53.895Z] f23df028b6ca: Download complete [2022-06-27T20:30:54.170Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T20:30:54.170Z] d65c8cfc05b1: Download complete [2022-06-27T20:30:54.170Z] 699f458cf7ca: Verifying Checksum [2022-06-27T20:30:54.170Z] 699f458cf7ca: Download complete [2022-06-27T20:30:54.445Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T20:30:54.445Z] 8998bd30e6a1: Download complete [2022-06-27T20:30:57.076Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T20:30:57.076Z] 2437ff75d9bd: Download complete [2022-06-27T20:30:59.058Z] 8998bd30e6a1: Pull complete [2022-06-27T20:30:59.332Z] 04944245beec: Pull complete [2022-06-27T20:31:00.766Z] 699f458cf7ca: Pull complete [2022-06-27T20:31:01.043Z] 765212b225bb: Pull complete [2022-06-27T20:31:02.024Z] f23df028b6ca: Pull complete [2022-06-27T20:31:02.024Z] d65c8cfc05b1: Pull complete [2022-06-27T20:31:17.128Z] 2437ff75d9bd: Pull complete [2022-06-27T20:31:17.128Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T20:31:17.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:31:17.128Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:31:17.402Z] prd-ubuntu20.04-docker-arm64-4c-16g-16141 does not seem to be running inside a container [2022-06-27T20:31:17.491Z] $ 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/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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-27T20:31:19.957Z] $ docker top 200906dbd9dfc60f117f7fdf3ca96ab40cd4018c9050fca080958b4b28c3a445 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:31:20.868Z] ---> job-cost.sh [2022-06-27T20:31:20.868Z] lf-activate-venv: SKIPPING [2022-06-27T20:31:20.868Z] INFO: No Stack... [2022-06-27T20:31:21.141Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T20:31:22.116Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T20:31:22.783Z] + cut -d, -f6 [2022-06-27T20:31:22.783Z] + cat /w/workspace/device-onvif-camera/18/archives/cost.csv [Pipeline] lock [2022-06-27T20:31:22.850Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] [2022-06-27T20:31:22.856Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] did not exist. Created. [2022-06-27T20:31:22.856Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T20:31:23.547Z] /w/workspace/device-onvif-camera/18@tmp/durable-780551b4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T20:31:24.237Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T20:31:24.266Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T20:31:24.760Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T20:31:24.770Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T20:31:24.796Z] $ docker stop --time=1 200906dbd9dfc60f117f7fdf3ca96ab40cd4018c9050fca080958b4b28c3a445 [2022-06-27T20:31:26.296Z] $ docker rm -f 200906dbd9dfc60f117f7fdf3ca96ab40cd4018c9050fca080958b4b28c3a445 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T20:31:26.627Z] 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-27T20:31:27.361Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] [2022-06-27T20:31:27.361Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T20:31:27.361Z] total 16 [2022-06-27T20:31:27.361Z] drwxr-xr-x 3 root root 4096 Jun 27 20:25 . [2022-06-27T20:31:27.361Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:25 .. [2022-06-27T20:31:27.361Z] drwxr-xr-x 2 root root 4096 Jun 27 20:25 cost [2022-06-27T20:31:27.361Z] -rw-r--r-- 1 root root 90 Jun 27 20:25 cost.csv [2022-06-27T20:31:27.361Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T20:31:27.361Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T20:31:27.361Z] total 16 [2022-06-27T20:31:27.361Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 20:25 . [2022-06-27T20:31:27.361Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:25 .. [2022-06-27T20:31:27.362Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 20:25 cost [2022-06-27T20:31:27.362Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 27 20:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:31:27.654Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:31:28.513Z] ---> package-listing.sh [2022-06-27T20:31:28.513Z] ++ facter osfamily [2022-06-27T20:31:28.513Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T20:31:28.773Z] + OS_FAMILY=debian [2022-06-27T20:31:28.773Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 [2022-06-27T20:31:28.773Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T20:31:28.773Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T20:31:28.773Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T20:31:28.773Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T20:31:28.773Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-27T20:31:28.773Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T20:31:28.773Z] + case "${OS_FAMILY}" in [2022-06-27T20:31:28.773Z] + dpkg -l [2022-06-27T20:31:28.773Z] + grep '^ii' [2022-06-27T20:31:28.773Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T20:31:28.773Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T20:31:28.773Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T20:31:28.773Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-27T20:31:28.773Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [2022-06-27T20:31:28.773Z] + 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-27T20:31:28.784Z] 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-27T20:31:29.061Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:31:29.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:31:29.634Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:31:29.712Z] prd-ubuntu20.04-docker-8c-8g-16140 does not seem to be running inside a container [2022-06-27T20:31:29.740Z] $ 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-27T20:31:30.020Z] $ docker top 41d2c710e9f20d85c4945a4928bb8059ba059606ff88ea66099018f43d3c9eae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:31:30.367Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T20:31:30.652Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T20:31:30.939Z] + ls /var/log/sa-host [2022-06-27T20:31:30.939Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:31:31.061Z] provisioning config files... [2022-06-27T20:31:31.069Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config2915127417110011599tmp [Pipeline] { [Pipeline] echo [2022-06-27T20:31:31.083Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:31:31.367Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T20:31:31.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:31:31.713Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T20:31:31.722Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:31:32.018Z] ---> sudo-logs.sh [2022-06-27T20:31:32.018Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T20:31:32.070Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:31:32.374Z] ---> job-cost.sh [2022-06-27T20:31:32.374Z] lf-activate-venv: SKIPPING [2022-06-27T20:31:32.374Z] DEBUG: total: 0.2199999988079071 [2022-06-27T20:31:32.374Z] INFO: Retrieving Stack Cost... [2022-06-27T20:31:32.632Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T20:31:33.202Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T20:31:33.212Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:31:33.496Z] ---> logs-deploy.sh [2022-06-27T20:31:33.496Z] lf-activate-venv: SKIPPING [2022-06-27T20:31:33.496Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/18 [2022-06-27T20:31:33.496Z] INFO: archiving workspace using pattern(s): [2022-06-27T20:31:34.436Z] Archives upload complete. [2022-06-27T20:31:34.436Z] INFO: archiving logs to Nexus