Pull request #445 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f05d136693950cec5981ec9b694521c5beefe7e+2d632d3d89b54818b584083cb51298962faa4457 (9989e8c79e154567230b3797b24dd8919bbdcc38) 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-ssh13618085839608332912.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6035851076810858737.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 590556114a56c6d90cc8043840e039c2f74196dc 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-445/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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14386995579677327635.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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16763247278309479551.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh4464539769372575364.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-445/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-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17062628589960665148.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 590556114a56c6d90cc8043840e039c2f74196dc 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5593 in /w/workspace/undry_device-onvif-camera_PR-445 [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-445 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2d632d3d89b54818b584083cb51298962faa4457 into PR head commit 5f05d136693950cec5981ec9b694521c5beefe7e Merge succeeded, producing 5f05d136693950cec5981ec9b694521c5beefe7e Checking out Revision 5f05d136693950cec5981ec9b694521c5beefe7e (PR-445) 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 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 5f05d136693950cec5981ec9b694521c5beefe7e # 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 2d632d3d89b54818b584083cb51298962faa4457 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f05d136693950cec5981ec9b694521c5beefe7e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:58:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:58:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:58:07 ========================================================= 03:58:07 EdgeX Global Pipelines Version Info 03:58:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:58:08 ------------------- 03:58:08 stable info: 03:58:08 ------------------- 03:58:08 Commited By: Ginny Guan ginny@iotechsys.com 03:58:08 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 03:58:08 Message: update stable to v1.0.260 03:58:09 ------------------- 03:58:09 experimental info: 03:58:09 ------------------- 03:58:09 Commited By: Ginny Guan ginny@iotechsys.com 03:58:09 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:58:09 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:58:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:58:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:58:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:58:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:58:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:58:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:58:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:58:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:58:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:58:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:58:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:58:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:58:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo 03:58:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo 03:58:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f05d136693950cec5981ec9b694521c5beefe7e [Pipeline] echo 03:58:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f05d13 [Pipeline] echo 03:58:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:58:11 provisioning config files... 03:58:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-445@tmp/config11566377013484856622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:11 ---> ****-login.sh 03:58:11 nexus3.edgexfoundry.org:10001 03:58:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:11 Configure a credential helper to remove this warning. See 03:58:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:11 03:58:11 Login Succeeded 03:58:11 nexus3.edgexfoundry.org:10002 03:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:12 Configure a credential helper to remove this warning. See 03:58:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:12 03:58:12 Login Succeeded 03:58:12 nexus3.edgexfoundry.org:10003 03:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:12 Configure a credential helper to remove this warning. See 03:58:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:12 03:58:12 Login Succeeded 03:58:12 nexus3.edgexfoundry.org:10004 03:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:12 Configure a credential helper to remove this warning. See 03:58:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:12 03:58:12 Login Succeeded 03:58:12 ****.io 03:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:12 Configure a credential helper to remove this warning. See 03:58:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:12 03:58:12 Login Succeeded 03:58:12 ---> ****-login.sh ends [Pipeline] } 03:58:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:58:13 + git rev-list -1 --merges 5f05d136693950cec5981ec9b694521c5beefe7e~1..5f05d136693950cec5981ec9b694521c5beefe7e [Pipeline] echo 03:58:13 -----------> git rev-list -1 --merges 5f05d136693950cec5981ec9b694521c5beefe7e~1..5f05d136693950cec5981ec9b694521c5beefe7e 5f05d136693950cec5981ec9b694521c5beefe7e [false] [Pipeline] sh 03:58:13 + git log --format=format:%s -1 5f05d136693950cec5981ec9b694521c5beefe7e [Pipeline] echo 03:58:13 ========================================================= 03:58:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:58:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:58:14 + git log --format=format:%s -1 5f05d136693950cec5981ec9b694521c5beefe7e [Pipeline] echo 03:58:14 [semverPrep] GIT_COMMIT: 5f05d136693950cec5981ec9b694521c5beefe7e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:58:14 [semverPrep] This is not a build commit. [Pipeline] sh 03:58:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:58:14 + grep -v github /etc/ssh/ssh_known_hosts 03:58:14 + [ -e /tmp/ssh_known_hosts ] 03:58:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:58:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:58:14 + sudo tee -a /etc/ssh/ssh_known_hosts 03:58:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:58:15 03:58:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:58:15 0.1.4: Pulling from edgex-devops/py-git-semver 03:58:15 b85a868b505f: Pulling fs layer 03:58:15 e2be974225ed: Pulling fs layer 03:58:15 339a4e72a1f5: Pulling fs layer 03:58:15 988bab9f4d93: Pulling fs layer 03:58:15 1469e6f7b9e6: Pulling fs layer 03:58:15 988bab9f4d93: Waiting 03:58:15 eaf3925da568: Pulling fs layer 03:58:15 bab4dde63d76: Pulling fs layer 03:58:15 1469e6f7b9e6: Waiting 03:58:15 eaf3925da568: Waiting 03:58:15 bde34c3a00c8: Pulling fs layer 03:58:15 b352a97aabf1: Pulling fs layer 03:58:15 4872d77fe225: Pulling fs layer 03:58:15 5851b861e8e6: Pulling fs layer 03:58:15 bde34c3a00c8: Waiting 03:58:15 5851b861e8e6: Waiting 03:58:15 4872d77fe225: Waiting 03:58:15 e2be974225ed: Download complete 03:58:15 988bab9f4d93: Verifying Checksum 03:58:15 988bab9f4d93: Download complete 03:58:15 339a4e72a1f5: Verifying Checksum 03:58:15 339a4e72a1f5: Download complete 03:58:16 1469e6f7b9e6: Verifying Checksum 03:58:16 1469e6f7b9e6: Download complete 03:58:16 eaf3925da568: Verifying Checksum 03:58:16 eaf3925da568: Download complete 03:58:16 bde34c3a00c8: Verifying Checksum 03:58:16 bde34c3a00c8: Download complete 03:58:16 b352a97aabf1: Download complete 03:58:16 4872d77fe225: Verifying Checksum 03:58:16 4872d77fe225: Download complete 03:58:16 5851b861e8e6: Verifying Checksum 03:58:16 5851b861e8e6: Download complete 03:58:16 b85a868b505f: Verifying Checksum 03:58:16 b85a868b505f: Download complete 03:58:16 bab4dde63d76: Verifying Checksum 03:58:16 bab4dde63d76: Download complete 03:58:17 b85a868b505f: Pull complete 03:58:17 e2be974225ed: Pull complete 03:58:17 339a4e72a1f5: Pull complete 03:58:17 988bab9f4d93: Pull complete 03:58:18 1469e6f7b9e6: Pull complete 03:58:18 eaf3925da568: Pull complete 03:58:20 bab4dde63d76: Pull complete 03:58:20 bde34c3a00c8: Pull complete 03:58:20 b352a97aabf1: Pull complete 03:58:20 4872d77fe225: Pull complete 03:58:20 5851b861e8e6: Pull complete 03:58:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:58:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:58:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:58:20 prd-ubuntu20.04-docker-8c-8g-5593 does not seem to be running inside a container 03:58:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-445 -v /w/workspace/undry_device-onvif-camera_PR-445:/w/workspace/undry_device-onvif-camera_PR-445:rw,z -v /w/workspace/undry_device-onvif-camera_PR-445@tmp:/w/workspace/undry_device-onvif-camera_PR-445@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:58:24 $ docker top 32e07d8756cf87bcd580f22259612cb13b1b7d5e59f879f68d2ce71648d581e5 -eo pid,comm 03:58:24 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:58:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:58:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:58:24 [ssh-agent] Looking for ssh-agent implementation... 03:58:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:58:24 $ docker exec 32e07d8756cf87bcd580f22259612cb13b1b7d5e59f879f68d2ce71648d581e5 ssh-agent 03:58:24 SSH_AUTH_SOCK=/tmp/ssh-X73BEF9incXl/agent.32 03:58:24 SSH_AGENT_PID=38 03:58:24 Running ssh-add (command line suppressed) 03:58:24 Identity added: /w/workspace/undry_device-onvif-camera_PR-445@tmp/private_key_16632387305909387978.key (/w/workspace/undry_device-onvif-camera_PR-445@tmp/private_key_16632387305909387978.key) 03:58:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:58:25 + git tag --points-at HEAD [Pipeline] } 03:58:25 $ docker exec --env ******** --env ******** 32e07d8756cf87bcd580f22259612cb13b1b7d5e59f879f68d2ce71648d581e5 ssh-agent -k 03:58:25 unset SSH_AUTH_SOCK; 03:58:25 unset SSH_AGENT_PID; 03:58:25 echo Agent pid 38 killed; 03:58:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:58:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:58:25 [ssh-agent] Looking for ssh-agent implementation... 03:58:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:58:25 $ docker exec 32e07d8756cf87bcd580f22259612cb13b1b7d5e59f879f68d2ce71648d581e5 ssh-agent 03:58:25 SSH_AUTH_SOCK=/tmp/ssh-SuDDhBQ8LQsV/agent.72 03:58:25 SSH_AGENT_PID=78 03:58:25 Running ssh-add (command line suppressed) 03:58:25 Identity added: /w/workspace/undry_device-onvif-camera_PR-445@tmp/private_key_8889430474428189128.key (/w/workspace/undry_device-onvif-camera_PR-445@tmp/private_key_8889430474428189128.key) 03:58:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:58:25 + git semver init 03:58:26 2024-07-15 03:58:26,131 [run_init] DEBUG init version:0.0.0 force:False 03:58:26 2024-07-15 03:58:26,132 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-445/.semver 03:58:26 2024-07-15 03:58:26,132 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-445/.semver 03:58:26 2024-07-15 03:58:26,132 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-445/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-445, universal_newlines=False, shell=None, istream=None) 03:58:27 2024-07-15 03:58:27,495 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-445/.git/info/exclude 03:58:27 2024-07-15 03:58:27,496 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-445/.semver/PR-445 with force:False 03:58:27 2024-07-15 03:58:27,496 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-445/.semver/PR-445 03:58:27 2024-07-15 03:58:27,498 [execute] INFO git cat-file --batch-check 03:58:27 2024-07-15 03:58:27,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-445/.semver, universal_newlines=False, shell=None, istream=) 03:58:27 2024-07-15 03:58:27,503 [execute] INFO git cat-file --batch 03:58:27 2024-07-15 03:58:27,503 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-445/.semver, universal_newlines=False, shell=None, istream=) 03:58:27 2024-07-15 03:58:27,508 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-445/.semver/PR-445 03:58:27 0.0.0 [Pipeline] } 03:58:27 $ docker exec --env ******** --env ******** 32e07d8756cf87bcd580f22259612cb13b1b7d5e59f879f68d2ce71648d581e5 ssh-agent -k 03:58:27 unset SSH_AUTH_SOCK; 03:58:27 unset SSH_AGENT_PID; 03:58:27 echo Agent pid 78 killed; 03:58:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:58:28 + git semver [Pipeline] } 03:58:28 $ docker stop --time=1 32e07d8756cf87bcd580f22259612cb13b1b7d5e59f879f68d2ce71648d581e5 03:58:29 $ docker rm -f --volumes 32e07d8756cf87bcd580f22259612cb13b1b7d5e59f879f68d2ce71648d581e5 [Pipeline] // withDockerContainer [Pipeline] sh 03:58:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:58:30 Stashed 1 file(s) [Pipeline] echo 03:58:30 [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:58:31 provisioning config files... 03:58:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-445@tmp/config14129056434336638229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:31 ---> ****-login.sh 03:58:31 nexus3.edgexfoundry.org:10001 03:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:31 Configure a credential helper to remove this warning. See 03:58:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:31 03:58:31 Login Succeeded 03:58:31 nexus3.edgexfoundry.org:10002 03:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:31 Configure a credential helper to remove this warning. See 03:58:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:31 03:58:31 Login Succeeded 03:58:31 nexus3.edgexfoundry.org:10003 03:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:32 Configure a credential helper to remove this warning. See 03:58:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:32 03:58:32 Login Succeeded 03:58:32 nexus3.edgexfoundry.org:10004 03:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:32 Configure a credential helper to remove this warning. See 03:58:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:32 03:58:32 Login Succeeded 03:58:32 ****.io 03:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:32 Configure a credential helper to remove this warning. See 03:58:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:32 03:58:32 Login Succeeded 03:58:32 ---> ****-login.sh ends [Pipeline] } 03:58:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:58:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:58:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:58:32 ========================================================= 03:58:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:58:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:33 + 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:58:33 Sending build context to Docker daemon 36.61MB 03:58:33 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:58:33 Step 2/13 : FROM ${BASE} AS builder 03:58:33 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:58:33 619be1103602: Pulling fs layer 03:58:33 7862e08f4a3e: Pulling fs layer 03:58:33 5df492c9dc93: Pulling fs layer 03:58:33 7629e6793208: Pulling fs layer 03:58:33 4f4fb700ef54: Pulling fs layer 03:58:33 fb5054dd5b73: Pulling fs layer 03:58:33 eeca6798cff9: Pulling fs layer 03:58:33 aa269ceb94a6: Pulling fs layer 03:58:33 ada007ff1a6a: Pulling fs layer 03:58:33 7629e6793208: Waiting 03:58:33 4f4fb700ef54: Waiting 03:58:33 aa269ceb94a6: Waiting 03:58:33 fb5054dd5b73: Waiting 03:58:33 eeca6798cff9: Waiting 03:58:33 7862e08f4a3e: Verifying Checksum 03:58:33 7862e08f4a3e: Download complete 03:58:33 7629e6793208: Verifying Checksum 03:58:33 7629e6793208: Download complete 03:58:33 4f4fb700ef54: Verifying Checksum 03:58:33 4f4fb700ef54: Download complete 03:58:33 fb5054dd5b73: Verifying Checksum 03:58:33 fb5054dd5b73: Download complete 03:58:33 619be1103602: Verifying Checksum 03:58:33 619be1103602: Download complete 03:58:33 eeca6798cff9: Verifying Checksum 03:58:33 eeca6798cff9: Download complete 03:58:33 619be1103602: Pull complete 03:58:33 ada007ff1a6a: Verifying Checksum 03:58:33 ada007ff1a6a: Download complete 03:58:33 7862e08f4a3e: Pull complete 03:58:33 5df492c9dc93: Verifying Checksum 03:58:33 5df492c9dc93: Download complete 03:58:34 aa269ceb94a6: Verifying Checksum 03:58:34 aa269ceb94a6: Download complete 03:58:39 5df492c9dc93: Pull complete 03:58:39 7629e6793208: Pull complete 03:58:39 4f4fb700ef54: Pull complete 03:58:39 fb5054dd5b73: Pull complete 03:58:39 eeca6798cff9: Pull complete 03:58:40 aa269ceb94a6: Pull complete 03:58:40 ada007ff1a6a: Pull complete 03:58:40 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:58:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:58:40 ---> f489d0715acc 03:58:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:58:46 Still waiting to schedule task 03:58:46 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:58:47 ---> Running in 96b7efe902e9 03:58:47 Removing intermediate container 96b7efe902e9 03:58:47 ---> 2d84e2c06352 03:58:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:58:47 ---> Running in 246155fe2d9c 03:58:47 Removing intermediate container 246155fe2d9c 03:58:47 ---> de85b1c65efb 03:58:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:58:47 ---> Running in 90954fa45dc3 03:58:47 Removing intermediate container 90954fa45dc3 03:58:47 ---> 4b851d99efb9 03:58:47 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:58:47 ---> Running in 3ac55ffa2f1c 03:58:47 Removing intermediate container 3ac55ffa2f1c 03:58:47 ---> bc7b60537e22 03:58:47 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:58:47 ---> Running in 6a12a9e2abb2 03:58:47 Removing intermediate container 6a12a9e2abb2 03:58:47 ---> a5948c6c72d0 03:58:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:58:47 ---> Running in 7ceaf19b991c 03:58:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:58:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:58:47 OK: 264 MiB in 52 packages 03:58:48 Removing intermediate container 7ceaf19b991c 03:58:48 ---> 035a65d190a6 03:58:48 Step 9/13 : WORKDIR /device-onvif-camera 03:58:48 ---> Running in f12d5c862b95 03:58:48 Removing intermediate container f12d5c862b95 03:58:48 ---> 3e93c77019bd 03:58:48 Step 10/13 : COPY go.mod vendor* ./ 03:58:48 ---> 3327680f4752 03:58:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:58:48 ---> Running in d99d5848b788 03:59:56 Removing intermediate container d99d5848b788 03:59:56 ---> eeda61a2dc7e 03:59:56 Step 12/13 : COPY . . 03:59:58 ---> 0cab54c44c01 03:59:58 Step 13/13 : RUN ${MAKE} 03:59:58 ---> Running in fdb21fec30ce 03:59:58 noop 03:59:58 Removing intermediate container fdb21fec30ce 03:59:58 ---> cdd994eb9229 03:59:58 Successfully built cdd994eb9229 03:59:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:59 + docker inspect -f . ci-base-image-x86_64 03:59:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:59 prd-ubuntu20.04-docker-8c-8g-5593 does not seem to be running inside a container 03:59:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-445 -v /w/workspace/undry_device-onvif-camera_PR-445:/w/workspace/undry_device-onvif-camera_PR-445:rw,z -v /w/workspace/undry_device-onvif-camera_PR-445@tmp:/w/workspace/undry_device-onvif-camera_PR-445@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:59:59 $ docker top c4134f550f80405dc8cd72916579a5c1662463caa66dd41dca837304cb5a60bd -eo pid,comm [Pipeline] { [Pipeline] sh 04:00:00 + go version 04:00:00 go version go1.21.9 linux/amd64 [Pipeline] } 04:00:00 $ docker stop --time=1 c4134f550f80405dc8cd72916579a5c1662463caa66dd41dca837304cb5a60bd 04:00:01 $ docker rm -f --volumes c4134f550f80405dc8cd72916579a5c1662463caa66dd41dca837304cb5a60bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:02 + docker inspect -f . ci-base-image-x86_64 04:00:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:02 prd-ubuntu20.04-docker-8c-8g-5593 does not seem to be running inside a container 04:00:02 $ 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-445 -v /w/workspace/undry_device-onvif-camera_PR-445:/w/workspace/undry_device-onvif-camera_PR-445:rw,z -v /w/workspace/undry_device-onvif-camera_PR-445@tmp:/w/workspace/undry_device-onvif-camera_PR-445@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 04:00:03 $ docker top 575e83368e7dc478dbb68e3f2eae2acebe9814f87bed12ca0a968901ee6f7ec0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:00:03 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-445 [Pipeline] fileExists [Pipeline] sh 04:00:03 + make test 04:00:03 go test ./... -coverprofile=coverage.out ./... 04:00:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:00:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:00:23 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:00:25 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 31.4% of statements 04:00:25 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.226s coverage: 86.5% of statements 04:00:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5594 in /w/workspace/undry_device-onvif-camera_PR-445 [Pipeline] { [Pipeline] ws 04:00:30 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:00:30 The recommended git tool is: git 04:00:35 using credential edgex-jenkins-ssh 04:00:35 Cloning the remote Git repository 04:00:35 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:00:35 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:00:36 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:00:36 > git --version # timeout=10 04:00:36 > git --version # 'git version 2.25.1' 04:00:36 using GIT_SSH to set credentials SSH Credentials for GitHub 04:00:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:39 go vet ./... 04:00:38 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:00:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:40 Merging remotes/origin/main commit 2d632d3d89b54818b584083cb51298962faa4457 into PR head commit 5f05d136693950cec5981ec9b694521c5beefe7e 04:00:40 Merge succeeded, producing 5f05d136693950cec5981ec9b694521c5beefe7e 04:00:40 Checking out Revision 5f05d136693950cec5981ec9b694521c5beefe7e (PR-445) 04:00:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:00:39 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:00:39 using GIT_SSH to set credentials SSH Credentials for GitHub 04:00:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:00:40 > git config core.sparsecheckout # timeout=10 04:00:40 > git checkout -f 5f05d136693950cec5981ec9b694521c5beefe7e # timeout=10 04:00:40 > git remote # timeout=10 04:00:40 > git config --get remote.origin.url # timeout=10 04:00:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:00:40 > git merge 2d632d3d89b54818b584083cb51298962faa4457 # timeout=10 04:00:40 > git rev-parse HEAD^{commit} # timeout=10 04:00:40 > git config core.sparsecheckout # timeout=10 04:00:40 > git checkout -f 5f05d136693950cec5981ec9b694521c5beefe7e # timeout=10 04:00:41 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 04:00:41 > git --version # timeout=10 04:00:41 > git --version # 'git version 2.25.1' 04:00:41 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 04:00:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:00:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:00:44 ./bin/test-attribution-txt.sh 04:00:44 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:00:44 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:00:44 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:00:44 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:00:44 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:00:44 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:00:44 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:00:44 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:00:44 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:00:44 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:00:44 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:00:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:00:44 $ docker stop --time=1 575e83368e7dc478dbb68e3f2eae2acebe9814f87bed12ca0a968901ee6f7ec0 04:00:49 $ docker rm -f --volumes 575e83368e7dc478dbb68e3f2eae2acebe9814f87bed12ca0a968901ee6f7ec0 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 04:00:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:00:50 Stashed 1 file(s) [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 04:00:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:00:50 % Total % Received % Xferd Average Speed Time Time Time Current 04:00:50 Dload Upload Total Spent Left Speed 04:00:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 28633 0 --:--:-- --:--:-- --:--:-- 28570 100 12828 100 12828 0 0 28570 0 --:--:-- --:--:-- --:--:-- 28506 [Pipeline] sh [Pipeline] sh 04:00:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:00:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:00:51 + ls -al . 04:00:51 total 312 04:00:51 drwxrwxr-x 9 jenkins jenkins 4096 Jul 15 04:00 . 04:00:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 03:58 .. 04:00:51 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 04:00 .git 04:00:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 03:58 .github 04:00:51 -rw-rw-r-- 1 jenkins jenkins 493 Jul 15 03:58 .gitignore 04:00:51 -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 03:58 .golangci.yml 04:00:51 drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 03:58 .semver 04:00:51 -rw-rw-r-- 1 jenkins jenkins 11155 Jul 15 03:58 Attribution.txt 04:00:51 -rw-rw-r-- 1 jenkins jenkins 17665 Jul 15 03:58 CHANGELOG.md 04:00:51 -rw-rw-r-- 1 jenkins jenkins 1683 Jul 15 03:58 Dockerfile 04:00:51 -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 03:58 GOVERNANCE.md 04:00:51 -rw-rw-r-- 1 jenkins jenkins 739 Jul 15 03:58 Jenkinsfile 04:00:51 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 15 03:58 LICENSE 04:00:51 -rw-rw-r-- 1 jenkins jenkins 2883 Jul 15 03:58 Makefile 04:00:51 -rw-rw-r-- 1 jenkins jenkins 625 Jul 15 03:58 OWNERS.md 04:00:51 -rw-rw-r-- 1 jenkins jenkins 2620 Jul 15 03:58 README.md 04:00:51 -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 03:58 VERSION 04:00:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 03:58 bin 04:00:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 03:58 cmd 04:00:51 -rw-r--r-- 1 jenkins jenkins 78805 Jul 15 04:00 coverage.out 04:00:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 03:58 doc 04:00:51 -rw-rw-r-- 1 jenkins jenkins 7437 Jul 15 03:58 go.mod 04:00:51 -rw-rw-r-- 1 jenkins jenkins 103036 Jul 15 03:58 go.sum 04:00:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 03:58 internal 04:00:51 -rw-rw-r-- 1 jenkins jenkins 236 Jul 15 03:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 04:00:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:00:52 + sudo tee /etc/docker/daemon.new 04:00:52 { 04:00:52 "registry-mirrors": [ 04:00:52 "https://nexus3.edgexfoundry.org:10001" 04:00:52 ], 04:00:52 "bip": "10.250.0.254/24", 04:00:52 "hosts": [ 04:00:52 "tcp://0.0.0.0:5555", 04:00:52 "unix:///var/run/docker.sock" 04:00:52 ], 04:00:52 "mtu": 1458, 04:00:52 "selinux-enabled": true, 04:00:52 "seccomp-profile": "/etc/docker/seccomp.json" 04:00:52 } [Pipeline] sh [Pipeline] sh 04:00:52 + 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=5f05d136693950cec5981ec9b694521c5beefe7e --label arch=amd64 --label version=0.0.0 . 04:00:52 Sending build context to Docker daemon 36.69MB 04:00:52 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:00:52 Step 2/27 : FROM ${BASE} AS builder 04:00:52 ---> cdd994eb9229 04:00:52 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:00:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:00:52 + sudo service docker restart 04:00:53 ---> Running in dfc93564508e 04:00:53 Removing intermediate container dfc93564508e 04:00:53 ---> fafd8c498849 04:00:53 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:00:53 ---> Running in 69fddede7e4e 04:00:53 Removing intermediate container 69fddede7e4e 04:00:53 ---> c7814e63ab8e 04:00:53 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:00:53 ---> Running in 6f39cacecff1 04:00:53 Removing intermediate container 6f39cacecff1 04:00:53 ---> 75a32b0bcfdd 04:00:53 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:00:53 ---> Running in 24c6787fe4e8 04:00:53 Removing intermediate container 24c6787fe4e8 04:00:53 ---> fc6135f33027 04:00:53 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:00:53 ---> Running in 811eaaa955cf 04:00:53 Removing intermediate container 811eaaa955cf 04:00:53 ---> 736216a701a4 04:00:53 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:00:53 ---> Running in 9df17d452c21 04:00:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:00:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:00:54 OK: 264 MiB in 52 packages 04:00:54 Removing intermediate container 9df17d452c21 04:00:54 ---> dd394a57f8ba 04:00:54 Step 9/27 : WORKDIR /device-onvif-camera 04:00:54 ---> Running in cb7c629d46a5 04:00:54 Removing intermediate container cb7c629d46a5 04:00:54 ---> dd7193374c39 04:00:54 Step 10/27 : COPY go.mod vendor* ./ 04:00:54 ---> 42ac45fe4a71 04:00:54 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:00:54 ---> Running in 7011a5492dfc 04:00:55 Removing intermediate container 7011a5492dfc 04:00:55 ---> ae3c26a65de8 04:00:55 Step 12/27 : COPY . . 04:00:57 ---> 9bdcef338523 04:00:57 Step 13/27 : RUN ${MAKE} 04:00:57 ---> Running in 9c15b34ec281 04:00:57 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.21" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:01:11 provisioning config files... 04:01:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7845337369902481109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:11 ---> ****-login.sh 04:01:11 nexus3.edgexfoundry.org:10001 04:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:12 Configure a credential helper to remove this warning. See 04:01:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:12 04:01:12 Login Succeeded 04:01:12 nexus3.edgexfoundry.org:10002 04:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:12 Configure a credential helper to remove this warning. See 04:01:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:12 04:01:12 Login Succeeded 04:01:12 nexus3.edgexfoundry.org:10003 04:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:13 Configure a credential helper to remove this warning. See 04:01:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:13 04:01:13 Login Succeeded 04:01:13 nexus3.edgexfoundry.org:10004 04:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:13 Configure a credential helper to remove this warning. See 04:01:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:13 04:01:13 Login Succeeded 04:01:13 ****.io 04:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:14 Configure a credential helper to remove this warning. See 04:01:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:14 04:01:14 Login Succeeded 04:01:14 ---> ****-login.sh ends [Pipeline] } 04:01:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:01:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:01:14 ========================================================= 04:01:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:01:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:15 + 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 . 04:01:15 Sending build context to Docker daemon 21.71MB 04:01:15 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:01:15 Step 2/13 : FROM ${BASE} AS builder 04:01:16 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:01:16 c6b39de5b339: Pulling fs layer 04:01:16 a69c41024577: Pulling fs layer 04:01:16 d6de4b400683: Pulling fs layer 04:01:16 35cb2a7552d0: Pulling fs layer 04:01:16 4f4fb700ef54: Pulling fs layer 04:01:16 464afbd9ba4c: Pulling fs layer 04:01:16 00f215d4a9da: Pulling fs layer 04:01:16 d496ad576159: Pulling fs layer 04:01:16 464afbd9ba4c: Waiting 04:01:16 00f215d4a9da: Waiting 04:01:16 d496ad576159: Waiting 04:01:16 35cb2a7552d0: Waiting 04:01:16 4f4fb700ef54: Waiting 04:01:16 a69c41024577: Verifying Checksum 04:01:16 35cb2a7552d0: Verifying Checksum 04:01:16 35cb2a7552d0: Download complete 04:01:16 4f4fb700ef54: Verifying Checksum 04:01:16 4f4fb700ef54: Download complete 04:01:16 464afbd9ba4c: Verifying Checksum 04:01:16 464afbd9ba4c: Download complete 04:01:16 c6b39de5b339: Download complete 04:01:16 d496ad576159: Verifying Checksum 04:01:16 d496ad576159: Download complete 04:01:17 c6b39de5b339: Pull complete 04:01:17 a69c41024577: Pull complete 04:01:17 d6de4b400683: Verifying Checksum 04:01:17 d6de4b400683: Download complete 04:01:19 00f215d4a9da: Verifying Checksum 04:01:19 00f215d4a9da: Download complete 04:01:31 d6de4b400683: Pull complete 04:01:31 35cb2a7552d0: Pull complete 04:01:31 4f4fb700ef54: Pull complete 04:01:31 464afbd9ba4c: Pull complete 04:01:36 Removing intermediate container 9c15b34ec281 04:01:36 ---> 8aa3285a1fcc 04:01:36 Step 14/27 : FROM alpine:3.18 04:01:36 3.18: Pulling from library/alpine 04:01:36 73baa7ef167e: Pulling fs layer 04:01:36 73baa7ef167e: Verifying Checksum 04:01:36 73baa7ef167e: Download complete 04:01:36 73baa7ef167e: Pull complete 04:01:36 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:01:36 Status: Downloaded newer image for alpine:3.18 04:01:36 ---> 8fd7cac70a4a 04:01:36 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:01:36 ---> Running in a2ff28e566c8 04:01:36 Removing intermediate container a2ff28e566c8 04:01:36 ---> 6452666a8381 04:01:36 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:01:36 ---> Running in cc103cba7a84 04:01:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:01:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:01:36 (1/1) Installing dumb-init (1.2.5-r2) 04:01:36 Executing busybox-1.36.1-r7.trigger 04:01:36 OK: 7 MiB in 16 packages 04:01:36 Removing intermediate container cc103cba7a84 04:01:36 ---> 8c706609e58d 04:01:36 Step 17/27 : RUN apk --no-cache upgrade 04:01:36 ---> Running in e5fce139af17 04:01:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:01:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:01:37 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:01:37 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:01:37 OK: 7 MiB in 16 packages 04:01:38 Removing intermediate container e5fce139af17 04:01:38 ---> 9aabc22c52d1 04:01:38 Step 18/27 : WORKDIR / 04:01:38 ---> Running in f9588ed02a1e 04:01:38 Removing intermediate container f9588ed02a1e 04:01:38 ---> 4c5d86e74eb4 04:01:38 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:01:39 ---> a450b04c7d2e 04:01:39 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:01:39 ---> 2f976bcf7184 04:01:39 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:01:39 ---> f35ff5cd0f0e 04:01:39 Step 22/27 : EXPOSE 59984 04:01:39 ---> Running in 9b91b78f3c64 04:01:39 00f215d4a9da: Pull complete 04:01:39 Removing intermediate container 9b91b78f3c64 04:01:39 ---> 35e0d06a02e3 04:01:39 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:01:39 ---> Running in e5c0e6c49f59 04:01:39 Removing intermediate container e5c0e6c49f59 04:01:39 ---> 71a63e8adbea 04:01:39 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:01:39 ---> Running in 4eb94b2059fd 04:01:39 Removing intermediate container 4eb94b2059fd 04:01:39 ---> ddc3430a48f3 04:01:39 Step 25/27 : LABEL arch=amd64 04:01:39 ---> Running in 545c73b23cc4 04:01:40 Removing intermediate container 545c73b23cc4 04:01:40 ---> d72b7579b821 04:01:40 Step 26/27 : LABEL git_sha=5f05d136693950cec5981ec9b694521c5beefe7e 04:01:40 ---> Running in 90664d250c7c 04:01:40 Removing intermediate container 90664d250c7c 04:01:40 ---> dec4fcebca0c 04:01:40 Step 27/27 : LABEL version=0.0.0 04:01:40 ---> Running in 2bad4026f7a7 04:01:40 Removing intermediate container 2bad4026f7a7 04:01:40 ---> 8e91b090c891 04:01:40 [Warning] One or more build-args [ARCH] were not consumed 04:01:40 Successfully built 8e91b090c891 04:01:40 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:41 d496ad576159: Pull complete 04:01:41 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:01:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:01:41 ---> f246e2811388 04:01:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:01:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:01:41 04:01:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:01:41 latest: Pulling from edgex-lftools-log-publisher 04:01:41 5eb5b503b376: Pulling fs layer 04:01:41 5c69ac0246d0: Pulling fs layer 04:01:41 ec43610c2a17: Pulling fs layer 04:01:41 3a2ae6a8a46f: Pulling fs layer 04:01:41 33b1e0a273af: Pulling fs layer 04:01:41 5d3b04190fa2: Pulling fs layer 04:01:41 2f39f015ded8: Pulling fs layer 04:01:41 3a2ae6a8a46f: Waiting 04:01:41 33b1e0a273af: Waiting 04:01:41 5d3b04190fa2: Waiting 04:01:41 2f39f015ded8: Waiting 04:01:41 5c69ac0246d0: Download complete 04:01:41 3a2ae6a8a46f: Verifying Checksum 04:01:41 3a2ae6a8a46f: Download complete 04:01:41 33b1e0a273af: Verifying Checksum 04:01:41 33b1e0a273af: Download complete 04:01:41 ec43610c2a17: Verifying Checksum 04:01:41 ec43610c2a17: Download complete 04:01:41 5d3b04190fa2: Verifying Checksum 04:01:41 5d3b04190fa2: Download complete 04:01:42 5eb5b503b376: Verifying Checksum 04:01:42 5eb5b503b376: Download complete 04:01:42 2f39f015ded8: Verifying Checksum 04:01:42 2f39f015ded8: Download complete 04:01:43 ---> Running in 9a6cceae223d 04:01:43 Removing intermediate container 9a6cceae223d 04:01:43 ---> 2ca1630811ba 04:01:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:01:43 ---> Running in 56fb4acc2f17 04:01:43 5eb5b503b376: Pull complete 04:01:43 Removing intermediate container 56fb4acc2f17 04:01:43 ---> 0489dab8f516 04:01:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:01:43 ---> Running in 199017a78605 04:01:43 5c69ac0246d0: Pull complete 04:01:43 Removing intermediate container 199017a78605 04:01:43 ---> 4aa76efbb9b1 04:01:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:01:43 ec43610c2a17: Pull complete 04:01:44 3a2ae6a8a46f: Pull complete 04:01:44 33b1e0a273af: Pull complete 04:01:44 ---> Running in 2cb6ddfd6ec0 04:01:44 5d3b04190fa2: Pull complete 04:01:44 Removing intermediate container 2cb6ddfd6ec0 04:01:44 ---> 21ff120ef0f8 04:01:44 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:01:44 ---> Running in 9f1300ba5508 04:01:44 Removing intermediate container 9f1300ba5508 04:01:44 ---> 2de352483af8 04:01:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:01:44 ---> Running in ad683921939e 04:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:01:46 OK: 266 MiB in 52 packages 04:01:47 Removing intermediate container ad683921939e 04:01:47 ---> d3e6ed8fe88a 04:01:47 Step 9/13 : WORKDIR /device-onvif-camera 04:01:47 ---> Running in a2c2b42d9876 04:01:48 Removing intermediate container a2c2b42d9876 04:01:48 ---> a6da8a410a47 04:01:48 Step 10/13 : COPY go.mod vendor* ./ 04:01:48 ---> 6748dc5832e6 04:01:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:01:48 2f39f015ded8: Pull complete 04:01:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:01:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:01:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:48 ---> Running in 594357a0d813 04:01:48 prd-ubuntu20.04-docker-8c-8g-5593 does not seem to be running inside a container 04:01: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/undry_device-onvif-camera_PR-445 -v /w/workspace/undry_device-onvif-camera_PR-445:/w/workspace/undry_device-onvif-camera_PR-445:rw,z -v /w/workspace/undry_device-onvif-camera_PR-445@tmp:/w/workspace/undry_device-onvif-camera_PR-445@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 04:01:53 $ docker top 98d9c526fe4429de27c2fdca4c4f9632e24d33b01c348f53d29d56c5ff7fbf15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:53 ---> job-cost.sh 04:01:53 lf-activate-venv: SKIPPING 04:01:53 INFO: No Stack... 04:01:54 INFO: Retrieving Pricing Info for: v3-standard-8 04:01:54 INFO: Archiving Costs [Pipeline] sh 04:01:54 + cut -d, -f6 04:01:54 + cat /w/workspace/undry_device-onvif-camera_PR-445/archives/cost.csv [Pipeline] lock 04:01:54 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-445-1-stack-cost] 04:01:54 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-445-1-stack-cost] did not exist. Created. 04:01:54 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-445-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:01:55 + echo total: 0.2199999988079071 [Pipeline] stash 04:01:55 Stashed 1 file(s) [Pipeline] } 04:01:55 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-445-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:01:55 $ docker stop --time=1 98d9c526fe4429de27c2fdca4c4f9632e24d33b01c348f53d29d56c5ff7fbf15 04:01:56 $ docker rm -f --volumes 98d9c526fe4429de27c2fdca4c4f9632e24d33b01c348f53d29d56c5ff7fbf15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:03:40 Removing intermediate container 594357a0d813 04:03:40 ---> a5d52dde5d70 04:03:40 Step 12/13 : COPY . . 04:03:40 ---> 39b43de09515 04:03:40 Step 13/13 : RUN ${MAKE} 04:03:40 ---> Running in cc781f0caab5 04:03:40 noop 04:03:40 Removing intermediate container cc781f0caab5 04:03:40 ---> de11ba330e4f 04:03:40 Successfully built de11ba330e4f 04:03:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:40 + docker inspect -f . ci-base-image-arm64 04:03:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:41 prd-ubuntu20.04-docker-arm64-4c-16g-5594 does not seem to be running inside a container 04:03:41 $ 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 ******** ci-base-image-arm64 cat 04:03:42 $ docker top 2b86fe56042ad016969272622e5049fef4631249c68eaef9b8a8dc6d32958c80 -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:43 + go version 04:03:43 go version go1.21.9 linux/arm64 [Pipeline] } 04:03:43 $ docker stop --time=1 2b86fe56042ad016969272622e5049fef4631249c68eaef9b8a8dc6d32958c80 04:03:45 $ docker rm -f --volumes 2b86fe56042ad016969272622e5049fef4631249c68eaef9b8a8dc6d32958c80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:46 + docker inspect -f . ci-base-image-arm64 04:03:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:46 prd-ubuntu20.04-docker-arm64-4c-16g-5594 does not seem to be running inside a container 04:03:46 $ 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 ******** ci-base-image-arm64 cat 04:03:47 $ docker top d8ed1d49df43e7525570bd17cdc3bfa951d4a3e764e0d67ade0c6974cbf5246e -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:48 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:03:49 + make test 04:03:49 go test ./... -coverprofile=coverage.out ./... 04:03:54 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:07:46 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:07:46 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:07:46 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.189s coverage: 31.4% of statements 04:08:05 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.353s coverage: 86.5% of statements 04:08:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:08:05 go vet ./... 04:08:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:08:52 ./bin/test-attribution-txt.sh 04:08:52 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:08:52 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:08:52 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:08:52 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:08:52 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:08:52 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:08:52 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:08:52 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:08:52 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:08:52 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:08:52 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:08:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:08:52 $ docker stop --time=1 d8ed1d49df43e7525570bd17cdc3bfa951d4a3e764e0d67ade0c6974cbf5246e 04:08:54 $ docker rm -f --volumes d8ed1d49df43e7525570bd17cdc3bfa951d4a3e764e0d67ade0c6974cbf5246e [Pipeline] // withDockerContainer [Pipeline] sh 04:08:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:08:55 Warning: overwriting stash ‘coverage-report’ 04:08:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:08:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:08:57 + ls -al . 04:08:57 total 308 04:08:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 04:03 . 04:08:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 04:00 .. 04:08:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 04:00 .git 04:08:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 04:00 .github 04:08:57 -rw-rw-r-- 1 jenkins jenkins 493 Jul 15 04:00 .gitignore 04:08:57 -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 04:00 .golangci.yml 04:08:57 -rw-rw-r-- 1 jenkins jenkins 11155 Jul 15 04:00 Attribution.txt 04:08:57 -rw-rw-r-- 1 jenkins jenkins 17665 Jul 15 04:00 CHANGELOG.md 04:08:57 -rw-rw-r-- 1 jenkins jenkins 1683 Jul 15 04:00 Dockerfile 04:08:57 -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 04:00 GOVERNANCE.md 04:08:57 -rw-rw-r-- 1 jenkins jenkins 739 Jul 15 04:00 Jenkinsfile 04:08:57 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 15 04:00 LICENSE 04:08:57 -rw-rw-r-- 1 jenkins jenkins 2883 Jul 15 04:00 Makefile 04:08:57 -rw-rw-r-- 1 jenkins jenkins 625 Jul 15 04:00 OWNERS.md 04:08:57 -rw-rw-r-- 1 jenkins jenkins 2620 Jul 15 04:00 README.md 04:08:57 -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 03:58 VERSION 04:08:57 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 04:00 bin 04:08:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 04:00 cmd 04:08:57 -rw-r--r-- 1 jenkins jenkins 78805 Jul 15 04:08 coverage.out 04:08:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 04:00 doc 04:08:57 -rw-rw-r-- 1 jenkins jenkins 7437 Jul 15 04:00 go.mod 04:08:57 -rw-rw-r-- 1 jenkins jenkins 103036 Jul 15 04:00 go.sum 04:08:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 04:00 internal 04:08:57 -rw-rw-r-- 1 jenkins jenkins 236 Jul 15 04:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:57 + 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=5f05d136693950cec5981ec9b694521c5beefe7e --label arch=arm64 --label version=0.0.0 . 04:08:58 Sending build context to Docker daemon 21.79MB 04:08:58 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:08:58 Step 2/27 : FROM ${BASE} AS builder 04:08:58 ---> de11ba330e4f 04:08:58 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:08:58 ---> Running in 14e07f414092 04:08:58 Removing intermediate container 14e07f414092 04:08:58 ---> da61b7d39c04 04:08:58 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:08:58 ---> Running in e82d2b9afc13 04:08:59 Removing intermediate container e82d2b9afc13 04:08:59 ---> 9c0e960ac7ea 04:08:59 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:08:59 ---> Running in 5c04afad1416 04:08:59 Removing intermediate container 5c04afad1416 04:08:59 ---> 16d56ae6465b 04:08:59 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:08:59 ---> Running in e66a0d0c9115 04:08:59 Removing intermediate container e66a0d0c9115 04:08:59 ---> 89d7ec6ee8d8 04:08:59 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:08:59 ---> Running in f2154bed540d 04:09:00 Removing intermediate container f2154bed540d 04:09:00 ---> 8d24b88ec844 04:09:00 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:09:00 ---> Running in 3f547769ae09 04:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:09:02 OK: 266 MiB in 52 packages 04:09:03 Removing intermediate container 3f547769ae09 04:09:03 ---> 1a079cdf178b 04:09:03 Step 9/27 : WORKDIR /device-onvif-camera 04:09:03 ---> Running in 0c5b4a3b38e4 04:09:03 Removing intermediate container 0c5b4a3b38e4 04:09:03 ---> 78ed94f9084c 04:09:03 Step 10/27 : COPY go.mod vendor* ./ 04:09:04 ---> d24260dee97e 04:09:04 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:04 ---> Running in 1fb4642f84c6 04:09:07 Removing intermediate container 1fb4642f84c6 04:09:07 ---> 7c03bdbda74a 04:09:07 Step 12/27 : COPY . . 04:09:08 ---> 00ceb5a75459 04:09:08 Step 13/27 : RUN ${MAKE} 04:09:08 ---> Running in 6023e66bef7e 04:09:09 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.21" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:12:46 Removing intermediate container 6023e66bef7e 04:12:46 ---> df6b2168b215 04:12:46 Step 14/27 : FROM alpine:3.18 04:12:46 3.18: Pulling from library/alpine 04:12:46 5c905c7ebe2f: Pulling fs layer 04:12:46 5c905c7ebe2f: Verifying Checksum 04:12:46 5c905c7ebe2f: Download complete 04:12:46 5c905c7ebe2f: Pull complete 04:12:46 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:12:46 Status: Downloaded newer image for alpine:3.18 04:12:46 ---> dec292d02e07 04:12:46 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:12:46 ---> Running in 0724f3e03311 04:12:46 Removing intermediate container 0724f3e03311 04:12:46 ---> 38130a5398f1 04:12:46 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:12:46 ---> Running in a8fc77470f67 04:12:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:12:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:12:46 (1/1) Installing dumb-init (1.2.5-r2) 04:12:46 Executing busybox-1.36.1-r7.trigger 04:12:46 OK: 8 MiB in 16 packages 04:12:46 Removing intermediate container a8fc77470f67 04:12:46 ---> e806ade4d56a 04:12:46 Step 17/27 : RUN apk --no-cache upgrade 04:12:46 ---> Running in 6fe07865d3b6 04:12:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:12:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:12:46 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:12:46 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:12:46 OK: 8 MiB in 16 packages 04:12:46 Removing intermediate container 6fe07865d3b6 04:12:46 ---> a1fc1460d915 04:12:46 Step 18/27 : WORKDIR / 04:12:46 ---> Running in 72f906d069ca 04:12:46 Removing intermediate container 72f906d069ca 04:12:46 ---> 85af46c851eb 04:12:46 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:12:46 ---> e16f6b02ee7d 04:12:46 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:12:46 ---> 0d73e81ff212 04:12:46 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:12:46 ---> b335a60e9717 04:12:46 Step 22/27 : EXPOSE 59984 04:12:46 ---> Running in dffcf9ad0afc 04:12:46 Removing intermediate container dffcf9ad0afc 04:12:46 ---> dd44403cf841 04:12:46 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:12:46 ---> Running in 23a31746883c 04:12:46 Removing intermediate container 23a31746883c 04:12:46 ---> f9edf3c5549c 04:12:46 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:12:46 ---> Running in 09330a1e4363 04:12:46 Removing intermediate container 09330a1e4363 04:12:46 ---> 3f83c85c6dd9 04:12:46 Step 25/27 : LABEL arch=arm64 04:12:46 ---> Running in 99379f27deff 04:12:46 Removing intermediate container 99379f27deff 04:12:46 ---> ec5a9ada5a86 04:12:46 Step 26/27 : LABEL git_sha=5f05d136693950cec5981ec9b694521c5beefe7e 04:12:46 ---> Running in cc20577cee93 04:12:46 Removing intermediate container cc20577cee93 04:12:46 ---> f86c590f8669 04:12:46 Step 27/27 : LABEL version=0.0.0 04:12:46 ---> Running in 7b251dbf503f 04:12:46 Removing intermediate container 7b251dbf503f 04:12:46 ---> 0e45608f6f1c 04:12:46 [Warning] One or more build-args [ARCH] were not consumed 04:12:46 Successfully built 0e45608f6f1c 04:12:46 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:47 04:12:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:47 arm64: Pulling from edgex-lftools-log-publisher 04:12:47 8998bd30e6a1: Pulling fs layer 04:12:47 04944245beec: Pulling fs layer 04:12:47 699f458cf7ca: Pulling fs layer 04:12:47 765212b225bb: Pulling fs layer 04:12:47 f23df028b6ca: Pulling fs layer 04:12:47 d65c8cfc05b1: Pulling fs layer 04:12:47 2437ff75d9bd: Pulling fs layer 04:12:47 765212b225bb: Waiting 04:12:47 f23df028b6ca: Waiting 04:12:47 d65c8cfc05b1: Waiting 04:12:47 2437ff75d9bd: Waiting 04:12:47 04944245beec: Verifying Checksum 04:12:47 04944245beec: Download complete 04:12:47 765212b225bb: Verifying Checksum 04:12:47 765212b225bb: Download complete 04:12:47 f23df028b6ca: Download complete 04:12:47 d65c8cfc05b1: Verifying Checksum 04:12:47 d65c8cfc05b1: Download complete 04:12:48 699f458cf7ca: Download complete 04:12:48 8998bd30e6a1: Verifying Checksum 04:12:48 8998bd30e6a1: Download complete 04:12:51 2437ff75d9bd: Verifying Checksum 04:12:51 2437ff75d9bd: Download complete 04:12:52 8998bd30e6a1: Pull complete 04:12:53 04944245beec: Pull complete 04:12:55 699f458cf7ca: Pull complete 04:12:55 765212b225bb: Pull complete 04:12:56 f23df028b6ca: Pull complete 04:12:56 d65c8cfc05b1: Pull complete 04:13:14 2437ff75d9bd: Pull complete 04:13:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:13:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:13:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:14 prd-ubuntu20.04-docker-arm64-4c-16g-5594 does not seem to be running inside a container 04:13:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:13:17 $ docker top eda03841bcb9e994b70036aaf668c58db4b43c5378dc5a16fb14a298ce45e7d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:18 ---> job-cost.sh 04:13:18 lf-activate-venv: SKIPPING 04:13:18 INFO: No Stack... 04:13:18 INFO: Retrieving Pricing Info for: v3-standard-4 04:13:19 INFO: Archiving Costs [Pipeline] sh 04:13:20 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 04:13:20 + cut -d, -f6 [Pipeline] lock 04:13:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-445-1-stack-cost] 04:13:20 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-445-1-stack-cost] did not exist. Created. 04:13:20 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-445-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:13:21 /w/workspace/device-onvif-camera/1@tmp/durable-daba530c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:13:21 + echo total: 0.10999999940395355 [Pipeline] stash 04:13:21 Warning: overwriting stash ‘stack-cost’ 04:13:22 Stashed 1 file(s) [Pipeline] } 04:13:22 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-445-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:13:22 $ docker stop --time=1 eda03841bcb9e994b70036aaf668c58db4b43c5378dc5a16fb14a298ce45e7d1 04:13:23 $ docker rm -f --volumes eda03841bcb9e994b70036aaf668c58db4b43c5378dc5a16fb14a298ce45e7d1 [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 04:13:24 provisioning config files... 04:13:24 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-445@tmp/config8694013080726373415tmp [Pipeline] { [Pipeline] sh 04:13:25 + set +x 04:13:25 + curl -s https://codecov.io/bash 04:13:25 + bash -s -- 04:13:25 04:13:25 _____ _ 04:13:25 / ____| | | 04:13:25 | | ___ __| | ___ ___ _____ __ 04:13:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:13:25 | |___| (_) | (_| | __/ (_| (_) \ V / 04:13:25 \_____\___/ \__,_|\___|\___\___/ \_/ 04:13:25 Bash-1.0.6 04:13:25 04:13:25 04:13:25 ==> git version 2.25.1 found 04:13:25 ==> 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 04:13:25 Release-Date: 2020-01-08 04:13:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:13:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:13:25 ==> Jenkins CI detected. 04:13:25 current dir:  /w/workspace/undry_device-onvif-camera_PR-445 04:13:25 project root: . 04:13:25 --> token set from env 04:13:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:13:25 ==> Running gcov in . (disable via -X gcov) 04:13:25 ==> Python coveragepy not found 04:13:25 ==> Searching for coverage reports in: 04:13:25 + . 04:13:25 -> Found 1 reports 04:13:25 ==> Detecting git/mercurial file structure 04:13:25 ==> Reading reports 04:13:25 + ./coverage.out bytes=78805 04:13:25 ==> Appending adjustments 04:13:25 https://docs.codecov.io/docs/fixing-reports 04:13:25 + Found adjustments 04:13:25 ==> Gzipping contents 04:13:25 12K /tmp/codecov.raqjFt.gz 04:13:25 ==> Uploading reports 04:13:25 url: https://codecov.io 04:13:25 query: branch=PR-445&commit=5f05d136693950cec5981ec9b694521c5beefe7e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-445%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=445&job=&cmd_args= 04:13:25 -> Pinging Codecov 04:13:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-445&commit=5f05d136693950cec5981ec9b694521c5beefe7e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-445%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=445&job=&cmd_args= 04:13:25 -> Uploading to 04:13:25 https://storage.googleapis.com/codecov/v4/raw/2024-07-15/F29A59C45E3A92E06B3E522C9905F8EF/5f05d136693950cec5981ec9b694521c5beefe7e/96622a2a-afc1-40fb-96d4-6f001c2f6ce3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240715%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240715T041325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f84799c1f18da4ec9e888b205a19916b4b44bd1ce770de31acb9f061668fadea 04:13:25 % Total % Received % Xferd Average Speed Time Time Time Current 04:13:25 Dload Upload Total Spent Left Speed 04:13:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 43333 --:--:-- --:--:-- --:--:-- 43153 04:13:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/5f05d136693950cec5981ec9b694521c5beefe7e [Pipeline] } 04:13:26 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:13:28 + [ -d /w/workspace/undry_device-onvif-camera_PR-445/archives ] 04:13:28 + ls -al /w/workspace/undry_device-onvif-camera_PR-445/archives 04:13:28 total 16 04:13:28 drwxr-xr-x 3 root root 4096 Jul 15 04:01 . 04:13:28 drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 04:01 .. 04:13:28 drwxr-xr-x 2 root root 4096 Jul 15 04:01 cost 04:13:28 -rw-r--r-- 1 root root 91 Jul 15 04:01 cost.csv 04:13:28 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-445/archives 04:13:28 + ls -al /w/workspace/undry_device-onvif-camera_PR-445/archives 04:13:28 total 16 04:13:28 drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 04:01 . 04:13:28 drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 04:01 .. 04:13:28 drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 04:01 cost 04:13:28 -rw-r--r-- 1 jenkins jenkins 91 Jul 15 04:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:13:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:13:29 ---> package-listing.sh 04:13:29 ++ facter osfamily 04:13:29 ++ tr '[:upper:]' '[:lower:]' 04:13:30 + OS_FAMILY=debian 04:13:30 + workspace=/w/workspace/undry_device-onvif-camera_PR-445 04:13:30 + START_PACKAGES=/tmp/packages_start.txt 04:13:30 + END_PACKAGES=/tmp/packages_end.txt 04:13:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:13:30 + PACKAGES=/tmp/packages_start.txt 04:13:30 + '[' /w/workspace/undry_device-onvif-camera_PR-445 ']' 04:13:30 + PACKAGES=/tmp/packages_end.txt 04:13:30 + case "${OS_FAMILY}" in 04:13:30 + dpkg -l 04:13:30 + grep '^ii' 04:13:30 + '[' -f /tmp/packages_start.txt ']' 04:13:30 + '[' -f /tmp/packages_end.txt ']' 04:13:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:13:30 + '[' /w/workspace/undry_device-onvif-camera_PR-445 ']' 04:13:30 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-445/archives/ 04:13:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-445/archives/ [Pipeline] echo 04:13:30 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:13:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:13:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:31 prd-ubuntu20.04-docker-8c-8g-5593 does not seem to be running inside a container 04:13:31 $ 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-445/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-445 -v /w/workspace/undry_device-onvif-camera_PR-445:/w/workspace/undry_device-onvif-camera_PR-445:rw,z -v /w/workspace/undry_device-onvif-camera_PR-445@tmp:/w/workspace/undry_device-onvif-camera_PR-445@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 04:13:31 $ docker top c6faebaf605cca2565b1ac3079d3a2258ccd7925188e9a143ca113ef9a4317bd -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:31 + touch /tmp/pre-build-complete [Pipeline] sh 04:13:32 + mkdir -p /var/log/sysstat [Pipeline] sh 04:13:32 + ls /var/log/sa-host 04:13:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:13:32 provisioning config files... 04:13:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-445@tmp/config5231259754042837714tmp [Pipeline] { [Pipeline] echo 04:13:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:13:33 ---> create-netrc.sh [Pipeline] } 04:13:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:13:33 ---> python-tools-install.sh [Pipeline] echo 04:13:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:13:33 ---> sudo-logs.sh 04:13:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:13:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:13:34 ---> job-cost.sh 04:13:34 lf-activate-venv: SKIPPING 04:13:34 DEBUG: total: 0.2199999988079071 04:13:34 INFO: Retrieving Stack Cost... 04:13:34 INFO: Retrieving Pricing Info for: v3-standard-8 04:13:35 INFO: Archiving Costs [Pipeline] echo 04:13:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:13:35 ---> logs-deploy.sh 04:13:35 lf-activate-venv: SKIPPING 04:13:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-445/1 04:13:35 INFO: archiving workspace using pattern(s): 04:13:36 Archives upload complete. 04:13:37 INFO: archiving logs to Nexus