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 8e1962d32e844a66ca741a4e6e70d6c887269c0c 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-ssh10721265708558235130.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-ssh4870003972884168218.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-ssh9917041557599073779.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-ssh14734975195235324124.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-ssh4712124148028448804.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15552 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 8e1962d32e844a66ca741a4e6e70d6c887269c0c Merge succeeded, producing 2510acb7c1ee4831ae8ad747a8bf58278a9d089e Checking out Revision 2510acb7c1ee4831ae8ad747a8bf58278a9d089e (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 8e1962d32e844a66ca741a4e6e70d6c887269c0c # 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 2510acb7c1ee4831ae8ad747a8bf58278a9d089e # 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 18:09:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:09:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:09:42 ========================================================= 18:09:42 EdgeX Global Pipelines Version Info 18:09:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 84bdb32f263b2b1d4ec1a1d00d36694782ed3126 # timeout=10 18:09:42 ------------------- 18:09:42 stable info: 18:09:42 ------------------- 18:09:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:09:42 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 18:09:42 Message: update stable to v1.0.234 18:09:43 ------------------- 18:09:43 experimental info: 18:09:43 ------------------- 18:09:43 Commited By: **** collab-it+edgex@linuxfoundation.org 18:09:43 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 18:09:43 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2510acb7c1ee4831ae8ad747a8bf58278a9d089e [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2510acb [Pipeline] echo 18:09:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:44 provisioning config files... 18:09:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config7499930022480162501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:44 ---> docker-login.sh 18:09:44 nexus3.edgexfoundry.org:10001 18:09:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:44 Configure a credential helper to remove this warning. See 18:09:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:44 18:09:44 Login Succeeded 18:09:44 nexus3.edgexfoundry.org:10002 18:09:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:44 Configure a credential helper to remove this warning. See 18:09:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:44 18:09:44 Login Succeeded 18:09:44 nexus3.edgexfoundry.org:10003 18:09:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:45 Configure a credential helper to remove this warning. See 18:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:45 18:09:45 Login Succeeded 18:09:45 nexus3.edgexfoundry.org:10004 18:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:45 Configure a credential helper to remove this warning. See 18:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:45 18:09:45 Login Succeeded 18:09:45 docker.io 18:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:45 Configure a credential helper to remove this warning. See 18:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:45 18:09:45 Login Succeeded 18:09:45 ---> docker-login.sh ends [Pipeline] } 18:09:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:09:46 + git rev-list -1 --merges 2510acb7c1ee4831ae8ad747a8bf58278a9d089e~1..2510acb7c1ee4831ae8ad747a8bf58278a9d089e [Pipeline] echo 18:09:46 -----------> git rev-list -1 --merges 2510acb7c1ee4831ae8ad747a8bf58278a9d089e~1..2510acb7c1ee4831ae8ad747a8bf58278a9d089e 2510acb7c1ee4831ae8ad747a8bf58278a9d089e 18:09:46 2510acb7c1ee4831ae8ad747a8bf58278a9d089e [false] [Pipeline] sh 18:09:46 + git log --format=format:%s -1 2510acb7c1ee4831ae8ad747a8bf58278a9d089e [Pipeline] echo 18:09:46 ========================================================= 18:09:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:09:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:09:46 + git log --format=format:%s -1 2510acb7c1ee4831ae8ad747a8bf58278a9d089e [Pipeline] echo 18:09:46 [semverPrep] GIT_COMMIT: 2510acb7c1ee4831ae8ad747a8bf58278a9d089e, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo 18:09:46 [semverPrep] This is not a build commit. [Pipeline] sh 18:09:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:09:47 + grep -v github /etc/ssh/ssh_known_hosts 18:09:47 + [ -e /tmp/ssh_known_hosts ] 18:09:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:09:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:09:47 + sudo tee -a /etc/ssh/ssh_known_hosts 18:09:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:09:47 18:09:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:09:47 0.1.4: Pulling from edgex-devops/py-git-semver 18:09:47 42c077c10790: Pulling fs layer 18:09:47 f63e77b7563a: Pulling fs layer 18:09:47 bd5fdadae976: Pulling fs layer 18:09:47 205491f53016: Pulling fs layer 18:09:47 df18705c85c3: Pulling fs layer 18:09:47 bdb3f477010e: Pulling fs layer 18:09:47 c8a8fc8e1c8f: Pulling fs layer 18:09:47 2c6e9b1d212d: Pulling fs layer 18:09:47 bdb8f0575790: Pulling fs layer 18:09:47 386e3cb2ff24: Pulling fs layer 18:09:47 2343380bae48: Pulling fs layer 18:09:47 c8a8fc8e1c8f: Waiting 18:09:47 386e3cb2ff24: Waiting 18:09:47 2343380bae48: Waiting 18:09:47 2c6e9b1d212d: Waiting 18:09:47 bdb8f0575790: Waiting 18:09:47 df18705c85c3: Waiting 18:09:47 bdb3f477010e: Waiting 18:09:47 f63e77b7563a: Download complete 18:09:47 205491f53016: Verifying Checksum 18:09:47 205491f53016: Download complete 18:09:48 df18705c85c3: Verifying Checksum 18:09:48 df18705c85c3: Download complete 18:09:48 bdb3f477010e: Verifying Checksum 18:09:48 bdb3f477010e: Download complete 18:09:48 bd5fdadae976: Verifying Checksum 18:09:48 bd5fdadae976: Download complete 18:09:48 2c6e9b1d212d: Verifying Checksum 18:09:48 2c6e9b1d212d: Download complete 18:09:48 bdb8f0575790: Download complete 18:09:48 386e3cb2ff24: Verifying Checksum 18:09:48 386e3cb2ff24: Download complete 18:09:48 2343380bae48: Verifying Checksum 18:09:48 2343380bae48: Download complete 18:09:48 42c077c10790: Verifying Checksum 18:09:48 42c077c10790: Download complete 18:09:48 c8a8fc8e1c8f: Download complete 18:09:49 42c077c10790: Pull complete 18:09:49 f63e77b7563a: Pull complete 18:09:50 bd5fdadae976: Pull complete 18:09:50 205491f53016: Pull complete 18:09:50 df18705c85c3: Pull complete 18:09:50 bdb3f477010e: Pull complete 18:09:52 c8a8fc8e1c8f: Pull complete 18:09:52 2c6e9b1d212d: Pull complete 18:09:53 bdb8f0575790: Pull complete 18:09:53 386e3cb2ff24: Pull complete 18:09:53 2343380bae48: Pull complete 18:09:53 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 18:09:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:09:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:53 prd-ubuntu20.04-docker-8c-8g-15552 does not seem to be running inside a container 18:09:53 $ 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 18:09:54 $ docker top 37e7d9bbcd7cc658404ef3a81b8bfaa2219d824a0a5dfd13dcfbe0cfb199fd6b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:09:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:09:55 [ssh-agent] Looking for ssh-agent implementation... 18:09:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:09:55 $ docker exec 37e7d9bbcd7cc658404ef3a81b8bfaa2219d824a0a5dfd13dcfbe0cfb199fd6b ssh-agent 18:09:55 SSH_AUTH_SOCK=/tmp/ssh-ukELWIaV04V5/agent.33 18:09:55 SSH_AGENT_PID=39 18:09:55 Running ssh-add (command line suppressed) 18:09:55 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_7358570671524801626.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_7358570671524801626.key) 18:09:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:09:55 + git tag --points-at HEAD [Pipeline] } 18:09:55 $ docker exec --env ******** --env ******** 37e7d9bbcd7cc658404ef3a81b8bfaa2219d824a0a5dfd13dcfbe0cfb199fd6b ssh-agent -k 18:09:55 unset SSH_AUTH_SOCK; 18:09:55 unset SSH_AGENT_PID; 18:09:55 echo Agent pid 39 killed; 18:09:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:09:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:09:55 [ssh-agent] Looking for ssh-agent implementation... 18:09:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:09:56 $ docker exec 37e7d9bbcd7cc658404ef3a81b8bfaa2219d824a0a5dfd13dcfbe0cfb199fd6b ssh-agent 18:09:56 SSH_AUTH_SOCK=/tmp/ssh-sJxfzDHJXYVm/agent.72 18:09:56 SSH_AGENT_PID=78 18:09:56 Running ssh-add (command line suppressed) 18:09:56 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_5545777884711013413.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_5545777884711013413.key) 18:09:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:09:56 + git semver init 18:09:56 2022-06-24 18:09:56,892 [run_init] DEBUG init version:0.0.0 force:False 18:09:56 2022-06-24 18:09:56,893 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver 18:09:56 2022-06-24 18:09:56,893 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver 18:09:56 2022-06-24 18:09:56,894 [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) 18:09:57 2022-06-24 18:09:57,578 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude 18:09:57 2022-06-24 18:09:57,579 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 with force:False 18:09:57 2022-06-24 18:09:57,579 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 18:09:57 2022-06-24 18:09:57,584 [execute] INFO git cat-file --batch-check 18:09:57 2022-06-24 18:09:57,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 18:09:57 2022-06-24 18:09:57,592 [execute] INFO git cat-file --batch 18:09:57 2022-06-24 18:09:57,592 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 18:09:57 2022-06-24 18:09:57,598 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 18:09:57 0.0.0 [Pipeline] } 18:09:57 $ docker exec --env ******** --env ******** 37e7d9bbcd7cc658404ef3a81b8bfaa2219d824a0a5dfd13dcfbe0cfb199fd6b ssh-agent -k 18:09:58 unset SSH_AUTH_SOCK; 18:09:58 unset SSH_AGENT_PID; 18:09:58 echo Agent pid 78 killed; 18:09:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:09:58 + git semver [Pipeline] } 18:09:58 $ docker stop --time=1 37e7d9bbcd7cc658404ef3a81b8bfaa2219d824a0a5dfd13dcfbe0cfb199fd6b 18:09:59 $ docker rm -f 37e7d9bbcd7cc658404ef3a81b8bfaa2219d824a0a5dfd13dcfbe0cfb199fd6b [Pipeline] // withDockerContainer [Pipeline] sh 18:10:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:10:00 Stashed 1 file(s) [Pipeline] echo 18:10:00 [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 18:10:00 provisioning config files... 18:10:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config237461999579727056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:10:01 ---> docker-login.sh 18:10:01 nexus3.edgexfoundry.org:10001 18:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:01 Configure a credential helper to remove this warning. See 18:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:01 18:10:01 Login Succeeded 18:10:01 nexus3.edgexfoundry.org:10002 18:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:01 Configure a credential helper to remove this warning. See 18:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:01 18:10:01 Login Succeeded 18:10:01 nexus3.edgexfoundry.org:10003 18:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:01 Configure a credential helper to remove this warning. See 18:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:01 18:10:01 Login Succeeded 18:10:01 nexus3.edgexfoundry.org:10004 18:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:01 Configure a credential helper to remove this warning. See 18:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:01 18:10:01 Login Succeeded 18:10:01 docker.io 18:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:01 Configure a credential helper to remove this warning. See 18:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:01 18:10:01 Login Succeeded 18:10:01 ---> docker-login.sh ends [Pipeline] } 18:10:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:10:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:10:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:10:01 ========================================================= 18:10:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:10:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:02 + 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 . 18:10:02 Sending build context to Docker daemon 8.839MB 18:10:02 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 18:10:02 Step 2/13 : FROM ${BASE} AS builder 18:10:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:10:02 59bf1c3509f3: Pulling fs layer 18:10:02 666ba61612fd: Pulling fs layer 18:10:02 8ed8ca486205: Pulling fs layer 18:10:02 cc1cd167ecdc: Pulling fs layer 18:10:02 c516ae0d96e1: Pulling fs layer 18:10:02 684cea983483: Pulling fs layer 18:10:02 cc1cd167ecdc: Waiting 18:10:02 dd3240ac7de5: Pulling fs layer 18:10:02 b1e948a4e11c: Pulling fs layer 18:10:02 a8fd76ee1af6: Pulling fs layer 18:10:02 c516ae0d96e1: Waiting 18:10:02 646ad004c059: Pulling fs layer 18:10:02 684cea983483: Waiting 18:10:02 dd3240ac7de5: Waiting 18:10:02 a8fd76ee1af6: Waiting 18:10:02 646ad004c059: Waiting 18:10:02 b1e948a4e11c: Waiting 18:10:02 8ed8ca486205: Download complete 18:10:02 666ba61612fd: Verifying Checksum 18:10:02 666ba61612fd: Download complete 18:10:02 c516ae0d96e1: Verifying Checksum 18:10:02 c516ae0d96e1: Download complete 18:10:02 684cea983483: Verifying Checksum 18:10:02 684cea983483: Download complete 18:10:02 59bf1c3509f3: Verifying Checksum 18:10:02 59bf1c3509f3: Download complete 18:10:02 dd3240ac7de5: Verifying Checksum 18:10:02 dd3240ac7de5: Download complete 18:10:02 b1e948a4e11c: Verifying Checksum 18:10:02 b1e948a4e11c: Download complete 18:10:02 59bf1c3509f3: Pull complete 18:10:02 666ba61612fd: Pull complete 18:10:02 8ed8ca486205: Pull complete 18:10:02 646ad004c059: Verifying Checksum 18:10:02 646ad004c059: Download complete 18:10:03 cc1cd167ecdc: Verifying Checksum 18:10:03 cc1cd167ecdc: Download complete 18:10:03 a8fd76ee1af6: Verifying Checksum 18:10:03 a8fd76ee1af6: Download complete 18:10:06 cc1cd167ecdc: Pull complete 18:10:06 c516ae0d96e1: Pull complete 18:10:06 684cea983483: Pull complete 18:10:06 dd3240ac7de5: Pull complete 18:10:06 b1e948a4e11c: Pull complete 18:10:09 a8fd76ee1af6: Pull complete 18:10:10 646ad004c059: Pull complete 18:10:10 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 18:10:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:10:10 ---> 8f69c11f6b0c 18:10:10 Step 3/13 : ARG MAKE="make build" 18:10:11 ---> Running in c77bce59ddbe 18:10:11 Removing intermediate container c77bce59ddbe 18:10:11 ---> 1997e335d8e8 18:10:11 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:10:11 ---> Running in 31f3a4e47360 18:10:11 Removing intermediate container 31f3a4e47360 18:10:11 ---> e222521568c3 18:10:11 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 18:10:11 ---> Running in 42d72922bced 18:10:11 Removing intermediate container 42d72922bced 18:10:11 ---> c2d3ee296f75 18:10:11 Step 6/13 : LABEL Name=edgex-device-onvif-camera 18:10:11 ---> Running in 36c89477e739 18:10:11 Removing intermediate container 36c89477e739 18:10:11 ---> 9bdfadaa3dcc 18:10:11 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:10:11 ---> Running in 219813dca38b 18:10:12 Removing intermediate container 219813dca38b 18:10:12 ---> a102b3758161 18:10:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:10:12 ---> Running in 23ba22c70610 18:10:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:10:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:10:13 OK: 221 MiB in 52 packages 18:10:14 Removing intermediate container 23ba22c70610 18:10:14 ---> e3a3d505cd85 18:10:14 Step 9/13 : WORKDIR /device-onvif-camera 18:10:14 ---> Running in 05aaf534f41b 18:10:14 Removing intermediate container 05aaf534f41b 18:10:14 ---> b39f9800711d 18:10:14 Step 10/13 : COPY go.mod vendor* ./ 18:10:14 ---> 480b5667f173 18:10:14 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:10:14 ---> Running in 321fb7f64647 18:10:15 Still waiting to schedule task 18:10:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:10:29 Removing intermediate container 321fb7f64647 18:10:29 ---> c069301e1e50 18:10:29 Step 12/13 : COPY . . 18:10:29 ---> fcf5adc7d537 18:10:29 Step 13/13 : RUN ${MAKE} 18:10:29 ---> Running in d6eeedd319b6 18:10:29 noop 18:10:29 Removing intermediate container d6eeedd319b6 18:10:29 ---> 42bb91b2144b 18:10:29 Successfully built 42bb91b2144b 18:10:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:30 + docker inspect -f . ci-base-image-x86_64 18:10:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:10:30 prd-ubuntu20.04-docker-8c-8g-15552 does not seem to be running inside a container 18:10:30 $ 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 18:10:30 $ docker top 3caa644491292c56bf43c92504ffe30a2a621898a8a3dc930e15733269cfeaae -eo pid,comm [Pipeline] { [Pipeline] sh 18:10:31 + go version 18:10:31 go version go1.17.7 linux/amd64 [Pipeline] } 18:10:31 $ docker stop --time=1 3caa644491292c56bf43c92504ffe30a2a621898a8a3dc930e15733269cfeaae 18:10:32 $ docker rm -f 3caa644491292c56bf43c92504ffe30a2a621898a8a3dc930e15733269cfeaae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:32 + docker inspect -f . ci-base-image-x86_64 18:10:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:10:32 prd-ubuntu20.04-docker-8c-8g-15552 does not seem to be running inside a container 18:10:33 $ 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 18:10:33 $ docker top d03da80da137aa622e95d4cfec0176b58862b911fe8ec6065d38f3f7e40dbc21 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:10:34 + make test 18:10:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:10:34 # github.com/edgexfoundry/device-onvif-camera/internal/driver 18:10:34 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 18:10:34 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 18:10:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:10:44 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:10:47 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.813s coverage: 13.8% of statements 18:10:47 FAIL 18:10:47 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 18:10:47 $ docker stop --time=1 d03da80da137aa622e95d4cfec0176b58862b911fe8ec6065d38f3f7e40dbc21 18:10:49 $ docker rm -f d03da80da137aa622e95d4cfec0176b58862b911fe8ec6065d38f3f7e40dbc21 [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 18:10:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:10:50 18:10:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:10:50 latest: Pulling from edgex-lftools-log-publisher 18:10:50 5eb5b503b376: Pulling fs layer 18:10:50 5c69ac0246d0: Pulling fs layer 18:10:50 ec43610c2a17: Pulling fs layer 18:10:50 3a2ae6a8a46f: Pulling fs layer 18:10:50 33b1e0a273af: Pulling fs layer 18:10:50 5d3b04190fa2: Pulling fs layer 18:10:50 2f39f015ded8: Pulling fs layer 18:10:50 3a2ae6a8a46f: Waiting 18:10:50 33b1e0a273af: Waiting 18:10:50 5d3b04190fa2: Waiting 18:10:50 2f39f015ded8: Waiting 18:10:50 5c69ac0246d0: Verifying Checksum 18:10:50 5c69ac0246d0: Download complete 18:10:50 3a2ae6a8a46f: Verifying Checksum 18:10:50 3a2ae6a8a46f: Download complete 18:10:50 33b1e0a273af: Verifying Checksum 18:10:50 33b1e0a273af: Download complete 18:10:50 ec43610c2a17: Verifying Checksum 18:10:50 ec43610c2a17: Download complete 18:10:50 5d3b04190fa2: Download complete 18:10:50 5eb5b503b376: Verifying Checksum 18:10:50 5eb5b503b376: Download complete 18:10:51 2f39f015ded8: Verifying Checksum 18:10:51 2f39f015ded8: Download complete 18:10:51 5eb5b503b376: Pull complete 18:10:52 5c69ac0246d0: Pull complete 18:10:52 ec43610c2a17: Pull complete 18:10:52 3a2ae6a8a46f: Pull complete 18:10:53 33b1e0a273af: Pull complete 18:10:53 5d3b04190fa2: Pull complete 18:10:57 2f39f015ded8: Pull complete 18:10:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:10:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:10:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:10:57 prd-ubuntu20.04-docker-8c-8g-15552 does not seem to be running inside a container 18:10:57 $ 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 18:10:59 $ docker top a2ab70ded33fb1ed040d4e4b3d4f6046b36bd280ad3ba5e3c1d194eed4d51315 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:10:59 ---> job-cost.sh 18:10:59 lf-activate-venv: SKIPPING 18:10:59 INFO: No Stack... 18:11:00 INFO: Retrieving Pricing Info for: v3-standard-8 18:11:00 INFO: Archiving Costs [Pipeline] sh 18:11:00 + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv 18:11:00 + cut -d, -f6 [Pipeline] lock 18:11:00 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-9-stack-cost] 18:11:00 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-9-stack-cost] did not exist. Created. 18:11:00 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:11:00 + echo total: 0.2199999988079071 [Pipeline] stash 18:11:00 Stashed 1 file(s) [Pipeline] } 18:11:00 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-9-stack-cost] [Pipeline] // lock [Pipeline] } 18:11:00 $ docker stop --time=1 a2ab70ded33fb1ed040d4e4b3d4f6046b36bd280ad3ba5e3c1d194eed4d51315 18:11:02 $ docker rm -f a2ab70ded33fb1ed040d4e4b3d4f6046b36bd280ad3ba5e3c1d194eed4d51315 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:11:02 Failed in branch amd64 18:11:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15553 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws 18:11:49 Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout 18:11:49 Selected Git installation does not exist. Using Default 18:11:49 The recommended git tool is: NONE 18:11:55 using credential edgex-jenkins-ssh 18:11:55 Cloning the remote Git repository 18:11:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:11:55 > git init /w/workspace/device-onvif-camera/9 # timeout=10 18:11:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:11:55 > git --version # timeout=10 18:11:55 > git --version # 'git version 2.25.1' 18:11:55 using GIT_SSH to set credentials SSH Credentials for GitHub 18:11:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:11:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:11:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:11:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:11:57 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 8e1962d32e844a66ca741a4e6e70d6c887269c0c 18:11:57 Merge succeeded, producing 2a9aee2d3582786e9adc01ffe2e3fad49c60d8ba 18:11:57 Checking out Revision 2a9aee2d3582786e9adc01ffe2e3fad49c60d8ba (PR-90) 18:11:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:11:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:11:56 > 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 18:11:57 > git config core.sparsecheckout # timeout=10 18:11:57 > git checkout -f 8e1962d32e844a66ca741a4e6e70d6c887269c0c # timeout=10 18:11:57 > git remote # timeout=10 18:11:57 > git config --get remote.origin.url # timeout=10 18:11:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:11:57 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 18:11:57 > git rev-parse HEAD^{commit} # timeout=10 18:11:57 > git config core.sparsecheckout # timeout=10 18:11:57 > git checkout -f 2a9aee2d3582786e9adc01ffe2e3fad49c60d8ba # timeout=10 18:12:01 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" 18:12:01 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:12:01 > git rev-list --no-walk 84bdb32f263b2b1d4ec1a1d00d36694782ed3126 # timeout=10 18:12:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:12:02 % Total % Received % Xferd Average Speed Time Time Time Current 18:12:02 Dload Upload Total Spent Left Speed 18:12:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 66592 0 --:--:-- --:--:-- --:--:-- 66592 [Pipeline] sh 18:12:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:12:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:12:03 + sudo tee /etc/docker/daemon.new 18:12:03 { 18:12:03 "registry-mirrors": [ 18:12:03 "https://nexus3.edgexfoundry.org:10001" 18:12:03 ], 18:12:03 "bip": "10.250.0.254/24", 18:12:03 "hosts": [ 18:12:03 "tcp://0.0.0.0:5555", 18:12:03 "unix:///var/run/docker.sock" 18:12:03 ], 18:12:03 "mtu": 1458, 18:12:03 "selinux-enabled": true, 18:12:03 "seccomp-profile": "/etc/docker/seccomp.json" 18:12:03 } [Pipeline] sh 18:12:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:12:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:12:23 provisioning config files... 18:12:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config6654671252847113525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:12:23 ---> docker-login.sh 18:12:23 nexus3.edgexfoundry.org:10001 18:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:24 Configure a credential helper to remove this warning. See 18:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:24 18:12:24 Login Succeeded 18:12:24 nexus3.edgexfoundry.org:10002 18:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:24 Configure a credential helper to remove this warning. See 18:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:24 18:12:24 Login Succeeded 18:12:24 nexus3.edgexfoundry.org:10003 18:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:25 Configure a credential helper to remove this warning. See 18:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:25 18:12:25 Login Succeeded 18:12:25 nexus3.edgexfoundry.org:10004 18:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:25 Configure a credential helper to remove this warning. See 18:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:25 18:12:25 Login Succeeded 18:12:25 docker.io 18:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:26 Configure a credential helper to remove this warning. See 18:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:26 18:12:26 Login Succeeded 18:12:26 ---> docker-login.sh ends [Pipeline] } 18:12:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:12:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:12:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:12:27 ========================================================= 18:12:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:12:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:27 + 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 . 18:12:27 Sending build context to Docker daemon 6.046MB 18:12:28 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 18:12:28 Step 2/13 : FROM ${BASE} AS builder 18:12:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:12:28 9b3977197b4f: Pulling fs layer 18:12:28 1a89e8eeedd5: Pulling fs layer 18:12:28 94645a83ff95: Pulling fs layer 18:12:28 e6fb740bc735: Pulling fs layer 18:12:28 3a77bd46dcc9: Pulling fs layer 18:12:28 355e64cbe906: Pulling fs layer 18:12:28 63ab81a10011: Pulling fs layer 18:12:28 555d1d1c4555: Pulling fs layer 18:12:28 7d9057610161: Pulling fs layer 18:12:28 355e64cbe906: Waiting 18:12:28 63ab81a10011: Waiting 18:12:28 555d1d1c4555: Waiting 18:12:28 7d9057610161: Waiting 18:12:28 e6fb740bc735: Waiting 18:12:28 3a77bd46dcc9: Waiting 18:12:28 94645a83ff95: Download complete 18:12:28 1a89e8eeedd5: Download complete 18:12:28 3a77bd46dcc9: Download complete 18:12:28 355e64cbe906: Verifying Checksum 18:12:28 355e64cbe906: Download complete 18:12:28 9b3977197b4f: Download complete 18:12:28 63ab81a10011: Verifying Checksum 18:12:28 63ab81a10011: Download complete 18:12:28 9b3977197b4f: Pull complete 18:12:29 7d9057610161: Verifying Checksum 18:12:29 7d9057610161: Download complete 18:12:29 1a89e8eeedd5: Pull complete 18:12:29 94645a83ff95: Pull complete 18:12:30 555d1d1c4555: Verifying Checksum 18:12:30 555d1d1c4555: Download complete 18:12:31 e6fb740bc735: Verifying Checksum 18:12:31 e6fb740bc735: Download complete 18:12:43 e6fb740bc735: Pull complete 18:12:43 3a77bd46dcc9: Pull complete 18:12:43 355e64cbe906: Pull complete 18:12:43 63ab81a10011: Pull complete 18:12:50 555d1d1c4555: Pull complete 18:12:52 7d9057610161: Pull complete 18:12:52 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 18:12:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:12:52 ---> 819e984ddca1 18:12:52 Step 3/13 : ARG MAKE="make build" 18:12:53 ---> Running in 178ce9fed69d 18:12:53 Removing intermediate container 178ce9fed69d 18:12:53 ---> b0a0d063df07 18:12:53 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:12:53 ---> Running in 228d6bbbb4c9 18:12:53 Removing intermediate container 228d6bbbb4c9 18:12:53 ---> 20194b8d021b 18:12:53 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 18:12:53 ---> Running in 51a686efc3c4 18:12:53 Removing intermediate container 51a686efc3c4 18:12:53 ---> 1996086c4d2e 18:12:53 Step 6/13 : LABEL Name=edgex-device-onvif-camera 18:12:54 ---> Running in 618561630b9a 18:12:54 Removing intermediate container 618561630b9a 18:12:54 ---> 7bd3b94200d6 18:12:54 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:12:54 ---> Running in 6e5aa47f370f 18:12:56 Removing intermediate container 6e5aa47f370f 18:12:56 ---> a6f62178f2c3 18:12:56 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:12:56 ---> Running in b3a97bcc267d 18:12:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:12:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:12:59 OK: 220 MiB in 52 packages 18:13:00 Removing intermediate container b3a97bcc267d 18:13:00 ---> 39173123c41d 18:13:00 Step 9/13 : WORKDIR /device-onvif-camera 18:13:00 ---> Running in a7482a65ef08 18:13:00 Removing intermediate container a7482a65ef08 18:13:00 ---> dbe68c0f47ce 18:13:00 Step 10/13 : COPY go.mod vendor* ./ 18:13:01 ---> 586671daea97 18:13:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:01 ---> Running in 4c92a579592a 18:13:48 Removing intermediate container 4c92a579592a 18:13:48 ---> c04d5ca79298 18:13:48 Step 12/13 : COPY . . 18:13:48 ---> 01fcfdfc8d32 18:13:48 Step 13/13 : RUN ${MAKE} 18:13:48 ---> Running in 24df196bd9ad 18:13:48 noop 18:13:48 Removing intermediate container 24df196bd9ad 18:13:48 ---> ff03edce9967 18:13:48 Successfully built ff03edce9967 18:13:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:49 + docker inspect -f . ci-base-image-arm64 18:13:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:49 prd-ubuntu20.04-docker-arm64-4c-16g-15553 does not seem to be running inside a container 18:13:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 18:13:50 $ docker top 39d21fb5278447ce75ceef52bf97de80b98b629f54310df1869ace90e53d6a6e -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:51 + go version 18:13:51 go version go1.17.7 linux/arm64 [Pipeline] } 18:13:51 $ docker stop --time=1 39d21fb5278447ce75ceef52bf97de80b98b629f54310df1869ace90e53d6a6e 18:13:53 $ docker rm -f 39d21fb5278447ce75ceef52bf97de80b98b629f54310df1869ace90e53d6a6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:53 + docker inspect -f . ci-base-image-arm64 18:13:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:54 prd-ubuntu20.04-docker-arm64-4c-16g-15553 does not seem to be running inside a container 18:13:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 18:13:55 $ docker top 7eda351137e1cceb9d2869677e323033e4081df50b5f19db2a8876e05c69881d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:13:56 + make test 18:13:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:13:57 # github.com/edgexfoundry/device-onvif-camera/internal/driver 18:13:57 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 18:13:57 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 18:13:58 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:15:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:15:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.408s coverage: 13.8% of statements 18:15:42 FAIL 18:15:42 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 18:15:42 $ docker stop --time=1 7eda351137e1cceb9d2869677e323033e4081df50b5f19db2a8876e05c69881d 18:15:44 $ docker rm -f 7eda351137e1cceb9d2869677e323033e4081df50b5f19db2a8876e05c69881d [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 18:15:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:15:45 18:15:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:15:45 arm64: Pulling from edgex-lftools-log-publisher 18:15:45 8998bd30e6a1: Pulling fs layer 18:15:45 04944245beec: Pulling fs layer 18:15:45 699f458cf7ca: Pulling fs layer 18:15:45 765212b225bb: Pulling fs layer 18:15:45 f23df028b6ca: Pulling fs layer 18:15:45 d65c8cfc05b1: Pulling fs layer 18:15:45 2437ff75d9bd: Pulling fs layer 18:15:45 d65c8cfc05b1: Waiting 18:15:45 f23df028b6ca: Waiting 18:15:45 2437ff75d9bd: Waiting 18:15:45 765212b225bb: Waiting 18:15:45 04944245beec: Verifying Checksum 18:15:45 04944245beec: Download complete 18:15:45 765212b225bb: Verifying Checksum 18:15:45 765212b225bb: Download complete 18:15:45 f23df028b6ca: Verifying Checksum 18:15:45 f23df028b6ca: Download complete 18:15:45 d65c8cfc05b1: Download complete 18:15:46 699f458cf7ca: Verifying Checksum 18:15:46 699f458cf7ca: Download complete 18:15:46 8998bd30e6a1: Download complete 18:15:49 2437ff75d9bd: Verifying Checksum 18:15:49 2437ff75d9bd: Download complete 18:15:51 8998bd30e6a1: Pull complete 18:15:51 04944245beec: Pull complete 18:15:52 699f458cf7ca: Pull complete 18:15:53 765212b225bb: Pull complete 18:15:53 f23df028b6ca: Pull complete 18:15:53 d65c8cfc05b1: Pull complete 18:16:08 2437ff75d9bd: Pull complete 18:16:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:16:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:16:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:09 prd-ubuntu20.04-docker-arm64-4c-16g-15553 does not seem to be running inside a container 18:16:09 $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 18:16:11 $ docker top 065aae85bf740fdf75ebaafa470178588624e1bb4e90c9237cfd87a21e956264 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:12 ---> job-cost.sh 18:16:12 lf-activate-venv: SKIPPING 18:16:12 INFO: No Stack... 18:16:12 INFO: Retrieving Pricing Info for: v3-standard-4 18:16:13 INFO: Archiving Costs [Pipeline] sh 18:16:14 + cat /w/workspace/device-onvif-camera/9/archives/cost.csv 18:16:14 + cut -d, -f6 [Pipeline] lock 18:16:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-9-stack-cost] 18:16:14 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-9-stack-cost] did not exist. Created. 18:16:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:16:15 /w/workspace/device-onvif-camera/9@tmp/durable-31d352fb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:16:16 + echo total: 0.10999999940395355 [Pipeline] stash 18:16:16 Warning: overwriting stash ‘stack-cost’ 18:16:16 Stashed 1 file(s) [Pipeline] } 18:16:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-9-stack-cost] [Pipeline] // lock [Pipeline] } 18:16:16 $ docker stop --time=1 065aae85bf740fdf75ebaafa470178588624e1bb4e90c9237cfd87a21e956264 18:16:18 $ docker rm -f 065aae85bf740fdf75ebaafa470178588624e1bb4e90c9237cfd87a21e956264 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:16:18 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 18:16:19 + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] 18:16:19 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 18:16:19 total 16 18:16:19 drwxr-xr-x 3 root root 4096 Jun 24 18:11 . 18:16:19 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 18:11 .. 18:16:19 drwxr-xr-x 2 root root 4096 Jun 24 18:11 cost 18:16:19 -rw-r--r-- 1 root root 89 Jun 24 18:11 cost.csv 18:16:19 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives 18:16:19 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 18:16:19 total 16 18:16:19 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 18:11 . 18:16:19 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 18:11 .. 18:16:19 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 18:11 cost 18:16:19 -rw-r--r-- 1 jenkins jenkins 89 Jun 24 18:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:16:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:16:20 ---> package-listing.sh 18:16:20 ++ facter osfamily 18:16:20 ++ tr '[:upper:]' '[:lower:]' 18:16:20 + OS_FAMILY=debian 18:16:20 + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 18:16:20 + START_PACKAGES=/tmp/packages_start.txt 18:16:20 + END_PACKAGES=/tmp/packages_end.txt 18:16:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:20 + PACKAGES=/tmp/packages_start.txt 18:16:20 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 18:16:20 + PACKAGES=/tmp/packages_end.txt 18:16:20 + case "${OS_FAMILY}" in 18:16:20 + dpkg -l 18:16:20 + grep '^ii' 18:16:20 + '[' -f /tmp/packages_start.txt ']' 18:16:20 + '[' -f /tmp/packages_end.txt ']' 18:16:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:20 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 18:16:20 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ 18:16:20 + 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 18:16:20 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 18:16:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:16:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:21 prd-ubuntu20.04-docker-8c-8g-15552 does not seem to be running inside a container 18:16:21 $ 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 18:16:21 $ docker top f9c2a3d431f5d7663a83ab82d6724ff511bbdc307ad5a9d70df14b2d66c9f59b -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:22 + touch /tmp/pre-build-complete [Pipeline] sh 18:16:22 + mkdir -p /var/log/sysstat [Pipeline] sh 18:16:22 + ls /var/log/sa-host 18:16:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:16:22 provisioning config files... 18:16:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config942261517265608493tmp [Pipeline] { [Pipeline] echo 18:16:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:16:23 ---> create-netrc.sh [Pipeline] } 18:16:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:16:23 ---> python-tools-install.sh [Pipeline] echo 18:16:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:16:23 ---> sudo-logs.sh 18:16:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:16:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:16:24 ---> job-cost.sh 18:16:24 lf-activate-venv: SKIPPING 18:16:24 DEBUG: total: 0.2199999988079071 18:16:24 INFO: Retrieving Stack Cost... 18:16:24 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:24 INFO: Archiving Costs [Pipeline] echo 18:16:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:16:25 ---> logs-deploy.sh 18:16:25 lf-activate-venv: SKIPPING 18:16:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/9 18:16:25 INFO: archiving workspace using pattern(s): 18:16:26 Archives upload complete. 18:16:26 INFO: archiving logs to Nexus