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 d3b233c8ff56e5a9991a70e7f373557ecc6582ff 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-ssh9854420568973792263.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-ssh16563029737035683098.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-ssh6811570350761534075.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-ssh16861936887141177799.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-ssh16550942689968181492.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-15545’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15547 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-90 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit d3b233c8ff56e5a9991a70e7f373557ecc6582ff Merge succeeded, producing 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 Checking out Revision 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 (PR-90) > git config core.sparsecheckout # timeout=10 > git checkout -f d3b233c8ff56e5a9991a70e7f373557ecc6582ff # 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 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 # 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:39:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:39:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:39:19 ========================================================= 17:39:19 EdgeX Global Pipelines Version Info 17:39:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 04e5de50dd3c8b18551e1b43de0dd5f73c11856b # timeout=10 17:39:19 ------------------- 17:39:19 stable info: 17:39:19 ------------------- 17:39:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:39:19 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 17:39:19 Message: update stable to v1.0.234 17:39:20 ------------------- 17:39:20 experimental info: 17:39:20 ------------------- 17:39:20 Commited By: **** collab-it+edgex@linuxfoundation.org 17:39:20 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 17:39:20 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:39:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:39:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:39:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:39:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo 17:39:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo 17:39:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo 17:39:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 [Pipeline] echo 17:39:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f444ce [Pipeline] echo 17:39:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:39:21 provisioning config files... 17:39:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config391772140087057461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:21 ---> docker-login.sh 17:39:21 nexus3.edgexfoundry.org:10001 17:39:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:21 Configure a credential helper to remove this warning. See 17:39:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:21 17:39:21 Login Succeeded 17:39:21 nexus3.edgexfoundry.org:10002 17:39:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:21 Configure a credential helper to remove this warning. See 17:39:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:21 17:39:21 Login Succeeded 17:39:21 nexus3.edgexfoundry.org:10003 17:39:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:21 Configure a credential helper to remove this warning. See 17:39:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:21 17:39:21 Login Succeeded 17:39:21 nexus3.edgexfoundry.org:10004 17:39:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:22 Configure a credential helper to remove this warning. See 17:39:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:22 17:39:22 Login Succeeded 17:39:22 docker.io 17:39:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:22 Configure a credential helper to remove this warning. See 17:39:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:22 17:39:22 Login Succeeded 17:39:22 ---> docker-login.sh ends [Pipeline] } 17:39:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:39:23 + git rev-list -1 --merges 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46~1..8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 [Pipeline] echo 17:39:23 -----------> git rev-list -1 --merges 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46~1..8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 17:39:23 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 [false] [Pipeline] sh 17:39:23 + git log --format=format:%s -1 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 [Pipeline] echo 17:39:23 ========================================================= 17:39:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:39:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:39:23 + git log --format=format:%s -1 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46 [Pipeline] echo 17:39:23 [semverPrep] GIT_COMMIT: 8f444ce5719eb9be1a79ebb9b1ea79fb3e611c46, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo 17:39:23 [semverPrep] This is not a build commit. [Pipeline] sh 17:39:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:39:24 + grep -v github /etc/ssh/ssh_known_hosts 17:39:24 + [ -e /tmp/ssh_known_hosts ] 17:39:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:39:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:39:24 + sudo tee -a /etc/ssh/ssh_known_hosts 17:39:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:39:24 17:39:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:39:25 0.1.4: Pulling from edgex-devops/py-git-semver 17:39:25 42c077c10790: Pulling fs layer 17:39:25 f63e77b7563a: Pulling fs layer 17:39:25 bd5fdadae976: Pulling fs layer 17:39:25 205491f53016: Pulling fs layer 17:39:25 df18705c85c3: Pulling fs layer 17:39:25 bdb3f477010e: Pulling fs layer 17:39:25 c8a8fc8e1c8f: Pulling fs layer 17:39:25 2c6e9b1d212d: Pulling fs layer 17:39:25 bdb8f0575790: Pulling fs layer 17:39:25 386e3cb2ff24: Pulling fs layer 17:39:25 2343380bae48: Pulling fs layer 17:39:25 bdb8f0575790: Waiting 17:39:25 386e3cb2ff24: Waiting 17:39:25 2343380bae48: Waiting 17:39:25 c8a8fc8e1c8f: Waiting 17:39:25 df18705c85c3: Waiting 17:39:25 205491f53016: Waiting 17:39:25 2c6e9b1d212d: Waiting 17:39:25 f63e77b7563a: Download complete 17:39:25 205491f53016: Verifying Checksum 17:39:25 205491f53016: Download complete 17:39:25 df18705c85c3: Verifying Checksum 17:39:25 df18705c85c3: Download complete 17:39:25 bdb3f477010e: Verifying Checksum 17:39:25 bd5fdadae976: Verifying Checksum 17:39:25 bd5fdadae976: Download complete 17:39:25 2c6e9b1d212d: Verifying Checksum 17:39:25 2c6e9b1d212d: Download complete 17:39:25 bdb8f0575790: Download complete 17:39:25 386e3cb2ff24: Verifying Checksum 17:39:25 386e3cb2ff24: Download complete 17:39:25 2343380bae48: Verifying Checksum 17:39:25 2343380bae48: Download complete 17:39:25 42c077c10790: Verifying Checksum 17:39:25 42c077c10790: Download complete 17:39:25 c8a8fc8e1c8f: Verifying Checksum 17:39:25 c8a8fc8e1c8f: Download complete 17:39:26 42c077c10790: Pull complete 17:39:26 f63e77b7563a: Pull complete 17:39:27 bd5fdadae976: Pull complete 17:39:27 205491f53016: Pull complete 17:39:27 df18705c85c3: Pull complete 17:39:27 bdb3f477010e: Pull complete 17:39:29 c8a8fc8e1c8f: Pull complete 17:39:29 2c6e9b1d212d: Pull complete 17:39:29 bdb8f0575790: Pull complete 17:39:29 386e3cb2ff24: Pull complete 17:39:30 2343380bae48: Pull complete 17:39:30 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 17:39:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:39:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:30 prd-ubuntu20.04-docker-8c-8g-15547 does not seem to be running inside a container 17:39:30 $ 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:39:31 $ docker top 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde -eo pid,comm 17:39:31 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:39:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:39:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:39:31 [ssh-agent] Looking for ssh-agent implementation... 17:39:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:39:31 $ docker exec 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde ssh-agent 17:39:31 SSH_AUTH_SOCK=/tmp/ssh-iBQfbcu3D0cW/agent.35 17:39:31 SSH_AGENT_PID=41 17:39:31 Running ssh-add (command line suppressed) 17:39:31 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_1182880184768156798.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_1182880184768156798.key) 17:39:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:39:32 + git tag --points-at HEAD [Pipeline] } 17:39:32 $ docker exec --env ******** --env ******** 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde ssh-agent -k 17:39:32 unset SSH_AUTH_SOCK; 17:39:32 unset SSH_AGENT_PID; 17:39:32 echo Agent pid 41 killed; 17:39:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:39:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:39:32 [ssh-agent] Looking for ssh-agent implementation... 17:39:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:39:32 $ docker exec 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde ssh-agent 17:39:32 SSH_AUTH_SOCK=/tmp/ssh-rFekDibLHkY7/agent.74 17:39:32 SSH_AGENT_PID=80 17:39:32 Running ssh-add (command line suppressed) 17:39:32 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_2421443366676551846.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_2421443366676551846.key) 17:39:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:39:33 + git semver init 17:39:33 2022-06-24 17:39:33,234 [run_init] DEBUG init version:0.0.0 force:False 17:39:33 2022-06-24 17:39:33,234 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver 17:39:33 2022-06-24 17:39:33,235 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver 17:39:33 2022-06-24 17:39:33,235 [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:39:33 2022-06-24 17:39:33,844 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude 17:39:33 2022-06-24 17:39:33,845 [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:39:33 2022-06-24 17:39:33,845 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 17:39:33 2022-06-24 17:39:33,850 [execute] INFO git cat-file --batch-check 17:39:33 2022-06-24 17:39:33,851 [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:39:34 2022-06-24 17:39:33,858 [execute] INFO git cat-file --batch 17:39:34 2022-06-24 17:39:33,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 17:39:34 2022-06-24 17:39:33,863 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 17:39:34 0.0.0 [Pipeline] } 17:39:34 $ docker exec --env ******** --env ******** 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde ssh-agent -k 17:39:34 unset SSH_AUTH_SOCK; 17:39:34 unset SSH_AGENT_PID; 17:39:34 echo Agent pid 80 killed; 17:39:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:39:34 + git semver [Pipeline] } 17:39:34 $ docker stop --time=1 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde 17:39:36 $ docker rm -f 0d724eeaec01139fb23f530479697f4e90eea80a7f73b6e0520b544a9fbb3bde [Pipeline] // withDockerContainer [Pipeline] sh 17:39:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:39:36 Stashed 1 file(s) [Pipeline] echo 17:39:36 [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:39:36 provisioning config files... 17:39:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5424721540883662140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:37 ---> docker-login.sh 17:39:37 nexus3.edgexfoundry.org:10001 17:39:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:37 Configure a credential helper to remove this warning. See 17:39:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:37 17:39:37 Login Succeeded 17:39:37 nexus3.edgexfoundry.org:10002 17:39:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:37 Configure a credential helper to remove this warning. See 17:39:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:37 17:39:37 Login Succeeded 17:39:37 nexus3.edgexfoundry.org:10003 17:39:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:37 Configure a credential helper to remove this warning. See 17:39:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:37 17:39:37 Login Succeeded 17:39:37 nexus3.edgexfoundry.org:10004 17:39:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:37 Configure a credential helper to remove this warning. See 17:39:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:37 17:39:37 Login Succeeded 17:39:37 docker.io 17:39:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:37 Configure a credential helper to remove this warning. See 17:39:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:37 17:39:37 Login Succeeded 17:39:37 ---> docker-login.sh ends [Pipeline] } 17:39:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:39:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:39:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:39:38 ========================================================= 17:39:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:39:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:38 + 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:39:38 Sending build context to Docker daemon 9.023MB 17:39:38 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:39:38 Step 2/13 : FROM ${BASE} AS builder 17:39:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:39:38 59bf1c3509f3: Pulling fs layer 17:39:38 666ba61612fd: Pulling fs layer 17:39:38 8ed8ca486205: Pulling fs layer 17:39:38 cc1cd167ecdc: Pulling fs layer 17:39:38 c516ae0d96e1: Pulling fs layer 17:39:38 684cea983483: Pulling fs layer 17:39:38 dd3240ac7de5: Pulling fs layer 17:39:38 b1e948a4e11c: Pulling fs layer 17:39:38 a8fd76ee1af6: Pulling fs layer 17:39:38 646ad004c059: Pulling fs layer 17:39:38 dd3240ac7de5: Waiting 17:39:38 b1e948a4e11c: Waiting 17:39:38 cc1cd167ecdc: Waiting 17:39:38 684cea983483: Waiting 17:39:38 a8fd76ee1af6: Waiting 17:39:38 646ad004c059: Waiting 17:39:38 c516ae0d96e1: Waiting 17:39:38 8ed8ca486205: Download complete 17:39:38 666ba61612fd: Download complete 17:39:38 c516ae0d96e1: Verifying Checksum 17:39:38 c516ae0d96e1: Download complete 17:39:38 684cea983483: Verifying Checksum 17:39:38 684cea983483: Download complete 17:39:38 dd3240ac7de5: Download complete 17:39:38 59bf1c3509f3: Verifying Checksum 17:39:38 59bf1c3509f3: Download complete 17:39:38 59bf1c3509f3: Pull complete 17:39:38 b1e948a4e11c: Verifying Checksum 17:39:38 b1e948a4e11c: Download complete 17:39:38 666ba61612fd: Pull complete 17:39:38 8ed8ca486205: Pull complete 17:39:38 646ad004c059: Verifying Checksum 17:39:38 646ad004c059: Download complete 17:39:39 a8fd76ee1af6: Verifying Checksum 17:39:39 a8fd76ee1af6: Download complete 17:39:39 cc1cd167ecdc: Verifying Checksum 17:39:39 cc1cd167ecdc: Download complete 17:39:42 cc1cd167ecdc: Pull complete 17:39:42 c516ae0d96e1: Pull complete 17:39:42 684cea983483: Pull complete 17:39:42 dd3240ac7de5: Pull complete 17:39:42 b1e948a4e11c: Pull complete 17:39:44 a8fd76ee1af6: Pull complete 17:39:45 646ad004c059: Pull complete 17:39:45 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 17:39:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:39:45 ---> 8f69c11f6b0c 17:39:45 Step 3/13 : ARG MAKE="make build" 17:39:46 ---> Running in cdbd87fea2ed 17:39:46 Removing intermediate container cdbd87fea2ed 17:39:46 ---> c7d9edc6335d 17:39:46 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:39:46 ---> Running in 0619cd91d2f7 17:39:47 Removing intermediate container 0619cd91d2f7 17:39:47 ---> 65613051fab2 17:39:47 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:39:47 ---> Running in 0323a2f66ffc 17:39:47 Removing intermediate container 0323a2f66ffc 17:39:47 ---> 9d453cd02e6c 17:39:47 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:39:47 ---> Running in e190a0e8e31d 17:39:47 Removing intermediate container e190a0e8e31d 17:39:47 ---> ce377f18b466 17:39:47 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:39:47 ---> Running in 87118b445013 17:39:47 Removing intermediate container 87118b445013 17:39:47 ---> 64eeab79ecd1 17:39:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:39:47 ---> Running in 3c738150b71a 17:39:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:39:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:39:49 OK: 221 MiB in 52 packages 17:39:49 Removing intermediate container 3c738150b71a 17:39:49 ---> f70b235ec8a5 17:39:49 Step 9/13 : WORKDIR /device-onvif-camera 17:39:49 ---> Running in 4aa8bfb82cbd 17:39:49 Removing intermediate container 4aa8bfb82cbd 17:39:49 ---> 88041f9a7fad 17:39:49 Step 10/13 : COPY go.mod vendor* ./ 17:39:49 ---> 730350b93218 17:39:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:39:49 ---> Running in 689c50737a1e 17:39:51 Still waiting to schedule task 17:39:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15546’ is offline 17:40:04 Removing intermediate container 689c50737a1e 17:40:04 ---> c66e18bc3f62 17:40:04 Step 12/13 : COPY . . 17:40:04 ---> ba0d357cb9a5 17:40:04 Step 13/13 : RUN ${MAKE} 17:40:04 ---> Running in cfb5da1a80db 17:40:04 noop 17:40:04 Removing intermediate container cfb5da1a80db 17:40:04 ---> b1be2eece950 17:40:04 Successfully built b1be2eece950 17:40:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:05 + docker inspect -f . ci-base-image-x86_64 17:40:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:05 prd-ubuntu20.04-docker-8c-8g-15547 does not seem to be running inside a container 17:40:05 $ 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:40:05 $ docker top afd1cdb27401a6bc47d45af4c5a7b62116a24e91f3ef1c762cacd7d083161fab -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:05 + go version 17:40:05 go version go1.17.7 linux/amd64 [Pipeline] } 17:40:05 $ docker stop --time=1 afd1cdb27401a6bc47d45af4c5a7b62116a24e91f3ef1c762cacd7d083161fab 17:40:07 $ docker rm -f afd1cdb27401a6bc47d45af4c5a7b62116a24e91f3ef1c762cacd7d083161fab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:07 + docker inspect -f . ci-base-image-x86_64 17:40:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:07 prd-ubuntu20.04-docker-8c-8g-15547 does not seem to be running inside a container 17:40:07 $ 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:40:08 $ docker top b96f2397fbdf43638fc92f077804ba7dcbb7cb8529fd1dcf5f153b46fae967fc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:40:08 + make test 17:40:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:40:08 # github.com/edgexfoundry/device-onvif-camera/internal/driver 17:40:08 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 17:40:08 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 17:40:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:40:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:40:22 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.832s coverage: 13.8% of statements 17:40:22 FAIL 17:40:22 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 17:40:22 $ docker stop --time=1 b96f2397fbdf43638fc92f077804ba7dcbb7cb8529fd1dcf5f153b46fae967fc 17:40:23 $ docker rm -f b96f2397fbdf43638fc92f077804ba7dcbb7cb8529fd1dcf5f153b46fae967fc [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:40:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:24 17:40:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:24 latest: Pulling from edgex-lftools-log-publisher 17:40:24 5eb5b503b376: Pulling fs layer 17:40:24 5c69ac0246d0: Pulling fs layer 17:40:24 ec43610c2a17: Pulling fs layer 17:40:24 3a2ae6a8a46f: Pulling fs layer 17:40:24 33b1e0a273af: Pulling fs layer 17:40:24 5d3b04190fa2: Pulling fs layer 17:40:24 2f39f015ded8: Pulling fs layer 17:40:24 33b1e0a273af: Waiting 17:40:24 3a2ae6a8a46f: Waiting 17:40:24 5d3b04190fa2: Waiting 17:40:24 2f39f015ded8: Waiting 17:40:24 5c69ac0246d0: Download complete 17:40:24 3a2ae6a8a46f: Verifying Checksum 17:40:24 3a2ae6a8a46f: Download complete 17:40:24 33b1e0a273af: Verifying Checksum 17:40:24 33b1e0a273af: Download complete 17:40:24 5d3b04190fa2: Verifying Checksum 17:40:24 5d3b04190fa2: Download complete 17:40:24 ec43610c2a17: Verifying Checksum 17:40:24 ec43610c2a17: Download complete 17:40:24 5eb5b503b376: Verifying Checksum 17:40:24 5eb5b503b376: Download complete 17:40:25 2f39f015ded8: Download complete 17:40:25 5eb5b503b376: Pull complete 17:40:26 5c69ac0246d0: Pull complete 17:40:26 ec43610c2a17: Pull complete 17:40:26 3a2ae6a8a46f: Pull complete 17:40:27 33b1e0a273af: Pull complete 17:40:27 5d3b04190fa2: Pull complete 17:40:31 2f39f015ded8: Pull complete 17:40:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:40:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:31 prd-ubuntu20.04-docker-8c-8g-15547 does not seem to be running inside a container 17:40:31 $ 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:40:32 $ docker top 66aed7291cd5b6464050ac2925cba447129002364219612adccd7cbd2778e585 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:40:33 ---> job-cost.sh 17:40:33 lf-activate-venv: SKIPPING 17:40:33 INFO: No Stack... 17:40:33 INFO: Retrieving Pricing Info for: v3-standard-8 17:40:33 INFO: Archiving Costs [Pipeline] sh 17:40:34 + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv 17:40:34 + cut -d, -f6 [Pipeline] lock 17:40:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] 17:40:34 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] did not exist. Created. 17:40:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:40:34 + echo total: 0.2199999988079071 [Pipeline] stash 17:40:34 Stashed 1 file(s) [Pipeline] } 17:40:34 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] [Pipeline] // lock [Pipeline] } 17:40:34 $ docker stop --time=1 66aed7291cd5b6464050ac2925cba447129002364219612adccd7cbd2778e585 17:40:35 $ docker rm -f 66aed7291cd5b6464050ac2925cba447129002364219612adccd7cbd2778e585 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:40:35 Failed in branch amd64 17:41:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15548 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws 17:41:37 Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout 17:41:37 Selected Git installation does not exist. Using Default 17:41:37 The recommended git tool is: NONE 17:41:44 using credential edgex-jenkins-ssh 17:41:44 Cloning the remote Git repository 17:41:44 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:41:45 > git init /w/workspace/device-onvif-camera/7 # timeout=10 17:41:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:41:45 > git --version # timeout=10 17:41:45 > git --version # 'git version 2.25.1' 17:41:45 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:46 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit d3b233c8ff56e5a9991a70e7f373557ecc6582ff 17:41:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:41:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:41:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:41:46 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:46 > 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:41:46 > git config core.sparsecheckout # timeout=10 17:41:46 > git checkout -f d3b233c8ff56e5a9991a70e7f373557ecc6582ff # timeout=10 17:41:46 > git remote # timeout=10 17:41:46 > git config --get remote.origin.url # timeout=10 17:41:46 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:46 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 17:41:47 Merge succeeded, producing 2775c6cd762abb57a02b935f04ab40577b4831ef 17:41:47 Checking out Revision 2775c6cd762abb57a02b935f04ab40577b4831ef (PR-90) 17:41:47 > git rev-parse HEAD^{commit} # timeout=10 17:41:47 > git config core.sparsecheckout # timeout=10 17:41:47 > git checkout -f 2775c6cd762abb57a02b935f04ab40577b4831ef # timeout=10 17:41:51 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" 17:41:51 First time build. Skipping changelog. 17:41:51 > git rev-list --no-walk 04e5de50dd3c8b18551e1b43de0dd5f73c11856b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:41:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:41:52 % Total % Received % Xferd Average Speed Time Time Time Current 17:41:52 Dload Upload Total Spent Left Speed 17:41:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 90762 0 --:--:-- --:--:-- --:--:-- 90762 [Pipeline] sh 17:41:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:41:53 + sudo tee /etc/docker/daemon.new 17:41:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:41:53 { 17:41:53 "registry-mirrors": [ 17:41:53 "https://nexus3.edgexfoundry.org:10001" 17:41:53 ], 17:41:53 "bip": "10.250.0.254/24", 17:41:53 "hosts": [ 17:41:53 "tcp://0.0.0.0:5555", 17:41:53 "unix:///var/run/docker.sock" 17:41:53 ], 17:41:53 "mtu": 1458, 17:41:53 "selinux-enabled": true, 17:41:53 "seccomp-profile": "/etc/docker/seccomp.json" 17:41:53 } [Pipeline] sh 17:41:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:41:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:42:12 provisioning config files... 17:42:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config7960953130948660084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:42:12 ---> docker-login.sh 17:42:12 nexus3.edgexfoundry.org:10001 17:42:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:13 Configure a credential helper to remove this warning. See 17:42:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:13 17:42:13 Login Succeeded 17:42:13 nexus3.edgexfoundry.org:10002 17:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:14 Configure a credential helper to remove this warning. See 17:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:14 17:42:14 Login Succeeded 17:42:14 nexus3.edgexfoundry.org:10003 17:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:14 Configure a credential helper to remove this warning. See 17:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:14 17:42:14 Login Succeeded 17:42:14 nexus3.edgexfoundry.org:10004 17:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:15 Configure a credential helper to remove this warning. See 17:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:15 17:42:15 Login Succeeded 17:42:15 docker.io 17:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:16 Configure a credential helper to remove this warning. See 17:42:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:16 17:42:16 Login Succeeded 17:42:16 ---> docker-login.sh ends [Pipeline] } 17:42:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:42:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:42:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:42:17 ========================================================= 17:42:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:42:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:17 + 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:42:18 Sending build context to Docker daemon 6.23MB 17:42:18 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:42:18 Step 2/13 : FROM ${BASE} AS builder 17:42:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:42:18 9b3977197b4f: Pulling fs layer 17:42:18 1a89e8eeedd5: Pulling fs layer 17:42:18 94645a83ff95: Pulling fs layer 17:42:18 e6fb740bc735: Pulling fs layer 17:42:18 3a77bd46dcc9: Pulling fs layer 17:42:18 355e64cbe906: Pulling fs layer 17:42:18 63ab81a10011: Pulling fs layer 17:42:18 555d1d1c4555: Pulling fs layer 17:42:18 7d9057610161: Pulling fs layer 17:42:18 355e64cbe906: Waiting 17:42:18 e6fb740bc735: Waiting 17:42:18 3a77bd46dcc9: Waiting 17:42:18 555d1d1c4555: Waiting 17:42:18 63ab81a10011: Waiting 17:42:18 7d9057610161: Waiting 17:42:18 94645a83ff95: Verifying Checksum 17:42:18 94645a83ff95: Download complete 17:42:18 1a89e8eeedd5: Verifying Checksum 17:42:18 1a89e8eeedd5: Download complete 17:42:18 3a77bd46dcc9: Download complete 17:42:18 355e64cbe906: Verifying Checksum 17:42:18 355e64cbe906: Download complete 17:42:18 9b3977197b4f: Verifying Checksum 17:42:18 9b3977197b4f: Download complete 17:42:18 63ab81a10011: Download complete 17:42:19 9b3977197b4f: Pull complete 17:42:19 7d9057610161: Verifying Checksum 17:42:19 7d9057610161: Download complete 17:42:19 1a89e8eeedd5: Pull complete 17:42:20 94645a83ff95: Pull complete 17:42:20 555d1d1c4555: Verifying Checksum 17:42:20 555d1d1c4555: Download complete 17:42:21 e6fb740bc735: Verifying Checksum 17:42:21 e6fb740bc735: Download complete 17:42:33 e6fb740bc735: Pull complete 17:42:33 3a77bd46dcc9: Pull complete 17:42:33 355e64cbe906: Pull complete 17:42:33 63ab81a10011: Pull complete 17:42:38 555d1d1c4555: Pull complete 17:42:40 7d9057610161: Pull complete 17:42:40 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 17:42:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:42:40 ---> 819e984ddca1 17:42:40 Step 3/13 : ARG MAKE="make build" 17:42:42 ---> Running in 8c6d30ace8de 17:42:42 Removing intermediate container 8c6d30ace8de 17:42:42 ---> 1f0a546d6f34 17:42:42 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:42:43 ---> Running in ac3d84c25bf3 17:42:43 Removing intermediate container ac3d84c25bf3 17:42:43 ---> 36c6f6839fed 17:42:43 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:42:43 ---> Running in 852bd5192d51 17:42:43 Removing intermediate container 852bd5192d51 17:42:43 ---> 56dc4df3d5d7 17:42:43 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:42:44 ---> Running in d393f3c0d55c 17:42:44 Removing intermediate container d393f3c0d55c 17:42:44 ---> fa0ad2001d37 17:42:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:42:44 ---> Running in 976fd7b65d8a 17:42:47 Removing intermediate container 976fd7b65d8a 17:42:47 ---> 95296403cbd4 17:42:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:42:47 ---> Running in a04100e3a143 17:42:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:42:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:42:50 OK: 220 MiB in 52 packages 17:42:50 Removing intermediate container a04100e3a143 17:42:50 ---> cd4b369c4e4a 17:42:50 Step 9/13 : WORKDIR /device-onvif-camera 17:42:51 ---> Running in 228399cd4077 17:42:51 Removing intermediate container 228399cd4077 17:42:51 ---> ed7285529bcf 17:42:51 Step 10/13 : COPY go.mod vendor* ./ 17:42:52 ---> cdc9d2a7a089 17:42:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:42:52 ---> Running in 5a12d09c1212 17:43:48 Removing intermediate container 5a12d09c1212 17:43:48 ---> c4157990cbf9 17:43:48 Step 12/13 : COPY . . 17:43:48 ---> b5be5d81e3b8 17:43:48 Step 13/13 : RUN ${MAKE} 17:43:48 ---> Running in 7d13ab90fdd3 17:43:48 noop 17:43:48 Removing intermediate container 7d13ab90fdd3 17:43:48 ---> ee94f2d1cacd 17:43:48 Successfully built ee94f2d1cacd 17:43:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:49 + docker inspect -f . ci-base-image-arm64 17:43:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:49 prd-ubuntu20.04-docker-arm64-4c-16g-15548 does not seem to be running inside a container 17:43:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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-arm64 cat 17:43:50 $ docker top 20733778ce23e87dc35a2ab4db03bf4a970b5461b91ceab6b95b1bab417a33e3 -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:51 + go version 17:43:51 go version go1.17.7 linux/arm64 [Pipeline] } 17:43:51 $ docker stop --time=1 20733778ce23e87dc35a2ab4db03bf4a970b5461b91ceab6b95b1bab417a33e3 17:43:53 $ docker rm -f 20733778ce23e87dc35a2ab4db03bf4a970b5461b91ceab6b95b1bab417a33e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:53 + docker inspect -f . ci-base-image-arm64 17:43:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:54 prd-ubuntu20.04-docker-arm64-4c-16g-15548 does not seem to be running inside a container 17:43:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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-arm64 cat 17:43:55 $ docker top ada913648ec091c2cfc213591b7d00c636bd40a0a0fd46cf4b2bf73f9d0e6fd1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:43:56 + make test 17:43:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:43:57 # github.com/edgexfoundry/device-onvif-camera/internal/driver 17:43:57 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 17:43:57 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 17:43:58 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:45:34 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:46:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 39.963s coverage: 13.8% of statements 17:46:01 FAIL 17:46:02 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 17:46:02 $ docker stop --time=1 ada913648ec091c2cfc213591b7d00c636bd40a0a0fd46cf4b2bf73f9d0e6fd1 17:46:03 $ docker rm -f ada913648ec091c2cfc213591b7d00c636bd40a0a0fd46cf4b2bf73f9d0e6fd1 [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:46:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:46:04 17:46:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:46:05 arm64: Pulling from edgex-lftools-log-publisher 17:46:05 8998bd30e6a1: Pulling fs layer 17:46:05 04944245beec: Pulling fs layer 17:46:05 699f458cf7ca: Pulling fs layer 17:46:05 765212b225bb: Pulling fs layer 17:46:05 f23df028b6ca: Pulling fs layer 17:46:05 d65c8cfc05b1: Pulling fs layer 17:46:05 2437ff75d9bd: Pulling fs layer 17:46:05 f23df028b6ca: Waiting 17:46:05 d65c8cfc05b1: Waiting 17:46:05 2437ff75d9bd: Waiting 17:46:05 765212b225bb: Waiting 17:46:05 04944245beec: Verifying Checksum 17:46:05 04944245beec: Download complete 17:46:05 765212b225bb: Verifying Checksum 17:46:05 765212b225bb: Download complete 17:46:05 f23df028b6ca: Verifying Checksum 17:46:05 f23df028b6ca: Download complete 17:46:05 d65c8cfc05b1: Download complete 17:46:05 699f458cf7ca: Verifying Checksum 17:46:05 699f458cf7ca: Download complete 17:46:06 8998bd30e6a1: Verifying Checksum 17:46:06 8998bd30e6a1: Download complete 17:46:08 2437ff75d9bd: Verifying Checksum 17:46:08 2437ff75d9bd: Download complete 17:46:10 8998bd30e6a1: Pull complete 17:46:11 04944245beec: Pull complete 17:46:12 699f458cf7ca: Pull complete 17:46:12 765212b225bb: Pull complete 17:46:13 f23df028b6ca: Pull complete 17:46:13 d65c8cfc05b1: Pull complete 17:46:28 2437ff75d9bd: Pull complete 17:46:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:46:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:46:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:29 prd-ubuntu20.04-docker-arm64-4c-16g-15548 does not seem to be running inside a container 17:46:29 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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:arm64 cat 17:46:31 $ docker top 0539bd64ba3e22a39dd387895d7465fc8a3551e78fcafa2a8bc687505cc2c63f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:46:32 ---> job-cost.sh 17:46:32 lf-activate-venv: SKIPPING 17:46:32 INFO: No Stack... 17:46:33 INFO: Retrieving Pricing Info for: v3-standard-4 17:46:34 INFO: Archiving Costs [Pipeline] sh 17:46:34 + + catcut /w/workspace/device-onvif-camera/7/archives/cost.csv -d, 17:46:34 -f6 [Pipeline] lock 17:46:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] 17:46:34 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] did not exist. Created. 17:46:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:46:35 /w/workspace/device-onvif-camera/7@tmp/durable-4dba92f1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:46:36 + echo total: 0.10999999940395355 [Pipeline] stash 17:46:36 Warning: overwriting stash ‘stack-cost’ 17:46:36 Stashed 1 file(s) [Pipeline] } 17:46:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-7-stack-cost] [Pipeline] // lock [Pipeline] } 17:46:36 $ docker stop --time=1 0539bd64ba3e22a39dd387895d7465fc8a3551e78fcafa2a8bc687505cc2c63f 17:46:38 $ docker rm -f 0539bd64ba3e22a39dd387895d7465fc8a3551e78fcafa2a8bc687505cc2c63f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:46:38 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:46:39 + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] 17:46:39 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 17:46:39 total 16 17:46:39 drwxr-xr-x 3 root root 4096 Jun 24 17:40 . 17:46:39 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 17:40 .. 17:46:39 drwxr-xr-x 2 root root 4096 Jun 24 17:40 cost 17:46:39 -rw-r--r-- 1 root root 89 Jun 24 17:40 cost.csv 17:46:39 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives 17:46:39 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 17:46:39 total 16 17:46:39 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 17:40 . 17:46:39 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 17:40 .. 17:46:39 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 17:40 cost 17:46:39 -rw-r--r-- 1 jenkins jenkins 89 Jun 24 17:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:46:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:46:40 ---> package-listing.sh 17:46:40 ++ facter osfamily 17:46:40 ++ tr '[:upper:]' '[:lower:]' 17:46:40 + OS_FAMILY=debian 17:46:40 + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 17:46:40 + START_PACKAGES=/tmp/packages_start.txt 17:46:40 + END_PACKAGES=/tmp/packages_end.txt 17:46:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:46:40 + PACKAGES=/tmp/packages_start.txt 17:46:40 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 17:46:40 + PACKAGES=/tmp/packages_end.txt 17:46:40 + case "${OS_FAMILY}" in 17:46:40 + dpkg -l 17:46:40 + grep '^ii' 17:46:40 + '[' -f /tmp/packages_start.txt ']' 17:46:40 + '[' -f /tmp/packages_end.txt ']' 17:46:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:46:40 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 17:46:40 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ 17:46:40 + 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:46:40 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:46:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:46:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:41 prd-ubuntu20.04-docker-8c-8g-15547 does not seem to be running inside a container 17:46:41 $ 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:46:41 $ docker top b4e9829d30b2bbdd3e120b93265ff0065ab91c0189157aa73a2c2742d08faf54 -eo pid,comm [Pipeline] { [Pipeline] sh 17:46:41 + touch /tmp/pre-build-complete [Pipeline] sh 17:46:42 + mkdir -p /var/log/sysstat [Pipeline] sh 17:46:42 + ls /var/log/sa-host 17:46:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:46:42 provisioning config files... 17:46:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config8759894221680516847tmp [Pipeline] { [Pipeline] echo 17:46:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:46:42 ---> create-netrc.sh [Pipeline] } 17:46:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:46:43 ---> python-tools-install.sh [Pipeline] echo 17:46:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:46:43 ---> sudo-logs.sh 17:46:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:46:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:46:43 ---> job-cost.sh 17:46:43 lf-activate-venv: SKIPPING 17:46:43 DEBUG: total: 0.2199999988079071 17:46:43 INFO: Retrieving Stack Cost... 17:46:44 INFO: Retrieving Pricing Info for: v3-standard-8 17:46:44 INFO: Archiving Costs [Pipeline] echo 17:46:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:46:44 ---> logs-deploy.sh 17:46:44 lf-activate-venv: SKIPPING 17:46:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/7 17:46:44 INFO: archiving workspace using pattern(s): 17:46:45 Archives upload complete. 17:46:45 INFO: archiving logs to Nexus