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 46e8dd8787967f770da2bb4f46e677477c261221 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-ssh10706426431518004142.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-ssh10923154528593185376.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-ssh16791054762647087780.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-ssh8921551875342044310.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-ssh13264648853543394815.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-15558’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15561 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 46e8dd8787967f770da2bb4f46e677477c261221 Merge succeeded, producing 797a38dcda2b49a9b771cb119c119ed5d0bdb648 Checking out Revision 797a38dcda2b49a9b771cb119c119ed5d0bdb648 (PR-90) > git config core.sparsecheckout # timeout=10 > git checkout -f 46e8dd8787967f770da2bb4f46e677477c261221 # 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 797a38dcda2b49a9b771cb119c119ed5d0bdb648 # 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 21:09:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:09:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:09:46 ========================================================= 21:09:46 EdgeX Global Pipelines Version Info 21:09:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 16d5b5e35c95230f9af2c266bb10ad10ad1cd932 # timeout=10 21:09:47 ------------------- 21:09:47 stable info: 21:09:47 ------------------- 21:09:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:09:47 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 21:09:47 Message: update stable to v1.0.234 21:09:48 ------------------- 21:09:48 experimental info: 21:09:48 ------------------- 21:09:48 Commited By: **** collab-it+edgex@linuxfoundation.org 21:09:48 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 21:09:48 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 797a38dcda2b49a9b771cb119c119ed5d0bdb648 [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 797a38d [Pipeline] echo 21:09:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:48 provisioning config files... 21:09:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config2448991029163978036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:49 ---> docker-login.sh 21:09:49 nexus3.edgexfoundry.org:10001 21:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:49 Configure a credential helper to remove this warning. See 21:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:49 21:09:49 Login Succeeded 21:09:49 nexus3.edgexfoundry.org:10002 21:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:49 Configure a credential helper to remove this warning. See 21:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:49 21:09:49 Login Succeeded 21:09:49 nexus3.edgexfoundry.org:10003 21:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:49 Configure a credential helper to remove this warning. See 21:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:49 21:09:49 Login Succeeded 21:09:49 nexus3.edgexfoundry.org:10004 21:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:49 Configure a credential helper to remove this warning. See 21:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:49 21:09:49 Login Succeeded 21:09:49 docker.io 21:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:50 Configure a credential helper to remove this warning. See 21:09:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:50 21:09:50 Login Succeeded 21:09:50 ---> docker-login.sh ends [Pipeline] } 21:09:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:09:50 + git rev-list -1 --merges 797a38dcda2b49a9b771cb119c119ed5d0bdb648~1..797a38dcda2b49a9b771cb119c119ed5d0bdb648 [Pipeline] echo 21:09:51 -----------> git rev-list -1 --merges 797a38dcda2b49a9b771cb119c119ed5d0bdb648~1..797a38dcda2b49a9b771cb119c119ed5d0bdb648 797a38dcda2b49a9b771cb119c119ed5d0bdb648 21:09:51 797a38dcda2b49a9b771cb119c119ed5d0bdb648 [false] [Pipeline] sh 21:09:51 + git log --format=format:%s -1 797a38dcda2b49a9b771cb119c119ed5d0bdb648 [Pipeline] echo 21:09:51 ========================================================= 21:09:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:09:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:51 + git log --format=format:%s -1 797a38dcda2b49a9b771cb119c119ed5d0bdb648 [Pipeline] echo 21:09:51 [semverPrep] GIT_COMMIT: 797a38dcda2b49a9b771cb119c119ed5d0bdb648, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo 21:09:51 [semverPrep] This is not a build commit. [Pipeline] sh 21:09:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:09:52 + grep -v github /etc/ssh/ssh_known_hosts 21:09:52 + [ -e /tmp/ssh_known_hosts ] 21:09:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:09:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:09:52 + sudo tee -a /etc/ssh/ssh_known_hosts 21:09:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:52 21:09:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:52 0.1.4: Pulling from edgex-devops/py-git-semver 21:09:52 42c077c10790: Pulling fs layer 21:09:52 f63e77b7563a: Pulling fs layer 21:09:52 bd5fdadae976: Pulling fs layer 21:09:52 205491f53016: Pulling fs layer 21:09:52 df18705c85c3: Pulling fs layer 21:09:52 bdb3f477010e: Pulling fs layer 21:09:52 c8a8fc8e1c8f: Pulling fs layer 21:09:52 2c6e9b1d212d: Pulling fs layer 21:09:52 bdb8f0575790: Pulling fs layer 21:09:52 386e3cb2ff24: Pulling fs layer 21:09:52 2343380bae48: Pulling fs layer 21:09:52 c8a8fc8e1c8f: Waiting 21:09:52 bdb3f477010e: Waiting 21:09:52 2c6e9b1d212d: Waiting 21:09:52 bdb8f0575790: Waiting 21:09:52 df18705c85c3: Waiting 21:09:52 2343380bae48: Waiting 21:09:52 205491f53016: Waiting 21:09:52 386e3cb2ff24: Waiting 21:09:52 f63e77b7563a: Verifying Checksum 21:09:52 205491f53016: Verifying Checksum 21:09:52 205491f53016: Download complete 21:09:52 bd5fdadae976: Verifying Checksum 21:09:52 bd5fdadae976: Download complete 21:09:52 df18705c85c3: Verifying Checksum 21:09:52 df18705c85c3: Download complete 21:09:52 bdb3f477010e: Download complete 21:09:52 2c6e9b1d212d: Download complete 21:09:52 bdb8f0575790: Verifying Checksum 21:09:52 bdb8f0575790: Download complete 21:09:52 386e3cb2ff24: Download complete 21:09:52 2343380bae48: Verifying Checksum 21:09:52 2343380bae48: Download complete 21:09:52 42c077c10790: Verifying Checksum 21:09:52 42c077c10790: Download complete 21:09:53 c8a8fc8e1c8f: Download complete 21:09:54 42c077c10790: Pull complete 21:09:54 f63e77b7563a: Pull complete 21:09:54 bd5fdadae976: Pull complete 21:09:55 205491f53016: Pull complete 21:09:55 df18705c85c3: Pull complete 21:09:55 bdb3f477010e: Pull complete 21:09:57 c8a8fc8e1c8f: Pull complete 21:09:57 2c6e9b1d212d: Pull complete 21:09:57 bdb8f0575790: Pull complete 21:09:57 386e3cb2ff24: Pull complete 21:09:57 2343380bae48: Pull complete 21:09:57 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 21:09:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:57 prd-ubuntu20.04-docker-8c-8g-15561 does not seem to be running inside a container 21:09:57 $ 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 21:09:59 $ docker top 4b375980a9168642c8f8fc2c79e1539fe097beb40e466ee678a6f965842de60e -eo pid,comm 21:09:59 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). 21:09:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:09:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:59 [ssh-agent] Looking for ssh-agent implementation... 21:09:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:59 $ docker exec 4b375980a9168642c8f8fc2c79e1539fe097beb40e466ee678a6f965842de60e ssh-agent 21:09:59 SSH_AUTH_SOCK=/tmp/ssh-D7pTiauGYId8/agent.32 21:09:59 SSH_AGENT_PID=38 21:09:59 Running ssh-add (command line suppressed) 21:09:59 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4277201869798530841.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4277201869798530841.key) 21:09:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:00 + git tag --points-at HEAD [Pipeline] } 21:10:00 $ docker exec --env ******** --env ******** 4b375980a9168642c8f8fc2c79e1539fe097beb40e466ee678a6f965842de60e ssh-agent -k 21:10:00 unset SSH_AUTH_SOCK; 21:10:00 unset SSH_AGENT_PID; 21:10:00 echo Agent pid 38 killed; 21:10:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:10:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:00 [ssh-agent] Looking for ssh-agent implementation... 21:10:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:00 $ docker exec 4b375980a9168642c8f8fc2c79e1539fe097beb40e466ee678a6f965842de60e ssh-agent 21:10:00 SSH_AUTH_SOCK=/tmp/ssh-VJflsNO84CCp/agent.71 21:10:00 SSH_AGENT_PID=77 21:10:00 Running ssh-add (command line suppressed) 21:10:00 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4688799190232226770.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4688799190232226770.key) 21:10:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:01 + git semver init 21:10:01 2022-06-24 21:10:01,278 [run_init] DEBUG init version:0.0.0 force:False 21:10:01 2022-06-24 21:10:01,279 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver 21:10:01 2022-06-24 21:10:01,279 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver 21:10:01 2022-06-24 21:10:01,280 [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) 21:10:02 2022-06-24 21:10:01,977 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude 21:10:02 2022-06-24 21:10:01,978 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 with force:False 21:10:02 2022-06-24 21:10:01,978 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 21:10:02 2022-06-24 21:10:01,982 [execute] INFO git cat-file --batch-check 21:10:02 2022-06-24 21:10:01,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 21:10:02 2022-06-24 21:10:01,990 [execute] INFO git cat-file --batch 21:10:02 2022-06-24 21:10:01,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 21:10:02 2022-06-24 21:10:01,996 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 21:10:02 0.0.0 [Pipeline] } 21:10:02 $ docker exec --env ******** --env ******** 4b375980a9168642c8f8fc2c79e1539fe097beb40e466ee678a6f965842de60e ssh-agent -k 21:10:02 unset SSH_AUTH_SOCK; 21:10:02 unset SSH_AGENT_PID; 21:10:02 echo Agent pid 77 killed; 21:10:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:10:02 + git semver [Pipeline] } 21:10:03 $ docker stop --time=1 4b375980a9168642c8f8fc2c79e1539fe097beb40e466ee678a6f965842de60e 21:10:04 $ docker rm -f 4b375980a9168642c8f8fc2c79e1539fe097beb40e466ee678a6f965842de60e [Pipeline] // withDockerContainer [Pipeline] sh 21:10:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:10:04 Stashed 1 file(s) [Pipeline] echo 21:10:04 [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 21:10:05 provisioning config files... 21:10:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config4416601932656233743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:05 ---> docker-login.sh 21:10:05 nexus3.edgexfoundry.org:10001 21:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:05 Configure a credential helper to remove this warning. See 21:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:05 21:10:05 Login Succeeded 21:10:05 nexus3.edgexfoundry.org:10002 21:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:05 Configure a credential helper to remove this warning. See 21:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:05 21:10:05 Login Succeeded 21:10:05 nexus3.edgexfoundry.org:10003 21:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:05 Configure a credential helper to remove this warning. See 21:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:05 21:10:05 Login Succeeded 21:10:05 nexus3.edgexfoundry.org:10004 21:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:05 Configure a credential helper to remove this warning. See 21:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:05 21:10:05 Login Succeeded 21:10:05 docker.io 21:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:06 Configure a credential helper to remove this warning. See 21:10:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:06 21:10:06 Login Succeeded 21:10:06 ---> docker-login.sh ends [Pipeline] } 21:10:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:06 ========================================================= 21:10:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:10:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:06 + 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 . 21:10:06 Sending build context to Docker daemon 8.847MB 21:10:06 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 21:10:06 Step 2/13 : FROM ${BASE} AS builder 21:10:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:10:06 59bf1c3509f3: Pulling fs layer 21:10:06 666ba61612fd: Pulling fs layer 21:10:06 8ed8ca486205: Pulling fs layer 21:10:06 cc1cd167ecdc: Pulling fs layer 21:10:06 c516ae0d96e1: Pulling fs layer 21:10:06 684cea983483: Pulling fs layer 21:10:06 dd3240ac7de5: Pulling fs layer 21:10:06 b1e948a4e11c: Pulling fs layer 21:10:06 a8fd76ee1af6: Pulling fs layer 21:10:06 646ad004c059: Pulling fs layer 21:10:06 c516ae0d96e1: Waiting 21:10:06 684cea983483: Waiting 21:10:06 dd3240ac7de5: Waiting 21:10:06 a8fd76ee1af6: Waiting 21:10:06 646ad004c059: Waiting 21:10:06 8ed8ca486205: Verifying Checksum 21:10:06 8ed8ca486205: Download complete 21:10:06 666ba61612fd: Download complete 21:10:06 c516ae0d96e1: Verifying Checksum 21:10:06 c516ae0d96e1: Download complete 21:10:06 684cea983483: Verifying Checksum 21:10:06 684cea983483: Download complete 21:10:06 dd3240ac7de5: Download complete 21:10:06 59bf1c3509f3: Verifying Checksum 21:10:06 59bf1c3509f3: Download complete 21:10:06 b1e948a4e11c: Verifying Checksum 21:10:06 b1e948a4e11c: Download complete 21:10:06 59bf1c3509f3: Pull complete 21:10:07 666ba61612fd: Pull complete 21:10:07 8ed8ca486205: Pull complete 21:10:07 646ad004c059: Verifying Checksum 21:10:07 646ad004c059: Download complete 21:10:07 a8fd76ee1af6: Verifying Checksum 21:10:07 a8fd76ee1af6: Download complete 21:10:07 cc1cd167ecdc: Verifying Checksum 21:10:07 cc1cd167ecdc: Download complete 21:10:11 cc1cd167ecdc: Pull complete 21:10:11 c516ae0d96e1: Pull complete 21:10:11 684cea983483: Pull complete 21:10:11 dd3240ac7de5: Pull complete 21:10:11 b1e948a4e11c: Pull complete 21:10:13 a8fd76ee1af6: Pull complete 21:10:14 646ad004c059: Pull complete 21:10:14 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 21:10:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:10:14 ---> 8f69c11f6b0c 21:10:14 Step 3/13 : ARG MAKE="make build" 21:10:15 ---> Running in 04d5a5474d2d 21:10:15 Removing intermediate container 04d5a5474d2d 21:10:15 ---> 444f5c354f38 21:10:15 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:10:15 ---> Running in 5dbabefbf471 21:10:15 Removing intermediate container 5dbabefbf471 21:10:15 ---> c59dfd0aa8ae 21:10:15 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 21:10:15 ---> Running in 48074870da69 21:10:15 Removing intermediate container 48074870da69 21:10:15 ---> 59bde12b082d 21:10:15 Step 6/13 : LABEL Name=edgex-device-onvif-camera 21:10:15 ---> Running in d3215a4da433 21:10:15 Removing intermediate container d3215a4da433 21:10:15 ---> 9f11a34e9a9a 21:10:15 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:10:15 ---> Running in a945227f863f 21:10:16 Removing intermediate container a945227f863f 21:10:16 ---> a2dfc5a1eb1f 21:10:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:10:16 ---> Running in 2ba1c3130f8f 21:10:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:10:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:10:17 OK: 221 MiB in 52 packages 21:10:18 Removing intermediate container 2ba1c3130f8f 21:10:18 ---> 3b2ff0ebc856 21:10:18 Step 9/13 : WORKDIR /device-onvif-camera 21:10:18 ---> Running in 12869fbba10e 21:10:18 Removing intermediate container 12869fbba10e 21:10:18 ---> 50b879668f7c 21:10:18 Step 10/13 : COPY go.mod vendor* ./ 21:10:18 ---> 3952096fcbd3 21:10:18 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:18 ---> Running in b9b1929152e9 21:10:20 Still waiting to schedule task 21:10:20 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15559’ is offline 21:10:33 Removing intermediate container b9b1929152e9 21:10:33 ---> 1bc777fefe2d 21:10:33 Step 12/13 : COPY . . 21:10:33 ---> 20348dd2bad9 21:10:33 Step 13/13 : RUN ${MAKE} 21:10:33 ---> Running in b55c285814a9 21:10:33 noop 21:10:33 Removing intermediate container b55c285814a9 21:10:33 ---> 03f73cff5d4c 21:10:33 Successfully built 03f73cff5d4c 21:10:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:33 + docker inspect -f . ci-base-image-x86_64 21:10:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:33 prd-ubuntu20.04-docker-8c-8g-15561 does not seem to be running inside a container 21:10:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:10:34 $ docker top 81f3ffe54dbe8417db61874234c1ee8cad46b4e1bd567f340b3c90831115942a -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:34 + go version 21:10:34 go version go1.17.7 linux/amd64 [Pipeline] } 21:10:34 $ docker stop --time=1 81f3ffe54dbe8417db61874234c1ee8cad46b4e1bd567f340b3c90831115942a 21:10:35 $ docker rm -f 81f3ffe54dbe8417db61874234c1ee8cad46b4e1bd567f340b3c90831115942a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:36 + docker inspect -f . ci-base-image-x86_64 21:10:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:36 prd-ubuntu20.04-docker-8c-8g-15561 does not seem to be running inside a container 21:10:36 $ 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 21:10:36 $ docker top aa6e9aada6eb93e7c37bb5ef593277ddd766a479d4b8b037d104cccd407ca4b7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:10:37 + make test 21:10:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:10:37 # github.com/edgexfoundry/device-onvif-camera/internal/driver 21:10:37 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 21:10:37 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 21:10:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:10:47 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:10:50 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.977s coverage: 13.8% of statements 21:10:50 FAIL 21:10:50 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 21:10:50 $ docker stop --time=1 aa6e9aada6eb93e7c37bb5ef593277ddd766a479d4b8b037d104cccd407ca4b7 21:10:52 $ docker rm -f aa6e9aada6eb93e7c37bb5ef593277ddd766a479d4b8b037d104cccd407ca4b7 [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 21:10:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:53 21:10:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:53 latest: Pulling from edgex-lftools-log-publisher 21:10:53 5eb5b503b376: Pulling fs layer 21:10:53 5c69ac0246d0: Pulling fs layer 21:10:53 ec43610c2a17: Pulling fs layer 21:10:53 3a2ae6a8a46f: Pulling fs layer 21:10:53 33b1e0a273af: Pulling fs layer 21:10:53 5d3b04190fa2: Pulling fs layer 21:10:53 2f39f015ded8: Pulling fs layer 21:10:53 3a2ae6a8a46f: Waiting 21:10:53 2f39f015ded8: Waiting 21:10:53 33b1e0a273af: Waiting 21:10:53 5d3b04190fa2: Waiting 21:10:53 5c69ac0246d0: Download complete 21:10:53 3a2ae6a8a46f: Verifying Checksum 21:10:53 3a2ae6a8a46f: Download complete 21:10:53 33b1e0a273af: Verifying Checksum 21:10:53 33b1e0a273af: Download complete 21:10:53 ec43610c2a17: Verifying Checksum 21:10:53 ec43610c2a17: Download complete 21:10:53 5d3b04190fa2: Verifying Checksum 21:10:53 5d3b04190fa2: Download complete 21:10:53 5eb5b503b376: Verifying Checksum 21:10:53 5eb5b503b376: Download complete 21:10:54 2f39f015ded8: Download complete 21:10:54 5eb5b503b376: Pull complete 21:10:55 5c69ac0246d0: Pull complete 21:10:55 ec43610c2a17: Pull complete 21:10:55 3a2ae6a8a46f: Pull complete 21:10:55 33b1e0a273af: Pull complete 21:10:55 5d3b04190fa2: Pull complete 21:11:00 2f39f015ded8: Pull complete 21:11:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:11:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:11:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:00 prd-ubuntu20.04-docker-8c-8g-15561 does not seem to be running inside a container 21:11:00 $ 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 21:11:01 $ docker top bc7d82a06b531fe663f86960c46fe464bcfdc1e2997e1744d026a9fc59d22fda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:02 ---> job-cost.sh 21:11:02 lf-activate-venv: SKIPPING 21:11:02 INFO: No Stack... 21:11:02 INFO: Retrieving Pricing Info for: v3-standard-8 21:11:02 INFO: Archiving Costs [Pipeline] sh 21:11:03 + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv 21:11:03 + cut -d, -f6 [Pipeline] lock 21:11:03 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-12-stack-cost] 21:11:03 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-12-stack-cost] did not exist. Created. 21:11:03 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:11:03 + echo total: 0.2199999988079071 [Pipeline] stash 21:11:03 Stashed 1 file(s) [Pipeline] } 21:11:03 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-12-stack-cost] [Pipeline] // lock [Pipeline] } 21:11:03 $ docker stop --time=1 bc7d82a06b531fe663f86960c46fe464bcfdc1e2997e1744d026a9fc59d22fda 21:11:04 $ docker rm -f bc7d82a06b531fe663f86960c46fe464bcfdc1e2997e1744d026a9fc59d22fda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:11:04 Failed in branch amd64 21:11:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15562 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws 21:11:55 Running in /w/workspace/device-onvif-camera/12 [Pipeline] { [Pipeline] checkout 21:11:55 Selected Git installation does not exist. Using Default 21:11:55 The recommended git tool is: NONE 21:12:01 using credential edgex-jenkins-ssh 21:12:01 Cloning the remote Git repository 21:12:02 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:12:02 > git init /w/workspace/device-onvif-camera/12 # timeout=10 21:12:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:12:02 > git --version # timeout=10 21:12:02 > git --version # 'git version 2.25.1' 21:12:02 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:12:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:12:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:12:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:12:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:12:03 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:03 > 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 21:12:03 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 46e8dd8787967f770da2bb4f46e677477c261221 21:12:04 Merge succeeded, producing 16ab54abe7bff73a40740f858a070dcccd827bfc 21:12:04 Checking out Revision 16ab54abe7bff73a40740f858a070dcccd827bfc (PR-90) 21:12:03 > git config core.sparsecheckout # timeout=10 21:12:03 > git checkout -f 46e8dd8787967f770da2bb4f46e677477c261221 # timeout=10 21:12:03 > git remote # timeout=10 21:12:03 > git config --get remote.origin.url # timeout=10 21:12:03 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:03 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 21:12:04 > git rev-parse HEAD^{commit} # timeout=10 21:12:04 > git config core.sparsecheckout # timeout=10 21:12:04 > git checkout -f 16ab54abe7bff73a40740f858a070dcccd827bfc # timeout=10 21:12:08 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" 21:12:08 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:08 > git rev-list --no-walk 16d5b5e35c95230f9af2c266bb10ad10ad1cd932 # timeout=10 21:12:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:12:09 % Total % Received % Xferd Average Speed Time Time Time Current 21:12:09 Dload Upload Total Spent Left Speed 21:12:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 21:12:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:12:10 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:12:10 sudo tee /etc/docker/daemon.new 21:12:10 { 21:12:10 "registry-mirrors": [ 21:12:10 "https://nexus3.edgexfoundry.org:10001" 21:12:10 ], 21:12:10 "bip": "10.250.0.254/24", 21:12:10 "hosts": [ 21:12:10 "tcp://0.0.0.0:5555", 21:12:10 "unix:///var/run/docker.sock" 21:12:10 ], 21:12:10 "mtu": 1458, 21:12:10 "selinux-enabled": true, 21:12:10 "seccomp-profile": "/etc/docker/seccomp.json" 21:12:10 } [Pipeline] sh 21:12:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:12:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:29 provisioning config files... 21:12:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/12@tmp/config4446944458033797258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:29 ---> docker-login.sh 21:12:29 nexus3.edgexfoundry.org:10001 21:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:30 Configure a credential helper to remove this warning. See 21:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:30 21:12:30 Login Succeeded 21:12:30 nexus3.edgexfoundry.org:10002 21:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:31 Configure a credential helper to remove this warning. See 21:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:31 21:12:31 Login Succeeded 21:12:31 nexus3.edgexfoundry.org:10003 21:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:31 Configure a credential helper to remove this warning. See 21:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:31 21:12:31 Login Succeeded 21:12:31 nexus3.edgexfoundry.org:10004 21:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:32 Configure a credential helper to remove this warning. See 21:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:32 21:12:32 Login Succeeded 21:12:32 docker.io 21:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:33 Configure a credential helper to remove this warning. See 21:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:33 21:12:33 Login Succeeded 21:12:33 ---> docker-login.sh ends [Pipeline] } 21:12:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:12:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:33 ========================================================= 21:12:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:12:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:34 + 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 . 21:12:34 Sending build context to Docker daemon 6.051MB 21:12:34 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 21:12:34 Step 2/13 : FROM ${BASE} AS builder 21:12:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:12:34 9b3977197b4f: Pulling fs layer 21:12:34 1a89e8eeedd5: Pulling fs layer 21:12:34 94645a83ff95: Pulling fs layer 21:12:34 e6fb740bc735: Pulling fs layer 21:12:34 3a77bd46dcc9: Pulling fs layer 21:12:34 355e64cbe906: Pulling fs layer 21:12:34 63ab81a10011: Pulling fs layer 21:12:34 555d1d1c4555: Pulling fs layer 21:12:34 7d9057610161: Pulling fs layer 21:12:34 e6fb740bc735: Waiting 21:12:34 3a77bd46dcc9: Waiting 21:12:34 355e64cbe906: Waiting 21:12:34 63ab81a10011: Waiting 21:12:34 555d1d1c4555: Waiting 21:12:34 7d9057610161: Waiting 21:12:34 94645a83ff95: Download complete 21:12:34 1a89e8eeedd5: Verifying Checksum 21:12:34 1a89e8eeedd5: Download complete 21:12:34 3a77bd46dcc9: Download complete 21:12:34 355e64cbe906: Verifying Checksum 21:12:34 355e64cbe906: Download complete 21:12:34 9b3977197b4f: Verifying Checksum 21:12:34 9b3977197b4f: Download complete 21:12:34 63ab81a10011: Verifying Checksum 21:12:34 63ab81a10011: Download complete 21:12:35 9b3977197b4f: Pull complete 21:12:35 7d9057610161: Verifying Checksum 21:12:35 7d9057610161: Download complete 21:12:36 1a89e8eeedd5: Pull complete 21:12:36 94645a83ff95: Pull complete 21:12:36 555d1d1c4555: Verifying Checksum 21:12:36 555d1d1c4555: Download complete 21:12:37 e6fb740bc735: Verifying Checksum 21:12:37 e6fb740bc735: Download complete 21:12:49 e6fb740bc735: Pull complete 21:12:49 3a77bd46dcc9: Pull complete 21:12:49 355e64cbe906: Pull complete 21:12:50 63ab81a10011: Pull complete 21:12:56 555d1d1c4555: Pull complete 21:12:58 7d9057610161: Pull complete 21:12:58 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 21:12:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:12:58 ---> 819e984ddca1 21:12:58 Step 3/13 : ARG MAKE="make build" 21:13:00 ---> Running in 0a63f18ce2bd 21:13:00 Removing intermediate container 0a63f18ce2bd 21:13:00 ---> ae9e7790c9cc 21:13:00 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:13:00 ---> Running in b839effcdb69 21:13:00 Removing intermediate container b839effcdb69 21:13:00 ---> 2b83d4b1711c 21:13:00 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 21:13:00 ---> Running in d04911b05281 21:13:01 Removing intermediate container d04911b05281 21:13:01 ---> 68650c36a1d7 21:13:01 Step 6/13 : LABEL Name=edgex-device-onvif-camera 21:13:01 ---> Running in aad83bdd71a5 21:13:01 Removing intermediate container aad83bdd71a5 21:13:01 ---> c3c7cd188225 21:13:01 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:13:01 ---> Running in 596e65a24bc5 21:13:03 Removing intermediate container 596e65a24bc5 21:13:03 ---> 5981d8751d71 21:13:03 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:03 ---> Running in 5b1036a28821 21:13:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:13:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:13:07 OK: 220 MiB in 52 packages 21:13:07 Removing intermediate container 5b1036a28821 21:13:07 ---> df4b214c31d7 21:13:07 Step 9/13 : WORKDIR /device-onvif-camera 21:13:07 ---> Running in b4b97d037b6b 21:13:07 Removing intermediate container b4b97d037b6b 21:13:07 ---> a4bfb33fe2bf 21:13:07 Step 10/13 : COPY go.mod vendor* ./ 21:13:08 ---> c76d66894847 21:13:08 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:08 ---> Running in a894884ab006 21:13:55 Removing intermediate container a894884ab006 21:13:55 ---> b2192952afe3 21:13:55 Step 12/13 : COPY . . 21:13:55 ---> a0198477484c 21:13:55 Step 13/13 : RUN ${MAKE} 21:13:55 ---> Running in 88a098486f9c 21:13:55 noop 21:13:56 Removing intermediate container 88a098486f9c 21:13:56 ---> 485c7bfbef05 21:13:56 Successfully built 485c7bfbef05 21:13:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:56 + docker inspect -f . ci-base-image-arm64 21:13:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:57 prd-ubuntu20.04-docker-arm64-4c-16g-15562 does not seem to be running inside a container 21:13:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@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 21:13:58 $ docker top 707d7b88d9416cd199bc064a30fd8bec57f42added0dc5f3163d0684009d363d -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:59 + go version 21:13:59 go version go1.17.7 linux/arm64 [Pipeline] } 21:13:59 $ docker stop --time=1 707d7b88d9416cd199bc064a30fd8bec57f42added0dc5f3163d0684009d363d 21:14:00 $ docker rm -f 707d7b88d9416cd199bc064a30fd8bec57f42added0dc5f3163d0684009d363d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:01 + docker inspect -f . ci-base-image-arm64 21:14:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:01 prd-ubuntu20.04-docker-arm64-4c-16g-15562 does not seem to be running inside a container 21:14:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@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 21:14:03 $ docker top f9ba782019aa709e563d14feb1e769c440a8dd15d1d94fa695a989dd741ad215 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:14:04 + make test 21:14:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:14:05 # github.com/edgexfoundry/device-onvif-camera/internal/driver 21:14:05 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 21:14:05 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 21:14:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:15:27 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:15:49 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.981s coverage: 13.8% of statements 21:15:49 FAIL 21:15:49 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 21:15:49 $ docker stop --time=1 f9ba782019aa709e563d14feb1e769c440a8dd15d1d94fa695a989dd741ad215 21:15:51 $ docker rm -f f9ba782019aa709e563d14feb1e769c440a8dd15d1d94fa695a989dd741ad215 [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 21:15:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:52 21:15:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:53 arm64: Pulling from edgex-lftools-log-publisher 21:15:53 8998bd30e6a1: Pulling fs layer 21:15:53 04944245beec: Pulling fs layer 21:15:53 699f458cf7ca: Pulling fs layer 21:15:53 765212b225bb: Pulling fs layer 21:15:53 f23df028b6ca: Pulling fs layer 21:15:53 d65c8cfc05b1: Pulling fs layer 21:15:53 2437ff75d9bd: Pulling fs layer 21:15:53 f23df028b6ca: Waiting 21:15:53 d65c8cfc05b1: Waiting 21:15:53 2437ff75d9bd: Waiting 21:15:53 765212b225bb: Waiting 21:15:53 04944245beec: Verifying Checksum 21:15:53 04944245beec: Download complete 21:15:53 765212b225bb: Verifying Checksum 21:15:53 765212b225bb: Download complete 21:15:53 f23df028b6ca: Verifying Checksum 21:15:53 f23df028b6ca: Download complete 21:15:53 d65c8cfc05b1: Verifying Checksum 21:15:53 d65c8cfc05b1: Download complete 21:15:53 699f458cf7ca: Verifying Checksum 21:15:53 699f458cf7ca: Download complete 21:15:53 8998bd30e6a1: Verifying Checksum 21:15:53 8998bd30e6a1: Download complete 21:15:56 2437ff75d9bd: Verifying Checksum 21:15:56 2437ff75d9bd: Download complete 21:15:57 8998bd30e6a1: Pull complete 21:15:58 04944245beec: Pull complete 21:15:59 699f458cf7ca: Pull complete 21:16:00 765212b225bb: Pull complete 21:16:00 f23df028b6ca: Pull complete 21:16:01 d65c8cfc05b1: Pull complete 21:16:16 2437ff75d9bd: Pull complete 21:16:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:16:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:16 prd-ubuntu20.04-docker-arm64-4c-16g-15562 does not seem to be running inside a container 21:16:16 $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@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 21:16:19 $ docker top 86c013352f03ea91d78221220a99aeb004c3cc932035b49c00946ae119500252 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:20 ---> job-cost.sh 21:16:20 lf-activate-venv: SKIPPING 21:16:20 INFO: No Stack... 21:16:20 INFO: Retrieving Pricing Info for: v3-standard-4 21:16:21 INFO: Archiving Costs [Pipeline] sh 21:16:22 + cat /w/workspace/device-onvif-camera/12/archives/cost.csv 21:16:22 + cut -d, -f6 [Pipeline] lock 21:16:22 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-12-stack-cost] 21:16:22 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-12-stack-cost] did not exist. Created. 21:16:22 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:16:23 /w/workspace/device-onvif-camera/12@tmp/durable-772a8ce4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:16:23 + echo total: 0.10999999940395355 [Pipeline] stash 21:16:23 Warning: overwriting stash ‘stack-cost’ 21:16:24 Stashed 1 file(s) [Pipeline] } 21:16:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-12-stack-cost] [Pipeline] // lock [Pipeline] } 21:16:24 $ docker stop --time=1 86c013352f03ea91d78221220a99aeb004c3cc932035b49c00946ae119500252 21:16:25 $ docker rm -f 86c013352f03ea91d78221220a99aeb004c3cc932035b49c00946ae119500252 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:16:26 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 21:16:26 + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] 21:16:26 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 21:16:26 total 16 21:16:26 drwxr-xr-x 3 root root 4096 Jun 24 21:11 . 21:16:26 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 21:11 .. 21:16:26 drwxr-xr-x 2 root root 4096 Jun 24 21:11 cost 21:16:26 -rw-r--r-- 1 root root 90 Jun 24 21:11 cost.csv 21:16:26 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives 21:16:26 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 21:16:26 total 16 21:16:26 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 21:11 . 21:16:26 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 21:11 .. 21:16:26 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 21:11 cost 21:16:26 -rw-r--r-- 1 jenkins jenkins 90 Jun 24 21:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:16:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:16:27 ---> package-listing.sh 21:16:27 ++ facter osfamily 21:16:27 ++ tr '[:upper:]' '[:lower:]' 21:16:28 + OS_FAMILY=debian 21:16:28 + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 21:16:28 + START_PACKAGES=/tmp/packages_start.txt 21:16:28 + END_PACKAGES=/tmp/packages_end.txt 21:16:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:16:28 + PACKAGES=/tmp/packages_start.txt 21:16:28 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 21:16:28 + PACKAGES=/tmp/packages_end.txt 21:16:28 + case "${OS_FAMILY}" in 21:16:28 + dpkg -l 21:16:28 + grep '^ii' 21:16:28 + '[' -f /tmp/packages_start.txt ']' 21:16:28 + '[' -f /tmp/packages_end.txt ']' 21:16:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:16:28 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 21:16:28 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ 21:16:28 + 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 21:16:28 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 21:16:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:16:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:29 prd-ubuntu20.04-docker-8c-8g-15561 does not seem to be running inside a container 21:16:29 $ 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 21:16:29 $ docker top c0f071d2401401d2efc45dd46c5e96caa19abfcfab7be76dbb07e668bff78e33 -eo pid,comm [Pipeline] { [Pipeline] sh 21:16:29 + touch /tmp/pre-build-complete [Pipeline] sh 21:16:30 + mkdir -p /var/log/sysstat [Pipeline] sh 21:16:30 + ls /var/log/sa-host 21:16:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:30 provisioning config files... 21:16:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config4304795417035618718tmp [Pipeline] { [Pipeline] echo 21:16:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:16:30 ---> create-netrc.sh [Pipeline] } 21:16:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:16:31 ---> python-tools-install.sh [Pipeline] echo 21:16:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:16:31 ---> sudo-logs.sh 21:16:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:16:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:16:31 ---> job-cost.sh 21:16:31 lf-activate-venv: SKIPPING 21:16:31 DEBUG: total: 0.2199999988079071 21:16:31 INFO: Retrieving Stack Cost... 21:16:32 INFO: Retrieving Pricing Info for: v3-standard-8 21:16:32 INFO: Archiving Costs [Pipeline] echo 21:16:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:16:32 ---> logs-deploy.sh 21:16:32 lf-activate-venv: SKIPPING 21:16:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/12 21:16:32 INFO: archiving workspace using pattern(s): 21:16:33 Archives upload complete. 21:16:33 INFO: archiving logs to Nexus