Pull request #473 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 weichou1229 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from a356cdf2b671e94f6a2005cf0ea0ce8249b90035+10f464ab2b54ff8e32a589214b3c8e1fea4bea02 (dd8f64af104a2b4d26e5b6e4db74d3d1fb7918ce) 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-ssh17545643718802595615.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-ssh7663982969347270341.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-473/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-473/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3361927405461740015.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-473/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6846121348905395613.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-ssh14710201083071019499.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-473/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-473/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8349686495997961052.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-25900 in /w/workspace/undry_device-onvif-camera_PR-473 [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-473 # 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 Merging remotes/origin/main commit 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 into PR head commit a356cdf2b671e94f6a2005cf0ea0ce8249b90035 Merge succeeded, producing a356cdf2b671e94f6a2005cf0ea0ce8249b90035 Checking out Revision a356cdf2b671e94f6a2005cf0ea0ce8249b90035 (PR-473) > 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/473/head:refs/remotes/origin/PR-473 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a356cdf2b671e94f6a2005cf0ea0ce8249b90035 # 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 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a356cdf2b671e94f6a2005cf0ea0ce8249b90035 # timeout=10 Commit message: "fix: fix incorrect conversion between integer types" 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-11-08T08:35:27.662Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T08:35:27.882Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T08:35:28.005Z] ========================================================= [2024-11-08T08:35:28.005Z] EdgeX Global Pipelines Version Info [2024-11-08T08:35:28.005Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:35:28.779Z] ------------------- [2024-11-08T08:35:28.779Z] stable info: [2024-11-08T08:35:28.779Z] ------------------- [2024-11-08T08:35:28.779Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T08:35:28.779Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T08:35:28.779Z] Message: update stable to v1.0.265 [2024-11-08T08:35:29.351Z] ------------------- [2024-11-08T08:35:29.351Z] experimental info: [2024-11-08T08:35:29.351Z] ------------------- [2024-11-08T08:35:29.351Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T08:35:29.351Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T08:35:29.351Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T08:35:29.569Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-11-08T08:35:29.625Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-11-08T08:35:29.686Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T08:35:29.745Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T08:35:29.805Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T08:35:29.867Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-08T08:35:29.929Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-08T08:35:29.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-08T08:35:30.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-08T08:35:30.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T08:35:30.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T08:35:30.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-11-08T08:35:30.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T08:35:30.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T08:35:30.408Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T08:35:30.465Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T08:35:30.529Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T08:35:30.592Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T08:35:30.653Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T08:35:30.716Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T08:35:30.776Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-08T08:35:30.841Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-11-08T08:35:30.903Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-08T08:35:30.965Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-08T08:35:31.024Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-08T08:35:31.084Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T08:35:31.138Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-08T08:35:31.192Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-473 [Pipeline] echo [2024-11-08T08:35:31.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-473 [Pipeline] echo [2024-11-08T08:35:31.303Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-473 [Pipeline] echo [2024-11-08T08:35:31.372Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a356cdf2b671e94f6a2005cf0ea0ce8249b90035 [Pipeline] echo [2024-11-08T08:35:31.436Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a356cdf [Pipeline] echo [2024-11-08T08:35:31.498Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T08:35:31.651Z] provisioning config files... [2024-11-08T08:35:31.664Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-473@tmp/config2315993802290139836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:35:32.065Z] ---> ****-login.sh [2024-11-08T08:35:32.066Z] nexus3.edgexfoundry.org:10001 [2024-11-08T08:35:32.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:35:32.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:35:32.326Z] Configure a credential helper to remove this warning. See [2024-11-08T08:35:32.326Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:35:32.326Z] [2024-11-08T08:35:32.326Z] Login Succeeded [2024-11-08T08:35:32.326Z] nexus3.edgexfoundry.org:10002 [2024-11-08T08:35:32.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:35:32.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:35:32.589Z] Configure a credential helper to remove this warning. See [2024-11-08T08:35:32.590Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:35:32.590Z] [2024-11-08T08:35:32.590Z] Login Succeeded [2024-11-08T08:35:32.590Z] nexus3.edgexfoundry.org:10003 [2024-11-08T08:35:32.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:35:32.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:35:32.590Z] Configure a credential helper to remove this warning. See [2024-11-08T08:35:32.590Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:35:32.590Z] [2024-11-08T08:35:32.590Z] Login Succeeded [2024-11-08T08:35:32.590Z] nexus3.edgexfoundry.org:10004 [2024-11-08T08:35:32.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:35:32.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:35:32.851Z] Configure a credential helper to remove this warning. See [2024-11-08T08:35:32.851Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:35:32.851Z] [2024-11-08T08:35:32.851Z] Login Succeeded [2024-11-08T08:35:32.851Z] ****.io [2024-11-08T08:35:32.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:35:33.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:35:33.113Z] Configure a credential helper to remove this warning. See [2024-11-08T08:35:33.113Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:35:33.113Z] [2024-11-08T08:35:33.113Z] Login Succeeded [2024-11-08T08:35:33.113Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T08:35:33.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T08:35:33.831Z] + git rev-list -1 --merges a356cdf2b671e94f6a2005cf0ea0ce8249b90035~1..a356cdf2b671e94f6a2005cf0ea0ce8249b90035 [Pipeline] echo [2024-11-08T08:35:33.882Z] -----------> git rev-list -1 --merges a356cdf2b671e94f6a2005cf0ea0ce8249b90035~1..a356cdf2b671e94f6a2005cf0ea0ce8249b90035 a356cdf2b671e94f6a2005cf0ea0ce8249b90035 [false] [Pipeline] sh [2024-11-08T08:35:34.205Z] + git log --format=format:%s -1 a356cdf2b671e94f6a2005cf0ea0ce8249b90035 [Pipeline] echo [2024-11-08T08:35:34.247Z] ========================================================= [2024-11-08T08:35:34.247Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T08:35:34.247Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T08:35:34.720Z] + git log --format=format:%s -1 a356cdf2b671e94f6a2005cf0ea0ce8249b90035 [Pipeline] echo [2024-11-08T08:35:34.759Z] [semverPrep] GIT_COMMIT: a356cdf2b671e94f6a2005cf0ea0ce8249b90035, Commit Message: fix: fix incorrect conversion between integer types [Pipeline] echo [2024-11-08T08:35:34.805Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-08T08:35:35.230Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T08:35:35.230Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T08:35:35.230Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T08:35:35.230Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T08:35:35.231Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-08T08:35:35.231Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-08T08:35:35.231Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:35:35.753Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T08:35:35.753Z] [2024-11-08T08:35:35.753Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:35:36.157Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T08:35:36.157Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T08:35:36.157Z] b85a868b505f: Pulling fs layer [2024-11-08T08:35:36.157Z] e2be974225ed: Pulling fs layer [2024-11-08T08:35:36.157Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T08:35:36.157Z] 988bab9f4d93: Pulling fs layer [2024-11-08T08:35:36.157Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T08:35:36.157Z] eaf3925da568: Pulling fs layer [2024-11-08T08:35:36.157Z] bab4dde63d76: Pulling fs layer [2024-11-08T08:35:36.157Z] bde34c3a00c8: Pulling fs layer [2024-11-08T08:35:36.157Z] b352a97aabf1: Pulling fs layer [2024-11-08T08:35:36.157Z] 4872d77fe225: Pulling fs layer [2024-11-08T08:35:36.157Z] 5851b861e8e6: Pulling fs layer [2024-11-08T08:35:36.157Z] bab4dde63d76: Waiting [2024-11-08T08:35:36.157Z] b352a97aabf1: Waiting [2024-11-08T08:35:36.157Z] 4872d77fe225: Waiting [2024-11-08T08:35:36.157Z] 5851b861e8e6: Waiting [2024-11-08T08:35:36.157Z] 988bab9f4d93: Waiting [2024-11-08T08:35:36.157Z] eaf3925da568: Waiting [2024-11-08T08:35:36.157Z] 1469e6f7b9e6: Waiting [2024-11-08T08:35:36.157Z] e2be974225ed: Download complete [2024-11-08T08:35:36.157Z] 988bab9f4d93: Verifying Checksum [2024-11-08T08:35:36.157Z] 988bab9f4d93: Download complete [2024-11-08T08:35:36.157Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T08:35:36.157Z] 1469e6f7b9e6: Download complete [2024-11-08T08:35:36.157Z] eaf3925da568: Verifying Checksum [2024-11-08T08:35:36.157Z] eaf3925da568: Download complete [2024-11-08T08:35:36.418Z] 339a4e72a1f5: Verifying Checksum [2024-11-08T08:35:36.418Z] 339a4e72a1f5: Download complete [2024-11-08T08:35:36.418Z] bde34c3a00c8: Verifying Checksum [2024-11-08T08:35:36.418Z] bde34c3a00c8: Download complete [2024-11-08T08:35:36.418Z] b352a97aabf1: Verifying Checksum [2024-11-08T08:35:36.418Z] b352a97aabf1: Download complete [2024-11-08T08:35:36.418Z] 4872d77fe225: Download complete [2024-11-08T08:35:36.418Z] 5851b861e8e6: Verifying Checksum [2024-11-08T08:35:36.418Z] 5851b861e8e6: Download complete [2024-11-08T08:35:36.418Z] b85a868b505f: Verifying Checksum [2024-11-08T08:35:36.418Z] b85a868b505f: Download complete [2024-11-08T08:35:36.677Z] bab4dde63d76: Verifying Checksum [2024-11-08T08:35:36.677Z] bab4dde63d76: Download complete [2024-11-08T08:35:37.611Z] b85a868b505f: Pull complete [2024-11-08T08:35:37.611Z] e2be974225ed: Pull complete [2024-11-08T08:35:38.181Z] 339a4e72a1f5: Pull complete [2024-11-08T08:35:38.181Z] 988bab9f4d93: Pull complete [2024-11-08T08:35:38.440Z] 1469e6f7b9e6: Pull complete [2024-11-08T08:35:38.441Z] eaf3925da568: Pull complete [2024-11-08T08:35:40.345Z] bab4dde63d76: Pull complete [2024-11-08T08:35:40.345Z] bde34c3a00c8: Pull complete [2024-11-08T08:35:40.345Z] b352a97aabf1: Pull complete [2024-11-08T08:35:40.345Z] 4872d77fe225: Pull complete [2024-11-08T08:35:40.345Z] 5851b861e8e6: Pull complete [2024-11-08T08:35:40.345Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T08:35:40.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T08:35:40.345Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:35:40.641Z] prd-ubuntu20.04-docker-8c-8g-25900 does not seem to be running inside a container [2024-11-08T08:35:40.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-473 -v /w/workspace/undry_device-onvif-camera_PR-473:/w/workspace/undry_device-onvif-camera_PR-473:rw,z -v /w/workspace/undry_device-onvif-camera_PR-473@tmp:/w/workspace/undry_device-onvif-camera_PR-473@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-08T08:35:43.914Z] $ docker top b4bb0258466a8ec84b2cec476058d5fd7f15fdfa20abd06da77483509fb341b9 -eo pid,comm [2024-11-08T08:35:43.973Z] 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-11-08T08:35:43.973Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T08:35:44.141Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T08:35:44.141Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T08:35:44.241Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T08:35:44.240Z] $ docker exec b4bb0258466a8ec84b2cec476058d5fd7f15fdfa20abd06da77483509fb341b9 ssh-agent [2024-11-08T08:35:44.341Z] SSH_AUTH_SOCK=/tmp/ssh-MpvLXHFv1MoS/agent.32 [2024-11-08T08:35:44.341Z] SSH_AGENT_PID=38 [2024-11-08T08:35:44.347Z] Running ssh-add (command line suppressed) [2024-11-08T08:35:44.444Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-473@tmp/private_key_5148320522939871837.key (/w/workspace/undry_device-onvif-camera_PR-473@tmp/private_key_5148320522939871837.key) [2024-11-08T08:35:44.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T08:35:44.807Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T08:35:44.833Z] $ docker exec --env ******** --env ******** b4bb0258466a8ec84b2cec476058d5fd7f15fdfa20abd06da77483509fb341b9 ssh-agent -k [2024-11-08T08:35:44.931Z] unset SSH_AUTH_SOCK; [2024-11-08T08:35:44.932Z] unset SSH_AGENT_PID; [2024-11-08T08:35:44.932Z] echo Agent pid 38 killed; [2024-11-08T08:35:44.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T08:35:45.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T08:35:45.051Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T08:35:45.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T08:35:45.167Z] $ docker exec b4bb0258466a8ec84b2cec476058d5fd7f15fdfa20abd06da77483509fb341b9 ssh-agent [2024-11-08T08:35:45.270Z] SSH_AUTH_SOCK=/tmp/ssh-tbrDzKDmWdo7/agent.71 [2024-11-08T08:35:45.270Z] SSH_AGENT_PID=77 [2024-11-08T08:35:45.273Z] Running ssh-add (command line suppressed) [2024-11-08T08:35:45.371Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-473@tmp/private_key_18201883977814136338.key (/w/workspace/undry_device-onvif-camera_PR-473@tmp/private_key_18201883977814136338.key) [2024-11-08T08:35:45.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T08:35:45.731Z] + git semver init [2024-11-08T08:35:45.993Z] 2024-11-08 08:35:45,895 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T08:35:45.993Z] 2024-11-08 08:35:45,896 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-473/.semver [2024-11-08T08:35:45.993Z] 2024-11-08 08:35:45,896 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-473/.semver [2024-11-08T08:35:45.993Z] 2024-11-08 08:35:45,896 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-473/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-473, universal_newlines=False, shell=None, istream=None) [2024-11-08T08:35:47.377Z] 2024-11-08 08:35:47,117 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-473/.git/info/exclude [2024-11-08T08:35:47.377Z] 2024-11-08 08:35:47,118 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-473/.semver/PR-473 with force:False [2024-11-08T08:35:47.377Z] 2024-11-08 08:35:47,118 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-473/.semver/PR-473 [2024-11-08T08:35:47.377Z] 2024-11-08 08:35:47,122 [execute] INFO git cat-file --batch-check [2024-11-08T08:35:47.377Z] 2024-11-08 08:35:47,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-473/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T08:35:47.377Z] 2024-11-08 08:35:47,127 [execute] INFO git cat-file --batch [2024-11-08T08:35:47.377Z] 2024-11-08 08:35:47,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-473/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T08:35:47.377Z] 2024-11-08 08:35:47,131 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-473/.semver/PR-473 [2024-11-08T08:35:47.377Z] 0.0.0 [Pipeline] } [2024-11-08T08:35:47.403Z] $ docker exec --env ******** --env ******** b4bb0258466a8ec84b2cec476058d5fd7f15fdfa20abd06da77483509fb341b9 ssh-agent -k [2024-11-08T08:35:47.495Z] unset SSH_AUTH_SOCK; [2024-11-08T08:35:47.495Z] unset SSH_AGENT_PID; [2024-11-08T08:35:47.497Z] echo Agent pid 77 killed; [2024-11-08T08:35:47.510Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T08:35:47.982Z] + git semver [Pipeline] } [2024-11-08T08:35:48.269Z] $ docker stop --time=1 b4bb0258466a8ec84b2cec476058d5fd7f15fdfa20abd06da77483509fb341b9 [2024-11-08T08:35:49.540Z] $ docker rm -f --volumes b4bb0258466a8ec84b2cec476058d5fd7f15fdfa20abd06da77483509fb341b9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T08:35:49.965Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T08:35:50.269Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T08:35:50.294Z] [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-11-08T08:35:51.051Z] provisioning config files... [2024-11-08T08:35:51.060Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-473@tmp/config6259593301520831471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:35:51.437Z] ---> ****-login.sh [2024-11-08T08:35:51.437Z] nexus3.edgexfoundry.org:10001 [2024-11-08T08:35:51.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:35:51.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:35:51.437Z] Configure a credential helper to remove this warning. See [2024-11-08T08:35:51.437Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:35:51.437Z] [2024-11-08T08:35:51.437Z] Login Succeeded [2024-11-08T08:35:51.437Z] nexus3.edgexfoundry.org:10002 [2024-11-08T08:35:51.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:35:51.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:35:51.438Z] Configure a credential helper to remove this warning. See [2024-11-08T08:35:51.438Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:35:51.438Z] [2024-11-08T08:35:51.438Z] Login Succeeded [2024-11-08T08:35:51.438Z] nexus3.edgexfoundry.org:10003 [2024-11-08T08:35:51.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:35:51.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:35:51.697Z] Configure a credential helper to remove this warning. See [2024-11-08T08:35:51.697Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:35:51.697Z] [2024-11-08T08:35:51.697Z] Login Succeeded [2024-11-08T08:35:51.697Z] nexus3.edgexfoundry.org:10004 [2024-11-08T08:35:51.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:35:51.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:35:51.697Z] Configure a credential helper to remove this warning. See [2024-11-08T08:35:51.697Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:35:51.697Z] [2024-11-08T08:35:51.697Z] Login Succeeded [2024-11-08T08:35:51.697Z] ****.io [2024-11-08T08:35:51.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:35:51.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:35:51.957Z] Configure a credential helper to remove this warning. See [2024-11-08T08:35:51.957Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:35:51.957Z] [2024-11-08T08:35:51.957Z] Login Succeeded [2024-11-08T08:35:51.957Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T08:35:51.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T08:35:52.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T08:35:52.290Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T08:35:52.335Z] ========================================================= [2024-11-08T08:35:52.335Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-08T08:35:52.335Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:35:52.881Z] + 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-11-08T08:35:52.881Z] Sending build context to Docker daemon 36.81MB [2024-11-08T08:35:52.881Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T08:35:52.881Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-08T08:35:53.151Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-08T08:35:53.151Z] 43c4264eed91: Pulling fs layer [2024-11-08T08:35:53.151Z] 4cc291be95ef: Pulling fs layer [2024-11-08T08:35:53.151Z] 2ac1f1163629: Pulling fs layer [2024-11-08T08:35:53.151Z] 5c3c966382ef: Pulling fs layer [2024-11-08T08:35:53.151Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T08:35:53.151Z] 5d5c8e513c77: Pulling fs layer [2024-11-08T08:35:53.151Z] 9f66e0745190: Pulling fs layer [2024-11-08T08:35:53.151Z] f49a43e4bbc0: Pulling fs layer [2024-11-08T08:35:53.151Z] 561ebcabdf7f: Pulling fs layer [2024-11-08T08:35:53.151Z] 5c3c966382ef: Waiting [2024-11-08T08:35:53.151Z] 4f4fb700ef54: Waiting [2024-11-08T08:35:53.151Z] f49a43e4bbc0: Waiting [2024-11-08T08:35:53.151Z] 9f66e0745190: Waiting [2024-11-08T08:35:53.151Z] 561ebcabdf7f: Waiting [2024-11-08T08:35:53.151Z] 5d5c8e513c77: Waiting [2024-11-08T08:35:53.151Z] 4cc291be95ef: Verifying Checksum [2024-11-08T08:35:53.151Z] 4cc291be95ef: Download complete [2024-11-08T08:35:53.151Z] 5c3c966382ef: Verifying Checksum [2024-11-08T08:35:53.151Z] 5c3c966382ef: Download complete [2024-11-08T08:35:53.151Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T08:35:53.151Z] 4f4fb700ef54: Download complete [2024-11-08T08:35:53.151Z] 5d5c8e513c77: Verifying Checksum [2024-11-08T08:35:53.151Z] 5d5c8e513c77: Download complete [2024-11-08T08:35:53.151Z] 43c4264eed91: Verifying Checksum [2024-11-08T08:35:53.151Z] 43c4264eed91: Download complete [2024-11-08T08:35:53.151Z] 9f66e0745190: Verifying Checksum [2024-11-08T08:35:53.151Z] 9f66e0745190: Download complete [2024-11-08T08:35:53.412Z] 43c4264eed91: Pull complete [2024-11-08T08:35:53.412Z] 561ebcabdf7f: Verifying Checksum [2024-11-08T08:35:53.412Z] 561ebcabdf7f: Download complete [2024-11-08T08:35:53.412Z] 4cc291be95ef: Pull complete [2024-11-08T08:35:53.671Z] 2ac1f1163629: Verifying Checksum [2024-11-08T08:35:53.671Z] 2ac1f1163629: Download complete [2024-11-08T08:35:53.929Z] f49a43e4bbc0: Verifying Checksum [2024-11-08T08:35:53.929Z] f49a43e4bbc0: Download complete [2024-11-08T08:35:57.219Z] 2ac1f1163629: Pull complete [2024-11-08T08:35:57.219Z] 5c3c966382ef: Pull complete [2024-11-08T08:35:57.219Z] 4f4fb700ef54: Pull complete [2024-11-08T08:35:57.219Z] 5d5c8e513c77: Pull complete [2024-11-08T08:35:57.477Z] 9f66e0745190: Pull complete [2024-11-08T08:36:00.007Z] f49a43e4bbc0: Pull complete [2024-11-08T08:36:00.266Z] 561ebcabdf7f: Pull complete [2024-11-08T08:36:00.267Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-08T08:36:00.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-08T08:36:00.267Z] ---> 3a752c3f9dda [2024-11-08T08:36:00.267Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-08T08:36:05.569Z] ---> Running in 390c4b010249 [2024-11-08T08:36:05.569Z] Removing intermediate container 390c4b010249 [2024-11-08T08:36:05.569Z] ---> 30e05337b8fa [2024-11-08T08:36:05.569Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T08:36:05.569Z] ---> Running in 345c113564b2 [2024-11-08T08:36:05.569Z] Removing intermediate container 345c113564b2 [2024-11-08T08:36:05.569Z] ---> c5b8c8b6625e [2024-11-08T08:36:05.569Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-11-08T08:36:05.569Z] ---> Running in db57e3e3e690 [2024-11-08T08:36:05.569Z] Removing intermediate container db57e3e3e690 [2024-11-08T08:36:05.569Z] ---> d57a411daf2f [2024-11-08T08:36:05.569Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T08:36:05.570Z] ---> Running in e5b0e931c189 [2024-11-08T08:36:05.570Z] Removing intermediate container e5b0e931c189 [2024-11-08T08:36:05.570Z] ---> 4596e83d86be [2024-11-08T08:36:05.570Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-11-08T08:36:05.570Z] ---> Running in 8b06a04bb193 [2024-11-08T08:36:05.570Z] Removing intermediate container 8b06a04bb193 [2024-11-08T08:36:05.570Z] ---> 8ba4e2dd8919 [2024-11-08T08:36:05.570Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T08:36:05.570Z] ---> Running in 9154b2101b90 [2024-11-08T08:36:05.821Z] Still waiting to schedule task [2024-11-08T08:36:05.822Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-08T08:36:05.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T08:36:06.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T08:36:06.348Z] OK: 246 MiB in 54 packages [2024-11-08T08:36:06.607Z] Removing intermediate container 9154b2101b90 [2024-11-08T08:36:06.607Z] ---> 102923bd311f [2024-11-08T08:36:06.607Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-11-08T08:36:06.865Z] ---> Running in 07bd307ff687 [2024-11-08T08:36:06.865Z] Removing intermediate container 07bd307ff687 [2024-11-08T08:36:06.865Z] ---> e22198cbdea1 [2024-11-08T08:36:06.865Z] Step 10/13 : COPY go.mod vendor* ./ [2024-11-08T08:36:06.865Z] ---> 73fca28669bb [2024-11-08T08:36:06.865Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T08:36:06.865Z] ---> Running in 986b49da1934 [2024-11-08T08:37:03.468Z] Removing intermediate container 986b49da1934 [2024-11-08T08:37:03.468Z] ---> 36768f735888 [2024-11-08T08:37:03.468Z] Step 12/13 : COPY . . [2024-11-08T08:37:03.468Z] ---> a1512d766dcb [2024-11-08T08:37:03.468Z] Step 13/13 : RUN ${MAKE} [2024-11-08T08:37:03.468Z] ---> Running in 40c9fba47823 [2024-11-08T08:37:03.468Z] noop [2024-11-08T08:37:03.468Z] Removing intermediate container 40c9fba47823 [2024-11-08T08:37:03.468Z] ---> d142dc964188 [2024-11-08T08:37:03.468Z] Successfully built d142dc964188 [2024-11-08T08:37:03.468Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:37:03.971Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T08:37:03.972Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:37:04.152Z] prd-ubuntu20.04-docker-8c-8g-25900 does not seem to be running inside a container [2024-11-08T08:37:04.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-473 -v /w/workspace/undry_device-onvif-camera_PR-473:/w/workspace/undry_device-onvif-camera_PR-473:rw,z -v /w/workspace/undry_device-onvif-camera_PR-473@tmp:/w/workspace/undry_device-onvif-camera_PR-473@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 ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T08:37:04.542Z] $ docker top f958f4a078a99b46f62f022eac7ca767faf4db98fe6bc39d4bea0484a171217c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T08:37:04.956Z] + go version [2024-11-08T08:37:04.956Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-08T08:37:04.990Z] $ docker stop --time=1 f958f4a078a99b46f62f022eac7ca767faf4db98fe6bc39d4bea0484a171217c [2024-11-08T08:37:06.249Z] $ docker rm -f --volumes f958f4a078a99b46f62f022eac7ca767faf4db98fe6bc39d4bea0484a171217c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:37:07.032Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T08:37:07.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:37:07.196Z] prd-ubuntu20.04-docker-8c-8g-25900 does not seem to be running inside a container [2024-11-08T08:37:07.221Z] $ 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-473 -v /w/workspace/undry_device-onvif-camera_PR-473:/w/workspace/undry_device-onvif-camera_PR-473:rw,z -v /w/workspace/undry_device-onvif-camera_PR-473@tmp:/w/workspace/undry_device-onvif-camera_PR-473@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 ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T08:37:07.530Z] $ docker top 6a6d7e54f5e0b14a371375e82a08b1e5a35eff8c01971a99d33acea542d106cb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T08:37:07.947Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-473 [Pipeline] fileExists [Pipeline] sh [2024-11-08T08:37:08.331Z] + make test [2024-11-08T08:37:08.331Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T08:37:10.237Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-11-08T08:37:28.328Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-11-08T08:37:28.328Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-11-08T08:37:29.263Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.023s coverage: 31.4% of statements [2024-11-08T08:37:29.522Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.324s coverage: 86.5% of statements [2024-11-08T08:37:35.832Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25901 in /w/workspace/undry_device-onvif-camera_PR-473 [Pipeline] { [Pipeline] ws [2024-11-08T08:37:35.910Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-11-08T08:37:35.999Z] The recommended git tool is: git [2024-11-08T08:37:39.485Z] go vet ./... [2024-11-08T08:37:40.757Z] using credential edgex-jenkins-ssh [2024-11-08T08:37:40.787Z] Cloning the remote Git repository [2024-11-08T08:37:40.823Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-08T08:37:40.910Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-11-08T08:37:41.060Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-08T08:37:41.061Z] > git --version # timeout=10 [2024-11-08T08:37:41.081Z] > git --version # 'git version 2.25.1' [2024-11-08T08:37:41.083Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T08:37:41.224Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T08:37:44.753Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T08:37:44.753Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T08:37:44.753Z] ./bin/test-attribution-txt.sh [2024-11-08T08:37:43.705Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-11-08T08:37:43.729Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T08:37:44.507Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-11-08T08:37:44.544Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-08T08:37:44.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T08:37:44.567Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/473/head:refs/remotes/origin/PR-473 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] echo [2024-11-08T08:37:45.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T08:37:45.077Z] $ docker stop --time=1 6a6d7e54f5e0b14a371375e82a08b1e5a35eff8c01971a99d33acea542d106cb [2024-11-08T08:37:45.106Z] Merging remotes/origin/main commit 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 into PR head commit a356cdf2b671e94f6a2005cf0ea0ce8249b90035 [2024-11-08T08:37:45.464Z] Merge succeeded, producing a356cdf2b671e94f6a2005cf0ea0ce8249b90035 [2024-11-08T08:37:45.465Z] Checking out Revision a356cdf2b671e94f6a2005cf0ea0ce8249b90035 (PR-473) [2024-11-08T08:37:45.117Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T08:37:45.192Z] > git checkout -f a356cdf2b671e94f6a2005cf0ea0ce8249b90035 # timeout=10 [2024-11-08T08:37:45.363Z] > git remote # timeout=10 [2024-11-08T08:37:45.380Z] > git config --get remote.origin.url # timeout=10 [2024-11-08T08:37:45.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T08:37:45.413Z] > git merge 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 # timeout=10 [2024-11-08T08:37:45.442Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-08T08:37:45.465Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T08:37:45.481Z] > git checkout -f a356cdf2b671e94f6a2005cf0ea0ce8249b90035 # timeout=10 [2024-11-08T08:37:49.181Z] Commit message: "fix: fix incorrect conversion between integer types" [2024-11-08T08:37:49.237Z] > git --version # timeout=10 [2024-11-08T08:37:49.248Z] > git --version # 'git version 2.25.1' [2024-11-08T08:37:49.259Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T08:37:50.295Z] $ docker rm -f --volumes 6a6d7e54f5e0b14a371375e82a08b1e5a35eff8c01971a99d33acea542d106cb [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-11-08T08:37:50.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2024-11-08T08:37:51.227Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-11-08T08:37:51.442Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T08:37:51.443Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T08:37:51.443Z] Dload Upload Total Spent Left Speed [2024-11-08T08:37:51.443Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95731 0 --:--:-- --:--:-- --:--:-- 96451 [Pipeline] sh [Pipeline] sh [2024-11-08T08:37:51.794Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T08:37:52.063Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T08:37:52.185Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2024-11-08T08:37:52.186Z] [2024-11-08T08:37:52.186Z] { [2024-11-08T08:37:52.186Z] "registry-mirrors": [ [2024-11-08T08:37:52.186Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T08:37:52.186Z] ], [2024-11-08T08:37:52.186Z] "bip": "10.250.0.254/24", [2024-11-08T08:37:52.186Z] "hosts": [ [2024-11-08T08:37:52.186Z] "tcp://0.0.0.0:5555", [2024-11-08T08:37:52.186Z] "unix:///var/run/docker.sock" [2024-11-08T08:37:52.186Z] ], [2024-11-08T08:37:52.186Z] "mtu": 1458, [2024-11-08T08:37:52.186Z] "selinux-enabled": true, [2024-11-08T08:37:52.186Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T08:37:52.186Z] } [Pipeline] sh [2024-11-08T08:37:52.390Z] + ls -al . [2024-11-08T08:37:52.390Z] total 316 [2024-11-08T08:37:52.390Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 08:37 . [2024-11-08T08:37:52.390Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 08:35 .. [2024-11-08T08:37:52.390Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 08:37 .git [2024-11-08T08:37:52.390Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 08:35 .github [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 8 08:35 .gitignore [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 08:35 .golangci.yml [2024-11-08T08:37:52.390Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 08:35 .semver [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 19973 Nov 8 08:35 Attribution.txt [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 8 08:35 CHANGELOG.md [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 1715 Nov 8 08:35 Dockerfile [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 08:35 GOVERNANCE.md [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 8 08:35 Jenkinsfile [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 08:35 LICENSE [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 3465 Nov 8 08:35 Makefile [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 08:35 OWNERS.md [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 8 08:35 README.md [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 08:35 VERSION [2024-11-08T08:37:52.390Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 08:35 bin [2024-11-08T08:37:52.390Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 08:35 cmd [2024-11-08T08:37:52.390Z] -rw-r--r-- 1 jenkins jenkins 92292 Nov 8 08:37 coverage.out [2024-11-08T08:37:52.390Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 08:35 doc [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 6636 Nov 8 08:35 go.mod [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 88824 Nov 8 08:35 go.sum [2024-11-08T08:37:52.390Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 08:35 internal [2024-11-08T08:37:52.390Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 08:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:37:52.538Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T08:37:52.812Z] + 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=a356cdf2b671e94f6a2005cf0ea0ce8249b90035 --label arch=amd64 --label version=0.0.0 . [2024-11-08T08:37:52.812Z] Sending build context to Docker daemon 36.91MB [2024-11-08T08:37:52.812Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T08:37:52.812Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-08T08:37:52.812Z] ---> d142dc964188 [2024-11-08T08:37:52.812Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-11-08T08:37:52.945Z] + sudo service docker restart [2024-11-08T08:37:53.381Z] ---> Running in b8ed6955c707 [2024-11-08T08:37:53.381Z] Removing intermediate container b8ed6955c707 [2024-11-08T08:37:53.381Z] ---> bf91d931781b [2024-11-08T08:37:53.381Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T08:37:53.381Z] ---> Running in 73a3b2a7a2c2 [2024-11-08T08:37:53.640Z] Removing intermediate container 73a3b2a7a2c2 [2024-11-08T08:37:53.640Z] ---> c7452173287c [2024-11-08T08:37:53.640Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-08T08:37:53.640Z] ---> Running in 01c439ccc486 [2024-11-08T08:37:53.640Z] Removing intermediate container 01c439ccc486 [2024-11-08T08:37:53.640Z] ---> 8e9392c0b4df [2024-11-08T08:37:53.640Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T08:37:53.640Z] ---> Running in 4b1aa08d61b7 [2024-11-08T08:37:53.899Z] Removing intermediate container 4b1aa08d61b7 [2024-11-08T08:37:53.899Z] ---> 8a2aad33eaca [2024-11-08T08:37:53.899Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-11-08T08:37:53.899Z] ---> Running in 3bba71563b3e [2024-11-08T08:37:53.899Z] Removing intermediate container 3bba71563b3e [2024-11-08T08:37:53.899Z] ---> c32d7d9eabf5 [2024-11-08T08:37:53.899Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T08:37:53.899Z] ---> Running in 727d40acb331 [2024-11-08T08:37:54.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T08:37:54.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T08:37:55.804Z] OK: 246 MiB in 54 packages [2024-11-08T08:37:56.063Z] Removing intermediate container 727d40acb331 [2024-11-08T08:37:56.063Z] ---> e2d5f362fb15 [2024-11-08T08:37:56.063Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-11-08T08:37:56.063Z] ---> Running in 2f5b15d5ad1e [2024-11-08T08:37:56.063Z] Removing intermediate container 2f5b15d5ad1e [2024-11-08T08:37:56.063Z] ---> 4b97b7794f1c [2024-11-08T08:37:56.063Z] Step 10/27 : COPY go.mod vendor* ./ [2024-11-08T08:37:56.322Z] ---> 0c7cd314273d [2024-11-08T08:37:56.322Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T08:37:56.322Z] ---> Running in 837ec7832ab2 [2024-11-08T08:37:57.259Z] Removing intermediate container 837ec7832ab2 [2024-11-08T08:37:57.259Z] ---> f4c35b20d957 [2024-11-08T08:37:57.259Z] Step 12/27 : COPY . . [2024-11-08T08:37:58.194Z] ---> cb0ef6bd980f [2024-11-08T08:37:58.194Z] Step 13/27 : RUN ${MAKE} [2024-11-08T08:37:58.194Z] ---> Running in 7137dc592050 [2024-11-08T08:37:58.194Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T08:38:11.312Z] provisioning config files... [2024-11-08T08:38:11.344Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config10866190953801805042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:38:11.823Z] ---> ****-login.sh [2024-11-08T08:38:11.823Z] nexus3.edgexfoundry.org:10001 [2024-11-08T08:38:12.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:38:12.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:38:12.414Z] Configure a credential helper to remove this warning. See [2024-11-08T08:38:12.415Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:38:12.415Z] [2024-11-08T08:38:12.415Z] Login Succeeded [2024-11-08T08:38:12.415Z] nexus3.edgexfoundry.org:10002 [2024-11-08T08:38:12.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:38:12.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:38:12.689Z] Configure a credential helper to remove this warning. See [2024-11-08T08:38:12.689Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:38:12.689Z] [2024-11-08T08:38:12.689Z] Login Succeeded [2024-11-08T08:38:12.689Z] nexus3.edgexfoundry.org:10003 [2024-11-08T08:38:12.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:38:13.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:38:13.238Z] Configure a credential helper to remove this warning. See [2024-11-08T08:38:13.238Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:38:13.238Z] [2024-11-08T08:38:13.238Z] Login Succeeded [2024-11-08T08:38:13.238Z] nexus3.edgexfoundry.org:10004 [2024-11-08T08:38:13.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:38:13.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:38:13.509Z] Configure a credential helper to remove this warning. See [2024-11-08T08:38:13.509Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:38:13.509Z] [2024-11-08T08:38:13.509Z] Login Succeeded [2024-11-08T08:38:13.509Z] ****.io [2024-11-08T08:38:13.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:38:14.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:38:14.051Z] Configure a credential helper to remove this warning. See [2024-11-08T08:38:14.051Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:38:14.051Z] [2024-11-08T08:38:14.051Z] Login Succeeded [2024-11-08T08:38:14.051Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T08:38:14.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T08:38:14.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T08:38:14.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T08:38:14.828Z] ========================================================= [2024-11-08T08:38:14.828Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-08T08:38:14.828Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:38:15.392Z] + 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-11-08T08:38:15.978Z] Sending build context to Docker daemon 21.82MB [2024-11-08T08:38:15.978Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T08:38:15.978Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-08T08:38:15.978Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-08T08:38:15.978Z] cf04c63912e1: Pulling fs layer [2024-11-08T08:38:15.978Z] 55b35a11ae5e: Pulling fs layer [2024-11-08T08:38:15.978Z] a37a00ec5f00: Pulling fs layer [2024-11-08T08:38:15.978Z] 50b3750afda1: Pulling fs layer [2024-11-08T08:38:15.978Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T08:38:15.978Z] 80978eb59214: Pulling fs layer [2024-11-08T08:38:15.978Z] c9f46d7d2bd2: Pulling fs layer [2024-11-08T08:38:15.978Z] c5a475d317c9: Pulling fs layer [2024-11-08T08:38:15.978Z] 80978eb59214: Waiting [2024-11-08T08:38:15.978Z] c9f46d7d2bd2: Waiting [2024-11-08T08:38:15.978Z] c5a475d317c9: Waiting [2024-11-08T08:38:15.978Z] 50b3750afda1: Waiting [2024-11-08T08:38:15.978Z] 4f4fb700ef54: Waiting [2024-11-08T08:38:15.978Z] 55b35a11ae5e: Verifying Checksum [2024-11-08T08:38:15.978Z] 55b35a11ae5e: Download complete [2024-11-08T08:38:16.252Z] 50b3750afda1: Verifying Checksum [2024-11-08T08:38:16.252Z] 50b3750afda1: Download complete [2024-11-08T08:38:16.252Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T08:38:16.252Z] 4f4fb700ef54: Download complete [2024-11-08T08:38:16.252Z] 80978eb59214: Download complete [2024-11-08T08:38:16.252Z] cf04c63912e1: Verifying Checksum [2024-11-08T08:38:16.252Z] cf04c63912e1: Download complete [2024-11-08T08:38:16.847Z] c5a475d317c9: Verifying Checksum [2024-11-08T08:38:16.847Z] c5a475d317c9: Download complete [2024-11-08T08:38:17.434Z] cf04c63912e1: Pull complete [2024-11-08T08:38:18.021Z] 55b35a11ae5e: Pull complete [2024-11-08T08:38:18.289Z] a37a00ec5f00: Verifying Checksum [2024-11-08T08:38:18.289Z] a37a00ec5f00: Download complete [2024-11-08T08:38:18.873Z] c9f46d7d2bd2: Verifying Checksum [2024-11-08T08:38:18.873Z] c9f46d7d2bd2: Download complete [2024-11-08T08:38:30.287Z] Removing intermediate container 7137dc592050 [2024-11-08T08:38:30.287Z] ---> 096ca532b1c1 [2024-11-08T08:38:30.287Z] Step 14/27 : FROM alpine:3.20 [2024-11-08T08:38:30.287Z] 3.20: Pulling from library/alpine [2024-11-08T08:38:30.288Z] 43c4264eed91: Already exists [2024-11-08T08:38:30.548Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T08:38:30.548Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T08:38:30.548Z] ---> 91ef0af61f39 [2024-11-08T08:38:30.548Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-08T08:38:30.548Z] ---> Running in ad1e8f7a11c7 [2024-11-08T08:38:30.548Z] Removing intermediate container ad1e8f7a11c7 [2024-11-08T08:38:30.548Z] ---> 37689918a1de [2024-11-08T08:38:30.548Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-11-08T08:38:30.548Z] ---> Running in 5e080294725e [2024-11-08T08:38:30.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T08:38:30.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T08:38:31.067Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T08:38:31.067Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T08:38:31.067Z] OK: 8 MiB in 15 packages [2024-11-08T08:38:31.204Z] a37a00ec5f00: Pull complete [2024-11-08T08:38:31.204Z] 50b3750afda1: Pull complete [2024-11-08T08:38:31.204Z] 4f4fb700ef54: Pull complete [2024-11-08T08:38:31.204Z] 80978eb59214: Pull complete [2024-11-08T08:38:31.326Z] Removing intermediate container 5e080294725e [2024-11-08T08:38:31.326Z] ---> 24c7454f322c [2024-11-08T08:38:31.326Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-08T08:38:31.585Z] ---> Running in ca744e169113 [2024-11-08T08:38:31.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T08:38:31.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T08:38:32.103Z] Upgrading critical system libraries and apk-tools: [2024-11-08T08:38:32.103Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T08:38:32.103Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T08:38:32.103Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T08:38:32.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T08:38:32.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T08:38:32.362Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T08:38:32.362Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T08:38:32.362Z] OK: 8 MiB in 15 packages [2024-11-08T08:38:32.930Z] Removing intermediate container ca744e169113 [2024-11-08T08:38:32.930Z] ---> ef8e236fa723 [2024-11-08T08:38:32.930Z] Step 18/27 : WORKDIR / [2024-11-08T08:38:32.930Z] ---> Running in 903b85808753 [2024-11-08T08:38:33.187Z] Removing intermediate container 903b85808753 [2024-11-08T08:38:33.187Z] ---> b93a49a92482 [2024-11-08T08:38:33.187Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-11-08T08:38:34.147Z] ---> a1ee06397f26 [2024-11-08T08:38:34.147Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-11-08T08:38:34.405Z] ---> c153ce4dd656 [2024-11-08T08:38:34.405Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-11-08T08:38:34.405Z] ---> 4ad301fd1b1b [2024-11-08T08:38:34.405Z] Step 22/27 : EXPOSE 59984 [2024-11-08T08:38:34.405Z] ---> Running in d9cb06c2677a [2024-11-08T08:38:34.665Z] Removing intermediate container d9cb06c2677a [2024-11-08T08:38:34.665Z] ---> f343e69d1c92 [2024-11-08T08:38:34.665Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-11-08T08:38:34.665Z] ---> Running in 70742f327e79 [2024-11-08T08:38:34.665Z] Removing intermediate container 70742f327e79 [2024-11-08T08:38:34.665Z] ---> ae344dea10db [2024-11-08T08:38:34.665Z] Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T08:38:34.665Z] ---> Running in 3264829acdaa [2024-11-08T08:38:34.665Z] Removing intermediate container 3264829acdaa [2024-11-08T08:38:34.665Z] ---> 6e7f2d14e14b [2024-11-08T08:38:34.665Z] Step 25/27 : LABEL arch=amd64 [2024-11-08T08:38:34.665Z] ---> Running in 4edcf529ed49 [2024-11-08T08:38:34.924Z] Removing intermediate container 4edcf529ed49 [2024-11-08T08:38:34.924Z] ---> 8e0797664326 [2024-11-08T08:38:34.924Z] Step 26/27 : LABEL git_sha=a356cdf2b671e94f6a2005cf0ea0ce8249b90035 [2024-11-08T08:38:34.924Z] ---> Running in 391c3f5b57a1 [2024-11-08T08:38:34.924Z] Removing intermediate container 391c3f5b57a1 [2024-11-08T08:38:34.924Z] ---> 6ca51a339d2c [2024-11-08T08:38:34.924Z] Step 27/27 : LABEL version=0.0.0 [2024-11-08T08:38:34.924Z] ---> Running in 4e048f10c6ab [2024-11-08T08:38:34.924Z] Removing intermediate container 4e048f10c6ab [2024-11-08T08:38:34.924Z] ---> 20d3bd25f20d [2024-11-08T08:38:34.924Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T08:38:34.924Z] Successfully built 20d3bd25f20d [2024-11-08T08:38:34.924Z] 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-11-08T08:38:35.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T08:38:35.963Z] [2024-11-08T08:38:35.963Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:38:36.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T08:38:36.382Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T08:38:36.382Z] 5eb5b503b376: Pulling fs layer [2024-11-08T08:38:36.382Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T08:38:36.382Z] ec43610c2a17: Pulling fs layer [2024-11-08T08:38:36.382Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T08:38:36.382Z] 33b1e0a273af: Pulling fs layer [2024-11-08T08:38:36.382Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T08:38:36.382Z] 2f39f015ded8: Pulling fs layer [2024-11-08T08:38:36.382Z] 3a2ae6a8a46f: Waiting [2024-11-08T08:38:36.382Z] 33b1e0a273af: Waiting [2024-11-08T08:38:36.382Z] 5d3b04190fa2: Waiting [2024-11-08T08:38:36.382Z] 2f39f015ded8: Waiting [2024-11-08T08:38:36.382Z] 5c69ac0246d0: Verifying Checksum [2024-11-08T08:38:36.382Z] 5c69ac0246d0: Download complete [2024-11-08T08:38:36.382Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-08T08:38:36.382Z] 3a2ae6a8a46f: Download complete [2024-11-08T08:38:36.382Z] 33b1e0a273af: Verifying Checksum [2024-11-08T08:38:36.382Z] 33b1e0a273af: Download complete [2024-11-08T08:38:36.382Z] 5d3b04190fa2: Verifying Checksum [2024-11-08T08:38:36.382Z] 5d3b04190fa2: Download complete [2024-11-08T08:38:36.382Z] ec43610c2a17: Verifying Checksum [2024-11-08T08:38:36.382Z] ec43610c2a17: Download complete [2024-11-08T08:38:36.641Z] 5eb5b503b376: Verifying Checksum [2024-11-08T08:38:36.641Z] 5eb5b503b376: Download complete [2024-11-08T08:38:37.207Z] 2f39f015ded8: Download complete [2024-11-08T08:38:37.773Z] 5eb5b503b376: Pull complete [2024-11-08T08:38:37.773Z] 5c69ac0246d0: Pull complete [2024-11-08T08:38:38.338Z] ec43610c2a17: Pull complete [2024-11-08T08:38:38.338Z] 3a2ae6a8a46f: Pull complete [2024-11-08T08:38:38.596Z] 33b1e0a273af: Pull complete [2024-11-08T08:38:38.596Z] 5d3b04190fa2: Pull complete [2024-11-08T08:38:39.429Z] c9f46d7d2bd2: Pull complete [2024-11-08T08:38:40.408Z] c5a475d317c9: Pull complete [2024-11-08T08:38:40.408Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-08T08:38:40.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-08T08:38:40.408Z] ---> be29e6b0f0d4 [2024-11-08T08:38:40.408Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-08T08:38:42.358Z] ---> Running in 52b267c97f0d [2024-11-08T08:38:42.626Z] Removing intermediate container 52b267c97f0d [2024-11-08T08:38:42.626Z] ---> 58427efc4ab0 [2024-11-08T08:38:42.626Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T08:38:42.626Z] ---> Running in 6ccc3ed35f76 [2024-11-08T08:38:42.778Z] 2f39f015ded8: Pull complete [2024-11-08T08:38:42.778Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T08:38:42.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T08:38:42.778Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [2024-11-08T08:38:42.892Z] Removing intermediate container 6ccc3ed35f76 [2024-11-08T08:38:42.892Z] ---> b4097e5b712b [2024-11-08T08:38:42.892Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-11-08T08:38:42.892Z] ---> Running in 772d0108e409 [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:38:43.052Z] prd-ubuntu20.04-docker-8c-8g-25900 does not seem to be running inside a container [2024-11-08T08:38:43.080Z] $ 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-473 -v /w/workspace/undry_device-onvif-camera_PR-473:/w/workspace/undry_device-onvif-camera_PR-473:rw,z -v /w/workspace/undry_device-onvif-camera_PR-473@tmp:/w/workspace/undry_device-onvif-camera_PR-473@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T08:38:43.156Z] Removing intermediate container 772d0108e409 [2024-11-08T08:38:43.156Z] ---> 2adf9d371c38 [2024-11-08T08:38:43.156Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T08:38:43.425Z] ---> Running in 5e4b833e114f [2024-11-08T08:38:43.692Z] Removing intermediate container 5e4b833e114f [2024-11-08T08:38:43.692Z] ---> c8b0d7a25e80 [2024-11-08T08:38:43.692Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-11-08T08:38:43.692Z] ---> Running in 92507ea1acb6 [2024-11-08T08:38:43.963Z] Removing intermediate container 92507ea1acb6 [2024-11-08T08:38:43.963Z] ---> d569b91fc416 [2024-11-08T08:38:43.963Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T08:38:43.963Z] ---> Running in d6bd60a575bf [2024-11-08T08:38:44.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T08:38:45.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T08:38:46.456Z] OK: 238 MiB in 54 packages [2024-11-08T08:38:46.617Z] $ docker top 032bafcbeebe667d711fd02178f51d18ef449ae303f3ba9d0c08444e2f948af1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:38:47.242Z] ---> job-cost.sh [2024-11-08T08:38:47.242Z] lf-activate-venv: SKIPPING [2024-11-08T08:38:47.242Z] INFO: No Stack... [2024-11-08T08:38:47.422Z] Removing intermediate container d6bd60a575bf [2024-11-08T08:38:47.422Z] ---> ebf725f90223 [2024-11-08T08:38:47.422Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-11-08T08:38:47.422Z] ---> Running in 288228b41202 [2024-11-08T08:38:47.500Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T08:38:47.701Z] Removing intermediate container 288228b41202 [2024-11-08T08:38:47.701Z] ---> 12b60bcde070 [2024-11-08T08:38:47.701Z] Step 10/13 : COPY go.mod vendor* ./ [2024-11-08T08:38:47.761Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T08:38:48.085Z] + cat /w/workspace/undry_device-onvif-camera_PR-473/archives/cost.csv [2024-11-08T08:38:48.085Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T08:38:48.136Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-473-1-stack-cost] [2024-11-08T08:38:48.146Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-473-1-stack-cost] did not exist. Created. [2024-11-08T08:38:48.155Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-473-1-stack-cost] [Pipeline] { [Pipeline] unstash [2024-11-08T08:38:48.285Z] ---> ba0bfed4c16c [2024-11-08T08:38:48.285Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T08:38:48.285Z] ---> Running in 57ea8c903cdf [Pipeline] sh [2024-11-08T08:38:48.579Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T08:38:48.638Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T08:38:48.675Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-473-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T08:38:48.769Z] $ docker stop --time=1 032bafcbeebe667d711fd02178f51d18ef449ae303f3ba9d0c08444e2f948af1 [2024-11-08T08:38:49.926Z] $ docker rm -f --volumes 032bafcbeebe667d711fd02178f51d18ef449ae303f3ba9d0c08444e2f948af1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-08T08:40:39.976Z] Removing intermediate container 57ea8c903cdf [2024-11-08T08:40:39.976Z] ---> bcc01c5fdc71 [2024-11-08T08:40:39.976Z] Step 12/13 : COPY . . [2024-11-08T08:40:39.976Z] ---> a527258324bf [2024-11-08T08:40:39.976Z] Step 13/13 : RUN ${MAKE} [2024-11-08T08:40:39.976Z] ---> Running in e2b612d047ae [2024-11-08T08:40:39.976Z] noop [2024-11-08T08:40:39.976Z] Removing intermediate container e2b612d047ae [2024-11-08T08:40:39.976Z] ---> 23ff51edff2c [2024-11-08T08:40:39.976Z] Successfully built 23ff51edff2c [2024-11-08T08:40:39.976Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:40:40.497Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T08:40:40.497Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:40:40.804Z] prd-ubuntu20.04-docker-arm64-4c-16g-25901 does not seem to be running inside a container [2024-11-08T08:40:40.856Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-11-08T08:40:42.030Z] $ docker top a15b19b6124ff03c43b3af57404c136874bfb955d546962137421a13643631fa -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T08:40:42.948Z] + go version [2024-11-08T08:40:42.948Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-08T08:40:42.976Z] $ docker stop --time=1 a15b19b6124ff03c43b3af57404c136874bfb955d546962137421a13643631fa [2024-11-08T08:40:44.600Z] $ docker rm -f --volumes a15b19b6124ff03c43b3af57404c136874bfb955d546962137421a13643631fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:40:45.543Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T08:40:45.543Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:40:45.822Z] prd-ubuntu20.04-docker-arm64-4c-16g-25901 does not seem to be running inside a container [2024-11-08T08:40:45.872Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-11-08T08:40:47.096Z] $ docker top a9bec4a7740fbf10b3e4d1032439e9c75d9bad695c37094a675789e539f21988 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T08:40:48.016Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-11-08T08:40:48.428Z] + make test [2024-11-08T08:40:48.697Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T08:40:54.046Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-11-08T08:44:16.091Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-11-08T08:44:16.091Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-11-08T08:44:17.525Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.199s coverage: 31.4% of statements [2024-11-08T08:44:32.582Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 17.227s coverage: 86.5% of statements [2024-11-08T08:44:34.000Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-08T08:44:34.000Z] go vet ./... [2024-11-08T08:45:30.459Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T08:45:30.459Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T08:45:30.459Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T08:45:30.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T08:45:30.550Z] $ docker stop --time=1 a9bec4a7740fbf10b3e4d1032439e9c75d9bad695c37094a675789e539f21988 [2024-11-08T08:45:32.559Z] $ docker rm -f --volumes a9bec4a7740fbf10b3e4d1032439e9c75d9bad695c37094a675789e539f21988 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T08:45:34.296Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T08:45:34.343Z] Warning: overwriting stash ‘coverage-report’ [2024-11-08T08:45:34.915Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T08:45:35.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T08:45:35.920Z] + ls -al . [2024-11-08T08:45:35.921Z] total 312 [2024-11-08T08:45:35.921Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 08:40 . [2024-11-08T08:45:35.921Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 08:37 .. [2024-11-08T08:45:35.921Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 08:37 .git [2024-11-08T08:45:35.921Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 08:37 .github [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 8 08:37 .gitignore [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 08:37 .golangci.yml [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 19973 Nov 8 08:37 Attribution.txt [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 8 08:37 CHANGELOG.md [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 1715 Nov 8 08:37 Dockerfile [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 08:37 GOVERNANCE.md [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 8 08:37 Jenkinsfile [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 08:37 LICENSE [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 3465 Nov 8 08:37 Makefile [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 08:37 OWNERS.md [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 8 08:37 README.md [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 08:35 VERSION [2024-11-08T08:45:35.921Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 08:37 bin [2024-11-08T08:45:35.921Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 08:37 cmd [2024-11-08T08:45:35.921Z] -rw-r--r-- 1 jenkins jenkins 92292 Nov 8 08:44 coverage.out [2024-11-08T08:45:35.921Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 08:37 doc [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 6636 Nov 8 08:37 go.mod [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 88824 Nov 8 08:37 go.sum [2024-11-08T08:45:35.921Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 08:37 internal [2024-11-08T08:45:35.921Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 08:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:45:36.384Z] + 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=a356cdf2b671e94f6a2005cf0ea0ce8249b90035 --label arch=arm64 --label version=0.0.0 . [2024-11-08T08:45:36.975Z] Sending build context to Docker daemon 21.91MB [2024-11-08T08:45:36.975Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T08:45:36.975Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-08T08:45:36.975Z] ---> 23ff51edff2c [2024-11-08T08:45:36.975Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-11-08T08:45:37.244Z] ---> Running in f0fb0f6920a0 [2024-11-08T08:45:37.512Z] Removing intermediate container f0fb0f6920a0 [2024-11-08T08:45:37.512Z] ---> 59bcc61fef41 [2024-11-08T08:45:37.512Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T08:45:37.512Z] ---> Running in a9475a97be50 [2024-11-08T08:45:37.780Z] Removing intermediate container a9475a97be50 [2024-11-08T08:45:37.780Z] ---> 8f768b6ddf3d [2024-11-08T08:45:37.780Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-08T08:45:38.050Z] ---> Running in e8e9aeeff483 [2024-11-08T08:45:38.318Z] Removing intermediate container e8e9aeeff483 [2024-11-08T08:45:38.318Z] ---> 46fecc77572f [2024-11-08T08:45:38.318Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T08:45:38.318Z] ---> Running in 9531b7b28f54 [2024-11-08T08:45:38.587Z] Removing intermediate container 9531b7b28f54 [2024-11-08T08:45:38.587Z] ---> e3164e064769 [2024-11-08T08:45:38.587Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-11-08T08:45:38.856Z] ---> Running in 52d24b90e060 [2024-11-08T08:45:39.126Z] Removing intermediate container 52d24b90e060 [2024-11-08T08:45:39.126Z] ---> 89f09b0e92bd [2024-11-08T08:45:39.126Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T08:45:39.126Z] ---> Running in d19da2de832f [2024-11-08T08:45:40.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T08:45:40.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T08:45:42.499Z] OK: 238 MiB in 54 packages [2024-11-08T08:45:43.084Z] Removing intermediate container d19da2de832f [2024-11-08T08:45:43.084Z] ---> 74e5bc77ac23 [2024-11-08T08:45:43.084Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-11-08T08:45:43.353Z] ---> Running in e5ff782c67fb [2024-11-08T08:45:43.620Z] Removing intermediate container e5ff782c67fb [2024-11-08T08:45:43.620Z] ---> 457614ed149a [2024-11-08T08:45:43.620Z] Step 10/27 : COPY go.mod vendor* ./ [2024-11-08T08:45:44.206Z] ---> 83d096421887 [2024-11-08T08:45:44.206Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T08:45:44.206Z] ---> Running in e11b8dd3cec8 [2024-11-08T08:45:46.796Z] Removing intermediate container e11b8dd3cec8 [2024-11-08T08:45:46.796Z] ---> f41d08754b40 [2024-11-08T08:45:46.796Z] Step 12/27 : COPY . . [2024-11-08T08:45:48.750Z] ---> 57e3048e5e66 [2024-11-08T08:45:48.750Z] Step 13/27 : RUN ${MAKE} [2024-11-08T08:45:48.750Z] ---> Running in 02876e91ce20 [2024-11-08T08:45:49.723Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-11-08T08:49:26.523Z] Removing intermediate container 02876e91ce20 [2024-11-08T08:49:26.523Z] ---> 5a1379490117 [2024-11-08T08:49:26.523Z] Step 14/27 : FROM alpine:3.20 [2024-11-08T08:49:26.523Z] 3.20: Pulling from library/alpine [2024-11-08T08:49:26.523Z] cf04c63912e1: Already exists [2024-11-08T08:49:26.523Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T08:49:26.523Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T08:49:26.523Z] ---> c157a85ed455 [2024-11-08T08:49:26.524Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-08T08:49:26.524Z] ---> Running in a19d9b04a9f0 [2024-11-08T08:49:26.524Z] Removing intermediate container a19d9b04a9f0 [2024-11-08T08:49:26.524Z] ---> c32485cc2784 [2024-11-08T08:49:26.524Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-11-08T08:49:26.524Z] ---> Running in 3a64b920a24b [2024-11-08T08:49:26.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T08:49:26.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T08:49:26.524Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T08:49:26.524Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T08:49:26.524Z] OK: 9 MiB in 15 packages [2024-11-08T08:49:26.524Z] Removing intermediate container 3a64b920a24b [2024-11-08T08:49:26.524Z] ---> bba5b28b0d7a [2024-11-08T08:49:26.524Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-08T08:49:26.524Z] ---> Running in b3ad3c5dc607 [2024-11-08T08:49:26.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T08:49:26.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T08:49:27.106Z] Upgrading critical system libraries and apk-tools: [2024-11-08T08:49:27.106Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T08:49:27.106Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T08:49:27.376Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T08:49:27.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T08:49:27.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T08:49:29.049Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T08:49:29.049Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T08:49:29.049Z] OK: 9 MiB in 15 packages [2024-11-08T08:49:30.464Z] Removing intermediate container b3ad3c5dc607 [2024-11-08T08:49:30.464Z] ---> 96b48a51f73b [2024-11-08T08:49:30.464Z] Step 18/27 : WORKDIR / [2024-11-08T08:49:30.464Z] ---> Running in 12cfa5489fde [2024-11-08T08:49:30.731Z] Removing intermediate container 12cfa5489fde [2024-11-08T08:49:30.731Z] ---> 56a90e251d75 [2024-11-08T08:49:30.731Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-11-08T08:49:32.675Z] ---> 9b9b82667eae [2024-11-08T08:49:32.675Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-11-08T08:49:32.946Z] ---> 2754bb94aea3 [2024-11-08T08:49:32.946Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-11-08T08:49:33.531Z] ---> 1d8b8e43430d [2024-11-08T08:49:33.531Z] Step 22/27 : EXPOSE 59984 [2024-11-08T08:49:33.531Z] ---> Running in b471a18661e9 [2024-11-08T08:49:33.801Z] Removing intermediate container b471a18661e9 [2024-11-08T08:49:33.801Z] ---> c477ee603c9b [2024-11-08T08:49:33.801Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-11-08T08:49:33.801Z] ---> Running in 61c82deeb83c [2024-11-08T08:49:34.385Z] Removing intermediate container 61c82deeb83c [2024-11-08T08:49:34.385Z] ---> 690690326236 [2024-11-08T08:49:34.385Z] Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T08:49:34.385Z] ---> Running in 49c4e3a5794c [2024-11-08T08:49:34.656Z] Removing intermediate container 49c4e3a5794c [2024-11-08T08:49:34.656Z] ---> 7d6be9aaaf33 [2024-11-08T08:49:34.656Z] Step 25/27 : LABEL arch=arm64 [2024-11-08T08:49:34.656Z] ---> Running in 229cf006d209 [2024-11-08T08:49:34.923Z] Removing intermediate container 229cf006d209 [2024-11-08T08:49:34.924Z] ---> 7602bd2bdef2 [2024-11-08T08:49:34.924Z] Step 26/27 : LABEL git_sha=a356cdf2b671e94f6a2005cf0ea0ce8249b90035 [2024-11-08T08:49:34.924Z] ---> Running in c6c40880f09b [2024-11-08T08:49:35.192Z] Removing intermediate container c6c40880f09b [2024-11-08T08:49:35.192Z] ---> d15ea2775dae [2024-11-08T08:49:35.192Z] Step 27/27 : LABEL version=0.0.0 [2024-11-08T08:49:35.459Z] ---> Running in 7fb1bd76489e [2024-11-08T08:49:35.727Z] Removing intermediate container 7fb1bd76489e [2024-11-08T08:49:35.727Z] ---> 7eb10a711f9e [2024-11-08T08:49:35.727Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T08:49:35.727Z] Successfully built 7eb10a711f9e [2024-11-08T08:49:35.727Z] 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-11-08T08:49:36.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T08:49:36.665Z] [2024-11-08T08:49:36.665Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:49:37.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T08:49:37.409Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T08:49:37.409Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T08:49:37.409Z] 04944245beec: Pulling fs layer [2024-11-08T08:49:37.409Z] 699f458cf7ca: Pulling fs layer [2024-11-08T08:49:37.409Z] 765212b225bb: Pulling fs layer [2024-11-08T08:49:37.409Z] f23df028b6ca: Pulling fs layer [2024-11-08T08:49:37.409Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T08:49:37.409Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T08:49:37.409Z] f23df028b6ca: Waiting [2024-11-08T08:49:37.409Z] 2437ff75d9bd: Waiting [2024-11-08T08:49:37.409Z] d65c8cfc05b1: Waiting [2024-11-08T08:49:37.409Z] 765212b225bb: Waiting [2024-11-08T08:49:37.409Z] 04944245beec: Verifying Checksum [2024-11-08T08:49:37.409Z] 04944245beec: Download complete [2024-11-08T08:49:37.409Z] 765212b225bb: Verifying Checksum [2024-11-08T08:49:37.409Z] 765212b225bb: Download complete [2024-11-08T08:49:37.409Z] f23df028b6ca: Download complete [2024-11-08T08:49:37.409Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T08:49:37.409Z] d65c8cfc05b1: Download complete [2024-11-08T08:49:37.678Z] 699f458cf7ca: Verifying Checksum [2024-11-08T08:49:37.678Z] 699f458cf7ca: Download complete [2024-11-08T08:49:37.947Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T08:49:37.947Z] 8998bd30e6a1: Download complete [2024-11-08T08:49:40.557Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T08:49:40.557Z] 2437ff75d9bd: Download complete [2024-11-08T08:49:42.505Z] 8998bd30e6a1: Pull complete [2024-11-08T08:49:42.784Z] 04944245beec: Pull complete [2024-11-08T08:49:44.737Z] 699f458cf7ca: Pull complete [2024-11-08T08:49:44.738Z] 765212b225bb: Pull complete [2024-11-08T08:49:45.699Z] f23df028b6ca: Pull complete [2024-11-08T08:49:45.699Z] d65c8cfc05b1: Pull complete [2024-11-08T08:50:03.915Z] 2437ff75d9bd: Pull complete [2024-11-08T08:50:03.915Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T08:50:03.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T08:50:03.915Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:50:04.289Z] prd-ubuntu20.04-docker-arm64-4c-16g-25901 does not seem to be running inside a container [2024-11-08T08:50:04.342Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-08T08:50:07.083Z] $ docker top bd6f2048a3ee9963922363eaa70a5cf22ae1046fdc92012290c419969cc314c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:50:08.030Z] ---> job-cost.sh [2024-11-08T08:50:08.030Z] lf-activate-venv: SKIPPING [2024-11-08T08:50:08.030Z] INFO: No Stack... [2024-11-08T08:50:08.296Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T08:50:09.251Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T08:50:09.921Z] + + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-11-08T08:50:09.921Z] cut -d, -f6 [Pipeline] lock [2024-11-08T08:50:10.012Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-473-1-stack-cost] [2024-11-08T08:50:10.018Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-473-1-stack-cost] did not exist. Created. [2024-11-08T08:50:10.024Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-473-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T08:50:10.792Z] /w/workspace/device-onvif-camera/1@tmp/durable-f9900c07/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T08:50:11.464Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T08:50:11.511Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T08:50:11.565Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T08:50:11.590Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-473-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T08:50:11.671Z] $ docker stop --time=1 bd6f2048a3ee9963922363eaa70a5cf22ae1046fdc92012290c419969cc314c0 [2024-11-08T08:50:13.218Z] $ docker rm -f --volumes bd6f2048a3ee9963922363eaa70a5cf22ae1046fdc92012290c419969cc314c0 [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-11-08T08:50:14.428Z] provisioning config files... [2024-11-08T08:50:14.435Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-473@tmp/config13918940569723409732tmp [Pipeline] { [Pipeline] sh [2024-11-08T08:50:14.798Z] + set +x [2024-11-08T08:50:14.798Z] + curl -s https://codecov.io/bash+ [2024-11-08T08:50:14.798Z] bash -s -- [2024-11-08T08:50:14.798Z] [2024-11-08T08:50:14.798Z] _____ _ [2024-11-08T08:50:14.798Z] / ____| | | [2024-11-08T08:50:14.798Z] | | ___ __| | ___ ___ _____ __ [2024-11-08T08:50:14.798Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-08T08:50:14.799Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-08T08:50:14.799Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-08T08:50:14.799Z] Bash-1.0.6 [2024-11-08T08:50:14.799Z] [2024-11-08T08:50:14.799Z] [2024-11-08T08:50:14.799Z] ==> git version 2.25.1 found [2024-11-08T08:50:14.799Z] ==> 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-11-08T08:50:14.799Z] Release-Date: 2020-01-08 [2024-11-08T08:50:14.799Z] 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-11-08T08:50:14.799Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-08T08:50:14.799Z] ==> Jenkins CI detected. [2024-11-08T08:50:14.799Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-473 [2024-11-08T08:50:14.799Z] project root: . [2024-11-08T08:50:14.799Z] --> token set from env [2024-11-08T08:50:14.799Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-08T08:50:14.799Z] ==> Running gcov in . (disable via -X gcov) [2024-11-08T08:50:14.799Z] ==> Python coveragepy not found [2024-11-08T08:50:14.799Z] ==> Searching for coverage reports in: [2024-11-08T08:50:14.799Z] + . [2024-11-08T08:50:14.799Z] -> Found 1 reports [2024-11-08T08:50:14.799Z] ==> Detecting git/mercurial file structure [2024-11-08T08:50:15.059Z] ==> Reading reports [2024-11-08T08:50:15.059Z] + ./coverage.out bytes=92292 [2024-11-08T08:50:15.059Z] ==> Appending adjustments [2024-11-08T08:50:15.059Z] https://docs.codecov.io/docs/fixing-reports [2024-11-08T08:50:15.059Z] + Found adjustments [2024-11-08T08:50:15.059Z] ==> Gzipping contents [2024-11-08T08:50:15.059Z] 12K /tmp/codecov.fKXoCA.gz [2024-11-08T08:50:15.059Z] ==> Uploading reports [2024-11-08T08:50:15.059Z] url: https://codecov.io [2024-11-08T08:50:15.059Z] query: branch=PR-473&commit=a356cdf2b671e94f6a2005cf0ea0ce8249b90035&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-473%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=473&job=&cmd_args= [2024-11-08T08:50:15.059Z] -> Pinging Codecov [2024-11-08T08:50:15.059Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-473&commit=a356cdf2b671e94f6a2005cf0ea0ce8249b90035&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-473%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=473&job=&cmd_args= [2024-11-08T08:50:15.319Z] -> Uploading to [2024-11-08T08:50:15.319Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/a356cdf2b671e94f6a2005cf0ea0ce8249b90035/f44eadb3-38c0-4619-8a17-d4aa4055a862.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T085015Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=43002eb4eb8fb2ee56f0a915f93d11382c6c2b04283650c3fa5eb7ba1d6a0fa7 [2024-11-08T08:50:15.319Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T08:50:15.319Z] Dload Upload Total Spent Left Speed [2024-11-08T08:50:15.578Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 48364 --:--:-- --:--:-- --:--:-- 48364 [2024-11-08T08:50:15.578Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/a356cdf2b671e94f6a2005cf0ea0ce8249b90035 [Pipeline] } [2024-11-08T08:50:15.612Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-08T08:50:17.848Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-473/archives ] [2024-11-08T08:50:17.848Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-473/archives [2024-11-08T08:50:17.848Z] total 16 [2024-11-08T08:50:17.848Z] drwxr-xr-x 3 root root 4096 Nov 8 08:38 . [2024-11-08T08:50:17.848Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 08:38 .. [2024-11-08T08:50:17.848Z] drwxr-xr-x 2 root root 4096 Nov 8 08:38 cost [2024-11-08T08:50:17.848Z] -rw-r--r-- 1 root root 91 Nov 8 08:38 cost.csv [2024-11-08T08:50:17.848Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-473/archives [2024-11-08T08:50:17.848Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-473/archives [2024-11-08T08:50:17.848Z] total 16 [2024-11-08T08:50:17.848Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 08:38 . [2024-11-08T08:50:17.848Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 08:38 .. [2024-11-08T08:50:17.848Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 08:38 cost [2024-11-08T08:50:17.848Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 8 08:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:50:18.185Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:50:19.095Z] ---> package-listing.sh [2024-11-08T08:50:19.095Z] ++ facter osfamily [2024-11-08T08:50:19.095Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T08:50:19.355Z] + OS_FAMILY=debian [2024-11-08T08:50:19.355Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-473 [2024-11-08T08:50:19.355Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T08:50:19.355Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T08:50:19.355Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T08:50:19.355Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T08:50:19.355Z] + '[' /w/workspace/undry_device-onvif-camera_PR-473 ']' [2024-11-08T08:50:19.355Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T08:50:19.355Z] + case "${OS_FAMILY}" in [2024-11-08T08:50:19.355Z] + dpkg -l [2024-11-08T08:50:19.355Z] + grep '^ii' [2024-11-08T08:50:19.355Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T08:50:19.355Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T08:50:19.355Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T08:50:19.355Z] + '[' /w/workspace/undry_device-onvif-camera_PR-473 ']' [2024-11-08T08:50:19.355Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-473/archives/ [2024-11-08T08:50:19.355Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-473/archives/ [Pipeline] echo [2024-11-08T08:50:19.397Z] 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-473/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-08T08:50:19.699Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:50:20.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T08:50:20.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:50:20.533Z] prd-ubuntu20.04-docker-8c-8g-25900 does not seem to be running inside a container [2024-11-08T08:50:20.544Z] $ 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-473/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-473 -v /w/workspace/undry_device-onvif-camera_PR-473:/w/workspace/undry_device-onvif-camera_PR-473:rw,z -v /w/workspace/undry_device-onvif-camera_PR-473@tmp:/w/workspace/undry_device-onvif-camera_PR-473@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-11-08T08:50:20.726Z] $ docker top 835d510f05d9c363ec4d107894324e18ebbe362e2ec928006c19a3ae6797eac9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T08:50:21.153Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T08:50:21.469Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T08:50:21.785Z] + ls /var/log/sa-host [2024-11-08T08:50:21.785Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T08:50:22.023Z] provisioning config files... [2024-11-08T08:50:22.032Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-473@tmp/config13621161633331976548tmp [Pipeline] { [Pipeline] echo [2024-11-08T08:50:22.098Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:50:22.420Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T08:50:22.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:50:22.881Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T08:50:22.923Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:50:23.375Z] ---> sudo-logs.sh [2024-11-08T08:50:23.375Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T08:50:23.484Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:50:23.859Z] ---> job-cost.sh [2024-11-08T08:50:23.859Z] lf-activate-venv: SKIPPING [2024-11-08T08:50:23.859Z] DEBUG: total: 0.2199999988079071 [2024-11-08T08:50:23.859Z] INFO: Retrieving Stack Cost... [2024-11-08T08:50:24.132Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T08:50:24.701Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T08:50:24.744Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:50:25.077Z] ---> logs-deploy.sh [2024-11-08T08:50:25.077Z] lf-activate-venv: SKIPPING [2024-11-08T08:50:25.077Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-473/1 [2024-11-08T08:50:25.077Z] INFO: archiving workspace using pattern(s): [2024-11-08T08:50:26.018Z] Archives upload complete. [2024-11-08T08:50:26.018Z] INFO: archiving logs to Nexus