Pull request #446 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from db83cf08dac954d4c2d0c459d40fdf5872948b02+2d632d3d89b54818b584083cb51298962faa4457 (e1327b53cd52b92e3fb08bfae93691585f63e5e6) 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-ssh16791027201509008890.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11413158268756345810.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-446/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-446/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9270889549079703902.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-446/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2926354450053028071.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3678830001457073360.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-446/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-446/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13719606529866602238.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5689 in /w/workspace/undry_device-onvif-camera_PR-446 [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-446 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2d632d3d89b54818b584083cb51298962faa4457 into PR head commit db83cf08dac954d4c2d0c459d40fdf5872948b02 Merge succeeded, producing db83cf08dac954d4c2d0c459d40fdf5872948b02 Checking out Revision db83cf08dac954d4c2d0c459d40fdf5872948b02 (PR-446) > 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/446/head:refs/remotes/origin/PR-446 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db83cf08dac954d4c2d0c459d40fdf5872948b02 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2d632d3d89b54818b584083cb51298962faa4457 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db83cf08dac954d4c2d0c459d40fdf5872948b02 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:43:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:43:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:43:30 ========================================================= 03:43:30 EdgeX Global Pipelines Version Info 03:43:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:43:31 ------------------- 03:43:31 stable info: 03:43:31 ------------------- 03:43:31 Commited By: Ginny Guan ginny@iotechsys.com 03:43:31 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 03:43:31 Message: update stable to v1.0.260 03:43:31 ------------------- 03:43:31 experimental info: 03:43:31 ------------------- 03:43:31 Commited By: Ginny Guan ginny@iotechsys.com 03:43:31 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:43:31 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:43:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:43:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:43:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:43:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:43:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:43:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:43:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-446 [Pipeline] echo 03:43:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-446 [Pipeline] echo 03:43:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-446 [Pipeline] echo 03:43:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db83cf08dac954d4c2d0c459d40fdf5872948b02 [Pipeline] echo 03:43:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db83cf0 [Pipeline] echo 03:43:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:43:34 provisioning config files... 03:43:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-446@tmp/config17041298531865165571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:43:34 ---> ****-login.sh 03:43:34 nexus3.edgexfoundry.org:10001 03:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:35 Configure a credential helper to remove this warning. See 03:43:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:35 03:43:35 Login Succeeded 03:43:35 nexus3.edgexfoundry.org:10002 03:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:35 Configure a credential helper to remove this warning. See 03:43:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:35 03:43:35 Login Succeeded 03:43:35 nexus3.edgexfoundry.org:10003 03:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:35 Configure a credential helper to remove this warning. See 03:43:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:35 03:43:35 Login Succeeded 03:43:35 nexus3.edgexfoundry.org:10004 03:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:35 Configure a credential helper to remove this warning. See 03:43:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:35 03:43:35 Login Succeeded 03:43:35 ****.io 03:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:35 Configure a credential helper to remove this warning. See 03:43:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:35 03:43:35 Login Succeeded 03:43:35 ---> ****-login.sh ends [Pipeline] } 03:43:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:43:36 + git rev-list -1 --merges db83cf08dac954d4c2d0c459d40fdf5872948b02~1..db83cf08dac954d4c2d0c459d40fdf5872948b02 [Pipeline] echo 03:43:36 -----------> git rev-list -1 --merges db83cf08dac954d4c2d0c459d40fdf5872948b02~1..db83cf08dac954d4c2d0c459d40fdf5872948b02 db83cf08dac954d4c2d0c459d40fdf5872948b02 [false] [Pipeline] sh 03:43:36 + git log --format=format:%s -1 db83cf08dac954d4c2d0c459d40fdf5872948b02 [Pipeline] echo 03:43:36 ========================================================= 03:43:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:43:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:43:37 + git log --format=format:%s -1 db83cf08dac954d4c2d0c459d40fdf5872948b02 [Pipeline] echo 03:43:37 [semverPrep] GIT_COMMIT: db83cf08dac954d4c2d0c459d40fdf5872948b02, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:43:37 [semverPrep] This is not a build commit. [Pipeline] sh 03:43:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:43:37 + grep -v github /etc/ssh/ssh_known_hosts 03:43:37 + [ -e /tmp/ssh_known_hosts ] 03:43:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:43:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:43:37 + sudo tee -a /etc/ssh/ssh_known_hosts 03:43:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:43:38 03:43:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:43:38 0.1.4: Pulling from edgex-devops/py-git-semver 03:43:38 b85a868b505f: Pulling fs layer 03:43:38 e2be974225ed: Pulling fs layer 03:43:38 339a4e72a1f5: Pulling fs layer 03:43:38 988bab9f4d93: Pulling fs layer 03:43:38 1469e6f7b9e6: Pulling fs layer 03:43:38 eaf3925da568: Pulling fs layer 03:43:38 bab4dde63d76: Pulling fs layer 03:43:38 bde34c3a00c8: Pulling fs layer 03:43:38 b352a97aabf1: Pulling fs layer 03:43:38 4872d77fe225: Pulling fs layer 03:43:38 5851b861e8e6: Pulling fs layer 03:43:38 eaf3925da568: Waiting 03:43:38 bab4dde63d76: Waiting 03:43:38 bde34c3a00c8: Waiting 03:43:38 988bab9f4d93: Waiting 03:43:38 b352a97aabf1: Waiting 03:43:38 5851b861e8e6: Waiting 03:43:38 1469e6f7b9e6: Waiting 03:43:38 4872d77fe225: Waiting 03:43:38 e2be974225ed: Download complete 03:43:38 988bab9f4d93: Download complete 03:43:38 339a4e72a1f5: Verifying Checksum 03:43:38 339a4e72a1f5: Download complete 03:43:39 1469e6f7b9e6: Verifying Checksum 03:43:39 1469e6f7b9e6: Download complete 03:43:39 eaf3925da568: Verifying Checksum 03:43:39 eaf3925da568: Download complete 03:43:39 bde34c3a00c8: Verifying Checksum 03:43:39 bde34c3a00c8: Download complete 03:43:39 b352a97aabf1: Download complete 03:43:39 4872d77fe225: Verifying Checksum 03:43:39 4872d77fe225: Download complete 03:43:39 5851b861e8e6: Verifying Checksum 03:43:39 5851b861e8e6: Download complete 03:43:39 b85a868b505f: Verifying Checksum 03:43:39 b85a868b505f: Download complete 03:43:39 bab4dde63d76: Verifying Checksum 03:43:39 bab4dde63d76: Download complete 03:43:40 b85a868b505f: Pull complete 03:43:40 e2be974225ed: Pull complete 03:43:40 339a4e72a1f5: Pull complete 03:43:40 988bab9f4d93: Pull complete 03:43:41 1469e6f7b9e6: Pull complete 03:43:41 eaf3925da568: Pull complete 03:43:43 bab4dde63d76: Pull complete 03:43:43 bde34c3a00c8: Pull complete 03:43:43 b352a97aabf1: Pull complete 03:43:43 4872d77fe225: Pull complete 03:43:43 5851b861e8e6: Pull complete 03:43:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:43:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:43:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:43 prd-ubuntu20.04-docker-8c-8g-5689 does not seem to be running inside a container 03:43:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-446 -v /w/workspace/undry_device-onvif-camera_PR-446:/w/workspace/undry_device-onvif-camera_PR-446:rw,z -v /w/workspace/undry_device-onvif-camera_PR-446@tmp:/w/workspace/undry_device-onvif-camera_PR-446@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:43:46 $ docker top bf99663b89bcab1e4a4d486e7f46b9395fd9e2fb8438c58b0845a8c9533a13f1 -eo pid,comm 03:43:46 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:43:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:43:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:43:46 [ssh-agent] Looking for ssh-agent implementation... 03:43:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:43:47 $ docker exec bf99663b89bcab1e4a4d486e7f46b9395fd9e2fb8438c58b0845a8c9533a13f1 ssh-agent 03:43:47 SSH_AUTH_SOCK=/tmp/ssh-d9YPk0g2ku6u/agent.32 03:43:47 SSH_AGENT_PID=38 03:43:47 Running ssh-add (command line suppressed) 03:43:47 Identity added: /w/workspace/undry_device-onvif-camera_PR-446@tmp/private_key_6713392037858625447.key (/w/workspace/undry_device-onvif-camera_PR-446@tmp/private_key_6713392037858625447.key) 03:43:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:43:47 + git tag --points-at HEAD [Pipeline] } 03:43:47 $ docker exec --env ******** --env ******** bf99663b89bcab1e4a4d486e7f46b9395fd9e2fb8438c58b0845a8c9533a13f1 ssh-agent -k 03:43:47 unset SSH_AUTH_SOCK; 03:43:47 unset SSH_AGENT_PID; 03:43:47 echo Agent pid 38 killed; 03:43:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:43:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:43:47 [ssh-agent] Looking for ssh-agent implementation... 03:43:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:43:48 $ docker exec bf99663b89bcab1e4a4d486e7f46b9395fd9e2fb8438c58b0845a8c9533a13f1 ssh-agent 03:43:48 SSH_AUTH_SOCK=/tmp/ssh-SRiVWnaL1ohs/agent.71 03:43:48 SSH_AGENT_PID=77 03:43:48 Running ssh-add (command line suppressed) 03:43:48 Identity added: /w/workspace/undry_device-onvif-camera_PR-446@tmp/private_key_9378529043431295762.key (/w/workspace/undry_device-onvif-camera_PR-446@tmp/private_key_9378529043431295762.key) 03:43:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:43:48 + git semver init 03:43:48 2024-07-16 03:43:48,773 [run_init] DEBUG init version:0.0.0 force:False 03:43:48 2024-07-16 03:43:48,773 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-446/.semver 03:43:48 2024-07-16 03:43:48,774 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-446/.semver 03:43:48 2024-07-16 03:43:48,774 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-446/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-446, universal_newlines=False, shell=None, istream=None) 03:43:50 2024-07-16 03:43:50,114 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-446/.git/info/exclude 03:43:50 2024-07-16 03:43:50,115 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-446/.semver/PR-446 with force:False 03:43:50 2024-07-16 03:43:50,115 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-446/.semver/PR-446 03:43:50 2024-07-16 03:43:50,119 [execute] INFO git cat-file --batch-check 03:43:50 2024-07-16 03:43:50,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-446/.semver, universal_newlines=False, shell=None, istream=) 03:43:50 2024-07-16 03:43:50,125 [execute] INFO git cat-file --batch 03:43:50 2024-07-16 03:43:50,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-446/.semver, universal_newlines=False, shell=None, istream=) 03:43:50 2024-07-16 03:43:50,130 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-446/.semver/PR-446 03:43:50 0.0.0 [Pipeline] } 03:43:50 $ docker exec --env ******** --env ******** bf99663b89bcab1e4a4d486e7f46b9395fd9e2fb8438c58b0845a8c9533a13f1 ssh-agent -k 03:43:50 unset SSH_AUTH_SOCK; 03:43:50 unset SSH_AGENT_PID; 03:43:50 echo Agent pid 77 killed; 03:43:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:43:50 + git semver [Pipeline] } 03:43:51 $ docker stop --time=1 bf99663b89bcab1e4a4d486e7f46b9395fd9e2fb8438c58b0845a8c9533a13f1 03:43:52 $ docker rm -f --volumes bf99663b89bcab1e4a4d486e7f46b9395fd9e2fb8438c58b0845a8c9533a13f1 [Pipeline] // withDockerContainer [Pipeline] sh 03:43:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:43:53 Stashed 1 file(s) [Pipeline] echo 03:43:53 [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:43:53 provisioning config files... 03:43:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-446@tmp/config11295207374813527054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:43:54 ---> ****-login.sh 03:43:54 nexus3.edgexfoundry.org:10001 03:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:54 Configure a credential helper to remove this warning. See 03:43:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:54 03:43:54 Login Succeeded 03:43:54 nexus3.edgexfoundry.org:10002 03:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:54 Configure a credential helper to remove this warning. See 03:43:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:54 03:43:54 Login Succeeded 03:43:54 nexus3.edgexfoundry.org:10003 03:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:54 Configure a credential helper to remove this warning. See 03:43:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:54 03:43:54 Login Succeeded 03:43:54 nexus3.edgexfoundry.org:10004 03:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:54 Configure a credential helper to remove this warning. See 03:43:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:54 03:43:54 Login Succeeded 03:43:54 ****.io 03:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:54 Configure a credential helper to remove this warning. See 03:43:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:54 03:43:54 Login Succeeded 03:43:54 ---> ****-login.sh ends [Pipeline] } 03:43:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:43:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:43:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:43:55 ========================================================= 03:43:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:43:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:55 + 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:43:55 Sending build context to Docker daemon 36.61MB 03:43:55 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:43:55 Step 2/13 : FROM ${BASE} AS builder 03:43:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:43:56 619be1103602: Pulling fs layer 03:43:56 7862e08f4a3e: Pulling fs layer 03:43:56 5df492c9dc93: Pulling fs layer 03:43:56 7629e6793208: Pulling fs layer 03:43:56 4f4fb700ef54: Pulling fs layer 03:43:56 fb5054dd5b73: Pulling fs layer 03:43:56 eeca6798cff9: Pulling fs layer 03:43:56 aa269ceb94a6: Pulling fs layer 03:43:56 ada007ff1a6a: Pulling fs layer 03:43:56 aa269ceb94a6: Waiting 03:43:56 4f4fb700ef54: Waiting 03:43:56 ada007ff1a6a: Waiting 03:43:56 fb5054dd5b73: Waiting 03:43:56 eeca6798cff9: Waiting 03:43:56 7629e6793208: Waiting 03:43:56 7862e08f4a3e: Download complete 03:43:56 7629e6793208: Download complete 03:43:56 619be1103602: Download complete 03:43:56 fb5054dd5b73: Verifying Checksum 03:43:56 fb5054dd5b73: Download complete 03:43:56 eeca6798cff9: Verifying Checksum 03:43:56 eeca6798cff9: Download complete 03:43:56 619be1103602: Pull complete 03:43:56 ada007ff1a6a: Verifying Checksum 03:43:56 ada007ff1a6a: Download complete 03:43:56 7862e08f4a3e: Pull complete 03:43:56 5df492c9dc93: Verifying Checksum 03:43:56 5df492c9dc93: Download complete 03:43:56 aa269ceb94a6: Verifying Checksum 03:43:56 aa269ceb94a6: Download complete 03:43:59 5df492c9dc93: Pull complete 03:43:59 7629e6793208: Pull complete 03:43:59 4f4fb700ef54: Pull complete 03:43:59 fb5054dd5b73: Pull complete 03:43:59 eeca6798cff9: Pull complete 03:44:02 aa269ceb94a6: Pull complete 03:44:02 ada007ff1a6a: Pull complete 03:44:02 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:44:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:44:02 ---> f489d0715acc 03:44:02 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:44:07 ---> Running in 572cb27538cd 03:44:08 Removing intermediate container 572cb27538cd 03:44:08 ---> c6fa8041ad46 03:44:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:44:08 ---> Running in 40ee2a610e6e 03:44:08 Removing intermediate container 40ee2a610e6e 03:44:08 ---> 0a44f229b956 03:44:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:44:08 ---> Running in 588f46cba32c 03:44:08 Removing intermediate container 588f46cba32c 03:44:08 ---> 55007c288541 03:44:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:44:08 ---> Running in b74b79e8430c 03:44:08 Removing intermediate container b74b79e8430c 03:44:08 ---> 73659e9d7f25 03:44:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:44:08 ---> Running in bae7babb2508 03:44:08 Removing intermediate container bae7babb2508 03:44:08 ---> b7d01a6a6332 03:44:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:44:08 ---> Running in 9021ad05fa57 03:44:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:44:08 Still waiting to schedule task 03:44:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:44:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:44:09 OK: 264 MiB in 52 packages 03:44:09 Removing intermediate container 9021ad05fa57 03:44:09 ---> 1428e2ca41a3 03:44:09 Step 9/13 : WORKDIR /device-onvif-camera 03:44:09 ---> Running in 6b689989a7ff 03:44:09 Removing intermediate container 6b689989a7ff 03:44:09 ---> 36f2f0e071a2 03:44:09 Step 10/13 : COPY go.mod vendor* ./ 03:44:09 ---> 484ea15e811c 03:44:09 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:44:09 ---> Running in 148fecfbbfe9 03:45:17 Removing intermediate container 148fecfbbfe9 03:45:17 ---> a838e7a80ee2 03:45:17 Step 12/13 : COPY . . 03:45:17 ---> 1907440bb1c9 03:45:17 Step 13/13 : RUN ${MAKE} 03:45:17 ---> Running in 8ffbcab2f83f 03:45:17 noop 03:45:17 Removing intermediate container 8ffbcab2f83f 03:45:17 ---> adbfd589bebe 03:45:17 Successfully built adbfd589bebe 03:45:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:17 + docker inspect -f . ci-base-image-x86_64 03:45:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:45:18 prd-ubuntu20.04-docker-8c-8g-5689 does not seem to be running inside a container 03:45:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-446 -v /w/workspace/undry_device-onvif-camera_PR-446:/w/workspace/undry_device-onvif-camera_PR-446:rw,z -v /w/workspace/undry_device-onvif-camera_PR-446@tmp:/w/workspace/undry_device-onvif-camera_PR-446@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:45:18 $ docker top de6553c8d1512c3d1bad985dcc7d941a1a6e6b4e99cf1418f5ed6844397b97a1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:18 + go version 03:45:18 go version go1.21.9 linux/amd64 [Pipeline] } 03:45:18 $ docker stop --time=1 de6553c8d1512c3d1bad985dcc7d941a1a6e6b4e99cf1418f5ed6844397b97a1 03:45:20 $ docker rm -f --volumes de6553c8d1512c3d1bad985dcc7d941a1a6e6b4e99cf1418f5ed6844397b97a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:20 + docker inspect -f . ci-base-image-x86_64 03:45:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:45:21 prd-ubuntu20.04-docker-8c-8g-5689 does not seem to be running inside a container 03:45:21 $ 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-446 -v /w/workspace/undry_device-onvif-camera_PR-446:/w/workspace/undry_device-onvif-camera_PR-446:rw,z -v /w/workspace/undry_device-onvif-camera_PR-446@tmp:/w/workspace/undry_device-onvif-camera_PR-446@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:45:21 $ docker top 3e8ab017021a665b53a576a99e2240310bd973c9b5fc70132dd816fead5eb95c -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:22 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-446 [Pipeline] fileExists [Pipeline] sh 03:45:22 + make test 03:45:22 go test ./... -coverprofile=coverage.out ./... 03:45:24 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:45:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5690 in /w/workspace/undry_device-onvif-camera_PR-446 [Pipeline] { [Pipeline] ws 03:45:35 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:45:35 The recommended git tool is: git 03:45:40 using credential edgex-jenkins-ssh 03:45:40 Cloning the remote Git repository 03:45:40 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:45:40 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:45:40 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:45:40 > git --version # timeout=10 03:45:40 > git --version # 'git version 2.25.1' 03:45:40 using GIT_SSH to set credentials SSH Credentials for GitHub 03:45:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:45:43 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:45:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:45:44 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:45:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:45:44 using GIT_SSH to set credentials SSH Credentials for GitHub 03:45:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/446/head:refs/remotes/origin/PR-446 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:45:44 Merging remotes/origin/main commit 2d632d3d89b54818b584083cb51298962faa4457 into PR head commit db83cf08dac954d4c2d0c459d40fdf5872948b02 03:45:45 Merge succeeded, producing db83cf08dac954d4c2d0c459d40fdf5872948b02 03:45:45 Checking out Revision db83cf08dac954d4c2d0c459d40fdf5872948b02 (PR-446) 03:45:46 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 03:45:44 > git config core.sparsecheckout # timeout=10 03:45:45 > git checkout -f db83cf08dac954d4c2d0c459d40fdf5872948b02 # timeout=10 03:45:45 > git remote # timeout=10 03:45:45 > git config --get remote.origin.url # timeout=10 03:45:45 using GIT_SSH to set credentials SSH Credentials for GitHub 03:45:45 > git merge 2d632d3d89b54818b584083cb51298962faa4457 # timeout=10 03:45:45 > git rev-parse HEAD^{commit} # timeout=10 03:45:45 > git config core.sparsecheckout # timeout=10 03:45:45 > git checkout -f db83cf08dac954d4c2d0c459d40fdf5872948b02 # timeout=10 03:45:46 > git --version # timeout=10 03:45:46 > git --version # 'git version 2.25.1' 03:45:46 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 03:45:46 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:45:46 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:45:46 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 31.4% of statements 03:45:46 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.134s coverage: 86.5% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:45:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:45:51 % Total % Received % Xferd Average Speed Time Time Time Current 03:45:51 Dload Upload Total Spent Left Speed 03:45:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 37508 0 --:--:-- --:--:-- --:--:-- 37508 [Pipeline] sh 03:45:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:45:52 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:45:52 sudo tee /etc/docker/daemon.new 03:45:52 { 03:45:52 "registry-mirrors": [ 03:45:52 "https://nexus3.edgexfoundry.org:10001" 03:45:52 ], 03:45:52 "bip": "10.250.0.254/24", 03:45:52 "hosts": [ 03:45:52 "tcp://0.0.0.0:5555", 03:45:52 "unix:///var/run/docker.sock" 03:45:52 ], 03:45:52 "mtu": 1458, 03:45:52 "selinux-enabled": true, 03:45:52 "seccomp-profile": "/etc/docker/seccomp.json" 03:45:52 } [Pipeline] sh 03:45:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:45:52 + sudo service docker restart 03:45:56 go vet ./... 03:46:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:46:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:46:01 ./bin/test-attribution-txt.sh 03:46:01 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:46:01 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:46:01 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:46:01 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:46:01 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:46:01 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:46:01 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:46:01 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:46:01 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:46:01 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:46:01 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:46:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:46:01 $ docker stop --time=1 3e8ab017021a665b53a576a99e2240310bd973c9b5fc70132dd816fead5eb95c 03:46:05 $ docker rm -f --volumes 3e8ab017021a665b53a576a99e2240310bd973c9b5fc70132dd816fead5eb95c [Pipeline] // withDockerContainer [Pipeline] sh 03:46:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:46:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:46:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:46:10 + ls -al . 03:46:10 total 312 03:46:10 drwxrwxr-x 9 jenkins jenkins 4096 Jul 16 03:45 . 03:46:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 03:43 .. 03:46:10 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 03:45 .git 03:46:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 03:43 .github 03:46:10 -rw-rw-r-- 1 jenkins jenkins 493 Jul 16 03:43 .gitignore 03:46:10 -rw-rw-r-- 1 jenkins jenkins 42 Jul 16 03:43 .golangci.yml 03:46:10 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 03:43 .semver 03:46:10 -rw-rw-r-- 1 jenkins jenkins 11155 Jul 16 03:43 Attribution.txt 03:46:10 -rw-rw-r-- 1 jenkins jenkins 17665 Jul 16 03:43 CHANGELOG.md 03:46:10 -rw-rw-r-- 1 jenkins jenkins 1683 Jul 16 03:43 Dockerfile 03:46:10 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 03:43 GOVERNANCE.md 03:46:10 -rw-rw-r-- 1 jenkins jenkins 739 Jul 16 03:43 Jenkinsfile 03:46:10 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 16 03:43 LICENSE 03:46:10 -rw-rw-r-- 1 jenkins jenkins 2883 Jul 16 03:43 Makefile 03:46:10 -rw-rw-r-- 1 jenkins jenkins 625 Jul 16 03:43 OWNERS.md 03:46:10 -rw-rw-r-- 1 jenkins jenkins 2620 Jul 16 03:43 README.md 03:46:10 -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 03:43 VERSION 03:46:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 03:43 bin 03:46:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 03:43 cmd 03:46:10 -rw-r--r-- 1 jenkins jenkins 78805 Jul 16 03:45 coverage.out 03:46:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 03:43 doc 03:46:10 -rw-rw-r-- 1 jenkins jenkins 7330 Jul 16 03:43 go.mod 03:46:10 -rw-rw-r-- 1 jenkins jenkins 102668 Jul 16 03:43 go.sum 03:46:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 03:43 internal 03:46:10 -rw-rw-r-- 1 jenkins jenkins 236 Jul 16 03:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:46:11 provisioning config files... 03:46:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config8250358009062661752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:46:11 + 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=db83cf08dac954d4c2d0c459d40fdf5872948b02 --label arch=amd64 --label version=0.0.0 . 03:46:11 Sending build context to Docker daemon 36.69MB 03:46:11 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:46:11 Step 2/27 : FROM ${BASE} AS builder 03:46:11 ---> adbfd589bebe 03:46:11 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:46:11 ---> ****-login.sh 03:46:11 nexus3.edgexfoundry.org:10001 03:46:12 ---> Running in 4917e9d8b6bc 03:46:12 Removing intermediate container 4917e9d8b6bc 03:46:12 ---> a3435c8d3e3e 03:46:12 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:46:12 ---> Running in c8b4375999ba 03:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:12 Removing intermediate container c8b4375999ba 03:46:12 ---> bc5754d0b8c0 03:46:12 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:46:12 ---> Running in 40e002f71be1 03:46:12 Removing intermediate container 40e002f71be1 03:46:12 ---> aef08033e2bd 03:46:12 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:46:12 ---> Running in 07fe6d3cfbbd 03:46:12 Removing intermediate container 07fe6d3cfbbd 03:46:12 ---> 6eb7eed02f7f 03:46:12 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:46:12 ---> Running in ee36016b1fd1 03:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:46:12 Configure a credential helper to remove this warning. See 03:46:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:46:12 03:46:12 Login Succeeded 03:46:12 nexus3.edgexfoundry.org:10002 03:46:12 Removing intermediate container ee36016b1fd1 03:46:12 ---> 89778c49a0c4 03:46:12 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:46:12 ---> Running in fd7f74c52254 03:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:46:12 Configure a credential helper to remove this warning. See 03:46:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:46:12 03:46:12 Login Succeeded 03:46:12 nexus3.edgexfoundry.org:10003 03:46:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:46:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:13 OK: 264 MiB in 52 packages 03:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:46:13 Configure a credential helper to remove this warning. See 03:46:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:46:13 03:46:13 Login Succeeded 03:46:13 nexus3.edgexfoundry.org:10004 03:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:46:13 Configure a credential helper to remove this warning. See 03:46:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:46:13 03:46:13 Login Succeeded 03:46:13 ****.io 03:46:13 Removing intermediate container fd7f74c52254 03:46:13 ---> 1b1de132a1d9 03:46:13 Step 9/27 : WORKDIR /device-onvif-camera 03:46:13 ---> Running in b2e713c326e8 03:46:13 Removing intermediate container b2e713c326e8 03:46:13 ---> 62e4fecd6556 03:46:13 Step 10/27 : COPY go.mod vendor* ./ 03:46:13 ---> 126d076b4a97 03:46:13 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:46:13 ---> Running in 9847ed9b0b65 03:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:46:13 Configure a credential helper to remove this warning. See 03:46:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:46:13 03:46:13 Login Succeeded 03:46:13 ---> ****-login.sh ends [Pipeline] } 03:46:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:46:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:46:14 Removing intermediate container 9847ed9b0b65 03:46:14 ---> 85a883ba569a 03:46:14 Step 12/27 : COPY . . 03:46:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:46:14 ========================================================= 03:46:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:46:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:15 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:46:15 ---> b907a7db7ac8 03:46:15 Step 13/27 : RUN ${MAKE} 03:46:15 ---> Running in 0d7f07e6ba6a 03:46:15 Sending build context to Docker daemon 21.71MB 03:46:15 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:46:15 Step 2/13 : FROM ${BASE} AS builder 03:46:16 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.24" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:46:16 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:46:16 c6b39de5b339: Pulling fs layer 03:46:16 a69c41024577: Pulling fs layer 03:46:16 d6de4b400683: Pulling fs layer 03:46:16 35cb2a7552d0: Pulling fs layer 03:46:16 4f4fb700ef54: Pulling fs layer 03:46:16 35cb2a7552d0: Waiting 03:46:16 464afbd9ba4c: Pulling fs layer 03:46:16 00f215d4a9da: Pulling fs layer 03:46:16 d496ad576159: Pulling fs layer 03:46:16 4f4fb700ef54: Waiting 03:46:16 00f215d4a9da: Waiting 03:46:16 d496ad576159: Waiting 03:46:16 464afbd9ba4c: Waiting 03:46:16 a69c41024577: Verifying Checksum 03:46:16 a69c41024577: Download complete 03:46:16 35cb2a7552d0: Verifying Checksum 03:46:16 35cb2a7552d0: Download complete 03:46:16 4f4fb700ef54: Verifying Checksum 03:46:16 4f4fb700ef54: Download complete 03:46:16 464afbd9ba4c: Verifying Checksum 03:46:16 464afbd9ba4c: Download complete 03:46:16 c6b39de5b339: Verifying Checksum 03:46:16 c6b39de5b339: Download complete 03:46:16 d496ad576159: Verifying Checksum 03:46:16 d496ad576159: Download complete 03:46:17 c6b39de5b339: Pull complete 03:46:18 a69c41024577: Pull complete 03:46:18 d6de4b400683: Verifying Checksum 03:46:18 d6de4b400683: Download complete 03:46:19 00f215d4a9da: Verifying Checksum 03:46:19 00f215d4a9da: Download complete 03:46:31 d6de4b400683: Pull complete 03:46:31 35cb2a7552d0: Pull complete 03:46:31 4f4fb700ef54: Pull complete 03:46:32 464afbd9ba4c: Pull complete 03:46:40 00f215d4a9da: Pull complete 03:46:42 d496ad576159: Pull complete 03:46:42 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:46:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:46:42 ---> f246e2811388 03:46:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:46:44 ---> Running in fbb30bdd6b84 03:46:44 Removing intermediate container fbb30bdd6b84 03:46:44 ---> 5a84c478b10b 03:46:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:46:44 ---> Running in 8d14249e521a 03:46:44 Removing intermediate container 8d14249e521a 03:46:44 ---> fe89ac34b436 03:46:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:46:44 ---> Running in 6c16c079ed65 03:46:44 Removing intermediate container 6c16c079ed65 03:46:44 ---> 6de632c48672 03:46:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:46:44 ---> Running in 7c7aaddb6061 03:46:45 Removing intermediate container 7c7aaddb6061 03:46:45 ---> 380303dfc220 03:46:45 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:46:45 ---> Running in 2c96bc0e8d28 03:46:45 Removing intermediate container 2c96bc0e8d28 03:46:45 ---> 83a4888812c9 03:46:45 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:46:45 ---> Running in af348974402e 03:46:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:46:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:46:47 OK: 266 MiB in 52 packages 03:46:48 Removing intermediate container af348974402e 03:46:48 ---> fb29a27e852a 03:46:48 Step 9/13 : WORKDIR /device-onvif-camera 03:46:48 ---> Running in dfeec373c700 03:46:49 Removing intermediate container dfeec373c700 03:46:49 ---> 8f263732326c 03:46:49 Step 10/13 : COPY go.mod vendor* ./ 03:46:49 ---> 81a1f23dc557 03:46:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:46:49 ---> Running in a7f532e06919 03:47:03 Removing intermediate container 0d7f07e6ba6a 03:47:03 ---> e48aca3ca53b 03:47:03 Step 14/27 : FROM alpine:3.18 03:47:03 3.18: Pulling from library/alpine 03:47:03 73baa7ef167e: Pulling fs layer 03:47:03 73baa7ef167e: Verifying Checksum 03:47:03 73baa7ef167e: Download complete 03:47:03 73baa7ef167e: Pull complete 03:47:03 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 03:47:03 Status: Downloaded newer image for alpine:3.18 03:47:03 ---> 8fd7cac70a4a 03:47:03 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:47:03 ---> Running in e752f3c04ecf 03:47:03 Removing intermediate container e752f3c04ecf 03:47:03 ---> 2fc4ddf807d1 03:47:03 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:47:03 ---> Running in dbd08eac0435 03:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:47:03 (1/1) Installing dumb-init (1.2.5-r2) 03:47:03 Executing busybox-1.36.1-r7.trigger 03:47:03 OK: 7 MiB in 16 packages 03:47:04 Removing intermediate container dbd08eac0435 03:47:04 ---> 603354797afc 03:47:04 Step 17/27 : RUN apk --no-cache upgrade 03:47:04 ---> Running in d4d02d670bde 03:47:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:47:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:47:05 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 03:47:05 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 03:47:05 OK: 7 MiB in 16 packages 03:47:08 Removing intermediate container d4d02d670bde 03:47:08 ---> 867d40681a66 03:47:08 Step 18/27 : WORKDIR / 03:47:08 ---> Running in cf11bcaf58b7 03:47:09 Removing intermediate container cf11bcaf58b7 03:47:09 ---> dd37e31da63e 03:47:09 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:47:14 ---> 2db18305ce2c 03:47:14 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:47:14 ---> 8bef6b8a2906 03:47:14 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:47:15 ---> d01bbe2e4baa 03:47:15 Step 22/27 : EXPOSE 59984 03:47:16 ---> Running in 9b288ead823d 03:47:17 Removing intermediate container 9b288ead823d 03:47:17 ---> 5eab8214d4b2 03:47:17 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:47:17 ---> Running in 2d04a7ea92e1 03:47:18 Removing intermediate container 2d04a7ea92e1 03:47:18 ---> aa74ec898151 03:47:18 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:47:18 ---> Running in 9a08961d4283 03:47:19 Removing intermediate container 9a08961d4283 03:47:19 ---> fbf130ae8e09 03:47:19 Step 25/27 : LABEL arch=amd64 03:47:19 ---> Running in e090c12f722d 03:47:20 Removing intermediate container e090c12f722d 03:47:20 ---> 6a30d6af1123 03:47:20 Step 26/27 : LABEL git_sha=db83cf08dac954d4c2d0c459d40fdf5872948b02 03:47:20 ---> Running in 531dc484ba8a 03:47:21 Removing intermediate container 531dc484ba8a 03:47:21 ---> 677484b40067 03:47:21 Step 27/27 : LABEL version=0.0.0 03:47:21 ---> Running in 10b6a792dc40 03:47:21 Removing intermediate container 10b6a792dc40 03:47:21 ---> d775157df081 03:47:21 [Warning] One or more build-args [ARCH] were not consumed 03:47:21 Successfully built d775157df081 03:47:21 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] 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:47:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:47:22 03:47:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:47:22 latest: Pulling from edgex-lftools-log-publisher 03:47:22 5eb5b503b376: Pulling fs layer 03:47:22 5c69ac0246d0: Pulling fs layer 03:47:22 ec43610c2a17: Pulling fs layer 03:47:22 3a2ae6a8a46f: Pulling fs layer 03:47:22 33b1e0a273af: Pulling fs layer 03:47:22 5d3b04190fa2: Pulling fs layer 03:47:22 33b1e0a273af: Waiting 03:47:22 2f39f015ded8: Pulling fs layer 03:47:22 5d3b04190fa2: Waiting 03:47:22 2f39f015ded8: Waiting 03:47:22 5c69ac0246d0: Verifying Checksum 03:47:22 5c69ac0246d0: Download complete 03:47:22 3a2ae6a8a46f: Verifying Checksum 03:47:22 3a2ae6a8a46f: Download complete 03:47:22 ec43610c2a17: Verifying Checksum 03:47:22 ec43610c2a17: Download complete 03:47:22 33b1e0a273af: Verifying Checksum 03:47:22 33b1e0a273af: Download complete 03:47:22 5d3b04190fa2: Verifying Checksum 03:47:22 5d3b04190fa2: Download complete 03:47:23 5eb5b503b376: Verifying Checksum 03:47:23 5eb5b503b376: Download complete 03:47:23 2f39f015ded8: Download complete 03:47:24 5eb5b503b376: Pull complete 03:47:24 5c69ac0246d0: Pull complete 03:47:24 ec43610c2a17: Pull complete 03:47:24 3a2ae6a8a46f: Pull complete 03:47:25 33b1e0a273af: Pull complete 03:47:25 5d3b04190fa2: Pull complete 03:47:29 2f39f015ded8: Pull complete 03:47:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:47:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:47:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:29 prd-ubuntu20.04-docker-8c-8g-5689 does not seem to be running inside a container 03:47:29 $ 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-446 -v /w/workspace/undry_device-onvif-camera_PR-446:/w/workspace/undry_device-onvif-camera_PR-446:rw,z -v /w/workspace/undry_device-onvif-camera_PR-446@tmp:/w/workspace/undry_device-onvif-camera_PR-446@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:47:32 $ docker top 267f1364027e76442158e8e09002f90d1d8f65fe6b9253f9fe5f125abaf283ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:47:33 ---> job-cost.sh 03:47:33 lf-activate-venv: SKIPPING 03:47:33 INFO: No Stack... 03:47:33 INFO: Retrieving Pricing Info for: v3-standard-8 03:47:34 INFO: Archiving Costs [Pipeline] sh 03:47:34 + cat /w/workspace/undry_device-onvif-camera_PR-446/archives/cost.csv 03:47:34 + cut -d, -f6 [Pipeline] lock 03:47:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-446-1-stack-cost] 03:47:34 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-446-1-stack-cost] did not exist. Created. 03:47:34 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-446-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:47:35 + echo total: 0.2199999988079071 [Pipeline] stash 03:47:35 Stashed 1 file(s) [Pipeline] } 03:47:35 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-446-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:47:35 $ docker stop --time=1 267f1364027e76442158e8e09002f90d1d8f65fe6b9253f9fe5f125abaf283ca 03:47:36 $ docker rm -f --volumes 267f1364027e76442158e8e09002f90d1d8f65fe6b9253f9fe5f125abaf283ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:48:41 Removing intermediate container a7f532e06919 03:48:41 ---> 1544d531f68d 03:48:41 Step 12/13 : COPY . . 03:48:41 ---> 0c957196177d 03:48:41 Step 13/13 : RUN ${MAKE} 03:48:41 ---> Running in 4d2a10e4f2ad 03:48:41 noop 03:48:41 Removing intermediate container 4d2a10e4f2ad 03:48:41 ---> f3dca640deed 03:48:41 Successfully built f3dca640deed 03:48:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:41 + docker inspect -f . ci-base-image-arm64 03:48:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:42 prd-ubuntu20.04-docker-arm64-4c-16g-5690 does not seem to be running inside a container 03:48:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:48:43 $ docker top 5875d8c3027b4b49512ea985938c35e402bf8ee6bc1d92d1fd93c5b9e9ccf25f -eo pid,comm [Pipeline] { [Pipeline] sh 03:48:44 + go version 03:48:44 go version go1.21.9 linux/arm64 [Pipeline] } 03:48:44 $ docker stop --time=1 5875d8c3027b4b49512ea985938c35e402bf8ee6bc1d92d1fd93c5b9e9ccf25f 03:48:45 $ docker rm -f --volumes 5875d8c3027b4b49512ea985938c35e402bf8ee6bc1d92d1fd93c5b9e9ccf25f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:47 + docker inspect -f . ci-base-image-arm64 03:48:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:47 prd-ubuntu20.04-docker-arm64-4c-16g-5690 does not seem to be running inside a container 03:48:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:48:48 $ docker top c8c5386e557437d5ec42d597789900a789e6ee91ddca26cc613b772f70a8cb1e -eo pid,comm [Pipeline] { [Pipeline] sh 03:48:49 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:48:49 + make test 03:48:49 go test ./... -coverprofile=coverage.out ./... 03:48:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:52:47 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:52:47 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:52:47 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.186s coverage: 31.4% of statements 03:53:05 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.698s coverage: 86.5% of statements 03:53:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:53:05 go vet ./... 03:53:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:53:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:53:52 ./bin/test-attribution-txt.sh 03:53:52 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:53:52 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:53:52 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:53:52 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:53:52 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:53:52 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:53:52 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:53:52 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:53:52 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:53:52 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:53:52 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:53:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:53:52 $ docker stop --time=1 c8c5386e557437d5ec42d597789900a789e6ee91ddca26cc613b772f70a8cb1e 03:53:54 $ docker rm -f --volumes c8c5386e557437d5ec42d597789900a789e6ee91ddca26cc613b772f70a8cb1e [Pipeline] // withDockerContainer [Pipeline] sh 03:53:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:53:55 Warning: overwriting stash ‘coverage-report’ 03:53:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:53:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:53:57 + ls -al . 03:53:57 total 308 03:53:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 03:48 . 03:53:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 03:45 .. 03:53:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 03:45 .git 03:53:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 03:45 .github 03:53:57 -rw-rw-r-- 1 jenkins jenkins 493 Jul 16 03:45 .gitignore 03:53:57 -rw-rw-r-- 1 jenkins jenkins 42 Jul 16 03:45 .golangci.yml 03:53:57 -rw-rw-r-- 1 jenkins jenkins 11155 Jul 16 03:45 Attribution.txt 03:53:57 -rw-rw-r-- 1 jenkins jenkins 17665 Jul 16 03:45 CHANGELOG.md 03:53:57 -rw-rw-r-- 1 jenkins jenkins 1683 Jul 16 03:45 Dockerfile 03:53:57 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 03:45 GOVERNANCE.md 03:53:57 -rw-rw-r-- 1 jenkins jenkins 739 Jul 16 03:45 Jenkinsfile 03:53:57 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 16 03:45 LICENSE 03:53:57 -rw-rw-r-- 1 jenkins jenkins 2883 Jul 16 03:45 Makefile 03:53:57 -rw-rw-r-- 1 jenkins jenkins 625 Jul 16 03:45 OWNERS.md 03:53:57 -rw-rw-r-- 1 jenkins jenkins 2620 Jul 16 03:45 README.md 03:53:57 -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 03:43 VERSION 03:53:57 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 03:45 bin 03:53:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 03:45 cmd 03:53:57 -rw-r--r-- 1 jenkins jenkins 78805 Jul 16 03:53 coverage.out 03:53:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 03:45 doc 03:53:57 -rw-rw-r-- 1 jenkins jenkins 7330 Jul 16 03:45 go.mod 03:53:57 -rw-rw-r-- 1 jenkins jenkins 102668 Jul 16 03:45 go.sum 03:53:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 03:45 internal 03:53:57 -rw-rw-r-- 1 jenkins jenkins 236 Jul 16 03:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:57 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=db83cf08dac954d4c2d0c459d40fdf5872948b02 --label arch=arm64 --label version=0.0.0 . 03:53:58 Sending build context to Docker daemon 21.79MB 03:53:58 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:53:58 Step 2/27 : FROM ${BASE} AS builder 03:53:58 ---> f3dca640deed 03:53:58 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:53:58 ---> Running in df3b1c49f5a4 03:53:58 Removing intermediate container df3b1c49f5a4 03:53:58 ---> b748543443af 03:53:58 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:53:58 ---> Running in 0873b0283866 03:53:59 Removing intermediate container 0873b0283866 03:53:59 ---> c02698684ea3 03:53:59 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:53:59 ---> Running in 8385746cae36 03:53:59 Removing intermediate container 8385746cae36 03:53:59 ---> a393a52674e6 03:53:59 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:53:59 ---> Running in 3939e8ad42a0 03:54:00 Removing intermediate container 3939e8ad42a0 03:54:00 ---> cc988fef28b0 03:54:00 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:54:00 ---> Running in 362ab01f66bd 03:54:00 Removing intermediate container 362ab01f66bd 03:54:00 ---> 71941c168389 03:54:00 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:54:00 ---> Running in 9462539e3618 03:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:54:02 OK: 266 MiB in 52 packages 03:54:03 Removing intermediate container 9462539e3618 03:54:03 ---> ebce52789acd 03:54:03 Step 9/27 : WORKDIR /device-onvif-camera 03:54:03 ---> Running in 05bdcab91e6f 03:54:04 Removing intermediate container 05bdcab91e6f 03:54:04 ---> b64c3e4894fc 03:54:04 Step 10/27 : COPY go.mod vendor* ./ 03:54:04 ---> 71901d910c94 03:54:04 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:54:04 ---> Running in 20866492e5bf 03:54:07 Removing intermediate container 20866492e5bf 03:54:07 ---> 6ec9f8166828 03:54:07 Step 12/27 : COPY . . 03:54:08 ---> 41d8018e5fc6 03:54:08 Step 13/27 : RUN ${MAKE} 03:54:08 ---> Running in 0304922da9b8 03:54:09 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.24" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:57:31 Removing intermediate container 0304922da9b8 03:57:31 ---> e28202cc63b0 03:57:31 Step 14/27 : FROM alpine:3.18 03:57:31 3.18: Pulling from library/alpine 03:57:31 5c905c7ebe2f: Pulling fs layer 03:57:31 5c905c7ebe2f: Verifying Checksum 03:57:31 5c905c7ebe2f: Download complete 03:57:32 5c905c7ebe2f: Pull complete 03:57:32 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 03:57:32 Status: Downloaded newer image for alpine:3.18 03:57:32 ---> dec292d02e07 03:57:32 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:57:32 ---> Running in 8cdff8c6a05d 03:57:32 Removing intermediate container 8cdff8c6a05d 03:57:32 ---> 898211f008bc 03:57:32 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:57:32 ---> Running in 3b7a4eae18b7 03:57:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:57:35 (1/1) Installing dumb-init (1.2.5-r2) 03:57:35 Executing busybox-1.36.1-r7.trigger 03:57:35 OK: 8 MiB in 16 packages 03:57:36 Removing intermediate container 3b7a4eae18b7 03:57:36 ---> ab85d086a5ee 03:57:36 Step 17/27 : RUN apk --no-cache upgrade 03:57:36 ---> Running in c3071dbb245a 03:57:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:57:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:57:38 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 03:57:38 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 03:57:38 OK: 8 MiB in 16 packages 03:57:39 Removing intermediate container c3071dbb245a 03:57:39 ---> a0d1062b1e33 03:57:39 Step 18/27 : WORKDIR / 03:57:39 ---> Running in d2dad711d934 03:57:39 Removing intermediate container d2dad711d934 03:57:39 ---> d5bbe4a4e47f 03:57:39 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:57:41 ---> 1541813f1b4d 03:57:41 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:57:41 ---> 47ee03b5503a 03:57:41 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:57:42 ---> 32ceeafffd23 03:57:42 Step 22/27 : EXPOSE 59984 03:57:42 ---> Running in ad6c46fe9461 03:57:42 Removing intermediate container ad6c46fe9461 03:57:42 ---> c688541dc3a8 03:57:42 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:57:43 ---> Running in 5de587401f1f 03:57:43 Removing intermediate container 5de587401f1f 03:57:43 ---> 5e918afe5d1c 03:57:43 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:57:43 ---> Running in d2f17cce81b5 03:57:43 Removing intermediate container d2f17cce81b5 03:57:43 ---> a7edb6e4a1d4 03:57:43 Step 25/27 : LABEL arch=arm64 03:57:43 ---> Running in 6ee5e11725a4 03:57:44 Removing intermediate container 6ee5e11725a4 03:57:44 ---> 32365d01521f 03:57:44 Step 26/27 : LABEL git_sha=db83cf08dac954d4c2d0c459d40fdf5872948b02 03:57:44 ---> Running in ad65751467d4 03:57:44 Removing intermediate container ad65751467d4 03:57:44 ---> bc9b8ffdaec4 03:57:44 Step 27/27 : LABEL version=0.0.0 03:57:44 ---> Running in 42be35d60e1b 03:57:45 Removing intermediate container 42be35d60e1b 03:57:45 ---> 2bb840931147 03:57:45 [Warning] One or more build-args [ARCH] were not consumed 03:57:45 Successfully built 2bb840931147 03:57:45 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:57:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:57:45 03:57:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:57:46 arm64: Pulling from edgex-lftools-log-publisher 03:57:46 8998bd30e6a1: Pulling fs layer 03:57:46 04944245beec: Pulling fs layer 03:57:46 699f458cf7ca: Pulling fs layer 03:57:46 765212b225bb: Pulling fs layer 03:57:46 f23df028b6ca: Pulling fs layer 03:57:46 d65c8cfc05b1: Pulling fs layer 03:57:46 2437ff75d9bd: Pulling fs layer 03:57:46 765212b225bb: Waiting 03:57:46 f23df028b6ca: Waiting 03:57:46 d65c8cfc05b1: Waiting 03:57:46 2437ff75d9bd: Waiting 03:57:46 04944245beec: Verifying Checksum 03:57:46 04944245beec: Download complete 03:57:46 765212b225bb: Verifying Checksum 03:57:46 765212b225bb: Download complete 03:57:46 f23df028b6ca: Verifying Checksum 03:57:46 f23df028b6ca: Download complete 03:57:46 d65c8cfc05b1: Download complete 03:57:46 699f458cf7ca: Verifying Checksum 03:57:46 699f458cf7ca: Download complete 03:57:47 8998bd30e6a1: Verifying Checksum 03:57:47 8998bd30e6a1: Download complete 03:57:49 2437ff75d9bd: Verifying Checksum 03:57:49 2437ff75d9bd: Download complete 03:57:51 8998bd30e6a1: Pull complete 03:57:52 04944245beec: Pull complete 03:57:53 699f458cf7ca: Pull complete 03:57:54 765212b225bb: Pull complete 03:57:55 f23df028b6ca: Pull complete 03:57:55 d65c8cfc05b1: Pull complete 03:58:13 2437ff75d9bd: Pull complete 03:58:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:58:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:58:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:58:13 prd-ubuntu20.04-docker-arm64-4c-16g-5690 does not seem to be running inside a container 03:58:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:58:16 $ docker top 1b9fd06b9d9a36df8edca07c7030a41a2e57634f3ed05bbb5ea241610c65d4b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:17 ---> job-cost.sh 03:58:17 lf-activate-venv: SKIPPING 03:58:17 INFO: No Stack... 03:58:17 INFO: Retrieving Pricing Info for: v3-standard-4 03:58:18 INFO: Archiving Costs [Pipeline] sh 03:58:19 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:58:19 + cut -d, -f6 [Pipeline] lock 03:58:19 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-446-1-stack-cost] 03:58:19 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-446-1-stack-cost] did not exist. Created. 03:58:19 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-446-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:58:20 /w/workspace/device-onvif-camera/1@tmp/durable-4ea612f1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:58:21 + echo total: 0.10999999940395355 [Pipeline] stash 03:58:21 Warning: overwriting stash ‘stack-cost’ 03:58:21 Stashed 1 file(s) [Pipeline] } 03:58:21 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-446-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:58:21 $ docker stop --time=1 1b9fd06b9d9a36df8edca07c7030a41a2e57634f3ed05bbb5ea241610c65d4b9 03:58:22 $ docker rm -f --volumes 1b9fd06b9d9a36df8edca07c7030a41a2e57634f3ed05bbb5ea241610c65d4b9 [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:58:24 provisioning config files... 03:58:24 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-446@tmp/config8417039362910886291tmp [Pipeline] { [Pipeline] sh 03:58:24 + set +x 03:58:24 + bash -s -- 03:58:24 + curl -s https://codecov.io/bash 03:58:24 03:58:24 _____ _ 03:58:24 / ____| | | 03:58:24 | | ___ __| | ___ ___ _____ __ 03:58:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:58:24 | |___| (_) | (_| | __/ (_| (_) \ V / 03:58:24 \_____\___/ \__,_|\___|\___\___/ \_/ 03:58:24 Bash-1.0.6 03:58:24 03:58:24 03:58:24 ==> git version 2.25.1 found 03:58:24 ==> 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:58:24 Release-Date: 2020-01-08 03:58:24 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:58:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:58:24 ==> Jenkins CI detected. 03:58:24 current dir:  /w/workspace/undry_device-onvif-camera_PR-446 03:58:24 project root: . 03:58:24 --> token set from env 03:58:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:58:24 ==> Running gcov in . (disable via -X gcov) 03:58:24 ==> Python coveragepy not found 03:58:24 ==> Searching for coverage reports in: 03:58:24 + . 03:58:24 -> Found 1 reports 03:58:24 ==> Detecting git/mercurial file structure 03:58:24 ==> Reading reports 03:58:24 + ./coverage.out bytes=78805 03:58:24 ==> Appending adjustments 03:58:24 https://docs.codecov.io/docs/fixing-reports 03:58:24 + Found adjustments 03:58:24 ==> Gzipping contents 03:58:24 12K /tmp/codecov.udBFhp.gz 03:58:24 ==> Uploading reports 03:58:24 url: https://codecov.io 03:58:24 query: branch=PR-446&commit=db83cf08dac954d4c2d0c459d40fdf5872948b02&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-446%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=446&job=&cmd_args= 03:58:24 -> Pinging Codecov 03:58:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-446&commit=db83cf08dac954d4c2d0c459d40fdf5872948b02&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-446%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=446&job=&cmd_args= 03:58:24 -> Uploading to 03:58:24 https://storage.googleapis.com/codecov/v4/raw/2024-07-16/F29A59C45E3A92E06B3E522C9905F8EF/db83cf08dac954d4c2d0c459d40fdf5872948b02/999e8f14-ed6b-4702-a89c-32c573f04d5c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240716%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240716T035824Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=12270edd6e25c4692d735e5b4e158f7ac7ccf6efe62a69609b35db1048600aad 03:58:24 % Total % Received % Xferd Average Speed Time Time Time Current 03:58:24 Dload Upload Total Spent Left Speed 03:58:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 41767 --:--:-- --:--:-- --:--:-- 41767 03:58:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/db83cf08dac954d4c2d0c459d40fdf5872948b02 [Pipeline] } 03:58:25 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:58:27 + [ -d /w/workspace/undry_device-onvif-camera_PR-446/archives ] 03:58:27 + ls -al /w/workspace/undry_device-onvif-camera_PR-446/archives 03:58:27 total 16 03:58:27 drwxr-xr-x 3 root root 4096 Jul 16 03:47 . 03:58:27 drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 03:47 .. 03:58:27 drwxr-xr-x 2 root root 4096 Jul 16 03:47 cost 03:58:27 -rw-r--r-- 1 root root 91 Jul 16 03:47 cost.csv 03:58:27 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-446/archives 03:58:27 + ls -al /w/workspace/undry_device-onvif-camera_PR-446/archives 03:58:27 total 16 03:58:27 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 03:47 . 03:58:27 drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 03:47 .. 03:58:27 drwxr-xr-x 2 jenkins jenkins 4096 Jul 16 03:47 cost 03:58:27 -rw-r--r-- 1 jenkins jenkins 91 Jul 16 03:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:58:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:58:28 ---> package-listing.sh 03:58:28 ++ facter osfamily 03:58:28 ++ tr '[:upper:]' '[:lower:]' 03:58:29 + OS_FAMILY=debian 03:58:29 + workspace=/w/workspace/undry_device-onvif-camera_PR-446 03:58:29 + START_PACKAGES=/tmp/packages_start.txt 03:58:29 + END_PACKAGES=/tmp/packages_end.txt 03:58:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:58:29 + PACKAGES=/tmp/packages_start.txt 03:58:29 + '[' /w/workspace/undry_device-onvif-camera_PR-446 ']' 03:58:29 + PACKAGES=/tmp/packages_end.txt 03:58:29 + case "${OS_FAMILY}" in 03:58:29 + dpkg -l 03:58:29 + grep '^ii' 03:58:29 + '[' -f /tmp/packages_start.txt ']' 03:58:29 + '[' -f /tmp/packages_end.txt ']' 03:58:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:58:29 + '[' /w/workspace/undry_device-onvif-camera_PR-446 ']' 03:58:29 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-446/archives/ 03:58:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-446/archives/ [Pipeline] echo 03:58:29 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-446/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:58:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:58:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:58:31 prd-ubuntu20.04-docker-8c-8g-5689 does not seem to be running inside a container 03:58:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-446/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-446 -v /w/workspace/undry_device-onvif-camera_PR-446:/w/workspace/undry_device-onvif-camera_PR-446:rw,z -v /w/workspace/undry_device-onvif-camera_PR-446@tmp:/w/workspace/undry_device-onvif-camera_PR-446@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:58:31 $ docker top 44ac9259dbda1fdc8e4d598b01063a8c63dda684633823fd8eb0c68d71df7fa5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:58:32 + touch /tmp/pre-build-complete [Pipeline] sh 03:58:32 + mkdir -p /var/log/sysstat [Pipeline] sh 03:58:32 + ls /var/log/sa-host 03:58:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:58:33 provisioning config files... 03:58:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-446@tmp/config13416213810529505829tmp [Pipeline] { [Pipeline] echo 03:58:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:58:33 ---> create-netrc.sh [Pipeline] } 03:58:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:58:34 ---> python-tools-install.sh [Pipeline] echo 03:58:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:58:34 ---> sudo-logs.sh 03:58:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:58:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:58:34 ---> job-cost.sh 03:58:34 lf-activate-venv: SKIPPING 03:58:34 DEBUG: total: 0.2199999988079071 03:58:34 INFO: Retrieving Stack Cost... 03:58:35 INFO: Retrieving Pricing Info for: v3-standard-8 03:58:35 INFO: Archiving Costs [Pipeline] echo 03:58:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:58:36 ---> logs-deploy.sh 03:58:36 lf-activate-venv: SKIPPING 03:58:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-446/1 03:58:36 INFO: archiving workspace using pattern(s): 03:58:36 Archives upload complete. 03:58:36 INFO: archiving logs to Nexus