Pull request #442 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 58a46464b097f2687050cc69c23bce9f593b5f18+4403bb01aaef0144ea9be46ab10d7e2cec719e21 (ff13488edc807500f1efdfa7f8d7f664a8b18ef8) 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-ssh10277897130497482741.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-ssh532870907204511748.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9959911812063386701.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9603863151534211775.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14737586950246772295.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17496312081246825379.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4871 in /w/workspace/undry_device-onvif-camera_PR-442 [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-442 # 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 4403bb01aaef0144ea9be46ab10d7e2cec719e21 into PR head commit 58a46464b097f2687050cc69c23bce9f593b5f18 Merge succeeded, producing 58a46464b097f2687050cc69c23bce9f593b5f18 Checking out Revision 58a46464b097f2687050cc69c23bce9f593b5f18 (PR-442) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config 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/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58a46464b097f2687050cc69c23bce9f593b5f18 # 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 4403bb01aaef0144ea9be46ab10d7e2cec719e21 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58a46464b097f2687050cc69c23bce9f593b5f18 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-03T04:00:06.897Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-03T04:00:07.128Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-03T04:00:07.250Z] ========================================================= [2024-07-03T04:00:07.250Z] EdgeX Global Pipelines Version Info [2024-07-03T04:00:07.250Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-03T04:00:08.009Z] ------------------- [2024-07-03T04:00:08.009Z] stable info: [2024-07-03T04:00:08.009Z] ------------------- [2024-07-03T04:00:08.009Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-03T04:00:08.009Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-03T04:00:08.009Z] Message: update stable to v1.0.260 [2024-07-03T04:00:08.577Z] ------------------- [2024-07-03T04:00:08.577Z] experimental info: [2024-07-03T04:00:08.577Z] ------------------- [2024-07-03T04:00:08.577Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-03T04:00:08.577Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-03T04:00:08.577Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-03T04:00:08.785Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-07-03T04:00:08.846Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-07-03T04:00:08.899Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-03T04:00:08.958Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-03T04:00:09.020Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-03T04:00:09.080Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-03T04:00:09.137Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-03T04:00:09.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-03T04:00:09.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-03T04:00:09.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-03T04:00:09.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-03T04:00:09.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-07-03T04:00:09.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-03T04:00:09.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-03T04:00:09.748Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-03T04:00:09.810Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-03T04:00:09.870Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-03T04:00:09.927Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-03T04:00:09.982Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-03T04:00:10.036Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-03T04:00:10.097Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-03T04:00:10.163Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-07-03T04:00:10.230Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-03T04:00:10.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-03T04:00:10.352Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-03T04:00:10.411Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-03T04:00:10.475Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-03T04:00:10.537Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-442 [Pipeline] echo [2024-07-03T04:00:10.600Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-442 [Pipeline] echo [2024-07-03T04:00:10.665Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-442 [Pipeline] echo [2024-07-03T04:00:10.725Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58a46464b097f2687050cc69c23bce9f593b5f18 [Pipeline] echo [2024-07-03T04:00:10.861Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58a4646 [Pipeline] echo [2024-07-03T04:00:10.953Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T04:00:11.101Z] provisioning config files... [2024-07-03T04:00:11.115Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-442@tmp/config12340329697611982261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T04:00:11.520Z] ---> ****-login.sh [2024-07-03T04:00:11.520Z] nexus3.edgexfoundry.org:10001 [2024-07-03T04:00:11.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:00:11.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:00:11.781Z] Configure a credential helper to remove this warning. See [2024-07-03T04:00:11.781Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:00:11.781Z] [2024-07-03T04:00:11.781Z] Login Succeeded [2024-07-03T04:00:11.781Z] nexus3.edgexfoundry.org:10002 [2024-07-03T04:00:12.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:00:12.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:00:12.044Z] Configure a credential helper to remove this warning. See [2024-07-03T04:00:12.044Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:00:12.044Z] [2024-07-03T04:00:12.044Z] Login Succeeded [2024-07-03T04:00:12.044Z] nexus3.edgexfoundry.org:10003 [2024-07-03T04:00:12.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:00:12.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:00:12.045Z] Configure a credential helper to remove this warning. See [2024-07-03T04:00:12.045Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:00:12.045Z] [2024-07-03T04:00:12.045Z] Login Succeeded [2024-07-03T04:00:12.045Z] nexus3.edgexfoundry.org:10004 [2024-07-03T04:00:12.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:00:12.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:00:12.307Z] Configure a credential helper to remove this warning. See [2024-07-03T04:00:12.307Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:00:12.307Z] [2024-07-03T04:00:12.307Z] Login Succeeded [2024-07-03T04:00:12.307Z] ****.io [2024-07-03T04:00:12.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:00:12.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:00:12.567Z] Configure a credential helper to remove this warning. See [2024-07-03T04:00:12.567Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:00:12.567Z] [2024-07-03T04:00:12.567Z] Login Succeeded [2024-07-03T04:00:12.568Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T04:00:12.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-03T04:00:13.438Z] + git rev-list -1 --merges 58a46464b097f2687050cc69c23bce9f593b5f18~1..58a46464b097f2687050cc69c23bce9f593b5f18 [Pipeline] echo [2024-07-03T04:00:13.486Z] -----------> git rev-list -1 --merges 58a46464b097f2687050cc69c23bce9f593b5f18~1..58a46464b097f2687050cc69c23bce9f593b5f18 58a46464b097f2687050cc69c23bce9f593b5f18 [false] [Pipeline] sh [2024-07-03T04:00:13.816Z] + git log --format=format:%s -1 58a46464b097f2687050cc69c23bce9f593b5f18 [Pipeline] echo [2024-07-03T04:00:13.858Z] ========================================================= [2024-07-03T04:00:13.858Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-03T04:00:13.858Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T04:00:14.457Z] + git log --format=format:%s -1 58a46464b097f2687050cc69c23bce9f593b5f18 [Pipeline] echo [2024-07-03T04:00:14.498Z] [semverPrep] GIT_COMMIT: 58a46464b097f2687050cc69c23bce9f593b5f18, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-03T04:00:14.541Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-03T04:00:14.968Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-03T04:00:14.969Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-03T04:00:14.969Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-03T04:00:14.969Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-03T04:00:14.969Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-03T04:00:14.969Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-03T04:00:14.969Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T04:00:15.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T04:00:15.510Z] [2024-07-03T04:00:15.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T04:00:15.912Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T04:00:15.912Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-03T04:00:15.912Z] b85a868b505f: Pulling fs layer [2024-07-03T04:00:15.912Z] e2be974225ed: Pulling fs layer [2024-07-03T04:00:15.912Z] 339a4e72a1f5: Pulling fs layer [2024-07-03T04:00:15.912Z] 988bab9f4d93: Pulling fs layer [2024-07-03T04:00:15.912Z] 1469e6f7b9e6: Pulling fs layer [2024-07-03T04:00:15.912Z] eaf3925da568: Pulling fs layer [2024-07-03T04:00:15.912Z] bab4dde63d76: Pulling fs layer [2024-07-03T04:00:15.912Z] bde34c3a00c8: Pulling fs layer [2024-07-03T04:00:15.912Z] b352a97aabf1: Pulling fs layer [2024-07-03T04:00:15.912Z] 4872d77fe225: Pulling fs layer [2024-07-03T04:00:15.912Z] 5851b861e8e6: Pulling fs layer [2024-07-03T04:00:15.912Z] bab4dde63d76: Waiting [2024-07-03T04:00:15.912Z] 988bab9f4d93: Waiting [2024-07-03T04:00:15.912Z] 1469e6f7b9e6: Waiting [2024-07-03T04:00:15.912Z] bde34c3a00c8: Waiting [2024-07-03T04:00:15.912Z] b352a97aabf1: Waiting [2024-07-03T04:00:15.912Z] eaf3925da568: Waiting [2024-07-03T04:00:15.912Z] 4872d77fe225: Waiting [2024-07-03T04:00:15.912Z] 5851b861e8e6: Waiting [2024-07-03T04:00:15.912Z] e2be974225ed: Download complete [2024-07-03T04:00:15.912Z] 988bab9f4d93: Verifying Checksum [2024-07-03T04:00:16.172Z] 1469e6f7b9e6: Verifying Checksum [2024-07-03T04:00:16.172Z] 1469e6f7b9e6: Download complete [2024-07-03T04:00:16.172Z] eaf3925da568: Verifying Checksum [2024-07-03T04:00:16.172Z] eaf3925da568: Download complete [2024-07-03T04:00:16.172Z] 339a4e72a1f5: Verifying Checksum [2024-07-03T04:00:16.172Z] 339a4e72a1f5: Download complete [2024-07-03T04:00:16.172Z] bde34c3a00c8: Verifying Checksum [2024-07-03T04:00:16.172Z] bde34c3a00c8: Download complete [2024-07-03T04:00:16.172Z] b352a97aabf1: Verifying Checksum [2024-07-03T04:00:16.172Z] b352a97aabf1: Download complete [2024-07-03T04:00:16.172Z] 4872d77fe225: Download complete [2024-07-03T04:00:16.172Z] 5851b861e8e6: Download complete [2024-07-03T04:00:16.172Z] b85a868b505f: Verifying Checksum [2024-07-03T04:00:16.172Z] b85a868b505f: Download complete [2024-07-03T04:00:16.433Z] bab4dde63d76: Download complete [2024-07-03T04:00:17.826Z] b85a868b505f: Pull complete [2024-07-03T04:00:17.826Z] e2be974225ed: Pull complete [2024-07-03T04:00:18.087Z] 339a4e72a1f5: Pull complete [2024-07-03T04:00:18.345Z] 988bab9f4d93: Pull complete [2024-07-03T04:00:18.605Z] 1469e6f7b9e6: Pull complete [2024-07-03T04:00:18.605Z] eaf3925da568: Pull complete [2024-07-03T04:00:20.516Z] bab4dde63d76: Pull complete [2024-07-03T04:00:20.516Z] bde34c3a00c8: Pull complete [2024-07-03T04:00:20.516Z] b352a97aabf1: Pull complete [2024-07-03T04:00:20.516Z] 4872d77fe225: Pull complete [2024-07-03T04:00:20.777Z] 5851b861e8e6: Pull complete [2024-07-03T04:00:20.777Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-03T04:00:20.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T04:00:20.777Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T04:00:21.251Z] prd-ubuntu20.04-docker-8c-8g-4871 does not seem to be running inside a container [2024-07-03T04:00:21.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-442 -v /w/workspace/undry_device-onvif-camera_PR-442:/w/workspace/undry_device-onvif-camera_PR-442:rw,z -v /w/workspace/undry_device-onvif-camera_PR-442@tmp:/w/workspace/undry_device-onvif-camera_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-03T04:00:24.392Z] $ docker top 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b -eo pid,comm [2024-07-03T04:00:24.459Z] 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-07-03T04:00:24.460Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-03T04:00:24.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-03T04:00:24.621Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-03T04:00:24.753Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-03T04:00:24.749Z] $ docker exec 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b ssh-agent [2024-07-03T04:00:24.866Z] SSH_AUTH_SOCK=/tmp/ssh-CHvLBQbaonzX/agent.32 [2024-07-03T04:00:24.866Z] SSH_AGENT_PID=38 [2024-07-03T04:00:24.875Z] Running ssh-add (command line suppressed) [2024-07-03T04:00:24.973Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-442@tmp/private_key_16057671856722932998.key (/w/workspace/undry_device-onvif-camera_PR-442@tmp/private_key_16057671856722932998.key) [2024-07-03T04:00:24.992Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-03T04:00:25.366Z] + git tag --points-at HEAD [Pipeline] } [2024-07-03T04:00:25.386Z] $ docker exec --env ******** --env ******** 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b ssh-agent -k [2024-07-03T04:00:25.486Z] unset SSH_AUTH_SOCK; [2024-07-03T04:00:25.488Z] unset SSH_AGENT_PID; [2024-07-03T04:00:25.488Z] echo Agent pid 38 killed; [2024-07-03T04:00:25.504Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-03T04:00:25.620Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-03T04:00:25.620Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-03T04:00:25.729Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-03T04:00:25.726Z] $ docker exec 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b ssh-agent [2024-07-03T04:00:25.838Z] SSH_AUTH_SOCK=/tmp/ssh-YTx5QRQrU4Kc/agent.72 [2024-07-03T04:00:25.838Z] SSH_AGENT_PID=78 [2024-07-03T04:00:25.843Z] Running ssh-add (command line suppressed) [2024-07-03T04:00:25.946Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-442@tmp/private_key_5732316390567772695.key (/w/workspace/undry_device-onvif-camera_PR-442@tmp/private_key_5732316390567772695.key) [2024-07-03T04:00:25.966Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-03T04:00:26.304Z] + git semver init [2024-07-03T04:00:26.565Z] 2024-07-03 04:00:26,476 [run_init] DEBUG init version:0.0.0 force:False [2024-07-03T04:00:26.565Z] 2024-07-03 04:00:26,477 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-442/.semver [2024-07-03T04:00:26.566Z] 2024-07-03 04:00:26,477 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-442/.semver [2024-07-03T04:00:26.566Z] 2024-07-03 04:00:26,478 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-442/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-442, universal_newlines=False, shell=None, istream=None) [2024-07-03T04:00:27.945Z] 2024-07-03 04:00:27,746 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-442/.git/info/exclude [2024-07-03T04:00:27.945Z] 2024-07-03 04:00:27,746 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-442/.semver/PR-442 with force:False [2024-07-03T04:00:27.945Z] 2024-07-03 04:00:27,746 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-442/.semver/PR-442 [2024-07-03T04:00:27.945Z] 2024-07-03 04:00:27,751 [execute] INFO git cat-file --batch-check [2024-07-03T04:00:27.945Z] 2024-07-03 04:00:27,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-442/.semver, universal_newlines=False, shell=None, istream=) [2024-07-03T04:00:27.945Z] 2024-07-03 04:00:27,757 [execute] INFO git cat-file --batch [2024-07-03T04:00:27.945Z] 2024-07-03 04:00:27,757 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-442/.semver, universal_newlines=False, shell=None, istream=) [2024-07-03T04:00:27.945Z] 2024-07-03 04:00:27,763 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-442/.semver/PR-442 [2024-07-03T04:00:27.945Z] 0.0.0 [Pipeline] } [2024-07-03T04:00:27.967Z] $ docker exec --env ******** --env ******** 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b ssh-agent -k [2024-07-03T04:00:28.067Z] unset SSH_AUTH_SOCK; [2024-07-03T04:00:28.068Z] unset SSH_AGENT_PID; [2024-07-03T04:00:28.068Z] echo Agent pid 78 killed; [2024-07-03T04:00:28.080Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-03T04:00:28.629Z] + git semver [Pipeline] } [2024-07-03T04:00:28.914Z] $ docker stop --time=1 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b [2024-07-03T04:00:30.203Z] $ docker rm -f --volumes 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T04:00:30.630Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-03T04:00:30.978Z] Stashed 1 file(s) [Pipeline] echo [2024-07-03T04:00:31.004Z] [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-07-03T04:00:31.748Z] provisioning config files... [2024-07-03T04:00:31.760Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-442@tmp/config7745478762736691226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T04:00:32.141Z] ---> ****-login.sh [2024-07-03T04:00:32.141Z] nexus3.edgexfoundry.org:10001 [2024-07-03T04:00:32.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:00:32.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:00:32.141Z] Configure a credential helper to remove this warning. See [2024-07-03T04:00:32.141Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:00:32.141Z] [2024-07-03T04:00:32.141Z] Login Succeeded [2024-07-03T04:00:32.141Z] nexus3.edgexfoundry.org:10002 [2024-07-03T04:00:32.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:00:32.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:00:32.142Z] Configure a credential helper to remove this warning. See [2024-07-03T04:00:32.142Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:00:32.142Z] [2024-07-03T04:00:32.142Z] Login Succeeded [2024-07-03T04:00:32.142Z] nexus3.edgexfoundry.org:10003 [2024-07-03T04:00:32.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:00:32.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:00:32.404Z] Configure a credential helper to remove this warning. See [2024-07-03T04:00:32.404Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:00:32.404Z] [2024-07-03T04:00:32.404Z] Login Succeeded [2024-07-03T04:00:32.404Z] nexus3.edgexfoundry.org:10004 [2024-07-03T04:00:32.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:00:32.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:00:32.404Z] Configure a credential helper to remove this warning. See [2024-07-03T04:00:32.404Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:00:32.404Z] [2024-07-03T04:00:32.404Z] Login Succeeded [2024-07-03T04:00:32.404Z] ****.io [2024-07-03T04:00:32.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:00:32.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:00:32.663Z] Configure a credential helper to remove this warning. See [2024-07-03T04:00:32.663Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:00:32.663Z] [2024-07-03T04:00:32.663Z] Login Succeeded [2024-07-03T04:00:32.663Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T04:00:32.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-03T04:00:33.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T04:00:33.077Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T04:00:33.125Z] ========================================================= [2024-07-03T04:00:33.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-03T04:00:33.125Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T04:00:33.640Z] + 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-07-03T04:00:33.640Z] Sending build context to Docker daemon 36.6MB [2024-07-03T04:00:33.640Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T04:00:33.640Z] Step 2/13 : FROM ${BASE} AS builder [2024-07-03T04:00:33.898Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-03T04:00:33.898Z] 619be1103602: Pulling fs layer [2024-07-03T04:00:33.898Z] 7862e08f4a3e: Pulling fs layer [2024-07-03T04:00:33.898Z] 5df492c9dc93: Pulling fs layer [2024-07-03T04:00:33.898Z] 7629e6793208: Pulling fs layer [2024-07-03T04:00:33.898Z] 4f4fb700ef54: Pulling fs layer [2024-07-03T04:00:33.898Z] fb5054dd5b73: Pulling fs layer [2024-07-03T04:00:33.898Z] 7629e6793208: Waiting [2024-07-03T04:00:33.898Z] 4f4fb700ef54: Waiting [2024-07-03T04:00:33.898Z] eeca6798cff9: Pulling fs layer [2024-07-03T04:00:33.898Z] aa269ceb94a6: Pulling fs layer [2024-07-03T04:00:33.898Z] fb5054dd5b73: Waiting [2024-07-03T04:00:33.898Z] eeca6798cff9: Waiting [2024-07-03T04:00:33.898Z] ada007ff1a6a: Pulling fs layer [2024-07-03T04:00:33.898Z] aa269ceb94a6: Waiting [2024-07-03T04:00:33.898Z] 7862e08f4a3e: Verifying Checksum [2024-07-03T04:00:33.898Z] 7862e08f4a3e: Download complete [2024-07-03T04:00:33.898Z] 7629e6793208: Verifying Checksum [2024-07-03T04:00:33.898Z] 7629e6793208: Download complete [2024-07-03T04:00:33.898Z] 4f4fb700ef54: Download complete [2024-07-03T04:00:33.898Z] fb5054dd5b73: Download complete [2024-07-03T04:00:33.898Z] 619be1103602: Verifying Checksum [2024-07-03T04:00:33.898Z] 619be1103602: Download complete [2024-07-03T04:00:33.898Z] eeca6798cff9: Verifying Checksum [2024-07-03T04:00:33.898Z] eeca6798cff9: Download complete [2024-07-03T04:00:34.156Z] 619be1103602: Pull complete [2024-07-03T04:00:34.157Z] 7862e08f4a3e: Pull complete [2024-07-03T04:00:34.157Z] ada007ff1a6a: Download complete [2024-07-03T04:00:34.415Z] 5df492c9dc93: Verifying Checksum [2024-07-03T04:00:34.415Z] 5df492c9dc93: Download complete [2024-07-03T04:00:34.982Z] aa269ceb94a6: Verifying Checksum [2024-07-03T04:00:37.527Z] 5df492c9dc93: Pull complete [2024-07-03T04:00:37.527Z] 7629e6793208: Pull complete [2024-07-03T04:00:37.787Z] 4f4fb700ef54: Pull complete [2024-07-03T04:00:37.787Z] fb5054dd5b73: Pull complete [2024-07-03T04:00:37.787Z] eeca6798cff9: Pull complete [2024-07-03T04:00:40.518Z] aa269ceb94a6: Pull complete [2024-07-03T04:00:40.518Z] ada007ff1a6a: Pull complete [2024-07-03T04:00:40.518Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-03T04:00:40.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-03T04:00:40.518Z] ---> f489d0715acc [2024-07-03T04:00:40.518Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-07-03T04:00:45.793Z] ---> Running in cc92e58a89c8 [2024-07-03T04:00:45.793Z] Removing intermediate container cc92e58a89c8 [2024-07-03T04:00:45.793Z] ---> fe430c65ba17 [2024-07-03T04:00:45.793Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T04:00:45.793Z] ---> Running in 119183cfbe2e [2024-07-03T04:00:45.793Z] Removing intermediate container 119183cfbe2e [2024-07-03T04:00:45.793Z] ---> 1a854d46741e [2024-07-03T04:00:45.793Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-07-03T04:00:45.793Z] ---> Running in 4a5c6443e135 [2024-07-03T04:00:45.793Z] Removing intermediate container 4a5c6443e135 [2024-07-03T04:00:45.793Z] ---> 2fe301b65547 [2024-07-03T04:00:45.793Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-07-03T04:00:45.793Z] ---> Running in d512188e9048 [2024-07-03T04:00:45.793Z] Removing intermediate container d512188e9048 [2024-07-03T04:00:45.793Z] ---> 6d893d78afb0 [2024-07-03T04:00:45.793Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-07-03T04:00:45.793Z] ---> Running in 02720c75d41e [2024-07-03T04:00:45.793Z] Removing intermediate container 02720c75d41e [2024-07-03T04:00:45.793Z] ---> 28c0aea75e97 [2024-07-03T04:00:45.793Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-03T04:00:45.793Z] ---> Running in f41b41ee6b57 [2024-07-03T04:00:45.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T04:00:46.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T04:00:46.309Z] OK: 264 MiB in 52 packages [2024-07-03T04:00:46.525Z] Still waiting to schedule task [2024-07-03T04:00:46.525Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-03T04:00:46.567Z] Removing intermediate container f41b41ee6b57 [2024-07-03T04:00:46.567Z] ---> 7936d532b381 [2024-07-03T04:00:46.567Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-07-03T04:00:46.567Z] ---> Running in 9c077521a296 [2024-07-03T04:00:46.567Z] Removing intermediate container 9c077521a296 [2024-07-03T04:00:46.567Z] ---> be6921993d81 [2024-07-03T04:00:46.567Z] Step 10/13 : COPY go.mod vendor* ./ [2024-07-03T04:00:46.825Z] ---> c0b6ae20bbd4 [2024-07-03T04:00:46.825Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T04:00:46.825Z] ---> Running in b77a11f09b48 [2024-07-03T04:01:54.575Z] Removing intermediate container b77a11f09b48 [2024-07-03T04:01:54.575Z] ---> a27771331935 [2024-07-03T04:01:54.575Z] Step 12/13 : COPY . . [2024-07-03T04:01:54.575Z] ---> 9dae28bd2547 [2024-07-03T04:01:54.575Z] Step 13/13 : RUN ${MAKE} [2024-07-03T04:01:54.575Z] ---> Running in 9bdaded0d408 [2024-07-03T04:01:54.575Z] noop [2024-07-03T04:01:54.575Z] Removing intermediate container 9bdaded0d408 [2024-07-03T04:01:54.575Z] ---> 283d1bcae084 [2024-07-03T04:01:54.575Z] Successfully built 283d1bcae084 [2024-07-03T04:01:54.575Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T04:01:55.062Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-03T04:01:55.062Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T04:01:55.220Z] prd-ubuntu20.04-docker-8c-8g-4871 does not seem to be running inside a container [2024-07-03T04:01:55.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-442 -v /w/workspace/undry_device-onvif-camera_PR-442:/w/workspace/undry_device-onvif-camera_PR-442:rw,z -v /w/workspace/undry_device-onvif-camera_PR-442@tmp:/w/workspace/undry_device-onvif-camera_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-03T04:01:55.578Z] $ docker top cad5e768709490121cb79e07237c196cbd471704e3ec090394207c98dc31c229 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T04:01:55.961Z] + go version [2024-07-03T04:01:55.961Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-03T04:01:55.998Z] $ docker stop --time=1 cad5e768709490121cb79e07237c196cbd471704e3ec090394207c98dc31c229 [2024-07-03T04:01:57.298Z] $ docker rm -f --volumes cad5e768709490121cb79e07237c196cbd471704e3ec090394207c98dc31c229 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T04:01:58.131Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-03T04:01:58.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T04:01:58.309Z] prd-ubuntu20.04-docker-8c-8g-4871 does not seem to be running inside a container [2024-07-03T04:01:58.344Z] $ 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-442 -v /w/workspace/undry_device-onvif-camera_PR-442:/w/workspace/undry_device-onvif-camera_PR-442:rw,z -v /w/workspace/undry_device-onvif-camera_PR-442@tmp:/w/workspace/undry_device-onvif-camera_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-03T04:01:58.674Z] $ docker top df068af6efff00cf687db4bb7a1ec6ee25cba1e3d2a27624244cdabea29180bf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T04:01:59.080Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-442 [Pipeline] fileExists [Pipeline] sh [2024-07-03T04:01:59.454Z] + make test [2024-07-03T04:01:59.454Z] go test ./... -coverprofile=coverage.out ./... [2024-07-03T04:02:01.357Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-07-03T04:02:19.442Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-07-03T04:02:19.442Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-07-03T04:02:20.819Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.025s coverage: 31.4% of statements [2024-07-03T04:02:20.819Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.087s coverage: 86.5% of statements [2024-07-03T04:02:25.652Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4872 in /w/workspace/undry_device-onvif-camera_PR-442 [Pipeline] { [Pipeline] ws [2024-07-03T04:02:25.727Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-07-03T04:02:25.825Z] The recommended git tool is: git [2024-07-03T04:02:30.790Z] go vet ./... [2024-07-03T04:02:34.084Z] using credential edgex-jenkins-ssh [2024-07-03T04:02:34.111Z] Cloning the remote Git repository [2024-07-03T04:02:35.001Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-03T04:02:35.002Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-03T04:02:35.002Z] ./bin/test-attribution-txt.sh [2024-07-03T04:02:35.002Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-03T04:02:35.002Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-03T04:02:35.002Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-03T04:02:35.002Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-03T04:02:35.002Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-03T04:02:35.002Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-03T04:02:35.002Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-03T04:02:35.002Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-03T04:02:34.185Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-07-03T04:02:34.310Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-07-03T04:02:34.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-07-03T04:02:34.471Z] > git --version # timeout=10 [2024-07-03T04:02:34.499Z] > git --version # 'git version 2.25.1' [2024-07-03T04:02:34.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T04:02:34.639Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-03T04:02:35.261Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-03T04:02:35.261Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-03T04:02:35.261Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-03T04:02:35.261Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-03T04:02:35.261Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-03T04:02:35.261Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-03T04:02:35.261Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-03T04:02:35.261Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-03T04:02:35.261Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-03T04:02:35.261Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-03T04:02:35.261Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-03T04:02:35.261Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-03T04:02:35.261Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-03T04:02:35.261Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-03T04:02:35.262Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-03T04:02:35.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-03T04:02:35.362Z] $ docker stop --time=1 df068af6efff00cf687db4bb7a1ec6ee25cba1e3d2a27624244cdabea29180bf [2024-07-03T04:02:37.470Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-07-03T04:02:37.505Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-03T04:02:38.687Z] $ docker rm -f --volumes df068af6efff00cf687db4bb7a1ec6ee25cba1e3d2a27624244cdabea29180bf [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T04:02:39.321Z] Merging remotes/origin/main commit 4403bb01aaef0144ea9be46ab10d7e2cec719e21 into PR head commit 58a46464b097f2687050cc69c23bce9f593b5f18 [2024-07-03T04:02:39.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-03T04:02:39.424Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2024-07-03T04:02:38.750Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-07-03T04:02:38.813Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-07-03T04:02:38.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T04:02:38.841Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-03T04:02:39.335Z] > git config core.sparsecheckout # timeout=10 [2024-07-03T04:02:39.438Z] > git checkout -f 58a46464b097f2687050cc69c23bce9f593b5f18 # timeout=10 [Pipeline] stage [Pipeline] { (Build) [2024-07-03T04:02:39.848Z] Merge succeeded, producing 58a46464b097f2687050cc69c23bce9f593b5f18 [2024-07-03T04:02:39.849Z] Checking out Revision 58a46464b097f2687050cc69c23bce9f593b5f18 (PR-442) [Pipeline] sh [2024-07-03T04:02:40.200Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-03T04:02:40.524Z] + ls -al . [2024-07-03T04:02:40.524Z] total 312 [2024-07-03T04:02:40.524Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 04:02 . [2024-07-03T04:02:40.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:00 .. [2024-07-03T04:02:40.524Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 04:02 .git [2024-07-03T04:02:40.524Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 04:00 .github [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 493 Jul 3 04:00 .gitignore [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 3 04:00 .golangci.yml [2024-07-03T04:02:40.524Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 04:00 .semver [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 11155 Jul 3 04:00 Attribution.txt [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 17665 Jul 3 04:00 CHANGELOG.md [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 1683 Jul 3 04:00 Dockerfile [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 04:00 GOVERNANCE.md [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 739 Jul 3 04:00 Jenkinsfile [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 3 04:00 LICENSE [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 2883 Jul 3 04:00 Makefile [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 3 04:00 OWNERS.md [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jul 3 04:00 README.md [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 04:00 VERSION [2024-07-03T04:02:40.524Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 04:00 bin [2024-07-03T04:02:40.524Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 04:00 cmd [2024-07-03T04:02:40.524Z] -rw-r--r-- 1 jenkins jenkins 78805 Jul 3 04:02 coverage.out [2024-07-03T04:02:40.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:00 doc [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 7387 Jul 3 04:00 go.mod [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 102689 Jul 3 04:00 go.sum [2024-07-03T04:02:40.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:00 internal [2024-07-03T04:02:40.524Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 3 04:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T04:02:40.707Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-03T04:02:40.757Z] > git --version # timeout=10 [2024-07-03T04:02:40.772Z] > git --version # 'git version 2.25.1' [2024-07-03T04:02:40.797Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-03T04:02:40.957Z] + 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=58a46464b097f2687050cc69c23bce9f593b5f18 --label arch=amd64 --label version=0.0.0 . [2024-07-03T04:02:40.957Z] Sending build context to Docker daemon 36.68MB [2024-07-03T04:02:40.957Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T04:02:40.957Z] Step 2/27 : FROM ${BASE} AS builder [2024-07-03T04:02:40.957Z] ---> 283d1bcae084 [2024-07-03T04:02:40.957Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-07-03T04:02:39.637Z] > git remote # timeout=10 [2024-07-03T04:02:39.688Z] > git config --get remote.origin.url # timeout=10 [2024-07-03T04:02:39.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T04:02:39.779Z] > git merge 4403bb01aaef0144ea9be46ab10d7e2cec719e21 # timeout=10 [2024-07-03T04:02:39.817Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-03T04:02:39.853Z] > git config core.sparsecheckout # timeout=10 [2024-07-03T04:02:39.873Z] > git checkout -f 58a46464b097f2687050cc69c23bce9f593b5f18 # timeout=10 [2024-07-03T04:02:41.524Z] ---> Running in 77972e94a52b [2024-07-03T04:02:41.524Z] Removing intermediate container 77972e94a52b [2024-07-03T04:02:41.524Z] ---> 18e700bbdb04 [2024-07-03T04:02:41.524Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T04:02:41.524Z] ---> Running in 0235e517cffc [2024-07-03T04:02:41.787Z] Removing intermediate container 0235e517cffc [2024-07-03T04:02:41.787Z] ---> 435b5959e622 [2024-07-03T04:02:41.787Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-07-03T04:02:41.787Z] ---> Running in 34911e49b028 [2024-07-03T04:02:41.787Z] Removing intermediate container 34911e49b028 [2024-07-03T04:02:41.787Z] ---> e5e5edf7c629 [2024-07-03T04:02:41.787Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-07-03T04:02:41.787Z] ---> Running in 3c78d6767222 [2024-07-03T04:02:41.787Z] Removing intermediate container 3c78d6767222 [2024-07-03T04:02:41.787Z] ---> 343ef3213a26 [2024-07-03T04:02:41.787Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-07-03T04:02:42.045Z] ---> Running in 1381ec8715e4 [2024-07-03T04:02:42.045Z] Removing intermediate container 1381ec8715e4 [2024-07-03T04:02:42.045Z] ---> dc56df66db04 [2024-07-03T04:02:42.045Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-03T04:02:42.045Z] ---> Running in d61d4930c354 [2024-07-03T04:02:42.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T04:02:42.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T04:02:42.826Z] OK: 264 MiB in 52 packages [2024-07-03T04:02:43.086Z] Removing intermediate container d61d4930c354 [2024-07-03T04:02:43.086Z] ---> 685c64efc569 [2024-07-03T04:02:43.086Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-07-03T04:02:43.086Z] ---> Running in 2ecb592df8a0 [2024-07-03T04:02:43.086Z] Removing intermediate container 2ecb592df8a0 [2024-07-03T04:02:43.086Z] ---> 471bc560fea8 [2024-07-03T04:02:43.086Z] Step 10/27 : COPY go.mod vendor* ./ [2024-07-03T04:02:43.345Z] ---> 72e556dad767 [2024-07-03T04:02:43.345Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T04:02:43.345Z] ---> Running in 591160629a7d [2024-07-03T04:02:44.283Z] Removing intermediate container 591160629a7d [2024-07-03T04:02:44.283Z] ---> 0ea74000b3c0 [2024-07-03T04:02:44.283Z] Step 12/27 : COPY . . [2024-07-03T04:02:44.851Z] ---> 92f60eb61b69 [2024-07-03T04:02:44.851Z] Step 13/27 : RUN ${MAKE} [2024-07-03T04:02:44.851Z] ---> Running in 60151b9f82dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [2024-07-03T04:02:45.112Z] 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.19" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T04:02:45.912Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-03T04:02:45.912Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-03T04:02:45.912Z] Dload Upload Total Spent Left Speed [2024-07-03T04:02:45.912Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh [2024-07-03T04:02:46.263Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-03T04:02:46.634Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-03T04:02:46.634Z] + sudo tee /etc/docker/daemon.new [2024-07-03T04:02:46.634Z] { [2024-07-03T04:02:46.634Z] "registry-mirrors": [ [2024-07-03T04:02:46.634Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-03T04:02:46.634Z] ], [2024-07-03T04:02:46.634Z] "bip": "10.250.0.254/24", [2024-07-03T04:02:46.634Z] "hosts": [ [2024-07-03T04:02:46.634Z] "tcp://0.0.0.0:5555", [2024-07-03T04:02:46.634Z] "unix:///var/run/docker.sock" [2024-07-03T04:02:46.634Z] ], [2024-07-03T04:02:46.634Z] "mtu": 1458, [2024-07-03T04:02:46.634Z] "selinux-enabled": true, [2024-07-03T04:02:46.634Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-03T04:02:46.634Z] } [Pipeline] sh [2024-07-03T04:02:46.999Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-03T04:02:47.353Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T04:03:05.716Z] provisioning config files... [2024-07-03T04:03:05.749Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config13264218271696085317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T04:03:06.271Z] ---> ****-login.sh [2024-07-03T04:03:06.271Z] nexus3.edgexfoundry.org:10001 [2024-07-03T04:03:06.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:03:06.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:03:06.820Z] Configure a credential helper to remove this warning. See [2024-07-03T04:03:06.820Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:03:06.820Z] [2024-07-03T04:03:06.820Z] Login Succeeded [2024-07-03T04:03:06.820Z] nexus3.edgexfoundry.org:10002 [2024-07-03T04:03:07.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:03:07.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:03:07.361Z] Configure a credential helper to remove this warning. See [2024-07-03T04:03:07.361Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:03:07.361Z] [2024-07-03T04:03:07.361Z] Login Succeeded [2024-07-03T04:03:07.361Z] nexus3.edgexfoundry.org:10003 [2024-07-03T04:03:07.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:03:07.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:03:07.634Z] Configure a credential helper to remove this warning. See [2024-07-03T04:03:07.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:03:07.634Z] [2024-07-03T04:03:07.634Z] Login Succeeded [2024-07-03T04:03:07.634Z] nexus3.edgexfoundry.org:10004 [2024-07-03T04:03:07.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:03:07.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:03:07.910Z] Configure a credential helper to remove this warning. See [2024-07-03T04:03:07.910Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:03:07.910Z] [2024-07-03T04:03:07.910Z] Login Succeeded [2024-07-03T04:03:07.910Z] ****.io [2024-07-03T04:03:08.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T04:03:08.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T04:03:08.768Z] Configure a credential helper to remove this warning. See [2024-07-03T04:03:08.768Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T04:03:08.768Z] [2024-07-03T04:03:08.768Z] Login Succeeded [2024-07-03T04:03:08.768Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T04:03:08.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-03T04:03:09.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T04:03:09.325Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T04:03:09.377Z] ========================================================= [2024-07-03T04:03:09.377Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-03T04:03:09.377Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T04:03:09.930Z] + 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-07-03T04:03:10.519Z] Sending build context to Docker daemon 21.71MB [2024-07-03T04:03:10.519Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T04:03:10.519Z] Step 2/13 : FROM ${BASE} AS builder [2024-07-03T04:03:10.791Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-03T04:03:10.791Z] c6b39de5b339: Pulling fs layer [2024-07-03T04:03:10.791Z] a69c41024577: Pulling fs layer [2024-07-03T04:03:10.791Z] d6de4b400683: Pulling fs layer [2024-07-03T04:03:10.791Z] 35cb2a7552d0: Pulling fs layer [2024-07-03T04:03:10.791Z] 4f4fb700ef54: Pulling fs layer [2024-07-03T04:03:10.791Z] 464afbd9ba4c: Pulling fs layer [2024-07-03T04:03:10.791Z] 00f215d4a9da: Pulling fs layer [2024-07-03T04:03:10.791Z] d496ad576159: Pulling fs layer [2024-07-03T04:03:10.791Z] 4f4fb700ef54: Waiting [2024-07-03T04:03:10.791Z] 464afbd9ba4c: Waiting [2024-07-03T04:03:10.791Z] 00f215d4a9da: Waiting [2024-07-03T04:03:10.791Z] 35cb2a7552d0: Waiting [2024-07-03T04:03:10.791Z] d496ad576159: Waiting [2024-07-03T04:03:10.791Z] a69c41024577: Verifying Checksum [2024-07-03T04:03:10.791Z] a69c41024577: Download complete [2024-07-03T04:03:10.791Z] 35cb2a7552d0: Download complete [2024-07-03T04:03:10.791Z] 4f4fb700ef54: Verifying Checksum [2024-07-03T04:03:10.791Z] 4f4fb700ef54: Download complete [2024-07-03T04:03:10.791Z] 464afbd9ba4c: Verifying Checksum [2024-07-03T04:03:10.791Z] 464afbd9ba4c: Download complete [2024-07-03T04:03:10.791Z] c6b39de5b339: Download complete [2024-07-03T04:03:11.381Z] d496ad576159: Verifying Checksum [2024-07-03T04:03:11.381Z] d496ad576159: Download complete [2024-07-03T04:03:11.671Z] c6b39de5b339: Pull complete [2024-07-03T04:03:12.255Z] a69c41024577: Pull complete [2024-07-03T04:03:12.841Z] d6de4b400683: Verifying Checksum [2024-07-03T04:03:12.841Z] d6de4b400683: Download complete [2024-07-03T04:03:13.802Z] 00f215d4a9da: Verifying Checksum [2024-07-03T04:03:13.802Z] 00f215d4a9da: Download complete [2024-07-03T04:03:17.188Z] Removing intermediate container 60151b9f82dc [2024-07-03T04:03:17.189Z] ---> faf59c8dd5b5 [2024-07-03T04:03:17.189Z] Step 14/27 : FROM alpine:3.18 [2024-07-03T04:03:17.189Z] 3.18: Pulling from library/alpine [2024-07-03T04:03:17.189Z] 73baa7ef167e: Pulling fs layer [2024-07-03T04:03:17.189Z] 73baa7ef167e: Verifying Checksum [2024-07-03T04:03:17.189Z] 73baa7ef167e: Download complete [2024-07-03T04:03:17.189Z] 73baa7ef167e: Pull complete [2024-07-03T04:03:17.189Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-03T04:03:17.189Z] Status: Downloaded newer image for alpine:3.18 [2024-07-03T04:03:17.189Z] ---> 8fd7cac70a4a [2024-07-03T04:03:17.189Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-07-03T04:03:17.189Z] ---> Running in af34301db7d4 [2024-07-03T04:03:17.189Z] Removing intermediate container af34301db7d4 [2024-07-03T04:03:17.189Z] ---> 295bf5a725da [2024-07-03T04:03:17.189Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-07-03T04:03:17.189Z] ---> Running in 1fdcf3e62364 [2024-07-03T04:03:17.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T04:03:17.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T04:03:17.189Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-03T04:03:17.189Z] Executing busybox-1.36.1-r7.trigger [2024-07-03T04:03:17.189Z] OK: 7 MiB in 16 packages [2024-07-03T04:03:17.189Z] Removing intermediate container 1fdcf3e62364 [2024-07-03T04:03:17.189Z] ---> d4f07c3a245c [2024-07-03T04:03:17.189Z] Step 17/27 : RUN apk --no-cache upgrade [2024-07-03T04:03:17.189Z] ---> Running in 6beca0c2419f [2024-07-03T04:03:17.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T04:03:17.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T04:03:17.189Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T04:03:17.189Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T04:03:17.189Z] OK: 7 MiB in 16 packages [2024-07-03T04:03:17.189Z] Removing intermediate container 6beca0c2419f [2024-07-03T04:03:17.189Z] ---> 0a3c3f4d702f [2024-07-03T04:03:17.189Z] Step 18/27 : WORKDIR / [2024-07-03T04:03:17.189Z] ---> Running in 7e4fdf98eacb [2024-07-03T04:03:17.189Z] Removing intermediate container 7e4fdf98eacb [2024-07-03T04:03:17.189Z] ---> 49b32aab9424 [2024-07-03T04:03:17.189Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-07-03T04:03:17.189Z] ---> 2e70f2ad02ed [2024-07-03T04:03:17.189Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-07-03T04:03:17.448Z] ---> b1a10c63f02e [2024-07-03T04:03:17.448Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-07-03T04:03:17.448Z] ---> 97741a014f11 [2024-07-03T04:03:17.448Z] Step 22/27 : EXPOSE 59984 [2024-07-03T04:03:17.448Z] ---> Running in f0ad1eaad74c [2024-07-03T04:03:17.448Z] Removing intermediate container f0ad1eaad74c [2024-07-03T04:03:17.448Z] ---> c5a43d9e69fb [2024-07-03T04:03:17.448Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-07-03T04:03:17.709Z] ---> Running in c84896e4fd65 [2024-07-03T04:03:17.709Z] Removing intermediate container c84896e4fd65 [2024-07-03T04:03:17.709Z] ---> 3af41f941dd8 [2024-07-03T04:03:17.709Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-03T04:03:17.709Z] ---> Running in f9393d21eb64 [2024-07-03T04:03:17.709Z] Removing intermediate container f9393d21eb64 [2024-07-03T04:03:17.709Z] ---> 8d614f2502da [2024-07-03T04:03:17.709Z] Step 25/27 : LABEL arch=amd64 [2024-07-03T04:03:17.969Z] ---> Running in b76905b8b44c [2024-07-03T04:03:17.969Z] Removing intermediate container b76905b8b44c [2024-07-03T04:03:17.969Z] ---> 4c40b3f82ae6 [2024-07-03T04:03:17.969Z] Step 26/27 : LABEL git_sha=58a46464b097f2687050cc69c23bce9f593b5f18 [2024-07-03T04:03:17.969Z] ---> Running in 4549524cae40 [2024-07-03T04:03:17.969Z] Removing intermediate container 4549524cae40 [2024-07-03T04:03:17.969Z] ---> cfd1eeab9cfa [2024-07-03T04:03:17.969Z] Step 27/27 : LABEL version=0.0.0 [2024-07-03T04:03:17.969Z] ---> Running in 1da949012160 [2024-07-03T04:03:18.229Z] Removing intermediate container 1da949012160 [2024-07-03T04:03:18.229Z] ---> 6da3b37ff5b4 [2024-07-03T04:03:18.229Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-03T04:03:18.229Z] Successfully built 6da3b37ff5b4 [2024-07-03T04:03:18.229Z] 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-07-03T04:03:19.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T04:03:19.287Z] [2024-07-03T04:03:19.287Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T04:03:19.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T04:03:19.691Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-03T04:03:19.691Z] 5eb5b503b376: Pulling fs layer [2024-07-03T04:03:19.691Z] 5c69ac0246d0: Pulling fs layer [2024-07-03T04:03:19.691Z] ec43610c2a17: Pulling fs layer [2024-07-03T04:03:19.691Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-03T04:03:19.691Z] 33b1e0a273af: Pulling fs layer [2024-07-03T04:03:19.691Z] 5d3b04190fa2: Pulling fs layer [2024-07-03T04:03:19.691Z] 2f39f015ded8: Pulling fs layer [2024-07-03T04:03:19.691Z] 5d3b04190fa2: Waiting [2024-07-03T04:03:19.691Z] 3a2ae6a8a46f: Waiting [2024-07-03T04:03:19.691Z] 33b1e0a273af: Waiting [2024-07-03T04:03:19.691Z] 2f39f015ded8: Waiting [2024-07-03T04:03:19.691Z] 5c69ac0246d0: Verifying Checksum [2024-07-03T04:03:19.691Z] 5c69ac0246d0: Download complete [2024-07-03T04:03:19.691Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-03T04:03:19.691Z] 3a2ae6a8a46f: Download complete [2024-07-03T04:03:19.691Z] 33b1e0a273af: Verifying Checksum [2024-07-03T04:03:19.691Z] 33b1e0a273af: Download complete [2024-07-03T04:03:19.691Z] 5d3b04190fa2: Verifying Checksum [2024-07-03T04:03:19.691Z] 5d3b04190fa2: Download complete [2024-07-03T04:03:19.965Z] ec43610c2a17: Verifying Checksum [2024-07-03T04:03:19.965Z] ec43610c2a17: Download complete [2024-07-03T04:03:19.965Z] 5eb5b503b376: Verifying Checksum [2024-07-03T04:03:19.965Z] 5eb5b503b376: Download complete [2024-07-03T04:03:20.534Z] 2f39f015ded8: Download complete [2024-07-03T04:03:21.469Z] 5eb5b503b376: Pull complete [2024-07-03T04:03:21.470Z] 5c69ac0246d0: Pull complete [2024-07-03T04:03:21.729Z] ec43610c2a17: Pull complete [2024-07-03T04:03:21.988Z] 3a2ae6a8a46f: Pull complete [2024-07-03T04:03:22.250Z] 33b1e0a273af: Pull complete [2024-07-03T04:03:22.250Z] 5d3b04190fa2: Pull complete [2024-07-03T04:03:26.120Z] d6de4b400683: Pull complete [2024-07-03T04:03:26.120Z] 35cb2a7552d0: Pull complete [2024-07-03T04:03:26.120Z] 4f4fb700ef54: Pull complete [2024-07-03T04:03:26.120Z] 464afbd9ba4c: Pull complete [2024-07-03T04:03:26.438Z] 2f39f015ded8: Pull complete [2024-07-03T04:03:26.438Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-03T04:03:26.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T04:03:26.438Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T04:03:26.715Z] prd-ubuntu20.04-docker-8c-8g-4871 does not seem to be running inside a container [2024-07-03T04:03:26.753Z] $ 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-442 -v /w/workspace/undry_device-onvif-camera_PR-442:/w/workspace/undry_device-onvif-camera_PR-442:rw,z -v /w/workspace/undry_device-onvif-camera_PR-442@tmp:/w/workspace/undry_device-onvif-camera_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-03T04:03:30.184Z] $ docker top 956138d102cedb53d30fa0a63f26b619a1bb2a4f73fdbe1fa0fd4629e4ceeaa4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T04:03:30.710Z] ---> job-cost.sh [2024-07-03T04:03:30.710Z] lf-activate-venv: SKIPPING [2024-07-03T04:03:30.710Z] INFO: No Stack... [2024-07-03T04:03:30.968Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-03T04:03:31.536Z] INFO: Archiving Costs [Pipeline] sh [2024-07-03T04:03:31.865Z] + cat /w/workspace/undry_device-onvif-camera_PR-442/archives/cost.csv [2024-07-03T04:03:31.865Z] + cut -d, -f6 [Pipeline] lock [2024-07-03T04:03:31.914Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] [2024-07-03T04:03:31.920Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] did not exist. Created. [2024-07-03T04:03:31.926Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-03T04:03:32.346Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-03T04:03:32.512Z] Stashed 1 file(s) [Pipeline] } [2024-07-03T04:03:32.553Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-03T04:03:32.671Z] $ docker stop --time=1 956138d102cedb53d30fa0a63f26b619a1bb2a4f73fdbe1fa0fd4629e4ceeaa4 [2024-07-03T04:03:33.838Z] $ docker rm -f --volumes 956138d102cedb53d30fa0a63f26b619a1bb2a4f73fdbe1fa0fd4629e4ceeaa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-03T04:03:36.212Z] 00f215d4a9da: Pull complete [2024-07-03T04:03:36.212Z] d496ad576159: Pull complete [2024-07-03T04:03:36.212Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-03T04:03:36.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-03T04:03:36.212Z] ---> f246e2811388 [2024-07-03T04:03:36.212Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-07-03T04:03:37.183Z] ---> Running in 4a4cc3c2e9b6 [2024-07-03T04:03:37.459Z] Removing intermediate container 4a4cc3c2e9b6 [2024-07-03T04:03:37.459Z] ---> a1e95c864376 [2024-07-03T04:03:37.459Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T04:03:37.459Z] ---> Running in 980ded1a8bfc [2024-07-03T04:03:37.731Z] Removing intermediate container 980ded1a8bfc [2024-07-03T04:03:37.731Z] ---> 0e1e7b20855d [2024-07-03T04:03:37.731Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-07-03T04:03:37.731Z] ---> Running in d662f879bff1 [2024-07-03T04:03:37.999Z] Removing intermediate container d662f879bff1 [2024-07-03T04:03:37.999Z] ---> f187b601700a [2024-07-03T04:03:37.999Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-07-03T04:03:37.999Z] ---> Running in b2e143115a66 [2024-07-03T04:03:38.267Z] Removing intermediate container b2e143115a66 [2024-07-03T04:03:38.267Z] ---> d60c679782ee [2024-07-03T04:03:38.267Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-07-03T04:03:38.542Z] ---> Running in 5a5aa92b9e4c [2024-07-03T04:03:38.809Z] Removing intermediate container 5a5aa92b9e4c [2024-07-03T04:03:38.809Z] ---> 13af6d0e6e5b [2024-07-03T04:03:38.809Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-03T04:03:38.809Z] ---> Running in 4b9bdc098b94 [2024-07-03T04:03:39.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T04:03:40.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T04:03:41.351Z] OK: 266 MiB in 52 packages [2024-07-03T04:03:41.938Z] Removing intermediate container 4b9bdc098b94 [2024-07-03T04:03:41.938Z] ---> 2cba7bbded83 [2024-07-03T04:03:41.938Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-07-03T04:03:42.213Z] ---> Running in 6c5d11f01163 [2024-07-03T04:03:42.481Z] Removing intermediate container 6c5d11f01163 [2024-07-03T04:03:42.481Z] ---> 234bec3ef879 [2024-07-03T04:03:42.481Z] Step 10/13 : COPY go.mod vendor* ./ [2024-07-03T04:03:42.752Z] ---> 9da474df901c [2024-07-03T04:03:42.752Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T04:03:43.038Z] ---> Running in e2e7677cafd3 [2024-07-03T04:05:34.754Z] Removing intermediate container e2e7677cafd3 [2024-07-03T04:05:34.754Z] ---> edee0e93bde2 [2024-07-03T04:05:34.754Z] Step 12/13 : COPY . . [2024-07-03T04:05:34.754Z] ---> d773984974da [2024-07-03T04:05:34.754Z] Step 13/13 : RUN ${MAKE} [2024-07-03T04:05:34.754Z] ---> Running in fb075f08ac91 [2024-07-03T04:05:34.754Z] noop [2024-07-03T04:05:34.754Z] Removing intermediate container fb075f08ac91 [2024-07-03T04:05:34.754Z] ---> 4abafc42a0e3 [2024-07-03T04:05:34.754Z] Successfully built 4abafc42a0e3 [2024-07-03T04:05:34.754Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T04:05:35.272Z] + docker inspect -f . ci-base-image-arm64 [2024-07-03T04:05:35.272Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T04:05:35.598Z] prd-ubuntu20.04-docker-arm64-4c-16g-4872 does not seem to be running inside a container [2024-07-03T04:05:35.657Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-03T04:05:36.796Z] $ docker top 5565db9eef202feccfec690dbd69a0f7510040b65b77045d71a7869384b65964 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T04:05:37.702Z] + go version [2024-07-03T04:05:37.702Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-03T04:05:37.737Z] $ docker stop --time=1 5565db9eef202feccfec690dbd69a0f7510040b65b77045d71a7869384b65964 [2024-07-03T04:05:39.356Z] $ docker rm -f --volumes 5565db9eef202feccfec690dbd69a0f7510040b65b77045d71a7869384b65964 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T04:05:40.335Z] + docker inspect -f . ci-base-image-arm64 [2024-07-03T04:05:40.335Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T04:05:40.607Z] prd-ubuntu20.04-docker-arm64-4c-16g-4872 does not seem to be running inside a container [2024-07-03T04:05:40.671Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-03T04:05:41.854Z] $ docker top 04dcf29870ad291bb1411e192d7c1ff338e3e17e23edcee8b56489f8646056cc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T04:05:42.733Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-07-03T04:05:43.126Z] + make test [2024-07-03T04:05:43.398Z] go test ./... -coverprofile=coverage.out ./... [2024-07-03T04:05:48.740Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-07-03T04:09:10.693Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-07-03T04:09:10.693Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-07-03T04:09:10.693Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.182s coverage: 31.4% of statements [2024-07-03T04:09:33.004Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.775s coverage: 86.5% of statements [2024-07-03T04:09:33.004Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-03T04:09:33.004Z] go vet ./... [2024-07-03T04:10:20.031Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-03T04:10:20.031Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-03T04:10:20.031Z] ./bin/test-attribution-txt.sh [2024-07-03T04:10:20.031Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-03T04:10:20.031Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-03T04:10:20.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-03T04:10:20.118Z] $ docker stop --time=1 04dcf29870ad291bb1411e192d7c1ff338e3e17e23edcee8b56489f8646056cc [2024-07-03T04:10:21.979Z] $ docker rm -f --volumes 04dcf29870ad291bb1411e192d7c1ff338e3e17e23edcee8b56489f8646056cc [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T04:10:23.540Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-03T04:10:23.581Z] Warning: overwriting stash ‘coverage-report’ [2024-07-03T04:10:24.076Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T04:10:24.721Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-03T04:10:25.060Z] + ls -al . [2024-07-03T04:10:25.060Z] total 308 [2024-07-03T04:10:25.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 04:05 . [2024-07-03T04:10:25.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:02 .. [2024-07-03T04:10:25.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 04:02 .git [2024-07-03T04:10:25.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 04:02 .github [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 493 Jul 3 04:02 .gitignore [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 3 04:02 .golangci.yml [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 11155 Jul 3 04:02 Attribution.txt [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 17665 Jul 3 04:02 CHANGELOG.md [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 1683 Jul 3 04:02 Dockerfile [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 04:02 GOVERNANCE.md [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 739 Jul 3 04:02 Jenkinsfile [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 3 04:02 LICENSE [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 2883 Jul 3 04:02 Makefile [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 3 04:02 OWNERS.md [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jul 3 04:02 README.md [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 04:00 VERSION [2024-07-03T04:10:25.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 04:02 bin [2024-07-03T04:10:25.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 04:02 cmd [2024-07-03T04:10:25.060Z] -rw-r--r-- 1 jenkins jenkins 78805 Jul 3 04:09 coverage.out [2024-07-03T04:10:25.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:02 doc [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 7387 Jul 3 04:02 go.mod [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 102689 Jul 3 04:02 go.sum [2024-07-03T04:10:25.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:02 internal [2024-07-03T04:10:25.060Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 3 04:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T04:10:25.494Z] + 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=58a46464b097f2687050cc69c23bce9f593b5f18 --label arch=arm64 --label version=0.0.0 . [2024-07-03T04:10:26.071Z] Sending build context to Docker daemon 21.78MB [2024-07-03T04:10:26.071Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T04:10:26.071Z] Step 2/27 : FROM ${BASE} AS builder [2024-07-03T04:10:26.071Z] ---> 4abafc42a0e3 [2024-07-03T04:10:26.071Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-07-03T04:10:26.344Z] ---> Running in 1e5f60b6043f [2024-07-03T04:10:26.344Z] Removing intermediate container 1e5f60b6043f [2024-07-03T04:10:26.344Z] ---> 53094d694c7f [2024-07-03T04:10:26.344Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T04:10:26.619Z] ---> Running in 7302d65ff159 [2024-07-03T04:10:26.886Z] Removing intermediate container 7302d65ff159 [2024-07-03T04:10:26.886Z] ---> f458d2b20f0f [2024-07-03T04:10:26.886Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-07-03T04:10:26.886Z] ---> Running in 47a5d0ee41a2 [2024-07-03T04:10:27.149Z] Removing intermediate container 47a5d0ee41a2 [2024-07-03T04:10:27.149Z] ---> 36d424aa6159 [2024-07-03T04:10:27.149Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-07-03T04:10:27.149Z] ---> Running in 2c76037534d0 [2024-07-03T04:10:27.415Z] Removing intermediate container 2c76037534d0 [2024-07-03T04:10:27.415Z] ---> 0d800e9688a9 [2024-07-03T04:10:27.415Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-07-03T04:10:27.415Z] ---> Running in 27eb0600fb6f [2024-07-03T04:10:27.681Z] Removing intermediate container 27eb0600fb6f [2024-07-03T04:10:27.681Z] ---> 7db5fa55d5cd [2024-07-03T04:10:27.681Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-03T04:10:27.681Z] ---> Running in fad636fa6e39 [2024-07-03T04:10:28.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T04:10:29.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T04:10:30.182Z] OK: 266 MiB in 52 packages [2024-07-03T04:10:31.140Z] Removing intermediate container fad636fa6e39 [2024-07-03T04:10:31.140Z] ---> 1f6053901744 [2024-07-03T04:10:31.140Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-07-03T04:10:31.140Z] ---> Running in dd98c99206ef [2024-07-03T04:10:31.406Z] Removing intermediate container dd98c99206ef [2024-07-03T04:10:31.406Z] ---> 90008320c91e [2024-07-03T04:10:31.406Z] Step 10/27 : COPY go.mod vendor* ./ [2024-07-03T04:10:31.991Z] ---> 77ed424c58ae [2024-07-03T04:10:31.991Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T04:10:31.991Z] ---> Running in e8922cce7dd4 [2024-07-03T04:10:34.568Z] Removing intermediate container e8922cce7dd4 [2024-07-03T04:10:34.568Z] ---> fd0851ffcbc3 [2024-07-03T04:10:34.568Z] Step 12/27 : COPY . . [2024-07-03T04:10:35.969Z] ---> 3e2a295a0382 [2024-07-03T04:10:35.969Z] Step 13/27 : RUN ${MAKE} [2024-07-03T04:10:35.969Z] ---> Running in f03618469eb9 [2024-07-03T04:10:36.552Z] 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.19" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-07-03T04:13:58.296Z] Removing intermediate container f03618469eb9 [2024-07-03T04:13:58.296Z] ---> 16ee5efec7ea [2024-07-03T04:13:58.296Z] Step 14/27 : FROM alpine:3.18 [2024-07-03T04:13:58.296Z] 3.18: Pulling from library/alpine [2024-07-03T04:13:58.296Z] 5c905c7ebe2f: Pulling fs layer [2024-07-03T04:13:58.562Z] 5c905c7ebe2f: Verifying Checksum [2024-07-03T04:13:58.562Z] 5c905c7ebe2f: Download complete [2024-07-03T04:13:59.145Z] 5c905c7ebe2f: Pull complete [2024-07-03T04:13:59.145Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-03T04:13:59.145Z] Status: Downloaded newer image for alpine:3.18 [2024-07-03T04:13:59.145Z] ---> dec292d02e07 [2024-07-03T04:13:59.145Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-07-03T04:13:59.411Z] ---> Running in f27331f5c3d5 [2024-07-03T04:13:59.680Z] Removing intermediate container f27331f5c3d5 [2024-07-03T04:13:59.680Z] ---> ccbaadd15658 [2024-07-03T04:13:59.680Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-07-03T04:13:59.680Z] ---> Running in fa66a9a525b2 [2024-07-03T04:14:00.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T04:14:01.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T04:14:02.183Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-03T04:14:02.183Z] Executing busybox-1.36.1-r7.trigger [2024-07-03T04:14:02.183Z] OK: 8 MiB in 16 packages [2024-07-03T04:14:02.765Z] Removing intermediate container fa66a9a525b2 [2024-07-03T04:14:02.765Z] ---> f14db8f9ad29 [2024-07-03T04:14:02.765Z] Step 17/27 : RUN apk --no-cache upgrade [2024-07-03T04:14:03.033Z] ---> Running in 67d85ad6b6e8 [2024-07-03T04:14:03.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T04:14:04.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T04:14:05.222Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T04:14:05.222Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T04:14:05.222Z] OK: 8 MiB in 16 packages [2024-07-03T04:14:06.185Z] Removing intermediate container 67d85ad6b6e8 [2024-07-03T04:14:06.185Z] ---> e0f22d3df776 [2024-07-03T04:14:06.185Z] Step 18/27 : WORKDIR / [2024-07-03T04:14:06.185Z] ---> Running in 50fd36070632 [2024-07-03T04:14:06.771Z] Removing intermediate container 50fd36070632 [2024-07-03T04:14:06.771Z] ---> dff90576d068 [2024-07-03T04:14:06.771Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-07-03T04:14:08.177Z] ---> 8c2f30d66cc4 [2024-07-03T04:14:08.177Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-07-03T04:14:08.759Z] ---> be2108008ebc [2024-07-03T04:14:08.759Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-07-03T04:14:09.340Z] ---> 9c7e2f5e2fc8 [2024-07-03T04:14:09.340Z] Step 22/27 : EXPOSE 59984 [2024-07-03T04:14:09.340Z] ---> Running in a35a82739a59 [2024-07-03T04:14:09.605Z] Removing intermediate container a35a82739a59 [2024-07-03T04:14:09.605Z] ---> e9319b1fb19d [2024-07-03T04:14:09.605Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-07-03T04:14:09.605Z] ---> Running in 2a077a5968df [2024-07-03T04:14:09.871Z] Removing intermediate container 2a077a5968df [2024-07-03T04:14:09.871Z] ---> ae83c69e1f8f [2024-07-03T04:14:09.871Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-03T04:14:10.140Z] ---> Running in 33e4641347e2 [2024-07-03T04:14:10.408Z] Removing intermediate container 33e4641347e2 [2024-07-03T04:14:10.408Z] ---> 0855f4a18667 [2024-07-03T04:14:10.408Z] Step 25/27 : LABEL arch=arm64 [2024-07-03T04:14:10.408Z] ---> Running in 3c802912e860 [2024-07-03T04:14:10.674Z] Removing intermediate container 3c802912e860 [2024-07-03T04:14:10.674Z] ---> 973f900a9ce5 [2024-07-03T04:14:10.674Z] Step 26/27 : LABEL git_sha=58a46464b097f2687050cc69c23bce9f593b5f18 [2024-07-03T04:14:10.674Z] ---> Running in b390af7733ad [2024-07-03T04:14:10.941Z] Removing intermediate container b390af7733ad [2024-07-03T04:14:10.941Z] ---> a57885c059a1 [2024-07-03T04:14:10.941Z] Step 27/27 : LABEL version=0.0.0 [2024-07-03T04:14:11.208Z] ---> Running in e82175e6a97c [2024-07-03T04:14:11.472Z] Removing intermediate container e82175e6a97c [2024-07-03T04:14:11.472Z] ---> 594105e26246 [2024-07-03T04:14:11.472Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-03T04:14:11.472Z] Successfully built 594105e26246 [2024-07-03T04:14:11.472Z] 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-07-03T04:14:12.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T04:14:12.426Z] [2024-07-03T04:14:12.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T04:14:12.850Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T04:14:12.850Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-03T04:14:12.850Z] 8998bd30e6a1: Pulling fs layer [2024-07-03T04:14:12.850Z] 04944245beec: Pulling fs layer [2024-07-03T04:14:12.850Z] 699f458cf7ca: Pulling fs layer [2024-07-03T04:14:12.850Z] 765212b225bb: Pulling fs layer [2024-07-03T04:14:12.850Z] f23df028b6ca: Pulling fs layer [2024-07-03T04:14:12.850Z] d65c8cfc05b1: Pulling fs layer [2024-07-03T04:14:12.850Z] 2437ff75d9bd: Pulling fs layer [2024-07-03T04:14:12.850Z] f23df028b6ca: Waiting [2024-07-03T04:14:12.850Z] d65c8cfc05b1: Waiting [2024-07-03T04:14:12.850Z] 2437ff75d9bd: Waiting [2024-07-03T04:14:12.850Z] 765212b225bb: Waiting [2024-07-03T04:14:13.117Z] 04944245beec: Verifying Checksum [2024-07-03T04:14:13.117Z] 04944245beec: Download complete [2024-07-03T04:14:13.117Z] 765212b225bb: Download complete [2024-07-03T04:14:13.117Z] f23df028b6ca: Verifying Checksum [2024-07-03T04:14:13.117Z] f23df028b6ca: Download complete [2024-07-03T04:14:13.117Z] d65c8cfc05b1: Verifying Checksum [2024-07-03T04:14:13.117Z] d65c8cfc05b1: Download complete [2024-07-03T04:14:13.117Z] 699f458cf7ca: Verifying Checksum [2024-07-03T04:14:13.117Z] 699f458cf7ca: Download complete [2024-07-03T04:14:13.700Z] 8998bd30e6a1: Verifying Checksum [2024-07-03T04:14:13.700Z] 8998bd30e6a1: Download complete [2024-07-03T04:14:16.274Z] 2437ff75d9bd: Verifying Checksum [2024-07-03T04:14:16.274Z] 2437ff75d9bd: Download complete [2024-07-03T04:14:18.207Z] 8998bd30e6a1: Pull complete [2024-07-03T04:14:18.786Z] 04944245beec: Pull complete [2024-07-03T04:14:20.719Z] 699f458cf7ca: Pull complete [2024-07-03T04:14:20.719Z] 765212b225bb: Pull complete [2024-07-03T04:14:21.300Z] f23df028b6ca: Pull complete [2024-07-03T04:14:21.567Z] d65c8cfc05b1: Pull complete [2024-07-03T04:14:39.754Z] 2437ff75d9bd: Pull complete [2024-07-03T04:14:39.754Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-03T04:14:39.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T04:14:39.754Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T04:14:40.108Z] prd-ubuntu20.04-docker-arm64-4c-16g-4872 does not seem to be running inside a container [2024-07-03T04:14:40.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-03T04:14:42.897Z] $ docker top fab52cedb4d0e614c89da51100d5f53756b927097838185a111eb642bbadf5fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T04:14:43.812Z] ---> job-cost.sh [2024-07-03T04:14:43.812Z] lf-activate-venv: SKIPPING [2024-07-03T04:14:43.812Z] INFO: No Stack... [2024-07-03T04:14:44.076Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-03T04:14:45.030Z] INFO: Archiving Costs [Pipeline] sh [2024-07-03T04:14:45.686Z] + cut -d, -f6 [2024-07-03T04:14:45.686Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2024-07-03T04:14:45.768Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] [2024-07-03T04:14:45.778Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] did not exist. Created. [2024-07-03T04:14:45.786Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-03T04:14:46.543Z] /w/workspace/device-onvif-camera/1@tmp/durable-fe947b68/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-03T04:14:47.221Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-03T04:14:47.261Z] Warning: overwriting stash ‘stack-cost’ [2024-07-03T04:14:47.313Z] Stashed 1 file(s) [Pipeline] } [2024-07-03T04:14:47.332Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-03T04:14:47.418Z] $ docker stop --time=1 fab52cedb4d0e614c89da51100d5f53756b927097838185a111eb642bbadf5fe [2024-07-03T04:14:48.902Z] $ docker rm -f --volumes fab52cedb4d0e614c89da51100d5f53756b927097838185a111eb642bbadf5fe [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-07-03T04:14:50.163Z] provisioning config files... [2024-07-03T04:14:50.171Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-442@tmp/config2635435613920916834tmp [Pipeline] { [Pipeline] sh [2024-07-03T04:14:50.536Z] + set +x [2024-07-03T04:14:50.536Z] + curl -s https://codecov.io/bash [2024-07-03T04:14:50.536Z] + bash -s -- [2024-07-03T04:14:50.798Z] [2024-07-03T04:14:50.798Z] _____ _ [2024-07-03T04:14:50.798Z] / ____| | | [2024-07-03T04:14:50.798Z] | | ___ __| | ___ ___ _____ __ [2024-07-03T04:14:50.798Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-03T04:14:50.798Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-03T04:14:50.798Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-03T04:14:50.798Z] Bash-1.0.6 [2024-07-03T04:14:50.798Z] [2024-07-03T04:14:50.798Z] [2024-07-03T04:14:50.798Z] ==> git version 2.25.1 found [2024-07-03T04:14:50.798Z] ==> 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-07-03T04:14:50.798Z] Release-Date: 2020-01-08 [2024-07-03T04:14:50.798Z] 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-07-03T04:14:50.798Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-03T04:14:50.798Z] ==> Jenkins CI detected. [2024-07-03T04:14:50.798Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-442 [2024-07-03T04:14:50.798Z] project root: . [2024-07-03T04:14:50.798Z] --> token set from env [2024-07-03T04:14:50.798Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-03T04:14:50.798Z] ==> Running gcov in . (disable via -X gcov) [2024-07-03T04:14:50.798Z] ==> Python coveragepy not found [2024-07-03T04:14:50.798Z] ==> Searching for coverage reports in: [2024-07-03T04:14:50.798Z] + . [2024-07-03T04:14:50.798Z] -> Found 1 reports [2024-07-03T04:14:50.798Z] ==> Detecting git/mercurial file structure [2024-07-03T04:14:50.798Z] ==> Reading reports [2024-07-03T04:14:50.798Z] + ./coverage.out bytes=78805 [2024-07-03T04:14:50.798Z] ==> Appending adjustments [2024-07-03T04:14:50.798Z] https://docs.codecov.io/docs/fixing-reports [2024-07-03T04:14:51.058Z] + Found adjustments [2024-07-03T04:14:51.058Z] ==> Gzipping contents [2024-07-03T04:14:51.058Z] 12K /tmp/codecov.e91IUi.gz [2024-07-03T04:14:51.058Z] ==> Uploading reports [2024-07-03T04:14:51.058Z] url: https://codecov.io [2024-07-03T04:14:51.058Z] query: branch=PR-442&commit=58a46464b097f2687050cc69c23bce9f593b5f18&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-442%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=442&job=&cmd_args= [2024-07-03T04:14:51.058Z] -> Pinging Codecov [2024-07-03T04:14:51.058Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-442&commit=58a46464b097f2687050cc69c23bce9f593b5f18&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-442%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=442&job=&cmd_args= [2024-07-03T04:14:51.319Z] -> Uploading to [2024-07-03T04:14:51.319Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-03/F29A59C45E3A92E06B3E522C9905F8EF/58a46464b097f2687050cc69c23bce9f593b5f18/83ee1ee7-5788-485f-80ee-d473dd5cfaa3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240703%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240703T041451Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=40003a744e165804c2902f366e2803341677f43a76a9c8a2a1cd69cfc05ca497 [2024-07-03T04:14:51.320Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-03T04:14:51.320Z] Dload Upload Total Spent Left Speed [2024-07-03T04:14:51.582Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 37818 --:--:-- --:--:-- --:--:-- 37818 [2024-07-03T04:14:51.582Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/58a46464b097f2687050cc69c23bce9f593b5f18 [Pipeline] } [2024-07-03T04:14:51.613Z] 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-07-03T04:14:53.939Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-442/archives ] [2024-07-03T04:14:53.939Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-442/archives [2024-07-03T04:14:53.939Z] total 16 [2024-07-03T04:14:53.939Z] drwxr-xr-x 3 root root 4096 Jul 3 04:03 . [2024-07-03T04:14:53.939Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 04:03 .. [2024-07-03T04:14:53.939Z] drwxr-xr-x 2 root root 4096 Jul 3 04:03 cost [2024-07-03T04:14:53.939Z] -rw-r--r-- 1 root root 91 Jul 3 04:03 cost.csv [2024-07-03T04:14:53.939Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-442/archives [2024-07-03T04:14:53.939Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-442/archives [2024-07-03T04:14:53.939Z] total 16 [2024-07-03T04:14:53.939Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 04:03 . [2024-07-03T04:14:53.939Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 04:03 .. [2024-07-03T04:14:53.939Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 04:03 cost [2024-07-03T04:14:53.939Z] -rw-r--r-- 1 jenkins jenkins 91 Jul 3 04:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-03T04:14:54.283Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T04:14:55.191Z] ---> package-listing.sh [2024-07-03T04:14:55.191Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-03T04:14:55.191Z] ++ facter osfamily [2024-07-03T04:14:55.452Z] + OS_FAMILY=debian [2024-07-03T04:14:55.453Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-442 [2024-07-03T04:14:55.453Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-03T04:14:55.453Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-03T04:14:55.453Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-03T04:14:55.453Z] + PACKAGES=/tmp/packages_start.txt [2024-07-03T04:14:55.453Z] + '[' /w/workspace/undry_device-onvif-camera_PR-442 ']' [2024-07-03T04:14:55.453Z] + PACKAGES=/tmp/packages_end.txt [2024-07-03T04:14:55.453Z] + case "${OS_FAMILY}" in [2024-07-03T04:14:55.453Z] + dpkg -l [2024-07-03T04:14:55.453Z] + grep '^ii' [2024-07-03T04:14:55.453Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-03T04:14:55.453Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-03T04:14:55.453Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-03T04:14:55.453Z] + '[' /w/workspace/undry_device-onvif-camera_PR-442 ']' [2024-07-03T04:14:55.453Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-442/archives/ [2024-07-03T04:14:55.453Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-442/archives/ [Pipeline] echo [2024-07-03T04:14:55.497Z] 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-442/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-03T04:14:55.801Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T04:14:56.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T04:14:56.450Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T04:14:56.622Z] prd-ubuntu20.04-docker-8c-8g-4871 does not seem to be running inside a container [2024-07-03T04:14:56.672Z] $ 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-442/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-442 -v /w/workspace/undry_device-onvif-camera_PR-442:/w/workspace/undry_device-onvif-camera_PR-442:rw,z -v /w/workspace/undry_device-onvif-camera_PR-442@tmp:/w/workspace/undry_device-onvif-camera_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-03T04:14:56.846Z] $ docker top e3b02673ebbc7deeb8136d85abc53d818b405b36dc61b564b289273a6df9d2c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T04:14:57.254Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-03T04:14:57.625Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-03T04:14:58.034Z] + ls /var/log/sa-host [2024-07-03T04:14:58.034Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T04:14:58.279Z] provisioning config files... [2024-07-03T04:14:58.299Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-442@tmp/config11894189685081855955tmp [Pipeline] { [Pipeline] echo [2024-07-03T04:14:58.362Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T04:14:58.684Z] ---> create-netrc.sh [Pipeline] } [2024-07-03T04:14:58.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-03T04:14:59.159Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-03T04:14:59.200Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T04:14:59.524Z] ---> sudo-logs.sh [2024-07-03T04:14:59.525Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-03T04:14:59.604Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T04:14:59.925Z] ---> job-cost.sh [2024-07-03T04:14:59.925Z] lf-activate-venv: SKIPPING [2024-07-03T04:14:59.925Z] DEBUG: total: 0.2199999988079071 [2024-07-03T04:14:59.925Z] INFO: Retrieving Stack Cost... [2024-07-03T04:15:00.183Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-03T04:15:00.442Z] INFO: Archiving Costs [Pipeline] echo [2024-07-03T04:15:00.489Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T04:15:00.809Z] ---> logs-deploy.sh [2024-07-03T04:15:00.809Z] lf-activate-venv: SKIPPING [2024-07-03T04:15:00.809Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-442/1 [2024-07-03T04:15:00.809Z] INFO: archiving workspace using pattern(s): [2024-07-03T04:15:01.744Z] Archives upload complete. [2024-07-03T04:15:01.744Z] INFO: archiving logs to Nexus