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 09:12:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:12:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:12:56 ========================================================= 09:12:56 EdgeX Global Pipelines Version Info 09:12:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:12:57 ------------------- 09:12:57 stable info: 09:12:57 ------------------- 09:12:57 Commited By: Ginny Guan ginny@iotechsys.com 09:12:57 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 09:12:57 Message: update stable to v1.0.265 09:12:57 ------------------- 09:12:57 experimental info: 09:12:57 ------------------- 09:12:57 Commited By: Cherry Wang cherry@iotechsys.com 09:12:57 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 09:12:57 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:12:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 09:12:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 09:12:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:12:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-472 [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-472 [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-472 [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30ac1c87d2d15cdd71263100a68b527e75ae5d2e [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30ac1c8 [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:12:59 provisioning config files... 09:12:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-472@tmp/config15332763989713994568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:00 ---> ****-login.sh 09:13:00 nexus3.edgexfoundry.org:10001 09:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:13:00 Configure a credential helper to remove this warning. See 09:13:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:13:00 09:13:00 Login Succeeded 09:13:00 nexus3.edgexfoundry.org:10002 09:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:13:01 Configure a credential helper to remove this warning. See 09:13:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:13:01 09:13:01 Login Succeeded 09:13:01 nexus3.edgexfoundry.org:10003 09:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:13:01 Configure a credential helper to remove this warning. See 09:13:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:13:01 09:13:01 Login Succeeded 09:13:01 nexus3.edgexfoundry.org:10004 09:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:13:01 Configure a credential helper to remove this warning. See 09:13:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:13:01 09:13:01 Login Succeeded 09:13:01 ****.io 09:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:13:01 Configure a credential helper to remove this warning. See 09:13:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:13:01 09:13:01 Login Succeeded 09:13:01 ---> ****-login.sh ends [Pipeline] } 09:13:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:13:02 + git rev-list -1 --merges 30ac1c87d2d15cdd71263100a68b527e75ae5d2e~1..30ac1c87d2d15cdd71263100a68b527e75ae5d2e [Pipeline] echo 09:13:02 -----------> git rev-list -1 --merges 30ac1c87d2d15cdd71263100a68b527e75ae5d2e~1..30ac1c87d2d15cdd71263100a68b527e75ae5d2e 30ac1c87d2d15cdd71263100a68b527e75ae5d2e [false] [Pipeline] sh 09:13:02 + git log --format=format:%s -1 30ac1c87d2d15cdd71263100a68b527e75ae5d2e [Pipeline] echo 09:13:02 ========================================================= 09:13:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:13:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:03 + git log --format=format:%s -1 30ac1c87d2d15cdd71263100a68b527e75ae5d2e [Pipeline] echo 09:13:03 [semverPrep] GIT_COMMIT: 30ac1c87d2d15cdd71263100a68b527e75ae5d2e, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo 09:13:03 [semverPrep] This is not a build commit. [Pipeline] sh 09:13:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:13:03 + grep -v github /etc/ssh/ssh_known_hosts 09:13:03 + [ -e /tmp/ssh_known_hosts ] 09:13:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:13:03 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:13:03 sudo tee -a /etc/ssh/ssh_known_hosts 09:13:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:04 09:13:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:04 0.1.4: Pulling from edgex-devops/py-git-semver 09:13:04 b85a868b505f: Pulling fs layer 09:13:04 e2be974225ed: Pulling fs layer 09:13:04 339a4e72a1f5: Pulling fs layer 09:13:04 988bab9f4d93: Pulling fs layer 09:13:04 1469e6f7b9e6: Pulling fs layer 09:13:04 eaf3925da568: Pulling fs layer 09:13:04 bab4dde63d76: Pulling fs layer 09:13:04 bde34c3a00c8: Pulling fs layer 09:13:04 b352a97aabf1: Pulling fs layer 09:13:04 4872d77fe225: Pulling fs layer 09:13:04 5851b861e8e6: Pulling fs layer 09:13:04 988bab9f4d93: Waiting 09:13:04 1469e6f7b9e6: Waiting 09:13:04 eaf3925da568: Waiting 09:13:04 bab4dde63d76: Waiting 09:13:04 bde34c3a00c8: Waiting 09:13:04 b352a97aabf1: Waiting 09:13:04 4872d77fe225: Waiting 09:13:04 5851b861e8e6: Waiting 09:13:04 e2be974225ed: Download complete 09:13:04 988bab9f4d93: Verifying Checksum 09:13:04 988bab9f4d93: Download complete 09:13:04 1469e6f7b9e6: Verifying Checksum 09:13:04 1469e6f7b9e6: Download complete 09:13:04 eaf3925da568: Download complete 09:13:04 339a4e72a1f5: Verifying Checksum 09:13:04 339a4e72a1f5: Download complete 09:13:04 bde34c3a00c8: Download complete 09:13:04 b352a97aabf1: Verifying Checksum 09:13:04 b352a97aabf1: Download complete 09:13:04 4872d77fe225: Verifying Checksum 09:13:04 4872d77fe225: Download complete 09:13:04 5851b861e8e6: Verifying Checksum 09:13:04 5851b861e8e6: Download complete 09:13:04 b85a868b505f: Verifying Checksum 09:13:04 b85a868b505f: Download complete 09:13:04 bab4dde63d76: Verifying Checksum 09:13:04 bab4dde63d76: Download complete 09:13:06 b85a868b505f: Pull complete 09:13:06 e2be974225ed: Pull complete 09:13:08 339a4e72a1f5: Pull complete 09:13:08 988bab9f4d93: Pull complete 09:13:09 1469e6f7b9e6: Pull complete 09:13:09 eaf3925da568: Pull complete 09:13:11 bab4dde63d76: Pull complete 09:13:11 bde34c3a00c8: Pull complete 09:13:11 b352a97aabf1: Pull complete 09:13:11 4872d77fe225: Pull complete 09:13:11 5851b861e8e6: Pull complete 09:13:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:13:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:13:12 prd-ubuntu20.04-docker-8c-8g-24734 does not seem to be running inside a container 09:13:12 $ 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 09:13:15 $ docker top bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb -eo pid,comm 09:13:15 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). 09:13:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:13:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:13:16 [ssh-agent] Looking for ssh-agent implementation... 09:13:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:13:16 $ docker exec bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb ssh-agent 09:13:16 SSH_AUTH_SOCK=/tmp/ssh-54K68v6R72GG/agent.32 09:13:16 SSH_AGENT_PID=38 09:13:16 Running ssh-add (command line suppressed) 09:13:16 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) 09:13:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:13:16 + git tag --points-at HEAD [Pipeline] } 09:13:16 $ docker exec --env ******** --env ******** bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb ssh-agent -k 09:13:16 unset SSH_AUTH_SOCK; 09:13:16 unset SSH_AGENT_PID; 09:13:16 echo Agent pid 38 killed; 09:13:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:13:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:13:16 [ssh-agent] Looking for ssh-agent implementation... 09:13:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:13:17 $ docker exec bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb ssh-agent 09:13:17 SSH_AUTH_SOCK=/tmp/ssh-XanY4hkkbete/agent.71 09:13:17 SSH_AGENT_PID=77 09:13:17 Running ssh-add (command line suppressed) 09:13:17 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) 09:13:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:13:17 + git semver init 09:13:17 2024-11-07 09:13:17,837 [run_init] DEBUG init version:0.0.0 force:False 09:13:17 2024-11-07 09:13:17,838 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-472/.semver 09:13:17 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 09:13:17 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) 09:13:19 2024-11-07 09:13:19,000 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-472/.git/info/exclude 09:13:19 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 09:13:19 2024-11-07 09:13:19,001 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-472/.semver/PR-472 09:13:19 2024-11-07 09:13:19,004 [execute] INFO git cat-file --batch-check 09:13:19 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=) 09:13:19 2024-11-07 09:13:19,010 [execute] INFO git cat-file --batch 09:13:19 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=) 09:13:19 2024-11-07 09:13:19,016 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-472/.semver/PR-472 09:13:19 0.0.0 [Pipeline] } 09:13:19 $ docker exec --env ******** --env ******** bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb ssh-agent -k 09:13:19 unset SSH_AUTH_SOCK; 09:13:19 unset SSH_AGENT_PID; 09:13:19 echo Agent pid 77 killed; 09:13:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:13:19 + git semver [Pipeline] } 09:13:20 $ docker stop --time=1 bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb 09:13:21 $ docker rm -f --volumes bcda2db2eac5069bba2811cc5596d57fef59bec3620139b26c5325ae3500f2bb [Pipeline] // withDockerContainer [Pipeline] sh 09:13:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:13:22 Stashed 1 file(s) [Pipeline] echo 09:13:22 [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 09:13:22 provisioning config files... 09:13:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-472@tmp/config8560616831972087874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:23 ---> ****-login.sh 09:13:23 nexus3.edgexfoundry.org:10001 09:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:13:23 Configure a credential helper to remove this warning. See 09:13:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:13:23 09:13:23 Login Succeeded 09:13:23 nexus3.edgexfoundry.org:10002 09:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:13:23 Configure a credential helper to remove this warning. See 09:13:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:13:23 09:13:23 Login Succeeded 09:13:23 nexus3.edgexfoundry.org:10003 09:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:13:23 Configure a credential helper to remove this warning. See 09:13:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:13:23 09:13:23 Login Succeeded 09:13:23 nexus3.edgexfoundry.org:10004 09:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:13:23 Configure a credential helper to remove this warning. See 09:13:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:13:23 09:13:23 Login Succeeded 09:13:23 ****.io 09:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:13:23 Configure a credential helper to remove this warning. See 09:13:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:13:23 09:13:23 Login Succeeded 09:13:23 ---> ****-login.sh ends [Pipeline] } 09:13:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:13:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:13:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:13:24 ========================================================= 09:13:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:13:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:24 + 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 . 09:13:24 Sending build context to Docker daemon 36.81MB 09:13:24 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 09:13:24 Step 2/13 : FROM ${BASE} AS builder 09:13:25 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:13:25 43c4264eed91: Pulling fs layer 09:13:25 4cc291be95ef: Pulling fs layer 09:13:25 2ac1f1163629: Pulling fs layer 09:13:25 5c3c966382ef: Pulling fs layer 09:13:25 4f4fb700ef54: Pulling fs layer 09:13:25 5d5c8e513c77: Pulling fs layer 09:13:25 9f66e0745190: Pulling fs layer 09:13:25 f49a43e4bbc0: Pulling fs layer 09:13:25 561ebcabdf7f: Pulling fs layer 09:13:25 5c3c966382ef: Waiting 09:13:25 4f4fb700ef54: Waiting 09:13:25 f49a43e4bbc0: Waiting 09:13:25 561ebcabdf7f: Waiting 09:13:25 5d5c8e513c77: Waiting 09:13:25 4cc291be95ef: Download complete 09:13:25 5c3c966382ef: Verifying Checksum 09:13:25 5c3c966382ef: Download complete 09:13:25 4f4fb700ef54: Verifying Checksum 09:13:25 4f4fb700ef54: Download complete 09:13:25 5d5c8e513c77: Verifying Checksum 09:13:25 5d5c8e513c77: Download complete 09:13:25 43c4264eed91: Verifying Checksum 09:13:25 43c4264eed91: Download complete 09:13:25 9f66e0745190: Verifying Checksum 09:13:25 9f66e0745190: Download complete 09:13:25 561ebcabdf7f: Verifying Checksum 09:13:25 561ebcabdf7f: Download complete 09:13:25 43c4264eed91: Pull complete 09:13:25 4cc291be95ef: Pull complete 09:13:25 2ac1f1163629: Verifying Checksum 09:13:25 2ac1f1163629: Download complete 09:13:25 f49a43e4bbc0: Verifying Checksum 09:13:25 f49a43e4bbc0: Download complete 09:13:29 2ac1f1163629: Pull complete 09:13:29 5c3c966382ef: Pull complete 09:13:29 4f4fb700ef54: Pull complete 09:13:29 5d5c8e513c77: Pull complete 09:13:29 9f66e0745190: Pull complete 09:13:31 f49a43e4bbc0: Pull complete 09:13:32 561ebcabdf7f: Pull complete 09:13:32 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 09:13:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:13:32 ---> 3a752c3f9dda 09:13:32 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:13:37 Still waiting to schedule task 09:13:37 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24735’ is offline 09:13:39 ---> Running in dc0c5571b391 09:13:39 Removing intermediate container dc0c5571b391 09:13:39 ---> 9bcd6aa33c9b 09:13:39 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:13:39 ---> Running in c1fadf454aa5 09:13:39 Removing intermediate container c1fadf454aa5 09:13:39 ---> 5d7a196da38d 09:13:39 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 09:13:39 ---> Running in eab7d915ce2e 09:13:39 Removing intermediate container eab7d915ce2e 09:13:39 ---> f660f1971e02 09:13:39 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:13:39 ---> Running in 82b5c3f681f3 09:13:39 Removing intermediate container 82b5c3f681f3 09:13:39 ---> 490940f9c846 09:13:39 Step 7/13 : LABEL Name=edgex-device-onvif-camera 09:13:39 ---> Running in 1860fa63527b 09:13:39 Removing intermediate container 1860fa63527b 09:13:39 ---> e12fdc3e871e 09:13:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:13:39 ---> Running in ae602dc285fd 09:13:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:13:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:13:40 OK: 246 MiB in 54 packages 09:13:40 Removing intermediate container ae602dc285fd 09:13:40 ---> 423a9a313f4f 09:13:40 Step 9/13 : WORKDIR /device-onvif-camera 09:13:40 ---> Running in 421752852b95 09:13:40 Removing intermediate container 421752852b95 09:13:40 ---> ea928cb0f3a6 09:13:40 Step 10/13 : COPY go.mod vendor* ./ 09:13:40 ---> 12df2617b079 09:13:40 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:40 ---> Running in 8ec80dfffe24 09:15:02 Removing intermediate container 8ec80dfffe24 09:15:02 ---> 9ce91a965346 09:15:02 Step 12/13 : COPY . . 09:15:02 ---> be0e6b3779bf 09:15:02 Step 13/13 : RUN ${MAKE} 09:15:02 ---> Running in cfa836ada40c 09:15:02 noop 09:15:02 Removing intermediate container cfa836ada40c 09:15:02 ---> 2dad1beff67e 09:15:02 Successfully built 2dad1beff67e 09:15:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:03 + docker inspect -f . ci-base-image-x86_64 09:15:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:03 prd-ubuntu20.04-docker-8c-8g-24734 does not seem to be running inside a container 09:15:03 $ 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 09:15:04 $ docker top 7932ee4535fc7aa189cf3bdddb4ef04a44f0f66e566fde5daf513b13436122e1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:04 + go version 09:15:04 go version go1.23.2 linux/amd64 [Pipeline] } 09:15:04 $ docker stop --time=1 7932ee4535fc7aa189cf3bdddb4ef04a44f0f66e566fde5daf513b13436122e1 09:15:06 $ 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 09:15:06 + docker inspect -f . ci-base-image-x86_64 09:15:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:07 prd-ubuntu20.04-docker-8c-8g-24734 does not seem to be running inside a container 09:15:07 $ 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 09:15:07 $ docker top 8b2cd095c36955202a2cd8e020750131d87a2a29af079adcb7ed306e181c242d -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:07 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-472 [Pipeline] fileExists [Pipeline] sh 09:15:08 + make test 09:15:08 go test ./... -coverprofile=coverage.out ./... 09:15:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 09:15:30 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 09:15:30 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 09:15:30 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.024s coverage: 31.4% of statements 09:15:31 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.238s coverage: 86.5% of statements 09:15:41 go vet ./... 09:15:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:15:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:15:46 ./bin/test-attribution-txt.sh [Pipeline] echo 09:15:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:15:46 $ docker stop --time=1 8b2cd095c36955202a2cd8e020750131d87a2a29af079adcb7ed306e181c242d 09:15:53 $ docker rm -f --volumes 8b2cd095c36955202a2cd8e020750131d87a2a29af079adcb7ed306e181c242d [Pipeline] // withDockerContainer [Pipeline] sh 09:15:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:15:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:15:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:15:55 + ls -al . 09:15:55 total 316 09:15:55 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 09:15 . 09:15:55 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:12 .. 09:15:55 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:15 .git 09:15:55 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:12 .github 09:15:55 -rw-rw-r-- 1 jenkins jenkins 493 Nov 7 09:12 .gitignore 09:15:55 -rw-rw-r-- 1 jenkins jenkins 199 Nov 7 09:12 .golangci.yml 09:15:55 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:13 .semver 09:15:55 -rw-rw-r-- 1 jenkins jenkins 19973 Nov 7 09:12 Attribution.txt 09:15:55 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 7 09:12 CHANGELOG.md 09:15:55 -rw-rw-r-- 1 jenkins jenkins 1715 Nov 7 09:12 Dockerfile 09:15:55 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:12 GOVERNANCE.md 09:15:55 -rw-rw-r-- 1 jenkins jenkins 739 Nov 7 09:12 Jenkinsfile 09:15:55 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 09:12 LICENSE 09:15:55 -rw-rw-r-- 1 jenkins jenkins 3473 Nov 7 09:12 Makefile 09:15:55 -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 09:12 OWNERS.md 09:15:55 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 7 09:12 README.md 09:15:55 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:13 VERSION 09:15:55 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:12 bin 09:15:55 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:12 cmd 09:15:55 -rw-r--r-- 1 jenkins jenkins 92292 Nov 7 09:15 coverage.out 09:15:55 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:12 doc 09:15:55 -rw-rw-r-- 1 jenkins jenkins 6636 Nov 7 09:12 go.mod 09:15:55 -rw-rw-r-- 1 jenkins jenkins 88824 Nov 7 09:12 go.sum 09:15:55 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:12 internal 09:15:55 -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 09:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:56 + 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 . 09:15:56 Sending build context to Docker daemon 36.9MB 09:15:56 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 09:15:56 Step 2/27 : FROM ${BASE} AS builder 09:15:56 ---> 2dad1beff67e 09:15:56 Step 3/27 : ARG ADD_BUILD_TAGS="" 09:15:56 ---> Running in 9950eea1dff5 09:15:56 Removing intermediate container 9950eea1dff5 09:15:56 ---> 5c641903c24f 09:15:56 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:15:56 ---> Running in 8efe40e24eec 09:15:56 Removing intermediate container 8efe40e24eec 09:15:56 ---> 2abce5ea78ba 09:15:56 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 09:15:56 ---> Running in deb98399e65d 09:15:56 Removing intermediate container deb98399e65d 09:15:56 ---> c2b7bcecd45b 09:15:56 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 09:15:56 ---> Running in c8d8a9db3dda 09:15:57 Removing intermediate container c8d8a9db3dda 09:15:57 ---> 2e43e6a60806 09:15:57 Step 7/27 : LABEL Name=edgex-device-onvif-camera 09:15:57 ---> Running in b5a04dcd7cc5 09:15:57 Removing intermediate container b5a04dcd7cc5 09:15:57 ---> c0ee59a72a87 09:15:57 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:15:57 ---> Running in a52e29ba53cd 09:15:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:15:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:15:58 OK: 246 MiB in 54 packages 09:15:58 Removing intermediate container a52e29ba53cd 09:15:58 ---> 0628b283c9af 09:15:58 Step 9/27 : WORKDIR /device-onvif-camera 09:15:58 ---> Running in a519e9efdfc5 09:15:58 Removing intermediate container a519e9efdfc5 09:15:58 ---> d0e2206b56ec 09:15:58 Step 10/27 : COPY go.mod vendor* ./ 09:15:59 ---> 05758e1d1a80 09:15:59 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:15:59 ---> Running in 72a56de71e2b 09:15:59 Removing intermediate container 72a56de71e2b 09:15:59 ---> 365aa3a19886 09:15:59 Step 12/27 : COPY . . 09:16:01 ---> 56a5329e5875 09:16:01 Step 13/27 : RUN ${MAKE} 09:16:01 ---> Running in cb4c5c417c91 09:16:01 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 09:16:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24737 in /w/workspace/undry_device-onvif-camera_PR-472 [Pipeline] { [Pipeline] ws 09:16:14 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 09:16:14 The recommended git tool is: git 09:16:26 using credential edgex-jenkins-ssh 09:16:26 Cloning the remote Git repository 09:16:26 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 09:16:26 > git init /w/workspace/device-onvif-camera/1 # timeout=10 09:16:26 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 09:16:26 > git --version # timeout=10 09:16:26 > git --version # 'git version 2.25.1' 09:16:26 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:16:30 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 09:16:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:16:31 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 09:16:31 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 09:16:31 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:31 > 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 09:16:32 Merging remotes/origin/main commit b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c into PR head commit 30ac1c87d2d15cdd71263100a68b527e75ae5d2e 09:16:33 Merge succeeded, producing 30ac1c87d2d15cdd71263100a68b527e75ae5d2e 09:16:33 Checking out Revision 30ac1c87d2d15cdd71263100a68b527e75ae5d2e (PR-472) 09:16:32 > git config core.sparsecheckout # timeout=10 09:16:32 > git checkout -f 30ac1c87d2d15cdd71263100a68b527e75ae5d2e # timeout=10 09:16:32 > git remote # timeout=10 09:16:32 > git config --get remote.origin.url # timeout=10 09:16:32 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:33 > git merge b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c # timeout=10 09:16:33 > git rev-parse HEAD^{commit} # timeout=10 09:16:33 > git config core.sparsecheckout # timeout=10 09:16:33 > git checkout -f 30ac1c87d2d15cdd71263100a68b527e75ae5d2e # timeout=10 09:16:37 Commit message: "fix: Only one ldflags flag is allowed" 09:16:37 > git --version # timeout=10 09:16:37 > git --version # 'git version 2.25.1' 09:16:37 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:16:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:16:39 % Total % Received % Xferd Average Speed Time Time Time Current 09:16:39 Dload Upload Total Spent Left Speed 09:16:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 09:16:39 Removing intermediate container cb4c5c417c91 09:16:39 ---> c4bb28a0ffe4 09:16:39 Step 14/27 : FROM alpine:3.20 09:16:39 3.20: Pulling from library/alpine 09:16:39 43c4264eed91: Already exists 09:16:39 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:16:39 Status: Downloaded newer image for alpine:3.20 09:16:39 ---> 91ef0af61f39 09:16:39 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 09:16:39 ---> Running in 39c3723734a4 09:16:39 Removing intermediate container 39c3723734a4 09:16:39 ---> b8da4c9ada46 09:16:39 Step 16/27 : RUN apk add --update --no-cache dumb-init 09:16:39 ---> Running in bbcb910a06ce 09:16:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:16:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:16:39 (1/1) Installing dumb-init (1.2.5-r3) 09:16:39 Executing busybox-1.36.1-r29.trigger 09:16:39 OK: 8 MiB in 15 packages 09:16:39 Removing intermediate container bbcb910a06ce 09:16:39 ---> 8a00cd651717 09:16:39 Step 17/27 : RUN apk --no-cache upgrade 09:16:39 ---> Running in c68a6965416b 09:16:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:16:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:16:39 Upgrading critical system libraries and apk-tools: 09:16:39 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:16:39 Executing busybox-1.36.1-r29.trigger 09:16:39 Continuing the upgrade transaction with new apk-tools: 09:16:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:16:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:16:39 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:16:39 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:16:39 OK: 8 MiB in 15 packages 09:16:39 Removing intermediate container c68a6965416b 09:16:39 ---> 9d24d43d7058 09:16:39 Step 18/27 : WORKDIR / 09:16:39 ---> Running in 97da12f6041a 09:16:39 Removing intermediate container 97da12f6041a 09:16:39 ---> b597747b9a29 09:16:39 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 09:16:39 ---> 97edf3816865 09:16:39 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 09:16:39 ---> 83c5d6a0c5d8 09:16:39 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 09:16:39 ---> dd7def6cb81b 09:16:39 Step 22/27 : EXPOSE 59984 09:16:39 ---> Running in 8c3ae82f15b3 09:16:39 Removing intermediate container 8c3ae82f15b3 09:16:39 ---> d207a51e6ac4 09:16:39 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 09:16:39 ---> Running in ae87287b06fc 09:16:39 Removing intermediate container ae87287b06fc 09:16:39 ---> 2fe4b70a551f 09:16:39 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 09:16:39 ---> Running in ef2d3f6e7bcf 09:16:39 Removing intermediate container ef2d3f6e7bcf 09:16:39 ---> 9228d128af13 09:16:39 Step 25/27 : LABEL arch=amd64 09:16:39 ---> Running in 713b800b0af6 09:16:39 Removing intermediate container 713b800b0af6 09:16:39 ---> 105601389891 09:16:39 Step 26/27 : LABEL git_sha=30ac1c87d2d15cdd71263100a68b527e75ae5d2e 09:16:39 ---> Running in bcb8cdc0e06a 09:16:39 Removing intermediate container bcb8cdc0e06a 09:16:39 ---> 6ea123fc1d4b 09:16:39 Step 27/27 : LABEL version=0.0.0 09:16:39 ---> Running in bb3cb2f00c86 09:16:39 Removing intermediate container bb3cb2f00c86 09:16:39 ---> 9a6a5019428c 09:16:39 [Warning] One or more build-args [ARCH] were not consumed 09:16:39 Successfully built 9a6a5019428c 09:16:39 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv 09:16:39 + 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) 09:16:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:16:40 + sudo tee /etc/docker/daemon.new 09:16:40 { 09:16:40 "registry-mirrors": [ 09:16:40 "https://nexus3.edgexfoundry.org:10001" 09:16:40 ], 09:16:40 "bip": "10.250.0.254/24", 09:16:40 "hosts": [ 09:16:40 "tcp://0.0.0.0:5555", 09:16:40 "unix:///var/run/docker.sock" 09:16:40 ], 09:16:40 "mtu": 1458, 09:16:40 "selinux-enabled": true, 09:16:40 "seccomp-profile": "/etc/docker/seccomp.json" 09:16:40 } [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 09:16:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh 09:16:41 + sudo service docker restart 09:16:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:41 09:16:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:41 latest: Pulling from edgex-lftools-log-publisher 09:16:41 5eb5b503b376: Pulling fs layer 09:16:41 5c69ac0246d0: Pulling fs layer 09:16:41 ec43610c2a17: Pulling fs layer 09:16:41 3a2ae6a8a46f: Pulling fs layer 09:16:41 33b1e0a273af: Pulling fs layer 09:16:41 5d3b04190fa2: Pulling fs layer 09:16:41 2f39f015ded8: Pulling fs layer 09:16:41 3a2ae6a8a46f: Waiting 09:16:41 5d3b04190fa2: Waiting 09:16:41 2f39f015ded8: Waiting 09:16:41 33b1e0a273af: Waiting 09:16:41 5c69ac0246d0: Verifying Checksum 09:16:41 5c69ac0246d0: Download complete 09:16:41 3a2ae6a8a46f: Verifying Checksum 09:16:41 3a2ae6a8a46f: Download complete 09:16:41 33b1e0a273af: Verifying Checksum 09:16:41 33b1e0a273af: Download complete 09:16:41 5d3b04190fa2: Verifying Checksum 09:16:41 5d3b04190fa2: Download complete 09:16:41 ec43610c2a17: Verifying Checksum 09:16:41 ec43610c2a17: Download complete 09:16:41 5eb5b503b376: Verifying Checksum 09:16:41 5eb5b503b376: Download complete 09:16:42 2f39f015ded8: Verifying Checksum 09:16:42 2f39f015ded8: Download complete 09:16:42 5eb5b503b376: Pull complete 09:16:43 5c69ac0246d0: Pull complete 09:16:43 ec43610c2a17: Pull complete 09:16:43 3a2ae6a8a46f: Pull complete 09:16:44 33b1e0a273af: Pull complete 09:16:44 5d3b04190fa2: Pull complete 09:16:48 2f39f015ded8: Pull complete 09:16:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:16:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:16:48 prd-ubuntu20.04-docker-8c-8g-24734 does not seem to be running inside a container 09:16:48 $ 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 09:16:52 $ docker top 6080f7195b02066ebe1e5f4709fb3b2a2adf30de5d7e3ca3f90416c2acaabe57 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:52 ---> job-cost.sh 09:16:52 lf-activate-venv: SKIPPING 09:16:52 INFO: No Stack... 09:16:53 INFO: Retrieving Pricing Info for: v3-standard-8 09:16:53 INFO: Archiving Costs [Pipeline] sh 09:16:53 + cat /w/workspace/undry_device-onvif-camera_PR-472/archives/cost.csv 09:16:53 + cut -d, -f6 [Pipeline] lock 09:16:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] 09:16:53 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] did not exist. Created. 09:16:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:16:54 + echo total: 0.2199999988079071 [Pipeline] stash 09:16:54 Stashed 1 file(s) [Pipeline] } 09:16:54 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:16:54 $ docker stop --time=1 6080f7195b02066ebe1e5f4709fb3b2a2adf30de5d7e3ca3f90416c2acaabe57 09:16:55 $ docker rm -f --volumes 6080f7195b02066ebe1e5f4709fb3b2a2adf30de5d7e3ca3f90416c2acaabe57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:16:59 provisioning config files... 09:16:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5882765070574663623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:17:00 ---> ****-login.sh 09:17:00 nexus3.edgexfoundry.org:10001 09:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:01 Configure a credential helper to remove this warning. See 09:17:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:01 09:17:01 Login Succeeded 09:17:01 nexus3.edgexfoundry.org:10002 09:17:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:01 Configure a credential helper to remove this warning. See 09:17:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:01 09:17:01 Login Succeeded 09:17:01 nexus3.edgexfoundry.org:10003 09:17:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:01 Configure a credential helper to remove this warning. See 09:17:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:01 09:17:01 Login Succeeded 09:17:01 nexus3.edgexfoundry.org:10004 09:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:02 Configure a credential helper to remove this warning. See 09:17:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:02 09:17:02 Login Succeeded 09:17:02 ****.io 09:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:02 Configure a credential helper to remove this warning. See 09:17:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:02 09:17:02 Login Succeeded 09:17:02 ---> ****-login.sh ends [Pipeline] } 09:17:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:17:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:17:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:17:03 ========================================================= 09:17:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:17:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:04 + 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 . 09:17:04 Sending build context to Docker daemon 21.82MB 09:17:04 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 09:17:04 Step 2/13 : FROM ${BASE} AS builder 09:17:05 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:17:05 cf04c63912e1: Pulling fs layer 09:17:05 55b35a11ae5e: Pulling fs layer 09:17:05 a37a00ec5f00: Pulling fs layer 09:17:05 50b3750afda1: Pulling fs layer 09:17:05 4f4fb700ef54: Pulling fs layer 09:17:05 50b3750afda1: Waiting 09:17:05 80978eb59214: Pulling fs layer 09:17:05 c9f46d7d2bd2: Pulling fs layer 09:17:05 c5a475d317c9: Pulling fs layer 09:17:05 4f4fb700ef54: Waiting 09:17:05 80978eb59214: Waiting 09:17:05 c9f46d7d2bd2: Waiting 09:17:05 c5a475d317c9: Waiting 09:17:05 55b35a11ae5e: Verifying Checksum 09:17:05 55b35a11ae5e: Download complete 09:17:05 50b3750afda1: Verifying Checksum 09:17:05 50b3750afda1: Download complete 09:17:05 4f4fb700ef54: Verifying Checksum 09:17:05 4f4fb700ef54: Download complete 09:17:05 80978eb59214: Verifying Checksum 09:17:05 80978eb59214: Download complete 09:17:05 cf04c63912e1: Verifying Checksum 09:17:05 cf04c63912e1: Download complete 09:17:05 c5a475d317c9: Verifying Checksum 09:17:05 c5a475d317c9: Download complete 09:17:06 cf04c63912e1: Pull complete 09:17:06 55b35a11ae5e: Pull complete 09:17:07 a37a00ec5f00: Verifying Checksum 09:17:07 a37a00ec5f00: Download complete 09:17:08 c9f46d7d2bd2: Verifying Checksum 09:17:08 c9f46d7d2bd2: Download complete 09:17:23 a37a00ec5f00: Pull complete 09:17:23 50b3750afda1: Pull complete 09:17:23 4f4fb700ef54: Pull complete 09:17:23 80978eb59214: Pull complete 09:17:30 c9f46d7d2bd2: Pull complete 09:17:32 c5a475d317c9: Pull complete 09:17:32 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:17:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:17:32 ---> be29e6b0f0d4 09:17:32 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:17:33 ---> Running in f9dea02e9f5c 09:17:34 Removing intermediate container f9dea02e9f5c 09:17:34 ---> e4b4882ecf1c 09:17:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:17:34 ---> Running in 3db2715a4ad0 09:17:35 Removing intermediate container 3db2715a4ad0 09:17:35 ---> 93c602c7a728 09:17:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 09:17:35 ---> Running in 65540e485021 09:17:35 Removing intermediate container 65540e485021 09:17:35 ---> 388c62d66b33 09:17:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:17:35 ---> Running in 27dc1b4daa57 09:17:36 Removing intermediate container 27dc1b4daa57 09:17:36 ---> 60d2eb80df98 09:17:36 Step 7/13 : LABEL Name=edgex-device-onvif-camera 09:17:36 ---> Running in fffba8b839c9 09:17:36 Removing intermediate container fffba8b839c9 09:17:36 ---> 2dbf26d34aac 09:17:36 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:17:36 ---> Running in 2e2e34ea9e0a 09:17:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:17:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:17:42 OK: 238 MiB in 54 packages 09:17:43 Removing intermediate container 2e2e34ea9e0a 09:17:43 ---> b28641a4ad54 09:17:43 Step 9/13 : WORKDIR /device-onvif-camera 09:17:43 ---> Running in 5bef033811b5 09:17:43 Removing intermediate container 5bef033811b5 09:17:43 ---> 6518edd54808 09:17:43 Step 10/13 : COPY go.mod vendor* ./ 09:17:43 ---> 80f6c2d50ec5 09:17:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:17:43 ---> Running in cad926a7e3e4 09:19:50 Removing intermediate container cad926a7e3e4 09:19:50 ---> 4f42ef2a8557 09:19:50 Step 12/13 : COPY . . 09:19:50 ---> 6d9bfd07514a 09:19:50 Step 13/13 : RUN ${MAKE} 09:19:50 ---> Running in 5d013c3c60e1 09:19:50 noop 09:19:50 Removing intermediate container 5d013c3c60e1 09:19:50 ---> dce27f184429 09:19:50 Successfully built dce27f184429 09:19:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:19:51 + docker inspect -f . ci-base-image-arm64 09:19:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:19:51 prd-ubuntu20.04-docker-arm64-4c-16g-24737 does not seem to be running inside a container 09:19:51 $ 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 09:19:52 $ docker top 117938d432f550eac1a6a2f56f6a73f72cf3fa2bb375375c94f957b8872be957 -eo pid,comm [Pipeline] { [Pipeline] sh 09:19:53 + go version 09:19:53 go version go1.23.2 linux/arm64 [Pipeline] } 09:19:53 $ docker stop --time=1 117938d432f550eac1a6a2f56f6a73f72cf3fa2bb375375c94f957b8872be957 09:19:55 $ 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 09:19:56 + docker inspect -f . ci-base-image-arm64 09:19:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:19:57 prd-ubuntu20.04-docker-arm64-4c-16g-24737 does not seem to be running inside a container 09:19:57 $ 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 09:19:58 $ docker top b4b998715bd0e64233cc88eedd4ca758d9874e76830c02e966bbfcd0cbb5051c -eo pid,comm [Pipeline] { [Pipeline] sh 09:19:59 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 09:20:00 + make test 09:20:00 go test ./... -coverprofile=coverage.out ./... 09:20:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 09:24:45 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 09:24:46 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 09:24:48 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.229s coverage: 31.4% of statements 09:25:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.791s coverage: 86.5% of statements 09:25:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:25:11 go vet ./... 09:26:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:26:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:26:20 ./bin/test-attribution-txt.sh [Pipeline] echo 09:26:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:26:20 $ docker stop --time=1 b4b998715bd0e64233cc88eedd4ca758d9874e76830c02e966bbfcd0cbb5051c 09:26:22 $ docker rm -f --volumes b4b998715bd0e64233cc88eedd4ca758d9874e76830c02e966bbfcd0cbb5051c [Pipeline] // withDockerContainer [Pipeline] sh 09:26:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:26:25 Warning: overwriting stash ‘coverage-report’ 09:26:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:26:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:26:27 + ls -al . 09:26:27 total 312 09:26:27 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:20 . 09:26:27 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:16 .. 09:26:27 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:16 .git 09:26:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:16 .github 09:26:27 -rw-rw-r-- 1 jenkins jenkins 493 Nov 7 09:16 .gitignore 09:26:27 -rw-rw-r-- 1 jenkins jenkins 199 Nov 7 09:16 .golangci.yml 09:26:27 -rw-rw-r-- 1 jenkins jenkins 19973 Nov 7 09:16 Attribution.txt 09:26:27 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 7 09:16 CHANGELOG.md 09:26:27 -rw-rw-r-- 1 jenkins jenkins 1715 Nov 7 09:16 Dockerfile 09:26:27 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:16 GOVERNANCE.md 09:26:27 -rw-rw-r-- 1 jenkins jenkins 739 Nov 7 09:16 Jenkinsfile 09:26:27 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 09:16 LICENSE 09:26:27 -rw-rw-r-- 1 jenkins jenkins 3473 Nov 7 09:16 Makefile 09:26:27 -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 09:16 OWNERS.md 09:26:27 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 7 09:16 README.md 09:26:27 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:13 VERSION 09:26:27 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:16 bin 09:26:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:16 cmd 09:26:27 -rw-r--r-- 1 jenkins jenkins 92292 Nov 7 09:25 coverage.out 09:26:27 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:16 doc 09:26:27 -rw-rw-r-- 1 jenkins jenkins 6636 Nov 7 09:16 go.mod 09:26:27 -rw-rw-r-- 1 jenkins jenkins 88824 Nov 7 09:16 go.sum 09:26:27 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:16 internal 09:26:27 -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 09:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:27 + 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 . 09:26:28 Sending build context to Docker daemon 21.91MB 09:26:28 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 09:26:28 Step 2/27 : FROM ${BASE} AS builder 09:26:28 ---> dce27f184429 09:26:28 Step 3/27 : ARG ADD_BUILD_TAGS="" 09:26:29 ---> Running in 6c6abd7022bc 09:26:29 Removing intermediate container 6c6abd7022bc 09:26:29 ---> 0127fbe1ebb9 09:26:29 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:26:29 ---> Running in 89d4d7cf43de 09:26:29 Removing intermediate container 89d4d7cf43de 09:26:29 ---> b32ccbf6aba6 09:26:29 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 09:26:29 ---> Running in d16e9e668955 09:26:30 Removing intermediate container d16e9e668955 09:26:30 ---> 8dbc6343124e 09:26:30 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 09:26:30 ---> Running in 2cfd8b939f7d 09:26:30 Removing intermediate container 2cfd8b939f7d 09:26:30 ---> 57a2c9d84711 09:26:30 Step 7/27 : LABEL Name=edgex-device-onvif-camera 09:26:31 ---> Running in 812c0faecd77 09:26:31 Removing intermediate container 812c0faecd77 09:26:31 ---> 97b8f7c9dd31 09:26:31 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:26:31 ---> Running in a2261b1179cd 09:26:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:26:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:26:35 OK: 238 MiB in 54 packages 09:26:35 Removing intermediate container a2261b1179cd 09:26:35 ---> 13e5a57f552e 09:26:35 Step 9/27 : WORKDIR /device-onvif-camera 09:26:35 ---> Running in 31280bfc58d1 09:26:36 Removing intermediate container 31280bfc58d1 09:26:36 ---> 6518fdc207ab 09:26:36 Step 10/27 : COPY go.mod vendor* ./ 09:26:36 ---> 3dc138917249 09:26:36 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:26:37 ---> Running in 6dbe9c4b7bdb 09:26:40 Removing intermediate container 6dbe9c4b7bdb 09:26:40 ---> 1dc49b07ca65 09:26:40 Step 12/27 : COPY . . 09:26:41 ---> b647abc274ef 09:26:41 Step 13/27 : RUN ${MAKE} 09:26:41 ---> Running in 38f5f6a42367 09:26:42 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 09:31:19 Removing intermediate container 38f5f6a42367 09:31:19 ---> dfb04ec35dd9 09:31:19 Step 14/27 : FROM alpine:3.20 09:31:20 3.20: Pulling from library/alpine 09:31:20 cf04c63912e1: Already exists 09:31:20 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:31:20 Status: Downloaded newer image for alpine:3.20 09:31:20 ---> c157a85ed455 09:31:20 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 09:31:20 ---> Running in 1e2800cf5b37 09:31:21 Removing intermediate container 1e2800cf5b37 09:31:21 ---> 8ab4a9113100 09:31:21 Step 16/27 : RUN apk add --update --no-cache dumb-init 09:31:21 ---> Running in ea5237982750 09:31:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:31:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:31:25 (1/1) Installing dumb-init (1.2.5-r3) 09:31:25 Executing busybox-1.36.1-r29.trigger 09:31:25 OK: 9 MiB in 15 packages 09:31:25 Removing intermediate container ea5237982750 09:31:25 ---> 5393a27ba6a2 09:31:25 Step 17/27 : RUN apk --no-cache upgrade 09:31:25 ---> Running in eb5a8a95f9bd 09:31:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:31:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:31:29 Upgrading critical system libraries and apk-tools: 09:31:29 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:31:29 Executing busybox-1.36.1-r29.trigger 09:31:29 Continuing the upgrade transaction with new apk-tools: 09:31:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:31:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:31:31 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:31:31 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:31:31 OK: 9 MiB in 15 packages 09:31:32 Removing intermediate container eb5a8a95f9bd 09:31:32 ---> 1766744b7efd 09:31:32 Step 18/27 : WORKDIR / 09:31:33 ---> Running in 4ab69219cc6c 09:31:33 Removing intermediate container 4ab69219cc6c 09:31:33 ---> accd12c64435 09:31:33 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 09:31:35 ---> 52644b4253b5 09:31:35 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 09:31:35 ---> 985da1daba7f 09:31:35 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 09:31:36 ---> 3327884a0ed7 09:31:36 Step 22/27 : EXPOSE 59984 09:31:36 ---> Running in 5b1e30beccb9 09:31:36 Removing intermediate container 5b1e30beccb9 09:31:36 ---> e561db30936d 09:31:36 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 09:31:36 ---> Running in 061c6547f7a4 09:31:37 Removing intermediate container 061c6547f7a4 09:31:37 ---> e650d1445f79 09:31:37 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 09:31:37 ---> Running in c53750855974 09:31:37 Removing intermediate container c53750855974 09:31:37 ---> 90949efee243 09:31:37 Step 25/27 : LABEL arch=arm64 09:31:37 ---> Running in 8f72e24def33 09:31:38 Removing intermediate container 8f72e24def33 09:31:38 ---> aa031afd5253 09:31:38 Step 26/27 : LABEL git_sha=30ac1c87d2d15cdd71263100a68b527e75ae5d2e 09:31:38 ---> Running in 8e2881bf793d 09:31:38 Removing intermediate container 8e2881bf793d 09:31:38 ---> a17f3e116b65 09:31:38 Step 27/27 : LABEL version=0.0.0 09:31:38 ---> Running in 11f6b296380c 09:31:39 Removing intermediate container 11f6b296380c 09:31:39 ---> 602997513b7d 09:31:39 [Warning] One or more build-args [ARCH] were not consumed 09:31:39 Successfully built 602997513b7d 09:31:39 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 09:31:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:40 09:31:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:40 arm64: Pulling from edgex-lftools-log-publisher 09:31:40 8998bd30e6a1: Pulling fs layer 09:31:40 04944245beec: Pulling fs layer 09:31:40 699f458cf7ca: Pulling fs layer 09:31:40 765212b225bb: Pulling fs layer 09:31:40 f23df028b6ca: Pulling fs layer 09:31:40 d65c8cfc05b1: Pulling fs layer 09:31:40 765212b225bb: Waiting 09:31:40 f23df028b6ca: Waiting 09:31:40 2437ff75d9bd: Pulling fs layer 09:31:40 d65c8cfc05b1: Waiting 09:31:40 04944245beec: Verifying Checksum 09:31:40 04944245beec: Download complete 09:31:40 765212b225bb: Verifying Checksum 09:31:40 765212b225bb: Download complete 09:31:40 f23df028b6ca: Download complete 09:31:40 d65c8cfc05b1: Verifying Checksum 09:31:40 d65c8cfc05b1: Download complete 09:31:41 699f458cf7ca: Verifying Checksum 09:31:41 699f458cf7ca: Download complete 09:31:41 8998bd30e6a1: Verifying Checksum 09:31:41 8998bd30e6a1: Download complete 09:31:44 2437ff75d9bd: Verifying Checksum 09:31:44 2437ff75d9bd: Download complete 09:31:46 8998bd30e6a1: Pull complete 09:31:47 04944245beec: Pull complete 09:31:49 699f458cf7ca: Pull complete 09:31:49 765212b225bb: Pull complete 09:31:50 f23df028b6ca: Pull complete 09:31:51 d65c8cfc05b1: Pull complete 09:32:09 2437ff75d9bd: Pull complete 09:32:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:32:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:32:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:09 prd-ubuntu20.04-docker-arm64-4c-16g-24737 does not seem to be running inside a container 09:32:09 $ 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 09:32:12 $ docker top 5f409846c22bb60f5aa7c86cb387ca18e58bd58fb893a7e3998e70119885851c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:13 ---> job-cost.sh 09:32:13 lf-activate-venv: SKIPPING 09:32:13 INFO: No Stack... 09:32:14 INFO: Retrieving Pricing Info for: v3-standard-4 09:32:14 INFO: Archiving Costs [Pipeline] sh 09:32:15 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 09:32:15 + cut -d, -f6 [Pipeline] lock 09:32:15 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] 09:32:15 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] did not exist. Created. 09:32:15 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:32:16 /w/workspace/device-onvif-camera/1@tmp/durable-5a345941/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:32:17 + echo total: 0.10999999940395355 [Pipeline] stash 09:32:17 Warning: overwriting stash ‘stack-cost’ 09:32:17 Stashed 1 file(s) [Pipeline] } 09:32:17 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-472-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:32:17 $ docker stop --time=1 5f409846c22bb60f5aa7c86cb387ca18e58bd58fb893a7e3998e70119885851c 09:32:18 $ 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 09:32:20 provisioning config files... 09:32:20 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-472@tmp/config13361069732024360379tmp [Pipeline] { [Pipeline] sh 09:32:20 + set +x 09:32:20 + bash -s -- 09:32:20 + curl -s https://codecov.io/bash 09:32:20 09:32:20 _____ _ 09:32:20 / ____| | | 09:32:20 | | ___ __| | ___ ___ _____ __ 09:32:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:32:20 | |___| (_) | (_| | __/ (_| (_) \ V / 09:32:20 \_____\___/ \__,_|\___|\___\___/ \_/ 09:32:20 Bash-1.0.6 09:32:20 09:32:20 09:32:20 ==> git version 2.25.1 found 09:32:20 ==> 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 09:32:20 Release-Date: 2020-01-08 09:32:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:32:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:32:20 ==> Jenkins CI detected. 09:32:20 current dir:  /w/workspace/undry_device-onvif-camera_PR-472 09:32:20 project root: . 09:32:20 --> token set from env 09:32:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:32:20 ==> Running gcov in . (disable via -X gcov) 09:32:20 ==> Python coveragepy not found 09:32:20 ==> Searching for coverage reports in: 09:32:20 + . 09:32:20 -> Found 1 reports 09:32:20 ==> Detecting git/mercurial file structure 09:32:20 ==> Reading reports 09:32:20 + ./coverage.out bytes=92292 09:32:20 ==> Appending adjustments 09:32:20 https://docs.codecov.io/docs/fixing-reports 09:32:20 + Found adjustments 09:32:20 ==> Gzipping contents 09:32:20 12K /tmp/codecov.I509Qv.gz 09:32:20 ==> Uploading reports 09:32:20 url: https://codecov.io 09:32:20 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= 09:32:20 -> Pinging Codecov 09:32:20 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= 09:32:21 -> Uploading to 09:32:21 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 09:32:21 % Total % Received % Xferd Average Speed Time Time Time Current 09:32:21 Dload Upload Total Spent Left Speed 09:32:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 50955 --:--:-- --:--:-- --:--:-- 50955 09:32:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/30ac1c87d2d15cdd71263100a68b527e75ae5d2e [Pipeline] } 09:32:21 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 09:32:23 + [ -d /w/workspace/undry_device-onvif-camera_PR-472/archives ] 09:32:23 + ls -al /w/workspace/undry_device-onvif-camera_PR-472/archives 09:32:23 total 16 09:32:23 drwxr-xr-x 3 root root 4096 Nov 7 09:16 . 09:32:23 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:16 .. 09:32:23 drwxr-xr-x 2 root root 4096 Nov 7 09:16 cost 09:32:23 -rw-r--r-- 1 root root 91 Nov 7 09:16 cost.csv 09:32:23 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-472/archives 09:32:23 + ls -al /w/workspace/undry_device-onvif-camera_PR-472/archives 09:32:23 total 16 09:32:23 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:16 . 09:32:23 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:16 .. 09:32:23 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:16 cost 09:32:23 -rw-r--r-- 1 jenkins jenkins 91 Nov 7 09:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:32:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:32:24 ---> package-listing.sh 09:32:24 ++ tr '[:upper:]' '[:lower:]' 09:32:24 ++ facter osfamily 09:32:25 + OS_FAMILY=debian 09:32:25 + workspace=/w/workspace/undry_device-onvif-camera_PR-472 09:32:25 + START_PACKAGES=/tmp/packages_start.txt 09:32:25 + END_PACKAGES=/tmp/packages_end.txt 09:32:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:32:25 + PACKAGES=/tmp/packages_start.txt 09:32:25 + '[' /w/workspace/undry_device-onvif-camera_PR-472 ']' 09:32:25 + PACKAGES=/tmp/packages_end.txt 09:32:25 + case "${OS_FAMILY}" in 09:32:25 + dpkg -l 09:32:25 + grep '^ii' 09:32:25 + '[' -f /tmp/packages_start.txt ']' 09:32:25 + '[' -f /tmp/packages_end.txt ']' 09:32:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:32:25 + '[' /w/workspace/undry_device-onvif-camera_PR-472 ']' 09:32:25 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-472/archives/ 09:32:25 + 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 09:32:25 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 09:32:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:32:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:26 prd-ubuntu20.04-docker-8c-8g-24734 does not seem to be running inside a container 09:32:26 $ 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 09:32:26 $ docker top 4b4805ec984cc47eb3885326e0a7e5082852276e9e7dabd276ba8e53fa408028 -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:27 + touch /tmp/pre-build-complete [Pipeline] sh 09:32:27 + mkdir -p /var/log/sysstat [Pipeline] sh 09:32:27 + ls /var/log/sa-host 09:32:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:32:28 provisioning config files... 09:32:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-472@tmp/config12146826649061612633tmp [Pipeline] { [Pipeline] echo 09:32:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:32:28 ---> create-netrc.sh [Pipeline] } 09:32:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:32:28 ---> python-tools-install.sh [Pipeline] echo 09:32:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:32:29 ---> sudo-logs.sh 09:32:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:32:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:32:29 ---> job-cost.sh 09:32:29 lf-activate-venv: SKIPPING 09:32:29 DEBUG: total: 0.2199999988079071 09:32:29 INFO: Retrieving Stack Cost... 09:32:30 INFO: Retrieving Pricing Info for: v3-standard-8 09:32:30 INFO: Archiving Costs [Pipeline] echo 09:32:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:32:30 ---> logs-deploy.sh 09:32:30 lf-activate-venv: SKIPPING 09:32:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-472/1 09:32:30 INFO: archiving workspace using pattern(s): 09:32:31 Archives upload complete. 09:32:31 INFO: archiving logs to Nexus