Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a27e28d7063f91f5e1587cb421881b607ffe8dc2+9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 (765aa49c49c26bbd1e7224e37790a265c15db312) 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-ssh7644324694322670062.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh16396202826876883716.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-321/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-321/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1408766295332892414.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh2984140912655582904.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-321/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-321/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh624564251250451859.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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.20 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: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9571 in /w/workspace/undry_device-onvif-camera_PR-321 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-321 # 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/321/head:refs/remotes/origin/PR-321 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 into PR head commit a27e28d7063f91f5e1587cb421881b607ffe8dc2 Merge succeeded, producing ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa Checking out Revision ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa (PR-321) > git config core.sparsecheckout # timeout=10 > git checkout -f a27e28d7063f91f5e1587cb421881b607ffe8dc2 # 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 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa # timeout=10 Commit message: "Merge commit '9cf6c2925dd31c7afe7cec00246c23f9761bb7f7' into HEAD" > git rev-list --no-walk a27e28d7063f91f5e1587cb421881b607ffe8dc2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:11:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:15 ========================================================= 22:11:15 EdgeX Global Pipelines Version Info 22:11:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:11:16 ------------------- 22:11:16 stable info: 22:11:16 ------------------- 22:11:16 Commited By: Bill Mahoney bill.mahoney@intel.com 22:11:16 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 22:11:16 Message: update stable to v1.0.248 22:11:16 ------------------- 22:11:16 experimental info: 22:11:16 ------------------- 22:11:16 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:16 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 22:11:16 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-321 [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-321 [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-321 [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea5e286 [Pipeline] echo 22:11:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:17 provisioning config files... 22:11:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-321@tmp/config15464157839373545377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:17 ---> docker-login.sh 22:11:17 nexus3.edgexfoundry.org:10001 22:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:18 Configure a credential helper to remove this warning. See 22:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:18 22:11:18 Login Succeeded 22:11:18 nexus3.edgexfoundry.org:10002 22:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:18 Configure a credential helper to remove this warning. See 22:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:18 22:11:18 Login Succeeded 22:11:18 nexus3.edgexfoundry.org:10003 22:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:18 Configure a credential helper to remove this warning. See 22:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:18 22:11:18 Login Succeeded 22:11:18 nexus3.edgexfoundry.org:10004 22:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:18 Configure a credential helper to remove this warning. See 22:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:18 22:11:18 Login Succeeded 22:11:18 docker.io 22:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:18 Configure a credential helper to remove this warning. See 22:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:18 22:11:18 Login Succeeded 22:11:18 ---> docker-login.sh ends [Pipeline] } 22:11:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:19 + git rev-list -1 --merges ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa~1..ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa [Pipeline] echo 22:11:19 -----------> git rev-list -1 --merges ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa~1..ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa 22:11:19 ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa [false] [Pipeline] sh 22:11:19 + git log --format=format:%s -1 ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa [Pipeline] echo 22:11:19 ========================================================= 22:11:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:11:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:20 + git log --format=format:%s -1 ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa [Pipeline] echo 22:11:20 [semverPrep] GIT_COMMIT: ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa, Commit Message: Merge commit '9cf6c2925dd31c7afe7cec00246c23f9761bb7f7' into HEAD [Pipeline] echo 22:11:20 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:20 + grep -v github /etc/ssh/ssh_known_hosts 22:11:20 + [ -e /tmp/ssh_known_hosts ] 22:11:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:11:20 + sudo tee -a /etc/ssh/ssh_known_hosts 22:11:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:20 22:11:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:21 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:21 b85a868b505f: Pulling fs layer 22:11:21 e2be974225ed: Pulling fs layer 22:11:21 339a4e72a1f5: Pulling fs layer 22:11:21 988bab9f4d93: Pulling fs layer 22:11:21 1469e6f7b9e6: Pulling fs layer 22:11:21 eaf3925da568: Pulling fs layer 22:11:21 bab4dde63d76: Pulling fs layer 22:11:21 bde34c3a00c8: Pulling fs layer 22:11:21 b352a97aabf1: Pulling fs layer 22:11:21 4872d77fe225: Pulling fs layer 22:11:21 5851b861e8e6: Pulling fs layer 22:11:21 eaf3925da568: Waiting 22:11:21 bab4dde63d76: Waiting 22:11:21 bde34c3a00c8: Waiting 22:11:21 b352a97aabf1: Waiting 22:11:21 4872d77fe225: Waiting 22:11:21 5851b861e8e6: Waiting 22:11:21 988bab9f4d93: Waiting 22:11:21 1469e6f7b9e6: Waiting 22:11:21 e2be974225ed: Verifying Checksum 22:11:21 e2be974225ed: Download complete 22:11:21 988bab9f4d93: Verifying Checksum 22:11:21 988bab9f4d93: Download complete 22:11:21 1469e6f7b9e6: Verifying Checksum 22:11:21 1469e6f7b9e6: Download complete 22:11:21 eaf3925da568: Verifying Checksum 22:11:21 eaf3925da568: Download complete 22:11:21 339a4e72a1f5: Download complete 22:11:21 bde34c3a00c8: Verifying Checksum 22:11:21 bde34c3a00c8: Download complete 22:11:21 b352a97aabf1: Download complete 22:11:21 4872d77fe225: Download complete 22:11:21 5851b861e8e6: Download complete 22:11:21 b85a868b505f: Verifying Checksum 22:11:21 b85a868b505f: Download complete 22:11:21 bab4dde63d76: Verifying Checksum 22:11:21 bab4dde63d76: Download complete 22:11:22 b85a868b505f: Pull complete 22:11:22 e2be974225ed: Pull complete 22:11:23 339a4e72a1f5: Pull complete 22:11:23 988bab9f4d93: Pull complete 22:11:23 1469e6f7b9e6: Pull complete 22:11:23 eaf3925da568: Pull complete 22:11:25 bab4dde63d76: Pull complete 22:11:25 bde34c3a00c8: Pull complete 22:11:25 b352a97aabf1: Pull complete 22:11:25 4872d77fe225: Pull complete 22:11:25 5851b861e8e6: Pull complete 22:11:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:25 prd-ubuntu20.04-docker-8c-8g-9571 does not seem to be running inside a container 22:11:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@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 22:11:29 $ docker top 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 -eo pid,comm 22:11:29 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). 22:11:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:29 [ssh-agent] Looking for ssh-agent implementation... 22:11:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:29 $ docker exec 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 ssh-agent 22:11:29 SSH_AUTH_SOCK=/tmp/ssh-ew4eqHbxcLtF/agent.33 22:11:29 SSH_AGENT_PID=39 22:11:29 Running ssh-add (command line suppressed) 22:11:29 Identity added: /w/workspace/undry_device-onvif-camera_PR-321@tmp/private_key_2049892993348193836.key (/w/workspace/undry_device-onvif-camera_PR-321@tmp/private_key_2049892993348193836.key) 22:11:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:29 + git tag --points-at HEAD [Pipeline] } 22:11:30 $ docker exec --env ******** --env ******** 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 ssh-agent -k 22:11:30 unset SSH_AUTH_SOCK; 22:11:30 unset SSH_AGENT_PID; 22:11:30 echo Agent pid 39 killed; 22:11:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:30 [ssh-agent] Looking for ssh-agent implementation... 22:11:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:30 $ docker exec 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 ssh-agent 22:11:30 SSH_AUTH_SOCK=/tmp/ssh-WeGbmrBeXBT2/agent.71 22:11:30 SSH_AGENT_PID=77 22:11:30 Running ssh-add (command line suppressed) 22:11:30 Identity added: /w/workspace/undry_device-onvif-camera_PR-321@tmp/private_key_2613383680725590568.key (/w/workspace/undry_device-onvif-camera_PR-321@tmp/private_key_2613383680725590568.key) 22:11:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:30 + git semver init 22:11:30 2023-04-24 22:11:31,014 [run_init] DEBUG init version:0.0.0 force:False 22:11:30 2023-04-24 22:11:31,015 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-321/.semver 22:11:30 2023-04-24 22:11:31,015 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-321/.semver 22:11:30 2023-04-24 22:11:31,015 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-321/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-321, universal_newlines=False, shell=None, istream=None) 22:11:31 2023-04-24 22:11:31,862 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-321/.git/info/exclude 22:11:31 2023-04-24 22:11:31,863 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-321/.semver/PR-321 with force:False 22:11:31 2023-04-24 22:11:31,863 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-321/.semver/PR-321 22:11:31 2023-04-24 22:11:31,867 [execute] INFO git cat-file --batch-check 22:11:31 2023-04-24 22:11:31,868 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-321/.semver, universal_newlines=False, shell=None, istream=) 22:11:31 2023-04-24 22:11:31,874 [execute] INFO git cat-file --batch 22:11:31 2023-04-24 22:11:31,875 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-321/.semver, universal_newlines=False, shell=None, istream=) 22:11:31 2023-04-24 22:11:31,879 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-321/.semver/PR-321 22:11:31 0.0.0 [Pipeline] } 22:11:32 $ docker exec --env ******** --env ******** 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 ssh-agent -k 22:11:32 unset SSH_AUTH_SOCK; 22:11:32 unset SSH_AGENT_PID; 22:11:32 echo Agent pid 77 killed; 22:11:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:32 + git semver [Pipeline] } 22:11:32 $ docker stop --time=1 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 22:11:46 $ docker rm -f --volumes 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:47 Stashed 1 file(s) [Pipeline] echo 22:11:47 [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 22:11:47 provisioning config files... 22:11:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-321@tmp/config10784426942892731585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:47 ---> docker-login.sh 22:11:47 nexus3.edgexfoundry.org:10001 22:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:47 Configure a credential helper to remove this warning. See 22:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:47 22:11:47 Login Succeeded 22:11:47 nexus3.edgexfoundry.org:10002 22:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:47 Configure a credential helper to remove this warning. See 22:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:47 22:11:47 Login Succeeded 22:11:47 nexus3.edgexfoundry.org:10003 22:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:47 Configure a credential helper to remove this warning. See 22:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:47 22:11:47 Login Succeeded 22:11:47 nexus3.edgexfoundry.org:10004 22:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:47 Configure a credential helper to remove this warning. See 22:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:47 22:11:47 Login Succeeded 22:11:47 docker.io 22:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:48 Configure a credential helper to remove this warning. See 22:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:48 22:11:48 Login Succeeded 22:11:48 ---> docker-login.sh ends [Pipeline] } 22:11:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:48 ========================================================= 22:11:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:11:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:11:48 Sending build context to Docker daemon 26.96MB 22:11:48 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:11:48 Step 2/13 : FROM ${BASE} AS builder 22:11:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:49 f56be85fc22e: Pulling fs layer 22:11:49 85791d961cd3: Pulling fs layer 22:11:49 d694b5ae8c79: Pulling fs layer 22:11:49 9f32a84ed3da: Pulling fs layer 22:11:49 4d19c01a9841: Pulling fs layer 22:11:49 9325e15d5711: Pulling fs layer 22:11:49 556b6ee489ea: Pulling fs layer 22:11:49 c5a4b2cf53e6: Pulling fs layer 22:11:49 4d19c01a9841: Waiting 22:11:49 9325e15d5711: Waiting 22:11:49 c5a4b2cf53e6: Waiting 22:11:49 556b6ee489ea: Waiting 22:11:49 85791d961cd3: Verifying Checksum 22:11:49 85791d961cd3: Download complete 22:11:49 9f32a84ed3da: Download complete 22:11:49 4d19c01a9841: Download complete 22:11:49 f56be85fc22e: Verifying Checksum 22:11:49 f56be85fc22e: Download complete 22:11:49 9325e15d5711: Verifying Checksum 22:11:49 9325e15d5711: Download complete 22:11:49 f56be85fc22e: Pull complete 22:11:49 c5a4b2cf53e6: Verifying Checksum 22:11:49 c5a4b2cf53e6: Download complete 22:11:49 d694b5ae8c79: Verifying Checksum 22:11:49 d694b5ae8c79: Download complete 22:11:50 556b6ee489ea: Verifying Checksum 22:11:50 556b6ee489ea: Download complete 22:11:50 85791d961cd3: Pull complete 22:11:54 d694b5ae8c79: Pull complete 22:11:54 9f32a84ed3da: Pull complete 22:11:54 4d19c01a9841: Pull complete 22:11:55 9325e15d5711: Pull complete 22:11:58 556b6ee489ea: Pull complete 22:11:59 c5a4b2cf53e6: Pull complete 22:11:59 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:11:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:11:59 ---> c4be618373d6 22:11:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:12:02 Still waiting to schedule task 22:12:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:12:02 ---> Running in e287d1583edf 22:12:03 Removing intermediate container e287d1583edf 22:12:03 ---> 46f0363e955d 22:12:03 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:03 ---> Running in 3b0f2cb97a69 22:12:03 Removing intermediate container 3b0f2cb97a69 22:12:03 ---> 6e76621130de 22:12:03 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:12:03 ---> Running in 4d1f87900986 22:12:03 Removing intermediate container 4d1f87900986 22:12:03 ---> f2e6df7b2633 22:12:03 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:12:03 ---> Running in 7465e9093782 22:12:03 Removing intermediate container 7465e9093782 22:12:03 ---> 863bfa3f41fb 22:12:03 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:12:03 ---> Running in 6760973c2b1b 22:12:03 Removing intermediate container 6760973c2b1b 22:12:03 ---> 5bd59911c0cc 22:12:03 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:03 ---> Running in 308a5abf4d8e 22:12:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:04 OK: 265 MiB in 53 packages 22:12:04 Removing intermediate container 308a5abf4d8e 22:12:04 ---> ab016f4edbbd 22:12:04 Step 9/13 : WORKDIR /device-onvif-camera 22:12:04 ---> Running in a9f6e32dcb1c 22:12:04 Removing intermediate container a9f6e32dcb1c 22:12:04 ---> 937803b11f4e 22:12:04 Step 10/13 : COPY go.mod vendor* ./ 22:12:04 ---> 82c0922f84f8 22:12:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:04 ---> Running in 1aaabda29b15 22:12:31 Removing intermediate container 1aaabda29b15 22:12:31 ---> 4318e9fe1167 22:12:31 Step 12/13 : COPY . . 22:12:31 ---> 0281cc768493 22:12:31 Step 13/13 : RUN ${MAKE} 22:12:31 ---> Running in 72e820996075 22:12:31 noop 22:12:31 Removing intermediate container 72e820996075 22:12:31 ---> 845af4dc724d 22:12:31 Successfully built 845af4dc724d 22:12:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:31 + docker inspect -f . ci-base-image-x86_64 22:12:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:31 prd-ubuntu20.04-docker-8c-8g-9571 does not seem to be running inside a container 22:12:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@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 22:12:31 $ docker top 0d656d32bd6183d54761665093e70fcc36134017aca5009fbc4f6701ade98850 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:32 + go version 22:12:32 go version go1.20.2 linux/amd64 [Pipeline] } 22:12:32 $ docker stop --time=1 0d656d32bd6183d54761665093e70fcc36134017aca5009fbc4f6701ade98850 22:12:33 $ docker rm -f --volumes 0d656d32bd6183d54761665093e70fcc36134017aca5009fbc4f6701ade98850 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:33 + docker inspect -f . ci-base-image-x86_64 22:12:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:34 prd-ubuntu20.04-docker-8c-8g-9571 does not seem to be running inside a container 22:12:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@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 22:12:34 $ docker top 1df704099ea21a7aa2ceed66e72591b9006fef535043510f3ba57b0c2e2fe8dd -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:34 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-321 [Pipeline] fileExists [Pipeline] sh 22:12:35 + make test 22:12:35 go test ./... -coverprofile=coverage.out ./... 22:12:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:52 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:52 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:53 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.6% of statements 22:12:59 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 8.286s coverage: 86.5% of statements 22:13:07 go vet ./... 22:13:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:13:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:13:11 ./bin/test-attribution-txt.sh [Pipeline] echo 22:13:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:13:12 $ docker stop --time=1 1df704099ea21a7aa2ceed66e72591b9006fef535043510f3ba57b0c2e2fe8dd 22:13:14 $ docker rm -f --volumes 1df704099ea21a7aa2ceed66e72591b9006fef535043510f3ba57b0c2e2fe8dd [Pipeline] // withDockerContainer [Pipeline] sh 22:13:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:13:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:13:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:13:16 + ls -al . 22:13:16 total 236 22:13:16 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 22:12 . 22:13:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 22:11 .. 22:13:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 22:11 .git 22:13:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 22:11 .github 22:13:16 -rw-rw-r-- 1 jenkins jenkins 496 Apr 24 22:11 .gitignore 22:13:16 -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 22:11 .golangci.yml 22:13:16 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 22:11 .semver 22:13:16 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 24 22:11 Attribution.txt 22:13:16 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 24 22:11 CHANGELOG.md 22:13:16 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 24 22:11 Dockerfile 22:13:16 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 22:11 GOVERNANCE.md 22:13:16 -rw-rw-r-- 1 jenkins jenkins 734 Apr 24 22:11 Jenkinsfile 22:13:16 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 22:11 LICENSE 22:13:16 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 24 22:11 Makefile 22:13:16 -rw-rw-r-- 1 jenkins jenkins 625 Apr 24 22:11 OWNERS.md 22:13:16 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 24 22:11 README.md 22:13:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 22:11 VERSION 22:13:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 22:11 bin 22:13:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 22:11 cmd 22:13:16 -rw-r--r-- 1 jenkins jenkins 78922 Apr 24 22:12 coverage.out 22:13:16 drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 22:11 doc 22:13:16 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 24 22:11 go.mod 22:13:16 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 24 22:11 go.sum 22:13:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 22:11 internal 22:13:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 22:11 snap 22:13:16 -rw-rw-r-- 1 jenkins jenkins 236 Apr 24 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:16 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa --label arch=amd64 --label version=0.0.0 . 22:13:16 Sending build context to Docker daemon 27.04MB 22:13:16 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:13:16 Step 2/26 : FROM ${BASE} AS builder 22:13:16 ---> 845af4dc724d 22:13:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:13:16 ---> Running in a7c675ce9863 22:13:17 Removing intermediate container a7c675ce9863 22:13:17 ---> a882ec3fcd53 22:13:17 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:17 ---> Running in f343e1cf27fd 22:13:17 Removing intermediate container f343e1cf27fd 22:13:17 ---> 6612017fe006 22:13:17 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:13:17 ---> Running in cf75e5d459ac 22:13:17 Removing intermediate container cf75e5d459ac 22:13:17 ---> 00d1363ccf88 22:13:17 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:13:17 ---> Running in 3eb4af962f1f 22:13:17 Removing intermediate container 3eb4af962f1f 22:13:17 ---> 14d06d11a762 22:13:17 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:13:17 ---> Running in d20c01a92137 22:13:17 Removing intermediate container d20c01a92137 22:13:17 ---> c536b4b07155 22:13:17 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:17 ---> Running in 14be1ea2643f 22:13:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:13:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:13:18 OK: 265 MiB in 53 packages 22:13:18 Removing intermediate container 14be1ea2643f 22:13:18 ---> 5d14ddf8c522 22:13:18 Step 9/26 : WORKDIR /device-onvif-camera 22:13:18 ---> Running in 26e4b49ad6ee 22:13:18 Removing intermediate container 26e4b49ad6ee 22:13:18 ---> 0fa436a3f54b 22:13:18 Step 10/26 : COPY go.mod vendor* ./ 22:13:18 ---> 00b98c054e0f 22:13:18 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:18 ---> Running in b4a0d8220df1 22:13:19 Removing intermediate container b4a0d8220df1 22:13:19 ---> cfb29acc1a4e 22:13:19 Step 12/26 : COPY . . 22:13:20 ---> 34b54bb214c4 22:13:20 Step 13/26 : RUN ${MAKE} 22:13:20 ---> Running in 32241905f7f3 22:13:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:13:42 Removing intermediate container 32241905f7f3 22:13:42 ---> 303b1f26ad94 22:13:42 Step 14/26 : FROM alpine:3.17 22:13:42 3.17: Pulling from library/alpine 22:13:42 f56be85fc22e: Already exists 22:13:42 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:13:42 Status: Downloaded newer image for alpine:3.17 22:13:42 ---> 9ed4aefc74f6 22:13:42 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:13:42 ---> Running in 28d4fd1331db 22:13:42 Removing intermediate container 28d4fd1331db 22:13:42 ---> c8ef0378c9c4 22:13:42 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:13:42 ---> Running in 194bf76749bb 22:13:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:13:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:13:42 (1/1) Installing dumb-init (1.2.5-r2) 22:13:42 Executing busybox-1.35.0-r29.trigger 22:13:42 OK: 7 MiB in 16 packages 22:13:42 Removing intermediate container 194bf76749bb 22:13:42 ---> 84712d07ccd2 22:13:42 Step 17/26 : WORKDIR / 22:13:42 ---> Running in 38102170975c 22:13:42 Removing intermediate container 38102170975c 22:13:42 ---> c0c01db8ba64 22:13:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:13:43 ---> 451fc9ef3618 22:13:43 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:13:43 ---> 5206da7e6370 22:13:43 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:13:43 ---> ed8a1d9a4530 22:13:43 Step 21/26 : EXPOSE 59984 22:13:43 ---> Running in 53e331e230cb 22:13:43 Removing intermediate container 53e331e230cb 22:13:43 ---> bbd85866344d 22:13:43 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:13:43 ---> Running in 1ef90b665cd2 22:13:43 Removing intermediate container 1ef90b665cd2 22:13:43 ---> f71bb9330890 22:13:43 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:13:43 ---> Running in 7ec52ff4c60f 22:13:43 Removing intermediate container 7ec52ff4c60f 22:13:43 ---> 43da3c720fd5 22:13:43 Step 24/26 : LABEL arch=amd64 22:13:43 ---> Running in b507524e6742 22:13:43 Removing intermediate container b507524e6742 22:13:43 ---> 0b155099e231 22:13:43 Step 25/26 : LABEL git_sha=ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa 22:13:43 ---> Running in cd943ebac020 22:13:43 Removing intermediate container cd943ebac020 22:13:43 ---> b18174e410a3 22:13:43 Step 26/26 : LABEL version=0.0.0 22:13:43 ---> Running in ceea8452fb85 22:13:43 Removing intermediate container ceea8452fb85 22:13:43 ---> b635f0a6fb8c 22:13:43 [Warning] One or more build-args [ARCH] were not consumed 22:13:43 Successfully built b635f0a6fb8c 22:13:44 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:44 22:13:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:44 latest: Pulling from edgex-lftools-log-publisher 22:13:44 5eb5b503b376: Pulling fs layer 22:13:44 5c69ac0246d0: Pulling fs layer 22:13:44 ec43610c2a17: Pulling fs layer 22:13:44 3a2ae6a8a46f: Pulling fs layer 22:13:44 33b1e0a273af: Pulling fs layer 22:13:44 5d3b04190fa2: Pulling fs layer 22:13:44 2f39f015ded8: Pulling fs layer 22:13:44 33b1e0a273af: Waiting 22:13:44 5d3b04190fa2: Waiting 22:13:44 2f39f015ded8: Waiting 22:13:44 5c69ac0246d0: Download complete 22:13:44 3a2ae6a8a46f: Verifying Checksum 22:13:44 3a2ae6a8a46f: Download complete 22:13:44 33b1e0a273af: Verifying Checksum 22:13:44 33b1e0a273af: Download complete 22:13:44 5d3b04190fa2: Download complete 22:13:44 ec43610c2a17: Verifying Checksum 22:13:44 ec43610c2a17: Download complete 22:13:45 5eb5b503b376: Download complete 22:13:45 2f39f015ded8: Download complete 22:13:46 5eb5b503b376: Pull complete 22:13:46 5c69ac0246d0: Pull complete 22:13:47 ec43610c2a17: Pull complete 22:13:47 3a2ae6a8a46f: Pull complete 22:13:47 33b1e0a273af: Pull complete 22:13:47 5d3b04190fa2: Pull complete 22:13:52 2f39f015ded8: Pull complete 22:13:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:52 prd-ubuntu20.04-docker-8c-8g-9571 does not seem to be running inside a container 22:13:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@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 22:13:55 $ docker top 4434f09e94fece7df09c54bf8c1e2d374ba9b60985c8d72233b51e1fc9802614 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:55 ---> job-cost.sh 22:13:55 lf-activate-venv: SKIPPING 22:13:55 INFO: No Stack... 22:13:56 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:56 INFO: Archiving Costs [Pipeline] sh 22:13:56 + cat /w/workspace/undry_device-onvif-camera_PR-321/archives/cost.csv 22:13:56 + cut -d, -f6 [Pipeline] lock 22:13:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] 22:13:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] did not exist. Created. 22:13:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:57 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:57 Stashed 1 file(s) [Pipeline] } 22:13:57 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:57 $ docker stop --time=1 4434f09e94fece7df09c54bf8c1e2d374ba9b60985c8d72233b51e1fc9802614 22:13:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9576 in /w/workspace/undry_device-onvif-camera_PR-321 22:13:58 $ docker rm -f --volumes 4434f09e94fece7df09c54bf8c1e2d374ba9b60985c8d72233b51e1fc9802614 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws 22:13:58 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } 22:13:58 The recommended git tool is: git [Pipeline] // stage [Pipeline] } 22:14:04 using credential edgex-jenkins-ssh 22:14:04 Cloning the remote Git repository 22:14:04 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:14:04 > git init /w/workspace/device-onvif-camera/2 # timeout=10 22:14:04 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:04 > git --version # timeout=10 22:14:04 > git --version # 'git version 2.25.1' 22:14:04 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:06 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:08 Merging remotes/origin/main commit 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 into PR head commit a27e28d7063f91f5e1587cb421881b607ffe8dc2 22:14:07 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:07 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:07 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/321/head:refs/remotes/origin/PR-321 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:14:08 > git config core.sparsecheckout # timeout=10 22:14:08 > git checkout -f a27e28d7063f91f5e1587cb421881b607ffe8dc2 # timeout=10 22:14:08 > git remote # timeout=10 22:14:08 > git config --get remote.origin.url # timeout=10 22:14:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:08 > git merge 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 # timeout=10 22:14:09 Merge succeeded, producing 98c45d9b15746b6488b8e66efdb08c4db8b590b3 22:14:09 Checking out Revision 98c45d9b15746b6488b8e66efdb08c4db8b590b3 (PR-321) 22:14:09 > git rev-parse HEAD^{commit} # timeout=10 22:14:09 > git config core.sparsecheckout # timeout=10 22:14:09 > git checkout -f 98c45d9b15746b6488b8e66efdb08c4db8b590b3 # timeout=10 22:14:12 Commit message: "Merge commit '9cf6c2925dd31c7afe7cec00246c23f9761bb7f7' into HEAD" 22:14:12 > git rev-list --no-walk a27e28d7063f91f5e1587cb421881b607ffe8dc2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:14:14 % Total % Received % Xferd Average Speed Time Time Time Current 22:14:14 Dload Upload Total Spent Left Speed 22:14:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 22:14:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:14:15 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 22:14:15 /etc/docker/daemon.new 22:14:15 { 22:14:15 "registry-mirrors": [ 22:14:15 "https://nexus3.edgexfoundry.org:10001" 22:14:15 ], 22:14:15 "bip": "10.250.0.254/24", 22:14:15 "hosts": [ 22:14:15 "tcp://0.0.0.0:5555", 22:14:15 "unix:///var/run/docker.sock" 22:14:15 ], 22:14:15 "mtu": 1458, 22:14:15 "selinux-enabled": true, 22:14:15 "seccomp-profile": "/etc/docker/seccomp.json" 22:14:15 } [Pipeline] sh 22:14:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:14:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:34 provisioning config files... 22:14:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config8947803392609005478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:34 ---> docker-login.sh 22:14:34 nexus3.edgexfoundry.org:10001 22:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:35 Configure a credential helper to remove this warning. See 22:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:35 22:14:35 Login Succeeded 22:14:35 nexus3.edgexfoundry.org:10002 22:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:35 Configure a credential helper to remove this warning. See 22:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:35 22:14:35 Login Succeeded 22:14:35 nexus3.edgexfoundry.org:10003 22:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:36 Configure a credential helper to remove this warning. See 22:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:36 22:14:36 Login Succeeded 22:14:36 nexus3.edgexfoundry.org:10004 22:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:36 Configure a credential helper to remove this warning. See 22:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:36 22:14:36 Login Succeeded 22:14:36 docker.io 22:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:37 Configure a credential helper to remove this warning. See 22:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:37 22:14:37 Login Succeeded 22:14:37 ---> docker-login.sh ends [Pipeline] } 22:14:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:14:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:37 ========================================================= 22:14:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:14:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:14:38 Sending build context to Docker daemon 19.67MB 22:14:38 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:14:38 Step 2/13 : FROM ${BASE} AS builder 22:14:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:14:38 c41833b44d91: Pulling fs layer 22:14:38 ed15518f5707: Pulling fs layer 22:14:38 feae8fd75edb: Pulling fs layer 22:14:38 242c74f7c9fa: Pulling fs layer 22:14:38 3cdef696dda3: Pulling fs layer 22:14:38 2ced38df9373: Pulling fs layer 22:14:38 58f1dce35555: Pulling fs layer 22:14:38 242c74f7c9fa: Waiting 22:14:38 3cdef696dda3: Waiting 22:14:38 2ced38df9373: Waiting 22:14:38 58f1dce35555: Waiting 22:14:38 ed15518f5707: Verifying Checksum 22:14:38 ed15518f5707: Download complete 22:14:38 242c74f7c9fa: Verifying Checksum 22:14:38 242c74f7c9fa: Download complete 22:14:38 3cdef696dda3: Verifying Checksum 22:14:38 3cdef696dda3: Download complete 22:14:38 c41833b44d91: Verifying Checksum 22:14:38 c41833b44d91: Download complete 22:14:40 c41833b44d91: Pull complete 22:14:40 58f1dce35555: Verifying Checksum 22:14:40 58f1dce35555: Download complete 22:14:40 ed15518f5707: Pull complete 22:14:41 feae8fd75edb: Verifying Checksum 22:14:41 feae8fd75edb: Download complete 22:14:41 2ced38df9373: Verifying Checksum 22:14:41 2ced38df9373: Download complete 22:14:54 feae8fd75edb: Pull complete 22:14:54 242c74f7c9fa: Pull complete 22:14:54 3cdef696dda3: Pull complete 22:15:00 2ced38df9373: Pull complete 22:15:03 58f1dce35555: Pull complete 22:15:03 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:15:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:15:03 ---> fadd8f120f05 22:15:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:15:05 ---> Running in 67e8f28244ba 22:15:05 Removing intermediate container 67e8f28244ba 22:15:05 ---> 4c6e75840143 22:15:05 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:15:05 ---> Running in e67f11256547 22:15:06 Removing intermediate container e67f11256547 22:15:06 ---> 5bd16dda5a6d 22:15:06 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:15:06 ---> Running in 388431ca963c 22:15:07 Removing intermediate container 388431ca963c 22:15:07 ---> adf1f2dd61f7 22:15:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:15:07 ---> Running in d358b4e027a2 22:15:07 Removing intermediate container d358b4e027a2 22:15:07 ---> 03b6b0d54cd5 22:15:07 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:15:07 ---> Running in d1c2b5597057 22:15:08 Removing intermediate container d1c2b5597057 22:15:08 ---> d5475e77e738 22:15:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:15:08 ---> Running in 0d89e31f9c08 22:15:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:15:11 OK: 263 MiB in 53 packages 22:15:12 Removing intermediate container 0d89e31f9c08 22:15:12 ---> 456758b73f77 22:15:12 Step 9/13 : WORKDIR /device-onvif-camera 22:15:12 ---> Running in 678559c39ea3 22:15:12 Removing intermediate container 678559c39ea3 22:15:12 ---> 94363744caee 22:15:12 Step 10/13 : COPY go.mod vendor* ./ 22:15:13 ---> f3e89eb1f019 22:15:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:15:13 ---> Running in b2e1fef3d397 22:16:21 Removing intermediate container b2e1fef3d397 22:16:21 ---> d89c6680a90a 22:16:21 Step 12/13 : COPY . . 22:16:21 ---> 5dd8d5de22ff 22:16:21 Step 13/13 : RUN ${MAKE} 22:16:21 ---> Running in c67131116e19 22:16:21 noop 22:16:22 Removing intermediate container c67131116e19 22:16:22 ---> 857fd2a4d562 22:16:22 Successfully built 857fd2a4d562 22:16:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:23 + docker inspect -f . ci-base-image-arm64 22:16:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:23 prd-ubuntu20.04-docker-arm64-4c-16g-9576 does not seem to be running inside a container 22:16:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 22:16:24 $ docker top cfb100587d26f994aab14cf1d26fcc56564749432bec96b6446a8eee11003b30 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:25 + go version 22:16:25 go version go1.20.2 linux/arm64 [Pipeline] } 22:16:25 $ docker stop --time=1 cfb100587d26f994aab14cf1d26fcc56564749432bec96b6446a8eee11003b30 22:16:27 $ docker rm -f --volumes cfb100587d26f994aab14cf1d26fcc56564749432bec96b6446a8eee11003b30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:28 + docker inspect -f . ci-base-image-arm64 22:16:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:28 prd-ubuntu20.04-docker-arm64-4c-16g-9576 does not seem to be running inside a container 22:16:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 22:16:29 $ docker top 0355a4c69e1255f1fc1daa6559f7a5e44d2f8226e45213de381a8430a9aa81a2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:30 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 22:16:31 + make test 22:16:31 go test ./... -coverprofile=coverage.out ./... 22:17:10 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:20:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:20:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:20:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.205s coverage: 31.6% of statements 22:20:28 --- FAIL: TestIpGenerator (0.00s) 22:20:28 --- FAIL: TestIpGenerator/basic_/8_subnet (30.59s) 22:20:28 util_test.go:180: 22:20:28 Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:180 22:20:28 Error: Not equal: 22:20:28 expected: 0xfffffe 22:20:28 actual : 0xf8de33 22:20:28 Test: TestIpGenerator/basic_/8_subnet 22:20:28 util_test.go:183: 22:20:28 Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:183 22:20:28 Error: Not equal: 22:20:28 expected: "10.255.255.254" 22:20:28 actual : "10.248.222.51" 22:20:28 22:20:28 Diff: 22:20:28 --- Expected 22:20:28 +++ Actual 22:20:28 @@ -1 +1 @@ 22:20:28 -10.255.255.254 22:20:28 +10.248.222.51 22:20:28 Test: TestIpGenerator/basic_/8_subnet 22:20:28 FAIL 22:20:28 github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements 22:20:28 FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.840s 22:20:28 FAIL 22:20:28 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 22:20:28 $ docker stop --time=1 0355a4c69e1255f1fc1daa6559f7a5e44d2f8226e45213de381a8430a9aa81a2 22:20:30 $ docker rm -f --volumes 0355a4c69e1255f1fc1daa6559f7a5e44d2f8226e45213de381a8430a9aa81a2 [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 22:20:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:32 22:20:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:32 arm64: Pulling from edgex-lftools-log-publisher 22:20:32 8998bd30e6a1: Pulling fs layer 22:20:32 04944245beec: Pulling fs layer 22:20:32 699f458cf7ca: Pulling fs layer 22:20:32 765212b225bb: Pulling fs layer 22:20:32 f23df028b6ca: Pulling fs layer 22:20:32 d65c8cfc05b1: Pulling fs layer 22:20:32 2437ff75d9bd: Pulling fs layer 22:20:32 765212b225bb: Waiting 22:20:32 f23df028b6ca: Waiting 22:20:32 d65c8cfc05b1: Waiting 22:20:32 2437ff75d9bd: Waiting 22:20:32 04944245beec: Verifying Checksum 22:20:32 04944245beec: Download complete 22:20:32 765212b225bb: Verifying Checksum 22:20:32 765212b225bb: Download complete 22:20:32 f23df028b6ca: Download complete 22:20:32 d65c8cfc05b1: Verifying Checksum 22:20:32 d65c8cfc05b1: Download complete 22:20:32 699f458cf7ca: Verifying Checksum 22:20:32 699f458cf7ca: Download complete 22:20:33 8998bd30e6a1: Verifying Checksum 22:20:33 8998bd30e6a1: Download complete 22:20:36 2437ff75d9bd: Verifying Checksum 22:20:36 2437ff75d9bd: Download complete 22:20:37 8998bd30e6a1: Pull complete 22:20:38 04944245beec: Pull complete 22:20:39 699f458cf7ca: Pull complete 22:20:39 765212b225bb: Pull complete 22:20:40 f23df028b6ca: Pull complete 22:20:40 d65c8cfc05b1: Pull complete 22:20:55 2437ff75d9bd: Pull complete 22:20:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:20:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:55 prd-ubuntu20.04-docker-arm64-4c-16g-9576 does not seem to be running inside a container 22:20:56 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 22:20:58 $ docker top 2a25f03dcfd35007959ffec83ff63e4862ad0f1c4f69957acec8f44f0a3b2287 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:59 ---> job-cost.sh 22:20:59 lf-activate-venv: SKIPPING 22:20:59 INFO: No Stack... 22:21:00 INFO: Retrieving Pricing Info for: v3-standard-4 22:21:01 INFO: Archiving Costs [Pipeline] sh 22:21:02 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 22:21:02 + cut -d, -f6 [Pipeline] lock 22:21:02 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] 22:21:02 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] did not exist. Created. 22:21:02 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:21:03 /w/workspace/device-onvif-camera/2@tmp/durable-3f968565/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:21:03 + echo total: 0.10999999940395355 [Pipeline] stash 22:21:03 Warning: overwriting stash ‘stack-cost’ 22:21:04 Stashed 1 file(s) [Pipeline] } 22:21:04 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:21:04 $ docker stop --time=1 2a25f03dcfd35007959ffec83ff63e4862ad0f1c4f69957acec8f44f0a3b2287 22:21:05 $ docker rm -f --volumes 2a25f03dcfd35007959ffec83ff63e4862ad0f1c4f69957acec8f44f0a3b2287 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:21:06 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 22:21:06 + [ -d /w/workspace/undry_device-onvif-camera_PR-321/archives ] 22:21:06 + ls -al /w/workspace/undry_device-onvif-camera_PR-321/archives 22:21:06 total 16 22:21:06 drwxr-xr-x 3 root root 4096 Apr 24 22:13 . 22:21:06 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 22:13 .. 22:21:06 drwxr-xr-x 2 root root 4096 Apr 24 22:13 cost 22:21:06 -rw-r--r-- 1 root root 91 Apr 24 22:13 cost.csv 22:21:06 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-321/archives 22:21:06 + ls -al /w/workspace/undry_device-onvif-camera_PR-321/archives 22:21:06 total 16 22:21:06 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 22:13 . 22:21:06 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 22:13 .. 22:21:06 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 22:13 cost 22:21:06 -rw-r--r-- 1 jenkins jenkins 91 Apr 24 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:21:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:21:08 ---> package-listing.sh 22:21:08 ++ facter osfamily 22:21:08 ++ tr '[:upper:]' '[:lower:]' 22:21:08 + OS_FAMILY=debian 22:21:08 + workspace=/w/workspace/undry_device-onvif-camera_PR-321 22:21:08 + START_PACKAGES=/tmp/packages_start.txt 22:21:08 + END_PACKAGES=/tmp/packages_end.txt 22:21:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:21:08 + PACKAGES=/tmp/packages_start.txt 22:21:08 + '[' /w/workspace/undry_device-onvif-camera_PR-321 ']' 22:21:08 + PACKAGES=/tmp/packages_end.txt 22:21:08 + case "${OS_FAMILY}" in 22:21:08 + dpkg -l 22:21:08 + grep '^ii' 22:21:08 + '[' -f /tmp/packages_start.txt ']' 22:21:08 + '[' -f /tmp/packages_end.txt ']' 22:21:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:21:08 + '[' /w/workspace/undry_device-onvif-camera_PR-321 ']' 22:21:08 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-321/archives/ 22:21:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-321/archives/ [Pipeline] echo 22:21:08 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/undry_device-onvif-camera_PR-321/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:21:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:09 prd-ubuntu20.04-docker-8c-8g-9571 does not seem to be running inside a container 22:21:09 $ 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/undry_device-onvif-camera_PR-321/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@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 22:21:09 $ docker top dd41f53e8752dd56e556ce8695c56e67e62d07dee83ac8c24dd57f27b157bebd -eo pid,comm [Pipeline] { [Pipeline] sh 22:21:09 + touch /tmp/pre-build-complete [Pipeline] sh 22:21:10 + mkdir -p /var/log/sysstat [Pipeline] sh 22:21:10 + ls /var/log/sa-host 22:21:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:10 provisioning config files... 22:21:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-321@tmp/config15749420534998714926tmp [Pipeline] { [Pipeline] echo 22:21:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:21:10 ---> create-netrc.sh [Pipeline] } 22:21:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:21:11 ---> python-tools-install.sh [Pipeline] echo 22:21:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:21:11 ---> sudo-logs.sh 22:21:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:21:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:21:11 ---> job-cost.sh 22:21:11 lf-activate-venv: SKIPPING 22:21:11 DEBUG: total: 0.2199999988079071 22:21:11 INFO: Retrieving Stack Cost... 22:21:12 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:12 INFO: Archiving Costs [Pipeline] echo 22:21:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:21:13 ---> logs-deploy.sh 22:21:13 lf-activate-venv: SKIPPING 22:21:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-321/2 22:21:13 INFO: archiving workspace using pattern(s): 22:21:13 Archives upload complete. 22:21:13 INFO: archiving logs to Nexus