Pull request #422 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4ea589260711dffdc9ff7d2342660453a124fdf9+6e8cd5c7b327808cee3cdc8246778581b79512e2 (e4f2cb730524a8ca37cfe87906e6ff59eb9a863a) 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-ssh4419737977036713363.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-ssh4642717753863559068.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-422/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-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2771596484872345588.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-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3036498537588638848.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-ssh11648462209852383367.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-422/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-422/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12990362947257837282.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 ‘prd-ubuntu20.04-docker-8c-8g-26350’ Running on prd-ubuntu20.04-docker-8c-8g-26356 in /w/workspace/undry_device-onvif-camera_PR-422 [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-422 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6e8cd5c7b327808cee3cdc8246778581b79512e2 into PR head commit 4ea589260711dffdc9ff7d2342660453a124fdf9 Merge succeeded, producing 4ea589260711dffdc9ff7d2342660453a124fdf9 Checking out Revision 4ea589260711dffdc9ff7d2342660453a124fdf9 (PR-422) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ea589260711dffdc9ff7d2342660453a124fdf9 # 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 4ea589260711dffdc9ff7d2342660453a124fdf9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:08:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:08:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:08:34 ========================================================= 03:08:34 EdgeX Global Pipelines Version Info 03:08:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:08:34 ------------------- 03:08:34 stable info: 03:08:34 ------------------- 03:08:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:08:34 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:08:34 Message: update stable to v1.0.258 03:08:35 ------------------- 03:08:35 experimental info: 03:08:35 ------------------- 03:08:35 Commited By: **** collab-it+edgex@linuxfoundation.org 03:08:35 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:08:35 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:08:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:08:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:08:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:08:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:08:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:08:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:08:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:08:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:08:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:08:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:08:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:08:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:08:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:08:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-422 [Pipeline] echo 03:08:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-422 [Pipeline] echo 03:08:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-422 [Pipeline] echo 03:08:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ea589260711dffdc9ff7d2342660453a124fdf9 [Pipeline] echo 03:08:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ea5892 [Pipeline] echo 03:08:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:08:37 provisioning config files... 03:08:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-422@tmp/config5494692231035695362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:08:38 ---> ****-login.sh 03:08:38 nexus3.edgexfoundry.org:10001 03:08:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:08:38 Configure a credential helper to remove this warning. See 03:08:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:08:38 03:08:38 Login Succeeded 03:08:38 nexus3.edgexfoundry.org:10002 03:08:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:08:38 Configure a credential helper to remove this warning. See 03:08:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:08:38 03:08:38 Login Succeeded 03:08:38 nexus3.edgexfoundry.org:10003 03:08:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:08:38 Configure a credential helper to remove this warning. See 03:08:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:08:38 03:08:38 Login Succeeded 03:08:38 nexus3.edgexfoundry.org:10004 03:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:08:39 Configure a credential helper to remove this warning. See 03:08:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:08:39 03:08:39 Login Succeeded 03:08:39 ****.io 03:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:08:39 Configure a credential helper to remove this warning. See 03:08:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:08:39 03:08:39 Login Succeeded 03:08:39 ---> ****-login.sh ends [Pipeline] } 03:08:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:08:40 + git rev-list -1 --merges 4ea589260711dffdc9ff7d2342660453a124fdf9~1..4ea589260711dffdc9ff7d2342660453a124fdf9 [Pipeline] echo 03:08:40 -----------> git rev-list -1 --merges 4ea589260711dffdc9ff7d2342660453a124fdf9~1..4ea589260711dffdc9ff7d2342660453a124fdf9 4ea589260711dffdc9ff7d2342660453a124fdf9 [false] [Pipeline] sh 03:08:40 + git log --format=format:%s -1 4ea589260711dffdc9ff7d2342660453a124fdf9 [Pipeline] echo 03:08:40 ========================================================= 03:08:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:08:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:08:41 + git log --format=format:%s -1 4ea589260711dffdc9ff7d2342660453a124fdf9 [Pipeline] echo 03:08:41 [semverPrep] GIT_COMMIT: 4ea589260711dffdc9ff7d2342660453a124fdf9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:08:41 [semverPrep] This is not a build commit. [Pipeline] sh 03:08:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:08:41 + grep -v github /etc/ssh/ssh_known_hosts 03:08:41 + [ -e /tmp/ssh_known_hosts ] 03:08:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:08:41 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:08:41 sudo tee -a /etc/ssh/ssh_known_hosts 03:08:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:08:42 03:08:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:08:42 0.1.4: Pulling from edgex-devops/py-git-semver 03:08:42 b85a868b505f: Pulling fs layer 03:08:42 e2be974225ed: Pulling fs layer 03:08:42 339a4e72a1f5: Pulling fs layer 03:08:42 988bab9f4d93: Pulling fs layer 03:08:42 1469e6f7b9e6: Pulling fs layer 03:08:42 eaf3925da568: Pulling fs layer 03:08:42 bab4dde63d76: Pulling fs layer 03:08:42 bde34c3a00c8: Pulling fs layer 03:08:42 b352a97aabf1: Pulling fs layer 03:08:42 4872d77fe225: Pulling fs layer 03:08:42 5851b861e8e6: Pulling fs layer 03:08:42 988bab9f4d93: Waiting 03:08:42 1469e6f7b9e6: Waiting 03:08:42 b352a97aabf1: Waiting 03:08:42 4872d77fe225: Waiting 03:08:42 bab4dde63d76: Waiting 03:08:42 5851b861e8e6: Waiting 03:08:42 bde34c3a00c8: Waiting 03:08:42 e2be974225ed: Download complete 03:08:42 988bab9f4d93: Download complete 03:08:42 339a4e72a1f5: Verifying Checksum 03:08:42 339a4e72a1f5: Download complete 03:08:42 1469e6f7b9e6: Verifying Checksum 03:08:42 1469e6f7b9e6: Download complete 03:08:42 eaf3925da568: Verifying Checksum 03:08:42 eaf3925da568: Download complete 03:08:42 bde34c3a00c8: Verifying Checksum 03:08:42 bde34c3a00c8: Download complete 03:08:42 b352a97aabf1: Verifying Checksum 03:08:42 b352a97aabf1: Download complete 03:08:42 4872d77fe225: Verifying Checksum 03:08:42 4872d77fe225: Download complete 03:08:42 5851b861e8e6: Download complete 03:08:42 b85a868b505f: Verifying Checksum 03:08:42 b85a868b505f: Download complete 03:08:43 bab4dde63d76: Verifying Checksum 03:08:43 bab4dde63d76: Download complete 03:08:44 b85a868b505f: Pull complete 03:08:44 e2be974225ed: Pull complete 03:08:44 339a4e72a1f5: Pull complete 03:08:44 988bab9f4d93: Pull complete 03:08:45 1469e6f7b9e6: Pull complete 03:08:45 eaf3925da568: Pull complete 03:08:47 bab4dde63d76: Pull complete 03:08:47 bde34c3a00c8: Pull complete 03:08:47 b352a97aabf1: Pull complete 03:08:47 4872d77fe225: Pull complete 03:08:47 5851b861e8e6: Pull complete 03:08:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:08:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:08:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:08:47 prd-ubuntu20.04-docker-8c-8g-26356 does not seem to be running inside a container 03:08:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-422 -v /w/workspace/undry_device-onvif-camera_PR-422:/w/workspace/undry_device-onvif-camera_PR-422:rw,z -v /w/workspace/undry_device-onvif-camera_PR-422@tmp:/w/workspace/undry_device-onvif-camera_PR-422@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:08:51 $ docker top 6262e869c0d98763a4f7bb18add3d26d2fccec51830421fb3db4aba0250520c9 -eo pid,comm 03:08:51 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:08:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:08:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:08:51 [ssh-agent] Looking for ssh-agent implementation... 03:08:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:08:51 $ docker exec 6262e869c0d98763a4f7bb18add3d26d2fccec51830421fb3db4aba0250520c9 ssh-agent 03:08:51 SSH_AUTH_SOCK=/tmp/ssh-e7okRHTWKGpV/agent.32 03:08:51 SSH_AGENT_PID=38 03:08:51 Running ssh-add (command line suppressed) 03:08:51 Identity added: /w/workspace/undry_device-onvif-camera_PR-422@tmp/private_key_11562331309151445942.key (/w/workspace/undry_device-onvif-camera_PR-422@tmp/private_key_11562331309151445942.key) 03:08:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:08:52 + git tag --points-at HEAD [Pipeline] } 03:08:52 $ docker exec --env ******** --env ******** 6262e869c0d98763a4f7bb18add3d26d2fccec51830421fb3db4aba0250520c9 ssh-agent -k 03:08:52 unset SSH_AUTH_SOCK; 03:08:52 unset SSH_AGENT_PID; 03:08:52 echo Agent pid 38 killed; 03:08:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:08:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:08:52 [ssh-agent] Looking for ssh-agent implementation... 03:08:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:08:52 $ docker exec 6262e869c0d98763a4f7bb18add3d26d2fccec51830421fb3db4aba0250520c9 ssh-agent 03:08:52 SSH_AUTH_SOCK=/tmp/ssh-9eiIHc9U7lO8/agent.70 03:08:52 SSH_AGENT_PID=76 03:08:52 Running ssh-add (command line suppressed) 03:08:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-422@tmp/private_key_5268417860215078384.key (/w/workspace/undry_device-onvif-camera_PR-422@tmp/private_key_5268417860215078384.key) 03:08:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:08:53 + git semver init 03:08:53 2023-12-29 03:08:53,373 [run_init] DEBUG init version:0.0.0 force:False 03:08:53 2023-12-29 03:08:53,374 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-422/.semver 03:08:53 2023-12-29 03:08:53,374 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-422/.semver 03:08:53 2023-12-29 03:08:53,375 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-422/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-422, universal_newlines=False, shell=None, istream=None) 03:08:54 2023-12-29 03:08:54,791 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-422/.git/info/exclude 03:08:54 2023-12-29 03:08:54,792 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-422/.semver/PR-422 with force:False 03:08:54 2023-12-29 03:08:54,792 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-422/.semver/PR-422 03:08:54 2023-12-29 03:08:54,796 [execute] INFO git cat-file --batch-check 03:08:54 2023-12-29 03:08:54,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-422/.semver, universal_newlines=False, shell=None, istream=) 03:08:54 2023-12-29 03:08:54,803 [execute] INFO git cat-file --batch 03:08:54 2023-12-29 03:08:54,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-422/.semver, universal_newlines=False, shell=None, istream=) 03:08:54 2023-12-29 03:08:54,809 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-422/.semver/PR-422 03:08:54 0.0.0 [Pipeline] } 03:08:55 $ docker exec --env ******** --env ******** 6262e869c0d98763a4f7bb18add3d26d2fccec51830421fb3db4aba0250520c9 ssh-agent -k 03:08:55 unset SSH_AUTH_SOCK; 03:08:55 unset SSH_AGENT_PID; 03:08:55 echo Agent pid 76 killed; 03:08:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:08:55 + git semver [Pipeline] } 03:08:56 $ docker stop --time=1 6262e869c0d98763a4f7bb18add3d26d2fccec51830421fb3db4aba0250520c9 03:08:57 $ docker rm -f --volumes 6262e869c0d98763a4f7bb18add3d26d2fccec51830421fb3db4aba0250520c9 [Pipeline] // withDockerContainer [Pipeline] sh 03:08:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:08:58 Stashed 1 file(s) [Pipeline] echo 03:08:58 [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:08:59 provisioning config files... 03:08:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-422@tmp/config11684751278401058985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:08:59 ---> ****-login.sh 03:08:59 nexus3.edgexfoundry.org:10001 03:08:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:08:59 Configure a credential helper to remove this warning. See 03:08:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:08:59 03:08:59 Login Succeeded 03:08:59 nexus3.edgexfoundry.org:10002 03:08:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:08:59 Configure a credential helper to remove this warning. See 03:08:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:08:59 03:08:59 Login Succeeded 03:08:59 nexus3.edgexfoundry.org:10003 03:08:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:08:59 Configure a credential helper to remove this warning. See 03:08:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:08:59 03:08:59 Login Succeeded 03:08:59 nexus3.edgexfoundry.org:10004 03:08:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:08:59 Configure a credential helper to remove this warning. See 03:08:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:08:59 03:08:59 Login Succeeded 03:08:59 ****.io 03:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:09:00 Configure a credential helper to remove this warning. See 03:09:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:09:00 03:09:00 Login Succeeded 03:09:00 ---> ****-login.sh ends [Pipeline] } 03:09:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:09:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:09:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:09:00 ========================================================= 03:09:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:09:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:01 + 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:09:01 Sending build context to Docker daemon 34.21MB 03:09:01 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:09:01 Step 2/13 : FROM ${BASE} AS builder 03:09:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:09:01 7264a8db6415: Pulling fs layer 03:09:01 c4d48a809fc2: Pulling fs layer 03:09:01 4f1c88b9dad5: Pulling fs layer 03:09:01 ad3a456e5733: Pulling fs layer 03:09:01 69c7f0334f64: Pulling fs layer 03:09:01 1f1c1a5573a3: Pulling fs layer 03:09:01 ce7588e14bc9: Pulling fs layer 03:09:01 ad3a456e5733: Waiting 03:09:01 69c7f0334f64: Waiting 03:09:01 1f1c1a5573a3: Waiting 03:09:01 b5e4710f87ac: Pulling fs layer 03:09:01 ce7588e14bc9: Waiting 03:09:01 b5e4710f87ac: Waiting 03:09:01 c4d48a809fc2: Verifying Checksum 03:09:01 c4d48a809fc2: Download complete 03:09:01 ad3a456e5733: Download complete 03:09:01 69c7f0334f64: Verifying Checksum 03:09:01 69c7f0334f64: Download complete 03:09:01 7264a8db6415: Verifying Checksum 03:09:01 7264a8db6415: Download complete 03:09:01 1f1c1a5573a3: Verifying Checksum 03:09:01 1f1c1a5573a3: Download complete 03:09:01 7264a8db6415: Pull complete 03:09:01 b5e4710f87ac: Verifying Checksum 03:09:01 b5e4710f87ac: Download complete 03:09:01 c4d48a809fc2: Pull complete 03:09:01 4f1c88b9dad5: Verifying Checksum 03:09:01 4f1c88b9dad5: Download complete 03:09:02 ce7588e14bc9: Verifying Checksum 03:09:02 ce7588e14bc9: Download complete 03:09:05 4f1c88b9dad5: Pull complete 03:09:05 ad3a456e5733: Pull complete 03:09:05 69c7f0334f64: Pull complete 03:09:05 1f1c1a5573a3: Pull complete 03:09:08 ce7588e14bc9: Pull complete 03:09:08 b5e4710f87ac: Pull complete 03:09:08 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 03:09:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:09:08 ---> 88b5674ff536 03:09:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:09:13 ---> Running in 01821cab2c0c 03:09:13 Removing intermediate container 01821cab2c0c 03:09:13 ---> f09ea0191af4 03:09:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:09:13 ---> Running in d4ee0313f9a9 03:09:13 Removing intermediate container d4ee0313f9a9 03:09:13 ---> f2e7e781539c 03:09:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:09:13 ---> Running in accda326d7e8 03:09:13 Removing intermediate container accda326d7e8 03:09:13 ---> c82fae1c7acc 03:09:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:09:13 ---> Running in 0dee3759b5f0 03:09:13 Removing intermediate container 0dee3759b5f0 03:09:13 ---> 4febcdb58646 03:09:13 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:09:13 ---> Running in 6869567d3592 03:09:13 Removing intermediate container 6869567d3592 03:09:13 ---> 4663f14fa57e 03:09:13 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:09:13 ---> Running in 3fc84a72986f 03:09:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:09:13 Still waiting to schedule task 03:09:13 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26354’ 03:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:09:14 OK: 264 MiB in 52 packages 03:09:14 Removing intermediate container 3fc84a72986f 03:09:14 ---> 1d4457bcebcb 03:09:14 Step 9/13 : WORKDIR /device-onvif-camera 03:09:14 ---> Running in 071c9e5a4cbb 03:09:15 Removing intermediate container 071c9e5a4cbb 03:09:15 ---> 2f288da1f4c4 03:09:15 Step 10/13 : COPY go.mod vendor* ./ 03:09:15 ---> 30fb13214246 03:09:15 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:09:15 ---> Running in de45e7465624 03:10:11 Removing intermediate container de45e7465624 03:10:11 ---> a68b3f687e4b 03:10:11 Step 12/13 : COPY . . 03:10:11 ---> 416f10fde0f0 03:10:11 Step 13/13 : RUN ${MAKE} 03:10:11 ---> Running in 38e765c9719a 03:10:11 noop 03:10:11 Removing intermediate container 38e765c9719a 03:10:11 ---> 3d962112e079 03:10:11 Successfully built 3d962112e079 03:10:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:12 + docker inspect -f . ci-base-image-x86_64 03:10:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:12 prd-ubuntu20.04-docker-8c-8g-26356 does not seem to be running inside a container 03:10:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-422 -v /w/workspace/undry_device-onvif-camera_PR-422:/w/workspace/undry_device-onvif-camera_PR-422:rw,z -v /w/workspace/undry_device-onvif-camera_PR-422@tmp:/w/workspace/undry_device-onvif-camera_PR-422@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:10:12 $ docker top 899968a7964133d46b3bf14a9ec7114f844bdb78db60d00dbdc77856c947ef63 -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:13 + go version 03:10:13 go version go1.21.0 linux/amd64 [Pipeline] } 03:10:13 $ docker stop --time=1 899968a7964133d46b3bf14a9ec7114f844bdb78db60d00dbdc77856c947ef63 03:10:14 $ docker rm -f --volumes 899968a7964133d46b3bf14a9ec7114f844bdb78db60d00dbdc77856c947ef63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:15 + docker inspect -f . ci-base-image-x86_64 03:10:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:15 prd-ubuntu20.04-docker-8c-8g-26356 does not seem to be running inside a container 03:10:15 $ 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-422 -v /w/workspace/undry_device-onvif-camera_PR-422:/w/workspace/undry_device-onvif-camera_PR-422:rw,z -v /w/workspace/undry_device-onvif-camera_PR-422@tmp:/w/workspace/undry_device-onvif-camera_PR-422@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:10:15 $ docker top a02e5c53fb939ab37244ad3ead06defc56de55f4553ed3ba4bbaf366fb459e82 -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:16 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-422 [Pipeline] fileExists [Pipeline] sh 03:10:16 + make test 03:10:16 go test ./... -coverprofile=coverage.out ./... 03:10:18 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:10:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:10:30 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:10:31 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 31.5% of statements 03:10:31 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.232s coverage: 86.5% of statements 03:10:39 go vet ./... 03:10:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:10:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:10:43 ./bin/test-attribution-txt.sh [Pipeline] echo 03:10:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:10:43 $ docker stop --time=1 a02e5c53fb939ab37244ad3ead06defc56de55f4553ed3ba4bbaf366fb459e82 03:10:47 $ docker rm -f --volumes a02e5c53fb939ab37244ad3ead06defc56de55f4553ed3ba4bbaf366fb459e82 [Pipeline] // withDockerContainer [Pipeline] sh 03:10:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:10:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:10:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:10:49 + ls -al . 03:10:49 total 240 03:10:49 drwxrwxr-x 9 jenkins jenkins 4096 Dec 29 03:10 . 03:10:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 03:08 .. 03:10:49 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 03:10 .git 03:10:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 03:08 .github 03:10:49 -rw-rw-r-- 1 jenkins jenkins 493 Dec 29 03:08 .gitignore 03:10:49 -rw-rw-r-- 1 jenkins jenkins 42 Dec 29 03:08 .golangci.yml 03:10:49 drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 03:08 .semver 03:10:49 -rw-rw-r-- 1 jenkins jenkins 11155 Dec 29 03:08 Attribution.txt 03:10:49 -rw-rw-r-- 1 jenkins jenkins 17665 Dec 29 03:08 CHANGELOG.md 03:10:49 -rw-rw-r-- 1 jenkins jenkins 1683 Dec 29 03:08 Dockerfile 03:10:49 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 03:08 GOVERNANCE.md 03:10:49 -rw-rw-r-- 1 jenkins jenkins 739 Dec 29 03:08 Jenkinsfile 03:10:49 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 29 03:08 LICENSE 03:10:49 -rw-rw-r-- 1 jenkins jenkins 2883 Dec 29 03:08 Makefile 03:10:49 -rw-rw-r-- 1 jenkins jenkins 625 Dec 29 03:08 OWNERS.md 03:10:49 -rw-rw-r-- 1 jenkins jenkins 2620 Dec 29 03:08 README.md 03:10:49 -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 03:08 VERSION 03:10:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 03:08 bin 03:10:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 03:08 cmd 03:10:49 -rw-r--r-- 1 jenkins jenkins 78456 Dec 29 03:10 coverage.out 03:10:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 03:08 doc 03:10:49 -rw-rw-r-- 1 jenkins jenkins 4082 Dec 29 03:08 go.mod 03:10:49 -rw-rw-r-- 1 jenkins jenkins 35187 Dec 29 03:08 go.sum 03:10:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 03:08 internal 03:10:49 -rw-rw-r-- 1 jenkins jenkins 236 Dec 29 03:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:49 + 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=4ea589260711dffdc9ff7d2342660453a124fdf9 --label arch=amd64 --label version=0.0.0 . 03:10:49 Sending build context to Docker daemon 34.29MB 03:10:49 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:10:49 Step 2/27 : FROM ${BASE} AS builder 03:10:49 ---> 3d962112e079 03:10:49 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:10:50 ---> Running in 7112ef486a91 03:10:50 Removing intermediate container 7112ef486a91 03:10:50 ---> c4a6e4982556 03:10:50 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:10:50 ---> Running in 94a48324ec56 03:10:50 Removing intermediate container 94a48324ec56 03:10:50 ---> 4c9b7d7ce44e 03:10:50 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:10:50 ---> Running in 5273a1fe1ecf 03:10:50 Removing intermediate container 5273a1fe1ecf 03:10:50 ---> 7b0885caa790 03:10:50 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:10:50 ---> Running in d5bd7a04977c 03:10:50 Removing intermediate container d5bd7a04977c 03:10:50 ---> 04af8137a81c 03:10:50 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:10:50 ---> Running in ef19d3122988 03:10:50 Removing intermediate container ef19d3122988 03:10:50 ---> c755fce1e99c 03:10:50 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:10:50 ---> Running in 40d207da3b7f 03:10:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:10:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:10:51 OK: 264 MiB in 52 packages 03:10:51 Removing intermediate container 40d207da3b7f 03:10:51 ---> 8bba0c9fe86a 03:10:51 Step 9/27 : WORKDIR /device-onvif-camera 03:10:52 ---> Running in f69ac8467a6a 03:10:52 Removing intermediate container f69ac8467a6a 03:10:52 ---> a4736981c2dc 03:10:52 Step 10/27 : COPY go.mod vendor* ./ 03:10:52 ---> 56a19da44009 03:10:52 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:10:52 ---> Running in 8096926e5f73 03:10:53 Removing intermediate container 8096926e5f73 03:10:53 ---> 781bb1bc0921 03:10:53 Step 12/27 : COPY . . 03:10:54 ---> bfa52373e885 03:10:54 Step 13/27 : RUN ${MAKE} 03:10:54 ---> Running in a94b615d7fe5 03:10:54 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.5" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:11:21 Removing intermediate container a94b615d7fe5 03:11:21 ---> 4279e63eb75a 03:11:21 Step 14/27 : FROM alpine:3.18 03:11:21 3.18: Pulling from library/alpine 03:11:21 c926b61bad3b: Pulling fs layer 03:11:21 c926b61bad3b: Verifying Checksum 03:11:21 c926b61bad3b: Download complete 03:11:21 c926b61bad3b: Pull complete 03:11:21 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 03:11:21 Status: Downloaded newer image for alpine:3.18 03:11:21 ---> b541f2080109 03:11:21 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:11:21 ---> Running in cb8a249cda00 03:11:21 Removing intermediate container cb8a249cda00 03:11:21 ---> 2ce457893189 03:11:21 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:11:21 ---> Running in 7353c4da16c2 03:11:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:11:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:11:21 (1/1) Installing dumb-init (1.2.5-r2) 03:11:21 Executing busybox-1.36.1-r5.trigger 03:11:21 OK: 7 MiB in 16 packages 03:11:21 Removing intermediate container 7353c4da16c2 03:11:21 ---> ab1682de96b1 03:11:21 Step 17/27 : RUN apk --no-cache upgrade 03:11:21 ---> Running in 4d757180c542 03:11:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:11:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:11:21 OK: 7 MiB in 16 packages 03:11:21 Removing intermediate container 4d757180c542 03:11:21 ---> 772c0835809f 03:11:21 Step 18/27 : WORKDIR / 03:11:21 ---> Running in 34feebf464d8 03:11:21 Removing intermediate container 34feebf464d8 03:11:21 ---> d34f3c2bbe7f 03:11:21 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:11:21 ---> 28d46aea081e 03:11:21 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:11:21 ---> ebb518e90e0c 03:11:21 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:11:21 ---> 33d37f5e5d8d 03:11:21 Step 22/27 : EXPOSE 59984 03:11:21 ---> Running in 248911b8914e 03:11:21 Removing intermediate container 248911b8914e 03:11:21 ---> 873b6690d144 03:11:21 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:11:21 ---> Running in 7170ccd9212d 03:11:21 Removing intermediate container 7170ccd9212d 03:11:21 ---> d059187d4867 03:11:21 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:11:21 ---> Running in 6d97b69021f8 03:11:21 Removing intermediate container 6d97b69021f8 03:11:21 ---> 70abdee24e91 03:11:21 Step 25/27 : LABEL arch=amd64 03:11:21 ---> Running in 4db282e0db0f 03:11:21 Removing intermediate container 4db282e0db0f 03:11:21 ---> e41455f3252a 03:11:21 Step 26/27 : LABEL git_sha=4ea589260711dffdc9ff7d2342660453a124fdf9 03:11:21 ---> Running in 65928847e4b1 03:11:21 Removing intermediate container 65928847e4b1 03:11:21 ---> 8c765c01d921 03:11:21 Step 27/27 : LABEL version=0.0.0 03:11:21 ---> Running in 984fa474bf29 03:11:21 Removing intermediate container 984fa474bf29 03:11:21 ---> 2c211ec94328 03:11:21 [Warning] One or more build-args [ARCH] were not consumed 03:11:21 Successfully built 2c211ec94328 03:11:21 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:11:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:11:22 03:11:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:11:23 latest: Pulling from edgex-lftools-log-publisher 03:11:23 5eb5b503b376: Pulling fs layer 03:11:23 5c69ac0246d0: Pulling fs layer 03:11:23 ec43610c2a17: Pulling fs layer 03:11:23 3a2ae6a8a46f: Pulling fs layer 03:11:23 33b1e0a273af: Pulling fs layer 03:11:23 5d3b04190fa2: Pulling fs layer 03:11:23 2f39f015ded8: Pulling fs layer 03:11:23 33b1e0a273af: Waiting 03:11:23 5d3b04190fa2: Waiting 03:11:23 2f39f015ded8: Waiting 03:11:23 3a2ae6a8a46f: Waiting 03:11:23 5c69ac0246d0: Download complete 03:11:23 3a2ae6a8a46f: Download complete 03:11:23 33b1e0a273af: Verifying Checksum 03:11:23 33b1e0a273af: Download complete 03:11:23 ec43610c2a17: Verifying Checksum 03:11:23 ec43610c2a17: Download complete 03:11:23 5d3b04190fa2: Verifying Checksum 03:11:23 5d3b04190fa2: Download complete 03:11:23 5eb5b503b376: Verifying Checksum 03:11:23 5eb5b503b376: Download complete 03:11:24 2f39f015ded8: Verifying Checksum 03:11:24 2f39f015ded8: Download complete 03:11:25 5eb5b503b376: Pull complete 03:11:25 5c69ac0246d0: Pull complete 03:11:25 ec43610c2a17: Pull complete 03:11:25 3a2ae6a8a46f: Pull complete 03:11:25 33b1e0a273af: Pull complete 03:11:25 5d3b04190fa2: Pull complete 03:11:31 2f39f015ded8: Pull complete 03:11:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:11:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:11:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:11:31 prd-ubuntu20.04-docker-8c-8g-26356 does not seem to be running inside a container 03:11:31 $ 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-422 -v /w/workspace/undry_device-onvif-camera_PR-422:/w/workspace/undry_device-onvif-camera_PR-422:rw,z -v /w/workspace/undry_device-onvif-camera_PR-422@tmp:/w/workspace/undry_device-onvif-camera_PR-422@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:11:38 $ docker top 12ef43aee66b12453893c8e4d2938759e231a5238f7820448bbfcd6f761a6470 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:11:38 ---> job-cost.sh 03:11:38 lf-activate-venv: SKIPPING 03:11:38 INFO: No Stack... 03:11:39 INFO: Retrieving Pricing Info for: v3-standard-8 03:11:39 INFO: Archiving Costs [Pipeline] sh 03:11:39 + cat /w/workspace/undry_device-onvif-camera_PR-422/archives/cost.csv 03:11:39 + cut -d, -f6 [Pipeline] lock 03:11:39 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-422-1-stack-cost] 03:11:39 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-422-1-stack-cost] did not exist. Created. 03:11:39 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:11:40 + echo total: 0.2199999988079071 [Pipeline] stash 03:11:40 Stashed 1 file(s) [Pipeline] } 03:11:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:11:40 $ docker stop --time=1 12ef43aee66b12453893c8e4d2938759e231a5238f7820448bbfcd6f761a6470 03:11:41 $ docker rm -f --volumes 12ef43aee66b12453893c8e4d2938759e231a5238f7820448bbfcd6f761a6470 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:12:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26357 in /w/workspace/undry_device-onvif-camera_PR-422 [Pipeline] { [Pipeline] ws 03:12:56 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:12:56 The recommended git tool is: git 03:13:05 using credential edgex-jenkins-ssh 03:13:05 Cloning the remote Git repository 03:13:05 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:13:05 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:13:05 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:13:05 > git --version # timeout=10 03:13:05 > git --version # 'git version 2.25.1' 03:13:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:13:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:13:08 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:13:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:13:09 Merging remotes/origin/main commit 6e8cd5c7b327808cee3cdc8246778581b79512e2 into PR head commit 4ea589260711dffdc9ff7d2342660453a124fdf9 03:13:10 Merge succeeded, producing 4ea589260711dffdc9ff7d2342660453a124fdf9 03:13:10 Checking out Revision 4ea589260711dffdc9ff7d2342660453a124fdf9 (PR-422) 03:13:09 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:13:09 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:13:09 using GIT_SSH to set credentials SSH Credentials for GitHub 03:13:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:13:09 > git config core.sparsecheckout # timeout=10 03:13:09 > git checkout -f 4ea589260711dffdc9ff7d2342660453a124fdf9 # timeout=10 03:13:09 > git remote # timeout=10 03:13:09 > git config --get remote.origin.url # timeout=10 03:13:09 using GIT_SSH to set credentials SSH Credentials for GitHub 03:13:09 > git merge 6e8cd5c7b327808cee3cdc8246778581b79512e2 # timeout=10 03:13:09 > git rev-parse HEAD^{commit} # timeout=10 03:13:10 > git config core.sparsecheckout # timeout=10 03:13:10 > git checkout -f 4ea589260711dffdc9ff7d2342660453a124fdf9 # timeout=10 03:13:10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 03:13:10 > git --version # timeout=10 03:13:10 > git --version # 'git version 2.25.1' 03:13:10 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:13:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:13:12 % Total % Received % Xferd Average Speed Time Time Time Current 03:13:12 Dload Upload Total Spent Left Speed 03:13:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 73732 0 --:--:-- --:--:-- --:--:-- 73732 [Pipeline] sh 03:13:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:13:13 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 03:13:13 /etc/docker/daemon.new 03:13:13 { 03:13:13 "registry-mirrors": [ 03:13:13 "https://nexus3.edgexfoundry.org:10001" 03:13:13 ], 03:13:13 "bip": "10.250.0.254/24", 03:13:13 "hosts": [ 03:13:13 "tcp://0.0.0.0:5555", 03:13:13 "unix:///var/run/docker.sock" 03:13:13 ], 03:13:13 "mtu": 1458, 03:13:13 "selinux-enabled": true, 03:13:13 "seccomp-profile": "/etc/docker/seccomp.json" 03:13:13 } [Pipeline] sh 03:13:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:13:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:13:35 provisioning config files... 03:13:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config13768940422013736446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:13:35 ---> ****-login.sh 03:13:35 nexus3.edgexfoundry.org:10001 03:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:36 Configure a credential helper to remove this warning. See 03:13:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:36 03:13:36 Login Succeeded 03:13:36 nexus3.edgexfoundry.org:10002 03:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:36 Configure a credential helper to remove this warning. See 03:13:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:36 03:13:36 Login Succeeded 03:13:36 nexus3.edgexfoundry.org:10003 03:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:36 Configure a credential helper to remove this warning. See 03:13:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:36 03:13:36 Login Succeeded 03:13:36 nexus3.edgexfoundry.org:10004 03:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:37 Configure a credential helper to remove this warning. See 03:13:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:37 03:13:37 Login Succeeded 03:13:37 ****.io 03:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:37 Configure a credential helper to remove this warning. See 03:13:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:37 03:13:37 Login Succeeded 03:13:37 ---> ****-login.sh ends [Pipeline] } 03:13:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:13:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:13:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:13:38 ========================================================= 03:13:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:13:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:39 + 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:13:39 #0 building with "default" instance using docker driver 03:13:39 03:13:39 #1 [internal] load build definition from Dockerfile 03:13:39 #1 transferring dockerfile: 1.72kB 0.0s done 03:13:39 #1 DONE 0.1s 03:13:39 03:13:39 #2 [internal] load .dockerignore 03:13:39 #2 transferring context: 2B done 03:13:39 #2 DONE 0.1s 03:13:40 03:13:40 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:13:40 #3 DONE 0.1s 03:13:40 03:13:40 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 03:13:40 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 03:13:40 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0B / 3.33MB 0.1s 03:13:40 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.10MB / 3.33MB 0.2s 03:13:40 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 03:13:40 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 03:13:40 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 03:13:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.27MB / 63.99MB 0.2s 03:13:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.89MB / 63.99MB 0.3s 03:13:40 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 03:13:40 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 03:13:40 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 03:13:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 03:13:40 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 03:13:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 14.68MB / 63.99MB 0.4s 03:13:40 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 03:13:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.89MB / 63.99MB 0.5s 03:13:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 6.73MB / 97.63MB 0.5s 03:13:40 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.5s 03:13:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 22.55MB / 63.99MB 0.6s 03:13:41 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.49MB / 11.40MB 0.6s 03:13:41 #4 ... 03:13:41 03:13:41 #5 [internal] load build context 03:13:41 #5 transferring context: 20.33MB 0.7s done 03:13:41 #5 DONE 0.8s 03:13:41 03:13:41 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 03:13:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.8s 03:13:41 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 03:13:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18.87MB / 97.63MB 0.8s 03:13:41 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 03:13:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.91MB / 63.99MB 0.9s 03:13:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.23MB / 63.99MB 1.1s 03:13:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 32.51MB / 97.63MB 1.1s 03:13:41 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 03:13:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 53.48MB / 63.99MB 1.2s 03:13:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 37.75MB / 97.63MB 1.2s 03:13:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.72MB / 63.99MB 1.3s 03:13:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 42.99MB / 97.63MB 1.3s 03:13:41 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 03:13:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s 03:13:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.23MB / 97.63MB 1.4s 03:13:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 03:13:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 60.82MB / 97.63MB 1.7s 03:13:41 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 03:13:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 66.06MB / 97.63MB 1.8s 03:13:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.88MB / 97.63MB 2.0s 03:13:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 90.18MB / 97.63MB 2.3s 03:13:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 95.38MB / 97.63MB 2.4s 03:13:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.6s done 03:13:48 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.8s 03:13:53 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.1s 03:13:59 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.1s done 03:14:04 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 03:14:04 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 03:14:04 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 03:14:04 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s 03:14:07 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.4s 03:14:13 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 10.4s 03:14:13 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11.0s done 03:14:13 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 03:14:14 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 03:14:15 #4 DONE 36.9s 03:14:15 03:14:15 #6 [builder 2/7] RUN apk add --no-cache make git 03:14:15 #6 0.736 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:14:15 #6 1.121 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:14:16 #6 2.131 OK: 266 MiB in 52 packages 03:14:18 #6 DONE 3.6s 03:14:18 03:14:18 #7 [builder 3/7] WORKDIR /device-onvif-camera 03:14:18 #7 DONE 0.1s 03:14:18 03:14:18 #8 [builder 4/7] COPY go.mod vendor* ./ 03:14:18 #8 DONE 0.1s 03:14:18 03:14:18 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:14:45 #9 DONE 23.3s 03:14:45 03:14:45 #10 [builder 6/7] COPY . . 03:14:45 #10 DONE 0.5s 03:14:45 03:14:45 #11 [builder 7/7] RUN echo noop 03:14:45 #11 0.639 noop 03:14:45 #11 DONE 0.7s 03:14:45 03:14:45 #12 exporting to image 03:14:45 #12 exporting layers 03:15:07 #12 exporting layers 24.0s done 03:15:07 #12 writing image sha256:80638c7ead821f906cbcc61f6f330a31ac2b8c9adcfc8db53980092e92e8bef5 done 03:15:07 #12 naming to docker.io/library/ci-base-image-arm64 done 03:15:07 #12 DONE 24.0s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:08 + docker inspect -f . ci-base-image-arm64 03:15:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:08 prd-ubuntu20.04-docker-arm64-4c-16g-26357 does not seem to be running inside a container 03:15:08 $ 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:15:09 $ docker top 1a4543f5d4d7be2c17de0b9547de1aa56332db4a3bced2c9b7522b000dbc5efe -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:10 + go version 03:15:10 go version go1.21.0 linux/arm64 [Pipeline] } 03:15:10 $ docker stop --time=1 1a4543f5d4d7be2c17de0b9547de1aa56332db4a3bced2c9b7522b000dbc5efe 03:15:12 $ docker rm -f --volumes 1a4543f5d4d7be2c17de0b9547de1aa56332db4a3bced2c9b7522b000dbc5efe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:13 + docker inspect -f . ci-base-image-arm64 03:15:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:13 prd-ubuntu20.04-docker-arm64-4c-16g-26357 does not seem to be running inside a container 03:15:13 $ 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:15:16 $ docker top 04fde09fe86f5143ebe122ce9d917889b0200f6652f91111c77511f8478e4a2f -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:17 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:15:18 + make test 03:15:18 go test ./... -coverprofile=coverage.out ./... 03:15:22 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:16:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:16:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:16:19 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.154s coverage: 31.5% of statements 03:16:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.016s coverage: 86.5% of statements 03:16:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:16:34 go vet ./... 03:16:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:16:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:16:49 ./bin/test-attribution-txt.sh [Pipeline] echo 03:16:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:16:49 $ docker stop --time=1 04fde09fe86f5143ebe122ce9d917889b0200f6652f91111c77511f8478e4a2f 03:16:51 $ docker rm -f --volumes 04fde09fe86f5143ebe122ce9d917889b0200f6652f91111c77511f8478e4a2f [Pipeline] // withDockerContainer [Pipeline] sh 03:16:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:16:52 Warning: overwriting stash ‘coverage-report’ 03:16:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:16:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:16:54 + ls -al . 03:16:54 total 236 03:16:54 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 03:15 . 03:16:54 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 03:13 .. 03:16:54 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 03:13 .git 03:16:54 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 03:13 .github 03:16:54 -rw-rw-r-- 1 jenkins jenkins 493 Dec 29 03:13 .gitignore 03:16:54 -rw-rw-r-- 1 jenkins jenkins 42 Dec 29 03:13 .golangci.yml 03:16:54 -rw-rw-r-- 1 jenkins jenkins 11155 Dec 29 03:13 Attribution.txt 03:16:54 -rw-rw-r-- 1 jenkins jenkins 17665 Dec 29 03:13 CHANGELOG.md 03:16:54 -rw-rw-r-- 1 jenkins jenkins 1683 Dec 29 03:13 Dockerfile 03:16:54 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 03:13 GOVERNANCE.md 03:16:54 -rw-rw-r-- 1 jenkins jenkins 739 Dec 29 03:13 Jenkinsfile 03:16:54 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 29 03:13 LICENSE 03:16:54 -rw-rw-r-- 1 jenkins jenkins 2883 Dec 29 03:13 Makefile 03:16:54 -rw-rw-r-- 1 jenkins jenkins 625 Dec 29 03:13 OWNERS.md 03:16:54 -rw-rw-r-- 1 jenkins jenkins 2620 Dec 29 03:13 README.md 03:16:54 -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 03:08 VERSION 03:16:54 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 03:13 bin 03:16:54 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 03:13 cmd 03:16:54 -rw-r--r-- 1 jenkins jenkins 78456 Dec 29 03:16 coverage.out 03:16:54 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 03:13 doc 03:16:54 -rw-rw-r-- 1 jenkins jenkins 4082 Dec 29 03:13 go.mod 03:16:54 -rw-rw-r-- 1 jenkins jenkins 35187 Dec 29 03:13 go.sum 03:16:54 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 03:13 internal 03:16:54 -rw-rw-r-- 1 jenkins jenkins 236 Dec 29 03:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:54 + 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=4ea589260711dffdc9ff7d2342660453a124fdf9 --label arch=arm64 --label version=0.0.0 . 03:16:55 #0 building with "default" instance using docker driver 03:16:55 03:16:55 #1 [internal] load .dockerignore 03:16:55 #1 transferring context: 2B 0.0s done 03:16:55 #1 DONE 0.0s 03:16:55 03:16:55 #2 [internal] load build definition from Dockerfile 03:16:55 #2 transferring dockerfile: 1.72kB done 03:16:55 #2 DONE 0.0s 03:16:55 03:16:55 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 03:16:55 #3 DONE 0.0s 03:16:55 03:16:55 #4 [internal] load metadata for docker.io/library/alpine:3.18 03:16:55 #4 DONE 0.3s 03:16:56 03:16:56 #5 [internal] load build context 03:16:56 #5 transferring context: 89.08kB 0.1s done 03:16:56 #5 DONE 0.1s 03:16:56 03:16:56 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 03:16:56 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 03:16:56 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 03:16:56 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 03:16:56 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 03:16:56 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 03:16:56 #6 ... 03:16:56 03:16:56 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 03:16:56 #7 DONE 0.2s 03:16:56 03:16:56 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 03:16:56 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 03:16:56 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 03:16:56 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 03:16:57 #6 DONE 1.6s 03:16:57 03:16:57 #8 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 03:16:58 #8 0.612 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:16:58 #8 ... 03:16:58 03:16:58 #9 [builder 2/7] RUN apk add --no-cache make git 03:16:58 #9 0.661 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:16:58 #9 1.054 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:16:58 #9 2.163 OK: 266 MiB in 52 packages 03:16:58 #9 DONE 2.4s 03:16:58 03:16:58 #8 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 03:16:58 #8 0.953 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:16:58 #8 ... 03:16:58 03:16:58 #10 [builder 3/7] WORKDIR /device-onvif-camera 03:16:58 #10 DONE 0.1s 03:16:58 03:16:58 #11 [builder 4/7] COPY go.mod vendor* ./ 03:16:58 #11 DONE 0.2s 03:16:58 03:16:58 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:16:59 #12 ... 03:16:59 03:16:59 #8 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 03:16:59 #8 2.017 (1/1) Installing dumb-init (1.2.5-r2) 03:16:59 #8 2.030 Executing busybox-1.36.1-r5.trigger 03:16:59 #8 2.053 OK: 8 MiB in 16 packages 03:16:59 #8 DONE 2.3s 03:17:00 03:17:00 #13 [stage-1 3/7] RUN apk --no-cache upgrade 03:17:00 #13 ... 03:17:00 03:17:00 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:17:00 #12 DONE 1.6s 03:17:00 03:17:00 #14 [builder 6/7] COPY . . 03:17:00 #14 DONE 0.5s 03:17:00 03:17:00 #15 [builder 7/7] RUN make build 03:17:01 #15 0.627 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.5" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:17:02 #15 ... 03:17:02 03:17:02 #13 [stage-1 3/7] RUN apk --no-cache upgrade 03:17:02 #13 1.085 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:17:02 #13 1.462 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:17:02 #13 2.502 OK: 8 MiB in 16 packages 03:17:02 #13 DONE 2.8s 03:17:02 03:17:02 #15 [builder 7/7] RUN make build 03:18:10 #15 DONE 62.4s 03:18:10 03:18:10 #16 [stage-1 4/7] COPY --from=builder /device-onvif-camera/cmd / 03:18:10 #16 DONE 0.3s 03:18:10 03:18:10 #17 [stage-1 5/7] COPY --from=builder /device-onvif-camera/LICENSE / 03:18:10 #17 DONE 0.1s 03:18:10 03:18:10 #18 [stage-1 6/7] COPY --from=builder /device-onvif-camera/Attribution.txt / 03:18:10 #18 DONE 0.1s 03:18:10 03:18:10 #19 exporting to image 03:18:10 #19 exporting layers 03:18:10 #19 exporting layers 0.4s done 03:18:10 #19 writing image sha256:f5fd2db2f4b04df5833704009c3618a62fbe32b35eeb3ca050c4b1cc0d2aec88 done 03:18:10 #19 naming to docker.io/library/device-onvif-camera-arm64 done 03:18:10 #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:18:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:18:12 03:18:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:18:12 arm64: Pulling from edgex-lftools-log-publisher 03:18:12 8998bd30e6a1: Pulling fs layer 03:18:12 04944245beec: Pulling fs layer 03:18:12 699f458cf7ca: Pulling fs layer 03:18:12 765212b225bb: Pulling fs layer 03:18:12 f23df028b6ca: Pulling fs layer 03:18:12 d65c8cfc05b1: Pulling fs layer 03:18:12 2437ff75d9bd: Pulling fs layer 03:18:12 765212b225bb: Waiting 03:18:12 f23df028b6ca: Waiting 03:18:12 d65c8cfc05b1: Waiting 03:18:12 2437ff75d9bd: Waiting 03:18:12 04944245beec: Verifying Checksum 03:18:12 04944245beec: Download complete 03:18:12 765212b225bb: Verifying Checksum 03:18:12 765212b225bb: Download complete 03:18:12 f23df028b6ca: Verifying Checksum 03:18:12 f23df028b6ca: Download complete 03:18:12 d65c8cfc05b1: Verifying Checksum 03:18:12 d65c8cfc05b1: Download complete 03:18:13 699f458cf7ca: Verifying Checksum 03:18:13 699f458cf7ca: Download complete 03:18:13 8998bd30e6a1: Verifying Checksum 03:18:13 8998bd30e6a1: Download complete 03:18:15 2437ff75d9bd: Verifying Checksum 03:18:15 2437ff75d9bd: Download complete 03:18:19 8998bd30e6a1: Pull complete 03:18:19 04944245beec: Pull complete 03:18:21 699f458cf7ca: Pull complete 03:18:21 765212b225bb: Pull complete 03:18:25 f23df028b6ca: Pull complete 03:18:25 d65c8cfc05b1: Pull complete 03:18:48 2437ff75d9bd: Pull complete 03:18:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:18:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:18:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:48 prd-ubuntu20.04-docker-arm64-4c-16g-26357 does not seem to be running inside a container 03:18:48 $ 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:18:49 $ docker top a06e7712e386b7d483d01245ddea2414f4ce8cd86adbb48b61ea29105e88439c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:50 ---> job-cost.sh 03:18:50 lf-activate-venv: SKIPPING 03:18:50 INFO: No Stack... 03:18:50 INFO: Retrieving Pricing Info for: v3-standard-8 03:18:51 INFO: Archiving Costs [Pipeline] sh 03:18:52 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:18:52 + cut -d, -f6 [Pipeline] lock 03:18:54 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-422-1-stack-cost] 03:18:54 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-422-1-stack-cost] did not exist. Created. 03:18:54 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:18:54 /w/workspace/device-onvif-camera/1@tmp/durable-2f3722d9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:18:55 + echo total: 0.2199999988079071 [Pipeline] stash 03:18:55 Warning: overwriting stash ‘stack-cost’ 03:18:55 Stashed 1 file(s) [Pipeline] } 03:18:55 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:18:55 $ docker stop --time=1 a06e7712e386b7d483d01245ddea2414f4ce8cd86adbb48b61ea29105e88439c 03:18:56 $ docker rm -f --volumes a06e7712e386b7d483d01245ddea2414f4ce8cd86adbb48b61ea29105e88439c [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:18:59 provisioning config files... 03:18:59 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-422@tmp/config9552072198925045955tmp [Pipeline] { [Pipeline] sh 03:18:59 + set +x 03:18:59 + curl -s https://codecov.io/bash 03:18:59 + bash -s -- 03:18:59 03:18:59 _____ _ 03:18:59 / ____| | | 03:18:59 | | ___ __| | ___ ___ _____ __ 03:18:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:18:59 | |___| (_) | (_| | __/ (_| (_) \ V / 03:18:59 \_____\___/ \__,_|\___|\___\___/ \_/ 03:18:59 Bash-1.0.6 03:18:59 03:18:59 03:18:59 ==> git version 2.25.1 found 03:18:59 ==> 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:18:59 Release-Date: 2020-01-08 03:18:59 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:18:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:18:59 ==> Jenkins CI detected. 03:18:59 current dir:  /w/workspace/undry_device-onvif-camera_PR-422 03:18:59 project root: . 03:18:59 --> token set from env 03:18:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:18:59 ==> Running gcov in . (disable via -X gcov) 03:18:59 ==> Python coveragepy not found 03:18:59 ==> Searching for coverage reports in: 03:18:59 + . 03:18:59 -> Found 1 reports 03:18:59 ==> Detecting git/mercurial file structure 03:18:59 ==> Reading reports 03:18:59 + ./coverage.out bytes=78456 03:18:59 ==> Appending adjustments 03:18:59 https://docs.codecov.io/docs/fixing-reports 03:18:59 + Found adjustments 03:18:59 ==> Gzipping contents 03:18:59 12K /tmp/codecov.7i2iIG.gz 03:18:59 ==> Uploading reports 03:18:59 url: https://codecov.io 03:18:59 query: branch=PR-422&commit=4ea589260711dffdc9ff7d2342660453a124fdf9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=422&job=&cmd_args= 03:18:59 -> Pinging Codecov 03:18:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-422&commit=4ea589260711dffdc9ff7d2342660453a124fdf9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=422&job=&cmd_args= 03:18:59 -> Uploading to 03:18:59 https://storage.googleapis.com/codecov/v4/raw/2023-12-29/F29A59C45E3A92E06B3E522C9905F8EF/4ea589260711dffdc9ff7d2342660453a124fdf9/bd3e845e-34aa-478a-9c83-b225b3461e51.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231229T031859Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=15df77fd8084884af63d9c38e3ba4e3c67f1c74700885c38e50648cd2d26a136 03:18:59 % Total % Received % Xferd Average Speed Time Time Time Current 03:18:59 Dload Upload Total Spent Left Speed 03:19:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 49894 --:--:-- --:--:-- --:--:-- 49655 100 10378 0 0 100 10378 0 40858 --:--:-- --:--:-- --:--:-- 40698 03:19:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4ea589260711dffdc9ff7d2342660453a124fdf9 [Pipeline] } 03:19:00 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:19:03 + [ -d /w/workspace/undry_device-onvif-camera_PR-422/archives ] 03:19:03 + ls -al /w/workspace/undry_device-onvif-camera_PR-422/archives 03:19:03 total 16 03:19:03 drwxr-xr-x 3 root root 4096 Dec 29 03:11 . 03:19:03 drwxrwxr-x 10 jenkins jenkins 4096 Dec 29 03:11 .. 03:19:03 drwxr-xr-x 2 root root 4096 Dec 29 03:11 cost 03:19:03 -rw-r--r-- 1 root root 91 Dec 29 03:11 cost.csv 03:19:03 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-422/archives 03:19:03 + ls -al /w/workspace/undry_device-onvif-camera_PR-422/archives 03:19:03 total 16 03:19:03 drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 03:11 . 03:19:03 drwxrwxr-x 10 jenkins jenkins 4096 Dec 29 03:11 .. 03:19:03 drwxr-xr-x 2 jenkins jenkins 4096 Dec 29 03:11 cost 03:19:03 -rw-r--r-- 1 jenkins jenkins 91 Dec 29 03:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:19:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:19:04 ---> package-listing.sh 03:19:04 ++ facter osfamily 03:19:04 ++ tr '[:upper:]' '[:lower:]' 03:19:05 + OS_FAMILY=debian 03:19:05 + workspace=/w/workspace/undry_device-onvif-camera_PR-422 03:19:05 + START_PACKAGES=/tmp/packages_start.txt 03:19:05 + END_PACKAGES=/tmp/packages_end.txt 03:19:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:19:05 + PACKAGES=/tmp/packages_start.txt 03:19:05 + '[' /w/workspace/undry_device-onvif-camera_PR-422 ']' 03:19:05 + PACKAGES=/tmp/packages_end.txt 03:19:05 + case "${OS_FAMILY}" in 03:19:05 + dpkg -l 03:19:05 + grep '^ii' 03:19:05 + '[' -f /tmp/packages_start.txt ']' 03:19:05 + '[' -f /tmp/packages_end.txt ']' 03:19:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:19:05 + '[' /w/workspace/undry_device-onvif-camera_PR-422 ']' 03:19:05 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-422/archives/ 03:19:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-422/archives/ [Pipeline] echo 03:19:05 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-422/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:19:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:06 prd-ubuntu20.04-docker-8c-8g-26356 does not seem to be running inside a container 03:19:06 $ 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-422/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-422 -v /w/workspace/undry_device-onvif-camera_PR-422:/w/workspace/undry_device-onvif-camera_PR-422:rw,z -v /w/workspace/undry_device-onvif-camera_PR-422@tmp:/w/workspace/undry_device-onvif-camera_PR-422@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:19:06 $ docker top 88a47e4f2a89c8817bbc13176948b91b1fa9253933e42c8d1892e544509a5272 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:07 + touch /tmp/pre-build-complete [Pipeline] sh 03:19:07 + mkdir -p /var/log/sysstat [Pipeline] sh 03:19:07 + ls /var/log/sa-host 03:19:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:19:08 provisioning config files... 03:19:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-422@tmp/config6618699748583725084tmp [Pipeline] { [Pipeline] echo 03:19:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:19:08 ---> create-netrc.sh [Pipeline] } 03:19:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:19:09 ---> python-tools-install.sh [Pipeline] echo 03:19:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:19:09 ---> sudo-logs.sh 03:19:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:19:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:19:10 ---> job-cost.sh 03:19:10 lf-activate-venv: SKIPPING 03:19:10 DEBUG: total: 0.2199999988079071 03:19:10 INFO: Retrieving Stack Cost... 03:19:10 INFO: Retrieving Pricing Info for: v3-standard-8 03:19:10 INFO: Archiving Costs [Pipeline] echo 03:19:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:19:10 ---> logs-deploy.sh 03:19:10 lf-activate-venv: SKIPPING 03:19:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-422/1 03:19:10 INFO: archiving workspace using pattern(s): 03:19:11 Archives upload complete. 03:19:11 INFO: archiving logs to Nexus