Pull request #472 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 30ac1c87d2d15cdd71263100a68b527e75ae5d2e+b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c (7fac58894c8abed85c9a0d36dce81a9bcae7a9b0) 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-ssh4778713426150462880.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-ssh6803238334756492372.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-472/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-472/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12083306994036467689.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-472/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5884535036160119035.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8029513427685229984.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-472/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-472/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2426970227560804965.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-24386’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-24387’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-24731’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-24733’ is offline Running on prd-ubuntu20.04-docker-8c-8g-24734 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 > 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 Merging remotes/origin/main commit b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c into PR head commit 30ac1c87d2d15cdd71263100a68b527e75ae5d2e Merge succeeded, producing 30ac1c87d2d15cdd71263100a68b527e75ae5d2e Checking out Revision 30ac1c87d2d15cdd71263100a68b527e75ae5d2e (PR-472) > 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 30ac1c87d2d15cdd71263100a68b527e75ae5d2e # 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 30ac1c87d2d15cdd71263100a68b527e75ae5d2e # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-07T09:12:55.922Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-07T09:12:56.138Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-07T09:12:56.267Z] ========================================================= [2024-11-07T09:12:56.267Z] EdgeX Global Pipelines Version Info [2024-11-07T09:12:56.267Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:12:57.416Z] ------------------- [2024-11-07T09:12:57.416Z] stable info: [2024-11-07T09:12:57.416Z] ------------------- [2024-11-07T09:12:57.416Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-07T09:12:57.416Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-07T09:12:57.416Z] Message: update stable to v1.0.265 [2024-11-07T09:12:57.676Z] ------------------- [2024-11-07T09:12:57.676Z] experimental info: [2024-11-07T09:12:57.676Z] ------------------- [2024-11-07T09:12:57.676Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-07T09:12:57.676Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-07T09:12:57.676Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-07T09:12:57.891Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-11-07T09:12:57.948Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-11-07T09:12:57.999Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-07T09:12:58.052Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-07T09:12:58.105Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-07T09:12:58.155Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-07T09:12:58.208Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-07T09:12:58.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-07T09:12:58.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-07T09:12:58.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-07T09:12:58.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-07T09:12:58.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-11-07T09:12:58.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-07T09:12:58.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-07T09:12:58.651Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:12:58.705Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:12:58.763Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:12:58.817Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:12:58.874Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-07T09:12:58.931Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-07T09:12:58.995Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-07T09:12:59.060Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-11-07T09:12:59.116Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-07T09:12:59.171Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-07T09:12:59.217Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-07T09:12:59.266Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-07T09:12:59.312Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-07T09:12:59.357Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-472 [Pipeline] echo [2024-11-07T09:12:59.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-472 [Pipeline] echo [2024-11-07T09:12:59.475Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-472 [Pipeline] echo [2024-11-07T09:12:59.534Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30ac1c87d2d15cdd71263100a68b527e75ae5d2e [Pipeline] echo [2024-11-07T09:12:59.598Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30ac1c8 [Pipeline] echo [2024-11-07T09:12:59.659Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:12:59.813Z] provisioning config files... [2024-11-07T09:12:59.827Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-472@tmp/config15332763989713994568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:13:00.211Z] ---> ****-login.sh [2024-11-07T09:13:00.211Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:13:00.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:13:00.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:13:00.782Z] Configure a credential helper to remove this warning. See [2024-11-07T09:13:00.782Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:13:00.782Z] [2024-11-07T09:13:00.782Z] Login Succeeded [2024-11-07T09:13:00.782Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:13:01.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:13:01.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:13:01.042Z] Configure a credential helper to remove this warning. See [2024-11-07T09:13:01.042Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:13:01.042Z] [2024-11-07T09:13:01.042Z] Login Succeeded [2024-11-07T09:13:01.042Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:13:01.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:13:01.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:13:01.043Z] Configure a credential helper to remove this warning. See [2024-11-07T09:13:01.043Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:13:01.043Z] [2024-11-07T09:13:01.043Z] Login Succeeded [2024-11-07T09:13:01.043Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:13:01.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:13:01.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:13:01.303Z] Configure a credential helper to remove this warning. See [2024-11-07T09:13:01.303Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:13:01.303Z] [2024-11-07T09:13:01.303Z] Login Succeeded [2024-11-07T09:13:01.303Z] ****.io [2024-11-07T09:13:01.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:13:01.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:13:01.569Z] Configure a credential helper to remove this warning. See [2024-11-07T09:13:01.569Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:13:01.569Z] [2024-11-07T09:13:01.569Z] Login Succeeded [2024-11-07T09:13:01.569Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:13:01.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-07T09:13:02.257Z] + git rev-list -1 --merges 30ac1c87d2d15cdd71263100a68b527e75ae5d2e~1..30ac1c87d2d15cdd71263100a68b527e75ae5d2e [Pipeline] echo [2024-11-07T09:13:02.311Z] -----------> git rev-list -1 --merges 30ac1c87d2d15cdd71263100a68b527e75ae5d2e~1..30ac1c87d2d15cdd71263100a68b527e75ae5d2e 30ac1c87d2d15cdd71263100a68b527e75ae5d2e [false] [Pipeline] sh [2024-11-07T09:13:02.646Z] + git log --format=format:%s -1 30ac1c87d2d15cdd71263100a68b527e75ae5d2e [Pipeline] echo [2024-11-07T09:13:02.694Z] ========================================================= [2024-11-07T09:13:02.694Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-07T09:13:02.694Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:13:03.146Z] + git log --format=format:%s -1 30ac1c87d2d15cdd71263100a68b527e75ae5d2e [Pipeline] echo [2024-11-07T09:13:03.186Z] [semverPrep] GIT_COMMIT: 30ac1c87d2d15cdd71263100a68b527e75ae5d2e, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-07T09:13:03.228Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-07T09:13:03.612Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-07T09:13:03.612Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-07T09:13:03.612Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-07T09:13:03.612Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-07T09:13:03.613Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-07T09:13:03.613Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-07T09:13:03.613Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:13:04.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:13:04.072Z] [2024-11-07T09:13:04.072Z] 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-07T09:13:04.472Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:13:04.472Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-07T09:13:04.472Z] b85a868b505f: Pulling fs layer [2024-11-07T09:13:04.472Z] e2be974225ed: Pulling fs layer [2024-11-07T09:13:04.472Z] 339a4e72a1f5: Pulling fs layer [2024-11-07T09:13:04.472Z] 988bab9f4d93: Pulling fs layer [2024-11-07T09:13:04.472Z] 1469e6f7b9e6: Pulling fs layer [2024-11-07T09:13:04.472Z] eaf3925da568: Pulling fs layer [2024-11-07T09:13:04.472Z] bab4dde63d76: Pulling fs layer [2024-11-07T09:13:04.472Z] bde34c3a00c8: Pulling fs layer [2024-11-07T09:13:04.472Z] b352a97aabf1: Pulling fs layer [2024-11-07T09:13:04.472Z] 4872d77fe225: Pulling fs layer [2024-11-07T09:13:04.472Z] 5851b861e8e6: Pulling fs layer [2024-11-07T09:13:04.472Z] 988bab9f4d93: Waiting [2024-11-07T09:13:04.472Z] 1469e6f7b9e6: Waiting [2024-11-07T09:13:04.472Z] eaf3925da568: Waiting [2024-11-07T09:13:04.472Z] bab4dde63d76: Waiting [2024-11-07T09:13:04.472Z] bde34c3a00c8: Waiting [2024-11-07T09:13:04.472Z] b352a97aabf1: Waiting [2024-11-07T09:13:04.472Z] 4872d77fe225: Waiting [2024-11-07T09:13:04.472Z] 5851b861e8e6: Waiting [2024-11-07T09:13:04.472Z] e2be974225ed: Download complete [2024-11-07T09:13:04.472Z] 988bab9f4d93: Verifying Checksum [2024-11-07T09:13:04.472Z] 988bab9f4d93: Download complete [2024-11-07T09:13:04.472Z] 1469e6f7b9e6: Verifying Checksum [2024-11-07T09:13:04.472Z] 1469e6f7b9e6: Download complete [2024-11-07T09:13:04.472Z] eaf3925da568: Download complete [2024-11-07T09:13:04.472Z] 339a4e72a1f5: Verifying Checksum [2024-11-07T09:13:04.472Z] 339a4e72a1f5: Download complete [2024-11-07T09:13:04.731Z] bde34c3a00c8: Download complete [2024-11-07T09:13:04.731Z] b352a97aabf1: Verifying Checksum [2024-11-07T09:13:04.731Z] b352a97aabf1: Download complete [2024-11-07T09:13:04.731Z] 4872d77fe225: Verifying Checksum [2024-11-07T09:13:04.731Z] 4872d77fe225: Download complete [2024-11-07T09:13:04.731Z] 5851b861e8e6: Verifying Checksum [2024-11-07T09:13:04.731Z] 5851b861e8e6: Download complete [2024-11-07T09:13:04.731Z] b85a868b505f: Verifying Checksum [2024-11-07T09:13:04.731Z] b85a868b505f: Download complete [2024-11-07T09:13:04.990Z] bab4dde63d76: Verifying Checksum [2024-11-07T09:13:04.990Z] bab4dde63d76: Download complete [2024-11-07T09:13:06.373Z] b85a868b505f: Pull complete [2024-11-07T09:13:06.634Z] e2be974225ed: Pull complete [2024-11-07T09:13:08.188Z] 339a4e72a1f5: Pull complete [2024-11-07T09:13:08.757Z] 988bab9f4d93: Pull complete [2024-11-07T09:13:09.327Z] 1469e6f7b9e6: Pull complete [2024-11-07T09:13:09.585Z] eaf3925da568: Pull complete [2024-11-07T09:13:11.489Z] bab4dde63d76: Pull complete [2024-11-07T09:13:11.489Z] bde34c3a00c8: Pull complete [2024-11-07T09:13:11.489Z] b352a97aabf1: Pull complete [2024-11-07T09:13:11.749Z] 4872d77fe225: Pull complete [2024-11-07T09:13:11.749Z] 5851b861e8e6: Pull complete [2024-11-07T09:13:11.749Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-07T09:13:11.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:13:11.749Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:13:12.031Z] prd-ubuntu20.04-docker-8c-8g-24734 does not seem to be running inside a container [2024-11-07T09:13:12.057Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-07T09:13:15.800Z] $ docker top bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb -eo pid,comm [2024-11-07T09:13:15.878Z] 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-07T09:13:15.878Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-07T09:13:16.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:13:16.054Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:13:16.181Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:13:16.179Z] $ docker exec bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb ssh-agent [2024-11-07T09:13:16.284Z] SSH_AUTH_SOCK=/tmp/ssh-54K68v6R72GG/agent.32 [2024-11-07T09:13:16.284Z] SSH_AGENT_PID=38 [2024-11-07T09:13:16.291Z] Running ssh-add (command line suppressed) [2024-11-07T09:13:16.388Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-472@tmp/private_key_2075763308872788545.key (/w/workspace/undry_device-onvif-camera_PR-472@tmp/private_key_2075763308872788545.key) [2024-11-07T09:13:16.407Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:13:16.754Z] + git tag --points-at HEAD [Pipeline] } [2024-11-07T09:13:16.776Z] $ docker exec --env ******** --env ******** bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb ssh-agent -k [2024-11-07T09:13:16.873Z] unset SSH_AUTH_SOCK; [2024-11-07T09:13:16.873Z] unset SSH_AGENT_PID; [2024-11-07T09:13:16.873Z] echo Agent pid 38 killed; [2024-11-07T09:13:16.886Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-07T09:13:16.998Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:13:16.999Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:13:17.110Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:13:17.108Z] $ docker exec bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb ssh-agent [2024-11-07T09:13:17.216Z] SSH_AUTH_SOCK=/tmp/ssh-XanY4hkkbete/agent.71 [2024-11-07T09:13:17.216Z] SSH_AGENT_PID=77 [2024-11-07T09:13:17.221Z] Running ssh-add (command line suppressed) [2024-11-07T09:13:17.308Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-472@tmp/private_key_14411418114824551450.key (/w/workspace/undry_device-onvif-camera_PR-472@tmp/private_key_14411418114824551450.key) [2024-11-07T09:13:17.325Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:13:17.673Z] + git semver init [2024-11-07T09:13:17.933Z] 2024-11-07 09:13:17,837 [run_init] DEBUG init version:0.0.0 force:False [2024-11-07T09:13:17.933Z] 2024-11-07 09:13:17,838 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-472/.semver [2024-11-07T09:13:17.933Z] 2024-11-07 09:13:17,838 [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-07T09:13:17.933Z] 2024-11-07 09:13:17,838 [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-07T09:13:19.312Z] 2024-11-07 09:13:19,000 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-472/.git/info/exclude [2024-11-07T09:13:19.312Z] 2024-11-07 09:13:19,000 [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-07T09:13:19.312Z] 2024-11-07 09:13:19,001 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-472/.semver/PR-472 [2024-11-07T09:13:19.312Z] 2024-11-07 09:13:19,004 [execute] INFO git cat-file --batch-check [2024-11-07T09:13:19.312Z] 2024-11-07 09:13:19,005 [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-07T09:13:19.312Z] 2024-11-07 09:13:19,010 [execute] INFO git cat-file --batch [2024-11-07T09:13:19.312Z] 2024-11-07 09:13:19,011 [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-07T09:13:19.312Z] 2024-11-07 09:13:19,016 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-472/.semver/PR-472 [2024-11-07T09:13:19.312Z] 0.0.0 [Pipeline] } [2024-11-07T09:13:19.345Z] $ docker exec --env ******** --env ******** bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb ssh-agent -k [2024-11-07T09:13:19.453Z] unset SSH_AUTH_SOCK; [2024-11-07T09:13:19.454Z] unset SSH_AGENT_PID; [2024-11-07T09:13:19.454Z] echo Agent pid 77 killed; [2024-11-07T09:13:19.465Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-07T09:13:19.925Z] + git semver [Pipeline] } [2024-11-07T09:13:20.207Z] $ docker stop --time=1 bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb [2024-11-07T09:13:21.529Z] $ docker rm -f --volumes bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:13:21.959Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-07T09:13:22.300Z] Stashed 1 file(s) [Pipeline] echo [2024-11-07T09:13:22.319Z] [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-07T09:13:22.991Z] provisioning config files... [2024-11-07T09:13:23.003Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-472@tmp/config8560616831972087874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:13:23.373Z] ---> ****-login.sh [2024-11-07T09:13:23.373Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:13:23.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:13:23.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:13:23.373Z] Configure a credential helper to remove this warning. See [2024-11-07T09:13:23.373Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:13:23.373Z] [2024-11-07T09:13:23.373Z] Login Succeeded [2024-11-07T09:13:23.373Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:13:23.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:13:23.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:13:23.373Z] Configure a credential helper to remove this warning. See [2024-11-07T09:13:23.373Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:13:23.373Z] [2024-11-07T09:13:23.373Z] Login Succeeded [2024-11-07T09:13:23.373Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:13:23.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:13:23.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:13:23.634Z] Configure a credential helper to remove this warning. See [2024-11-07T09:13:23.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:13:23.634Z] [2024-11-07T09:13:23.634Z] Login Succeeded [2024-11-07T09:13:23.634Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:13:23.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:13:23.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:13:23.634Z] Configure a credential helper to remove this warning. See [2024-11-07T09:13:23.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:13:23.634Z] [2024-11-07T09:13:23.634Z] Login Succeeded [2024-11-07T09:13:23.634Z] ****.io [2024-11-07T09:13:23.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:13:23.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:13:23.894Z] Configure a credential helper to remove this warning. See [2024-11-07T09:13:23.894Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:13:23.894Z] [2024-11-07T09:13:23.894Z] Login Succeeded [2024-11-07T09:13:23.894Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:13:23.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:13:24.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:13:24.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:13:24.260Z] ========================================================= [2024-11-07T09:13:24.260Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-07T09:13:24.260Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:13:24.787Z] + 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-07T09:13:24.787Z] Sending build context to Docker daemon 36.81MB [2024-11-07T09:13:24.787Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:13:24.787Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-07T09:13:25.046Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-07T09:13:25.046Z] 43c4264eed91: Pulling fs layer [2024-11-07T09:13:25.046Z] 4cc291be95ef: Pulling fs layer [2024-11-07T09:13:25.046Z] 2ac1f1163629: Pulling fs layer [2024-11-07T09:13:25.046Z] 5c3c966382ef: Pulling fs layer [2024-11-07T09:13:25.046Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:13:25.046Z] 5d5c8e513c77: Pulling fs layer [2024-11-07T09:13:25.046Z] 9f66e0745190: Pulling fs layer [2024-11-07T09:13:25.046Z] f49a43e4bbc0: Pulling fs layer [2024-11-07T09:13:25.046Z] 561ebcabdf7f: Pulling fs layer [2024-11-07T09:13:25.046Z] 5c3c966382ef: Waiting [2024-11-07T09:13:25.046Z] 4f4fb700ef54: Waiting [2024-11-07T09:13:25.046Z] f49a43e4bbc0: Waiting [2024-11-07T09:13:25.046Z] 561ebcabdf7f: Waiting [2024-11-07T09:13:25.046Z] 5d5c8e513c77: Waiting [2024-11-07T09:13:25.046Z] 4cc291be95ef: Download complete [2024-11-07T09:13:25.046Z] 5c3c966382ef: Verifying Checksum [2024-11-07T09:13:25.046Z] 5c3c966382ef: Download complete [2024-11-07T09:13:25.046Z] 4f4fb700ef54: Verifying Checksum [2024-11-07T09:13:25.046Z] 4f4fb700ef54: Download complete [2024-11-07T09:13:25.046Z] 5d5c8e513c77: Verifying Checksum [2024-11-07T09:13:25.046Z] 5d5c8e513c77: Download complete [2024-11-07T09:13:25.046Z] 43c4264eed91: Verifying Checksum [2024-11-07T09:13:25.046Z] 43c4264eed91: Download complete [2024-11-07T09:13:25.046Z] 9f66e0745190: Verifying Checksum [2024-11-07T09:13:25.046Z] 9f66e0745190: Download complete [2024-11-07T09:13:25.305Z] 561ebcabdf7f: Verifying Checksum [2024-11-07T09:13:25.305Z] 561ebcabdf7f: Download complete [2024-11-07T09:13:25.305Z] 43c4264eed91: Pull complete [2024-11-07T09:13:25.563Z] 4cc291be95ef: Pull complete [2024-11-07T09:13:25.563Z] 2ac1f1163629: Verifying Checksum [2024-11-07T09:13:25.563Z] 2ac1f1163629: Download complete [2024-11-07T09:13:25.821Z] f49a43e4bbc0: Verifying Checksum [2024-11-07T09:13:25.821Z] f49a43e4bbc0: Download complete [2024-11-07T09:13:29.107Z] 2ac1f1163629: Pull complete [2024-11-07T09:13:29.107Z] 5c3c966382ef: Pull complete [2024-11-07T09:13:29.107Z] 4f4fb700ef54: Pull complete [2024-11-07T09:13:29.366Z] 5d5c8e513c77: Pull complete [2024-11-07T09:13:29.366Z] 9f66e0745190: Pull complete [2024-11-07T09:13:31.893Z] f49a43e4bbc0: Pull complete [2024-11-07T09:13:32.460Z] 561ebcabdf7f: Pull complete [2024-11-07T09:13:32.718Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-07T09:13:32.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-07T09:13:32.718Z] ---> 3a752c3f9dda [2024-11-07T09:13:32.718Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:13:37.781Z] Still waiting to schedule task [2024-11-07T09:13:37.781Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24735’ is offline [2024-11-07T09:13:39.292Z] ---> Running in dc0c5571b391 [2024-11-07T09:13:39.292Z] Removing intermediate container dc0c5571b391 [2024-11-07T09:13:39.292Z] ---> 9bcd6aa33c9b [2024-11-07T09:13:39.292Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:13:39.292Z] ---> Running in c1fadf454aa5 [2024-11-07T09:13:39.553Z] Removing intermediate container c1fadf454aa5 [2024-11-07T09:13:39.553Z] ---> 5d7a196da38d [2024-11-07T09:13:39.553Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-11-07T09:13:39.553Z] ---> Running in eab7d915ce2e [2024-11-07T09:13:39.553Z] Removing intermediate container eab7d915ce2e [2024-11-07T09:13:39.553Z] ---> f660f1971e02 [2024-11-07T09:13:39.553Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:13:39.553Z] ---> Running in 82b5c3f681f3 [2024-11-07T09:13:39.553Z] Removing intermediate container 82b5c3f681f3 [2024-11-07T09:13:39.553Z] ---> 490940f9c846 [2024-11-07T09:13:39.553Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-11-07T09:13:39.553Z] ---> Running in 1860fa63527b [2024-11-07T09:13:39.813Z] Removing intermediate container 1860fa63527b [2024-11-07T09:13:39.813Z] ---> e12fdc3e871e [2024-11-07T09:13:39.813Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:13:39.813Z] ---> Running in ae602dc285fd [2024-11-07T09:13:40.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:13:40.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:13:40.335Z] OK: 246 MiB in 54 packages [2024-11-07T09:13:40.595Z] Removing intermediate container ae602dc285fd [2024-11-07T09:13:40.595Z] ---> 423a9a313f4f [2024-11-07T09:13:40.595Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-11-07T09:13:40.595Z] ---> Running in 421752852b95 [2024-11-07T09:13:40.856Z] Removing intermediate container 421752852b95 [2024-11-07T09:13:40.856Z] ---> ea928cb0f3a6 [2024-11-07T09:13:40.856Z] Step 10/13 : COPY go.mod vendor* ./ [2024-11-07T09:13:40.856Z] ---> 12df2617b079 [2024-11-07T09:13:40.856Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:13:40.856Z] ---> Running in 8ec80dfffe24 [2024-11-07T09:15:02.561Z] Removing intermediate container 8ec80dfffe24 [2024-11-07T09:15:02.561Z] ---> 9ce91a965346 [2024-11-07T09:15:02.561Z] Step 12/13 : COPY . . [2024-11-07T09:15:02.561Z] ---> be0e6b3779bf [2024-11-07T09:15:02.561Z] Step 13/13 : RUN ${MAKE} [2024-11-07T09:15:02.561Z] ---> Running in cfa836ada40c [2024-11-07T09:15:02.561Z] noop [2024-11-07T09:15:02.561Z] Removing intermediate container cfa836ada40c [2024-11-07T09:15:02.561Z] ---> 2dad1beff67e [2024-11-07T09:15:02.561Z] Successfully built 2dad1beff67e [2024-11-07T09:15:02.561Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:15:03.049Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:15:03.049Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:15:03.231Z] prd-ubuntu20.04-docker-8c-8g-24734 does not seem to be running inside a container [2024-11-07T09:15:03.262Z] $ 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 ******** ci-base-image-x86_64 cat [2024-11-07T09:15:04.169Z] $ docker top 7932ee4535fc7aa189cf3bdddb4ef04a44f0f66e566fde5daf513b13436122e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:15:04.586Z] + go version [2024-11-07T09:15:04.586Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-07T09:15:04.612Z] $ docker stop --time=1 7932ee4535fc7aa189cf3bdddb4ef04a44f0f66e566fde5daf513b13436122e1 [2024-11-07T09:15:06.065Z] $ docker rm -f --volumes 7932ee4535fc7aa189cf3bdddb4ef04a44f0f66e566fde5daf513b13436122e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:15:06.877Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:15:06.877Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:15:07.050Z] prd-ubuntu20.04-docker-8c-8g-24734 does not seem to be running inside a container [2024-11-07T09:15:07.068Z] $ 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 ******** ci-base-image-x86_64 cat [2024-11-07T09:15:07.555Z] $ docker top 8b2cd095c36955202a2cd8e020750131d87a2a29af079adcb7ed306e181c242d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:15:07.967Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-472 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:15:08.347Z] + make test [2024-11-07T09:15:08.347Z] go test ./... -coverprofile=coverage.out ./... [2024-11-07T09:15:12.538Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-11-07T09:15:30.599Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-11-07T09:15:30.599Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-11-07T09:15:30.855Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.024s coverage: 31.4% of statements [2024-11-07T09:15:31.113Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.238s coverage: 86.5% of statements [2024-11-07T09:15:41.142Z] go vet ./... [2024-11-07T09:15:46.405Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:15:46.405Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:15:46.405Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:15:46.701Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:15:46.729Z] $ docker stop --time=1 8b2cd095c36955202a2cd8e020750131d87a2a29af079adcb7ed306e181c242d [2024-11-07T09:15:53.993Z] $ docker rm -f --volumes 8b2cd095c36955202a2cd8e020750131d87a2a29af079adcb7ed306e181c242d [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:15:54.651Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:15:54.740Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-07T09:15:55.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:15:55.694Z] + ls -al . [2024-11-07T09:15:55.694Z] total 316 [2024-11-07T09:15:55.694Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 09:15 . [2024-11-07T09:15:55.694Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:12 .. [2024-11-07T09:15:55.694Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:15 .git [2024-11-07T09:15:55.694Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:12 .github [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 7 09:12 .gitignore [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 7 09:12 .golangci.yml [2024-11-07T09:15:55.694Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:13 .semver [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 19973 Nov 7 09:12 Attribution.txt [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 7 09:12 CHANGELOG.md [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 1715 Nov 7 09:12 Dockerfile [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:12 GOVERNANCE.md [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 7 09:12 Jenkinsfile [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 09:12 LICENSE [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 3473 Nov 7 09:12 Makefile [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 09:12 OWNERS.md [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 7 09:12 README.md [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:13 VERSION [2024-11-07T09:15:55.694Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:12 bin [2024-11-07T09:15:55.694Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:12 cmd [2024-11-07T09:15:55.694Z] -rw-r--r-- 1 jenkins jenkins 92292 Nov 7 09:15 coverage.out [2024-11-07T09:15:55.694Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:12 doc [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 6636 Nov 7 09:12 go.mod [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 88824 Nov 7 09:12 go.sum [2024-11-07T09:15:55.694Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:12 internal [2024-11-07T09:15:55.694Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 09:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:15:56.106Z] + 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=30ac1c87d2d15cdd71263100a68b527e75ae5d2e --label arch=amd64 --label version=0.0.0 . [2024-11-07T09:15:56.106Z] Sending build context to Docker daemon 36.9MB [2024-11-07T09:15:56.106Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:15:56.106Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-07T09:15:56.106Z] ---> 2dad1beff67e [2024-11-07T09:15:56.106Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:15:56.671Z] ---> Running in 9950eea1dff5 [2024-11-07T09:15:56.671Z] Removing intermediate container 9950eea1dff5 [2024-11-07T09:15:56.671Z] ---> 5c641903c24f [2024-11-07T09:15:56.671Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:15:56.671Z] ---> Running in 8efe40e24eec [2024-11-07T09:15:56.995Z] Removing intermediate container 8efe40e24eec [2024-11-07T09:15:56.995Z] ---> 2abce5ea78ba [2024-11-07T09:15:56.995Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-07T09:15:56.995Z] ---> Running in deb98399e65d [2024-11-07T09:15:56.995Z] Removing intermediate container deb98399e65d [2024-11-07T09:15:56.995Z] ---> c2b7bcecd45b [2024-11-07T09:15:56.995Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:15:56.995Z] ---> Running in c8d8a9db3dda [2024-11-07T09:15:57.562Z] Removing intermediate container c8d8a9db3dda [2024-11-07T09:15:57.562Z] ---> 2e43e6a60806 [2024-11-07T09:15:57.562Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-11-07T09:15:57.562Z] ---> Running in b5a04dcd7cc5 [2024-11-07T09:15:57.821Z] Removing intermediate container b5a04dcd7cc5 [2024-11-07T09:15:57.821Z] ---> c0ee59a72a87 [2024-11-07T09:15:57.821Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:15:57.821Z] ---> Running in a52e29ba53cd [2024-11-07T09:15:58.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:15:58.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:15:58.597Z] OK: 246 MiB in 54 packages [2024-11-07T09:15:58.858Z] Removing intermediate container a52e29ba53cd [2024-11-07T09:15:58.858Z] ---> 0628b283c9af [2024-11-07T09:15:58.858Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-11-07T09:15:58.858Z] ---> Running in a519e9efdfc5 [2024-11-07T09:15:58.858Z] Removing intermediate container a519e9efdfc5 [2024-11-07T09:15:58.858Z] ---> d0e2206b56ec [2024-11-07T09:15:58.858Z] Step 10/27 : COPY go.mod vendor* ./ [2024-11-07T09:15:59.118Z] ---> 05758e1d1a80 [2024-11-07T09:15:59.118Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:15:59.118Z] ---> Running in 72a56de71e2b [2024-11-07T09:15:59.683Z] Removing intermediate container 72a56de71e2b [2024-11-07T09:15:59.683Z] ---> 365aa3a19886 [2024-11-07T09:15:59.683Z] Step 12/27 : COPY . . [2024-11-07T09:16:01.057Z] ---> 56a5329e5875 [2024-11-07T09:16:01.057Z] Step 13/27 : RUN ${MAKE} [2024-11-07T09:16:01.057Z] ---> Running in cb4c5c417c91 [2024-11-07T09:16:01.057Z] 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 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-11-07T09:16:14.559Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24737 in /w/workspace/undry_device-onvif-camera_PR-472 [Pipeline] { [Pipeline] ws [2024-11-07T09:16:14.635Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-11-07T09:16:14.736Z] The recommended git tool is: git [2024-11-07T09:16:26.009Z] using credential edgex-jenkins-ssh [2024-11-07T09:16:26.042Z] Cloning the remote Git repository [2024-11-07T09:16:26.132Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-07T09:16:26.279Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-11-07T09:16:26.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-07T09:16:26.698Z] > git --version # timeout=10 [2024-11-07T09:16:26.732Z] > git --version # 'git version 2.25.1' [2024-11-07T09:16:26.736Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:16:26.955Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:16:30.058Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-11-07T09:16:30.104Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:16:31.753Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-11-07T09:16:31.866Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-07T09:16:31.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:16:31.936Z] > 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-07T09:16:32.544Z] Merging remotes/origin/main commit b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c into PR head commit 30ac1c87d2d15cdd71263100a68b527e75ae5d2e [2024-11-07T09:16:33.078Z] Merge succeeded, producing 30ac1c87d2d15cdd71263100a68b527e75ae5d2e [2024-11-07T09:16:33.078Z] Checking out Revision 30ac1c87d2d15cdd71263100a68b527e75ae5d2e (PR-472) [2024-11-07T09:16:32.570Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:16:32.671Z] > git checkout -f 30ac1c87d2d15cdd71263100a68b527e75ae5d2e # timeout=10 [2024-11-07T09:16:32.903Z] > git remote # timeout=10 [2024-11-07T09:16:32.938Z] > git config --get remote.origin.url # timeout=10 [2024-11-07T09:16:32.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:16:33.017Z] > git merge b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c # timeout=10 [2024-11-07T09:16:33.053Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-07T09:16:33.086Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:16:33.112Z] > git checkout -f 30ac1c87d2d15cdd71263100a68b527e75ae5d2e # timeout=10 [2024-11-07T09:16:37.205Z] Commit message: "fix: Only one ldflags flag is allowed" [2024-11-07T09:16:37.277Z] > git --version # timeout=10 [2024-11-07T09:16:37.293Z] > git --version # 'git version 2.25.1' [2024-11-07T09:16:37.314Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:16:39.498Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-07T09:16:39.498Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:16:39.498Z] Dload Upload Total Spent Left Speed [2024-11-07T09:16:39.498Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh [2024-11-07T09:16:39.811Z] Removing intermediate container cb4c5c417c91 [2024-11-07T09:16:39.811Z] ---> c4bb28a0ffe4 [2024-11-07T09:16:39.811Z] Step 14/27 : FROM alpine:3.20 [2024-11-07T09:16:39.811Z] 3.20: Pulling from library/alpine [2024-11-07T09:16:39.811Z] 43c4264eed91: Already exists [2024-11-07T09:16:39.811Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:16:39.811Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:16:39.811Z] ---> 91ef0af61f39 [2024-11-07T09:16:39.811Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-07T09:16:39.811Z] ---> Running in 39c3723734a4 [2024-11-07T09:16:39.811Z] Removing intermediate container 39c3723734a4 [2024-11-07T09:16:39.811Z] ---> b8da4c9ada46 [2024-11-07T09:16:39.811Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-11-07T09:16:39.811Z] ---> Running in bbcb910a06ce [2024-11-07T09:16:39.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:39.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:39.811Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-07T09:16:39.811Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:16:39.811Z] OK: 8 MiB in 15 packages [2024-11-07T09:16:39.811Z] Removing intermediate container bbcb910a06ce [2024-11-07T09:16:39.811Z] ---> 8a00cd651717 [2024-11-07T09:16:39.811Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-07T09:16:39.811Z] ---> Running in c68a6965416b [2024-11-07T09:16:39.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:39.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:39.811Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:16:39.811Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:16:39.811Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:16:39.811Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:16:39.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:39.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:39.812Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:16:39.812Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:16:39.812Z] OK: 8 MiB in 15 packages [2024-11-07T09:16:39.812Z] Removing intermediate container c68a6965416b [2024-11-07T09:16:39.812Z] ---> 9d24d43d7058 [2024-11-07T09:16:39.812Z] Step 18/27 : WORKDIR / [2024-11-07T09:16:39.812Z] ---> Running in 97da12f6041a [2024-11-07T09:16:39.812Z] Removing intermediate container 97da12f6041a [2024-11-07T09:16:39.812Z] ---> b597747b9a29 [2024-11-07T09:16:39.812Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-11-07T09:16:39.812Z] ---> 97edf3816865 [2024-11-07T09:16:39.812Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-11-07T09:16:39.812Z] ---> 83c5d6a0c5d8 [2024-11-07T09:16:39.812Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-11-07T09:16:39.812Z] ---> dd7def6cb81b [2024-11-07T09:16:39.812Z] Step 22/27 : EXPOSE 59984 [2024-11-07T09:16:39.812Z] ---> Running in 8c3ae82f15b3 [2024-11-07T09:16:39.812Z] Removing intermediate container 8c3ae82f15b3 [2024-11-07T09:16:39.812Z] ---> d207a51e6ac4 [2024-11-07T09:16:39.812Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-11-07T09:16:39.812Z] ---> Running in ae87287b06fc [2024-11-07T09:16:39.812Z] Removing intermediate container ae87287b06fc [2024-11-07T09:16:39.812Z] ---> 2fe4b70a551f [2024-11-07T09:16:39.812Z] Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-07T09:16:39.812Z] ---> Running in ef2d3f6e7bcf [2024-11-07T09:16:39.812Z] Removing intermediate container ef2d3f6e7bcf [2024-11-07T09:16:39.812Z] ---> 9228d128af13 [2024-11-07T09:16:39.812Z] Step 25/27 : LABEL arch=amd64 [2024-11-07T09:16:39.812Z] ---> Running in 713b800b0af6 [2024-11-07T09:16:39.812Z] Removing intermediate container 713b800b0af6 [2024-11-07T09:16:39.812Z] ---> 105601389891 [2024-11-07T09:16:39.812Z] Step 26/27 : LABEL git_sha=30ac1c87d2d15cdd71263100a68b527e75ae5d2e [2024-11-07T09:16:39.812Z] ---> Running in bcb8cdc0e06a [2024-11-07T09:16:39.812Z] Removing intermediate container bcb8cdc0e06a [2024-11-07T09:16:39.812Z] ---> 6ea123fc1d4b [2024-11-07T09:16:39.812Z] Step 27/27 : LABEL version=0.0.0 [2024-11-07T09:16:39.812Z] ---> Running in bb3cb2f00c86 [2024-11-07T09:16:39.812Z] Removing intermediate container bb3cb2f00c86 [2024-11-07T09:16:39.812Z] ---> 9a6a5019428c [2024-11-07T09:16:39.812Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:16:39.812Z] Successfully built 9a6a5019428c [2024-11-07T09:16:39.812Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [2024-11-07T09:16:39.898Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] } [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2024-11-07T09:16:40.352Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-07T09:16:40.352Z] + sudo tee /etc/docker/daemon.new [2024-11-07T09:16:40.352Z] { [2024-11-07T09:16:40.352Z] "registry-mirrors": [ [2024-11-07T09:16:40.352Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-07T09:16:40.352Z] ], [2024-11-07T09:16:40.352Z] "bip": "10.250.0.254/24", [2024-11-07T09:16:40.352Z] "hosts": [ [2024-11-07T09:16:40.352Z] "tcp://0.0.0.0:5555", [2024-11-07T09:16:40.352Z] "unix:///var/run/docker.sock" [2024-11-07T09:16:40.352Z] ], [2024-11-07T09:16:40.352Z] "mtu": 1458, [2024-11-07T09:16:40.352Z] "selinux-enabled": true, [2024-11-07T09:16:40.352Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-07T09:16:40.352Z] } [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-11-07T09:16:40.761Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh [2024-11-07T09:16:41.135Z] + sudo service docker restart [2024-11-07T09:16:41.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:16:41.177Z] [2024-11-07T09:16:41.177Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:16:41.582Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:16:41.582Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-07T09:16:41.582Z] 5eb5b503b376: Pulling fs layer [2024-11-07T09:16:41.582Z] 5c69ac0246d0: Pulling fs layer [2024-11-07T09:16:41.582Z] ec43610c2a17: Pulling fs layer [2024-11-07T09:16:41.582Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-07T09:16:41.582Z] 33b1e0a273af: Pulling fs layer [2024-11-07T09:16:41.582Z] 5d3b04190fa2: Pulling fs layer [2024-11-07T09:16:41.582Z] 2f39f015ded8: Pulling fs layer [2024-11-07T09:16:41.582Z] 3a2ae6a8a46f: Waiting [2024-11-07T09:16:41.582Z] 5d3b04190fa2: Waiting [2024-11-07T09:16:41.582Z] 2f39f015ded8: Waiting [2024-11-07T09:16:41.582Z] 33b1e0a273af: Waiting [2024-11-07T09:16:41.582Z] 5c69ac0246d0: Verifying Checksum [2024-11-07T09:16:41.582Z] 5c69ac0246d0: Download complete [2024-11-07T09:16:41.582Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-07T09:16:41.582Z] 3a2ae6a8a46f: Download complete [2024-11-07T09:16:41.582Z] 33b1e0a273af: Verifying Checksum [2024-11-07T09:16:41.582Z] 33b1e0a273af: Download complete [2024-11-07T09:16:41.582Z] 5d3b04190fa2: Verifying Checksum [2024-11-07T09:16:41.582Z] 5d3b04190fa2: Download complete [2024-11-07T09:16:41.582Z] ec43610c2a17: Verifying Checksum [2024-11-07T09:16:41.582Z] ec43610c2a17: Download complete [2024-11-07T09:16:41.841Z] 5eb5b503b376: Verifying Checksum [2024-11-07T09:16:41.841Z] 5eb5b503b376: Download complete [2024-11-07T09:16:42.408Z] 2f39f015ded8: Verifying Checksum [2024-11-07T09:16:42.408Z] 2f39f015ded8: Download complete [2024-11-07T09:16:42.975Z] 5eb5b503b376: Pull complete [2024-11-07T09:16:43.233Z] 5c69ac0246d0: Pull complete [2024-11-07T09:16:43.492Z] ec43610c2a17: Pull complete [2024-11-07T09:16:43.751Z] 3a2ae6a8a46f: Pull complete [2024-11-07T09:16:44.010Z] 33b1e0a273af: Pull complete [2024-11-07T09:16:44.010Z] 5d3b04190fa2: Pull complete [2024-11-07T09:16:48.197Z] 2f39f015ded8: Pull complete [2024-11-07T09:16:48.197Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-07T09:16:48.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:16:48.197Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:16:48.495Z] prd-ubuntu20.04-docker-8c-8g-24734 does not seem to be running inside a container [2024-11-07T09:16:48.526Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-07T09:16:52.356Z] $ docker top 6080f7195b02066ebe1e5f4709fb3b2a2adf30de5d7e3ca3f90416c2acaabe57 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:16:52.829Z] ---> job-cost.sh [2024-11-07T09:16:52.829Z] lf-activate-venv: SKIPPING [2024-11-07T09:16:52.829Z] INFO: No Stack... [2024-11-07T09:16:53.089Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:16:53.349Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:16:53.675Z] + cat /w/workspace/undry_device-onvif-camera_PR-472/archives/cost.csv [2024-11-07T09:16:53.675Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:16:53.722Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] [2024-11-07T09:16:53.728Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] did not exist. Created. [2024-11-07T09:16:53.734Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:16:54.149Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-07T09:16:54.207Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:16:54.245Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:16:54.413Z] $ docker stop --time=1 6080f7195b02066ebe1e5f4709fb3b2a2adf30de5d7e3ca3f90416c2acaabe57 [2024-11-07T09:16:55.564Z] $ docker rm -f --volumes 6080f7195b02066ebe1e5f4709fb3b2a2adf30de5d7e3ca3f90416c2acaabe57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:16:59.553Z] provisioning config files... [2024-11-07T09:16:59.597Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5882765070574663623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:17:00.148Z] ---> ****-login.sh [2024-11-07T09:17:00.148Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:17:00.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:17:01.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:17:01.016Z] Configure a credential helper to remove this warning. See [2024-11-07T09:17:01.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:17:01.016Z] [2024-11-07T09:17:01.016Z] Login Succeeded [2024-11-07T09:17:01.016Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:17:01.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:17:01.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:17:01.293Z] Configure a credential helper to remove this warning. See [2024-11-07T09:17:01.293Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:17:01.293Z] [2024-11-07T09:17:01.293Z] Login Succeeded [2024-11-07T09:17:01.293Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:17:01.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:17:01.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:17:01.850Z] Configure a credential helper to remove this warning. See [2024-11-07T09:17:01.850Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:17:01.850Z] [2024-11-07T09:17:01.850Z] Login Succeeded [2024-11-07T09:17:01.850Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:17:02.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:17:02.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:17:02.412Z] Configure a credential helper to remove this warning. See [2024-11-07T09:17:02.412Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:17:02.412Z] [2024-11-07T09:17:02.412Z] Login Succeeded [2024-11-07T09:17:02.412Z] ****.io [2024-11-07T09:17:02.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:17:02.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:17:02.959Z] Configure a credential helper to remove this warning. See [2024-11-07T09:17:02.959Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:17:02.959Z] [2024-11-07T09:17:02.959Z] Login Succeeded [2024-11-07T09:17:02.959Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:17:02.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:17:03.539Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:17:03.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:17:03.638Z] ========================================================= [2024-11-07T09:17:03.638Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-07T09:17:03.638Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:17:04.204Z] + 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-07T09:17:04.807Z] Sending build context to Docker daemon 21.82MB [2024-11-07T09:17:04.807Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:17:04.807Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-07T09:17:05.083Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-07T09:17:05.083Z] cf04c63912e1: Pulling fs layer [2024-11-07T09:17:05.083Z] 55b35a11ae5e: Pulling fs layer [2024-11-07T09:17:05.083Z] a37a00ec5f00: Pulling fs layer [2024-11-07T09:17:05.083Z] 50b3750afda1: Pulling fs layer [2024-11-07T09:17:05.083Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:17:05.083Z] 50b3750afda1: Waiting [2024-11-07T09:17:05.083Z] 80978eb59214: Pulling fs layer [2024-11-07T09:17:05.083Z] c9f46d7d2bd2: Pulling fs layer [2024-11-07T09:17:05.083Z] c5a475d317c9: Pulling fs layer [2024-11-07T09:17:05.083Z] 4f4fb700ef54: Waiting [2024-11-07T09:17:05.083Z] 80978eb59214: Waiting [2024-11-07T09:17:05.083Z] c9f46d7d2bd2: Waiting [2024-11-07T09:17:05.083Z] c5a475d317c9: Waiting [2024-11-07T09:17:05.083Z] 55b35a11ae5e: Verifying Checksum [2024-11-07T09:17:05.083Z] 55b35a11ae5e: Download complete [2024-11-07T09:17:05.083Z] 50b3750afda1: Verifying Checksum [2024-11-07T09:17:05.083Z] 50b3750afda1: Download complete [2024-11-07T09:17:05.083Z] 4f4fb700ef54: Verifying Checksum [2024-11-07T09:17:05.083Z] 4f4fb700ef54: Download complete [2024-11-07T09:17:05.083Z] 80978eb59214: Verifying Checksum [2024-11-07T09:17:05.083Z] 80978eb59214: Download complete [2024-11-07T09:17:05.355Z] cf04c63912e1: Verifying Checksum [2024-11-07T09:17:05.355Z] cf04c63912e1: Download complete [2024-11-07T09:17:05.947Z] c5a475d317c9: Verifying Checksum [2024-11-07T09:17:05.947Z] c5a475d317c9: Download complete [2024-11-07T09:17:06.219Z] cf04c63912e1: Pull complete [2024-11-07T09:17:06.810Z] 55b35a11ae5e: Pull complete [2024-11-07T09:17:07.401Z] a37a00ec5f00: Verifying Checksum [2024-11-07T09:17:07.401Z] a37a00ec5f00: Download complete [2024-11-07T09:17:08.376Z] c9f46d7d2bd2: Verifying Checksum [2024-11-07T09:17:08.376Z] c9f46d7d2bd2: Download complete [2024-11-07T09:17:23.420Z] a37a00ec5f00: Pull complete [2024-11-07T09:17:23.420Z] 50b3750afda1: Pull complete [2024-11-07T09:17:23.420Z] 4f4fb700ef54: Pull complete [2024-11-07T09:17:23.420Z] 80978eb59214: Pull complete [2024-11-07T09:17:30.098Z] c9f46d7d2bd2: Pull complete [2024-11-07T09:17:32.042Z] c5a475d317c9: Pull complete [2024-11-07T09:17:32.042Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-07T09:17:32.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-07T09:17:32.042Z] ---> be29e6b0f0d4 [2024-11-07T09:17:32.042Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:17:33.997Z] ---> Running in f9dea02e9f5c [2024-11-07T09:17:34.963Z] Removing intermediate container f9dea02e9f5c [2024-11-07T09:17:34.963Z] ---> e4b4882ecf1c [2024-11-07T09:17:34.963Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:17:34.963Z] ---> Running in 3db2715a4ad0 [2024-11-07T09:17:35.466Z] Removing intermediate container 3db2715a4ad0 [2024-11-07T09:17:35.466Z] ---> 93c602c7a728 [2024-11-07T09:17:35.466Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-11-07T09:17:35.466Z] ---> Running in 65540e485021 [2024-11-07T09:17:35.745Z] Removing intermediate container 65540e485021 [2024-11-07T09:17:35.745Z] ---> 388c62d66b33 [2024-11-07T09:17:35.745Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:17:35.745Z] ---> Running in 27dc1b4daa57 [2024-11-07T09:17:36.035Z] Removing intermediate container 27dc1b4daa57 [2024-11-07T09:17:36.035Z] ---> 60d2eb80df98 [2024-11-07T09:17:36.035Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-11-07T09:17:36.311Z] ---> Running in fffba8b839c9 [2024-11-07T09:17:36.578Z] Removing intermediate container fffba8b839c9 [2024-11-07T09:17:36.578Z] ---> 2dbf26d34aac [2024-11-07T09:17:36.578Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:17:36.578Z] ---> Running in 2e2e34ea9e0a [2024-11-07T09:17:38.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:17:40.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:17:42.025Z] OK: 238 MiB in 54 packages [2024-11-07T09:17:43.000Z] Removing intermediate container 2e2e34ea9e0a [2024-11-07T09:17:43.000Z] ---> b28641a4ad54 [2024-11-07T09:17:43.000Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-11-07T09:17:43.000Z] ---> Running in 5bef033811b5 [2024-11-07T09:17:43.267Z] Removing intermediate container 5bef033811b5 [2024-11-07T09:17:43.268Z] ---> 6518edd54808 [2024-11-07T09:17:43.268Z] Step 10/13 : COPY go.mod vendor* ./ [2024-11-07T09:17:43.856Z] ---> 80f6c2d50ec5 [2024-11-07T09:17:43.856Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:17:43.856Z] ---> Running in cad926a7e3e4 [2024-11-07T09:19:50.570Z] Removing intermediate container cad926a7e3e4 [2024-11-07T09:19:50.570Z] ---> 4f42ef2a8557 [2024-11-07T09:19:50.570Z] Step 12/13 : COPY . . [2024-11-07T09:19:50.570Z] ---> 6d9bfd07514a [2024-11-07T09:19:50.570Z] Step 13/13 : RUN ${MAKE} [2024-11-07T09:19:50.570Z] ---> Running in 5d013c3c60e1 [2024-11-07T09:19:50.570Z] noop [2024-11-07T09:19:50.570Z] Removing intermediate container 5d013c3c60e1 [2024-11-07T09:19:50.570Z] ---> dce27f184429 [2024-11-07T09:19:50.570Z] Successfully built dce27f184429 [2024-11-07T09:19:50.570Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:19:51.106Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:19:51.106Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:19:51.454Z] prd-ubuntu20.04-docker-arm64-4c-16g-24737 does not seem to be running inside a container [2024-11-07T09:19:51.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:19:52.948Z] $ docker top 117938d432f550eac1a6a2f56f6a73f72cf3fa2bb375375c94f957b8872be957 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:19:53.927Z] + go version [2024-11-07T09:19:53.927Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-07T09:19:53.963Z] $ docker stop --time=1 117938d432f550eac1a6a2f56f6a73f72cf3fa2bb375375c94f957b8872be957 [2024-11-07T09:19:55.753Z] $ docker rm -f --volumes 117938d432f550eac1a6a2f56f6a73f72cf3fa2bb375375c94f957b8872be957 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:19:56.787Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:19:56.787Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:19:57.110Z] prd-ubuntu20.04-docker-arm64-4c-16g-24737 does not seem to be running inside a container [2024-11-07T09:19:57.196Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:19:58.635Z] $ docker top b4b998715bd0e64233cc88eedd4ca758d9874e76830c02e966bbfcd0cbb5051c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:19:59.613Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:20:00.391Z] + make test [2024-11-07T09:20:00.391Z] go test ./... -coverprofile=coverage.out ./... [2024-11-07T09:20:08.648Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-11-07T09:24:45.677Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-11-07T09:24:46.277Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-11-07T09:24:48.897Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.229s coverage: 31.4% of statements [2024-11-07T09:25:11.109Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.791s coverage: 86.5% of statements [2024-11-07T09:25:11.109Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-07T09:25:11.109Z] go vet ./... [2024-11-07T09:26:20.550Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:26:20.550Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:26:20.550Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:26:20.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:26:20.635Z] $ docker stop --time=1 b4b998715bd0e64233cc88eedd4ca758d9874e76830c02e966bbfcd0cbb5051c [2024-11-07T09:26:22.816Z] $ docker rm -f --volumes b4b998715bd0e64233cc88eedd4ca758d9874e76830c02e966bbfcd0cbb5051c [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:26:25.181Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:26:25.225Z] Warning: overwriting stash ‘coverage-report’ [2024-11-07T09:26:26.258Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:26:26.957Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:26:27.342Z] + ls -al . [2024-11-07T09:26:27.342Z] total 312 [2024-11-07T09:26:27.342Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:20 . [2024-11-07T09:26:27.342Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:16 .. [2024-11-07T09:26:27.342Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:16 .git [2024-11-07T09:26:27.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:16 .github [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 7 09:16 .gitignore [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 7 09:16 .golangci.yml [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 19973 Nov 7 09:16 Attribution.txt [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 7 09:16 CHANGELOG.md [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 1715 Nov 7 09:16 Dockerfile [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:16 GOVERNANCE.md [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 7 09:16 Jenkinsfile [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 09:16 LICENSE [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 3473 Nov 7 09:16 Makefile [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 09:16 OWNERS.md [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 7 09:16 README.md [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:13 VERSION [2024-11-07T09:26:27.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:16 bin [2024-11-07T09:26:27.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:16 cmd [2024-11-07T09:26:27.342Z] -rw-r--r-- 1 jenkins jenkins 92292 Nov 7 09:25 coverage.out [2024-11-07T09:26:27.342Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:16 doc [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 6636 Nov 7 09:16 go.mod [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 88824 Nov 7 09:16 go.sum [2024-11-07T09:26:27.342Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:16 internal [2024-11-07T09:26:27.342Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 09:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:26:27.833Z] + 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=30ac1c87d2d15cdd71263100a68b527e75ae5d2e --label arch=arm64 --label version=0.0.0 . [2024-11-07T09:26:28.807Z] Sending build context to Docker daemon 21.91MB [2024-11-07T09:26:28.807Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:26:28.807Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-07T09:26:28.807Z] ---> dce27f184429 [2024-11-07T09:26:28.807Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:26:29.074Z] ---> Running in 6c6abd7022bc [2024-11-07T09:26:29.346Z] Removing intermediate container 6c6abd7022bc [2024-11-07T09:26:29.346Z] ---> 0127fbe1ebb9 [2024-11-07T09:26:29.346Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:26:29.346Z] ---> Running in 89d4d7cf43de [2024-11-07T09:26:29.940Z] Removing intermediate container 89d4d7cf43de [2024-11-07T09:26:29.940Z] ---> b32ccbf6aba6 [2024-11-07T09:26:29.940Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-07T09:26:29.940Z] ---> Running in d16e9e668955 [2024-11-07T09:26:30.216Z] Removing intermediate container d16e9e668955 [2024-11-07T09:26:30.216Z] ---> 8dbc6343124e [2024-11-07T09:26:30.216Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:26:30.492Z] ---> Running in 2cfd8b939f7d [2024-11-07T09:26:30.777Z] Removing intermediate container 2cfd8b939f7d [2024-11-07T09:26:30.777Z] ---> 57a2c9d84711 [2024-11-07T09:26:30.777Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-11-07T09:26:31.060Z] ---> Running in 812c0faecd77 [2024-11-07T09:26:31.339Z] Removing intermediate container 812c0faecd77 [2024-11-07T09:26:31.339Z] ---> 97b8f7c9dd31 [2024-11-07T09:26:31.339Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:26:31.339Z] ---> Running in a2261b1179cd [2024-11-07T09:26:32.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:26:33.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:26:35.049Z] OK: 238 MiB in 54 packages [2024-11-07T09:26:35.654Z] Removing intermediate container a2261b1179cd [2024-11-07T09:26:35.654Z] ---> 13e5a57f552e [2024-11-07T09:26:35.654Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-11-07T09:26:35.929Z] ---> Running in 31280bfc58d1 [2024-11-07T09:26:36.203Z] Removing intermediate container 31280bfc58d1 [2024-11-07T09:26:36.203Z] ---> 6518fdc207ab [2024-11-07T09:26:36.203Z] Step 10/27 : COPY go.mod vendor* ./ [2024-11-07T09:26:36.798Z] ---> 3dc138917249 [2024-11-07T09:26:36.798Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:26:37.065Z] ---> Running in 6dbe9c4b7bdb [2024-11-07T09:26:40.423Z] Removing intermediate container 6dbe9c4b7bdb [2024-11-07T09:26:40.423Z] ---> 1dc49b07ca65 [2024-11-07T09:26:40.423Z] Step 12/27 : COPY . . [2024-11-07T09:26:41.854Z] ---> b647abc274ef [2024-11-07T09:26:41.854Z] Step 13/27 : RUN ${MAKE} [2024-11-07T09:26:41.854Z] ---> Running in 38f5f6a42367 [2024-11-07T09:26:42.831Z] 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 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-11-07T09:31:19.905Z] Removing intermediate container 38f5f6a42367 [2024-11-07T09:31:19.905Z] ---> dfb04ec35dd9 [2024-11-07T09:31:19.905Z] Step 14/27 : FROM alpine:3.20 [2024-11-07T09:31:20.489Z] 3.20: Pulling from library/alpine [2024-11-07T09:31:20.489Z] cf04c63912e1: Already exists [2024-11-07T09:31:20.759Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:31:20.759Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:31:20.759Z] ---> c157a85ed455 [2024-11-07T09:31:20.759Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-07T09:31:20.759Z] ---> Running in 1e2800cf5b37 [2024-11-07T09:31:21.347Z] Removing intermediate container 1e2800cf5b37 [2024-11-07T09:31:21.347Z] ---> 8ab4a9113100 [2024-11-07T09:31:21.347Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-11-07T09:31:21.347Z] ---> Running in ea5237982750 [2024-11-07T09:31:22.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:31:23.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:31:25.017Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-07T09:31:25.017Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:31:25.017Z] OK: 9 MiB in 15 packages [2024-11-07T09:31:25.992Z] Removing intermediate container ea5237982750 [2024-11-07T09:31:25.992Z] ---> 5393a27ba6a2 [2024-11-07T09:31:25.992Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-07T09:31:25.992Z] ---> Running in eb5a8a95f9bd [2024-11-07T09:31:27.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:31:27.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:31:29.641Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:31:29.641Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:31:29.641Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:31:29.641Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:31:29.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:31:29.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:31:31.869Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:31:31.869Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:31:31.869Z] OK: 9 MiB in 15 packages [2024-11-07T09:31:32.829Z] Removing intermediate container eb5a8a95f9bd [2024-11-07T09:31:32.829Z] ---> 1766744b7efd [2024-11-07T09:31:32.829Z] Step 18/27 : WORKDIR / [2024-11-07T09:31:33.100Z] ---> Running in 4ab69219cc6c [2024-11-07T09:31:33.369Z] Removing intermediate container 4ab69219cc6c [2024-11-07T09:31:33.369Z] ---> accd12c64435 [2024-11-07T09:31:33.369Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-11-07T09:31:35.580Z] ---> 52644b4253b5 [2024-11-07T09:31:35.580Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-11-07T09:31:35.859Z] ---> 985da1daba7f [2024-11-07T09:31:35.859Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-11-07T09:31:36.453Z] ---> 3327884a0ed7 [2024-11-07T09:31:36.453Z] Step 22/27 : EXPOSE 59984 [2024-11-07T09:31:36.453Z] ---> Running in 5b1e30beccb9 [2024-11-07T09:31:36.728Z] Removing intermediate container 5b1e30beccb9 [2024-11-07T09:31:36.728Z] ---> e561db30936d [2024-11-07T09:31:36.997Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-11-07T09:31:36.997Z] ---> Running in 061c6547f7a4 [2024-11-07T09:31:37.270Z] Removing intermediate container 061c6547f7a4 [2024-11-07T09:31:37.270Z] ---> e650d1445f79 [2024-11-07T09:31:37.270Z] Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-07T09:31:37.270Z] ---> Running in c53750855974 [2024-11-07T09:31:37.536Z] Removing intermediate container c53750855974 [2024-11-07T09:31:37.536Z] ---> 90949efee243 [2024-11-07T09:31:37.536Z] Step 25/27 : LABEL arch=arm64 [2024-11-07T09:31:37.803Z] ---> Running in 8f72e24def33 [2024-11-07T09:31:38.071Z] Removing intermediate container 8f72e24def33 [2024-11-07T09:31:38.071Z] ---> aa031afd5253 [2024-11-07T09:31:38.071Z] Step 26/27 : LABEL git_sha=30ac1c87d2d15cdd71263100a68b527e75ae5d2e [2024-11-07T09:31:38.402Z] ---> Running in 8e2881bf793d [2024-11-07T09:31:38.670Z] Removing intermediate container 8e2881bf793d [2024-11-07T09:31:38.670Z] ---> a17f3e116b65 [2024-11-07T09:31:38.670Z] Step 27/27 : LABEL version=0.0.0 [2024-11-07T09:31:38.670Z] ---> Running in 11f6b296380c [2024-11-07T09:31:39.255Z] Removing intermediate container 11f6b296380c [2024-11-07T09:31:39.255Z] ---> 602997513b7d [2024-11-07T09:31:39.255Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:31:39.255Z] Successfully built 602997513b7d [2024-11-07T09:31:39.255Z] 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-07T09:31:40.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:31:40.211Z] [2024-11-07T09:31:40.211Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:31:40.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:31:40.909Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-07T09:31:40.909Z] 8998bd30e6a1: Pulling fs layer [2024-11-07T09:31:40.909Z] 04944245beec: Pulling fs layer [2024-11-07T09:31:40.909Z] 699f458cf7ca: Pulling fs layer [2024-11-07T09:31:40.909Z] 765212b225bb: Pulling fs layer [2024-11-07T09:31:40.909Z] f23df028b6ca: Pulling fs layer [2024-11-07T09:31:40.909Z] d65c8cfc05b1: Pulling fs layer [2024-11-07T09:31:40.909Z] 765212b225bb: Waiting [2024-11-07T09:31:40.909Z] f23df028b6ca: Waiting [2024-11-07T09:31:40.909Z] 2437ff75d9bd: Pulling fs layer [2024-11-07T09:31:40.909Z] d65c8cfc05b1: Waiting [2024-11-07T09:31:40.909Z] 04944245beec: Verifying Checksum [2024-11-07T09:31:40.909Z] 04944245beec: Download complete [2024-11-07T09:31:40.909Z] 765212b225bb: Verifying Checksum [2024-11-07T09:31:40.909Z] 765212b225bb: Download complete [2024-11-07T09:31:40.909Z] f23df028b6ca: Download complete [2024-11-07T09:31:40.909Z] d65c8cfc05b1: Verifying Checksum [2024-11-07T09:31:40.909Z] d65c8cfc05b1: Download complete [2024-11-07T09:31:41.183Z] 699f458cf7ca: Verifying Checksum [2024-11-07T09:31:41.183Z] 699f458cf7ca: Download complete [2024-11-07T09:31:41.780Z] 8998bd30e6a1: Verifying Checksum [2024-11-07T09:31:41.780Z] 8998bd30e6a1: Download complete [2024-11-07T09:31:44.393Z] 2437ff75d9bd: Verifying Checksum [2024-11-07T09:31:44.393Z] 2437ff75d9bd: Download complete [2024-11-07T09:31:46.996Z] 8998bd30e6a1: Pull complete [2024-11-07T09:31:47.587Z] 04944245beec: Pull complete [2024-11-07T09:31:49.545Z] 699f458cf7ca: Pull complete [2024-11-07T09:31:49.812Z] 765212b225bb: Pull complete [2024-11-07T09:31:50.771Z] f23df028b6ca: Pull complete [2024-11-07T09:31:51.039Z] d65c8cfc05b1: Pull complete [2024-11-07T09:32:09.259Z] 2437ff75d9bd: Pull complete [2024-11-07T09:32:09.259Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-07T09:32:09.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:32:09.259Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:32:09.652Z] prd-ubuntu20.04-docker-arm64-4c-16g-24737 does not seem to be running inside a container [2024-11-07T09:32:09.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-07T09:32:12.818Z] $ docker top 5f409846c22bb60f5aa7c86cb387ca18e58bd58fb893a7e3998e70119885851c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:32:13.751Z] ---> job-cost.sh [2024-11-07T09:32:13.751Z] lf-activate-venv: SKIPPING [2024-11-07T09:32:13.751Z] INFO: No Stack... [2024-11-07T09:32:14.018Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-07T09:32:14.978Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:32:15.650Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-11-07T09:32:15.650Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:32:15.712Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] [2024-11-07T09:32:15.718Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] did not exist. Created. [2024-11-07T09:32:15.724Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:32:16.496Z] /w/workspace/device-onvif-camera/1@tmp/durable-5a345941/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-07T09:32:17.173Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-07T09:32:17.214Z] Warning: overwriting stash ‘stack-cost’ [2024-11-07T09:32:17.284Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:32:17.304Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:32:17.394Z] $ docker stop --time=1 5f409846c22bb60f5aa7c86cb387ca18e58bd58fb893a7e3998e70119885851c [2024-11-07T09:32:18.904Z] $ docker rm -f --volumes 5f409846c22bb60f5aa7c86cb387ca18e58bd58fb893a7e3998e70119885851c [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-07T09:32:20.172Z] provisioning config files... [2024-11-07T09:32:20.179Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-472@tmp/config13361069732024360379tmp [Pipeline] { [Pipeline] sh [2024-11-07T09:32:20.550Z] + set +x [2024-11-07T09:32:20.550Z] + bash -s -- [2024-11-07T09:32:20.550Z] + curl -s https://codecov.io/bash [2024-11-07T09:32:20.550Z] [2024-11-07T09:32:20.550Z] _____ _ [2024-11-07T09:32:20.550Z] / ____| | | [2024-11-07T09:32:20.550Z] | | ___ __| | ___ ___ _____ __ [2024-11-07T09:32:20.550Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-07T09:32:20.550Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-07T09:32:20.550Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-07T09:32:20.550Z] Bash-1.0.6 [2024-11-07T09:32:20.550Z] [2024-11-07T09:32:20.550Z] [2024-11-07T09:32:20.550Z] ==> git version 2.25.1 found [2024-11-07T09:32:20.550Z] ==> 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-07T09:32:20.550Z] Release-Date: 2020-01-08 [2024-11-07T09:32:20.550Z] 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-07T09:32:20.550Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-07T09:32:20.550Z] ==> Jenkins CI detected. [2024-11-07T09:32:20.550Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-472 [2024-11-07T09:32:20.550Z] project root: . [2024-11-07T09:32:20.550Z] --> token set from env [2024-11-07T09:32:20.550Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-07T09:32:20.550Z] ==> Running gcov in . (disable via -X gcov) [2024-11-07T09:32:20.550Z] ==> Python coveragepy not found [2024-11-07T09:32:20.550Z] ==> Searching for coverage reports in: [2024-11-07T09:32:20.550Z] + . [2024-11-07T09:32:20.550Z] -> Found 1 reports [2024-11-07T09:32:20.550Z] ==> Detecting git/mercurial file structure [2024-11-07T09:32:20.550Z] ==> Reading reports [2024-11-07T09:32:20.550Z] + ./coverage.out bytes=92292 [2024-11-07T09:32:20.550Z] ==> Appending adjustments [2024-11-07T09:32:20.550Z] https://docs.codecov.io/docs/fixing-reports [2024-11-07T09:32:20.810Z] + Found adjustments [2024-11-07T09:32:20.810Z] ==> Gzipping contents [2024-11-07T09:32:20.810Z] 12K /tmp/codecov.I509Qv.gz [2024-11-07T09:32:20.810Z] ==> Uploading reports [2024-11-07T09:32:20.810Z] url: https://codecov.io [2024-11-07T09:32:20.810Z] query: branch=PR-472&commit=30ac1c87d2d15cdd71263100a68b527e75ae5d2e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-472%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=472&job=&cmd_args= [2024-11-07T09:32:20.810Z] -> Pinging Codecov [2024-11-07T09:32:20.810Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-472&commit=30ac1c87d2d15cdd71263100a68b527e75ae5d2e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-472%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=472&job=&cmd_args= [2024-11-07T09:32:21.070Z] -> Uploading to [2024-11-07T09:32:21.071Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/30ac1c87d2d15cdd71263100a68b527e75ae5d2e/0415e83c-c68f-4877-a727-779ee7cd1dfe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241107T093220Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=857a86b2ae3501981aa9a41940f5fe4534d927c8f20c6ef9a94afc92c2102831 [2024-11-07T09:32:21.071Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:32:21.071Z] Dload Upload Total Spent Left Speed [2024-11-07T09:32:21.331Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 50955 --:--:-- --:--:-- --:--:-- 50955 [2024-11-07T09:32:21.331Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/30ac1c87d2d15cdd71263100a68b527e75ae5d2e [Pipeline] } [2024-11-07T09:32:21.361Z] 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-07T09:32:23.704Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-472/archives ] [2024-11-07T09:32:23.704Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-472/archives [2024-11-07T09:32:23.704Z] total 16 [2024-11-07T09:32:23.704Z] drwxr-xr-x 3 root root 4096 Nov 7 09:16 . [2024-11-07T09:32:23.704Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:16 .. [2024-11-07T09:32:23.704Z] drwxr-xr-x 2 root root 4096 Nov 7 09:16 cost [2024-11-07T09:32:23.704Z] -rw-r--r-- 1 root root 91 Nov 7 09:16 cost.csv [2024-11-07T09:32:23.704Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-472/archives [2024-11-07T09:32:23.704Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-472/archives [2024-11-07T09:32:23.704Z] total 16 [2024-11-07T09:32:23.704Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:16 . [2024-11-07T09:32:23.704Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:16 .. [2024-11-07T09:32:23.704Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:16 cost [2024-11-07T09:32:23.704Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 7 09:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:32:24.061Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:32:24.972Z] ---> package-listing.sh [2024-11-07T09:32:24.972Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-07T09:32:24.972Z] ++ facter osfamily [2024-11-07T09:32:25.232Z] + OS_FAMILY=debian [2024-11-07T09:32:25.232Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-472 [2024-11-07T09:32:25.232Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-07T09:32:25.232Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-07T09:32:25.232Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-07T09:32:25.232Z] + PACKAGES=/tmp/packages_start.txt [2024-11-07T09:32:25.232Z] + '[' /w/workspace/undry_device-onvif-camera_PR-472 ']' [2024-11-07T09:32:25.232Z] + PACKAGES=/tmp/packages_end.txt [2024-11-07T09:32:25.232Z] + case "${OS_FAMILY}" in [2024-11-07T09:32:25.232Z] + dpkg -l [2024-11-07T09:32:25.232Z] + grep '^ii' [2024-11-07T09:32:25.232Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-07T09:32:25.232Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-07T09:32:25.232Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-07T09:32:25.232Z] + '[' /w/workspace/undry_device-onvif-camera_PR-472 ']' [2024-11-07T09:32:25.232Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-472/archives/ [2024-11-07T09:32:25.232Z] + 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-07T09:32:25.283Z] 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-07T09:32:25.580Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:32:26.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:32:26.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:32:26.487Z] prd-ubuntu20.04-docker-8c-8g-24734 does not seem to be running inside a container [2024-11-07T09:32:26.531Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-07T09:32:26.737Z] $ docker top 4b4805ec984cc47eb3885326e0a7e5082852276e9e7dabd276ba8e53fa408028 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:32:27.135Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-07T09:32:27.457Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-07T09:32:27.772Z] + ls /var/log/sa-host [2024-11-07T09:32:27.772Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:32:28.019Z] provisioning config files... [2024-11-07T09:32:28.030Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-472@tmp/config12146826649061612633tmp [Pipeline] { [Pipeline] echo [2024-11-07T09:32:28.105Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:32:28.438Z] ---> create-netrc.sh [Pipeline] } [2024-11-07T09:32:28.467Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:32:28.900Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-07T09:32:28.935Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:32:29.260Z] ---> sudo-logs.sh [2024-11-07T09:32:29.260Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-07T09:32:29.370Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:32:29.694Z] ---> job-cost.sh [2024-11-07T09:32:29.694Z] lf-activate-venv: SKIPPING [2024-11-07T09:32:29.694Z] DEBUG: total: 0.2199999988079071 [2024-11-07T09:32:29.694Z] INFO: Retrieving Stack Cost... [2024-11-07T09:32:30.263Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:32:30.522Z] INFO: Archiving Costs [Pipeline] echo [2024-11-07T09:32:30.564Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:32:30.891Z] ---> logs-deploy.sh [2024-11-07T09:32:30.891Z] lf-activate-venv: SKIPPING [2024-11-07T09:32:30.891Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-472/1 [2024-11-07T09:32:30.891Z] INFO: archiving workspace using pattern(s): [2024-11-07T09:32:31.829Z] Archives upload complete. [2024-11-07T09:32:31.829Z] INFO: archiving logs to Nexus