Pull request #421 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 171e2f29a70a6769be01c12fe0a8d4eecc2277c5+6e8cd5c7b327808cee3cdc8246778581b79512e2 (8d5e8bc871eccbc92e35b77a695d2cfe3d124534) 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-ssh9444169604088410257.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh13027306169937078784.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17815520540494335548.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8920571957332149038.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh11741613210442809006.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-421/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-421/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17492169448191817613.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/v3]] ========================================================= [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.21 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/v3 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-25856 in /w/workspace/undry_device-onvif-camera_PR-421 [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-421 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6e8cd5c7b327808cee3cdc8246778581b79512e2 into PR head commit 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 Merge succeeded, producing 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 Checking out Revision 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 (PR-421) > 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/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 # 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 6e8cd5c7b327808cee3cdc8246778581b79512e2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 # timeout=10 Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.3 to 4.11.4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:19:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:19:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:19:22 ========================================================= 03:19:22 EdgeX Global Pipelines Version Info 03:19:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:19:23 ------------------- 03:19:23 stable info: 03:19:23 ------------------- 03:19:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:19:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:19:23 Message: update stable to v1.0.258 03:19:23 ------------------- 03:19:23 experimental info: 03:19:23 ------------------- 03:19:23 Commited By: **** collab-it+edgex@linuxfoundation.org 03:19:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:19:23 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:19:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:19:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:19:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:19:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:19:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:19:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:19:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:19:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:19:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:19:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:19:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:19:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:19:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-421 [Pipeline] echo 03:19:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-421 [Pipeline] echo 03:19:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-421 [Pipeline] echo 03:19:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 [Pipeline] echo 03:19:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 171e2f2 [Pipeline] echo 03:19:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:19:26 provisioning config files... 03:19:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-421@tmp/config10407921937176603822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:26 ---> ****-login.sh 03:19:26 nexus3.edgexfoundry.org:10001 03:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:26 Configure a credential helper to remove this warning. See 03:19:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:26 03:19:26 Login Succeeded 03:19:26 nexus3.edgexfoundry.org:10002 03:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:26 Configure a credential helper to remove this warning. See 03:19:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:26 03:19:26 Login Succeeded 03:19:26 nexus3.edgexfoundry.org:10003 03:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:27 Configure a credential helper to remove this warning. See 03:19:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:27 03:19:27 Login Succeeded 03:19:27 nexus3.edgexfoundry.org:10004 03:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:27 Configure a credential helper to remove this warning. See 03:19:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:27 03:19:27 Login Succeeded 03:19:27 ****.io 03:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:27 Configure a credential helper to remove this warning. See 03:19:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:27 03:19:27 Login Succeeded 03:19:27 ---> ****-login.sh ends [Pipeline] } 03:19:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:19:28 + git rev-list -1 --merges 171e2f29a70a6769be01c12fe0a8d4eecc2277c5~1..171e2f29a70a6769be01c12fe0a8d4eecc2277c5 [Pipeline] echo 03:19:28 -----------> git rev-list -1 --merges 171e2f29a70a6769be01c12fe0a8d4eecc2277c5~1..171e2f29a70a6769be01c12fe0a8d4eecc2277c5 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 [false] [Pipeline] sh 03:19:28 + git log --format=format:%s -1 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 [Pipeline] echo 03:19:28 ========================================================= 03:19:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:19:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:19:29 + git log --format=format:%s -1 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 [Pipeline] echo 03:19:29 [semverPrep] GIT_COMMIT: 171e2f29a70a6769be01c12fe0a8d4eecc2277c5, Commit Message: build(deps): Bump github.com/labstack/echo/v4 from 4.11.3 to 4.11.4 [Pipeline] echo 03:19:29 [semverPrep] This is not a build commit. [Pipeline] sh 03:19:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:19:29 + grep -v github /etc/ssh/ssh_known_hosts 03:19:29 + [ -e /tmp/ssh_known_hosts ] 03:19:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:19:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:19:29 + sudo tee -a /etc/ssh/ssh_known_hosts 03:19:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:19:30 03:19:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:19:30 0.1.4: Pulling from edgex-devops/py-git-semver 03:19:30 b85a868b505f: Pulling fs layer 03:19:30 e2be974225ed: Pulling fs layer 03:19:30 339a4e72a1f5: Pulling fs layer 03:19:30 988bab9f4d93: Pulling fs layer 03:19:30 1469e6f7b9e6: Pulling fs layer 03:19:30 eaf3925da568: Pulling fs layer 03:19:30 bab4dde63d76: Pulling fs layer 03:19:30 bde34c3a00c8: Pulling fs layer 03:19:30 b352a97aabf1: Pulling fs layer 03:19:30 4872d77fe225: Pulling fs layer 03:19:30 5851b861e8e6: Pulling fs layer 03:19:30 eaf3925da568: Waiting 03:19:30 bab4dde63d76: Waiting 03:19:30 bde34c3a00c8: Waiting 03:19:30 b352a97aabf1: Waiting 03:19:30 988bab9f4d93: Waiting 03:19:30 1469e6f7b9e6: Waiting 03:19:30 4872d77fe225: Waiting 03:19:30 5851b861e8e6: Waiting 03:19:30 e2be974225ed: Verifying Checksum 03:19:30 e2be974225ed: Download complete 03:19:30 988bab9f4d93: Verifying Checksum 03:19:30 988bab9f4d93: Download complete 03:19:30 1469e6f7b9e6: Verifying Checksum 03:19:30 1469e6f7b9e6: Download complete 03:19:30 eaf3925da568: Verifying Checksum 03:19:30 eaf3925da568: Download complete 03:19:30 339a4e72a1f5: Verifying Checksum 03:19:30 339a4e72a1f5: Download complete 03:19:30 bde34c3a00c8: Download complete 03:19:30 b352a97aabf1: Verifying Checksum 03:19:30 b352a97aabf1: Download complete 03:19:30 4872d77fe225: Verifying Checksum 03:19:30 4872d77fe225: Download complete 03:19:30 5851b861e8e6: Verifying Checksum 03:19:30 5851b861e8e6: Download complete 03:19:30 b85a868b505f: Download complete 03:19:30 bab4dde63d76: Verifying Checksum 03:19:30 bab4dde63d76: Download complete 03:19:31 b85a868b505f: Pull complete 03:19:32 e2be974225ed: Pull complete 03:19:32 339a4e72a1f5: Pull complete 03:19:32 988bab9f4d93: Pull complete 03:19:32 1469e6f7b9e6: Pull complete 03:19:32 eaf3925da568: Pull complete 03:19:34 bab4dde63d76: Pull complete 03:19:34 bde34c3a00c8: Pull complete 03:19:34 b352a97aabf1: Pull complete 03:19:35 4872d77fe225: Pull complete 03:19:35 5851b861e8e6: Pull complete 03:19:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:19:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:19:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:35 prd-ubuntu20.04-docker-8c-8g-25856 does not seem to be running inside a container 03:19:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-421 -v /w/workspace/undry_device-onvif-camera_PR-421:/w/workspace/undry_device-onvif-camera_PR-421:rw,z -v /w/workspace/undry_device-onvif-camera_PR-421@tmp:/w/workspace/undry_device-onvif-camera_PR-421@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:19:38 $ docker top 54e0acd42c758e0e2f15e1fab70ddc9449817d5cb1d9e4ea7ea1e30adeaebaf2 -eo pid,comm 03:19:38 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). 03:19:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:19:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:19:39 [ssh-agent] Looking for ssh-agent implementation... 03:19:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:19:39 $ docker exec 54e0acd42c758e0e2f15e1fab70ddc9449817d5cb1d9e4ea7ea1e30adeaebaf2 ssh-agent 03:19:39 SSH_AUTH_SOCK=/tmp/ssh-x6IfT88wiFwj/agent.31 03:19:39 SSH_AGENT_PID=37 03:19:39 Running ssh-add (command line suppressed) 03:19:39 Identity added: /w/workspace/undry_device-onvif-camera_PR-421@tmp/private_key_8732059574215233170.key (/w/workspace/undry_device-onvif-camera_PR-421@tmp/private_key_8732059574215233170.key) 03:19:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:19:39 + git tag --points-at HEAD [Pipeline] } 03:19:39 $ docker exec --env ******** --env ******** 54e0acd42c758e0e2f15e1fab70ddc9449817d5cb1d9e4ea7ea1e30adeaebaf2 ssh-agent -k 03:19:40 unset SSH_AUTH_SOCK; 03:19:40 unset SSH_AGENT_PID; 03:19:40 echo Agent pid 37 killed; 03:19:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:19:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:19:40 [ssh-agent] Looking for ssh-agent implementation... 03:19:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:19:40 $ docker exec 54e0acd42c758e0e2f15e1fab70ddc9449817d5cb1d9e4ea7ea1e30adeaebaf2 ssh-agent 03:19:40 SSH_AUTH_SOCK=/tmp/ssh-hdt9o6yuY35B/agent.69 03:19:40 SSH_AGENT_PID=75 03:19:40 Running ssh-add (command line suppressed) 03:19:40 Identity added: /w/workspace/undry_device-onvif-camera_PR-421@tmp/private_key_7514250487466344769.key (/w/workspace/undry_device-onvif-camera_PR-421@tmp/private_key_7514250487466344769.key) 03:19:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:19:40 + git semver init 03:19:41 2023-12-21 03:19:41,061 [run_init] DEBUG init version:0.0.0 force:False 03:19:41 2023-12-21 03:19:41,061 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-421/.semver 03:19:41 2023-12-21 03:19:41,062 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-421/.semver 03:19:41 2023-12-21 03:19:41,062 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-421/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-421, universal_newlines=False, shell=None, istream=None) 03:19:43 2023-12-21 03:19:42,534 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-421/.git/info/exclude 03:19:43 2023-12-21 03:19:42,534 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-421/.semver/PR-421 with force:False 03:19:43 2023-12-21 03:19:42,534 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-421/.semver/PR-421 03:19:43 2023-12-21 03:19:42,537 [execute] INFO git cat-file --batch-check 03:19:43 2023-12-21 03:19:42,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-421/.semver, universal_newlines=False, shell=None, istream=) 03:19:43 2023-12-21 03:19:42,545 [execute] INFO git cat-file --batch 03:19:43 2023-12-21 03:19:42,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-421/.semver, universal_newlines=False, shell=None, istream=) 03:19:43 2023-12-21 03:19:42,550 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-421/.semver/PR-421 03:19:43 0.0.0 [Pipeline] } 03:19:43 $ docker exec --env ******** --env ******** 54e0acd42c758e0e2f15e1fab70ddc9449817d5cb1d9e4ea7ea1e30adeaebaf2 ssh-agent -k 03:19:43 unset SSH_AUTH_SOCK; 03:19:43 unset SSH_AGENT_PID; 03:19:43 echo Agent pid 75 killed; 03:19:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:19:43 + git semver [Pipeline] } 03:19:44 $ docker stop --time=1 54e0acd42c758e0e2f15e1fab70ddc9449817d5cb1d9e4ea7ea1e30adeaebaf2 03:19:45 $ docker rm -f --volumes 54e0acd42c758e0e2f15e1fab70ddc9449817d5cb1d9e4ea7ea1e30adeaebaf2 [Pipeline] // withDockerContainer [Pipeline] sh 03:19:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:19:46 Stashed 1 file(s) [Pipeline] echo 03:19:46 [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 03:19:47 provisioning config files... 03:19:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-421@tmp/config340153203858992393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:47 ---> ****-login.sh 03:19:47 nexus3.edgexfoundry.org:10001 03:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:47 Configure a credential helper to remove this warning. See 03:19:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:47 03:19:47 Login Succeeded 03:19:47 nexus3.edgexfoundry.org:10002 03:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:47 Configure a credential helper to remove this warning. See 03:19:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:47 03:19:47 Login Succeeded 03:19:47 nexus3.edgexfoundry.org:10003 03:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:47 Configure a credential helper to remove this warning. See 03:19:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:47 03:19:47 Login Succeeded 03:19:47 nexus3.edgexfoundry.org:10004 03:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:47 Configure a credential helper to remove this warning. See 03:19:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:47 03:19:47 Login Succeeded 03:19:47 ****.io 03:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:48 Configure a credential helper to remove this warning. See 03:19:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:48 03:19:48 Login Succeeded 03:19:48 ---> ****-login.sh ends [Pipeline] } 03:19:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:19:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:19:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:19:48 ========================================================= 03:19:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:19:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:19:49 Sending build context to Docker daemon 34.21MB 03:19:49 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:19:49 Step 2/13 : FROM ${BASE} AS builder 03:19:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:19:49 7264a8db6415: Pulling fs layer 03:19:49 c4d48a809fc2: Pulling fs layer 03:19:49 4f1c88b9dad5: Pulling fs layer 03:19:49 ad3a456e5733: Pulling fs layer 03:19:49 69c7f0334f64: Pulling fs layer 03:19:49 1f1c1a5573a3: Pulling fs layer 03:19:49 ce7588e14bc9: Pulling fs layer 03:19:49 b5e4710f87ac: Pulling fs layer 03:19:49 ad3a456e5733: Waiting 03:19:49 69c7f0334f64: Waiting 03:19:49 1f1c1a5573a3: Waiting 03:19:49 ce7588e14bc9: Waiting 03:19:49 b5e4710f87ac: Waiting 03:19:49 c4d48a809fc2: Verifying Checksum 03:19:49 c4d48a809fc2: Download complete 03:19:49 ad3a456e5733: Verifying Checksum 03:19:49 ad3a456e5733: Download complete 03:19:49 69c7f0334f64: Verifying Checksum 03:19:49 69c7f0334f64: Download complete 03:19:49 7264a8db6415: Verifying Checksum 03:19:49 7264a8db6415: Download complete 03:19:49 1f1c1a5573a3: Verifying Checksum 03:19:49 1f1c1a5573a3: Download complete 03:19:49 7264a8db6415: Pull complete 03:19:50 c4d48a809fc2: Pull complete 03:19:50 b5e4710f87ac: Verifying Checksum 03:19:50 b5e4710f87ac: Download complete 03:19:50 4f1c88b9dad5: Download complete 03:19:50 ce7588e14bc9: Verifying Checksum 03:19:50 ce7588e14bc9: Download complete 03:19:54 4f1c88b9dad5: Pull complete 03:19:54 ad3a456e5733: Pull complete 03:19:54 69c7f0334f64: Pull complete 03:19:54 1f1c1a5573a3: Pull complete 03:19:56 ce7588e14bc9: Pull complete 03:19:56 b5e4710f87ac: Pull complete 03:19:56 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 03:19:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:19:56 ---> 88b5674ff536 03:19:56 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:20:00 ---> Running in 1cc2c6854adb 03:20:00 Removing intermediate container 1cc2c6854adb 03:20:00 ---> e276d08d75e2 03:20:00 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:20:00 ---> Running in 4e37100385d7 03:20:00 Removing intermediate container 4e37100385d7 03:20:00 ---> bbca4637ec50 03:20:00 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:20:00 ---> Running in f6d34af042c4 03:20:00 Removing intermediate container f6d34af042c4 03:20:00 ---> bb0c7b23ca01 03:20:00 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:20:00 ---> Running in 4a5b9f69e818 03:20:01 Removing intermediate container 4a5b9f69e818 03:20:01 ---> 674d0065c204 03:20:01 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:20:01 ---> Running in e34226d28b7b 03:20:01 Removing intermediate container e34226d28b7b 03:20:01 ---> f80f4eef11fa 03:20:01 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:20:01 ---> Running in 5eb0396de23d 03:20:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:20:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:20:01 Still waiting to schedule task 03:20:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:20:01 OK: 264 MiB in 52 packages 03:20:02 Removing intermediate container 5eb0396de23d 03:20:02 ---> 4521d5bb5d89 03:20:02 Step 9/13 : WORKDIR /device-onvif-camera 03:20:02 ---> Running in 9422c2423bd2 03:20:02 Removing intermediate container 9422c2423bd2 03:20:02 ---> c8c603335ba2 03:20:02 Step 10/13 : COPY go.mod vendor* ./ 03:20:02 ---> 5ade217d9d0e 03:20:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:20:02 ---> Running in 27ef02ba86f4 03:20:41 Removing intermediate container 27ef02ba86f4 03:20:41 ---> 634eff21db6f 03:20:41 Step 12/13 : COPY . . 03:20:41 ---> aa49b490294e 03:20:41 Step 13/13 : RUN ${MAKE} 03:20:41 ---> Running in b528ca1d450e 03:20:41 noop 03:20:41 Removing intermediate container b528ca1d450e 03:20:41 ---> a4f2f3bcd20c 03:20:41 Successfully built a4f2f3bcd20c 03:20:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:41 + docker inspect -f . ci-base-image-x86_64 03:20:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:20:41 prd-ubuntu20.04-docker-8c-8g-25856 does not seem to be running inside a container 03:20:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-421 -v /w/workspace/undry_device-onvif-camera_PR-421:/w/workspace/undry_device-onvif-camera_PR-421:rw,z -v /w/workspace/undry_device-onvif-camera_PR-421@tmp:/w/workspace/undry_device-onvif-camera_PR-421@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 ******** ci-base-image-x86_64 cat 03:20:42 $ docker top 6d73341fb6aced5891e1c2a34fef92dde4564a8505634309eb2371672f270624 -eo pid,comm [Pipeline] { [Pipeline] sh 03:20:42 + go version 03:20:42 go version go1.21.0 linux/amd64 [Pipeline] } 03:20:42 $ docker stop --time=1 6d73341fb6aced5891e1c2a34fef92dde4564a8505634309eb2371672f270624 03:20:44 $ docker rm -f --volumes 6d73341fb6aced5891e1c2a34fef92dde4564a8505634309eb2371672f270624 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:45 + docker inspect -f . ci-base-image-x86_64 03:20:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:20:45 prd-ubuntu20.04-docker-8c-8g-25856 does not seem to be running inside a container 03:20:45 $ 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-421 -v /w/workspace/undry_device-onvif-camera_PR-421:/w/workspace/undry_device-onvif-camera_PR-421:rw,z -v /w/workspace/undry_device-onvif-camera_PR-421@tmp:/w/workspace/undry_device-onvif-camera_PR-421@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 ******** ci-base-image-x86_64 cat 03:20:45 $ docker top 10404f34bd13cd5cd1b3b0bbf66f4b589532057f5be1aff0c5821aff9107f633 -eo pid,comm [Pipeline] { [Pipeline] sh 03:20:46 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-421 [Pipeline] fileExists [Pipeline] sh 03:20:46 + make test 03:20:46 go test ./... -coverprofile=coverage.out ./... 03:20:47 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:20:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:20:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:21:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.5% of statements 03:21:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.151s coverage: 86.5% of statements 03:21:08 go vet ./... 03:21:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:21:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:21:11 ./bin/test-attribution-txt.sh [Pipeline] echo 03:21:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:21:11 $ docker stop --time=1 10404f34bd13cd5cd1b3b0bbf66f4b589532057f5be1aff0c5821aff9107f633 03:21:14 $ docker rm -f --volumes 10404f34bd13cd5cd1b3b0bbf66f4b589532057f5be1aff0c5821aff9107f633 [Pipeline] // withDockerContainer [Pipeline] sh 03:21:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:21:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:21:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:21:16 + ls -al . 03:21:16 total 240 03:21:16 drwxrwxr-x 9 jenkins jenkins 4096 Dec 21 03:20 . 03:21:16 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:19 .. 03:21:16 drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 03:21 .git 03:21:16 drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 03:19 .github 03:21:16 -rw-rw-r-- 1 jenkins jenkins 493 Dec 21 03:19 .gitignore 03:21:16 -rw-rw-r-- 1 jenkins jenkins 42 Dec 21 03:19 .golangci.yml 03:21:16 drwxr-xr-x 3 jenkins jenkins 4096 Dec 21 03:19 .semver 03:21:16 -rw-rw-r-- 1 jenkins jenkins 11155 Dec 21 03:19 Attribution.txt 03:21:16 -rw-rw-r-- 1 jenkins jenkins 17665 Dec 21 03:19 CHANGELOG.md 03:21:16 -rw-rw-r-- 1 jenkins jenkins 1683 Dec 21 03:19 Dockerfile 03:21:16 -rw-rw-r-- 1 jenkins jenkins 677 Dec 21 03:19 GOVERNANCE.md 03:21:16 -rw-rw-r-- 1 jenkins jenkins 739 Dec 21 03:19 Jenkinsfile 03:21:16 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 21 03:19 LICENSE 03:21:16 -rw-rw-r-- 1 jenkins jenkins 2883 Dec 21 03:19 Makefile 03:21:16 -rw-rw-r-- 1 jenkins jenkins 625 Dec 21 03:19 OWNERS.md 03:21:16 -rw-rw-r-- 1 jenkins jenkins 2620 Dec 21 03:19 README.md 03:21:16 -rw-rw-r-- 1 jenkins jenkins 5 Dec 21 03:19 VERSION 03:21:16 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 03:19 bin 03:21:16 drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 03:19 cmd 03:21:16 -rw-r--r-- 1 jenkins jenkins 78456 Dec 21 03:21 coverage.out 03:21:16 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:19 doc 03:21:16 -rw-rw-r-- 1 jenkins jenkins 4082 Dec 21 03:19 go.mod 03:21:16 -rw-rw-r-- 1 jenkins jenkins 35187 Dec 21 03:19 go.sum 03:21:16 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:19 internal 03:21:16 -rw-rw-r-- 1 jenkins jenkins 236 Dec 21 03:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21: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=171e2f29a70a6769be01c12fe0a8d4eecc2277c5 --label arch=amd64 --label version=0.0.0 . 03:21:16 Sending build context to Docker daemon 34.29MB 03:21:16 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:21:16 Step 2/27 : FROM ${BASE} AS builder 03:21:16 ---> a4f2f3bcd20c 03:21:16 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:21:17 ---> Running in 90df96fd05fc 03:21:17 Removing intermediate container 90df96fd05fc 03:21:17 ---> fcae269f850c 03:21:17 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:21:17 ---> Running in ba9ad58c831a 03:21:17 Removing intermediate container ba9ad58c831a 03:21:17 ---> a2302d6d3ac6 03:21:17 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:21:17 ---> Running in ae747f9726d8 03:21:17 Removing intermediate container ae747f9726d8 03:21:17 ---> 54a88639ceed 03:21:17 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:21:17 ---> Running in fdf0b5c58d73 03:21:17 Removing intermediate container fdf0b5c58d73 03:21:17 ---> 97852e2f662e 03:21:17 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:21:17 ---> Running in 5b2f0140fae4 03:21:17 Removing intermediate container 5b2f0140fae4 03:21:17 ---> 8bfcfc65abc4 03:21:17 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:21:17 ---> Running in 45c8c7c8486a 03:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:21:18 OK: 264 MiB in 52 packages 03:21:18 Removing intermediate container 45c8c7c8486a 03:21:18 ---> 28c87c94f708 03:21:18 Step 9/27 : WORKDIR /device-onvif-camera 03:21:18 ---> Running in d3247cc686ec 03:21:18 Removing intermediate container d3247cc686ec 03:21:18 ---> e8033cedbd10 03:21:18 Step 10/27 : COPY go.mod vendor* ./ 03:21:18 ---> 5dc7b93f842f 03:21:18 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:21:18 ---> Running in a6dfe93e7de9 03:21:19 Removing intermediate container a6dfe93e7de9 03:21:19 ---> 5980a3451390 03:21:19 Step 12/27 : COPY . . 03:21:20 ---> 1d2c2248baf5 03:21:20 Step 13/27 : RUN ${MAKE} 03:21:20 ---> Running in 21e30d848592 03:21:20 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:21:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25857 in /w/workspace/undry_device-onvif-camera_PR-421 [Pipeline] { [Pipeline] ws 03:21:37 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:21:41 The recommended git tool is: git 03:21:42 Removing intermediate container 21e30d848592 03:21:42 ---> fc15d06605d8 03:21:42 Step 14/27 : FROM alpine:3.18 03:21:42 3.18: Pulling from library/alpine 03:21:42 c926b61bad3b: Pulling fs layer 03:21:42 c926b61bad3b: Verifying Checksum 03:21:42 c926b61bad3b: Download complete 03:21:42 c926b61bad3b: Pull complete 03:21:42 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 03:21:42 Status: Downloaded newer image for alpine:3.18 03:21:42 ---> b541f2080109 03:21:42 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:21:42 ---> Running in 5638bcf539c9 03:21:42 Removing intermediate container 5638bcf539c9 03:21:42 ---> 03955bd64f6f 03:21:42 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:21:42 ---> Running in 1907e39d787a 03:21:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:21:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:21:42 (1/1) Installing dumb-init (1.2.5-r2) 03:21:42 Executing busybox-1.36.1-r5.trigger 03:21:42 OK: 7 MiB in 16 packages 03:21:42 Removing intermediate container 1907e39d787a 03:21:42 ---> 545c57179222 03:21:42 Step 17/27 : RUN apk --no-cache upgrade 03:21:42 ---> Running in bd0524a06c87 03:21:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:21:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:21:42 OK: 7 MiB in 16 packages 03:21:42 Removing intermediate container bd0524a06c87 03:21:42 ---> fdec5d0ae93d 03:21:42 Step 18/27 : WORKDIR / 03:21:42 ---> Running in 29dd50ccd842 03:21:42 Removing intermediate container 29dd50ccd842 03:21:42 ---> 0e84e8f6327b 03:21:42 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:21:43 ---> 79448afb0231 03:21:43 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:21:43 ---> bb23adf641f2 03:21:43 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:21:43 ---> 786eafa9ad5a 03:21:43 Step 22/27 : EXPOSE 59984 03:21:43 ---> Running in 8645f490c60c 03:21:43 Removing intermediate container 8645f490c60c 03:21:43 ---> e93388ffb268 03:21:43 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:21:43 ---> Running in ec4f30d8541a 03:21:43 Removing intermediate container ec4f30d8541a 03:21:43 ---> f782b8d6fb3f 03:21:43 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:21:43 ---> Running in 02867e9e760f 03:21:43 Removing intermediate container 02867e9e760f 03:21:43 ---> bd74cae37865 03:21:43 Step 25/27 : LABEL arch=amd64 03:21:43 ---> Running in ed050a28b69d 03:21:44 Removing intermediate container ed050a28b69d 03:21:44 ---> 2e5ff8cc3f44 03:21:44 Step 26/27 : LABEL git_sha=171e2f29a70a6769be01c12fe0a8d4eecc2277c5 03:21:44 ---> Running in df151673f80c 03:21:44 Removing intermediate container df151673f80c 03:21:44 ---> d83d53f6ab2e 03:21:44 Step 27/27 : LABEL version=0.0.0 03:21:44 ---> Running in 9d2c135b16d4 03:21:44 Removing intermediate container 9d2c135b16d4 03:21:44 ---> 52063bedf4c3 03:21:44 [Warning] One or more build-args [ARCH] were not consumed 03:21:44 Successfully built 52063bedf4c3 03:21: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 03:21:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:21:45 03:21:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:21:45 latest: Pulling from edgex-lftools-log-publisher 03:21:45 5eb5b503b376: Pulling fs layer 03:21:45 5c69ac0246d0: Pulling fs layer 03:21:45 ec43610c2a17: Pulling fs layer 03:21:45 3a2ae6a8a46f: Pulling fs layer 03:21:45 33b1e0a273af: Pulling fs layer 03:21:45 5d3b04190fa2: Pulling fs layer 03:21:45 2f39f015ded8: Pulling fs layer 03:21:45 33b1e0a273af: Waiting 03:21:45 5d3b04190fa2: Waiting 03:21:45 2f39f015ded8: Waiting 03:21:45 3a2ae6a8a46f: Waiting 03:21:45 5c69ac0246d0: Download complete 03:21:45 3a2ae6a8a46f: Download complete 03:21:45 33b1e0a273af: Verifying Checksum 03:21:45 33b1e0a273af: Download complete 03:21:45 5d3b04190fa2: Verifying Checksum 03:21:45 5d3b04190fa2: Download complete 03:21:45 ec43610c2a17: Verifying Checksum 03:21:45 ec43610c2a17: Download complete 03:21:46 using credential edgex-jenkins-ssh 03:21:46 Cloning the remote Git repository 03:21:46 5eb5b503b376: Verifying Checksum 03:21:46 5eb5b503b376: Download complete 03:21:46 2f39f015ded8: Download complete 03:21:46 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:21:46 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:21:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:21:46 > git --version # timeout=10 03:21:46 > git --version # 'git version 2.25.1' 03:21:46 using GIT_SSH to set credentials SSH Credentials for GitHub 03:21:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:21:47 5eb5b503b376: Pull complete 03:21:47 5c69ac0246d0: Pull complete 03:21:47 ec43610c2a17: Pull complete 03:21:47 3a2ae6a8a46f: Pull complete 03:21:48 33b1e0a273af: Pull complete 03:21:48 5d3b04190fa2: Pull complete 03:21:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:21:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:21:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:21:50 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:21:50 using GIT_SSH to set credentials SSH Credentials for GitHub 03:21:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:21:51 Merging remotes/origin/main commit 6e8cd5c7b327808cee3cdc8246778581b79512e2 into PR head commit 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 03:21:51 Merge succeeded, producing 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 03:21:51 Checking out Revision 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 (PR-421) 03:21:52 Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.3 to 4.11.4" 03:21:52 > git --version # timeout=10 03:21:52 > git --version # 'git version 2.25.1' 03:21:52 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:21:52 2f39f015ded8: Pull complete 03:21:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:21:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:21:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv 03:21:51 > git config core.sparsecheckout # timeout=10 03:21:51 > git checkout -f 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 # timeout=10 03:21:51 > git remote # timeout=10 03:21:51 > git config --get remote.origin.url # timeout=10 03:21:51 using GIT_SSH to set credentials SSH Credentials for GitHub 03:21:51 > git merge 6e8cd5c7b327808cee3cdc8246778581b79512e2 # timeout=10 03:21:51 > git rev-parse HEAD^{commit} # timeout=10 03:21:51 > git config core.sparsecheckout # timeout=10 03:21:51 > git checkout -f 171e2f29a70a6769be01c12fe0a8d4eecc2277c5 # timeout=10 [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:21:52 prd-ubuntu20.04-docker-8c-8g-25856 does not seem to be running inside a container 03:21: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-421 -v /w/workspace/undry_device-onvif-camera_PR-421:/w/workspace/undry_device-onvif-camera_PR-421:rw,z -v /w/workspace/undry_device-onvif-camera_PR-421@tmp:/w/workspace/undry_device-onvif-camera_PR-421@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-lftools-log-publisher:latest cat 03:21:52 03:21:52 GitHub has been notified of this commit’s build result 03:21:52 03:21:56 $ docker top 817b6e393c1aa0640d42d69479b89faa78b658e444f12fdedd1d4e71be58b05b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 03:21:57 ---> job-cost.sh 03:21:57 lf-activate-venv: SKIPPING 03:21:57 INFO: No Stack... [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 03:21:57 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 03:21:58 INFO: Archiving Costs [Pipeline] sh 03:21:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:21:58 % Total % Received % Xferd Average Speed Time Time Time Current 03:21:58 Dload Upload Total Spent Left Speed 03:21:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 95353 0 --:--:-- --:--:-- --:--:-- 95353 [Pipeline] sh 03:21:58 + cat /w/workspace/undry_device-onvif-camera_PR-421/archives/cost.csv 03:21:58 + cut -d, -f6 [Pipeline] lock 03:21:58 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-421-1-stack-cost] 03:21:58 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-421-1-stack-cost] did not exist. Created. 03:21:58 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash 03:21:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] sh 03:21:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:21:59 + sudo tee /etc/docker/daemon.new 03:21:59 { 03:21:59 "registry-mirrors": [ 03:21:59 "https://nexus3.edgexfoundry.org:10001" 03:21:59 ], 03:21:59 "bip": "10.250.0.254/24", 03:21:59 "hosts": [ 03:21:59 "tcp://0.0.0.0:5555", 03:21:59 "unix:///var/run/docker.sock" 03:21:59 ], 03:21:59 "mtu": 1458, 03:21:59 "selinux-enabled": true, 03:21:59 "seccomp-profile": "/etc/docker/seccomp.json" 03:21:59 } [Pipeline] sh 03:21:59 + echo total: 0.2199999988079071 [Pipeline] stash 03:21:59 Stashed 1 file(s) [Pipeline] } 03:21:59 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-421-1-stack-cost] 03:21:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // lock [Pipeline] } 03:21:59 $ docker stop --time=1 817b6e393c1aa0640d42d69479b89faa78b658e444f12fdedd1d4e71be58b05b 03:22:00 $ docker rm -f --volumes 817b6e393c1aa0640d42d69479b89faa78b658e444f12fdedd1d4e71be58b05b [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 03:22:01 + sudo service docker restart [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:22:23 provisioning config files... 03:22:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config10736004841874344960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:23 ---> ****-login.sh 03:22:23 nexus3.edgexfoundry.org:10001 03:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:24 Configure a credential helper to remove this warning. See 03:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:24 03:22:24 Login Succeeded 03:22:24 nexus3.edgexfoundry.org:10002 03:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:24 Configure a credential helper to remove this warning. See 03:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:24 03:22:24 Login Succeeded 03:22:24 nexus3.edgexfoundry.org:10003 03:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:24 Configure a credential helper to remove this warning. See 03:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:24 03:22:24 Login Succeeded 03:22:24 nexus3.edgexfoundry.org:10004 03:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:24 Configure a credential helper to remove this warning. See 03:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:24 03:22:24 Login Succeeded 03:22:24 ****.io 03:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:25 Configure a credential helper to remove this warning. See 03:22:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:25 03:22:25 Login Succeeded 03:22:25 ---> ****-login.sh ends [Pipeline] } 03:22:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:22:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:22:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:22:26 ========================================================= 03:22:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:22:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:22:27 #0 building with "default" instance using docker driver 03:22:27 03:22:27 #1 [internal] load .dockerignore 03:22:28 #1 transferring context: 2B done 03:22:28 #1 DONE 0.1s 03:22:28 03:22:28 #2 [internal] load build definition from Dockerfile 03:22:28 #2 transferring dockerfile: 1.72kB done 03:22:28 #2 DONE 0.1s 03:22:28 03:22:28 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:22:28 #3 DONE 0.1s 03:22:28 03:22:28 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 03:22:28 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 03:22:28 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 03:22:28 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.96MB / 3.33MB 0.1s 03:22:28 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 03:22:28 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 03:22:28 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 155.65kB / 286.30kB 0.1s 03:22:28 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 03:22:28 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 03:22:28 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 03:22:28 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 03:22:28 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.53MB / 63.99MB 0.4s 03:22:28 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.87MB / 97.63MB 0.4s 03:22:28 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 03:22:28 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 03:22:28 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.24MB / 63.99MB 0.5s 03:22:28 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.5s 03:22:28 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.97MB / 63.99MB 0.6s 03:22:28 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 14.68MB / 97.63MB 0.6s 03:22:28 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.6s 03:22:28 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s 03:22:28 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 28.45MB / 63.99MB 0.8s 03:22:28 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.6s done 03:22:28 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 22.02MB / 97.63MB 0.8s 03:22:28 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 03:22:29 #4 ... 03:22:29 03:22:29 #5 [internal] load build context 03:22:29 #5 transferring context: 20.32MB 0.9s done 03:22:29 #5 DONE 0.9s 03:22:29 03:22:29 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 03:22:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.80MB / 63.99MB 1.0s 03:22:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 31.46MB / 97.63MB 1.0s 03:22:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.99MB / 63.99MB 1.1s 03:22:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.70MB / 97.63MB 1.1s 03:22:29 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s 03:22:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.26MB / 63.99MB 1.2s 03:22:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 41.94MB / 97.63MB 1.2s 03:22:29 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 03:22:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 59.77MB / 63.99MB 1.4s 03:22:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.4s 03:22:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 03:22:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 64.17MB / 97.63MB 1.6s 03:22:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 69.85MB / 97.63MB 1.7s 03:22:30 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 03:22:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.74MB / 97.63MB 1.9s 03:22:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 96.47MB / 97.63MB 2.2s 03:22:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 4.9s done 03:22:36 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.9s 03:22:41 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.2s 03:22:48 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.2s done 03:22:48 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 03:22:48 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 03:22:48 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s 03:22:54 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 03:22:57 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.7s done 03:22:57 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 03:22:59 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.9s done 03:23:02 #4 DONE 33.3s 03:23:02 03:23:02 #6 [builder 2/7] RUN apk add --no-cache make git 03:23:02 #6 0.730 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:23:02 #6 1.114 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:23:03 #6 2.099 OK: 266 MiB in 52 packages 03:23:05 #6 DONE 3.7s 03:23:05 03:23:05 #7 [builder 3/7] WORKDIR /device-onvif-camera 03:23:05 #7 DONE 0.1s 03:23:05 03:23:05 #8 [builder 4/7] COPY go.mod vendor* ./ 03:23:05 #8 DONE 0.1s 03:23:05 03:23:05 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:23:32 #9 DONE 25.7s 03:23:32 03:23:32 #10 [builder 6/7] COPY . . 03:23:32 #10 DONE 0.4s 03:23:32 03:23:32 #11 [builder 7/7] RUN echo noop 03:23:32 #11 0.601 noop 03:23:32 #11 DONE 0.7s 03:23:32 03:23:32 #12 exporting to image 03:23:32 #12 exporting layers 03:23:59 #12 exporting layers 22.8s done 03:23:59 #12 writing image sha256:4766e3f1b3e7c6177bd542db646e731ebe6bef4e44bb4ff161dbae09aa8332ce done 03:23:59 #12 naming to docker.io/library/ci-base-image-arm64 done 03:23:59 #12 DONE 22.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:59 + docker inspect -f . ci-base-image-arm64 03:23:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:00 prd-ubuntu20.04-docker-arm64-4c-16g-25857 does not seem to be running inside a container 03:24:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 03:24:01 $ docker top a3be1346b3075153b1bc2fec4e030f5082c1197a0da99b9d6d0b1f5b2dd181bc -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:01 + go version 03:24:02 go version go1.21.0 linux/arm64 [Pipeline] } 03:24:02 $ docker stop --time=1 a3be1346b3075153b1bc2fec4e030f5082c1197a0da99b9d6d0b1f5b2dd181bc 03:24:03 $ docker rm -f --volumes a3be1346b3075153b1bc2fec4e030f5082c1197a0da99b9d6d0b1f5b2dd181bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:04 + docker inspect -f . ci-base-image-arm64 03:24:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:05 prd-ubuntu20.04-docker-arm64-4c-16g-25857 does not seem to be running inside a container 03:24:05 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 03:24:06 $ docker top 70af828b764227219b5d77abd7006d5f9aaa6d1fbdd3d5fc38242145d940e03b -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:06 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:24:07 + make test 03:24:07 go test ./... -coverprofile=coverage.out ./... 03:24:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:25:07 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:25:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:25:07 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.157s coverage: 31.5% of statements 03:25:30 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.401s coverage: 86.5% of statements 03:25:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:25:30 go vet ./... 03:25:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:25:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:25:45 ./bin/test-attribution-txt.sh [Pipeline] echo 03:25:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:25:45 $ docker stop --time=1 70af828b764227219b5d77abd7006d5f9aaa6d1fbdd3d5fc38242145d940e03b 03:25:46 $ docker rm -f --volumes 70af828b764227219b5d77abd7006d5f9aaa6d1fbdd3d5fc38242145d940e03b [Pipeline] // withDockerContainer [Pipeline] sh 03:25:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:25:48 Warning: overwriting stash ‘coverage-report’ 03:25:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:25:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:25:49 + ls -al . 03:25:49 total 236 03:25:49 drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 03:24 . 03:25:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:21 .. 03:25:49 drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 03:21 .git 03:25:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 03:21 .github 03:25:49 -rw-rw-r-- 1 jenkins jenkins 493 Dec 21 03:21 .gitignore 03:25:49 -rw-rw-r-- 1 jenkins jenkins 42 Dec 21 03:21 .golangci.yml 03:25:49 -rw-rw-r-- 1 jenkins jenkins 11155 Dec 21 03:21 Attribution.txt 03:25:49 -rw-rw-r-- 1 jenkins jenkins 17665 Dec 21 03:21 CHANGELOG.md 03:25:49 -rw-rw-r-- 1 jenkins jenkins 1683 Dec 21 03:21 Dockerfile 03:25:49 -rw-rw-r-- 1 jenkins jenkins 677 Dec 21 03:21 GOVERNANCE.md 03:25:49 -rw-rw-r-- 1 jenkins jenkins 739 Dec 21 03:21 Jenkinsfile 03:25:49 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 21 03:21 LICENSE 03:25:49 -rw-rw-r-- 1 jenkins jenkins 2883 Dec 21 03:21 Makefile 03:25:49 -rw-rw-r-- 1 jenkins jenkins 625 Dec 21 03:21 OWNERS.md 03:25:49 -rw-rw-r-- 1 jenkins jenkins 2620 Dec 21 03:21 README.md 03:25:49 -rw-rw-r-- 1 jenkins jenkins 5 Dec 21 03:19 VERSION 03:25:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 03:21 bin 03:25:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 03:21 cmd 03:25:49 -rw-r--r-- 1 jenkins jenkins 78456 Dec 21 03:25 coverage.out 03:25:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:21 doc 03:25:49 -rw-rw-r-- 1 jenkins jenkins 4082 Dec 21 03:21 go.mod 03:25:49 -rw-rw-r-- 1 jenkins jenkins 35187 Dec 21 03:21 go.sum 03:25:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:21 internal 03:25:49 -rw-rw-r-- 1 jenkins jenkins 236 Dec 21 03:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:50 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=171e2f29a70a6769be01c12fe0a8d4eecc2277c5 --label arch=arm64 --label version=0.0.0 . 03:25:51 #0 building with "default" instance using docker driver 03:25:51 03:25:51 #1 [internal] load build definition from Dockerfile 03:25:51 #1 transferring dockerfile: 1.72kB done 03:25:51 #1 DONE 0.0s 03:25:51 03:25:51 #2 [internal] load .dockerignore 03:25:51 #2 transferring context: 2B done 03:25:51 #2 DONE 0.0s 03:25:51 03:25:51 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 03:25:51 #3 DONE 0.0s 03:25:51 03:25:51 #4 [internal] load metadata for docker.io/library/alpine:3.18 03:25:51 #4 DONE 0.2s 03:25:51 03:25:51 #5 [internal] load build context 03:25:51 #5 transferring context: 88.44kB 0.1s done 03:25:51 #5 DONE 0.1s 03:25:51 03:25:51 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 03:25:51 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 03:25:51 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 03:25:51 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 03:25:51 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 03:25:51 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 03:25:51 #6 ... 03:25:51 03:25:51 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 03:25:51 #7 DONE 0.2s 03:25:51 03:25:51 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 03:25:51 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 03:25:51 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 03:25:52 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 03:25:52 #6 DONE 0.9s 03:25:52 03:25:52 #8 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 03:25:53 #8 0.690 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:25:53 #8 1.018 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:25:54 #8 1.998 (1/1) Installing dumb-init (1.2.5-r2) 03:25:54 #8 2.018 Executing busybox-1.36.1-r5.trigger 03:25:54 #8 2.043 OK: 8 MiB in 16 packages 03:25:57 #8 DONE 5.0s 03:25:57 03:25:57 #9 [builder 2/7] RUN apk add --no-cache make git 03:25:57 #9 0.684 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:25:57 #9 1.141 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:25:57 #9 2.209 OK: 266 MiB in 52 packages 03:25:57 #9 DONE 5.8s 03:25:57 03:25:57 #10 [builder 3/7] WORKDIR /device-onvif-camera 03:25:57 #10 DONE 0.1s 03:25:57 03:25:57 #11 [stage-1 3/7] RUN apk --no-cache upgrade 03:25:57 #11 ... 03:25:57 03:25:57 #12 [builder 4/7] COPY go.mod vendor* ./ 03:25:57 #12 DONE 0.2s 03:25:57 03:25:57 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:25:59 #13 DONE 1.7s 03:25:59 03:25:59 #14 [builder 6/7] COPY . . 03:25:59 #14 DONE 0.5s 03:25:59 03:25:59 #15 [builder 7/7] RUN make build 03:26:00 #15 ... 03:26:00 03:26:00 #11 [stage-1 3/7] RUN apk --no-cache upgrade 03:26:00 #11 1.097 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:26:00 #11 1.417 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:26:00 #11 2.485 OK: 8 MiB in 16 packages 03:26:00 #11 DONE 2.7s 03:26:00 03:26:00 #15 [builder 7/7] RUN make build 03:26:00 #15 0.761 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:27:22 #15 DONE 70.9s 03:27:22 03:27:22 #16 [stage-1 4/7] COPY --from=builder /device-onvif-camera/cmd / 03:27:22 #16 DONE 0.2s 03:27:22 03:27:22 #17 [stage-1 5/7] COPY --from=builder /device-onvif-camera/LICENSE / 03:27:22 #17 DONE 0.1s 03:27:22 03:27:22 #18 [stage-1 6/7] COPY --from=builder /device-onvif-camera/Attribution.txt / 03:27:22 #18 DONE 0.1s 03:27:22 03:27:22 #19 exporting to image 03:27:22 #19 exporting layers 03:27:22 #19 exporting layers 0.3s done 03:27:22 #19 writing image sha256:c3e981e7ca8b6e406698f9f34f135ea4d31e3a6592ae67388d4d71a33ef96aec done 03:27:22 #19 naming to docker.io/library/device-onvif-camera-arm64 done 03:27:22 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:27:23 03:27:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:27:24 arm64: Pulling from edgex-lftools-log-publisher 03:27:24 8998bd30e6a1: Pulling fs layer 03:27:24 04944245beec: Pulling fs layer 03:27:24 699f458cf7ca: Pulling fs layer 03:27:24 765212b225bb: Pulling fs layer 03:27:24 765212b225bb: Waiting 03:27:24 f23df028b6ca: Pulling fs layer 03:27:24 d65c8cfc05b1: Pulling fs layer 03:27:24 2437ff75d9bd: Pulling fs layer 03:27:24 d65c8cfc05b1: Waiting 03:27:24 f23df028b6ca: Waiting 03:27:24 2437ff75d9bd: Waiting 03:27:24 04944245beec: Verifying Checksum 03:27:24 04944245beec: Download complete 03:27:24 765212b225bb: Download complete 03:27:24 f23df028b6ca: Verifying Checksum 03:27:24 f23df028b6ca: Download complete 03:27:24 d65c8cfc05b1: Verifying Checksum 03:27:24 d65c8cfc05b1: Download complete 03:27:24 699f458cf7ca: Verifying Checksum 03:27:24 699f458cf7ca: Download complete 03:27:25 8998bd30e6a1: Verifying Checksum 03:27:25 8998bd30e6a1: Download complete 03:27:27 2437ff75d9bd: Verifying Checksum 03:27:27 2437ff75d9bd: Download complete 03:27:31 8998bd30e6a1: Pull complete 03:27:31 04944245beec: Pull complete 03:27:33 699f458cf7ca: Pull complete 03:27:33 765212b225bb: Pull complete 03:27:34 f23df028b6ca: Pull complete 03:27:34 d65c8cfc05b1: Pull complete 03:28:01 2437ff75d9bd: Pull complete 03:28:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:28:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:28:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:02 prd-ubuntu20.04-docker-arm64-4c-16g-25857 does not seem to be running inside a container 03:28:02 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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-lftools-log-publisher:arm64 cat 03:28:03 $ docker top 93d9f2f40a5459bc826d3739be88c4ec20c4d5231bdf1535ee1079e8a1840b3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:28:03 ---> job-cost.sh 03:28:04 lf-activate-venv: SKIPPING 03:28:04 INFO: No Stack... 03:28:04 INFO: Retrieving Pricing Info for: v3-standard-8 03:28:05 INFO: Archiving Costs [Pipeline] sh 03:28:05 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:28:05 + cut -d, -f6 [Pipeline] lock 03:28:07 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-421-1-stack-cost] 03:28:07 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-421-1-stack-cost] did not exist. Created. 03:28:07 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:28:07 /w/workspace/device-onvif-camera/1@tmp/durable-3de7c2ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:28:08 + echo total: 0.2199999988079071 [Pipeline] stash 03:28:08 Warning: overwriting stash ‘stack-cost’ 03:28:08 Stashed 1 file(s) [Pipeline] } 03:28:08 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-421-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:28:08 $ docker stop --time=1 93d9f2f40a5459bc826d3739be88c4ec20c4d5231bdf1535ee1079e8a1840b3b 03:28:09 $ docker rm -f --volumes 93d9f2f40a5459bc826d3739be88c4ec20c4d5231bdf1535ee1079e8a1840b3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:28:12 provisioning config files... 03:28:12 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-421@tmp/config12930479856136879527tmp [Pipeline] { [Pipeline] sh 03:28:12 + set +x 03:28:12 + + curl -s https://codecov.io/bash 03:28:12 bash -s -- 03:28:12 03:28:12 _____ _ 03:28:12 / ____| | | 03:28:12 | | ___ __| | ___ ___ _____ __ 03:28:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:28:12 | |___| (_) | (_| | __/ (_| (_) \ V / 03:28:12 \_____\___/ \__,_|\___|\___\___/ \_/ 03:28:12 Bash-1.0.6 03:28:12 03:28:12 03:28:12 ==> git version 2.25.1 found 03:28:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:28:12 Release-Date: 2020-01-08 03:28:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:28:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:28:12 ==> Jenkins CI detected. 03:28:12 current dir:  /w/workspace/undry_device-onvif-camera_PR-421 03:28:12 project root: . 03:28:12 --> token set from env 03:28:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:28:12 ==> Running gcov in . (disable via -X gcov) 03:28:12 ==> Python coveragepy not found 03:28:12 ==> Searching for coverage reports in: 03:28:12 + . 03:28:12 -> Found 1 reports 03:28:12 ==> Detecting git/mercurial file structure 03:28:12 ==> Reading reports 03:28:12 + ./coverage.out bytes=78456 03:28:12 ==> Appending adjustments 03:28:12 https://docs.codecov.io/docs/fixing-reports 03:28:12 + Found adjustments 03:28:12 ==> Gzipping contents 03:28:12 12K /tmp/codecov.5O97bU.gz 03:28:12 ==> Uploading reports 03:28:12 url: https://codecov.io 03:28:12 query: branch=PR-421&commit=171e2f29a70a6769be01c12fe0a8d4eecc2277c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-421%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=421&job=&cmd_args= 03:28:12 -> Pinging Codecov 03:28:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-421&commit=171e2f29a70a6769be01c12fe0a8d4eecc2277c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-421%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=421&job=&cmd_args= 03:28:12 -> Uploading to 03:28:12 https://storage.googleapis.com/codecov/v4/raw/2023-12-21/F29A59C45E3A92E06B3E522C9905F8EF/171e2f29a70a6769be01c12fe0a8d4eecc2277c5/d8e2403e-017e-4c3d-9488-3b09847a35dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231221T032812Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6ec3b30bcda677d2ef7612caceecc47c31192394c74412a25efe1ca82b7119f 03:28:12 % Total % Received % Xferd Average Speed Time Time Time Current 03:28:12 Dload Upload Total Spent Left Speed 03:28:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 41182 --:--:-- --:--:-- --:--:-- 41182 03:28:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/171e2f29a70a6769be01c12fe0a8d4eecc2277c5 [Pipeline] } 03:28:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:28:16 + [ -d /w/workspace/undry_device-onvif-camera_PR-421/archives ] 03:28:16 + ls -al /w/workspace/undry_device-onvif-camera_PR-421/archives 03:28:16 total 16 03:28:16 drwxr-xr-x 3 root root 4096 Dec 21 03:21 . 03:28:16 drwxrwxr-x 10 jenkins jenkins 4096 Dec 21 03:21 .. 03:28:16 drwxr-xr-x 2 root root 4096 Dec 21 03:21 cost 03:28:16 -rw-r--r-- 1 root root 91 Dec 21 03:21 cost.csv 03:28:16 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-421/archives 03:28:16 + ls -al /w/workspace/undry_device-onvif-camera_PR-421/archives 03:28:16 total 16 03:28:16 drwxr-xr-x 3 jenkins jenkins 4096 Dec 21 03:21 . 03:28:16 drwxrwxr-x 10 jenkins jenkins 4096 Dec 21 03:21 .. 03:28:16 drwxr-xr-x 2 jenkins jenkins 4096 Dec 21 03:21 cost 03:28:16 -rw-r--r-- 1 jenkins jenkins 91 Dec 21 03:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:28:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:28:17 ---> package-listing.sh 03:28:17 ++ facter osfamily 03:28:17 ++ tr '[:upper:]' '[:lower:]' 03:28:18 + OS_FAMILY=debian 03:28:18 + workspace=/w/workspace/undry_device-onvif-camera_PR-421 03:28:18 + START_PACKAGES=/tmp/packages_start.txt 03:28:18 + END_PACKAGES=/tmp/packages_end.txt 03:28:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:28:18 + PACKAGES=/tmp/packages_start.txt 03:28:18 + '[' /w/workspace/undry_device-onvif-camera_PR-421 ']' 03:28:18 + PACKAGES=/tmp/packages_end.txt 03:28:18 + case "${OS_FAMILY}" in 03:28:18 + dpkg -l 03:28:18 + grep '^ii' 03:28:18 + '[' -f /tmp/packages_start.txt ']' 03:28:18 + '[' -f /tmp/packages_end.txt ']' 03:28:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:28:18 + '[' /w/workspace/undry_device-onvif-camera_PR-421 ']' 03:28:18 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-421/archives/ 03:28:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-421/archives/ [Pipeline] echo 03:28:18 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-421/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:28:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:28:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:19 prd-ubuntu20.04-docker-8c-8g-25856 does not seem to be running inside a container 03:28:19 $ 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-421/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-421 -v /w/workspace/undry_device-onvif-camera_PR-421:/w/workspace/undry_device-onvif-camera_PR-421:rw,z -v /w/workspace/undry_device-onvif-camera_PR-421@tmp:/w/workspace/undry_device-onvif-camera_PR-421@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:28:19 $ docker top cca1dff4561dccd0910679ce0aa6290b6c20e0cda41c9c2d7693a40d4526999f -eo pid,comm [Pipeline] { [Pipeline] sh 03:28:20 + touch /tmp/pre-build-complete [Pipeline] sh 03:28:20 + mkdir -p /var/log/sysstat [Pipeline] sh 03:28:20 + ls /var/log/sa-host 03:28:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:28:20 provisioning config files... 03:28:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-421@tmp/config9981519925810104387tmp [Pipeline] { [Pipeline] echo 03:28:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:28:21 ---> create-netrc.sh [Pipeline] } 03:28:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:28:22 ---> python-tools-install.sh [Pipeline] echo 03:28:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:28:22 ---> sudo-logs.sh 03:28:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:28:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:28:22 ---> job-cost.sh 03:28:22 lf-activate-venv: SKIPPING 03:28:22 DEBUG: total: 0.2199999988079071 03:28:22 INFO: Retrieving Stack Cost... 03:28:23 INFO: Retrieving Pricing Info for: v3-standard-8 03:28:23 INFO: Archiving Costs [Pipeline] echo 03:28:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:28:23 ---> logs-deploy.sh 03:28:23 lf-activate-venv: SKIPPING 03:28:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-421/1 03:28:23 INFO: archiving workspace using pattern(s): 03:28:24 Archives upload complete. 03:28:24 INFO: archiving logs to Nexus