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 8b628f1f80489d80ea8abad1d9a87ea756733828 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-ssh11322124901610570195.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-ssh14652358866359331333.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-ssh5355067971822999454.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-ssh2221332065511251652.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-ssh2618071210511507765.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-16128’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16130 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-90 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 8b628f1f80489d80ea8abad1d9a87ea756733828 Merge succeeded, producing e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc Checking out Revision e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc (PR-90) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b628f1f80489d80ea8abad1d9a87ea756733828 # 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 e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc # 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:59:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:59:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 0f44c4d712ab552f8feb5f3b37abc0045fa4f9e6 # timeout=10 [Pipeline] echo 19:59:36 ========================================================= 19:59:36 EdgeX Global Pipelines Version Info 19:59:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:59:37 ------------------- 19:59:37 stable info: 19:59:37 ------------------- 19:59:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:59:37 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 19:59:37 Message: update stable to v1.0.234 19:59:37 ------------------- 19:59:37 experimental info: 19:59:37 ------------------- 19:59:37 Commited By: **** collab-it+edgex@linuxfoundation.org 19:59:37 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 19:59:37 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3a18b0 [Pipeline] echo 19:59:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:59:38 provisioning config files... 19:59:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5356454552771397998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:59:38 ---> docker-login.sh 19:59:38 nexus3.edgexfoundry.org:10001 19:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:38 Configure a credential helper to remove this warning. See 19:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:38 19:59:38 Login Succeeded 19:59:38 nexus3.edgexfoundry.org:10002 19:59:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:39 Configure a credential helper to remove this warning. See 19:59:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:39 19:59:39 Login Succeeded 19:59:39 nexus3.edgexfoundry.org:10003 19:59:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:39 Configure a credential helper to remove this warning. See 19:59:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:39 19:59:39 Login Succeeded 19:59:39 nexus3.edgexfoundry.org:10004 19:59:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:39 Configure a credential helper to remove this warning. See 19:59:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:39 19:59:39 Login Succeeded 19:59:39 docker.io 19:59:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:39 Configure a credential helper to remove this warning. See 19:59:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:39 19:59:39 Login Succeeded 19:59:39 ---> docker-login.sh ends [Pipeline] } 19:59:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:59:39 + git rev-list -1 --merges e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc~1..e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc [Pipeline] echo 19:59:40 -----------> git rev-list -1 --merges e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc~1..e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc 19:59:40 e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc [false] [Pipeline] sh 19:59:40 + git log --format=format:%s -1 e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc [Pipeline] echo 19:59:40 ========================================================= 19:59:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:59:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:59:40 + git log --format=format:%s -1 e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc [Pipeline] echo 19:59:40 [semverPrep] GIT_COMMIT: e3a18b0fe9d134a8d14e6e8cebb6e6eac44a7dcc, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo 19:59:40 [semverPrep] This is not a build commit. [Pipeline] sh 19:59:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:59:41 + grep -v github /etc/ssh/ssh_known_hosts 19:59:41 + [ -e /tmp/ssh_known_hosts ] 19:59:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:59:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:59:41 + sudo tee -a /etc/ssh/ssh_known_hosts 19:59:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:41 19:59:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:41 0.1.4: Pulling from edgex-devops/py-git-semver 19:59:41 42c077c10790: Pulling fs layer 19:59:41 f63e77b7563a: Pulling fs layer 19:59:41 bd5fdadae976: Pulling fs layer 19:59:41 205491f53016: Pulling fs layer 19:59:41 df18705c85c3: Pulling fs layer 19:59:41 bdb3f477010e: Pulling fs layer 19:59:41 c8a8fc8e1c8f: Pulling fs layer 19:59:41 2c6e9b1d212d: Pulling fs layer 19:59:41 bdb8f0575790: Pulling fs layer 19:59:41 386e3cb2ff24: Pulling fs layer 19:59:41 2343380bae48: Pulling fs layer 19:59:41 205491f53016: Waiting 19:59:41 df18705c85c3: Waiting 19:59:41 bdb3f477010e: Waiting 19:59:41 bdb8f0575790: Waiting 19:59:41 386e3cb2ff24: Waiting 19:59:41 c8a8fc8e1c8f: Waiting 19:59:41 2343380bae48: Waiting 19:59:41 2c6e9b1d212d: Waiting 19:59:41 f63e77b7563a: Verifying Checksum 19:59:41 f63e77b7563a: Download complete 19:59:41 205491f53016: Verifying Checksum 19:59:41 df18705c85c3: Verifying Checksum 19:59:41 df18705c85c3: Download complete 19:59:41 bdb3f477010e: Verifying Checksum 19:59:41 bdb3f477010e: Download complete 19:59:41 bd5fdadae976: Verifying Checksum 19:59:41 bd5fdadae976: Download complete 19:59:41 2c6e9b1d212d: Verifying Checksum 19:59:41 2c6e9b1d212d: Download complete 19:59:41 bdb8f0575790: Verifying Checksum 19:59:41 bdb8f0575790: Download complete 19:59:41 386e3cb2ff24: Verifying Checksum 19:59:41 386e3cb2ff24: Download complete 19:59:41 2343380bae48: Verifying Checksum 19:59:41 2343380bae48: Download complete 19:59:41 42c077c10790: Download complete 19:59:42 c8a8fc8e1c8f: Verifying Checksum 19:59:42 c8a8fc8e1c8f: Download complete 19:59:43 42c077c10790: Pull complete 19:59:43 f63e77b7563a: Pull complete 19:59:44 bd5fdadae976: Pull complete 19:59:44 205491f53016: Pull complete 19:59:44 df18705c85c3: Pull complete 19:59:44 bdb3f477010e: Pull complete 19:59:46 c8a8fc8e1c8f: Pull complete 19:59:46 2c6e9b1d212d: Pull complete 19:59:46 bdb8f0575790: Pull complete 19:59:46 386e3cb2ff24: Pull complete 19:59:46 2343380bae48: Pull complete 19:59:46 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 19:59:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:46 prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container 19:59:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:59:48 $ docker top 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 -eo pid,comm 19:59:48 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:59:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:59:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:48 [ssh-agent] Looking for ssh-agent implementation... 19:59:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:48 $ docker exec 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 ssh-agent 19:59:48 SSH_AUTH_SOCK=/tmp/ssh-D51mLZKpO73h/agent.33 19:59:48 SSH_AGENT_PID=39 19:59:48 Running ssh-add (command line suppressed) 19:59:48 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_6386692861779909872.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_6386692861779909872.key) 19:59:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:48 + git tag --points-at HEAD [Pipeline] } 19:59:48 $ docker exec --env ******** --env ******** 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 ssh-agent -k 19:59:49 unset SSH_AUTH_SOCK; 19:59:49 unset SSH_AGENT_PID; 19:59:49 echo Agent pid 39 killed; 19:59:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:59:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:49 [ssh-agent] Looking for ssh-agent implementation... 19:59:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:49 $ docker exec 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 ssh-agent 19:59:49 SSH_AUTH_SOCK=/tmp/ssh-zGlybV94HVFC/agent.73 19:59:49 SSH_AGENT_PID=79 19:59:49 Running ssh-add (command line suppressed) 19:59:49 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_8321591811401569353.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_8321591811401569353.key) 19:59:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:49 + git semver init 19:59:49 2022-06-27 19:59:49,906 [run_init] DEBUG init version:0.0.0 force:False 19:59:49 2022-06-27 19:59:49,907 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver 19:59:49 2022-06-27 19:59:49,907 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver 19:59:49 2022-06-27 19:59:49,907 [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:59:50 2022-06-27 19:59:50,895 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude 19:59:50 2022-06-27 19:59:50,896 [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:59:50 2022-06-27 19:59:50,896 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 19:59:50 2022-06-27 19:59:50,900 [execute] INFO git cat-file --batch-check 19:59:50 2022-06-27 19:59:50,900 [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:59:50 2022-06-27 19:59:50,907 [execute] INFO git cat-file --batch 19:59:50 2022-06-27 19:59:50,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 19:59:51 2022-06-27 19:59:50,913 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 19:59:51 0.0.0 [Pipeline] } 19:59:51 $ docker exec --env ******** --env ******** 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 ssh-agent -k 19:59:51 unset SSH_AUTH_SOCK; 19:59:51 unset SSH_AGENT_PID; 19:59:51 echo Agent pid 79 killed; 19:59:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:59:51 + git semver [Pipeline] } 19:59:51 $ docker stop --time=1 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 19:59:53 $ docker rm -f 3836c5be6bd2324fdb0fbd10cb21e5d0ba7b9466c05a903305932454849933f2 [Pipeline] // withDockerContainer [Pipeline] sh 19:59:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:59:53 Stashed 1 file(s) [Pipeline] echo 19:59:53 [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:59:53 provisioning config files... 19:59:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1266742105611046018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:59:54 ---> docker-login.sh 19:59:54 nexus3.edgexfoundry.org:10001 19:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:54 Configure a credential helper to remove this warning. See 19:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:54 19:59:54 Login Succeeded 19:59:54 nexus3.edgexfoundry.org:10002 19:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:54 Configure a credential helper to remove this warning. See 19:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:54 19:59:54 Login Succeeded 19:59:54 nexus3.edgexfoundry.org:10003 19:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:54 Configure a credential helper to remove this warning. See 19:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:54 19:59:54 Login Succeeded 19:59:54 nexus3.edgexfoundry.org:10004 19:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:54 Configure a credential helper to remove this warning. See 19:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:54 19:59:54 Login Succeeded 19:59:54 docker.io 19:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:55 Configure a credential helper to remove this warning. See 19:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:55 19:59:55 Login Succeeded 19:59:55 ---> docker-login.sh ends [Pipeline] } 19:59:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:59:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:59:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:59:55 ========================================================= 19:59:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:59:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:55 + 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:59:55 Sending build context to Docker daemon 8.853MB 19:59:55 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:59:55 Step 2/13 : FROM ${BASE} AS builder 19:59:55 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:59:55 59bf1c3509f3: Pulling fs layer 19:59:55 666ba61612fd: Pulling fs layer 19:59:55 8ed8ca486205: Pulling fs layer 19:59:55 cc1cd167ecdc: Pulling fs layer 19:59:55 c516ae0d96e1: Pulling fs layer 19:59:55 684cea983483: Pulling fs layer 19:59:55 dd3240ac7de5: Pulling fs layer 19:59:55 b1e948a4e11c: Pulling fs layer 19:59:55 a8fd76ee1af6: Pulling fs layer 19:59:55 646ad004c059: Pulling fs layer 19:59:55 b1e948a4e11c: Waiting 19:59:55 dd3240ac7de5: Waiting 19:59:55 a8fd76ee1af6: Waiting 19:59:55 c516ae0d96e1: Waiting 19:59:55 684cea983483: Waiting 19:59:55 8ed8ca486205: Verifying Checksum 19:59:55 8ed8ca486205: Download complete 19:59:55 666ba61612fd: Download complete 19:59:55 c516ae0d96e1: Verifying Checksum 19:59:55 c516ae0d96e1: Download complete 19:59:55 684cea983483: Download complete 19:59:55 dd3240ac7de5: Verifying Checksum 19:59:55 dd3240ac7de5: Download complete 19:59:55 59bf1c3509f3: Verifying Checksum 19:59:55 59bf1c3509f3: Download complete 19:59:55 b1e948a4e11c: Verifying Checksum 19:59:55 b1e948a4e11c: Download complete 19:59:55 59bf1c3509f3: Pull complete 19:59:56 666ba61612fd: Pull complete 19:59:56 8ed8ca486205: Pull complete 19:59:56 646ad004c059: Verifying Checksum 19:59:56 646ad004c059: Download complete 19:59:56 a8fd76ee1af6: Verifying Checksum 19:59:56 a8fd76ee1af6: Download complete 19:59:56 cc1cd167ecdc: Download complete 20:00:00 cc1cd167ecdc: Pull complete 20:00:00 c516ae0d96e1: Pull complete 20:00:00 684cea983483: Pull complete 20:00:00 dd3240ac7de5: Pull complete 20:00:00 b1e948a4e11c: Pull complete 20:00:02 a8fd76ee1af6: Pull complete 20:00:02 646ad004c059: Pull complete 20:00:02 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 20:00:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:00:02 ---> 8f69c11f6b0c 20:00:02 Step 3/13 : ARG MAKE="make build" 20:00:04 ---> Running in 28bec62790e1 20:00:04 Removing intermediate container 28bec62790e1 20:00:04 ---> bf245eb0f597 20:00:04 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:00:04 ---> Running in 7d88afe8217f 20:00:04 Removing intermediate container 7d88afe8217f 20:00:04 ---> cdf90956a221 20:00:04 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:00:04 ---> Running in 7d33a5ddb850 20:00:04 Removing intermediate container 7d33a5ddb850 20:00:04 ---> c4d6d5eb9fe6 20:00:04 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:00:04 ---> Running in 89a5a03f2357 20:00:05 Removing intermediate container 89a5a03f2357 20:00:05 ---> c0a8b62ff57b 20:00:05 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:00:05 ---> Running in 14dea170c9e9 20:00:05 Removing intermediate container 14dea170c9e9 20:00:05 ---> e4d62837986b 20:00:05 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:00:05 ---> Running in f551a3644d11 20:00:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:00:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:00:07 OK: 221 MiB in 52 packages 20:00:07 Removing intermediate container f551a3644d11 20:00:07 ---> 49b0d6a15367 20:00:07 Step 9/13 : WORKDIR /device-onvif-camera 20:00:07 ---> Running in 8e08e15d6302 20:00:07 Removing intermediate container 8e08e15d6302 20:00:07 ---> 6a04dd993bdc 20:00:07 Step 10/13 : COPY go.mod vendor* ./ 20:00:07 ---> afc438d5cbeb 20:00:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:00:07 ---> Running in 3dd6ece4ee4c 20:00:08 Still waiting to schedule task 20:00:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16129’ is offline 20:00:25 Removing intermediate container 3dd6ece4ee4c 20:00:25 ---> ee4184457351 20:00:25 Step 12/13 : COPY . . 20:00:25 ---> 6df498f774ed 20:00:25 Step 13/13 : RUN ${MAKE} 20:00:25 ---> Running in e3e900140a6d 20:00:25 noop 20:00:25 Removing intermediate container e3e900140a6d 20:00:25 ---> 74d2a402b641 20:00:25 Successfully built 74d2a402b641 20:00:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:26 + docker inspect -f . ci-base-image-x86_64 20:00:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:26 prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container 20:00:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:00:26 $ docker top 461873f5a59eeedaa0de502ef01b741233c21e9c2756aa3e8b9fc23c03f83cc2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:00:26 + go version 20:00:26 go version go1.17.7 linux/amd64 [Pipeline] } 20:00:26 $ docker stop --time=1 461873f5a59eeedaa0de502ef01b741233c21e9c2756aa3e8b9fc23c03f83cc2 20:00:28 $ docker rm -f 461873f5a59eeedaa0de502ef01b741233c21e9c2756aa3e8b9fc23c03f83cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:28 + docker inspect -f . ci-base-image-x86_64 20:00:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:28 prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container 20:00:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:00:29 $ docker top e6c9c53005d7dd44ad5d3dfca8853d4d6d9f15a6e5e2865d9443c18d31bb714e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:00:29 + make test 20:00:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:00:29 # github.com/edgexfoundry/device-onvif-camera/internal/driver 20:00:29 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 20:00:29 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 20:00:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:00:38 # github.com/edgexfoundry/device-onvif-camera/internal/driver 20:00:38 internal/driver/onvifclient.go:63:27: d.tryGetCredentialsFromMac undefined (type *Driver has no field or method tryGetCredentialsFromMac) 20:00:43 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.773s coverage: 13.8% of statements 20:00:43 make: *** [Makefile:48: unittest] Error 2 [Pipeline] } 20:00:43 $ docker stop --time=1 e6c9c53005d7dd44ad5d3dfca8853d4d6d9f15a6e5e2865d9443c18d31bb714e 20:00:45 $ docker rm -f e6c9c53005d7dd44ad5d3dfca8853d4d6d9f15a6e5e2865d9443c18d31bb714e [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 20:00:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:00:45 20:00:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:00:45 latest: Pulling from edgex-lftools-log-publisher 20:00:45 5eb5b503b376: Pulling fs layer 20:00:45 5c69ac0246d0: Pulling fs layer 20:00:45 ec43610c2a17: Pulling fs layer 20:00:45 3a2ae6a8a46f: Pulling fs layer 20:00:45 33b1e0a273af: Pulling fs layer 20:00:45 5d3b04190fa2: Pulling fs layer 20:00:45 2f39f015ded8: Pulling fs layer 20:00:45 33b1e0a273af: Waiting 20:00:45 5d3b04190fa2: Waiting 20:00:45 2f39f015ded8: Waiting 20:00:45 3a2ae6a8a46f: Waiting 20:00:45 5c69ac0246d0: Verifying Checksum 20:00:45 5c69ac0246d0: Download complete 20:00:45 3a2ae6a8a46f: Verifying Checksum 20:00:45 3a2ae6a8a46f: Download complete 20:00:46 33b1e0a273af: Verifying Checksum 20:00:46 33b1e0a273af: Download complete 20:00:46 5d3b04190fa2: Download complete 20:00:46 ec43610c2a17: Verifying Checksum 20:00:46 ec43610c2a17: Download complete 20:00:46 5eb5b503b376: Verifying Checksum 20:00:46 5eb5b503b376: Download complete 20:00:46 2f39f015ded8: Download complete 20:00:47 5eb5b503b376: Pull complete 20:00:47 5c69ac0246d0: Pull complete 20:00:48 ec43610c2a17: Pull complete 20:00:48 3a2ae6a8a46f: Pull complete 20:00:48 33b1e0a273af: Pull complete 20:00:48 5d3b04190fa2: Pull complete 20:00:52 2f39f015ded8: Pull complete 20:00:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:00:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:00:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:52 prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container 20:00:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:00:54 $ docker top 77e6bfc01cf9ec107746d8414caa3a5aaa83286edaef6e06fc0ef389223068f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:00:54 ---> job-cost.sh 20:00:54 lf-activate-venv: SKIPPING 20:00:54 INFO: No Stack... 20:00:55 INFO: Retrieving Pricing Info for: v3-standard-8 20:00:55 INFO: Archiving Costs [Pipeline] sh 20:00:55 + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv 20:00:55 + cut -d, -f6 [Pipeline] lock 20:00:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] 20:00:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] did not exist. Created. 20:00:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:00:56 + echo total: 0.2199999988079071 [Pipeline] stash 20:00:56 Stashed 1 file(s) [Pipeline] } 20:00:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] [Pipeline] // lock [Pipeline] } 20:00:56 $ docker stop --time=1 77e6bfc01cf9ec107746d8414caa3a5aaa83286edaef6e06fc0ef389223068f7 20:00:57 $ docker rm -f 77e6bfc01cf9ec107746d8414caa3a5aaa83286edaef6e06fc0ef389223068f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:00:57 Failed in branch amd64 20:01:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16131 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws 20:01:45 Running in /w/workspace/device-onvif-camera/16 [Pipeline] { [Pipeline] checkout 20:01:45 Selected Git installation does not exist. Using Default 20:01:45 The recommended git tool is: NONE 20:01:52 using credential edgex-jenkins-ssh 20:01:52 Cloning the remote Git repository 20:01:52 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:01:52 > git init /w/workspace/device-onvif-camera/16 # timeout=10 20:01:52 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:01:52 > git --version # timeout=10 20:01:52 > git --version # 'git version 2.25.1' 20:01:52 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:01:54 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:01:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:01:54 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:01:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:01:54 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:54 > 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 20:01:54 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 8b628f1f80489d80ea8abad1d9a87ea756733828 20:01:55 Merge succeeded, producing d80a1a9c921fd7e0b7b866a6de74141fb997da8e 20:01:55 Checking out Revision d80a1a9c921fd7e0b7b866a6de74141fb997da8e (PR-90) 20:01:54 > git config core.sparsecheckout # timeout=10 20:01:54 > git checkout -f 8b628f1f80489d80ea8abad1d9a87ea756733828 # timeout=10 20:01:54 > git remote # timeout=10 20:01:54 > git config --get remote.origin.url # timeout=10 20:01:54 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:54 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 20:01:55 > git rev-parse HEAD^{commit} # timeout=10 20:01:55 > git config core.sparsecheckout # timeout=10 20:01:55 > git checkout -f d80a1a9c921fd7e0b7b866a6de74141fb997da8e # timeout=10 20:01:59 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" 20:01:59 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:02:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:02:00 % Total % Received % Xferd Average Speed Time Time Time Current 20:02:00 Dload Upload Total Spent Left Speed 20:02:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94253 0 --:--:-- --:--:-- --:--:-- 94253 [Pipeline] sh 20:01:59 > git rev-list --no-walk 0f44c4d712ab552f8feb5f3b37abc0045fa4f9e6 # timeout=10 20:02:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:02:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 20:02:01 sudo tee /etc/docker/daemon.new 20:02:01 { 20:02:01 "registry-mirrors": [ 20:02:01 "https://nexus3.edgexfoundry.org:10001" 20:02:01 ], 20:02:01 "bip": "10.250.0.254/24", 20:02:01 "hosts": [ 20:02:01 "tcp://0.0.0.0:5555", 20:02:01 "unix:///var/run/docker.sock" 20:02:01 ], 20:02:01 "mtu": 1458, 20:02:01 "selinux-enabled": true, 20:02:01 "seccomp-profile": "/etc/docker/seccomp.json" 20:02:01 } [Pipeline] sh 20:02:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:02:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:20 provisioning config files... 20:02:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/16@tmp/config6071294777896811172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:20 ---> docker-login.sh 20:02:20 nexus3.edgexfoundry.org:10001 20:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:21 Configure a credential helper to remove this warning. See 20:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:21 20:02:21 Login Succeeded 20:02:21 nexus3.edgexfoundry.org:10002 20:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:21 Configure a credential helper to remove this warning. See 20:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:21 20:02:21 Login Succeeded 20:02:21 nexus3.edgexfoundry.org:10003 20:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:22 Configure a credential helper to remove this warning. See 20:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:22 20:02:22 Login Succeeded 20:02:22 nexus3.edgexfoundry.org:10004 20:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:22 Configure a credential helper to remove this warning. See 20:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:22 20:02:22 Login Succeeded 20:02:22 docker.io 20:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:23 Configure a credential helper to remove this warning. See 20:02:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:23 20:02:23 Login Succeeded 20:02:23 ---> docker-login.sh ends [Pipeline] } 20:02:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:02:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:23 ========================================================= 20:02:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:02:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:24 + 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 . 20:02:24 Sending build context to Docker daemon 6.054MB 20:02:24 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 20:02:24 Step 2/13 : FROM ${BASE} AS builder 20:02:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:02:24 9b3977197b4f: Pulling fs layer 20:02:24 1a89e8eeedd5: Pulling fs layer 20:02:24 94645a83ff95: Pulling fs layer 20:02:24 e6fb740bc735: Pulling fs layer 20:02:24 3a77bd46dcc9: Pulling fs layer 20:02:24 355e64cbe906: Pulling fs layer 20:02:24 63ab81a10011: Pulling fs layer 20:02:24 555d1d1c4555: Pulling fs layer 20:02:24 7d9057610161: Pulling fs layer 20:02:24 355e64cbe906: Waiting 20:02:24 555d1d1c4555: Waiting 20:02:24 63ab81a10011: Waiting 20:02:24 7d9057610161: Waiting 20:02:24 e6fb740bc735: Waiting 20:02:24 94645a83ff95: Download complete 20:02:24 1a89e8eeedd5: Download complete 20:02:24 3a77bd46dcc9: Verifying Checksum 20:02:24 3a77bd46dcc9: Download complete 20:02:24 355e64cbe906: Verifying Checksum 20:02:24 355e64cbe906: Download complete 20:02:24 9b3977197b4f: Verifying Checksum 20:02:24 9b3977197b4f: Download complete 20:02:24 63ab81a10011: Verifying Checksum 20:02:24 63ab81a10011: Download complete 20:02:25 7d9057610161: Verifying Checksum 20:02:25 7d9057610161: Download complete 20:02:25 9b3977197b4f: Pull complete 20:02:26 1a89e8eeedd5: Pull complete 20:02:26 94645a83ff95: Pull complete 20:02:27 555d1d1c4555: Verifying Checksum 20:02:27 555d1d1c4555: Download complete 20:02:27 e6fb740bc735: Download complete 20:02:40 e6fb740bc735: Pull complete 20:02:40 3a77bd46dcc9: Pull complete 20:02:40 355e64cbe906: Pull complete 20:02:40 63ab81a10011: Pull complete 20:02:47 555d1d1c4555: Pull complete 20:02:49 7d9057610161: Pull complete 20:02:49 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 20:02:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:02:49 ---> 819e984ddca1 20:02:49 Step 3/13 : ARG MAKE="make build" 20:02:49 ---> Running in e6f726851c6b 20:02:49 Removing intermediate container e6f726851c6b 20:02:49 ---> 03c819b30ae0 20:02:49 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:02:49 ---> Running in f10920cb7559 20:02:50 Removing intermediate container f10920cb7559 20:02:50 ---> 8b471768f5e6 20:02:50 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:02:50 ---> Running in 4192a7c8b590 20:02:50 Removing intermediate container 4192a7c8b590 20:02:50 ---> b2cd62abd3be 20:02:50 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:02:50 ---> Running in 75cfe9289743 20:02:50 Removing intermediate container 75cfe9289743 20:02:50 ---> a6e507989538 20:02:50 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:02:50 ---> Running in 213d1ba5bcba 20:02:54 Removing intermediate container 213d1ba5bcba 20:02:54 ---> f14c01b40672 20:02:54 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:02:54 ---> Running in f16b7f7dee7f 20:02:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:02:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:02:56 OK: 220 MiB in 52 packages 20:02:57 Removing intermediate container f16b7f7dee7f 20:02:57 ---> d79bf3672d79 20:02:57 Step 9/13 : WORKDIR /device-onvif-camera 20:02:57 ---> Running in f9eaa876f04f 20:02:57 Removing intermediate container f9eaa876f04f 20:02:57 ---> a92850080433 20:02:57 Step 10/13 : COPY go.mod vendor* ./ 20:02:58 ---> d91f134d73d8 20:02:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:02:58 ---> Running in 24f4f6585fe6 20:03:45 Removing intermediate container 24f4f6585fe6 20:03:45 ---> 64d7d0bc0eb4 20:03:45 Step 12/13 : COPY . . 20:03:45 ---> 0c04c3402d8d 20:03:45 Step 13/13 : RUN ${MAKE} 20:03:45 ---> Running in 0a046a3b7801 20:03:45 noop 20:03:46 Removing intermediate container 0a046a3b7801 20:03:46 ---> 66f21ec8a8bf 20:03:46 Successfully built 66f21ec8a8bf 20:03:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:46 + docker inspect -f . ci-base-image-arm64 20:03:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:46 prd-ubuntu20.04-docker-arm64-4c-16g-16131 does not seem to be running inside a container 20:03:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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 20:03:48 $ docker top 4b5aca162512e488b2ec337aa2a67cfaf8428b8fa462585a2511ee0844cefc72 -eo pid,comm [Pipeline] { [Pipeline] sh 20:03:49 + go version 20:03:49 go version go1.17.7 linux/arm64 [Pipeline] } 20:03:49 $ docker stop --time=1 4b5aca162512e488b2ec337aa2a67cfaf8428b8fa462585a2511ee0844cefc72 20:03:50 $ docker rm -f 4b5aca162512e488b2ec337aa2a67cfaf8428b8fa462585a2511ee0844cefc72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:51 + docker inspect -f . ci-base-image-arm64 20:03:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:51 prd-ubuntu20.04-docker-arm64-4c-16g-16131 does not seem to be running inside a container 20:03:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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 20:03:53 $ docker top 9fd8ac31d5bcd910e5f139e805f109167eff66e7a92579f3be1a62928d9663b1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:03:53 + make test 20:03:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:03:55 # github.com/edgexfoundry/device-onvif-camera/internal/driver 20:03:55 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 20:03:55 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 20:03:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:05:03 # github.com/edgexfoundry/device-onvif-camera/internal/driver 20:05:03 internal/driver/onvifclient.go:63:27: d.tryGetCredentialsFromMac undefined (type *Driver has no field or method tryGetCredentialsFromMac) 20:05:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.246s coverage: 13.8% of statements 20:05:42 make: *** [Makefile:48: unittest] Error 2 [Pipeline] } 20:05:42 $ docker stop --time=1 9fd8ac31d5bcd910e5f139e805f109167eff66e7a92579f3be1a62928d9663b1 20:05:44 $ docker rm -f 9fd8ac31d5bcd910e5f139e805f109167eff66e7a92579f3be1a62928d9663b1 [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 20:05:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:05:45 20:05:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:05:46 arm64: Pulling from edgex-lftools-log-publisher 20:05:46 8998bd30e6a1: Pulling fs layer 20:05:46 04944245beec: Pulling fs layer 20:05:46 699f458cf7ca: Pulling fs layer 20:05:46 765212b225bb: Pulling fs layer 20:05:46 f23df028b6ca: Pulling fs layer 20:05:46 d65c8cfc05b1: Pulling fs layer 20:05:46 2437ff75d9bd: Pulling fs layer 20:05:46 f23df028b6ca: Waiting 20:05:46 d65c8cfc05b1: Waiting 20:05:46 2437ff75d9bd: Waiting 20:05:46 765212b225bb: Waiting 20:05:46 04944245beec: Verifying Checksum 20:05:46 04944245beec: Download complete 20:05:46 765212b225bb: Verifying Checksum 20:05:46 765212b225bb: Download complete 20:05:46 f23df028b6ca: Verifying Checksum 20:05:46 f23df028b6ca: Download complete 20:05:46 d65c8cfc05b1: Verifying Checksum 20:05:46 d65c8cfc05b1: Download complete 20:05:46 699f458cf7ca: Verifying Checksum 20:05:46 699f458cf7ca: Download complete 20:05:46 8998bd30e6a1: Verifying Checksum 20:05:46 8998bd30e6a1: Download complete 20:05:49 2437ff75d9bd: Verifying Checksum 20:05:49 2437ff75d9bd: Download complete 20:05:52 8998bd30e6a1: Pull complete 20:05:52 04944245beec: Pull complete 20:05:53 699f458cf7ca: Pull complete 20:05:53 765212b225bb: Pull complete 20:05:54 f23df028b6ca: Pull complete 20:05:55 d65c8cfc05b1: Pull complete 20:06:10 2437ff75d9bd: Pull complete 20:06:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:06:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:06:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:10 prd-ubuntu20.04-docker-arm64-4c-16g-16131 does not seem to be running inside a container 20:06:10 $ 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/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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 20:06:12 $ docker top bbc06cb4441d8a4d35cf0734ea85f776d7a7e6f52a248bbce8ecfdb9e1e1397e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:13 ---> job-cost.sh 20:06:13 lf-activate-venv: SKIPPING 20:06:13 INFO: No Stack... 20:06:14 INFO: Retrieving Pricing Info for: v3-standard-4 20:06:15 INFO: Archiving Costs [Pipeline] sh 20:06:16 + + cat /w/workspace/device-onvif-camera/16/archives/cost.csv 20:06:16 cut -d, -f6 [Pipeline] lock 20:06:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] 20:06:16 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] did not exist. Created. 20:06:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:16 /w/workspace/device-onvif-camera/16@tmp/durable-26388547/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:06:17 + echo total: 0.10999999940395355 [Pipeline] stash 20:06:17 Warning: overwriting stash ‘stack-cost’ 20:06:17 Stashed 1 file(s) [Pipeline] } 20:06:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-16-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:18 $ docker stop --time=1 bbc06cb4441d8a4d35cf0734ea85f776d7a7e6f52a248bbce8ecfdb9e1e1397e 20:06:19 $ docker rm -f bbc06cb4441d8a4d35cf0734ea85f776d7a7e6f52a248bbce8ecfdb9e1e1397e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:06:19 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 20:06:20 + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] 20:06:20 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 20:06:20 total 16 20:06:20 drwxr-xr-x 3 root root 4096 Jun 27 20:00 . 20:06:20 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:00 .. 20:06:20 drwxr-xr-x 2 root root 4096 Jun 27 20:00 cost 20:06:20 -rw-r--r-- 1 root root 90 Jun 27 20:00 cost.csv 20:06:20 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives 20:06:20 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 20:06:20 total 16 20:06:20 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 20:00 . 20:06:20 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:00 .. 20:06:20 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 20:00 cost 20:06:20 -rw-r--r-- 1 jenkins jenkins 90 Jun 27 20:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:06:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:06:21 ---> package-listing.sh 20:06:21 ++ facter osfamily 20:06:21 ++ tr '[:upper:]' '[:lower:]' 20:06:21 + OS_FAMILY=debian 20:06:21 + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 20:06:21 + START_PACKAGES=/tmp/packages_start.txt 20:06:21 + END_PACKAGES=/tmp/packages_end.txt 20:06:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:06:21 + PACKAGES=/tmp/packages_start.txt 20:06:21 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 20:06:21 + PACKAGES=/tmp/packages_end.txt 20:06:21 + case "${OS_FAMILY}" in 20:06:21 + dpkg -l 20:06:21 + grep '^ii' 20:06:21 + '[' -f /tmp/packages_start.txt ']' 20:06:21 + '[' -f /tmp/packages_end.txt ']' 20:06:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:06:21 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 20:06:21 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ 20:06:21 + 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 20:06:21 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 20:06:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:22 prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container 20:06:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:06:23 $ docker top e2b4914371a97077906969246e7bae58ccb1281cb393d3d3bda8a900452f5f2e -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:23 + touch /tmp/pre-build-complete [Pipeline] sh 20:06:23 + mkdir -p /var/log/sysstat [Pipeline] sh 20:06:24 + ls /var/log/sa-host 20:06:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:24 provisioning config files... 20:06:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config553776332407488039tmp [Pipeline] { [Pipeline] echo 20:06:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:06:24 ---> create-netrc.sh [Pipeline] } 20:06:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:06:24 ---> python-tools-install.sh [Pipeline] echo 20:06:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:06:25 ---> sudo-logs.sh 20:06:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:06:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:06:25 ---> job-cost.sh 20:06:25 lf-activate-venv: SKIPPING 20:06:25 DEBUG: total: 0.2199999988079071 20:06:25 INFO: Retrieving Stack Cost... 20:06:25 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:26 INFO: Archiving Costs [Pipeline] echo 20:06:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:06:26 ---> logs-deploy.sh 20:06:26 lf-activate-venv: SKIPPING 20:06:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/16 20:06:26 INFO: archiving workspace using pattern(s): 20:06:27 Archives upload complete. 20:06:27 INFO: archiving logs to Nexus