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 b11aceb22335c05c7a94416d5295b8bbfb975ef7 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-ssh14090888324482862156.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-ssh12338473725769618584.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-ssh11967667558734026229.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-ssh8072961678158526779.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-ssh14623616901421792044.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-15547’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15549 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 b11aceb22335c05c7a94416d5295b8bbfb975ef7 Merge succeeded, producing 4543f6d85bc2a3938977e07da69f4707f7432efa Checking out Revision 4543f6d85bc2a3938977e07da69f4707f7432efa (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 b11aceb22335c05c7a94416d5295b8bbfb975ef7 # 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 4543f6d85bc2a3938977e07da69f4707f7432efa # 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 17:47:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:47:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:47:59 ========================================================= 17:47:59 EdgeX Global Pipelines Version Info 17:47:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2775c6cd762abb57a02b935f04ab40577b4831ef # timeout=10 17:48:00 ------------------- 17:48:00 stable info: 17:48:00 ------------------- 17:48:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:48:00 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 17:48:00 Message: update stable to v1.0.234 17:48:00 ------------------- 17:48:00 experimental info: 17:48:00 ------------------- 17:48:00 Commited By: **** collab-it+edgex@linuxfoundation.org 17:48:00 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 17:48:00 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:48:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:48:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:48:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:48:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:48:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:48:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:48:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:48:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:48:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4543f6d85bc2a3938977e07da69f4707f7432efa [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4543f6d [Pipeline] echo 17:48:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:48:01 provisioning config files... 17:48:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config3043078582420225263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:01 ---> docker-login.sh 17:48:01 nexus3.edgexfoundry.org:10001 17:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:01 Configure a credential helper to remove this warning. See 17:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:01 17:48:01 Login Succeeded 17:48:01 nexus3.edgexfoundry.org:10002 17:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:02 Configure a credential helper to remove this warning. See 17:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:02 17:48:02 Login Succeeded 17:48:02 nexus3.edgexfoundry.org:10003 17:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:02 Configure a credential helper to remove this warning. See 17:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:02 17:48:02 Login Succeeded 17:48:02 nexus3.edgexfoundry.org:10004 17:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:02 Configure a credential helper to remove this warning. See 17:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:02 17:48:02 Login Succeeded 17:48:02 docker.io 17:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:03 Configure a credential helper to remove this warning. See 17:48:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:03 17:48:03 Login Succeeded 17:48:03 ---> docker-login.sh ends [Pipeline] } 17:48:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:48:03 + git rev-list -1 --merges 4543f6d85bc2a3938977e07da69f4707f7432efa~1..4543f6d85bc2a3938977e07da69f4707f7432efa [Pipeline] echo 17:48:03 -----------> git rev-list -1 --merges 4543f6d85bc2a3938977e07da69f4707f7432efa~1..4543f6d85bc2a3938977e07da69f4707f7432efa 4543f6d85bc2a3938977e07da69f4707f7432efa 17:48:03 4543f6d85bc2a3938977e07da69f4707f7432efa [false] [Pipeline] sh 17:48:03 + git log --format=format:%s -1 4543f6d85bc2a3938977e07da69f4707f7432efa [Pipeline] echo 17:48:03 ========================================================= 17:48:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:48:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:48:04 + git log --format=format:%s -1 4543f6d85bc2a3938977e07da69f4707f7432efa [Pipeline] echo 17:48:04 [semverPrep] GIT_COMMIT: 4543f6d85bc2a3938977e07da69f4707f7432efa, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo 17:48:04 [semverPrep] This is not a build commit. [Pipeline] sh 17:48:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:48:04 + grep -v github /etc/ssh/ssh_known_hosts 17:48:04 + [ -e /tmp/ssh_known_hosts ] 17:48:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:48:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:48:04 + sudo tee -a /etc/ssh/ssh_known_hosts 17:48:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:48:04 17:48:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:48:05 0.1.4: Pulling from edgex-devops/py-git-semver 17:48:05 42c077c10790: Pulling fs layer 17:48:05 f63e77b7563a: Pulling fs layer 17:48:05 bd5fdadae976: Pulling fs layer 17:48:05 205491f53016: Pulling fs layer 17:48:05 df18705c85c3: Pulling fs layer 17:48:05 205491f53016: Waiting 17:48:05 bdb3f477010e: Pulling fs layer 17:48:05 c8a8fc8e1c8f: Pulling fs layer 17:48:05 df18705c85c3: Waiting 17:48:05 bdb3f477010e: Waiting 17:48:05 2c6e9b1d212d: Pulling fs layer 17:48:05 c8a8fc8e1c8f: Waiting 17:48:05 bdb8f0575790: Pulling fs layer 17:48:05 386e3cb2ff24: Pulling fs layer 17:48:05 2c6e9b1d212d: Waiting 17:48:05 2343380bae48: Pulling fs layer 17:48:05 bdb8f0575790: Waiting 17:48:05 2343380bae48: Waiting 17:48:05 f63e77b7563a: Download complete 17:48:05 205491f53016: Download complete 17:48:05 df18705c85c3: Verifying Checksum 17:48:05 df18705c85c3: Download complete 17:48:05 bd5fdadae976: Verifying Checksum 17:48:05 bd5fdadae976: Download complete 17:48:05 bdb3f477010e: Verifying Checksum 17:48:05 bdb3f477010e: Download complete 17:48:05 2c6e9b1d212d: Download complete 17:48:05 bdb8f0575790: Verifying Checksum 17:48:05 bdb8f0575790: Download complete 17:48:05 386e3cb2ff24: Download complete 17:48:05 2343380bae48: Verifying Checksum 17:48:05 2343380bae48: Download complete 17:48:05 42c077c10790: Verifying Checksum 17:48:05 42c077c10790: Download complete 17:48:05 c8a8fc8e1c8f: Verifying Checksum 17:48:05 c8a8fc8e1c8f: Download complete 17:48:07 42c077c10790: Pull complete 17:48:07 f63e77b7563a: Pull complete 17:48:07 bd5fdadae976: Pull complete 17:48:07 205491f53016: Pull complete 17:48:07 df18705c85c3: Pull complete 17:48:08 bdb3f477010e: Pull complete 17:48:10 c8a8fc8e1c8f: Pull complete 17:48:10 2c6e9b1d212d: Pull complete 17:48:10 bdb8f0575790: Pull complete 17:48:10 386e3cb2ff24: Pull complete 17:48:10 2343380bae48: Pull complete 17:48:10 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 17:48:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:48:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:10 prd-ubuntu20.04-docker-8c-8g-15549 does not seem to be running inside a container 17:48:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:48:12 $ docker top 2687449777dd030542ff0eb407a3e04f95b57a232cb7ae97d3c1f84f118f32e6 -eo pid,comm 17:48:12 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). 17:48:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:48:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:48:12 [ssh-agent] Looking for ssh-agent implementation... 17:48:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:48:12 $ docker exec 2687449777dd030542ff0eb407a3e04f95b57a232cb7ae97d3c1f84f118f32e6 ssh-agent 17:48:12 SSH_AUTH_SOCK=/tmp/ssh-zRvSo0Q3miSm/agent.34 17:48:12 SSH_AGENT_PID=40 17:48:12 Running ssh-add (command line suppressed) 17:48:12 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_3091576484949047053.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_3091576484949047053.key) 17:48:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:48:12 + git tag --points-at HEAD [Pipeline] } 17:48:12 $ docker exec --env ******** --env ******** 2687449777dd030542ff0eb407a3e04f95b57a232cb7ae97d3c1f84f118f32e6 ssh-agent -k 17:48:13 unset SSH_AUTH_SOCK; 17:48:13 unset SSH_AGENT_PID; 17:48:13 echo Agent pid 40 killed; 17:48:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:48:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:48:13 [ssh-agent] Looking for ssh-agent implementation... 17:48:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:48:13 $ docker exec 2687449777dd030542ff0eb407a3e04f95b57a232cb7ae97d3c1f84f118f32e6 ssh-agent 17:48:13 SSH_AUTH_SOCK=/tmp/ssh-i2DvNV3sGtAl/agent.73 17:48:13 SSH_AGENT_PID=79 17:48:13 Running ssh-add (command line suppressed) 17:48:13 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_2542134723997979987.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_2542134723997979987.key) 17:48:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:48:13 + git semver init 17:48:14 2022-06-24 17:48:13,956 [run_init] DEBUG init version:0.0.0 force:False 17:48:14 2022-06-24 17:48:13,957 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver 17:48:14 2022-06-24 17:48:13,958 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver 17:48:14 2022-06-24 17:48:13,959 [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) 17:48:14 2022-06-24 17:48:14,639 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude 17:48:14 2022-06-24 17:48:14,640 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 with force:False 17:48:14 2022-06-24 17:48:14,640 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 17:48:14 2022-06-24 17:48:14,645 [execute] INFO git cat-file --batch-check 17:48:14 2022-06-24 17:48:14,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 17:48:14 2022-06-24 17:48:14,652 [execute] INFO git cat-file --batch 17:48:14 2022-06-24 17:48:14,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 17:48:14 2022-06-24 17:48:14,657 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 17:48:14 0.0.0 [Pipeline] } 17:48:14 $ docker exec --env ******** --env ******** 2687449777dd030542ff0eb407a3e04f95b57a232cb7ae97d3c1f84f118f32e6 ssh-agent -k 17:48:15 unset SSH_AUTH_SOCK; 17:48:15 unset SSH_AGENT_PID; 17:48:15 echo Agent pid 79 killed; 17:48:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:48:15 + git semver [Pipeline] } 17:48:15 $ docker stop --time=1 2687449777dd030542ff0eb407a3e04f95b57a232cb7ae97d3c1f84f118f32e6 17:48:17 $ docker rm -f 2687449777dd030542ff0eb407a3e04f95b57a232cb7ae97d3c1f84f118f32e6 [Pipeline] // withDockerContainer [Pipeline] sh 17:48:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:48:17 Stashed 1 file(s) [Pipeline] echo 17:48:17 [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 17:48:17 provisioning config files... 17:48:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config7472920903137504250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:18 ---> docker-login.sh 17:48:18 nexus3.edgexfoundry.org:10001 17:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:18 Configure a credential helper to remove this warning. See 17:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:18 17:48:18 Login Succeeded 17:48:18 nexus3.edgexfoundry.org:10002 17:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:18 Configure a credential helper to remove this warning. See 17:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:18 17:48:18 Login Succeeded 17:48:18 nexus3.edgexfoundry.org:10003 17:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:18 Configure a credential helper to remove this warning. See 17:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:18 17:48:18 Login Succeeded 17:48:18 nexus3.edgexfoundry.org:10004 17:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:18 Configure a credential helper to remove this warning. See 17:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:18 17:48:18 Login Succeeded 17:48:18 docker.io 17:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:18 Configure a credential helper to remove this warning. See 17:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:18 17:48:18 Login Succeeded 17:48:18 ---> docker-login.sh ends [Pipeline] } 17:48:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:48:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:48:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:48:18 ========================================================= 17:48:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:48:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:19 + 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 . 17:48:19 Sending build context to Docker daemon 9.035MB 17:48:19 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:48:19 Step 2/13 : FROM ${BASE} AS builder 17:48:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:48:19 59bf1c3509f3: Pulling fs layer 17:48:19 666ba61612fd: Pulling fs layer 17:48:19 8ed8ca486205: Pulling fs layer 17:48:19 cc1cd167ecdc: Pulling fs layer 17:48:19 c516ae0d96e1: Pulling fs layer 17:48:19 684cea983483: Pulling fs layer 17:48:19 cc1cd167ecdc: Waiting 17:48:19 c516ae0d96e1: Waiting 17:48:19 dd3240ac7de5: Pulling fs layer 17:48:19 b1e948a4e11c: Pulling fs layer 17:48:19 a8fd76ee1af6: Pulling fs layer 17:48:19 684cea983483: Waiting 17:48:19 dd3240ac7de5: Waiting 17:48:19 646ad004c059: Pulling fs layer 17:48:19 a8fd76ee1af6: Waiting 17:48:19 8ed8ca486205: Verifying Checksum 17:48:19 8ed8ca486205: Download complete 17:48:19 666ba61612fd: Verifying Checksum 17:48:19 666ba61612fd: Download complete 17:48:19 c516ae0d96e1: Verifying Checksum 17:48:19 c516ae0d96e1: Download complete 17:48:19 684cea983483: Download complete 17:48:19 59bf1c3509f3: Download complete 17:48:19 dd3240ac7de5: Download complete 17:48:19 b1e948a4e11c: Verifying Checksum 17:48:19 b1e948a4e11c: Download complete 17:48:19 59bf1c3509f3: Pull complete 17:48:19 666ba61612fd: Pull complete 17:48:19 8ed8ca486205: Pull complete 17:48:20 646ad004c059: Verifying Checksum 17:48:20 646ad004c059: Download complete 17:48:20 a8fd76ee1af6: Verifying Checksum 17:48:20 a8fd76ee1af6: Download complete 17:48:20 cc1cd167ecdc: Verifying Checksum 17:48:20 cc1cd167ecdc: Download complete 17:48:24 cc1cd167ecdc: Pull complete 17:48:24 c516ae0d96e1: Pull complete 17:48:24 684cea983483: Pull complete 17:48:24 dd3240ac7de5: Pull complete 17:48:24 b1e948a4e11c: Pull complete 17:48:27 a8fd76ee1af6: Pull complete 17:48:27 646ad004c059: Pull complete 17:48:27 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 17:48:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:48:27 ---> 8f69c11f6b0c 17:48:27 Step 3/13 : ARG MAKE="make build" 17:48:29 ---> Running in 0107c57c892d 17:48:29 Removing intermediate container 0107c57c892d 17:48:29 ---> 07a173455cd7 17:48:29 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:48:29 ---> Running in 0b31171c8727 17:48:29 Removing intermediate container 0b31171c8727 17:48:29 ---> c1c60b8fe684 17:48:29 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:48:29 ---> Running in 35e100e704da 17:48:29 Removing intermediate container 35e100e704da 17:48:29 ---> 56a4b2bb9303 17:48:29 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:48:29 ---> Running in e09192e512c3 17:48:29 Removing intermediate container e09192e512c3 17:48:29 ---> 998b7d32ed8c 17:48:29 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:48:29 ---> Running in 52d5bd90e411 17:48:30 Removing intermediate container 52d5bd90e411 17:48:30 ---> 506b675014db 17:48:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:48:30 ---> Running in a6b6e03c86b1 17:48:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:48:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:48:31 OK: 221 MiB in 52 packages 17:48:32 Removing intermediate container a6b6e03c86b1 17:48:32 ---> 8c2d875f6773 17:48:32 Step 9/13 : WORKDIR /device-onvif-camera 17:48:32 ---> Running in 773d4fb37a83 17:48:32 Removing intermediate container 773d4fb37a83 17:48:32 ---> 4d8ba9b3e62c 17:48:32 Step 10/13 : COPY go.mod vendor* ./ 17:48:32 ---> 03fa1d6c3b0f 17:48:32 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:48:32 ---> Running in 627726c82b97 17:48:32 Still waiting to schedule task 17:48:32 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15548’ is offline 17:48:47 Removing intermediate container 627726c82b97 17:48:47 ---> 95f0e6c34f1e 17:48:47 Step 12/13 : COPY . . 17:48:47 ---> 82c88c0a9925 17:48:47 Step 13/13 : RUN ${MAKE} 17:48:47 ---> Running in d31626f6c1ed 17:48:47 noop 17:48:47 Removing intermediate container d31626f6c1ed 17:48:47 ---> e6f662e1034b 17:48:47 Successfully built e6f662e1034b 17:48:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:48 + docker inspect -f . ci-base-image-x86_64 17:48:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:48 prd-ubuntu20.04-docker-8c-8g-15549 does not seem to be running inside a container 17:48:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:48:48 $ docker top d4873c72e581a427499f06a830a1e7f1b2b8c0d33085ae73399f1e83a2aec361 -eo pid,comm [Pipeline] { [Pipeline] sh 17:48:49 + go version 17:48:49 go version go1.17.7 linux/amd64 [Pipeline] } 17:48:49 $ docker stop --time=1 d4873c72e581a427499f06a830a1e7f1b2b8c0d33085ae73399f1e83a2aec361 17:48:50 $ docker rm -f d4873c72e581a427499f06a830a1e7f1b2b8c0d33085ae73399f1e83a2aec361 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:50 + docker inspect -f . ci-base-image-x86_64 17:48:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:50 prd-ubuntu20.04-docker-8c-8g-15549 does not seem to be running inside a container 17:48:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:48:51 $ docker top 5f310c0fb02b7bcba49b7204816b52971db0386ecaa6de00a1611a762e47da96 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:48:51 + make test 17:48:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:48:52 # github.com/edgexfoundry/device-onvif-camera/internal/driver 17:48:52 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 17:48:52 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 17:48:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:49:02 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:49:07 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.417s coverage: 13.8% of statements 17:49:07 FAIL 17:49:07 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 17:49:07 $ docker stop --time=1 5f310c0fb02b7bcba49b7204816b52971db0386ecaa6de00a1611a762e47da96 17:49:09 $ docker rm -f 5f310c0fb02b7bcba49b7204816b52971db0386ecaa6de00a1611a762e47da96 [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 17:49:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:09 17:49:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:10 latest: Pulling from edgex-lftools-log-publisher 17:49:10 5eb5b503b376: Pulling fs layer 17:49:10 5c69ac0246d0: Pulling fs layer 17:49:10 ec43610c2a17: Pulling fs layer 17:49:10 3a2ae6a8a46f: Pulling fs layer 17:49:10 33b1e0a273af: Pulling fs layer 17:49:10 5d3b04190fa2: Pulling fs layer 17:49:10 2f39f015ded8: Pulling fs layer 17:49:10 33b1e0a273af: Waiting 17:49:10 2f39f015ded8: Waiting 17:49:10 5d3b04190fa2: Waiting 17:49:10 5c69ac0246d0: Verifying Checksum 17:49:10 5c69ac0246d0: Download complete 17:49:10 3a2ae6a8a46f: Download complete 17:49:10 33b1e0a273af: Verifying Checksum 17:49:10 33b1e0a273af: Download complete 17:49:10 ec43610c2a17: Verifying Checksum 17:49:10 ec43610c2a17: Download complete 17:49:10 5d3b04190fa2: Download complete 17:49:10 5eb5b503b376: Verifying Checksum 17:49:10 5eb5b503b376: Download complete 17:49:11 2f39f015ded8: Download complete 17:49:12 5eb5b503b376: Pull complete 17:49:12 5c69ac0246d0: Pull complete 17:49:12 ec43610c2a17: Pull complete 17:49:12 3a2ae6a8a46f: Pull complete 17:49:12 33b1e0a273af: Pull complete 17:49:12 5d3b04190fa2: Pull complete 17:49:18 2f39f015ded8: Pull complete 17:49:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:49:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:18 prd-ubuntu20.04-docker-8c-8g-15549 does not seem to be running inside a container 17:49:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:49:20 $ docker top ffa318cddee0dac27b8dd184898eed534e4d98c52b9a7858ff54b9673c26b0a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:20 ---> job-cost.sh 17:49:20 lf-activate-venv: SKIPPING 17:49:20 INFO: No Stack... 17:49:21 INFO: Retrieving Pricing Info for: v3-standard-8 17:49:21 INFO: Archiving Costs [Pipeline] sh 17:49:22 + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv 17:49:22 + cut -d, -f6 [Pipeline] lock 17:49:22 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-8-stack-cost] 17:49:22 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-8-stack-cost] did not exist. Created. 17:49:22 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:49:22 + echo total: 0.2199999988079071 [Pipeline] stash 17:49:22 Stashed 1 file(s) [Pipeline] } 17:49:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-8-stack-cost] [Pipeline] // lock [Pipeline] } 17:49:22 $ docker stop --time=1 ffa318cddee0dac27b8dd184898eed534e4d98c52b9a7858ff54b9673c26b0a6 17:49:23 $ docker rm -f ffa318cddee0dac27b8dd184898eed534e4d98c52b9a7858ff54b9673c26b0a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:49:23 Failed in branch amd64 17:50:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15550 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws 17:50:24 Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout 17:50:24 Selected Git installation does not exist. Using Default 17:50:24 The recommended git tool is: NONE 17:50:32 using credential edgex-jenkins-ssh 17:50:32 Cloning the remote Git repository 17:50:32 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:50:32 > git init /w/workspace/device-onvif-camera/8 # timeout=10 17:50:32 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:50:32 > git --version # timeout=10 17:50:32 > git --version # 'git version 2.25.1' 17:50:32 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:50:34 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit b11aceb22335c05c7a94416d5295b8bbfb975ef7 17:50:33 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:50:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:50:33 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:50:33 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:50:33 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:33 > 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 17:50:34 > git config core.sparsecheckout # timeout=10 17:50:34 > git checkout -f b11aceb22335c05c7a94416d5295b8bbfb975ef7 # timeout=10 17:50:34 Merge succeeded, producing 84bdb32f263b2b1d4ec1a1d00d36694782ed3126 17:50:34 Checking out Revision 84bdb32f263b2b1d4ec1a1d00d36694782ed3126 (PR-90) 17:50:34 > git remote # timeout=10 17:50:34 > git config --get remote.origin.url # timeout=10 17:50:34 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:34 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 17:50:34 > git rev-parse HEAD^{commit} # timeout=10 17:50:34 > git config core.sparsecheckout # timeout=10 17:50:34 > git checkout -f 84bdb32f263b2b1d4ec1a1d00d36694782ed3126 # timeout=10 17:50:38 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" 17:50:39 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:50:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:50:39 % Total % Received % Xferd Average Speed Time Time Time Current 17:50:39 Dload Upload Total Spent Left Speed 17:50:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 92825 0 --:--:-- --:--:-- --:--:-- 92825 17:50:38 > git rev-list --no-walk 2775c6cd762abb57a02b935f04ab40577b4831ef # timeout=10 [Pipeline] sh 17:50:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:50:41 + sudo tee /etc/docker/daemon.new 17:50:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:50:41 { 17:50:41 "registry-mirrors": [ 17:50:41 "https://nexus3.edgexfoundry.org:10001" 17:50:41 ], 17:50:41 "bip": "10.250.0.254/24", 17:50:41 "hosts": [ 17:50:41 "tcp://0.0.0.0:5555", 17:50:41 "unix:///var/run/docker.sock" 17:50:41 ], 17:50:41 "mtu": 1458, 17:50:41 "selinux-enabled": true, 17:50:41 "seccomp-profile": "/etc/docker/seccomp.json" 17:50:41 } [Pipeline] sh 17:50:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:50:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:51:00 provisioning config files... 17:51:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config6281835612386266907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:00 ---> docker-login.sh 17:51:00 nexus3.edgexfoundry.org:10001 17:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:01 Configure a credential helper to remove this warning. See 17:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:01 17:51:01 Login Succeeded 17:51:01 nexus3.edgexfoundry.org:10002 17:51:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:02 Configure a credential helper to remove this warning. See 17:51:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:02 17:51:02 Login Succeeded 17:51:02 nexus3.edgexfoundry.org:10003 17:51:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:02 Configure a credential helper to remove this warning. See 17:51:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:02 17:51:02 Login Succeeded 17:51:02 nexus3.edgexfoundry.org:10004 17:51:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:02 Configure a credential helper to remove this warning. See 17:51:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:02 17:51:02 Login Succeeded 17:51:02 docker.io 17:51:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:03 Configure a credential helper to remove this warning. See 17:51:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:03 17:51:03 Login Succeeded 17:51:03 ---> docker-login.sh ends [Pipeline] } 17:51:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:51:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:51:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:51:04 ========================================================= 17:51:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:51:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:04 + 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 . 17:51:05 Sending build context to Docker daemon 6.244MB 17:51:05 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:51:05 Step 2/13 : FROM ${BASE} AS builder 17:51:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:51:05 9b3977197b4f: Pulling fs layer 17:51:05 1a89e8eeedd5: Pulling fs layer 17:51:05 94645a83ff95: Pulling fs layer 17:51:05 e6fb740bc735: Pulling fs layer 17:51:05 3a77bd46dcc9: Pulling fs layer 17:51:05 355e64cbe906: Pulling fs layer 17:51:05 63ab81a10011: Pulling fs layer 17:51:05 555d1d1c4555: Pulling fs layer 17:51:05 7d9057610161: Pulling fs layer 17:51:05 e6fb740bc735: Waiting 17:51:05 3a77bd46dcc9: Waiting 17:51:05 355e64cbe906: Waiting 17:51:05 63ab81a10011: Waiting 17:51:05 555d1d1c4555: Waiting 17:51:05 7d9057610161: Waiting 17:51:05 94645a83ff95: Verifying Checksum 17:51:05 94645a83ff95: Download complete 17:51:05 1a89e8eeedd5: Verifying Checksum 17:51:05 1a89e8eeedd5: Download complete 17:51:05 3a77bd46dcc9: Verifying Checksum 17:51:05 3a77bd46dcc9: Download complete 17:51:05 355e64cbe906: Verifying Checksum 17:51:05 355e64cbe906: Download complete 17:51:05 9b3977197b4f: Download complete 17:51:05 63ab81a10011: Verifying Checksum 17:51:05 63ab81a10011: Download complete 17:51:06 9b3977197b4f: Pull complete 17:51:06 7d9057610161: Verifying Checksum 17:51:06 7d9057610161: Download complete 17:51:07 1a89e8eeedd5: Pull complete 17:51:07 94645a83ff95: Pull complete 17:51:08 555d1d1c4555: Verifying Checksum 17:51:08 555d1d1c4555: Download complete 17:51:08 e6fb740bc735: Verifying Checksum 17:51:08 e6fb740bc735: Download complete 17:51:20 e6fb740bc735: Pull complete 17:51:20 3a77bd46dcc9: Pull complete 17:51:21 355e64cbe906: Pull complete 17:51:21 63ab81a10011: Pull complete 17:51:28 555d1d1c4555: Pull complete 17:51:30 7d9057610161: Pull complete 17:51:30 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 17:51:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:51:30 ---> 819e984ddca1 17:51:30 Step 3/13 : ARG MAKE="make build" 17:51:31 ---> Running in 79488be2b4ef 17:51:31 Removing intermediate container 79488be2b4ef 17:51:31 ---> 992b047cfa63 17:51:31 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:51:31 ---> Running in 285770e746c7 17:51:31 Removing intermediate container 285770e746c7 17:51:31 ---> 36a5d2b17b39 17:51:31 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:51:32 ---> Running in 2a51aeee5683 17:51:34 Removing intermediate container 2a51aeee5683 17:51:34 ---> addb36789521 17:51:34 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:51:34 ---> Running in cf756171ecf3 17:51:34 Removing intermediate container cf756171ecf3 17:51:34 ---> 1a9b14966619 17:51:34 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:51:34 ---> Running in 909a24de1c4c 17:51:36 Removing intermediate container 909a24de1c4c 17:51:36 ---> 236a3ed29b15 17:51:36 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:51:36 ---> Running in 86d716f2832f 17:51:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:51:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:51:39 OK: 220 MiB in 52 packages 17:51:40 Removing intermediate container 86d716f2832f 17:51:40 ---> 5792f11eb838 17:51:40 Step 9/13 : WORKDIR /device-onvif-camera 17:51:40 ---> Running in ba89d2ad8e49 17:51:40 Removing intermediate container ba89d2ad8e49 17:51:40 ---> 1bdb0b2063e3 17:51:40 Step 10/13 : COPY go.mod vendor* ./ 17:51:41 ---> 53d4a2349361 17:51:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:51:41 ---> Running in 54506b24d895 17:52:37 Removing intermediate container 54506b24d895 17:52:37 ---> 82c9e06d4e8c 17:52:37 Step 12/13 : COPY . . 17:52:37 ---> 19f3d702f36b 17:52:37 Step 13/13 : RUN ${MAKE} 17:52:37 ---> Running in 9feaf7601f51 17:52:37 noop 17:52:37 Removing intermediate container 9feaf7601f51 17:52:37 ---> 3671d1e96f12 17:52:37 Successfully built 3671d1e96f12 17:52:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:38 + docker inspect -f . ci-base-image-arm64 17:52:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:38 prd-ubuntu20.04-docker-arm64-4c-16g-15550 does not seem to be running inside a container 17:52:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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 17:52:39 $ docker top 2b16afd4250e080b7b8576be9c46d6a48a4e069d2d733b36b5d7c2cf962f9c8a -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:40 + go version 17:52:40 go version go1.17.7 linux/arm64 [Pipeline] } 17:52:40 $ docker stop --time=1 2b16afd4250e080b7b8576be9c46d6a48a4e069d2d733b36b5d7c2cf962f9c8a 17:52:42 $ docker rm -f 2b16afd4250e080b7b8576be9c46d6a48a4e069d2d733b36b5d7c2cf962f9c8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:43 + docker inspect -f . ci-base-image-arm64 17:52:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:43 prd-ubuntu20.04-docker-arm64-4c-16g-15550 does not seem to be running inside a container 17:52:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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 17:52:44 $ docker top 004f4d6b7d08e3c3ab67e20351c1bc55dc668a853af8a484288269587dfc7328 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:52:45 + make test 17:52:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:52:47 # github.com/edgexfoundry/device-onvif-camera/internal/driver 17:52:47 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 17:52:47 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 17:52:47 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:54:24 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:54:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 34.585s coverage: 13.8% of statements 17:54:51 FAIL 17:54:51 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 17:54:51 $ docker stop --time=1 004f4d6b7d08e3c3ab67e20351c1bc55dc668a853af8a484288269587dfc7328 17:54:53 $ docker rm -f 004f4d6b7d08e3c3ab67e20351c1bc55dc668a853af8a484288269587dfc7328 [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 17:54:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:54:54 17:54:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:54:54 arm64: Pulling from edgex-lftools-log-publisher 17:54:54 8998bd30e6a1: Pulling fs layer 17:54:54 04944245beec: Pulling fs layer 17:54:54 699f458cf7ca: Pulling fs layer 17:54:54 765212b225bb: Pulling fs layer 17:54:54 f23df028b6ca: Pulling fs layer 17:54:54 d65c8cfc05b1: Pulling fs layer 17:54:54 2437ff75d9bd: Pulling fs layer 17:54:54 d65c8cfc05b1: Waiting 17:54:54 2437ff75d9bd: Waiting 17:54:54 765212b225bb: Waiting 17:54:54 f23df028b6ca: Waiting 17:54:54 04944245beec: Verifying Checksum 17:54:54 04944245beec: Download complete 17:54:54 765212b225bb: Download complete 17:54:54 f23df028b6ca: Verifying Checksum 17:54:54 f23df028b6ca: Download complete 17:54:54 d65c8cfc05b1: Verifying Checksum 17:54:54 d65c8cfc05b1: Download complete 17:54:55 699f458cf7ca: Verifying Checksum 17:54:55 8998bd30e6a1: Verifying Checksum 17:54:55 8998bd30e6a1: Download complete 17:54:58 2437ff75d9bd: Verifying Checksum 17:54:58 2437ff75d9bd: Download complete 17:54:59 8998bd30e6a1: Pull complete 17:54:59 04944245beec: Pull complete 17:55:01 699f458cf7ca: Pull complete 17:55:01 765212b225bb: Pull complete 17:55:02 f23df028b6ca: Pull complete 17:55:02 d65c8cfc05b1: Pull complete 17:55:17 2437ff75d9bd: Pull complete 17:55:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:55:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:55:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:17 prd-ubuntu20.04-docker-arm64-4c-16g-15550 does not seem to be running inside a container 17:55:17 $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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 17:55:20 $ docker top b4d74943b84d798a9308d8ddf3ffb78336782192df61c7c8826fc833e530adf7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:21 ---> job-cost.sh 17:55:21 lf-activate-venv: SKIPPING 17:55:21 INFO: No Stack... 17:55:23 INFO: Retrieving Pricing Info for: v3-standard-4 17:55:24 INFO: Archiving Costs [Pipeline] sh 17:55:24 + cat /w/workspace/device-onvif-camera/8/archives/cost.csv 17:55:24 + cut -d, -f6 [Pipeline] lock 17:55:24 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-8-stack-cost] 17:55:24 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-8-stack-cost] did not exist. Created. 17:55:24 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:55:25 /w/workspace/device-onvif-camera/8@tmp/durable-1ed53f0a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:55:26 + echo total: 0.10999999940395355 [Pipeline] stash 17:55:26 Warning: overwriting stash ‘stack-cost’ 17:55:26 Stashed 1 file(s) [Pipeline] } 17:55:26 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-8-stack-cost] [Pipeline] // lock [Pipeline] } 17:55:26 $ docker stop --time=1 b4d74943b84d798a9308d8ddf3ffb78336782192df61c7c8826fc833e530adf7 17:55:28 $ docker rm -f b4d74943b84d798a9308d8ddf3ffb78336782192df61c7c8826fc833e530adf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:55:28 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 17:55:29 + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] 17:55:29 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 17:55:29 total 16 17:55:29 drwxr-xr-x 3 root root 4096 Jun 24 17:49 . 17:55:29 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 17:49 .. 17:55:29 drwxr-xr-x 2 root root 4096 Jun 24 17:49 cost 17:55:29 -rw-r--r-- 1 root root 89 Jun 24 17:49 cost.csv 17:55:29 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives 17:55:29 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 17:55:29 total 16 17:55:29 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 17:49 . 17:55:29 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 17:49 .. 17:55:29 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 17:49 cost 17:55:29 -rw-r--r-- 1 jenkins jenkins 89 Jun 24 17:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:55:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:55:30 ---> package-listing.sh 17:55:30 ++ facter osfamily 17:55:30 ++ tr '[:upper:]' '[:lower:]' 17:55:30 + OS_FAMILY=debian 17:55:30 + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 17:55:30 + START_PACKAGES=/tmp/packages_start.txt 17:55:30 + END_PACKAGES=/tmp/packages_end.txt 17:55:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:55:30 + PACKAGES=/tmp/packages_start.txt 17:55:30 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 17:55:30 + PACKAGES=/tmp/packages_end.txt 17:55:30 + case "${OS_FAMILY}" in 17:55:30 + dpkg -l 17:55:30 + grep '^ii' 17:55:30 + '[' -f /tmp/packages_start.txt ']' 17:55:30 + '[' -f /tmp/packages_end.txt ']' 17:55:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:55:30 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 17:55:30 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ 17:55:30 + 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 17:55:30 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 17:55:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:31 prd-ubuntu20.04-docker-8c-8g-15549 does not seem to be running inside a container 17:55:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:55:31 $ docker top 2c8c233edd01017508e5257159c36746e7fa60f07f3b4af81046db062f976346 -eo pid,comm [Pipeline] { [Pipeline] sh 17:55:32 + touch /tmp/pre-build-complete [Pipeline] sh 17:55:32 + mkdir -p /var/log/sysstat [Pipeline] sh 17:55:32 + ls /var/log/sa-host 17:55:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:55:32 provisioning config files... 17:55:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config439276997532724813tmp [Pipeline] { [Pipeline] echo 17:55:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:55:33 ---> create-netrc.sh [Pipeline] } 17:55:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:55:33 ---> python-tools-install.sh [Pipeline] echo 17:55:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:55:33 ---> sudo-logs.sh 17:55:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:55:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:55:34 ---> job-cost.sh 17:55:34 lf-activate-venv: SKIPPING 17:55:34 DEBUG: total: 0.2199999988079071 17:55:34 INFO: Retrieving Stack Cost... 17:55:34 INFO: Retrieving Pricing Info for: v3-standard-8 17:55:34 INFO: Archiving Costs [Pipeline] echo 17:55:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:55:35 ---> logs-deploy.sh 17:55:35 lf-activate-venv: SKIPPING 17:55:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/8 17:55:35 INFO: archiving workspace using pattern(s): 17:55:36 Archives upload complete. 17:55:36 INFO: archiving logs to Nexus