Pull request #441 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8f385e8cbc3ba25320102b700654800061bbd238+2106e125979a086dec88e89ea60f58fe74ababf0 (81d76e32c46832617dc59d064602248771da5df2) 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-ssh8397761666057270000.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-ssh949696308312805344.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-441/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-441/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12482017295475074426.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-441/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7371842340353004115.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-ssh6844510927638220124.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-441/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-441/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12000133280228630951.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4413 in /w/workspace/undry_device-onvif-camera_PR-441 [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-441 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2106e125979a086dec88e89ea60f58fe74ababf0 into PR head commit 8f385e8cbc3ba25320102b700654800061bbd238 > 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/441/head:refs/remotes/origin/PR-441 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f385e8cbc3ba25320102b700654800061bbd238 # timeout=10 Merge succeeded, producing 8f385e8cbc3ba25320102b700654800061bbd238 Checking out Revision 8f385e8cbc3ba25320102b700654800061bbd238 (PR-441) 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 remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2106e125979a086dec88e89ea60f58fe74ababf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f385e8cbc3ba25320102b700654800061bbd238 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:33:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:33:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:33:36 ========================================================= 03:33:36 EdgeX Global Pipelines Version Info 03:33:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:33:37 ------------------- 03:33:37 stable info: 03:33:37 ------------------- 03:33:37 Commited By: Ginny Guan ginny@iotechsys.com 03:33:37 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 03:33:37 Message: update stable to v1.0.260 03:33:37 ------------------- 03:33:37 experimental info: 03:33:37 ------------------- 03:33:37 Commited By: Ginny Guan ginny@iotechsys.com 03:33:37 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:33:37 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:33:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:33:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-441 [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-441 [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-441 [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f385e8cbc3ba25320102b700654800061bbd238 [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f385e8 [Pipeline] echo 03:33:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:33:40 provisioning config files... 03:33:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-441@tmp/config6643023788334767537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:40 ---> ****-login.sh 03:33:40 nexus3.edgexfoundry.org:10001 03:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:41 Configure a credential helper to remove this warning. See 03:33:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:41 03:33:41 Login Succeeded 03:33:41 nexus3.edgexfoundry.org:10002 03:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:41 Configure a credential helper to remove this warning. See 03:33:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:41 03:33:41 Login Succeeded 03:33:41 nexus3.edgexfoundry.org:10003 03:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:41 Configure a credential helper to remove this warning. See 03:33:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:41 03:33:41 Login Succeeded 03:33:41 nexus3.edgexfoundry.org:10004 03:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:41 Configure a credential helper to remove this warning. See 03:33:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:41 03:33:41 Login Succeeded 03:33:41 ****.io 03:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:41 Configure a credential helper to remove this warning. See 03:33:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:41 03:33:41 Login Succeeded 03:33:41 ---> ****-login.sh ends [Pipeline] } 03:33:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:33:42 + git rev-list -1 --merges 8f385e8cbc3ba25320102b700654800061bbd238~1..8f385e8cbc3ba25320102b700654800061bbd238 [Pipeline] echo 03:33:42 -----------> git rev-list -1 --merges 8f385e8cbc3ba25320102b700654800061bbd238~1..8f385e8cbc3ba25320102b700654800061bbd238 8f385e8cbc3ba25320102b700654800061bbd238 [false] [Pipeline] sh 03:33:42 + git log --format=format:%s -1 8f385e8cbc3ba25320102b700654800061bbd238 [Pipeline] echo 03:33:43 ========================================================= 03:33:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:33:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:33:43 + git log --format=format:%s -1 8f385e8cbc3ba25320102b700654800061bbd238 [Pipeline] echo 03:33:43 [semverPrep] GIT_COMMIT: 8f385e8cbc3ba25320102b700654800061bbd238, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:33:43 [semverPrep] This is not a build commit. [Pipeline] sh 03:33:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:33:44 + grep -v github /etc/ssh/ssh_known_hosts 03:33:44 + [ -e /tmp/ssh_known_hosts ] 03:33:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:33:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:33:44 + sudo tee -a /etc/ssh/ssh_known_hosts 03:33:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:33:44 03:33:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:33:45 0.1.4: Pulling from edgex-devops/py-git-semver 03:33:45 b85a868b505f: Pulling fs layer 03:33:45 e2be974225ed: Pulling fs layer 03:33:45 339a4e72a1f5: Pulling fs layer 03:33:45 988bab9f4d93: Pulling fs layer 03:33:45 1469e6f7b9e6: Pulling fs layer 03:33:45 eaf3925da568: Pulling fs layer 03:33:45 bab4dde63d76: Pulling fs layer 03:33:45 bde34c3a00c8: Pulling fs layer 03:33:45 b352a97aabf1: Pulling fs layer 03:33:45 4872d77fe225: Pulling fs layer 03:33:45 5851b861e8e6: Pulling fs layer 03:33:45 bab4dde63d76: Waiting 03:33:45 bde34c3a00c8: Waiting 03:33:45 b352a97aabf1: Waiting 03:33:45 4872d77fe225: Waiting 03:33:45 5851b861e8e6: Waiting 03:33:45 988bab9f4d93: Waiting 03:33:45 eaf3925da568: Waiting 03:33:45 1469e6f7b9e6: Waiting 03:33:45 e2be974225ed: Verifying Checksum 03:33:45 e2be974225ed: Download complete 03:33:45 988bab9f4d93: Verifying Checksum 03:33:45 988bab9f4d93: Download complete 03:33:45 1469e6f7b9e6: Verifying Checksum 03:33:45 1469e6f7b9e6: Download complete 03:33:45 eaf3925da568: Verifying Checksum 03:33:45 eaf3925da568: Download complete 03:33:45 339a4e72a1f5: Verifying Checksum 03:33:45 339a4e72a1f5: Download complete 03:33:45 bde34c3a00c8: Download complete 03:33:45 b352a97aabf1: Download complete 03:33:45 4872d77fe225: Verifying Checksum 03:33:45 4872d77fe225: Download complete 03:33:45 5851b861e8e6: Download complete 03:33:45 b85a868b505f: Verifying Checksum 03:33:45 b85a868b505f: Download complete 03:33:45 bab4dde63d76: Verifying Checksum 03:33:45 bab4dde63d76: Download complete 03:33:46 b85a868b505f: Pull complete 03:33:46 e2be974225ed: Pull complete 03:33:46 339a4e72a1f5: Pull complete 03:33:46 988bab9f4d93: Pull complete 03:33:47 1469e6f7b9e6: Pull complete 03:33:47 eaf3925da568: Pull complete 03:33:49 bab4dde63d76: Pull complete 03:33:49 bde34c3a00c8: Pull complete 03:33:49 b352a97aabf1: Pull complete 03:33:49 4872d77fe225: Pull complete 03:33:49 5851b861e8e6: Pull complete 03:33:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:33:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:33:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:49 prd-ubuntu20.04-docker-8c-8g-4413 does not seem to be running inside a container 03:33:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-441 -v /w/workspace/undry_device-onvif-camera_PR-441:/w/workspace/undry_device-onvif-camera_PR-441:rw,z -v /w/workspace/undry_device-onvif-camera_PR-441@tmp:/w/workspace/undry_device-onvif-camera_PR-441@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:33:52 $ docker top 17b6838a421d363fd2e758342e08e81ee5afcc2b44ae09523959857cdf9aaec9 -eo pid,comm 03:33:52 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:33:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:33:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:33:52 [ssh-agent] Looking for ssh-agent implementation... 03:33:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:33:52 $ docker exec 17b6838a421d363fd2e758342e08e81ee5afcc2b44ae09523959857cdf9aaec9 ssh-agent 03:33:52 SSH_AUTH_SOCK=/tmp/ssh-FhULJnXARVUw/agent.31 03:33:52 SSH_AGENT_PID=37 03:33:52 Running ssh-add (command line suppressed) 03:33:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-441@tmp/private_key_17353917638240660702.key (/w/workspace/undry_device-onvif-camera_PR-441@tmp/private_key_17353917638240660702.key) 03:33:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:33:53 + git tag --points-at HEAD [Pipeline] } 03:33:53 $ docker exec --env ******** --env ******** 17b6838a421d363fd2e758342e08e81ee5afcc2b44ae09523959857cdf9aaec9 ssh-agent -k 03:33:53 unset SSH_AUTH_SOCK; 03:33:53 unset SSH_AGENT_PID; 03:33:53 echo Agent pid 37 killed; 03:33:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:33:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:33:53 [ssh-agent] Looking for ssh-agent implementation... 03:33:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:33:53 $ docker exec 17b6838a421d363fd2e758342e08e81ee5afcc2b44ae09523959857cdf9aaec9 ssh-agent 03:33:53 SSH_AUTH_SOCK=/tmp/ssh-Mp65Tb70FgCk/agent.71 03:33:53 SSH_AGENT_PID=77 03:33:53 Running ssh-add (command line suppressed) 03:33:53 Identity added: /w/workspace/undry_device-onvif-camera_PR-441@tmp/private_key_7553984350899897718.key (/w/workspace/undry_device-onvif-camera_PR-441@tmp/private_key_7553984350899897718.key) 03:33:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:33:54 + git semver init 03:33:54 2024-06-26 03:33:54,206 [run_init] DEBUG init version:0.0.0 force:False 03:33:54 2024-06-26 03:33:54,207 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-441/.semver 03:33:54 2024-06-26 03:33:54,207 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-441/.semver 03:33:54 2024-06-26 03:33:54,207 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-441/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-441, universal_newlines=False, shell=None, istream=None) 03:33:55 2024-06-26 03:33:55,653 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-441/.git/info/exclude 03:33:55 2024-06-26 03:33:55,653 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-441/.semver/PR-441 with force:False 03:33:55 2024-06-26 03:33:55,653 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-441/.semver/PR-441 03:33:55 2024-06-26 03:33:55,656 [execute] INFO git cat-file --batch-check 03:33:55 2024-06-26 03:33:55,656 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-441/.semver, universal_newlines=False, shell=None, istream=) 03:33:55 2024-06-26 03:33:55,662 [execute] INFO git cat-file --batch 03:33:55 2024-06-26 03:33:55,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-441/.semver, universal_newlines=False, shell=None, istream=) 03:33:55 2024-06-26 03:33:55,668 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-441/.semver/PR-441 03:33:55 0.0.0 [Pipeline] } 03:33:55 $ docker exec --env ******** --env ******** 17b6838a421d363fd2e758342e08e81ee5afcc2b44ae09523959857cdf9aaec9 ssh-agent -k 03:33:55 unset SSH_AUTH_SOCK; 03:33:55 unset SSH_AGENT_PID; 03:33:55 echo Agent pid 77 killed; 03:33:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:33:56 + git semver [Pipeline] } 03:33:56 $ docker stop --time=1 17b6838a421d363fd2e758342e08e81ee5afcc2b44ae09523959857cdf9aaec9 03:33:57 $ docker rm -f --volumes 17b6838a421d363fd2e758342e08e81ee5afcc2b44ae09523959857cdf9aaec9 [Pipeline] // withDockerContainer [Pipeline] sh 03:33:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:33:58 Stashed 1 file(s) [Pipeline] echo 03:33:58 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:33:59 provisioning config files... 03:33:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-441@tmp/config1130514842613839319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:59 ---> ****-login.sh 03:33:59 nexus3.edgexfoundry.org:10001 03:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:59 Configure a credential helper to remove this warning. See 03:33:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:59 03:33:59 Login Succeeded 03:33:59 nexus3.edgexfoundry.org:10002 03:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:59 Configure a credential helper to remove this warning. See 03:33:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:59 03:33:59 Login Succeeded 03:33:59 nexus3.edgexfoundry.org:10003 03:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:34:00 Configure a credential helper to remove this warning. See 03:34:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:34:00 03:34:00 Login Succeeded 03:34:00 nexus3.edgexfoundry.org:10004 03:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:34:00 Configure a credential helper to remove this warning. See 03:34:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:34:00 03:34:00 Login Succeeded 03:34:00 ****.io 03:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:34:00 Configure a credential helper to remove this warning. See 03:34:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:34:00 03:34:00 Login Succeeded 03:34:00 ---> ****-login.sh ends [Pipeline] } 03:34:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:34:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:34:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:34:00 ========================================================= 03:34:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:34:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:01 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:34:01 Sending build context to Docker daemon 36.59MB 03:34:01 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:34:01 Step 2/13 : FROM ${BASE} AS builder 03:34:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:34:01 619be1103602: Pulling fs layer 03:34:01 7862e08f4a3e: Pulling fs layer 03:34:01 5df492c9dc93: Pulling fs layer 03:34:01 7629e6793208: Pulling fs layer 03:34:01 4f4fb700ef54: Pulling fs layer 03:34:01 fb5054dd5b73: Pulling fs layer 03:34:01 eeca6798cff9: Pulling fs layer 03:34:01 aa269ceb94a6: Pulling fs layer 03:34:01 ada007ff1a6a: Pulling fs layer 03:34:01 aa269ceb94a6: Waiting 03:34:01 fb5054dd5b73: Waiting 03:34:01 ada007ff1a6a: Waiting 03:34:01 eeca6798cff9: Waiting 03:34:01 7629e6793208: Waiting 03:34:01 4f4fb700ef54: Waiting 03:34:01 7862e08f4a3e: Verifying Checksum 03:34:01 7862e08f4a3e: Download complete 03:34:01 7629e6793208: Verifying Checksum 03:34:01 7629e6793208: Download complete 03:34:01 4f4fb700ef54: Download complete 03:34:01 fb5054dd5b73: Download complete 03:34:01 619be1103602: Verifying Checksum 03:34:01 619be1103602: Download complete 03:34:01 eeca6798cff9: Verifying Checksum 03:34:01 eeca6798cff9: Download complete 03:34:01 619be1103602: Pull complete 03:34:01 7862e08f4a3e: Pull complete 03:34:02 ada007ff1a6a: Verifying Checksum 03:34:02 ada007ff1a6a: Download complete 03:34:02 5df492c9dc93: Verifying Checksum 03:34:02 5df492c9dc93: Download complete 03:34:02 aa269ceb94a6: Verifying Checksum 03:34:02 aa269ceb94a6: Download complete 03:34:05 5df492c9dc93: Pull complete 03:34:05 7629e6793208: Pull complete 03:34:05 4f4fb700ef54: Pull complete 03:34:05 fb5054dd5b73: Pull complete 03:34:05 eeca6798cff9: Pull complete 03:34:08 aa269ceb94a6: Pull complete 03:34:08 ada007ff1a6a: Pull complete 03:34:08 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:34:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:34:08 ---> f489d0715acc 03:34:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:34:13 ---> Running in b6dfd2d7bb4e 03:34:13 Removing intermediate container b6dfd2d7bb4e 03:34:13 ---> 7486a569b13c 03:34:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:34:13 ---> Running in 660eb9970f3f 03:34:13 Removing intermediate container 660eb9970f3f 03:34:13 ---> f8a39ffaf577 03:34:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:34:13 ---> Running in 9f62b2f62b7e 03:34:13 Removing intermediate container 9f62b2f62b7e 03:34:13 ---> 7093d57577a2 03:34:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:34:13 ---> Running in a3237dfa7a07 03:34:13 Removing intermediate container a3237dfa7a07 03:34:13 ---> 891b677dc656 03:34:13 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:34:13 ---> Running in e791a156a28d 03:34:13 Removing intermediate container e791a156a28d 03:34:13 ---> fd2e376438ed 03:34:13 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:34:13 ---> Running in 72291df6699c 03:34:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:34:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:34:14 OK: 264 MiB in 52 packages 03:34:14 Still waiting to schedule task 03:34:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:34:14 Removing intermediate container 72291df6699c 03:34:14 ---> b17c59c7a079 03:34:14 Step 9/13 : WORKDIR /device-onvif-camera 03:34:14 ---> Running in 3a091b5eb22e 03:34:14 Removing intermediate container 3a091b5eb22e 03:34:14 ---> 9de1e1c817cc 03:34:14 Step 10/13 : COPY go.mod vendor* ./ 03:34:14 ---> 332411468fe0 03:34:14 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:34:14 ---> Running in bd9bb4f9780e 03:35:36 Removing intermediate container bd9bb4f9780e 03:35:36 ---> 4983885a09fe 03:35:36 Step 12/13 : COPY . . 03:35:36 ---> 51e43408ab20 03:35:36 Step 13/13 : RUN ${MAKE} 03:35:36 ---> Running in 49c84d4b0276 03:35:36 noop 03:35:36 Removing intermediate container 49c84d4b0276 03:35:36 ---> 2de1fae18b27 03:35:36 Successfully built 2de1fae18b27 03:35:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:36 + docker inspect -f . ci-base-image-x86_64 03:35:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:36 prd-ubuntu20.04-docker-8c-8g-4413 does not seem to be running inside a container 03:35:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-441 -v /w/workspace/undry_device-onvif-camera_PR-441:/w/workspace/undry_device-onvif-camera_PR-441:rw,z -v /w/workspace/undry_device-onvif-camera_PR-441@tmp:/w/workspace/undry_device-onvif-camera_PR-441@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:35:37 $ docker top 2d79318164a21d93c46503267fe9a55bb430dcd2732a862b97d4589b7662c41d -eo pid,comm [Pipeline] { [Pipeline] sh 03:35:37 + go version 03:35:37 go version go1.21.9 linux/amd64 [Pipeline] } 03:35:37 $ docker stop --time=1 2d79318164a21d93c46503267fe9a55bb430dcd2732a862b97d4589b7662c41d 03:35:39 $ docker rm -f --volumes 2d79318164a21d93c46503267fe9a55bb430dcd2732a862b97d4589b7662c41d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:39 + docker inspect -f . ci-base-image-x86_64 03:35:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:40 prd-ubuntu20.04-docker-8c-8g-4413 does not seem to be running inside a container 03:35:40 $ 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-441 -v /w/workspace/undry_device-onvif-camera_PR-441:/w/workspace/undry_device-onvif-camera_PR-441:rw,z -v /w/workspace/undry_device-onvif-camera_PR-441@tmp:/w/workspace/undry_device-onvif-camera_PR-441@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:35:40 $ docker top 24592e97383eb467697ffc1409c41298953512ad4d522776e01670027381c584 -eo pid,comm [Pipeline] { [Pipeline] sh 03:35:40 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-441 [Pipeline] fileExists [Pipeline] sh 03:35:41 + make test 03:35:41 go test ./... -coverprofile=coverage.out ./... 03:35:42 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:35:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4414 in /w/workspace/undry_device-onvif-camera_PR-441 [Pipeline] { [Pipeline] ws 03:35:50 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:35:53 The recommended git tool is: git 03:36:00 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:36:00 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:36:00 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.027s coverage: 31.4% of statements 03:36:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.077s coverage: 86.5% of statements 03:36:01 using credential edgex-jenkins-ssh 03:36:01 Cloning the remote Git repository 03:36:01 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:36:01 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:36:01 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:36:01 > git --version # timeout=10 03:36:01 > git --version # 'git version 2.25.1' 03:36:01 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:36:04 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:36:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:36:06 Merging remotes/origin/main commit 2106e125979a086dec88e89ea60f58fe74ababf0 into PR head commit 8f385e8cbc3ba25320102b700654800061bbd238 03:36:06 Merge succeeded, producing 8f385e8cbc3ba25320102b700654800061bbd238 03:36:06 Checking out Revision 8f385e8cbc3ba25320102b700654800061bbd238 (PR-441) 03:36:05 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:36:05 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:36:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/441/head:refs/remotes/origin/PR-441 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:36:06 > git config core.sparsecheckout # timeout=10 03:36:06 > git checkout -f 8f385e8cbc3ba25320102b700654800061bbd238 # timeout=10 03:36:06 > git remote # timeout=10 03:36:06 > git config --get remote.origin.url # timeout=10 03:36:06 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:06 > git merge 2106e125979a086dec88e89ea60f58fe74ababf0 # timeout=10 03:36:06 > git rev-parse HEAD^{commit} # timeout=10 03:36:06 > git config core.sparsecheckout # timeout=10 03:36:06 > git checkout -f 8f385e8cbc3ba25320102b700654800061bbd238 # timeout=10 03:36:07 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 03:36:07 > git --version # timeout=10 03:36:07 > git --version # 'git version 2.25.1' 03:36:07 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 03:36:11 go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:36:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:36:12 % Total % Received % Xferd Average Speed Time Time Time Current 03:36:12 Dload Upload Total Spent Left Speed 03:36:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh 03:36:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:36:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:36:13 + sudo tee /etc/docker/daemon.new 03:36:13 { 03:36:13 "registry-mirrors": [ 03:36:13 "https://nexus3.edgexfoundry.org:10001" 03:36:13 ], 03:36:13 "bip": "10.250.0.254/24", 03:36:13 "hosts": [ 03:36:13 "tcp://0.0.0.0:5555", 03:36:13 "unix:///var/run/docker.sock" 03:36:13 ], 03:36:13 "mtu": 1458, 03:36:13 "selinux-enabled": true, 03:36:13 "seccomp-profile": "/etc/docker/seccomp.json" 03:36:13 } [Pipeline] sh 03:36:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:36:14 + sudo service docker restart 03:36:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:36:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:36:16 ./bin/test-attribution-txt.sh 03:36:16 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:36:16 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:36:16 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:36:16 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:36:16 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:36:16 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:36:16 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:36:16 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:36:16 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:36:16 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:36:16 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:36:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:36:16 $ docker stop --time=1 24592e97383eb467697ffc1409c41298953512ad4d522776e01670027381c584 03:36:19 $ docker rm -f --volumes 24592e97383eb467697ffc1409c41298953512ad4d522776e01670027381c584 [Pipeline] // withDockerContainer [Pipeline] sh 03:36:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:36:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:36:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:36:21 + ls -al . 03:36:21 total 312 03:36:21 drwxrwxr-x 9 jenkins jenkins 4096 Jun 26 03:35 . 03:36:21 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 03:33 .. 03:36:21 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 03:36 .git 03:36:21 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 03:33 .github 03:36:21 -rw-rw-r-- 1 jenkins jenkins 493 Jun 26 03:33 .gitignore 03:36:21 -rw-rw-r-- 1 jenkins jenkins 42 Jun 26 03:33 .golangci.yml 03:36:21 drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 03:33 .semver 03:36:21 -rw-rw-r-- 1 jenkins jenkins 11155 Jun 26 03:33 Attribution.txt 03:36:21 -rw-rw-r-- 1 jenkins jenkins 17665 Jun 26 03:33 CHANGELOG.md 03:36:21 -rw-rw-r-- 1 jenkins jenkins 1683 Jun 26 03:33 Dockerfile 03:36:21 -rw-rw-r-- 1 jenkins jenkins 677 Jun 26 03:33 GOVERNANCE.md 03:36:21 -rw-rw-r-- 1 jenkins jenkins 739 Jun 26 03:33 Jenkinsfile 03:36:21 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 26 03:33 LICENSE 03:36:21 -rw-rw-r-- 1 jenkins jenkins 2883 Jun 26 03:33 Makefile 03:36:21 -rw-rw-r-- 1 jenkins jenkins 625 Jun 26 03:33 OWNERS.md 03:36:21 -rw-rw-r-- 1 jenkins jenkins 2620 Jun 26 03:33 README.md 03:36:21 -rw-rw-r-- 1 jenkins jenkins 5 Jun 26 03:33 VERSION 03:36:21 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 03:33 bin 03:36:21 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 03:33 cmd 03:36:21 -rw-r--r-- 1 jenkins jenkins 78805 Jun 26 03:36 coverage.out 03:36:21 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 03:33 doc 03:36:21 -rw-rw-r-- 1 jenkins jenkins 7387 Jun 26 03:33 go.mod 03:36:21 -rw-rw-r-- 1 jenkins jenkins 102689 Jun 26 03:33 go.sum 03:36:21 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 03:33 internal 03:36:21 -rw-rw-r-- 1 jenkins jenkins 236 Jun 26 03:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:21 + 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=8f385e8cbc3ba25320102b700654800061bbd238 --label arch=amd64 --label version=0.0.0 . 03:36:21 Sending build context to Docker daemon 36.67MB 03:36:21 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:36:21 Step 2/27 : FROM ${BASE} AS builder 03:36:21 ---> 2de1fae18b27 03:36:21 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:36:22 ---> Running in ae9b2fff77a9 03:36:22 Removing intermediate container ae9b2fff77a9 03:36:22 ---> ea16ab00ff8c 03:36:22 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:36:22 ---> Running in 1886518b50b6 03:36:22 Removing intermediate container 1886518b50b6 03:36:22 ---> 21b605667ee1 03:36:22 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:36:22 ---> Running in 8ae62ec02ad3 03:36:22 Removing intermediate container 8ae62ec02ad3 03:36:22 ---> f549701246e0 03:36:22 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:36:22 ---> Running in 43e34febddaf 03:36:22 Removing intermediate container 43e34febddaf 03:36:22 ---> 67f11d2ba7ae 03:36:22 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:36:22 ---> Running in eb20f4d5bb18 03:36:22 Removing intermediate container eb20f4d5bb18 03:36:22 ---> 09356123ce2b 03:36:22 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:36:22 ---> Running in 8910d46fa303 03:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:36:23 OK: 264 MiB in 52 packages 03:36:23 Removing intermediate container 8910d46fa303 03:36:23 ---> 90d83b491e09 03:36:23 Step 9/27 : WORKDIR /device-onvif-camera 03:36:23 ---> Running in 30c3bf508cb1 03:36:23 Removing intermediate container 30c3bf508cb1 03:36:23 ---> 9265ea71f0dc 03:36:23 Step 10/27 : COPY go.mod vendor* ./ 03:36:24 ---> ecf8636d0ebd 03:36:24 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:36:24 ---> Running in 435d898934e0 03:36:25 Removing intermediate container 435d898934e0 03:36:25 ---> 0ef40f01d816 03:36:25 Step 12/27 : COPY . . 03:36:26 ---> 28148411302d 03:36:26 Step 13/27 : RUN ${MAKE} 03:36:26 ---> Running in 9c9aa51f89a7 03:36:26 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.18" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:36:32 provisioning config files... 03:36:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2997994947045858862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:36:33 ---> ****-login.sh 03:36:33 nexus3.edgexfoundry.org:10001 03:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:33 Configure a credential helper to remove this warning. See 03:36:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:33 03:36:33 Login Succeeded 03:36:33 nexus3.edgexfoundry.org:10002 03:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:34 Configure a credential helper to remove this warning. See 03:36:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:34 03:36:34 Login Succeeded 03:36:34 nexus3.edgexfoundry.org:10003 03:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:34 Configure a credential helper to remove this warning. See 03:36:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:34 03:36:34 Login Succeeded 03:36:34 nexus3.edgexfoundry.org:10004 03:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:34 Configure a credential helper to remove this warning. See 03:36:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:34 03:36:34 Login Succeeded 03:36:34 ****.io 03:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:35 Configure a credential helper to remove this warning. See 03:36:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:35 03:36:35 Login Succeeded 03:36:35 ---> ****-login.sh ends [Pipeline] } 03:36:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:36:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:36:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:36:35 ========================================================= 03:36:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:36:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:36:36 Sending build context to Docker daemon 21.71MB 03:36:36 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:36:36 Step 2/13 : FROM ${BASE} AS builder 03:36:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:36:37 c6b39de5b339: Pulling fs layer 03:36:37 a69c41024577: Pulling fs layer 03:36:37 d6de4b400683: Pulling fs layer 03:36:37 35cb2a7552d0: Pulling fs layer 03:36:37 4f4fb700ef54: Pulling fs layer 03:36:37 464afbd9ba4c: Pulling fs layer 03:36:37 00f215d4a9da: Pulling fs layer 03:36:37 d496ad576159: Pulling fs layer 03:36:37 4f4fb700ef54: Waiting 03:36:37 464afbd9ba4c: Waiting 03:36:37 00f215d4a9da: Waiting 03:36:37 d496ad576159: Waiting 03:36:37 35cb2a7552d0: Waiting 03:36:37 a69c41024577: Verifying Checksum 03:36:37 a69c41024577: Download complete 03:36:37 35cb2a7552d0: Verifying Checksum 03:36:37 35cb2a7552d0: Download complete 03:36:37 4f4fb700ef54: Verifying Checksum 03:36:37 4f4fb700ef54: Download complete 03:36:37 464afbd9ba4c: Verifying Checksum 03:36:37 464afbd9ba4c: Download complete 03:36:37 c6b39de5b339: Download complete 03:36:37 d496ad576159: Verifying Checksum 03:36:37 d496ad576159: Download complete 03:36:38 c6b39de5b339: Pull complete 03:36:38 a69c41024577: Pull complete 03:36:39 d6de4b400683: Download complete 03:36:40 00f215d4a9da: Download complete 03:36:52 d6de4b400683: Pull complete 03:36:52 35cb2a7552d0: Pull complete 03:36:52 4f4fb700ef54: Pull complete 03:36:52 464afbd9ba4c: Pull complete 03:37:00 00f215d4a9da: Pull complete 03:37:02 d496ad576159: Pull complete 03:37:02 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:37:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:37:02 ---> f246e2811388 03:37:02 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:37:04 ---> Running in 3ae9b5f9bf22 03:37:04 Removing intermediate container 3ae9b5f9bf22 03:37:04 ---> 7efd75166baa 03:37:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:37:04 ---> Running in 5b3fb9e37c85 03:37:05 Removing intermediate container 5b3fb9e37c85 03:37:05 ---> 3f6b778571f0 03:37:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:37:05 ---> Running in 35f31782a15b 03:37:05 Removing intermediate container 9c9aa51f89a7 03:37:05 ---> 7d0644284555 03:37:05 Step 14/27 : FROM alpine:3.18 03:37:05 3.18: Pulling from library/alpine 03:37:05 73baa7ef167e: Pulling fs layer 03:37:05 73baa7ef167e: Verifying Checksum 03:37:05 73baa7ef167e: Download complete 03:37:05 73baa7ef167e: Pull complete 03:37:05 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 03:37:05 Status: Downloaded newer image for alpine:3.18 03:37:05 ---> 8fd7cac70a4a 03:37:05 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:37:05 ---> Running in 6e0f9ca7885c 03:37:05 Removing intermediate container 6e0f9ca7885c 03:37:05 ---> a5c5f5d22896 03:37:05 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:37:05 ---> Running in 05ad5c77acc8 03:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:37:05 (1/1) Installing dumb-init (1.2.5-r2) 03:37:05 Executing busybox-1.36.1-r7.trigger 03:37:05 OK: 7 MiB in 16 packages 03:37:05 Removing intermediate container 05ad5c77acc8 03:37:05 ---> 993ff4aa1469 03:37:05 Step 17/27 : RUN apk --no-cache upgrade 03:37:05 ---> Running in 311e7060a4ac 03:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:37:05 OK: 7 MiB in 16 packages 03:37:05 Removing intermediate container 311e7060a4ac 03:37:05 ---> 9399aa5b0aff 03:37:05 Step 18/27 : WORKDIR / 03:37:05 ---> Running in d942db5b4fcd 03:37:05 Removing intermediate container d942db5b4fcd 03:37:05 ---> b2dd3453fe5f 03:37:05 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:37:05 ---> 216eeb379fc8 03:37:05 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:37:05 ---> ae042e94c1e0 03:37:05 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:37:05 ---> 1e7201b786f3 03:37:05 Step 22/27 : EXPOSE 59984 03:37:05 Removing intermediate container 35f31782a15b 03:37:05 ---> 274ce4546ab0 03:37:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:37:05 ---> Running in c5283b6ad6dd 03:37:05 Removing intermediate container c5283b6ad6dd 03:37:05 ---> 4547cab9979b 03:37:05 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:37:05 ---> Running in 2903032af055 03:37:05 Removing intermediate container 2903032af055 03:37:05 ---> 29d2feed33ed 03:37:05 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:37:05 ---> Running in 4ac22fb3ea12 03:37:05 ---> Running in a6668430b75c 03:37:05 Removing intermediate container 4ac22fb3ea12 03:37:05 ---> 6ac9d09281f2 03:37:05 Step 25/27 : LABEL arch=amd64 03:37:05 ---> Running in 7cc98654f9ef 03:37:05 Removing intermediate container 7cc98654f9ef 03:37:05 ---> 9d081fb21742 03:37:05 Step 26/27 : LABEL git_sha=8f385e8cbc3ba25320102b700654800061bbd238 03:37:05 ---> Running in 1e7dd0ce4dad 03:37:05 Removing intermediate container 1e7dd0ce4dad 03:37:05 ---> 6dbd1a4637c6 03:37:05 Step 27/27 : LABEL version=0.0.0 03:37:05 ---> Running in b4c805ae4ebc 03:37:05 Removing intermediate container a6668430b75c 03:37:05 ---> 397d06a7b622 03:37:05 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:37:05 ---> Running in 464dec72ae05 03:37:06 Removing intermediate container b4c805ae4ebc 03:37:06 ---> 7c5d3cb4f284 03:37:06 [Warning] One or more build-args [ARCH] were not consumed 03:37:06 Successfully built 7c5d3cb4f284 03:37:06 Successfully tagged device-onvif-camera:latest [Pipeline] } 03:37:06 Removing intermediate container 464dec72ae05 03:37:06 ---> 9b1b83c2b25e 03:37:06 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:37:06 ---> Running in 1751acf3f733 [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 03:37:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:37:07 03:37:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:37:07 latest: Pulling from edgex-lftools-log-publisher 03:37:07 5eb5b503b376: Pulling fs layer 03:37:07 5c69ac0246d0: Pulling fs layer 03:37:07 ec43610c2a17: Pulling fs layer 03:37:07 3a2ae6a8a46f: Pulling fs layer 03:37:07 33b1e0a273af: Pulling fs layer 03:37:07 5d3b04190fa2: Pulling fs layer 03:37:07 2f39f015ded8: Pulling fs layer 03:37:07 33b1e0a273af: Waiting 03:37:07 2f39f015ded8: Waiting 03:37:07 3a2ae6a8a46f: Waiting 03:37:07 5c69ac0246d0: Verifying Checksum 03:37:07 5c69ac0246d0: Download complete 03:37:07 3a2ae6a8a46f: Download complete 03:37:07 33b1e0a273af: Verifying Checksum 03:37:07 33b1e0a273af: Download complete 03:37:07 5d3b04190fa2: Verifying Checksum 03:37:07 5d3b04190fa2: Download complete 03:37:07 ec43610c2a17: Verifying Checksum 03:37:07 ec43610c2a17: Download complete 03:37:07 5eb5b503b376: Verifying Checksum 03:37:07 5eb5b503b376: Download complete 03:37:08 2f39f015ded8: Download complete 03:37:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:37:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:37:09 5eb5b503b376: Pull complete 03:37:09 5c69ac0246d0: Pull complete 03:37:09 ec43610c2a17: Pull complete 03:37:09 3a2ae6a8a46f: Pull complete 03:37:10 OK: 266 MiB in 52 packages 03:37:10 33b1e0a273af: Pull complete 03:37:10 5d3b04190fa2: Pull complete 03:37:10 Removing intermediate container 1751acf3f733 03:37:10 ---> d4ef9747c7f0 03:37:10 Step 9/13 : WORKDIR /device-onvif-camera 03:37:10 ---> Running in ff3b55c437d7 03:37:11 Removing intermediate container ff3b55c437d7 03:37:11 ---> 187bc8f1b94e 03:37:11 Step 10/13 : COPY go.mod vendor* ./ 03:37:11 ---> 11f1044bceef 03:37:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:37:11 ---> Running in 77bf796ca1f4 03:37:14 2f39f015ded8: Pull complete 03:37:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:37:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:37:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:14 prd-ubuntu20.04-docker-8c-8g-4413 does not seem to be running inside a container 03:37: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/undry_device-onvif-camera_PR-441 -v /w/workspace/undry_device-onvif-camera_PR-441:/w/workspace/undry_device-onvif-camera_PR-441:rw,z -v /w/workspace/undry_device-onvif-camera_PR-441@tmp:/w/workspace/undry_device-onvif-camera_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:37:18 $ docker top 85cdbedc80b336cc29aba42cf29d60c507c9f47816af96e668d53df6a0781cff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:18 ---> job-cost.sh 03:37:18 lf-activate-venv: SKIPPING 03:37:18 INFO: No Stack... 03:37:19 INFO: Retrieving Pricing Info for: v3-standard-8 03:37:19 INFO: Archiving Costs [Pipeline] sh 03:37:19 + cat /w/workspace/undry_device-onvif-camera_PR-441/archives/cost.csv 03:37:19 + cut -d, -f6 [Pipeline] lock 03:37:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-441-1-stack-cost] 03:37:20 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-441-1-stack-cost] did not exist. Created. 03:37:20 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-441-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:37:20 + echo total: 0.2199999988079071 [Pipeline] stash 03:37:20 Stashed 1 file(s) [Pipeline] } 03:37:20 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-441-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:37:20 $ docker stop --time=1 85cdbedc80b336cc29aba42cf29d60c507c9f47816af96e668d53df6a0781cff 03:37:21 $ docker rm -f --volumes 85cdbedc80b336cc29aba42cf29d60c507c9f47816af96e668d53df6a0781cff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:39:18 Removing intermediate container 77bf796ca1f4 03:39:18 ---> b7c7e7d6a9a8 03:39:18 Step 12/13 : COPY . . 03:39:18 ---> c2a2a205b0b5 03:39:18 Step 13/13 : RUN ${MAKE} 03:39:18 ---> Running in 31adbca485dc 03:39:18 noop 03:39:18 Removing intermediate container 31adbca485dc 03:39:18 ---> f9e381196c18 03:39:18 Successfully built f9e381196c18 03:39:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:18 + docker inspect -f . ci-base-image-arm64 03:39:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:18 prd-ubuntu20.04-docker-arm64-4c-16g-4414 does not seem to be running inside a container 03:39:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:39:20 $ docker top cfb76f33043a4592c1d7841c463b5742283c2c15de1e9528827b546ab1f8180c -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:21 + go version 03:39:21 go version go1.21.9 linux/arm64 [Pipeline] } 03:39:21 $ docker stop --time=1 cfb76f33043a4592c1d7841c463b5742283c2c15de1e9528827b546ab1f8180c 03:39:22 $ docker rm -f --volumes cfb76f33043a4592c1d7841c463b5742283c2c15de1e9528827b546ab1f8180c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:23 + docker inspect -f . ci-base-image-arm64 03:39:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:24 prd-ubuntu20.04-docker-arm64-4c-16g-4414 does not seem to be running inside a container 03:39:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:39:25 $ docker top c9dcd911c96c90c8294d22812c2c4dc1c6b1904af1b77f802f2b3799347c03da -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:25 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:39:26 + make test 03:39:26 go test ./... -coverprofile=coverage.out ./... 03:39:31 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:42:53 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:42:59 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:43:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.180s coverage: 31.4% of statements 03:43:27 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.347s coverage: 86.5% of statements 03:43:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:43:27 go vet ./... 03:44:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:44:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:44:14 ./bin/test-attribution-txt.sh 03:44:14 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:44:14 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:44:14 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:44:14 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:44:14 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:44:14 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:44:14 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:44:14 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:44:14 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:44:14 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:44:14 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:44:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:44:14 $ docker stop --time=1 c9dcd911c96c90c8294d22812c2c4dc1c6b1904af1b77f802f2b3799347c03da 03:44:16 $ docker rm -f --volumes c9dcd911c96c90c8294d22812c2c4dc1c6b1904af1b77f802f2b3799347c03da [Pipeline] // withDockerContainer [Pipeline] sh 03:44:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:44:18 Warning: overwriting stash ‘coverage-report’ 03:44:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:44:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:44:19 + ls -al . 03:44:19 total 308 03:44:19 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 03:39 . 03:44:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 03:36 .. 03:44:19 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 03:36 .git 03:44:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 03:36 .github 03:44:19 -rw-rw-r-- 1 jenkins jenkins 493 Jun 26 03:36 .gitignore 03:44:19 -rw-rw-r-- 1 jenkins jenkins 42 Jun 26 03:36 .golangci.yml 03:44:19 -rw-rw-r-- 1 jenkins jenkins 11155 Jun 26 03:36 Attribution.txt 03:44:19 -rw-rw-r-- 1 jenkins jenkins 17665 Jun 26 03:36 CHANGELOG.md 03:44:19 -rw-rw-r-- 1 jenkins jenkins 1683 Jun 26 03:36 Dockerfile 03:44:19 -rw-rw-r-- 1 jenkins jenkins 677 Jun 26 03:36 GOVERNANCE.md 03:44:19 -rw-rw-r-- 1 jenkins jenkins 739 Jun 26 03:36 Jenkinsfile 03:44:19 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 26 03:36 LICENSE 03:44:19 -rw-rw-r-- 1 jenkins jenkins 2883 Jun 26 03:36 Makefile 03:44:19 -rw-rw-r-- 1 jenkins jenkins 625 Jun 26 03:36 OWNERS.md 03:44:19 -rw-rw-r-- 1 jenkins jenkins 2620 Jun 26 03:36 README.md 03:44:19 -rw-rw-r-- 1 jenkins jenkins 5 Jun 26 03:33 VERSION 03:44:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 03:36 bin 03:44:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 03:36 cmd 03:44:19 -rw-r--r-- 1 jenkins jenkins 78805 Jun 26 03:43 coverage.out 03:44:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 03:36 doc 03:44:19 -rw-rw-r-- 1 jenkins jenkins 7387 Jun 26 03:36 go.mod 03:44:19 -rw-rw-r-- 1 jenkins jenkins 102689 Jun 26 03:36 go.sum 03:44:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 03:36 internal 03:44:19 -rw-rw-r-- 1 jenkins jenkins 236 Jun 26 03:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:20 + 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=8f385e8cbc3ba25320102b700654800061bbd238 --label arch=arm64 --label version=0.0.0 . 03:44:20 Sending build context to Docker daemon 21.79MB 03:44:20 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:44:20 Step 2/27 : FROM ${BASE} AS builder 03:44:20 ---> f9e381196c18 03:44:20 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:44:21 ---> Running in 66d2821aadf5 03:44:21 Removing intermediate container 66d2821aadf5 03:44:21 ---> 9d7e5367ad69 03:44:21 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:44:21 ---> Running in 94a5f6adac36 03:44:22 Removing intermediate container 94a5f6adac36 03:44:22 ---> 753aca483248 03:44:22 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:44:22 ---> Running in 29831ce72e93 03:44:22 Removing intermediate container 29831ce72e93 03:44:22 ---> 4050ed11b574 03:44:22 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:44:22 ---> Running in 93d743c6979c 03:44:22 Removing intermediate container 93d743c6979c 03:44:22 ---> e6da244029b4 03:44:22 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:44:22 ---> Running in a66aae8558a2 03:44:23 Removing intermediate container a66aae8558a2 03:44:23 ---> 6adaef9127b8 03:44:23 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:44:23 ---> Running in 827c9f4b959c 03:44:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:44:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:44:25 OK: 266 MiB in 52 packages 03:44:26 Removing intermediate container 827c9f4b959c 03:44:26 ---> 2474b0401247 03:44:26 Step 9/27 : WORKDIR /device-onvif-camera 03:44:26 ---> Running in e8fda79e7a31 03:44:27 Removing intermediate container e8fda79e7a31 03:44:27 ---> 1ee41e0ae07c 03:44:27 Step 10/27 : COPY go.mod vendor* ./ 03:44:27 ---> 88b8d8d0b912 03:44:27 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:44:27 ---> Running in db814a538e52 03:44:30 Removing intermediate container db814a538e52 03:44:30 ---> 05fdae705639 03:44:30 Step 12/27 : COPY . . 03:44:31 ---> c44e18f78cf3 03:44:31 Step 13/27 : RUN ${MAKE} 03:44:31 ---> Running in 7bad91f20cc4 03:44:32 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.18" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:48:09 Removing intermediate container 7bad91f20cc4 03:48:09 ---> 94137487d757 03:48:09 Step 14/27 : FROM alpine:3.18 03:48:09 3.18: Pulling from library/alpine 03:48:09 5c905c7ebe2f: Pulling fs layer 03:48:09 5c905c7ebe2f: Download complete 03:48:09 5c905c7ebe2f: Pull complete 03:48:09 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 03:48:09 Status: Downloaded newer image for alpine:3.18 03:48:09 ---> dec292d02e07 03:48:09 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:48:09 ---> Running in 47d775f8b9af 03:48:09 Removing intermediate container 47d775f8b9af 03:48:09 ---> 45d609f4d45c 03:48:09 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:48:09 ---> Running in 967f3dc65e91 03:48:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:48:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:48:11 (1/1) Installing dumb-init (1.2.5-r2) 03:48:11 Executing busybox-1.36.1-r7.trigger 03:48:11 OK: 8 MiB in 16 packages 03:48:12 Removing intermediate container 967f3dc65e91 03:48:12 ---> 914c0886caf5 03:48:12 Step 17/27 : RUN apk --no-cache upgrade 03:48:12 ---> Running in fe88d6f8f3f6 03:48:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:48:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:48:14 OK: 8 MiB in 16 packages 03:48:15 Removing intermediate container fe88d6f8f3f6 03:48:15 ---> b67a8c7b5b87 03:48:15 Step 18/27 : WORKDIR / 03:48:15 ---> Running in a12335222bfd 03:48:15 Removing intermediate container a12335222bfd 03:48:15 ---> 69ffd21e0697 03:48:15 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:48:17 ---> 5e68472c985a 03:48:17 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:48:18 ---> 0a5c9296e3ba 03:48:18 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:48:18 ---> 6052a3371db7 03:48:18 Step 22/27 : EXPOSE 59984 03:48:18 ---> Running in e4e20f160632 03:48:18 Removing intermediate container e4e20f160632 03:48:18 ---> 95bad29eae04 03:48:18 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:48:19 ---> Running in a318af85a694 03:48:19 Removing intermediate container a318af85a694 03:48:19 ---> 67c50198a3ce 03:48:19 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:48:19 ---> Running in d189b51b3fb8 03:48:19 Removing intermediate container d189b51b3fb8 03:48:19 ---> 4e3482e07b67 03:48:19 Step 25/27 : LABEL arch=arm64 03:48:19 ---> Running in 3b7dec810e51 03:48:20 Removing intermediate container 3b7dec810e51 03:48:20 ---> 284c498a1d05 03:48:20 Step 26/27 : LABEL git_sha=8f385e8cbc3ba25320102b700654800061bbd238 03:48:20 ---> Running in 40b4927a9f3d 03:48:20 Removing intermediate container 40b4927a9f3d 03:48:20 ---> b7496ffc8cd4 03:48:20 Step 27/27 : LABEL version=0.0.0 03:48:20 ---> Running in 0220629b444b 03:48:21 Removing intermediate container 0220629b444b 03:48:21 ---> b053f31983dd 03:48:21 [Warning] One or more build-args [ARCH] were not consumed 03:48:21 Successfully built b053f31983dd 03:48:21 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 03:48:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:48:22 03:48:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:48:22 arm64: Pulling from edgex-lftools-log-publisher 03:48:22 8998bd30e6a1: Pulling fs layer 03:48:22 04944245beec: Pulling fs layer 03:48:22 699f458cf7ca: Pulling fs layer 03:48:22 765212b225bb: Pulling fs layer 03:48:22 f23df028b6ca: Pulling fs layer 03:48:22 d65c8cfc05b1: Pulling fs layer 03:48:22 2437ff75d9bd: Pulling fs layer 03:48:22 765212b225bb: Waiting 03:48:22 f23df028b6ca: Waiting 03:48:22 2437ff75d9bd: Waiting 03:48:22 d65c8cfc05b1: Waiting 03:48:22 04944245beec: Verifying Checksum 03:48:22 04944245beec: Download complete 03:48:22 765212b225bb: Verifying Checksum 03:48:22 765212b225bb: Download complete 03:48:22 f23df028b6ca: Verifying Checksum 03:48:22 f23df028b6ca: Download complete 03:48:22 d65c8cfc05b1: Verifying Checksum 03:48:22 d65c8cfc05b1: Download complete 03:48:22 699f458cf7ca: Verifying Checksum 03:48:22 699f458cf7ca: Download complete 03:48:23 8998bd30e6a1: Verifying Checksum 03:48:23 8998bd30e6a1: Download complete 03:48:25 2437ff75d9bd: Verifying Checksum 03:48:25 2437ff75d9bd: Download complete 03:48:27 8998bd30e6a1: Pull complete 03:48:28 04944245beec: Pull complete 03:48:30 699f458cf7ca: Pull complete 03:48:30 765212b225bb: Pull complete 03:48:31 f23df028b6ca: Pull complete 03:48:31 d65c8cfc05b1: Pull complete 03:48:49 2437ff75d9bd: Pull complete 03:48:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:48:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:48:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:50 prd-ubuntu20.04-docker-arm64-4c-16g-4414 does not seem to be running inside a container 03:48:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:48:53 $ docker top 9cc5dee0e3479f306545a7a45884f0520cf63423ae185c5d591bdc5a13dd2312 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:48:54 ---> job-cost.sh 03:48:54 lf-activate-venv: SKIPPING 03:48:54 INFO: No Stack... 03:48:54 INFO: Retrieving Pricing Info for: v3-standard-4 03:48:55 INFO: Archiving Costs [Pipeline] sh 03:48:55 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:48:55 + cut -d, -f6 [Pipeline] lock 03:48:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-441-1-stack-cost] 03:48:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-441-1-stack-cost] did not exist. Created. 03:48:56 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-441-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:48:56 /w/workspace/device-onvif-camera/1@tmp/durable-21ad164d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:48:57 + echo total: 0.10999999940395355 [Pipeline] stash 03:48:57 Warning: overwriting stash ‘stack-cost’ 03:48:57 Stashed 1 file(s) [Pipeline] } 03:48:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-441-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:48:57 $ docker stop --time=1 9cc5dee0e3479f306545a7a45884f0520cf63423ae185c5d591bdc5a13dd2312 03:48:59 $ docker rm -f --volumes 9cc5dee0e3479f306545a7a45884f0520cf63423ae185c5d591bdc5a13dd2312 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:49:00 provisioning config files... 03:49:00 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-441@tmp/config12829929572845132247tmp [Pipeline] { [Pipeline] sh 03:49:00 + set +x 03:49:00 + bash -s -- 03:49:00 + curl -s https://codecov.io/bash 03:49:00 03:49:00 _____ _ 03:49:00 / ____| | | 03:49:00 | | ___ __| | ___ ___ _____ __ 03:49:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:49:00 | |___| (_) | (_| | __/ (_| (_) \ V / 03:49:00 \_____\___/ \__,_|\___|\___\___/ \_/ 03:49:00 Bash-1.0.6 03:49:00 03:49:00 03:49:00 ==> git version 2.25.1 found 03:49:00 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:49:00 Release-Date: 2020-01-08 03:49:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:49:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:49:00 ==> Jenkins CI detected. 03:49:00 current dir:  /w/workspace/undry_device-onvif-camera_PR-441 03:49:00 project root: . 03:49:00 --> token set from env 03:49:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:49:00 ==> Running gcov in . (disable via -X gcov) 03:49:00 ==> Python coveragepy not found 03:49:00 ==> Searching for coverage reports in: 03:49:00 + . 03:49:01 -> Found 1 reports 03:49:01 ==> Detecting git/mercurial file structure 03:49:01 ==> Reading reports 03:49:01 + ./coverage.out bytes=78805 03:49:01 ==> Appending adjustments 03:49:01 https://docs.codecov.io/docs/fixing-reports 03:49:01 + Found adjustments 03:49:01 ==> Gzipping contents 03:49:01 12K /tmp/codecov.Lnz1Ts.gz 03:49:01 ==> Uploading reports 03:49:01 url: https://codecov.io 03:49:01 query: branch=PR-441&commit=8f385e8cbc3ba25320102b700654800061bbd238&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-441%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=441&job=&cmd_args= 03:49:01 -> Pinging Codecov 03:49:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-441&commit=8f385e8cbc3ba25320102b700654800061bbd238&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-441%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=441&job=&cmd_args= 03:49:01 -> Uploading to 03:49:01 https://storage.googleapis.com/codecov/v4/raw/2024-06-26/F29A59C45E3A92E06B3E522C9905F8EF/8f385e8cbc3ba25320102b700654800061bbd238/a21f3b09-25a4-4fe5-86ac-1cef70d7f08a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240626%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240626T034901Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2396f5b4db77aa2205ab207758249126b440e51802f6414252c7fab8dc767a58 03:49:01 % Total % Received % Xferd Average Speed Time Time Time Current 03:49:01 Dload Upload Total Spent Left Speed 03:49:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 40625 --:--:-- --:--:-- --:--:-- 40625 03:49:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/8f385e8cbc3ba25320102b700654800061bbd238 [Pipeline] } 03:49:01 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 03:49:03 + [ -d /w/workspace/undry_device-onvif-camera_PR-441/archives ] 03:49:03 + ls -al /w/workspace/undry_device-onvif-camera_PR-441/archives 03:49:03 total 16 03:49:03 drwxr-xr-x 3 root root 4096 Jun 26 03:37 . 03:49:03 drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 03:37 .. 03:49:03 drwxr-xr-x 2 root root 4096 Jun 26 03:37 cost 03:49:03 -rw-r--r-- 1 root root 91 Jun 26 03:37 cost.csv 03:49:03 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-441/archives 03:49:03 + ls -al /w/workspace/undry_device-onvif-camera_PR-441/archives 03:49:03 total 16 03:49:03 drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 03:37 . 03:49:03 drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 03:37 .. 03:49:03 drwxr-xr-x 2 jenkins jenkins 4096 Jun 26 03:37 cost 03:49:03 -rw-r--r-- 1 jenkins jenkins 91 Jun 26 03:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:49:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:49:05 ---> package-listing.sh 03:49:05 ++ facter osfamily 03:49:05 ++ tr '[:upper:]' '[:lower:]' 03:49:05 + OS_FAMILY=debian 03:49:05 + workspace=/w/workspace/undry_device-onvif-camera_PR-441 03:49:05 + START_PACKAGES=/tmp/packages_start.txt 03:49:05 + END_PACKAGES=/tmp/packages_end.txt 03:49:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:49:05 + PACKAGES=/tmp/packages_start.txt 03:49:05 + '[' /w/workspace/undry_device-onvif-camera_PR-441 ']' 03:49:05 + PACKAGES=/tmp/packages_end.txt 03:49:05 + case "${OS_FAMILY}" in 03:49:05 + dpkg -l 03:49:05 + grep '^ii' 03:49:05 + '[' -f /tmp/packages_start.txt ']' 03:49:05 + '[' -f /tmp/packages_end.txt ']' 03:49:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:49:05 + '[' /w/workspace/undry_device-onvif-camera_PR-441 ']' 03:49:05 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-441/archives/ 03:49:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-441/archives/ [Pipeline] echo 03:49:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-441/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:49:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:49:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:49:06 prd-ubuntu20.04-docker-8c-8g-4413 does not seem to be running inside a container 03:49:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-441/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-441 -v /w/workspace/undry_device-onvif-camera_PR-441:/w/workspace/undry_device-onvif-camera_PR-441:rw,z -v /w/workspace/undry_device-onvif-camera_PR-441@tmp:/w/workspace/undry_device-onvif-camera_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:49:06 $ docker top 015d22546477ed1075b55e279f7c4f42a3c5ebc2984fbe46ea7e2a4e6c020930 -eo pid,comm [Pipeline] { [Pipeline] sh 03:49:07 + touch /tmp/pre-build-complete [Pipeline] sh 03:49:07 + mkdir -p /var/log/sysstat [Pipeline] sh 03:49:07 + ls /var/log/sa-host 03:49:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:49:08 provisioning config files... 03:49:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-441@tmp/config9037605641158500026tmp [Pipeline] { [Pipeline] echo 03:49:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:49:08 ---> create-netrc.sh [Pipeline] } 03:49:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:49:09 ---> python-tools-install.sh [Pipeline] echo 03:49:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:49:09 ---> sudo-logs.sh 03:49:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:49:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:49:09 ---> job-cost.sh 03:49:09 lf-activate-venv: SKIPPING 03:49:09 DEBUG: total: 0.2199999988079071 03:49:09 INFO: Retrieving Stack Cost... 03:49:10 INFO: Retrieving Pricing Info for: v3-standard-8 03:49:10 INFO: Archiving Costs [Pipeline] echo 03:49:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:49:11 ---> logs-deploy.sh 03:49:11 lf-activate-venv: SKIPPING 03:49:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-441/1 03:49:11 INFO: archiving workspace using pattern(s): 03:49:12 Archives upload complete. 03:49:12 INFO: archiving logs to Nexus