Pull request #87 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 ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8374ad439d5c8571ae7424cc77de71a785d5a0ca rather than a428defd52b1b8724eaf95998065aac069fa396b 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-ssh18044377935395602360.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-ssh12064650751819484739.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-87/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-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14553200374094679947.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-ssh10769278374233060627.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-87/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-87/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17304162310625714670.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15883 in /w/workspace/oundry_device-onvif-camera_PR-87 [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-87 # 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 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit a428defd52b1b8724eaf95998065aac069fa396b Merge succeeded, producing 05ffbca008f43dda89454d70145f5e90ad394324 Checking out Revision 05ffbca008f43dda89454d70145f5e90ad394324 (PR-87) 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/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a428defd52b1b8724eaf95998065aac069fa396b # 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 05ffbca008f43dda89454d70145f5e90ad394324 # 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 02:23:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:23:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:23:56 ========================================================= 02:23:56 EdgeX Global Pipelines Version Info 02:23:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2544a4637863af08b37a4a0cd6e8ae962e47b284 # timeout=10 02:23:57 ------------------- 02:23:57 stable info: 02:23:57 ------------------- 02:23:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:23:57 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 02:23:57 Message: update stable to v1.0.234 02:23:58 ------------------- 02:23:58 experimental info: 02:23:58 ------------------- 02:23:58 Commited By: **** collab-it+edgex@linuxfoundation.org 02:23:58 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 02:23:58 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05ffbca008f43dda89454d70145f5e90ad394324 [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05ffbca [Pipeline] echo 02:23:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:23:58 provisioning config files... 02:23:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config523510973753016060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:23:59 ---> docker-login.sh 02:23:59 nexus3.edgexfoundry.org:10001 02:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:59 Configure a credential helper to remove this warning. See 02:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:59 02:23:59 Login Succeeded 02:23:59 nexus3.edgexfoundry.org:10002 02:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:59 Configure a credential helper to remove this warning. See 02:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:59 02:23:59 Login Succeeded 02:23:59 nexus3.edgexfoundry.org:10003 02:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:59 Configure a credential helper to remove this warning. See 02:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:59 02:23:59 Login Succeeded 02:23:59 nexus3.edgexfoundry.org:10004 02:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:59 Configure a credential helper to remove this warning. See 02:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:59 02:23:59 Login Succeeded 02:23:59 docker.io 02:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:00 Configure a credential helper to remove this warning. See 02:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:00 02:24:00 Login Succeeded 02:24:00 ---> docker-login.sh ends [Pipeline] } 02:24:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:24:00 + git rev-list -1 --merges 05ffbca008f43dda89454d70145f5e90ad394324~1..05ffbca008f43dda89454d70145f5e90ad394324 [Pipeline] echo 02:24:00 -----------> git rev-list -1 --merges 05ffbca008f43dda89454d70145f5e90ad394324~1..05ffbca008f43dda89454d70145f5e90ad394324 05ffbca008f43dda89454d70145f5e90ad394324 02:24:00 05ffbca008f43dda89454d70145f5e90ad394324 [false] [Pipeline] sh 02:24:01 + git log --format=format:%s -1 05ffbca008f43dda89454d70145f5e90ad394324 [Pipeline] echo 02:24:01 ========================================================= 02:24:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:24:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:24:01 + git log --format=format:%s -1 05ffbca008f43dda89454d70145f5e90ad394324 [Pipeline] echo 02:24:01 [semverPrep] GIT_COMMIT: 05ffbca008f43dda89454d70145f5e90ad394324, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo 02:24:01 [semverPrep] This is not a build commit. [Pipeline] sh 02:24:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:24:02 + grep -v github /etc/ssh/ssh_known_hosts 02:24:02 + [ -e /tmp/ssh_known_hosts ] 02:24:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:24:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:24:02 + sudo tee -a /etc/ssh/ssh_known_hosts 02:24:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:24:02 02:24:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:24:02 0.1.4: Pulling from edgex-devops/py-git-semver 02:24:02 42c077c10790: Pulling fs layer 02:24:02 f63e77b7563a: Pulling fs layer 02:24:02 bd5fdadae976: Pulling fs layer 02:24:02 205491f53016: Pulling fs layer 02:24:02 df18705c85c3: Pulling fs layer 02:24:02 bdb3f477010e: Pulling fs layer 02:24:02 c8a8fc8e1c8f: Pulling fs layer 02:24:02 2c6e9b1d212d: Pulling fs layer 02:24:02 bdb8f0575790: Pulling fs layer 02:24:02 386e3cb2ff24: Pulling fs layer 02:24:02 2343380bae48: Pulling fs layer 02:24:02 205491f53016: Waiting 02:24:02 df18705c85c3: Waiting 02:24:02 bdb3f477010e: Waiting 02:24:02 c8a8fc8e1c8f: Waiting 02:24:02 2c6e9b1d212d: Waiting 02:24:02 386e3cb2ff24: Waiting 02:24:02 bdb8f0575790: Waiting 02:24:02 2343380bae48: Waiting 02:24:02 f63e77b7563a: Download complete 02:24:02 205491f53016: Verifying Checksum 02:24:02 205491f53016: Download complete 02:24:03 df18705c85c3: Verifying Checksum 02:24:03 df18705c85c3: Download complete 02:24:03 bdb3f477010e: Verifying Checksum 02:24:03 bdb3f477010e: Download complete 02:24:03 bd5fdadae976: Verifying Checksum 02:24:03 bd5fdadae976: Download complete 02:24:03 2c6e9b1d212d: Verifying Checksum 02:24:03 2c6e9b1d212d: Download complete 02:24:03 bdb8f0575790: Verifying Checksum 02:24:03 bdb8f0575790: Download complete 02:24:03 386e3cb2ff24: Verifying Checksum 02:24:03 386e3cb2ff24: Download complete 02:24:03 2343380bae48: Verifying Checksum 02:24:03 2343380bae48: Download complete 02:24:03 42c077c10790: Verifying Checksum 02:24:03 42c077c10790: Download complete 02:24:03 c8a8fc8e1c8f: Download complete 02:24:04 42c077c10790: Pull complete 02:24:04 f63e77b7563a: Pull complete 02:24:05 bd5fdadae976: Pull complete 02:24:05 205491f53016: Pull complete 02:24:05 df18705c85c3: Pull complete 02:24:05 bdb3f477010e: Pull complete 02:24:07 c8a8fc8e1c8f: Pull complete 02:24:07 2c6e9b1d212d: Pull complete 02:24:07 bdb8f0575790: Pull complete 02:24:07 386e3cb2ff24: Pull complete 02:24:07 2343380bae48: Pull complete 02:24:07 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 02:24:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:24:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:24:08 prd-ubuntu20.04-docker-8c-8g-15883 does not seem to be running inside a container 02:24:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:24:09 $ docker top 71ead00d8309ff1e69c9bebbdbf668957581bdf6b882e86db408b63002ae60f0 -eo pid,comm 02:24:09 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). 02:24:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:24:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:24:09 [ssh-agent] Looking for ssh-agent implementation... 02:24:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:24:09 $ docker exec 71ead00d8309ff1e69c9bebbdbf668957581bdf6b882e86db408b63002ae60f0 ssh-agent 02:24:09 SSH_AUTH_SOCK=/tmp/ssh-zjTOHzF3LXOZ/agent.33 02:24:09 SSH_AGENT_PID=40 02:24:09 Running ssh-add (command line suppressed) 02:24:10 Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_1696633702516431014.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_1696633702516431014.key) 02:24:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:24:10 + git tag --points-at HEAD [Pipeline] } 02:24:10 $ docker exec --env ******** --env ******** 71ead00d8309ff1e69c9bebbdbf668957581bdf6b882e86db408b63002ae60f0 ssh-agent -k 02:24:10 unset SSH_AUTH_SOCK; 02:24:10 unset SSH_AGENT_PID; 02:24:10 echo Agent pid 40 killed; 02:24:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:24:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:24:10 [ssh-agent] Looking for ssh-agent implementation... 02:24:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:24:10 $ docker exec 71ead00d8309ff1e69c9bebbdbf668957581bdf6b882e86db408b63002ae60f0 ssh-agent 02:24:10 SSH_AUTH_SOCK=/tmp/ssh-NQ27SRQZltnl/agent.73 02:24:10 SSH_AGENT_PID=79 02:24:10 Running ssh-add (command line suppressed) 02:24:10 Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_14279504897874942.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_14279504897874942.key) 02:24:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:24:11 + git semver init 02:24:11 2022-06-27 02:24:11,441 [run_init] DEBUG init version:0.0.0 force:False 02:24:11 2022-06-27 02:24:11,441 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-87/.semver 02:24:11 2022-06-27 02:24:11,442 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-87/.semver 02:24:11 2022-06-27 02:24:11,442 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-87/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87, universal_newlines=False, shell=None, istream=None) 02:24:12 2022-06-27 02:24:12,142 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-87/.git/info/exclude 02:24:12 2022-06-27 02:24:12,143 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 with force:False 02:24:12 2022-06-27 02:24:12,143 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 02:24:12 2022-06-27 02:24:12,148 [execute] INFO git cat-file --batch-check 02:24:12 2022-06-27 02:24:12,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) 02:24:12 2022-06-27 02:24:12,156 [execute] INFO git cat-file --batch 02:24:12 2022-06-27 02:24:12,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) 02:24:12 2022-06-27 02:24:12,162 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 02:24:12 0.0.0 [Pipeline] } 02:24:12 $ docker exec --env ******** --env ******** 71ead00d8309ff1e69c9bebbdbf668957581bdf6b882e86db408b63002ae60f0 ssh-agent -k 02:24:12 unset SSH_AUTH_SOCK; 02:24:12 unset SSH_AGENT_PID; 02:24:12 echo Agent pid 79 killed; 02:24:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:24:12 + git semver [Pipeline] } 02:24:13 $ docker stop --time=1 71ead00d8309ff1e69c9bebbdbf668957581bdf6b882e86db408b63002ae60f0 02:24:14 $ docker rm -f 71ead00d8309ff1e69c9bebbdbf668957581bdf6b882e86db408b63002ae60f0 [Pipeline] // withDockerContainer [Pipeline] sh 02:24:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:24:15 Stashed 1 file(s) [Pipeline] echo 02:24:15 [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 02:24:15 provisioning config files... 02:24:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config1308734087553914131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:24:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15828 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] ws 02:24:15 Running in /w/workspace/device-onvif-camera/11 [Pipeline] { [Pipeline] checkout 02:24:15 ---> docker-login.sh 02:24:15 nexus3.edgexfoundry.org:10001 02:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:15 Configure a credential helper to remove this warning. See 02:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:15 02:24:15 Login Succeeded 02:24:15 nexus3.edgexfoundry.org:10002 02:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:15 Selected Git installation does not exist. Using Default 02:24:15 The recommended git tool is: NONE 02:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:15 Configure a credential helper to remove this warning. See 02:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:15 02:24:15 Login Succeeded 02:24:15 nexus3.edgexfoundry.org:10003 02:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:15 Configure a credential helper to remove this warning. See 02:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:15 02:24:15 Login Succeeded 02:24:15 nexus3.edgexfoundry.org:10004 02:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:16 Configure a credential helper to remove this warning. See 02:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:16 02:24:16 Login Succeeded 02:24:16 docker.io 02:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:16 Configure a credential helper to remove this warning. See 02:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:16 02:24:16 Login Succeeded 02:24:16 ---> docker-login.sh ends [Pipeline] } 02:24:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:24:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:24:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:24:16 ========================================================= 02:24:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:24:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:17 + 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 . 02:24:17 Sending build context to Docker daemon 8.845MB 02:24:17 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 02:24:17 Step 2/13 : FROM ${BASE} AS builder 02:24:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:24:17 59bf1c3509f3: Pulling fs layer 02:24:17 666ba61612fd: Pulling fs layer 02:24:17 8ed8ca486205: Pulling fs layer 02:24:17 cc1cd167ecdc: Pulling fs layer 02:24:17 c516ae0d96e1: Pulling fs layer 02:24:17 684cea983483: Pulling fs layer 02:24:17 dd3240ac7de5: Pulling fs layer 02:24:17 b1e948a4e11c: Pulling fs layer 02:24:17 a8fd76ee1af6: Pulling fs layer 02:24:17 646ad004c059: Pulling fs layer 02:24:17 cc1cd167ecdc: Waiting 02:24:17 c516ae0d96e1: Waiting 02:24:17 dd3240ac7de5: Waiting 02:24:17 a8fd76ee1af6: Waiting 02:24:17 646ad004c059: Waiting 02:24:17 b1e948a4e11c: Waiting 02:24:17 8ed8ca486205: Verifying Checksum 02:24:17 8ed8ca486205: Download complete 02:24:17 666ba61612fd: Download complete 02:24:17 c516ae0d96e1: Download complete 02:24:17 684cea983483: Verifying Checksum 02:24:17 684cea983483: Download complete 02:24:17 59bf1c3509f3: Verifying Checksum 02:24:17 59bf1c3509f3: Download complete 02:24:17 dd3240ac7de5: Verifying Checksum 02:24:17 dd3240ac7de5: Download complete 02:24:17 b1e948a4e11c: Verifying Checksum 02:24:17 b1e948a4e11c: Download complete 02:24:17 59bf1c3509f3: Pull complete 02:24:17 666ba61612fd: Pull complete 02:24:17 8ed8ca486205: Pull complete 02:24:17 646ad004c059: Verifying Checksum 02:24:17 646ad004c059: Download complete 02:24:17 a8fd76ee1af6: Verifying Checksum 02:24:17 a8fd76ee1af6: Download complete 02:24:18 cc1cd167ecdc: Verifying Checksum 02:24:18 cc1cd167ecdc: Download complete 02:24:20 using credential edgex-jenkins-ssh 02:24:20 Cloning the remote Git repository 02:24:20 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:24:20 > git init /w/workspace/device-onvif-camera/11 # timeout=10 02:24:20 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:24:20 > git --version # timeout=10 02:24:20 > git --version # 'git version 2.25.1' 02:24:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:24:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:24:21 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:24:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:24:21 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:24:21 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:24:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:24:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:24:21 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit a428defd52b1b8724eaf95998065aac069fa396b 02:24:22 Merge succeeded, producing 1114b7cdae2e2fa6194224d253d7ff7e54e24b3c 02:24:22 Checking out Revision 1114b7cdae2e2fa6194224d253d7ff7e54e24b3c (PR-87) 02:24:22 cc1cd167ecdc: Pull complete 02:24:22 c516ae0d96e1: Pull complete 02:24:22 684cea983483: Pull complete 02:24:22 dd3240ac7de5: Pull complete 02:24:22 b1e948a4e11c: Pull complete 02:24:21 > git config core.sparsecheckout # timeout=10 02:24:21 > git checkout -f a428defd52b1b8724eaf95998065aac069fa396b # timeout=10 02:24:22 > git remote # timeout=10 02:24:22 > git config --get remote.origin.url # timeout=10 02:24:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:24:22 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 02:24:22 > git rev-parse HEAD^{commit} # timeout=10 02:24:22 > git config core.sparsecheckout # timeout=10 02:24:22 > git checkout -f 1114b7cdae2e2fa6194224d253d7ff7e54e24b3c # timeout=10 02:24:24 a8fd76ee1af6: Pull complete 02:24:25 646ad004c059: Pull complete 02:24:25 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 02:24:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:24:25 ---> 8f69c11f6b0c 02:24:25 Step 3/13 : ARG MAKE="make build" 02:24:26 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" 02:24:26 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:24:26 > git rev-list --no-walk 2544a4637863af08b37a4a0cd6e8ae962e47b284 # timeout=10 02:24:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:24:27 % Total % Received % Xferd Average Speed Time Time Time Current 02:24:27 Dload Upload Total Spent Left Speed 02:24:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k 02:24:27 ---> Running in c4277a255a30 02:24:27 Removing intermediate container c4277a255a30 02:24:27 ---> 4321d80b9218 02:24:27 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:24:27 ---> Running in 868f128fa089 02:24:27 Removing intermediate container 868f128fa089 02:24:27 ---> 7ac90ef02c60 02:24:27 Step 5/13 : ARG ALPINE_PKG_EXTRA="" [Pipeline] sh 02:24:27 ---> Running in 73ba3e425869 02:24:27 Removing intermediate container 73ba3e425869 02:24:27 ---> 18d6eed89c21 02:24:27 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:24:27 ---> Running in 816a19bfa0f1 02:24:27 Removing intermediate container 816a19bfa0f1 02:24:27 ---> 3a536da2217c 02:24:27 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:24:27 ---> Running in 2ca32c466986 02:24:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:24:28 + + sudo tee /etc/docker/daemon.newsudo 02:24:28 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:24:28 { 02:24:28 "registry-mirrors": [ 02:24:28 "https://nexus3.edgexfoundry.org:10001" 02:24:28 ], 02:24:28 "bip": "10.250.0.254/24", 02:24:28 "hosts": [ 02:24:28 "tcp://0.0.0.0:5555", 02:24:28 "unix:///var/run/docker.sock" 02:24:28 ], 02:24:28 "mtu": 1458, 02:24:28 "selinux-enabled": true, 02:24:28 "seccomp-profile": "/etc/docker/seccomp.json" 02:24:28 } [Pipeline] sh 02:24:28 Removing intermediate container 2ca32c466986 02:24:28 ---> ce0309a5e1b6 02:24:28 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:24:28 ---> Running in 3641bb493e3c 02:24:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:24:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:24:29 + sudo service docker restart 02:24:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:24:29 OK: 221 MiB in 52 packages 02:24:30 Removing intermediate container 3641bb493e3c 02:24:30 ---> 151820cac047 02:24:30 Step 9/13 : WORKDIR /device-onvif-camera 02:24:30 ---> Running in 81a8a5e2e6a3 02:24:30 Removing intermediate container 81a8a5e2e6a3 02:24:30 ---> afebc9730159 02:24:30 Step 10/13 : COPY go.mod vendor* ./ 02:24:30 ---> aa3f9be008eb 02:24:30 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:24:30 ---> Running in 1b3fdb39f09d [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:24:47 provisioning config files... 02:24:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/11@tmp/config4474863417979416982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:24:47 ---> docker-login.sh 02:24:47 nexus3.edgexfoundry.org:10001 02:24:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:48 Configure a credential helper to remove this warning. See 02:24:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:48 02:24:48 Login Succeeded 02:24:48 nexus3.edgexfoundry.org:10002 02:24:48 Removing intermediate container 1b3fdb39f09d 02:24:48 ---> 4bb580d2cd32 02:24:48 Step 12/13 : COPY . . 02:24:48 ---> d2e95e11b224 02:24:48 Step 13/13 : RUN ${MAKE} 02:24:48 ---> Running in 294c498435f5 02:24:48 noop 02:24:48 Removing intermediate container 294c498435f5 02:24:48 ---> 9e194328b9c3 02:24:48 Successfully built 9e194328b9c3 02:24:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:49 + docker inspect -f . ci-base-image-x86_64 02:24:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:24:49 prd-ubuntu20.04-docker-8c-8g-15883 does not seem to be running inside a container 02:24:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:24:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:49 Configure a credential helper to remove this warning. See 02:24:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:49 02:24:49 Login Succeeded 02:24:49 nexus3.edgexfoundry.org:10003 02:24:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:49 Configure a credential helper to remove this warning. See 02:24:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:49 02:24:49 Login Succeeded 02:24:49 $ docker top a537fcf6bce8fd52f787d011879c7cddf8173cbdf11acda9430f5243f59175e1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:24:49 nexus3.edgexfoundry.org:10004 02:24:50 + go version 02:24:50 go version go1.17.7 linux/amd64 [Pipeline] } 02:24:50 $ docker stop --time=1 a537fcf6bce8fd52f787d011879c7cddf8173cbdf11acda9430f5243f59175e1 02:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:50 Configure a credential helper to remove this warning. See 02:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:50 02:24:50 Login Succeeded 02:24:50 docker.io 02:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:51 Configure a credential helper to remove this warning. See 02:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:51 02:24:51 Login Succeeded 02:24:51 ---> docker-login.sh ends 02:24:51 $ docker rm -f a537fcf6bce8fd52f787d011879c7cddf8173cbdf11acda9430f5243f59175e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 02:24:51 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 02:24:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:24:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:24:51 ========================================================= 02:24:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:24:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:51 + docker inspect -f . ci-base-image-x86_64 02:24:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:24:51 prd-ubuntu20.04-docker-8c-8g-15883 does not seem to be running inside a container 02:24:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:24:52 + 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 . 02:24:52 $ docker top fcf82c4083dc9f55f2a44c0ee4f1cb45c43b04e2853ec58060ffa9fbe8fa1026 -eo pid,comm 02:24:52 Sending build context to Docker daemon 6.05MB 02:24:52 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 02:24:52 Step 2/13 : FROM ${BASE} AS builder [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:24:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:24:52 9b3977197b4f: Pulling fs layer 02:24:52 1a89e8eeedd5: Pulling fs layer 02:24:52 94645a83ff95: Pulling fs layer 02:24:52 e6fb740bc735: Pulling fs layer 02:24:52 3a77bd46dcc9: Pulling fs layer 02:24:52 355e64cbe906: Pulling fs layer 02:24:52 63ab81a10011: Pulling fs layer 02:24:52 555d1d1c4555: Pulling fs layer 02:24:52 7d9057610161: Pulling fs layer 02:24:52 e6fb740bc735: Waiting 02:24:52 3a77bd46dcc9: Waiting 02:24:52 355e64cbe906: Waiting 02:24:52 63ab81a10011: Waiting 02:24:52 555d1d1c4555: Waiting 02:24:52 7d9057610161: Waiting 02:24:52 94645a83ff95: Verifying Checksum 02:24:52 94645a83ff95: Download complete 02:24:52 1a89e8eeedd5: Verifying Checksum 02:24:52 1a89e8eeedd5: Download complete 02:24:52 3a77bd46dcc9: Verifying Checksum 02:24:52 3a77bd46dcc9: Download complete 02:24:52 9b3977197b4f: Verifying Checksum 02:24:52 9b3977197b4f: Download complete 02:24:52 63ab81a10011: Verifying Checksum 02:24:52 63ab81a10011: Download complete 02:24:52 + make test 02:24:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:24:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:24:53 9b3977197b4f: Pull complete 02:24:53 7d9057610161: Verifying Checksum 02:24:53 7d9057610161: Download complete 02:24:54 1a89e8eeedd5: Pull complete 02:24:54 94645a83ff95: Pull complete 02:24:54 555d1d1c4555: Verifying Checksum 02:24:54 555d1d1c4555: Download complete 02:24:55 e6fb740bc735: Verifying Checksum 02:24:55 e6fb740bc735: Download complete 02:25:03 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:25:03 --- FAIL: TestOnvifClient_getCustomMetadata (0.00s) 02:25:03 --- FAIL: TestOnvifClient_getCustomMetadata/happy_path_with_data_(single_field) (0.00s) 02:25:03 custommetadata_test.go:108: 02:25:03 Error Trace: custommetadata_test.go:108 02:25:03 Error: Received unexpected error: 02:25:03 failed to get specific metadata for device myDevice -> failed to unmarshal the json request body -> json: cannot unmarshal object into Go value of type []string 02:25:03 Test: TestOnvifClient_getCustomMetadata/happy_path_with_data_(single_field) 02:25:03 --- FAIL: TestOnvifClient_getCustomMetadata/happy_path_with_data_(multiple_fields) (0.00s) 02:25:03 custommetadata_test.go:108: 02:25:03 Error Trace: custommetadata_test.go:108 02:25:03 Error: Received unexpected error: 02:25:03 failed to get specific metadata for device myDevice -> failed to unmarshal the json request body -> json: cannot unmarshal object into Go value of type []string 02:25:03 Test: TestOnvifClient_getCustomMetadata/happy_path_with_data_(multiple_fields) 02:25:03 --- FAIL: TestOnvifClient_getCustomMetadata/happy_path_with_data_(single_non-existent_field) (0.00s) 02:25:03 custommetadata_test.go:108: 02:25:03 Error Trace: custommetadata_test.go:108 02:25:03 Error: Received unexpected error: 02:25:03 failed to get specific metadata for device myDevice -> failed to unmarshal the json request body -> json: cannot unmarshal object into Go value of type []string 02:25:03 Test: TestOnvifClient_getCustomMetadata/happy_path_with_data_(single_non-existent_field) 02:25:03 --- FAIL: TestOnvifClient_getCustomMetadata/happy_path_with_data_(multiple_non-existent_fields) (0.00s) 02:25:03 custommetadata_test.go:108: 02:25:03 Error Trace: custommetadata_test.go:108 02:25:03 Error: Received unexpected error: 02:25:03 failed to get specific metadata for device myDevice -> failed to unmarshal the json request body -> json: cannot unmarshal object into Go value of type []string 02:25:03 Test: TestOnvifClient_getCustomMetadata/happy_path_with_data_(multiple_non-existent_fields) 02:25:03 Hello, WorldFAIL 02:25:03 coverage: 5.3% of statements 02:25:03 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s 02:25:07 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.091s coverage: 13.8% of statements 02:25:07 FAIL 02:25:07 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 02:25:07 $ docker stop --time=1 fcf82c4083dc9f55f2a44c0ee4f1cb45c43b04e2853ec58060ffa9fbe8fa1026 02:25:08 e6fb740bc735: Pull complete 02:25:08 3a77bd46dcc9: Pull complete 02:25:08 355e64cbe906: Pull complete 02:25:08 63ab81a10011: Pull complete 02:25:09 $ docker rm -f fcf82c4083dc9f55f2a44c0ee4f1cb45c43b04e2853ec58060ffa9fbe8fa1026 [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 02:25:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:25:10 02:25:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:25:10 latest: Pulling from edgex-lftools-log-publisher 02:25:10 5eb5b503b376: Pulling fs layer 02:25:10 5c69ac0246d0: Pulling fs layer 02:25:10 ec43610c2a17: Pulling fs layer 02:25:10 3a2ae6a8a46f: Pulling fs layer 02:25:10 33b1e0a273af: Pulling fs layer 02:25:10 5d3b04190fa2: Pulling fs layer 02:25:10 2f39f015ded8: Pulling fs layer 02:25:10 33b1e0a273af: Waiting 02:25:10 5d3b04190fa2: Waiting 02:25:10 2f39f015ded8: Waiting 02:25:10 3a2ae6a8a46f: Waiting 02:25:10 5c69ac0246d0: Verifying Checksum 02:25:10 5c69ac0246d0: Download complete 02:25:10 3a2ae6a8a46f: Verifying Checksum 02:25:10 3a2ae6a8a46f: Download complete 02:25:10 33b1e0a273af: Verifying Checksum 02:25:10 33b1e0a273af: Download complete 02:25:10 5d3b04190fa2: Verifying Checksum 02:25:10 5d3b04190fa2: Download complete 02:25:10 ec43610c2a17: Verifying Checksum 02:25:10 ec43610c2a17: Download complete 02:25:10 5eb5b503b376: Verifying Checksum 02:25:10 5eb5b503b376: Download complete 02:25:11 2f39f015ded8: Verifying Checksum 02:25:11 2f39f015ded8: Download complete 02:25:12 5eb5b503b376: Pull complete 02:25:12 5c69ac0246d0: Pull complete 02:25:12 ec43610c2a17: Pull complete 02:25:12 3a2ae6a8a46f: Pull complete 02:25:12 33b1e0a273af: Pull complete 02:25:12 5d3b04190fa2: Pull complete 02:25:14 555d1d1c4555: Pull complete 02:25:16 7d9057610161: Pull complete 02:25:16 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 02:25:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:25:16 ---> 819e984ddca1 02:25:16 Step 3/13 : ARG MAKE="make build" 02:25:17 ---> Running in 46f1dd0028b2 02:25:18 Removing intermediate container 46f1dd0028b2 02:25:18 ---> 1b81798f945b 02:25:18 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:25:18 ---> Running in 3867b0645bed 02:25:18 2f39f015ded8: Pull complete 02:25:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:25:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:25:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:25:18 prd-ubuntu20.04-docker-8c-8g-15883 does not seem to be running inside a container 02:25:18 Removing intermediate container 3867b0645bed 02:25:18 ---> 4d526d2a4edf 02:25:18 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 02:25:18 ---> Running in 6ad8f2650ac9 02:25:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:25:18 Removing intermediate container 6ad8f2650ac9 02:25:18 ---> 7e3cea0ae370 02:25:18 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:25:18 ---> Running in 1d0b662cfdb5 02:25:19 Removing intermediate container 1d0b662cfdb5 02:25:19 ---> e7aeacaa9a0f 02:25:19 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:25:19 ---> Running in 1d9bc6b68657 02:25:20 $ docker top b5ebb4d8231730dda5c8daa0381cb59cbef34c8c6a51fdfc6adf260ea168e216 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:25:20 ---> job-cost.sh 02:25:20 lf-activate-venv: SKIPPING 02:25:20 INFO: No Stack... 02:25:20 INFO: Retrieving Pricing Info for: v3-standard-8 02:25:21 Removing intermediate container 1d9bc6b68657 02:25:21 ---> d0a2e71b41e8 02:25:21 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:25:21 ---> Running in 206fc135fafb 02:25:21 INFO: Archiving Costs [Pipeline] sh 02:25:21 + cat /w/workspace/oundry_device-onvif-camera_PR-87/archives/cost.csv 02:25:21 + cut -d, -f6 [Pipeline] lock 02:25:21 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-11-stack-cost] 02:25:21 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-11-stack-cost] did not exist. Created. 02:25:21 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:25:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:25:21 + echo total: 0.2199999988079071 [Pipeline] stash 02:25:21 Stashed 1 file(s) [Pipeline] } 02:25:21 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-11-stack-cost] [Pipeline] // lock [Pipeline] } 02:25:21 $ docker stop --time=1 b5ebb4d8231730dda5c8daa0381cb59cbef34c8c6a51fdfc6adf260ea168e216 02:25:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:25:23 $ docker rm -f b5ebb4d8231730dda5c8daa0381cb59cbef34c8c6a51fdfc6adf260ea168e216 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:25:23 Failed in branch amd64 02:25:23 OK: 220 MiB in 52 packages 02:25:24 Removing intermediate container 206fc135fafb 02:25:24 ---> b8570535698a 02:25:24 Step 9/13 : WORKDIR /device-onvif-camera 02:25:24 ---> Running in f46198147a3d 02:25:24 Removing intermediate container f46198147a3d 02:25:24 ---> 0dace8740948 02:25:24 Step 10/13 : COPY go.mod vendor* ./ 02:25:25 ---> 3509f61677e1 02:25:25 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:25:25 ---> Running in f88e209fbf72 02:26:12 Removing intermediate container f88e209fbf72 02:26:12 ---> 627dac4d86d8 02:26:12 Step 12/13 : COPY . . 02:26:12 ---> b2ebdca4b3b9 02:26:12 Step 13/13 : RUN ${MAKE} 02:26:12 ---> Running in 17cc8740e13f 02:26:12 noop 02:26:13 Removing intermediate container 17cc8740e13f 02:26:13 ---> 16ebe2a1b132 02:26:13 Successfully built 16ebe2a1b132 02:26:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:26:13 + docker inspect -f . ci-base-image-arm64 02:26:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:26:13 prd-ubuntu20.04-docker-arm64-4c-16g-15828 does not seem to be running inside a container 02:26:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@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 02:26:15 $ docker top d1e94a19c316ffc7633994c26d3d12ece63d72178f90a7b505ca1056c5f9f8f7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:26:15 + go version 02:26:15 go version go1.17.7 linux/arm64 [Pipeline] } 02:26:15 $ docker stop --time=1 d1e94a19c316ffc7633994c26d3d12ece63d72178f90a7b505ca1056c5f9f8f7 02:26:17 $ docker rm -f d1e94a19c316ffc7633994c26d3d12ece63d72178f90a7b505ca1056c5f9f8f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:26:18 + docker inspect -f . ci-base-image-arm64 02:26:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:26:18 prd-ubuntu20.04-docker-arm64-4c-16g-15828 does not seem to be running inside a container 02:26:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@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 02:26:19 $ docker top 2c828ae864af434fa3a2de5669c9abdcd4fcaf43cb32ec760985476fb449d830 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:26:20 + make test 02:26:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:26:22 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:27:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:27:58 --- FAIL: TestOnvifClient_getCustomMetadata (0.00s) 02:27:58 --- FAIL: TestOnvifClient_getCustomMetadata/happy_path_with_data_(single_field) (0.00s) 02:27:58 custommetadata_test.go:108: 02:27:58 Error Trace: custommetadata_test.go:108 02:27:58 Error: Received unexpected error: 02:27:58 failed to get specific metadata for device myDevice -> failed to unmarshal the json request body -> json: cannot unmarshal object into Go value of type []string 02:27:58 Test: TestOnvifClient_getCustomMetadata/happy_path_with_data_(single_field) 02:27:58 --- FAIL: TestOnvifClient_getCustomMetadata/happy_path_with_data_(multiple_fields) (0.00s) 02:27:58 custommetadata_test.go:108: 02:27:58 Error Trace: custommetadata_test.go:108 02:27:58 Error: Received unexpected error: 02:27:58 failed to get specific metadata for device myDevice -> failed to unmarshal the json request body -> json: cannot unmarshal object into Go value of type []string 02:27:58 Test: TestOnvifClient_getCustomMetadata/happy_path_with_data_(multiple_fields) 02:27:58 --- FAIL: TestOnvifClient_getCustomMetadata/happy_path_with_data_(single_non-existent_field) (0.00s) 02:27:58 custommetadata_test.go:108: 02:27:58 Error Trace: custommetadata_test.go:108 02:27:58 Error: Received unexpected error: 02:27:58 failed to get specific metadata for device myDevice -> failed to unmarshal the json request body -> json: cannot unmarshal object into Go value of type []string 02:27:58 Test: TestOnvifClient_getCustomMetadata/happy_path_with_data_(single_non-existent_field) 02:27:58 --- FAIL: TestOnvifClient_getCustomMetadata/happy_path_with_data_(multiple_non-existent_fields) (0.00s) 02:27:58 custommetadata_test.go:108: 02:27:58 Error Trace: custommetadata_test.go:108 02:27:58 Error: Received unexpected error: 02:27:58 failed to get specific metadata for device myDevice -> failed to unmarshal the json request body -> json: cannot unmarshal object into Go value of type []string 02:27:58 Test: TestOnvifClient_getCustomMetadata/happy_path_with_data_(multiple_non-existent_fields) 02:27:58 Hello, WorldFAIL 02:27:58 coverage: 5.3% of statements 02:27:58 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver 0.085s 02:28:05 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.793s coverage: 13.8% of statements 02:28:05 FAIL 02:28:05 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 02:28:05 $ docker stop --time=1 2c828ae864af434fa3a2de5669c9abdcd4fcaf43cb32ec760985476fb449d830 02:28:07 $ docker rm -f 2c828ae864af434fa3a2de5669c9abdcd4fcaf43cb32ec760985476fb449d830 [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 02:28:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:28:08 02:28:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:28:09 arm64: Pulling from edgex-lftools-log-publisher 02:28:09 8998bd30e6a1: Pulling fs layer 02:28:09 04944245beec: Pulling fs layer 02:28:09 699f458cf7ca: Pulling fs layer 02:28:09 765212b225bb: Pulling fs layer 02:28:09 f23df028b6ca: Pulling fs layer 02:28:09 d65c8cfc05b1: Pulling fs layer 02:28:09 2437ff75d9bd: Pulling fs layer 02:28:09 f23df028b6ca: Waiting 02:28:09 d65c8cfc05b1: Waiting 02:28:09 2437ff75d9bd: Waiting 02:28:09 765212b225bb: Waiting 02:28:09 04944245beec: Verifying Checksum 02:28:09 04944245beec: Download complete 02:28:09 765212b225bb: Download complete 02:28:09 f23df028b6ca: Download complete 02:28:09 d65c8cfc05b1: Verifying Checksum 02:28:09 d65c8cfc05b1: Download complete 02:28:09 699f458cf7ca: Verifying Checksum 02:28:09 699f458cf7ca: Download complete 02:28:09 8998bd30e6a1: Verifying Checksum 02:28:09 8998bd30e6a1: Download complete 02:28:12 2437ff75d9bd: Verifying Checksum 02:28:12 2437ff75d9bd: Download complete 02:28:14 8998bd30e6a1: Pull complete 02:28:14 04944245beec: Pull complete 02:28:15 699f458cf7ca: Pull complete 02:28:16 765212b225bb: Pull complete 02:28:17 f23df028b6ca: Pull complete 02:28:17 d65c8cfc05b1: Pull complete 02:28:35 2437ff75d9bd: Pull complete 02:28:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:28:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:28:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:35 prd-ubuntu20.04-docker-arm64-4c-16g-15828 does not seem to be running inside a container 02:28:36 $ 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/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@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 02:28:38 $ docker top 007483ca83587359bb92af81214a7217b8c5f4dd45b6f76f3fb401be33c19d75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:39 ---> job-cost.sh 02:28:39 lf-activate-venv: SKIPPING 02:28:39 INFO: No Stack... 02:28:40 INFO: Retrieving Pricing Info for: v3-standard-4 02:28:40 INFO: Archiving Costs [Pipeline] sh 02:28:41 + cat /w/workspace/device-onvif-camera/11/archives/cost.csv 02:28:41 + cut -d, -f6 [Pipeline] lock 02:28:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-11-stack-cost] 02:28:41 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-11-stack-cost] did not exist. Created. 02:28:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:28:42 /w/workspace/device-onvif-camera/11@tmp/durable-1729a4a9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:28:42 + echo total: 0.10999999940395355 [Pipeline] stash 02:28:42 Warning: overwriting stash ‘stack-cost’ 02:28:43 Stashed 1 file(s) [Pipeline] } 02:28:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-11-stack-cost] [Pipeline] // lock [Pipeline] } 02:28:43 $ docker stop --time=1 007483ca83587359bb92af81214a7217b8c5f4dd45b6f76f3fb401be33c19d75 02:28:44 $ docker rm -f 007483ca83587359bb92af81214a7217b8c5f4dd45b6f76f3fb401be33c19d75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:28:45 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 02:28:45 + [ -d /w/workspace/oundry_device-onvif-camera_PR-87/archives ] 02:28:45 + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives 02:28:45 total 16 02:28:45 drwxr-xr-x 3 root root 4096 Jun 27 02:25 . 02:28:45 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 02:25 .. 02:28:45 drwxr-xr-x 2 root root 4096 Jun 27 02:25 cost 02:28:45 -rw-r--r-- 1 root root 90 Jun 27 02:25 cost.csv 02:28:45 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-87/archives 02:28:45 + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives 02:28:45 total 16 02:28:45 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 02:25 . 02:28:45 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 02:25 .. 02:28:45 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 02:25 cost 02:28:45 -rw-r--r-- 1 jenkins jenkins 90 Jun 27 02:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:28:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:28:47 ---> package-listing.sh 02:28:47 ++ facter osfamily 02:28:47 ++ tr '[:upper:]' '[:lower:]' 02:28:47 + OS_FAMILY=debian 02:28:47 + workspace=/w/workspace/oundry_device-onvif-camera_PR-87 02:28:47 + START_PACKAGES=/tmp/packages_start.txt 02:28:47 + END_PACKAGES=/tmp/packages_end.txt 02:28:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:28:47 + PACKAGES=/tmp/packages_start.txt 02:28:47 + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' 02:28:47 + PACKAGES=/tmp/packages_end.txt 02:28:47 + case "${OS_FAMILY}" in 02:28:47 + grep '^ii' 02:28:47 + dpkg -l 02:28:47 + '[' -f /tmp/packages_start.txt ']' 02:28:47 + '[' -f /tmp/packages_end.txt ']' 02:28:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:28:47 + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' 02:28:47 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-87/archives/ 02:28:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [Pipeline] echo 02:28:47 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-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:28:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:28:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:48 prd-ubuntu20.04-docker-8c-8g-15883 does not seem to be running inside a container 02:28:48 $ 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-87/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-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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 02:28:48 $ docker top d595dc92fafed70be44f056047abf195933ac110546ff3074b0f41902a0b6a84 -eo pid,comm [Pipeline] { [Pipeline] sh 02:28:48 + touch /tmp/pre-build-complete [Pipeline] sh 02:28:49 + mkdir -p /var/log/sysstat [Pipeline] sh 02:28:49 + ls /var/log/sa-host 02:28:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:28:49 provisioning config files... 02:28:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config8095425653137586117tmp [Pipeline] { [Pipeline] echo 02:28:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:28:49 ---> create-netrc.sh [Pipeline] } 02:28:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:28:50 ---> python-tools-install.sh [Pipeline] echo 02:28:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:28:50 ---> sudo-logs.sh 02:28:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:28:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:28:51 ---> job-cost.sh 02:28:51 lf-activate-venv: SKIPPING 02:28:51 DEBUG: total: 0.2199999988079071 02:28:51 INFO: Retrieving Stack Cost... 02:28:51 INFO: Retrieving Pricing Info for: v3-standard-8 02:28:51 INFO: Archiving Costs [Pipeline] echo 02:28:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:28:51 ---> logs-deploy.sh 02:28:51 lf-activate-venv: SKIPPING 02:28:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-87/11 02:28:51 INFO: archiving workspace using pattern(s): 02:28:52 Archives upload complete. 02:28:53 INFO: archiving logs to Nexus 02:28:54 ---> uname -a: 02:28:54 Linux prd-ubuntu20-04-docker-8c-8g-15883 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 02:28:54 02:28:54 02:28:54 ---> lscpu: 02:28:54 Architecture: x86_64 02:28:54 CPU op-mode(s): 32-bit, 64-bit 02:28:54 Byte Order: Little Endian 02:28:54 Address sizes: 40 bits physical, 48 bits virtual 02:28:54 CPU(s): 8 02:28:54 On-line CPU(s) list: 0-7 02:28:54 Thread(s) per core: 1 02:28:54 Core(s) per socket: 1 02:28:54 Socket(s): 8 02:28:54 NUMA node(s): 1 02:28:54 Vendor ID: AuthenticAMD 02:28:54 CPU family: 23 02:28:54 Model: 49 02:28:54 Model name: AMD EPYC-Rome Processor 02:28:54 Stepping: 0 02:28:54 CPU MHz: 2799.976 02:28:54 BogoMIPS: 5599.95 02:28:54 Virtualization: AMD-V 02:28:54 Hypervisor vendor: KVM 02:28:54 Virtualization type: full 02:28:54 L1d cache: 256 KiB 02:28:54 L1i cache: 256 KiB 02:28:54 L2 cache: 4 MiB 02:28:54 L3 cache: 128 MiB 02:28:54 NUMA node0 CPU(s): 0-7 02:28:54 Vulnerability Itlb multihit: Not affected 02:28:54 Vulnerability L1tf: Not affected 02:28:54 Vulnerability Mds: Not affected 02:28:54 Vulnerability Meltdown: Not affected 02:28:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:28:54 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:28:54 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:28:54 Vulnerability Srbds: Not affected 02:28:54 Vulnerability Tsx async abort: Not affected 02:28:54 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:28:54 02:28:54 02:28:54 ---> nproc: 02:28:54 8 02:28:54 02:28:54 02:28:54 ---> df -h: 02:28:54 Filesystem Size Used Avail Use% Mounted on 02:28:54 overlay 155G 11G 145G 7% / 02:28:54 tmpfs 64M 0 64M 0% /dev 02:28:54 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:28:54 shm 64M 0 64M 0% /dev/shm 02:28:54 /dev/vda1 155G 11G 145G 7% /facter-os 02:28:54 02:28:54 02:28:54 ---> sar -b -r -n DEV: 02:28:54 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-15883) 06/27/22 _x86_64_ (8 CPU) 02:28:54 02:28:54 02:23:20 LINUX RESTART (8 CPU) 02:28:54 02:28:54 02:24:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:28:54 02:25:01 204.97 4.40 200.57 0.00 427.19 103899.77 0.00 02:28:54 02:26:01 46.31 0.05 46.26 0.00 1.33 20885.45 0.00 02:28:54 02:27:01 1.43 0.00 1.43 0.00 0.00 16.01 0.00 02:28:54 02:28:01 1.68 0.00 1.68 0.00 0.00 19.59 0.00 02:28:54 Average: 63.60 1.11 62.48 0.00 107.13 31204.34 0.00 02:28:54 02:28:54 02:24:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:28:54 02:25:01 28124832 31681060 617048 1.88 161452 3591256 2499304 7.37 1408004 2893116 212364 02:28:54 02:26:01 27906768 31743716 556464 1.69 168520 3832780 1973740 5.82 1322736 3164068 180 02:28:54 02:27:01 27907800 31744948 554872 1.69 168548 3832784 1973740 5.82 1321796 3164072 20 02:28:54 02:28:01 27915368 31752548 547260 1.66 168600 3832784 1973740 5.82 1314084 3164076 20 02:28:54 Average: 27963692 31730568 568911 1.73 166780 3772401 2105131 6.20 1341655 3096333 53146 02:28:54 02:28:54 02:24:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:28:54 02:25:01 lo 4.27 4.27 0.42 0.42 0.00 0.00 0.00 0.00 02:28:54 02:25:01 veth3a2d254 0.00 0.18 0.00 0.02 0.00 0.00 0.00 0.00 02:28:54 02:25:01 docker0 128.29 158.01 10.10 1123.10 0.00 0.00 0.00 0.00 02:28:54 02:25:01 ens3 437.37 294.29 6678.34 47.35 0.00 0.00 0.00 0.00 02:28:54 02:26:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 02:28:54 02:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:54 02:26:01 ens3 107.17 68.69 2525.71 12.72 0.00 0.00 0.00 0.00 02:28:54 02:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:54 02:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:54 02:27:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:54 02:28:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:28:54 02:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:54 02:28:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 02:28:54 Average: lo 1.40 1.40 0.14 0.14 0.00 0.00 0.00 0.00 02:28:54 Average: docker0 32.07 39.50 2.53 280.77 0.00 0.00 0.00 0.00 02:28:54 Average: ens3 136.18 90.77 2300.91 15.02 0.00 0.00 0.00 0.00 02:28:54 02:28:54 02:28:54 ---> sar -P ALL: 02:28:54 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-15883) 06/27/22 _x86_64_ (8 CPU) 02:28:54 02:28:54 02:23:20 LINUX RESTART (8 CPU) 02:28:54 02:28:54 02:24:01 CPU %user %nice %system %iowait %steal %idle 02:28:54 02:25:01 all 21.44 0.00 6.82 1.60 0.07 70.07 02:28:54 02:25:01 0 22.08 0.00 6.65 2.20 0.07 69.01 02:28:54 02:25:01 1 21.63 0.00 6.44 0.37 0.07 71.48 02:28:54 02:25:01 2 21.77 0.00 6.90 1.03 0.07 70.23 02:28:54 02:25:01 3 22.47 0.00 6.60 2.11 0.07 68.76 02:28:54 02:25:01 4 20.41 0.00 5.94 0.14 0.07 73.44 02:28:54 02:25:01 5 20.01 0.00 7.86 0.88 0.08 71.17 02:28:54 02:25:01 6 20.21 0.00 7.07 2.83 0.07 69.82 02:28:54 02:25:01 7 22.91 0.00 7.09 3.26 0.08 66.66 02:28:54 02:26:01 all 7.09 0.00 1.77 0.44 0.03 90.67 02:28:54 02:26:01 0 5.57 0.00 1.78 0.02 0.03 92.61 02:28:54 02:26:01 1 7.37 0.00 1.74 0.45 0.03 90.40 02:28:54 02:26:01 2 8.47 0.00 1.54 0.40 0.03 89.56 02:28:54 02:26:01 3 6.16 0.00 1.46 0.44 0.03 91.91 02:28:54 02:26:01 4 6.41 0.00 2.09 0.00 0.03 91.46 02:28:54 02:26:01 5 9.27 0.00 2.09 2.19 0.02 86.44 02:28:54 02:26:01 6 7.14 0.00 1.44 0.05 0.03 91.33 02:28:54 02:26:01 7 6.36 0.00 2.00 0.02 0.02 91.61 02:28:54 02:27:01 all 0.11 0.00 0.02 0.00 0.00 99.86 02:28:54 02:27:01 0 0.00 0.00 0.00 0.00 0.02 99.98 02:28:54 02:27:01 1 0.03 0.00 0.03 0.00 0.00 99.93 02:28:54 02:27:01 2 0.00 0.00 0.02 0.00 0.00 99.98 02:28:54 02:27:01 3 0.83 0.00 0.05 0.02 0.02 99.09 02:28:54 02:27:01 4 0.02 0.00 0.02 0.00 0.00 99.97 02:28:54 02:27:01 5 0.02 0.00 0.02 0.00 0.00 99.97 02:28:54 02:27:01 6 0.00 0.00 0.02 0.00 0.00 99.98 02:28:54 02:27:01 7 0.00 0.00 0.00 0.00 0.00 100.00 02:28:54 02:28:01 all 0.28 0.00 0.02 0.01 0.00 99.69 02:28:54 02:28:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:28:54 02:28:01 1 0.02 0.00 0.02 0.03 0.02 99.92 02:28:54 02:28:01 2 0.03 0.00 0.00 0.00 0.00 99.97 02:28:54 02:28:01 3 1.99 0.00 0.03 0.03 0.02 97.93 02:28:54 02:28:01 4 0.02 0.00 0.02 0.00 0.00 99.97 02:28:54 02:28:01 5 0.03 0.00 0.03 0.00 0.00 99.93 02:28:54 02:28:01 6 0.07 0.00 0.03 0.00 0.00 99.90 02:28:54 02:28:01 7 0.03 0.00 0.02 0.00 0.00 99.95 02:28:54 Average: all 7.17 0.00 2.14 0.51 0.03 90.16 02:28:54 Average: 0 6.86 0.00 2.09 0.55 0.03 90.46 02:28:54 Average: 1 7.20 0.00 2.04 0.21 0.03 90.51 02:28:54 Average: 2 7.51 0.00 2.10 0.36 0.03 90.01 02:28:54 Average: 3 7.76 0.00 2.01 0.64 0.03 89.56 02:28:54 Average: 4 6.65 0.00 2.00 0.03 0.03 91.29 02:28:54 Average: 5 7.28 0.00 2.48 0.76 0.03 89.45 02:28:54 Average: 6 6.80 0.00 2.12 0.71 0.03 90.34 02:28:54 Average: 7 7.26 0.00 2.25 0.81 0.03 89.66 02:28:54 02:28:54 02:28:54