Pull request #413 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72+1a885dea823655429c4e0c6a767a18e3aa90292d (ffc7e1e91faf783c33403ff9b91e3c505f3912d6) 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-ssh9805539521381989493.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh6133495692341699737.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-413/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-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14548414920259322202.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-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13824216368841317464.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh15832915556405883210.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-413/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-413/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17920243231548607758.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-809 in /w/workspace/undry_device-onvif-camera_PR-413 [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-413 # 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 1a885dea823655429c4e0c6a767a18e3aa90292d into PR head commit 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 Merge succeeded, producing 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 Checking out Revision 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 (PR-413) > 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/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 # 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 1a885dea823655429c4e0c6a767a18e3aa90292d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 # timeout=10 Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 1.0.0 to 1.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-22T03:06:29.926Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-22T03:06:30.134Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-22T03:06:30.251Z] ========================================================= [2023-11-22T03:06:30.251Z] EdgeX Global Pipelines Version Info [2023-11-22T03:06:30.251Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-22T03:06:31.373Z] ------------------- [2023-11-22T03:06:31.373Z] stable info: [2023-11-22T03:06:31.373Z] ------------------- [2023-11-22T03:06:31.373Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-22T03:06:31.373Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-22T03:06:31.373Z] Message: update stable to v1.0.258 [2023-11-22T03:06:31.635Z] ------------------- [2023-11-22T03:06:31.635Z] experimental info: [2023-11-22T03:06:31.635Z] ------------------- [2023-11-22T03:06:31.635Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-22T03:06:31.635Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-22T03:06:31.635Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-22T03:06:31.843Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-11-22T03:06:31.895Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-11-22T03:06:31.945Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-22T03:06:31.996Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-22T03:06:32.053Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-22T03:06:32.106Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-22T03:06:32.165Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-22T03:06:32.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-22T03:06:32.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-22T03:06:32.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-22T03:06:32.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-22T03:06:32.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-11-22T03:06:32.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-22T03:06:32.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-22T03:06:32.672Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-22T03:06:32.737Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-22T03:06:32.805Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-22T03:06:32.875Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-22T03:06:32.941Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-22T03:06:33.006Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-22T03:06:33.073Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-22T03:06:33.135Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-11-22T03:06:33.194Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-22T03:06:33.262Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-22T03:06:33.331Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-22T03:06:33.400Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-22T03:06:33.477Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-22T03:06:33.549Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-413 [Pipeline] echo [2023-11-22T03:06:33.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-413 [Pipeline] echo [2023-11-22T03:06:33.693Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-413 [Pipeline] echo [2023-11-22T03:06:33.776Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 [Pipeline] echo [2023-11-22T03:06:33.852Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8fd7a55 [Pipeline] echo [2023-11-22T03:06:33.927Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-22T03:06:34.085Z] provisioning config files... [2023-11-22T03:06:34.098Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-413@tmp/config9418221806750665615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-22T03:06:34.505Z] ---> ****-login.sh [2023-11-22T03:06:34.505Z] nexus3.edgexfoundry.org:10001 [2023-11-22T03:06:34.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:06:35.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:06:35.047Z] Configure a credential helper to remove this warning. See [2023-11-22T03:06:35.047Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:06:35.047Z] [2023-11-22T03:06:35.047Z] Login Succeeded [2023-11-22T03:06:35.047Z] nexus3.edgexfoundry.org:10002 [2023-11-22T03:06:35.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:06:35.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:06:35.309Z] Configure a credential helper to remove this warning. See [2023-11-22T03:06:35.309Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:06:35.309Z] [2023-11-22T03:06:35.309Z] Login Succeeded [2023-11-22T03:06:35.309Z] nexus3.edgexfoundry.org:10003 [2023-11-22T03:06:35.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:06:35.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:06:35.309Z] Configure a credential helper to remove this warning. See [2023-11-22T03:06:35.309Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:06:35.309Z] [2023-11-22T03:06:35.309Z] Login Succeeded [2023-11-22T03:06:35.309Z] nexus3.edgexfoundry.org:10004 [2023-11-22T03:06:35.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:06:35.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:06:35.571Z] Configure a credential helper to remove this warning. See [2023-11-22T03:06:35.571Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:06:35.571Z] [2023-11-22T03:06:35.571Z] Login Succeeded [2023-11-22T03:06:35.571Z] ****.io [2023-11-22T03:06:35.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:06:35.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:06:35.832Z] Configure a credential helper to remove this warning. See [2023-11-22T03:06:35.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:06:35.832Z] [2023-11-22T03:06:35.832Z] Login Succeeded [2023-11-22T03:06:35.832Z] ---> ****-login.sh ends [Pipeline] } [2023-11-22T03:06:35.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-22T03:06:36.656Z] + git rev-list -1 --merges 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72~1..8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 [Pipeline] echo [2023-11-22T03:06:36.697Z] -----------> git rev-list -1 --merges 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72~1..8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 [false] [Pipeline] sh [2023-11-22T03:06:37.028Z] + git log --format=format:%s -1 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 [Pipeline] echo [2023-11-22T03:06:37.063Z] ========================================================= [2023-11-22T03:06:37.063Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-22T03:06:37.063Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-22T03:06:37.624Z] + git log --format=format:%s -1 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 [Pipeline] echo [2023-11-22T03:06:37.655Z] [semverPrep] GIT_COMMIT: 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72, Commit Message: build(deps): Bump github.com/IOTechSystems/onvif from 1.0.0 to 1.1.1 [Pipeline] echo [2023-11-22T03:06:37.704Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-22T03:06:38.135Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-22T03:06:38.136Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-22T03:06:38.136Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-22T03:06:38.136Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-22T03:06:38.136Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-22T03:06:38.136Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-22T03:06:38.136Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:06:38.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-22T03:06:38.692Z] [2023-11-22T03:06:38.692Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:06:39.174Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-22T03:06:39.433Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-22T03:06:39.433Z] b85a868b505f: Pulling fs layer [2023-11-22T03:06:39.433Z] e2be974225ed: Pulling fs layer [2023-11-22T03:06:39.433Z] 339a4e72a1f5: Pulling fs layer [2023-11-22T03:06:39.433Z] 988bab9f4d93: Pulling fs layer [2023-11-22T03:06:39.433Z] 1469e6f7b9e6: Pulling fs layer [2023-11-22T03:06:39.433Z] eaf3925da568: Pulling fs layer [2023-11-22T03:06:39.433Z] bab4dde63d76: Pulling fs layer [2023-11-22T03:06:39.433Z] bde34c3a00c8: Pulling fs layer [2023-11-22T03:06:39.433Z] b352a97aabf1: Pulling fs layer [2023-11-22T03:06:39.433Z] 4872d77fe225: Pulling fs layer [2023-11-22T03:06:39.433Z] 5851b861e8e6: Pulling fs layer [2023-11-22T03:06:39.433Z] 1469e6f7b9e6: Waiting [2023-11-22T03:06:39.433Z] 988bab9f4d93: Waiting [2023-11-22T03:06:39.433Z] 5851b861e8e6: Waiting [2023-11-22T03:06:39.433Z] 4872d77fe225: Waiting [2023-11-22T03:06:39.433Z] bab4dde63d76: Waiting [2023-11-22T03:06:39.433Z] b352a97aabf1: Waiting [2023-11-22T03:06:39.433Z] bde34c3a00c8: Waiting [2023-11-22T03:06:39.433Z] e2be974225ed: Verifying Checksum [2023-11-22T03:06:39.433Z] e2be974225ed: Download complete [2023-11-22T03:06:39.433Z] 988bab9f4d93: Verifying Checksum [2023-11-22T03:06:39.433Z] 988bab9f4d93: Download complete [2023-11-22T03:06:39.433Z] 1469e6f7b9e6: Verifying Checksum [2023-11-22T03:06:39.433Z] 1469e6f7b9e6: Download complete [2023-11-22T03:06:39.433Z] eaf3925da568: Download complete [2023-11-22T03:06:39.433Z] 339a4e72a1f5: Verifying Checksum [2023-11-22T03:06:39.433Z] 339a4e72a1f5: Download complete [2023-11-22T03:06:39.433Z] bde34c3a00c8: Verifying Checksum [2023-11-22T03:06:39.433Z] bde34c3a00c8: Download complete [2023-11-22T03:06:39.433Z] b352a97aabf1: Download complete [2023-11-22T03:06:39.433Z] 4872d77fe225: Download complete [2023-11-22T03:06:39.693Z] 5851b861e8e6: Verifying Checksum [2023-11-22T03:06:39.693Z] 5851b861e8e6: Download complete [2023-11-22T03:06:39.693Z] b85a868b505f: Verifying Checksum [2023-11-22T03:06:39.693Z] b85a868b505f: Download complete [2023-11-22T03:06:39.952Z] bab4dde63d76: Verifying Checksum [2023-11-22T03:06:39.952Z] bab4dde63d76: Download complete [2023-11-22T03:06:40.889Z] b85a868b505f: Pull complete [2023-11-22T03:06:41.149Z] e2be974225ed: Pull complete [2023-11-22T03:06:41.718Z] 339a4e72a1f5: Pull complete [2023-11-22T03:06:41.718Z] 988bab9f4d93: Pull complete [2023-11-22T03:06:42.287Z] 1469e6f7b9e6: Pull complete [2023-11-22T03:06:42.287Z] eaf3925da568: Pull complete [2023-11-22T03:06:44.196Z] bab4dde63d76: Pull complete [2023-11-22T03:06:44.196Z] bde34c3a00c8: Pull complete [2023-11-22T03:06:44.196Z] b352a97aabf1: Pull complete [2023-11-22T03:06:44.457Z] 4872d77fe225: Pull complete [2023-11-22T03:06:44.457Z] 5851b861e8e6: Pull complete [2023-11-22T03:06:44.457Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-22T03:06:44.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-22T03:06:44.457Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-22T03:06:44.812Z] prd-ubuntu20.04-docker-8c-8g-809 does not seem to be running inside a container [2023-11-22T03:06:44.845Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-413 -v /w/workspace/undry_device-onvif-camera_PR-413:/w/workspace/undry_device-onvif-camera_PR-413:rw,z -v /w/workspace/undry_device-onvif-camera_PR-413@tmp:/w/workspace/undry_device-onvif-camera_PR-413@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-22T03:06:49.237Z] $ docker top c7ecc9a098aaac17eca8c8633c082f600a5e4119bf17008b8e19c21abac781bb -eo pid,comm [2023-11-22T03:06:49.293Z] 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). [2023-11-22T03:06:49.293Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-22T03:06:49.493Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-22T03:06:49.494Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-22T03:06:49.615Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-22T03:06:49.618Z] $ docker exec c7ecc9a098aaac17eca8c8633c082f600a5e4119bf17008b8e19c21abac781bb ssh-agent [2023-11-22T03:06:49.733Z] SSH_AUTH_SOCK=/tmp/ssh-fNoUSsIkTim5/agent.33 [2023-11-22T03:06:49.733Z] SSH_AGENT_PID=40 [2023-11-22T03:06:49.741Z] Running ssh-add (command line suppressed) [2023-11-22T03:06:49.848Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-413@tmp/private_key_16408289730535984779.key (/w/workspace/undry_device-onvif-camera_PR-413@tmp/private_key_16408289730535984779.key) [2023-11-22T03:06:49.865Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-22T03:06:50.224Z] + git tag --points-at HEAD [Pipeline] } [2023-11-22T03:06:50.250Z] $ docker exec --env ******** --env ******** c7ecc9a098aaac17eca8c8633c082f600a5e4119bf17008b8e19c21abac781bb ssh-agent -k [2023-11-22T03:06:50.347Z] unset SSH_AUTH_SOCK; [2023-11-22T03:06:50.348Z] unset SSH_AGENT_PID; [2023-11-22T03:06:50.348Z] echo Agent pid 40 killed; [2023-11-22T03:06:50.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-22T03:06:50.510Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-22T03:06:50.510Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-22T03:06:50.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-22T03:06:50.631Z] $ docker exec c7ecc9a098aaac17eca8c8633c082f600a5e4119bf17008b8e19c21abac781bb ssh-agent [2023-11-22T03:06:50.746Z] SSH_AUTH_SOCK=/tmp/ssh-XY5r62iDNTcz/agent.72 [2023-11-22T03:06:50.746Z] SSH_AGENT_PID=78 [2023-11-22T03:06:50.752Z] Running ssh-add (command line suppressed) [2023-11-22T03:06:50.849Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-413@tmp/private_key_11828975717825673973.key (/w/workspace/undry_device-onvif-camera_PR-413@tmp/private_key_11828975717825673973.key) [2023-11-22T03:06:50.866Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-22T03:06:51.223Z] + git semver init [2023-11-22T03:06:51.484Z] 2023-11-22 03:06:51,433 [run_init] DEBUG init version:0.0.0 force:False [2023-11-22T03:06:51.484Z] 2023-11-22 03:06:51,435 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-413/.semver [2023-11-22T03:06:51.484Z] 2023-11-22 03:06:51,436 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-413/.semver [2023-11-22T03:06:51.484Z] 2023-11-22 03:06:51,436 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-413/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-413, universal_newlines=False, shell=None, istream=None) [2023-11-22T03:06:53.396Z] 2023-11-22 03:06:53,098 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-413/.git/info/exclude [2023-11-22T03:06:53.396Z] 2023-11-22 03:06:53,099 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-413/.semver/PR-413 with force:False [2023-11-22T03:06:53.396Z] 2023-11-22 03:06:53,099 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-413/.semver/PR-413 [2023-11-22T03:06:53.396Z] 2023-11-22 03:06:53,103 [execute] INFO git cat-file --batch-check [2023-11-22T03:06:53.396Z] 2023-11-22 03:06:53,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-413/.semver, universal_newlines=False, shell=None, istream=) [2023-11-22T03:06:53.396Z] 2023-11-22 03:06:53,110 [execute] INFO git cat-file --batch [2023-11-22T03:06:53.396Z] 2023-11-22 03:06:53,110 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-413/.semver, universal_newlines=False, shell=None, istream=) [2023-11-22T03:06:53.396Z] 2023-11-22 03:06:53,116 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-413/.semver/PR-413 [2023-11-22T03:06:53.396Z] 0.0.0 [Pipeline] } [2023-11-22T03:06:53.423Z] $ docker exec --env ******** --env ******** c7ecc9a098aaac17eca8c8633c082f600a5e4119bf17008b8e19c21abac781bb ssh-agent -k [2023-11-22T03:06:53.526Z] unset SSH_AUTH_SOCK; [2023-11-22T03:06:53.527Z] unset SSH_AGENT_PID; [2023-11-22T03:06:53.527Z] echo Agent pid 78 killed; [2023-11-22T03:06:53.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-22T03:06:54.070Z] + git semver [Pipeline] } [2023-11-22T03:06:54.359Z] $ docker stop --time=1 c7ecc9a098aaac17eca8c8633c082f600a5e4119bf17008b8e19c21abac781bb [2023-11-22T03:06:55.633Z] $ docker rm -f --volumes c7ecc9a098aaac17eca8c8633c082f600a5e4119bf17008b8e19c21abac781bb [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-22T03:06:56.091Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-22T03:06:56.437Z] Stashed 1 file(s) [Pipeline] echo [2023-11-22T03:06:56.454Z] [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 [2023-11-22T03:06:57.356Z] provisioning config files... [2023-11-22T03:06:57.366Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-413@tmp/config10777499541714708082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-22T03:06:57.780Z] ---> ****-login.sh [2023-11-22T03:06:57.780Z] nexus3.edgexfoundry.org:10001 [2023-11-22T03:06:57.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:06:57.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:06:57.780Z] Configure a credential helper to remove this warning. See [2023-11-22T03:06:57.781Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:06:57.781Z] [2023-11-22T03:06:57.781Z] Login Succeeded [2023-11-22T03:06:57.781Z] nexus3.edgexfoundry.org:10002 [2023-11-22T03:06:57.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:06:57.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:06:57.781Z] Configure a credential helper to remove this warning. See [2023-11-22T03:06:57.781Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:06:57.781Z] [2023-11-22T03:06:57.781Z] Login Succeeded [2023-11-22T03:06:57.781Z] nexus3.edgexfoundry.org:10003 [2023-11-22T03:06:58.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:06:58.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:06:58.042Z] Configure a credential helper to remove this warning. See [2023-11-22T03:06:58.042Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:06:58.042Z] [2023-11-22T03:06:58.042Z] Login Succeeded [2023-11-22T03:06:58.042Z] nexus3.edgexfoundry.org:10004 [2023-11-22T03:06:58.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:06:58.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:06:58.042Z] Configure a credential helper to remove this warning. See [2023-11-22T03:06:58.042Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:06:58.042Z] [2023-11-22T03:06:58.042Z] Login Succeeded [2023-11-22T03:06:58.042Z] ****.io [2023-11-22T03:06:58.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:06:58.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:06:58.302Z] Configure a credential helper to remove this warning. See [2023-11-22T03:06:58.302Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:06:58.302Z] [2023-11-22T03:06:58.302Z] Login Succeeded [2023-11-22T03:06:58.302Z] ---> ****-login.sh ends [Pipeline] } [2023-11-22T03:06:58.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-22T03:06:58.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-22T03:06:58.710Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-22T03:06:58.772Z] ========================================================= [2023-11-22T03:06:58.772Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-22T03:06:58.772Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:06:59.355Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-22T03:06:59.355Z] Sending build context to Docker daemon 34.15MB [2023-11-22T03:06:59.355Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-11-22T03:06:59.355Z] Step 2/13 : FROM ${BASE} AS builder [2023-11-22T03:06:59.615Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-22T03:06:59.615Z] 7264a8db6415: Pulling fs layer [2023-11-22T03:06:59.615Z] c4d48a809fc2: Pulling fs layer [2023-11-22T03:06:59.615Z] 4f1c88b9dad5: Pulling fs layer [2023-11-22T03:06:59.615Z] ad3a456e5733: Pulling fs layer [2023-11-22T03:06:59.615Z] 69c7f0334f64: Pulling fs layer [2023-11-22T03:06:59.615Z] 1f1c1a5573a3: Pulling fs layer [2023-11-22T03:06:59.615Z] ce7588e14bc9: Pulling fs layer [2023-11-22T03:06:59.615Z] b5e4710f87ac: Pulling fs layer [2023-11-22T03:06:59.615Z] ce7588e14bc9: Waiting [2023-11-22T03:06:59.615Z] b5e4710f87ac: Waiting [2023-11-22T03:06:59.615Z] 69c7f0334f64: Waiting [2023-11-22T03:06:59.615Z] 1f1c1a5573a3: Waiting [2023-11-22T03:06:59.615Z] ad3a456e5733: Waiting [2023-11-22T03:06:59.615Z] c4d48a809fc2: Download complete [2023-11-22T03:06:59.615Z] ad3a456e5733: Download complete [2023-11-22T03:06:59.615Z] 69c7f0334f64: Verifying Checksum [2023-11-22T03:06:59.615Z] 69c7f0334f64: Download complete [2023-11-22T03:06:59.615Z] 7264a8db6415: Verifying Checksum [2023-11-22T03:06:59.615Z] 7264a8db6415: Download complete [2023-11-22T03:06:59.615Z] 1f1c1a5573a3: Verifying Checksum [2023-11-22T03:06:59.615Z] 1f1c1a5573a3: Download complete [2023-11-22T03:06:59.874Z] 7264a8db6415: Pull complete [2023-11-22T03:07:00.134Z] b5e4710f87ac: Verifying Checksum [2023-11-22T03:07:00.134Z] b5e4710f87ac: Download complete [2023-11-22T03:07:00.134Z] c4d48a809fc2: Pull complete [2023-11-22T03:07:00.134Z] 4f1c88b9dad5: Verifying Checksum [2023-11-22T03:07:00.134Z] 4f1c88b9dad5: Download complete [2023-11-22T03:07:00.392Z] ce7588e14bc9: Verifying Checksum [2023-11-22T03:07:00.392Z] ce7588e14bc9: Download complete [2023-11-22T03:07:03.681Z] 4f1c88b9dad5: Pull complete [2023-11-22T03:07:03.681Z] ad3a456e5733: Pull complete [2023-11-22T03:07:03.681Z] 69c7f0334f64: Pull complete [2023-11-22T03:07:03.940Z] 1f1c1a5573a3: Pull complete [2023-11-22T03:07:06.470Z] ce7588e14bc9: Pull complete [2023-11-22T03:07:07.038Z] b5e4710f87ac: Pull complete [2023-11-22T03:07:07.038Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-22T03:07:07.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-22T03:07:07.038Z] ---> 88b5674ff536 [2023-11-22T03:07:07.038Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-11-22T03:07:12.103Z] Still waiting to schedule task [2023-11-22T03:07:12.103Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-22T03:07:13.652Z] ---> Running in 90b4b7f02b9d [2023-11-22T03:07:13.652Z] Removing intermediate container 90b4b7f02b9d [2023-11-22T03:07:13.652Z] ---> 6d93eecfc741 [2023-11-22T03:07:13.652Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-22T03:07:13.652Z] ---> Running in 9e86c730ea9a [2023-11-22T03:07:13.652Z] Removing intermediate container 9e86c730ea9a [2023-11-22T03:07:13.652Z] ---> 9427567631ca [2023-11-22T03:07:13.652Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-11-22T03:07:13.652Z] ---> Running in c617ade90fb1 [2023-11-22T03:07:13.652Z] Removing intermediate container c617ade90fb1 [2023-11-22T03:07:13.652Z] ---> 852d84ffe01a [2023-11-22T03:07:13.652Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-11-22T03:07:13.652Z] ---> Running in df25838ed809 [2023-11-22T03:07:13.652Z] Removing intermediate container df25838ed809 [2023-11-22T03:07:13.652Z] ---> 5bddfa4774bb [2023-11-22T03:07:13.652Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-11-22T03:07:13.652Z] ---> Running in 12760c4a3dd8 [2023-11-22T03:07:13.652Z] Removing intermediate container 12760c4a3dd8 [2023-11-22T03:07:13.652Z] ---> 4038685df321 [2023-11-22T03:07:13.652Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-22T03:07:13.652Z] ---> Running in 772aee753052 [2023-11-22T03:07:13.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-22T03:07:13.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-22T03:07:13.915Z] OK: 264 MiB in 52 packages [2023-11-22T03:07:14.180Z] Removing intermediate container 772aee753052 [2023-11-22T03:07:14.180Z] ---> b475b3c89e35 [2023-11-22T03:07:14.180Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-11-22T03:07:14.440Z] ---> Running in 3fec90b86be6 [2023-11-22T03:07:14.440Z] Removing intermediate container 3fec90b86be6 [2023-11-22T03:07:14.440Z] ---> 985877cd98a5 [2023-11-22T03:07:14.440Z] Step 10/13 : COPY go.mod vendor* ./ [2023-11-22T03:07:14.440Z] ---> 421791f96363 [2023-11-22T03:07:14.440Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-22T03:07:14.699Z] ---> Running in b532e0e96be4 [2023-11-22T03:08:22.471Z] Removing intermediate container b532e0e96be4 [2023-11-22T03:08:22.471Z] ---> afbff1a0a0b7 [2023-11-22T03:08:22.471Z] Step 12/13 : COPY . . [2023-11-22T03:08:22.471Z] ---> 1d6c5e20dcaf [2023-11-22T03:08:22.471Z] Step 13/13 : RUN ${MAKE} [2023-11-22T03:08:22.471Z] ---> Running in 369857dff497 [2023-11-22T03:08:22.471Z] noop [2023-11-22T03:08:22.471Z] Removing intermediate container 369857dff497 [2023-11-22T03:08:22.471Z] ---> 48eeaff6e88f [2023-11-22T03:08:22.471Z] Successfully built 48eeaff6e88f [2023-11-22T03:08:22.471Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:08:22.997Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-22T03:08:22.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-22T03:08:23.212Z] prd-ubuntu20.04-docker-8c-8g-809 does not seem to be running inside a container [2023-11-22T03:08:23.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-413 -v /w/workspace/undry_device-onvif-camera_PR-413:/w/workspace/undry_device-onvif-camera_PR-413:rw,z -v /w/workspace/undry_device-onvif-camera_PR-413@tmp:/w/workspace/undry_device-onvif-camera_PR-413@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 ******** ci-base-image-x86_64 cat [2023-11-22T03:08:23.617Z] $ docker top 16bfe7e22449e2ea50a2bcf4d38c221233dfc86c4af67aa7dcaa4583cc7d8dc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-22T03:08:24.072Z] + go version [2023-11-22T03:08:24.072Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-22T03:08:24.104Z] $ docker stop --time=1 16bfe7e22449e2ea50a2bcf4d38c221233dfc86c4af67aa7dcaa4583cc7d8dc1 [2023-11-22T03:08:25.411Z] $ docker rm -f --volumes 16bfe7e22449e2ea50a2bcf4d38c221233dfc86c4af67aa7dcaa4583cc7d8dc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:08:26.404Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-22T03:08:26.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-22T03:08:26.615Z] prd-ubuntu20.04-docker-8c-8g-809 does not seem to be running inside a container [2023-11-22T03:08:26.652Z] $ 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-413 -v /w/workspace/undry_device-onvif-camera_PR-413:/w/workspace/undry_device-onvif-camera_PR-413:rw,z -v /w/workspace/undry_device-onvif-camera_PR-413@tmp:/w/workspace/undry_device-onvif-camera_PR-413@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 ******** ci-base-image-x86_64 cat [2023-11-22T03:08:27.190Z] $ docker top 8272e9977ac8f700768bd8682051fda4b568490822ed4b7dd3a6cc526d57e8dd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-22T03:08:27.638Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-413 [Pipeline] fileExists [Pipeline] sh [2023-11-22T03:08:28.036Z] + make test [2023-11-22T03:08:28.036Z] go test ./... -coverprofile=coverage.out ./... [2023-11-22T03:08:29.418Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-11-22T03:08:41.642Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-11-22T03:08:41.642Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-11-22T03:08:43.019Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.043s coverage: 31.5% of statements [2023-11-22T03:08:43.019Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.196s coverage: 86.5% of statements [2023-11-22T03:08:51.123Z] go vet ./... [2023-11-22T03:08:54.405Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-22T03:08:54.405Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-22T03:08:54.405Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-22T03:08:54.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-22T03:08:54.503Z] $ docker stop --time=1 8272e9977ac8f700768bd8682051fda4b568490822ed4b7dd3a6cc526d57e8dd [2023-11-22T03:08:59.888Z] $ docker rm -f --volumes 8272e9977ac8f700768bd8682051fda4b568490822ed4b7dd3a6cc526d57e8dd [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-22T03:09:00.524Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-22T03:09:00.611Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-22T03:09:01.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-22T03:09:01.742Z] + ls -al . [2023-11-22T03:09:01.742Z] total 240 [2023-11-22T03:09:01.742Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 22 03:08 . [2023-11-22T03:09:01.742Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 22 03:06 .. [2023-11-22T03:09:01.742Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 22 03:08 .git [2023-11-22T03:09:01.742Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 22 03:06 .github [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 22 03:06 .gitignore [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 22 03:06 .golangci.yml [2023-11-22T03:09:01.742Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 22 03:06 .semver [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 11155 Nov 22 03:06 Attribution.txt [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 22 03:06 CHANGELOG.md [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 1683 Nov 22 03:06 Dockerfile [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 22 03:06 GOVERNANCE.md [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 22 03:06 Jenkinsfile [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 22 03:06 LICENSE [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 2877 Nov 22 03:06 Makefile [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 22 03:06 OWNERS.md [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 22 03:06 README.md [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 22 03:06 VERSION [2023-11-22T03:09:01.742Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 22 03:06 bin [2023-11-22T03:09:01.742Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 22 03:06 cmd [2023-11-22T03:09:01.742Z] -rw-r--r-- 1 jenkins jenkins 78456 Nov 22 03:08 coverage.out [2023-11-22T03:09:01.742Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 22 03:06 doc [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 4040 Nov 22 03:06 go.mod [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 35594 Nov 22 03:06 go.sum [2023-11-22T03:09:01.742Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 22 03:06 internal [2023-11-22T03:09:01.742Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 22 03:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:09:02.185Z] + 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=8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 --label arch=amd64 --label version=0.0.0 . [2023-11-22T03:09:02.185Z] Sending build context to Docker daemon 34.23MB [2023-11-22T03:09:02.185Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-22T03:09:02.185Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-22T03:09:02.185Z] ---> 48eeaff6e88f [2023-11-22T03:09:02.185Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-11-22T03:09:02.793Z] ---> Running in f5d2118b41c0 [2023-11-22T03:09:03.072Z] Removing intermediate container f5d2118b41c0 [2023-11-22T03:09:03.072Z] ---> 831a2f2ce97e [2023-11-22T03:09:03.072Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-22T03:09:03.072Z] ---> Running in f0bf5574ebd6 [2023-11-22T03:09:03.072Z] Removing intermediate container f0bf5574ebd6 [2023-11-22T03:09:03.072Z] ---> 69a58019a919 [2023-11-22T03:09:03.072Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-22T03:09:03.072Z] ---> Running in ba1c65558746 [2023-11-22T03:09:03.353Z] Removing intermediate container ba1c65558746 [2023-11-22T03:09:03.353Z] ---> 740d9d6141a6 [2023-11-22T03:09:03.353Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-22T03:09:03.353Z] ---> Running in 4f4bf01db55f [2023-11-22T03:09:03.353Z] Removing intermediate container 4f4bf01db55f [2023-11-22T03:09:03.353Z] ---> 7c215da03bef [2023-11-22T03:09:03.353Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-11-22T03:09:03.353Z] ---> Running in 24f13355f6f7 [2023-11-22T03:09:03.353Z] Removing intermediate container 24f13355f6f7 [2023-11-22T03:09:03.353Z] ---> 3407c5b762f9 [2023-11-22T03:09:03.353Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-22T03:09:03.353Z] ---> Running in c480ced92393 [2023-11-22T03:09:03.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-22T03:09:03.933Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-22T03:09:04.219Z] OK: 264 MiB in 52 packages [2023-11-22T03:09:04.480Z] Removing intermediate container c480ced92393 [2023-11-22T03:09:04.480Z] ---> 4633d0faed50 [2023-11-22T03:09:04.480Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-11-22T03:09:04.480Z] ---> Running in ae3cf5cf85d4 [2023-11-22T03:09:04.741Z] Removing intermediate container ae3cf5cf85d4 [2023-11-22T03:09:04.741Z] ---> 3923bcdaa9ac [2023-11-22T03:09:04.741Z] Step 10/27 : COPY go.mod vendor* ./ [2023-11-22T03:09:04.741Z] ---> a41e9612d303 [2023-11-22T03:09:04.741Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-22T03:09:04.741Z] ---> Running in b1afc55dc4ab [2023-11-22T03:09:05.680Z] Removing intermediate container b1afc55dc4ab [2023-11-22T03:09:05.680Z] ---> 9f6872446f2c [2023-11-22T03:09:05.680Z] Step 12/27 : COPY . . [2023-11-22T03:09:06.629Z] ---> 44250208b072 [2023-11-22T03:09:06.629Z] Step 13/27 : RUN ${MAKE} [2023-11-22T03:09:06.629Z] ---> Running in 45f1550a2bbd [2023-11-22T03:09:06.888Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-11-22T03:09:16.362Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-810 in /w/workspace/undry_device-onvif-camera_PR-413 [Pipeline] { [Pipeline] ws [2023-11-22T03:09:16.449Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-11-22T03:09:19.575Z] The recommended git tool is: git [2023-11-22T03:09:28.826Z] Removing intermediate container 45f1550a2bbd [2023-11-22T03:09:28.826Z] ---> 897f004c747b [2023-11-22T03:09:28.826Z] Step 14/27 : FROM alpine:3.18 [2023-11-22T03:09:29.088Z] 3.18: Pulling from library/alpine [2023-11-22T03:09:29.088Z] 96526aa774ef: Pulling fs layer [2023-11-22T03:09:29.368Z] 96526aa774ef: Download complete [2023-11-22T03:09:29.627Z] 96526aa774ef: Pull complete [2023-11-22T03:09:29.627Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-22T03:09:29.627Z] Status: Downloaded newer image for alpine:3.18 [2023-11-22T03:09:29.627Z] ---> 8ca4688f4f35 [2023-11-22T03:09:29.627Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-11-22T03:09:29.627Z] ---> Running in ede7f8b773a5 [2023-11-22T03:09:29.627Z] Removing intermediate container ede7f8b773a5 [2023-11-22T03:09:29.627Z] ---> 8783941c9850 [2023-11-22T03:09:29.627Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2023-11-22T03:09:29.627Z] ---> Running in 58b509b1599b [2023-11-22T03:09:30.044Z] using credential edgex-jenkins-ssh [2023-11-22T03:09:30.068Z] Cloning the remote Git repository [2023-11-22T03:09:30.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-22T03:09:30.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-22T03:09:30.455Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-22T03:09:30.455Z] Executing busybox-1.36.1-r2.trigger [2023-11-22T03:09:30.455Z] OK: 7 MiB in 16 packages [2023-11-22T03:09:31.023Z] Removing intermediate container 58b509b1599b [2023-11-22T03:09:31.023Z] ---> b4d99a179435 [2023-11-22T03:09:31.023Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-22T03:09:31.023Z] ---> Running in a8645a5701bf [2023-11-22T03:09:31.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-22T03:09:31.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-22T03:09:30.122Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-22T03:09:30.285Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-11-22T03:09:30.551Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-22T03:09:30.552Z] > git --version # timeout=10 [2023-11-22T03:09:30.585Z] > git --version # 'git version 2.25.1' [2023-11-22T03:09:30.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-22T03:09:30.793Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-22T03:09:31.558Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-22T03:09:31.558Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-22T03:09:31.558Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-22T03:09:31.558Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-22T03:09:31.558Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-22T03:09:31.558Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-22T03:09:31.558Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-22T03:09:31.558Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-22T03:09:31.558Z] Executing busybox-1.36.1-r5.trigger [2023-11-22T03:09:31.558Z] OK: 7 MiB in 16 packages [2023-11-22T03:09:32.154Z] Removing intermediate container a8645a5701bf [2023-11-22T03:09:32.154Z] ---> baa027d40e83 [2023-11-22T03:09:32.154Z] Step 18/27 : WORKDIR / [2023-11-22T03:09:32.154Z] ---> Running in e12ff9de2996 [2023-11-22T03:09:32.413Z] Removing intermediate container e12ff9de2996 [2023-11-22T03:09:32.413Z] ---> c696058789e5 [2023-11-22T03:09:32.413Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-11-22T03:09:33.355Z] ---> 051cd8c7aa8c [2023-11-22T03:09:33.355Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-11-22T03:09:33.355Z] ---> 65958478f732 [2023-11-22T03:09:33.355Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-11-22T03:09:33.614Z] ---> 59719406dde3 [2023-11-22T03:09:33.614Z] Step 22/27 : EXPOSE 59984 [2023-11-22T03:09:33.614Z] ---> Running in 21f37d4ff3d0 [2023-11-22T03:09:33.614Z] Removing intermediate container 21f37d4ff3d0 [2023-11-22T03:09:33.614Z] ---> 6bdf09291804 [2023-11-22T03:09:33.614Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-11-22T03:09:33.614Z] ---> Running in 0fbef0e60caa [2023-11-22T03:09:33.873Z] Removing intermediate container 0fbef0e60caa [2023-11-22T03:09:33.873Z] ---> b23da5ff4f1d [2023-11-22T03:09:33.873Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-22T03:09:33.873Z] ---> Running in 61a5563edb3e [2023-11-22T03:09:33.873Z] Removing intermediate container 61a5563edb3e [2023-11-22T03:09:33.873Z] ---> 495909bf7f6f [2023-11-22T03:09:33.873Z] Step 25/27 : LABEL arch=amd64 [2023-11-22T03:09:33.873Z] ---> Running in 4d5b45c60a8a [2023-11-22T03:09:33.873Z] Removing intermediate container 4d5b45c60a8a [2023-11-22T03:09:33.873Z] ---> 572eaaa81672 [2023-11-22T03:09:33.873Z] Step 26/27 : LABEL git_sha=8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 [2023-11-22T03:09:34.140Z] ---> Running in 040721380bb6 [2023-11-22T03:09:34.140Z] Removing intermediate container 040721380bb6 [2023-11-22T03:09:34.140Z] ---> e4c7fd0addaf [2023-11-22T03:09:34.140Z] Step 27/27 : LABEL version=0.0.0 [2023-11-22T03:09:34.140Z] ---> Running in 2825a4ad3711 [2023-11-22T03:09:34.140Z] Removing intermediate container 2825a4ad3711 [2023-11-22T03:09:34.140Z] ---> 753b7cd8e670 [2023-11-22T03:09:34.140Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-22T03:09:34.140Z] Successfully built 753b7cd8e670 [2023-11-22T03:09:34.140Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2023-11-22T03:09:33.887Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-11-22T03:09:33.951Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:09:35.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-22T03:09:35.329Z] [2023-11-22T03:09:35.329Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:09:35.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-22T03:09:35.738Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-22T03:09:35.738Z] 5eb5b503b376: Pulling fs layer [2023-11-22T03:09:35.738Z] 5c69ac0246d0: Pulling fs layer [2023-11-22T03:09:35.738Z] ec43610c2a17: Pulling fs layer [2023-11-22T03:09:35.738Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-22T03:09:35.738Z] 33b1e0a273af: Pulling fs layer [2023-11-22T03:09:35.738Z] 5d3b04190fa2: Pulling fs layer [2023-11-22T03:09:35.738Z] 2f39f015ded8: Pulling fs layer [2023-11-22T03:09:35.738Z] 33b1e0a273af: Waiting [2023-11-22T03:09:35.738Z] 3a2ae6a8a46f: Waiting [2023-11-22T03:09:35.738Z] 2f39f015ded8: Waiting [2023-11-22T03:09:35.738Z] 5c69ac0246d0: Verifying Checksum [2023-11-22T03:09:35.738Z] 5c69ac0246d0: Download complete [2023-11-22T03:09:35.738Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-22T03:09:35.738Z] 3a2ae6a8a46f: Download complete [2023-11-22T03:09:35.738Z] 33b1e0a273af: Verifying Checksum [2023-11-22T03:09:35.738Z] 33b1e0a273af: Download complete [2023-11-22T03:09:35.738Z] 5d3b04190fa2: Verifying Checksum [2023-11-22T03:09:35.738Z] 5d3b04190fa2: Download complete [2023-11-22T03:09:35.738Z] ec43610c2a17: Verifying Checksum [2023-11-22T03:09:35.738Z] ec43610c2a17: Download complete [2023-11-22T03:09:35.968Z] Merging remotes/origin/main commit 1a885dea823655429c4e0c6a767a18e3aa90292d into PR head commit 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 [2023-11-22T03:09:35.996Z] 5eb5b503b376: Verifying Checksum [2023-11-22T03:09:35.996Z] 5eb5b503b376: Download complete [2023-11-22T03:09:35.196Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-11-22T03:09:35.292Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-22T03:09:35.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-22T03:09:35.351Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-22T03:09:35.991Z] > git config core.sparsecheckout # timeout=10 [2023-11-22T03:09:36.564Z] 2f39f015ded8: Verifying Checksum [2023-11-22T03:09:36.565Z] 2f39f015ded8: Download complete [2023-11-22T03:09:37.506Z] 5eb5b503b376: Pull complete [2023-11-22T03:09:37.506Z] 5c69ac0246d0: Pull complete [2023-11-22T03:09:36.066Z] > git checkout -f 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 # timeout=10 [2023-11-22T03:09:36.302Z] > git remote # timeout=10 [2023-11-22T03:09:38.072Z] ec43610c2a17: Pull complete [2023-11-22T03:09:38.072Z] 3a2ae6a8a46f: Pull complete [2023-11-22T03:09:38.331Z] 33b1e0a273af: Pull complete [2023-11-22T03:09:38.331Z] 5d3b04190fa2: Pull complete [2023-11-22T03:09:39.040Z] Merge succeeded, producing 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 [2023-11-22T03:09:39.041Z] Checking out Revision 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 (PR-413) [2023-11-22T03:09:38.929Z] > git config --get remote.origin.url # timeout=10 [2023-11-22T03:09:38.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-22T03:09:38.984Z] > git merge 1a885dea823655429c4e0c6a767a18e3aa90292d # timeout=10 [2023-11-22T03:09:39.020Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-22T03:09:39.052Z] > git config core.sparsecheckout # timeout=10 [2023-11-22T03:09:39.072Z] > git checkout -f 8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 # timeout=10 [2023-11-22T03:09:40.221Z] Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 1.0.0 to 1.1.1" [2023-11-22T03:09:40.333Z] > git --version # timeout=10 [2023-11-22T03:09:40.350Z] > git --version # 'git version 2.25.1' [2023-11-22T03:09:40.399Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-22T03:09:40.917Z] [2023-11-22T03:09:40.917Z] GitHub has been notified of this commit’s build result [2023-11-22T03:09:40.917Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-22T03:09:42.080Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-22T03:09:42.080Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-22T03:09:42.080Z] Dload Upload Total Spent Left Speed [2023-11-22T03:09:42.080Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 65035 0 --:--:-- --:--:-- --:--:-- 64704 [Pipeline] sh [2023-11-22T03:09:42.457Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-22T03:09:42.516Z] 2f39f015ded8: Pull complete [2023-11-22T03:09:42.516Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-22T03:09:42.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-22T03:09:42.516Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-11-22T03:09:42.838Z] + sudo tee /etc/docker/daemon.new [2023-11-22T03:09:42.838Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-22T03:09:42.996Z] prd-ubuntu20.04-docker-8c-8g-809 does not seem to be running inside a container [2023-11-22T03:09:43.030Z] $ 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-413 -v /w/workspace/undry_device-onvif-camera_PR-413:/w/workspace/undry_device-onvif-camera_PR-413:rw,z -v /w/workspace/undry_device-onvif-camera_PR-413@tmp:/w/workspace/undry_device-onvif-camera_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-22T03:09:43.116Z] { [2023-11-22T03:09:43.116Z] "registry-mirrors": [ [2023-11-22T03:09:43.116Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-22T03:09:43.116Z] ], [2023-11-22T03:09:43.116Z] "bip": "10.250.0.254/24", [2023-11-22T03:09:43.116Z] "hosts": [ [2023-11-22T03:09:43.116Z] "tcp://0.0.0.0:5555", [2023-11-22T03:09:43.116Z] "unix:///var/run/docker.sock" [2023-11-22T03:09:43.116Z] ], [2023-11-22T03:09:43.116Z] "mtu": 1458, [2023-11-22T03:09:43.116Z] "selinux-enabled": true, [2023-11-22T03:09:43.116Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-22T03:09:43.116Z] } [2023-11-22T03:09:47.961Z] $ docker top 8c69884bed701a7cf78fe80dda0692e386ed5739e5e3fd42fb798279058df852 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-11-22T03:09:48.495Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-22T03:09:48.655Z] ---> job-cost.sh [2023-11-22T03:09:48.655Z] lf-activate-venv: SKIPPING [2023-11-22T03:09:48.655Z] INFO: No Stack... [2023-11-22T03:09:48.916Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-22T03:09:48.931Z] + sudo service docker restart [2023-11-22T03:09:49.486Z] INFO: Archiving Costs [Pipeline] sh [2023-11-22T03:09:49.814Z] + cat /w/workspace/undry_device-onvif-camera_PR-413/archives/cost.csv [2023-11-22T03:09:49.814Z] + cut -d, -f6 [Pipeline] lock [2023-11-22T03:09:49.860Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-413-1-stack-cost] [2023-11-22T03:09:49.868Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-413-1-stack-cost] did not exist. Created. [2023-11-22T03:09:49.868Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-22T03:09:50.334Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-22T03:09:50.393Z] Stashed 1 file(s) [Pipeline] } [2023-11-22T03:09:50.449Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-413-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-22T03:09:50.605Z] $ docker stop --time=1 8c69884bed701a7cf78fe80dda0692e386ed5739e5e3fd42fb798279058df852 [2023-11-22T03:09:51.759Z] $ docker rm -f --volumes 8c69884bed701a7cf78fe80dda0692e386ed5739e5e3fd42fb798279058df852 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-22T03:10:11.187Z] provisioning config files... [2023-11-22T03:10:11.222Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config15134588063795323894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-22T03:10:11.750Z] ---> ****-login.sh [2023-11-22T03:10:11.750Z] nexus3.edgexfoundry.org:10001 [2023-11-22T03:10:12.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:10:12.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:10:12.615Z] Configure a credential helper to remove this warning. See [2023-11-22T03:10:12.615Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:10:12.615Z] [2023-11-22T03:10:12.615Z] Login Succeeded [2023-11-22T03:10:12.615Z] nexus3.edgexfoundry.org:10002 [2023-11-22T03:10:12.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:10:12.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:10:12.888Z] Configure a credential helper to remove this warning. See [2023-11-22T03:10:12.888Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:10:12.888Z] [2023-11-22T03:10:12.888Z] Login Succeeded [2023-11-22T03:10:12.888Z] nexus3.edgexfoundry.org:10003 [2023-11-22T03:10:13.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:10:13.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:10:13.430Z] Configure a credential helper to remove this warning. See [2023-11-22T03:10:13.430Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:10:13.430Z] [2023-11-22T03:10:13.430Z] Login Succeeded [2023-11-22T03:10:13.430Z] nexus3.edgexfoundry.org:10004 [2023-11-22T03:10:13.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:10:13.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:10:13.703Z] Configure a credential helper to remove this warning. See [2023-11-22T03:10:13.703Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:10:13.703Z] [2023-11-22T03:10:13.703Z] Login Succeeded [2023-11-22T03:10:13.703Z] ****.io [2023-11-22T03:10:13.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-22T03:10:14.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-22T03:10:14.245Z] Configure a credential helper to remove this warning. See [2023-11-22T03:10:14.245Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-22T03:10:14.245Z] [2023-11-22T03:10:14.245Z] Login Succeeded [2023-11-22T03:10:14.245Z] ---> ****-login.sh ends [Pipeline] } [2023-11-22T03:10:14.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-22T03:10:14.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-22T03:10:14.906Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-22T03:10:14.980Z] ========================================================= [2023-11-22T03:10:14.980Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-22T03:10:14.980Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:10:15.635Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-22T03:10:16.240Z] Sending build context to Docker daemon 20.44MB [2023-11-22T03:10:16.240Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-11-22T03:10:16.240Z] Step 2/13 : FROM ${BASE} AS builder [2023-11-22T03:10:16.508Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-22T03:10:16.508Z] 9fda8d8052c6: Pulling fs layer [2023-11-22T03:10:16.508Z] 5d54e960e981: Pulling fs layer [2023-11-22T03:10:16.508Z] c4a7e357bf2a: Pulling fs layer [2023-11-22T03:10:16.508Z] f0e02332f6b5: Pulling fs layer [2023-11-22T03:10:16.508Z] 872ee5b61b7b: Pulling fs layer [2023-11-22T03:10:16.508Z] 0c6a40ed1a82: Pulling fs layer [2023-11-22T03:10:16.508Z] 94ae7d8d031c: Pulling fs layer [2023-11-22T03:10:16.508Z] f0e02332f6b5: Waiting [2023-11-22T03:10:16.508Z] 872ee5b61b7b: Waiting [2023-11-22T03:10:16.508Z] 0c6a40ed1a82: Waiting [2023-11-22T03:10:16.508Z] 94ae7d8d031c: Waiting [2023-11-22T03:10:16.508Z] 5d54e960e981: Verifying Checksum [2023-11-22T03:10:16.508Z] 5d54e960e981: Download complete [2023-11-22T03:10:16.508Z] f0e02332f6b5: Verifying Checksum [2023-11-22T03:10:16.508Z] f0e02332f6b5: Download complete [2023-11-22T03:10:16.508Z] 872ee5b61b7b: Download complete [2023-11-22T03:10:16.508Z] 9fda8d8052c6: Download complete [2023-11-22T03:10:17.093Z] 94ae7d8d031c: Verifying Checksum [2023-11-22T03:10:17.093Z] 94ae7d8d031c: Download complete [2023-11-22T03:10:17.367Z] 9fda8d8052c6: Pull complete [2023-11-22T03:10:17.952Z] 5d54e960e981: Pull complete [2023-11-22T03:10:18.221Z] c4a7e357bf2a: Verifying Checksum [2023-11-22T03:10:18.221Z] c4a7e357bf2a: Download complete [2023-11-22T03:10:19.181Z] 0c6a40ed1a82: Download complete [2023-11-22T03:10:31.491Z] c4a7e357bf2a: Pull complete [2023-11-22T03:10:31.491Z] f0e02332f6b5: Pull complete [2023-11-22T03:10:31.491Z] 872ee5b61b7b: Pull complete [2023-11-22T03:10:39.711Z] 0c6a40ed1a82: Pull complete [2023-11-22T03:10:41.120Z] 94ae7d8d031c: Pull complete [2023-11-22T03:10:41.120Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-22T03:10:41.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-22T03:10:41.120Z] ---> 86de565de09d [2023-11-22T03:10:41.120Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-11-22T03:10:43.065Z] ---> Running in 493c84c23179 [2023-11-22T03:10:43.065Z] Removing intermediate container 493c84c23179 [2023-11-22T03:10:43.065Z] ---> 2f254722fd36 [2023-11-22T03:10:43.065Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-22T03:10:43.333Z] ---> Running in 374fef8802a1 [2023-11-22T03:10:43.605Z] Removing intermediate container 374fef8802a1 [2023-11-22T03:10:43.605Z] ---> 2b8b0095109a [2023-11-22T03:10:43.606Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-11-22T03:10:43.606Z] ---> Running in 11f2ef9edefa [2023-11-22T03:10:43.872Z] Removing intermediate container 11f2ef9edefa [2023-11-22T03:10:43.872Z] ---> 72a84ee84b21 [2023-11-22T03:10:43.872Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-11-22T03:10:43.872Z] ---> Running in 4ccc14c07424 [2023-11-22T03:10:44.142Z] Removing intermediate container 4ccc14c07424 [2023-11-22T03:10:44.142Z] ---> ac86931a585b [2023-11-22T03:10:44.142Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-11-22T03:10:44.410Z] ---> Running in 0c634d98a0f2 [2023-11-22T03:10:44.680Z] Removing intermediate container 0c634d98a0f2 [2023-11-22T03:10:44.680Z] ---> d5f948e37f93 [2023-11-22T03:10:44.680Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-22T03:10:44.680Z] ---> Running in b6614b5094ed [2023-11-22T03:10:45.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-22T03:10:46.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-22T03:10:47.182Z] OK: 266 MiB in 52 packages [2023-11-22T03:10:47.764Z] Removing intermediate container b6614b5094ed [2023-11-22T03:10:47.764Z] ---> 5ace46741049 [2023-11-22T03:10:47.764Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-11-22T03:10:48.030Z] ---> Running in 6970c620afb7 [2023-11-22T03:10:48.295Z] Removing intermediate container 6970c620afb7 [2023-11-22T03:10:48.295Z] ---> 83991af2faee [2023-11-22T03:10:48.295Z] Step 10/13 : COPY go.mod vendor* ./ [2023-11-22T03:10:51.314Z] ---> 7d2e130ab084 [2023-11-22T03:10:51.314Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-22T03:10:51.314Z] ---> Running in d5415b295c93 [2023-11-22T03:12:13.048Z] Removing intermediate container d5415b295c93 [2023-11-22T03:12:13.048Z] ---> d91ac7ee78c8 [2023-11-22T03:12:13.048Z] Step 12/13 : COPY . . [2023-11-22T03:12:13.048Z] ---> 8f1d820db582 [2023-11-22T03:12:13.048Z] Step 13/13 : RUN ${MAKE} [2023-11-22T03:12:13.048Z] ---> Running in c809828e0980 [2023-11-22T03:12:13.048Z] noop [2023-11-22T03:12:13.048Z] Removing intermediate container c809828e0980 [2023-11-22T03:12:13.048Z] ---> b405076e3c39 [2023-11-22T03:12:13.048Z] Successfully built b405076e3c39 [2023-11-22T03:12:13.048Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:12:13.646Z] + docker inspect -f . ci-base-image-arm64 [2023-11-22T03:12:13.646Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-22T03:12:14.013Z] prd-ubuntu20.04-docker-arm64-4c-16g-810 does not seem to be running inside a container [2023-11-22T03:12:14.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-22T03:12:16.964Z] $ docker top 9894675b52dc68e805a2e50a2e64fce41ac6ae1f593f546f1c15051632fa06d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-22T03:12:17.942Z] + go version [2023-11-22T03:12:17.942Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-22T03:12:17.982Z] $ docker stop --time=1 9894675b52dc68e805a2e50a2e64fce41ac6ae1f593f546f1c15051632fa06d7 [2023-11-22T03:12:19.650Z] $ docker rm -f --volumes 9894675b52dc68e805a2e50a2e64fce41ac6ae1f593f546f1c15051632fa06d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:12:20.899Z] + docker inspect -f . ci-base-image-arm64 [2023-11-22T03:12:20.899Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-22T03:12:21.236Z] prd-ubuntu20.04-docker-arm64-4c-16g-810 does not seem to be running inside a container [2023-11-22T03:12:21.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-22T03:12:22.894Z] $ docker top d892055d07469492fce02df97f8947f091a9cc7428048e432571675401ceb8d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-22T03:12:23.878Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-11-22T03:12:24.651Z] + make test [2023-11-22T03:12:24.651Z] go test ./... -coverprofile=coverage.out ./... [2023-11-22T03:12:31.310Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-11-22T03:14:38.048Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-11-22T03:14:38.048Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-11-22T03:14:38.048Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.194s coverage: 31.5% of statements [2023-11-22T03:14:43.387Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.420s coverage: 86.5% of statements [2023-11-22T03:14:43.978Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-22T03:14:43.978Z] go vet ./... [2023-11-22T03:15:10.659Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-22T03:15:10.659Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-22T03:15:10.659Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-22T03:15:10.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-22T03:15:10.772Z] $ docker stop --time=1 d892055d07469492fce02df97f8947f091a9cc7428048e432571675401ceb8d4 [2023-11-22T03:15:12.763Z] $ docker rm -f --volumes d892055d07469492fce02df97f8947f091a9cc7428048e432571675401ceb8d4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-22T03:15:14.191Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-22T03:15:14.226Z] Warning: overwriting stash ‘coverage-report’ [2023-11-22T03:15:14.767Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-22T03:15:15.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-22T03:15:15.929Z] + ls -al . [2023-11-22T03:15:15.929Z] total 236 [2023-11-22T03:15:15.929Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 22 03:12 . [2023-11-22T03:15:15.929Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 22 03:09 .. [2023-11-22T03:15:15.929Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 22 03:09 .git [2023-11-22T03:15:15.929Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 22 03:09 .github [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 22 03:09 .gitignore [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 22 03:09 .golangci.yml [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 11155 Nov 22 03:09 Attribution.txt [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 22 03:09 CHANGELOG.md [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 1683 Nov 22 03:09 Dockerfile [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 22 03:09 GOVERNANCE.md [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 22 03:09 Jenkinsfile [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 22 03:09 LICENSE [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 2877 Nov 22 03:09 Makefile [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 22 03:09 OWNERS.md [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 22 03:09 README.md [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 22 03:06 VERSION [2023-11-22T03:15:15.929Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 22 03:09 bin [2023-11-22T03:15:15.929Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 22 03:09 cmd [2023-11-22T03:15:15.929Z] -rw-r--r-- 1 jenkins jenkins 78456 Nov 22 03:14 coverage.out [2023-11-22T03:15:15.929Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 22 03:09 doc [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 4040 Nov 22 03:09 go.mod [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 35594 Nov 22 03:09 go.sum [2023-11-22T03:15:15.929Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 22 03:09 internal [2023-11-22T03:15:15.929Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 22 03:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:15:16.429Z] + 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=8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 --label arch=arm64 --label version=0.0.0 . [2023-11-22T03:15:17.035Z] Sending build context to Docker daemon 20.52MB [2023-11-22T03:15:17.035Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-22T03:15:17.035Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-22T03:15:17.035Z] ---> b405076e3c39 [2023-11-22T03:15:17.035Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-11-22T03:15:17.302Z] ---> Running in 1d0c3f9bc019 [2023-11-22T03:15:17.570Z] Removing intermediate container 1d0c3f9bc019 [2023-11-22T03:15:17.571Z] ---> e70e8fd8ea89 [2023-11-22T03:15:17.571Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-22T03:15:17.842Z] ---> Running in 369fdd6b598d [2023-11-22T03:15:18.112Z] Removing intermediate container 369fdd6b598d [2023-11-22T03:15:18.112Z] ---> cbc5efa652a4 [2023-11-22T03:15:18.112Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-22T03:15:18.112Z] ---> Running in c5f2e34b9326 [2023-11-22T03:15:18.698Z] Removing intermediate container c5f2e34b9326 [2023-11-22T03:15:18.698Z] ---> 907eda7eaa41 [2023-11-22T03:15:18.698Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-22T03:15:18.698Z] ---> Running in 61cf8496621e [2023-11-22T03:15:18.969Z] Removing intermediate container 61cf8496621e [2023-11-22T03:15:18.969Z] ---> aa4a3a2c77f8 [2023-11-22T03:15:18.969Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-11-22T03:15:19.236Z] ---> Running in 88c22187c3c0 [2023-11-22T03:15:19.503Z] Removing intermediate container 88c22187c3c0 [2023-11-22T03:15:19.503Z] ---> 3cfa594e5700 [2023-11-22T03:15:19.503Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-22T03:15:19.503Z] ---> Running in 7f2ee449899d [2023-11-22T03:15:20.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-22T03:15:21.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-22T03:15:22.598Z] OK: 266 MiB in 52 packages [2023-11-22T03:15:23.578Z] Removing intermediate container 7f2ee449899d [2023-11-22T03:15:23.578Z] ---> cfea196bb5f3 [2023-11-22T03:15:23.578Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-11-22T03:15:23.847Z] ---> Running in 1a1683b13590 [2023-11-22T03:15:24.117Z] Removing intermediate container 1a1683b13590 [2023-11-22T03:15:24.117Z] ---> 1e2b0cd8c59c [2023-11-22T03:15:24.117Z] Step 10/27 : COPY go.mod vendor* ./ [2023-11-22T03:15:24.705Z] ---> 35356ec3c763 [2023-11-22T03:15:24.705Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-22T03:15:24.705Z] ---> Running in 88dce9da5f72 [2023-11-22T03:15:27.299Z] Removing intermediate container 88dce9da5f72 [2023-11-22T03:15:27.299Z] ---> e7d352c77260 [2023-11-22T03:15:27.299Z] Step 12/27 : COPY . . [2023-11-22T03:15:29.237Z] ---> 7f573ed2b7be [2023-11-22T03:15:29.237Z] Step 13/27 : RUN ${MAKE} [2023-11-22T03:15:29.237Z] ---> Running in 86b3daf6ec3b [2023-11-22T03:15:29.819Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-11-22T03:17:36.467Z] Removing intermediate container 86b3daf6ec3b [2023-11-22T03:17:36.467Z] ---> 3ae8bf651b8c [2023-11-22T03:17:36.467Z] Step 14/27 : FROM alpine:3.18 [2023-11-22T03:17:36.467Z] 3.18: Pulling from library/alpine [2023-11-22T03:17:36.467Z] 579b34f0a95b: Pulling fs layer [2023-11-22T03:17:36.734Z] 579b34f0a95b: Verifying Checksum [2023-11-22T03:17:36.734Z] 579b34f0a95b: Download complete [2023-11-22T03:17:37.324Z] 579b34f0a95b: Pull complete [2023-11-22T03:17:37.324Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-22T03:17:37.324Z] Status: Downloaded newer image for alpine:3.18 [2023-11-22T03:17:37.324Z] ---> 3cc203321400 [2023-11-22T03:17:37.324Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-11-22T03:17:37.324Z] ---> Running in 5a06a3a958e3 [2023-11-22T03:17:37.593Z] Removing intermediate container 5a06a3a958e3 [2023-11-22T03:17:37.593Z] ---> de6c8251892a [2023-11-22T03:17:37.593Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2023-11-22T03:17:37.593Z] ---> Running in 357a5c701a54 [2023-11-22T03:17:38.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-22T03:17:39.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-22T03:17:40.091Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-22T03:17:40.091Z] Executing busybox-1.36.1-r2.trigger [2023-11-22T03:17:40.091Z] OK: 8 MiB in 16 packages [2023-11-22T03:17:41.051Z] Removing intermediate container 357a5c701a54 [2023-11-22T03:17:41.051Z] ---> ef7ba0b1cd32 [2023-11-22T03:17:41.051Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-22T03:17:41.051Z] ---> Running in ae22744933f8 [2023-11-22T03:17:42.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-22T03:17:42.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-22T03:17:43.549Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-22T03:17:43.549Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-22T03:17:43.549Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-22T03:17:43.549Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-22T03:17:43.549Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-22T03:17:43.815Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-22T03:17:43.815Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-22T03:17:43.815Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-22T03:17:43.815Z] Executing busybox-1.36.1-r5.trigger [2023-11-22T03:17:43.815Z] OK: 8 MiB in 16 packages [2023-11-22T03:17:46.397Z] Removing intermediate container ae22744933f8 [2023-11-22T03:17:46.397Z] ---> e75d8e0f6979 [2023-11-22T03:17:46.397Z] Step 18/27 : WORKDIR / [2023-11-22T03:17:46.397Z] ---> Running in 3bb482632f28 [2023-11-22T03:17:46.673Z] Removing intermediate container 3bb482632f28 [2023-11-22T03:17:46.673Z] ---> c06efefb3523 [2023-11-22T03:17:46.673Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-11-22T03:17:48.611Z] ---> 39cfb00a9f13 [2023-11-22T03:17:48.611Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-11-22T03:17:48.878Z] ---> a75b4024cf71 [2023-11-22T03:17:48.878Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-11-22T03:17:49.463Z] ---> 483e88714413 [2023-11-22T03:17:49.463Z] Step 22/27 : EXPOSE 59984 [2023-11-22T03:17:49.463Z] ---> Running in b9d7b52c794d [2023-11-22T03:17:49.733Z] Removing intermediate container b9d7b52c794d [2023-11-22T03:17:49.733Z] ---> d5ab03148273 [2023-11-22T03:17:49.733Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-11-22T03:17:49.733Z] ---> Running in b1b411b35505 [2023-11-22T03:17:50.010Z] Removing intermediate container b1b411b35505 [2023-11-22T03:17:50.010Z] ---> 20ab7adb0d28 [2023-11-22T03:17:50.010Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-22T03:17:50.277Z] ---> Running in 9a9b9f91f57b [2023-11-22T03:17:50.542Z] Removing intermediate container 9a9b9f91f57b [2023-11-22T03:17:50.542Z] ---> 6160614c63ca [2023-11-22T03:17:50.542Z] Step 25/27 : LABEL arch=arm64 [2023-11-22T03:17:50.543Z] ---> Running in d05a5a391c48 [2023-11-22T03:17:50.809Z] Removing intermediate container d05a5a391c48 [2023-11-22T03:17:50.809Z] ---> a96f02c81f0e [2023-11-22T03:17:50.809Z] Step 26/27 : LABEL git_sha=8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 [2023-11-22T03:17:50.809Z] ---> Running in 9d7b6bef2335 [2023-11-22T03:17:51.077Z] Removing intermediate container 9d7b6bef2335 [2023-11-22T03:17:51.077Z] ---> 20fac02d3a8d [2023-11-22T03:17:51.077Z] Step 27/27 : LABEL version=0.0.0 [2023-11-22T03:17:51.348Z] ---> Running in 71d610ce9d79 [2023-11-22T03:17:51.616Z] Removing intermediate container 71d610ce9d79 [2023-11-22T03:17:51.616Z] ---> 1ffb73f7c5db [2023-11-22T03:17:51.616Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-22T03:17:51.616Z] Successfully built 1ffb73f7c5db [2023-11-22T03:17:51.616Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:17:52.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-22T03:17:52.921Z] [2023-11-22T03:17:52.921Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:17:53.373Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-22T03:17:53.373Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-22T03:17:53.373Z] 8998bd30e6a1: Pulling fs layer [2023-11-22T03:17:53.373Z] 04944245beec: Pulling fs layer [2023-11-22T03:17:53.373Z] 699f458cf7ca: Pulling fs layer [2023-11-22T03:17:53.373Z] 765212b225bb: Pulling fs layer [2023-11-22T03:17:53.373Z] f23df028b6ca: Pulling fs layer [2023-11-22T03:17:53.373Z] d65c8cfc05b1: Pulling fs layer [2023-11-22T03:17:53.373Z] 2437ff75d9bd: Pulling fs layer [2023-11-22T03:17:53.373Z] 765212b225bb: Waiting [2023-11-22T03:17:53.373Z] f23df028b6ca: Waiting [2023-11-22T03:17:53.373Z] d65c8cfc05b1: Waiting [2023-11-22T03:17:53.373Z] 2437ff75d9bd: Waiting [2023-11-22T03:17:53.647Z] 04944245beec: Verifying Checksum [2023-11-22T03:17:53.647Z] 04944245beec: Download complete [2023-11-22T03:17:53.647Z] 765212b225bb: Verifying Checksum [2023-11-22T03:17:53.647Z] 765212b225bb: Download complete [2023-11-22T03:17:53.647Z] f23df028b6ca: Download complete [2023-11-22T03:17:53.647Z] d65c8cfc05b1: Verifying Checksum [2023-11-22T03:17:53.647Z] d65c8cfc05b1: Download complete [2023-11-22T03:17:53.918Z] 699f458cf7ca: Verifying Checksum [2023-11-22T03:17:53.918Z] 699f458cf7ca: Download complete [2023-11-22T03:17:54.507Z] 8998bd30e6a1: Verifying Checksum [2023-11-22T03:17:54.507Z] 8998bd30e6a1: Download complete [2023-11-22T03:17:57.088Z] 2437ff75d9bd: Verifying Checksum [2023-11-22T03:17:57.088Z] 2437ff75d9bd: Download complete [2023-11-22T03:17:59.029Z] 8998bd30e6a1: Pull complete [2023-11-22T03:17:59.294Z] 04944245beec: Pull complete [2023-11-22T03:18:01.234Z] 699f458cf7ca: Pull complete [2023-11-22T03:18:01.234Z] 765212b225bb: Pull complete [2023-11-22T03:18:01.816Z] f23df028b6ca: Pull complete [2023-11-22T03:18:02.081Z] d65c8cfc05b1: Pull complete [2023-11-22T03:18:20.291Z] 2437ff75d9bd: Pull complete [2023-11-22T03:18:20.291Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-22T03:18:20.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-22T03:18:20.291Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-22T03:18:20.797Z] prd-ubuntu20.04-docker-arm64-4c-16g-810 does not seem to be running inside a container [2023-11-22T03:18:20.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-22T03:18:23.680Z] $ docker top 0c47fb52e69414db211ada5ec52df2e05ce20bb04c6a8ede95f787a6ca3ed3df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-22T03:18:24.646Z] ---> job-cost.sh [2023-11-22T03:18:24.646Z] lf-activate-venv: SKIPPING [2023-11-22T03:18:24.646Z] INFO: No Stack... [2023-11-22T03:18:25.227Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-22T03:18:25.807Z] INFO: Archiving Costs [Pipeline] sh [2023-11-22T03:18:26.465Z] + cut+ -d, -f6 [2023-11-22T03:18:26.465Z] cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-11-22T03:18:26.543Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-413-1-stack-cost] [2023-11-22T03:18:26.551Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-413-1-stack-cost] did not exist. Created. [2023-11-22T03:18:26.551Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-22T03:18:27.046Z] /w/workspace/device-onvif-camera/1@tmp/durable-a1683db9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-22T03:18:27.393Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-22T03:18:27.685Z] Warning: overwriting stash ‘stack-cost’ [2023-11-22T03:18:27.742Z] Stashed 1 file(s) [Pipeline] } [2023-11-22T03:18:27.770Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-413-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-22T03:18:27.938Z] $ docker stop --time=1 0c47fb52e69414db211ada5ec52df2e05ce20bb04c6a8ede95f787a6ca3ed3df [2023-11-22T03:18:29.828Z] $ docker rm -f --volumes 0c47fb52e69414db211ada5ec52df2e05ce20bb04c6a8ede95f787a6ca3ed3df [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 [2023-11-22T03:18:31.793Z] provisioning config files... [2023-11-22T03:18:31.801Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-413@tmp/config1364628673640138887tmp [Pipeline] { [Pipeline] sh [2023-11-22T03:18:32.225Z] + set +x [2023-11-22T03:18:32.225Z] + curl -s https://codecov.io/bash [2023-11-22T03:18:32.225Z] + bash -s -- [2023-11-22T03:18:32.225Z] [2023-11-22T03:18:32.225Z] _____ _ [2023-11-22T03:18:32.225Z] / ____| | | [2023-11-22T03:18:32.225Z] | | ___ __| | ___ ___ _____ __ [2023-11-22T03:18:32.225Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-22T03:18:32.225Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-22T03:18:32.225Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-22T03:18:32.225Z] Bash-1.0.6 [2023-11-22T03:18:32.225Z] [2023-11-22T03:18:32.225Z] [2023-11-22T03:18:32.225Z] ==> git version 2.25.1 found [2023-11-22T03:18:32.225Z] ==> 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 [2023-11-22T03:18:32.225Z] Release-Date: 2020-01-08 [2023-11-22T03:18:32.225Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-22T03:18:32.225Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-22T03:18:32.225Z] ==> Jenkins CI detected. [2023-11-22T03:18:32.225Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-413 [2023-11-22T03:18:32.225Z] project root: . [2023-11-22T03:18:32.225Z] --> token set from env [2023-11-22T03:18:32.225Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-22T03:18:32.225Z] ==> Running gcov in . (disable via -X gcov) [2023-11-22T03:18:32.225Z] ==> Python coveragepy not found [2023-11-22T03:18:32.225Z] ==> Searching for coverage reports in: [2023-11-22T03:18:32.225Z] + . [2023-11-22T03:18:32.225Z] -> Found 1 reports [2023-11-22T03:18:32.225Z] ==> Detecting git/mercurial file structure [2023-11-22T03:18:32.485Z] ==> Reading reports [2023-11-22T03:18:32.485Z] + ./coverage.out bytes=78456 [2023-11-22T03:18:32.485Z] ==> Appending adjustments [2023-11-22T03:18:32.485Z] https://docs.codecov.io/docs/fixing-reports [2023-11-22T03:18:32.485Z] + Found adjustments [2023-11-22T03:18:32.485Z] ==> Gzipping contents [2023-11-22T03:18:32.485Z] 12K /tmp/codecov.6GWWDQ.gz [2023-11-22T03:18:32.485Z] ==> Uploading reports [2023-11-22T03:18:32.485Z] url: https://codecov.io [2023-11-22T03:18:32.485Z] query: branch=PR-413&commit=8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-413%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=413&job=&cmd_args= [2023-11-22T03:18:32.485Z] -> Pinging Codecov [2023-11-22T03:18:32.485Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-413&commit=8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-413%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=413&job=&cmd_args= [2023-11-22T03:18:32.746Z] -> Uploading to [2023-11-22T03:18:32.746Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-22/F29A59C45E3A92E06B3E522C9905F8EF/8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72/d477a34b-5af3-4549-b290-f6bac393a7da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231122T031832Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54236d8d1e96b08dde5f216a4b6cbf21e8c9666719b362605680643374d68632 [2023-11-22T03:18:32.746Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-22T03:18:32.746Z] Dload Upload Total Spent Left Speed [2023-11-22T03:18:33.007Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 39610 --:--:-- --:--:-- --:--:-- 39610 [2023-11-22T03:18:33.007Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/8fd7a5538ffe64b97b33ae09ed20ebc4b8ee4f72 [Pipeline] } [2023-11-22T03:18:33.034Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-22T03:18:36.198Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-413/archives ] [2023-11-22T03:18:36.198Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-413/archives [2023-11-22T03:18:36.198Z] total 16 [2023-11-22T03:18:36.198Z] drwxr-xr-x 3 root root 4096 Nov 22 03:09 . [2023-11-22T03:18:36.198Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 22 03:09 .. [2023-11-22T03:18:36.198Z] drwxr-xr-x 2 root root 4096 Nov 22 03:09 cost [2023-11-22T03:18:36.198Z] -rw-r--r-- 1 root root 91 Nov 22 03:09 cost.csv [2023-11-22T03:18:36.198Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-413/archives [2023-11-22T03:18:36.198Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-413/archives [2023-11-22T03:18:36.198Z] total 16 [2023-11-22T03:18:36.198Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 22 03:09 . [2023-11-22T03:18:36.198Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 22 03:09 .. [2023-11-22T03:18:36.198Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 22 03:09 cost [2023-11-22T03:18:36.198Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 22 03:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-22T03:18:36.530Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-22T03:18:37.420Z] ---> package-listing.sh [2023-11-22T03:18:37.420Z] ++ facter osfamily [2023-11-22T03:18:37.420Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-22T03:18:37.679Z] + OS_FAMILY=debian [2023-11-22T03:18:37.679Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-413 [2023-11-22T03:18:37.679Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-22T03:18:37.679Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-22T03:18:37.679Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-22T03:18:37.679Z] + PACKAGES=/tmp/packages_start.txt [2023-11-22T03:18:37.679Z] + '[' /w/workspace/undry_device-onvif-camera_PR-413 ']' [2023-11-22T03:18:37.679Z] + PACKAGES=/tmp/packages_end.txt [2023-11-22T03:18:37.679Z] + case "${OS_FAMILY}" in [2023-11-22T03:18:37.679Z] + dpkg -l [2023-11-22T03:18:37.679Z] + grep '^ii' [2023-11-22T03:18:37.679Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-22T03:18:37.679Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-22T03:18:37.679Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-22T03:18:37.679Z] + '[' /w/workspace/undry_device-onvif-camera_PR-413 ']' [2023-11-22T03:18:37.679Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-413/archives/ [2023-11-22T03:18:37.679Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-413/archives/ [Pipeline] echo [2023-11-22T03:18:37.712Z] 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-413/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-22T03:18:38.004Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-22T03:18:38.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-22T03:18:38.672Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-22T03:18:38.918Z] prd-ubuntu20.04-docker-8c-8g-809 does not seem to be running inside a container [2023-11-22T03:18:38.946Z] $ 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-413/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-413 -v /w/workspace/undry_device-onvif-camera_PR-413:/w/workspace/undry_device-onvif-camera_PR-413:rw,z -v /w/workspace/undry_device-onvif-camera_PR-413@tmp:/w/workspace/undry_device-onvif-camera_PR-413@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-22T03:18:39.131Z] $ docker top cd6dbc694729605473a55be69541a7f68f79067688a3b5913875c6027ffc37c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-22T03:18:39.610Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-22T03:18:39.927Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-22T03:18:40.240Z] + ls /var/log/sa-host [2023-11-22T03:18:40.240Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-22T03:18:40.493Z] provisioning config files... [2023-11-22T03:18:40.502Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-413@tmp/config9381355842698949657tmp [Pipeline] { [Pipeline] echo [2023-11-22T03:18:40.650Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-22T03:18:40.959Z] ---> create-netrc.sh [Pipeline] } [2023-11-22T03:18:40.987Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-22T03:18:41.486Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-22T03:18:41.520Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-22T03:18:41.831Z] ---> sudo-logs.sh [2023-11-22T03:18:41.831Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-22T03:18:41.969Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-22T03:18:42.278Z] ---> job-cost.sh [2023-11-22T03:18:42.278Z] lf-activate-venv: SKIPPING [2023-11-22T03:18:42.278Z] DEBUG: total: 0.2199999988079071 [2023-11-22T03:18:42.278Z] INFO: Retrieving Stack Cost... [2023-11-22T03:18:42.846Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-22T03:18:43.114Z] INFO: Archiving Costs [Pipeline] echo [2023-11-22T03:18:43.147Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-22T03:18:43.455Z] ---> logs-deploy.sh [2023-11-22T03:18:43.455Z] lf-activate-venv: SKIPPING [2023-11-22T03:18:43.455Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-413/1 [2023-11-22T03:18:43.455Z] INFO: archiving workspace using pattern(s): [2023-11-22T03:18:44.392Z] Archives upload complete. [2023-11-22T03:18:44.392Z] INFO: archiving logs to Nexus