Pull request #452 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5055e2dd7dbd14d315d91f9125832f150219bc60+8926137e1ee1dca90be7e6fe7248a1fca1e6078a (fcc4d50482c4b5f2b2a8354017954d54a2640e11) 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-ssh10039849493608557345.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-ssh9431032856153064612.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-452/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-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8787568555513614338.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-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13649371569791413412.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-ssh2470118119317639330.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-452/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-452/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15966249072004576697.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8010’ Running on prd-ubuntu20.04-docker-8c-8g-8014 in /w/workspace/undry_device-onvif-camera_PR-452 [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-452 # 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 8926137e1ee1dca90be7e6fe7248a1fca1e6078a into PR head commit 5055e2dd7dbd14d315d91f9125832f150219bc60 Merge succeeded, producing 5055e2dd7dbd14d315d91f9125832f150219bc60 Checking out Revision 5055e2dd7dbd14d315d91f9125832f150219bc60 (PR-452) 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/452/head:refs/remotes/origin/PR-452 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5055e2dd7dbd14d315d91f9125832f150219bc60 # 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 8926137e1ee1dca90be7e6fe7248a1fca1e6078a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5055e2dd7dbd14d315d91f9125832f150219bc60 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-20T03:50:47.033Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-20T03:50:47.275Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-20T03:50:47.422Z] ========================================================= [2024-08-20T03:50:47.422Z] EdgeX Global Pipelines Version Info [2024-08-20T03:50:47.422Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-20T03:50:48.201Z] ------------------- [2024-08-20T03:50:48.201Z] stable info: [2024-08-20T03:50:48.201Z] ------------------- [2024-08-20T03:50:48.201Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-20T03:50:48.201Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-20T03:50:48.201Z] Message: update stable to v1.0.260 [2024-08-20T03:50:48.773Z] ------------------- [2024-08-20T03:50:48.773Z] experimental info: [2024-08-20T03:50:48.773Z] ------------------- [2024-08-20T03:50:48.773Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-20T03:50:48.773Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-20T03:50:48.773Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-20T03:50:49.004Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-08-20T03:50:49.070Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-08-20T03:50:49.139Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-20T03:50:49.195Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-20T03:50:49.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-20T03:50:49.315Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-20T03:50:49.374Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-20T03:50:49.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-20T03:50:49.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-20T03:50:49.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-20T03:50:49.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-20T03:50:49.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-08-20T03:50:49.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-20T03:50:49.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-20T03:50:49.891Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-20T03:50:49.953Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-20T03:50:50.009Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-20T03:50:50.066Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-20T03:50:50.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-20T03:50:50.186Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-20T03:50:50.249Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-20T03:50:50.315Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-08-20T03:50:50.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-20T03:50:50.437Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-20T03:50:50.497Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-20T03:50:50.560Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-20T03:50:50.619Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-20T03:50:50.678Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-452 [Pipeline] echo [2024-08-20T03:50:50.735Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-452 [Pipeline] echo [2024-08-20T03:50:50.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-452 [Pipeline] echo [2024-08-20T03:50:50.857Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5055e2dd7dbd14d315d91f9125832f150219bc60 [Pipeline] echo [2024-08-20T03:50:50.915Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5055e2d [Pipeline] echo [2024-08-20T03:50:50.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-20T03:50:51.136Z] provisioning config files... [2024-08-20T03:50:51.152Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-452@tmp/config7564514817571383874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-20T03:50:51.556Z] ---> ****-login.sh [2024-08-20T03:50:51.557Z] nexus3.edgexfoundry.org:10001 [2024-08-20T03:50:51.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:50:51.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:50:51.818Z] Configure a credential helper to remove this warning. See [2024-08-20T03:50:51.818Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:50:51.818Z] [2024-08-20T03:50:51.818Z] Login Succeeded [2024-08-20T03:50:51.818Z] nexus3.edgexfoundry.org:10002 [2024-08-20T03:50:52.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:50:52.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:50:52.079Z] Configure a credential helper to remove this warning. See [2024-08-20T03:50:52.079Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:50:52.079Z] [2024-08-20T03:50:52.079Z] Login Succeeded [2024-08-20T03:50:52.079Z] nexus3.edgexfoundry.org:10003 [2024-08-20T03:50:52.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:50:52.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:50:52.079Z] Configure a credential helper to remove this warning. See [2024-08-20T03:50:52.079Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:50:52.079Z] [2024-08-20T03:50:52.079Z] Login Succeeded [2024-08-20T03:50:52.079Z] nexus3.edgexfoundry.org:10004 [2024-08-20T03:50:52.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:50:52.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:50:52.340Z] Configure a credential helper to remove this warning. See [2024-08-20T03:50:52.340Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:50:52.340Z] [2024-08-20T03:50:52.340Z] Login Succeeded [2024-08-20T03:50:52.340Z] ****.io [2024-08-20T03:50:52.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:50:52.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:50:52.341Z] Configure a credential helper to remove this warning. See [2024-08-20T03:50:52.341Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:50:52.341Z] [2024-08-20T03:50:52.341Z] Login Succeeded [2024-08-20T03:50:52.341Z] ---> ****-login.sh ends [Pipeline] } [2024-08-20T03:50:52.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-20T03:50:53.096Z] + git rev-list -1 --merges 5055e2dd7dbd14d315d91f9125832f150219bc60~1..5055e2dd7dbd14d315d91f9125832f150219bc60 [Pipeline] echo [2024-08-20T03:50:53.153Z] -----------> git rev-list -1 --merges 5055e2dd7dbd14d315d91f9125832f150219bc60~1..5055e2dd7dbd14d315d91f9125832f150219bc60 5055e2dd7dbd14d315d91f9125832f150219bc60 [false] [Pipeline] sh [2024-08-20T03:50:53.475Z] + git log --format=format:%s -1 5055e2dd7dbd14d315d91f9125832f150219bc60 [Pipeline] echo [2024-08-20T03:50:53.520Z] ========================================================= [2024-08-20T03:50:53.520Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-20T03:50:53.520Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-20T03:50:54.004Z] + git log --format=format:%s -1 5055e2dd7dbd14d315d91f9125832f150219bc60 [Pipeline] echo [2024-08-20T03:50:54.045Z] [semverPrep] GIT_COMMIT: 5055e2dd7dbd14d315d91f9125832f150219bc60, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-08-20T03:50:54.088Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-20T03:50:54.518Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-20T03:50:54.518Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-20T03:50:54.518Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-20T03:50:54.518Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-20T03:50:54.518Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-20T03:50:54.518Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-20T03:50:54.518Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-20T03:50:55.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-20T03:50:55.046Z] [2024-08-20T03:50:55.046Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-20T03:50:55.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-20T03:50:55.581Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-20T03:50:55.581Z] b85a868b505f: Pulling fs layer [2024-08-20T03:50:55.581Z] e2be974225ed: Pulling fs layer [2024-08-20T03:50:55.581Z] 339a4e72a1f5: Pulling fs layer [2024-08-20T03:50:55.581Z] 988bab9f4d93: Pulling fs layer [2024-08-20T03:50:55.581Z] 1469e6f7b9e6: Pulling fs layer [2024-08-20T03:50:55.581Z] eaf3925da568: Pulling fs layer [2024-08-20T03:50:55.581Z] bab4dde63d76: Pulling fs layer [2024-08-20T03:50:55.581Z] bde34c3a00c8: Pulling fs layer [2024-08-20T03:50:55.581Z] b352a97aabf1: Pulling fs layer [2024-08-20T03:50:55.581Z] 4872d77fe225: Pulling fs layer [2024-08-20T03:50:55.581Z] 5851b861e8e6: Pulling fs layer [2024-08-20T03:50:55.581Z] bab4dde63d76: Waiting [2024-08-20T03:50:55.581Z] 1469e6f7b9e6: Waiting [2024-08-20T03:50:55.581Z] 988bab9f4d93: Waiting [2024-08-20T03:50:55.581Z] eaf3925da568: Waiting [2024-08-20T03:50:55.581Z] b352a97aabf1: Waiting [2024-08-20T03:50:55.581Z] 4872d77fe225: Waiting [2024-08-20T03:50:55.581Z] 5851b861e8e6: Waiting [2024-08-20T03:50:55.581Z] e2be974225ed: Verifying Checksum [2024-08-20T03:50:55.581Z] e2be974225ed: Download complete [2024-08-20T03:50:55.581Z] 988bab9f4d93: Verifying Checksum [2024-08-20T03:50:55.581Z] 988bab9f4d93: Download complete [2024-08-20T03:50:55.844Z] 339a4e72a1f5: Verifying Checksum [2024-08-20T03:50:55.844Z] 339a4e72a1f5: Download complete [2024-08-20T03:50:55.844Z] 1469e6f7b9e6: Verifying Checksum [2024-08-20T03:50:55.844Z] 1469e6f7b9e6: Download complete [2024-08-20T03:50:55.844Z] eaf3925da568: Verifying Checksum [2024-08-20T03:50:55.844Z] eaf3925da568: Download complete [2024-08-20T03:50:55.844Z] bde34c3a00c8: Download complete [2024-08-20T03:50:55.844Z] b352a97aabf1: Verifying Checksum [2024-08-20T03:50:55.844Z] 4872d77fe225: Verifying Checksum [2024-08-20T03:50:55.844Z] 4872d77fe225: Download complete [2024-08-20T03:50:55.844Z] 5851b861e8e6: Verifying Checksum [2024-08-20T03:50:55.844Z] 5851b861e8e6: Download complete [2024-08-20T03:50:55.844Z] b85a868b505f: Verifying Checksum [2024-08-20T03:50:55.844Z] b85a868b505f: Download complete [2024-08-20T03:50:56.103Z] bab4dde63d76: Verifying Checksum [2024-08-20T03:50:56.103Z] bab4dde63d76: Download complete [2024-08-20T03:50:57.038Z] b85a868b505f: Pull complete [2024-08-20T03:50:57.297Z] e2be974225ed: Pull complete [2024-08-20T03:50:57.558Z] 339a4e72a1f5: Pull complete [2024-08-20T03:50:57.820Z] 988bab9f4d93: Pull complete [2024-08-20T03:50:57.820Z] 1469e6f7b9e6: Pull complete [2024-08-20T03:50:58.078Z] eaf3925da568: Pull complete [2024-08-20T03:50:59.985Z] bab4dde63d76: Pull complete [2024-08-20T03:50:59.985Z] bde34c3a00c8: Pull complete [2024-08-20T03:50:59.985Z] b352a97aabf1: Pull complete [2024-08-20T03:50:59.985Z] 4872d77fe225: Pull complete [2024-08-20T03:50:59.985Z] 5851b861e8e6: Pull complete [2024-08-20T03:50:59.985Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-20T03:50:59.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-20T03:50:59.985Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-20T03:51:00.309Z] prd-ubuntu20.04-docker-8c-8g-8014 does not seem to be running inside a container [2024-08-20T03:51:00.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-452 -v /w/workspace/undry_device-onvif-camera_PR-452:/w/workspace/undry_device-onvif-camera_PR-452:rw,z -v /w/workspace/undry_device-onvif-camera_PR-452@tmp:/w/workspace/undry_device-onvif-camera_PR-452@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-08-20T03:51:03.582Z] $ docker top c70dce738b128c20ff86572a0506a0dba3525372569028d4bea874871c17371e -eo pid,comm [2024-08-20T03:51:03.638Z] 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-08-20T03:51:03.638Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-20T03:51:03.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-20T03:51:03.809Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-20T03:51:03.929Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-20T03:51:03.932Z] $ docker exec c70dce738b128c20ff86572a0506a0dba3525372569028d4bea874871c17371e ssh-agent [2024-08-20T03:51:04.030Z] SSH_AUTH_SOCK=/tmp/ssh-xlWk2RuLzcN4/agent.32 [2024-08-20T03:51:04.030Z] SSH_AGENT_PID=38 [2024-08-20T03:51:04.037Z] Running ssh-add (command line suppressed) [2024-08-20T03:51:04.138Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-452@tmp/private_key_7300193876547907417.key (/w/workspace/undry_device-onvif-camera_PR-452@tmp/private_key_7300193876547907417.key) [2024-08-20T03:51:04.151Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-20T03:51:04.514Z] + git tag --points-at HEAD [Pipeline] } [2024-08-20T03:51:04.546Z] $ docker exec --env ******** --env ******** c70dce738b128c20ff86572a0506a0dba3525372569028d4bea874871c17371e ssh-agent -k [2024-08-20T03:51:04.635Z] unset SSH_AUTH_SOCK; [2024-08-20T03:51:04.636Z] unset SSH_AGENT_PID; [2024-08-20T03:51:04.636Z] echo Agent pid 38 killed; [2024-08-20T03:51:04.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-20T03:51:04.767Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-20T03:51:04.767Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-20T03:51:04.884Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-20T03:51:04.886Z] $ docker exec c70dce738b128c20ff86572a0506a0dba3525372569028d4bea874871c17371e ssh-agent [2024-08-20T03:51:04.999Z] SSH_AUTH_SOCK=/tmp/ssh-FlkCPMkeOTiE/agent.72 [2024-08-20T03:51:04.999Z] SSH_AGENT_PID=78 [2024-08-20T03:51:05.003Z] Running ssh-add (command line suppressed) [2024-08-20T03:51:05.113Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-452@tmp/private_key_3807428904832719003.key (/w/workspace/undry_device-onvif-camera_PR-452@tmp/private_key_3807428904832719003.key) [2024-08-20T03:51:05.128Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-20T03:51:05.487Z] + git semver init [2024-08-20T03:51:05.749Z] 2024-08-20 03:51:05,651 [run_init] DEBUG init version:0.0.0 force:False [2024-08-20T03:51:05.749Z] 2024-08-20 03:51:05,651 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-452/.semver [2024-08-20T03:51:05.749Z] 2024-08-20 03:51:05,652 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-452/.semver [2024-08-20T03:51:05.749Z] 2024-08-20 03:51:05,652 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-452/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-452, universal_newlines=False, shell=None, istream=None) [2024-08-20T03:51:07.665Z] 2024-08-20 03:51:07,306 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-452/.git/info/exclude [2024-08-20T03:51:07.665Z] 2024-08-20 03:51:07,306 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-452/.semver/PR-452 with force:False [2024-08-20T03:51:07.665Z] 2024-08-20 03:51:07,306 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-452/.semver/PR-452 [2024-08-20T03:51:07.665Z] 2024-08-20 03:51:07,310 [execute] INFO git cat-file --batch-check [2024-08-20T03:51:07.665Z] 2024-08-20 03:51:07,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-452/.semver, universal_newlines=False, shell=None, istream=) [2024-08-20T03:51:07.665Z] 2024-08-20 03:51:07,316 [execute] INFO git cat-file --batch [2024-08-20T03:51:07.665Z] 2024-08-20 03:51:07,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-452/.semver, universal_newlines=False, shell=None, istream=) [2024-08-20T03:51:07.665Z] 2024-08-20 03:51:07,321 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-452/.semver/PR-452 [2024-08-20T03:51:07.665Z] 0.0.0 [Pipeline] } [2024-08-20T03:51:07.693Z] $ docker exec --env ******** --env ******** c70dce738b128c20ff86572a0506a0dba3525372569028d4bea874871c17371e ssh-agent -k [2024-08-20T03:51:07.796Z] unset SSH_AUTH_SOCK; [2024-08-20T03:51:07.797Z] unset SSH_AGENT_PID; [2024-08-20T03:51:07.797Z] echo Agent pid 78 killed; [2024-08-20T03:51:07.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-20T03:51:08.280Z] + git semver [Pipeline] } [2024-08-20T03:51:08.572Z] $ docker stop --time=1 c70dce738b128c20ff86572a0506a0dba3525372569028d4bea874871c17371e [2024-08-20T03:51:09.870Z] $ docker rm -f --volumes c70dce738b128c20ff86572a0506a0dba3525372569028d4bea874871c17371e [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-20T03:51:10.287Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-20T03:51:10.595Z] Stashed 1 file(s) [Pipeline] echo [2024-08-20T03:51:10.620Z] [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-08-20T03:51:11.403Z] provisioning config files... [2024-08-20T03:51:11.412Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-452@tmp/config16315701923728426041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-20T03:51:11.794Z] ---> ****-login.sh [2024-08-20T03:51:11.794Z] nexus3.edgexfoundry.org:10001 [2024-08-20T03:51:11.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:51:11.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:51:11.794Z] Configure a credential helper to remove this warning. See [2024-08-20T03:51:11.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:51:11.794Z] [2024-08-20T03:51:11.794Z] Login Succeeded [2024-08-20T03:51:11.794Z] nexus3.edgexfoundry.org:10002 [2024-08-20T03:51:11.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:51:11.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:51:11.794Z] Configure a credential helper to remove this warning. See [2024-08-20T03:51:11.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:51:11.794Z] [2024-08-20T03:51:11.794Z] Login Succeeded [2024-08-20T03:51:11.794Z] nexus3.edgexfoundry.org:10003 [2024-08-20T03:51:12.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:51:12.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:51:12.057Z] Configure a credential helper to remove this warning. See [2024-08-20T03:51:12.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:51:12.057Z] [2024-08-20T03:51:12.057Z] Login Succeeded [2024-08-20T03:51:12.057Z] nexus3.edgexfoundry.org:10004 [2024-08-20T03:51:12.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:51:12.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:51:12.057Z] Configure a credential helper to remove this warning. See [2024-08-20T03:51:12.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:51:12.057Z] [2024-08-20T03:51:12.057Z] Login Succeeded [2024-08-20T03:51:12.057Z] ****.io [2024-08-20T03:51:12.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:51:12.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:51:12.318Z] Configure a credential helper to remove this warning. See [2024-08-20T03:51:12.318Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:51:12.318Z] [2024-08-20T03:51:12.318Z] Login Succeeded [2024-08-20T03:51:12.318Z] ---> ****-login.sh ends [Pipeline] } [2024-08-20T03:51:12.359Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-20T03:51:12.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-20T03:51:12.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-20T03:51:12.696Z] ========================================================= [2024-08-20T03:51:12.696Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-20T03:51:12.696Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-20T03:51:13.236Z] + 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-08-20T03:51:13.236Z] Sending build context to Docker daemon 36.65MB [2024-08-20T03:51:13.236Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-08-20T03:51:13.236Z] Step 2/13 : FROM ${BASE} AS builder [2024-08-20T03:51:13.519Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-20T03:51:13.519Z] 619be1103602: Pulling fs layer [2024-08-20T03:51:13.519Z] 7862e08f4a3e: Pulling fs layer [2024-08-20T03:51:13.519Z] 5df492c9dc93: Pulling fs layer [2024-08-20T03:51:13.519Z] 7629e6793208: Pulling fs layer [2024-08-20T03:51:13.519Z] 4f4fb700ef54: Pulling fs layer [2024-08-20T03:51:13.519Z] fb5054dd5b73: Pulling fs layer [2024-08-20T03:51:13.519Z] eeca6798cff9: Pulling fs layer [2024-08-20T03:51:13.519Z] aa269ceb94a6: Pulling fs layer [2024-08-20T03:51:13.519Z] ada007ff1a6a: Pulling fs layer [2024-08-20T03:51:13.520Z] aa269ceb94a6: Waiting [2024-08-20T03:51:13.520Z] ada007ff1a6a: Waiting [2024-08-20T03:51:13.520Z] 7629e6793208: Waiting [2024-08-20T03:51:13.520Z] 4f4fb700ef54: Waiting [2024-08-20T03:51:13.520Z] eeca6798cff9: Waiting [2024-08-20T03:51:13.520Z] 7862e08f4a3e: Verifying Checksum [2024-08-20T03:51:13.520Z] 7862e08f4a3e: Download complete [2024-08-20T03:51:13.520Z] 7629e6793208: Verifying Checksum [2024-08-20T03:51:13.520Z] 7629e6793208: Download complete [2024-08-20T03:51:13.520Z] 4f4fb700ef54: Download complete [2024-08-20T03:51:13.520Z] 619be1103602: Download complete [2024-08-20T03:51:13.520Z] fb5054dd5b73: Verifying Checksum [2024-08-20T03:51:13.520Z] fb5054dd5b73: Download complete [2024-08-20T03:51:13.520Z] eeca6798cff9: Verifying Checksum [2024-08-20T03:51:13.520Z] eeca6798cff9: Download complete [2024-08-20T03:51:13.778Z] 619be1103602: Pull complete [2024-08-20T03:51:13.778Z] 7862e08f4a3e: Pull complete [2024-08-20T03:51:13.778Z] ada007ff1a6a: Verifying Checksum [2024-08-20T03:51:13.778Z] ada007ff1a6a: Download complete [2024-08-20T03:51:14.038Z] 5df492c9dc93: Verifying Checksum [2024-08-20T03:51:14.038Z] 5df492c9dc93: Download complete [2024-08-20T03:51:14.295Z] aa269ceb94a6: Verifying Checksum [2024-08-20T03:51:14.295Z] aa269ceb94a6: Download complete [2024-08-20T03:51:16.827Z] 5df492c9dc93: Pull complete [2024-08-20T03:51:16.827Z] 7629e6793208: Pull complete [2024-08-20T03:51:16.827Z] 4f4fb700ef54: Pull complete [2024-08-20T03:51:17.085Z] fb5054dd5b73: Pull complete [2024-08-20T03:51:17.085Z] eeca6798cff9: Pull complete [2024-08-20T03:51:19.615Z] aa269ceb94a6: Pull complete [2024-08-20T03:51:19.615Z] ada007ff1a6a: Pull complete [2024-08-20T03:51:19.615Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-20T03:51:19.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-20T03:51:19.877Z] ---> f489d0715acc [2024-08-20T03:51:19.877Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-08-20T03:51:24.072Z] ---> Running in 2f7421038749 [2024-08-20T03:51:24.073Z] Removing intermediate container 2f7421038749 [2024-08-20T03:51:24.073Z] ---> 8daaa0789f89 [2024-08-20T03:51:24.073Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-20T03:51:24.073Z] ---> Running in 90ebfe7338da [2024-08-20T03:51:24.073Z] Removing intermediate container 90ebfe7338da [2024-08-20T03:51:24.073Z] ---> 8a3e25a2b427 [2024-08-20T03:51:24.073Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-08-20T03:51:24.073Z] ---> Running in 71877049ce2d [2024-08-20T03:51:24.073Z] Removing intermediate container 71877049ce2d [2024-08-20T03:51:24.073Z] ---> e5de2557f3ed [2024-08-20T03:51:24.073Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-08-20T03:51:24.073Z] ---> Running in 0274f6b6eeac [2024-08-20T03:51:24.332Z] Removing intermediate container 0274f6b6eeac [2024-08-20T03:51:24.333Z] ---> a8c0551fa151 [2024-08-20T03:51:24.333Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-08-20T03:51:24.333Z] ---> Running in 1abce8ea1366 [2024-08-20T03:51:24.333Z] Removing intermediate container 1abce8ea1366 [2024-08-20T03:51:24.333Z] ---> 93ff27916350 [2024-08-20T03:51:24.333Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-20T03:51:24.333Z] ---> Running in 24c8e275ef06 [2024-08-20T03:51:24.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-20T03:51:24.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-20T03:51:25.111Z] OK: 264 MiB in 52 packages [2024-08-20T03:51:25.371Z] Removing intermediate container 24c8e275ef06 [2024-08-20T03:51:25.371Z] ---> 2815e5b2ad29 [2024-08-20T03:51:25.371Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-08-20T03:51:25.371Z] ---> Running in 6aa3196011d1 [2024-08-20T03:51:25.371Z] Removing intermediate container 6aa3196011d1 [2024-08-20T03:51:25.371Z] ---> 892ab772d533 [2024-08-20T03:51:25.371Z] Step 10/13 : COPY go.mod vendor* ./ [2024-08-20T03:51:25.630Z] ---> 75911bf6ce50 [2024-08-20T03:51:25.630Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-20T03:51:25.630Z] ---> Running in b7f501369ce4 [2024-08-20T03:51:26.160Z] Still waiting to schedule task [2024-08-20T03:51:26.160Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8012’ [2024-08-20T03:52:21.953Z] Removing intermediate container b7f501369ce4 [2024-08-20T03:52:21.953Z] ---> 70aebf3c4f54 [2024-08-20T03:52:21.953Z] Step 12/13 : COPY . . [2024-08-20T03:52:21.953Z] ---> 0526f35bc2c6 [2024-08-20T03:52:21.953Z] Step 13/13 : RUN ${MAKE} [2024-08-20T03:52:21.953Z] ---> Running in fc4628c9dbc2 [2024-08-20T03:52:21.953Z] noop [2024-08-20T03:52:21.953Z] Removing intermediate container fc4628c9dbc2 [2024-08-20T03:52:21.953Z] ---> a4136a307cea [2024-08-20T03:52:21.953Z] Successfully built a4136a307cea [2024-08-20T03:52:21.953Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-20T03:52:22.479Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-20T03:52:22.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-20T03:52:22.662Z] prd-ubuntu20.04-docker-8c-8g-8014 does not seem to be running inside a container [2024-08-20T03:52:22.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-452 -v /w/workspace/undry_device-onvif-camera_PR-452:/w/workspace/undry_device-onvif-camera_PR-452:rw,z -v /w/workspace/undry_device-onvif-camera_PR-452@tmp:/w/workspace/undry_device-onvif-camera_PR-452@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-08-20T03:52:22.998Z] $ docker top ef9ee9815329f5e6d5c83706c2d3befba79ac7f0231d7ba6085c5265447e5a4f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-20T03:52:23.417Z] + go version [2024-08-20T03:52:23.417Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-20T03:52:23.452Z] $ docker stop --time=1 ef9ee9815329f5e6d5c83706c2d3befba79ac7f0231d7ba6085c5265447e5a4f [2024-08-20T03:52:24.705Z] $ docker rm -f --volumes ef9ee9815329f5e6d5c83706c2d3befba79ac7f0231d7ba6085c5265447e5a4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-20T03:52:25.593Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-20T03:52:25.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-20T03:52:25.756Z] prd-ubuntu20.04-docker-8c-8g-8014 does not seem to be running inside a container [2024-08-20T03:52:25.781Z] $ 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-452 -v /w/workspace/undry_device-onvif-camera_PR-452:/w/workspace/undry_device-onvif-camera_PR-452:rw,z -v /w/workspace/undry_device-onvif-camera_PR-452@tmp:/w/workspace/undry_device-onvif-camera_PR-452@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-08-20T03:52:26.107Z] $ docker top 0c43246a998727dde1fd1559cbbe62d00aca017e3bea484dbad6d2a0ff753284 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-20T03:52:26.519Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-452 [Pipeline] fileExists [Pipeline] sh [2024-08-20T03:52:26.907Z] + make test [2024-08-20T03:52:26.907Z] go test ./... -coverprofile=coverage.out ./... [2024-08-20T03:52:28.811Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-08-20T03:52:46.892Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-08-20T03:52:46.892Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-08-20T03:52:47.150Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.4% of statements [2024-08-20T03:52:47.150Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.077s coverage: 86.5% of statements [2024-08-20T03:52:57.125Z] go vet ./... [2024-08-20T03:53:01.306Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-20T03:53:01.306Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-20T03:53:01.306Z] ./bin/test-attribution-txt.sh [2024-08-20T03:53:01.306Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-20T03:53:01.306Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-20T03:53:01.306Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-20T03:53:01.306Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-20T03:53:01.306Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-20T03:53:01.306Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-20T03:53:01.563Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-20T03:53:01.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-20T03:53:01.643Z] $ docker stop --time=1 0c43246a998727dde1fd1559cbbe62d00aca017e3bea484dbad6d2a0ff753284 [2024-08-20T03:53:06.394Z] $ docker rm -f --volumes 0c43246a998727dde1fd1559cbbe62d00aca017e3bea484dbad6d2a0ff753284 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-20T03:53:07.017Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-20T03:53:07.108Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-20T03:53:07.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-20T03:53:08.177Z] + ls -al . [2024-08-20T03:53:08.177Z] total 312 [2024-08-20T03:53:08.177Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 20 03:52 . [2024-08-20T03:53:08.177Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 20 03:50 .. [2024-08-20T03:53:08.177Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 20 03:52 .git [2024-08-20T03:53:08.177Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 20 03:50 .github [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 493 Aug 20 03:50 .gitignore [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 20 03:50 .golangci.yml [2024-08-20T03:53:08.177Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 20 03:51 .semver [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 11155 Aug 20 03:50 Attribution.txt [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 17665 Aug 20 03:50 CHANGELOG.md [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 1683 Aug 20 03:50 Dockerfile [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 20 03:50 GOVERNANCE.md [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 739 Aug 20 03:50 Jenkinsfile [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 20 03:50 LICENSE [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 2883 Aug 20 03:50 Makefile [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 20 03:50 OWNERS.md [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 2620 Aug 20 03:50 README.md [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 20 03:51 VERSION [2024-08-20T03:53:08.177Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 20 03:50 bin [2024-08-20T03:53:08.177Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 20 03:50 cmd [2024-08-20T03:53:08.177Z] -rw-r--r-- 1 jenkins jenkins 78805 Aug 20 03:52 coverage.out [2024-08-20T03:53:08.177Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 20 03:50 doc [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 7331 Aug 20 03:50 go.mod [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 102413 Aug 20 03:50 go.sum [2024-08-20T03:53:08.177Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 20 03:50 internal [2024-08-20T03:53:08.177Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 20 03:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-20T03:53:08.617Z] + 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=5055e2dd7dbd14d315d91f9125832f150219bc60 --label arch=amd64 --label version=0.0.0 . [2024-08-20T03:53:08.618Z] Sending build context to Docker daemon 36.73MB [2024-08-20T03:53:08.618Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-08-20T03:53:08.618Z] Step 2/27 : FROM ${BASE} AS builder [2024-08-20T03:53:08.618Z] ---> a4136a307cea [2024-08-20T03:53:08.618Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-08-20T03:53:09.185Z] ---> Running in 4345e400dade [2024-08-20T03:53:09.185Z] Removing intermediate container 4345e400dade [2024-08-20T03:53:09.185Z] ---> bc0f9a32295f [2024-08-20T03:53:09.185Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-20T03:53:09.185Z] ---> Running in 07778bd065e1 [2024-08-20T03:53:09.444Z] Removing intermediate container 07778bd065e1 [2024-08-20T03:53:09.444Z] ---> d7140ca23356 [2024-08-20T03:53:09.444Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-08-20T03:53:09.444Z] ---> Running in 885224d773aa [2024-08-20T03:53:09.444Z] Removing intermediate container 885224d773aa [2024-08-20T03:53:09.444Z] ---> 31c06733f107 [2024-08-20T03:53:09.444Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-08-20T03:53:09.444Z] ---> Running in 10f56f387e23 [2024-08-20T03:53:09.444Z] Removing intermediate container 10f56f387e23 [2024-08-20T03:53:09.444Z] ---> ad5719a192f2 [2024-08-20T03:53:09.444Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-08-20T03:53:09.444Z] ---> Running in 109d968cff3c [2024-08-20T03:53:09.703Z] Removing intermediate container 109d968cff3c [2024-08-20T03:53:09.703Z] ---> 736dd24d7633 [2024-08-20T03:53:09.703Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-20T03:53:09.703Z] ---> Running in def0059c483c [2024-08-20T03:53:09.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-20T03:53:10.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-20T03:53:10.221Z] OK: 264 MiB in 52 packages [2024-08-20T03:53:10.788Z] Removing intermediate container def0059c483c [2024-08-20T03:53:10.788Z] ---> c0dcc8ff6b92 [2024-08-20T03:53:10.788Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-08-20T03:53:10.788Z] ---> Running in f7507c71c9fe [2024-08-20T03:53:10.788Z] Removing intermediate container f7507c71c9fe [2024-08-20T03:53:10.788Z] ---> 36939837d29d [2024-08-20T03:53:10.788Z] Step 10/27 : COPY go.mod vendor* ./ [2024-08-20T03:53:10.788Z] ---> 6ac2a41c061a [2024-08-20T03:53:10.788Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-20T03:53:10.788Z] ---> Running in bd97cbf11448 [2024-08-20T03:53:11.726Z] Removing intermediate container bd97cbf11448 [2024-08-20T03:53:11.726Z] ---> 98e327a90854 [2024-08-20T03:53:11.726Z] Step 12/27 : COPY . . [2024-08-20T03:53:12.662Z] ---> 3c813ddfd524 [2024-08-20T03:53:12.662Z] Step 13/27 : RUN ${MAKE} [2024-08-20T03:53:12.662Z] ---> Running in 79d87052b3e5 [2024-08-20T03:53:12.921Z] 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.31" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-08-20T03:53:45.000Z] Removing intermediate container 79d87052b3e5 [2024-08-20T03:53:45.000Z] ---> 617d801d4319 [2024-08-20T03:53:45.000Z] Step 14/27 : FROM alpine:3.18 [2024-08-20T03:53:45.000Z] 3.18: Pulling from library/alpine [2024-08-20T03:53:45.000Z] 930bdd4d222e: Pulling fs layer [2024-08-20T03:53:45.000Z] 930bdd4d222e: Verifying Checksum [2024-08-20T03:53:45.000Z] 930bdd4d222e: Download complete [2024-08-20T03:53:45.000Z] 930bdd4d222e: Pull complete [2024-08-20T03:53:45.000Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-20T03:53:45.000Z] Status: Downloaded newer image for alpine:3.18 [2024-08-20T03:53:45.000Z] ---> 18f865063206 [2024-08-20T03:53:45.000Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-08-20T03:53:45.000Z] ---> Running in 25b6f2e4211c [2024-08-20T03:53:45.000Z] Removing intermediate container 25b6f2e4211c [2024-08-20T03:53:45.000Z] ---> 1275a21ad8cd [2024-08-20T03:53:45.000Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-08-20T03:53:45.000Z] ---> Running in 25abf7ee4f35 [2024-08-20T03:53:45.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-20T03:53:45.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-20T03:53:45.000Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-20T03:53:45.000Z] Executing busybox-1.36.1-r7.trigger [2024-08-20T03:53:45.000Z] OK: 7 MiB in 16 packages [2024-08-20T03:53:45.000Z] Removing intermediate container 25abf7ee4f35 [2024-08-20T03:53:45.000Z] ---> 709ed7327ba9 [2024-08-20T03:53:45.000Z] Step 17/27 : RUN apk --no-cache upgrade [2024-08-20T03:53:45.000Z] ---> Running in 30c5ad4d5594 [2024-08-20T03:53:45.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-20T03:53:45.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-20T03:53:45.000Z] OK: 7 MiB in 16 packages [2024-08-20T03:53:45.000Z] Removing intermediate container 30c5ad4d5594 [2024-08-20T03:53:45.000Z] ---> 69768bbbbfa1 [2024-08-20T03:53:45.000Z] Step 18/27 : WORKDIR / [2024-08-20T03:53:45.000Z] ---> Running in 6b4416437fec [2024-08-20T03:53:45.000Z] Removing intermediate container 6b4416437fec [2024-08-20T03:53:45.000Z] ---> ddd949283402 [2024-08-20T03:53:45.000Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-08-20T03:53:45.937Z] ---> ce1fbf3c8f48 [2024-08-20T03:53:45.937Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-08-20T03:53:45.937Z] ---> 74e66f0aaf08 [2024-08-20T03:53:45.937Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-08-20T03:53:46.197Z] ---> ab710b39c5af [2024-08-20T03:53:46.197Z] Step 22/27 : EXPOSE 59984 [2024-08-20T03:53:46.197Z] ---> Running in 58a5390637a4 [2024-08-20T03:53:46.197Z] Removing intermediate container 58a5390637a4 [2024-08-20T03:53:46.197Z] ---> a65eff334562 [2024-08-20T03:53:46.197Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-08-20T03:53:46.197Z] ---> Running in 06b7b7747a61 [2024-08-20T03:53:46.197Z] Removing intermediate container 06b7b7747a61 [2024-08-20T03:53:46.197Z] ---> 08843aac5046 [2024-08-20T03:53:46.197Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-20T03:53:46.197Z] ---> Running in 55d4f6280461 [2024-08-20T03:53:46.456Z] Removing intermediate container 55d4f6280461 [2024-08-20T03:53:46.456Z] ---> bec2dea73810 [2024-08-20T03:53:46.456Z] Step 25/27 : LABEL arch=amd64 [2024-08-20T03:53:46.456Z] ---> Running in 32942ad70444 [2024-08-20T03:53:46.456Z] Removing intermediate container 32942ad70444 [2024-08-20T03:53:46.456Z] ---> 3e0fb5f0766a [2024-08-20T03:53:46.456Z] Step 26/27 : LABEL git_sha=5055e2dd7dbd14d315d91f9125832f150219bc60 [2024-08-20T03:53:46.456Z] ---> Running in 620d291e8018 [2024-08-20T03:53:46.456Z] Removing intermediate container 620d291e8018 [2024-08-20T03:53:46.456Z] ---> 3f1a157504c5 [2024-08-20T03:53:46.456Z] Step 27/27 : LABEL version=0.0.0 [2024-08-20T03:53:46.456Z] ---> Running in 02dac3624c90 [2024-08-20T03:53:46.715Z] Removing intermediate container 02dac3624c90 [2024-08-20T03:53:46.715Z] ---> 591660f7f09c [2024-08-20T03:53:46.715Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-20T03:53:46.715Z] Successfully built 591660f7f09c [2024-08-20T03:53:46.715Z] 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-08-20T03:53:47.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-20T03:53:47.811Z] [2024-08-20T03:53:47.811Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-20T03:53:48.250Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-20T03:53:48.250Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-20T03:53:48.250Z] 5eb5b503b376: Pulling fs layer [2024-08-20T03:53:48.250Z] 5c69ac0246d0: Pulling fs layer [2024-08-20T03:53:48.250Z] ec43610c2a17: Pulling fs layer [2024-08-20T03:53:48.250Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-20T03:53:48.250Z] 33b1e0a273af: Pulling fs layer [2024-08-20T03:53:48.250Z] 5d3b04190fa2: Pulling fs layer [2024-08-20T03:53:48.250Z] 2f39f015ded8: Pulling fs layer [2024-08-20T03:53:48.250Z] 33b1e0a273af: Waiting [2024-08-20T03:53:48.250Z] 3a2ae6a8a46f: Waiting [2024-08-20T03:53:48.250Z] 5d3b04190fa2: Waiting [2024-08-20T03:53:48.250Z] 2f39f015ded8: Waiting [2024-08-20T03:53:48.250Z] 5c69ac0246d0: Download complete [2024-08-20T03:53:48.250Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-20T03:53:48.250Z] 3a2ae6a8a46f: Download complete [2024-08-20T03:53:48.250Z] 33b1e0a273af: Verifying Checksum [2024-08-20T03:53:48.250Z] 33b1e0a273af: Download complete [2024-08-20T03:53:48.250Z] ec43610c2a17: Verifying Checksum [2024-08-20T03:53:48.250Z] ec43610c2a17: Download complete [2024-08-20T03:53:48.250Z] 5d3b04190fa2: Download complete [2024-08-20T03:53:48.510Z] 5eb5b503b376: Verifying Checksum [2024-08-20T03:53:48.510Z] 5eb5b503b376: Download complete [2024-08-20T03:53:49.077Z] 2f39f015ded8: Download complete [2024-08-20T03:53:49.644Z] 5eb5b503b376: Pull complete [2024-08-20T03:53:49.644Z] 5c69ac0246d0: Pull complete [2024-08-20T03:53:50.211Z] ec43610c2a17: Pull complete [2024-08-20T03:53:50.211Z] 3a2ae6a8a46f: Pull complete [2024-08-20T03:53:50.471Z] 33b1e0a273af: Pull complete [2024-08-20T03:53:50.471Z] 5d3b04190fa2: Pull complete [2024-08-20T03:53:53.754Z] 2f39f015ded8: Pull complete [2024-08-20T03:53:54.014Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-20T03:53:54.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-20T03:53:54.014Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-20T03:53:54.267Z] prd-ubuntu20.04-docker-8c-8g-8014 does not seem to be running inside a container [2024-08-20T03:53:54.294Z] $ 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-452 -v /w/workspace/undry_device-onvif-camera_PR-452:/w/workspace/undry_device-onvif-camera_PR-452:rw,z -v /w/workspace/undry_device-onvif-camera_PR-452@tmp:/w/workspace/undry_device-onvif-camera_PR-452@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-08-20T03:53:58.298Z] $ docker top cc6a2f6b74b3bcba6d5701cc5e4828aff26aa39638bc2e8c1bed864c0d41283f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-20T03:53:58.787Z] ---> job-cost.sh [2024-08-20T03:53:58.787Z] lf-activate-venv: SKIPPING [2024-08-20T03:53:58.787Z] INFO: No Stack... [2024-08-20T03:53:59.047Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-20T03:53:59.306Z] INFO: Archiving Costs [Pipeline] sh [2024-08-20T03:53:59.626Z] + cat /w/workspace/undry_device-onvif-camera_PR-452/archives/cost.csv [2024-08-20T03:53:59.626Z] + cut -d, -f6 [Pipeline] lock [2024-08-20T03:53:59.683Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-452-1-stack-cost] [2024-08-20T03:53:59.689Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-452-1-stack-cost] did not exist. Created. [2024-08-20T03:53:59.696Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-452-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-20T03:54:00.105Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-20T03:54:00.187Z] Stashed 1 file(s) [Pipeline] } [2024-08-20T03:54:00.212Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-452-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-20T03:54:00.295Z] $ docker stop --time=1 cc6a2f6b74b3bcba6d5701cc5e4828aff26aa39638bc2e8c1bed864c0d41283f [2024-08-20T03:54:01.448Z] $ docker rm -f --volumes cc6a2f6b74b3bcba6d5701cc5e4828aff26aa39638bc2e8c1bed864c0d41283f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-20T03:55:11.210Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8015 in /w/workspace/undry_device-onvif-camera_PR-452 [Pipeline] { [Pipeline] ws [2024-08-20T03:55:11.286Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-08-20T03:55:11.401Z] The recommended git tool is: git [2024-08-20T03:55:20.337Z] using credential edgex-jenkins-ssh [2024-08-20T03:55:20.372Z] Cloning the remote Git repository [2024-08-20T03:55:20.460Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-08-20T03:55:20.580Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-08-20T03:55:21.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-08-20T03:55:21.065Z] > git --version # timeout=10 [2024-08-20T03:55:21.100Z] > git --version # 'git version 2.25.1' [2024-08-20T03:55:21.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-20T03:55:21.332Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-20T03:55:24.333Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-08-20T03:55:24.365Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-20T03:55:26.156Z] Merging remotes/origin/main commit 8926137e1ee1dca90be7e6fe7248a1fca1e6078a into PR head commit 5055e2dd7dbd14d315d91f9125832f150219bc60 [2024-08-20T03:55:26.592Z] Merge succeeded, producing 5055e2dd7dbd14d315d91f9125832f150219bc60 [2024-08-20T03:55:26.592Z] Checking out Revision 5055e2dd7dbd14d315d91f9125832f150219bc60 (PR-452) [2024-08-20T03:55:25.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-08-20T03:55:25.652Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-08-20T03:55:25.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-20T03:55:25.683Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/452/head:refs/remotes/origin/PR-452 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-20T03:55:26.175Z] > git config core.sparsecheckout # timeout=10 [2024-08-20T03:55:26.252Z] > git checkout -f 5055e2dd7dbd14d315d91f9125832f150219bc60 # timeout=10 [2024-08-20T03:55:26.458Z] > git remote # timeout=10 [2024-08-20T03:55:26.480Z] > git config --get remote.origin.url # timeout=10 [2024-08-20T03:55:26.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-20T03:55:26.527Z] > git merge 8926137e1ee1dca90be7e6fe7248a1fca1e6078a # timeout=10 [2024-08-20T03:55:26.557Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-20T03:55:26.596Z] > git config core.sparsecheckout # timeout=10 [2024-08-20T03:55:26.611Z] > git checkout -f 5055e2dd7dbd14d315d91f9125832f150219bc60 # timeout=10 [2024-08-20T03:55:27.394Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-08-20T03:55:27.443Z] > git --version # timeout=10 [2024-08-20T03:55:27.457Z] > git --version # 'git version 2.25.1' [2024-08-20T03:55:27.469Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-20T03:55:32.536Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-20T03:55:32.537Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-20T03:55:32.537Z] Dload Upload Total Spent Left Speed [2024-08-20T03:55:32.537Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh [2024-08-20T03:55:32.899Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-20T03:55:33.249Z] + sudo tee /etc/docker/daemon.new [2024-08-20T03:55:33.250Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-20T03:55:33.250Z] { [2024-08-20T03:55:33.250Z] "registry-mirrors": [ [2024-08-20T03:55:33.250Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-20T03:55:33.250Z] ], [2024-08-20T03:55:33.250Z] "bip": "10.250.0.254/24", [2024-08-20T03:55:33.250Z] "hosts": [ [2024-08-20T03:55:33.250Z] "tcp://0.0.0.0:5555", [2024-08-20T03:55:33.250Z] "unix:///var/run/docker.sock" [2024-08-20T03:55:33.250Z] ], [2024-08-20T03:55:33.250Z] "mtu": 1458, [2024-08-20T03:55:33.250Z] "selinux-enabled": true, [2024-08-20T03:55:33.250Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-20T03:55:33.250Z] } [Pipeline] sh [2024-08-20T03:55:33.612Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-20T03:55:33.992Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-20T03:55:52.392Z] provisioning config files... [2024-08-20T03:55:52.426Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7068725426443083254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-20T03:55:52.966Z] ---> ****-login.sh [2024-08-20T03:55:52.966Z] nexus3.edgexfoundry.org:10001 [2024-08-20T03:55:53.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:55:53.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:55:53.828Z] Configure a credential helper to remove this warning. See [2024-08-20T03:55:53.828Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:55:53.828Z] [2024-08-20T03:55:53.828Z] Login Succeeded [2024-08-20T03:55:53.828Z] nexus3.edgexfoundry.org:10002 [2024-08-20T03:55:54.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:55:54.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:55:54.099Z] Configure a credential helper to remove this warning. See [2024-08-20T03:55:54.099Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:55:54.099Z] [2024-08-20T03:55:54.099Z] Login Succeeded [2024-08-20T03:55:54.099Z] nexus3.edgexfoundry.org:10003 [2024-08-20T03:55:54.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:55:54.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:55:54.651Z] Configure a credential helper to remove this warning. See [2024-08-20T03:55:54.651Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:55:54.651Z] [2024-08-20T03:55:54.651Z] Login Succeeded [2024-08-20T03:55:54.651Z] nexus3.edgexfoundry.org:10004 [2024-08-20T03:55:54.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:55:54.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:55:54.928Z] Configure a credential helper to remove this warning. See [2024-08-20T03:55:54.928Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:55:54.928Z] [2024-08-20T03:55:54.928Z] Login Succeeded [2024-08-20T03:55:54.928Z] ****.io [2024-08-20T03:55:55.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-20T03:55:55.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-20T03:55:55.474Z] Configure a credential helper to remove this warning. See [2024-08-20T03:55:55.474Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-20T03:55:55.474Z] [2024-08-20T03:55:55.474Z] Login Succeeded [2024-08-20T03:55:55.474Z] ---> ****-login.sh ends [Pipeline] } [2024-08-20T03:55:55.513Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-20T03:55:56.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-20T03:55:56.067Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-20T03:55:56.116Z] ========================================================= [2024-08-20T03:55:56.116Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-20T03:55:56.116Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-20T03:55:56.687Z] + 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-08-20T03:55:57.276Z] Sending build context to Docker daemon 21.74MB [2024-08-20T03:55:57.276Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-08-20T03:55:57.276Z] Step 2/13 : FROM ${BASE} AS builder [2024-08-20T03:55:57.551Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-20T03:55:57.551Z] c6b39de5b339: Pulling fs layer [2024-08-20T03:55:57.551Z] a69c41024577: Pulling fs layer [2024-08-20T03:55:57.551Z] d6de4b400683: Pulling fs layer [2024-08-20T03:55:57.551Z] 35cb2a7552d0: Pulling fs layer [2024-08-20T03:55:57.551Z] 4f4fb700ef54: Pulling fs layer [2024-08-20T03:55:57.551Z] 464afbd9ba4c: Pulling fs layer [2024-08-20T03:55:57.551Z] 00f215d4a9da: Pulling fs layer [2024-08-20T03:55:57.551Z] d496ad576159: Pulling fs layer [2024-08-20T03:55:57.551Z] 4f4fb700ef54: Waiting [2024-08-20T03:55:57.551Z] 464afbd9ba4c: Waiting [2024-08-20T03:55:57.551Z] 00f215d4a9da: Waiting [2024-08-20T03:55:57.551Z] d496ad576159: Waiting [2024-08-20T03:55:57.551Z] 35cb2a7552d0: Waiting [2024-08-20T03:55:57.551Z] a69c41024577: Download complete [2024-08-20T03:55:57.551Z] 35cb2a7552d0: Verifying Checksum [2024-08-20T03:55:57.551Z] 35cb2a7552d0: Download complete [2024-08-20T03:55:57.551Z] 4f4fb700ef54: Verifying Checksum [2024-08-20T03:55:57.551Z] 4f4fb700ef54: Download complete [2024-08-20T03:55:57.551Z] c6b39de5b339: Download complete [2024-08-20T03:55:57.825Z] 464afbd9ba4c: Verifying Checksum [2024-08-20T03:55:57.825Z] 464afbd9ba4c: Download complete [2024-08-20T03:55:58.107Z] d496ad576159: Verifying Checksum [2024-08-20T03:55:58.107Z] d496ad576159: Download complete [2024-08-20T03:55:58.700Z] c6b39de5b339: Pull complete [2024-08-20T03:55:59.297Z] a69c41024577: Pull complete [2024-08-20T03:55:59.567Z] d6de4b400683: Verifying Checksum [2024-08-20T03:55:59.567Z] d6de4b400683: Download complete [2024-08-20T03:56:00.984Z] 00f215d4a9da: Verifying Checksum [2024-08-20T03:56:00.984Z] 00f215d4a9da: Download complete [2024-08-20T03:56:13.307Z] d6de4b400683: Pull complete [2024-08-20T03:56:13.307Z] 35cb2a7552d0: Pull complete [2024-08-20T03:56:13.307Z] 4f4fb700ef54: Pull complete [2024-08-20T03:56:13.307Z] 464afbd9ba4c: Pull complete [2024-08-20T03:56:21.524Z] 00f215d4a9da: Pull complete [2024-08-20T03:56:23.486Z] d496ad576159: Pull complete [2024-08-20T03:56:23.486Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-20T03:56:23.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-20T03:56:23.486Z] ---> f246e2811388 [2024-08-20T03:56:23.486Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-08-20T03:56:24.466Z] ---> Running in a38d0f5f0436 [2024-08-20T03:56:24.466Z] Removing intermediate container a38d0f5f0436 [2024-08-20T03:56:24.466Z] ---> 51ab8d3437f3 [2024-08-20T03:56:24.466Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-20T03:56:24.736Z] ---> Running in 49dd213aaf35 [2024-08-20T03:56:25.005Z] Removing intermediate container 49dd213aaf35 [2024-08-20T03:56:25.005Z] ---> 96f16307d5c0 [2024-08-20T03:56:25.005Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-08-20T03:56:25.005Z] ---> Running in 69350a9c9dd9 [2024-08-20T03:56:25.274Z] Removing intermediate container 69350a9c9dd9 [2024-08-20T03:56:25.274Z] ---> 8b453c712766 [2024-08-20T03:56:25.274Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-08-20T03:56:25.544Z] ---> Running in 41182191b9de [2024-08-20T03:56:25.814Z] Removing intermediate container 41182191b9de [2024-08-20T03:56:25.814Z] ---> 9edd76294dec [2024-08-20T03:56:25.814Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-08-20T03:56:25.814Z] ---> Running in c296b6bc9706 [2024-08-20T03:56:26.401Z] Removing intermediate container c296b6bc9706 [2024-08-20T03:56:26.401Z] ---> 0513125e210f [2024-08-20T03:56:26.401Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-20T03:56:26.401Z] ---> Running in 8536258a70e5 [2024-08-20T03:56:28.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-20T03:56:28.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-20T03:56:29.772Z] OK: 266 MiB in 52 packages [2024-08-20T03:56:30.360Z] Removing intermediate container 8536258a70e5 [2024-08-20T03:56:30.360Z] ---> e0e7a349d84d [2024-08-20T03:56:30.360Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-08-20T03:56:30.360Z] ---> Running in 96037abcd114 [2024-08-20T03:56:30.956Z] Removing intermediate container 96037abcd114 [2024-08-20T03:56:30.956Z] ---> 4a09cb8efe87 [2024-08-20T03:56:30.956Z] Step 10/13 : COPY go.mod vendor* ./ [2024-08-20T03:56:31.225Z] ---> 0a8f34c29a3d [2024-08-20T03:56:31.225Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-20T03:56:31.496Z] ---> Running in d8d49e3f031c [2024-08-20T03:58:38.221Z] Removing intermediate container d8d49e3f031c [2024-08-20T03:58:38.221Z] ---> 5ae984f407cf [2024-08-20T03:58:38.221Z] Step 12/13 : COPY . . [2024-08-20T03:58:38.221Z] ---> f60ff7a058f1 [2024-08-20T03:58:38.221Z] Step 13/13 : RUN ${MAKE} [2024-08-20T03:58:38.221Z] ---> Running in f240cf75bbf7 [2024-08-20T03:58:38.221Z] noop [2024-08-20T03:58:38.221Z] Removing intermediate container f240cf75bbf7 [2024-08-20T03:58:38.221Z] ---> 07c2d6da81fb [2024-08-20T03:58:38.221Z] Successfully built 07c2d6da81fb [2024-08-20T03:58:38.221Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-20T03:58:38.775Z] + docker inspect -f . ci-base-image-arm64 [2024-08-20T03:58:38.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-20T03:58:39.090Z] prd-ubuntu20.04-docker-arm64-4c-16g-8015 does not seem to be running inside a container [2024-08-20T03:58:39.167Z] $ 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-08-20T03:58:40.335Z] $ docker top e4768e5965719dcc340c6cf47065277ff92788eec501a2dca2cc0be89ee5191e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-20T03:58:41.247Z] + go version [2024-08-20T03:58:41.247Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-20T03:58:41.286Z] $ docker stop --time=1 e4768e5965719dcc340c6cf47065277ff92788eec501a2dca2cc0be89ee5191e [2024-08-20T03:58:42.853Z] $ docker rm -f --volumes e4768e5965719dcc340c6cf47065277ff92788eec501a2dca2cc0be89ee5191e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-20T03:58:43.825Z] + docker inspect -f . ci-base-image-arm64 [2024-08-20T03:58:43.825Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-20T03:58:44.130Z] prd-ubuntu20.04-docker-arm64-4c-16g-8015 does not seem to be running inside a container [2024-08-20T03:58:44.212Z] $ 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-08-20T03:58:45.367Z] $ docker top a88fe8a9a6878123a9e34c7322d33c43737b5f01b701922207c5992b6565ecfd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-20T03:58:45.997Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-08-20T03:58:46.757Z] + make test [2024-08-20T03:58:46.757Z] go test ./... -coverprofile=coverage.out ./... [2024-08-20T03:58:53.411Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-08-20T04:02:31.090Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-08-20T04:02:31.090Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-08-20T04:02:31.090Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.173s coverage: 31.4% of statements [2024-08-20T04:02:46.125Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.784s coverage: 86.5% of statements [2024-08-20T04:02:47.538Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-20T04:02:47.538Z] go vet ./... [2024-08-20T04:03:34.398Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-20T04:03:34.398Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-20T04:03:34.398Z] ./bin/test-attribution-txt.sh [2024-08-20T04:03:34.398Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-20T04:03:34.398Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-20T04:03:34.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-20T04:03:34.486Z] $ docker stop --time=1 a88fe8a9a6878123a9e34c7322d33c43737b5f01b701922207c5992b6565ecfd [2024-08-20T04:03:36.376Z] $ docker rm -f --volumes a88fe8a9a6878123a9e34c7322d33c43737b5f01b701922207c5992b6565ecfd [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-20T04:03:38.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-20T04:03:38.047Z] Warning: overwriting stash ‘coverage-report’ [2024-08-20T04:03:38.570Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-20T04:03:39.349Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-20T04:03:39.720Z] + ls -al . [2024-08-20T04:03:39.720Z] total 308 [2024-08-20T04:03:39.720Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 20 03:58 . [2024-08-20T04:03:39.720Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 20 03:55 .. [2024-08-20T04:03:39.720Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 20 03:55 .git [2024-08-20T04:03:39.720Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 20 03:55 .github [2024-08-20T04:03:39.720Z] -rw-rw-r-- 1 jenkins jenkins 493 Aug 20 03:55 .gitignore [2024-08-20T04:03:39.720Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 20 03:55 .golangci.yml [2024-08-20T04:03:39.720Z] -rw-rw-r-- 1 jenkins jenkins 11155 Aug 20 03:55 Attribution.txt [2024-08-20T04:03:39.720Z] -rw-rw-r-- 1 jenkins jenkins 17665 Aug 20 03:55 CHANGELOG.md [2024-08-20T04:03:39.720Z] -rw-rw-r-- 1 jenkins jenkins 1683 Aug 20 03:55 Dockerfile [2024-08-20T04:03:39.720Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 20 03:55 GOVERNANCE.md [2024-08-20T04:03:39.720Z] -rw-rw-r-- 1 jenkins jenkins 739 Aug 20 03:55 Jenkinsfile [2024-08-20T04:03:39.720Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 20 03:55 LICENSE [2024-08-20T04:03:39.721Z] -rw-rw-r-- 1 jenkins jenkins 2883 Aug 20 03:55 Makefile [2024-08-20T04:03:39.721Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 20 03:55 OWNERS.md [2024-08-20T04:03:39.721Z] -rw-rw-r-- 1 jenkins jenkins 2620 Aug 20 03:55 README.md [2024-08-20T04:03:39.721Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 20 03:51 VERSION [2024-08-20T04:03:39.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 20 03:55 bin [2024-08-20T04:03:39.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 20 03:55 cmd [2024-08-20T04:03:39.721Z] -rw-r--r-- 1 jenkins jenkins 78805 Aug 20 04:02 coverage.out [2024-08-20T04:03:39.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 20 03:55 doc [2024-08-20T04:03:39.721Z] -rw-rw-r-- 1 jenkins jenkins 7331 Aug 20 03:55 go.mod [2024-08-20T04:03:39.721Z] -rw-rw-r-- 1 jenkins jenkins 102413 Aug 20 03:55 go.sum [2024-08-20T04:03:39.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 20 03:55 internal [2024-08-20T04:03:39.721Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 20 03:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-20T04:03:40.181Z] + 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=5055e2dd7dbd14d315d91f9125832f150219bc60 --label arch=arm64 --label version=0.0.0 . [2024-08-20T04:03:40.760Z] Sending build context to Docker daemon 21.81MB [2024-08-20T04:03:40.760Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-08-20T04:03:40.760Z] Step 2/27 : FROM ${BASE} AS builder [2024-08-20T04:03:40.760Z] ---> 07c2d6da81fb [2024-08-20T04:03:40.760Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-08-20T04:03:41.025Z] ---> Running in cd23a637f563 [2024-08-20T04:03:41.289Z] Removing intermediate container cd23a637f563 [2024-08-20T04:03:41.289Z] ---> 41c2d473a9fb [2024-08-20T04:03:41.289Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-20T04:03:41.289Z] ---> Running in 964c0b7b7f48 [2024-08-20T04:03:41.554Z] Removing intermediate container 964c0b7b7f48 [2024-08-20T04:03:41.554Z] ---> bd91c2aa0254 [2024-08-20T04:03:41.554Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-08-20T04:03:41.822Z] ---> Running in fe3626ed5722 [2024-08-20T04:03:42.088Z] Removing intermediate container fe3626ed5722 [2024-08-20T04:03:42.088Z] ---> 92bf3ce8f007 [2024-08-20T04:03:42.088Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-08-20T04:03:42.088Z] ---> Running in af64963dbd48 [2024-08-20T04:03:42.357Z] Removing intermediate container af64963dbd48 [2024-08-20T04:03:42.357Z] ---> 252b4fdd3868 [2024-08-20T04:03:42.357Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-08-20T04:03:42.357Z] ---> Running in 13f95354c90d [2024-08-20T04:03:42.624Z] Removing intermediate container 13f95354c90d [2024-08-20T04:03:42.624Z] ---> df03e2595e09 [2024-08-20T04:03:42.624Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-20T04:03:42.891Z] ---> Running in 832408d011d5 [2024-08-20T04:03:43.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-20T04:03:44.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-20T04:03:45.062Z] OK: 266 MiB in 52 packages [2024-08-20T04:03:46.019Z] Removing intermediate container 832408d011d5 [2024-08-20T04:03:46.019Z] ---> b0be12996343 [2024-08-20T04:03:46.019Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-08-20T04:03:46.019Z] ---> Running in 3f0527f88099 [2024-08-20T04:03:46.285Z] Removing intermediate container 3f0527f88099 [2024-08-20T04:03:46.285Z] ---> e22dd0df6135 [2024-08-20T04:03:46.285Z] Step 10/27 : COPY go.mod vendor* ./ [2024-08-20T04:03:47.245Z] ---> a124080cc2a2 [2024-08-20T04:03:47.245Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-20T04:03:47.509Z] ---> Running in 33151e8f51ab [2024-08-20T04:03:50.084Z] Removing intermediate container 33151e8f51ab [2024-08-20T04:03:50.084Z] ---> 83ca51e039ed [2024-08-20T04:03:50.084Z] Step 12/27 : COPY . . [2024-08-20T04:03:51.486Z] ---> 5701f166b29b [2024-08-20T04:03:51.486Z] Step 13/27 : RUN ${MAKE} [2024-08-20T04:03:51.486Z] ---> Running in 5422b3480fce [2024-08-20T04:03:52.452Z] 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.31" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-08-20T04:07:14.859Z] Removing intermediate container 5422b3480fce [2024-08-20T04:07:14.859Z] ---> d0e9399ac644 [2024-08-20T04:07:14.859Z] Step 14/27 : FROM alpine:3.18 [2024-08-20T04:07:14.859Z] 3.18: Pulling from library/alpine [2024-08-20T04:07:14.859Z] 4983c3fe2029: Pulling fs layer [2024-08-20T04:07:14.859Z] 4983c3fe2029: Verifying Checksum [2024-08-20T04:07:14.859Z] 4983c3fe2029: Download complete [2024-08-20T04:07:14.859Z] 4983c3fe2029: Pull complete [2024-08-20T04:07:14.859Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-20T04:07:14.859Z] Status: Downloaded newer image for alpine:3.18 [2024-08-20T04:07:14.859Z] ---> a0237000ae83 [2024-08-20T04:07:14.859Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-08-20T04:07:14.859Z] ---> Running in aca55977a604 [2024-08-20T04:07:14.859Z] Removing intermediate container aca55977a604 [2024-08-20T04:07:14.859Z] ---> 0fae1f284217 [2024-08-20T04:07:14.859Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-08-20T04:07:14.859Z] ---> Running in 37c9d6624f16 [2024-08-20T04:07:14.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-20T04:07:14.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-20T04:07:15.440Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-20T04:07:15.440Z] Executing busybox-1.36.1-r7.trigger [2024-08-20T04:07:15.440Z] OK: 8 MiB in 16 packages [2024-08-20T04:07:16.397Z] Removing intermediate container 37c9d6624f16 [2024-08-20T04:07:16.397Z] ---> a3df3d891a90 [2024-08-20T04:07:16.397Z] Step 17/27 : RUN apk --no-cache upgrade [2024-08-20T04:07:16.397Z] ---> Running in 12d49ee72eb9 [2024-08-20T04:07:17.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-20T04:07:17.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-20T04:07:18.580Z] OK: 8 MiB in 16 packages [2024-08-20T04:07:19.804Z] Removing intermediate container 12d49ee72eb9 [2024-08-20T04:07:19.804Z] ---> 654b83dadd7c [2024-08-20T04:07:19.804Z] Step 18/27 : WORKDIR / [2024-08-20T04:07:19.804Z] ---> Running in 57c5afeb3902 [2024-08-20T04:07:19.804Z] Removing intermediate container 57c5afeb3902 [2024-08-20T04:07:19.804Z] ---> 9676a732698f [2024-08-20T04:07:19.804Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-08-20T04:07:21.204Z] ---> d882d57c67ae [2024-08-20T04:07:21.204Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-08-20T04:07:21.787Z] ---> 2d8896aba490 [2024-08-20T04:07:21.787Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-08-20T04:07:22.059Z] ---> f917057aa34e [2024-08-20T04:07:22.059Z] Step 22/27 : EXPOSE 59984 [2024-08-20T04:07:22.059Z] ---> Running in 8fd21f025d03 [2024-08-20T04:07:22.334Z] Removing intermediate container 8fd21f025d03 [2024-08-20T04:07:22.334Z] ---> a17510e52cfe [2024-08-20T04:07:22.334Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-08-20T04:07:22.600Z] ---> Running in bf596973db45 [2024-08-20T04:07:22.865Z] Removing intermediate container bf596973db45 [2024-08-20T04:07:22.865Z] ---> 4cbad29b4264 [2024-08-20T04:07:22.865Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-20T04:07:22.865Z] ---> Running in 09ac8c07a3ff [2024-08-20T04:07:23.129Z] Removing intermediate container 09ac8c07a3ff [2024-08-20T04:07:23.130Z] ---> 0c3c777a0a0b [2024-08-20T04:07:23.130Z] Step 25/27 : LABEL arch=arm64 [2024-08-20T04:07:23.394Z] ---> Running in cd4fb567da82 [2024-08-20T04:07:23.659Z] Removing intermediate container cd4fb567da82 [2024-08-20T04:07:23.659Z] ---> a507428337cf [2024-08-20T04:07:23.659Z] Step 26/27 : LABEL git_sha=5055e2dd7dbd14d315d91f9125832f150219bc60 [2024-08-20T04:07:23.659Z] ---> Running in 39d69628426c [2024-08-20T04:07:23.925Z] Removing intermediate container 39d69628426c [2024-08-20T04:07:23.925Z] ---> 36b40f875d1a [2024-08-20T04:07:23.925Z] Step 27/27 : LABEL version=0.0.0 [2024-08-20T04:07:23.925Z] ---> Running in db457f8e70fd [2024-08-20T04:07:24.189Z] Removing intermediate container db457f8e70fd [2024-08-20T04:07:24.189Z] ---> 414dc13f364b [2024-08-20T04:07:24.189Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-20T04:07:24.454Z] Successfully built 414dc13f364b [2024-08-20T04:07:24.454Z] 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-08-20T04:07:25.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-20T04:07:25.439Z] [2024-08-20T04:07:25.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-20T04:07:25.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-20T04:07:26.128Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-20T04:07:26.128Z] 8998bd30e6a1: Pulling fs layer [2024-08-20T04:07:26.128Z] 04944245beec: Pulling fs layer [2024-08-20T04:07:26.128Z] 699f458cf7ca: Pulling fs layer [2024-08-20T04:07:26.128Z] 765212b225bb: Pulling fs layer [2024-08-20T04:07:26.128Z] f23df028b6ca: Pulling fs layer [2024-08-20T04:07:26.128Z] d65c8cfc05b1: Pulling fs layer [2024-08-20T04:07:26.128Z] 2437ff75d9bd: Pulling fs layer [2024-08-20T04:07:26.128Z] d65c8cfc05b1: Waiting [2024-08-20T04:07:26.128Z] 765212b225bb: Waiting [2024-08-20T04:07:26.128Z] f23df028b6ca: Waiting [2024-08-20T04:07:26.128Z] 2437ff75d9bd: Waiting [2024-08-20T04:07:26.128Z] 04944245beec: Verifying Checksum [2024-08-20T04:07:26.128Z] 04944245beec: Download complete [2024-08-20T04:07:26.128Z] 765212b225bb: Verifying Checksum [2024-08-20T04:07:26.128Z] 765212b225bb: Download complete [2024-08-20T04:07:26.128Z] f23df028b6ca: Verifying Checksum [2024-08-20T04:07:26.128Z] f23df028b6ca: Download complete [2024-08-20T04:07:26.128Z] d65c8cfc05b1: Verifying Checksum [2024-08-20T04:07:26.128Z] d65c8cfc05b1: Download complete [2024-08-20T04:07:26.393Z] 699f458cf7ca: Verifying Checksum [2024-08-20T04:07:26.393Z] 699f458cf7ca: Download complete [2024-08-20T04:07:26.659Z] 8998bd30e6a1: Verifying Checksum [2024-08-20T04:07:26.659Z] 8998bd30e6a1: Download complete [2024-08-20T04:07:29.237Z] 2437ff75d9bd: Verifying Checksum [2024-08-20T04:07:29.237Z] 2437ff75d9bd: Download complete [2024-08-20T04:07:31.181Z] 8998bd30e6a1: Pull complete [2024-08-20T04:07:31.764Z] 04944245beec: Pull complete [2024-08-20T04:07:33.168Z] 699f458cf7ca: Pull complete [2024-08-20T04:07:33.434Z] 765212b225bb: Pull complete [2024-08-20T04:07:34.392Z] f23df028b6ca: Pull complete [2024-08-20T04:07:34.392Z] d65c8cfc05b1: Pull complete [2024-08-20T04:07:52.583Z] 2437ff75d9bd: Pull complete [2024-08-20T04:07:52.583Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-20T04:07:52.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-20T04:07:52.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-20T04:07:52.909Z] prd-ubuntu20.04-docker-arm64-4c-16g-8015 does not seem to be running inside a container [2024-08-20T04:07:52.963Z] $ 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-08-20T04:07:55.634Z] $ docker top ba4071777a0e0ab28ee0c80c127cdd067a4cb9f60d120eb05cc7cce446601182 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-20T04:07:56.550Z] ---> job-cost.sh [2024-08-20T04:07:56.550Z] lf-activate-venv: SKIPPING [2024-08-20T04:07:56.550Z] INFO: No Stack... [2024-08-20T04:07:56.815Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-20T04:07:57.767Z] INFO: Archiving Costs [Pipeline] sh [2024-08-20T04:07:58.429Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-08-20T04:07:58.429Z] + cut -d, -f6 [Pipeline] lock [2024-08-20T04:07:58.513Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-452-1-stack-cost] [2024-08-20T04:07:58.520Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-452-1-stack-cost] did not exist. Created. [2024-08-20T04:07:58.527Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-452-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-20T04:07:58.968Z] /w/workspace/device-onvif-camera/1@tmp/durable-9504baad/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-20T04:07:59.328Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-20T04:07:59.627Z] Warning: overwriting stash ‘stack-cost’ [2024-08-20T04:07:59.683Z] Stashed 1 file(s) [Pipeline] } [2024-08-20T04:07:59.701Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-452-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-20T04:07:59.772Z] $ docker stop --time=1 ba4071777a0e0ab28ee0c80c127cdd067a4cb9f60d120eb05cc7cce446601182 [2024-08-20T04:08:01.264Z] $ docker rm -f --volumes ba4071777a0e0ab28ee0c80c127cdd067a4cb9f60d120eb05cc7cce446601182 [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-08-20T04:08:02.423Z] provisioning config files... [2024-08-20T04:08:02.433Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-452@tmp/config10477188442630521412tmp [Pipeline] { [Pipeline] sh [2024-08-20T04:08:02.795Z] + set +x [2024-08-20T04:08:02.795Z] + curl -s https://codecov.io/bash [2024-08-20T04:08:02.795Z] + bash -s -- [2024-08-20T04:08:02.795Z] [2024-08-20T04:08:02.795Z] _____ _ [2024-08-20T04:08:02.795Z] / ____| | | [2024-08-20T04:08:02.795Z] | | ___ __| | ___ ___ _____ __ [2024-08-20T04:08:02.795Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-20T04:08:02.795Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-20T04:08:02.795Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-20T04:08:02.795Z] Bash-1.0.6 [2024-08-20T04:08:02.795Z] [2024-08-20T04:08:02.795Z] [2024-08-20T04:08:02.795Z] ==> git version 2.25.1 found [2024-08-20T04:08:02.795Z] ==> 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-08-20T04:08:02.795Z] Release-Date: 2020-01-08 [2024-08-20T04:08:02.795Z] 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-08-20T04:08:02.795Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-20T04:08:02.795Z] ==> Jenkins CI detected. [2024-08-20T04:08:02.795Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-452 [2024-08-20T04:08:02.795Z] project root: . [2024-08-20T04:08:02.795Z] --> token set from env [2024-08-20T04:08:02.795Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-20T04:08:02.795Z] ==> Running gcov in . (disable via -X gcov) [2024-08-20T04:08:02.795Z] ==> Python coveragepy not found [2024-08-20T04:08:02.795Z] ==> Searching for coverage reports in: [2024-08-20T04:08:02.795Z] + . [2024-08-20T04:08:02.795Z] -> Found 1 reports [2024-08-20T04:08:02.795Z] ==> Detecting git/mercurial file structure [2024-08-20T04:08:02.795Z] ==> Reading reports [2024-08-20T04:08:02.795Z] + ./coverage.out bytes=78805 [2024-08-20T04:08:02.795Z] ==> Appending adjustments [2024-08-20T04:08:02.795Z] https://docs.codecov.io/docs/fixing-reports [2024-08-20T04:08:03.055Z] + Found adjustments [2024-08-20T04:08:03.055Z] ==> Gzipping contents [2024-08-20T04:08:03.055Z] 12K /tmp/codecov.kctWKk.gz [2024-08-20T04:08:03.055Z] ==> Uploading reports [2024-08-20T04:08:03.055Z] url: https://codecov.io [2024-08-20T04:08:03.055Z] query: branch=PR-452&commit=5055e2dd7dbd14d315d91f9125832f150219bc60&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-452%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=452&job=&cmd_args= [2024-08-20T04:08:03.055Z] -> Pinging Codecov [2024-08-20T04:08:03.056Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-452&commit=5055e2dd7dbd14d315d91f9125832f150219bc60&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-452%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=452&job=&cmd_args= [2024-08-20T04:08:03.318Z] -> Uploading to [2024-08-20T04:08:03.319Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-20/F29A59C45E3A92E06B3E522C9905F8EF/5055e2dd7dbd14d315d91f9125832f150219bc60/f196d261-fc55-4961-a2b7-f6277f86b0ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240820%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240820T040803Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e6162c97c2cb84af1aca07c95b3b95dae14306c43a3bdfd99e0c88aa8af72edf [2024-08-20T04:08:03.319Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-20T04:08:03.319Z] Dload Upload Total Spent Left Speed [2024-08-20T04:08:03.578Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 42622 --:--:-- --:--:-- --:--:-- 42622 [2024-08-20T04:08:03.578Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/5055e2dd7dbd14d315d91f9125832f150219bc60 [Pipeline] } [2024-08-20T04:08:03.612Z] 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-08-20T04:08:05.806Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-452/archives ] [2024-08-20T04:08:05.806Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-452/archives [2024-08-20T04:08:05.806Z] total 16 [2024-08-20T04:08:05.806Z] drwxr-xr-x 3 root root 4096 Aug 20 03:53 . [2024-08-20T04:08:05.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 20 03:53 .. [2024-08-20T04:08:05.806Z] drwxr-xr-x 2 root root 4096 Aug 20 03:53 cost [2024-08-20T04:08:05.806Z] -rw-r--r-- 1 root root 91 Aug 20 03:53 cost.csv [2024-08-20T04:08:05.806Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-452/archives [2024-08-20T04:08:05.806Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-452/archives [2024-08-20T04:08:05.806Z] total 16 [2024-08-20T04:08:05.806Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 20 03:53 . [2024-08-20T04:08:05.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 20 03:53 .. [2024-08-20T04:08:05.806Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 20 03:53 cost [2024-08-20T04:08:05.806Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 20 03:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-20T04:08:06.167Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-20T04:08:07.069Z] ---> package-listing.sh [2024-08-20T04:08:07.069Z] ++ facter osfamily [2024-08-20T04:08:07.069Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-20T04:08:07.328Z] + OS_FAMILY=debian [2024-08-20T04:08:07.328Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-452 [2024-08-20T04:08:07.328Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-20T04:08:07.328Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-20T04:08:07.328Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-20T04:08:07.328Z] + PACKAGES=/tmp/packages_start.txt [2024-08-20T04:08:07.328Z] + '[' /w/workspace/undry_device-onvif-camera_PR-452 ']' [2024-08-20T04:08:07.328Z] + PACKAGES=/tmp/packages_end.txt [2024-08-20T04:08:07.328Z] + case "${OS_FAMILY}" in [2024-08-20T04:08:07.328Z] + dpkg -l [2024-08-20T04:08:07.328Z] + grep '^ii' [2024-08-20T04:08:07.328Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-20T04:08:07.328Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-20T04:08:07.328Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-20T04:08:07.328Z] + '[' /w/workspace/undry_device-onvif-camera_PR-452 ']' [2024-08-20T04:08:07.328Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-452/archives/ [2024-08-20T04:08:07.328Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-452/archives/ [Pipeline] echo [2024-08-20T04:08:07.367Z] 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-452/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-20T04:08:07.664Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-20T04:08:08.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-20T04:08:08.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-20T04:08:08.507Z] prd-ubuntu20.04-docker-8c-8g-8014 does not seem to be running inside a container [2024-08-20T04:08:08.569Z] $ 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-452/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-452 -v /w/workspace/undry_device-onvif-camera_PR-452:/w/workspace/undry_device-onvif-camera_PR-452:rw,z -v /w/workspace/undry_device-onvif-camera_PR-452@tmp:/w/workspace/undry_device-onvif-camera_PR-452@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-08-20T04:08:08.759Z] $ docker top 9a7988a4d8a3bd0706a1cc9c566769748feabf231005000de97e3e9ac9905a11 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-20T04:08:09.218Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-20T04:08:09.552Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-20T04:08:09.871Z] + ls /var/log/sa-host [2024-08-20T04:08:09.871Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-20T04:08:10.042Z] provisioning config files... [2024-08-20T04:08:10.051Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-452@tmp/config12953470711497234380tmp [Pipeline] { [Pipeline] echo [2024-08-20T04:08:10.294Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-20T04:08:10.619Z] ---> create-netrc.sh [Pipeline] } [2024-08-20T04:08:10.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-20T04:08:11.066Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-20T04:08:11.106Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-20T04:08:11.435Z] ---> sudo-logs.sh [2024-08-20T04:08:11.435Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-20T04:08:11.668Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-20T04:08:11.990Z] ---> job-cost.sh [2024-08-20T04:08:11.990Z] lf-activate-venv: SKIPPING [2024-08-20T04:08:11.990Z] DEBUG: total: 0.2199999988079071 [2024-08-20T04:08:11.990Z] INFO: Retrieving Stack Cost... [2024-08-20T04:08:12.249Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-20T04:08:12.507Z] INFO: Archiving Costs [Pipeline] echo [2024-08-20T04:08:12.548Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-20T04:08:12.878Z] ---> logs-deploy.sh [2024-08-20T04:08:12.878Z] lf-activate-venv: SKIPPING [2024-08-20T04:08:12.878Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-452/1 [2024-08-20T04:08:12.878Z] INFO: archiving workspace using pattern(s): [2024-08-20T04:08:13.816Z] Archives upload complete. [2024-08-20T04:08:13.816Z] INFO: archiving logs to Nexus