Pull request #461 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 2342540ef65f1397ecb34c477184ee441b1d0a60+276436e60f25d91e45baf5819fa2ea594f4bdb74 (4009407895529f20a33a1240aa6c8f76fd63d912) 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-ssh14637365533216590931.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-ssh15492856690218113131.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-461/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-461/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12609937902302480509.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-461/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1504071474187896970.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-ssh9655131679472716218.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-461/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-461/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18281665403792363852.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15966 in /w/workspace/undry_device-onvif-camera_PR-461 [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-461 # 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/461/head:refs/remotes/origin/PR-461 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 276436e60f25d91e45baf5819fa2ea594f4bdb74 into PR head commit 2342540ef65f1397ecb34c477184ee441b1d0a60 Merge succeeded, producing 2342540ef65f1397ecb34c477184ee441b1d0a60 Checking out Revision 2342540ef65f1397ecb34c477184ee441b1d0a60 (PR-461) > git config core.sparsecheckout # timeout=10 > git checkout -f 2342540ef65f1397ecb34c477184ee441b1d0a60 # 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 276436e60f25d91e45baf5819fa2ea594f4bdb74 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2342540ef65f1397ecb34c477184ee441b1d0a60 # timeout=10 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-04T07:17:46.511Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T07:17:46.731Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T07:17:46.852Z] ========================================================= [2024-10-04T07:17:46.852Z] EdgeX Global Pipelines Version Info [2024-10-04T07:17:46.852Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:17:47.604Z] ------------------- [2024-10-04T07:17:47.604Z] stable info: [2024-10-04T07:17:47.604Z] ------------------- [2024-10-04T07:17:47.604Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T07:17:47.604Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T07:17:47.604Z] Message: update stable to v1.0.265 [2024-10-04T07:17:48.173Z] ------------------- [2024-10-04T07:17:48.173Z] experimental info: [2024-10-04T07:17:48.173Z] ------------------- [2024-10-04T07:17:48.173Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T07:17:48.173Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T07:17:48.173Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T07:17:48.386Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-10-04T07:17:48.435Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-10-04T07:17:48.489Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T07:17:48.549Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T07:17:48.600Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T07:17:48.652Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T07:17:48.700Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T07:17:48.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-04T07:17:48.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T07:17:48.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T07:17:48.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T07:17:49.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-10-04T07:17:49.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T07:17:49.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T07:17:49.174Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T07:17:49.224Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T07:17:49.280Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T07:17:49.331Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T07:17:49.383Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T07:17:49.442Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T07:17:49.500Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-04T07:17:49.552Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-10-04T07:17:49.607Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T07:17:49.666Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T07:17:49.720Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T07:17:49.778Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T07:17:49.832Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T07:17:49.895Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-461 [Pipeline] echo [2024-10-04T07:17:49.948Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-461 [Pipeline] echo [2024-10-04T07:17:50.007Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-461 [Pipeline] echo [2024-10-04T07:17:50.064Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2342540ef65f1397ecb34c477184ee441b1d0a60 [Pipeline] echo [2024-10-04T07:17:50.115Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2342540 [Pipeline] echo [2024-10-04T07:17:50.164Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T07:17:50.310Z] provisioning config files... [2024-10-04T07:17:50.323Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-461@tmp/config1666361734540284760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:17:50.726Z] ---> ****-login.sh [2024-10-04T07:17:50.727Z] nexus3.edgexfoundry.org:10001 [2024-10-04T07:17:50.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:17:50.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:17:50.993Z] Configure a credential helper to remove this warning. See [2024-10-04T07:17:50.993Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:17:50.993Z] [2024-10-04T07:17:50.993Z] Login Succeeded [2024-10-04T07:17:50.993Z] nexus3.edgexfoundry.org:10002 [2024-10-04T07:17:50.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:17:51.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:17:51.253Z] Configure a credential helper to remove this warning. See [2024-10-04T07:17:51.253Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:17:51.253Z] [2024-10-04T07:17:51.253Z] Login Succeeded [2024-10-04T07:17:51.253Z] nexus3.edgexfoundry.org:10003 [2024-10-04T07:17:51.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:17:51.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:17:51.253Z] Configure a credential helper to remove this warning. See [2024-10-04T07:17:51.253Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:17:51.253Z] [2024-10-04T07:17:51.253Z] Login Succeeded [2024-10-04T07:17:51.253Z] nexus3.edgexfoundry.org:10004 [2024-10-04T07:17:51.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:17:51.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:17:51.253Z] Configure a credential helper to remove this warning. See [2024-10-04T07:17:51.254Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:17:51.254Z] [2024-10-04T07:17:51.254Z] Login Succeeded [2024-10-04T07:17:51.254Z] ****.io [2024-10-04T07:17:51.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:17:51.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:17:51.513Z] Configure a credential helper to remove this warning. See [2024-10-04T07:17:51.513Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:17:51.513Z] [2024-10-04T07:17:51.513Z] Login Succeeded [2024-10-04T07:17:51.513Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T07:17:51.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T07:17:52.243Z] + git rev-list -1 --merges 2342540ef65f1397ecb34c477184ee441b1d0a60~1..2342540ef65f1397ecb34c477184ee441b1d0a60 [Pipeline] echo [2024-10-04T07:17:52.288Z] -----------> git rev-list -1 --merges 2342540ef65f1397ecb34c477184ee441b1d0a60~1..2342540ef65f1397ecb34c477184ee441b1d0a60 2342540ef65f1397ecb34c477184ee441b1d0a60 [false] [Pipeline] sh [2024-10-04T07:17:52.608Z] + git log --format=format:%s -1 2342540ef65f1397ecb34c477184ee441b1d0a60 [Pipeline] echo [2024-10-04T07:17:52.653Z] ========================================================= [2024-10-04T07:17:52.653Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T07:17:52.653Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T07:17:53.112Z] + git log --format=format:%s -1 2342540ef65f1397ecb34c477184ee441b1d0a60 [Pipeline] echo [2024-10-04T07:17:53.150Z] [semverPrep] GIT_COMMIT: 2342540ef65f1397ecb34c477184ee441b1d0a60, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20 [Pipeline] echo [2024-10-04T07:17:53.193Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T07:17:53.614Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T07:17:53.614Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T07:17:53.614Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T07:17:53.614Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T07:17:53.614Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-04T07:17:53.614Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-04T07:17:53.614Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:17:54.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T07:17:54.132Z] [2024-10-04T07:17:54.132Z] 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-04T07:17:54.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T07:17:54.518Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T07:17:54.518Z] b85a868b505f: Pulling fs layer [2024-10-04T07:17:54.518Z] e2be974225ed: Pulling fs layer [2024-10-04T07:17:54.518Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T07:17:54.518Z] 988bab9f4d93: Pulling fs layer [2024-10-04T07:17:54.518Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T07:17:54.518Z] eaf3925da568: Pulling fs layer [2024-10-04T07:17:54.518Z] bab4dde63d76: Pulling fs layer [2024-10-04T07:17:54.518Z] bde34c3a00c8: Pulling fs layer [2024-10-04T07:17:54.518Z] b352a97aabf1: Pulling fs layer [2024-10-04T07:17:54.518Z] 4872d77fe225: Pulling fs layer [2024-10-04T07:17:54.518Z] 5851b861e8e6: Pulling fs layer [2024-10-04T07:17:54.518Z] eaf3925da568: Waiting [2024-10-04T07:17:54.518Z] bab4dde63d76: Waiting [2024-10-04T07:17:54.518Z] b352a97aabf1: Waiting [2024-10-04T07:17:54.518Z] 988bab9f4d93: Waiting [2024-10-04T07:17:54.518Z] 1469e6f7b9e6: Waiting [2024-10-04T07:17:54.518Z] 4872d77fe225: Waiting [2024-10-04T07:17:54.518Z] e2be974225ed: Verifying Checksum [2024-10-04T07:17:54.518Z] e2be974225ed: Download complete [2024-10-04T07:17:54.518Z] 988bab9f4d93: Download complete [2024-10-04T07:17:54.518Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T07:17:54.518Z] 1469e6f7b9e6: Download complete [2024-10-04T07:17:54.777Z] eaf3925da568: Verifying Checksum [2024-10-04T07:17:54.777Z] eaf3925da568: Download complete [2024-10-04T07:17:54.777Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T07:17:54.777Z] 339a4e72a1f5: Download complete [2024-10-04T07:17:54.777Z] bde34c3a00c8: Verifying Checksum [2024-10-04T07:17:54.777Z] bde34c3a00c8: Download complete [2024-10-04T07:17:54.777Z] b352a97aabf1: Verifying Checksum [2024-10-04T07:17:54.777Z] b352a97aabf1: Download complete [2024-10-04T07:17:54.777Z] 4872d77fe225: Verifying Checksum [2024-10-04T07:17:54.777Z] 4872d77fe225: Download complete [2024-10-04T07:17:54.777Z] 5851b861e8e6: Verifying Checksum [2024-10-04T07:17:54.777Z] 5851b861e8e6: Download complete [2024-10-04T07:17:54.777Z] b85a868b505f: Verifying Checksum [2024-10-04T07:17:54.777Z] b85a868b505f: Download complete [2024-10-04T07:17:55.035Z] bab4dde63d76: Download complete [2024-10-04T07:17:55.977Z] b85a868b505f: Pull complete [2024-10-04T07:17:56.235Z] e2be974225ed: Pull complete [2024-10-04T07:17:56.805Z] 339a4e72a1f5: Pull complete [2024-10-04T07:17:56.805Z] 988bab9f4d93: Pull complete [2024-10-04T07:17:57.074Z] 1469e6f7b9e6: Pull complete [2024-10-04T07:17:57.074Z] eaf3925da568: Pull complete [2024-10-04T07:17:58.980Z] bab4dde63d76: Pull complete [2024-10-04T07:17:58.980Z] bde34c3a00c8: Pull complete [2024-10-04T07:17:59.242Z] b352a97aabf1: Pull complete [2024-10-04T07:17:59.242Z] 4872d77fe225: Pull complete [2024-10-04T07:17:59.242Z] 5851b861e8e6: Pull complete [2024-10-04T07:17:59.242Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T07:17:59.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T07:17:59.242Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:17:59.519Z] prd-ubuntu20.04-docker-8c-8g-15966 does not seem to be running inside a container [2024-10-04T07:17:59.542Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-461 -v /w/workspace/undry_device-onvif-camera_PR-461:/w/workspace/undry_device-onvif-camera_PR-461:rw,z -v /w/workspace/undry_device-onvif-camera_PR-461@tmp:/w/workspace/undry_device-onvif-camera_PR-461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-04T07:18:03.494Z] $ docker top b27d347ad2fdde08a740cbbbcda4acc0c463b523667552c903743ba505aae24e -eo pid,comm [2024-10-04T07:18:03.549Z] 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-04T07:18:03.549Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T07:18:03.753Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T07:18:03.753Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T07:18:03.866Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T07:18:03.868Z] $ docker exec b27d347ad2fdde08a740cbbbcda4acc0c463b523667552c903743ba505aae24e ssh-agent [2024-10-04T07:18:03.975Z] SSH_AUTH_SOCK=/tmp/ssh-IJ46tXBdHo9l/agent.32 [2024-10-04T07:18:03.975Z] SSH_AGENT_PID=38 [2024-10-04T07:18:03.981Z] Running ssh-add (command line suppressed) [2024-10-04T07:18:04.082Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-461@tmp/private_key_9845612738172641361.key (/w/workspace/undry_device-onvif-camera_PR-461@tmp/private_key_9845612738172641361.key) [2024-10-04T07:18:04.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T07:18:04.457Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T07:18:04.484Z] $ docker exec --env ******** --env ******** b27d347ad2fdde08a740cbbbcda4acc0c463b523667552c903743ba505aae24e ssh-agent -k [2024-10-04T07:18:04.587Z] unset SSH_AUTH_SOCK; [2024-10-04T07:18:04.587Z] unset SSH_AGENT_PID; [2024-10-04T07:18:04.587Z] echo Agent pid 38 killed; [2024-10-04T07:18:04.596Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T07:18:04.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T07:18:04.714Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T07:18:04.820Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T07:18:04.822Z] $ docker exec b27d347ad2fdde08a740cbbbcda4acc0c463b523667552c903743ba505aae24e ssh-agent [2024-10-04T07:18:04.927Z] SSH_AUTH_SOCK=/tmp/ssh-vIybC2hCRWPk/agent.71 [2024-10-04T07:18:04.927Z] SSH_AGENT_PID=77 [2024-10-04T07:18:04.932Z] Running ssh-add (command line suppressed) [2024-10-04T07:18:05.035Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-461@tmp/private_key_4567026832321629776.key (/w/workspace/undry_device-onvif-camera_PR-461@tmp/private_key_4567026832321629776.key) [2024-10-04T07:18:05.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T07:18:05.383Z] + git semver init [2024-10-04T07:18:05.643Z] 2024-10-04 07:18:05,560 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T07:18:05.643Z] 2024-10-04 07:18:05,561 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-461/.semver [2024-10-04T07:18:05.643Z] 2024-10-04 07:18:05,561 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-461/.semver [2024-10-04T07:18:05.643Z] 2024-10-04 07:18:05,562 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-461/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-461, universal_newlines=False, shell=None, istream=None) [2024-10-04T07:18:07.032Z] 2024-10-04 07:18:06,829 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-461/.git/info/exclude [2024-10-04T07:18:07.032Z] 2024-10-04 07:18:06,830 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-461/.semver/PR-461 with force:False [2024-10-04T07:18:07.032Z] 2024-10-04 07:18:06,830 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-461/.semver/PR-461 [2024-10-04T07:18:07.032Z] 2024-10-04 07:18:06,834 [execute] INFO git cat-file --batch-check [2024-10-04T07:18:07.032Z] 2024-10-04 07:18:06,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-461/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T07:18:07.032Z] 2024-10-04 07:18:06,840 [execute] INFO git cat-file --batch [2024-10-04T07:18:07.032Z] 2024-10-04 07:18:06,840 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-461/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T07:18:07.032Z] 2024-10-04 07:18:06,845 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-461/.semver/PR-461 [2024-10-04T07:18:07.032Z] 0.0.0 [Pipeline] } [2024-10-04T07:18:07.056Z] $ docker exec --env ******** --env ******** b27d347ad2fdde08a740cbbbcda4acc0c463b523667552c903743ba505aae24e ssh-agent -k [2024-10-04T07:18:07.168Z] unset SSH_AUTH_SOCK; [2024-10-04T07:18:07.169Z] unset SSH_AGENT_PID; [2024-10-04T07:18:07.171Z] echo Agent pid 77 killed; [2024-10-04T07:18:07.178Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T07:18:07.630Z] + git semver [Pipeline] } [2024-10-04T07:18:07.917Z] $ docker stop --time=1 b27d347ad2fdde08a740cbbbcda4acc0c463b523667552c903743ba505aae24e [2024-10-04T07:18:09.199Z] $ docker rm -f --volumes b27d347ad2fdde08a740cbbbcda4acc0c463b523667552c903743ba505aae24e [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T07:18:09.628Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T07:18:09.934Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T07:18:09.963Z] [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-04T07:18:10.665Z] provisioning config files... [2024-10-04T07:18:10.675Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-461@tmp/config6939147325980305419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:18:11.043Z] ---> ****-login.sh [2024-10-04T07:18:11.043Z] nexus3.edgexfoundry.org:10001 [2024-10-04T07:18:11.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:18:11.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:18:11.044Z] Configure a credential helper to remove this warning. See [2024-10-04T07:18:11.044Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:18:11.044Z] [2024-10-04T07:18:11.044Z] Login Succeeded [2024-10-04T07:18:11.044Z] nexus3.edgexfoundry.org:10002 [2024-10-04T07:18:11.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:18:11.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:18:11.044Z] Configure a credential helper to remove this warning. See [2024-10-04T07:18:11.044Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:18:11.044Z] [2024-10-04T07:18:11.044Z] Login Succeeded [2024-10-04T07:18:11.044Z] nexus3.edgexfoundry.org:10003 [2024-10-04T07:18:11.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:18:11.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:18:11.303Z] Configure a credential helper to remove this warning. See [2024-10-04T07:18:11.303Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:18:11.303Z] [2024-10-04T07:18:11.303Z] Login Succeeded [2024-10-04T07:18:11.303Z] nexus3.edgexfoundry.org:10004 [2024-10-04T07:18:11.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:18:11.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:18:11.303Z] Configure a credential helper to remove this warning. See [2024-10-04T07:18:11.303Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:18:11.303Z] [2024-10-04T07:18:11.303Z] Login Succeeded [2024-10-04T07:18:11.303Z] ****.io [2024-10-04T07:18:11.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:18:11.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:18:11.562Z] Configure a credential helper to remove this warning. See [2024-10-04T07:18:11.562Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:18:11.562Z] [2024-10-04T07:18:11.562Z] Login Succeeded [2024-10-04T07:18:11.562Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T07:18:11.595Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T07:18:11.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T07:18:11.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T07:18:11.924Z] ========================================================= [2024-10-04T07:18:11.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T07:18:11.924Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:18:12.426Z] + 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-04T07:18:12.426Z] Sending build context to Docker daemon 36.78MB [2024-10-04T07:18:12.426Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T07:18:12.426Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-04T07:18:12.686Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T07:18:12.686Z] 43c4264eed91: Pulling fs layer [2024-10-04T07:18:12.686Z] 4cc291be95ef: Pulling fs layer [2024-10-04T07:18:12.686Z] 2ac1f1163629: Pulling fs layer [2024-10-04T07:18:12.686Z] 5c3c966382ef: Pulling fs layer [2024-10-04T07:18:12.686Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T07:18:12.686Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T07:18:12.686Z] 9f66e0745190: Pulling fs layer [2024-10-04T07:18:12.686Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T07:18:12.686Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T07:18:12.686Z] 5d5c8e513c77: Waiting [2024-10-04T07:18:12.686Z] 9f66e0745190: Waiting [2024-10-04T07:18:12.686Z] f49a43e4bbc0: Waiting [2024-10-04T07:18:12.686Z] 561ebcabdf7f: Waiting [2024-10-04T07:18:12.686Z] 5c3c966382ef: Waiting [2024-10-04T07:18:12.686Z] 4cc291be95ef: Verifying Checksum [2024-10-04T07:18:12.686Z] 4cc291be95ef: Download complete [2024-10-04T07:18:12.686Z] 5c3c966382ef: Verifying Checksum [2024-10-04T07:18:12.686Z] 5c3c966382ef: Download complete [2024-10-04T07:18:12.686Z] 4f4fb700ef54: Download complete [2024-10-04T07:18:12.686Z] 5d5c8e513c77: Verifying Checksum [2024-10-04T07:18:12.686Z] 5d5c8e513c77: Download complete [2024-10-04T07:18:12.686Z] 43c4264eed91: Download complete [2024-10-04T07:18:12.686Z] 9f66e0745190: Verifying Checksum [2024-10-04T07:18:12.686Z] 9f66e0745190: Download complete [2024-10-04T07:18:12.966Z] 43c4264eed91: Pull complete [2024-10-04T07:18:12.966Z] 561ebcabdf7f: Verifying Checksum [2024-10-04T07:18:12.966Z] 561ebcabdf7f: Download complete [2024-10-04T07:18:13.225Z] 4cc291be95ef: Pull complete [2024-10-04T07:18:13.225Z] 2ac1f1163629: Verifying Checksum [2024-10-04T07:18:13.225Z] 2ac1f1163629: Download complete [2024-10-04T07:18:13.792Z] f49a43e4bbc0: Verifying Checksum [2024-10-04T07:18:13.792Z] f49a43e4bbc0: Download complete [2024-10-04T07:18:17.090Z] 2ac1f1163629: Pull complete [2024-10-04T07:18:17.090Z] 5c3c966382ef: Pull complete [2024-10-04T07:18:17.090Z] 4f4fb700ef54: Pull complete [2024-10-04T07:18:17.348Z] 5d5c8e513c77: Pull complete [2024-10-04T07:18:17.348Z] 9f66e0745190: Pull complete [2024-10-04T07:18:19.890Z] f49a43e4bbc0: Pull complete [2024-10-04T07:18:20.151Z] 561ebcabdf7f: Pull complete [2024-10-04T07:18:20.151Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T07:18:20.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T07:18:20.151Z] ---> 3a752c3f9dda [2024-10-04T07:18:20.151Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-04T07:18:25.449Z] Still waiting to schedule task [2024-10-04T07:18:25.449Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15917’ [2024-10-04T07:18:26.724Z] ---> Running in 127bb5e08e45 [2024-10-04T07:18:26.724Z] Removing intermediate container 127bb5e08e45 [2024-10-04T07:18:26.724Z] ---> 71d35f164584 [2024-10-04T07:18:26.724Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T07:18:26.724Z] ---> Running in bb5fb5c70101 [2024-10-04T07:18:26.724Z] Removing intermediate container bb5fb5c70101 [2024-10-04T07:18:26.724Z] ---> 9b6070cf2b96 [2024-10-04T07:18:26.724Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-04T07:18:26.724Z] ---> Running in 50ca205d4015 [2024-10-04T07:18:26.724Z] Removing intermediate container 50ca205d4015 [2024-10-04T07:18:26.724Z] ---> 581cf28d65a0 [2024-10-04T07:18:26.724Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T07:18:26.724Z] ---> Running in 8b5f0efdc218 [2024-10-04T07:18:26.724Z] Removing intermediate container 8b5f0efdc218 [2024-10-04T07:18:26.724Z] ---> 1e9a35b11cdf [2024-10-04T07:18:26.724Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-04T07:18:26.724Z] ---> Running in c2d8ddf8b11f [2024-10-04T07:18:26.724Z] Removing intermediate container c2d8ddf8b11f [2024-10-04T07:18:26.724Z] ---> 6a1d9606cc70 [2024-10-04T07:18:26.724Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T07:18:26.724Z] ---> Running in a0a936df1eca [2024-10-04T07:18:26.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T07:18:27.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T07:18:27.503Z] OK: 246 MiB in 54 packages [2024-10-04T07:18:27.762Z] Removing intermediate container a0a936df1eca [2024-10-04T07:18:27.762Z] ---> c83059de7be4 [2024-10-04T07:18:27.762Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-04T07:18:27.762Z] ---> Running in adb0727a7eb4 [2024-10-04T07:18:28.020Z] Removing intermediate container adb0727a7eb4 [2024-10-04T07:18:28.020Z] ---> dd80218dcd17 [2024-10-04T07:18:28.020Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-04T07:18:28.020Z] ---> 3d60cb9e2f14 [2024-10-04T07:18:28.020Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T07:18:28.020Z] ---> Running in 182b4e91dd3c [2024-10-04T07:19:35.733Z] Removing intermediate container 182b4e91dd3c [2024-10-04T07:19:35.733Z] ---> 3b30bcb32935 [2024-10-04T07:19:35.733Z] Step 12/13 : COPY . . [2024-10-04T07:19:35.733Z] ---> 2523a2a8b79f [2024-10-04T07:19:35.733Z] Step 13/13 : RUN ${MAKE} [2024-10-04T07:19:35.733Z] ---> Running in 83895c17caa5 [2024-10-04T07:19:35.733Z] noop [2024-10-04T07:19:35.733Z] Removing intermediate container 83895c17caa5 [2024-10-04T07:19:35.733Z] ---> 9b94a0d17d24 [2024-10-04T07:19:35.733Z] Successfully built 9b94a0d17d24 [2024-10-04T07:19:35.733Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:19:36.210Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T07:19:36.210Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:19:36.378Z] prd-ubuntu20.04-docker-8c-8g-15966 does not seem to be running inside a container [2024-10-04T07:19:36.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-461 -v /w/workspace/undry_device-onvif-camera_PR-461:/w/workspace/undry_device-onvif-camera_PR-461:rw,z -v /w/workspace/undry_device-onvif-camera_PR-461@tmp:/w/workspace/undry_device-onvif-camera_PR-461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T07:19:36.757Z] $ docker top 3896eecc0b800cf0bed5c5af85026b9bded95475de67ced8ada23ddb540bd114 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T07:19:37.148Z] + go version [2024-10-04T07:19:37.148Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T07:19:37.182Z] $ docker stop --time=1 3896eecc0b800cf0bed5c5af85026b9bded95475de67ced8ada23ddb540bd114 [2024-10-04T07:19:38.442Z] $ docker rm -f --volumes 3896eecc0b800cf0bed5c5af85026b9bded95475de67ced8ada23ddb540bd114 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:19:39.217Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T07:19:39.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:19:39.382Z] prd-ubuntu20.04-docker-8c-8g-15966 does not seem to be running inside a container [2024-10-04T07:19:39.412Z] $ 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-461 -v /w/workspace/undry_device-onvif-camera_PR-461:/w/workspace/undry_device-onvif-camera_PR-461:rw,z -v /w/workspace/undry_device-onvif-camera_PR-461@tmp:/w/workspace/undry_device-onvif-camera_PR-461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T07:19:39.767Z] $ docker top 0e341e6f7969c4a1d15c4fc517b0299e774aedb348d4af5c6d1865344250d417 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T07:19:40.192Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-461 [Pipeline] fileExists [Pipeline] sh [2024-10-04T07:19:40.571Z] + make test [2024-10-04T07:19:40.571Z] go test ./... -coverprofile=coverage.out ./... [2024-10-04T07:19:42.490Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-04T07:20:04.584Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-04T07:20:04.584Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-04T07:20:04.584Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 31.4% of statements [2024-10-04T07:20:04.584Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.528s coverage: 86.5% of statements [2024-10-04T07:20:19.456Z] go vet ./... [2024-10-04T07:20:24.768Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T07:20:24.768Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T07:20:24.768Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T07:20:24.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T07:20:24.859Z] $ docker stop --time=1 0e341e6f7969c4a1d15c4fc517b0299e774aedb348d4af5c6d1865344250d417 [2024-10-04T07:20:27.844Z] $ docker rm -f --volumes 0e341e6f7969c4a1d15c4fc517b0299e774aedb348d4af5c6d1865344250d417 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T07:20:28.498Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T07:20:28.585Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-04T07:20:29.314Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T07:20:29.634Z] + ls -al . [2024-10-04T07:20:29.634Z] total 328 [2024-10-04T07:20:29.634Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 07:19 . [2024-10-04T07:20:29.634Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 07:17 .. [2024-10-04T07:20:29.634Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 07:20 .git [2024-10-04T07:20:29.634Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:17 .github [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 4 07:17 .gitignore [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 07:17 .golangci.yml [2024-10-04T07:20:29.634Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 07:18 .semver [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 4 07:17 Attribution.txt [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 4 07:17 CHANGELOG.md [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 4 07:17 Dockerfile [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 07:17 GOVERNANCE.md [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 4 07:17 Jenkinsfile [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 4 07:17 LICENSE [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 2883 Oct 4 07:17 Makefile [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 07:17 OWNERS.md [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 4 07:17 README.md [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 07:18 VERSION [2024-10-04T07:20:29.634Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 07:17 bin [2024-10-04T07:20:29.634Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:17 cmd [2024-10-04T07:20:29.634Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 4 07:20 coverage.out [2024-10-04T07:20:29.634Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 07:17 doc [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 4 07:17 go.mod [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 4 07:17 go.sum [2024-10-04T07:20:29.634Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 07:17 internal [2024-10-04T07:20:29.634Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 4 07:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:20:30.079Z] + 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=2342540ef65f1397ecb34c477184ee441b1d0a60 --label arch=amd64 --label version=0.0.0 . [2024-10-04T07:20:30.079Z] Sending build context to Docker daemon 36.87MB [2024-10-04T07:20:30.079Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T07:20:30.079Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-04T07:20:30.079Z] ---> 9b94a0d17d24 [2024-10-04T07:20:30.079Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-04T07:20:30.651Z] ---> Running in 431ad51eba4f [2024-10-04T07:20:30.651Z] Removing intermediate container 431ad51eba4f [2024-10-04T07:20:30.651Z] ---> 48bdbeb83c7a [2024-10-04T07:20:30.651Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T07:20:30.910Z] ---> Running in 1c68892f0b1c [2024-10-04T07:20:30.910Z] Removing intermediate container 1c68892f0b1c [2024-10-04T07:20:30.910Z] ---> d2b763c59735 [2024-10-04T07:20:30.910Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-04T07:20:30.910Z] ---> Running in b0accd908f89 [2024-10-04T07:20:30.910Z] Removing intermediate container b0accd908f89 [2024-10-04T07:20:30.910Z] ---> e81c6f02b79a [2024-10-04T07:20:30.910Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T07:20:30.910Z] ---> Running in 36c4004857c0 [2024-10-04T07:20:31.173Z] Removing intermediate container 36c4004857c0 [2024-10-04T07:20:31.173Z] ---> 45667b1fdb14 [2024-10-04T07:20:31.173Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-04T07:20:31.173Z] ---> Running in 8ef9eedeea3c [2024-10-04T07:20:31.173Z] Removing intermediate container 8ef9eedeea3c [2024-10-04T07:20:31.173Z] ---> 25841c0348ac [2024-10-04T07:20:31.173Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T07:20:31.173Z] ---> Running in 2b6b67855124 [2024-10-04T07:20:31.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T07:20:31.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T07:20:31.955Z] OK: 246 MiB in 54 packages [2024-10-04T07:20:32.215Z] Removing intermediate container 2b6b67855124 [2024-10-04T07:20:32.215Z] ---> c49cdc799945 [2024-10-04T07:20:32.215Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-04T07:20:32.215Z] ---> Running in 9b68630fb01c [2024-10-04T07:20:32.474Z] Removing intermediate container 9b68630fb01c [2024-10-04T07:20:32.474Z] ---> 4d0df5ca7795 [2024-10-04T07:20:32.474Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-04T07:20:32.474Z] ---> a8c78b0543ca [2024-10-04T07:20:32.474Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T07:20:32.474Z] ---> Running in c7a89e8bbb8c [2024-10-04T07:20:33.412Z] Removing intermediate container c7a89e8bbb8c [2024-10-04T07:20:33.412Z] ---> 93455411b3ce [2024-10-04T07:20:33.412Z] Step 12/27 : COPY . . [2024-10-04T07:20:34.792Z] ---> b0e72533b0b8 [2024-10-04T07:20:34.792Z] Step 13/27 : RUN ${MAKE} [2024-10-04T07:20:34.792Z] ---> Running in 1360dd8b4d19 [2024-10-04T07:20:34.792Z] 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.41" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-10-04T07:21:13.527Z] Removing intermediate container 1360dd8b4d19 [2024-10-04T07:21:13.527Z] ---> e4140ccd0e65 [2024-10-04T07:21:13.527Z] Step 14/27 : FROM alpine:3.20 [2024-10-04T07:21:13.527Z] 3.20: Pulling from library/alpine [2024-10-04T07:21:13.527Z] 43c4264eed91: Already exists [2024-10-04T07:21:13.527Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T07:21:13.527Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T07:21:13.527Z] ---> 91ef0af61f39 [2024-10-04T07:21:13.527Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-04T07:21:13.527Z] ---> Running in b440b92fadf0 [2024-10-04T07:21:13.527Z] Removing intermediate container b440b92fadf0 [2024-10-04T07:21:13.527Z] ---> fad13bf33e81 [2024-10-04T07:21:13.527Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-04T07:21:13.527Z] ---> Running in 75b75738497c [2024-10-04T07:21:13.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T07:21:13.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T07:21:13.527Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T07:21:13.527Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T07:21:13.527Z] OK: 8 MiB in 15 packages [2024-10-04T07:21:13.527Z] Removing intermediate container 75b75738497c [2024-10-04T07:21:13.527Z] ---> 901389e48d45 [2024-10-04T07:21:13.527Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-04T07:21:13.527Z] ---> Running in 85a8b7fb0261 [2024-10-04T07:21:13.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T07:21:13.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T07:21:13.527Z] Upgrading critical system libraries and apk-tools: [2024-10-04T07:21:13.527Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T07:21:13.527Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T07:21:13.527Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T07:21:13.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T07:21:13.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T07:21:13.527Z] OK: 8 MiB in 15 packages [2024-10-04T07:21:13.527Z] Removing intermediate container 85a8b7fb0261 [2024-10-04T07:21:13.527Z] ---> f212cf2a7a68 [2024-10-04T07:21:13.527Z] Step 18/27 : WORKDIR / [2024-10-04T07:21:13.527Z] ---> Running in 06f9d514f523 [2024-10-04T07:21:13.527Z] Removing intermediate container 06f9d514f523 [2024-10-04T07:21:13.527Z] ---> e6dfeff04ae6 [2024-10-04T07:21:13.527Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-04T07:21:14.466Z] ---> 9f616e1b3849 [2024-10-04T07:21:14.466Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-04T07:21:14.466Z] ---> a731700ed000 [2024-10-04T07:21:14.466Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-04T07:21:14.726Z] ---> b5a54c01cc3c [2024-10-04T07:21:14.726Z] Step 22/27 : EXPOSE 59984 [2024-10-04T07:21:14.726Z] ---> Running in 2a85341695a9 [2024-10-04T07:21:14.726Z] Removing intermediate container 2a85341695a9 [2024-10-04T07:21:14.726Z] ---> 820f42328c41 [2024-10-04T07:21:14.726Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-04T07:21:14.726Z] ---> Running in 2392107707c3 [2024-10-04T07:21:14.726Z] Removing intermediate container 2392107707c3 [2024-10-04T07:21:14.726Z] ---> 835ab251b3dd [2024-10-04T07:21:14.726Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T07:21:14.985Z] ---> Running in 8d49077fb316 [2024-10-04T07:21:14.985Z] Removing intermediate container 8d49077fb316 [2024-10-04T07:21:14.985Z] ---> 0c7b6bac426b [2024-10-04T07:21:14.985Z] Step 25/27 : LABEL arch=amd64 [2024-10-04T07:21:14.985Z] ---> Running in b45bfc643a40 [2024-10-04T07:21:14.985Z] Removing intermediate container b45bfc643a40 [2024-10-04T07:21:14.985Z] ---> 15002f1b45a8 [2024-10-04T07:21:14.985Z] Step 26/27 : LABEL git_sha=2342540ef65f1397ecb34c477184ee441b1d0a60 [2024-10-04T07:21:14.985Z] ---> Running in 8102c953e92a [2024-10-04T07:21:15.244Z] Removing intermediate container 8102c953e92a [2024-10-04T07:21:15.244Z] ---> a858cd389b6c [2024-10-04T07:21:15.244Z] Step 27/27 : LABEL version=0.0.0 [2024-10-04T07:21:15.244Z] ---> Running in 5ccc5a86c2c7 [2024-10-04T07:21:15.244Z] Removing intermediate container 5ccc5a86c2c7 [2024-10-04T07:21:15.244Z] ---> 62874fcb1a58 [2024-10-04T07:21:15.244Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T07:21:15.244Z] Successfully built 62874fcb1a58 [2024-10-04T07:21:15.244Z] 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-04T07:21:16.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T07:21:16.315Z] [2024-10-04T07:21:16.315Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:21:16.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T07:21:16.731Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T07:21:16.731Z] 5eb5b503b376: Pulling fs layer [2024-10-04T07:21:16.731Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T07:21:16.732Z] ec43610c2a17: Pulling fs layer [2024-10-04T07:21:16.732Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T07:21:16.732Z] 33b1e0a273af: Pulling fs layer [2024-10-04T07:21:16.732Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T07:21:16.732Z] 2f39f015ded8: Pulling fs layer [2024-10-04T07:21:16.732Z] 3a2ae6a8a46f: Waiting [2024-10-04T07:21:16.732Z] 33b1e0a273af: Waiting [2024-10-04T07:21:16.732Z] 5d3b04190fa2: Waiting [2024-10-04T07:21:16.732Z] 2f39f015ded8: Waiting [2024-10-04T07:21:16.732Z] 5c69ac0246d0: Download complete [2024-10-04T07:21:16.732Z] 3a2ae6a8a46f: Download complete [2024-10-04T07:21:16.732Z] 33b1e0a273af: Verifying Checksum [2024-10-04T07:21:16.732Z] 33b1e0a273af: Download complete [2024-10-04T07:21:16.732Z] 5d3b04190fa2: Verifying Checksum [2024-10-04T07:21:16.732Z] 5d3b04190fa2: Download complete [2024-10-04T07:21:16.990Z] ec43610c2a17: Verifying Checksum [2024-10-04T07:21:16.990Z] ec43610c2a17: Download complete [2024-10-04T07:21:16.990Z] 5eb5b503b376: Verifying Checksum [2024-10-04T07:21:16.990Z] 5eb5b503b376: Download complete [2024-10-04T07:21:17.927Z] 2f39f015ded8: Download complete [2024-10-04T07:21:18.498Z] 5eb5b503b376: Pull complete [2024-10-04T07:21:18.498Z] 5c69ac0246d0: Pull complete [2024-10-04T07:21:19.065Z] ec43610c2a17: Pull complete [2024-10-04T07:21:19.065Z] 3a2ae6a8a46f: Pull complete [2024-10-04T07:21:19.324Z] 33b1e0a273af: Pull complete [2024-10-04T07:21:19.324Z] 5d3b04190fa2: Pull complete [2024-10-04T07:21:23.506Z] 2f39f015ded8: Pull complete [2024-10-04T07:21:23.506Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T07:21:23.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T07:21:23.506Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:21:23.781Z] prd-ubuntu20.04-docker-8c-8g-15966 does not seem to be running inside a container [2024-10-04T07:21:23.814Z] $ 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-461 -v /w/workspace/undry_device-onvif-camera_PR-461:/w/workspace/undry_device-onvif-camera_PR-461:rw,z -v /w/workspace/undry_device-onvif-camera_PR-461@tmp:/w/workspace/undry_device-onvif-camera_PR-461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T07:21:28.041Z] $ docker top 441efd73e1a85cff8543124db1eb7a6551d4e91de04d225f5793e13a17bb48fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:21:28.539Z] ---> job-cost.sh [2024-10-04T07:21:28.539Z] lf-activate-venv: SKIPPING [2024-10-04T07:21:28.539Z] INFO: No Stack... [2024-10-04T07:21:28.797Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T07:21:29.057Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T07:21:29.372Z] + cat /w/workspace/undry_device-onvif-camera_PR-461/archives/cost.csv [2024-10-04T07:21:29.372Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T07:21:29.416Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-461-1-stack-cost] [2024-10-04T07:21:29.422Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-461-1-stack-cost] did not exist. Created. [2024-10-04T07:21:29.428Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-461-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T07:21:29.856Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T07:21:29.926Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T07:21:29.968Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-461-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T07:21:30.067Z] $ docker stop --time=1 441efd73e1a85cff8543124db1eb7a6551d4e91de04d225f5793e13a17bb48fc [2024-10-04T07:21:31.223Z] $ docker rm -f --volumes 441efd73e1a85cff8543124db1eb7a6551d4e91de04d225f5793e13a17bb48fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T07:43:41.492Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16365 in /w/workspace/undry_device-onvif-camera_PR-461 [Pipeline] { [Pipeline] ws [2024-10-04T07:43:41.572Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-10-04T07:43:44.687Z] The recommended git tool is: git [2024-10-04T07:43:50.606Z] using credential edgex-jenkins-ssh [2024-10-04T07:43:50.631Z] Cloning the remote Git repository [2024-10-04T07:43:50.678Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-04T07:43:50.813Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-10-04T07:43:51.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-04T07:43:51.014Z] > git --version # timeout=10 [2024-10-04T07:43:51.035Z] > git --version # 'git version 2.25.1' [2024-10-04T07:43:51.038Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T07:43:51.235Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T07:43:53.977Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-10-04T07:43:54.005Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T07:43:56.046Z] Merging remotes/origin/main commit 276436e60f25d91e45baf5819fa2ea594f4bdb74 into PR head commit 2342540ef65f1397ecb34c477184ee441b1d0a60 [2024-10-04T07:43:55.349Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-10-04T07:43:55.406Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-04T07:43:55.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T07:43:55.446Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-04T07:43:56.076Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T07:43:56.174Z] > git checkout -f 2342540ef65f1397ecb34c477184ee441b1d0a60 # timeout=10 [2024-10-04T07:43:56.392Z] > git remote # timeout=10 [2024-10-04T07:43:56.535Z] Merge succeeded, producing 2342540ef65f1397ecb34c477184ee441b1d0a60 [2024-10-04T07:43:56.535Z] Checking out Revision 2342540ef65f1397ecb34c477184ee441b1d0a60 (PR-461) [2024-10-04T07:43:56.417Z] > git config --get remote.origin.url # timeout=10 [2024-10-04T07:43:56.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T07:43:56.472Z] > git merge 276436e60f25d91e45baf5819fa2ea594f4bdb74 # timeout=10 [2024-10-04T07:43:56.504Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-04T07:43:56.541Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T07:43:56.556Z] > git checkout -f 2342540ef65f1397ecb34c477184ee441b1d0a60 # timeout=10 [2024-10-04T07:44:00.563Z] Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" [2024-10-04T07:44:00.637Z] > git --version # timeout=10 [2024-10-04T07:44:00.652Z] > git --version # 'git version 2.25.1' [2024-10-04T07:44:00.669Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T07:44:02.773Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T07:44:02.773Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T07:44:02.773Z] Dload Upload Total Spent Left Speed [2024-10-04T07:44:02.773Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 240k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh [2024-10-04T07:44:03.152Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T07:44:03.519Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-10-04T07:44:03.519Z] /etc/docker/daemon.json [2024-10-04T07:44:03.519Z] { [2024-10-04T07:44:03.519Z] "registry-mirrors": [ [2024-10-04T07:44:03.519Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T07:44:03.519Z] ], [2024-10-04T07:44:03.519Z] "bip": "10.250.0.254/24", [2024-10-04T07:44:03.519Z] "hosts": [ [2024-10-04T07:44:03.519Z] "tcp://0.0.0.0:5555", [2024-10-04T07:44:03.519Z] "unix:///var/run/docker.sock" [2024-10-04T07:44:03.519Z] ], [2024-10-04T07:44:03.519Z] "mtu": 1458, [2024-10-04T07:44:03.519Z] "selinux-enabled": true, [2024-10-04T07:44:03.519Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T07:44:03.519Z] } [Pipeline] sh [2024-10-04T07:44:03.892Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T07:44:04.302Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T07:44:22.698Z] provisioning config files... [2024-10-04T07:44:22.727Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6682611298702887398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:44:23.243Z] ---> ****-login.sh [2024-10-04T07:44:23.244Z] nexus3.edgexfoundry.org:10001 [2024-10-04T07:44:23.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:44:23.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:44:23.781Z] Configure a credential helper to remove this warning. See [2024-10-04T07:44:23.781Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:44:23.781Z] [2024-10-04T07:44:23.781Z] Login Succeeded [2024-10-04T07:44:23.781Z] nexus3.edgexfoundry.org:10002 [2024-10-04T07:44:24.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:44:24.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:44:24.317Z] Configure a credential helper to remove this warning. See [2024-10-04T07:44:24.317Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:44:24.317Z] [2024-10-04T07:44:24.317Z] Login Succeeded [2024-10-04T07:44:24.317Z] nexus3.edgexfoundry.org:10003 [2024-10-04T07:44:24.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:44:24.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:44:24.595Z] Configure a credential helper to remove this warning. See [2024-10-04T07:44:24.595Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:44:24.595Z] [2024-10-04T07:44:24.595Z] Login Succeeded [2024-10-04T07:44:24.595Z] nexus3.edgexfoundry.org:10004 [2024-10-04T07:44:24.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:44:24.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:44:24.864Z] Configure a credential helper to remove this warning. See [2024-10-04T07:44:24.864Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:44:24.864Z] [2024-10-04T07:44:24.864Z] Login Succeeded [2024-10-04T07:44:24.864Z] ****.io [2024-10-04T07:44:25.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:44:25.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:44:25.399Z] Configure a credential helper to remove this warning. See [2024-10-04T07:44:25.399Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:44:25.399Z] [2024-10-04T07:44:25.399Z] Login Succeeded [2024-10-04T07:44:25.399Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T07:44:25.432Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T07:44:25.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T07:44:25.984Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T07:44:26.032Z] ========================================================= [2024-10-04T07:44:26.033Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T07:44:26.033Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:44:26.620Z] + 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-04T07:44:27.206Z] Sending build context to Docker daemon 21.83MB [2024-10-04T07:44:27.206Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T07:44:27.206Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-04T07:44:27.476Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T07:44:27.476Z] cf04c63912e1: Pulling fs layer [2024-10-04T07:44:27.476Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T07:44:27.476Z] a37a00ec5f00: Pulling fs layer [2024-10-04T07:44:27.476Z] 50b3750afda1: Pulling fs layer [2024-10-04T07:44:27.476Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T07:44:27.476Z] 80978eb59214: Pulling fs layer [2024-10-04T07:44:27.476Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T07:44:27.476Z] c5a475d317c9: Pulling fs layer [2024-10-04T07:44:27.476Z] 50b3750afda1: Waiting [2024-10-04T07:44:27.476Z] 4f4fb700ef54: Waiting [2024-10-04T07:44:27.476Z] 80978eb59214: Waiting [2024-10-04T07:44:27.476Z] c9f46d7d2bd2: Waiting [2024-10-04T07:44:27.476Z] c5a475d317c9: Waiting [2024-10-04T07:44:27.476Z] 55b35a11ae5e: Verifying Checksum [2024-10-04T07:44:27.476Z] 55b35a11ae5e: Download complete [2024-10-04T07:44:27.476Z] 50b3750afda1: Download complete [2024-10-04T07:44:27.476Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T07:44:27.476Z] 4f4fb700ef54: Download complete [2024-10-04T07:44:27.476Z] 80978eb59214: Verifying Checksum [2024-10-04T07:44:27.476Z] 80978eb59214: Download complete [2024-10-04T07:44:27.476Z] cf04c63912e1: Verifying Checksum [2024-10-04T07:44:27.476Z] cf04c63912e1: Download complete [2024-10-04T07:44:28.066Z] c5a475d317c9: Verifying Checksum [2024-10-04T07:44:28.066Z] c5a475d317c9: Download complete [2024-10-04T07:44:28.655Z] cf04c63912e1: Pull complete [2024-10-04T07:44:28.926Z] 55b35a11ae5e: Pull complete [2024-10-04T07:44:29.509Z] a37a00ec5f00: Verifying Checksum [2024-10-04T07:44:29.509Z] a37a00ec5f00: Download complete [2024-10-04T07:44:30.469Z] c9f46d7d2bd2: Download complete [2024-10-04T07:44:42.793Z] a37a00ec5f00: Pull complete [2024-10-04T07:44:43.063Z] 50b3750afda1: Pull complete [2024-10-04T07:44:43.336Z] 4f4fb700ef54: Pull complete [2024-10-04T07:44:43.605Z] 80978eb59214: Pull complete [2024-10-04T07:44:53.743Z] c9f46d7d2bd2: Pull complete [2024-10-04T07:44:54.715Z] c5a475d317c9: Pull complete [2024-10-04T07:44:54.715Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T07:44:54.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T07:44:54.715Z] ---> be29e6b0f0d4 [2024-10-04T07:44:54.715Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-04T07:44:57.308Z] ---> Running in d5b24713cf1c [2024-10-04T07:44:57.308Z] Removing intermediate container d5b24713cf1c [2024-10-04T07:44:57.308Z] ---> 5571231d6a5a [2024-10-04T07:44:57.308Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T07:44:57.308Z] ---> Running in 4b4c5b937717 [2024-10-04T07:44:57.576Z] Removing intermediate container 4b4c5b937717 [2024-10-04T07:44:57.576Z] ---> 488ffcea4576 [2024-10-04T07:44:57.576Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-04T07:44:57.576Z] ---> Running in e3405b40b398 [2024-10-04T07:44:57.854Z] Removing intermediate container e3405b40b398 [2024-10-04T07:44:57.854Z] ---> e2adaf387d71 [2024-10-04T07:44:57.854Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T07:44:58.122Z] ---> Running in 6c5a2cc33f7e [2024-10-04T07:44:58.389Z] Removing intermediate container 6c5a2cc33f7e [2024-10-04T07:44:58.389Z] ---> 8e0874500f2b [2024-10-04T07:44:58.389Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-04T07:44:58.654Z] ---> Running in d544c2b6bba8 [2024-10-04T07:45:00.063Z] Removing intermediate container d544c2b6bba8 [2024-10-04T07:45:00.063Z] ---> f7c178be39d0 [2024-10-04T07:45:00.063Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T07:45:00.063Z] ---> Running in c86ad99a09be [2024-10-04T07:45:02.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T07:45:02.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T07:45:04.102Z] OK: 238 MiB in 54 packages [2024-10-04T07:45:05.515Z] Removing intermediate container c86ad99a09be [2024-10-04T07:45:05.515Z] ---> 253b5ad96c3a [2024-10-04T07:45:05.515Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-04T07:45:05.515Z] ---> Running in 780ea15f5e81 [2024-10-04T07:45:06.099Z] Removing intermediate container 780ea15f5e81 [2024-10-04T07:45:06.099Z] ---> f83d788ada8b [2024-10-04T07:45:06.099Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-04T07:45:06.681Z] ---> e6793ea4be1e [2024-10-04T07:45:06.681Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T07:45:06.681Z] ---> Running in 2ff23ba8ff9c [2024-10-04T07:47:13.424Z] Removing intermediate container 2ff23ba8ff9c [2024-10-04T07:47:13.424Z] ---> 19b82446e693 [2024-10-04T07:47:13.424Z] Step 12/13 : COPY . . [2024-10-04T07:47:13.424Z] ---> 3769645fd93d [2024-10-04T07:47:13.424Z] Step 13/13 : RUN ${MAKE} [2024-10-04T07:47:13.424Z] ---> Running in aafcdf837d7c [2024-10-04T07:47:13.424Z] noop [2024-10-04T07:47:13.424Z] Removing intermediate container aafcdf837d7c [2024-10-04T07:47:13.424Z] ---> 3df02e14e351 [2024-10-04T07:47:13.424Z] Successfully built 3df02e14e351 [2024-10-04T07:47:13.424Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:47:13.964Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T07:47:13.964Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:47:14.304Z] prd-ubuntu20.04-docker-arm64-4c-16g-16365 does not seem to be running inside a container [2024-10-04T07:47:14.385Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T07:47:15.750Z] $ docker top b2936c15c1e66de8a9a07739f1470d0e5fef340f3e5d6c0400de2ef8e480bd76 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T07:47:16.668Z] + go version [2024-10-04T07:47:16.669Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T07:47:16.737Z] $ docker stop --time=1 b2936c15c1e66de8a9a07739f1470d0e5fef340f3e5d6c0400de2ef8e480bd76 [2024-10-04T07:47:18.415Z] $ docker rm -f --volumes b2936c15c1e66de8a9a07739f1470d0e5fef340f3e5d6c0400de2ef8e480bd76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:47:19.411Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T07:47:19.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:47:19.717Z] prd-ubuntu20.04-docker-arm64-4c-16g-16365 does not seem to be running inside a container [2024-10-04T07:47:19.786Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T07:47:21.125Z] $ docker top 64a12f07df108b9ca693e2edad03ff3d3d2060ee6c7538f6edcbda744a351736 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T07:47:22.092Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-10-04T07:47:22.832Z] + make test [2024-10-04T07:47:22.832Z] go test ./... -coverprofile=coverage.out ./... [2024-10-04T07:47:29.509Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-04T07:51:36.561Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-04T07:51:36.831Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-04T07:51:39.430Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.192s coverage: 31.4% of statements [2024-10-04T07:52:01.559Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.915s coverage: 86.5% of statements [2024-10-04T07:52:01.559Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-04T07:52:01.559Z] go vet ./... [2024-10-04T07:52:57.990Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T07:52:57.990Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T07:52:57.990Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T07:52:58.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T07:52:58.082Z] $ docker stop --time=1 64a12f07df108b9ca693e2edad03ff3d3d2060ee6c7538f6edcbda744a351736 [2024-10-04T07:52:59.865Z] $ docker rm -f --volumes 64a12f07df108b9ca693e2edad03ff3d3d2060ee6c7538f6edcbda744a351736 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T07:53:01.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T07:53:01.616Z] Warning: overwriting stash ‘coverage-report’ [2024-10-04T07:53:02.208Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T07:53:02.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T07:53:03.258Z] + ls -al . [2024-10-04T07:53:03.258Z] total 324 [2024-10-04T07:53:03.258Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 07:47 . [2024-10-04T07:53:03.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 07:43 .. [2024-10-04T07:53:03.258Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 07:43 .git [2024-10-04T07:53:03.258Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:43 .github [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 4 07:43 .gitignore [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 07:43 .golangci.yml [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 4 07:43 Attribution.txt [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 4 07:43 CHANGELOG.md [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 4 07:43 Dockerfile [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 07:43 GOVERNANCE.md [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 4 07:43 Jenkinsfile [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 4 07:43 LICENSE [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 2883 Oct 4 07:43 Makefile [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 07:43 OWNERS.md [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 4 07:43 README.md [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 07:18 VERSION [2024-10-04T07:53:03.258Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 07:43 bin [2024-10-04T07:53:03.258Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:43 cmd [2024-10-04T07:53:03.258Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 4 07:51 coverage.out [2024-10-04T07:53:03.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 07:43 doc [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 4 07:43 go.mod [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 4 07:43 go.sum [2024-10-04T07:53:03.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 07:43 internal [2024-10-04T07:53:03.258Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 4 07:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:53:03.725Z] + 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=2342540ef65f1397ecb34c477184ee441b1d0a60 --label arch=arm64 --label version=0.0.0 . [2024-10-04T07:53:04.313Z] Sending build context to Docker daemon 21.92MB [2024-10-04T07:53:04.313Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T07:53:04.313Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-04T07:53:04.313Z] ---> 3df02e14e351 [2024-10-04T07:53:04.313Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-04T07:53:04.581Z] ---> Running in 53331785448e [2024-10-04T07:53:04.860Z] Removing intermediate container 53331785448e [2024-10-04T07:53:04.860Z] ---> af8cd080563f [2024-10-04T07:53:04.860Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T07:53:05.129Z] ---> Running in 408cfc94732e [2024-10-04T07:53:05.402Z] Removing intermediate container 408cfc94732e [2024-10-04T07:53:05.402Z] ---> f89d8ae92fee [2024-10-04T07:53:05.402Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-04T07:53:05.402Z] ---> Running in ae35c2014648 [2024-10-04T07:53:05.672Z] Removing intermediate container ae35c2014648 [2024-10-04T07:53:05.672Z] ---> 83d789e8c0ac [2024-10-04T07:53:05.672Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T07:53:05.941Z] ---> Running in b32c6edc8327 [2024-10-04T07:53:06.210Z] Removing intermediate container b32c6edc8327 [2024-10-04T07:53:06.210Z] ---> 2a88b94e3770 [2024-10-04T07:53:06.210Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-04T07:53:06.210Z] ---> Running in 7f87b4a2eb5a [2024-10-04T07:53:06.479Z] Removing intermediate container 7f87b4a2eb5a [2024-10-04T07:53:06.479Z] ---> db2ff7a20ad5 [2024-10-04T07:53:06.479Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T07:53:06.750Z] ---> Running in f64fbfd9b8b1 [2024-10-04T07:53:07.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T07:53:08.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T07:53:10.253Z] OK: 238 MiB in 54 packages [2024-10-04T07:53:10.839Z] Removing intermediate container f64fbfd9b8b1 [2024-10-04T07:53:10.839Z] ---> 09895baa8b11 [2024-10-04T07:53:10.839Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-04T07:53:11.106Z] ---> Running in 18c7ce3f1f99 [2024-10-04T07:53:11.372Z] Removing intermediate container 18c7ce3f1f99 [2024-10-04T07:53:11.372Z] ---> 00456f781537 [2024-10-04T07:53:11.372Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-04T07:53:11.954Z] ---> c790d86ff6f2 [2024-10-04T07:53:11.954Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T07:53:11.954Z] ---> Running in 493505658dda [2024-10-04T07:53:14.558Z] Removing intermediate container 493505658dda [2024-10-04T07:53:14.558Z] ---> d1bc6e0f9b1e [2024-10-04T07:53:14.558Z] Step 12/27 : COPY . . [2024-10-04T07:53:16.520Z] ---> e325e0dd94fc [2024-10-04T07:53:16.520Z] Step 13/27 : RUN ${MAKE} [2024-10-04T07:53:16.520Z] ---> Running in 0c43b8cf63b6 [2024-10-04T07:53:17.488Z] 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.41" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-10-04T07:57:24.528Z] Removing intermediate container 0c43b8cf63b6 [2024-10-04T07:57:24.528Z] ---> 3c794337b0ad [2024-10-04T07:57:24.528Z] Step 14/27 : FROM alpine:3.20 [2024-10-04T07:57:24.528Z] 3.20: Pulling from library/alpine [2024-10-04T07:57:24.528Z] cf04c63912e1: Already exists [2024-10-04T07:57:24.528Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T07:57:24.528Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T07:57:24.528Z] ---> c157a85ed455 [2024-10-04T07:57:24.528Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-04T07:57:24.528Z] ---> Running in 5faeefe0f752 [2024-10-04T07:57:24.528Z] Removing intermediate container 5faeefe0f752 [2024-10-04T07:57:24.528Z] ---> 9dcbfa7c03be [2024-10-04T07:57:24.528Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-04T07:57:24.528Z] ---> Running in e8f116e784f0 [2024-10-04T07:57:24.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T07:57:24.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T07:57:25.498Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T07:57:25.498Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T07:57:25.498Z] OK: 9 MiB in 15 packages [2024-10-04T07:57:26.465Z] Removing intermediate container e8f116e784f0 [2024-10-04T07:57:26.465Z] ---> 7c664338bdee [2024-10-04T07:57:26.465Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-04T07:57:26.465Z] ---> Running in 4240fc612cc1 [2024-10-04T07:57:27.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T07:57:27.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T07:57:29.296Z] Upgrading critical system libraries and apk-tools: [2024-10-04T07:57:29.296Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T07:57:29.296Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T07:57:29.564Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T07:57:29.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T07:57:29.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T07:57:31.237Z] OK: 9 MiB in 15 packages [2024-10-04T07:57:32.201Z] Removing intermediate container 4240fc612cc1 [2024-10-04T07:57:32.201Z] ---> e91e8b9cbf07 [2024-10-04T07:57:32.201Z] Step 18/27 : WORKDIR / [2024-10-04T07:57:32.201Z] ---> Running in 562b52f78d85 [2024-10-04T07:57:32.470Z] Removing intermediate container 562b52f78d85 [2024-10-04T07:57:32.470Z] ---> 0901056d5e1b [2024-10-04T07:57:32.470Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-04T07:57:34.416Z] ---> b830529f4cd1 [2024-10-04T07:57:34.416Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-04T07:57:35.001Z] ---> 592336484ebc [2024-10-04T07:57:35.001Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-04T07:57:35.580Z] ---> 0effedf49020 [2024-10-04T07:57:35.580Z] Step 22/27 : EXPOSE 59984 [2024-10-04T07:57:35.580Z] ---> Running in bd42576d34c6 [2024-10-04T07:57:35.851Z] Removing intermediate container bd42576d34c6 [2024-10-04T07:57:35.851Z] ---> 831de4798f13 [2024-10-04T07:57:35.851Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-04T07:57:36.117Z] ---> Running in bfa27c5be9bd [2024-10-04T07:57:36.384Z] Removing intermediate container bfa27c5be9bd [2024-10-04T07:57:36.384Z] ---> e85ecf5c68bd [2024-10-04T07:57:36.384Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T07:57:36.384Z] ---> Running in 0537ca557f54 [2024-10-04T07:57:36.650Z] Removing intermediate container 0537ca557f54 [2024-10-04T07:57:36.650Z] ---> 4280e29e7884 [2024-10-04T07:57:36.650Z] Step 25/27 : LABEL arch=arm64 [2024-10-04T07:57:36.650Z] ---> Running in 5507bb28047d [2024-10-04T07:57:36.916Z] Removing intermediate container 5507bb28047d [2024-10-04T07:57:36.916Z] ---> 4e660dc05350 [2024-10-04T07:57:36.916Z] Step 26/27 : LABEL git_sha=2342540ef65f1397ecb34c477184ee441b1d0a60 [2024-10-04T07:57:37.184Z] ---> Running in f724503454fd [2024-10-04T07:57:37.451Z] Removing intermediate container f724503454fd [2024-10-04T07:57:37.451Z] ---> 4cbd2c35632d [2024-10-04T07:57:37.451Z] Step 27/27 : LABEL version=0.0.0 [2024-10-04T07:57:37.451Z] ---> Running in cdd090abaf9b [2024-10-04T07:57:37.719Z] Removing intermediate container cdd090abaf9b [2024-10-04T07:57:37.719Z] ---> 5305319bdd48 [2024-10-04T07:57:37.719Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T07:57:37.719Z] Successfully built 5305319bdd48 [2024-10-04T07:57:38.021Z] 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-04T07:57:39.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T07:57:39.089Z] [2024-10-04T07:57:39.089Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:57:39.542Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T07:57:39.850Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T07:57:39.850Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T07:57:39.850Z] 04944245beec: Pulling fs layer [2024-10-04T07:57:39.850Z] 699f458cf7ca: Pulling fs layer [2024-10-04T07:57:39.850Z] 765212b225bb: Pulling fs layer [2024-10-04T07:57:39.850Z] f23df028b6ca: Pulling fs layer [2024-10-04T07:57:39.850Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T07:57:39.850Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T07:57:39.850Z] f23df028b6ca: Waiting [2024-10-04T07:57:39.850Z] 765212b225bb: Waiting [2024-10-04T07:57:39.850Z] d65c8cfc05b1: Waiting [2024-10-04T07:57:39.850Z] 2437ff75d9bd: Waiting [2024-10-04T07:57:39.850Z] 04944245beec: Verifying Checksum [2024-10-04T07:57:39.850Z] 04944245beec: Download complete [2024-10-04T07:57:39.850Z] 765212b225bb: Verifying Checksum [2024-10-04T07:57:39.850Z] 765212b225bb: Download complete [2024-10-04T07:57:39.850Z] f23df028b6ca: Download complete [2024-10-04T07:57:39.850Z] d65c8cfc05b1: Verifying Checksum [2024-10-04T07:57:39.850Z] d65c8cfc05b1: Download complete [2024-10-04T07:57:40.129Z] 699f458cf7ca: Verifying Checksum [2024-10-04T07:57:40.129Z] 699f458cf7ca: Download complete [2024-10-04T07:57:40.396Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T07:57:40.396Z] 8998bd30e6a1: Download complete [2024-10-04T07:57:42.978Z] 2437ff75d9bd: Verifying Checksum [2024-10-04T07:57:42.978Z] 2437ff75d9bd: Download complete [2024-10-04T07:57:45.566Z] 8998bd30e6a1: Pull complete [2024-10-04T07:57:45.838Z] 04944245beec: Pull complete [2024-10-04T07:57:47.829Z] 699f458cf7ca: Pull complete [2024-10-04T07:57:47.829Z] 765212b225bb: Pull complete [2024-10-04T07:57:48.409Z] f23df028b6ca: Pull complete [2024-10-04T07:57:48.673Z] d65c8cfc05b1: Pull complete [2024-10-04T07:58:06.868Z] 2437ff75d9bd: Pull complete [2024-10-04T07:58:06.868Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T07:58:06.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T07:58:06.868Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:58:07.270Z] prd-ubuntu20.04-docker-arm64-4c-16g-16365 does not seem to be running inside a container [2024-10-04T07:58:07.358Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-04T07:58:09.992Z] $ docker top 5ea9fdf3434820da0a5ed5a47b8a0555ee7bfa7f56b7f69569a3fa28ca1b82bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:58:10.593Z] ---> job-cost.sh [2024-10-04T07:58:10.861Z] lf-activate-venv: SKIPPING [2024-10-04T07:58:10.861Z] INFO: No Stack... [2024-10-04T07:58:11.126Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T07:58:12.078Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T07:58:12.431Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-10-04T07:58:12.431Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T07:58:12.788Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-461-1-stack-cost] [2024-10-04T07:58:12.799Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-461-1-stack-cost] did not exist. Created. [2024-10-04T07:58:12.806Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-461-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T07:58:13.567Z] /w/workspace/device-onvif-camera/1@tmp/durable-12b25723/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T07:58:14.235Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T07:58:14.294Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T07:58:14.346Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T07:58:14.367Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-461-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T07:58:14.462Z] $ docker stop --time=1 5ea9fdf3434820da0a5ed5a47b8a0555ee7bfa7f56b7f69569a3fa28ca1b82bb [2024-10-04T07:58:15.946Z] $ docker rm -f --volumes 5ea9fdf3434820da0a5ed5a47b8a0555ee7bfa7f56b7f69569a3fa28ca1b82bb [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-04T07:58:17.165Z] provisioning config files... [2024-10-04T07:58:17.173Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-461@tmp/config5039148270222659385tmp [Pipeline] { [Pipeline] sh [2024-10-04T07:58:17.534Z] + set +x [2024-10-04T07:58:17.534Z] + bash -s -- [2024-10-04T07:58:17.534Z] + curl -s https://codecov.io/bash [2024-10-04T07:58:17.534Z] [2024-10-04T07:58:17.534Z] _____ _ [2024-10-04T07:58:17.534Z] / ____| | | [2024-10-04T07:58:17.534Z] | | ___ __| | ___ ___ _____ __ [2024-10-04T07:58:17.534Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-04T07:58:17.534Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-04T07:58:17.534Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-04T07:58:17.534Z] Bash-1.0.6 [2024-10-04T07:58:17.534Z] [2024-10-04T07:58:17.534Z] [2024-10-04T07:58:17.534Z] ==> git version 2.25.1 found [2024-10-04T07:58:17.534Z] ==> 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-04T07:58:17.534Z] Release-Date: 2020-01-08 [2024-10-04T07:58:17.534Z] 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-04T07:58:17.534Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-04T07:58:17.534Z] ==> Jenkins CI detected. [2024-10-04T07:58:17.534Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-461 [2024-10-04T07:58:17.534Z] project root: . [2024-10-04T07:58:17.534Z] --> token set from env [2024-10-04T07:58:17.534Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-04T07:58:17.534Z] ==> Running gcov in . (disable via -X gcov) [2024-10-04T07:58:17.534Z] ==> Python coveragepy not found [2024-10-04T07:58:17.534Z] ==> Searching for coverage reports in: [2024-10-04T07:58:17.534Z] + . [2024-10-04T07:58:17.534Z] -> Found 1 reports [2024-10-04T07:58:17.534Z] ==> Detecting git/mercurial file structure [2024-10-04T07:58:17.534Z] ==> Reading reports [2024-10-04T07:58:17.534Z] + ./coverage.out bytes=92292 [2024-10-04T07:58:17.534Z] ==> Appending adjustments [2024-10-04T07:58:17.534Z] https://docs.codecov.io/docs/fixing-reports [2024-10-04T07:58:17.794Z] + Found adjustments [2024-10-04T07:58:17.794Z] ==> Gzipping contents [2024-10-04T07:58:17.794Z] 12K /tmp/codecov.OWEyaf.gz [2024-10-04T07:58:17.794Z] ==> Uploading reports [2024-10-04T07:58:17.794Z] url: https://codecov.io [2024-10-04T07:58:17.794Z] query: branch=PR-461&commit=2342540ef65f1397ecb34c477184ee441b1d0a60&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-461%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=461&job=&cmd_args= [2024-10-04T07:58:17.794Z] -> Pinging Codecov [2024-10-04T07:58:17.794Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-461&commit=2342540ef65f1397ecb34c477184ee441b1d0a60&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-461%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=461&job=&cmd_args= [2024-10-04T07:58:18.054Z] -> Uploading to [2024-10-04T07:58:18.054Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/2342540ef65f1397ecb34c477184ee441b1d0a60/de903f50-2de7-4c4a-a073-6e43d886d6fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T075817Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=f68133bb51670b37f5357acfad6807157ea6623767aced2c610d39bf2d280d8d [2024-10-04T07:58:18.054Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T07:58:18.054Z] Dload Upload Total Spent Left Speed [2024-10-04T07:58:18.317Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 52357 --:--:-- --:--:-- --:--:-- 52357 [2024-10-04T07:58:18.317Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/2342540ef65f1397ecb34c477184ee441b1d0a60 [Pipeline] } [2024-10-04T07:58:18.349Z] 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-04T07:58:20.930Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-461/archives ] [2024-10-04T07:58:20.930Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-461/archives [2024-10-04T07:58:20.930Z] total 16 [2024-10-04T07:58:20.930Z] drwxr-xr-x 3 root root 4096 Oct 4 07:21 . [2024-10-04T07:58:20.930Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 07:21 .. [2024-10-04T07:58:20.930Z] drwxr-xr-x 2 root root 4096 Oct 4 07:21 cost [2024-10-04T07:58:20.930Z] -rw-r--r-- 1 root root 91 Oct 4 07:21 cost.csv [2024-10-04T07:58:20.930Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-461/archives [2024-10-04T07:58:20.930Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-461/archives [2024-10-04T07:58:20.930Z] total 16 [2024-10-04T07:58:20.930Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 07:21 . [2024-10-04T07:58:20.930Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 07:21 .. [2024-10-04T07:58:20.930Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 07:21 cost [2024-10-04T07:58:20.930Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 4 07:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:58:21.433Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:58:22.342Z] ---> package-listing.sh [2024-10-04T07:58:22.342Z] ++ facter osfamily [2024-10-04T07:58:22.342Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T07:58:22.601Z] + OS_FAMILY=debian [2024-10-04T07:58:22.601Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-461 [2024-10-04T07:58:22.601Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T07:58:22.601Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T07:58:22.601Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T07:58:22.601Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T07:58:22.601Z] + '[' /w/workspace/undry_device-onvif-camera_PR-461 ']' [2024-10-04T07:58:22.601Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T07:58:22.601Z] + case "${OS_FAMILY}" in [2024-10-04T07:58:22.601Z] + dpkg -l [2024-10-04T07:58:22.601Z] + grep '^ii' [2024-10-04T07:58:22.601Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T07:58:22.601Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T07:58:22.601Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T07:58:22.601Z] + '[' /w/workspace/undry_device-onvif-camera_PR-461 ']' [2024-10-04T07:58:22.601Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-461/archives/ [2024-10-04T07:58:22.601Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-461/archives/ [Pipeline] echo [2024-10-04T07:58:22.644Z] 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-461/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-04T07:58:22.952Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:58:23.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T07:58:23.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:58:23.804Z] prd-ubuntu20.04-docker-8c-8g-15966 does not seem to be running inside a container [2024-10-04T07:58:23.845Z] $ 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-461/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-461 -v /w/workspace/undry_device-onvif-camera_PR-461:/w/workspace/undry_device-onvif-camera_PR-461:rw,z -v /w/workspace/undry_device-onvif-camera_PR-461@tmp:/w/workspace/undry_device-onvif-camera_PR-461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T07:58:24.108Z] $ docker top 20fc598c400cad11a1c0fd126b39cc3e33d9b2f750e80fddb40dadcf977b1c92 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T07:58:24.538Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T07:58:24.863Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T07:58:25.182Z] + ls /var/log/sa-host [2024-10-04T07:58:25.182Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T07:58:25.478Z] provisioning config files... [2024-10-04T07:58:25.486Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-461@tmp/config8777252265168037444tmp [Pipeline] { [Pipeline] echo [2024-10-04T07:58:25.554Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:58:25.887Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T07:58:25.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:58:26.335Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T07:58:26.375Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:58:26.705Z] ---> sudo-logs.sh [2024-10-04T07:58:26.705Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T07:58:26.812Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:58:27.143Z] ---> job-cost.sh [2024-10-04T07:58:27.143Z] lf-activate-venv: SKIPPING [2024-10-04T07:58:27.143Z] DEBUG: total: 0.2199999988079071 [2024-10-04T07:58:27.143Z] INFO: Retrieving Stack Cost... [2024-10-04T07:58:27.435Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T07:58:28.004Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T07:58:28.046Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:58:28.374Z] ---> logs-deploy.sh [2024-10-04T07:58:28.374Z] lf-activate-venv: SKIPPING [2024-10-04T07:58:28.374Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-461/1 [2024-10-04T07:58:28.374Z] INFO: archiving workspace using pattern(s): [2024-10-04T07:58:29.315Z] Archives upload complete. [2024-10-04T07:58:29.575Z] INFO: archiving logs to Nexus