Pull request #435 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514+30f086e472ba45efbfdabc7b924c06da27b16fd7 (dc3ba1065c62fb52f309d35a8a86c9cf338eee31) 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-ssh9274640036750666340.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2207220740113633811.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-435/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-435/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4382457188359767632.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-435/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8996194621383561373.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7658891102993968862.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-435/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-435/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8524574900261020974.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-337 in /w/workspace/undry_device-onvif-camera_PR-435 [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-435 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/435/head:refs/remotes/origin/PR-435 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 30f086e472ba45efbfdabc7b924c06da27b16fd7 into PR head commit f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 Merge succeeded, producing f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 Checking out Revision f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 (PR-435) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 30f086e472ba45efbfdabc7b924c06da27b16fd7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:29:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:29:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:29:48 ========================================================= 03:29:48 EdgeX Global Pipelines Version Info 03:29:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:29:49 ------------------- 03:29:49 stable info: 03:29:49 ------------------- 03:29:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:29:49 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:29:49 Message: update stable to v1.0.258 03:29:50 ------------------- 03:29:50 experimental info: 03:29:50 ------------------- 03:29:50 Commited By: **** collab-it+edgex@linuxfoundation.org 03:29:50 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:29:50 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:29:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:29:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:29:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:29:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:29:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:29:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:29:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:29:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:29:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:29:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:29:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:29:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-435 [Pipeline] echo 03:29:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-435 [Pipeline] echo 03:29:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-435 [Pipeline] echo 03:29:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 [Pipeline] echo 03:29:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f65fe77 [Pipeline] echo 03:29:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:29:52 provisioning config files... 03:29:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-435@tmp/config17582730080353611747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:29:53 ---> ****-login.sh 03:29:53 nexus3.edgexfoundry.org:10001 03:29:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:29:53 Configure a credential helper to remove this warning. See 03:29:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:29:53 03:29:53 Login Succeeded 03:29:53 nexus3.edgexfoundry.org:10002 03:29:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:29:53 Configure a credential helper to remove this warning. See 03:29:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:29:53 03:29:53 Login Succeeded 03:29:53 nexus3.edgexfoundry.org:10003 03:29:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:29:53 Configure a credential helper to remove this warning. See 03:29:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:29:53 03:29:53 Login Succeeded 03:29:53 nexus3.edgexfoundry.org:10004 03:29:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:29:53 Configure a credential helper to remove this warning. See 03:29:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:29:53 03:29:53 Login Succeeded 03:29:53 ****.io 03:29:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:29:54 Configure a credential helper to remove this warning. See 03:29:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:29:54 03:29:54 Login Succeeded 03:29:54 ---> ****-login.sh ends [Pipeline] } 03:29:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:29:54 + git rev-list -1 --merges f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514~1..f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 [Pipeline] echo 03:29:55 -----------> git rev-list -1 --merges f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514~1..f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 [false] [Pipeline] sh 03:29:55 + git log --format=format:%s -1 f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 [Pipeline] echo 03:29:55 ========================================================= 03:29:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:29:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:29:55 + git log --format=format:%s -1 f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 [Pipeline] echo 03:29:55 [semverPrep] GIT_COMMIT: f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:29:55 [semverPrep] This is not a build commit. [Pipeline] sh 03:29:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:29:56 + grep -v github /etc/ssh/ssh_known_hosts 03:29:56 + [ -e /tmp/ssh_known_hosts ] 03:29:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:29:56 + + sudo tee -a /etc/ssh/ssh_known_hosts 03:29:56 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:29:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:29:56 03:29:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:29:57 0.1.4: Pulling from edgex-devops/py-git-semver 03:29:57 b85a868b505f: Pulling fs layer 03:29:57 e2be974225ed: Pulling fs layer 03:29:57 339a4e72a1f5: Pulling fs layer 03:29:57 988bab9f4d93: Pulling fs layer 03:29:57 1469e6f7b9e6: Pulling fs layer 03:29:57 eaf3925da568: Pulling fs layer 03:29:57 bab4dde63d76: Pulling fs layer 03:29:57 bde34c3a00c8: Pulling fs layer 03:29:57 b352a97aabf1: Pulling fs layer 03:29:57 4872d77fe225: Pulling fs layer 03:29:57 5851b861e8e6: Pulling fs layer 03:29:57 1469e6f7b9e6: Waiting 03:29:57 eaf3925da568: Waiting 03:29:57 b352a97aabf1: Waiting 03:29:57 4872d77fe225: Waiting 03:29:57 5851b861e8e6: Waiting 03:29:57 bab4dde63d76: Waiting 03:29:57 988bab9f4d93: Waiting 03:29:57 bde34c3a00c8: Waiting 03:29:57 e2be974225ed: Download complete 03:29:57 988bab9f4d93: Download complete 03:29:57 1469e6f7b9e6: Verifying Checksum 03:29:57 1469e6f7b9e6: Download complete 03:29:57 eaf3925da568: Verifying Checksum 03:29:57 eaf3925da568: Download complete 03:29:57 339a4e72a1f5: Verifying Checksum 03:29:57 339a4e72a1f5: Download complete 03:29:57 bde34c3a00c8: Download complete 03:29:57 b352a97aabf1: Verifying Checksum 03:29:57 b352a97aabf1: Download complete 03:29:57 4872d77fe225: Verifying Checksum 03:29:57 4872d77fe225: Download complete 03:29:57 5851b861e8e6: Download complete 03:29:57 b85a868b505f: Verifying Checksum 03:29:57 b85a868b505f: Download complete 03:29:58 bab4dde63d76: Verifying Checksum 03:29:58 bab4dde63d76: Download complete 03:29:59 b85a868b505f: Pull complete 03:29:59 e2be974225ed: Pull complete 03:29:59 339a4e72a1f5: Pull complete 03:29:59 988bab9f4d93: Pull complete 03:30:00 1469e6f7b9e6: Pull complete 03:30:00 eaf3925da568: Pull complete 03:30:02 bab4dde63d76: Pull complete 03:30:02 bde34c3a00c8: Pull complete 03:30:02 b352a97aabf1: Pull complete 03:30:02 4872d77fe225: Pull complete 03:30:02 5851b861e8e6: Pull complete 03:30:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:30:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:30:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:03 prd-ubuntu20.04-docker-8c-8g-337 does not seem to be running inside a container 03:30:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-435 -v /w/workspace/undry_device-onvif-camera_PR-435:/w/workspace/undry_device-onvif-camera_PR-435:rw,z -v /w/workspace/undry_device-onvif-camera_PR-435@tmp:/w/workspace/undry_device-onvif-camera_PR-435@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:30:06 $ docker top 16d3ca200549f1757618c8efd057c83a1dfa4b8a2179f2e37f3067aab7a4078f -eo pid,comm 03:30:06 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:30:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:30:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:30:06 [ssh-agent] Looking for ssh-agent implementation... 03:30:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:30:07 $ docker exec 16d3ca200549f1757618c8efd057c83a1dfa4b8a2179f2e37f3067aab7a4078f ssh-agent 03:30:07 SSH_AUTH_SOCK=/tmp/ssh-ejLF3NF3O7VJ/agent.33 03:30:07 SSH_AGENT_PID=39 03:30:07 Running ssh-add (command line suppressed) 03:30:07 Identity added: /w/workspace/undry_device-onvif-camera_PR-435@tmp/private_key_1408392093579285667.key (/w/workspace/undry_device-onvif-camera_PR-435@tmp/private_key_1408392093579285667.key) 03:30:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:30:07 + git tag --points-at HEAD [Pipeline] } 03:30:07 $ docker exec --env ******** --env ******** 16d3ca200549f1757618c8efd057c83a1dfa4b8a2179f2e37f3067aab7a4078f ssh-agent -k 03:30:07 unset SSH_AUTH_SOCK; 03:30:07 unset SSH_AGENT_PID; 03:30:07 echo Agent pid 39 killed; 03:30:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:30:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:30:07 [ssh-agent] Looking for ssh-agent implementation... 03:30:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:30:08 $ docker exec 16d3ca200549f1757618c8efd057c83a1dfa4b8a2179f2e37f3067aab7a4078f ssh-agent 03:30:08 SSH_AUTH_SOCK=/tmp/ssh-psab3l5h0r1Q/agent.73 03:30:08 SSH_AGENT_PID=79 03:30:08 Running ssh-add (command line suppressed) 03:30:08 Identity added: /w/workspace/undry_device-onvif-camera_PR-435@tmp/private_key_13333691943689434191.key (/w/workspace/undry_device-onvif-camera_PR-435@tmp/private_key_13333691943689434191.key) 03:30:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:30:08 + git semver init 03:30:09 2024-05-17 03:30:09,055 [run_init] DEBUG init version:0.0.0 force:False 03:30:09 2024-05-17 03:30:09,056 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-435/.semver 03:30:09 2024-05-17 03:30:09,057 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-435/.semver 03:30:09 2024-05-17 03:30:09,057 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-435/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-435, universal_newlines=False, shell=None, istream=None) 03:30:10 2024-05-17 03:30:10,471 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-435/.git/info/exclude 03:30:10 2024-05-17 03:30:10,472 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-435/.semver/PR-435 with force:False 03:30:10 2024-05-17 03:30:10,472 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-435/.semver/PR-435 03:30:10 2024-05-17 03:30:10,475 [execute] INFO git cat-file --batch-check 03:30:10 2024-05-17 03:30:10,475 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-435/.semver, universal_newlines=False, shell=None, istream=) 03:30:10 2024-05-17 03:30:10,483 [execute] INFO git cat-file --batch 03:30:10 2024-05-17 03:30:10,484 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-435/.semver, universal_newlines=False, shell=None, istream=) 03:30:10 2024-05-17 03:30:10,489 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-435/.semver/PR-435 03:30:10 0.0.0 [Pipeline] } 03:30:10 $ docker exec --env ******** --env ******** 16d3ca200549f1757618c8efd057c83a1dfa4b8a2179f2e37f3067aab7a4078f ssh-agent -k 03:30:10 unset SSH_AUTH_SOCK; 03:30:10 unset SSH_AGENT_PID; 03:30:10 echo Agent pid 79 killed; 03:30:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:30:11 + git semver [Pipeline] } 03:30:11 $ docker stop --time=1 16d3ca200549f1757618c8efd057c83a1dfa4b8a2179f2e37f3067aab7a4078f 03:30:13 $ docker rm -f --volumes 16d3ca200549f1757618c8efd057c83a1dfa4b8a2179f2e37f3067aab7a4078f [Pipeline] // withDockerContainer [Pipeline] sh 03:30:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:30:13 Stashed 1 file(s) [Pipeline] echo 03:30:13 [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:30:14 provisioning config files... 03:30:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-435@tmp/config6093962808861270370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:30:15 ---> ****-login.sh 03:30:15 nexus3.edgexfoundry.org:10001 03:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:15 Configure a credential helper to remove this warning. See 03:30:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:15 03:30:15 Login Succeeded 03:30:15 nexus3.edgexfoundry.org:10002 03:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:15 Configure a credential helper to remove this warning. See 03:30:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:15 03:30:15 Login Succeeded 03:30:15 nexus3.edgexfoundry.org:10003 03:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:15 Configure a credential helper to remove this warning. See 03:30:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:15 03:30:15 Login Succeeded 03:30:15 nexus3.edgexfoundry.org:10004 03:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:15 Configure a credential helper to remove this warning. See 03:30:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:15 03:30:15 Login Succeeded 03:30:15 ****.io 03:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:15 Configure a credential helper to remove this warning. See 03:30:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:15 03:30:15 Login Succeeded 03:30:15 ---> ****-login.sh ends [Pipeline] } 03:30:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:30:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:30:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:30:15 ========================================================= 03:30:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:30:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:16 + 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:30:16 Sending build context to Docker daemon 34.4MB 03:30:16 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:30:16 Step 2/13 : FROM ${BASE} AS builder 03:30:16 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:30:16 619be1103602: Pulling fs layer 03:30:16 7862e08f4a3e: Pulling fs layer 03:30:16 5df492c9dc93: Pulling fs layer 03:30:16 7629e6793208: Pulling fs layer 03:30:16 4f4fb700ef54: Pulling fs layer 03:30:16 fb5054dd5b73: Pulling fs layer 03:30:16 eeca6798cff9: Pulling fs layer 03:30:16 aa269ceb94a6: Pulling fs layer 03:30:16 ada007ff1a6a: Pulling fs layer 03:30:16 7629e6793208: Waiting 03:30:16 4f4fb700ef54: Waiting 03:30:16 fb5054dd5b73: Waiting 03:30:16 eeca6798cff9: Waiting 03:30:16 aa269ceb94a6: Waiting 03:30:16 ada007ff1a6a: Waiting 03:30:16 7862e08f4a3e: Download complete 03:30:16 7629e6793208: Verifying Checksum 03:30:16 4f4fb700ef54: Download complete 03:30:16 fb5054dd5b73: Verifying Checksum 03:30:16 fb5054dd5b73: Download complete 03:30:16 619be1103602: Verifying Checksum 03:30:16 619be1103602: Download complete 03:30:16 eeca6798cff9: Verifying Checksum 03:30:16 eeca6798cff9: Download complete 03:30:16 619be1103602: Pull complete 03:30:17 ada007ff1a6a: Verifying Checksum 03:30:17 ada007ff1a6a: Download complete 03:30:17 7862e08f4a3e: Pull complete 03:30:17 5df492c9dc93: Download complete 03:30:17 aa269ceb94a6: Verifying Checksum 03:30:17 aa269ceb94a6: Download complete 03:30:21 5df492c9dc93: Pull complete 03:30:21 7629e6793208: Pull complete 03:30:21 4f4fb700ef54: Pull complete 03:30:21 fb5054dd5b73: Pull complete 03:30:21 eeca6798cff9: Pull complete 03:30:24 aa269ceb94a6: Pull complete 03:30:24 ada007ff1a6a: Pull complete 03:30:24 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:30:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:30:24 ---> f489d0715acc 03:30:24 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:30:29 Still waiting to schedule task 03:30:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:30:31 ---> Running in 3500c2afe478 03:30:31 Removing intermediate container 3500c2afe478 03:30:31 ---> c0bc3d431814 03:30:31 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:30:31 ---> Running in 4c7b63295c8e 03:30:31 Removing intermediate container 4c7b63295c8e 03:30:31 ---> 5ec40833f7c0 03:30:31 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:30:31 ---> Running in 9904bf97bfa2 03:30:31 Removing intermediate container 9904bf97bfa2 03:30:31 ---> 3c62604c615d 03:30:31 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:30:31 ---> Running in cccb238e2726 03:30:31 Removing intermediate container cccb238e2726 03:30:31 ---> ee1d07847a1d 03:30:31 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:30:31 ---> Running in d43c67fa78a5 03:30:31 Removing intermediate container d43c67fa78a5 03:30:31 ---> d3430028f253 03:30:31 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:30:31 ---> Running in 6cb7fba03132 03:30:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:30:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:30:32 OK: 264 MiB in 52 packages 03:30:32 Removing intermediate container 6cb7fba03132 03:30:32 ---> 05f264aea2ca 03:30:32 Step 9/13 : WORKDIR /device-onvif-camera 03:30:32 ---> Running in aba31881af14 03:30:32 Removing intermediate container aba31881af14 03:30:32 ---> 1cf4be162978 03:30:32 Step 10/13 : COPY go.mod vendor* ./ 03:30:33 ---> ad9eb9832d37 03:30:33 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:30:33 ---> Running in a8fd328c4cc9 03:31:40 Removing intermediate container a8fd328c4cc9 03:31:40 ---> 7be9e779d36f 03:31:40 Step 12/13 : COPY . . 03:31:40 ---> d0ca5656f759 03:31:40 Step 13/13 : RUN ${MAKE} 03:31:40 ---> Running in 6cf8cf0de755 03:31:40 noop 03:31:40 Removing intermediate container 6cf8cf0de755 03:31:40 ---> b4402ea02541 03:31:40 Successfully built b4402ea02541 03:31:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:41 + docker inspect -f . ci-base-image-x86_64 03:31:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:31:41 prd-ubuntu20.04-docker-8c-8g-337 does not seem to be running inside a container 03:31:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-435 -v /w/workspace/undry_device-onvif-camera_PR-435:/w/workspace/undry_device-onvif-camera_PR-435:rw,z -v /w/workspace/undry_device-onvif-camera_PR-435@tmp:/w/workspace/undry_device-onvif-camera_PR-435@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:31:41 $ docker top 933a2c0c4750904478d809940261c4a6767be8452bf7a054875bc56f54233253 -eo pid,comm [Pipeline] { [Pipeline] sh 03:31:42 + go version 03:31:42 go version go1.21.9 linux/amd64 [Pipeline] } 03:31:42 $ docker stop --time=1 933a2c0c4750904478d809940261c4a6767be8452bf7a054875bc56f54233253 03:31:43 $ docker rm -f --volumes 933a2c0c4750904478d809940261c4a6767be8452bf7a054875bc56f54233253 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:44 + docker inspect -f . ci-base-image-x86_64 03:31:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:31:44 prd-ubuntu20.04-docker-8c-8g-337 does not seem to be running inside a container 03:31:44 $ 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-435 -v /w/workspace/undry_device-onvif-camera_PR-435:/w/workspace/undry_device-onvif-camera_PR-435:rw,z -v /w/workspace/undry_device-onvif-camera_PR-435@tmp:/w/workspace/undry_device-onvif-camera_PR-435@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:31:44 $ docker top 25857e534dcb8d5ef25e7318541c026a6178f4801321eb5cc7422af74497b4b9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:31:45 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-435 [Pipeline] fileExists [Pipeline] sh 03:31:45 + make test 03:31:45 go test ./... -coverprofile=coverage.out ./... 03:31:47 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:31:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-338 in /w/workspace/undry_device-onvif-camera_PR-435 [Pipeline] { [Pipeline] ws 03:31:54 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:31:57 The recommended git tool is: git 03:32:01 using credential edgex-jenkins-ssh 03:32:01 Cloning the remote Git repository 03:32:02 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:32:02 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:32:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:32:02 > git --version # timeout=10 03:32:02 > git --version # 'git version 2.25.1' 03:32:02 using GIT_SSH to set credentials SSH Credentials for GitHub 03:32:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:32:04 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:32:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:32:05 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:32:05 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:32:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:32:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/435/head:refs/remotes/origin/PR-435 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:32:07 Merging remotes/origin/main commit 30f086e472ba45efbfdabc7b924c06da27b16fd7 into PR head commit f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 03:32:07 > git config core.sparsecheckout # timeout=10 03:32:07 > git checkout -f f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 # timeout=10 03:32:07 > git remote # timeout=10 03:32:07 > git config --get remote.origin.url # timeout=10 03:32:07 using GIT_SSH to set credentials SSH Credentials for GitHub 03:32:07 Merge succeeded, producing f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 03:32:07 Checking out Revision f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 (PR-435) 03:32:08 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 03:32:08 > git --version # timeout=10 03:32:08 > git --version # 'git version 2.25.1' 03:32:08 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:32:07 > git merge 30f086e472ba45efbfdabc7b924c06da27b16fd7 # timeout=10 03:32:07 > git rev-parse HEAD^{commit} # timeout=10 03:32:07 > git config core.sparsecheckout # timeout=10 03:32:07 > git checkout -f f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:32:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:32:13 % Total % Received % Xferd Average Speed Time Time Time Current 03:32:13 Dload Upload Total Spent Left Speed 03:32:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 75458 0 --:--:-- --:--:-- --:--:-- 75017 [Pipeline] sh 03:32:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:32:13 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:32:13 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:32:13 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.049s coverage: 31.5% of statements 03:32:13 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.525s coverage: 86.5% of statements 03:32:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:32:13 + sudo tee /etc/docker/daemon.new 03:32:13 { 03:32:13 "registry-mirrors": [ 03:32:13 "https://nexus3.edgexfoundry.org:10001" 03:32:13 ], 03:32:13 "bip": "10.250.0.254/24", 03:32:13 "hosts": [ 03:32:13 "tcp://0.0.0.0:5555", 03:32:13 "unix:///var/run/docker.sock" 03:32:13 ], 03:32:13 "mtu": 1458, 03:32:13 "selinux-enabled": true, 03:32:13 "seccomp-profile": "/etc/docker/seccomp.json" 03:32:13 } [Pipeline] sh 03:32:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:32:14 + sudo service docker restart 03:32:25 go vet ./... 03:32:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:32:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:32:31 ./bin/test-attribution-txt.sh 03:32:31 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:32:31 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:32:31 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:32:31 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:32:31 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:32:31 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:32:31 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:32:31 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:32:31 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:32:31 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 03:32:31 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:32:31 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:32:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:32:31 $ docker stop --time=1 25857e534dcb8d5ef25e7318541c026a6178f4801321eb5cc7422af74497b4b9 03:32:35 $ docker rm -f --volumes 25857e534dcb8d5ef25e7318541c026a6178f4801321eb5cc7422af74497b4b9 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:32:36 provisioning config files... 03:32:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config16835900426731776237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:32:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:32:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 03:32:36 ---> ****-login.sh 03:32:36 nexus3.edgexfoundry.org:10001 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 03:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 03:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:32:37 Configure a credential helper to remove this warning. See 03:32:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:32:37 03:32:37 Login Succeeded 03:32:37 nexus3.edgexfoundry.org:10002 03:32:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:32:37 Configure a credential helper to remove this warning. See 03:32:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:32:37 03:32:37 Login Succeeded 03:32:37 + ls -al . 03:32:37 total 308 03:32:37 drwxrwxr-x 9 jenkins jenkins 4096 May 17 03:31 . 03:32:37 drwxrwxr-x 4 jenkins jenkins 4096 May 17 03:29 .. 03:32:37 drwxrwxr-x 8 jenkins jenkins 4096 May 17 03:32 .git 03:32:37 drwxrwxr-x 3 jenkins jenkins 4096 May 17 03:29 .github 03:32:37 -rw-rw-r-- 1 jenkins jenkins 493 May 17 03:29 .gitignore 03:32:37 -rw-rw-r-- 1 jenkins jenkins 42 May 17 03:29 .golangci.yml 03:32:37 drwxr-xr-x 3 jenkins jenkins 4096 May 17 03:30 .semver 03:32:37 -rw-rw-r-- 1 jenkins jenkins 11155 May 17 03:29 Attribution.txt 03:32:37 -rw-rw-r-- 1 jenkins jenkins 17665 May 17 03:29 CHANGELOG.md 03:32:37 -rw-rw-r-- 1 jenkins jenkins 1683 May 17 03:29 Dockerfile 03:32:37 -rw-rw-r-- 1 jenkins jenkins 677 May 17 03:29 GOVERNANCE.md 03:32:37 -rw-rw-r-- 1 jenkins jenkins 739 May 17 03:29 Jenkinsfile 03:32:37 -rw-rw-r-- 1 jenkins jenkins 11348 May 17 03:29 LICENSE 03:32:37 -rw-rw-r-- 1 jenkins jenkins 2883 May 17 03:29 Makefile 03:32:37 -rw-rw-r-- 1 jenkins jenkins 625 May 17 03:29 OWNERS.md 03:32:37 -rw-rw-r-- 1 jenkins jenkins 2620 May 17 03:29 README.md 03:32:37 -rw-rw-r-- 1 jenkins jenkins 5 May 17 03:30 VERSION 03:32:37 drwxrwxr-x 2 jenkins jenkins 4096 May 17 03:29 bin 03:32:37 drwxrwxr-x 3 jenkins jenkins 4096 May 17 03:29 cmd 03:32:37 -rw-r--r-- 1 jenkins jenkins 78456 May 17 03:32 coverage.out 03:32:37 drwxrwxr-x 4 jenkins jenkins 4096 May 17 03:29 doc 03:32:37 -rw-rw-r-- 1 jenkins jenkins 7393 May 17 03:29 go.mod 03:32:37 -rw-rw-r-- 1 jenkins jenkins 101917 May 17 03:29 go.sum 03:32:37 drwxrwxr-x 4 jenkins jenkins 4096 May 17 03:29 internal 03:32:37 -rw-rw-r-- 1 jenkins jenkins 236 May 17 03:29 version.go [Pipeline] isUnix 03:32:37 nexus3.edgexfoundry.org:10003 03:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:32:38 Configure a credential helper to remove this warning. See 03:32:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:32:38 03:32:38 Login Succeeded 03:32:38 nexus3.edgexfoundry.org:10004 03:32:38 + 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=f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 --label arch=amd64 --label version=0.0.0 . 03:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:32:38 Configure a credential helper to remove this warning. See 03:32:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:32:38 03:32:38 Login Succeeded 03:32:38 ****.io 03:32:38 Sending build context to Docker daemon 34.48MB 03:32:38 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:32:38 Step 2/27 : FROM ${BASE} AS builder 03:32:38 ---> b4402ea02541 03:32:38 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:32:38 Configure a credential helper to remove this warning. See 03:32:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:32:38 03:32:38 Login Succeeded 03:32:38 ---> ****-login.sh ends [Pipeline] } 03:32:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:32:39 ---> Running in d44f31d7568e 03:32:39 Removing intermediate container d44f31d7568e 03:32:39 ---> 394c7a1a6fed 03:32:39 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:32:39 ---> Running in 24f8656bed6d 03:32:39 Removing intermediate container 24f8656bed6d 03:32:39 ---> d8f6f5b04438 03:32:39 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:32:39 ---> Running in 6b21e11886bf [Pipeline] // withEnv [Pipeline] unstash 03:32:39 Removing intermediate container 6b21e11886bf 03:32:39 ---> f44976b53b12 03:32:39 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:32:39 ---> Running in 2cd1993674f4 03:32:39 Removing intermediate container 2cd1993674f4 03:32:39 ---> 0ee400e5530e 03:32:39 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:32:39 ---> Running in 10673ce6d2db 03:32:39 Removing intermediate container 10673ce6d2db 03:32:39 ---> 798ca87916bc 03:32:39 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:32:39 ---> Running in 3b00cf316b43 [Pipeline] echo 03:32:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:32:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:32:39 ========================================================= 03:32:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:32:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 03:32:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:32:40 + 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:32:40 OK: 264 MiB in 52 packages 03:32:40 Sending build context to Docker daemon 20.61MB 03:32:40 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:32:40 Step 2/13 : FROM ${BASE} AS builder 03:32:40 Removing intermediate container 3b00cf316b43 03:32:40 ---> a3ddbce27f38 03:32:40 Step 9/27 : WORKDIR /device-onvif-camera 03:32:40 ---> Running in 0b37f2541d42 03:32:40 Removing intermediate container 0b37f2541d42 03:32:40 ---> 2221516f91d8 03:32:40 Step 10/27 : COPY go.mod vendor* ./ 03:32:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:32:40 c6b39de5b339: Pulling fs layer 03:32:40 a69c41024577: Pulling fs layer 03:32:40 d6de4b400683: Pulling fs layer 03:32:40 35cb2a7552d0: Pulling fs layer 03:32:40 4f4fb700ef54: Pulling fs layer 03:32:40 464afbd9ba4c: Pulling fs layer 03:32:40 00f215d4a9da: Pulling fs layer 03:32:40 d496ad576159: Pulling fs layer 03:32:40 35cb2a7552d0: Waiting 03:32:40 464afbd9ba4c: Waiting 03:32:40 00f215d4a9da: Waiting 03:32:40 4f4fb700ef54: Waiting 03:32:40 d496ad576159: Waiting 03:32:40 a69c41024577: Verifying Checksum 03:32:40 a69c41024577: Download complete 03:32:40 35cb2a7552d0: Verifying Checksum 03:32:40 35cb2a7552d0: Download complete 03:32:40 4f4fb700ef54: Verifying Checksum 03:32:40 4f4fb700ef54: Download complete 03:32:40 464afbd9ba4c: Verifying Checksum 03:32:40 464afbd9ba4c: Download complete 03:32:40 c6b39de5b339: Verifying Checksum 03:32:40 c6b39de5b339: Download complete 03:32:40 ---> abd7dce728d4 03:32:40 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:32:40 ---> Running in ae158ed13cc6 03:32:41 Removing intermediate container ae158ed13cc6 03:32:41 ---> e9582e95604d 03:32:41 Step 12/27 : COPY . . 03:32:41 d496ad576159: Verifying Checksum 03:32:41 d496ad576159: Download complete 03:32:41 c6b39de5b339: Pull complete 03:32:42 a69c41024577: Pull complete 03:32:42 d6de4b400683: Download complete 03:32:43 ---> 5d246c6e150e 03:32:43 Step 13/27 : RUN ${MAKE} 03:32:43 ---> Running in be3462676556 03:32:43 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.13" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:32:44 00f215d4a9da: Verifying Checksum 03:32:44 00f215d4a9da: Download complete 03:32:56 d6de4b400683: Pull complete 03:32:56 35cb2a7552d0: Pull complete 03:32:56 4f4fb700ef54: Pull complete 03:32:56 464afbd9ba4c: Pull complete 03:33:04 00f215d4a9da: Pull complete 03:33:05 d496ad576159: Pull complete 03:33:05 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:33:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:33:05 ---> f246e2811388 03:33:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:33:07 ---> Running in 92ffb18c0fa0 03:33:07 Removing intermediate container 92ffb18c0fa0 03:33:07 ---> 8b618a0031f4 03:33:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:33:07 ---> Running in 48f78a86956a 03:33:08 Removing intermediate container 48f78a86956a 03:33:08 ---> 688ce3d14b2d 03:33:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:33:08 ---> Running in 15225db2e400 03:33:08 Removing intermediate container 15225db2e400 03:33:08 ---> c033df35e367 03:33:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:33:08 ---> Running in 0e80388ec544 03:33:08 Removing intermediate container 0e80388ec544 03:33:08 ---> c71aaeb3b626 03:33:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:33:08 ---> Running in 8e4e575b476e 03:33:09 Removing intermediate container 8e4e575b476e 03:33:09 ---> f0ab2e92c31a 03:33:09 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:33:09 ---> Running in ca42fbc40015 03:33:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:33:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:33:11 OK: 266 MiB in 52 packages 03:33:12 Removing intermediate container ca42fbc40015 03:33:12 ---> 3a70d26b123f 03:33:12 Step 9/13 : WORKDIR /device-onvif-camera 03:33:12 ---> Running in 85d42a274286 03:33:12 Removing intermediate container 85d42a274286 03:33:12 ---> 4e17e87bdb41 03:33:12 Step 10/13 : COPY go.mod vendor* ./ 03:33:13 ---> 346e32b8defa 03:33:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:33:13 ---> Running in 3d488a59b0a2 03:33:22 Removing intermediate container be3462676556 03:33:22 ---> 6aba359a1816 03:33:22 Step 14/27 : FROM alpine:3.18 03:33:22 3.18: Pulling from library/alpine 03:33:22 619be1103602: Already exists 03:33:22 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 03:33:22 Status: Downloaded newer image for alpine:3.18 03:33:22 ---> d3782b16ccc9 03:33:22 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:33:22 ---> Running in ae3f65df9135 03:33:23 Removing intermediate container ae3f65df9135 03:33:23 ---> fdc20879622c 03:33:23 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:33:23 ---> Running in f53d8fb2075d 03:33:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:33:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:33:23 (1/1) Installing dumb-init (1.2.5-r2) 03:33:23 Executing busybox-1.36.1-r5.trigger 03:33:23 OK: 7 MiB in 16 packages 03:33:24 Removing intermediate container f53d8fb2075d 03:33:24 ---> 734bec364498 03:33:24 Step 17/27 : RUN apk --no-cache upgrade 03:33:24 ---> Running in 06e33d7d7c8a 03:33:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:33:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:33:25 Upgrading critical system libraries and apk-tools: 03:33:25 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 03:33:25 Executing busybox-1.36.1-r5.trigger 03:33:25 Continuing the upgrade transaction with new apk-tools: 03:33:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:33:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:33:25 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 03:33:25 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 03:33:25 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 03:33:25 OK: 7 MiB in 16 packages 03:33:26 Removing intermediate container 06e33d7d7c8a 03:33:26 ---> 88205c9e515f 03:33:26 Step 18/27 : WORKDIR / 03:33:26 ---> Running in 968faefb5184 03:33:26 Removing intermediate container 968faefb5184 03:33:26 ---> 6d865169670c 03:33:26 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:33:27 ---> 3cb29645eb08 03:33:27 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:33:27 ---> 8b8702a88532 03:33:27 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:33:27 ---> 098ff974f76c 03:33:27 Step 22/27 : EXPOSE 59984 03:33:27 ---> Running in 7ee934e3ccc8 03:33:27 Removing intermediate container 7ee934e3ccc8 03:33:27 ---> fdd1f0d69575 03:33:27 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:33:27 ---> Running in 57e2717f74c0 03:33:27 Removing intermediate container 57e2717f74c0 03:33:27 ---> 774848c0bf41 03:33:27 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:33:27 ---> Running in 9ab71b5e889f 03:33:27 Removing intermediate container 9ab71b5e889f 03:33:27 ---> 6418c2768040 03:33:27 Step 25/27 : LABEL arch=amd64 03:33:27 ---> Running in 3d7ab414074d 03:33:28 Removing intermediate container 3d7ab414074d 03:33:28 ---> 3b7916e6049a 03:33:28 Step 26/27 : LABEL git_sha=f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 03:33:28 ---> Running in 5c01f41b3c23 03:33:28 Removing intermediate container 5c01f41b3c23 03:33:28 ---> 1dad7c14f238 03:33:28 Step 27/27 : LABEL version=0.0.0 03:33:28 ---> Running in a1ceb41dcc71 03:33:28 Removing intermediate container a1ceb41dcc71 03:33:28 ---> f49bae03e1ce 03:33:28 [Warning] One or more build-args [ARCH] were not consumed 03:33:28 Successfully built f49bae03e1ce 03:33:28 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:33:29 03:33:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:33:29 latest: Pulling from edgex-lftools-log-publisher 03:33:29 5eb5b503b376: Pulling fs layer 03:33:29 5c69ac0246d0: Pulling fs layer 03:33:29 ec43610c2a17: Pulling fs layer 03:33:29 3a2ae6a8a46f: Pulling fs layer 03:33:29 33b1e0a273af: Pulling fs layer 03:33:29 5d3b04190fa2: Pulling fs layer 03:33:29 2f39f015ded8: Pulling fs layer 03:33:29 3a2ae6a8a46f: Waiting 03:33:29 33b1e0a273af: Waiting 03:33:29 5d3b04190fa2: Waiting 03:33:29 2f39f015ded8: Waiting 03:33:29 5c69ac0246d0: Download complete 03:33:29 3a2ae6a8a46f: Verifying Checksum 03:33:29 3a2ae6a8a46f: Download complete 03:33:30 33b1e0a273af: Verifying Checksum 03:33:30 33b1e0a273af: Download complete 03:33:30 5d3b04190fa2: Download complete 03:33:30 ec43610c2a17: Verifying Checksum 03:33:30 5eb5b503b376: Verifying Checksum 03:33:30 5eb5b503b376: Download complete 03:33:30 2f39f015ded8: Download complete 03:33:31 5eb5b503b376: Pull complete 03:33:31 5c69ac0246d0: Pull complete 03:33:32 ec43610c2a17: Pull complete 03:33:32 3a2ae6a8a46f: Pull complete 03:33:32 33b1e0a273af: Pull complete 03:33:32 5d3b04190fa2: Pull complete 03:33:37 2f39f015ded8: Pull complete 03:33:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:33:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:33:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:37 prd-ubuntu20.04-docker-8c-8g-337 does not seem to be running inside a container 03:33:37 $ 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-435 -v /w/workspace/undry_device-onvif-camera_PR-435:/w/workspace/undry_device-onvif-camera_PR-435:rw,z -v /w/workspace/undry_device-onvif-camera_PR-435@tmp:/w/workspace/undry_device-onvif-camera_PR-435@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:33:43 $ docker top 1ef10c35c8d357c5b50f349455b1865a38e41a94681c8a31958a2e770713c859 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:43 ---> job-cost.sh 03:33:43 lf-activate-venv: SKIPPING 03:33:43 INFO: No Stack... 03:33:43 INFO: Retrieving Pricing Info for: v3-standard-8 03:33:44 INFO: Archiving Costs [Pipeline] sh 03:33:44 + cat /w/workspace/undry_device-onvif-camera_PR-435/archives/cost.csv 03:33:44 + cut -d, -f6 [Pipeline] lock 03:33:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-435-1-stack-cost] 03:33:44 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-435-1-stack-cost] did not exist. Created. 03:33:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-435-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:33:45 + echo total: 0.2199999988079071 [Pipeline] stash 03:33:45 Stashed 1 file(s) [Pipeline] } 03:33:45 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-435-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:33:45 $ docker stop --time=1 1ef10c35c8d357c5b50f349455b1865a38e41a94681c8a31958a2e770713c859 03:33:46 $ docker rm -f --volumes 1ef10c35c8d357c5b50f349455b1865a38e41a94681c8a31958a2e770713c859 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:35:05 Removing intermediate container 3d488a59b0a2 03:35:05 ---> 51b482f012d6 03:35:05 Step 12/13 : COPY . . 03:35:05 ---> dedc863df892 03:35:05 Step 13/13 : RUN ${MAKE} 03:35:05 ---> Running in afbb6a6a363a 03:35:05 noop 03:35:05 Removing intermediate container afbb6a6a363a 03:35:05 ---> 084ff8d0052b 03:35:05 Successfully built 084ff8d0052b 03:35:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:05 + docker inspect -f . ci-base-image-arm64 03:35:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:06 prd-ubuntu20.04-docker-arm64-4c-16g-338 does not seem to be running inside a container 03:35:06 $ 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:35:07 $ docker top 12291fc28ce185db393d486f7427d35134c3a637ad89d1681832c90d4450db40 -eo pid,comm [Pipeline] { [Pipeline] sh 03:35:08 + go version 03:35:08 go version go1.21.9 linux/arm64 [Pipeline] } 03:35:08 $ docker stop --time=1 12291fc28ce185db393d486f7427d35134c3a637ad89d1681832c90d4450db40 03:35:09 $ docker rm -f --volumes 12291fc28ce185db393d486f7427d35134c3a637ad89d1681832c90d4450db40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:10 + docker inspect -f . ci-base-image-arm64 03:35:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:11 prd-ubuntu20.04-docker-arm64-4c-16g-338 does not seem to be running inside a container 03:35:11 $ 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:35:12 $ docker top 9ea1d11816596121198f7905f3af57c1eeff824745dcc2df1ec566316a307cb4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:35:13 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:35:13 + make test 03:35:13 go test ./... -coverprofile=coverage.out ./... 03:35:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:38:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:39:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:39:03 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.216s coverage: 31.5% of statements 03:39:30 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.591s coverage: 86.5% of statements 03:39:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:39:30 go vet ./... 03:40:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:40:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:40:16 ./bin/test-attribution-txt.sh 03:40:16 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:40:16 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:40:16 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:40:16 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:40:16 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:40:16 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:40:16 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:40:16 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:40:16 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:40:16 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 03:40:16 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:40:16 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:40:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:40:16 $ docker stop --time=1 9ea1d11816596121198f7905f3af57c1eeff824745dcc2df1ec566316a307cb4 03:40:18 $ docker rm -f --volumes 9ea1d11816596121198f7905f3af57c1eeff824745dcc2df1ec566316a307cb4 [Pipeline] // withDockerContainer [Pipeline] sh 03:40:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:40:20 Warning: overwriting stash ‘coverage-report’ 03:40:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:40:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:40:21 + ls -al . 03:40:21 total 304 03:40:21 drwxrwxr-x 8 jenkins jenkins 4096 May 17 03:35 . 03:40:21 drwxrwxr-x 4 jenkins jenkins 4096 May 17 03:32 .. 03:40:21 drwxrwxr-x 8 jenkins jenkins 4096 May 17 03:32 .git 03:40:21 drwxrwxr-x 3 jenkins jenkins 4096 May 17 03:32 .github 03:40:21 -rw-rw-r-- 1 jenkins jenkins 493 May 17 03:32 .gitignore 03:40:21 -rw-rw-r-- 1 jenkins jenkins 42 May 17 03:32 .golangci.yml 03:40:21 -rw-rw-r-- 1 jenkins jenkins 11155 May 17 03:32 Attribution.txt 03:40:21 -rw-rw-r-- 1 jenkins jenkins 17665 May 17 03:32 CHANGELOG.md 03:40:21 -rw-rw-r-- 1 jenkins jenkins 1683 May 17 03:32 Dockerfile 03:40:21 -rw-rw-r-- 1 jenkins jenkins 677 May 17 03:32 GOVERNANCE.md 03:40:21 -rw-rw-r-- 1 jenkins jenkins 739 May 17 03:32 Jenkinsfile 03:40:21 -rw-rw-r-- 1 jenkins jenkins 11348 May 17 03:32 LICENSE 03:40:21 -rw-rw-r-- 1 jenkins jenkins 2883 May 17 03:32 Makefile 03:40:21 -rw-rw-r-- 1 jenkins jenkins 625 May 17 03:32 OWNERS.md 03:40:21 -rw-rw-r-- 1 jenkins jenkins 2620 May 17 03:32 README.md 03:40:21 -rw-rw-r-- 1 jenkins jenkins 5 May 17 03:30 VERSION 03:40:21 drwxrwxr-x 2 jenkins jenkins 4096 May 17 03:32 bin 03:40:21 drwxrwxr-x 3 jenkins jenkins 4096 May 17 03:32 cmd 03:40:21 -rw-r--r-- 1 jenkins jenkins 78456 May 17 03:39 coverage.out 03:40:21 drwxrwxr-x 4 jenkins jenkins 4096 May 17 03:32 doc 03:40:21 -rw-rw-r-- 1 jenkins jenkins 7393 May 17 03:32 go.mod 03:40:21 -rw-rw-r-- 1 jenkins jenkins 101917 May 17 03:32 go.sum 03:40:21 drwxrwxr-x 4 jenkins jenkins 4096 May 17 03:32 internal 03:40:21 -rw-rw-r-- 1 jenkins jenkins 236 May 17 03:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:22 + 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=f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 --label arch=arm64 --label version=0.0.0 . 03:40:23 Sending build context to Docker daemon 20.69MB 03:40:23 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:40:23 Step 2/27 : FROM ${BASE} AS builder 03:40:23 ---> 084ff8d0052b 03:40:23 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:40:23 ---> Running in 9a0e3b3dd124 03:40:23 Removing intermediate container 9a0e3b3dd124 03:40:23 ---> a404e8cf8a35 03:40:23 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:40:23 ---> Running in 2d9f790c0f71 03:40:23 Removing intermediate container 2d9f790c0f71 03:40:23 ---> bbd24252a2f5 03:40:23 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:40:24 ---> Running in e3571c319003 03:40:24 Removing intermediate container e3571c319003 03:40:24 ---> 1052aeaafcf1 03:40:24 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:40:24 ---> Running in ca3991d03c5c 03:40:24 Removing intermediate container ca3991d03c5c 03:40:24 ---> 0af8fb00990b 03:40:24 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:40:24 ---> Running in 3bd16614b6e3 03:40:25 Removing intermediate container 3bd16614b6e3 03:40:25 ---> eb6eb92960f9 03:40:25 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:40:25 ---> Running in d7c1fc5307ae 03:40:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:40:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:40:27 OK: 266 MiB in 52 packages 03:40:28 Removing intermediate container d7c1fc5307ae 03:40:28 ---> da92ae95e8a2 03:40:28 Step 9/27 : WORKDIR /device-onvif-camera 03:40:28 ---> Running in 93c5f0f17cec 03:40:28 Removing intermediate container 93c5f0f17cec 03:40:28 ---> 9486be9d0b80 03:40:28 Step 10/27 : COPY go.mod vendor* ./ 03:40:29 ---> 2444c608fa4e 03:40:29 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:40:29 ---> Running in 2b6ed78204c3 03:40:31 Removing intermediate container 2b6ed78204c3 03:40:31 ---> b4769bc4577b 03:40:31 Step 12/27 : COPY . . 03:40:33 ---> 625bda02535d 03:40:33 Step 13/27 : RUN ${MAKE} 03:40:33 ---> Running in ad6d72ee62ba 03:40:34 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.13" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:43:55 Removing intermediate container ad6d72ee62ba 03:43:55 ---> 77a85733f8f5 03:43:55 Step 14/27 : FROM alpine:3.18 03:43:55 3.18: Pulling from library/alpine 03:43:55 c6b39de5b339: Already exists 03:43:55 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 03:43:55 Status: Downloaded newer image for alpine:3.18 03:43:55 ---> 33abbf032149 03:43:55 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:43:55 ---> Running in cac54d5bb9bf 03:43:55 Removing intermediate container cac54d5bb9bf 03:43:55 ---> 056943e5f5a1 03:43:55 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:43:55 ---> Running in 8d40b99652a6 03:43:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:43:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:43:55 (1/1) Installing dumb-init (1.2.5-r2) 03:43:55 Executing busybox-1.36.1-r5.trigger 03:43:55 OK: 8 MiB in 16 packages 03:43:55 Removing intermediate container 8d40b99652a6 03:43:55 ---> 8ec16fc74d03 03:43:55 Step 17/27 : RUN apk --no-cache upgrade 03:43:55 ---> Running in f580ab6cec09 03:43:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:43:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:43:57 Upgrading critical system libraries and apk-tools: 03:43:57 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 03:43:57 Executing busybox-1.36.1-r5.trigger 03:43:57 Continuing the upgrade transaction with new apk-tools: 03:43:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:43:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:43:58 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 03:43:58 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 03:43:58 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 03:43:58 OK: 8 MiB in 16 packages 03:43:59 Removing intermediate container f580ab6cec09 03:43:59 ---> 2db32948489e 03:43:59 Step 18/27 : WORKDIR / 03:44:00 ---> Running in 4c73a5931671 03:44:00 Removing intermediate container 4c73a5931671 03:44:00 ---> eb8f686616aa 03:44:00 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:44:02 ---> 2ac681213c5e 03:44:02 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:44:02 ---> 9cbe0793ea48 03:44:02 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:44:02 ---> 72c91a65afa3 03:44:02 Step 22/27 : EXPOSE 59984 03:44:02 ---> Running in 598d292c0aa4 03:44:03 Removing intermediate container 598d292c0aa4 03:44:03 ---> b5bc6a94eb4f 03:44:03 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:44:03 ---> Running in e47715830649 03:44:03 Removing intermediate container e47715830649 03:44:03 ---> 67bbd63807e0 03:44:03 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:44:03 ---> Running in 156a07c3f46e 03:44:03 Removing intermediate container 156a07c3f46e 03:44:03 ---> 4dcc035c7b54 03:44:03 Step 25/27 : LABEL arch=arm64 03:44:03 ---> Running in 4e9c3b1a2cdf 03:44:04 Removing intermediate container 4e9c3b1a2cdf 03:44:04 ---> 78e4f868cf5f 03:44:04 Step 26/27 : LABEL git_sha=f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 03:44:04 ---> Running in 7d883a8f012d 03:44:04 Removing intermediate container 7d883a8f012d 03:44:04 ---> 833e37f4a936 03:44:04 Step 27/27 : LABEL version=0.0.0 03:44:04 ---> Running in 2ba2c6b80aa9 03:44:05 Removing intermediate container 2ba2c6b80aa9 03:44:05 ---> 9627db25a982 03:44:05 [Warning] One or more build-args [ARCH] were not consumed 03:44:05 Successfully built 9627db25a982 03:44:05 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:44:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:44:05 03:44:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:44:06 arm64: Pulling from edgex-lftools-log-publisher 03:44:06 8998bd30e6a1: Pulling fs layer 03:44:06 04944245beec: Pulling fs layer 03:44:06 699f458cf7ca: Pulling fs layer 03:44:06 765212b225bb: Pulling fs layer 03:44:06 f23df028b6ca: Pulling fs layer 03:44:06 d65c8cfc05b1: Pulling fs layer 03:44:06 2437ff75d9bd: Pulling fs layer 03:44:06 f23df028b6ca: Waiting 03:44:06 765212b225bb: Waiting 03:44:06 d65c8cfc05b1: Waiting 03:44:06 2437ff75d9bd: Waiting 03:44:06 04944245beec: Verifying Checksum 03:44:06 04944245beec: Download complete 03:44:06 765212b225bb: Verifying Checksum 03:44:06 765212b225bb: Download complete 03:44:06 f23df028b6ca: Verifying Checksum 03:44:06 f23df028b6ca: Download complete 03:44:06 d65c8cfc05b1: Verifying Checksum 03:44:06 d65c8cfc05b1: Download complete 03:44:06 699f458cf7ca: Verifying Checksum 03:44:06 699f458cf7ca: Download complete 03:44:07 8998bd30e6a1: Verifying Checksum 03:44:07 8998bd30e6a1: Download complete 03:44:09 2437ff75d9bd: Verifying Checksum 03:44:09 2437ff75d9bd: Download complete 03:44:11 8998bd30e6a1: Pull complete 03:44:12 04944245beec: Pull complete 03:44:13 699f458cf7ca: Pull complete 03:44:13 765212b225bb: Pull complete 03:44:14 f23df028b6ca: Pull complete 03:44:14 d65c8cfc05b1: Pull complete 03:44:33 2437ff75d9bd: Pull complete 03:44:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:44:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:44:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:33 prd-ubuntu20.04-docker-arm64-4c-16g-338 does not seem to be running inside a container 03:44:33 $ 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:44:36 $ docker top 6f739ef3a5a95ebfd2eb56868d5a4b4fd2568b7ae2dda14580e271f50709369e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:44:37 ---> job-cost.sh 03:44:37 lf-activate-venv: SKIPPING 03:44:37 INFO: No Stack... 03:44:37 INFO: Retrieving Pricing Info for: v3-standard-4 03:44:38 INFO: Archiving Costs [Pipeline] sh 03:44:39 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:44:39 + cut -d, -f6 [Pipeline] lock 03:44:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-435-1-stack-cost] 03:44:39 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-435-1-stack-cost] did not exist. Created. 03:44:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-435-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:44:40 /w/workspace/device-onvif-camera/1@tmp/durable-9cd5b99f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:44:40 + echo total: 0.10999999940395355 [Pipeline] stash 03:44:40 Warning: overwriting stash ‘stack-cost’ 03:44:40 Stashed 1 file(s) [Pipeline] } 03:44:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-435-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:44:41 $ docker stop --time=1 6f739ef3a5a95ebfd2eb56868d5a4b4fd2568b7ae2dda14580e271f50709369e 03:44:42 $ docker rm -f --volumes 6f739ef3a5a95ebfd2eb56868d5a4b4fd2568b7ae2dda14580e271f50709369e [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:44:43 provisioning config files... 03:44:43 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-435@tmp/config11767734566215415623tmp [Pipeline] { [Pipeline] sh 03:44:44 + set +x 03:44:44 + curl -s https://codecov.io/bash 03:44:44 + bash -s -- 03:44:44 03:44:44 _____ _ 03:44:44 / ____| | | 03:44:44 | | ___ __| | ___ ___ _____ __ 03:44:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:44:44 | |___| (_) | (_| | __/ (_| (_) \ V / 03:44:44 \_____\___/ \__,_|\___|\___\___/ \_/ 03:44:44 Bash-1.0.6 03:44:44 03:44:44 03:44:44 ==> git version 2.25.1 found 03:44:44 ==> 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:44:44 Release-Date: 2020-01-08 03:44:44 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:44:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:44:44 ==> Jenkins CI detected. 03:44:44 current dir:  /w/workspace/undry_device-onvif-camera_PR-435 03:44:44 project root: . 03:44:44 --> token set from env 03:44:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:44:44 ==> Running gcov in . (disable via -X gcov) 03:44:44 ==> Python coveragepy not found 03:44:44 ==> Searching for coverage reports in: 03:44:44 + . 03:44:44 -> Found 1 reports 03:44:44 ==> Detecting git/mercurial file structure 03:44:44 ==> Reading reports 03:44:44 + ./coverage.out bytes=78456 03:44:44 ==> Appending adjustments 03:44:44 https://docs.codecov.io/docs/fixing-reports 03:44:44 + Found adjustments 03:44:44 ==> Gzipping contents 03:44:44 12K /tmp/codecov.mBhPJO.gz 03:44:44 ==> Uploading reports 03:44:44 url: https://codecov.io 03:44:44 query: branch=PR-435&commit=f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-435%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=435&job=&cmd_args= 03:44:44 -> Pinging Codecov 03:44:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-435&commit=f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-435%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=435&job=&cmd_args= 03:44:44 -> Uploading to 03:44:44 https://storage.googleapis.com/codecov/v4/raw/2024-05-17/F29A59C45E3A92E06B3E522C9905F8EF/f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514/c7c7afed-322a-4962-b159-a98008145bdf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240517%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240517T034444Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8dfcb78044d72b7ac85c90ccb94ce0082447269eb28ccbb81be8dfb04219aee 03:44:44 % Total % Received % Xferd Average Speed Time Time Time Current 03:44:44 Dload Upload Total Spent Left Speed 03:44:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 41346 --:--:-- --:--:-- --:--:-- 41346 03:44:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f65fe7741d5c8bc7eac1e1604ccf5619cf2ef514 [Pipeline] } 03:44:45 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:44:47 + [ -d /w/workspace/undry_device-onvif-camera_PR-435/archives ] 03:44:47 + ls -al /w/workspace/undry_device-onvif-camera_PR-435/archives 03:44:47 total 16 03:44:47 drwxr-xr-x 3 root root 4096 May 17 03:33 . 03:44:47 drwxrwxr-x 10 jenkins jenkins 4096 May 17 03:33 .. 03:44:47 drwxr-xr-x 2 root root 4096 May 17 03:33 cost 03:44:47 -rw-r--r-- 1 root root 91 May 17 03:33 cost.csv 03:44:47 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-435/archives 03:44:47 + ls -al /w/workspace/undry_device-onvif-camera_PR-435/archives 03:44:47 total 16 03:44:47 drwxr-xr-x 3 jenkins jenkins 4096 May 17 03:33 . 03:44:47 drwxrwxr-x 10 jenkins jenkins 4096 May 17 03:33 .. 03:44:47 drwxr-xr-x 2 jenkins jenkins 4096 May 17 03:33 cost 03:44:47 -rw-r--r-- 1 jenkins jenkins 91 May 17 03:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:44:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:44:48 ---> package-listing.sh 03:44:48 ++ facter osfamily 03:44:48 ++ tr '[:upper:]' '[:lower:]' 03:44:49 + OS_FAMILY=debian 03:44:49 + workspace=/w/workspace/undry_device-onvif-camera_PR-435 03:44:49 + START_PACKAGES=/tmp/packages_start.txt 03:44:49 + END_PACKAGES=/tmp/packages_end.txt 03:44:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:44:49 + PACKAGES=/tmp/packages_start.txt 03:44:49 + '[' /w/workspace/undry_device-onvif-camera_PR-435 ']' 03:44:49 + PACKAGES=/tmp/packages_end.txt 03:44:49 + case "${OS_FAMILY}" in 03:44:49 + dpkg -l 03:44:49 + grep '^ii' 03:44:49 + '[' -f /tmp/packages_start.txt ']' 03:44:49 + '[' -f /tmp/packages_end.txt ']' 03:44:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:44:49 + '[' /w/workspace/undry_device-onvif-camera_PR-435 ']' 03:44:49 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-435/archives/ 03:44:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-435/archives/ [Pipeline] echo 03:44:49 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-435/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:44:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:50 prd-ubuntu20.04-docker-8c-8g-337 does not seem to be running inside a container 03:44:50 $ 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-435/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-435 -v /w/workspace/undry_device-onvif-camera_PR-435:/w/workspace/undry_device-onvif-camera_PR-435:rw,z -v /w/workspace/undry_device-onvif-camera_PR-435@tmp:/w/workspace/undry_device-onvif-camera_PR-435@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:44:50 $ docker top 3f6cbcf8c7f4398c15920fbef145558adc28931673f1f989d2cbff21deeaa166 -eo pid,comm [Pipeline] { [Pipeline] sh 03:44:50 + touch /tmp/pre-build-complete [Pipeline] sh 03:44:51 + mkdir -p /var/log/sysstat [Pipeline] sh 03:44:51 + ls /var/log/sa-host 03:44:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:44:51 provisioning config files... 03:44:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-435@tmp/config8263188892736832507tmp [Pipeline] { [Pipeline] echo 03:44:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:44:52 ---> create-netrc.sh [Pipeline] } 03:44:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:44:52 ---> python-tools-install.sh [Pipeline] echo 03:44:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:44:52 ---> sudo-logs.sh 03:44:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:44:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:44:53 ---> job-cost.sh 03:44:53 lf-activate-venv: SKIPPING 03:44:53 DEBUG: total: 0.2199999988079071 03:44:53 INFO: Retrieving Stack Cost... 03:44:53 INFO: Retrieving Pricing Info for: v3-standard-8 03:44:54 INFO: Archiving Costs [Pipeline] echo 03:44:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:44:54 ---> logs-deploy.sh 03:44:54 lf-activate-venv: SKIPPING 03:44:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-435/1 03:44:54 INFO: archiving workspace using pattern(s): 03:44:55 Archives upload complete. 03:44:56 INFO: archiving logs to Nexus