Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2402799890877f9287f725607bb876464085879b+4e47f77b753d7b234baa04d32f403ab5d967214f (dac426507209b49b32d918bacf07bae2d143a45f) 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-ssh16445080868542480583.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh12659091376618731435.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-176/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-176/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18171982385096577606.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10412726990605979043.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-176/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-176/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1970785262018562833.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9740 in /w/workspace/foundry_device-usb-camera_PR-176 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-176 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4e47f77b753d7b234baa04d32f403ab5d967214f into PR head commit 2402799890877f9287f725607bb876464085879b Merge succeeded, producing 209fea47fb3656eff6a5c905095ccebdbfafe391 Checking out Revision 209fea47fb3656eff6a5c905095ccebdbfafe391 (PR-176) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-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-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/176/head:refs/remotes/origin/PR-176 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2402799890877f9287f725607bb876464085879b # 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 4e47f77b753d7b234baa04d32f403ab5d967214f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 209fea47fb3656eff6a5c905095ccebdbfafe391 # timeout=10 Commit message: "Merge commit '4e47f77b753d7b234baa04d32f403ab5d967214f' into HEAD" > git rev-list --no-walk 2402799890877f9287f725607bb876464085879b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-11T06:15:47.801Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-11T06:15:47.863Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-11T06:15:47.884Z] ========================================================= [2023-03-11T06:15:47.885Z] EdgeX Global Pipelines Version Info [2023-03-11T06:15:47.885Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-11T06:15:48.594Z] ------------------- [2023-03-11T06:15:48.594Z] stable info: [2023-03-11T06:15:48.594Z] ------------------- [2023-03-11T06:15:48.594Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-11T06:15:48.594Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-11T06:15:48.594Z] Message: update stable to v1.0.244 [2023-03-11T06:15:49.163Z] ------------------- [2023-03-11T06:15:49.163Z] experimental info: [2023-03-11T06:15:49.163Z] ------------------- [2023-03-11T06:15:49.163Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-11T06:15:49.163Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-11T06:15:49.163Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-11T06:15:49.332Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-11T06:15:49.340Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-11T06:15:49.351Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-11T06:15:49.368Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-11T06:15:49.376Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-11T06:15:49.386Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-11T06:15:49.395Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-11T06:15:49.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-11T06:15:49.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-11T06:15:49.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-11T06:15:49.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-11T06:15:49.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-11T06:15:49.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-11T06:15:49.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-11T06:15:49.511Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-11T06:15:49.527Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-11T06:15:49.544Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-11T06:15:49.559Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-11T06:15:49.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-11T06:15:49.590Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-11T06:15:49.602Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-11T06:15:49.617Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-11T06:15:49.626Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-11T06:15:49.643Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-11T06:15:49.654Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-11T06:15:49.670Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-11T06:15:49.686Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-11T06:15:49.705Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-176 [Pipeline] echo [2023-03-11T06:15:49.726Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-176 [Pipeline] echo [2023-03-11T06:15:49.744Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-176 [Pipeline] echo [2023-03-11T06:15:49.763Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 209fea47fb3656eff6a5c905095ccebdbfafe391 [Pipeline] echo [2023-03-11T06:15:49.784Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 209fea4 [Pipeline] echo [2023-03-11T06:15:49.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-11T06:15:49.843Z] provisioning config files... [2023-03-11T06:15:49.857Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-176@tmp/config1846816519009348553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-11T06:15:50.154Z] ---> docker-login.sh [2023-03-11T06:15:50.154Z] nexus3.edgexfoundry.org:10001 [2023-03-11T06:15:50.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:15:50.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:15:50.499Z] Configure a credential helper to remove this warning. See [2023-03-11T06:15:50.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:15:50.499Z] [2023-03-11T06:15:50.499Z] Login Succeeded [2023-03-11T06:15:50.499Z] nexus3.edgexfoundry.org:10002 [2023-03-11T06:15:50.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:15:50.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:15:50.761Z] Configure a credential helper to remove this warning. See [2023-03-11T06:15:50.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:15:50.761Z] [2023-03-11T06:15:50.761Z] Login Succeeded [2023-03-11T06:15:50.761Z] nexus3.edgexfoundry.org:10003 [2023-03-11T06:15:50.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:15:51.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:15:51.023Z] Configure a credential helper to remove this warning. See [2023-03-11T06:15:51.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:15:51.023Z] [2023-03-11T06:15:51.023Z] Login Succeeded [2023-03-11T06:15:51.023Z] nexus3.edgexfoundry.org:10004 [2023-03-11T06:15:51.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:15:51.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:15:51.023Z] Configure a credential helper to remove this warning. See [2023-03-11T06:15:51.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:15:51.023Z] [2023-03-11T06:15:51.023Z] Login Succeeded [2023-03-11T06:15:51.023Z] docker.io [2023-03-11T06:15:51.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:15:51.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:15:51.283Z] Configure a credential helper to remove this warning. See [2023-03-11T06:15:51.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:15:51.284Z] [2023-03-11T06:15:51.284Z] Login Succeeded [2023-03-11T06:15:51.284Z] ---> docker-login.sh ends [Pipeline] } [2023-03-11T06:15:51.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-11T06:15:51.670Z] + git rev-list -1 --merges 209fea47fb3656eff6a5c905095ccebdbfafe391~1..209fea47fb3656eff6a5c905095ccebdbfafe391 [Pipeline] echo [2023-03-11T06:15:51.718Z] -----------> git rev-list -1 --merges 209fea47fb3656eff6a5c905095ccebdbfafe391~1..209fea47fb3656eff6a5c905095ccebdbfafe391 209fea47fb3656eff6a5c905095ccebdbfafe391 [2023-03-11T06:15:51.718Z] 209fea47fb3656eff6a5c905095ccebdbfafe391 [false] [Pipeline] sh [2023-03-11T06:15:52.010Z] + git log --format=format:%s -1 209fea47fb3656eff6a5c905095ccebdbfafe391 [Pipeline] echo [2023-03-11T06:15:52.027Z] ========================================================= [2023-03-11T06:15:52.027Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-11T06:15:52.027Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-11T06:15:52.368Z] + git log --format=format:%s -1 209fea47fb3656eff6a5c905095ccebdbfafe391 [Pipeline] echo [2023-03-11T06:15:52.379Z] [semverPrep] GIT_COMMIT: 209fea47fb3656eff6a5c905095ccebdbfafe391, Commit Message: Merge commit '4e47f77b753d7b234baa04d32f403ab5d967214f' into HEAD [Pipeline] echo [2023-03-11T06:15:52.390Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-11T06:15:52.738Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-11T06:15:52.739Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-11T06:15:52.739Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-11T06:15:52.739Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-11T06:15:52.739Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-11T06:15:52.739Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-11T06:15:52.739Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T06:15:53.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-11T06:15:53.087Z] [2023-03-11T06:15:53.087Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T06:15:53.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-11T06:15:53.392Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-11T06:15:53.392Z] b85a868b505f: Pulling fs layer [2023-03-11T06:15:53.392Z] e2be974225ed: Pulling fs layer [2023-03-11T06:15:53.392Z] 339a4e72a1f5: Pulling fs layer [2023-03-11T06:15:53.392Z] 988bab9f4d93: Pulling fs layer [2023-03-11T06:15:53.392Z] 1469e6f7b9e6: Pulling fs layer [2023-03-11T06:15:53.392Z] eaf3925da568: Pulling fs layer [2023-03-11T06:15:53.392Z] bab4dde63d76: Pulling fs layer [2023-03-11T06:15:53.392Z] bde34c3a00c8: Pulling fs layer [2023-03-11T06:15:53.392Z] b352a97aabf1: Pulling fs layer [2023-03-11T06:15:53.392Z] 988bab9f4d93: Waiting [2023-03-11T06:15:53.392Z] 1469e6f7b9e6: Waiting [2023-03-11T06:15:53.392Z] eaf3925da568: Waiting [2023-03-11T06:15:53.392Z] bab4dde63d76: Waiting [2023-03-11T06:15:53.392Z] bde34c3a00c8: Waiting [2023-03-11T06:15:53.392Z] 4872d77fe225: Pulling fs layer [2023-03-11T06:15:53.392Z] 5851b861e8e6: Pulling fs layer [2023-03-11T06:15:53.392Z] b352a97aabf1: Waiting [2023-03-11T06:15:53.392Z] 4872d77fe225: Waiting [2023-03-11T06:15:53.392Z] 5851b861e8e6: Waiting [2023-03-11T06:15:53.392Z] e2be974225ed: Verifying Checksum [2023-03-11T06:15:53.392Z] e2be974225ed: Download complete [2023-03-11T06:15:53.392Z] 988bab9f4d93: Verifying Checksum [2023-03-11T06:15:53.392Z] 988bab9f4d93: Download complete [2023-03-11T06:15:53.658Z] 339a4e72a1f5: Verifying Checksum [2023-03-11T06:15:53.658Z] 339a4e72a1f5: Download complete [2023-03-11T06:15:53.658Z] 1469e6f7b9e6: Verifying Checksum [2023-03-11T06:15:53.658Z] 1469e6f7b9e6: Download complete [2023-03-11T06:15:53.658Z] eaf3925da568: Download complete [2023-03-11T06:15:53.658Z] bde34c3a00c8: Verifying Checksum [2023-03-11T06:15:53.658Z] bde34c3a00c8: Download complete [2023-03-11T06:15:53.658Z] b352a97aabf1: Download complete [2023-03-11T06:15:53.658Z] 4872d77fe225: Verifying Checksum [2023-03-11T06:15:53.658Z] 4872d77fe225: Download complete [2023-03-11T06:15:53.658Z] 5851b861e8e6: Verifying Checksum [2023-03-11T06:15:53.658Z] 5851b861e8e6: Download complete [2023-03-11T06:15:53.658Z] b85a868b505f: Verifying Checksum [2023-03-11T06:15:53.658Z] b85a868b505f: Download complete [2023-03-11T06:15:53.927Z] bab4dde63d76: Verifying Checksum [2023-03-11T06:15:53.927Z] bab4dde63d76: Download complete [2023-03-11T06:15:54.865Z] b85a868b505f: Pull complete [2023-03-11T06:15:55.124Z] e2be974225ed: Pull complete [2023-03-11T06:15:55.694Z] 339a4e72a1f5: Pull complete [2023-03-11T06:15:55.694Z] 988bab9f4d93: Pull complete [2023-03-11T06:15:55.952Z] 1469e6f7b9e6: Pull complete [2023-03-11T06:15:55.952Z] eaf3925da568: Pull complete [2023-03-11T06:15:57.855Z] bab4dde63d76: Pull complete [2023-03-11T06:15:57.855Z] bde34c3a00c8: Pull complete [2023-03-11T06:15:57.855Z] b352a97aabf1: Pull complete [2023-03-11T06:15:57.855Z] 4872d77fe225: Pull complete [2023-03-11T06:15:58.116Z] 5851b861e8e6: Pull complete [2023-03-11T06:15:58.116Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-11T06:15:58.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-11T06:15:58.116Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T06:15:58.257Z] prd-ubuntu20.04-docker-8c-8g-9740 does not seem to be running inside a container [2023-03-11T06:15:58.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-176 -v /w/workspace/foundry_device-usb-camera_PR-176:/w/workspace/foundry_device-usb-camera_PR-176:rw,z -v /w/workspace/foundry_device-usb-camera_PR-176@tmp:/w/workspace/foundry_device-usb-camera_PR-176@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 [2023-03-11T06:16:00.012Z] $ docker top ef30d7816819bae73e0b08449519dcfeee63e33d3f0d68c557dbaf2f2ee2f778 -eo pid,comm [2023-03-11T06:16:00.064Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-11T06:16:00.064Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-11T06:16:00.103Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-11T06:16:00.103Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-11T06:16:00.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-11T06:16:00.221Z] $ docker exec ef30d7816819bae73e0b08449519dcfeee63e33d3f0d68c557dbaf2f2ee2f778 ssh-agent [2023-03-11T06:16:00.318Z] SSH_AUTH_SOCK=/tmp/ssh-hh4yqbDCySZQ/agent.33 [2023-03-11T06:16:00.318Z] SSH_AGENT_PID=39 [2023-03-11T06:16:00.324Z] Running ssh-add (command line suppressed) [2023-03-11T06:16:00.425Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-176@tmp/private_key_8656651151271976716.key (/w/workspace/foundry_device-usb-camera_PR-176@tmp/private_key_8656651151271976716.key) [2023-03-11T06:16:00.437Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-11T06:16:00.723Z] + git tag --points-at HEAD [Pipeline] } [2023-03-11T06:16:00.743Z] $ docker exec --env ******** --env ******** ef30d7816819bae73e0b08449519dcfeee63e33d3f0d68c557dbaf2f2ee2f778 ssh-agent -k [2023-03-11T06:16:00.840Z] unset SSH_AUTH_SOCK; [2023-03-11T06:16:00.841Z] unset SSH_AGENT_PID; [2023-03-11T06:16:00.841Z] echo Agent pid 39 killed; [2023-03-11T06:16:00.849Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-11T06:16:00.873Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-11T06:16:00.873Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-11T06:16:00.991Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-11T06:16:00.996Z] $ docker exec ef30d7816819bae73e0b08449519dcfeee63e33d3f0d68c557dbaf2f2ee2f778 ssh-agent [2023-03-11T06:16:01.104Z] SSH_AUTH_SOCK=/tmp/ssh-wn9ZCG2gzJGe/agent.72 [2023-03-11T06:16:01.104Z] SSH_AGENT_PID=78 [2023-03-11T06:16:01.110Z] Running ssh-add (command line suppressed) [2023-03-11T06:16:01.210Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-176@tmp/private_key_2788881894599142295.key (/w/workspace/foundry_device-usb-camera_PR-176@tmp/private_key_2788881894599142295.key) [2023-03-11T06:16:01.225Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-11T06:16:01.515Z] + git semver init [2023-03-11T06:16:01.775Z] 2023-03-11 06:16:01,690 [run_init] DEBUG init version:0.0.0 force:False [2023-03-11T06:16:01.775Z] 2023-03-11 06:16:01,691 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-176/.semver [2023-03-11T06:16:01.775Z] 2023-03-11 06:16:01,692 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-176/.semver [2023-03-11T06:16:01.775Z] 2023-03-11 06:16:01,692 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-176/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-176, universal_newlines=False, shell=None, istream=None) [2023-03-11T06:16:02.713Z] 2023-03-11 06:16:02,467 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-176/.git/info/exclude [2023-03-11T06:16:02.713Z] 2023-03-11 06:16:02,468 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-176/.semver/PR-176 with force:False [2023-03-11T06:16:02.713Z] 2023-03-11 06:16:02,468 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-176/.semver/PR-176 [2023-03-11T06:16:02.713Z] 2023-03-11 06:16:02,472 [execute] INFO git cat-file --batch-check [2023-03-11T06:16:02.713Z] 2023-03-11 06:16:02,472 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-176/.semver, universal_newlines=False, shell=None, istream=) [2023-03-11T06:16:02.713Z] 2023-03-11 06:16:02,478 [execute] INFO git cat-file --batch [2023-03-11T06:16:02.713Z] 2023-03-11 06:16:02,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-176/.semver, universal_newlines=False, shell=None, istream=) [2023-03-11T06:16:02.713Z] 2023-03-11 06:16:02,484 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-176/.semver/PR-176 [2023-03-11T06:16:02.713Z] 0.0.0 [Pipeline] } [2023-03-11T06:16:02.726Z] $ docker exec --env ******** --env ******** ef30d7816819bae73e0b08449519dcfeee63e33d3f0d68c557dbaf2f2ee2f778 ssh-agent -k [2023-03-11T06:16:02.830Z] unset SSH_AUTH_SOCK; [2023-03-11T06:16:02.830Z] unset SSH_AGENT_PID; [2023-03-11T06:16:02.830Z] echo Agent pid 78 killed; [2023-03-11T06:16:02.842Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-11T06:16:03.145Z] + git semver [Pipeline] } [2023-03-11T06:16:03.422Z] $ docker stop --time=1 ef30d7816819bae73e0b08449519dcfeee63e33d3f0d68c557dbaf2f2ee2f778 [2023-03-11T06:16:04.756Z] $ docker rm -f --volumes ef30d7816819bae73e0b08449519dcfeee63e33d3f0d68c557dbaf2f2ee2f778 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-11T06:16:05.099Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-11T06:16:05.299Z] Stashed 1 file(s) [Pipeline] echo [2023-03-11T06:16:05.301Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-11T06:16:05.422Z] provisioning config files... [2023-03-11T06:16:05.431Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-176@tmp/config3245196672918199589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-11T06:16:05.727Z] ---> docker-login.sh [2023-03-11T06:16:05.727Z] nexus3.edgexfoundry.org:10001 [2023-03-11T06:16:05.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:16:05.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:16:05.727Z] Configure a credential helper to remove this warning. See [2023-03-11T06:16:05.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:16:05.727Z] [2023-03-11T06:16:05.727Z] Login Succeeded [2023-03-11T06:16:05.727Z] nexus3.edgexfoundry.org:10002 [2023-03-11T06:16:05.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:16:05.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:16:05.727Z] Configure a credential helper to remove this warning. See [2023-03-11T06:16:05.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:16:05.727Z] [2023-03-11T06:16:05.727Z] Login Succeeded [2023-03-11T06:16:05.727Z] nexus3.edgexfoundry.org:10003 [2023-03-11T06:16:05.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:16:05.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:16:05.985Z] Configure a credential helper to remove this warning. See [2023-03-11T06:16:05.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:16:05.986Z] [2023-03-11T06:16:05.986Z] Login Succeeded [2023-03-11T06:16:05.986Z] nexus3.edgexfoundry.org:10004 [2023-03-11T06:16:05.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:16:05.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:16:05.986Z] Configure a credential helper to remove this warning. See [2023-03-11T06:16:05.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:16:05.986Z] [2023-03-11T06:16:05.986Z] Login Succeeded [2023-03-11T06:16:05.986Z] docker.io [2023-03-11T06:16:06.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:16:06.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:16:06.244Z] Configure a credential helper to remove this warning. See [2023-03-11T06:16:06.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:16:06.244Z] [2023-03-11T06:16:06.244Z] Login Succeeded [2023-03-11T06:16:06.244Z] ---> docker-login.sh ends [Pipeline] } [2023-03-11T06:16:06.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-11T06:16:06.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-11T06:16:06.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-11T06:16:06.325Z] ========================================================= [2023-03-11T06:16:06.325Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-11T06:16:06.325Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T06:16:06.631Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-11T06:16:06.631Z] Sending build context to Docker daemon 1.807MB [2023-03-11T06:16:06.631Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-11T06:16:06.631Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-11T06:16:06.631Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-11T06:16:06.631Z] 213ec9aee27d: Pulling fs layer [2023-03-11T06:16:06.631Z] 4583459ba037: Pulling fs layer [2023-03-11T06:16:06.631Z] 93c1e223e6f2: Pulling fs layer [2023-03-11T06:16:06.631Z] 53926ce57604: Pulling fs layer [2023-03-11T06:16:06.631Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-11T06:16:06.631Z] 22ff95d597cd: Pulling fs layer [2023-03-11T06:16:06.631Z] 12d6caf4c0d1: Pulling fs layer [2023-03-11T06:16:06.631Z] 96b7cbca73a9: Pulling fs layer [2023-03-11T06:16:06.631Z] a7acece74701: Pulling fs layer [2023-03-11T06:16:06.631Z] 21b2b0c7a3f4: Waiting [2023-03-11T06:16:06.631Z] 22ff95d597cd: Waiting [2023-03-11T06:16:06.631Z] 12d6caf4c0d1: Waiting [2023-03-11T06:16:06.631Z] 96b7cbca73a9: Waiting [2023-03-11T06:16:06.631Z] a7acece74701: Waiting [2023-03-11T06:16:06.631Z] 53926ce57604: Waiting [2023-03-11T06:16:06.631Z] 93c1e223e6f2: Verifying Checksum [2023-03-11T06:16:06.631Z] 93c1e223e6f2: Download complete [2023-03-11T06:16:06.631Z] 4583459ba037: Download complete [2023-03-11T06:16:06.631Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-11T06:16:06.631Z] 21b2b0c7a3f4: Download complete [2023-03-11T06:16:06.631Z] 22ff95d597cd: Verifying Checksum [2023-03-11T06:16:06.631Z] 22ff95d597cd: Download complete [2023-03-11T06:16:06.893Z] 213ec9aee27d: Verifying Checksum [2023-03-11T06:16:06.893Z] 213ec9aee27d: Download complete [2023-03-11T06:16:06.893Z] 12d6caf4c0d1: Download complete [2023-03-11T06:16:06.893Z] 213ec9aee27d: Pull complete [2023-03-11T06:16:07.156Z] 4583459ba037: Pull complete [2023-03-11T06:16:07.156Z] 93c1e223e6f2: Pull complete [2023-03-11T06:16:07.422Z] a7acece74701: Download complete [2023-03-11T06:16:07.693Z] 96b7cbca73a9: Verifying Checksum [2023-03-11T06:16:07.693Z] 96b7cbca73a9: Download complete [2023-03-11T06:16:07.693Z] 53926ce57604: Verifying Checksum [2023-03-11T06:16:07.693Z] 53926ce57604: Download complete [2023-03-11T06:16:11.886Z] 53926ce57604: Pull complete [2023-03-11T06:16:11.886Z] 21b2b0c7a3f4: Pull complete [2023-03-11T06:16:11.886Z] 22ff95d597cd: Pull complete [2023-03-11T06:16:11.886Z] 12d6caf4c0d1: Pull complete [2023-03-11T06:16:13.789Z] 96b7cbca73a9: Pull complete [2023-03-11T06:16:14.726Z] a7acece74701: Pull complete [2023-03-11T06:16:14.726Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-11T06:16:14.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-11T06:16:14.726Z] ---> db6d94c90886 [2023-03-11T06:16:14.726Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-11T06:16:17.259Z] ---> Running in 3800e49a9d3a [2023-03-11T06:16:17.259Z] Removing intermediate container 3800e49a9d3a [2023-03-11T06:16:17.259Z] ---> cbea07cae4c7 [2023-03-11T06:16:17.259Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-11T06:16:17.259Z] ---> Running in 84c0146ba752 [2023-03-11T06:16:17.259Z] Removing intermediate container 84c0146ba752 [2023-03-11T06:16:17.259Z] ---> ab440322b269 [2023-03-11T06:16:17.259Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-11T06:16:17.519Z] ---> Running in aa526e1e62b1 [2023-03-11T06:16:17.519Z] Removing intermediate container aa526e1e62b1 [2023-03-11T06:16:17.519Z] ---> a51c6b6d34b9 [2023-03-11T06:16:17.519Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-11T06:16:17.519Z] ---> Running in f8481668ad32 [2023-03-11T06:16:17.519Z] Removing intermediate container f8481668ad32 [2023-03-11T06:16:17.519Z] ---> 1b3c96bbcfef [2023-03-11T06:16:17.519Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-11T06:16:17.519Z] ---> Running in 9b0abeff1149 [2023-03-11T06:16:17.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-11T06:16:18.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-11T06:16:18.297Z] (1/80) Installing mesa (21.3.9-r0) [2023-03-11T06:16:18.297Z] (2/80) Installing libxau (1.0.9-r0) [2023-03-11T06:16:18.297Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-03-11T06:16:18.297Z] (4/80) Installing libxcb (1.15-r0) [2023-03-11T06:16:18.297Z] (5/80) Installing libx11 (1.8-r0) [2023-03-11T06:16:18.297Z] (6/80) Installing libxext (1.3.4-r0) [2023-03-11T06:16:18.297Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-03-11T06:16:18.297Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-03-11T06:16:18.297Z] (9/80) Installing libpciaccess (0.16-r0) [2023-03-11T06:16:18.297Z] (10/80) Installing libdrm (2.4.110-r0) [2023-03-11T06:16:18.297Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-03-11T06:16:18.297Z] (12/80) Installing libxshmfence (1.3-r1) [2023-03-11T06:16:18.297Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-03-11T06:16:18.297Z] (14/80) Installing icu-data-full (71.1-r2) [2023-03-11T06:16:18.556Z] (15/80) Installing libice (1.0.10-r0) [2023-03-11T06:16:18.556Z] (16/80) Installing libuuid (2.38-r1) [2023-03-11T06:16:18.556Z] (17/80) Installing libsm (1.2.3-r0) [2023-03-11T06:16:18.556Z] (18/80) Installing libxt (1.2.1-r0) [2023-03-11T06:16:18.556Z] (19/80) Installing libxmu (1.1.3-r0) [2023-03-11T06:16:18.556Z] (20/80) Installing xset (1.2.4-r0) [2023-03-11T06:16:18.556Z] (21/80) Installing xprop (1.2.5-r0) [2023-03-11T06:16:18.556Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-03-11T06:16:18.556Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-03-11T06:16:18.556Z] (24/80) Installing libffi (3.4.2-r1) [2023-03-11T06:16:18.556Z] (25/80) Installing libintl (0.21-r2) [2023-03-11T06:16:18.556Z] (26/80) Installing libblkid (2.38-r1) [2023-03-11T06:16:18.556Z] (27/80) Installing libmount (2.38-r1) [2023-03-11T06:16:18.556Z] (28/80) Installing pcre (8.45-r2) [2023-03-11T06:16:18.556Z] (29/80) Installing glib (2.72.1-r0) [2023-03-11T06:16:18.556Z] (30/80) Installing icu-libs (71.1-r2) [2023-03-11T06:16:18.556Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-03-11T06:16:18.556Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-03-11T06:16:18.556Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-03-11T06:16:18.820Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-03-11T06:16:18.820Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-03-11T06:16:18.820Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-03-11T06:16:18.820Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-03-11T06:16:18.820Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-03-11T06:16:18.820Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-03-11T06:16:18.820Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-03-11T06:16:18.820Z] (41/80) Installing libpng (1.6.37-r1) [2023-03-11T06:16:18.820Z] (42/80) Installing freetype (2.12.1-r0) [2023-03-11T06:16:18.820Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-03-11T06:16:18.820Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-03-11T06:16:18.820Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-03-11T06:16:18.820Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-03-11T06:16:18.820Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-03-11T06:16:18.820Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-03-11T06:16:19.080Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-03-11T06:16:19.080Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-03-11T06:16:19.080Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-03-11T06:16:19.080Z] (52/80) Installing avahi-libs (0.8-r6) [2023-03-11T06:16:19.080Z] (53/80) Installing nettle (3.7.3-r0) [2023-03-11T06:16:19.080Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-03-11T06:16:19.080Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-03-11T06:16:19.080Z] (56/80) Installing libunistring (1.0-r0) [2023-03-11T06:16:19.080Z] (57/80) Installing gnutls (3.7.7-r1) [2023-03-11T06:16:19.080Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-03-11T06:16:19.080Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-03-11T06:16:19.080Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-03-11T06:16:19.080Z] (61/80) Installing libevdev (1.12.1-r0) [2023-03-11T06:16:19.080Z] (62/80) Installing mtdev (1.1.6-r0) [2023-03-11T06:16:19.080Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-03-11T06:16:19.080Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-03-11T06:16:19.080Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-03-11T06:16:19.080Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-03-11T06:16:19.080Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-03-11T06:16:19.080Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-03-11T06:16:19.080Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-03-11T06:16:19.080Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-03-11T06:16:19.080Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-03-11T06:16:19.080Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-03-11T06:16:19.339Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-03-11T06:16:19.339Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-03-11T06:16:19.339Z] (75/80) Installing udev-init-scripts (35-r0) [2023-03-11T06:16:19.339Z] Executing udev-init-scripts-35-r0.post-install [2023-03-11T06:16:19.339Z] (76/80) Installing kmod-libs (29-r2) [2023-03-11T06:16:19.339Z] (77/80) Installing eudev (3.2.11-r0) [2023-03-11T06:16:19.339Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-03-11T06:16:19.339Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-11T06:16:19.339Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-03-11T06:16:19.339Z] Executing busybox-1.35.0-r17.trigger [2023-03-11T06:16:19.339Z] Executing eudev-3.2.11-r0.trigger [2023-03-11T06:16:19.339Z] OK: 331 MiB in 131 packages [2023-03-11T06:16:20.387Z] Still waiting to schedule task [2023-03-11T06:16:20.388Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-11T06:16:22.631Z] Removing intermediate container 9b0abeff1149 [2023-03-11T06:16:22.631Z] ---> 397b71136528 [2023-03-11T06:16:22.631Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-11T06:16:22.631Z] ---> Running in f4fecaca9576 [2023-03-11T06:16:22.631Z] Removing intermediate container f4fecaca9576 [2023-03-11T06:16:22.631Z] ---> c6e7b733aa91 [2023-03-11T06:16:22.631Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-11T06:16:22.631Z] ---> 91d885fbfee9 [2023-03-11T06:16:22.631Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-11T06:16:22.631Z] ---> Running in d779ae8bc445 [2023-03-11T06:16:44.560Z] Removing intermediate container d779ae8bc445 [2023-03-11T06:16:44.560Z] ---> ef685d795823 [2023-03-11T06:16:44.560Z] Step 11/13 : COPY . . [2023-03-11T06:16:44.560Z] ---> 2eeba27ce02c [2023-03-11T06:16:44.560Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-11T06:16:44.560Z] ---> Running in cda66c388ea9 [2023-03-11T06:16:44.560Z]  % Total    % Received % Xferd  Average Speed   Time    Time    Time  Current [2023-03-11T06:16:44.560Z]                                 Dload  Upload   Total  Spent    Left  Speed [2023-03-11T06:16:44.560Z]    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--    0 100 1062 100  1062   0    0  34239    0 --:--:-- --:--:-- --:--:-- 35400 [2023-03-11T06:16:44.560Z] Removing intermediate container cda66c388ea9 [2023-03-11T06:16:44.560Z] ---> 080d7d173bca [2023-03-11T06:16:44.560Z] Step 13/13 : RUN ${MAKE} [2023-03-11T06:16:44.560Z] ---> Running in dbab9c91a40f [2023-03-11T06:16:44.560Z] noop [2023-03-11T06:16:44.560Z] Removing intermediate container dbab9c91a40f [2023-03-11T06:16:44.560Z] ---> f7ed2721b10d [2023-03-11T06:16:44.560Z] Successfully built f7ed2721b10d [2023-03-11T06:16:44.560Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T06:16:44.861Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-11T06:16:44.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T06:16:44.925Z] prd-ubuntu20.04-docker-8c-8g-9740 does not seem to be running inside a container [2023-03-11T06:16:44.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-176 -v /w/workspace/foundry_device-usb-camera_PR-176:/w/workspace/foundry_device-usb-camera_PR-176:rw,z -v /w/workspace/foundry_device-usb-camera_PR-176@tmp:/w/workspace/foundry_device-usb-camera_PR-176@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 [2023-03-11T06:16:45.301Z] $ docker top 7f1b8ed1ec5a1ed5af6a2c23da4b4ea9dec206600eb2d24477f1cf2c54991d68 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-11T06:16:45.632Z] + go version [2023-03-11T06:16:45.632Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-11T06:16:45.644Z] $ docker stop --time=1 7f1b8ed1ec5a1ed5af6a2c23da4b4ea9dec206600eb2d24477f1cf2c54991d68 [2023-03-11T06:16:46.897Z] $ docker rm -f --volumes 7f1b8ed1ec5a1ed5af6a2c23da4b4ea9dec206600eb2d24477f1cf2c54991d68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T06:16:47.303Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-11T06:16:47.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T06:16:47.372Z] prd-ubuntu20.04-docker-8c-8g-9740 does not seem to be running inside a container [2023-03-11T06:16:47.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-176 -v /w/workspace/foundry_device-usb-camera_PR-176:/w/workspace/foundry_device-usb-camera_PR-176:rw,z -v /w/workspace/foundry_device-usb-camera_PR-176@tmp:/w/workspace/foundry_device-usb-camera_PR-176@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 [2023-03-11T06:16:47.709Z] $ docker top c3eb1e11464d42c3839705ec39af69568512d4942c43927fb563fde72908ecd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-11T06:16:48.055Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-176 [Pipeline] fileExists [Pipeline] sh [2023-03-11T06:16:48.356Z] + make test [2023-03-11T06:16:48.356Z] go test ./... -coverprofile=coverage.out ./... [2023-03-11T06:16:48.616Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-11T06:16:58.579Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-11T06:16:58.579Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-11T06:16:58.579Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-11T06:16:58.579Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset [2023-03-11T06:16:58.579Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-11T06:16:58.579Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-11T06:16:58.579Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale [2023-03-11T06:16:58.579Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-11T06:16:58.579Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-11T06:16:58.579Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase [2023-03-11T06:16:58.579Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-11T06:16:58.579Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors [2023-03-11T06:16:58.579Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-11T06:16:58.579Z] make: *** [Makefile:46: unittest] Error 2 [Pipeline] } [2023-03-11T06:16:58.591Z] $ docker stop --time=1 c3eb1e11464d42c3839705ec39af69568512d4942c43927fb563fde72908ecd9 [2023-03-11T06:17:01.004Z] $ docker rm -f --volumes c3eb1e11464d42c3839705ec39af69568512d4942c43927fb563fde72908ecd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T06:17:01.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-11T06:17:01.520Z] [2023-03-11T06:17:01.520Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T06:17:01.827Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-11T06:17:01.827Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-11T06:17:01.827Z] 5eb5b503b376: Pulling fs layer [2023-03-11T06:17:01.827Z] 5c69ac0246d0: Pulling fs layer [2023-03-11T06:17:01.827Z] ec43610c2a17: Pulling fs layer [2023-03-11T06:17:01.827Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-11T06:17:01.827Z] 33b1e0a273af: Pulling fs layer [2023-03-11T06:17:01.827Z] 5d3b04190fa2: Pulling fs layer [2023-03-11T06:17:01.827Z] 2f39f015ded8: Pulling fs layer [2023-03-11T06:17:01.827Z] 5d3b04190fa2: Waiting [2023-03-11T06:17:01.827Z] 3a2ae6a8a46f: Waiting [2023-03-11T06:17:01.827Z] 33b1e0a273af: Waiting [2023-03-11T06:17:01.827Z] 5c69ac0246d0: Download complete [2023-03-11T06:17:01.827Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-11T06:17:01.827Z] 3a2ae6a8a46f: Download complete [2023-03-11T06:17:02.304Z] 33b1e0a273af: Verifying Checksum [2023-03-11T06:17:02.304Z] 33b1e0a273af: Download complete [2023-03-11T06:17:02.563Z] 5d3b04190fa2: Verifying Checksum [2023-03-11T06:17:02.563Z] 5d3b04190fa2: Download complete [2023-03-11T06:17:02.563Z] ec43610c2a17: Verifying Checksum [2023-03-11T06:17:02.563Z] ec43610c2a17: Download complete [2023-03-11T06:17:02.563Z] 5eb5b503b376: Verifying Checksum [2023-03-11T06:17:02.563Z] 5eb5b503b376: Download complete [2023-03-11T06:17:03.128Z] 2f39f015ded8: Verifying Checksum [2023-03-11T06:17:03.128Z] 2f39f015ded8: Download complete [2023-03-11T06:17:03.387Z] 5eb5b503b376: Pull complete [2023-03-11T06:17:03.646Z] 5c69ac0246d0: Pull complete [2023-03-11T06:17:03.905Z] ec43610c2a17: Pull complete [2023-03-11T06:17:04.163Z] 3a2ae6a8a46f: Pull complete [2023-03-11T06:17:04.163Z] 33b1e0a273af: Pull complete [2023-03-11T06:17:04.421Z] 5d3b04190fa2: Pull complete [2023-03-11T06:17:08.606Z] 2f39f015ded8: Pull complete [2023-03-11T06:17:08.606Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-11T06:17:08.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-11T06:17:08.606Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T06:17:08.680Z] prd-ubuntu20.04-docker-8c-8g-9740 does not seem to be running inside a container [2023-03-11T06:17:08.710Z] $ 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/foundry_device-usb-camera_PR-176 -v /w/workspace/foundry_device-usb-camera_PR-176:/w/workspace/foundry_device-usb-camera_PR-176:rw,z -v /w/workspace/foundry_device-usb-camera_PR-176@tmp:/w/workspace/foundry_device-usb-camera_PR-176@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 [2023-03-11T06:17:12.774Z] $ docker top c24e225726b1f2908863ab5f01ff8900d4fb380d1bf0a18525820b86f3f24b04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-11T06:17:13.135Z] ---> job-cost.sh [2023-03-11T06:17:13.135Z] lf-activate-venv: SKIPPING [2023-03-11T06:17:13.135Z] INFO: No Stack... [2023-03-11T06:17:13.395Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-11T06:17:13.964Z] INFO: Archiving Costs [Pipeline] sh [2023-03-11T06:17:14.254Z] + + cut -d, -f6 [2023-03-11T06:17:14.254Z] cat /w/workspace/foundry_device-usb-camera_PR-176/archives/cost.csv [Pipeline] lock [2023-03-11T06:17:14.269Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-176-2-stack-cost] [2023-03-11T06:17:14.274Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-176-2-stack-cost] did not exist. Created. [2023-03-11T06:17:14.275Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-176-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-11T06:17:14.571Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-11T06:17:14.604Z] Stashed 1 file(s) [Pipeline] } [2023-03-11T06:17:14.613Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-176-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-11T06:17:14.630Z] $ docker stop --time=1 c24e225726b1f2908863ab5f01ff8900d4fb380d1bf0a18525820b86f3f24b04 [2023-03-11T06:17:15.786Z] $ docker rm -f --volumes c24e225726b1f2908863ab5f01ff8900d4fb380d1bf0a18525820b86f3f24b04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-11T06:17:15.892Z] Failed in branch amd64 [2023-03-11T06:18:21.987Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9743 in /w/workspace/foundry_device-usb-camera_PR-176 [Pipeline] { [Pipeline] ws [2023-03-11T06:18:21.999Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2023-03-11T06:18:22.045Z] Selected Git installation does not exist. Using Default [2023-03-11T06:18:22.045Z] The recommended git tool is: NONE [2023-03-11T06:18:27.238Z] using credential edgex-jenkins-ssh [2023-03-11T06:18:27.258Z] Cloning the remote Git repository [2023-03-11T06:18:27.304Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-11T06:18:27.381Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2023-03-11T06:18:27.574Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-11T06:18:27.576Z] > git --version # timeout=10 [2023-03-11T06:18:27.597Z] > git --version # 'git version 2.25.1' [2023-03-11T06:18:27.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-11T06:18:27.660Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-11T06:18:28.397Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-11T06:18:28.419Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-11T06:18:29.332Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-11T06:18:29.375Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-11T06:18:29.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-11T06:18:29.881Z] Merging remotes/origin/main commit 4e47f77b753d7b234baa04d32f403ab5d967214f into PR head commit 2402799890877f9287f725607bb876464085879b [2023-03-11T06:18:30.159Z] Merge succeeded, producing 23b88afda6ae9c3c9d01f0d3151cf55fb411df77 [2023-03-11T06:18:30.160Z] Checking out Revision 23b88afda6ae9c3c9d01f0d3151cf55fb411df77 (PR-176) [2023-03-11T06:18:29.393Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/176/head:refs/remotes/origin/PR-176 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-11T06:18:29.895Z] > git config core.sparsecheckout # timeout=10 [2023-03-11T06:18:29.919Z] > git checkout -f 2402799890877f9287f725607bb876464085879b # timeout=10 [2023-03-11T06:18:30.013Z] > git remote # timeout=10 [2023-03-11T06:18:30.030Z] > git config --get remote.origin.url # timeout=10 [2023-03-11T06:18:30.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-11T06:18:30.073Z] > git merge 4e47f77b753d7b234baa04d32f403ab5d967214f # timeout=10 [2023-03-11T06:18:30.131Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-11T06:18:30.162Z] > git config core.sparsecheckout # timeout=10 [2023-03-11T06:18:30.179Z] > git checkout -f 23b88afda6ae9c3c9d01f0d3151cf55fb411df77 # timeout=10 [2023-03-11T06:18:33.672Z] Commit message: "Merge commit '4e47f77b753d7b234baa04d32f403ab5d967214f' into HEAD" [2023-03-11T06:18:33.678Z] > git rev-list --no-walk 2402799890877f9287f725607bb876464085879b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-11T06:18:34.588Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-11T06:18:34.588Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-11T06:18:34.588Z] Dload Upload Total Spent Left Speed [2023-03-11T06:18:34.588Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 244k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh [2023-03-11T06:18:35.323Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-11T06:18:35.663Z] + sudo tee /etc/docker/daemon.new [2023-03-11T06:18:35.663Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-11T06:18:35.663Z] { [2023-03-11T06:18:35.663Z] "registry-mirrors": [ [2023-03-11T06:18:35.663Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-11T06:18:35.663Z] ], [2023-03-11T06:18:35.663Z] "bip": "10.250.0.254/24", [2023-03-11T06:18:35.663Z] "hosts": [ [2023-03-11T06:18:35.663Z] "tcp://0.0.0.0:5555", [2023-03-11T06:18:35.663Z] "unix:///var/run/docker.sock" [2023-03-11T06:18:35.663Z] ], [2023-03-11T06:18:35.663Z] "mtu": 1458, [2023-03-11T06:18:35.663Z] "selinux-enabled": true, [2023-03-11T06:18:35.663Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-11T06:18:35.663Z] } [Pipeline] sh [2023-03-11T06:18:36.006Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-11T06:18:36.370Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-11T06:18:54.681Z] provisioning config files... [2023-03-11T06:18:54.710Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config13536546472206025632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-11T06:18:55.070Z] ---> docker-login.sh [2023-03-11T06:18:55.070Z] nexus3.edgexfoundry.org:10001 [2023-03-11T06:18:55.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:18:55.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:18:55.661Z] Configure a credential helper to remove this warning. See [2023-03-11T06:18:55.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:18:55.661Z] [2023-03-11T06:18:55.661Z] Login Succeeded [2023-03-11T06:18:55.661Z] nexus3.edgexfoundry.org:10002 [2023-03-11T06:18:55.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:18:56.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:18:56.202Z] Configure a credential helper to remove this warning. See [2023-03-11T06:18:56.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:18:56.202Z] [2023-03-11T06:18:56.202Z] Login Succeeded [2023-03-11T06:18:56.202Z] nexus3.edgexfoundry.org:10003 [2023-03-11T06:18:56.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:18:56.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:18:56.473Z] Configure a credential helper to remove this warning. See [2023-03-11T06:18:56.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:18:56.473Z] [2023-03-11T06:18:56.473Z] Login Succeeded [2023-03-11T06:18:56.473Z] nexus3.edgexfoundry.org:10004 [2023-03-11T06:18:56.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:18:56.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:18:56.742Z] Configure a credential helper to remove this warning. See [2023-03-11T06:18:56.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:18:56.742Z] [2023-03-11T06:18:56.742Z] Login Succeeded [2023-03-11T06:18:57.014Z] docker.io [2023-03-11T06:18:57.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T06:18:57.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T06:18:57.288Z] Configure a credential helper to remove this warning. See [2023-03-11T06:18:57.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T06:18:57.288Z] [2023-03-11T06:18:57.288Z] Login Succeeded [2023-03-11T06:18:57.288Z] ---> docker-login.sh ends [Pipeline] } [2023-03-11T06:18:57.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-11T06:18:57.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-11T06:18:57.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-11T06:18:57.603Z] ========================================================= [2023-03-11T06:18:57.603Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-11T06:18:57.603Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T06:18:57.949Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-11T06:18:58.220Z] Sending build context to Docker daemon 1.162MB [2023-03-11T06:18:58.220Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-11T06:18:58.220Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-11T06:18:58.494Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-11T06:18:58.494Z] 9b18e9b68314: Pulling fs layer [2023-03-11T06:18:58.494Z] 35d82f9e3411: Pulling fs layer [2023-03-11T06:18:58.494Z] e16973657156: Pulling fs layer [2023-03-11T06:18:58.494Z] fc693d55d65f: Pulling fs layer [2023-03-11T06:18:58.494Z] 7e9fc2657dce: Pulling fs layer [2023-03-11T06:18:58.494Z] dda99020689f: Pulling fs layer [2023-03-11T06:18:58.494Z] db1c61fa0a46: Pulling fs layer [2023-03-11T06:18:58.494Z] 891c053d2c06: Pulling fs layer [2023-03-11T06:18:58.494Z] 7e9fc2657dce: Waiting [2023-03-11T06:18:58.494Z] dda99020689f: Waiting [2023-03-11T06:18:58.494Z] fc693d55d65f: Waiting [2023-03-11T06:18:58.494Z] db1c61fa0a46: Waiting [2023-03-11T06:18:58.494Z] 891c053d2c06: Waiting [2023-03-11T06:18:58.494Z] 35d82f9e3411: Verifying Checksum [2023-03-11T06:18:58.494Z] 35d82f9e3411: Download complete [2023-03-11T06:18:58.494Z] e16973657156: Verifying Checksum [2023-03-11T06:18:58.494Z] e16973657156: Download complete [2023-03-11T06:18:58.494Z] 7e9fc2657dce: Download complete [2023-03-11T06:18:58.494Z] dda99020689f: Verifying Checksum [2023-03-11T06:18:58.494Z] dda99020689f: Download complete [2023-03-11T06:18:58.494Z] 9b18e9b68314: Download complete [2023-03-11T06:18:59.482Z] 9b18e9b68314: Pull complete [2023-03-11T06:18:59.482Z] 891c053d2c06: Verifying Checksum [2023-03-11T06:18:59.482Z] 891c053d2c06: Download complete [2023-03-11T06:19:00.070Z] 35d82f9e3411: Pull complete [2023-03-11T06:19:00.340Z] e16973657156: Pull complete [2023-03-11T06:19:00.935Z] db1c61fa0a46: Verifying Checksum [2023-03-11T06:19:00.935Z] db1c61fa0a46: Download complete [2023-03-11T06:19:01.526Z] fc693d55d65f: Verifying Checksum [2023-03-11T06:19:01.526Z] fc693d55d65f: Download complete [2023-03-11T06:19:13.855Z] fc693d55d65f: Pull complete [2023-03-11T06:19:13.855Z] 7e9fc2657dce: Pull complete [2023-03-11T06:19:13.855Z] dda99020689f: Pull complete [2023-03-11T06:19:19.222Z] db1c61fa0a46: Pull complete [2023-03-11T06:19:23.496Z] 891c053d2c06: Pull complete [2023-03-11T06:19:23.496Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-11T06:19:23.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-11T06:19:23.496Z] ---> f96f9c87975a [2023-03-11T06:19:23.496Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-11T06:19:24.919Z] ---> Running in 838a219bd6ac [2023-03-11T06:19:25.503Z] Removing intermediate container 838a219bd6ac [2023-03-11T06:19:25.504Z] ---> e28e135b7f88 [2023-03-11T06:19:25.504Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-11T06:19:25.504Z] ---> Running in f9bbe5a16a0d [2023-03-11T06:19:25.773Z] Removing intermediate container f9bbe5a16a0d [2023-03-11T06:19:25.773Z] ---> 11ede52052e4 [2023-03-11T06:19:25.773Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-11T06:19:25.773Z] ---> Running in 86de24c1a265 [2023-03-11T06:19:26.045Z] Removing intermediate container 86de24c1a265 [2023-03-11T06:19:26.045Z] ---> 5798b6f64d0e [2023-03-11T06:19:26.045Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-11T06:19:26.316Z] ---> Running in d49a2cf2e2f5 [2023-03-11T06:19:26.587Z] Removing intermediate container d49a2cf2e2f5 [2023-03-11T06:19:26.587Z] ---> e72e183e5888 [2023-03-11T06:19:26.587Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-11T06:19:26.587Z] ---> Running in faf62d0148f9 [2023-03-11T06:19:28.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-11T06:19:28.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-11T06:19:29.231Z] (1/14) Installing libintl (0.21-r2) [2023-03-11T06:19:29.231Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-03-11T06:19:29.231Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-03-11T06:19:29.231Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-03-11T06:19:29.231Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-03-11T06:19:29.231Z] (6/14) Installing udev-init-scripts (35-r0) [2023-03-11T06:19:29.231Z] Executing udev-init-scripts-35-r0.post-install [2023-03-11T06:19:29.231Z] (7/14) Installing libblkid (2.38-r1) [2023-03-11T06:19:29.231Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-03-11T06:19:29.231Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-03-11T06:19:29.231Z] (10/14) Installing kmod-libs (29-r2) [2023-03-11T06:19:29.231Z] (11/14) Installing eudev (3.2.11-r0) [2023-03-11T06:19:29.231Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-03-11T06:19:29.231Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-11T06:19:29.231Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-03-11T06:19:29.497Z] Executing busybox-1.35.0-r17.trigger [2023-03-11T06:19:29.497Z] Executing eudev-3.2.11-r0.trigger [2023-03-11T06:19:29.497Z] OK: 228 MiB in 65 packages [2023-03-11T06:19:30.911Z] Removing intermediate container faf62d0148f9 [2023-03-11T06:19:30.911Z] ---> c7a866690058 [2023-03-11T06:19:30.911Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-11T06:19:30.911Z] ---> Running in c98995deec9e [2023-03-11T06:19:31.182Z] Removing intermediate container c98995deec9e [2023-03-11T06:19:31.182Z] ---> 82504df07d9c [2023-03-11T06:19:31.182Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-11T06:19:31.772Z] ---> dd93eb316c9e [2023-03-11T06:19:31.772Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-11T06:19:31.772Z] ---> Running in ef7c38a7101c [2023-03-11T06:20:39.696Z] Removing intermediate container ef7c38a7101c [2023-03-11T06:20:39.696Z] ---> a32d88309f60 [2023-03-11T06:20:39.696Z] Step 11/13 : COPY . . [2023-03-11T06:20:39.696Z] ---> 61110d96eef6 [2023-03-11T06:20:39.696Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-11T06:20:39.696Z] ---> Running in e2a3290bfd04 [2023-03-11T06:20:39.696Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-11T06:20:39.696Z] Dload Upload Total Spent Left Speed [2023-03-11T06:20:39.696Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13761 0 --:--:-- --:--:-- --:--:-- 13973 [2023-03-11T06:20:39.696Z] Removing intermediate container e2a3290bfd04 [2023-03-11T06:20:39.696Z] ---> 0dcf625bdae3 [2023-03-11T06:20:39.696Z] Step 13/13 : RUN ${MAKE} [2023-03-11T06:20:39.696Z] ---> Running in deb5bcdde3e2 [2023-03-11T06:20:39.696Z] noop [2023-03-11T06:20:39.696Z] Removing intermediate container deb5bcdde3e2 [2023-03-11T06:20:39.696Z] ---> cc479aa918d8 [2023-03-11T06:20:39.696Z] Successfully built cc479aa918d8 [2023-03-11T06:20:39.696Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T06:20:40.051Z] + docker inspect -f . ci-base-image-arm64 [2023-03-11T06:20:40.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T06:20:40.244Z] prd-ubuntu20.04-docker-arm64-4c-16g-9743 does not seem to be running inside a container [2023-03-11T06:20:40.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-11T06:20:41.652Z] $ docker top 18bb228f9ac8de57840f5efd5b7b307761b94323f70c05a106ef86df0b77341a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-11T06:20:42.465Z] + go version [2023-03-11T06:20:42.465Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-11T06:20:42.494Z] $ docker stop --time=1 18bb228f9ac8de57840f5efd5b7b307761b94323f70c05a106ef86df0b77341a [2023-03-11T06:20:44.127Z] $ docker rm -f --volumes 18bb228f9ac8de57840f5efd5b7b307761b94323f70c05a106ef86df0b77341a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T06:20:44.681Z] + docker inspect -f . ci-base-image-arm64 [2023-03-11T06:20:44.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T06:20:44.864Z] prd-ubuntu20.04-docker-arm64-4c-16g-9743 does not seem to be running inside a container [2023-03-11T06:20:44.945Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-11T06:20:46.133Z] $ docker top 6be1c037317e93773d3a20d023a9cb66ee89589719d5ef20e0a1093531130990 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-11T06:20:46.984Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-03-11T06:20:47.645Z] + make test [2023-03-11T06:20:47.646Z] go test ./... -coverprofile=coverage.out ./... [2023-03-11T06:20:49.598Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-11T06:22:11.262Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-11T06:22:11.262Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-11T06:22:11.262Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-11T06:22:11.262Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset [2023-03-11T06:22:11.262Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-11T06:22:11.262Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-11T06:22:11.262Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale [2023-03-11T06:22:11.262Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-11T06:22:11.262Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-11T06:22:11.262Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase [2023-03-11T06:22:11.262Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-11T06:22:11.262Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors [2023-03-11T06:22:19.483Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-11T06:22:19.483Z] make: *** [Makefile:46: unittest] Error 2 [Pipeline] } [2023-03-11T06:22:19.515Z] $ docker stop --time=1 6be1c037317e93773d3a20d023a9cb66ee89589719d5ef20e0a1093531130990 [2023-03-11T06:22:21.343Z] $ docker rm -f --volumes 6be1c037317e93773d3a20d023a9cb66ee89589719d5ef20e0a1093531130990 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T06:22:22.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-11T06:22:22.332Z] [2023-03-11T06:22:22.332Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T06:22:22.668Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-11T06:22:22.668Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-11T06:22:22.668Z] 8998bd30e6a1: Pulling fs layer [2023-03-11T06:22:22.668Z] 04944245beec: Pulling fs layer [2023-03-11T06:22:22.668Z] 699f458cf7ca: Pulling fs layer [2023-03-11T06:22:22.668Z] 765212b225bb: Pulling fs layer [2023-03-11T06:22:22.668Z] f23df028b6ca: Pulling fs layer [2023-03-11T06:22:22.668Z] d65c8cfc05b1: Pulling fs layer [2023-03-11T06:22:22.668Z] 2437ff75d9bd: Pulling fs layer [2023-03-11T06:22:22.668Z] 765212b225bb: Waiting [2023-03-11T06:22:22.668Z] f23df028b6ca: Waiting [2023-03-11T06:22:22.668Z] d65c8cfc05b1: Waiting [2023-03-11T06:22:22.668Z] 2437ff75d9bd: Waiting [2023-03-11T06:22:22.943Z] 04944245beec: Verifying Checksum [2023-03-11T06:22:22.943Z] 04944245beec: Download complete [2023-03-11T06:22:22.943Z] 765212b225bb: Verifying Checksum [2023-03-11T06:22:22.943Z] 765212b225bb: Download complete [2023-03-11T06:22:22.943Z] f23df028b6ca: Verifying Checksum [2023-03-11T06:22:22.943Z] f23df028b6ca: Download complete [2023-03-11T06:22:22.943Z] d65c8cfc05b1: Verifying Checksum [2023-03-11T06:22:22.943Z] d65c8cfc05b1: Download complete [2023-03-11T06:22:23.210Z] 699f458cf7ca: Verifying Checksum [2023-03-11T06:22:23.210Z] 699f458cf7ca: Download complete [2023-03-11T06:22:23.481Z] 8998bd30e6a1: Download complete [2023-03-11T06:22:26.074Z] 2437ff75d9bd: Verifying Checksum [2023-03-11T06:22:26.074Z] 2437ff75d9bd: Download complete [2023-03-11T06:22:27.481Z] 8998bd30e6a1: Pull complete [2023-03-11T06:22:28.064Z] 04944245beec: Pull complete [2023-03-11T06:22:29.478Z] 699f458cf7ca: Pull complete [2023-03-11T06:22:29.478Z] 765212b225bb: Pull complete [2023-03-11T06:22:30.439Z] f23df028b6ca: Pull complete [2023-03-11T06:22:30.439Z] d65c8cfc05b1: Pull complete [2023-03-11T06:22:45.459Z] 2437ff75d9bd: Pull complete [2023-03-11T06:22:45.459Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-11T06:22:45.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-11T06:22:45.459Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T06:22:45.699Z] prd-ubuntu20.04-docker-arm64-4c-16g-9743 does not seem to be running inside a container [2023-03-11T06:22:45.790Z] $ 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-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-11T06:22:47.230Z] $ docker top e3ac6765c3e47f0e6b55ada0c14d7e66783c5bee1f4ed73db4e90a8d697250e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-11T06:22:48.187Z] ---> job-cost.sh [2023-03-11T06:22:48.187Z] lf-activate-venv: SKIPPING [2023-03-11T06:22:48.187Z] INFO: No Stack... [2023-03-11T06:22:48.460Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-11T06:22:50.517Z] INFO: Archiving Costs [Pipeline] sh [2023-03-11T06:22:51.238Z] + cut -d, -f6 [2023-03-11T06:22:51.238Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [Pipeline] lock [2023-03-11T06:22:51.408Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-176-2-stack-cost] [2023-03-11T06:22:51.415Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-176-2-stack-cost] did not exist. Created. [2023-03-11T06:22:51.415Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-176-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-11T06:22:52.102Z] /w/workspace/device-usb-camera/2@tmp/durable-8bd4bb3b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-11T06:22:52.780Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-11T06:22:52.804Z] Warning: overwriting stash ‘stack-cost’ [2023-03-11T06:22:53.274Z] Stashed 1 file(s) [Pipeline] } [2023-03-11T06:22:53.281Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-176-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-11T06:22:53.309Z] $ docker stop --time=1 e3ac6765c3e47f0e6b55ada0c14d7e66783c5bee1f4ed73db4e90a8d697250e7 [2023-03-11T06:22:54.891Z] $ docker rm -f --volumes e3ac6765c3e47f0e6b55ada0c14d7e66783c5bee1f4ed73db4e90a8d697250e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-11T06:22:55.145Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-11T06:22:55.799Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-176/archives ] [2023-03-11T06:22:55.799Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-176/archives [2023-03-11T06:22:55.799Z] total 16 [2023-03-11T06:22:55.799Z] drwxr-xr-x 3 root root 4096 Mar 11 06:17 . [2023-03-11T06:22:55.800Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 11 06:17 .. [2023-03-11T06:22:55.800Z] drwxr-xr-x 2 root root 4096 Mar 11 06:17 cost [2023-03-11T06:22:55.800Z] -rw-r--r-- 1 root root 89 Mar 11 06:17 cost.csv [2023-03-11T06:22:55.800Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-176/archives [2023-03-11T06:22:55.800Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-176/archives [2023-03-11T06:22:55.800Z] total 16 [2023-03-11T06:22:55.800Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 06:17 . [2023-03-11T06:22:55.800Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 11 06:17 .. [2023-03-11T06:22:55.800Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 06:17 cost [2023-03-11T06:22:55.800Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 11 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-11T06:22:56.093Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-11T06:22:56.954Z] ---> package-listing.sh [2023-03-11T06:22:56.954Z] ++ facter osfamily [2023-03-11T06:22:56.954Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-11T06:22:57.214Z] + OS_FAMILY=debian [2023-03-11T06:22:57.214Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-176 [2023-03-11T06:22:57.214Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-11T06:22:57.214Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-11T06:22:57.214Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-11T06:22:57.214Z] + PACKAGES=/tmp/packages_start.txt [2023-03-11T06:22:57.214Z] + '[' /w/workspace/foundry_device-usb-camera_PR-176 ']' [2023-03-11T06:22:57.214Z] + PACKAGES=/tmp/packages_end.txt [2023-03-11T06:22:57.214Z] + case "${OS_FAMILY}" in [2023-03-11T06:22:57.214Z] + dpkg -l [2023-03-11T06:22:57.214Z] + grep '^ii' [2023-03-11T06:22:57.214Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-11T06:22:57.214Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-11T06:22:57.214Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-11T06:22:57.214Z] + '[' /w/workspace/foundry_device-usb-camera_PR-176 ']' [2023-03-11T06:22:57.214Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-176/archives/ [2023-03-11T06:22:57.214Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-176/archives/ [Pipeline] echo [2023-03-11T06:22:57.225Z] 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/foundry_device-usb-camera_PR-176/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-11T06:22:57.503Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T06:22:58.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-11T06:22:58.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T06:22:58.135Z] prd-ubuntu20.04-docker-8c-8g-9740 does not seem to be running inside a container [2023-03-11T06:22:58.169Z] $ 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/foundry_device-usb-camera_PR-176/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-176 -v /w/workspace/foundry_device-usb-camera_PR-176:/w/workspace/foundry_device-usb-camera_PR-176:rw,z -v /w/workspace/foundry_device-usb-camera_PR-176@tmp:/w/workspace/foundry_device-usb-camera_PR-176@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 [2023-03-11T06:22:58.366Z] $ docker top 057e1974e9004ce793fc2a59aecb787f1c1dcb3d5ebbbf50c7ebeabfb88694a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-11T06:22:58.714Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-11T06:22:59.003Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-11T06:22:59.289Z] + ls /var/log/sa-host [2023-03-11T06:22:59.289Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-11T06:22:59.357Z] provisioning config files... [2023-03-11T06:22:59.365Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-176@tmp/config5697880324906938585tmp [Pipeline] { [Pipeline] echo [2023-03-11T06:22:59.379Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-11T06:22:59.663Z] ---> create-netrc.sh [Pipeline] } [2023-03-11T06:22:59.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-11T06:22:59.996Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-11T06:23:00.007Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-11T06:23:00.294Z] ---> sudo-logs.sh [2023-03-11T06:23:00.294Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-11T06:23:00.323Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-11T06:23:00.606Z] ---> job-cost.sh [2023-03-11T06:23:00.606Z] lf-activate-venv: SKIPPING [2023-03-11T06:23:00.606Z] DEBUG: total: 0.2199999988079071 [2023-03-11T06:23:00.606Z] INFO: Retrieving Stack Cost... [2023-03-11T06:23:00.866Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-11T06:23:01.125Z] INFO: Archiving Costs [Pipeline] echo [2023-03-11T06:23:01.139Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-11T06:23:01.421Z] ---> logs-deploy.sh [2023-03-11T06:23:01.421Z] lf-activate-venv: SKIPPING [2023-03-11T06:23:01.421Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-176/2 [2023-03-11T06:23:01.421Z] INFO: archiving workspace using pattern(s): [2023-03-11T06:23:02.356Z] Archives upload complete. [2023-03-11T06:23:02.356Z] INFO: archiving logs to Nexus