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 d13917b3c8da22e490b96f72e7f94e2fa0241eac 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-ssh16020047452042970935.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-ssh12923498641229963240.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-ssh8537041246193562204.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-ssh8453122030914970504.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-ssh8727023083491386301.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16128 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 d13917b3c8da22e490b96f72e7f94e2fa0241eac Merge succeeded, producing e5d906aa7cf42548c61204f7b4b5e6c706c9eaa2 Checking out Revision e5d906aa7cf42548c61204f7b4b5e6c706c9eaa2 (PR-90) > git config core.sparsecheckout # timeout=10 > git checkout -f d13917b3c8da22e490b96f72e7f94e2fa0241eac # 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 e5d906aa7cf42548c61204f7b4b5e6c706c9eaa2 # 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 19:51:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:51:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:51:16 ========================================================= 19:51:16 EdgeX Global Pipelines Version Info 19:51:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7ea83c088e0b977c86d1de7328a233a4b9bbadfe # timeout=10 19:51:17 ------------------- 19:51:17 stable info: 19:51:17 ------------------- 19:51:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:51:17 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 19:51:17 Message: update stable to v1.0.234 19:51:17 ------------------- 19:51:17 experimental info: 19:51:17 ------------------- 19:51:17 Commited By: **** collab-it+edgex@linuxfoundation.org 19:51:17 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 19:51:17 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5d906aa7cf42548c61204f7b4b5e6c706c9eaa2 [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e5d906a [Pipeline] echo 19:51:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:51:18 provisioning config files... 19:51:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config626891010571715902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:51:18 ---> docker-login.sh 19:51:18 nexus3.edgexfoundry.org:10001 19:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:18 Configure a credential helper to remove this warning. See 19:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:18 19:51:18 Login Succeeded 19:51:18 nexus3.edgexfoundry.org:10002 19:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:19 Configure a credential helper to remove this warning. See 19:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:19 19:51:19 Login Succeeded 19:51:19 nexus3.edgexfoundry.org:10003 19:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:19 Configure a credential helper to remove this warning. See 19:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:19 19:51:19 Login Succeeded 19:51:19 nexus3.edgexfoundry.org:10004 19:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:19 Configure a credential helper to remove this warning. See 19:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:19 19:51:19 Login Succeeded 19:51:19 docker.io 19:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:19 Configure a credential helper to remove this warning. See 19:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:19 19:51:19 Login Succeeded 19:51:19 ---> docker-login.sh ends [Pipeline] } 19:51:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:51:20 + git rev-list -1 --merges e5d906aa7cf42548c61204f7b4b5e6c706c9eaa2~1..e5d906aa7cf42548c61204f7b4b5e6c706c9eaa2 [Pipeline] echo 19:51:20 -----------> git rev-list -1 --merges e5d906aa7cf42548c61204f7b4b5e6c706c9eaa2~1..e5d906aa7cf42548c61204f7b4b5e6c706c9eaa2 e5d906aa7cf42548c61204f7b4b5e6c706c9eaa2 19:51:20 e5d906aa7cf42548c61204f7b4b5e6c706c9eaa2 [false] [Pipeline] sh 19:51:20 + git log --format=format:%s -1 e5d906aa7cf42548c61204f7b4b5e6c706c9eaa2 [Pipeline] echo 19:51:20 ========================================================= 19:51:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:51:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:51:21 + git log --format=format:%s -1 e5d906aa7cf42548c61204f7b4b5e6c706c9eaa2 [Pipeline] echo 19:51:21 [semverPrep] GIT_COMMIT: e5d906aa7cf42548c61204f7b4b5e6c706c9eaa2, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo 19:51:21 [semverPrep] This is not a build commit. [Pipeline] sh 19:51:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:51:21 + grep -v github /etc/ssh/ssh_known_hosts 19:51:21 + [ -e /tmp/ssh_known_hosts ] 19:51:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:51:21 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 19:51:21 tee -a /etc/ssh/ssh_known_hosts 19:51:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:51:21 19:51:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:51:22 0.1.4: Pulling from edgex-devops/py-git-semver 19:51:22 42c077c10790: Pulling fs layer 19:51:22 f63e77b7563a: Pulling fs layer 19:51:22 bd5fdadae976: Pulling fs layer 19:51:22 205491f53016: Pulling fs layer 19:51:22 df18705c85c3: Pulling fs layer 19:51:22 bdb3f477010e: Pulling fs layer 19:51:22 c8a8fc8e1c8f: Pulling fs layer 19:51:22 2c6e9b1d212d: Pulling fs layer 19:51:22 bdb8f0575790: Pulling fs layer 19:51:22 386e3cb2ff24: Pulling fs layer 19:51:22 2343380bae48: Pulling fs layer 19:51:22 205491f53016: Waiting 19:51:22 c8a8fc8e1c8f: Waiting 19:51:22 df18705c85c3: Waiting 19:51:22 2c6e9b1d212d: Waiting 19:51:22 bdb3f477010e: Waiting 19:51:22 bdb8f0575790: Waiting 19:51:22 2343380bae48: Waiting 19:51:22 386e3cb2ff24: Waiting 19:51:22 f63e77b7563a: Download complete 19:51:22 205491f53016: Verifying Checksum 19:51:22 205491f53016: Download complete 19:51:22 df18705c85c3: Verifying Checksum 19:51:22 df18705c85c3: Download complete 19:51:22 bd5fdadae976: Verifying Checksum 19:51:22 bd5fdadae976: Download complete 19:51:22 bdb3f477010e: Verifying Checksum 19:51:22 bdb3f477010e: Download complete 19:51:22 2c6e9b1d212d: Verifying Checksum 19:51:22 2c6e9b1d212d: Download complete 19:51:22 bdb8f0575790: Verifying Checksum 19:51:22 bdb8f0575790: Download complete 19:51:22 386e3cb2ff24: Verifying Checksum 19:51:22 386e3cb2ff24: Download complete 19:51:22 2343380bae48: Verifying Checksum 19:51:22 2343380bae48: Download complete 19:51:22 42c077c10790: Verifying Checksum 19:51:22 42c077c10790: Download complete 19:51:22 c8a8fc8e1c8f: Verifying Checksum 19:51:22 c8a8fc8e1c8f: Download complete 19:51:24 42c077c10790: Pull complete 19:51:24 f63e77b7563a: Pull complete 19:51:24 bd5fdadae976: Pull complete 19:51:24 205491f53016: Pull complete 19:51:24 df18705c85c3: Pull complete 19:51:24 bdb3f477010e: Pull complete 19:51:26 c8a8fc8e1c8f: Pull complete 19:51:26 2c6e9b1d212d: Pull complete 19:51:26 bdb8f0575790: Pull complete 19:51:27 386e3cb2ff24: Pull complete 19:51:27 2343380bae48: Pull complete 19:51:27 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 19:51:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:51:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:27 prd-ubuntu20.04-docker-8c-8g-16128 does not seem to be running inside a container 19:51:27 $ 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 19:51:28 $ docker top 1e9a18ff3406bc6094516e5b27954de98f842eaffeede1209e71ce31427b3484 -eo pid,comm 19:51:28 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). 19:51:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:51:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:51:28 [ssh-agent] Looking for ssh-agent implementation... 19:51:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:51:28 $ docker exec 1e9a18ff3406bc6094516e5b27954de98f842eaffeede1209e71ce31427b3484 ssh-agent 19:51:28 SSH_AUTH_SOCK=/tmp/ssh-hde7Cikhhyq1/agent.33 19:51:28 SSH_AGENT_PID=39 19:51:28 Running ssh-add (command line suppressed) 19:51:28 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_8253446767712074556.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_8253446767712074556.key) 19:51:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:51:29 + git tag --points-at HEAD [Pipeline] } 19:51:29 $ docker exec --env ******** --env ******** 1e9a18ff3406bc6094516e5b27954de98f842eaffeede1209e71ce31427b3484 ssh-agent -k 19:51:29 unset SSH_AUTH_SOCK; 19:51:29 unset SSH_AGENT_PID; 19:51:29 echo Agent pid 39 killed; 19:51:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:51:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:51:29 [ssh-agent] Looking for ssh-agent implementation... 19:51:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:51:29 $ docker exec 1e9a18ff3406bc6094516e5b27954de98f842eaffeede1209e71ce31427b3484 ssh-agent 19:51:29 SSH_AUTH_SOCK=/tmp/ssh-nEHD215sfRsM/agent.71 19:51:29 SSH_AGENT_PID=77 19:51:29 Running ssh-add (command line suppressed) 19:51:29 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_6435581339307166777.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_6435581339307166777.key) 19:51:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:51:30 + git semver init 19:51:30 2022-06-27 19:51:30,348 [run_init] DEBUG init version:0.0.0 force:False 19:51:30 2022-06-27 19:51:30,349 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver 19:51:30 2022-06-27 19:51:30,350 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver 19:51:30 2022-06-27 19:51:30,350 [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) 19:51:31 2022-06-27 19:51:31,180 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude 19:51:31 2022-06-27 19:51:31,180 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 with force:False 19:51:31 2022-06-27 19:51:31,180 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 19:51:31 2022-06-27 19:51:31,183 [execute] INFO git cat-file --batch-check 19:51:31 2022-06-27 19:51:31,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 19:51:31 2022-06-27 19:51:31,187 [execute] INFO git cat-file --batch 19:51:31 2022-06-27 19:51:31,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 19:51:31 2022-06-27 19:51:31,192 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 19:51:31 0.0.0 [Pipeline] } 19:51:31 $ docker exec --env ******** --env ******** 1e9a18ff3406bc6094516e5b27954de98f842eaffeede1209e71ce31427b3484 ssh-agent -k 19:51:31 unset SSH_AUTH_SOCK; 19:51:31 unset SSH_AGENT_PID; 19:51:31 echo Agent pid 77 killed; 19:51:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:51:31 + git semver [Pipeline] } 19:51:32 $ docker stop --time=1 1e9a18ff3406bc6094516e5b27954de98f842eaffeede1209e71ce31427b3484 19:51:33 $ docker rm -f 1e9a18ff3406bc6094516e5b27954de98f842eaffeede1209e71ce31427b3484 [Pipeline] // withDockerContainer [Pipeline] sh 19:51:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:51:33 Stashed 1 file(s) [Pipeline] echo 19:51:33 [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 19:51:33 provisioning config files... 19:51:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config4369993772147298602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:51:34 ---> docker-login.sh 19:51:34 nexus3.edgexfoundry.org:10001 19:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:34 Configure a credential helper to remove this warning. See 19:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:34 19:51:34 Login Succeeded 19:51:34 nexus3.edgexfoundry.org:10002 19:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:34 Configure a credential helper to remove this warning. See 19:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:34 19:51:34 Login Succeeded 19:51:34 nexus3.edgexfoundry.org:10003 19:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:34 Configure a credential helper to remove this warning. See 19:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:34 19:51:34 Login Succeeded 19:51:34 nexus3.edgexfoundry.org:10004 19:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:34 Configure a credential helper to remove this warning. See 19:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:34 19:51:34 Login Succeeded 19:51:34 docker.io 19:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:35 Configure a credential helper to remove this warning. See 19:51:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:35 19:51:35 Login Succeeded 19:51:35 ---> docker-login.sh ends [Pipeline] } 19:51:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:51:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:51:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:51:35 ========================================================= 19:51:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:51:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:35 + 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 . 19:51:35 Sending build context to Docker daemon 8.852MB 19:51:35 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:51:35 Step 2/13 : FROM ${BASE} AS builder 19:51:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:51:35 59bf1c3509f3: Pulling fs layer 19:51:35 666ba61612fd: Pulling fs layer 19:51:35 8ed8ca486205: Pulling fs layer 19:51:35 cc1cd167ecdc: Pulling fs layer 19:51:35 c516ae0d96e1: Pulling fs layer 19:51:35 684cea983483: Pulling fs layer 19:51:35 dd3240ac7de5: Pulling fs layer 19:51:35 b1e948a4e11c: Pulling fs layer 19:51:35 a8fd76ee1af6: Pulling fs layer 19:51:35 646ad004c059: Pulling fs layer 19:51:35 c516ae0d96e1: Waiting 19:51:35 684cea983483: Waiting 19:51:35 dd3240ac7de5: Waiting 19:51:35 b1e948a4e11c: Waiting 19:51:35 a8fd76ee1af6: Waiting 19:51:35 646ad004c059: Waiting 19:51:35 cc1cd167ecdc: Waiting 19:51:35 8ed8ca486205: Verifying Checksum 19:51:35 8ed8ca486205: Download complete 19:51:35 666ba61612fd: Verifying Checksum 19:51:35 666ba61612fd: Download complete 19:51:35 c516ae0d96e1: Verifying Checksum 19:51:35 c516ae0d96e1: Download complete 19:51:35 684cea983483: Download complete 19:51:35 59bf1c3509f3: Verifying Checksum 19:51:35 59bf1c3509f3: Download complete 19:51:35 dd3240ac7de5: Verifying Checksum 19:51:35 dd3240ac7de5: Download complete 19:51:35 b1e948a4e11c: Verifying Checksum 19:51:35 b1e948a4e11c: Download complete 19:51:35 59bf1c3509f3: Pull complete 19:51:36 666ba61612fd: Pull complete 19:51:36 8ed8ca486205: Pull complete 19:51:36 646ad004c059: Verifying Checksum 19:51:36 646ad004c059: Download complete 19:51:36 a8fd76ee1af6: Verifying Checksum 19:51:36 a8fd76ee1af6: Download complete 19:51:36 cc1cd167ecdc: Verifying Checksum 19:51:36 cc1cd167ecdc: Download complete 19:51:40 cc1cd167ecdc: Pull complete 19:51:40 c516ae0d96e1: Pull complete 19:51:40 684cea983483: Pull complete 19:51:40 dd3240ac7de5: Pull complete 19:51:40 b1e948a4e11c: Pull complete 19:51:42 a8fd76ee1af6: Pull complete 19:51:43 646ad004c059: Pull complete 19:51:43 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 19:51:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:51:43 ---> 8f69c11f6b0c 19:51:43 Step 3/13 : ARG MAKE="make build" 19:51:44 ---> Running in 1041287f54d3 19:51:44 Removing intermediate container 1041287f54d3 19:51:44 ---> dbfb2fa1f849 19:51:44 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:51:44 ---> Running in 0f7f093e5f66 19:51:44 Removing intermediate container 0f7f093e5f66 19:51:44 ---> 334162cb97cb 19:51:44 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 19:51:44 ---> Running in 83fc9294a3f1 19:51:44 Removing intermediate container 83fc9294a3f1 19:51:44 ---> 78245bea2476 19:51:44 Step 6/13 : LABEL Name=edgex-device-onvif-camera 19:51:44 ---> Running in 0bbf621fb0b7 19:51:44 Removing intermediate container 0bbf621fb0b7 19:51:44 ---> 18db09f78166 19:51:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:51:44 ---> Running in fae915b771e5 19:51:45 Removing intermediate container fae915b771e5 19:51:45 ---> 23516341ff40 19:51:45 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:51:45 ---> Running in 5adc36673c6a 19:51:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:51:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:51:46 OK: 221 MiB in 52 packages 19:51:47 Removing intermediate container 5adc36673c6a 19:51:47 ---> 9d1257a4468e 19:51:47 Step 9/13 : WORKDIR /device-onvif-camera 19:51:47 ---> Running in 6ee15be02308 19:51:47 Removing intermediate container 6ee15be02308 19:51:47 ---> e1f00ad60ef7 19:51:47 Step 10/13 : COPY go.mod vendor* ./ 19:51:47 ---> dd5c520681d2 19:51:47 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:51:47 ---> Running in c1053bad7d7b 19:51:48 Still waiting to schedule task 19:51:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:52:02 Removing intermediate container c1053bad7d7b 19:52:02 ---> 43856215b1ef 19:52:02 Step 12/13 : COPY . . 19:52:03 ---> 18351c079d3a 19:52:03 Step 13/13 : RUN ${MAKE} 19:52:03 ---> Running in 0fe63227879d 19:52:03 noop 19:52:03 Removing intermediate container 0fe63227879d 19:52:03 ---> 5f40bcec1008 19:52:03 Successfully built 5f40bcec1008 19:52:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:03 + docker inspect -f . ci-base-image-x86_64 19:52:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:52:04 prd-ubuntu20.04-docker-8c-8g-16128 does not seem to be running inside a container 19:52:04 $ 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 19:52:04 $ docker top 53b1bc9bf7ff368deceb156d535338d117ebdc9c36187f3afafeb9cae5f744e8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:52:04 + go version 19:52:04 go version go1.17.7 linux/amd64 [Pipeline] } 19:52:04 $ docker stop --time=1 53b1bc9bf7ff368deceb156d535338d117ebdc9c36187f3afafeb9cae5f744e8 19:52:06 $ docker rm -f 53b1bc9bf7ff368deceb156d535338d117ebdc9c36187f3afafeb9cae5f744e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:06 + docker inspect -f . ci-base-image-x86_64 19:52:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:52:06 prd-ubuntu20.04-docker-8c-8g-16128 does not seem to be running inside a container 19:52:06 $ 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 19:52:07 $ docker top ff0dadf833a675f71a057c3dc1ef840d45d85f34fc8a96ed9c76e8e2991e7c45 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:52:07 + make test 19:52:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:52:07 # github.com/edgexfoundry/device-onvif-camera/internal/driver 19:52:07 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 19:52:07 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 19:52:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:52:17 # github.com/edgexfoundry/device-onvif-camera/internal/driver 19:52:17 internal/driver/onvifclient.go:63:27: d.tryGetCredentialsFromMac undefined (type *Driver has no field or method tryGetCredentialsFromMac) 19:52:23 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.641s coverage: 13.8% of statements 19:52:23 make: *** [Makefile:48: unittest] Error 2 [Pipeline] } 19:52:23 $ docker stop --time=1 ff0dadf833a675f71a057c3dc1ef840d45d85f34fc8a96ed9c76e8e2991e7c45 19:52:24 $ docker rm -f ff0dadf833a675f71a057c3dc1ef840d45d85f34fc8a96ed9c76e8e2991e7c45 [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 19:52:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:52:25 19:52:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:52:25 latest: Pulling from edgex-lftools-log-publisher 19:52:25 5eb5b503b376: Pulling fs layer 19:52:25 5c69ac0246d0: Pulling fs layer 19:52:25 ec43610c2a17: Pulling fs layer 19:52:25 3a2ae6a8a46f: Pulling fs layer 19:52:25 33b1e0a273af: Pulling fs layer 19:52:25 5d3b04190fa2: Pulling fs layer 19:52:25 2f39f015ded8: Pulling fs layer 19:52:25 3a2ae6a8a46f: Waiting 19:52:25 33b1e0a273af: Waiting 19:52:25 2f39f015ded8: Waiting 19:52:25 5d3b04190fa2: Waiting 19:52:25 5c69ac0246d0: Verifying Checksum 19:52:25 5c69ac0246d0: Download complete 19:52:25 3a2ae6a8a46f: Verifying Checksum 19:52:25 3a2ae6a8a46f: Download complete 19:52:25 33b1e0a273af: Verifying Checksum 19:52:25 33b1e0a273af: Download complete 19:52:25 5d3b04190fa2: Verifying Checksum 19:52:25 5d3b04190fa2: Download complete 19:52:25 ec43610c2a17: Verifying Checksum 19:52:25 ec43610c2a17: Download complete 19:52:25 5eb5b503b376: Verifying Checksum 19:52:25 5eb5b503b376: Download complete 19:52:26 2f39f015ded8: Verifying Checksum 19:52:26 2f39f015ded8: Download complete 19:52:27 5eb5b503b376: Pull complete 19:52:27 5c69ac0246d0: Pull complete 19:52:27 ec43610c2a17: Pull complete 19:52:27 3a2ae6a8a46f: Pull complete 19:52:28 33b1e0a273af: Pull complete 19:52:28 5d3b04190fa2: Pull complete 19:52:33 2f39f015ded8: Pull complete 19:52:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:52:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:52:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:52:33 prd-ubuntu20.04-docker-8c-8g-16128 does not seem to be running inside a container 19:52:33 $ 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 19:52:34 $ docker top 1bee7bca09880500c15ce7e720664dfd6c278ec4aa724e87ce0e1d4875cda720 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:52:35 ---> job-cost.sh 19:52:35 lf-activate-venv: SKIPPING 19:52:35 INFO: No Stack... 19:52:35 INFO: Retrieving Pricing Info for: v3-standard-8 19:52:36 INFO: Archiving Costs [Pipeline] sh 19:52:36 + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv 19:52:36 + cut -d, -f6 [Pipeline] lock 19:52:36 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-15-stack-cost] 19:52:36 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-15-stack-cost] did not exist. Created. 19:52:36 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:52:36 + echo total: 0.2199999988079071 [Pipeline] stash 19:52:36 Stashed 1 file(s) [Pipeline] } 19:52:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-15-stack-cost] [Pipeline] // lock [Pipeline] } 19:52:36 $ docker stop --time=1 1bee7bca09880500c15ce7e720664dfd6c278ec4aa724e87ce0e1d4875cda720 19:52:37 $ docker rm -f 1bee7bca09880500c15ce7e720664dfd6c278ec4aa724e87ce0e1d4875cda720 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:52:38 Failed in branch amd64 19:53:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16129 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws 19:53:30 Running in /w/workspace/device-onvif-camera/15 [Pipeline] { [Pipeline] checkout 19:53:30 Selected Git installation does not exist. Using Default 19:53:30 The recommended git tool is: NONE 19:53:35 using credential edgex-jenkins-ssh 19:53:35 Cloning the remote Git repository 19:53:36 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:53:36 > git init /w/workspace/device-onvif-camera/15 # timeout=10 19:53:36 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:53:36 > git --version # timeout=10 19:53:36 > git --version # 'git version 2.25.1' 19:53:36 using GIT_SSH to set credentials SSH Credentials for GitHub 19:53:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:53:37 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit d13917b3c8da22e490b96f72e7f94e2fa0241eac 19:53:38 Merge succeeded, producing 0f44c4d712ab552f8feb5f3b37abc0045fa4f9e6 19:53:38 Checking out Revision 0f44c4d712ab552f8feb5f3b37abc0045fa4f9e6 (PR-90) 19:53:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:53:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:53:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:53:37 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:53:37 using GIT_SSH to set credentials SSH Credentials for GitHub 19:53:37 > 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 19:53:37 > git config core.sparsecheckout # timeout=10 19:53:37 > git checkout -f d13917b3c8da22e490b96f72e7f94e2fa0241eac # timeout=10 19:53:37 > git remote # timeout=10 19:53:38 > git config --get remote.origin.url # timeout=10 19:53:38 using GIT_SSH to set credentials SSH Credentials for GitHub 19:53:38 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 19:53:38 > git rev-parse HEAD^{commit} # timeout=10 19:53:38 > git config core.sparsecheckout # timeout=10 19:53:38 > git checkout -f 0f44c4d712ab552f8feb5f3b37abc0045fa4f9e6 # timeout=10 19:53:42 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" 19:53:42 First time build. Skipping changelog. 19:53:42 > git rev-list --no-walk 7ea83c088e0b977c86d1de7328a233a4b9bbadfe # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:53:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:53:43 % Total % Received % Xferd Average Speed Time Time Time Current 19:53:43 Dload Upload Total Spent Left Speed 19:53:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 88789 0 --:--:-- --:--:-- --:--:-- 88789 [Pipeline] sh 19:53:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:53:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 19:53:44 sudo tee /etc/docker/daemon.new 19:53:44 { 19:53:44 "registry-mirrors": [ 19:53:44 "https://nexus3.edgexfoundry.org:10001" 19:53:44 ], 19:53:44 "bip": "10.250.0.254/24", 19:53:44 "hosts": [ 19:53:44 "tcp://0.0.0.0:5555", 19:53:44 "unix:///var/run/docker.sock" 19:53:44 ], 19:53:44 "mtu": 1458, 19:53:44 "selinux-enabled": true, 19:53:44 "seccomp-profile": "/etc/docker/seccomp.json" 19:53:44 } [Pipeline] sh 19:53:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:53:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:54:03 provisioning config files... 19:54:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/15@tmp/config1539951511746323507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:54:03 ---> docker-login.sh 19:54:03 nexus3.edgexfoundry.org:10001 19:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:04 Configure a credential helper to remove this warning. See 19:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:04 19:54:04 Login Succeeded 19:54:04 nexus3.edgexfoundry.org:10002 19:54:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:05 Configure a credential helper to remove this warning. See 19:54:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:05 19:54:05 Login Succeeded 19:54:05 nexus3.edgexfoundry.org:10003 19:54:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:05 Configure a credential helper to remove this warning. See 19:54:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:05 19:54:05 Login Succeeded 19:54:05 nexus3.edgexfoundry.org:10004 19:54:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:06 Configure a credential helper to remove this warning. See 19:54:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:06 19:54:06 Login Succeeded 19:54:06 docker.io 19:54:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:06 Configure a credential helper to remove this warning. See 19:54:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:06 19:54:06 Login Succeeded 19:54:06 ---> docker-login.sh ends [Pipeline] } 19:54:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:54:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:54:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:54:07 ========================================================= 19:54:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:54:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:07 + 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 . 19:54:08 Sending build context to Docker daemon 6.056MB 19:54:08 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:54:08 Step 2/13 : FROM ${BASE} AS builder 19:54:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:54:08 9b3977197b4f: Pulling fs layer 19:54:08 1a89e8eeedd5: Pulling fs layer 19:54:08 94645a83ff95: Pulling fs layer 19:54:08 e6fb740bc735: Pulling fs layer 19:54:08 3a77bd46dcc9: Pulling fs layer 19:54:08 355e64cbe906: Pulling fs layer 19:54:08 63ab81a10011: Pulling fs layer 19:54:08 555d1d1c4555: Pulling fs layer 19:54:08 7d9057610161: Pulling fs layer 19:54:08 e6fb740bc735: Waiting 19:54:08 3a77bd46dcc9: Waiting 19:54:08 355e64cbe906: Waiting 19:54:08 63ab81a10011: Waiting 19:54:08 7d9057610161: Waiting 19:54:08 94645a83ff95: Download complete 19:54:08 1a89e8eeedd5: Verifying Checksum 19:54:08 1a89e8eeedd5: Download complete 19:54:08 3a77bd46dcc9: Verifying Checksum 19:54:08 3a77bd46dcc9: Download complete 19:54:08 355e64cbe906: Verifying Checksum 19:54:08 355e64cbe906: Download complete 19:54:08 9b3977197b4f: Download complete 19:54:08 63ab81a10011: Verifying Checksum 19:54:08 63ab81a10011: Download complete 19:54:09 9b3977197b4f: Pull complete 19:54:09 7d9057610161: Verifying Checksum 19:54:09 7d9057610161: Download complete 19:54:10 1a89e8eeedd5: Pull complete 19:54:10 94645a83ff95: Pull complete 19:54:10 555d1d1c4555: Download complete 19:54:11 e6fb740bc735: Verifying Checksum 19:54:11 e6fb740bc735: Download complete 19:54:23 e6fb740bc735: Pull complete 19:54:23 3a77bd46dcc9: Pull complete 19:54:23 355e64cbe906: Pull complete 19:54:23 63ab81a10011: Pull complete 19:54:30 555d1d1c4555: Pull complete 19:54:32 7d9057610161: Pull complete 19:54:32 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 19:54:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:54:32 ---> 819e984ddca1 19:54:32 Step 3/13 : ARG MAKE="make build" 19:54:33 ---> Running in bf3cf885eb69 19:54:33 Removing intermediate container bf3cf885eb69 19:54:33 ---> f199b704570d 19:54:33 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:54:33 ---> Running in 6aab8eb0d7e6 19:54:34 Removing intermediate container 6aab8eb0d7e6 19:54:34 ---> 29159d229ee1 19:54:34 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 19:54:34 ---> Running in 3381631ba0d4 19:54:34 Removing intermediate container 3381631ba0d4 19:54:34 ---> 9a1480516aba 19:54:34 Step 6/13 : LABEL Name=edgex-device-onvif-camera 19:54:34 ---> Running in 8a4f2f0ab86c 19:54:35 Removing intermediate container 8a4f2f0ab86c 19:54:35 ---> 0c577f0feff4 19:54:35 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:54:35 ---> Running in 1b9cbe7ea9b6 19:54:37 Removing intermediate container 1b9cbe7ea9b6 19:54:37 ---> 1644a958cd23 19:54:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:54:37 ---> Running in 30865bbf82ee 19:54:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:54:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:54:40 OK: 220 MiB in 52 packages 19:54:41 Removing intermediate container 30865bbf82ee 19:54:41 ---> 40f2ae848115 19:54:41 Step 9/13 : WORKDIR /device-onvif-camera 19:54:41 ---> Running in 62134c3d20ad 19:54:41 Removing intermediate container 62134c3d20ad 19:54:41 ---> ffb155dab44d 19:54:41 Step 10/13 : COPY go.mod vendor* ./ 19:54:42 ---> 32277fa80aeb 19:54:42 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:54:42 ---> Running in cdebcfb43bd2 19:55:28 Removing intermediate container cdebcfb43bd2 19:55:28 ---> d533f2cd9e45 19:55:28 Step 12/13 : COPY . . 19:55:28 ---> 4d761e20bd66 19:55:28 Step 13/13 : RUN ${MAKE} 19:55:28 ---> Running in dd9e997a3e32 19:55:28 noop 19:55:29 Removing intermediate container dd9e997a3e32 19:55:29 ---> 61a9f61f1ceb 19:55:29 Successfully built 61a9f61f1ceb 19:55:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:55:29 + docker inspect -f . ci-base-image-arm64 19:55:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:55:30 prd-ubuntu20.04-docker-arm64-4c-16g-16129 does not seem to be running inside a container 19:55:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@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 19:55:31 $ docker top 5bcd30cdbfcfafc6f4e7be7853bac2b02ab0acfd1ff39b5b7d8753a086782ad1 -eo pid,comm [Pipeline] { [Pipeline] sh 19:55:32 + go version 19:55:32 go version go1.17.7 linux/arm64 [Pipeline] } 19:55:32 $ docker stop --time=1 5bcd30cdbfcfafc6f4e7be7853bac2b02ab0acfd1ff39b5b7d8753a086782ad1 19:55:34 $ docker rm -f 5bcd30cdbfcfafc6f4e7be7853bac2b02ab0acfd1ff39b5b7d8753a086782ad1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:55:34 + docker inspect -f . ci-base-image-arm64 19:55:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:55:35 prd-ubuntu20.04-docker-arm64-4c-16g-16129 does not seem to be running inside a container 19:55:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@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 19:55:36 $ docker top ec1147500148a526789367ce77d78f0e2543c97dfae60d98933b0a255af4b18b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:55:37 + make test 19:55:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:55:38 # github.com/edgexfoundry/device-onvif-camera/internal/driver 19:55:38 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 19:55:38 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 19:55:39 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:56:47 # github.com/edgexfoundry/device-onvif-camera/internal/driver 19:56:47 internal/driver/onvifclient.go:63:27: d.tryGetCredentialsFromMac undefined (type *Driver has no field or method tryGetCredentialsFromMac) 19:57:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 33.926s coverage: 13.8% of statements 19:57:34 make: *** [Makefile:48: unittest] Error 2 [Pipeline] } 19:57:34 $ docker stop --time=1 ec1147500148a526789367ce77d78f0e2543c97dfae60d98933b0a255af4b18b 19:57:35 $ docker rm -f ec1147500148a526789367ce77d78f0e2543c97dfae60d98933b0a255af4b18b [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 19:57:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:57:36 19:57:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:57:37 arm64: Pulling from edgex-lftools-log-publisher 19:57:37 8998bd30e6a1: Pulling fs layer 19:57:37 04944245beec: Pulling fs layer 19:57:37 699f458cf7ca: Pulling fs layer 19:57:37 765212b225bb: Pulling fs layer 19:57:37 f23df028b6ca: Pulling fs layer 19:57:37 d65c8cfc05b1: Pulling fs layer 19:57:37 2437ff75d9bd: Pulling fs layer 19:57:37 d65c8cfc05b1: Waiting 19:57:37 765212b225bb: Waiting 19:57:37 2437ff75d9bd: Waiting 19:57:37 f23df028b6ca: Waiting 19:57:37 04944245beec: Verifying Checksum 19:57:37 04944245beec: Download complete 19:57:37 765212b225bb: Verifying Checksum 19:57:37 765212b225bb: Download complete 19:57:37 f23df028b6ca: Verifying Checksum 19:57:37 f23df028b6ca: Download complete 19:57:37 d65c8cfc05b1: Verifying Checksum 19:57:37 d65c8cfc05b1: Download complete 19:57:37 699f458cf7ca: Verifying Checksum 19:57:37 699f458cf7ca: Download complete 19:57:38 8998bd30e6a1: Verifying Checksum 19:57:38 8998bd30e6a1: Download complete 19:57:40 2437ff75d9bd: Verifying Checksum 19:57:40 2437ff75d9bd: Download complete 19:57:42 8998bd30e6a1: Pull complete 19:57:43 04944245beec: Pull complete 19:57:44 699f458cf7ca: Pull complete 19:57:44 765212b225bb: Pull complete 19:57:45 f23df028b6ca: Pull complete 19:57:45 d65c8cfc05b1: Pull complete 19:58:00 2437ff75d9bd: Pull complete 19:58:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:58:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:58:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:58:00 prd-ubuntu20.04-docker-arm64-4c-16g-16129 does not seem to be running inside a container 19:58:01 $ 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/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@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 19:58:03 $ docker top b09bc93c6f18b87f552401a853163a7caed6e47cd6be877e9a9dde9a857af5c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:58:04 ---> job-cost.sh 19:58:04 lf-activate-venv: SKIPPING 19:58:04 INFO: No Stack... 19:58:05 INFO: Retrieving Pricing Info for: v3-standard-4 19:58:05 INFO: Archiving Costs [Pipeline] sh 19:58:06 + cut -d, -f6 19:58:06 + cat /w/workspace/device-onvif-camera/15/archives/cost.csv [Pipeline] lock 19:58:06 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-15-stack-cost] 19:58:06 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-15-stack-cost] did not exist. Created. 19:58:06 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:58:07 /w/workspace/device-onvif-camera/15@tmp/durable-c508704d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:58:08 + echo total: 0.10999999940395355 [Pipeline] stash 19:58:08 Warning: overwriting stash ‘stack-cost’ 19:58:08 Stashed 1 file(s) [Pipeline] } 19:58:08 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-15-stack-cost] [Pipeline] // lock [Pipeline] } 19:58:08 $ docker stop --time=1 b09bc93c6f18b87f552401a853163a7caed6e47cd6be877e9a9dde9a857af5c1 19:58:10 $ docker rm -f b09bc93c6f18b87f552401a853163a7caed6e47cd6be877e9a9dde9a857af5c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:58:10 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 19:58:11 + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] 19:58:11 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 19:58:11 total 16 19:58:11 drwxr-xr-x 3 root root 4096 Jun 27 19:52 . 19:58:11 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 19:52 .. 19:58:11 drwxr-xr-x 2 root root 4096 Jun 27 19:52 cost 19:58:11 -rw-r--r-- 1 root root 90 Jun 27 19:52 cost.csv 19:58:11 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives 19:58:11 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 19:58:11 total 16 19:58:11 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 19:52 . 19:58:11 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 19:52 .. 19:58:11 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 19:52 cost 19:58:11 -rw-r--r-- 1 jenkins jenkins 90 Jun 27 19:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:58:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:58:12 ---> package-listing.sh 19:58:12 ++ facter osfamily 19:58:12 ++ tr '[:upper:]' '[:lower:]' 19:58:12 + OS_FAMILY=debian 19:58:12 + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 19:58:12 + START_PACKAGES=/tmp/packages_start.txt 19:58:12 + END_PACKAGES=/tmp/packages_end.txt 19:58:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:58:12 + PACKAGES=/tmp/packages_start.txt 19:58:12 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 19:58:12 + PACKAGES=/tmp/packages_end.txt 19:58:12 + case "${OS_FAMILY}" in 19:58:12 + dpkg -l 19:58:12 + grep '^ii' 19:58:12 + '[' -f /tmp/packages_start.txt ']' 19:58:12 + '[' -f /tmp/packages_end.txt ']' 19:58:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:58:12 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 19:58:12 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ 19:58:12 + 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 19:58:12 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 19:58:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:58:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:58:13 prd-ubuntu20.04-docker-8c-8g-16128 does not seem to be running inside a container 19:58:13 $ 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 19:58:13 $ docker top c59003ba8ba84e46b1f1e38fde3b256c196d236d1fceb7da77eb6a51be302cee -eo pid,comm [Pipeline] { [Pipeline] sh 19:58:14 + touch /tmp/pre-build-complete [Pipeline] sh 19:58:14 + mkdir -p /var/log/sysstat [Pipeline] sh 19:58:14 + ls /var/log/sa-host 19:58:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:58:14 provisioning config files... 19:58:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1989926542665402694tmp [Pipeline] { [Pipeline] echo 19:58:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:58:15 ---> create-netrc.sh [Pipeline] } 19:58:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:58:15 ---> python-tools-install.sh [Pipeline] echo 19:58:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:58:15 ---> sudo-logs.sh 19:58:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:58:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:58:16 ---> job-cost.sh 19:58:16 lf-activate-venv: SKIPPING 19:58:16 DEBUG: total: 0.2199999988079071 19:58:16 INFO: Retrieving Stack Cost... 19:58:16 INFO: Retrieving Pricing Info for: v3-standard-8 19:58:16 INFO: Archiving Costs [Pipeline] echo 19:58:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:58:17 ---> logs-deploy.sh 19:58:17 lf-activate-venv: SKIPPING 19:58:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/15 19:58:17 INFO: archiving workspace using pattern(s): 19:58:18 Archives upload complete. 19:58:18 INFO: archiving logs to Nexus