Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GEODE-10369] if scratch ssd is used, fall back to n1 machine type. #7800

Open
wants to merge 50 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
9913e79
Use N2. Adjust jobs as needed.
smgoller Jun 13, 2022
5bac849
apachegeode-ci N2 quota is woefully small. Use N1
robbadler Jun 13, 2022
cd8e2c1
move to n1-standard-64, as n1-standard-96 costs more than our custom
robbadler Jun 13, 2022
9c5db1d
N1 memory overhead is a thing. Ask for the binary RAM amount (256) ev…
robbadler Jun 13, 2022
215b513
Fix cost calculation to know about N1 memory overhead
robbadler Jun 13, 2022
ee66229
robert is bad at math sometimes
robbadler Jun 14, 2022
6030a55
try n1-standard-96, with 48 jobs not 24
robbadler Jun 14, 2022
128b4e5
fixup: try n1-standard-96, with 48 jobs not 24
robbadler Jun 14, 2022
a8d80f8
DROP: temp remove 'passed: [build]' for geode-ci resource
robbadler Jun 14, 2022
d9d4e6b
fixup: try n1-standard-96, with 72 jobs not 24 or 48
robbadler Jun 14, 2022
92f45fa
reports show that distributedTest runs best on n1-standard-96 with 48…
robbadler Jun 15, 2022
10d6d63
configure for geode-support
onichols-pivotal Jun 18, 2022
336a01f
correctly handle the case where there is no previous passing tokens b…
onichols-pivotal Jun 18, 2022
188f02a
Benchmarks repo still needs to be brought over...use geode's for now
onichols-pivotal Jun 19, 2022
bec37e4
by convention, develop pipelines go to team 'main' rather than 'suppo…
onichols-pivotal Jun 19, 2022
47da372
open source no more
onichols-pivotal Jun 19, 2022
ea258ee
update intellij copyright header, readme, build instructions, and PR …
onichols-pivotal Jun 19, 2022
53f443b
update rat
onichols-pivotal Jun 19, 2022
f299ae8
add 'All Rights Reserved' to intellij copyright template (#97)
onichols-pivotal Jun 22, 2022
01e1d4c
Add 1.15.0 as old version (#111)
onichols-pivotal Jun 23, 2022
da729d5
GEM-3698: Add generic type on return type (#92)
jmelchio Jun 23, 2022
67e5dd7
GEM-3679: add geode-deployment-legacy.jar to list of jar files to cop…
animatedmax Jun 24, 2022
530cf7a
GEM-3361: More info added to javadocs (#105)
nabarunnag Jun 24, 2022
2d6fd5c
GEM-3711: Removed 1.15.0 in upgrade tests (#115)
nabarunnag Jun 25, 2022
c135a62
Rename GEODE_1_16_0 to GEMFIRE_10_0_0 (#119)
onichols-pivotal Jun 25, 2022
eeaa8cf
GEM-3433: change VMStats processCpuTime to not need add-opens (#116)
dschneider-pivotal Jun 28, 2022
f23ba37
[GEM-3708] Adjust pipelines (#121)
smgoller Jun 28, 2022
d8e69ac
change branding and maven coordinates to com.vmware.gemfire (#120)
onichols-pivotal Jun 28, 2022
4a93683
GEM-2113: Delay Sync After Member Departure, Whether or Not Clients A…
Bill Jun 28, 2022
bc91225
GEM-3704: Removes deprecated Tomcat 6 session state module. (#110)
jake-at-work Jun 29, 2022
6a2a557
GEODE-10364: do not log file content (#101)
jinmeiliao Jun 29, 2022
0d59611
GEM-3684: hide server information for all webapps started by Gemfire …
jinmeiliao Jun 29, 2022
b97a7d1
GEODE-10383: do not log FunctionInvocationTargetException in warn lev…
jinmeiliao Jun 29, 2022
b9ac14d
GEODE-10375: improve test to catch doc link update (#100)
jinmeiliao Jun 29, 2022
fd19649
remove CodeQL since geode-support lacks this Enterprise entitlement
onichols-pivotal Jun 29, 2022
dce2393
GEM-2712: InternalGemfireError while shutting down (#123)
jmelchio Jun 30, 2022
ae6e75e
GEM-3373: Configure Mockito to be compatible with JDK 17 (#132)
demery-pivotal Jun 30, 2022
8b32fa4
GEM-3214: increase default HANDSHAKE_POOL_SIZE to 50 (#128)
jinmeiliao Jun 30, 2022
83c24ac
GEM-3730: Removes deprecated Tomcat 7 session state module. (#126)
jake-at-work Jun 30, 2022
84c0963
GEODE-6588: Cleanup static analyzer warnings. (#136)
jake-at-work Jul 5, 2022
8551660
GEM-3750: do not size Thread and ThreadGroup in ReflectionObjectSizer…
jinmeiliao Jul 5, 2022
9acf169
Revert "GEM-3373: Configure Mockito to be compatible with JDK 17 (#13…
demery-pivotal Jul 6, 2022
626d751
GEM-3767: Do not spy instances of concrete JDK classes (#145)
demery-pivotal Jul 7, 2022
1541ca5
GEM-3749: add sizing for GemfireHttpSession (#140)
dschneider-pivotal Jul 8, 2022
d81cdbf
GEM-3707: Use gemfire-benchmarks instead (#149)
smgoller Jul 8, 2022
d5783bf
GEM-3773: Bump shiro from 1.9.0 to 1.9.1 (#150)
onichols-pivotal Jul 8, 2022
d486c20
GEM-3731: Make ObjectTraverser bypass access checks (#135)
demery-pivotal Jul 8, 2022
21a47cf
GEM-3691: remove departed members should be done after processedChunk…
gesterzhou Jul 8, 2022
da0f56a
GEM-3766: Restore findDistributedMembers for loners (#147)
kirklund Jul 11, 2022
fb3c10a
Merge remote-tracking branch 'gemfire/develop' into GEODE-10369
robbadler Jul 12, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions ci/pipelines/geode-build/jinja.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@

{% macro plan_resource_gets(test) %}
- get: geode-ci
passed:
- build
- in_parallel:
- get: geode
trigger: true
Expand Down
19 changes: 11 additions & 8 deletions ci/pipelines/shared/jinja.variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,15 @@ tests:
CALL_STACK_TIMEOUT: '11700'
CPUS: '96'
DISK: '200GB'
DUNIT_PARALLEL_FORKS: '24'
DUNIT_PARALLEL_FORKS: '48'
EXECUTE_TEST_TIMEOUT: 4h
GRADLE_TASK: distributedTest
MAX_IN_FLIGHT: 2
PARALLEL_DUNIT: 'true'
PLATFORM: linux
RAM: '250'
name: distributed
# For N1 machine types, we ask for 384GiB but get 360GiB due to GCP overhead.
RAM: '384'
name: distributed-standard-96-48jobs
- ARTIFACT_SLUG: integrationtestfiles
CALL_STACK_TIMEOUT: '1500'
CPUS: '96'
Expand All @@ -138,31 +139,33 @@ tests:
MAX_IN_FLIGHT: 1
PARALLEL_DUNIT: 'true'
PLATFORM: linux
RAM: '90'
RAM: '96'
name: integration
- ARTIFACT_SLUG: upgradetestfiles
CALL_STACK_TIMEOUT: '13500'
CPUS: '96'
CPUS: '64'
DISK: '200GB'
DUNIT_PARALLEL_FORKS: '48'
EXECUTE_TEST_TIMEOUT: 4h
GRADLE_TASK: upgradeTest
MAX_IN_FLIGHT: 2
PARALLEL_DUNIT: 'true'
PLATFORM: linux
RAM: '210'
# For N1 machine types, we ask for 256GiB but get 240GiB due to GCP overhead.
RAM: '256'
name: upgrade
- ARTIFACT_SLUG: stressnewtestfiles
CALL_STACK_TIMEOUT: '35100'
CPUS: '96'
CPUS: '64'
DISK: '300GB'
DUNIT_PARALLEL_FORKS: '24'
EXECUTE_TEST_TIMEOUT: 10h
GRADLE_TASK: repeatTest
PARALLEL_DUNIT: 'true'
PARALLEL_GRADLE: 'false'
PLATFORM: linux
RAM: '280'
# For N1 machine types, we ask for 256GiB but get 240GiB due to GCP overhead.
RAM: '256'
name: stress-new
- ARTIFACT_SLUG: windows-acceptancetestfiles
CPUS: '6'
Expand Down
18 changes: 13 additions & 5 deletions ci/scripts/delete_instance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,24 @@ case "${MACHINE_TYPE}" in
RAM_COST="$(echo "${INSTANCE_PRICING_JSON}" | jq -r ".\"${MACHINE_FAMILY}\".custom.ram")"
;;
*-standard*)
CPUS="$(echo "${MACHINE_TYPE}" | rev | cut -d'-' -f 1 | rev)"
RAM=$(expr ${CPUS} \* 4 )
MACHINE_FAMILY="$(echo "${MACHINE_TYPE}" | cut -d'-' -f 1)"
CPUS="$(echo "${MACHINE_TYPE}" | rev | cut -d'-' -f 1 | rev)"
if [[ "${MACHINE_FAMILY}" == "n1" ]]; then
RAM=$(echo "scale=0; (${CPUS} * 3.75) / 1" | bc)
else
RAM=$(expr ${CPUS} \* 4)
fi
CPU_COST="$(echo "${INSTANCE_PRICING_JSON}" | jq -r ".\"${MACHINE_FAMILY}\".predefined.cpu")"
RAM_COST="$(echo "${INSTANCE_PRICING_JSON}" | jq -r ".\"${MACHINE_FAMILY}\".predefined.ram")"
;;
*-highcpu*)
CPUS="$(echo "${MACHINE_TYPE}" | rev | cut -d'-' -f 1 | rev)"
RAM=${CPUS}
MACHINE_FAMILY="$(echo "${MACHINE_TYPE}" | cut -d'-' -f 1)"
CPUS="$(echo "${MACHINE_TYPE}" | rev | cut -d'-' -f 1 | rev)"
if [[ "${MACHINE_FAMILY}" == "n1" ]]; then
RAM=$(echo "scale=1; (${CPUS} * 0.9) / 1" | bc)
else
RAM=${CPUS}
fi
CPU_COST="$(echo "${INSTANCE_PRICING_JSON}" | jq -r ".\"${MACHINE_FAMILY}\".predefined.cpu")"
RAM_COST="$(echo "${INSTANCE_PRICING_JSON}" | jq -r ".\"${MACHINE_FAMILY}\".predefined.ram")"
;;
Expand All @@ -103,7 +111,7 @@ BUILD_NUMBER="$(cat instance-data/instance-information | jq -r '.[].labels."buil
JOB_NAME="$(cat instance-data/instance-information | jq -r '.[].labels."job-name"')"
PIPELINE_NAME="$(cat instance-data/instance-information | jq -r '.[].labels."pipeline-name"')"
TOTAL_COST=$(echo "scale = 6; ((${CPUS} * ${CPU_COST}) + (${RAM} * ${RAM_COST})) * ${TOTAL_SECONDS} / 3600" | bc)
echo "Total heavy lifter cost for ${PIPELINE_NAME}/${JOB_NAME} #${BUILD_NUMBER}: $ ${TOTAL_COST}"
echo "Total heavy lifter (${MACHINE_TYPE}) cost for ${PIPELINE_NAME}/${JOB_NAME} #${BUILD_NUMBER}: $ ${TOTAL_COST}"
cat <<EOF > instance-data/cost-data.json
{
"pipeline": "${PIPELINE_NAME}",
Expand Down