Pull request #438 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 148173e56793d59c642abf1c928feddc1f2bdcc9+2106e125979a086dec88e89ea60f58fe74ababf0 (77a87254638be892f9f49c84a56ce3618ddb4bc3) 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-ssh3293901024382702409.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-ssh12361407213242801989.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6397430575522204566.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 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-ssh16705011076234026374.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-438/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-438/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh504625262826083902.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4227’ Running on prd-ubuntu20.04-docker-8c-8g-4230 in /w/workspace/undry_device-onvif-camera_PR-438 [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-438 # 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 2106e125979a086dec88e89ea60f58fe74ababf0 into PR head commit 148173e56793d59c642abf1c928feddc1f2bdcc9 Merge succeeded, producing 148173e56793d59c642abf1c928feddc1f2bdcc9 Checking out Revision 148173e56793d59c642abf1c928feddc1f2bdcc9 (PR-438) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > 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/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 148173e56793d59c642abf1c928feddc1f2bdcc9 # 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 2106e125979a086dec88e89ea60f58fe74ababf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 148173e56793d59c642abf1c928feddc1f2bdcc9 # timeout=10 > git rev-list --no-walk c22d2ec69f2b760c24b58923a926cb3588d72cfa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-06-24T07:38:04.874Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-06-24T07:38:04.946Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-06-24T07:38:04.967Z] ========================================================= [2024-06-24T07:38:04.967Z] EdgeX Global Pipelines Version Info [2024-06-24T07:38:04.967Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-06-24T07:38:05.693Z] ------------------- [2024-06-24T07:38:05.693Z] stable info: [2024-06-24T07:38:05.693Z] ------------------- [2024-06-24T07:38:05.693Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-24T07:38:05.693Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-24T07:38:05.693Z] Message: update stable to v1.0.260 [2024-06-24T07:38:06.260Z] ------------------- [2024-06-24T07:38:06.260Z] experimental info: [2024-06-24T07:38:06.260Z] ------------------- [2024-06-24T07:38:06.260Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-24T07:38:06.260Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-06-24T07:38:06.260Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-06-24T07:38:06.337Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-06-24T07:38:06.361Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-06-24T07:38:06.378Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-06-24T07:38:06.398Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-06-24T07:38:06.419Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-06-24T07:38:06.449Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-06-24T07:38:06.468Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-06-24T07:38:06.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-06-24T07:38:06.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-06-24T07:38:06.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-06-24T07:38:06.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-06-24T07:38:06.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-06-24T07:38:06.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-06-24T07:38:06.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-06-24T07:38:06.643Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-06-24T07:38:06.667Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-06-24T07:38:06.692Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-06-24T07:38:06.716Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-06-24T07:38:06.736Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-06-24T07:38:06.758Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-06-24T07:38:06.777Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-06-24T07:38:06.799Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-06-24T07:38:06.825Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-06-24T07:38:06.848Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-06-24T07:38:06.869Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-06-24T07:38:06.893Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-06-24T07:38:06.922Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-06-24T07:38:06.949Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-438 [Pipeline] echo [2024-06-24T07:38:06.972Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-438 [Pipeline] echo [2024-06-24T07:38:06.996Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-438 [Pipeline] echo [2024-06-24T07:38:07.019Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 148173e56793d59c642abf1c928feddc1f2bdcc9 [Pipeline] echo [2024-06-24T07:38:07.044Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 148173e [Pipeline] echo [2024-06-24T07:38:07.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-24T07:38:07.131Z] provisioning config files... [2024-06-24T07:38:07.143Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config13285904267801721827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-24T07:38:07.465Z] ---> ****-login.sh [2024-06-24T07:38:07.465Z] nexus3.edgexfoundry.org:10001 [2024-06-24T07:38:07.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:38:07.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:38:07.726Z] Configure a credential helper to remove this warning. See [2024-06-24T07:38:07.726Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:38:07.726Z] [2024-06-24T07:38:07.726Z] Login Succeeded [2024-06-24T07:38:07.726Z] nexus3.edgexfoundry.org:10002 [2024-06-24T07:38:07.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:38:07.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:38:07.991Z] Configure a credential helper to remove this warning. See [2024-06-24T07:38:07.991Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:38:07.991Z] [2024-06-24T07:38:07.991Z] Login Succeeded [2024-06-24T07:38:07.991Z] nexus3.edgexfoundry.org:10003 [2024-06-24T07:38:07.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:38:07.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:38:07.991Z] Configure a credential helper to remove this warning. See [2024-06-24T07:38:07.991Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:38:07.991Z] [2024-06-24T07:38:07.991Z] Login Succeeded [2024-06-24T07:38:07.991Z] nexus3.edgexfoundry.org:10004 [2024-06-24T07:38:07.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:38:07.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:38:07.991Z] Configure a credential helper to remove this warning. See [2024-06-24T07:38:07.991Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:38:07.991Z] [2024-06-24T07:38:07.991Z] Login Succeeded [2024-06-24T07:38:07.991Z] ****.io [2024-06-24T07:38:08.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:38:08.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:38:08.250Z] Configure a credential helper to remove this warning. See [2024-06-24T07:38:08.250Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:38:08.250Z] [2024-06-24T07:38:08.250Z] Login Succeeded [2024-06-24T07:38:08.251Z] ---> ****-login.sh ends [Pipeline] } [2024-06-24T07:38:08.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-06-24T07:38:08.660Z] + git rev-list -1 --merges 148173e56793d59c642abf1c928feddc1f2bdcc9~1..148173e56793d59c642abf1c928feddc1f2bdcc9 [Pipeline] echo [2024-06-24T07:38:08.688Z] -----------> git rev-list -1 --merges 148173e56793d59c642abf1c928feddc1f2bdcc9~1..148173e56793d59c642abf1c928feddc1f2bdcc9 148173e56793d59c642abf1c928feddc1f2bdcc9 [false] [Pipeline] sh [2024-06-24T07:38:08.977Z] + git log --format=format:%s -1 148173e56793d59c642abf1c928feddc1f2bdcc9 [Pipeline] echo [2024-06-24T07:38:08.993Z] ========================================================= [2024-06-24T07:38:08.993Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-06-24T07:38:08.993Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-24T07:38:09.326Z] + git log --format=format:%s -1 148173e56793d59c642abf1c928feddc1f2bdcc9 [Pipeline] echo [2024-06-24T07:38:09.337Z] [semverPrep] GIT_COMMIT: 148173e56793d59c642abf1c928feddc1f2bdcc9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-06-24T07:38:09.353Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-06-24T07:38:09.706Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-24T07:38:09.706Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-06-24T07:38:09.706Z] + [ -e /tmp/ssh_known_hosts ] [2024-06-24T07:38:09.706Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-06-24T07:38:09.706Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-06-24T07:38:09.706Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-06-24T07:38:09.706Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T07:38:10.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-24T07:38:10.074Z] [2024-06-24T07:38:10.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T07:38:10.380Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-24T07:38:10.380Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-06-24T07:38:10.380Z] b85a868b505f: Pulling fs layer [2024-06-24T07:38:10.380Z] e2be974225ed: Pulling fs layer [2024-06-24T07:38:10.380Z] 339a4e72a1f5: Pulling fs layer [2024-06-24T07:38:10.380Z] 988bab9f4d93: Pulling fs layer [2024-06-24T07:38:10.380Z] 1469e6f7b9e6: Pulling fs layer [2024-06-24T07:38:10.380Z] eaf3925da568: Pulling fs layer [2024-06-24T07:38:10.380Z] bab4dde63d76: Pulling fs layer [2024-06-24T07:38:10.380Z] bde34c3a00c8: Pulling fs layer [2024-06-24T07:38:10.380Z] b352a97aabf1: Pulling fs layer [2024-06-24T07:38:10.380Z] 4872d77fe225: Pulling fs layer [2024-06-24T07:38:10.380Z] 5851b861e8e6: Pulling fs layer [2024-06-24T07:38:10.380Z] bab4dde63d76: Waiting [2024-06-24T07:38:10.380Z] bde34c3a00c8: Waiting [2024-06-24T07:38:10.380Z] b352a97aabf1: Waiting [2024-06-24T07:38:10.380Z] 4872d77fe225: Waiting [2024-06-24T07:38:10.380Z] 5851b861e8e6: Waiting [2024-06-24T07:38:10.380Z] 988bab9f4d93: Waiting [2024-06-24T07:38:10.380Z] 1469e6f7b9e6: Waiting [2024-06-24T07:38:10.380Z] eaf3925da568: Waiting [2024-06-24T07:38:10.380Z] e2be974225ed: Verifying Checksum [2024-06-24T07:38:10.380Z] e2be974225ed: Download complete [2024-06-24T07:38:10.380Z] 988bab9f4d93: Verifying Checksum [2024-06-24T07:38:10.380Z] 988bab9f4d93: Download complete [2024-06-24T07:38:10.380Z] 1469e6f7b9e6: Verifying Checksum [2024-06-24T07:38:10.380Z] 1469e6f7b9e6: Download complete [2024-06-24T07:38:10.638Z] 339a4e72a1f5: Verifying Checksum [2024-06-24T07:38:10.638Z] 339a4e72a1f5: Download complete [2024-06-24T07:38:10.638Z] eaf3925da568: Verifying Checksum [2024-06-24T07:38:10.638Z] eaf3925da568: Download complete [2024-06-24T07:38:10.638Z] bde34c3a00c8: Download complete [2024-06-24T07:38:10.638Z] b352a97aabf1: Verifying Checksum [2024-06-24T07:38:10.638Z] b352a97aabf1: Download complete [2024-06-24T07:38:10.638Z] 4872d77fe225: Verifying Checksum [2024-06-24T07:38:10.638Z] 4872d77fe225: Download complete [2024-06-24T07:38:10.638Z] 5851b861e8e6: Verifying Checksum [2024-06-24T07:38:10.638Z] 5851b861e8e6: Download complete [2024-06-24T07:38:10.638Z] b85a868b505f: Download complete [2024-06-24T07:38:10.896Z] bab4dde63d76: Verifying Checksum [2024-06-24T07:38:10.896Z] bab4dde63d76: Download complete [2024-06-24T07:38:11.834Z] b85a868b505f: Pull complete [2024-06-24T07:38:11.834Z] e2be974225ed: Pull complete [2024-06-24T07:38:12.404Z] 339a4e72a1f5: Pull complete [2024-06-24T07:38:12.405Z] 988bab9f4d93: Pull complete [2024-06-24T07:38:12.664Z] 1469e6f7b9e6: Pull complete [2024-06-24T07:38:12.664Z] eaf3925da568: Pull complete [2024-06-24T07:38:14.043Z] bab4dde63d76: Pull complete [2024-06-24T07:38:14.301Z] bde34c3a00c8: Pull complete [2024-06-24T07:38:14.301Z] b352a97aabf1: Pull complete [2024-06-24T07:38:14.301Z] 4872d77fe225: Pull complete [2024-06-24T07:38:14.561Z] 5851b861e8e6: Pull complete [2024-06-24T07:38:14.561Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-06-24T07:38:14.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-24T07:38:14.561Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T07:38:14.712Z] prd-ubuntu20.04-docker-8c-8g-4230 does not seem to be running inside a container [2024-06-24T07:38:14.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@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-devops/py-git-semver:0.1.4 cat [2024-06-24T07:38:16.057Z] $ docker top 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 -eo pid,comm [2024-06-24T07:38:16.099Z] 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). [2024-06-24T07:38:16.099Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-24T07:38:16.162Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-24T07:38:16.162Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-24T07:38:16.260Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-24T07:38:16.271Z] $ docker exec 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 ssh-agent [2024-06-24T07:38:16.367Z] SSH_AUTH_SOCK=/tmp/ssh-jbZYak5EBwbW/agent.32 [2024-06-24T07:38:16.367Z] SSH_AGENT_PID=38 [2024-06-24T07:38:16.374Z] Running ssh-add (command line suppressed) [2024-06-24T07:38:16.480Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_16032918991974085758.key (/w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_16032918991974085758.key) [2024-06-24T07:38:16.485Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-24T07:38:16.782Z] + git tag --points-at HEAD [Pipeline] } [2024-06-24T07:38:16.802Z] $ docker exec --env ******** --env ******** 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 ssh-agent -k [2024-06-24T07:38:16.894Z] unset SSH_AUTH_SOCK; [2024-06-24T07:38:16.894Z] unset SSH_AGENT_PID; [2024-06-24T07:38:16.894Z] echo Agent pid 38 killed; [2024-06-24T07:38:16.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-06-24T07:38:16.939Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-24T07:38:16.939Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-24T07:38:17.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-24T07:38:17.057Z] $ docker exec 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 ssh-agent [2024-06-24T07:38:17.136Z] SSH_AUTH_SOCK=/tmp/ssh-hDkXQtxaGIuE/agent.71 [2024-06-24T07:38:17.136Z] SSH_AGENT_PID=77 [2024-06-24T07:38:17.140Z] Running ssh-add (command line suppressed) [2024-06-24T07:38:17.241Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_12783627602935844357.key (/w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_12783627602935844357.key) [2024-06-24T07:38:17.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-24T07:38:17.535Z] + git semver init [2024-06-24T07:38:17.794Z] 2024-06-24 07:38:17,720 [run_init] DEBUG init version:0.0.0 force:False [2024-06-24T07:38:17.795Z] 2024-06-24 07:38:17,721 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-438/.semver [2024-06-24T07:38:17.795Z] 2024-06-24 07:38:17,721 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-438/.semver [2024-06-24T07:38:17.795Z] 2024-06-24 07:38:17,722 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-438/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-438, universal_newlines=False, shell=None, istream=None) [2024-06-24T07:38:19.175Z] 2024-06-24 07:38:19,028 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-438/.git/info/exclude [2024-06-24T07:38:19.175Z] 2024-06-24 07:38:19,029 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-438/.semver/PR-438 with force:False [2024-06-24T07:38:19.175Z] 2024-06-24 07:38:19,029 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-438/.semver/PR-438 [2024-06-24T07:38:19.175Z] 2024-06-24 07:38:19,031 [execute] INFO git cat-file --batch-check [2024-06-24T07:38:19.175Z] 2024-06-24 07:38:19,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-438/.semver, universal_newlines=False, shell=None, istream=) [2024-06-24T07:38:19.175Z] 2024-06-24 07:38:19,037 [execute] INFO git cat-file --batch [2024-06-24T07:38:19.175Z] 2024-06-24 07:38:19,037 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-438/.semver, universal_newlines=False, shell=None, istream=) [2024-06-24T07:38:19.175Z] 2024-06-24 07:38:19,042 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-438/.semver/PR-438 [2024-06-24T07:38:19.175Z] 0.0.0 [Pipeline] } [2024-06-24T07:38:19.194Z] $ docker exec --env ******** --env ******** 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 ssh-agent -k [2024-06-24T07:38:19.291Z] unset SSH_AUTH_SOCK; [2024-06-24T07:38:19.292Z] unset SSH_AGENT_PID; [2024-06-24T07:38:19.292Z] echo Agent pid 77 killed; [2024-06-24T07:38:19.294Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-24T07:38:19.626Z] + git semver [Pipeline] } [2024-06-24T07:38:19.905Z] $ docker stop --time=1 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 [2024-06-24T07:38:21.853Z] $ docker rm -f --volumes 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-24T07:38:22.256Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-06-24T07:38:22.501Z] Stashed 1 file(s) [Pipeline] echo [2024-06-24T07:38:22.505Z] [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 [2024-06-24T07:38:22.727Z] provisioning config files... [2024-06-24T07:38:22.735Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config12074417369986521642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-24T07:38:23.054Z] ---> ****-login.sh [2024-06-24T07:38:23.054Z] nexus3.edgexfoundry.org:10001 [2024-06-24T07:38:23.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:38:23.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:38:23.054Z] Configure a credential helper to remove this warning. See [2024-06-24T07:38:23.054Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:38:23.054Z] [2024-06-24T07:38:23.054Z] Login Succeeded [2024-06-24T07:38:23.054Z] nexus3.edgexfoundry.org:10002 [2024-06-24T07:38:23.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:38:23.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:38:23.054Z] Configure a credential helper to remove this warning. See [2024-06-24T07:38:23.055Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:38:23.055Z] [2024-06-24T07:38:23.055Z] Login Succeeded [2024-06-24T07:38:23.055Z] nexus3.edgexfoundry.org:10003 [2024-06-24T07:38:23.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:38:23.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:38:23.314Z] Configure a credential helper to remove this warning. See [2024-06-24T07:38:23.314Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:38:23.314Z] [2024-06-24T07:38:23.314Z] Login Succeeded [2024-06-24T07:38:23.314Z] nexus3.edgexfoundry.org:10004 [2024-06-24T07:38:23.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:38:23.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:38:23.314Z] Configure a credential helper to remove this warning. See [2024-06-24T07:38:23.314Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:38:23.314Z] [2024-06-24T07:38:23.314Z] Login Succeeded [2024-06-24T07:38:23.314Z] ****.io [2024-06-24T07:38:23.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:38:23.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:38:23.573Z] Configure a credential helper to remove this warning. See [2024-06-24T07:38:23.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:38:23.573Z] [2024-06-24T07:38:23.573Z] Login Succeeded [2024-06-24T07:38:23.573Z] ---> ****-login.sh ends [Pipeline] } [2024-06-24T07:38:23.580Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-24T07:38:23.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-24T07:38:23.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-24T07:38:23.711Z] ========================================================= [2024-06-24T07:38:23.711Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-06-24T07:38:23.711Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T07:38:24.063Z] + 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 . [2024-06-24T07:38:24.063Z] Sending build context to Docker daemon 36.6MB [2024-06-24T07:38:24.063Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-06-24T07:38:24.063Z] Step 2/13 : FROM ${BASE} AS builder [2024-06-24T07:38:24.633Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-06-24T07:38:24.633Z] 619be1103602: Pulling fs layer [2024-06-24T07:38:24.633Z] 7862e08f4a3e: Pulling fs layer [2024-06-24T07:38:24.633Z] 5df492c9dc93: Pulling fs layer [2024-06-24T07:38:24.633Z] 7629e6793208: Pulling fs layer [2024-06-24T07:38:24.633Z] 4f4fb700ef54: Pulling fs layer [2024-06-24T07:38:24.633Z] fb5054dd5b73: Pulling fs layer [2024-06-24T07:38:24.633Z] eeca6798cff9: Pulling fs layer [2024-06-24T07:38:24.633Z] aa269ceb94a6: Pulling fs layer [2024-06-24T07:38:24.633Z] ada007ff1a6a: Pulling fs layer [2024-06-24T07:38:24.633Z] 7629e6793208: Waiting [2024-06-24T07:38:24.633Z] 4f4fb700ef54: Waiting [2024-06-24T07:38:24.633Z] fb5054dd5b73: Waiting [2024-06-24T07:38:24.633Z] eeca6798cff9: Waiting [2024-06-24T07:38:24.633Z] aa269ceb94a6: Waiting [2024-06-24T07:38:24.633Z] ada007ff1a6a: Waiting [2024-06-24T07:38:24.633Z] 7862e08f4a3e: Verifying Checksum [2024-06-24T07:38:24.633Z] 7862e08f4a3e: Download complete [2024-06-24T07:38:24.633Z] 7629e6793208: Verifying Checksum [2024-06-24T07:38:24.633Z] 7629e6793208: Download complete [2024-06-24T07:38:24.633Z] 4f4fb700ef54: Download complete [2024-06-24T07:38:24.633Z] 619be1103602: Verifying Checksum [2024-06-24T07:38:24.633Z] 619be1103602: Download complete [2024-06-24T07:38:24.633Z] fb5054dd5b73: Download complete [2024-06-24T07:38:24.633Z] eeca6798cff9: Verifying Checksum [2024-06-24T07:38:24.633Z] eeca6798cff9: Download complete [2024-06-24T07:38:24.893Z] ada007ff1a6a: Verifying Checksum [2024-06-24T07:38:24.893Z] ada007ff1a6a: Download complete [2024-06-24T07:38:24.893Z] 619be1103602: Pull complete [2024-06-24T07:38:24.893Z] 5df492c9dc93: Download complete [2024-06-24T07:38:25.462Z] 7862e08f4a3e: Pull complete [2024-06-24T07:38:25.462Z] aa269ceb94a6: Verifying Checksum [2024-06-24T07:38:25.462Z] aa269ceb94a6: Download complete [2024-06-24T07:38:28.743Z] 5df492c9dc93: Pull complete [2024-06-24T07:38:28.743Z] 7629e6793208: Pull complete [2024-06-24T07:38:28.743Z] 4f4fb700ef54: Pull complete [2024-06-24T07:38:28.743Z] fb5054dd5b73: Pull complete [2024-06-24T07:38:28.743Z] eeca6798cff9: Pull complete [2024-06-24T07:38:31.273Z] aa269ceb94a6: Pull complete [2024-06-24T07:38:31.532Z] ada007ff1a6a: Pull complete [2024-06-24T07:38:31.532Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-06-24T07:38:31.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-06-24T07:38:31.532Z] ---> f489d0715acc [2024-06-24T07:38:31.532Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-06-24T07:38:37.682Z] Still waiting to schedule task [2024-06-24T07:38:37.682Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4229’ [2024-06-24T07:38:38.101Z] ---> Running in a36ec897ebc2 [2024-06-24T07:38:38.101Z] Removing intermediate container a36ec897ebc2 [2024-06-24T07:38:38.101Z] ---> 9bfe6d0b119c [2024-06-24T07:38:38.101Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-24T07:38:38.101Z] ---> Running in 681caa305644 [2024-06-24T07:38:38.101Z] Removing intermediate container 681caa305644 [2024-06-24T07:38:38.101Z] ---> 38c024cc1fb5 [2024-06-24T07:38:38.101Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-06-24T07:38:38.101Z] ---> Running in 7106aad04b82 [2024-06-24T07:38:38.101Z] Removing intermediate container 7106aad04b82 [2024-06-24T07:38:38.101Z] ---> d684ac7da98b [2024-06-24T07:38:38.101Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-06-24T07:38:38.101Z] ---> Running in 85c5024cfde4 [2024-06-24T07:38:38.101Z] Removing intermediate container 85c5024cfde4 [2024-06-24T07:38:38.101Z] ---> daf1ce0d4b3c [2024-06-24T07:38:38.101Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-06-24T07:38:38.101Z] ---> Running in 987d9d659ed4 [2024-06-24T07:38:38.101Z] Removing intermediate container 987d9d659ed4 [2024-06-24T07:38:38.101Z] ---> cd067bed7df2 [2024-06-24T07:38:38.101Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-24T07:38:38.101Z] ---> Running in 6377d0c66b0d [2024-06-24T07:38:38.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-24T07:38:38.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-24T07:38:38.621Z] OK: 264 MiB in 52 packages [2024-06-24T07:38:38.881Z] Removing intermediate container 6377d0c66b0d [2024-06-24T07:38:38.881Z] ---> 0142451b82f2 [2024-06-24T07:38:38.881Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-06-24T07:38:38.881Z] ---> Running in 68fb83edac24 [2024-06-24T07:38:39.145Z] Removing intermediate container 68fb83edac24 [2024-06-24T07:38:39.145Z] ---> 7aef1c0a3dd2 [2024-06-24T07:38:39.145Z] Step 10/13 : COPY go.mod vendor* ./ [2024-06-24T07:38:39.145Z] ---> 55235ae8098f [2024-06-24T07:38:39.145Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-24T07:38:39.145Z] ---> Running in da807bc8b59d [2024-06-24T07:39:34.395Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4231 in /w/workspace/undry_device-onvif-camera_PR-438 [Pipeline] { [Pipeline] ws [2024-06-24T07:39:34.413Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2024-06-24T07:39:34.459Z] The recommended git tool is: git [2024-06-24T07:39:35.389Z] Removing intermediate container da807bc8b59d [2024-06-24T07:39:35.389Z] ---> 492cdfa3262a [2024-06-24T07:39:35.389Z] Step 12/13 : COPY . . [2024-06-24T07:39:35.389Z] ---> 7489f5733bb9 [2024-06-24T07:39:35.389Z] Step 13/13 : RUN ${MAKE} [2024-06-24T07:39:35.389Z] ---> Running in c75620a234c0 [2024-06-24T07:39:35.389Z] noop [2024-06-24T07:39:35.389Z] Removing intermediate container c75620a234c0 [2024-06-24T07:39:35.389Z] ---> 2b1b4b596c67 [2024-06-24T07:39:35.389Z] Successfully built 2b1b4b596c67 [2024-06-24T07:39:35.389Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T07:39:35.712Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-24T07:39:35.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T07:39:35.786Z] prd-ubuntu20.04-docker-8c-8g-4230 does not seem to be running inside a container [2024-06-24T07:39:35.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-06-24T07:39:36.190Z] $ docker top 18afb0a35c45a17bc2b4957976238ec4063fc88f6a7fba60d7fc16b4ca89560c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-24T07:39:36.534Z] + go version [2024-06-24T07:39:36.534Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-06-24T07:39:36.555Z] $ docker stop --time=1 18afb0a35c45a17bc2b4957976238ec4063fc88f6a7fba60d7fc16b4ca89560c [2024-06-24T07:39:37.839Z] $ docker rm -f --volumes 18afb0a35c45a17bc2b4957976238ec4063fc88f6a7fba60d7fc16b4ca89560c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T07:39:38.249Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-24T07:39:38.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T07:39:38.324Z] prd-ubuntu20.04-docker-8c-8g-4230 does not seem to be running inside a container [2024-06-24T07:39:38.359Z] $ 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-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-06-24T07:39:38.713Z] $ docker top ad60d24a1ff7fbc315b81cdcab758f40a4bf633224b77f5377c59853f6f57263 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-24T07:39:39.049Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-438 [Pipeline] fileExists [Pipeline] sh [2024-06-24T07:39:39.349Z] + make test [2024-06-24T07:39:39.349Z] go test ./... -coverprofile=coverage.out ./... [2024-06-24T07:39:40.127Z] using credential edgex-jenkins-ssh [2024-06-24T07:39:40.151Z] Cloning the remote Git repository [2024-06-24T07:39:40.197Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-06-24T07:39:40.291Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2024-06-24T07:39:40.453Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-06-24T07:39:40.454Z] > git --version # timeout=10 [2024-06-24T07:39:40.476Z] > git --version # 'git version 2.25.1' [2024-06-24T07:39:40.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-24T07:39:40.636Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-24T07:39:41.256Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-06-24T07:39:43.299Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-06-24T07:39:43.323Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-24T07:39:44.799Z] Merging remotes/origin/main commit 2106e125979a086dec88e89ea60f58fe74ababf0 into PR head commit 148173e56793d59c642abf1c928feddc1f2bdcc9 [2024-06-24T07:39:44.225Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-06-24T07:39:44.265Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-06-24T07:39:44.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-24T07:39:44.290Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-06-24T07:39:44.816Z] > git config core.sparsecheckout # timeout=10 [2024-06-24T07:39:45.291Z] Merge succeeded, producing 148173e56793d59c642abf1c928feddc1f2bdcc9 [2024-06-24T07:39:45.292Z] Checking out Revision 148173e56793d59c642abf1c928feddc1f2bdcc9 (PR-438) [2024-06-24T07:39:45.909Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-06-24T07:39:44.885Z] > git checkout -f 148173e56793d59c642abf1c928feddc1f2bdcc9 # timeout=10 [2024-06-24T07:39:45.072Z] > git remote # timeout=10 [2024-06-24T07:39:45.155Z] > git config --get remote.origin.url # timeout=10 [2024-06-24T07:39:45.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-24T07:39:45.231Z] > git merge 2106e125979a086dec88e89ea60f58fe74ababf0 # timeout=10 [2024-06-24T07:39:45.272Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-06-24T07:39:45.299Z] > git config core.sparsecheckout # timeout=10 [2024-06-24T07:39:45.313Z] > git checkout -f 148173e56793d59c642abf1c928feddc1f2bdcc9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-24T07:39:50.650Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-06-24T07:39:50.650Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-24T07:39:50.650Z] Dload Upload Total Spent Left Speed [2024-06-24T07:39:50.650Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh [2024-06-24T07:39:50.984Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-06-24T07:39:51.309Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-06-24T07:39:51.309Z] + sudo tee /etc/docker/daemon.new [2024-06-24T07:39:51.309Z] { [2024-06-24T07:39:51.309Z] "registry-mirrors": [ [2024-06-24T07:39:51.309Z] "https://nexus3.edgexfoundry.org:10001" [2024-06-24T07:39:51.309Z] ], [2024-06-24T07:39:51.309Z] "bip": "10.250.0.254/24", [2024-06-24T07:39:51.309Z] "hosts": [ [2024-06-24T07:39:51.309Z] "tcp://0.0.0.0:5555", [2024-06-24T07:39:51.309Z] "unix:///var/run/docker.sock" [2024-06-24T07:39:51.309Z] ], [2024-06-24T07:39:51.309Z] "mtu": 1458, [2024-06-24T07:39:51.309Z] "selinux-enabled": true, [2024-06-24T07:39:51.309Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-06-24T07:39:51.309Z] } [Pipeline] sh [2024-06-24T07:39:51.632Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-06-24T07:39:51.968Z] + sudo service docker restart [2024-06-24T07:40:03.268Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-06-24T07:40:03.268Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-06-24T07:40:03.268Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 31.4% of statements [2024-06-24T07:40:03.268Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.431s coverage: 86.5% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-24T07:40:10.281Z] provisioning config files... [2024-06-24T07:40:10.315Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config13274513342712729008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-24T07:40:10.789Z] ---> ****-login.sh [2024-06-24T07:40:10.789Z] nexus3.edgexfoundry.org:10001 [2024-06-24T07:40:11.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:40:11.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:40:11.386Z] Configure a credential helper to remove this warning. See [2024-06-24T07:40:11.387Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:40:11.387Z] [2024-06-24T07:40:11.387Z] Login Succeeded [2024-06-24T07:40:11.387Z] nexus3.edgexfoundry.org:10002 [2024-06-24T07:40:11.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:40:11.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:40:11.937Z] Configure a credential helper to remove this warning. See [2024-06-24T07:40:11.937Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:40:11.937Z] [2024-06-24T07:40:11.937Z] Login Succeeded [2024-06-24T07:40:11.937Z] nexus3.edgexfoundry.org:10003 [2024-06-24T07:40:12.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:40:12.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:40:12.209Z] Configure a credential helper to remove this warning. See [2024-06-24T07:40:12.209Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:40:12.209Z] [2024-06-24T07:40:12.209Z] Login Succeeded [2024-06-24T07:40:12.209Z] nexus3.edgexfoundry.org:10004 [2024-06-24T07:40:12.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:40:12.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:40:12.753Z] Configure a credential helper to remove this warning. See [2024-06-24T07:40:12.753Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:40:12.753Z] [2024-06-24T07:40:12.753Z] Login Succeeded [2024-06-24T07:40:12.753Z] ****.io [2024-06-24T07:40:13.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T07:40:13.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T07:40:13.022Z] Configure a credential helper to remove this warning. See [2024-06-24T07:40:13.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T07:40:13.022Z] [2024-06-24T07:40:13.022Z] Login Succeeded [2024-06-24T07:40:13.294Z] ---> ****-login.sh ends [Pipeline] } [2024-06-24T07:40:13.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-24T07:40:13.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-24T07:40:13.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-24T07:40:13.679Z] ========================================================= [2024-06-24T07:40:13.679Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-06-24T07:40:13.679Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T07:40:14.044Z] + 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 . [2024-06-24T07:40:14.632Z] Sending build context to Docker daemon 21.71MB [2024-06-24T07:40:14.632Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-06-24T07:40:14.632Z] Step 2/13 : FROM ${BASE} AS builder [2024-06-24T07:40:14.908Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-06-24T07:40:14.908Z] c6b39de5b339: Pulling fs layer [2024-06-24T07:40:14.908Z] a69c41024577: Pulling fs layer [2024-06-24T07:40:14.908Z] d6de4b400683: Pulling fs layer [2024-06-24T07:40:14.908Z] 35cb2a7552d0: Pulling fs layer [2024-06-24T07:40:14.908Z] 4f4fb700ef54: Pulling fs layer [2024-06-24T07:40:14.908Z] 464afbd9ba4c: Pulling fs layer [2024-06-24T07:40:14.908Z] 00f215d4a9da: Pulling fs layer [2024-06-24T07:40:14.908Z] d496ad576159: Pulling fs layer [2024-06-24T07:40:14.908Z] 35cb2a7552d0: Waiting [2024-06-24T07:40:14.908Z] 4f4fb700ef54: Waiting [2024-06-24T07:40:14.908Z] 464afbd9ba4c: Waiting [2024-06-24T07:40:14.908Z] 00f215d4a9da: Waiting [2024-06-24T07:40:14.908Z] d496ad576159: Waiting [2024-06-24T07:40:14.908Z] a69c41024577: Verifying Checksum [2024-06-24T07:40:14.908Z] a69c41024577: Download complete [2024-06-24T07:40:14.908Z] 35cb2a7552d0: Verifying Checksum [2024-06-24T07:40:14.908Z] 35cb2a7552d0: Download complete [2024-06-24T07:40:14.908Z] 4f4fb700ef54: Verifying Checksum [2024-06-24T07:40:14.908Z] 4f4fb700ef54: Download complete [2024-06-24T07:40:14.908Z] 464afbd9ba4c: Verifying Checksum [2024-06-24T07:40:14.908Z] 464afbd9ba4c: Download complete [2024-06-24T07:40:14.908Z] c6b39de5b339: Verifying Checksum [2024-06-24T07:40:14.908Z] c6b39de5b339: Download complete [2024-06-24T07:40:15.178Z] d496ad576159: Verifying Checksum [2024-06-24T07:40:15.178Z] d496ad576159: Download complete [2024-06-24T07:40:15.486Z] go vet ./... [2024-06-24T07:40:15.775Z] c6b39de5b339: Pull complete [2024-06-24T07:40:16.387Z] a69c41024577: Pull complete [2024-06-24T07:40:16.971Z] d6de4b400683: Verifying Checksum [2024-06-24T07:40:16.971Z] d6de4b400683: Download complete [2024-06-24T07:40:17.939Z] 00f215d4a9da: Verifying Checksum [2024-06-24T07:40:17.939Z] 00f215d4a9da: Download complete [2024-06-24T07:40:22.051Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-24T07:40:22.051Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-24T07:40:22.051Z] ./bin/test-attribution-txt.sh [2024-06-24T07:40:22.051Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-24T07:40:22.051Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-06-24T07:40:22.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-24T07:40:22.091Z] $ docker stop --time=1 ad60d24a1ff7fbc315b81cdcab758f40a4bf633224b77f5377c59853f6f57263 [2024-06-24T07:40:24.636Z] $ docker rm -f --volumes ad60d24a1ff7fbc315b81cdcab758f40a4bf633224b77f5377c59853f6f57263 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-24T07:40:25.230Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-24T07:40:25.294Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-06-24T07:40:25.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-24T07:40:26.028Z] + ls -al . [2024-06-24T07:40:26.028Z] total 312 [2024-06-24T07:40:26.028Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 24 07:39 . [2024-06-24T07:40:26.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:37 .. [2024-06-24T07:40:26.028Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 07:40 .git [2024-06-24T07:40:26.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 07:38 .github [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 493 Jun 24 07:38 .gitignore [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 07:38 .golangci.yml [2024-06-24T07:40:26.028Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 07:38 .semver [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 11155 Jun 24 07:38 Attribution.txt [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 17665 Jun 24 07:38 CHANGELOG.md [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 1683 Jun 24 07:38 Dockerfile [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 07:38 GOVERNANCE.md [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 739 Jun 24 07:38 Jenkinsfile [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 24 07:38 LICENSE [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 2883 Jun 24 07:38 Makefile [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 24 07:38 OWNERS.md [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jun 24 07:38 README.md [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 07:38 VERSION [2024-06-24T07:40:26.028Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 07:38 bin [2024-06-24T07:40:26.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 07:38 cmd [2024-06-24T07:40:26.028Z] -rw-r--r-- 1 jenkins jenkins 78805 Jun 24 07:40 coverage.out [2024-06-24T07:40:26.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:38 doc [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 7387 Jun 24 07:38 go.mod [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 102689 Jun 24 07:38 go.sum [2024-06-24T07:40:26.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:38 internal [2024-06-24T07:40:26.028Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 24 07:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T07:40:26.340Z] + 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=148173e56793d59c642abf1c928feddc1f2bdcc9 --label arch=amd64 --label version=0.0.0 . [2024-06-24T07:40:26.340Z] Sending build context to Docker daemon 36.68MB [2024-06-24T07:40:26.340Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-06-24T07:40:26.340Z] Step 2/27 : FROM ${BASE} AS builder [2024-06-24T07:40:26.340Z] ---> 2b1b4b596c67 [2024-06-24T07:40:26.340Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-06-24T07:40:26.910Z] ---> Running in 5f6e77b41222 [2024-06-24T07:40:26.910Z] Removing intermediate container 5f6e77b41222 [2024-06-24T07:40:26.910Z] ---> 21b20b4cca2d [2024-06-24T07:40:26.910Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-24T07:40:26.910Z] ---> Running in c9db11e9dd9d [2024-06-24T07:40:26.910Z] Removing intermediate container c9db11e9dd9d [2024-06-24T07:40:26.910Z] ---> 0d970dde716d [2024-06-24T07:40:26.910Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-06-24T07:40:27.170Z] ---> Running in 7aaded6c7506 [2024-06-24T07:40:27.170Z] Removing intermediate container 7aaded6c7506 [2024-06-24T07:40:27.170Z] ---> 0d9032d1287b [2024-06-24T07:40:27.170Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-06-24T07:40:27.170Z] ---> Running in 721784b08c73 [2024-06-24T07:40:27.170Z] Removing intermediate container 721784b08c73 [2024-06-24T07:40:27.170Z] ---> d6be3ba0d0d8 [2024-06-24T07:40:27.170Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-06-24T07:40:27.170Z] ---> Running in 126c9cead9b5 [2024-06-24T07:40:27.432Z] Removing intermediate container 126c9cead9b5 [2024-06-24T07:40:27.432Z] ---> 0885715460d2 [2024-06-24T07:40:27.432Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-24T07:40:27.432Z] ---> Running in f22e9aeae82d [2024-06-24T07:40:27.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-24T07:40:27.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-24T07:40:27.952Z] OK: 264 MiB in 52 packages [2024-06-24T07:40:28.522Z] Removing intermediate container f22e9aeae82d [2024-06-24T07:40:28.522Z] ---> 5c326be19590 [2024-06-24T07:40:28.522Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-06-24T07:40:28.522Z] ---> Running in b0e222954b3e [2024-06-24T07:40:28.522Z] Removing intermediate container b0e222954b3e [2024-06-24T07:40:28.522Z] ---> ee6de5b39435 [2024-06-24T07:40:28.522Z] Step 10/27 : COPY go.mod vendor* ./ [2024-06-24T07:40:28.522Z] ---> e3d9f3d2793c [2024-06-24T07:40:28.522Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-24T07:40:28.780Z] ---> Running in 9e164c58469d [2024-06-24T07:40:29.348Z] Removing intermediate container 9e164c58469d [2024-06-24T07:40:29.348Z] ---> 5c45130f2778 [2024-06-24T07:40:29.348Z] Step 12/27 : COPY . . [2024-06-24T07:40:30.282Z] d6de4b400683: Pull complete [2024-06-24T07:40:30.282Z] 35cb2a7552d0: Pull complete [2024-06-24T07:40:30.282Z] 4f4fb700ef54: Pull complete [2024-06-24T07:40:30.282Z] 464afbd9ba4c: Pull complete [2024-06-24T07:40:30.752Z] ---> 4fcde03f85b1 [2024-06-24T07:40:30.753Z] Step 13/27 : RUN ${MAKE} [2024-06-24T07:40:30.753Z] ---> Running in c2a650b58548 [2024-06-24T07:40:30.753Z] 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.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-06-24T07:40:38.524Z] 00f215d4a9da: Pull complete [2024-06-24T07:40:40.477Z] d496ad576159: Pull complete [2024-06-24T07:40:40.477Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-06-24T07:40:40.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-06-24T07:40:40.477Z] ---> f246e2811388 [2024-06-24T07:40:40.477Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-06-24T07:40:42.425Z] ---> Running in 1280c1928472 [2024-06-24T07:40:43.010Z] Removing intermediate container 1280c1928472 [2024-06-24T07:40:43.010Z] ---> a536135ab8f4 [2024-06-24T07:40:43.010Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-24T07:40:43.010Z] ---> Running in c09fa4fce15b [2024-06-24T07:40:43.279Z] Removing intermediate container c09fa4fce15b [2024-06-24T07:40:43.279Z] ---> efecc412666a [2024-06-24T07:40:43.279Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-06-24T07:40:43.279Z] ---> Running in 6ebb1c956132 [2024-06-24T07:40:43.549Z] Removing intermediate container 6ebb1c956132 [2024-06-24T07:40:43.549Z] ---> a77c26dc2bbd [2024-06-24T07:40:43.549Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-06-24T07:40:43.816Z] ---> Running in 77c5df1a5cf9 [2024-06-24T07:40:44.084Z] Removing intermediate container 77c5df1a5cf9 [2024-06-24T07:40:44.084Z] ---> a556db2183ae [2024-06-24T07:40:44.084Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-06-24T07:40:44.084Z] ---> Running in 6734edfd8657 [2024-06-24T07:40:44.355Z] Removing intermediate container 6734edfd8657 [2024-06-24T07:40:44.355Z] ---> d5bd433aa83b [2024-06-24T07:40:44.356Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-24T07:40:44.623Z] ---> Running in 7f151c8f33cc [2024-06-24T07:40:45.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-24T07:40:46.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-24T07:40:47.148Z] OK: 266 MiB in 52 packages [2024-06-24T07:40:48.112Z] Removing intermediate container 7f151c8f33cc [2024-06-24T07:40:48.112Z] ---> a02f6d34163e [2024-06-24T07:40:48.112Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-06-24T07:40:48.112Z] ---> Running in da178880b006 [2024-06-24T07:40:48.383Z] Removing intermediate container da178880b006 [2024-06-24T07:40:48.383Z] ---> e2ce4ae5e5ab [2024-06-24T07:40:48.383Z] Step 10/13 : COPY go.mod vendor* ./ [2024-06-24T07:40:48.983Z] ---> aab9911ea646 [2024-06-24T07:40:48.983Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-24T07:40:48.983Z] ---> Running in ee37b61b9a86 [2024-06-24T07:41:09.502Z] Removing intermediate container c2a650b58548 [2024-06-24T07:41:09.502Z] ---> 29c32f6fbc91 [2024-06-24T07:41:09.502Z] Step 14/27 : FROM alpine:3.18 [2024-06-24T07:41:09.502Z] 3.18: Pulling from library/alpine [2024-06-24T07:41:09.502Z] 73baa7ef167e: Pulling fs layer [2024-06-24T07:41:09.502Z] 73baa7ef167e: Verifying Checksum [2024-06-24T07:41:09.502Z] 73baa7ef167e: Download complete [2024-06-24T07:41:09.502Z] 73baa7ef167e: Pull complete [2024-06-24T07:41:09.502Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-24T07:41:09.502Z] Status: Downloaded newer image for alpine:3.18 [2024-06-24T07:41:09.502Z] ---> 8fd7cac70a4a [2024-06-24T07:41:09.502Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-06-24T07:41:09.502Z] ---> Running in e31f00ff389c [2024-06-24T07:41:09.502Z] Removing intermediate container e31f00ff389c [2024-06-24T07:41:09.502Z] ---> 369acc804992 [2024-06-24T07:41:09.502Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-06-24T07:41:09.502Z] ---> Running in 6290701ad567 [2024-06-24T07:41:09.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-24T07:41:09.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-24T07:41:09.502Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-24T07:41:09.502Z] Executing busybox-1.36.1-r7.trigger [2024-06-24T07:41:09.502Z] OK: 7 MiB in 16 packages [2024-06-24T07:41:09.502Z] Removing intermediate container 6290701ad567 [2024-06-24T07:41:09.502Z] ---> f07b196fd71d [2024-06-24T07:41:09.502Z] Step 17/27 : RUN apk --no-cache upgrade [2024-06-24T07:41:09.502Z] ---> Running in d33203532883 [2024-06-24T07:41:09.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-24T07:41:09.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-24T07:41:09.502Z] OK: 7 MiB in 16 packages [2024-06-24T07:41:09.502Z] Removing intermediate container d33203532883 [2024-06-24T07:41:09.502Z] ---> ee0e0ddd52a9 [2024-06-24T07:41:09.502Z] Step 18/27 : WORKDIR / [2024-06-24T07:41:09.502Z] ---> Running in 6dcc0e71214d [2024-06-24T07:41:09.502Z] Removing intermediate container 6dcc0e71214d [2024-06-24T07:41:09.502Z] ---> bd29a7e18d8b [2024-06-24T07:41:09.502Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-06-24T07:41:09.502Z] ---> ebcd9ba2952d [2024-06-24T07:41:09.502Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-06-24T07:41:09.502Z] ---> 9daa144069fc [2024-06-24T07:41:09.502Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-06-24T07:41:09.502Z] ---> 3f9f84e9c712 [2024-06-24T07:41:09.502Z] Step 22/27 : EXPOSE 59984 [2024-06-24T07:41:09.502Z] ---> Running in ad3bcae33712 [2024-06-24T07:41:09.502Z] Removing intermediate container ad3bcae33712 [2024-06-24T07:41:09.502Z] ---> c40137e98791 [2024-06-24T07:41:09.502Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-06-24T07:41:09.502Z] ---> Running in 33d3b81125fa [2024-06-24T07:41:09.502Z] Removing intermediate container 33d3b81125fa [2024-06-24T07:41:09.502Z] ---> 1747355b7e2b [2024-06-24T07:41:09.502Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-06-24T07:41:09.502Z] ---> Running in 958587805d98 [2024-06-24T07:41:09.502Z] Removing intermediate container 958587805d98 [2024-06-24T07:41:09.502Z] ---> 3f5ac94a8c23 [2024-06-24T07:41:09.503Z] Step 25/27 : LABEL arch=amd64 [2024-06-24T07:41:09.503Z] ---> Running in 973316bc4e66 [2024-06-24T07:41:09.503Z] Removing intermediate container 973316bc4e66 [2024-06-24T07:41:09.503Z] ---> 02e89070e877 [2024-06-24T07:41:09.503Z] Step 26/27 : LABEL git_sha=148173e56793d59c642abf1c928feddc1f2bdcc9 [2024-06-24T07:41:09.503Z] ---> Running in 5bd85302f61f [2024-06-24T07:41:09.503Z] Removing intermediate container 5bd85302f61f [2024-06-24T07:41:09.503Z] ---> 05e39770d683 [2024-06-24T07:41:09.503Z] Step 27/27 : LABEL version=0.0.0 [2024-06-24T07:41:09.503Z] ---> Running in af4153553c1b [2024-06-24T07:41:09.503Z] Removing intermediate container af4153553c1b [2024-06-24T07:41:09.503Z] ---> 39957747df36 [2024-06-24T07:41:09.503Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-24T07:41:09.503Z] Successfully built 39957747df36 [2024-06-24T07:41:09.503Z] 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 [2024-06-24T07:41:09.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-24T07:41:09.957Z] [2024-06-24T07:41:09.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T07:41:10.266Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-24T07:41:10.266Z] latest: Pulling from edgex-lftools-log-publisher [2024-06-24T07:41:10.266Z] 5eb5b503b376: Pulling fs layer [2024-06-24T07:41:10.266Z] 5c69ac0246d0: Pulling fs layer [2024-06-24T07:41:10.266Z] ec43610c2a17: Pulling fs layer [2024-06-24T07:41:10.266Z] 3a2ae6a8a46f: Pulling fs layer [2024-06-24T07:41:10.266Z] 33b1e0a273af: Pulling fs layer [2024-06-24T07:41:10.266Z] 5d3b04190fa2: Pulling fs layer [2024-06-24T07:41:10.266Z] 2f39f015ded8: Pulling fs layer [2024-06-24T07:41:10.266Z] 3a2ae6a8a46f: Waiting [2024-06-24T07:41:10.266Z] 33b1e0a273af: Waiting [2024-06-24T07:41:10.266Z] 5d3b04190fa2: Waiting [2024-06-24T07:41:10.266Z] 2f39f015ded8: Waiting [2024-06-24T07:41:10.266Z] 5c69ac0246d0: Verifying Checksum [2024-06-24T07:41:10.266Z] 5c69ac0246d0: Download complete [2024-06-24T07:41:10.266Z] 3a2ae6a8a46f: Download complete [2024-06-24T07:41:10.266Z] 33b1e0a273af: Verifying Checksum [2024-06-24T07:41:10.266Z] 33b1e0a273af: Download complete [2024-06-24T07:41:10.266Z] 5d3b04190fa2: Verifying Checksum [2024-06-24T07:41:10.266Z] 5d3b04190fa2: Download complete [2024-06-24T07:41:10.266Z] ec43610c2a17: Verifying Checksum [2024-06-24T07:41:10.266Z] ec43610c2a17: Download complete [2024-06-24T07:41:10.526Z] 5eb5b503b376: Verifying Checksum [2024-06-24T07:41:10.527Z] 5eb5b503b376: Download complete [2024-06-24T07:41:11.092Z] 2f39f015ded8: Download complete [2024-06-24T07:41:12.035Z] 5eb5b503b376: Pull complete [2024-06-24T07:41:12.299Z] 5c69ac0246d0: Pull complete [2024-06-24T07:41:12.557Z] ec43610c2a17: Pull complete [2024-06-24T07:41:12.821Z] 3a2ae6a8a46f: Pull complete [2024-06-24T07:41:12.822Z] 33b1e0a273af: Pull complete [2024-06-24T07:41:13.079Z] 5d3b04190fa2: Pull complete [2024-06-24T07:41:17.265Z] 2f39f015ded8: Pull complete [2024-06-24T07:41:17.265Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-06-24T07:41:17.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-24T07:41:17.265Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T07:41:17.380Z] prd-ubuntu20.04-docker-8c-8g-4230 does not seem to be running inside a container [2024-06-24T07:41:17.419Z] $ 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-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-06-24T07:41:18.653Z] $ docker top 638f611201667fd9ed8e14ab593ac772e7ea098fff800c9cdceca589a404d244 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-24T07:41:19.039Z] ---> job-cost.sh [2024-06-24T07:41:19.039Z] lf-activate-venv: SKIPPING [2024-06-24T07:41:19.039Z] INFO: No Stack... [2024-06-24T07:41:19.298Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-24T07:41:19.558Z] INFO: Archiving Costs [Pipeline] sh [2024-06-24T07:41:19.846Z] + cat /w/workspace/undry_device-onvif-camera_PR-438/archives/cost.csv [2024-06-24T07:41:19.846Z] + cut -d, -f6 [Pipeline] lock [2024-06-24T07:41:19.858Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] [2024-06-24T07:41:19.869Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] did not exist. Created. [2024-06-24T07:41:19.880Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-24T07:41:20.194Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-06-24T07:41:20.229Z] Stashed 1 file(s) [Pipeline] } [2024-06-24T07:41:20.243Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-24T07:41:20.281Z] $ docker stop --time=1 638f611201667fd9ed8e14ab593ac772e7ea098fff800c9cdceca589a404d244 [2024-06-24T07:41:21.501Z] $ docker rm -f --volumes 638f611201667fd9ed8e14ab593ac772e7ea098fff800c9cdceca589a404d244 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-06-24T07:42:40.668Z] Removing intermediate container ee37b61b9a86 [2024-06-24T07:42:40.668Z] ---> c75564d39575 [2024-06-24T07:42:40.668Z] Step 12/13 : COPY . . [2024-06-24T07:42:40.949Z] ---> 739b1d194a5f [2024-06-24T07:42:40.949Z] Step 13/13 : RUN ${MAKE} [2024-06-24T07:42:41.215Z] ---> Running in 42a8aabda003 [2024-06-24T07:42:42.171Z] noop [2024-06-24T07:42:42.752Z] Removing intermediate container 42a8aabda003 [2024-06-24T07:42:42.752Z] ---> 13daf3560f56 [2024-06-24T07:42:42.752Z] Successfully built 13daf3560f56 [2024-06-24T07:42:42.752Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T07:42:43.114Z] + docker inspect -f . ci-base-image-arm64 [2024-06-24T07:42:43.114Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T07:42:43.336Z] prd-ubuntu20.04-docker-arm64-4c-16g-4231 does not seem to be running inside a container [2024-06-24T07:42:43.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-06-24T07:42:44.733Z] $ docker top 631f27bd21299d5800c89f71974b53d459adb1ac5c775f7db55715757db87454 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-24T07:42:45.619Z] + go version [2024-06-24T07:42:45.619Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-06-24T07:42:45.639Z] $ docker stop --time=1 631f27bd21299d5800c89f71974b53d459adb1ac5c775f7db55715757db87454 [2024-06-24T07:42:47.305Z] $ docker rm -f --volumes 631f27bd21299d5800c89f71974b53d459adb1ac5c775f7db55715757db87454 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T07:42:47.870Z] + docker inspect -f . ci-base-image-arm64 [2024-06-24T07:42:47.870Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T07:42:48.079Z] prd-ubuntu20.04-docker-arm64-4c-16g-4231 does not seem to be running inside a container [2024-06-24T07:42:48.145Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-06-24T07:42:49.290Z] $ docker top 313fd97ffe3f2448dd4916a9bd9e0e5d24bf7cfafa0d3b9f4aa8203f465d0a8c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-24T07:42:50.172Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2024-06-24T07:42:50.824Z] + make test [2024-06-24T07:42:50.824Z] go test ./... -coverprofile=coverage.out ./... [2024-06-24T07:42:57.480Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-06-24T07:47:04.272Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-06-24T07:47:04.272Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-06-24T07:47:05.681Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.229s coverage: 31.4% of statements [2024-06-24T07:47:32.409Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.155s coverage: 86.5% of statements [2024-06-24T07:47:32.409Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-06-24T07:47:32.409Z] go vet ./... [2024-06-24T07:48:19.292Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-24T07:48:19.292Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-24T07:48:19.292Z] ./bin/test-attribution-txt.sh [2024-06-24T07:48:19.292Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-24T07:48:19.292Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-24T07:48:19.561Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-24T07:48:19.830Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-24T07:48:20.097Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-24T07:48:20.097Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-24T07:48:20.097Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-24T07:48:20.097Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-24T07:48:20.097Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-24T07:48:20.097Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-24T07:48:20.097Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-24T07:48:20.097Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-24T07:48:20.097Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-24T07:48:20.097Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-24T07:48:20.097Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-06-24T07:48:20.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-24T07:48:20.141Z] $ docker stop --time=1 313fd97ffe3f2448dd4916a9bd9e0e5d24bf7cfafa0d3b9f4aa8203f465d0a8c [2024-06-24T07:48:22.116Z] $ docker rm -f --volumes 313fd97ffe3f2448dd4916a9bd9e0e5d24bf7cfafa0d3b9f4aa8203f465d0a8c [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-24T07:48:23.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-24T07:48:23.845Z] Warning: overwriting stash ‘coverage-report’ [2024-06-24T07:48:24.395Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-24T07:48:24.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-24T07:48:25.113Z] + ls -al . [2024-06-24T07:48:25.113Z] total 308 [2024-06-24T07:48:25.113Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 07:42 . [2024-06-24T07:48:25.113Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:39 .. [2024-06-24T07:48:25.113Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 07:39 .git [2024-06-24T07:48:25.113Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 07:39 .github [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 493 Jun 24 07:39 .gitignore [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 07:39 .golangci.yml [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 11155 Jun 24 07:39 Attribution.txt [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 17665 Jun 24 07:39 CHANGELOG.md [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 1683 Jun 24 07:39 Dockerfile [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 07:39 GOVERNANCE.md [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 739 Jun 24 07:39 Jenkinsfile [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 24 07:39 LICENSE [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 2883 Jun 24 07:39 Makefile [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 24 07:39 OWNERS.md [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jun 24 07:39 README.md [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 07:38 VERSION [2024-06-24T07:48:25.113Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 07:39 bin [2024-06-24T07:48:25.113Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 07:39 cmd [2024-06-24T07:48:25.113Z] -rw-r--r-- 1 jenkins jenkins 78805 Jun 24 07:47 coverage.out [2024-06-24T07:48:25.113Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:39 doc [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 7387 Jun 24 07:39 go.mod [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 102689 Jun 24 07:39 go.sum [2024-06-24T07:48:25.113Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:39 internal [2024-06-24T07:48:25.113Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 24 07:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T07:48:25.468Z] + 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=148173e56793d59c642abf1c928feddc1f2bdcc9 --label arch=arm64 --label version=0.0.0 . [2024-06-24T07:48:26.059Z] Sending build context to Docker daemon 21.79MB [2024-06-24T07:48:26.059Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-06-24T07:48:26.059Z] Step 2/27 : FROM ${BASE} AS builder [2024-06-24T07:48:26.059Z] ---> 13daf3560f56 [2024-06-24T07:48:26.059Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-06-24T07:48:26.325Z] ---> Running in 97190d1e0970 [2024-06-24T07:48:26.593Z] Removing intermediate container 97190d1e0970 [2024-06-24T07:48:26.593Z] ---> 89a3e823807d [2024-06-24T07:48:26.593Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-24T07:48:26.593Z] ---> Running in 1224248dcbf9 [2024-06-24T07:48:27.178Z] Removing intermediate container 1224248dcbf9 [2024-06-24T07:48:27.178Z] ---> c1bdd8088951 [2024-06-24T07:48:27.178Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-06-24T07:48:27.178Z] ---> Running in d478e35cc34a [2024-06-24T07:48:27.445Z] Removing intermediate container d478e35cc34a [2024-06-24T07:48:27.445Z] ---> f9f1cb9abd3f [2024-06-24T07:48:27.445Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-06-24T07:48:27.445Z] ---> Running in 1aeac132cc36 [2024-06-24T07:48:27.712Z] Removing intermediate container 1aeac132cc36 [2024-06-24T07:48:27.712Z] ---> 658bf0df4ec2 [2024-06-24T07:48:27.712Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-06-24T07:48:27.981Z] ---> Running in 63dc5f59831d [2024-06-24T07:48:28.251Z] Removing intermediate container 63dc5f59831d [2024-06-24T07:48:28.251Z] ---> 456a201e9161 [2024-06-24T07:48:28.251Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-24T07:48:28.251Z] ---> Running in 89e5cef55bc2 [2024-06-24T07:48:29.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-24T07:48:29.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-24T07:48:30.749Z] OK: 266 MiB in 52 packages [2024-06-24T07:48:31.717Z] Removing intermediate container 89e5cef55bc2 [2024-06-24T07:48:31.717Z] ---> 1a29050ff518 [2024-06-24T07:48:31.717Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-06-24T07:48:31.717Z] ---> Running in 1a6f70024ba2 [2024-06-24T07:48:31.985Z] Removing intermediate container 1a6f70024ba2 [2024-06-24T07:48:31.985Z] ---> c8fc6a583746 [2024-06-24T07:48:31.985Z] Step 10/27 : COPY go.mod vendor* ./ [2024-06-24T07:48:32.570Z] ---> b4527fd4a8e0 [2024-06-24T07:48:32.570Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-24T07:48:32.570Z] ---> Running in ee3ef3f976a9 [2024-06-24T07:48:35.918Z] Removing intermediate container ee3ef3f976a9 [2024-06-24T07:48:35.918Z] ---> d4d317d59861 [2024-06-24T07:48:35.918Z] Step 12/27 : COPY . . [2024-06-24T07:48:36.879Z] ---> 33fde0992c08 [2024-06-24T07:48:36.879Z] Step 13/27 : RUN ${MAKE} [2024-06-24T07:48:36.879Z] ---> Running in 20c43033d8af [2024-06-24T07:48:38.292Z] 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.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-06-24T07:52:15.072Z] Removing intermediate container 20c43033d8af [2024-06-24T07:52:15.072Z] ---> 0c9c0db6e280 [2024-06-24T07:52:15.072Z] Step 14/27 : FROM alpine:3.18 [2024-06-24T07:52:15.072Z] 3.18: Pulling from library/alpine [2024-06-24T07:52:15.072Z] 5c905c7ebe2f: Pulling fs layer [2024-06-24T07:52:15.072Z] 5c905c7ebe2f: Verifying Checksum [2024-06-24T07:52:15.072Z] 5c905c7ebe2f: Download complete [2024-06-24T07:52:15.072Z] 5c905c7ebe2f: Pull complete [2024-06-24T07:52:15.072Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-24T07:52:15.072Z] Status: Downloaded newer image for alpine:3.18 [2024-06-24T07:52:15.072Z] ---> dec292d02e07 [2024-06-24T07:52:15.072Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-06-24T07:52:15.072Z] ---> Running in 5e9f8a897b9c [2024-06-24T07:52:15.072Z] Removing intermediate container 5e9f8a897b9c [2024-06-24T07:52:15.072Z] ---> 35cfadbd9a9e [2024-06-24T07:52:15.072Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-06-24T07:52:15.072Z] ---> Running in 4b6d579ffed4 [2024-06-24T07:52:15.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-24T07:52:15.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-24T07:52:15.072Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-24T07:52:15.072Z] Executing busybox-1.36.1-r7.trigger [2024-06-24T07:52:15.072Z] OK: 8 MiB in 16 packages [2024-06-24T07:52:15.072Z] Removing intermediate container 4b6d579ffed4 [2024-06-24T07:52:15.072Z] ---> c08ea42c06fe [2024-06-24T07:52:15.072Z] Step 17/27 : RUN apk --no-cache upgrade [2024-06-24T07:52:15.347Z] ---> Running in f762e90b8fce [2024-06-24T07:52:16.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-24T07:52:16.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-24T07:52:17.150Z] OK: 8 MiB in 16 packages [2024-06-24T07:52:18.108Z] Removing intermediate container f762e90b8fce [2024-06-24T07:52:18.109Z] ---> 022df5bbb88c [2024-06-24T07:52:18.109Z] Step 18/27 : WORKDIR / [2024-06-24T07:52:18.109Z] ---> Running in c34517f129aa [2024-06-24T07:52:18.374Z] Removing intermediate container c34517f129aa [2024-06-24T07:52:18.374Z] ---> 7f639736afc2 [2024-06-24T07:52:18.374Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-06-24T07:52:20.313Z] ---> 24fb64407ccf [2024-06-24T07:52:20.313Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-06-24T07:52:20.578Z] ---> 89d1d59986bb [2024-06-24T07:52:20.578Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-06-24T07:52:21.157Z] ---> 2c84e06e2c93 [2024-06-24T07:52:21.157Z] Step 22/27 : EXPOSE 59984 [2024-06-24T07:52:21.157Z] ---> Running in bb6e3db04452 [2024-06-24T07:52:21.422Z] Removing intermediate container bb6e3db04452 [2024-06-24T07:52:21.422Z] ---> 04167c5b1f93 [2024-06-24T07:52:21.422Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-06-24T07:52:21.422Z] ---> Running in 3e11791d28b1 [2024-06-24T07:52:21.689Z] Removing intermediate container 3e11791d28b1 [2024-06-24T07:52:21.689Z] ---> f511700b0792 [2024-06-24T07:52:21.689Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-06-24T07:52:21.689Z] ---> Running in c2c8002abf44 [2024-06-24T07:52:22.272Z] Removing intermediate container c2c8002abf44 [2024-06-24T07:52:22.272Z] ---> e5a0f8df82a8 [2024-06-24T07:52:22.272Z] Step 25/27 : LABEL arch=arm64 [2024-06-24T07:52:22.272Z] ---> Running in 39f222cae0c2 [2024-06-24T07:52:22.537Z] Removing intermediate container 39f222cae0c2 [2024-06-24T07:52:22.537Z] ---> 7ada88f5b8eb [2024-06-24T07:52:22.537Z] Step 26/27 : LABEL git_sha=148173e56793d59c642abf1c928feddc1f2bdcc9 [2024-06-24T07:52:22.537Z] ---> Running in 068ae4b99e89 [2024-06-24T07:52:22.803Z] Removing intermediate container 068ae4b99e89 [2024-06-24T07:52:22.803Z] ---> 74cd6beca1de [2024-06-24T07:52:22.803Z] Step 27/27 : LABEL version=0.0.0 [2024-06-24T07:52:22.803Z] ---> Running in c12a353989d2 [2024-06-24T07:52:23.068Z] Removing intermediate container c12a353989d2 [2024-06-24T07:52:23.068Z] ---> 46245e111072 [2024-06-24T07:52:23.068Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-24T07:52:23.068Z] Successfully built 46245e111072 [2024-06-24T07:52:23.330Z] 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 [2024-06-24T07:52:23.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-24T07:52:23.792Z] [2024-06-24T07:52:23.792Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T07:52:24.123Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-24T07:52:24.123Z] arm64: Pulling from edgex-lftools-log-publisher [2024-06-24T07:52:24.123Z] 8998bd30e6a1: Pulling fs layer [2024-06-24T07:52:24.123Z] 04944245beec: Pulling fs layer [2024-06-24T07:52:24.123Z] 699f458cf7ca: Pulling fs layer [2024-06-24T07:52:24.123Z] 765212b225bb: Pulling fs layer [2024-06-24T07:52:24.123Z] f23df028b6ca: Pulling fs layer [2024-06-24T07:52:24.123Z] d65c8cfc05b1: Pulling fs layer [2024-06-24T07:52:24.123Z] 2437ff75d9bd: Pulling fs layer [2024-06-24T07:52:24.123Z] 765212b225bb: Waiting [2024-06-24T07:52:24.123Z] f23df028b6ca: Waiting [2024-06-24T07:52:24.123Z] d65c8cfc05b1: Waiting [2024-06-24T07:52:24.392Z] 04944245beec: Verifying Checksum [2024-06-24T07:52:24.392Z] 04944245beec: Download complete [2024-06-24T07:52:24.392Z] 765212b225bb: Verifying Checksum [2024-06-24T07:52:24.392Z] 765212b225bb: Download complete [2024-06-24T07:52:24.392Z] f23df028b6ca: Verifying Checksum [2024-06-24T07:52:24.392Z] f23df028b6ca: Download complete [2024-06-24T07:52:24.392Z] d65c8cfc05b1: Verifying Checksum [2024-06-24T07:52:24.392Z] d65c8cfc05b1: Download complete [2024-06-24T07:52:24.392Z] 699f458cf7ca: Verifying Checksum [2024-06-24T07:52:24.392Z] 699f458cf7ca: Download complete [2024-06-24T07:52:24.973Z] 8998bd30e6a1: Verifying Checksum [2024-06-24T07:52:24.973Z] 8998bd30e6a1: Download complete [2024-06-24T07:52:27.540Z] 2437ff75d9bd: Verifying Checksum [2024-06-24T07:52:27.540Z] 2437ff75d9bd: Download complete [2024-06-24T07:52:29.471Z] 8998bd30e6a1: Pull complete [2024-06-24T07:52:30.047Z] 04944245beec: Pull complete [2024-06-24T07:52:31.445Z] 699f458cf7ca: Pull complete [2024-06-24T07:52:31.709Z] 765212b225bb: Pull complete [2024-06-24T07:52:32.662Z] f23df028b6ca: Pull complete [2024-06-24T07:52:32.662Z] d65c8cfc05b1: Pull complete [2024-06-24T07:52:50.841Z] 2437ff75d9bd: Pull complete [2024-06-24T07:52:50.841Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-06-24T07:52:50.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-24T07:52:50.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T07:52:51.045Z] prd-ubuntu20.04-docker-arm64-4c-16g-4231 does not seem to be running inside a container [2024-06-24T07:52:51.101Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-06-24T07:52:53.775Z] $ docker top a462c492aeff5dc63471327210bc7f543188016a5e45d02eabd2bf6e291c22a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-24T07:52:54.616Z] ---> job-cost.sh [2024-06-24T07:52:54.617Z] lf-activate-venv: SKIPPING [2024-06-24T07:52:54.617Z] INFO: No Stack... [2024-06-24T07:52:55.193Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-06-24T07:52:55.771Z] INFO: Archiving Costs [Pipeline] sh [2024-06-24T07:52:56.406Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2024-06-24T07:52:56.406Z] + cut -d, -f6 [Pipeline] lock [2024-06-24T07:52:56.455Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] [2024-06-24T07:52:56.469Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] did not exist. Created. [2024-06-24T07:52:56.479Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-24T07:52:57.128Z] /w/workspace/device-onvif-camera/2@tmp/durable-5aafd67f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-06-24T07:52:57.444Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-06-24T07:52:57.731Z] Warning: overwriting stash ‘stack-cost’ [2024-06-24T07:52:57.793Z] Stashed 1 file(s) [Pipeline] } [2024-06-24T07:52:57.801Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-24T07:52:57.828Z] $ docker stop --time=1 a462c492aeff5dc63471327210bc7f543188016a5e45d02eabd2bf6e291c22a8 [2024-06-24T07:52:59.302Z] $ docker rm -f --volumes a462c492aeff5dc63471327210bc7f543188016a5e45d02eabd2bf6e291c22a8 [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 [2024-06-24T07:52:59.729Z] provisioning config files... [2024-06-24T07:52:59.738Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config8880922117965471684tmp [Pipeline] { [Pipeline] sh [2024-06-24T07:53:00.050Z] + set +x [2024-06-24T07:53:00.050Z] + curl -s https://codecov.io/bash [2024-06-24T07:53:00.050Z] + bash -s -- [2024-06-24T07:53:00.050Z] [2024-06-24T07:53:00.050Z] _____ _ [2024-06-24T07:53:00.050Z] / ____| | | [2024-06-24T07:53:00.050Z] | | ___ __| | ___ ___ _____ __ [2024-06-24T07:53:00.050Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-06-24T07:53:00.050Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-06-24T07:53:00.050Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-06-24T07:53:00.050Z] Bash-1.0.6 [2024-06-24T07:53:00.050Z] [2024-06-24T07:53:00.050Z] [2024-06-24T07:53:00.050Z] ==> git version 2.25.1 found [2024-06-24T07:53:00.050Z] ==> 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 [2024-06-24T07:53:00.050Z] Release-Date: 2020-01-08 [2024-06-24T07:53:00.050Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-06-24T07:53:00.050Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-06-24T07:53:00.050Z] ==> Jenkins CI detected. [2024-06-24T07:53:00.050Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-438 [2024-06-24T07:53:00.050Z] project root: . [2024-06-24T07:53:00.050Z] --> token set from env [2024-06-24T07:53:00.050Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-06-24T07:53:00.050Z] ==> Running gcov in . (disable via -X gcov) [2024-06-24T07:53:00.050Z] ==> Python coveragepy not found [2024-06-24T07:53:00.050Z] ==> Searching for coverage reports in: [2024-06-24T07:53:00.050Z] + . [2024-06-24T07:53:00.050Z] -> Found 1 reports [2024-06-24T07:53:00.050Z] ==> Detecting git/mercurial file structure [2024-06-24T07:53:00.050Z] ==> Reading reports [2024-06-24T07:53:00.050Z] + ./coverage.out bytes=78805 [2024-06-24T07:53:00.050Z] ==> Appending adjustments [2024-06-24T07:53:00.050Z] https://docs.codecov.io/docs/fixing-reports [2024-06-24T07:53:00.310Z] + Found adjustments [2024-06-24T07:53:00.310Z] ==> Gzipping contents [2024-06-24T07:53:00.310Z] 12K /tmp/codecov.5ODXVx.gz [2024-06-24T07:53:00.310Z] ==> Uploading reports [2024-06-24T07:53:00.310Z] url: https://codecov.io [2024-06-24T07:53:00.310Z] query: branch=PR-438&commit=148173e56793d59c642abf1c928feddc1f2bdcc9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-438%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=438&job=&cmd_args= [2024-06-24T07:53:00.310Z] -> Pinging Codecov [2024-06-24T07:53:00.310Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-438&commit=148173e56793d59c642abf1c928feddc1f2bdcc9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-438%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=438&job=&cmd_args= [2024-06-24T07:53:00.310Z] -> Uploading to [2024-06-24T07:53:00.310Z] https://storage.googleapis.com/codecov/v4/raw/2024-06-24/F29A59C45E3A92E06B3E522C9905F8EF/148173e56793d59c642abf1c928feddc1f2bdcc9/74cb368c-278a-4c10-ac7e-800489c84f8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240624%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240624T075300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c91c2afeaf985cacfd52625d02bfdc66b55d7c2882cc62b3ae2aeedc1434b71d [2024-06-24T07:53:00.310Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-24T07:53:00.310Z] Dload Upload Total Spent Left Speed [2024-06-24T07:53:00.571Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 51485 --:--:-- --:--:-- --:--:-- 51231 100 10400 0 0 100 10400 0 46846 --:--:-- --:--:-- --:--:-- 46636 [2024-06-24T07:53:00.571Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/148173e56793d59c642abf1c928feddc1f2bdcc9 [Pipeline] } [2024-06-24T07:53:00.578Z] 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 [2024-06-24T07:53:01.436Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-438/archives ] [2024-06-24T07:53:01.436Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-438/archives [2024-06-24T07:53:01.436Z] total 16 [2024-06-24T07:53:01.436Z] drwxr-xr-x 3 root root 4096 Jun 24 07:41 . [2024-06-24T07:53:01.436Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 07:41 .. [2024-06-24T07:53:01.436Z] drwxr-xr-x 2 root root 4096 Jun 24 07:41 cost [2024-06-24T07:53:01.436Z] -rw-r--r-- 1 root root 91 Jun 24 07:41 cost.csv [2024-06-24T07:53:01.436Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-438/archives [2024-06-24T07:53:01.436Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-438/archives [2024-06-24T07:53:01.436Z] total 16 [2024-06-24T07:53:01.436Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 07:41 . [2024-06-24T07:53:01.436Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 07:41 .. [2024-06-24T07:53:01.436Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 07:41 cost [2024-06-24T07:53:01.436Z] -rw-r--r-- 1 jenkins jenkins 91 Jun 24 07:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-06-24T07:53:01.729Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-24T07:53:02.590Z] ---> package-listing.sh [2024-06-24T07:53:02.590Z] ++ facter osfamily [2024-06-24T07:53:02.590Z] ++ tr '[:upper:]' '[:lower:]' [2024-06-24T07:53:02.850Z] + OS_FAMILY=debian [2024-06-24T07:53:02.850Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-438 [2024-06-24T07:53:02.850Z] + START_PACKAGES=/tmp/packages_start.txt [2024-06-24T07:53:02.850Z] + END_PACKAGES=/tmp/packages_end.txt [2024-06-24T07:53:02.850Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-06-24T07:53:02.850Z] + PACKAGES=/tmp/packages_start.txt [2024-06-24T07:53:02.850Z] + '[' /w/workspace/undry_device-onvif-camera_PR-438 ']' [2024-06-24T07:53:02.850Z] + PACKAGES=/tmp/packages_end.txt [2024-06-24T07:53:02.850Z] + case "${OS_FAMILY}" in [2024-06-24T07:53:02.850Z] + dpkg -l [2024-06-24T07:53:02.850Z] + grep '^ii' [2024-06-24T07:53:02.850Z] + '[' -f /tmp/packages_start.txt ']' [2024-06-24T07:53:02.850Z] + '[' -f /tmp/packages_end.txt ']' [2024-06-24T07:53:02.850Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-06-24T07:53:02.850Z] + '[' /w/workspace/undry_device-onvif-camera_PR-438 ']' [2024-06-24T07:53:02.850Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-438/archives/ [2024-06-24T07:53:02.850Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-438/archives/ [Pipeline] echo [2024-06-24T07:53:02.861Z] 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-438/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-06-24T07:53:03.139Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T07:53:03.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-24T07:53:03.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T07:53:03.888Z] prd-ubuntu20.04-docker-8c-8g-4230 does not seem to be running inside a container [2024-06-24T07:53:04.038Z] $ 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-438/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-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-06-24T07:53:04.278Z] $ docker top 1272c7c10d23320cd9436053857008b72c107f4e133bf4bd84fba6b26a5ad544 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-24T07:53:04.609Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-06-24T07:53:04.896Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-06-24T07:53:05.179Z] + ls /var/log/sa-host [2024-06-24T07:53:05.179Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-24T07:53:05.340Z] provisioning config files... [2024-06-24T07:53:05.349Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config9106912827273621840tmp [Pipeline] { [Pipeline] echo [2024-06-24T07:53:05.372Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-24T07:53:05.651Z] ---> create-netrc.sh [Pipeline] } [2024-06-24T07:53:05.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-06-24T07:53:05.994Z] ---> python-tools-install.sh [Pipeline] echo [2024-06-24T07:53:06.003Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-24T07:53:06.284Z] ---> sudo-logs.sh [2024-06-24T07:53:06.284Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-06-24T07:53:06.311Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-24T07:53:06.595Z] ---> job-cost.sh [2024-06-24T07:53:06.595Z] lf-activate-venv: SKIPPING [2024-06-24T07:53:06.595Z] DEBUG: total: 0.2199999988079071 [2024-06-24T07:53:06.595Z] INFO: Retrieving Stack Cost... [2024-06-24T07:53:07.162Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-24T07:53:07.421Z] INFO: Archiving Costs [Pipeline] echo [2024-06-24T07:53:07.432Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-24T07:53:07.711Z] ---> logs-deploy.sh [2024-06-24T07:53:07.711Z] lf-activate-venv: SKIPPING [2024-06-24T07:53:07.711Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-438/2 [2024-06-24T07:53:07.711Z] INFO: archiving workspace using pattern(s): [2024-06-24T07:53:08.644Z] Archives upload complete. [2024-06-24T07:53:08.644Z] INFO: archiving logs to Nexus