Pull request #436 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 393248944dc81822e0679d469390d8659acd64b6+347bedc82416808981921f39711ea6e4405fc751 (ef4204d3155d108c3caa07d4803b1e82ed4344f6) 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-ssh5281286143326804248.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh12865918136177779928.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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-436/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-436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3913202484661190725.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-436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7772919076737811586.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh2062762606843429158.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-436/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-436/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13715125498981255362.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-841 in /w/workspace/undry_device-onvif-camera_PR-436 [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-436 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/436/head:refs/remotes/origin/PR-436 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 Merging remotes/origin/napa commit 347bedc82416808981921f39711ea6e4405fc751 into PR head commit 393248944dc81822e0679d469390d8659acd64b6 Merge succeeded, producing 393248944dc81822e0679d469390d8659acd64b6 Checking out Revision 393248944dc81822e0679d469390d8659acd64b6 (PR-436) > git config core.sparsecheckout # timeout=10 > git checkout -f 393248944dc81822e0679d469390d8659acd64b6 # 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 347bedc82416808981921f39711ea6e4405fc751 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 393248944dc81822e0679d469390d8659acd64b6 # timeout=10 Commit message: "build: Bump SDK to v3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-27T09:39:54.895Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-27T09:39:55.135Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-27T09:39:55.274Z] ========================================================= [2024-05-27T09:39:55.274Z] EdgeX Global Pipelines Version Info [2024-05-27T09:39:55.274Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:39:56.073Z] ------------------- [2024-05-27T09:39:56.073Z] stable info: [2024-05-27T09:39:56.073Z] ------------------- [2024-05-27T09:39:56.073Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-27T09:39:56.073Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-27T09:39:56.073Z] Message: update stable to v1.0.259 [2024-05-27T09:39:56.644Z] ------------------- [2024-05-27T09:39:56.644Z] experimental info: [2024-05-27T09:39:56.644Z] ------------------- [2024-05-27T09:39:56.644Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-27T09:39:56.644Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-27T09:39:56.644Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-27T09:39:56.857Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-05-27T09:39:56.915Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-05-27T09:39:56.976Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-27T09:39:57.032Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-27T09:39:57.097Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-27T09:39:57.156Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-27T09:39:57.215Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-27T09:39:57.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-27T09:39:57.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-27T09:39:57.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-27T09:39:57.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-27T09:39:57.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-05-27T09:39:57.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-27T09:39:57.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-27T09:39:57.702Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-27T09:39:57.762Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-27T09:39:57.821Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T09:39:57.879Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T09:39:57.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-27T09:39:57.998Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-27T09:39:58.053Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-27T09:39:58.111Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-05-27T09:39:58.167Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-27T09:39:58.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-27T09:39:58.286Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-27T09:39:58.342Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-27T09:39:58.408Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-27T09:39:58.470Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-436 [Pipeline] echo [2024-05-27T09:39:58.530Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-436 [Pipeline] echo [2024-05-27T09:39:58.582Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-436 [Pipeline] echo [2024-05-27T09:39:58.638Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 393248944dc81822e0679d469390d8659acd64b6 [Pipeline] echo [2024-05-27T09:39:58.692Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3932489 [Pipeline] echo [2024-05-27T09:39:58.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T09:39:58.914Z] provisioning config files... [2024-05-27T09:39:58.926Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-436@tmp/config1360722553406468733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:39:59.330Z] ---> ****-login.sh [2024-05-27T09:39:59.330Z] nexus3.edgexfoundry.org:10001 [2024-05-27T09:39:59.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:39:59.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:39:59.590Z] Configure a credential helper to remove this warning. See [2024-05-27T09:39:59.590Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:39:59.590Z] [2024-05-27T09:39:59.590Z] Login Succeeded [2024-05-27T09:39:59.590Z] nexus3.edgexfoundry.org:10002 [2024-05-27T09:39:59.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:39:59.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:39:59.590Z] Configure a credential helper to remove this warning. See [2024-05-27T09:39:59.590Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:39:59.590Z] [2024-05-27T09:39:59.590Z] Login Succeeded [2024-05-27T09:39:59.590Z] nexus3.edgexfoundry.org:10003 [2024-05-27T09:39:59.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:39:59.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:39:59.852Z] Configure a credential helper to remove this warning. See [2024-05-27T09:39:59.852Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:39:59.852Z] [2024-05-27T09:39:59.852Z] Login Succeeded [2024-05-27T09:39:59.852Z] nexus3.edgexfoundry.org:10004 [2024-05-27T09:39:59.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:39:59.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:39:59.852Z] Configure a credential helper to remove this warning. See [2024-05-27T09:39:59.852Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:39:59.852Z] [2024-05-27T09:39:59.852Z] Login Succeeded [2024-05-27T09:39:59.852Z] ****.io [2024-05-27T09:39:59.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:40:00.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:40:00.112Z] Configure a credential helper to remove this warning. See [2024-05-27T09:40:00.112Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:40:00.112Z] [2024-05-27T09:40:00.112Z] Login Succeeded [2024-05-27T09:40:00.113Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T09:40:00.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-27T09:40:00.885Z] + git rev-list -1 --merges 393248944dc81822e0679d469390d8659acd64b6~1..393248944dc81822e0679d469390d8659acd64b6 [Pipeline] echo [2024-05-27T09:40:00.939Z] -----------> git rev-list -1 --merges 393248944dc81822e0679d469390d8659acd64b6~1..393248944dc81822e0679d469390d8659acd64b6 393248944dc81822e0679d469390d8659acd64b6 [false] [Pipeline] sh [2024-05-27T09:40:01.261Z] + git log --format=format:%s -1 393248944dc81822e0679d469390d8659acd64b6 [Pipeline] echo [2024-05-27T09:40:01.302Z] ========================================================= [2024-05-27T09:40:01.302Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-27T09:40:01.302Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T09:40:01.859Z] + git log --format=format:%s -1 393248944dc81822e0679d469390d8659acd64b6 [Pipeline] echo [2024-05-27T09:40:01.898Z] [semverPrep] GIT_COMMIT: 393248944dc81822e0679d469390d8659acd64b6, Commit Message: build: Bump SDK to v3.1.1 [Pipeline] echo [2024-05-27T09:40:01.941Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-27T09:40:02.340Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-27T09:40:02.340Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-27T09:40:02.340Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-27T09:40:02.340Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-27T09:40:02.340Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-27T09:40:02.340Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-27T09:40:02.340Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:40:02.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T09:40:02.894Z] [2024-05-27T09:40:02.894Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:40:03.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T09:40:03.292Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-27T09:40:03.292Z] b85a868b505f: Pulling fs layer [2024-05-27T09:40:03.292Z] e2be974225ed: Pulling fs layer [2024-05-27T09:40:03.292Z] 339a4e72a1f5: Pulling fs layer [2024-05-27T09:40:03.292Z] 988bab9f4d93: Pulling fs layer [2024-05-27T09:40:03.292Z] 1469e6f7b9e6: Pulling fs layer [2024-05-27T09:40:03.292Z] eaf3925da568: Pulling fs layer [2024-05-27T09:40:03.292Z] bab4dde63d76: Pulling fs layer [2024-05-27T09:40:03.292Z] bde34c3a00c8: Pulling fs layer [2024-05-27T09:40:03.292Z] b352a97aabf1: Pulling fs layer [2024-05-27T09:40:03.292Z] 4872d77fe225: Pulling fs layer [2024-05-27T09:40:03.292Z] 5851b861e8e6: Pulling fs layer [2024-05-27T09:40:03.292Z] bde34c3a00c8: Waiting [2024-05-27T09:40:03.292Z] 988bab9f4d93: Waiting [2024-05-27T09:40:03.292Z] 1469e6f7b9e6: Waiting [2024-05-27T09:40:03.292Z] eaf3925da568: Waiting [2024-05-27T09:40:03.292Z] bab4dde63d76: Waiting [2024-05-27T09:40:03.292Z] b352a97aabf1: Waiting [2024-05-27T09:40:03.292Z] 4872d77fe225: Waiting [2024-05-27T09:40:03.292Z] 5851b861e8e6: Waiting [2024-05-27T09:40:03.292Z] e2be974225ed: Download complete [2024-05-27T09:40:03.292Z] 988bab9f4d93: Verifying Checksum [2024-05-27T09:40:03.292Z] 988bab9f4d93: Download complete [2024-05-27T09:40:03.292Z] 1469e6f7b9e6: Verifying Checksum [2024-05-27T09:40:03.292Z] 1469e6f7b9e6: Download complete [2024-05-27T09:40:03.292Z] 339a4e72a1f5: Verifying Checksum [2024-05-27T09:40:03.292Z] 339a4e72a1f5: Download complete [2024-05-27T09:40:03.292Z] eaf3925da568: Verifying Checksum [2024-05-27T09:40:03.292Z] eaf3925da568: Download complete [2024-05-27T09:40:03.292Z] bde34c3a00c8: Verifying Checksum [2024-05-27T09:40:03.292Z] bde34c3a00c8: Download complete [2024-05-27T09:40:03.552Z] b352a97aabf1: Download complete [2024-05-27T09:40:03.552Z] 4872d77fe225: Download complete [2024-05-27T09:40:03.553Z] 5851b861e8e6: Verifying Checksum [2024-05-27T09:40:03.553Z] 5851b861e8e6: Download complete [2024-05-27T09:40:03.553Z] b85a868b505f: Verifying Checksum [2024-05-27T09:40:03.553Z] b85a868b505f: Download complete [2024-05-27T09:40:03.812Z] bab4dde63d76: Verifying Checksum [2024-05-27T09:40:03.812Z] bab4dde63d76: Download complete [2024-05-27T09:40:04.756Z] b85a868b505f: Pull complete [2024-05-27T09:40:04.756Z] e2be974225ed: Pull complete [2024-05-27T09:40:05.323Z] 339a4e72a1f5: Pull complete [2024-05-27T09:40:05.323Z] 988bab9f4d93: Pull complete [2024-05-27T09:40:05.583Z] 1469e6f7b9e6: Pull complete [2024-05-27T09:40:05.583Z] eaf3925da568: Pull complete [2024-05-27T09:40:06.964Z] bab4dde63d76: Pull complete [2024-05-27T09:40:07.236Z] bde34c3a00c8: Pull complete [2024-05-27T09:40:07.236Z] b352a97aabf1: Pull complete [2024-05-27T09:40:07.236Z] 4872d77fe225: Pull complete [2024-05-27T09:40:07.494Z] 5851b861e8e6: Pull complete [2024-05-27T09:40:07.494Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-27T09:40:07.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T09:40:07.494Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:40:07.775Z] prd-ubuntu20.04-docker-8c-8g-841 does not seem to be running inside a container [2024-05-27T09:40:07.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-436 -v /w/workspace/undry_device-onvif-camera_PR-436:/w/workspace/undry_device-onvif-camera_PR-436:rw,z -v /w/workspace/undry_device-onvif-camera_PR-436@tmp:/w/workspace/undry_device-onvif-camera_PR-436@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-devops/py-git-semver:0.1.4 cat [2024-05-27T09:40:10.121Z] $ docker top bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 -eo pid,comm [2024-05-27T09:40:10.171Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-05-27T09:40:10.171Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-27T09:40:10.335Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-27T09:40:10.335Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-27T09:40:10.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-27T09:40:10.461Z] $ docker exec bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 ssh-agent [2024-05-27T09:40:10.560Z] SSH_AUTH_SOCK=/tmp/ssh-qoU0eJDFWAF6/agent.31 [2024-05-27T09:40:10.560Z] SSH_AGENT_PID=37 [2024-05-27T09:40:10.566Z] Running ssh-add (command line suppressed) [2024-05-27T09:40:10.660Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-436@tmp/private_key_13797043420878485613.key (/w/workspace/undry_device-onvif-camera_PR-436@tmp/private_key_13797043420878485613.key) [2024-05-27T09:40:10.669Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-27T09:40:11.008Z] + git tag --points-at HEAD [Pipeline] } [2024-05-27T09:40:11.040Z] $ docker exec --env ******** --env ******** bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 ssh-agent -k [2024-05-27T09:40:11.133Z] unset SSH_AUTH_SOCK; [2024-05-27T09:40:11.133Z] unset SSH_AGENT_PID; [2024-05-27T09:40:11.134Z] echo Agent pid 37 killed; [2024-05-27T09:40:11.140Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-27T09:40:11.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-27T09:40:11.244Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-27T09:40:11.343Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-27T09:40:11.349Z] $ docker exec bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 ssh-agent [2024-05-27T09:40:11.439Z] SSH_AUTH_SOCK=/tmp/ssh-7DGhbXXGtksx/agent.70 [2024-05-27T09:40:11.439Z] SSH_AGENT_PID=76 [2024-05-27T09:40:11.443Z] Running ssh-add (command line suppressed) [2024-05-27T09:40:11.540Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-436@tmp/private_key_6704999005069352228.key (/w/workspace/undry_device-onvif-camera_PR-436@tmp/private_key_6704999005069352228.key) [2024-05-27T09:40:11.549Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-27T09:40:11.884Z] + git semver init [2024-05-27T09:40:12.142Z] 2024-05-27 09:40:12,054 [run_init] DEBUG init version:0.0.0 force:False [2024-05-27T09:40:12.142Z] 2024-05-27 09:40:12,055 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-436/.semver [2024-05-27T09:40:12.142Z] 2024-05-27 09:40:12,055 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-436/.semver [2024-05-27T09:40:12.142Z] 2024-05-27 09:40:12,056 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-436/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-436, universal_newlines=False, shell=None, istream=None) [2024-05-27T09:40:13.520Z] 2024-05-27 09:40:13,355 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-436/.git/info/exclude [2024-05-27T09:40:13.520Z] 2024-05-27 09:40:13,356 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-436/.semver/PR-436 with force:False [2024-05-27T09:40:13.520Z] 2024-05-27 09:40:13,356 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-436/.semver/PR-436 [2024-05-27T09:40:13.520Z] 2024-05-27 09:40:13,360 [execute] INFO git cat-file --batch-check [2024-05-27T09:40:13.520Z] 2024-05-27 09:40:13,361 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-436/.semver, universal_newlines=False, shell=None, istream=) [2024-05-27T09:40:13.520Z] 2024-05-27 09:40:13,366 [execute] INFO git cat-file --batch [2024-05-27T09:40:13.520Z] 2024-05-27 09:40:13,367 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-436/.semver, universal_newlines=False, shell=None, istream=) [2024-05-27T09:40:13.520Z] 2024-05-27 09:40:13,371 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-436/.semver/PR-436 [2024-05-27T09:40:13.520Z] 0.0.0 [Pipeline] } [2024-05-27T09:40:13.551Z] $ docker exec --env ******** --env ******** bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 ssh-agent -k [2024-05-27T09:40:13.647Z] unset SSH_AUTH_SOCK; [2024-05-27T09:40:13.648Z] unset SSH_AGENT_PID; [2024-05-27T09:40:13.648Z] echo Agent pid 76 killed; [2024-05-27T09:40:13.653Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-27T09:40:14.126Z] + git semver [Pipeline] } [2024-05-27T09:40:14.416Z] $ docker stop --time=1 bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 [2024-05-27T09:40:15.702Z] $ docker rm -f --volumes bed8b26e2494c8c65d1c5fb6ebfd8b3b2c5e10b9e8e55cb7aa019e706655b538 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T09:40:16.115Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-27T09:40:16.410Z] Stashed 1 file(s) [Pipeline] echo [2024-05-27T09:40:16.433Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T09:40:17.191Z] provisioning config files... [2024-05-27T09:40:17.201Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-436@tmp/config9234350433406451404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:40:17.572Z] ---> ****-login.sh [2024-05-27T09:40:17.572Z] nexus3.edgexfoundry.org:10001 [2024-05-27T09:40:17.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:40:17.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:40:17.572Z] Configure a credential helper to remove this warning. See [2024-05-27T09:40:17.572Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:40:17.572Z] [2024-05-27T09:40:17.572Z] Login Succeeded [2024-05-27T09:40:17.572Z] nexus3.edgexfoundry.org:10002 [2024-05-27T09:40:17.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:40:17.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:40:17.572Z] Configure a credential helper to remove this warning. See [2024-05-27T09:40:17.572Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:40:17.572Z] [2024-05-27T09:40:17.572Z] Login Succeeded [2024-05-27T09:40:17.572Z] nexus3.edgexfoundry.org:10003 [2024-05-27T09:40:17.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:40:17.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:40:17.831Z] Configure a credential helper to remove this warning. See [2024-05-27T09:40:17.831Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:40:17.831Z] [2024-05-27T09:40:17.831Z] Login Succeeded [2024-05-27T09:40:17.831Z] nexus3.edgexfoundry.org:10004 [2024-05-27T09:40:17.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:40:17.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:40:17.831Z] Configure a credential helper to remove this warning. See [2024-05-27T09:40:17.831Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:40:17.831Z] [2024-05-27T09:40:17.831Z] Login Succeeded [2024-05-27T09:40:17.831Z] ****.io [2024-05-27T09:40:17.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:40:18.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:40:18.090Z] Configure a credential helper to remove this warning. See [2024-05-27T09:40:18.090Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:40:18.090Z] [2024-05-27T09:40:18.090Z] Login Succeeded [2024-05-27T09:40:18.090Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T09:40:18.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-27T09:40:18.372Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-27T09:40:18.689Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-27T09:40:18.689Z] + cut -d -f 2 [Pipeline] echo [2024-05-27T09:40:18.735Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T09:40:18.793Z] ========================================================= [2024-05-27T09:40:18.793Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-27T09:40:18.793Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:40:19.307Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-27T09:40:19.572Z] Sending build context to Docker daemon 66.92MB [2024-05-27T09:40:19.572Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T09:40:19.572Z] Step 2/13 : FROM ${BASE} AS builder [2024-05-27T09:40:19.849Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-27T09:40:19.849Z] 619be1103602: Pulling fs layer [2024-05-27T09:40:19.849Z] 7862e08f4a3e: Pulling fs layer [2024-05-27T09:40:19.849Z] 5df492c9dc93: Pulling fs layer [2024-05-27T09:40:19.849Z] 7629e6793208: Pulling fs layer [2024-05-27T09:40:19.849Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T09:40:19.849Z] 8de7f028bff5: Pulling fs layer [2024-05-27T09:40:19.849Z] 44042ff1420b: Pulling fs layer [2024-05-27T09:40:19.849Z] 5cdaf54b7214: Pulling fs layer [2024-05-27T09:40:19.849Z] 38f3e5a9071a: Pulling fs layer [2024-05-27T09:40:19.849Z] 7629e6793208: Waiting [2024-05-27T09:40:19.849Z] 44042ff1420b: Waiting [2024-05-27T09:40:19.849Z] 4f4fb700ef54: Waiting [2024-05-27T09:40:19.849Z] 5cdaf54b7214: Waiting [2024-05-27T09:40:19.849Z] 38f3e5a9071a: Waiting [2024-05-27T09:40:19.849Z] 8de7f028bff5: Waiting [2024-05-27T09:40:19.849Z] 7862e08f4a3e: Verifying Checksum [2024-05-27T09:40:19.849Z] 7862e08f4a3e: Download complete [2024-05-27T09:40:19.849Z] 7629e6793208: Verifying Checksum [2024-05-27T09:40:19.849Z] 7629e6793208: Download complete [2024-05-27T09:40:19.849Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T09:40:19.849Z] 4f4fb700ef54: Download complete [2024-05-27T09:40:19.849Z] 8de7f028bff5: Download complete [2024-05-27T09:40:19.849Z] 619be1103602: Download complete [2024-05-27T09:40:19.849Z] 44042ff1420b: Verifying Checksum [2024-05-27T09:40:19.849Z] 44042ff1420b: Download complete [2024-05-27T09:40:20.108Z] 619be1103602: Pull complete [2024-05-27T09:40:20.108Z] 38f3e5a9071a: Verifying Checksum [2024-05-27T09:40:20.108Z] 7862e08f4a3e: Pull complete [2024-05-27T09:40:20.365Z] 5df492c9dc93: Verifying Checksum [2024-05-27T09:40:20.366Z] 5df492c9dc93: Download complete [2024-05-27T09:40:20.623Z] 5cdaf54b7214: Verifying Checksum [2024-05-27T09:40:20.623Z] 5cdaf54b7214: Download complete [2024-05-27T09:40:23.154Z] 5df492c9dc93: Pull complete [2024-05-27T09:40:23.154Z] 7629e6793208: Pull complete [2024-05-27T09:40:23.154Z] 4f4fb700ef54: Pull complete [2024-05-27T09:40:23.154Z] 8de7f028bff5: Pull complete [2024-05-27T09:40:23.412Z] 44042ff1420b: Pull complete [2024-05-27T09:40:25.953Z] 5cdaf54b7214: Pull complete [2024-05-27T09:40:27.348Z] 38f3e5a9071a: Pull complete [2024-05-27T09:40:27.348Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-27T09:40:27.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-27T09:40:27.613Z] ---> 60b93f829570 [2024-05-27T09:40:27.613Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-05-27T09:40:31.965Z] Still waiting to schedule task [2024-05-27T09:40:31.965Z] ‘prd-centos7-blackbox-4c-2g-738’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-05-27T09:40:31.965Z] ‘prd-ubuntu20.04-docker-8c-8g-837’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-05-27T09:40:31.965Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-839’ is offline [2024-05-27T09:40:31.965Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-842’ is offline [2024-05-27T09:40:35.743Z] ---> Running in 682fe7d8d0d1 [2024-05-27T09:40:35.743Z] Removing intermediate container 682fe7d8d0d1 [2024-05-27T09:40:35.743Z] ---> 9044eabbe451 [2024-05-27T09:40:35.743Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-27T09:40:35.743Z] ---> Running in 99a632f2a9ad [2024-05-27T09:40:35.743Z] Removing intermediate container 99a632f2a9ad [2024-05-27T09:40:35.743Z] ---> c299842f3a9b [2024-05-27T09:40:35.743Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-05-27T09:40:35.743Z] ---> Running in 30cf6047daf5 [2024-05-27T09:40:35.743Z] Removing intermediate container 30cf6047daf5 [2024-05-27T09:40:35.743Z] ---> 9f8fa9286557 [2024-05-27T09:40:35.743Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-05-27T09:40:35.743Z] ---> Running in fcb17e58fbd9 [2024-05-27T09:40:35.743Z] Removing intermediate container fcb17e58fbd9 [2024-05-27T09:40:35.743Z] ---> 4badcc552dd3 [2024-05-27T09:40:35.743Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-05-27T09:40:35.743Z] ---> Running in 586c6357fc9a [2024-05-27T09:40:35.743Z] Removing intermediate container 586c6357fc9a [2024-05-27T09:40:35.743Z] ---> 5fcc274128de [2024-05-27T09:40:35.743Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-27T09:40:35.743Z] ---> Running in 432770634e8f [2024-05-27T09:40:36.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T09:40:36.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T09:40:36.576Z] OK: 264 MiB in 52 packages [2024-05-27T09:40:36.838Z] Removing intermediate container 432770634e8f [2024-05-27T09:40:36.838Z] ---> 2629db998b62 [2024-05-27T09:40:36.838Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-05-27T09:40:36.838Z] ---> Running in 949efcb101cd [2024-05-27T09:40:36.838Z] Removing intermediate container 949efcb101cd [2024-05-27T09:40:36.838Z] ---> 20e48473244a [2024-05-27T09:40:36.838Z] Step 10/13 : COPY go.mod vendor* ./ [2024-05-27T09:40:38.784Z] ---> 4c7c20108cca [2024-05-27T09:40:38.784Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T09:40:38.784Z] ---> Running in 44a75720e1c3 [2024-05-27T09:41:18.378Z] Removing intermediate container 44a75720e1c3 [2024-05-27T09:41:18.378Z] ---> b3e5d802a370 [2024-05-27T09:41:18.378Z] Step 12/13 : COPY . . [2024-05-27T09:41:18.378Z] ---> cd6dcc2c1fa2 [2024-05-27T09:41:18.378Z] Step 13/13 : RUN ${MAKE} [2024-05-27T09:41:18.378Z] ---> Running in 455f23a5b50b [2024-05-27T09:41:18.378Z] noop [2024-05-27T09:41:18.378Z] Removing intermediate container 455f23a5b50b [2024-05-27T09:41:18.378Z] ---> c91ff46210f6 [2024-05-27T09:41:18.378Z] Successfully built c91ff46210f6 [2024-05-27T09:41:18.378Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:41:18.869Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-27T09:41:18.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:41:19.038Z] prd-ubuntu20.04-docker-8c-8g-841 does not seem to be running inside a container [2024-05-27T09:41:19.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-436 -v /w/workspace/undry_device-onvif-camera_PR-436:/w/workspace/undry_device-onvif-camera_PR-436:rw,z -v /w/workspace/undry_device-onvif-camera_PR-436@tmp:/w/workspace/undry_device-onvif-camera_PR-436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-27T09:41:19.426Z] $ docker top d75fb26e371d8276cb63e39f1f76e7a079219570d82c76e64324917c43f3d380 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T09:41:19.838Z] + go version [2024-05-27T09:41:19.838Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-27T09:41:19.873Z] $ docker stop --time=1 d75fb26e371d8276cb63e39f1f76e7a079219570d82c76e64324917c43f3d380 [2024-05-27T09:41:21.205Z] $ docker rm -f --volumes d75fb26e371d8276cb63e39f1f76e7a079219570d82c76e64324917c43f3d380 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:41:21.978Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-27T09:41:21.978Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:41:22.145Z] prd-ubuntu20.04-docker-8c-8g-841 does not seem to be running inside a container [2024-05-27T09:41:22.181Z] $ 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-436 -v /w/workspace/undry_device-onvif-camera_PR-436:/w/workspace/undry_device-onvif-camera_PR-436:rw,z -v /w/workspace/undry_device-onvif-camera_PR-436@tmp:/w/workspace/undry_device-onvif-camera_PR-436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-27T09:41:22.472Z] $ docker top 734080cad9add8c377ec28c242c6d29b49e3ab847ea99119e1f87fa3999911c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T09:41:22.879Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-436 [Pipeline] fileExists [Pipeline] sh [2024-05-27T09:41:23.255Z] + make test [2024-05-27T09:41:23.255Z] go test ./... -coverprofile=coverage.out ./... [2024-05-27T09:41:26.540Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-05-27T09:41:36.507Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-05-27T09:41:36.766Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-05-27T09:41:38.664Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.5% of statements [2024-05-27T09:41:38.923Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.181s coverage: 86.5% of statements [2024-05-27T09:41:45.481Z] go vet ./... [2024-05-27T09:41:49.667Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-27T09:41:49.667Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-27T09:41:49.667Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-27T09:41:49.713Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-27T09:41:50.093Z] + go mod tidy [Pipeline] } [2024-05-27T09:41:50.381Z] $ docker stop --time=1 734080cad9add8c377ec28c242c6d29b49e3ab847ea99119e1f87fa3999911c8 [2024-05-27T09:41:53.196Z] $ docker rm -f --volumes 734080cad9add8c377ec28c242c6d29b49e3ab847ea99119e1f87fa3999911c8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T09:41:53.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-27T09:41:53.876Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-27T09:41:54.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-27T09:41:54.940Z] + ls -al . [2024-05-27T09:41:54.940Z] total 244 [2024-05-27T09:41:54.940Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 09:41 . [2024-05-27T09:41:54.940Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:39 .. [2024-05-27T09:41:54.940Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 09:41 .git [2024-05-27T09:41:54.940Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:39 .github [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 493 May 27 09:39 .gitignore [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 09:39 .golangci.yml [2024-05-27T09:41:54.940Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 09:40 .semver [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 11174 May 27 09:39 Attribution.txt [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 17665 May 27 09:39 CHANGELOG.md [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 1683 May 27 09:39 Dockerfile [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 09:39 GOVERNANCE.md [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 739 May 27 09:39 Jenkinsfile [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 27 09:39 LICENSE [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 2877 May 27 09:39 Makefile [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 625 May 27 09:39 OWNERS.md [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 2620 May 27 09:39 README.md [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 5 May 27 09:40 VERSION [2024-05-27T09:41:54.940Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:39 bin [2024-05-27T09:41:54.940Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:39 cmd [2024-05-27T09:41:54.940Z] -rw-r--r-- 1 jenkins jenkins 78456 May 27 09:41 coverage.out [2024-05-27T09:41:54.940Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:39 doc [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 4010 May 27 09:39 go.mod [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 34789 May 27 09:39 go.sum [2024-05-27T09:41:54.940Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:39 internal [2024-05-27T09:41:54.940Z] drwxrwxr-x 6 jenkins jenkins 4096 May 27 09:39 vendor [2024-05-27T09:41:54.940Z] -rw-rw-r-- 1 jenkins jenkins 236 May 27 09:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:41:55.363Z] + 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=393248944dc81822e0679d469390d8659acd64b6 --label arch=amd64 --label version=0.0.0 . [2024-05-27T09:41:55.621Z] Sending build context to Docker daemon 67MB [2024-05-27T09:41:55.621Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T09:41:55.621Z] Step 2/27 : FROM ${BASE} AS builder [2024-05-27T09:41:55.621Z] ---> c91ff46210f6 [2024-05-27T09:41:55.621Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-05-27T09:41:56.188Z] ---> Running in e3430766844a [2024-05-27T09:41:56.448Z] Removing intermediate container e3430766844a [2024-05-27T09:41:56.448Z] ---> 5f35fcc8c3d4 [2024-05-27T09:41:56.448Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-27T09:41:56.448Z] ---> Running in cba8af980386 [2024-05-27T09:41:56.448Z] Removing intermediate container cba8af980386 [2024-05-27T09:41:56.448Z] ---> 29ebdd6f7882 [2024-05-27T09:41:56.448Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-05-27T09:41:56.448Z] ---> Running in 8187c5bb98b5 [2024-05-27T09:41:56.448Z] Removing intermediate container 8187c5bb98b5 [2024-05-27T09:41:56.448Z] ---> 6a8b40affd7e [2024-05-27T09:41:56.448Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-05-27T09:41:56.448Z] ---> Running in 9167382f00bf [2024-05-27T09:41:56.706Z] Removing intermediate container 9167382f00bf [2024-05-27T09:41:56.706Z] ---> 447eb9ef917d [2024-05-27T09:41:56.706Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-05-27T09:41:56.706Z] ---> Running in 3d54fb98c7c5 [2024-05-27T09:41:56.706Z] Removing intermediate container 3d54fb98c7c5 [2024-05-27T09:41:56.706Z] ---> b2d25c7d5828 [2024-05-27T09:41:56.706Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-27T09:41:56.706Z] ---> Running in e81d3adcdfbc [2024-05-27T09:41:56.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T09:41:57.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T09:41:57.483Z] OK: 264 MiB in 52 packages [2024-05-27T09:41:57.742Z] Removing intermediate container e81d3adcdfbc [2024-05-27T09:41:57.742Z] ---> 79d712471171 [2024-05-27T09:41:57.742Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-05-27T09:41:57.742Z] ---> Running in 5eab34b3e8df [2024-05-27T09:41:57.742Z] Removing intermediate container 5eab34b3e8df [2024-05-27T09:41:57.742Z] ---> 9dd1368b56ef [2024-05-27T09:41:57.742Z] Step 10/27 : COPY go.mod vendor* ./ [2024-05-27T09:41:59.642Z] ---> 3dff9ed55463 [2024-05-27T09:41:59.642Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T09:41:59.642Z] ---> Running in de9c5971f890 [2024-05-27T09:41:59.642Z] skipping... [2024-05-27T09:41:59.901Z] Removing intermediate container de9c5971f890 [2024-05-27T09:41:59.902Z] ---> 1c8a9af8a6b9 [2024-05-27T09:41:59.902Z] Step 12/27 : COPY . . [2024-05-27T09:42:02.450Z] ---> e5eeb3c4ff8d [2024-05-27T09:42:02.451Z] Step 13/27 : RUN ${MAKE} [2024-05-27T09:42:02.451Z] ---> Running in 670ee4a87240 [2024-05-27T09:42:02.451Z] 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.1" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-05-27T09:42:24.443Z] Removing intermediate container 670ee4a87240 [2024-05-27T09:42:24.443Z] ---> e2379dcf8954 [2024-05-27T09:42:24.443Z] Step 14/27 : FROM alpine:3.18 [2024-05-27T09:42:24.443Z] 3.18: Pulling from library/alpine [2024-05-27T09:42:24.443Z] 619be1103602: Already exists [2024-05-27T09:42:24.443Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-27T09:42:24.443Z] Status: Downloaded newer image for alpine:3.18 [2024-05-27T09:42:24.443Z] ---> d3782b16ccc9 [2024-05-27T09:42:24.443Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-05-27T09:42:24.443Z] ---> Running in 1dd81e7d4ee5 [2024-05-27T09:42:24.443Z] Removing intermediate container 1dd81e7d4ee5 [2024-05-27T09:42:24.443Z] ---> 7c19971c24b9 [2024-05-27T09:42:24.443Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-05-27T09:42:24.443Z] ---> Running in 23d01efc98f3 [2024-05-27T09:42:24.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T09:42:24.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T09:42:24.443Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-27T09:42:24.443Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T09:42:24.443Z] OK: 7 MiB in 16 packages [2024-05-27T09:42:24.443Z] Removing intermediate container 23d01efc98f3 [2024-05-27T09:42:24.443Z] ---> c574bc4c1d9e [2024-05-27T09:42:24.443Z] Step 17/27 : RUN apk --no-cache upgrade [2024-05-27T09:42:24.443Z] ---> Running in 9d5fd8b9d58a [2024-05-27T09:42:24.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T09:42:24.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T09:42:24.443Z] Upgrading critical system libraries and apk-tools: [2024-05-27T09:42:24.443Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-27T09:42:24.443Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T09:42:24.443Z] Continuing the upgrade transaction with new apk-tools: [2024-05-27T09:42:24.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T09:42:24.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T09:42:24.443Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T09:42:24.443Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-27T09:42:24.443Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T09:42:24.443Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-27T09:42:24.443Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T09:42:24.443Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T09:42:24.443Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T09:42:24.443Z] Executing busybox-1.36.1-r6.trigger [2024-05-27T09:42:24.443Z] OK: 7 MiB in 16 packages [2024-05-27T09:42:24.443Z] Removing intermediate container 9d5fd8b9d58a [2024-05-27T09:42:24.443Z] ---> dde3bc6f67ef [2024-05-27T09:42:24.443Z] Step 18/27 : WORKDIR / [2024-05-27T09:42:24.704Z] ---> Running in e3814a2a7840 [2024-05-27T09:42:24.704Z] Removing intermediate container e3814a2a7840 [2024-05-27T09:42:24.704Z] ---> 868f135d9378 [2024-05-27T09:42:24.704Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-05-27T09:42:25.273Z] ---> b56ecf452764 [2024-05-27T09:42:25.273Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-05-27T09:42:25.539Z] ---> 7cd48aa2571b [2024-05-27T09:42:25.539Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-05-27T09:42:25.539Z] ---> 3240895d5e3f [2024-05-27T09:42:25.539Z] Step 22/27 : EXPOSE 59984 [2024-05-27T09:42:25.539Z] ---> Running in cd221f57e271 [2024-05-27T09:42:25.798Z] Removing intermediate container cd221f57e271 [2024-05-27T09:42:25.798Z] ---> a8d342379844 [2024-05-27T09:42:25.798Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-05-27T09:42:25.798Z] ---> Running in f1cd6cb209c0 [2024-05-27T09:42:25.798Z] Removing intermediate container f1cd6cb209c0 [2024-05-27T09:42:25.798Z] ---> e7d0aecae519 [2024-05-27T09:42:25.798Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-27T09:42:25.798Z] ---> Running in 230f28bd678c [2024-05-27T09:42:25.798Z] Removing intermediate container 230f28bd678c [2024-05-27T09:42:25.798Z] ---> 02ed2b8231f0 [2024-05-27T09:42:25.798Z] Step 25/27 : LABEL arch=amd64 [2024-05-27T09:42:25.798Z] ---> Running in a0d91b46c7e8 [2024-05-27T09:42:26.057Z] Removing intermediate container a0d91b46c7e8 [2024-05-27T09:42:26.057Z] ---> 14ff7a456c91 [2024-05-27T09:42:26.057Z] Step 26/27 : LABEL git_sha=393248944dc81822e0679d469390d8659acd64b6 [2024-05-27T09:42:26.057Z] ---> Running in 4ffe484f5c67 [2024-05-27T09:42:26.057Z] Removing intermediate container 4ffe484f5c67 [2024-05-27T09:42:26.057Z] ---> 24e60618606f [2024-05-27T09:42:26.057Z] Step 27/27 : LABEL version=0.0.0 [2024-05-27T09:42:26.057Z] ---> Running in 39ced96ac0bb [2024-05-27T09:42:26.057Z] Removing intermediate container 39ced96ac0bb [2024-05-27T09:42:26.057Z] ---> c0e438b4ee96 [2024-05-27T09:42:26.057Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-27T09:42:26.315Z] Successfully built c0e438b4ee96 [2024-05-27T09:42:26.315Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:42:27.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T09:42:27.336Z] [2024-05-27T09:42:27.336Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:42:27.742Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T09:42:27.742Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-27T09:42:27.742Z] 5eb5b503b376: Pulling fs layer [2024-05-27T09:42:27.742Z] 5c69ac0246d0: Pulling fs layer [2024-05-27T09:42:27.742Z] ec43610c2a17: Pulling fs layer [2024-05-27T09:42:27.742Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-27T09:42:27.742Z] 33b1e0a273af: Pulling fs layer [2024-05-27T09:42:27.742Z] 33b1e0a273af: Waiting [2024-05-27T09:42:27.742Z] 5d3b04190fa2: Pulling fs layer [2024-05-27T09:42:27.742Z] 2f39f015ded8: Pulling fs layer [2024-05-27T09:42:27.742Z] 3a2ae6a8a46f: Waiting [2024-05-27T09:42:27.742Z] 2f39f015ded8: Waiting [2024-05-27T09:42:27.742Z] 5d3b04190fa2: Waiting [2024-05-27T09:42:27.742Z] 5c69ac0246d0: Download complete [2024-05-27T09:42:27.742Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-27T09:42:27.742Z] 3a2ae6a8a46f: Download complete [2024-05-27T09:42:27.742Z] 33b1e0a273af: Verifying Checksum [2024-05-27T09:42:27.742Z] 33b1e0a273af: Download complete [2024-05-27T09:42:27.742Z] ec43610c2a17: Verifying Checksum [2024-05-27T09:42:27.742Z] ec43610c2a17: Download complete [2024-05-27T09:42:27.742Z] 5d3b04190fa2: Download complete [2024-05-27T09:42:28.000Z] 5eb5b503b376: Verifying Checksum [2024-05-27T09:42:28.000Z] 5eb5b503b376: Download complete [2024-05-27T09:42:28.931Z] 5eb5b503b376: Pull complete [2024-05-27T09:42:29.189Z] 5c69ac0246d0: Pull complete [2024-05-27T09:42:29.446Z] ec43610c2a17: Pull complete [2024-05-27T09:42:29.446Z] 3a2ae6a8a46f: Pull complete [2024-05-27T09:42:29.705Z] 33b1e0a273af: Pull complete [2024-05-27T09:42:29.705Z] 5d3b04190fa2: Pull complete [2024-05-27T09:42:33.887Z] 2f39f015ded8: Pull complete [2024-05-27T09:42:33.887Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-27T09:42:33.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T09:42:33.887Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:42:34.134Z] prd-ubuntu20.04-docker-8c-8g-841 does not seem to be running inside a container [2024-05-27T09:42:34.169Z] $ 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-436 -v /w/workspace/undry_device-onvif-camera_PR-436:/w/workspace/undry_device-onvif-camera_PR-436:rw,z -v /w/workspace/undry_device-onvif-camera_PR-436@tmp:/w/workspace/undry_device-onvif-camera_PR-436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-27T09:42:37.117Z] $ docker top 97229b1d281ce698cdb13bddf7310c9e8f5e18e076ea3a6651c30b2bca2d6372 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:42:37.665Z] ---> job-cost.sh [2024-05-27T09:42:37.665Z] lf-activate-venv: SKIPPING [2024-05-27T09:42:37.665Z] INFO: No Stack... [2024-05-27T09:42:37.951Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-27T09:42:38.227Z] INFO: Archiving Costs [Pipeline] sh [2024-05-27T09:42:38.594Z] + cat /w/workspace/undry_device-onvif-camera_PR-436/archives/cost.csv [2024-05-27T09:42:38.594Z] + cut -d, -f6 [Pipeline] lock [2024-05-27T09:42:38.643Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] [2024-05-27T09:42:38.649Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] did not exist. Created. [2024-05-27T09:42:38.656Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-27T09:42:39.077Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-27T09:42:39.167Z] Stashed 1 file(s) [Pipeline] } [2024-05-27T09:42:39.188Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-27T09:42:39.285Z] $ docker stop --time=1 97229b1d281ce698cdb13bddf7310c9e8f5e18e076ea3a6651c30b2bca2d6372 [2024-05-27T09:42:40.423Z] $ docker rm -f --volumes 97229b1d281ce698cdb13bddf7310c9e8f5e18e076ea3a6651c30b2bca2d6372 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-27T09:43:12.285Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-843 in /w/workspace/undry_device-onvif-camera_PR-436 [Pipeline] { [Pipeline] ws [2024-05-27T09:43:12.363Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-05-27T09:43:12.455Z] The recommended git tool is: git [2024-05-27T09:43:21.281Z] using credential edgex-jenkins-ssh [2024-05-27T09:43:21.309Z] Cloning the remote Git repository [2024-05-27T09:43:21.370Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-05-27T09:43:21.481Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-05-27T09:43:21.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-05-27T09:43:21.688Z] > git --version # timeout=10 [2024-05-27T09:43:21.720Z] > git --version # 'git version 2.25.1' [2024-05-27T09:43:21.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-27T09:43:22.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-27T09:43:25.409Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-05-27T09:43:25.446Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-27T09:43:26.416Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-05-27T09:43:26.461Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-05-27T09:43:26.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-27T09:43:26.488Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/436/head:refs/remotes/origin/PR-436 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 [2024-05-27T09:43:27.985Z] Merging remotes/origin/napa commit 347bedc82416808981921f39711ea6e4405fc751 into PR head commit 393248944dc81822e0679d469390d8659acd64b6 [2024-05-27T09:43:28.004Z] > git config core.sparsecheckout # timeout=10 [2024-05-27T09:43:28.102Z] > git checkout -f 393248944dc81822e0679d469390d8659acd64b6 # timeout=10 [2024-05-27T09:43:29.507Z] Merge succeeded, producing 393248944dc81822e0679d469390d8659acd64b6 [2024-05-27T09:43:29.508Z] Checking out Revision 393248944dc81822e0679d469390d8659acd64b6 (PR-436) [2024-05-27T09:43:29.400Z] > git remote # timeout=10 [2024-05-27T09:43:29.419Z] > git config --get remote.origin.url # timeout=10 [2024-05-27T09:43:29.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-27T09:43:29.459Z] > git merge 347bedc82416808981921f39711ea6e4405fc751 # timeout=10 [2024-05-27T09:43:29.489Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-27T09:43:29.520Z] > git config core.sparsecheckout # timeout=10 [2024-05-27T09:43:29.534Z] > git checkout -f 393248944dc81822e0679d469390d8659acd64b6 # timeout=10 [2024-05-27T09:43:30.660Z] Commit message: "build: Bump SDK to v3.1.1" [2024-05-27T09:43:30.713Z] > git --version # timeout=10 [2024-05-27T09:43:30.724Z] > git --version # 'git version 2.25.1' [2024-05-27T09:43:30.740Z] fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T09:43:35.744Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-27T09:43:35.744Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-27T09:43:35.744Z] Dload Upload Total Spent Left Speed [2024-05-27T09:43:35.744Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh [2024-05-27T09:43:36.088Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-27T09:43:36.472Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2024-05-27T09:43:36.472Z] sudo tee /etc/docker/daemon.new [2024-05-27T09:43:36.472Z] { [2024-05-27T09:43:36.472Z] "registry-mirrors": [ [2024-05-27T09:43:36.472Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-27T09:43:36.472Z] ], [2024-05-27T09:43:36.472Z] "bip": "10.250.0.254/24", [2024-05-27T09:43:36.472Z] "hosts": [ [2024-05-27T09:43:36.472Z] "tcp://0.0.0.0:5555", [2024-05-27T09:43:36.472Z] "unix:///var/run/docker.sock" [2024-05-27T09:43:36.472Z] ], [2024-05-27T09:43:36.472Z] "mtu": 1458, [2024-05-27T09:43:36.472Z] "selinux-enabled": true, [2024-05-27T09:43:36.472Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-27T09:43:36.472Z] } [Pipeline] sh [2024-05-27T09:43:36.829Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-27T09:43:37.191Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T09:43:55.745Z] provisioning config files... [2024-05-27T09:43:55.772Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2716546308463002453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:43:56.311Z] ---> ****-login.sh [2024-05-27T09:43:56.311Z] nexus3.edgexfoundry.org:10001 [2024-05-27T09:43:56.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:43:56.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:43:56.902Z] Configure a credential helper to remove this warning. See [2024-05-27T09:43:56.902Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:43:56.902Z] [2024-05-27T09:43:56.902Z] Login Succeeded [2024-05-27T09:43:56.902Z] nexus3.edgexfoundry.org:10002 [2024-05-27T09:43:57.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:43:57.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:43:57.439Z] Configure a credential helper to remove this warning. See [2024-05-27T09:43:57.439Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:43:57.439Z] [2024-05-27T09:43:57.439Z] Login Succeeded [2024-05-27T09:43:57.439Z] nexus3.edgexfoundry.org:10003 [2024-05-27T09:43:57.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:43:57.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:43:57.715Z] Configure a credential helper to remove this warning. See [2024-05-27T09:43:57.715Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:43:57.715Z] [2024-05-27T09:43:57.715Z] Login Succeeded [2024-05-27T09:43:57.715Z] nexus3.edgexfoundry.org:10004 [2024-05-27T09:43:57.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:43:57.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:43:57.986Z] Configure a credential helper to remove this warning. See [2024-05-27T09:43:57.986Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:43:57.986Z] [2024-05-27T09:43:57.986Z] Login Succeeded [2024-05-27T09:43:57.986Z] ****.io [2024-05-27T09:43:58.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:43:58.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:43:58.526Z] Configure a credential helper to remove this warning. See [2024-05-27T09:43:58.526Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:43:58.526Z] [2024-05-27T09:43:58.526Z] Login Succeeded [2024-05-27T09:43:58.526Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T09:43:58.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-27T09:43:59.019Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-27T09:43:59.361Z] + + cut -d -f 2 [2024-05-27T09:43:59.361Z] grep ^go [0-9].[0-9]* go.mod [Pipeline] echo [2024-05-27T09:43:59.440Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T09:43:59.487Z] ========================================================= [2024-05-27T09:43:59.488Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-27T09:43:59.488Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:44:00.042Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-27T09:44:02.632Z] Sending build context to Docker daemon 53.12MB [2024-05-27T09:44:02.906Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T09:44:02.906Z] Step 2/13 : FROM ${BASE} AS builder [2024-05-27T09:44:02.906Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-27T09:44:02.906Z] c6b39de5b339: Pulling fs layer [2024-05-27T09:44:02.906Z] a69c41024577: Pulling fs layer [2024-05-27T09:44:02.906Z] d6de4b400683: Pulling fs layer [2024-05-27T09:44:02.906Z] 35cb2a7552d0: Pulling fs layer [2024-05-27T09:44:02.906Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T09:44:02.906Z] 9e011611b7f5: Pulling fs layer [2024-05-27T09:44:02.906Z] 3bd174042beb: Pulling fs layer [2024-05-27T09:44:02.906Z] 4476f39b5e91: Pulling fs layer [2024-05-27T09:44:02.906Z] 4f4fb700ef54: Waiting [2024-05-27T09:44:02.906Z] 9e011611b7f5: Waiting [2024-05-27T09:44:02.906Z] 3bd174042beb: Waiting [2024-05-27T09:44:02.906Z] 4476f39b5e91: Waiting [2024-05-27T09:44:02.906Z] 35cb2a7552d0: Waiting [2024-05-27T09:44:02.906Z] a69c41024577: Download complete [2024-05-27T09:44:02.906Z] 35cb2a7552d0: Verifying Checksum [2024-05-27T09:44:02.906Z] 35cb2a7552d0: Download complete [2024-05-27T09:44:03.175Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T09:44:03.175Z] 4f4fb700ef54: Download complete [2024-05-27T09:44:03.175Z] 9e011611b7f5: Verifying Checksum [2024-05-27T09:44:03.175Z] 9e011611b7f5: Download complete [2024-05-27T09:44:03.175Z] c6b39de5b339: Download complete [2024-05-27T09:44:03.445Z] 4476f39b5e91: Verifying Checksum [2024-05-27T09:44:03.446Z] 4476f39b5e91: Download complete [2024-05-27T09:44:04.030Z] c6b39de5b339: Pull complete [2024-05-27T09:44:04.618Z] a69c41024577: Pull complete [2024-05-27T09:44:04.886Z] d6de4b400683: Verifying Checksum [2024-05-27T09:44:04.886Z] d6de4b400683: Download complete [2024-05-27T09:44:06.293Z] 3bd174042beb: Verifying Checksum [2024-05-27T09:44:06.293Z] 3bd174042beb: Download complete [2024-05-27T09:44:18.595Z] d6de4b400683: Pull complete [2024-05-27T09:44:18.864Z] 35cb2a7552d0: Pull complete [2024-05-27T09:44:18.864Z] 4f4fb700ef54: Pull complete [2024-05-27T09:44:19.132Z] 9e011611b7f5: Pull complete [2024-05-27T09:44:29.206Z] 3bd174042beb: Pull complete [2024-05-27T09:44:30.611Z] 4476f39b5e91: Pull complete [2024-05-27T09:44:30.611Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-27T09:44:30.611Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-27T09:44:30.611Z] ---> 981a0608b64a [2024-05-27T09:44:30.611Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-05-27T09:44:32.563Z] ---> Running in fbafcd09733c [2024-05-27T09:44:32.829Z] Removing intermediate container fbafcd09733c [2024-05-27T09:44:32.829Z] ---> 7749bd951e33 [2024-05-27T09:44:32.829Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-27T09:44:32.829Z] ---> Running in 6d902e3966c4 [2024-05-27T09:44:33.098Z] Removing intermediate container 6d902e3966c4 [2024-05-27T09:44:33.098Z] ---> e4229d19ba4d [2024-05-27T09:44:33.098Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-05-27T09:44:33.364Z] ---> Running in 90fd8d166e66 [2024-05-27T09:44:33.633Z] Removing intermediate container 90fd8d166e66 [2024-05-27T09:44:33.633Z] ---> 873470542618 [2024-05-27T09:44:33.633Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-05-27T09:44:33.633Z] ---> Running in d48ff942ee0a [2024-05-27T09:44:33.900Z] Removing intermediate container d48ff942ee0a [2024-05-27T09:44:33.900Z] ---> 4e9cbfe122e1 [2024-05-27T09:44:33.900Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-05-27T09:44:34.166Z] ---> Running in a87bf354c975 [2024-05-27T09:44:34.433Z] Removing intermediate container a87bf354c975 [2024-05-27T09:44:34.433Z] ---> a555b5a3b7b3 [2024-05-27T09:44:34.433Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-27T09:44:34.433Z] ---> Running in f6d52d6169fc [2024-05-27T09:44:35.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T09:44:36.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T09:44:37.087Z] OK: 266 MiB in 52 packages [2024-05-27T09:44:38.052Z] Removing intermediate container f6d52d6169fc [2024-05-27T09:44:38.052Z] ---> 4157beea8b86 [2024-05-27T09:44:38.052Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-05-27T09:44:38.052Z] ---> Running in c1311e7afaf9 [2024-05-27T09:44:38.319Z] Removing intermediate container c1311e7afaf9 [2024-05-27T09:44:38.319Z] ---> 13d423bb9942 [2024-05-27T09:44:38.319Z] Step 10/13 : COPY go.mod vendor* ./ [2024-05-27T09:44:46.525Z] ---> ce0ece60c138 [2024-05-27T09:44:46.525Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T09:44:46.525Z] ---> Running in 246c4604b552 [2024-05-27T09:45:42.945Z] Removing intermediate container 246c4604b552 [2024-05-27T09:45:42.945Z] ---> 900678f3d946 [2024-05-27T09:45:42.945Z] Step 12/13 : COPY . . [2024-05-27T09:45:51.147Z] ---> fdda711d8459 [2024-05-27T09:45:51.147Z] Step 13/13 : RUN ${MAKE} [2024-05-27T09:45:51.147Z] ---> Running in 69839488dd13 [2024-05-27T09:45:51.417Z] noop [2024-05-27T09:45:52.003Z] Removing intermediate container 69839488dd13 [2024-05-27T09:45:52.003Z] ---> d0452e3dd250 [2024-05-27T09:45:52.591Z] Successfully built d0452e3dd250 [2024-05-27T09:45:52.591Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:45:53.119Z] + docker inspect -f . ci-base-image-arm64 [2024-05-27T09:45:53.119Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:45:53.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-843 does not seem to be running inside a container [2024-05-27T09:45:53.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-27T09:45:54.650Z] $ docker top 82326583e0c1a9bc1e61687e2df0dc5540cede8ed4e1ae7089f636e53c28a4b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T09:45:55.555Z] + go version [2024-05-27T09:45:55.555Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-27T09:45:55.597Z] $ docker stop --time=1 82326583e0c1a9bc1e61687e2df0dc5540cede8ed4e1ae7089f636e53c28a4b1 [2024-05-27T09:45:57.179Z] $ docker rm -f --volumes 82326583e0c1a9bc1e61687e2df0dc5540cede8ed4e1ae7089f636e53c28a4b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:45:58.113Z] + docker inspect -f . ci-base-image-arm64 [2024-05-27T09:45:58.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:45:58.441Z] prd-ubuntu20.04-docker-arm64-4c-16g-843 does not seem to be running inside a container [2024-05-27T09:45:58.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-27T09:45:59.684Z] $ docker top 5f4080963753eff2bba13e6d8138625ddabae9da059eb8cbaf7972411a03f0d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T09:46:00.283Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-05-27T09:46:00.951Z] + make test [2024-05-27T09:46:00.951Z] go test ./... -coverprofile=coverage.out ./... [2024-05-27T09:46:04.301Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-05-27T09:48:10.995Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-05-27T09:48:10.995Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-05-27T09:48:12.424Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.203s coverage: 31.5% of statements [2024-05-27T09:48:39.139Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.799s coverage: 86.5% of statements [2024-05-27T09:48:39.139Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-27T09:48:39.139Z] go vet ./... [2024-05-27T09:49:11.361Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-27T09:49:11.361Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-27T09:49:11.361Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-27T09:49:11.407Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-27T09:49:12.129Z] + go mod tidy [Pipeline] } [2024-05-27T09:49:15.522Z] $ docker stop --time=1 5f4080963753eff2bba13e6d8138625ddabae9da059eb8cbaf7972411a03f0d5 [2024-05-27T09:49:17.502Z] $ docker rm -f --volumes 5f4080963753eff2bba13e6d8138625ddabae9da059eb8cbaf7972411a03f0d5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T09:49:18.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-27T09:49:19.034Z] Warning: overwriting stash ‘coverage-report’ [2024-05-27T09:49:20.033Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T09:49:20.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-27T09:49:21.062Z] + ls -al . [2024-05-27T09:49:21.062Z] total 240 [2024-05-27T09:49:21.062Z] drwxrwxr-x 9 jenkins jenkins 4096 May 27 09:46 . [2024-05-27T09:49:21.062Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:43 .. [2024-05-27T09:49:21.062Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 09:43 .git [2024-05-27T09:49:21.062Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:43 .github [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 493 May 27 09:43 .gitignore [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 09:43 .golangci.yml [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 11174 May 27 09:43 Attribution.txt [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 17665 May 27 09:43 CHANGELOG.md [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 1683 May 27 09:43 Dockerfile [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 09:43 GOVERNANCE.md [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 739 May 27 09:43 Jenkinsfile [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 27 09:43 LICENSE [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 2877 May 27 09:43 Makefile [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 625 May 27 09:43 OWNERS.md [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 2620 May 27 09:43 README.md [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 5 May 27 09:40 VERSION [2024-05-27T09:49:21.062Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:43 bin [2024-05-27T09:49:21.062Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:43 cmd [2024-05-27T09:49:21.062Z] -rw-r--r-- 1 jenkins jenkins 78456 May 27 09:48 coverage.out [2024-05-27T09:49:21.062Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:43 doc [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 4010 May 27 09:43 go.mod [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 34789 May 27 09:43 go.sum [2024-05-27T09:49:21.062Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:43 internal [2024-05-27T09:49:21.062Z] drwxrwxr-x 6 jenkins jenkins 4096 May 27 09:43 vendor [2024-05-27T09:49:21.062Z] -rw-rw-r-- 1 jenkins jenkins 236 May 27 09:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:49:21.520Z] + 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=393248944dc81822e0679d469390d8659acd64b6 --label arch=arm64 --label version=0.0.0 . [2024-05-27T09:49:24.100Z] Sending build context to Docker daemon 53.2MB [2024-05-27T09:49:24.366Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T09:49:24.366Z] Step 2/27 : FROM ${BASE} AS builder [2024-05-27T09:49:24.366Z] ---> d0452e3dd250 [2024-05-27T09:49:24.366Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-05-27T09:49:24.632Z] ---> Running in c781a4c94778 [2024-05-27T09:49:24.899Z] Removing intermediate container c781a4c94778 [2024-05-27T09:49:24.899Z] ---> 074e6b25dd0c [2024-05-27T09:49:24.899Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-27T09:49:24.899Z] ---> Running in a5e5b0fc673a [2024-05-27T09:49:25.166Z] Removing intermediate container a5e5b0fc673a [2024-05-27T09:49:25.166Z] ---> 25c38ce28fd1 [2024-05-27T09:49:25.166Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-05-27T09:49:25.448Z] ---> Running in c71a85580189 [2024-05-27T09:49:25.448Z] Removing intermediate container c71a85580189 [2024-05-27T09:49:25.448Z] ---> e863611014ca [2024-05-27T09:49:25.448Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-05-27T09:49:25.713Z] ---> Running in 48227c73618f [2024-05-27T09:49:25.998Z] Removing intermediate container 48227c73618f [2024-05-27T09:49:25.998Z] ---> cecdb15fad69 [2024-05-27T09:49:25.998Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-05-27T09:49:25.998Z] ---> Running in e06da5695cf2 [2024-05-27T09:49:26.265Z] Removing intermediate container e06da5695cf2 [2024-05-27T09:49:26.265Z] ---> 1804ba4b0d33 [2024-05-27T09:49:26.265Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-27T09:49:26.265Z] ---> Running in 56d04266398a [2024-05-27T09:49:27.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T09:49:27.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T09:49:28.832Z] OK: 266 MiB in 52 packages [2024-05-27T09:49:29.791Z] Removing intermediate container 56d04266398a [2024-05-27T09:49:29.791Z] ---> 8a3bdcd95a62 [2024-05-27T09:49:29.791Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-05-27T09:49:29.791Z] ---> Running in 1d97be80e9c3 [2024-05-27T09:49:30.372Z] Removing intermediate container 1d97be80e9c3 [2024-05-27T09:49:30.372Z] ---> 4b4116b1539d [2024-05-27T09:49:30.372Z] Step 10/27 : COPY go.mod vendor* ./ [2024-05-27T09:49:38.565Z] ---> 94f493c686ee [2024-05-27T09:49:38.565Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T09:49:38.565Z] ---> Running in c905191a38eb [2024-05-27T09:49:38.834Z] skipping... [2024-05-27T09:49:39.419Z] Removing intermediate container c905191a38eb [2024-05-27T09:49:39.419Z] ---> cec6d2cdea15 [2024-05-27T09:49:39.419Z] Step 12/27 : COPY . . [2024-05-27T09:49:49.488Z] ---> 25a352997ed4 [2024-05-27T09:49:49.488Z] Step 13/27 : RUN ${MAKE} [2024-05-27T09:49:49.488Z] ---> Running in 0357e7584a58 [2024-05-27T09:49:49.488Z] 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.1" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-05-27T09:52:26.169Z] Removing intermediate container 0357e7584a58 [2024-05-27T09:52:26.169Z] ---> a5fd7099562e [2024-05-27T09:52:26.169Z] Step 14/27 : FROM alpine:3.18 [2024-05-27T09:52:26.169Z] 3.18: Pulling from library/alpine [2024-05-27T09:52:26.169Z] c6b39de5b339: Already exists [2024-05-27T09:52:26.169Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-27T09:52:26.169Z] Status: Downloaded newer image for alpine:3.18 [2024-05-27T09:52:26.169Z] ---> 33abbf032149 [2024-05-27T09:52:26.169Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-05-27T09:52:26.169Z] ---> Running in 2bc8c74bfc9b [2024-05-27T09:52:26.169Z] Removing intermediate container 2bc8c74bfc9b [2024-05-27T09:52:26.169Z] ---> c0ef45fa72e9 [2024-05-27T09:52:26.169Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-05-27T09:52:26.169Z] ---> Running in 6eb585540d3b [2024-05-27T09:52:26.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T09:52:26.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T09:52:26.169Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-27T09:52:26.169Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T09:52:26.169Z] OK: 8 MiB in 16 packages [2024-05-27T09:52:26.169Z] Removing intermediate container 6eb585540d3b [2024-05-27T09:52:26.169Z] ---> 49cf83ac2813 [2024-05-27T09:52:26.169Z] Step 17/27 : RUN apk --no-cache upgrade [2024-05-27T09:52:26.169Z] ---> Running in c0e0cc058e45 [2024-05-27T09:52:26.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T09:52:26.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T09:52:26.169Z] Upgrading critical system libraries and apk-tools: [2024-05-27T09:52:26.169Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-27T09:52:26.169Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T09:52:26.169Z] Continuing the upgrade transaction with new apk-tools: [2024-05-27T09:52:26.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T09:52:26.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T09:52:26.169Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T09:52:26.169Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-27T09:52:26.169Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T09:52:26.169Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-27T09:52:26.169Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T09:52:26.169Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T09:52:26.169Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T09:52:26.169Z] Executing busybox-1.36.1-r6.trigger [2024-05-27T09:52:26.169Z] OK: 8 MiB in 16 packages [2024-05-27T09:52:26.169Z] Removing intermediate container c0e0cc058e45 [2024-05-27T09:52:26.169Z] ---> 1f3a12a459f5 [2024-05-27T09:52:26.169Z] Step 18/27 : WORKDIR / [2024-05-27T09:52:26.169Z] ---> Running in d366ae34f03f [2024-05-27T09:52:26.169Z] Removing intermediate container d366ae34f03f [2024-05-27T09:52:26.169Z] ---> 97e55f4eeebf [2024-05-27T09:52:26.169Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-05-27T09:52:26.169Z] ---> 13b3d4a80af5 [2024-05-27T09:52:26.169Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-05-27T09:52:26.169Z] ---> 3ccf6ec4e1a8 [2024-05-27T09:52:26.169Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-05-27T09:52:26.169Z] ---> 9760c34343af [2024-05-27T09:52:26.169Z] Step 22/27 : EXPOSE 59984 [2024-05-27T09:52:26.169Z] ---> Running in 57a0ded1163e [2024-05-27T09:52:26.435Z] Removing intermediate container 57a0ded1163e [2024-05-27T09:52:26.435Z] ---> 6e6bb9cdd454 [2024-05-27T09:52:26.435Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-05-27T09:52:26.435Z] ---> Running in 5948d3b73a81 [2024-05-27T09:52:26.703Z] Removing intermediate container 5948d3b73a81 [2024-05-27T09:52:26.703Z] ---> e78af3148fe9 [2024-05-27T09:52:26.703Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-27T09:52:26.972Z] ---> Running in e296780d51c0 [2024-05-27T09:52:27.244Z] Removing intermediate container e296780d51c0 [2024-05-27T09:52:27.244Z] ---> e06276848f49 [2024-05-27T09:52:27.244Z] Step 25/27 : LABEL arch=arm64 [2024-05-27T09:52:27.244Z] ---> Running in 797f7fbc47dc [2024-05-27T09:52:27.512Z] Removing intermediate container 797f7fbc47dc [2024-05-27T09:52:27.512Z] ---> 2778579df851 [2024-05-27T09:52:27.512Z] Step 26/27 : LABEL git_sha=393248944dc81822e0679d469390d8659acd64b6 [2024-05-27T09:52:27.512Z] ---> Running in 3b37c579a260 [2024-05-27T09:52:28.097Z] Removing intermediate container 3b37c579a260 [2024-05-27T09:52:28.097Z] ---> d74ccab78482 [2024-05-27T09:52:28.097Z] Step 27/27 : LABEL version=0.0.0 [2024-05-27T09:52:28.097Z] ---> Running in 5a24c1f47c28 [2024-05-27T09:52:28.365Z] Removing intermediate container 5a24c1f47c28 [2024-05-27T09:52:28.365Z] ---> a4cb41cb2c9e [2024-05-27T09:52:28.365Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-27T09:52:28.633Z] Successfully built a4cb41cb2c9e [2024-05-27T09:52:28.633Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:52:29.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T09:52:29.718Z] [2024-05-27T09:52:29.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:52:30.164Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T09:52:30.432Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-27T09:52:30.432Z] 8998bd30e6a1: Pulling fs layer [2024-05-27T09:52:30.432Z] 04944245beec: Pulling fs layer [2024-05-27T09:52:30.432Z] 699f458cf7ca: Pulling fs layer [2024-05-27T09:52:30.432Z] 765212b225bb: Pulling fs layer [2024-05-27T09:52:30.432Z] f23df028b6ca: Pulling fs layer [2024-05-27T09:52:30.432Z] d65c8cfc05b1: Pulling fs layer [2024-05-27T09:52:30.432Z] 2437ff75d9bd: Pulling fs layer [2024-05-27T09:52:30.432Z] f23df028b6ca: Waiting [2024-05-27T09:52:30.432Z] d65c8cfc05b1: Waiting [2024-05-27T09:52:30.432Z] 765212b225bb: Waiting [2024-05-27T09:52:30.432Z] 04944245beec: Download complete [2024-05-27T09:52:30.706Z] 699f458cf7ca: Verifying Checksum [2024-05-27T09:52:30.706Z] 699f458cf7ca: Download complete [2024-05-27T09:52:30.706Z] f23df028b6ca: Verifying Checksum [2024-05-27T09:52:30.706Z] f23df028b6ca: Download complete [2024-05-27T09:52:30.706Z] d65c8cfc05b1: Verifying Checksum [2024-05-27T09:52:30.706Z] d65c8cfc05b1: Download complete [2024-05-27T09:52:31.301Z] 8998bd30e6a1: Verifying Checksum [2024-05-27T09:52:31.301Z] 8998bd30e6a1: Download complete [2024-05-27T09:52:31.570Z] 765212b225bb: Verifying Checksum [2024-05-27T09:52:31.570Z] 765212b225bb: Download complete [2024-05-27T09:52:34.180Z] 2437ff75d9bd: Download complete [2024-05-27T09:52:36.129Z] 8998bd30e6a1: Pull complete [2024-05-27T09:52:36.716Z] 04944245beec: Pull complete [2024-05-27T09:52:38.670Z] 699f458cf7ca: Pull complete [2024-05-27T09:52:38.670Z] 765212b225bb: Pull complete [2024-05-27T09:52:39.638Z] f23df028b6ca: Pull complete [2024-05-27T09:52:39.638Z] d65c8cfc05b1: Pull complete [2024-05-27T09:52:57.858Z] 2437ff75d9bd: Pull complete [2024-05-27T09:52:57.858Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-27T09:52:57.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T09:52:57.858Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:52:58.217Z] prd-ubuntu20.04-docker-arm64-4c-16g-843 does not seem to be running inside a container [2024-05-27T09:52:58.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-27T09:53:01.160Z] $ docker top d51e6b0a2d6536629fdfff85a78784b37fe8153f72c3efa4e4713e5880e253f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:53:02.081Z] ---> job-cost.sh [2024-05-27T09:53:02.081Z] lf-activate-venv: SKIPPING [2024-05-27T09:53:02.081Z] INFO: No Stack... [2024-05-27T09:53:02.347Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-27T09:53:03.312Z] INFO: Archiving Costs [Pipeline] sh [2024-05-27T09:53:03.970Z] + + catcut /w/workspace/device-onvif-camera/1/archives/cost.csv -d, [2024-05-27T09:53:03.970Z] -f6 [Pipeline] lock [2024-05-27T09:53:04.021Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] [2024-05-27T09:53:04.028Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] did not exist. Created. [2024-05-27T09:53:04.035Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-27T09:53:04.785Z] /w/workspace/device-onvif-camera/1@tmp/durable-152aba16/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-27T09:53:05.148Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-27T09:53:05.453Z] Warning: overwriting stash ‘stack-cost’ [2024-05-27T09:53:05.920Z] Stashed 1 file(s) [Pipeline] } [2024-05-27T09:53:05.944Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-436-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-27T09:53:06.044Z] $ docker stop --time=1 d51e6b0a2d6536629fdfff85a78784b37fe8153f72c3efa4e4713e5880e253f1 [2024-05-27T09:53:07.586Z] $ docker rm -f --volumes d51e6b0a2d6536629fdfff85a78784b37fe8153f72c3efa4e4713e5880e253f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-05-27T09:53:08.809Z] provisioning config files... [2024-05-27T09:53:08.817Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-436@tmp/config16784285503759368096tmp [Pipeline] { [Pipeline] sh [2024-05-27T09:53:09.172Z] + set +x [2024-05-27T09:53:09.172Z] + curl -s https://codecov.io/bash [2024-05-27T09:53:09.172Z] + bash -s -- [2024-05-27T09:53:09.172Z] [2024-05-27T09:53:09.172Z] _____ _ [2024-05-27T09:53:09.172Z] / ____| | | [2024-05-27T09:53:09.172Z] | | ___ __| | ___ ___ _____ __ [2024-05-27T09:53:09.172Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-27T09:53:09.172Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-27T09:53:09.172Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-27T09:53:09.172Z] Bash-1.0.6 [2024-05-27T09:53:09.172Z] [2024-05-27T09:53:09.172Z] [2024-05-27T09:53:09.172Z] ==> git version 2.25.1 found [2024-05-27T09:53:09.172Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-05-27T09:53:09.172Z] Release-Date: 2020-01-08 [2024-05-27T09:53:09.172Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-27T09:53:09.172Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-27T09:53:09.172Z] ==> Jenkins CI detected. [2024-05-27T09:53:09.172Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-436 [2024-05-27T09:53:09.172Z] project root: . [2024-05-27T09:53:09.172Z] --> token set from env [2024-05-27T09:53:09.172Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-27T09:53:09.172Z] ==> Running gcov in . (disable via -X gcov) [2024-05-27T09:53:09.430Z] ==> Python coveragepy not found [2024-05-27T09:53:09.430Z] ==> Searching for coverage reports in: [2024-05-27T09:53:09.430Z] + . [2024-05-27T09:53:09.430Z] -> Found 1 reports [2024-05-27T09:53:09.430Z] ==> Detecting git/mercurial file structure [2024-05-27T09:53:09.430Z] ==> Reading reports [2024-05-27T09:53:09.430Z] + ./coverage.out bytes=78456 [2024-05-27T09:53:09.430Z] ==> Appending adjustments [2024-05-27T09:53:09.430Z] https://docs.codecov.io/docs/fixing-reports [2024-05-27T09:53:09.694Z] + Found adjustments [2024-05-27T09:53:09.694Z] ==> Gzipping contents [2024-05-27T09:53:09.694Z] 24K /tmp/codecov.nL8xAP.gz [2024-05-27T09:53:09.694Z] ==> Uploading reports [2024-05-27T09:53:09.694Z] url: https://codecov.io [2024-05-27T09:53:09.694Z] query: branch=PR-436&commit=393248944dc81822e0679d469390d8659acd64b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-436%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=436&job=&cmd_args= [2024-05-27T09:53:09.694Z] -> Pinging Codecov [2024-05-27T09:53:09.694Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-436&commit=393248944dc81822e0679d469390d8659acd64b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-436%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=436&job=&cmd_args= [2024-05-27T09:53:09.694Z] -> Uploading to [2024-05-27T09:53:09.694Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-27/F29A59C45E3A92E06B3E522C9905F8EF/393248944dc81822e0679d469390d8659acd64b6/8f96462d-2e03-4755-896e-b198c497d1d7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240527%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240527T095309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5539875b92f0fe631c3e3826ca7fae665d52efef6373741619920796f418b4ad [2024-05-27T09:53:09.694Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-27T09:53:09.694Z] Dload Upload Total Spent Left Speed [2024-05-27T09:53:09.952Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23781 0 0 100 23781 0 97065 --:--:-- --:--:-- --:--:-- 97065 [2024-05-27T09:53:09.952Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/393248944dc81822e0679d469390d8659acd64b6 [Pipeline] } [2024-05-27T09:53:09.985Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-27T09:53:12.276Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-436/archives ] [2024-05-27T09:53:12.276Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-436/archives [2024-05-27T09:53:12.276Z] total 16 [2024-05-27T09:53:12.276Z] drwxr-xr-x 3 root root 4096 May 27 09:42 . [2024-05-27T09:53:12.276Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 09:42 .. [2024-05-27T09:53:12.276Z] drwxr-xr-x 2 root root 4096 May 27 09:42 cost [2024-05-27T09:53:12.276Z] -rw-r--r-- 1 root root 91 May 27 09:42 cost.csv [2024-05-27T09:53:12.276Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-436/archives [2024-05-27T09:53:12.276Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-436/archives [2024-05-27T09:53:12.276Z] total 16 [2024-05-27T09:53:12.276Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 09:42 . [2024-05-27T09:53:12.276Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 09:42 .. [2024-05-27T09:53:12.276Z] drwxr-xr-x 2 jenkins jenkins 4096 May 27 09:42 cost [2024-05-27T09:53:12.276Z] -rw-r--r-- 1 jenkins jenkins 91 May 27 09:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:53:12.613Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:53:13.518Z] ---> package-listing.sh [2024-05-27T09:53:13.518Z] ++ facter osfamily [2024-05-27T09:53:13.518Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-27T09:53:13.776Z] + OS_FAMILY=debian [2024-05-27T09:53:13.776Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-436 [2024-05-27T09:53:13.776Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-27T09:53:13.776Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-27T09:53:13.776Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-27T09:53:13.776Z] + PACKAGES=/tmp/packages_start.txt [2024-05-27T09:53:13.776Z] + '[' /w/workspace/undry_device-onvif-camera_PR-436 ']' [2024-05-27T09:53:13.776Z] + PACKAGES=/tmp/packages_end.txt [2024-05-27T09:53:13.776Z] + case "${OS_FAMILY}" in [2024-05-27T09:53:13.776Z] + dpkg -l [2024-05-27T09:53:13.776Z] + grep '^ii' [2024-05-27T09:53:13.776Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-27T09:53:13.776Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-27T09:53:13.776Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-27T09:53:13.776Z] + '[' /w/workspace/undry_device-onvif-camera_PR-436 ']' [2024-05-27T09:53:13.776Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-436/archives/ [2024-05-27T09:53:13.776Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-436/archives/ [Pipeline] echo [2024-05-27T09:53:13.826Z] 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-436/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-27T09:53:14.122Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:53:14.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T09:53:14.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:53:14.947Z] prd-ubuntu20.04-docker-8c-8g-841 does not seem to be running inside a container [2024-05-27T09:53:14.976Z] $ 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-436/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-436 -v /w/workspace/undry_device-onvif-camera_PR-436:/w/workspace/undry_device-onvif-camera_PR-436:rw,z -v /w/workspace/undry_device-onvif-camera_PR-436@tmp:/w/workspace/undry_device-onvif-camera_PR-436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-27T09:53:15.162Z] $ docker top 12ce4598bb6c8bd2043228faff03fceca4ad966970f1b39fd9b2a0c557569624 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T09:53:15.557Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-27T09:53:15.870Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-27T09:53:16.183Z] + ls /var/log/sa-host [2024-05-27T09:53:16.183Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T09:53:16.354Z] provisioning config files... [2024-05-27T09:53:16.364Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-436@tmp/config963289168217720667tmp [Pipeline] { [Pipeline] echo [2024-05-27T09:53:16.431Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:53:16.766Z] ---> create-netrc.sh [Pipeline] } [2024-05-27T09:53:16.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:53:17.216Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-27T09:53:17.259Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:53:17.583Z] ---> sudo-logs.sh [2024-05-27T09:53:17.584Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-27T09:53:17.698Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:53:18.020Z] ---> job-cost.sh [2024-05-27T09:53:18.020Z] lf-activate-venv: SKIPPING [2024-05-27T09:53:18.020Z] DEBUG: total: 0.2199999988079071 [2024-05-27T09:53:18.020Z] INFO: Retrieving Stack Cost... [2024-05-27T09:53:18.588Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-27T09:53:18.846Z] INFO: Archiving Costs [Pipeline] echo [2024-05-27T09:53:18.894Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:53:19.212Z] ---> logs-deploy.sh [2024-05-27T09:53:19.212Z] lf-activate-venv: SKIPPING [2024-05-27T09:53:19.212Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-436/1 [2024-05-27T09:53:19.212Z] INFO: archiving workspace using pattern(s): [2024-05-27T09:53:20.147Z] Archives upload complete. [2024-05-27T09:53:20.147Z] INFO: archiving logs to Nexus