Pull request #472 updated 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 jackchenjc for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 10599072c9655e29548c116613113411af81b17c+b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c (cc595d5dd94828b4c867b589861dbaa8bdad1f04) 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-ssh8620644860584118412.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1881331423058442201.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-472/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-472/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11860354791545150785.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh10018696478671060878.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-472/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-472/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13268115022698637351.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24959 in /w/workspace/undry_device-onvif-camera_PR-472 [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-472 # 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 Merging remotes/origin/main commit b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c into PR head commit 10599072c9655e29548c116613113411af81b17c Merge succeeded, producing 10599072c9655e29548c116613113411af81b17c Checking out Revision 10599072c9655e29548c116613113411af81b17c (PR-472) > 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/472/head:refs/remotes/origin/PR-472 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10599072c9655e29548c116613113411af81b17c # 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 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10599072c9655e29548c116613113411af81b17c # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-08T02:57:09.164Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T02:57:09.257Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T02:57:09.289Z] ========================================================= [2024-11-08T02:57:09.289Z] EdgeX Global Pipelines Version Info [2024-11-08T02:57:09.289Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 30ac1c87d2d15cdd71263100a68b527e75ae5d2e # timeout=10 [2024-11-08T02:57:10.021Z] ------------------- [2024-11-08T02:57:10.021Z] stable info: [2024-11-08T02:57:10.021Z] ------------------- [2024-11-08T02:57:10.021Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T02:57:10.022Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T02:57:10.022Z] Message: update stable to v1.0.265 [2024-11-08T02:57:10.590Z] ------------------- [2024-11-08T02:57:10.590Z] experimental info: [2024-11-08T02:57:10.590Z] ------------------- [2024-11-08T02:57:10.590Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T02:57:10.590Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T02:57:10.590Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T02:57:10.664Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-11-08T02:57:10.692Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-11-08T02:57:10.717Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T02:57:10.737Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T02:57:10.763Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T02:57:10.785Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-08T02:57:10.807Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-08T02:57:10.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-08T02:57:10.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-08T02:57:10.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T02:57:10.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T02:57:10.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-11-08T02:57:10.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T02:57:10.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T02:57:10.971Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T02:57:10.999Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T02:57:11.027Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T02:57:11.048Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T02:57:11.074Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T02:57:11.102Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T02:57:11.124Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-08T02:57:11.146Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-11-08T02:57:11.168Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-08T02:57:11.190Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-08T02:57:11.208Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-08T02:57:11.229Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T02:57:11.258Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-08T02:57:11.282Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-472 [Pipeline] echo [2024-11-08T02:57:11.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-472 [Pipeline] echo [2024-11-08T02:57:11.337Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-472 [Pipeline] echo [2024-11-08T02:57:11.359Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10599072c9655e29548c116613113411af81b17c [Pipeline] echo [2024-11-08T02:57:11.393Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1059907 [Pipeline] echo [2024-11-08T02:57:11.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T02:57:11.481Z] provisioning config files... [2024-11-08T02:57:11.493Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-472@tmp/config5958287429320267131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:57:11.823Z] ---> ****-login.sh [2024-11-08T02:57:11.823Z] nexus3.edgexfoundry.org:10001 [2024-11-08T02:57:11.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:12.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:12.087Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:12.087Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:12.087Z] [2024-11-08T02:57:12.087Z] Login Succeeded [2024-11-08T02:57:12.087Z] nexus3.edgexfoundry.org:10002 [2024-11-08T02:57:12.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:12.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:12.088Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:12.088Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:12.088Z] [2024-11-08T02:57:12.088Z] Login Succeeded [2024-11-08T02:57:12.088Z] nexus3.edgexfoundry.org:10003 [2024-11-08T02:57:12.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:12.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:12.355Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:12.355Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:12.355Z] [2024-11-08T02:57:12.355Z] Login Succeeded [2024-11-08T02:57:12.355Z] nexus3.edgexfoundry.org:10004 [2024-11-08T02:57:12.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:12.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:12.355Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:12.355Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:12.355Z] [2024-11-08T02:57:12.355Z] Login Succeeded [2024-11-08T02:57:12.355Z] ****.io [2024-11-08T02:57:12.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:12.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:12.616Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:12.616Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:12.616Z] [2024-11-08T02:57:12.616Z] Login Succeeded [2024-11-08T02:57:12.616Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T02:57:12.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T02:57:13.038Z] + git rev-list -1 --merges 10599072c9655e29548c116613113411af81b17c~1..10599072c9655e29548c116613113411af81b17c [Pipeline] echo [2024-11-08T02:57:13.067Z] -----------> git rev-list -1 --merges 10599072c9655e29548c116613113411af81b17c~1..10599072c9655e29548c116613113411af81b17c 10599072c9655e29548c116613113411af81b17c [false] [Pipeline] sh [2024-11-08T02:57:13.364Z] + git log --format=format:%s -1 10599072c9655e29548c116613113411af81b17c [Pipeline] echo [2024-11-08T02:57:13.384Z] ========================================================= [2024-11-08T02:57:13.384Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T02:57:13.384Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T02:57:13.735Z] + git log --format=format:%s -1 10599072c9655e29548c116613113411af81b17c [Pipeline] echo [2024-11-08T02:57:13.748Z] [semverPrep] GIT_COMMIT: 10599072c9655e29548c116613113411af81b17c, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-08T02:57:13.764Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-08T02:57:14.132Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T02:57:14.132Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T02:57:14.132Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T02:57:14.132Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T02:57:14.132Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-08T02:57:14.132Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-08T02:57:14.132Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:57:14.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:57:14.494Z] [2024-11-08T02:57:14.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:57:14.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:57:14.799Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T02:57:14.799Z] b85a868b505f: Pulling fs layer [2024-11-08T02:57:14.799Z] e2be974225ed: Pulling fs layer [2024-11-08T02:57:14.799Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T02:57:14.799Z] 988bab9f4d93: Pulling fs layer [2024-11-08T02:57:14.799Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T02:57:14.799Z] eaf3925da568: Pulling fs layer [2024-11-08T02:57:14.799Z] bab4dde63d76: Pulling fs layer [2024-11-08T02:57:14.799Z] bde34c3a00c8: Pulling fs layer [2024-11-08T02:57:14.799Z] b352a97aabf1: Pulling fs layer [2024-11-08T02:57:14.799Z] 4872d77fe225: Pulling fs layer [2024-11-08T02:57:14.799Z] 5851b861e8e6: Pulling fs layer [2024-11-08T02:57:14.799Z] 1469e6f7b9e6: Waiting [2024-11-08T02:57:14.799Z] 4872d77fe225: Waiting [2024-11-08T02:57:14.799Z] eaf3925da568: Waiting [2024-11-08T02:57:14.799Z] 988bab9f4d93: Waiting [2024-11-08T02:57:14.799Z] b352a97aabf1: Waiting [2024-11-08T02:57:14.799Z] bab4dde63d76: Waiting [2024-11-08T02:57:14.799Z] 5851b861e8e6: Waiting [2024-11-08T02:57:14.799Z] bde34c3a00c8: Waiting [2024-11-08T02:57:14.799Z] e2be974225ed: Verifying Checksum [2024-11-08T02:57:14.799Z] e2be974225ed: Download complete [2024-11-08T02:57:14.799Z] 988bab9f4d93: Verifying Checksum [2024-11-08T02:57:14.799Z] 988bab9f4d93: Download complete [2024-11-08T02:57:14.799Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T02:57:14.799Z] 1469e6f7b9e6: Download complete [2024-11-08T02:57:14.799Z] eaf3925da568: Verifying Checksum [2024-11-08T02:57:14.799Z] eaf3925da568: Download complete [2024-11-08T02:57:14.799Z] 339a4e72a1f5: Verifying Checksum [2024-11-08T02:57:14.799Z] 339a4e72a1f5: Download complete [2024-11-08T02:57:15.060Z] bde34c3a00c8: Download complete [2024-11-08T02:57:15.060Z] b352a97aabf1: Download complete [2024-11-08T02:57:15.060Z] 4872d77fe225: Verifying Checksum [2024-11-08T02:57:15.060Z] 4872d77fe225: Download complete [2024-11-08T02:57:15.060Z] 5851b861e8e6: Download complete [2024-11-08T02:57:15.060Z] b85a868b505f: Verifying Checksum [2024-11-08T02:57:15.060Z] b85a868b505f: Download complete [2024-11-08T02:57:15.323Z] bab4dde63d76: Verifying Checksum [2024-11-08T02:57:15.323Z] bab4dde63d76: Download complete [2024-11-08T02:57:16.258Z] b85a868b505f: Pull complete [2024-11-08T02:57:16.517Z] e2be974225ed: Pull complete [2024-11-08T02:57:17.084Z] 339a4e72a1f5: Pull complete [2024-11-08T02:57:17.084Z] 988bab9f4d93: Pull complete [2024-11-08T02:57:17.347Z] 1469e6f7b9e6: Pull complete [2024-11-08T02:57:17.347Z] eaf3925da568: Pull complete [2024-11-08T02:57:19.256Z] bab4dde63d76: Pull complete [2024-11-08T02:57:19.256Z] bde34c3a00c8: Pull complete [2024-11-08T02:57:19.519Z] b352a97aabf1: Pull complete [2024-11-08T02:57:19.519Z] 4872d77fe225: Pull complete [2024-11-08T02:57:19.780Z] 5851b861e8e6: Pull complete [2024-11-08T02:57:19.780Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T02:57:19.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:57:19.780Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:57:20.085Z] prd-ubuntu20.04-docker-8c-8g-24959 does not seem to be running inside a container [2024-11-08T02:57:20.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-472 -v /w/workspace/undry_device-onvif-camera_PR-472:/w/workspace/undry_device-onvif-camera_PR-472:rw,z -v /w/workspace/undry_device-onvif-camera_PR-472@tmp:/w/workspace/undry_device-onvif-camera_PR-472@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-devops/py-git-semver:0.1.4 cat [2024-11-08T02:57:23.885Z] $ docker top a3cee05ad10c390c76fe1ead3ee692f3d6e7b9edb92af0a9a1c911feacb7a6c7 -eo pid,comm [2024-11-08T02:57:23.948Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-11-08T02:57:23.948Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T02:57:24.011Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T02:57:24.011Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T02:57:24.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T02:57:24.133Z] $ docker exec a3cee05ad10c390c76fe1ead3ee692f3d6e7b9edb92af0a9a1c911feacb7a6c7 ssh-agent [2024-11-08T02:57:24.259Z] SSH_AUTH_SOCK=/tmp/ssh-ajBCYdO3WjjF/agent.32 [2024-11-08T02:57:24.259Z] SSH_AGENT_PID=38 [2024-11-08T02:57:24.265Z] Running ssh-add (command line suppressed) [2024-11-08T02:57:24.366Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-472@tmp/private_key_13203498100027266046.key (/w/workspace/undry_device-onvif-camera_PR-472@tmp/private_key_13203498100027266046.key) [2024-11-08T02:57:24.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T02:57:24.676Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T02:57:24.681Z] $ docker exec --env ******** --env ******** a3cee05ad10c390c76fe1ead3ee692f3d6e7b9edb92af0a9a1c911feacb7a6c7 ssh-agent -k [2024-11-08T02:57:24.773Z] unset SSH_AUTH_SOCK; [2024-11-08T02:57:24.776Z] unset SSH_AGENT_PID; [2024-11-08T02:57:24.776Z] echo Agent pid 38 killed; [2024-11-08T02:57:24.788Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T02:57:24.824Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T02:57:24.824Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T02:57:24.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T02:57:24.937Z] $ docker exec a3cee05ad10c390c76fe1ead3ee692f3d6e7b9edb92af0a9a1c911feacb7a6c7 ssh-agent [2024-11-08T02:57:25.060Z] SSH_AUTH_SOCK=/tmp/ssh-d3aW8v9EKbw5/agent.71 [2024-11-08T02:57:25.060Z] SSH_AGENT_PID=77 [2024-11-08T02:57:25.066Z] Running ssh-add (command line suppressed) [2024-11-08T02:57:25.164Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-472@tmp/private_key_3794007802191673661.key (/w/workspace/undry_device-onvif-camera_PR-472@tmp/private_key_3794007802191673661.key) [2024-11-08T02:57:25.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T02:57:25.482Z] + git semver init [2024-11-08T02:57:25.744Z] 2024-11-08 02:57:25,708 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T02:57:25.744Z] 2024-11-08 02:57:25,709 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-472/.semver [2024-11-08T02:57:25.744Z] 2024-11-08 02:57:25,710 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-472/.semver [2024-11-08T02:57:25.744Z] 2024-11-08 02:57:25,710 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-472/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-472, universal_newlines=False, shell=None, istream=None) [2024-11-08T02:57:27.134Z] 2024-11-08 02:57:27,021 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-472/.git/info/exclude [2024-11-08T02:57:27.134Z] 2024-11-08 02:57:27,022 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-472/.semver/PR-472 with force:False [2024-11-08T02:57:27.134Z] 2024-11-08 02:57:27,022 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-472/.semver/PR-472 [2024-11-08T02:57:27.134Z] 2024-11-08 02:57:27,027 [execute] INFO git cat-file --batch-check [2024-11-08T02:57:27.134Z] 2024-11-08 02:57:27,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-472/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T02:57:27.134Z] 2024-11-08 02:57:27,033 [execute] INFO git cat-file --batch [2024-11-08T02:57:27.134Z] 2024-11-08 02:57:27,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-472/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T02:57:27.134Z] 2024-11-08 02:57:27,039 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-472/.semver/PR-472 [2024-11-08T02:57:27.134Z] 0.0.0 [Pipeline] } [2024-11-08T02:57:27.140Z] $ docker exec --env ******** --env ******** a3cee05ad10c390c76fe1ead3ee692f3d6e7b9edb92af0a9a1c911feacb7a6c7 ssh-agent -k [2024-11-08T02:57:27.240Z] unset SSH_AUTH_SOCK; [2024-11-08T02:57:27.241Z] unset SSH_AGENT_PID; [2024-11-08T02:57:27.241Z] echo Agent pid 77 killed; [2024-11-08T02:57:27.257Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T02:57:27.616Z] + git semver [Pipeline] } [2024-11-08T02:57:27.884Z] $ docker stop --time=1 a3cee05ad10c390c76fe1ead3ee692f3d6e7b9edb92af0a9a1c911feacb7a6c7 [2024-11-08T02:57:29.195Z] $ docker rm -f --volumes a3cee05ad10c390c76fe1ead3ee692f3d6e7b9edb92af0a9a1c911feacb7a6c7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T02:57:29.546Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T02:57:29.786Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T02:57:29.791Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T02:57:29.991Z] provisioning config files... [2024-11-08T02:57:30.002Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-472@tmp/config6071782681534504436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:57:30.314Z] ---> ****-login.sh [2024-11-08T02:57:30.314Z] nexus3.edgexfoundry.org:10001 [2024-11-08T02:57:30.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:30.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:30.314Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:30.314Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:30.314Z] [2024-11-08T02:57:30.314Z] Login Succeeded [2024-11-08T02:57:30.314Z] nexus3.edgexfoundry.org:10002 [2024-11-08T02:57:30.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:30.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:30.314Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:30.314Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:30.314Z] [2024-11-08T02:57:30.314Z] Login Succeeded [2024-11-08T02:57:30.314Z] nexus3.edgexfoundry.org:10003 [2024-11-08T02:57:30.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:30.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:30.574Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:30.574Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:30.574Z] [2024-11-08T02:57:30.574Z] Login Succeeded [2024-11-08T02:57:30.574Z] nexus3.edgexfoundry.org:10004 [2024-11-08T02:57:30.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:30.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:30.574Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:30.574Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:30.574Z] [2024-11-08T02:57:30.574Z] Login Succeeded [2024-11-08T02:57:30.574Z] ****.io [2024-11-08T02:57:30.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:57:30.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:57:30.833Z] Configure a credential helper to remove this warning. See [2024-11-08T02:57:30.833Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:57:30.833Z] [2024-11-08T02:57:30.833Z] Login Succeeded [2024-11-08T02:57:30.833Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T02:57:30.840Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T02:57:30.938Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T02:57:30.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T02:57:30.987Z] ========================================================= [2024-11-08T02:57:30.987Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-08T02:57:30.987Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:57:31.337Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-08T02:57:31.338Z] Sending build context to Docker daemon 36.8MB [2024-11-08T02:57:31.338Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T02:57:31.338Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-08T02:57:31.599Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-08T02:57:31.599Z] 43c4264eed91: Pulling fs layer [2024-11-08T02:57:31.599Z] 4cc291be95ef: Pulling fs layer [2024-11-08T02:57:31.599Z] 2ac1f1163629: Pulling fs layer [2024-11-08T02:57:31.599Z] 5c3c966382ef: Pulling fs layer [2024-11-08T02:57:31.599Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T02:57:31.599Z] 5d5c8e513c77: Pulling fs layer [2024-11-08T02:57:31.599Z] 9f66e0745190: Pulling fs layer [2024-11-08T02:57:31.599Z] f49a43e4bbc0: Pulling fs layer [2024-11-08T02:57:31.599Z] 561ebcabdf7f: Pulling fs layer [2024-11-08T02:57:31.599Z] 561ebcabdf7f: Waiting [2024-11-08T02:57:31.599Z] f49a43e4bbc0: Waiting [2024-11-08T02:57:31.599Z] 4f4fb700ef54: Waiting [2024-11-08T02:57:31.599Z] 5d5c8e513c77: Waiting [2024-11-08T02:57:31.599Z] 4cc291be95ef: Verifying Checksum [2024-11-08T02:57:31.599Z] 4cc291be95ef: Download complete [2024-11-08T02:57:31.599Z] 5c3c966382ef: Verifying Checksum [2024-11-08T02:57:31.599Z] 5c3c966382ef: Download complete [2024-11-08T02:57:31.599Z] 4f4fb700ef54: Download complete [2024-11-08T02:57:31.599Z] 5d5c8e513c77: Verifying Checksum [2024-11-08T02:57:31.599Z] 5d5c8e513c77: Download complete [2024-11-08T02:57:31.599Z] 43c4264eed91: Verifying Checksum [2024-11-08T02:57:31.599Z] 43c4264eed91: Download complete [2024-11-08T02:57:31.599Z] 9f66e0745190: Verifying Checksum [2024-11-08T02:57:31.599Z] 9f66e0745190: Download complete [2024-11-08T02:57:31.859Z] 43c4264eed91: Pull complete [2024-11-08T02:57:31.859Z] 561ebcabdf7f: Verifying Checksum [2024-11-08T02:57:31.859Z] 561ebcabdf7f: Download complete [2024-11-08T02:57:31.859Z] 4cc291be95ef: Pull complete [2024-11-08T02:57:32.118Z] 2ac1f1163629: Verifying Checksum [2024-11-08T02:57:32.118Z] 2ac1f1163629: Download complete [2024-11-08T02:57:32.378Z] f49a43e4bbc0: Verifying Checksum [2024-11-08T02:57:32.378Z] f49a43e4bbc0: Download complete [2024-11-08T02:57:36.564Z] 2ac1f1163629: Pull complete [2024-11-08T02:57:36.564Z] 5c3c966382ef: Pull complete [2024-11-08T02:57:36.564Z] 4f4fb700ef54: Pull complete [2024-11-08T02:57:36.564Z] 5d5c8e513c77: Pull complete [2024-11-08T02:57:36.564Z] 9f66e0745190: Pull complete [2024-11-08T02:57:39.097Z] f49a43e4bbc0: Pull complete [2024-11-08T02:57:39.356Z] 561ebcabdf7f: Pull complete [2024-11-08T02:57:39.357Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-08T02:57:39.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-08T02:57:39.357Z] ---> 3a752c3f9dda [2024-11-08T02:57:39.357Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-08T02:57:44.926Z] Still waiting to schedule task [2024-11-08T02:57:44.927Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-08T02:57:46.115Z] ---> Running in 4df2ff05e028 [2024-11-08T02:57:46.115Z] Removing intermediate container 4df2ff05e028 [2024-11-08T02:57:46.115Z] ---> c7b0c39b2c2c [2024-11-08T02:57:46.115Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T02:57:46.115Z] ---> Running in 2effe805f9c0 [2024-11-08T02:57:46.115Z] Removing intermediate container 2effe805f9c0 [2024-11-08T02:57:46.115Z] ---> 045cb2cf0e0d [2024-11-08T02:57:46.115Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-11-08T02:57:46.115Z] ---> Running in 946ac808ccb0 [2024-11-08T02:57:46.115Z] Removing intermediate container 946ac808ccb0 [2024-11-08T02:57:46.115Z] ---> c79a670fc515 [2024-11-08T02:57:46.115Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T02:57:46.115Z] ---> Running in 3939f7ce54e2 [2024-11-08T02:57:46.115Z] Removing intermediate container 3939f7ce54e2 [2024-11-08T02:57:46.115Z] ---> dda7b6fe0464 [2024-11-08T02:57:46.115Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-11-08T02:57:46.115Z] ---> Running in 4b871498075a [2024-11-08T02:57:46.115Z] Removing intermediate container 4b871498075a [2024-11-08T02:57:46.115Z] ---> 20fe2921cec7 [2024-11-08T02:57:46.115Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T02:57:46.115Z] ---> Running in dd4b2c0f55ab [2024-11-08T02:57:46.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T02:57:46.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T02:57:46.375Z] OK: 246 MiB in 54 packages [2024-11-08T02:57:46.941Z] Removing intermediate container dd4b2c0f55ab [2024-11-08T02:57:46.941Z] ---> 629106817ae6 [2024-11-08T02:57:46.941Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-11-08T02:57:46.941Z] ---> Running in 963cb1e9b0db [2024-11-08T02:57:46.941Z] Removing intermediate container 963cb1e9b0db [2024-11-08T02:57:46.941Z] ---> aee9a0269137 [2024-11-08T02:57:46.941Z] Step 10/13 : COPY go.mod vendor* ./ [2024-11-08T02:57:46.941Z] ---> bc68b51ad875 [2024-11-08T02:57:46.941Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T02:57:46.941Z] ---> Running in fe61940515d9 [2024-11-08T02:58:43.237Z] Removing intermediate container fe61940515d9 [2024-11-08T02:58:43.237Z] ---> 38af03126503 [2024-11-08T02:58:43.237Z] Step 12/13 : COPY . . [2024-11-08T02:58:43.237Z] ---> 4e427a57af91 [2024-11-08T02:58:43.237Z] Step 13/13 : RUN ${MAKE} [2024-11-08T02:58:43.237Z] ---> Running in 2300a0c430cb [2024-11-08T02:58:43.237Z] noop [2024-11-08T02:58:43.237Z] Removing intermediate container 2300a0c430cb [2024-11-08T02:58:43.237Z] ---> b0cb6f51d008 [2024-11-08T02:58:43.237Z] Successfully built b0cb6f51d008 [2024-11-08T02:58:43.237Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:58:43.575Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T02:58:43.576Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:58:43.655Z] prd-ubuntu20.04-docker-8c-8g-24959 does not seem to be running inside a container [2024-11-08T02:58:43.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-472 -v /w/workspace/undry_device-onvif-camera_PR-472:/w/workspace/undry_device-onvif-camera_PR-472:rw,z -v /w/workspace/undry_device-onvif-camera_PR-472@tmp:/w/workspace/undry_device-onvif-camera_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T02:58:44.010Z] $ docker top 464a920a35443badb0e0f73cb0013053b1cfd73fcdd5ec5db89da66c25922658 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T02:58:44.350Z] + go version [2024-11-08T02:58:44.350Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-08T02:58:44.365Z] $ docker stop --time=1 464a920a35443badb0e0f73cb0013053b1cfd73fcdd5ec5db89da66c25922658 [2024-11-08T02:58:45.679Z] $ docker rm -f --volumes 464a920a35443badb0e0f73cb0013053b1cfd73fcdd5ec5db89da66c25922658 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:58:46.100Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T02:58:46.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:58:46.177Z] prd-ubuntu20.04-docker-8c-8g-24959 does not seem to be running inside a container [2024-11-08T02:58:46.210Z] $ 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-472 -v /w/workspace/undry_device-onvif-camera_PR-472:/w/workspace/undry_device-onvif-camera_PR-472:rw,z -v /w/workspace/undry_device-onvif-camera_PR-472@tmp:/w/workspace/undry_device-onvif-camera_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T02:58:46.555Z] $ docker top e91cd91152e07e969962b53a9f978b7425329dac3f91791c02935fcb224cf318 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T02:58:46.977Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-472 [Pipeline] fileExists [Pipeline] sh [2024-11-08T02:58:47.284Z] + make test [2024-11-08T02:58:47.284Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T02:58:49.185Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-11-08T02:59:11.125Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-11-08T02:59:11.125Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-11-08T02:59:11.125Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.4% of statements [2024-11-08T02:59:11.125Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.666s coverage: 86.5% of statements [2024-11-08T02:59:23.324Z] go vet ./... [2024-11-08T02:59:28.594Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T02:59:28.594Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T02:59:28.594Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T02:59:28.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T02:59:28.928Z] $ docker stop --time=1 e91cd91152e07e969962b53a9f978b7425329dac3f91791c02935fcb224cf318 [2024-11-08T02:59:32.684Z] $ docker rm -f --volumes e91cd91152e07e969962b53a9f978b7425329dac3f91791c02935fcb224cf318 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T02:59:33.234Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T02:59:33.306Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-08T02:59:33.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T02:59:34.045Z] + ls -al . [2024-11-08T02:59:34.045Z] total 316 [2024-11-08T02:59:34.045Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 02:58 . [2024-11-08T02:59:34.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:57 .. [2024-11-08T02:59:34.045Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 02:59 .git [2024-11-08T02:59:34.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:57 .github [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 8 02:57 .gitignore [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 02:57 .golangci.yml [2024-11-08T02:59:34.045Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 02:57 .semver [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 19973 Nov 8 02:57 Attribution.txt [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 8 02:57 CHANGELOG.md [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 1715 Nov 8 02:57 Dockerfile [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 02:57 GOVERNANCE.md [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 8 02:57 Jenkinsfile [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 02:57 LICENSE [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 3465 Nov 8 02:57 Makefile [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 02:57 OWNERS.md [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 8 02:57 README.md [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:57 VERSION [2024-11-08T02:59:34.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:57 bin [2024-11-08T02:59:34.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:57 cmd [2024-11-08T02:59:34.045Z] -rw-r--r-- 1 jenkins jenkins 92292 Nov 8 02:59 coverage.out [2024-11-08T02:59:34.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:57 doc [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 6636 Nov 8 02:57 go.mod [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 88824 Nov 8 02:57 go.sum [2024-11-08T02:59:34.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:57 internal [2024-11-08T02:59:34.045Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 02:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:59:34.397Z] + 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=10599072c9655e29548c116613113411af81b17c --label arch=amd64 --label version=0.0.0 . [2024-11-08T02:59:34.397Z] Sending build context to Docker daemon 36.9MB [2024-11-08T02:59:34.397Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T02:59:34.397Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-08T02:59:34.397Z] ---> b0cb6f51d008 [2024-11-08T02:59:34.397Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-11-08T02:59:34.967Z] ---> Running in 0f444590ff63 [2024-11-08T02:59:34.967Z] Removing intermediate container 0f444590ff63 [2024-11-08T02:59:34.967Z] ---> bbee569e995e [2024-11-08T02:59:34.967Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T02:59:34.967Z] ---> Running in 8b36632f2ae8 [2024-11-08T02:59:34.967Z] Removing intermediate container 8b36632f2ae8 [2024-11-08T02:59:34.967Z] ---> 29d82394ebe2 [2024-11-08T02:59:34.967Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-08T02:59:34.967Z] ---> Running in 3db09768e978 [2024-11-08T02:59:35.230Z] Removing intermediate container 3db09768e978 [2024-11-08T02:59:35.230Z] ---> 522113757c09 [2024-11-08T02:59:35.230Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T02:59:35.230Z] ---> Running in 96cd85b0b5a8 [2024-11-08T02:59:35.230Z] Removing intermediate container 96cd85b0b5a8 [2024-11-08T02:59:35.230Z] ---> d0e6fb318b15 [2024-11-08T02:59:35.230Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-11-08T02:59:35.230Z] ---> Running in 3b4f5a4101e4 [2024-11-08T02:59:35.230Z] Removing intermediate container 3b4f5a4101e4 [2024-11-08T02:59:35.230Z] ---> 24f15d24db02 [2024-11-08T02:59:35.230Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T02:59:35.493Z] ---> Running in 54591c346b6b [2024-11-08T02:59:35.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T02:59:35.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T02:59:36.012Z] OK: 246 MiB in 54 packages [2024-11-08T02:59:36.271Z] Removing intermediate container 54591c346b6b [2024-11-08T02:59:36.271Z] ---> e74ce0d3516e [2024-11-08T02:59:36.271Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-11-08T02:59:36.271Z] ---> Running in 48166795f714 [2024-11-08T02:59:36.271Z] Removing intermediate container 48166795f714 [2024-11-08T02:59:36.271Z] ---> 1983daa86266 [2024-11-08T02:59:36.271Z] Step 10/27 : COPY go.mod vendor* ./ [2024-11-08T02:59:36.529Z] ---> 6e863cdbdbdb [2024-11-08T02:59:36.530Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T02:59:36.530Z] ---> Running in 5562a27ed7ac [2024-11-08T02:59:37.466Z] Removing intermediate container 5562a27ed7ac [2024-11-08T02:59:37.466Z] ---> b524ffc650e8 [2024-11-08T02:59:37.466Z] Step 12/27 : COPY . . [2024-11-08T02:59:38.402Z] ---> 923dc4af3920 [2024-11-08T02:59:38.402Z] Step 13/27 : RUN ${MAKE} [2024-11-08T02:59:38.402Z] ---> Running in 620ef58110fb [2024-11-08T02:59:38.662Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-11-08T03:00:17.391Z] Removing intermediate container 620ef58110fb [2024-11-08T03:00:17.391Z] ---> d0e62ed6f075 [2024-11-08T03:00:17.391Z] Step 14/27 : FROM alpine:3.20 [2024-11-08T03:00:17.391Z] 3.20: Pulling from library/alpine [2024-11-08T03:00:17.391Z] 43c4264eed91: Already exists [2024-11-08T03:00:17.391Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T03:00:17.391Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T03:00:17.391Z] ---> 91ef0af61f39 [2024-11-08T03:00:17.391Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-08T03:00:17.391Z] ---> Running in d7c427c10871 [2024-11-08T03:00:17.391Z] Removing intermediate container d7c427c10871 [2024-11-08T03:00:17.391Z] ---> 17aebf89bb37 [2024-11-08T03:00:17.391Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-11-08T03:00:17.391Z] ---> Running in 784439c9f896 [2024-11-08T03:00:17.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:17.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:17.391Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T03:00:17.391Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:00:17.391Z] OK: 8 MiB in 15 packages [2024-11-08T03:00:17.391Z] Removing intermediate container 784439c9f896 [2024-11-08T03:00:17.391Z] ---> 962cad38e36b [2024-11-08T03:00:17.391Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-08T03:00:17.391Z] ---> Running in 7dd5fd1a2ea8 [2024-11-08T03:00:17.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:17.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:17.650Z] Upgrading critical system libraries and apk-tools: [2024-11-08T03:00:17.650Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T03:00:17.650Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:00:17.650Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T03:00:17.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:17.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:18.218Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:00:18.218Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:00:18.218Z] OK: 8 MiB in 15 packages [2024-11-08T03:00:18.829Z] Removing intermediate container 7dd5fd1a2ea8 [2024-11-08T03:00:18.829Z] ---> f68e07b32429 [2024-11-08T03:00:18.829Z] Step 18/27 : WORKDIR / [2024-11-08T03:00:18.829Z] ---> Running in 9a5715d12be4 [2024-11-08T03:00:18.829Z] Removing intermediate container 9a5715d12be4 [2024-11-08T03:00:18.829Z] ---> a3a4021a5496 [2024-11-08T03:00:18.829Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-11-08T03:00:20.224Z] ---> a98b0582fdde [2024-11-08T03:00:20.224Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-11-08T03:00:20.483Z] ---> 659cc2cbf2ef [2024-11-08T03:00:20.483Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-11-08T03:00:20.483Z] ---> 78771b7c3e7b [2024-11-08T03:00:20.483Z] Step 22/27 : EXPOSE 59984 [2024-11-08T03:00:20.483Z] ---> Running in 4474683bfae6 [2024-11-08T03:00:20.483Z] Removing intermediate container 4474683bfae6 [2024-11-08T03:00:20.483Z] ---> 6853b5a6518c [2024-11-08T03:00:20.483Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-11-08T03:00:20.741Z] ---> Running in 9e63bc42ce7a [2024-11-08T03:00:20.741Z] Removing intermediate container 9e63bc42ce7a [2024-11-08T03:00:20.741Z] ---> 84d9b6c99dd8 [2024-11-08T03:00:20.741Z] Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T03:00:20.741Z] ---> Running in c395f43f5c19 [2024-11-08T03:00:20.741Z] Removing intermediate container c395f43f5c19 [2024-11-08T03:00:20.741Z] ---> 937ccf64a370 [2024-11-08T03:00:20.741Z] Step 25/27 : LABEL arch=amd64 [2024-11-08T03:00:20.741Z] ---> Running in 37f12f0389b2 [2024-11-08T03:00:20.999Z] Removing intermediate container 37f12f0389b2 [2024-11-08T03:00:20.999Z] ---> 2f9711063e80 [2024-11-08T03:00:20.999Z] Step 26/27 : LABEL git_sha=10599072c9655e29548c116613113411af81b17c [2024-11-08T03:00:20.999Z] ---> Running in 06c0a813421d [2024-11-08T03:00:20.999Z] Removing intermediate container 06c0a813421d [2024-11-08T03:00:20.999Z] ---> 5f58431907b0 [2024-11-08T03:00:20.999Z] Step 27/27 : LABEL version=0.0.0 [2024-11-08T03:00:20.999Z] ---> Running in 440f0b24de8b [2024-11-08T03:00:20.999Z] Removing intermediate container 440f0b24de8b [2024-11-08T03:00:20.999Z] ---> a2a07b93f116 [2024-11-08T03:00:20.999Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T03:00:20.999Z] Successfully built a2a07b93f116 [2024-11-08T03:00:20.999Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:00:21.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:00:21.463Z] [2024-11-08T03:00:21.463Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:00:21.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:00:21.769Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T03:00:21.769Z] 5eb5b503b376: Pulling fs layer [2024-11-08T03:00:21.769Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T03:00:21.769Z] ec43610c2a17: Pulling fs layer [2024-11-08T03:00:21.769Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T03:00:21.769Z] 33b1e0a273af: Pulling fs layer [2024-11-08T03:00:21.769Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T03:00:21.769Z] 2f39f015ded8: Pulling fs layer [2024-11-08T03:00:21.769Z] 33b1e0a273af: Waiting [2024-11-08T03:00:21.769Z] 5d3b04190fa2: Waiting [2024-11-08T03:00:21.769Z] 2f39f015ded8: Waiting [2024-11-08T03:00:21.769Z] 3a2ae6a8a46f: Waiting [2024-11-08T03:00:21.769Z] 5c69ac0246d0: Download complete [2024-11-08T03:00:21.769Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-08T03:00:21.769Z] 3a2ae6a8a46f: Download complete [2024-11-08T03:00:21.769Z] 33b1e0a273af: Verifying Checksum [2024-11-08T03:00:21.769Z] 33b1e0a273af: Download complete [2024-11-08T03:00:21.769Z] 5d3b04190fa2: Download complete [2024-11-08T03:00:21.769Z] ec43610c2a17: Verifying Checksum [2024-11-08T03:00:21.769Z] ec43610c2a17: Download complete [2024-11-08T03:00:22.029Z] 5eb5b503b376: Verifying Checksum [2024-11-08T03:00:22.029Z] 5eb5b503b376: Download complete [2024-11-08T03:00:22.593Z] 2f39f015ded8: Download complete [2024-11-08T03:00:23.528Z] 5eb5b503b376: Pull complete [2024-11-08T03:00:23.528Z] 5c69ac0246d0: Pull complete [2024-11-08T03:00:24.096Z] ec43610c2a17: Pull complete [2024-11-08T03:00:24.096Z] 3a2ae6a8a46f: Pull complete [2024-11-08T03:00:24.096Z] 33b1e0a273af: Pull complete [2024-11-08T03:00:24.354Z] 5d3b04190fa2: Pull complete [2024-11-08T03:00:28.539Z] 2f39f015ded8: Pull complete [2024-11-08T03:00:28.539Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T03:00:28.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:00:28.539Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:00:28.657Z] prd-ubuntu20.04-docker-8c-8g-24959 does not seem to be running inside a container [2024-11-08T03:00:28.706Z] $ 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-472 -v /w/workspace/undry_device-onvif-camera_PR-472:/w/workspace/undry_device-onvif-camera_PR-472:rw,z -v /w/workspace/undry_device-onvif-camera_PR-472@tmp:/w/workspace/undry_device-onvif-camera_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T03:00:32.366Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24964 in /w/workspace/undry_device-onvif-camera_PR-472 [2024-11-08T03:00:34.031Z] $ docker top 24bbefb3d6a4be308a48d215718b3407e84718aab5c09ed01ae292e6afca82ac -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2024-11-08T03:00:34.164Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2024-11-08T03:00:34.209Z] The recommended git tool is: git [2024-11-08T03:00:34.418Z] ---> job-cost.sh [2024-11-08T03:00:34.418Z] lf-activate-venv: SKIPPING [2024-11-08T03:00:34.418Z] INFO: No Stack... [2024-11-08T03:00:34.677Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T03:00:34.939Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T03:00:35.234Z] + cat /w/workspace/undry_device-onvif-camera_PR-472/archives/cost.csv [2024-11-08T03:00:35.234Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T03:00:35.251Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-2-stack-cost] [2024-11-08T03:00:35.259Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-472-2-stack-cost] did not exist. Created. [2024-11-08T03:00:35.268Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T03:00:35.596Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T03:00:35.637Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T03:00:35.645Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T03:00:35.683Z] $ docker stop --time=1 24bbefb3d6a4be308a48d215718b3407e84718aab5c09ed01ae292e6afca82ac [2024-11-08T03:00:36.888Z] $ docker rm -f --volumes 24bbefb3d6a4be308a48d215718b3407e84718aab5c09ed01ae292e6afca82ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-08T03:00:41.036Z] using credential edgex-jenkins-ssh [2024-11-08T03:00:41.063Z] Cloning the remote Git repository [2024-11-08T03:00:41.155Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-08T03:00:41.288Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2024-11-08T03:00:41.466Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-08T03:00:41.470Z] > git --version # timeout=10 [2024-11-08T03:00:41.499Z] > git --version # 'git version 2.25.1' [2024-11-08T03:00:41.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:00:41.683Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T03:00:45.981Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-11-08T03:00:46.013Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T03:00:52.766Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-11-08T03:00:53.447Z] Merging remotes/origin/main commit b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c into PR head commit 10599072c9655e29548c116613113411af81b17c [2024-11-08T03:00:53.948Z] Merge succeeded, producing 10599072c9655e29548c116613113411af81b17c [2024-11-08T03:00:53.949Z] Checking out Revision 10599072c9655e29548c116613113411af81b17c (PR-472) [2024-11-08T03:00:52.815Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-08T03:00:52.816Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:00:52.843Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/472/head:refs/remotes/origin/PR-472 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-08T03:00:53.472Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:00:53.581Z] > git checkout -f 10599072c9655e29548c116613113411af81b17c # timeout=10 [2024-11-08T03:00:53.816Z] > git remote # timeout=10 [2024-11-08T03:00:53.841Z] > git config --get remote.origin.url # timeout=10 [2024-11-08T03:00:53.860Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:00:53.889Z] > git merge b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c # timeout=10 [2024-11-08T03:00:53.923Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-08T03:00:53.957Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:00:53.978Z] > git checkout -f 10599072c9655e29548c116613113411af81b17c # timeout=10 [2024-11-08T03:00:58.079Z] Commit message: "fix: Only one ldflags flag is allowed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:01:00.074Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T03:01:00.074Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:01:00.074Z] Dload Upload Total Spent Left Speed [2024-11-08T03:01:00.074Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 186k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh [2024-11-08T03:01:00.453Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T03:01:00.816Z] + sudo tee /etc/docker/daemon.new [2024-11-08T03:01:00.816Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-08T03:01:00.816Z] { [2024-11-08T03:01:00.816Z] "registry-mirrors": [ [2024-11-08T03:01:00.816Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T03:01:00.816Z] ], [2024-11-08T03:01:00.816Z] "bip": "10.250.0.254/24", [2024-11-08T03:01:00.816Z] "hosts": [ [2024-11-08T03:01:00.816Z] "tcp://0.0.0.0:5555", [2024-11-08T03:01:00.816Z] "unix:///var/run/docker.sock" [2024-11-08T03:01:00.816Z] ], [2024-11-08T03:01:00.816Z] "mtu": 1458, [2024-11-08T03:01:00.816Z] "selinux-enabled": true, [2024-11-08T03:01:00.816Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T03:01:00.816Z] } [Pipeline] sh [2024-11-08T03:01:01.174Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T03:01:01.550Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:01:20.220Z] provisioning config files... [2024-11-08T03:01:20.247Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config2538219628796889279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:01:20.774Z] ---> ****-login.sh [2024-11-08T03:01:20.775Z] nexus3.edgexfoundry.org:10001 [2024-11-08T03:01:21.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:01:21.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:01:21.659Z] Configure a credential helper to remove this warning. See [2024-11-08T03:01:21.659Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:01:21.659Z] [2024-11-08T03:01:21.659Z] Login Succeeded [2024-11-08T03:01:21.956Z] nexus3.edgexfoundry.org:10002 [2024-11-08T03:01:22.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:01:22.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:01:22.530Z] Configure a credential helper to remove this warning. See [2024-11-08T03:01:22.530Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:01:22.530Z] [2024-11-08T03:01:22.530Z] Login Succeeded [2024-11-08T03:01:22.530Z] nexus3.edgexfoundry.org:10003 [2024-11-08T03:01:23.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:01:23.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:01:23.202Z] Configure a credential helper to remove this warning. See [2024-11-08T03:01:23.202Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:01:23.202Z] [2024-11-08T03:01:23.202Z] Login Succeeded [2024-11-08T03:01:23.202Z] nexus3.edgexfoundry.org:10004 [2024-11-08T03:01:23.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:01:24.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:01:24.119Z] Configure a credential helper to remove this warning. See [2024-11-08T03:01:24.119Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:01:24.119Z] [2024-11-08T03:01:24.119Z] Login Succeeded [2024-11-08T03:01:24.119Z] ****.io [2024-11-08T03:01:24.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:01:24.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:01:24.726Z] Configure a credential helper to remove this warning. See [2024-11-08T03:01:24.726Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:01:24.726Z] [2024-11-08T03:01:24.726Z] Login Succeeded [2024-11-08T03:01:24.726Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T03:01:25.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T03:01:25.496Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:01:25.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:01:25.545Z] ========================================================= [2024-11-08T03:01:25.545Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-08T03:01:25.545Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:01:25.946Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-08T03:01:28.582Z] Sending build context to Docker daemon 21.82MB [2024-11-08T03:01:28.582Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:01:28.582Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-08T03:01:28.582Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-08T03:01:28.582Z] cf04c63912e1: Pulling fs layer [2024-11-08T03:01:28.582Z] 55b35a11ae5e: Pulling fs layer [2024-11-08T03:01:28.582Z] a37a00ec5f00: Pulling fs layer [2024-11-08T03:01:28.582Z] 50b3750afda1: Pulling fs layer [2024-11-08T03:01:28.582Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T03:01:28.582Z] 80978eb59214: Pulling fs layer [2024-11-08T03:01:28.582Z] c9f46d7d2bd2: Pulling fs layer [2024-11-08T03:01:28.582Z] c5a475d317c9: Pulling fs layer [2024-11-08T03:01:28.582Z] 50b3750afda1: Waiting [2024-11-08T03:01:28.582Z] 4f4fb700ef54: Waiting [2024-11-08T03:01:28.582Z] 80978eb59214: Waiting [2024-11-08T03:01:28.582Z] c9f46d7d2bd2: Waiting [2024-11-08T03:01:28.582Z] c5a475d317c9: Waiting [2024-11-08T03:01:28.582Z] 55b35a11ae5e: Verifying Checksum [2024-11-08T03:01:28.582Z] 55b35a11ae5e: Download complete [2024-11-08T03:01:28.582Z] 50b3750afda1: Download complete [2024-11-08T03:01:28.582Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T03:01:28.582Z] 4f4fb700ef54: Download complete [2024-11-08T03:01:28.582Z] 80978eb59214: Verifying Checksum [2024-11-08T03:01:28.582Z] 80978eb59214: Download complete [2024-11-08T03:01:28.858Z] cf04c63912e1: Verifying Checksum [2024-11-08T03:01:28.858Z] cf04c63912e1: Download complete [2024-11-08T03:01:29.451Z] c5a475d317c9: Verifying Checksum [2024-11-08T03:01:29.451Z] c5a475d317c9: Download complete [2024-11-08T03:01:31.422Z] a37a00ec5f00: Verifying Checksum [2024-11-08T03:01:31.422Z] a37a00ec5f00: Download complete [2024-11-08T03:01:31.422Z] cf04c63912e1: Pull complete [2024-11-08T03:01:32.013Z] 55b35a11ae5e: Pull complete [2024-11-08T03:01:32.603Z] c9f46d7d2bd2: Verifying Checksum [2024-11-08T03:01:32.603Z] c9f46d7d2bd2: Download complete [2024-11-08T03:01:47.647Z] a37a00ec5f00: Pull complete [2024-11-08T03:01:47.647Z] 50b3750afda1: Pull complete [2024-11-08T03:01:47.647Z] 4f4fb700ef54: Pull complete [2024-11-08T03:01:47.647Z] 80978eb59214: Pull complete [2024-11-08T03:01:54.297Z] c9f46d7d2bd2: Pull complete [2024-11-08T03:01:56.903Z] c5a475d317c9: Pull complete [2024-11-08T03:01:56.903Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-08T03:01:56.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-08T03:01:56.903Z] ---> be29e6b0f0d4 [2024-11-08T03:01:56.903Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:01:58.895Z] ---> Running in 43cbc463251c [2024-11-08T03:01:58.895Z] Removing intermediate container 43cbc463251c [2024-11-08T03:01:58.895Z] ---> c1c49a5baf29 [2024-11-08T03:01:58.895Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:01:59.168Z] ---> Running in f9fd8226147c [2024-11-08T03:01:59.438Z] Removing intermediate container f9fd8226147c [2024-11-08T03:01:59.438Z] ---> ae26a46b7a96 [2024-11-08T03:01:59.438Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-11-08T03:01:59.438Z] ---> Running in 95ad2aa9d846 [2024-11-08T03:01:59.722Z] Removing intermediate container 95ad2aa9d846 [2024-11-08T03:01:59.722Z] ---> 47a8b43d910e [2024-11-08T03:01:59.722Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T03:02:00.013Z] ---> Running in 56187cbe165e [2024-11-08T03:02:00.287Z] Removing intermediate container 56187cbe165e [2024-11-08T03:02:00.287Z] ---> e242a31e2314 [2024-11-08T03:02:00.287Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-11-08T03:02:00.563Z] ---> Running in f1348a4e6219 [2024-11-08T03:02:00.840Z] Removing intermediate container f1348a4e6219 [2024-11-08T03:02:00.840Z] ---> f9742050c84b [2024-11-08T03:02:00.840Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:02:00.840Z] ---> Running in 5a303aaa66b6 [2024-11-08T03:02:02.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:02:02.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:02:04.515Z] OK: 238 MiB in 54 packages [2024-11-08T03:02:05.499Z] Removing intermediate container 5a303aaa66b6 [2024-11-08T03:02:05.499Z] ---> 6dcd1abbca47 [2024-11-08T03:02:05.499Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-11-08T03:02:05.818Z] ---> Running in 6a44585bcd8c [2024-11-08T03:02:06.088Z] Removing intermediate container 6a44585bcd8c [2024-11-08T03:02:06.088Z] ---> ac9ed661fba1 [2024-11-08T03:02:06.088Z] Step 10/13 : COPY go.mod vendor* ./ [2024-11-08T03:02:06.702Z] ---> 9c9fe25daae3 [2024-11-08T03:02:06.702Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:02:06.702Z] ---> Running in 4e8288ae5032 [2024-11-08T03:04:28.516Z] Removing intermediate container 4e8288ae5032 [2024-11-08T03:04:28.516Z] ---> 39cf68e2e263 [2024-11-08T03:04:28.516Z] Step 12/13 : COPY . . [2024-11-08T03:04:28.516Z] ---> 39e05e941fcc [2024-11-08T03:04:28.516Z] Step 13/13 : RUN ${MAKE} [2024-11-08T03:04:28.516Z] ---> Running in 9929461e1a21 [2024-11-08T03:04:28.516Z] noop [2024-11-08T03:04:28.516Z] Removing intermediate container 9929461e1a21 [2024-11-08T03:04:28.516Z] ---> 187994b85d66 [2024-11-08T03:04:28.516Z] Successfully built 187994b85d66 [2024-11-08T03:04:28.516Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:04:28.909Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:04:28.910Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:04:29.199Z] prd-ubuntu20.04-docker-arm64-4c-16g-24964 does not seem to be running inside a container [2024-11-08T03:04:29.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:04:30.820Z] $ docker top 1e94d26a14f887b43da58f885ea933eab128e05a4242e571958d78d916e72334 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:04:31.795Z] + go version [2024-11-08T03:04:31.795Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-08T03:04:31.816Z] $ docker stop --time=1 1e94d26a14f887b43da58f885ea933eab128e05a4242e571958d78d916e72334 [2024-11-08T03:04:33.626Z] $ docker rm -f --volumes 1e94d26a14f887b43da58f885ea933eab128e05a4242e571958d78d916e72334 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:04:34.311Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:04:34.311Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:04:34.561Z] prd-ubuntu20.04-docker-arm64-4c-16g-24964 does not seem to be running inside a container [2024-11-08T03:04:34.640Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:04:36.177Z] $ docker top 41701bd6b887ed1e6d821f2f687534bbb19d5db5e7f7d250232432ce3214cf19 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:04:37.188Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2024-11-08T03:04:37.945Z] + make test [2024-11-08T03:04:37.945Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T03:04:46.241Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-11-08T03:09:08.163Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-11-08T03:09:08.764Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-11-08T03:09:11.354Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.188s coverage: 31.4% of statements [2024-11-08T03:09:33.483Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.923s coverage: 86.5% of statements [2024-11-08T03:09:33.483Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-08T03:09:33.483Z] go vet ./... [2024-11-08T03:10:55.317Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T03:10:55.317Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T03:10:55.317Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T03:10:55.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T03:10:55.363Z] $ docker stop --time=1 41701bd6b887ed1e6d821f2f687534bbb19d5db5e7f7d250232432ce3214cf19 [2024-11-08T03:10:57.658Z] $ docker rm -f --volumes 41701bd6b887ed1e6d821f2f687534bbb19d5db5e7f7d250232432ce3214cf19 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T03:10:59.880Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T03:10:59.912Z] Warning: overwriting stash ‘coverage-report’ [2024-11-08T03:11:00.823Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:11:01.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T03:11:01.610Z] + ls -al . [2024-11-08T03:11:01.611Z] total 312 [2024-11-08T03:11:01.611Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:04 . [2024-11-08T03:11:01.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:00 .. [2024-11-08T03:11:01.611Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:00 .git [2024-11-08T03:11:01.611Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:00 .github [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 8 03:00 .gitignore [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 03:00 .golangci.yml [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 19973 Nov 8 03:00 Attribution.txt [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 8 03:00 CHANGELOG.md [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 1715 Nov 8 03:00 Dockerfile [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 03:00 GOVERNANCE.md [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 8 03:00 Jenkinsfile [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 03:00 LICENSE [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 3465 Nov 8 03:00 Makefile [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 03:00 OWNERS.md [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 8 03:00 README.md [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:57 VERSION [2024-11-08T03:11:01.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:00 bin [2024-11-08T03:11:01.611Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:00 cmd [2024-11-08T03:11:01.611Z] -rw-r--r-- 1 jenkins jenkins 92292 Nov 8 03:09 coverage.out [2024-11-08T03:11:01.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:00 doc [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 6636 Nov 8 03:00 go.mod [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 88824 Nov 8 03:00 go.sum [2024-11-08T03:11:01.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:00 internal [2024-11-08T03:11:01.611Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 03:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:11:02.018Z] + 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=10599072c9655e29548c116613113411af81b17c --label arch=arm64 --label version=0.0.0 . [2024-11-08T03:11:03.014Z] Sending build context to Docker daemon 21.91MB [2024-11-08T03:11:03.014Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:11:03.014Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-08T03:11:03.014Z] ---> 187994b85d66 [2024-11-08T03:11:03.014Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:11:03.014Z] ---> Running in deb6443e2793 [2024-11-08T03:11:03.615Z] Removing intermediate container deb6443e2793 [2024-11-08T03:11:03.615Z] ---> 6b49701ba757 [2024-11-08T03:11:03.615Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:11:03.615Z] ---> Running in 05764837a43a [2024-11-08T03:11:03.893Z] Removing intermediate container 05764837a43a [2024-11-08T03:11:03.893Z] ---> dc364646700f [2024-11-08T03:11:03.893Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-08T03:11:04.166Z] ---> Running in 296f32d34640 [2024-11-08T03:11:04.438Z] Removing intermediate container 296f32d34640 [2024-11-08T03:11:04.438Z] ---> 8b1b86b58a3d [2024-11-08T03:11:04.438Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T03:11:04.710Z] ---> Running in 2ea0bff32910 [2024-11-08T03:11:04.978Z] Removing intermediate container 2ea0bff32910 [2024-11-08T03:11:04.978Z] ---> 434c88b87522 [2024-11-08T03:11:04.978Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-11-08T03:11:05.246Z] ---> Running in e692128debbb [2024-11-08T03:11:05.528Z] Removing intermediate container e692128debbb [2024-11-08T03:11:05.528Z] ---> 482a96bde052 [2024-11-08T03:11:05.528Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:11:05.528Z] ---> Running in 6b4696b9ccdf [2024-11-08T03:11:06.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:11:07.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:11:08.670Z] OK: 238 MiB in 54 packages [2024-11-08T03:11:09.663Z] Removing intermediate container 6b4696b9ccdf [2024-11-08T03:11:09.663Z] ---> b3096977dfbe [2024-11-08T03:11:09.663Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-11-08T03:11:09.936Z] ---> Running in 6723a6d02ca3 [2024-11-08T03:11:10.207Z] Removing intermediate container 6723a6d02ca3 [2024-11-08T03:11:10.207Z] ---> 6940322429a7 [2024-11-08T03:11:10.207Z] Step 10/27 : COPY go.mod vendor* ./ [2024-11-08T03:11:11.178Z] ---> eec122a33c53 [2024-11-08T03:11:11.178Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:11:11.178Z] ---> Running in 387f09c206d6 [2024-11-08T03:11:14.534Z] Removing intermediate container 387f09c206d6 [2024-11-08T03:11:14.534Z] ---> af91413d04d0 [2024-11-08T03:11:14.534Z] Step 12/27 : COPY . . [2024-11-08T03:11:16.044Z] ---> f2c6652364b2 [2024-11-08T03:11:16.044Z] Step 13/27 : RUN ${MAKE} [2024-11-08T03:11:16.328Z] ---> Running in 69c58cde4b51 [2024-11-08T03:11:17.347Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-11-08T03:16:09.421Z] Removing intermediate container 69c58cde4b51 [2024-11-08T03:16:09.421Z] ---> d89168cdeb4e [2024-11-08T03:16:09.421Z] Step 14/27 : FROM alpine:3.20 [2024-11-08T03:16:09.421Z] 3.20: Pulling from library/alpine [2024-11-08T03:16:09.421Z] cf04c63912e1: Already exists [2024-11-08T03:16:09.421Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T03:16:09.421Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T03:16:09.421Z] ---> c157a85ed455 [2024-11-08T03:16:09.421Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-08T03:16:09.421Z] ---> Running in 2d7bd45b2279 [2024-11-08T03:16:09.421Z] Removing intermediate container 2d7bd45b2279 [2024-11-08T03:16:09.421Z] ---> 95b65ab0be8b [2024-11-08T03:16:09.421Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-11-08T03:16:09.421Z] ---> Running in fb0136da4a7b [2024-11-08T03:16:10.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:10.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:12.794Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T03:16:12.794Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:16:12.794Z] OK: 9 MiB in 15 packages [2024-11-08T03:16:13.758Z] Removing intermediate container fb0136da4a7b [2024-11-08T03:16:13.758Z] ---> f1a692ce6102 [2024-11-08T03:16:13.758Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-08T03:16:13.758Z] ---> Running in 726cca6abefd [2024-11-08T03:16:14.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:15.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:16.422Z] Upgrading critical system libraries and apk-tools: [2024-11-08T03:16:16.422Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T03:16:16.697Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:16:16.967Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T03:16:16.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:17.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:16:19.655Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:16:19.655Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:16:19.655Z] OK: 9 MiB in 15 packages [2024-11-08T03:16:20.239Z] Removing intermediate container 726cca6abefd [2024-11-08T03:16:20.239Z] ---> 8b74cbf9c55a [2024-11-08T03:16:20.239Z] Step 18/27 : WORKDIR / [2024-11-08T03:16:20.507Z] ---> Running in 367c0b75a179 [2024-11-08T03:16:20.776Z] Removing intermediate container 367c0b75a179 [2024-11-08T03:16:20.776Z] ---> f2ca267aebe2 [2024-11-08T03:16:20.776Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-11-08T03:16:22.722Z] ---> 1fb2cc23ca05 [2024-11-08T03:16:22.722Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-11-08T03:16:23.307Z] ---> 2add2609cae4 [2024-11-08T03:16:23.307Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-11-08T03:16:23.902Z] ---> 00c5d5afae6d [2024-11-08T03:16:23.902Z] Step 22/27 : EXPOSE 59984 [2024-11-08T03:16:24.173Z] ---> Running in e024d450a5a7 [2024-11-08T03:16:24.443Z] Removing intermediate container e024d450a5a7 [2024-11-08T03:16:24.443Z] ---> 101d396abe83 [2024-11-08T03:16:24.443Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-11-08T03:16:24.443Z] ---> Running in e89021131081 [2024-11-08T03:16:24.713Z] Removing intermediate container e89021131081 [2024-11-08T03:16:24.713Z] ---> 9845049d2aba [2024-11-08T03:16:24.713Z] Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T03:16:24.983Z] ---> Running in d3721f2f68b2 [2024-11-08T03:16:25.253Z] Removing intermediate container d3721f2f68b2 [2024-11-08T03:16:25.253Z] ---> 6774c50742fa [2024-11-08T03:16:25.253Z] Step 25/27 : LABEL arch=arm64 [2024-11-08T03:16:25.253Z] ---> Running in 7c9d4bab42ac [2024-11-08T03:16:25.522Z] Removing intermediate container 7c9d4bab42ac [2024-11-08T03:16:25.522Z] ---> c2523f4c11ff [2024-11-08T03:16:25.522Z] Step 26/27 : LABEL git_sha=10599072c9655e29548c116613113411af81b17c [2024-11-08T03:16:25.793Z] ---> Running in f642d695ba6b [2024-11-08T03:16:26.062Z] Removing intermediate container f642d695ba6b [2024-11-08T03:16:26.062Z] ---> ca1519bf14dc [2024-11-08T03:16:26.062Z] Step 27/27 : LABEL version=0.0.0 [2024-11-08T03:16:26.062Z] ---> Running in 4b75577a1458 [2024-11-08T03:16:26.333Z] Removing intermediate container 4b75577a1458 [2024-11-08T03:16:26.333Z] ---> ead6d7277685 [2024-11-08T03:16:26.333Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T03:16:26.601Z] Successfully built ead6d7277685 [2024-11-08T03:16:26.601Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:16:27.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:16:27.094Z] [2024-11-08T03:16:27.094Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:16:27.443Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:16:27.712Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T03:16:27.712Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T03:16:27.712Z] 04944245beec: Pulling fs layer [2024-11-08T03:16:27.712Z] 699f458cf7ca: Pulling fs layer [2024-11-08T03:16:27.712Z] 765212b225bb: Pulling fs layer [2024-11-08T03:16:27.712Z] f23df028b6ca: Pulling fs layer [2024-11-08T03:16:27.712Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T03:16:27.712Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T03:16:27.712Z] f23df028b6ca: Waiting [2024-11-08T03:16:27.712Z] d65c8cfc05b1: Waiting [2024-11-08T03:16:27.712Z] 765212b225bb: Waiting [2024-11-08T03:16:27.712Z] 04944245beec: Verifying Checksum [2024-11-08T03:16:27.712Z] 04944245beec: Download complete [2024-11-08T03:16:27.712Z] 765212b225bb: Verifying Checksum [2024-11-08T03:16:27.712Z] 765212b225bb: Download complete [2024-11-08T03:16:27.712Z] f23df028b6ca: Verifying Checksum [2024-11-08T03:16:27.712Z] f23df028b6ca: Download complete [2024-11-08T03:16:27.712Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T03:16:27.712Z] d65c8cfc05b1: Download complete [2024-11-08T03:16:27.980Z] 699f458cf7ca: Verifying Checksum [2024-11-08T03:16:27.980Z] 699f458cf7ca: Download complete [2024-11-08T03:16:28.249Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T03:16:28.249Z] 8998bd30e6a1: Download complete [2024-11-08T03:16:31.599Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T03:16:31.599Z] 2437ff75d9bd: Download complete [2024-11-08T03:16:33.610Z] 8998bd30e6a1: Pull complete [2024-11-08T03:16:34.205Z] 04944245beec: Pull complete [2024-11-08T03:16:36.161Z] 699f458cf7ca: Pull complete [2024-11-08T03:16:36.430Z] 765212b225bb: Pull complete [2024-11-08T03:16:37.423Z] f23df028b6ca: Pull complete [2024-11-08T03:16:37.692Z] d65c8cfc05b1: Pull complete [2024-11-08T03:16:55.911Z] 2437ff75d9bd: Pull complete [2024-11-08T03:16:55.911Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T03:16:55.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:16:55.911Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:16:56.162Z] prd-ubuntu20.04-docker-arm64-4c-16g-24964 does not seem to be running inside a container [2024-11-08T03:16:56.227Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-08T03:16:59.808Z] $ docker top bce951659f8d284730c0ae2112dfa4e566d1083271b88f0b4755f4a06eaa81c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:00.742Z] ---> job-cost.sh [2024-11-08T03:17:00.742Z] lf-activate-venv: SKIPPING [2024-11-08T03:17:00.742Z] INFO: No Stack... [2024-11-08T03:17:01.332Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T03:17:02.300Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T03:17:02.951Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2024-11-08T03:17:02.951Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T03:17:03.019Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-2-stack-cost] [2024-11-08T03:17:03.028Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-472-2-stack-cost] did not exist. Created. [2024-11-08T03:17:03.036Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T03:17:03.724Z] /w/workspace/device-onvif-camera/2@tmp/durable-9e417ca1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T03:17:04.385Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T03:17:04.423Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T03:17:04.491Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T03:17:04.500Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T03:17:04.522Z] $ docker stop --time=1 bce951659f8d284730c0ae2112dfa4e566d1083271b88f0b4755f4a06eaa81c9 [2024-11-08T03:17:06.638Z] $ docker rm -f --volumes bce951659f8d284730c0ae2112dfa4e566d1083271b88f0b4755f4a06eaa81c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-11-08T03:17:07.117Z] provisioning config files... [2024-11-08T03:17:07.123Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-472@tmp/config11610597134967095527tmp [Pipeline] { [Pipeline] sh [2024-11-08T03:17:07.429Z] + set +x [2024-11-08T03:17:07.430Z] + bash -s -- [2024-11-08T03:17:07.430Z] + curl -s https://codecov.io/bash [2024-11-08T03:17:07.430Z] [2024-11-08T03:17:07.430Z] _____ _ [2024-11-08T03:17:07.430Z] / ____| | | [2024-11-08T03:17:07.430Z] | | ___ __| | ___ ___ _____ __ [2024-11-08T03:17:07.430Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-08T03:17:07.430Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-08T03:17:07.430Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-08T03:17:07.430Z] Bash-1.0.6 [2024-11-08T03:17:07.430Z] [2024-11-08T03:17:07.430Z] [2024-11-08T03:17:07.430Z] ==> git version 2.25.1 found [2024-11-08T03:17:07.430Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-11-08T03:17:07.430Z] Release-Date: 2020-01-08 [2024-11-08T03:17:07.430Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-08T03:17:07.430Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-08T03:17:07.430Z] ==> Jenkins CI detected. [2024-11-08T03:17:07.430Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-472 [2024-11-08T03:17:07.430Z] project root: . [2024-11-08T03:17:07.430Z] --> token set from env [2024-11-08T03:17:07.430Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-08T03:17:07.430Z] ==> Running gcov in . (disable via -X gcov) [2024-11-08T03:17:07.430Z] ==> Python coveragepy not found [2024-11-08T03:17:07.430Z] ==> Searching for coverage reports in: [2024-11-08T03:17:07.430Z] + . [2024-11-08T03:17:07.430Z] -> Found 1 reports [2024-11-08T03:17:07.430Z] ==> Detecting git/mercurial file structure [2024-11-08T03:17:07.430Z] ==> Reading reports [2024-11-08T03:17:07.430Z] + ./coverage.out bytes=92292 [2024-11-08T03:17:07.430Z] ==> Appending adjustments [2024-11-08T03:17:07.430Z] https://docs.codecov.io/docs/fixing-reports [2024-11-08T03:17:07.687Z] + Found adjustments [2024-11-08T03:17:07.687Z] ==> Gzipping contents [2024-11-08T03:17:07.687Z] 12K /tmp/codecov.AZUAX7.gz [2024-11-08T03:17:07.687Z] ==> Uploading reports [2024-11-08T03:17:07.687Z] url: https://codecov.io [2024-11-08T03:17:07.687Z] query: branch=PR-472&commit=10599072c9655e29548c116613113411af81b17c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-472%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=472&job=&cmd_args= [2024-11-08T03:17:07.687Z] -> Pinging Codecov [2024-11-08T03:17:07.687Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-472&commit=10599072c9655e29548c116613113411af81b17c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-472%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=472&job=&cmd_args= [2024-11-08T03:17:07.945Z] -> Uploading to [2024-11-08T03:17:07.945Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/10599072c9655e29548c116613113411af81b17c/79c6057a-266e-4abb-9e5d-885c51515e54.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T031707Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=6a177c64509dce80ac09aaf6be27bc591f75198e6d8bbd9c69ff287184ffc50c [2024-11-08T03:17:07.945Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:17:07.945Z] Dload Upload Total Spent Left Speed [2024-11-08T03:17:08.204Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 52599 --:--:-- --:--:-- --:--:-- 52842 [2024-11-08T03:17:08.204Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/10599072c9655e29548c116613113411af81b17c [Pipeline] } [2024-11-08T03:17:08.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-08T03:17:09.063Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-472/archives ] [2024-11-08T03:17:09.064Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-472/archives [2024-11-08T03:17:09.064Z] total 16 [2024-11-08T03:17:09.064Z] drwxr-xr-x 3 root root 4096 Nov 8 03:00 . [2024-11-08T03:17:09.064Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 03:00 .. [2024-11-08T03:17:09.064Z] drwxr-xr-x 2 root root 4096 Nov 8 03:00 cost [2024-11-08T03:17:09.064Z] -rw-r--r-- 1 root root 91 Nov 8 03:00 cost.csv [2024-11-08T03:17:09.064Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-472/archives [2024-11-08T03:17:09.064Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-472/archives [2024-11-08T03:17:09.064Z] total 16 [2024-11-08T03:17:09.064Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 03:00 . [2024-11-08T03:17:09.064Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 03:00 .. [2024-11-08T03:17:09.064Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 03:00 cost [2024-11-08T03:17:09.064Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 8 03:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:09.404Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:10.305Z] ---> package-listing.sh [2024-11-08T03:17:10.305Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T03:17:10.305Z] ++ facter osfamily [2024-11-08T03:17:10.305Z] + OS_FAMILY=debian [2024-11-08T03:17:10.305Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-472 [2024-11-08T03:17:10.305Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T03:17:10.305Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T03:17:10.305Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T03:17:10.305Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T03:17:10.305Z] + '[' /w/workspace/undry_device-onvif-camera_PR-472 ']' [2024-11-08T03:17:10.305Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T03:17:10.305Z] + case "${OS_FAMILY}" in [2024-11-08T03:17:10.305Z] + dpkg -l [2024-11-08T03:17:10.305Z] + grep '^ii' [2024-11-08T03:17:10.574Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T03:17:10.574Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T03:17:10.574Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T03:17:10.574Z] + '[' /w/workspace/undry_device-onvif-camera_PR-472 ']' [2024-11-08T03:17:10.574Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-472/archives/ [2024-11-08T03:17:10.574Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-472/archives/ [Pipeline] echo [2024-11-08T03:17:10.596Z] 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-472/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-08T03:17:10.889Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:17:11.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:17:11.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:17:11.535Z] prd-ubuntu20.04-docker-8c-8g-24959 does not seem to be running inside a container [2024-11-08T03:17:11.580Z] $ 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-472/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-472 -v /w/workspace/undry_device-onvif-camera_PR-472:/w/workspace/undry_device-onvif-camera_PR-472:rw,z -v /w/workspace/undry_device-onvif-camera_PR-472@tmp:/w/workspace/undry_device-onvif-camera_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T03:17:11.777Z] $ docker top 668b06dcd84a54433ecaa25d7a2c0e365c34b002b59d586a8da4d80ef61ea7f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:17:12.110Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T03:17:12.396Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T03:17:12.680Z] + ls /var/log/sa-host [2024-11-08T03:17:12.680Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:17:12.768Z] provisioning config files... [2024-11-08T03:17:12.775Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-472@tmp/config7388043300302925240tmp [Pipeline] { [Pipeline] echo [2024-11-08T03:17:12.797Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:13.083Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T03:17:13.091Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:13.434Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T03:17:13.444Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:13.728Z] ---> sudo-logs.sh [2024-11-08T03:17:13.728Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T03:17:13.766Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:14.050Z] ---> job-cost.sh [2024-11-08T03:17:14.050Z] lf-activate-venv: SKIPPING [2024-11-08T03:17:14.050Z] DEBUG: total: 0.2199999988079071 [2024-11-08T03:17:14.050Z] INFO: Retrieving Stack Cost... [2024-11-08T03:17:14.618Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T03:17:14.876Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T03:17:14.886Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:17:15.169Z] ---> logs-deploy.sh [2024-11-08T03:17:15.169Z] lf-activate-venv: SKIPPING [2024-11-08T03:17:15.169Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-472/2 [2024-11-08T03:17:15.169Z] INFO: archiving workspace using pattern(s): [2024-11-08T03:17:16.108Z] Archives upload complete. [2024-11-08T03:17:16.108Z] INFO: archiving logs to Nexus