Pull request #463 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d1373b8c99fad5c7da7a666d1a959a9529a276b+ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b (69397880e904c100891d613c2deba6b333cbcf12) 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-ssh15943873063839594436.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh8239665317051201733.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-463/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-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4468228180196148121.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-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3654017931660366974.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh18354737610809987055.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-463/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-463/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh49246300791471906.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22135 in /w/workspace/undry_device-onvif-camera_PR-463 [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-463 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/463/head:refs/remotes/origin/PR-463 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b into PR head commit 2d1373b8c99fad5c7da7a666d1a959a9529a276b Merge succeeded, producing 2d1373b8c99fad5c7da7a666d1a959a9529a276b Checking out Revision 2d1373b8c99fad5c7da7a666d1a959a9529a276b (PR-463) 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 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 2d1373b8c99fad5c7da7a666d1a959a9529a276b # 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 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d1373b8c99fad5c7da7a666d1a959a9529a276b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-08T03:34:34.483Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-08T03:34:34.697Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-08T03:34:34.819Z] ========================================================= [2024-10-08T03:34:34.819Z] EdgeX Global Pipelines Version Info [2024-10-08T03:34:34.819Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-08T03:34:35.610Z] ------------------- [2024-10-08T03:34:35.610Z] stable info: [2024-10-08T03:34:35.610Z] ------------------- [2024-10-08T03:34:35.610Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-08T03:34:35.610Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-08T03:34:35.610Z] Message: update stable to v1.0.265 [2024-10-08T03:34:36.181Z] ------------------- [2024-10-08T03:34:36.181Z] experimental info: [2024-10-08T03:34:36.181Z] ------------------- [2024-10-08T03:34:36.181Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-08T03:34:36.181Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-08T03:34:36.181Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-08T03:34:36.441Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-10-08T03:34:36.506Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-10-08T03:34:36.566Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-08T03:34:36.625Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-08T03:34:36.689Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-08T03:34:36.746Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-08T03:34:36.809Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-08T03:34:36.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-08T03:34:36.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-08T03:34:36.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-08T03:34:37.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-08T03:34:37.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-10-08T03:34:37.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-08T03:34:37.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-08T03:34:37.277Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-08T03:34:37.333Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-08T03:34:37.391Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-08T03:34:37.454Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-08T03:34:37.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-08T03:34:37.566Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-08T03:34:37.622Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-08T03:34:37.678Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-10-08T03:34:37.739Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-08T03:34:37.795Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-08T03:34:37.852Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-08T03:34:37.913Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-08T03:34:37.974Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-08T03:34:38.039Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-463 [Pipeline] echo [2024-10-08T03:34:38.097Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-463 [Pipeline] echo [2024-10-08T03:34:38.157Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-463 [Pipeline] echo [2024-10-08T03:34:38.219Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d1373b8c99fad5c7da7a666d1a959a9529a276b [Pipeline] echo [2024-10-08T03:34:38.283Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d1373b [Pipeline] echo [2024-10-08T03:34:38.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-08T03:34:38.479Z] provisioning config files... [2024-10-08T03:34:38.496Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-463@tmp/config1544739813598077697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-08T03:34:38.887Z] ---> ****-login.sh [2024-10-08T03:34:38.887Z] nexus3.edgexfoundry.org:10001 [2024-10-08T03:34:39.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:34:39.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:34:39.148Z] Configure a credential helper to remove this warning. See [2024-10-08T03:34:39.148Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:34:39.148Z] [2024-10-08T03:34:39.148Z] Login Succeeded [2024-10-08T03:34:39.148Z] nexus3.edgexfoundry.org:10002 [2024-10-08T03:34:39.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:34:39.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:34:39.409Z] Configure a credential helper to remove this warning. See [2024-10-08T03:34:39.409Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:34:39.409Z] [2024-10-08T03:34:39.409Z] Login Succeeded [2024-10-08T03:34:39.409Z] nexus3.edgexfoundry.org:10003 [2024-10-08T03:34:39.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:34:39.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:34:39.409Z] Configure a credential helper to remove this warning. See [2024-10-08T03:34:39.409Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:34:39.409Z] [2024-10-08T03:34:39.409Z] Login Succeeded [2024-10-08T03:34:39.409Z] nexus3.edgexfoundry.org:10004 [2024-10-08T03:34:39.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:34:39.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:34:39.671Z] Configure a credential helper to remove this warning. See [2024-10-08T03:34:39.671Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:34:39.671Z] [2024-10-08T03:34:39.671Z] Login Succeeded [2024-10-08T03:34:39.671Z] ****.io [2024-10-08T03:34:39.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:34:39.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:34:39.932Z] Configure a credential helper to remove this warning. See [2024-10-08T03:34:39.932Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:34:39.932Z] [2024-10-08T03:34:39.933Z] Login Succeeded [2024-10-08T03:34:39.933Z] ---> ****-login.sh ends [Pipeline] } [2024-10-08T03:34:39.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-08T03:34:40.649Z] + git rev-list -1 --merges 2d1373b8c99fad5c7da7a666d1a959a9529a276b~1..2d1373b8c99fad5c7da7a666d1a959a9529a276b [Pipeline] echo [2024-10-08T03:34:40.696Z] -----------> git rev-list -1 --merges 2d1373b8c99fad5c7da7a666d1a959a9529a276b~1..2d1373b8c99fad5c7da7a666d1a959a9529a276b 2d1373b8c99fad5c7da7a666d1a959a9529a276b [false] [Pipeline] sh [2024-10-08T03:34:41.017Z] + git log --format=format:%s -1 2d1373b8c99fad5c7da7a666d1a959a9529a276b [Pipeline] echo [2024-10-08T03:34:41.059Z] ========================================================= [2024-10-08T03:34:41.060Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-08T03:34:41.060Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-08T03:34:41.530Z] + git log --format=format:%s -1 2d1373b8c99fad5c7da7a666d1a959a9529a276b [Pipeline] echo [2024-10-08T03:34:41.572Z] [semverPrep] GIT_COMMIT: 2d1373b8c99fad5c7da7a666d1a959a9529a276b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-08T03:34:41.610Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-08T03:34:42.063Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-08T03:34:42.063Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-08T03:34:42.063Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-08T03:34:42.063Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-08T03:34:42.063Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-08T03:34:42.063Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-08T03:34:42.063Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T03:34:42.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-08T03:34:42.503Z] [2024-10-08T03:34:42.503Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T03:34:42.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-08T03:34:42.914Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-08T03:34:42.914Z] b85a868b505f: Pulling fs layer [2024-10-08T03:34:42.914Z] e2be974225ed: Pulling fs layer [2024-10-08T03:34:42.914Z] 339a4e72a1f5: Pulling fs layer [2024-10-08T03:34:42.914Z] 988bab9f4d93: Pulling fs layer [2024-10-08T03:34:42.914Z] 1469e6f7b9e6: Pulling fs layer [2024-10-08T03:34:42.914Z] eaf3925da568: Pulling fs layer [2024-10-08T03:34:42.914Z] bab4dde63d76: Pulling fs layer [2024-10-08T03:34:42.914Z] bde34c3a00c8: Pulling fs layer [2024-10-08T03:34:42.914Z] b352a97aabf1: Pulling fs layer [2024-10-08T03:34:42.914Z] 4872d77fe225: Pulling fs layer [2024-10-08T03:34:42.914Z] 5851b861e8e6: Pulling fs layer [2024-10-08T03:34:42.914Z] eaf3925da568: Waiting [2024-10-08T03:34:42.914Z] bab4dde63d76: Waiting [2024-10-08T03:34:42.914Z] bde34c3a00c8: Waiting [2024-10-08T03:34:42.914Z] b352a97aabf1: Waiting [2024-10-08T03:34:42.914Z] 4872d77fe225: Waiting [2024-10-08T03:34:42.914Z] 5851b861e8e6: Waiting [2024-10-08T03:34:42.914Z] 1469e6f7b9e6: Waiting [2024-10-08T03:34:42.914Z] 988bab9f4d93: Waiting [2024-10-08T03:34:42.914Z] e2be974225ed: Verifying Checksum [2024-10-08T03:34:42.914Z] e2be974225ed: Download complete [2024-10-08T03:34:42.914Z] 988bab9f4d93: Verifying Checksum [2024-10-08T03:34:42.914Z] 988bab9f4d93: Download complete [2024-10-08T03:34:43.174Z] 1469e6f7b9e6: Verifying Checksum [2024-10-08T03:34:43.174Z] 1469e6f7b9e6: Download complete [2024-10-08T03:34:43.174Z] 339a4e72a1f5: Verifying Checksum [2024-10-08T03:34:43.174Z] 339a4e72a1f5: Download complete [2024-10-08T03:34:43.174Z] eaf3925da568: Verifying Checksum [2024-10-08T03:34:43.174Z] eaf3925da568: Download complete [2024-10-08T03:34:43.174Z] bde34c3a00c8: Download complete [2024-10-08T03:34:43.174Z] b352a97aabf1: Verifying Checksum [2024-10-08T03:34:43.174Z] 4872d77fe225: Verifying Checksum [2024-10-08T03:34:43.174Z] 4872d77fe225: Download complete [2024-10-08T03:34:43.174Z] 5851b861e8e6: Verifying Checksum [2024-10-08T03:34:43.174Z] 5851b861e8e6: Download complete [2024-10-08T03:34:43.174Z] b85a868b505f: Verifying Checksum [2024-10-08T03:34:43.174Z] b85a868b505f: Download complete [2024-10-08T03:34:43.433Z] bab4dde63d76: Verifying Checksum [2024-10-08T03:34:43.433Z] bab4dde63d76: Download complete [2024-10-08T03:34:44.370Z] b85a868b505f: Pull complete [2024-10-08T03:34:44.631Z] e2be974225ed: Pull complete [2024-10-08T03:34:45.202Z] 339a4e72a1f5: Pull complete [2024-10-08T03:34:45.202Z] 988bab9f4d93: Pull complete [2024-10-08T03:34:45.461Z] 1469e6f7b9e6: Pull complete [2024-10-08T03:34:45.461Z] eaf3925da568: Pull complete [2024-10-08T03:34:47.367Z] bab4dde63d76: Pull complete [2024-10-08T03:34:47.367Z] bde34c3a00c8: Pull complete [2024-10-08T03:34:47.367Z] b352a97aabf1: Pull complete [2024-10-08T03:34:47.367Z] 4872d77fe225: Pull complete [2024-10-08T03:34:47.367Z] 5851b861e8e6: Pull complete [2024-10-08T03:34:47.367Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-08T03:34:47.367Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-08T03:34:47.367Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T03:34:47.690Z] prd-ubuntu20.04-docker-8c-8g-22135 does not seem to be running inside a container [2024-10-08T03:34:47.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-463 -v /w/workspace/undry_device-onvif-camera_PR-463:/w/workspace/undry_device-onvif-camera_PR-463:rw,z -v /w/workspace/undry_device-onvif-camera_PR-463@tmp:/w/workspace/undry_device-onvif-camera_PR-463@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-10-08T03:34:50.808Z] $ docker top 8f4e3a0bfa7a004b705e1904d6f26ab22b75ddf0d931e86cfabb1e0b876f5035 -eo pid,comm [2024-10-08T03:34:50.865Z] 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-10-08T03:34:50.865Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-08T03:34:51.049Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-08T03:34:51.049Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-08T03:34:51.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-08T03:34:51.153Z] $ docker exec 8f4e3a0bfa7a004b705e1904d6f26ab22b75ddf0d931e86cfabb1e0b876f5035 ssh-agent [2024-10-08T03:34:51.261Z] SSH_AUTH_SOCK=/tmp/ssh-4F7JorW6vmlr/agent.32 [2024-10-08T03:34:51.261Z] SSH_AGENT_PID=38 [2024-10-08T03:34:51.266Z] Running ssh-add (command line suppressed) [2024-10-08T03:34:51.373Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-463@tmp/private_key_15131743414214739003.key (/w/workspace/undry_device-onvif-camera_PR-463@tmp/private_key_15131743414214739003.key) [2024-10-08T03:34:51.386Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-08T03:34:51.737Z] + git tag --points-at HEAD [Pipeline] } [2024-10-08T03:34:51.766Z] $ docker exec --env ******** --env ******** 8f4e3a0bfa7a004b705e1904d6f26ab22b75ddf0d931e86cfabb1e0b876f5035 ssh-agent -k [2024-10-08T03:34:51.861Z] unset SSH_AUTH_SOCK; [2024-10-08T03:34:51.862Z] unset SSH_AGENT_PID; [2024-10-08T03:34:51.862Z] echo Agent pid 38 killed; [2024-10-08T03:34:51.870Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-08T03:34:51.989Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-08T03:34:51.989Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-08T03:34:52.101Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-08T03:34:52.104Z] $ docker exec 8f4e3a0bfa7a004b705e1904d6f26ab22b75ddf0d931e86cfabb1e0b876f5035 ssh-agent [2024-10-08T03:34:52.202Z] SSH_AUTH_SOCK=/tmp/ssh-lpopGABX9Q8f/agent.71 [2024-10-08T03:34:52.202Z] SSH_AGENT_PID=77 [2024-10-08T03:34:52.208Z] Running ssh-add (command line suppressed) [2024-10-08T03:34:52.311Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-463@tmp/private_key_6934325439905095827.key (/w/workspace/undry_device-onvif-camera_PR-463@tmp/private_key_6934325439905095827.key) [2024-10-08T03:34:52.322Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-08T03:34:52.672Z] + git semver init [2024-10-08T03:34:52.932Z] 2024-10-08 03:34:52,839 [run_init] DEBUG init version:0.0.0 force:False [2024-10-08T03:34:52.932Z] 2024-10-08 03:34:52,839 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-463/.semver [2024-10-08T03:34:52.932Z] 2024-10-08 03:34:52,840 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-463/.semver [2024-10-08T03:34:52.932Z] 2024-10-08 03:34:52,840 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-463/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-463, universal_newlines=False, shell=None, istream=None) [2024-10-08T03:34:54.312Z] 2024-10-08 03:34:54,054 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-463/.git/info/exclude [2024-10-08T03:34:54.312Z] 2024-10-08 03:34:54,054 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-463/.semver/PR-463 with force:False [2024-10-08T03:34:54.312Z] 2024-10-08 03:34:54,054 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-463/.semver/PR-463 [2024-10-08T03:34:54.312Z] 2024-10-08 03:34:54,057 [execute] INFO git cat-file --batch-check [2024-10-08T03:34:54.312Z] 2024-10-08 03:34:54,058 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-463/.semver, universal_newlines=False, shell=None, istream=) [2024-10-08T03:34:54.312Z] 2024-10-08 03:34:54,065 [execute] INFO git cat-file --batch [2024-10-08T03:34:54.312Z] 2024-10-08 03:34:54,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-463/.semver, universal_newlines=False, shell=None, istream=) [2024-10-08T03:34:54.312Z] 2024-10-08 03:34:54,071 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-463/.semver/PR-463 [2024-10-08T03:34:54.312Z] 0.0.0 [Pipeline] } [2024-10-08T03:34:54.342Z] $ docker exec --env ******** --env ******** 8f4e3a0bfa7a004b705e1904d6f26ab22b75ddf0d931e86cfabb1e0b876f5035 ssh-agent -k [2024-10-08T03:34:54.439Z] unset SSH_AUTH_SOCK; [2024-10-08T03:34:54.439Z] unset SSH_AGENT_PID; [2024-10-08T03:34:54.440Z] echo Agent pid 77 killed; [2024-10-08T03:34:54.448Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-08T03:34:54.918Z] + git semver [Pipeline] } [2024-10-08T03:34:55.207Z] $ docker stop --time=1 8f4e3a0bfa7a004b705e1904d6f26ab22b75ddf0d931e86cfabb1e0b876f5035 [2024-10-08T03:34:56.488Z] $ docker rm -f --volumes 8f4e3a0bfa7a004b705e1904d6f26ab22b75ddf0d931e86cfabb1e0b876f5035 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-08T03:34:56.916Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-08T03:34:57.252Z] Stashed 1 file(s) [Pipeline] echo [2024-10-08T03:34:57.279Z] [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-10-08T03:34:58.052Z] provisioning config files... [2024-10-08T03:34:58.061Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-463@tmp/config4107773685023759476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-08T03:34:58.453Z] ---> ****-login.sh [2024-10-08T03:34:58.453Z] nexus3.edgexfoundry.org:10001 [2024-10-08T03:34:58.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:34:58.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:34:58.453Z] Configure a credential helper to remove this warning. See [2024-10-08T03:34:58.453Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:34:58.453Z] [2024-10-08T03:34:58.453Z] Login Succeeded [2024-10-08T03:34:58.453Z] nexus3.edgexfoundry.org:10002 [2024-10-08T03:34:58.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:34:58.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:34:58.453Z] Configure a credential helper to remove this warning. See [2024-10-08T03:34:58.453Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:34:58.453Z] [2024-10-08T03:34:58.453Z] Login Succeeded [2024-10-08T03:34:58.453Z] nexus3.edgexfoundry.org:10003 [2024-10-08T03:34:58.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:34:58.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:34:58.714Z] Configure a credential helper to remove this warning. See [2024-10-08T03:34:58.714Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:34:58.714Z] [2024-10-08T03:34:58.714Z] Login Succeeded [2024-10-08T03:34:58.714Z] nexus3.edgexfoundry.org:10004 [2024-10-08T03:34:58.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:34:58.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:34:58.715Z] Configure a credential helper to remove this warning. See [2024-10-08T03:34:58.715Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:34:58.715Z] [2024-10-08T03:34:58.715Z] Login Succeeded [2024-10-08T03:34:58.715Z] ****.io [2024-10-08T03:34:58.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:34:58.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:34:58.973Z] Configure a credential helper to remove this warning. See [2024-10-08T03:34:58.973Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:34:58.973Z] [2024-10-08T03:34:58.973Z] Login Succeeded [2024-10-08T03:34:58.973Z] ---> ****-login.sh ends [Pipeline] } [2024-10-08T03:34:59.003Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-08T03:34:59.254Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-08T03:34:59.304Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-08T03:34:59.352Z] ========================================================= [2024-10-08T03:34:59.352Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-08T03:34:59.352Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T03:34:59.896Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-08T03:34:59.896Z] Sending build context to Docker daemon 36.74MB [2024-10-08T03:34:59.896Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-08T03:34:59.896Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-08T03:35:00.155Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-08T03:35:00.155Z] 43c4264eed91: Pulling fs layer [2024-10-08T03:35:00.155Z] 4cc291be95ef: Pulling fs layer [2024-10-08T03:35:00.155Z] 2ac1f1163629: Pulling fs layer [2024-10-08T03:35:00.155Z] 5c3c966382ef: Pulling fs layer [2024-10-08T03:35:00.155Z] 4f4fb700ef54: Pulling fs layer [2024-10-08T03:35:00.155Z] 5d5c8e513c77: Pulling fs layer [2024-10-08T03:35:00.155Z] 5c3c966382ef: Waiting [2024-10-08T03:35:00.155Z] 4f4fb700ef54: Waiting [2024-10-08T03:35:00.155Z] 9f66e0745190: Pulling fs layer [2024-10-08T03:35:00.155Z] f49a43e4bbc0: Pulling fs layer [2024-10-08T03:35:00.155Z] 561ebcabdf7f: Pulling fs layer [2024-10-08T03:35:00.155Z] 5d5c8e513c77: Waiting [2024-10-08T03:35:00.155Z] 9f66e0745190: Waiting [2024-10-08T03:35:00.155Z] 561ebcabdf7f: Waiting [2024-10-08T03:35:00.155Z] f49a43e4bbc0: Waiting [2024-10-08T03:35:00.155Z] 4cc291be95ef: Download complete [2024-10-08T03:35:00.155Z] 5c3c966382ef: Verifying Checksum [2024-10-08T03:35:00.155Z] 5c3c966382ef: Download complete [2024-10-08T03:35:00.155Z] 4f4fb700ef54: Verifying Checksum [2024-10-08T03:35:00.155Z] 4f4fb700ef54: Download complete [2024-10-08T03:35:00.155Z] 5d5c8e513c77: Verifying Checksum [2024-10-08T03:35:00.155Z] 5d5c8e513c77: Download complete [2024-10-08T03:35:00.155Z] 43c4264eed91: Verifying Checksum [2024-10-08T03:35:00.155Z] 43c4264eed91: Download complete [2024-10-08T03:35:00.155Z] 9f66e0745190: Verifying Checksum [2024-10-08T03:35:00.155Z] 9f66e0745190: Download complete [2024-10-08T03:35:00.413Z] 43c4264eed91: Pull complete [2024-10-08T03:35:00.414Z] 561ebcabdf7f: Download complete [2024-10-08T03:35:00.673Z] 4cc291be95ef: Pull complete [2024-10-08T03:35:00.673Z] 2ac1f1163629: Verifying Checksum [2024-10-08T03:35:00.673Z] 2ac1f1163629: Download complete [2024-10-08T03:35:01.238Z] f49a43e4bbc0: Verifying Checksum [2024-10-08T03:35:04.527Z] 2ac1f1163629: Pull complete [2024-10-08T03:35:04.527Z] 5c3c966382ef: Pull complete [2024-10-08T03:35:04.527Z] 4f4fb700ef54: Pull complete [2024-10-08T03:35:04.527Z] 5d5c8e513c77: Pull complete [2024-10-08T03:35:04.527Z] 9f66e0745190: Pull complete [2024-10-08T03:35:06.429Z] f49a43e4bbc0: Pull complete [2024-10-08T03:35:06.996Z] 561ebcabdf7f: Pull complete [2024-10-08T03:35:06.996Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-08T03:35:06.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-08T03:35:06.996Z] ---> 3a752c3f9dda [2024-10-08T03:35:06.996Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-08T03:35:12.279Z] ---> Running in dbe58e1a4202 [2024-10-08T03:35:12.279Z] Removing intermediate container dbe58e1a4202 [2024-10-08T03:35:12.279Z] ---> 750d813a4c92 [2024-10-08T03:35:12.279Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-08T03:35:12.279Z] ---> Running in 2d27fcf296a1 [2024-10-08T03:35:12.279Z] Removing intermediate container 2d27fcf296a1 [2024-10-08T03:35:12.279Z] ---> 531a2505bb30 [2024-10-08T03:35:12.279Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-08T03:35:12.279Z] ---> Running in cbcf14039f69 [2024-10-08T03:35:12.279Z] Removing intermediate container cbcf14039f69 [2024-10-08T03:35:12.279Z] ---> aa4bdd9aa216 [2024-10-08T03:35:12.279Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-08T03:35:12.279Z] ---> Running in 7dd60173a889 [2024-10-08T03:35:12.279Z] Removing intermediate container 7dd60173a889 [2024-10-08T03:35:12.279Z] ---> 1d6af6dab4fa [2024-10-08T03:35:12.279Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-08T03:35:12.279Z] ---> Running in 1e400a167f4d [2024-10-08T03:35:12.279Z] Removing intermediate container 1e400a167f4d [2024-10-08T03:35:12.279Z] ---> 140559b25506 [2024-10-08T03:35:12.279Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-08T03:35:12.279Z] ---> Running in 796fcbfd5dc3 [2024-10-08T03:35:12.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T03:35:12.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T03:35:12.798Z] OK: 246 MiB in 54 packages [2024-10-08T03:35:12.813Z] Still waiting to schedule task [2024-10-08T03:35:12.813Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-08T03:35:13.057Z] Removing intermediate container 796fcbfd5dc3 [2024-10-08T03:35:13.057Z] ---> 624bfcec0e61 [2024-10-08T03:35:13.057Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-08T03:35:13.057Z] ---> Running in 6205763dd96f [2024-10-08T03:35:13.317Z] Removing intermediate container 6205763dd96f [2024-10-08T03:35:13.317Z] ---> b9e26f595533 [2024-10-08T03:35:13.317Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-08T03:35:13.317Z] ---> d60d6c18b6ef [2024-10-08T03:35:13.317Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-08T03:35:13.317Z] ---> Running in 5dbec1925ec5 [2024-10-08T03:36:21.050Z] Removing intermediate container 5dbec1925ec5 [2024-10-08T03:36:21.050Z] ---> 287615e1724a [2024-10-08T03:36:21.050Z] Step 12/13 : COPY . . [2024-10-08T03:36:21.050Z] ---> e49383e05704 [2024-10-08T03:36:21.050Z] Step 13/13 : RUN ${MAKE} [2024-10-08T03:36:21.050Z] ---> Running in ad3e3199731a [2024-10-08T03:36:21.050Z] noop [2024-10-08T03:36:21.050Z] Removing intermediate container ad3e3199731a [2024-10-08T03:36:21.050Z] ---> 9cc47f3b3f8e [2024-10-08T03:36:21.050Z] Successfully built 9cc47f3b3f8e [2024-10-08T03:36:21.050Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T03:36:21.543Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-08T03:36:21.543Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T03:36:21.720Z] prd-ubuntu20.04-docker-8c-8g-22135 does not seem to be running inside a container [2024-10-08T03:36:21.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-463 -v /w/workspace/undry_device-onvif-camera_PR-463:/w/workspace/undry_device-onvif-camera_PR-463:rw,z -v /w/workspace/undry_device-onvif-camera_PR-463@tmp:/w/workspace/undry_device-onvif-camera_PR-463@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-10-08T03:36:22.072Z] $ docker top 219328f3d4f0f9d18965d2466153a638e9adbdd3da1f7304529ad131c828bc2d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T03:36:22.504Z] + go version [2024-10-08T03:36:22.504Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-08T03:36:22.544Z] $ docker stop --time=1 219328f3d4f0f9d18965d2466153a638e9adbdd3da1f7304529ad131c828bc2d [2024-10-08T03:36:23.763Z] $ docker rm -f --volumes 219328f3d4f0f9d18965d2466153a638e9adbdd3da1f7304529ad131c828bc2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T03:36:24.598Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-08T03:36:24.599Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T03:36:24.782Z] prd-ubuntu20.04-docker-8c-8g-22135 does not seem to be running inside a container [2024-10-08T03:36:24.816Z] $ 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-463 -v /w/workspace/undry_device-onvif-camera_PR-463:/w/workspace/undry_device-onvif-camera_PR-463:rw,z -v /w/workspace/undry_device-onvif-camera_PR-463@tmp:/w/workspace/undry_device-onvif-camera_PR-463@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-10-08T03:36:25.140Z] $ docker top 435ced9b1f4c8d0c14187990e2081333f2ff6ebcd50e3b717c36d049a872264c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T03:36:25.607Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-463 [Pipeline] fileExists [Pipeline] sh [2024-10-08T03:36:25.986Z] + make test [2024-10-08T03:36:25.986Z] go test ./... -coverprofile=coverage.out ./... [2024-10-08T03:36:27.887Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-08T03:36:45.961Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-08T03:36:45.961Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-08T03:36:47.868Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 31.4% of statements [2024-10-08T03:36:47.868Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.287s coverage: 86.5% of statements [2024-10-08T03:36:57.834Z] go vet ./... [2024-10-08T03:37:04.400Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-08T03:37:04.400Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-08T03:37:04.400Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-08T03:37:04.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-08T03:37:04.484Z] $ docker stop --time=1 435ced9b1f4c8d0c14187990e2081333f2ff6ebcd50e3b717c36d049a872264c [2024-10-08T03:37:09.402Z] $ docker rm -f --volumes 435ced9b1f4c8d0c14187990e2081333f2ff6ebcd50e3b717c36d049a872264c [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-08T03:37:10.064Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-08T03:37:10.152Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-08T03:37:10.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-08T03:37:11.219Z] + ls -al . [2024-10-08T03:37:11.219Z] total 328 [2024-10-08T03:37:11.219Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 8 03:36 . [2024-10-08T03:37:11.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 03:34 .. [2024-10-08T03:37:11.219Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 03:36 .git [2024-10-08T03:37:11.219Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 03:34 .github [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 8 03:34 .gitignore [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 8 03:34 .golangci.yml [2024-10-08T03:37:11.219Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 03:34 .semver [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 8 03:34 Attribution.txt [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 8 03:34 CHANGELOG.md [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 8 03:34 Dockerfile [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 03:34 GOVERNANCE.md [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 8 03:34 Jenkinsfile [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 8 03:34 LICENSE [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 2883 Oct 8 03:34 Makefile [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 8 03:34 OWNERS.md [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 8 03:34 README.md [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 03:34 VERSION [2024-10-08T03:37:11.219Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 03:34 bin [2024-10-08T03:37:11.219Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 03:34 cmd [2024-10-08T03:37:11.219Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 8 03:36 coverage.out [2024-10-08T03:37:11.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 03:34 doc [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 8 03:34 go.mod [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 8 03:34 go.sum [2024-10-08T03:37:11.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 03:34 internal [2024-10-08T03:37:11.219Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 8 03:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T03:37:11.655Z] + 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=2d1373b8c99fad5c7da7a666d1a959a9529a276b --label arch=amd64 --label version=0.0.0 . [2024-10-08T03:37:11.655Z] Sending build context to Docker daemon 36.84MB [2024-10-08T03:37:11.655Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-08T03:37:11.655Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-08T03:37:11.655Z] ---> 9cc47f3b3f8e [2024-10-08T03:37:11.655Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-08T03:37:12.620Z] ---> Running in 8d9005d2cc36 [2024-10-08T03:37:12.620Z] Removing intermediate container 8d9005d2cc36 [2024-10-08T03:37:12.620Z] ---> 6b193ed8274f [2024-10-08T03:37:12.620Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-08T03:37:12.620Z] ---> Running in b323b962118a [2024-10-08T03:37:12.620Z] Removing intermediate container b323b962118a [2024-10-08T03:37:12.620Z] ---> ba6ad5bdf34d [2024-10-08T03:37:12.620Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-08T03:37:12.620Z] ---> Running in 10e3c420b078 [2024-10-08T03:37:12.620Z] Removing intermediate container 10e3c420b078 [2024-10-08T03:37:12.620Z] ---> 5102c903d6e6 [2024-10-08T03:37:12.620Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-08T03:37:12.620Z] ---> Running in c7eac50316de [2024-10-08T03:37:12.620Z] Removing intermediate container c7eac50316de [2024-10-08T03:37:12.620Z] ---> 8b744ce65593 [2024-10-08T03:37:12.620Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-08T03:37:12.879Z] ---> Running in 729ac44b5d5b [2024-10-08T03:37:12.879Z] Removing intermediate container 729ac44b5d5b [2024-10-08T03:37:12.879Z] ---> 26984a64ac12 [2024-10-08T03:37:12.879Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-08T03:37:12.879Z] ---> Running in e9dbd1664629 [2024-10-08T03:37:13.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T03:37:13.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T03:37:13.659Z] OK: 246 MiB in 54 packages [2024-10-08T03:37:13.918Z] Removing intermediate container e9dbd1664629 [2024-10-08T03:37:13.918Z] ---> 297694e06132 [2024-10-08T03:37:13.918Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-08T03:37:13.918Z] ---> Running in 832b4883184c [2024-10-08T03:37:13.918Z] Removing intermediate container 832b4883184c [2024-10-08T03:37:13.918Z] ---> 6be12d63e4bf [2024-10-08T03:37:13.918Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-08T03:37:14.176Z] ---> d0507f7026d5 [2024-10-08T03:37:14.176Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-08T03:37:14.176Z] ---> Running in 0ba4f877cfe3 [2024-10-08T03:37:14.743Z] Removing intermediate container 0ba4f877cfe3 [2024-10-08T03:37:14.743Z] ---> 91811d3db22c [2024-10-08T03:37:14.743Z] Step 12/27 : COPY . . [2024-10-08T03:37:16.121Z] ---> ff70713ef19a [2024-10-08T03:37:16.121Z] Step 13/27 : RUN ${MAKE} [2024-10-08T03:37:16.689Z] ---> Running in 1eb03dcf45e4 [2024-10-08T03:37:16.947Z] 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.44" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-10-08T03:37:28.818Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22137 in /w/workspace/undry_device-onvif-camera_PR-463 [Pipeline] { [Pipeline] ws [2024-10-08T03:37:28.908Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-10-08T03:37:32.021Z] The recommended git tool is: git [2024-10-08T03:37:37.490Z] using credential edgex-jenkins-ssh [2024-10-08T03:37:37.515Z] Cloning the remote Git repository [2024-10-08T03:37:37.575Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-08T03:37:37.682Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-10-08T03:37:37.850Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-08T03:37:37.851Z] > git --version # timeout=10 [2024-10-08T03:37:37.873Z] > git --version # 'git version 2.25.1' [2024-10-08T03:37:37.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-08T03:37:38.036Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-08T03:37:41.092Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-10-08T03:37:41.115Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-08T03:37:42.226Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-10-08T03:37:42.793Z] Merging remotes/origin/main commit ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b into PR head commit 2d1373b8c99fad5c7da7a666d1a959a9529a276b [2024-10-08T03:37:43.275Z] Merge succeeded, producing 2d1373b8c99fad5c7da7a666d1a959a9529a276b [2024-10-08T03:37:43.276Z] Checking out Revision 2d1373b8c99fad5c7da7a666d1a959a9529a276b (PR-463) [2024-10-08T03:37:42.275Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-08T03:37:42.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-08T03:37:42.306Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/463/head:refs/remotes/origin/PR-463 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-08T03:37:42.816Z] > git config core.sparsecheckout # timeout=10 [2024-10-08T03:37:42.900Z] > git checkout -f 2d1373b8c99fad5c7da7a666d1a959a9529a276b # timeout=10 [2024-10-08T03:37:43.138Z] > git remote # timeout=10 [2024-10-08T03:37:43.164Z] > git config --get remote.origin.url # timeout=10 [2024-10-08T03:37:43.201Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-08T03:37:43.225Z] > git merge ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b # timeout=10 [2024-10-08T03:37:43.257Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-08T03:37:43.285Z] > git config core.sparsecheckout # timeout=10 [2024-10-08T03:37:43.315Z] > git checkout -f 2d1373b8c99fad5c7da7a666d1a959a9529a276b # timeout=10 [2024-10-08T03:37:44.013Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-08T03:37:44.075Z] > git --version # timeout=10 [2024-10-08T03:37:44.100Z] > git --version # 'git version 2.25.1' [2024-10-08T03:37:44.121Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-08T03:37:49.261Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-08T03:37:49.261Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-08T03:37:49.261Z] Dload Upload Total Spent Left Speed [2024-10-08T03:37:49.261Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 85520 0 --:--:-- --:--:-- --:--:-- 85520 [Pipeline] sh [2024-10-08T03:37:49.622Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-08T03:37:49.977Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-10-08T03:37:49.978Z] /etc/docker/daemon.json [2024-10-08T03:37:49.978Z] { [2024-10-08T03:37:49.978Z] "registry-mirrors": [ [2024-10-08T03:37:49.978Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-08T03:37:49.978Z] ], [2024-10-08T03:37:49.978Z] "bip": "10.250.0.254/24", [2024-10-08T03:37:49.978Z] "hosts": [ [2024-10-08T03:37:49.978Z] "tcp://0.0.0.0:5555", [2024-10-08T03:37:49.978Z] "unix:///var/run/docker.sock" [2024-10-08T03:37:49.978Z] ], [2024-10-08T03:37:49.978Z] "mtu": 1458, [2024-10-08T03:37:49.978Z] "selinux-enabled": true, [2024-10-08T03:37:49.978Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-08T03:37:49.978Z] } [Pipeline] sh [2024-10-08T03:37:50.331Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-08T03:37:50.686Z] + sudo service docker restart [2024-10-08T03:37:55.717Z] Removing intermediate container 1eb03dcf45e4 [2024-10-08T03:37:55.717Z] ---> 41da51373f5e [2024-10-08T03:37:55.717Z] Step 14/27 : FROM alpine:3.20 [2024-10-08T03:37:55.717Z] 3.20: Pulling from library/alpine [2024-10-08T03:37:55.717Z] 43c4264eed91: Already exists [2024-10-08T03:37:55.717Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-08T03:37:55.717Z] Status: Downloaded newer image for alpine:3.20 [2024-10-08T03:37:55.717Z] ---> 91ef0af61f39 [2024-10-08T03:37:55.717Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-08T03:37:55.717Z] ---> Running in 50bacebf5a80 [2024-10-08T03:37:55.717Z] Removing intermediate container 50bacebf5a80 [2024-10-08T03:37:55.717Z] ---> c393ee9581d7 [2024-10-08T03:37:55.717Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-08T03:37:55.717Z] ---> Running in 8fea0649d9db [2024-10-08T03:37:55.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T03:37:55.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T03:37:55.717Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-08T03:37:55.717Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T03:37:55.717Z] OK: 8 MiB in 15 packages [2024-10-08T03:37:55.717Z] Removing intermediate container 8fea0649d9db [2024-10-08T03:37:55.717Z] ---> 663304937553 [2024-10-08T03:37:55.717Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-08T03:37:55.717Z] ---> Running in d608aad64b3f [2024-10-08T03:37:55.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T03:37:55.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T03:37:55.717Z] Upgrading critical system libraries and apk-tools: [2024-10-08T03:37:55.717Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-08T03:37:55.717Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T03:37:55.717Z] Continuing the upgrade transaction with new apk-tools: [2024-10-08T03:37:55.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T03:37:55.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T03:37:55.717Z] OK: 8 MiB in 15 packages [2024-10-08T03:37:55.717Z] Removing intermediate container d608aad64b3f [2024-10-08T03:37:55.717Z] ---> 28f3d7a7c2a9 [2024-10-08T03:37:55.717Z] Step 18/27 : WORKDIR / [2024-10-08T03:37:55.717Z] ---> Running in 2a7ae92234a0 [2024-10-08T03:37:55.717Z] Removing intermediate container 2a7ae92234a0 [2024-10-08T03:37:55.717Z] ---> fefb45915ca5 [2024-10-08T03:37:55.717Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-08T03:37:55.717Z] ---> 36ce3db27115 [2024-10-08T03:37:55.717Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-08T03:37:55.717Z] ---> 65164184ceed [2024-10-08T03:37:55.717Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-08T03:37:55.717Z] ---> cc38ac21e509 [2024-10-08T03:37:55.717Z] Step 22/27 : EXPOSE 59984 [2024-10-08T03:37:55.717Z] ---> Running in e52ddea0c457 [2024-10-08T03:37:55.717Z] Removing intermediate container e52ddea0c457 [2024-10-08T03:37:55.717Z] ---> 6edc116bc11c [2024-10-08T03:37:55.717Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-08T03:37:55.717Z] ---> Running in 8d036f06d884 [2024-10-08T03:37:55.717Z] Removing intermediate container 8d036f06d884 [2024-10-08T03:37:55.717Z] ---> 636ba9843685 [2024-10-08T03:37:55.717Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-08T03:37:55.717Z] ---> Running in b1a00530a0f3 [2024-10-08T03:37:55.717Z] Removing intermediate container b1a00530a0f3 [2024-10-08T03:37:55.717Z] ---> 222c5ff61e97 [2024-10-08T03:37:55.717Z] Step 25/27 : LABEL arch=amd64 [2024-10-08T03:37:55.717Z] ---> Running in 0b224841f0a8 [2024-10-08T03:37:55.717Z] Removing intermediate container 0b224841f0a8 [2024-10-08T03:37:55.717Z] ---> 772179f8ae6f [2024-10-08T03:37:55.717Z] Step 26/27 : LABEL git_sha=2d1373b8c99fad5c7da7a666d1a959a9529a276b [2024-10-08T03:37:55.717Z] ---> Running in 10c5fe1e2c6c [2024-10-08T03:37:55.717Z] Removing intermediate container 10c5fe1e2c6c [2024-10-08T03:37:55.717Z] ---> 3cce4ad5f677 [2024-10-08T03:37:55.717Z] Step 27/27 : LABEL version=0.0.0 [2024-10-08T03:37:55.717Z] ---> Running in d4db0d9bbb82 [2024-10-08T03:37:55.977Z] Removing intermediate container d4db0d9bbb82 [2024-10-08T03:37:55.977Z] ---> 28e2cbe48183 [2024-10-08T03:37:55.977Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-08T03:37:55.977Z] Successfully built 28e2cbe48183 [2024-10-08T03:37:55.977Z] 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-10-08T03:37:57.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-08T03:37:57.019Z] [2024-10-08T03:37:57.019Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T03:37:57.427Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-08T03:37:57.427Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-08T03:37:57.427Z] 5eb5b503b376: Pulling fs layer [2024-10-08T03:37:57.427Z] 5c69ac0246d0: Pulling fs layer [2024-10-08T03:37:57.427Z] ec43610c2a17: Pulling fs layer [2024-10-08T03:37:57.427Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-08T03:37:57.427Z] 33b1e0a273af: Pulling fs layer [2024-10-08T03:37:57.427Z] 5d3b04190fa2: Pulling fs layer [2024-10-08T03:37:57.427Z] 2f39f015ded8: Pulling fs layer [2024-10-08T03:37:57.427Z] 33b1e0a273af: Waiting [2024-10-08T03:37:57.427Z] 5d3b04190fa2: Waiting [2024-10-08T03:37:57.427Z] 2f39f015ded8: Waiting [2024-10-08T03:37:57.427Z] 3a2ae6a8a46f: Waiting [2024-10-08T03:37:57.427Z] 5c69ac0246d0: Verifying Checksum [2024-10-08T03:37:57.427Z] 5c69ac0246d0: Download complete [2024-10-08T03:37:57.427Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-08T03:37:57.427Z] 3a2ae6a8a46f: Download complete [2024-10-08T03:37:57.427Z] 33b1e0a273af: Verifying Checksum [2024-10-08T03:37:57.427Z] 33b1e0a273af: Download complete [2024-10-08T03:37:57.427Z] ec43610c2a17: Verifying Checksum [2024-10-08T03:37:57.427Z] ec43610c2a17: Download complete [2024-10-08T03:37:57.427Z] 5d3b04190fa2: Download complete [2024-10-08T03:37:57.686Z] 5eb5b503b376: Verifying Checksum [2024-10-08T03:37:57.686Z] 5eb5b503b376: Download complete [2024-10-08T03:37:58.254Z] 2f39f015ded8: Download complete [2024-10-08T03:37:59.188Z] 5eb5b503b376: Pull complete [2024-10-08T03:37:59.188Z] 5c69ac0246d0: Pull complete [2024-10-08T03:37:59.447Z] ec43610c2a17: Pull complete [2024-10-08T03:37:59.705Z] 3a2ae6a8a46f: Pull complete [2024-10-08T03:37:59.966Z] 33b1e0a273af: Pull complete [2024-10-08T03:37:59.966Z] 5d3b04190fa2: Pull complete [2024-10-08T03:38:04.161Z] 2f39f015ded8: Pull complete [2024-10-08T03:38:04.161Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-08T03:38:04.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-08T03:38:04.161Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T03:38:04.426Z] prd-ubuntu20.04-docker-8c-8g-22135 does not seem to be running inside a container [2024-10-08T03:38:04.462Z] $ 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-463 -v /w/workspace/undry_device-onvif-camera_PR-463:/w/workspace/undry_device-onvif-camera_PR-463:rw,z -v /w/workspace/undry_device-onvif-camera_PR-463@tmp:/w/workspace/undry_device-onvif-camera_PR-463@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-10-08T03:38:12.255Z] $ docker top eda99530b6e79a19f0548390454602cb446e855981964f581227d0888448b462 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2024-10-08T03:38:12.584Z] provisioning config files... [2024-10-08T03:38:12.611Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config769433454002235670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-08T03:38:12.814Z] ---> job-cost.sh [2024-10-08T03:38:12.814Z] lf-activate-venv: SKIPPING [2024-10-08T03:38:12.814Z] INFO: No Stack... [2024-10-08T03:38:13.124Z] ---> ****-login.sh [2024-10-08T03:38:13.124Z] nexus3.edgexfoundry.org:10001 [2024-10-08T03:38:13.384Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-08T03:38:13.645Z] INFO: Archiving Costs [Pipeline] sh [2024-10-08T03:38:13.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:38:13.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:38:13.722Z] Configure a credential helper to remove this warning. See [2024-10-08T03:38:13.722Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:38:13.722Z] [2024-10-08T03:38:13.722Z] Login Succeeded [2024-10-08T03:38:13.722Z] nexus3.edgexfoundry.org:10002 [2024-10-08T03:38:13.975Z] + cat /w/workspace/undry_device-onvif-camera_PR-463/archives/cost.csv [2024-10-08T03:38:13.975Z] + cut -d, -f6 [Pipeline] lock [2024-10-08T03:38:14.028Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-463-1-stack-cost] [2024-10-08T03:38:14.035Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-463-1-stack-cost] did not exist. Created. [2024-10-08T03:38:14.042Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-08T03:38:14.487Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-08T03:38:14.552Z] Stashed 1 file(s) [Pipeline] } [2024-10-08T03:38:14.586Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-463-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-08T03:38:14.682Z] $ docker stop --time=1 eda99530b6e79a19f0548390454602cb446e855981964f581227d0888448b462 [2024-10-08T03:38:15.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:38:15.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:38:15.170Z] Configure a credential helper to remove this warning. See [2024-10-08T03:38:15.170Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:38:15.170Z] [2024-10-08T03:38:15.170Z] Login Succeeded [2024-10-08T03:38:15.170Z] nexus3.edgexfoundry.org:10003 [2024-10-08T03:38:15.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:38:15.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:38:15.441Z] Configure a credential helper to remove this warning. See [2024-10-08T03:38:15.441Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:38:15.441Z] [2024-10-08T03:38:15.441Z] Login Succeeded [2024-10-08T03:38:15.441Z] nexus3.edgexfoundry.org:10004 [2024-10-08T03:38:15.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T03:38:15.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:38:15.726Z] Configure a credential helper to remove this warning. See [2024-10-08T03:38:15.726Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:38:15.726Z] [2024-10-08T03:38:15.727Z] Login Succeeded [2024-10-08T03:38:15.727Z] ****.io [2024-10-08T03:38:15.855Z] $ docker rm -f --volumes eda99530b6e79a19f0548390454602cb446e855981964f581227d0888448b462 [2024-10-08T03:38:15.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2024-10-08T03:38:16.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T03:38:16.276Z] Configure a credential helper to remove this warning. See [2024-10-08T03:38:16.276Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T03:38:16.276Z] [2024-10-08T03:38:16.276Z] Login Succeeded [2024-10-08T03:38:16.276Z] ---> ****-login.sh ends [Pipeline] // stage [Pipeline] } [Pipeline] } [2024-10-08T03:38:16.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-08T03:38:16.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-08T03:38:16.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-08T03:38:17.028Z] ========================================================= [2024-10-08T03:38:17.028Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-08T03:38:17.028Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T03:38:17.605Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-08T03:38:18.596Z] Sending build context to Docker daemon 21.79MB [2024-10-08T03:38:18.596Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-08T03:38:18.596Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-08T03:38:18.596Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-08T03:38:18.596Z] cf04c63912e1: Pulling fs layer [2024-10-08T03:38:18.596Z] 55b35a11ae5e: Pulling fs layer [2024-10-08T03:38:18.596Z] a37a00ec5f00: Pulling fs layer [2024-10-08T03:38:18.596Z] 50b3750afda1: Pulling fs layer [2024-10-08T03:38:18.596Z] 4f4fb700ef54: Pulling fs layer [2024-10-08T03:38:18.596Z] 80978eb59214: Pulling fs layer [2024-10-08T03:38:18.596Z] c9f46d7d2bd2: Pulling fs layer [2024-10-08T03:38:18.596Z] c5a475d317c9: Pulling fs layer [2024-10-08T03:38:18.596Z] 50b3750afda1: Waiting [2024-10-08T03:38:18.596Z] 4f4fb700ef54: Waiting [2024-10-08T03:38:18.596Z] 80978eb59214: Waiting [2024-10-08T03:38:18.596Z] c9f46d7d2bd2: Waiting [2024-10-08T03:38:18.596Z] c5a475d317c9: Waiting [2024-10-08T03:38:18.596Z] 55b35a11ae5e: Verifying Checksum [2024-10-08T03:38:18.596Z] 55b35a11ae5e: Download complete [2024-10-08T03:38:18.596Z] 50b3750afda1: Verifying Checksum [2024-10-08T03:38:18.596Z] 50b3750afda1: Download complete [2024-10-08T03:38:18.596Z] 4f4fb700ef54: Verifying Checksum [2024-10-08T03:38:18.596Z] 4f4fb700ef54: Download complete [2024-10-08T03:38:18.596Z] 80978eb59214: Verifying Checksum [2024-10-08T03:38:18.596Z] 80978eb59214: Download complete [2024-10-08T03:38:18.596Z] cf04c63912e1: Verifying Checksum [2024-10-08T03:38:18.596Z] cf04c63912e1: Download complete [2024-10-08T03:38:19.192Z] c5a475d317c9: Verifying Checksum [2024-10-08T03:38:19.192Z] c5a475d317c9: Download complete [2024-10-08T03:38:19.783Z] cf04c63912e1: Pull complete [2024-10-08T03:38:20.376Z] 55b35a11ae5e: Pull complete [2024-10-08T03:38:20.967Z] a37a00ec5f00: Verifying Checksum [2024-10-08T03:38:20.967Z] a37a00ec5f00: Download complete [2024-10-08T03:38:21.939Z] c9f46d7d2bd2: Verifying Checksum [2024-10-08T03:38:21.939Z] c9f46d7d2bd2: Download complete [2024-10-08T03:38:36.982Z] a37a00ec5f00: Pull complete [2024-10-08T03:38:36.982Z] 50b3750afda1: Pull complete [2024-10-08T03:38:36.982Z] 4f4fb700ef54: Pull complete [2024-10-08T03:38:36.982Z] 80978eb59214: Pull complete [2024-10-08T03:38:43.670Z] c9f46d7d2bd2: Pull complete [2024-10-08T03:38:45.088Z] c5a475d317c9: Pull complete [2024-10-08T03:38:45.088Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-08T03:38:45.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-08T03:38:45.088Z] ---> be29e6b0f0d4 [2024-10-08T03:38:45.088Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-08T03:38:47.044Z] ---> Running in bbdd69660c8b [2024-10-08T03:38:47.044Z] Removing intermediate container bbdd69660c8b [2024-10-08T03:38:47.044Z] ---> dabc49cb78d4 [2024-10-08T03:38:47.044Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-08T03:38:47.315Z] ---> Running in 6b361bc0aedc [2024-10-08T03:38:47.589Z] Removing intermediate container 6b361bc0aedc [2024-10-08T03:38:47.589Z] ---> febbd4776b30 [2024-10-08T03:38:47.589Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-08T03:38:47.589Z] ---> Running in 0f37459a0982 [2024-10-08T03:38:47.895Z] Removing intermediate container 0f37459a0982 [2024-10-08T03:38:47.895Z] ---> b08849c4fc5f [2024-10-08T03:38:47.895Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-08T03:38:47.895Z] ---> Running in bd4b6bda7840 [2024-10-08T03:38:48.486Z] Removing intermediate container bd4b6bda7840 [2024-10-08T03:38:48.486Z] ---> a6fd3a2eda17 [2024-10-08T03:38:48.486Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-08T03:38:48.486Z] ---> Running in d14e413ae2f7 [2024-10-08T03:38:48.761Z] Removing intermediate container d14e413ae2f7 [2024-10-08T03:38:48.761Z] ---> e9fcad8ba7e2 [2024-10-08T03:38:48.761Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-08T03:38:48.761Z] ---> Running in 694eee4a9bcf [2024-10-08T03:38:50.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T03:38:50.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T03:38:51.602Z] OK: 238 MiB in 54 packages [2024-10-08T03:38:52.569Z] Removing intermediate container 694eee4a9bcf [2024-10-08T03:38:52.569Z] ---> 1d4e628c7604 [2024-10-08T03:38:52.569Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-08T03:38:52.569Z] ---> Running in 2da20a5ba033 [2024-10-08T03:38:52.841Z] Removing intermediate container 2da20a5ba033 [2024-10-08T03:38:52.841Z] ---> 90e253cfce0e [2024-10-08T03:38:52.841Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-08T03:38:53.461Z] ---> d80a2c993ae5 [2024-10-08T03:38:53.461Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-08T03:38:53.461Z] ---> Running in 18f21e8e7ecf [2024-10-08T03:41:00.251Z] Removing intermediate container 18f21e8e7ecf [2024-10-08T03:41:00.251Z] ---> 5985e2df452d [2024-10-08T03:41:00.251Z] Step 12/13 : COPY . . [2024-10-08T03:41:00.251Z] ---> b828faf08d4d [2024-10-08T03:41:00.251Z] Step 13/13 : RUN ${MAKE} [2024-10-08T03:41:00.251Z] ---> Running in 7862d63b1764 [2024-10-08T03:41:00.251Z] noop [2024-10-08T03:41:00.251Z] Removing intermediate container 7862d63b1764 [2024-10-08T03:41:00.251Z] ---> a6787bdb1da9 [2024-10-08T03:41:00.251Z] Successfully built a6787bdb1da9 [2024-10-08T03:41:00.251Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T03:41:00.765Z] + docker inspect -f . ci-base-image-arm64 [2024-10-08T03:41:00.765Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T03:41:01.068Z] prd-ubuntu20.04-docker-arm64-4c-16g-22137 does not seem to be running inside a container [2024-10-08T03:41:01.130Z] $ 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-10-08T03:41:02.356Z] $ docker top 67cfd220ba95f5aead8387ef0d31ecf842459bc18f15dd12f3390d7965bed50c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T03:41:03.261Z] + go version [2024-10-08T03:41:03.261Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-08T03:41:03.309Z] $ docker stop --time=1 67cfd220ba95f5aead8387ef0d31ecf842459bc18f15dd12f3390d7965bed50c [2024-10-08T03:41:04.939Z] $ docker rm -f --volumes 67cfd220ba95f5aead8387ef0d31ecf842459bc18f15dd12f3390d7965bed50c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T03:41:05.933Z] + docker inspect -f . ci-base-image-arm64 [2024-10-08T03:41:05.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T03:41:06.193Z] prd-ubuntu20.04-docker-arm64-4c-16g-22137 does not seem to be running inside a container [2024-10-08T03:41:06.248Z] $ 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-10-08T03:41:07.395Z] $ docker top acaeaa5af6ce656f2b8098348993774bdcee7059658319f2d1592566a7a8f893 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T03:41:08.267Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-10-08T03:41:08.988Z] + make test [2024-10-08T03:41:08.989Z] go test ./... -coverprofile=coverage.out ./... [2024-10-08T03:41:14.318Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-08T03:44:51.142Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-08T03:44:56.478Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-08T03:44:58.548Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.207s coverage: 31.4% of statements [2024-10-08T03:45:20.645Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.921s coverage: 86.5% of statements [2024-10-08T03:45:20.645Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-08T03:45:20.645Z] go vet ./... [2024-10-08T03:46:17.064Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-08T03:46:17.064Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-08T03:46:17.064Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-08T03:46:17.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-08T03:46:17.151Z] $ docker stop --time=1 acaeaa5af6ce656f2b8098348993774bdcee7059658319f2d1592566a7a8f893 [2024-10-08T03:46:19.102Z] $ docker rm -f --volumes acaeaa5af6ce656f2b8098348993774bdcee7059658319f2d1592566a7a8f893 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-08T03:46:20.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-08T03:46:20.977Z] Warning: overwriting stash ‘coverage-report’ [2024-10-08T03:46:21.505Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-08T03:46:22.173Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-08T03:46:22.523Z] + ls -al . [2024-10-08T03:46:22.524Z] total 324 [2024-10-08T03:46:22.524Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 03:41 . [2024-10-08T03:46:22.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 03:37 .. [2024-10-08T03:46:22.524Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 03:37 .git [2024-10-08T03:46:22.524Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 03:37 .github [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 8 03:37 .gitignore [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 8 03:37 .golangci.yml [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 8 03:37 Attribution.txt [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 8 03:37 CHANGELOG.md [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 8 03:37 Dockerfile [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 03:37 GOVERNANCE.md [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 8 03:37 Jenkinsfile [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 8 03:37 LICENSE [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 2883 Oct 8 03:37 Makefile [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 8 03:37 OWNERS.md [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 8 03:37 README.md [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 03:34 VERSION [2024-10-08T03:46:22.524Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 03:37 bin [2024-10-08T03:46:22.524Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 03:37 cmd [2024-10-08T03:46:22.524Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 8 03:45 coverage.out [2024-10-08T03:46:22.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 03:37 doc [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 8 03:37 go.mod [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 8 03:37 go.sum [2024-10-08T03:46:22.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 03:37 internal [2024-10-08T03:46:22.524Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 8 03:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T03:46:22.981Z] + 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=2d1373b8c99fad5c7da7a666d1a959a9529a276b --label arch=arm64 --label version=0.0.0 . [2024-10-08T03:46:23.565Z] Sending build context to Docker daemon 21.88MB [2024-10-08T03:46:23.565Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-08T03:46:23.565Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-08T03:46:23.565Z] ---> a6787bdb1da9 [2024-10-08T03:46:23.565Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-08T03:46:23.832Z] ---> Running in bcdb7223f070 [2024-10-08T03:46:24.103Z] Removing intermediate container bcdb7223f070 [2024-10-08T03:46:24.103Z] ---> 81c7977ebecb [2024-10-08T03:46:24.103Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-08T03:46:24.103Z] ---> Running in 54c091fc513c [2024-10-08T03:46:24.686Z] Removing intermediate container 54c091fc513c [2024-10-08T03:46:24.686Z] ---> 85bbbb4f27cc [2024-10-08T03:46:24.686Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-08T03:46:24.686Z] ---> Running in f244c8dd3b97 [2024-10-08T03:46:24.953Z] Removing intermediate container f244c8dd3b97 [2024-10-08T03:46:24.953Z] ---> e69f3f40aa84 [2024-10-08T03:46:24.953Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-08T03:46:24.953Z] ---> Running in 14390c28df0c [2024-10-08T03:46:25.220Z] Removing intermediate container 14390c28df0c [2024-10-08T03:46:25.220Z] ---> 365461601fc9 [2024-10-08T03:46:25.220Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-08T03:46:25.221Z] ---> Running in df8ccaf43263 [2024-10-08T03:46:25.804Z] Removing intermediate container df8ccaf43263 [2024-10-08T03:46:25.804Z] ---> 5d51b9fb2f47 [2024-10-08T03:46:25.804Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-08T03:46:25.804Z] ---> Running in a24839fa0b83 [2024-10-08T03:46:26.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T03:46:27.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T03:46:28.993Z] OK: 238 MiB in 54 packages [2024-10-08T03:46:29.578Z] Removing intermediate container a24839fa0b83 [2024-10-08T03:46:29.578Z] ---> 088f07a18e5c [2024-10-08T03:46:29.578Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-08T03:46:29.578Z] ---> Running in 5775f4a33ae1 [2024-10-08T03:46:29.846Z] Removing intermediate container 5775f4a33ae1 [2024-10-08T03:46:29.846Z] ---> c651871dac6c [2024-10-08T03:46:29.846Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-08T03:46:30.431Z] ---> c9ac96e5b784 [2024-10-08T03:46:30.431Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-08T03:46:30.699Z] ---> Running in 5465655447d2 [2024-10-08T03:46:33.291Z] Removing intermediate container 5465655447d2 [2024-10-08T03:46:33.291Z] ---> 07bc659846e0 [2024-10-08T03:46:33.291Z] Step 12/27 : COPY . . [2024-10-08T03:46:35.240Z] ---> 93cff255d2e7 [2024-10-08T03:46:35.240Z] Step 13/27 : RUN ${MAKE} [2024-10-08T03:46:35.240Z] ---> Running in d4793dbfca4b [2024-10-08T03:46:36.203Z] 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.44" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-10-08T03:50:28.009Z] Removing intermediate container d4793dbfca4b [2024-10-08T03:50:28.009Z] ---> 349d576b313d [2024-10-08T03:50:28.009Z] Step 14/27 : FROM alpine:3.20 [2024-10-08T03:50:28.009Z] 3.20: Pulling from library/alpine [2024-10-08T03:50:28.009Z] cf04c63912e1: Already exists [2024-10-08T03:50:28.009Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-08T03:50:28.009Z] Status: Downloaded newer image for alpine:3.20 [2024-10-08T03:50:28.009Z] ---> c157a85ed455 [2024-10-08T03:50:28.009Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-08T03:50:28.009Z] ---> Running in 1ecaa6bd518d [2024-10-08T03:50:28.009Z] Removing intermediate container 1ecaa6bd518d [2024-10-08T03:50:28.009Z] ---> 0deeb79ed2b3 [2024-10-08T03:50:28.009Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-08T03:50:28.009Z] ---> Running in e23829c0b1e2 [2024-10-08T03:50:28.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T03:50:28.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T03:50:28.971Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-08T03:50:28.971Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T03:50:28.971Z] OK: 9 MiB in 15 packages [2024-10-08T03:50:29.935Z] Removing intermediate container e23829c0b1e2 [2024-10-08T03:50:29.935Z] ---> e7cb77bd8ee0 [2024-10-08T03:50:29.935Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-08T03:50:30.202Z] ---> Running in 1355f3f6a114 [2024-10-08T03:50:31.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T03:50:31.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T03:50:33.391Z] Upgrading critical system libraries and apk-tools: [2024-10-08T03:50:33.391Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-08T03:50:33.391Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T03:50:33.391Z] Continuing the upgrade transaction with new apk-tools: [2024-10-08T03:50:33.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T03:50:33.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T03:50:35.603Z] OK: 9 MiB in 15 packages [2024-10-08T03:50:36.564Z] Removing intermediate container 1355f3f6a114 [2024-10-08T03:50:36.564Z] ---> 8a3aa81bf7ba [2024-10-08T03:50:36.564Z] Step 18/27 : WORKDIR / [2024-10-08T03:50:36.564Z] ---> Running in 416c929db05a [2024-10-08T03:50:36.831Z] Removing intermediate container 416c929db05a [2024-10-08T03:50:36.831Z] ---> 80802538046b [2024-10-08T03:50:36.831Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-08T03:50:38.774Z] ---> 695c1aca9d88 [2024-10-08T03:50:38.774Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-08T03:50:39.042Z] ---> abb4773afd64 [2024-10-08T03:50:39.042Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-08T03:50:39.627Z] ---> 94189ce802af [2024-10-08T03:50:39.627Z] Step 22/27 : EXPOSE 59984 [2024-10-08T03:50:39.895Z] ---> Running in ea87adc39e87 [2024-10-08T03:50:40.162Z] Removing intermediate container ea87adc39e87 [2024-10-08T03:50:40.162Z] ---> df73909b0b61 [2024-10-08T03:50:40.162Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-08T03:50:40.162Z] ---> Running in 8dcc5ace156d [2024-10-08T03:50:40.744Z] Removing intermediate container 8dcc5ace156d [2024-10-08T03:50:40.744Z] ---> 8aaa034f51e5 [2024-10-08T03:50:40.744Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-08T03:50:40.744Z] ---> Running in 5b76601b0705 [2024-10-08T03:50:41.012Z] Removing intermediate container 5b76601b0705 [2024-10-08T03:50:41.012Z] ---> 785229c27534 [2024-10-08T03:50:41.012Z] Step 25/27 : LABEL arch=arm64 [2024-10-08T03:50:41.012Z] ---> Running in 5924c9d90f6c [2024-10-08T03:50:41.279Z] Removing intermediate container 5924c9d90f6c [2024-10-08T03:50:41.279Z] ---> 15b05c7c8f3d [2024-10-08T03:50:41.279Z] Step 26/27 : LABEL git_sha=2d1373b8c99fad5c7da7a666d1a959a9529a276b [2024-10-08T03:50:41.547Z] ---> Running in b6bef7205cc9 [2024-10-08T03:50:41.815Z] Removing intermediate container b6bef7205cc9 [2024-10-08T03:50:41.815Z] ---> d3ac4e6070e9 [2024-10-08T03:50:41.815Z] Step 27/27 : LABEL version=0.0.0 [2024-10-08T03:50:41.815Z] ---> Running in 25efc54128a8 [2024-10-08T03:50:42.415Z] Removing intermediate container 25efc54128a8 [2024-10-08T03:50:42.415Z] ---> 7717a83dbbd2 [2024-10-08T03:50:42.415Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-08T03:50:42.415Z] Successfully built 7717a83dbbd2 [2024-10-08T03:50:42.415Z] 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-10-08T03:50:43.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-08T03:50:43.345Z] [2024-10-08T03:50:43.345Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T03:50:43.792Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-08T03:50:44.060Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-08T03:50:44.060Z] 8998bd30e6a1: Pulling fs layer [2024-10-08T03:50:44.060Z] 04944245beec: Pulling fs layer [2024-10-08T03:50:44.060Z] 699f458cf7ca: Pulling fs layer [2024-10-08T03:50:44.060Z] 765212b225bb: Pulling fs layer [2024-10-08T03:50:44.060Z] f23df028b6ca: Pulling fs layer [2024-10-08T03:50:44.060Z] d65c8cfc05b1: Pulling fs layer [2024-10-08T03:50:44.060Z] 2437ff75d9bd: Pulling fs layer [2024-10-08T03:50:44.060Z] 765212b225bb: Waiting [2024-10-08T03:50:44.060Z] d65c8cfc05b1: Waiting [2024-10-08T03:50:44.060Z] f23df028b6ca: Waiting [2024-10-08T03:50:44.060Z] 2437ff75d9bd: Waiting [2024-10-08T03:50:44.060Z] 04944245beec: Verifying Checksum [2024-10-08T03:50:44.060Z] 04944245beec: Download complete [2024-10-08T03:50:44.060Z] 765212b225bb: Verifying Checksum [2024-10-08T03:50:44.060Z] 765212b225bb: Download complete [2024-10-08T03:50:44.060Z] f23df028b6ca: Verifying Checksum [2024-10-08T03:50:44.060Z] f23df028b6ca: Download complete [2024-10-08T03:50:44.060Z] d65c8cfc05b1: Verifying Checksum [2024-10-08T03:50:44.060Z] d65c8cfc05b1: Download complete [2024-10-08T03:50:44.332Z] 699f458cf7ca: Verifying Checksum [2024-10-08T03:50:44.332Z] 699f458cf7ca: Download complete [2024-10-08T03:50:44.915Z] 8998bd30e6a1: Verifying Checksum [2024-10-08T03:50:44.915Z] 8998bd30e6a1: Download complete [2024-10-08T03:50:50.262Z] 2437ff75d9bd: Verifying Checksum [2024-10-08T03:50:50.262Z] 2437ff75d9bd: Download complete [2024-10-08T03:50:50.262Z] 8998bd30e6a1: Pull complete [2024-10-08T03:50:50.262Z] 04944245beec: Pull complete [2024-10-08T03:50:51.668Z] 699f458cf7ca: Pull complete [2024-10-08T03:50:51.935Z] 765212b225bb: Pull complete [2024-10-08T03:50:52.897Z] f23df028b6ca: Pull complete [2024-10-08T03:50:53.163Z] d65c8cfc05b1: Pull complete [2024-10-08T03:51:11.345Z] 2437ff75d9bd: Pull complete [2024-10-08T03:51:11.345Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-08T03:51:11.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-08T03:51:11.345Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T03:51:11.804Z] prd-ubuntu20.04-docker-arm64-4c-16g-22137 does not seem to be running inside a container [2024-10-08T03:51:11.884Z] $ 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-10-08T03:51:14.990Z] $ docker top e5ca0faaa8df14fa912f23687aadbf624ae6617850fada4434426a6c1ddb9e55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-08T03:51:16.003Z] ---> job-cost.sh [2024-10-08T03:51:16.004Z] lf-activate-venv: SKIPPING [2024-10-08T03:51:16.004Z] INFO: No Stack... [2024-10-08T03:51:16.284Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-08T03:51:17.245Z] INFO: Archiving Costs [Pipeline] sh [2024-10-08T03:51:17.899Z] + cut -d, -f6 [2024-10-08T03:51:17.899Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2024-10-08T03:51:17.982Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-463-1-stack-cost] [2024-10-08T03:51:17.988Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-463-1-stack-cost] did not exist. Created. [2024-10-08T03:51:17.994Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-08T03:51:18.746Z] /w/workspace/device-onvif-camera/1@tmp/durable-e1ab6bfe/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-08T03:51:19.422Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-08T03:51:19.465Z] Warning: overwriting stash ‘stack-cost’ [2024-10-08T03:51:19.556Z] Stashed 1 file(s) [Pipeline] } [2024-10-08T03:51:19.575Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-463-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-08T03:51:19.662Z] $ docker stop --time=1 e5ca0faaa8df14fa912f23687aadbf624ae6617850fada4434426a6c1ddb9e55 [2024-10-08T03:51:21.198Z] $ docker rm -f --volumes e5ca0faaa8df14fa912f23687aadbf624ae6617850fada4434426a6c1ddb9e55 [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-10-08T03:51:22.544Z] provisioning config files... [2024-10-08T03:51:22.576Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-463@tmp/config12116576083198060454tmp [Pipeline] { [Pipeline] sh [2024-10-08T03:51:23.137Z] + set +x [2024-10-08T03:51:23.137Z] + + bash -s -- [2024-10-08T03:51:23.137Z] curl -s https://codecov.io/bash [2024-10-08T03:51:23.400Z] [2024-10-08T03:51:23.400Z] _____ _ [2024-10-08T03:51:23.400Z] / ____| | | [2024-10-08T03:51:23.400Z] | | ___ __| | ___ ___ _____ __ [2024-10-08T03:51:23.400Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-08T03:51:23.400Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-08T03:51:23.400Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-08T03:51:23.400Z] Bash-1.0.6 [2024-10-08T03:51:23.400Z] [2024-10-08T03:51:23.400Z] [2024-10-08T03:51:23.400Z] ==> git version 2.25.1 found [2024-10-08T03:51:23.400Z] ==> 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-10-08T03:51:23.400Z] Release-Date: 2020-01-08 [2024-10-08T03:51:23.400Z] 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-10-08T03:51:23.400Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-08T03:51:23.400Z] ==> Jenkins CI detected. [2024-10-08T03:51:23.400Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-463 [2024-10-08T03:51:23.400Z] project root: . [2024-10-08T03:51:23.400Z] --> token set from env [2024-10-08T03:51:23.400Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-08T03:51:23.400Z] ==> Running gcov in . (disable via -X gcov) [2024-10-08T03:51:23.400Z] ==> Python coveragepy not found [2024-10-08T03:51:23.400Z] ==> Searching for coverage reports in: [2024-10-08T03:51:23.400Z] + . [2024-10-08T03:51:23.400Z] -> Found 1 reports [2024-10-08T03:51:23.400Z] ==> Detecting git/mercurial file structure [2024-10-08T03:51:23.400Z] ==> Reading reports [2024-10-08T03:51:23.400Z] + ./coverage.out bytes=92292 [2024-10-08T03:51:23.400Z] ==> Appending adjustments [2024-10-08T03:51:23.400Z] https://docs.codecov.io/docs/fixing-reports [2024-10-08T03:51:23.672Z] + Found adjustments [2024-10-08T03:51:23.672Z] ==> Gzipping contents [2024-10-08T03:51:23.672Z] 12K /tmp/codecov.hKRDHV.gz [2024-10-08T03:51:23.672Z] ==> Uploading reports [2024-10-08T03:51:23.672Z] url: https://codecov.io [2024-10-08T03:51:23.672Z] query: branch=PR-463&commit=2d1373b8c99fad5c7da7a666d1a959a9529a276b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-463%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=463&job=&cmd_args= [2024-10-08T03:51:23.672Z] -> Pinging Codecov [2024-10-08T03:51:23.672Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-463&commit=2d1373b8c99fad5c7da7a666d1a959a9529a276b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-463%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=463&job=&cmd_args= [2024-10-08T03:51:23.956Z] -> Uploading to [2024-10-08T03:51:23.956Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/2d1373b8c99fad5c7da7a666d1a959a9529a276b/406ff1d3-a8f3-4f9d-b6c0-4a0f33f29c63.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241008%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241008T035123Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=639c3c598771c9c3ee2c92eeac28e260a7536bf83d3c6402076d8576c7a6d19e [2024-10-08T03:51:23.956Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-08T03:51:23.956Z] Dload Upload Total Spent Left Speed [2024-10-08T03:51:23.956Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 46778 --:--:-- --:--:-- --:--:-- 46778 [2024-10-08T03:51:24.228Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/2d1373b8c99fad5c7da7a666d1a959a9529a276b [Pipeline] } [2024-10-08T03:51:24.270Z] 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-10-08T03:51:28.053Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-463/archives ] [2024-10-08T03:51:28.053Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-463/archives [2024-10-08T03:51:28.053Z] total 16 [2024-10-08T03:51:28.053Z] drwxr-xr-x 3 root root 4096 Oct 8 03:38 . [2024-10-08T03:51:28.053Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 03:38 .. [2024-10-08T03:51:28.053Z] drwxr-xr-x 2 root root 4096 Oct 8 03:38 cost [2024-10-08T03:51:28.053Z] -rw-r--r-- 1 root root 91 Oct 8 03:38 cost.csv [2024-10-08T03:51:28.053Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-463/archives [2024-10-08T03:51:28.053Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-463/archives [2024-10-08T03:51:28.053Z] total 16 [2024-10-08T03:51:28.053Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 03:38 . [2024-10-08T03:51:28.053Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 03:38 .. [2024-10-08T03:51:28.053Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 8 03:38 cost [2024-10-08T03:51:28.053Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 8 03:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-08T03:51:28.398Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T03:51:29.310Z] ---> package-listing.sh [2024-10-08T03:51:29.310Z] ++ facter osfamily [2024-10-08T03:51:29.310Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-08T03:51:29.571Z] + OS_FAMILY=debian [2024-10-08T03:51:29.571Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-463 [2024-10-08T03:51:29.571Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-08T03:51:29.571Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-08T03:51:29.571Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-08T03:51:29.571Z] + PACKAGES=/tmp/packages_start.txt [2024-10-08T03:51:29.571Z] + '[' /w/workspace/undry_device-onvif-camera_PR-463 ']' [2024-10-08T03:51:29.571Z] + PACKAGES=/tmp/packages_end.txt [2024-10-08T03:51:29.571Z] + case "${OS_FAMILY}" in [2024-10-08T03:51:29.571Z] + dpkg -l [2024-10-08T03:51:29.571Z] + grep '^ii' [2024-10-08T03:51:29.571Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-08T03:51:29.571Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-08T03:51:29.571Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-08T03:51:29.571Z] + '[' /w/workspace/undry_device-onvif-camera_PR-463 ']' [2024-10-08T03:51:29.571Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-463/archives/ [2024-10-08T03:51:29.571Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-463/archives/ [Pipeline] echo [2024-10-08T03:51:29.612Z] 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-463/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-08T03:51:30.003Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T03:51:30.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-08T03:51:30.746Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T03:51:30.946Z] prd-ubuntu20.04-docker-8c-8g-22135 does not seem to be running inside a container [2024-10-08T03:51:30.981Z] $ 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-463/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-463 -v /w/workspace/undry_device-onvif-camera_PR-463:/w/workspace/undry_device-onvif-camera_PR-463:rw,z -v /w/workspace/undry_device-onvif-camera_PR-463@tmp:/w/workspace/undry_device-onvif-camera_PR-463@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-10-08T03:51:31.165Z] $ docker top ca3522e22a3c8166a52021df7cedea60d1749f879f0ab55f0c7f0c121e305767 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T03:51:31.574Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-08T03:51:31.902Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-08T03:51:32.270Z] + ls /var/log/sa-host [2024-10-08T03:51:32.270Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-08T03:51:32.683Z] provisioning config files... [2024-10-08T03:51:32.695Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-463@tmp/config17356483797140851993tmp [Pipeline] { [Pipeline] echo [2024-10-08T03:51:32.821Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T03:51:33.206Z] ---> create-netrc.sh [Pipeline] } [2024-10-08T03:51:33.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-08T03:51:33.767Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-08T03:51:33.820Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T03:51:34.145Z] ---> sudo-logs.sh [2024-10-08T03:51:34.145Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-08T03:51:34.323Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T03:51:34.696Z] ---> job-cost.sh [2024-10-08T03:51:34.696Z] lf-activate-venv: SKIPPING [2024-10-08T03:51:34.696Z] DEBUG: total: 0.2199999988079071 [2024-10-08T03:51:34.696Z] INFO: Retrieving Stack Cost... [2024-10-08T03:51:35.266Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-08T03:51:35.529Z] INFO: Archiving Costs [Pipeline] echo [2024-10-08T03:51:35.582Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T03:51:35.924Z] ---> logs-deploy.sh [2024-10-08T03:51:35.924Z] lf-activate-venv: SKIPPING [2024-10-08T03:51:35.924Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-463/1 [2024-10-08T03:51:35.924Z] INFO: archiving workspace using pattern(s): [2024-10-08T03:51:36.866Z] Archives upload complete. [2024-10-08T03:51:36.866Z] INFO: archiving logs to Nexus