| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from buildbot.changes import svnpoller | 5 from buildbot.changes import svnpoller |
| 6 from buildbot.scheduler import Dependent | 6 from buildbot.scheduler import Dependent |
| 7 from buildbot.scheduler import Scheduler | 7 from buildbot.scheduler import Scheduler |
| 8 | 8 |
| 9 # These modules come from scripts/master, which must be in the PYTHONPATH. | 9 # These modules come from scripts/master, which must be in the PYTHONPATH. |
| 10 from master import build_utils | 10 from master import build_utils |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 'valgrind_ui_6_of_10', | 225 'valgrind_ui_6_of_10', |
| 226 ], | 226 ], |
| 227 factory_properties={ | 227 factory_properties={ |
| 228 'needs_valgrind' : True, | 228 'needs_valgrind' : True, |
| 229 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) | 229 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) |
| 230 | 230 |
| 231 f_chromium_rel_linux_valgrind_tests_4 = F_LINUX( | 231 f_chromium_rel_linux_valgrind_tests_4 = F_LINUX( |
| 232 target='Release', | 232 target='Release', |
| 233 slave_type='Tester', | 233 slave_type='Tester', |
| 234 build_url=chromium_linux_valgrind_archive, | 234 build_url=chromium_linux_valgrind_archive, |
| 235 tests=['valgrind_app', | 235 tests=['valgrind_googleurl', |
| 236 'valgrind_googleurl', | |
| 237 'valgrind_ipc', | 236 'valgrind_ipc', |
| 238 'valgrind_media', | 237 'valgrind_media', |
| 239 'valgrind_printing', | 238 'valgrind_printing', |
| 240 'valgrind_remoting', | 239 'valgrind_remoting', |
| 241 'valgrind_safe_browsing', | 240 'valgrind_safe_browsing', |
| 241 'valgrind_sql', |
| 242 'valgrind_ui_7_of_10', | 242 'valgrind_ui_7_of_10', |
| 243 'valgrind_ui_8_of_10', | 243 'valgrind_ui_8_of_10', |
| 244 ], | 244 ], |
| 245 factory_properties={ | 245 factory_properties={ |
| 246 'needs_valgrind' : True, | 246 'needs_valgrind' : True, |
| 247 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) | 247 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) |
| 248 | 248 |
| 249 f_chromium_rel_linux_valgrind_tests_5 = F_LINUX( | 249 f_chromium_rel_linux_valgrind_tests_5 = F_LINUX( |
| 250 target='Release', | 250 target='Release', |
| 251 slave_type='Tester', | 251 slave_type='Tester', |
| 252 build_url=chromium_linux_valgrind_archive, | 252 build_url=chromium_linux_valgrind_archive, |
| 253 tests=['valgrind_net', | 253 tests=['valgrind_net', |
| 254 'valgrind_ui_9_of_10', | 254 'valgrind_ui_9_of_10', |
| 255 'valgrind_ui_10_of_10', | 255 'valgrind_ui_10_of_10', |
| 256 ], | 256 ], |
| 257 factory_properties={ | 257 factory_properties={ |
| 258 'needs_valgrind' : True, | 258 'needs_valgrind' : True, |
| 259 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) | 259 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) |
| 260 | 260 |
| 261 f_chromium_rel_linux_tsan = F_LINUX( | 261 f_chromium_rel_linux_tsan = F_LINUX( |
| 262 target='Release', | 262 target='Release', |
| 263 slave_type='Tester', | 263 slave_type='Tester', |
| 264 build_url=chromium_linux_valgrind_archive, | 264 build_url=chromium_linux_valgrind_archive, |
| 265 # New tests must first update src/tools/valgrind/chrome_tests.py to | 265 # New tests must first update src/tools/valgrind/chrome_tests.py to |
| 266 # handle the test name, without the 'tsan_' prefix. | 266 # handle the test name, without the 'tsan_' prefix. |
| 267 tests=['tsan_app', | 267 tests=['tsan_base', |
| 268 'tsan_base', | |
| 269 'tsan_crypto', | 268 'tsan_crypto', |
| 270 'tsan_googleurl', | 269 'tsan_googleurl', |
| 271 'tsan_net', | 270 'tsan_net', |
| 272 'tsan_ipc', | 271 'tsan_ipc', |
| 273 'tsan_media', | 272 'tsan_media', |
| 274 'tsan_printing', | 273 'tsan_printing', |
| 275 'tsan_remoting', | 274 'tsan_remoting', |
| 276 'tsan_gfx', | 275 'tsan_gfx', |
| 277 'tsan_sync', | 276 'tsan_sync', |
| 277 'tsan_sql', |
| 278 'tsan_unit_1_of_2', | 278 'tsan_unit_1_of_2', |
| 279 'tsan_unit_2_of_2', | 279 'tsan_unit_2_of_2', |
| 280 ], | 280 ], |
| 281 factory_properties={ | 281 factory_properties={ |
| 282 'needs_valgrind' : True, | 282 'needs_valgrind' : True, |
| 283 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) | 283 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) |
| 284 | 284 |
| 285 f_chromium_rel_linux_tsan_ui_1 = F_LINUX( | 285 f_chromium_rel_linux_tsan_ui_1 = F_LINUX( |
| 286 target='Release', | 286 target='Release', |
| 287 slave_type='Tester', | 287 slave_type='Tester', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 300 tests=['tsan_ui_3_of_4', | 300 tests=['tsan_ui_3_of_4', |
| 301 'tsan_ui_4_of_4', | 301 'tsan_ui_4_of_4', |
| 302 ], | 302 ], |
| 303 factory_properties={ | 303 factory_properties={ |
| 304 'needs_valgrind' : True, | 304 'needs_valgrind' : True, |
| 305 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) | 305 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) |
| 306 | 306 |
| 307 f_chromium_rel_linux_valgrind_builder = F_LINUX( | 307 f_chromium_rel_linux_valgrind_builder = F_LINUX( |
| 308 target='Release', | 308 target='Release', |
| 309 slave_type='Builder', | 309 slave_type='Builder', |
| 310 options=['app_unittests', | 310 options=['base_unittests', |
| 311 'base_unittests', | |
| 312 'crypto_unittests', | 311 'crypto_unittests', |
| 313 'googleurl_unittests', | 312 'googleurl_unittests', |
| 314 'ipc_tests', | 313 'ipc_tests', |
| 315 'media_unittests', | 314 'media_unittests', |
| 316 'net_unittests', | 315 'net_unittests', |
| 317 'gfx_unittests', | 316 'gfx_unittests', |
| 318 'printing_unittests', | 317 'printing_unittests', |
| 319 'remoting_unittests', | 318 'remoting_unittests', |
| 320 'safe_browsing_tests', | 319 'safe_browsing_tests', |
| 320 'sql_unittests', |
| 321 'sync_unit_tests', | 321 'sync_unit_tests', |
| 322 'ui_tests', | 322 'ui_tests', |
| 323 'unit_tests', | 323 'unit_tests', |
| 324 ], | 324 ], |
| 325 factory_properties={ | 325 factory_properties={ |
| 326 'gclient_env': { | 326 'gclient_env': { |
| 327 'GYP_DEFINES' : valgrind_x86_gyp_defines | 327 'GYP_DEFINES' : valgrind_x86_gyp_defines |
| 328 } | 328 } |
| 329 } | 329 } |
| 330 ) | 330 ) |
| 331 | 331 |
| 332 f_chromium_dbg_linux_heapcheck = F_LINUX( | 332 f_chromium_dbg_linux_heapcheck = F_LINUX( |
| 333 target='Debug', | 333 target='Debug', |
| 334 options=['googleurl_unittests', | 334 options=['googleurl_unittests', |
| 335 'printing_unittests', | 335 'printing_unittests', |
| 336 'media_unittests', | 336 'media_unittests', |
| 337 'courgette_unittests', | 337 'courgette_unittests', |
| 338 'remoting_unittests', | 338 'remoting_unittests', |
| 339 'app_unittests', | 339 'sql_unittests', |
| 340 'sync_unit_tests', | 340 'sync_unit_tests', |
| 341 'ipc_tests', | 341 'ipc_tests', |
| 342 'base_unittests', | 342 'base_unittests', |
| 343 'crypto_unittests', | 343 'crypto_unittests', |
| 344 'net_unittests', | 344 'net_unittests', |
| 345 'gfx_unittests', | 345 'gfx_unittests', |
| 346 'unit_tests', | 346 'unit_tests', |
| 347 'test_shell_tests', | 347 'test_shell_tests', |
| 348 'DumpRenderTree', | 348 'DumpRenderTree', |
| 349 ], | 349 ], |
| 350 # New tests must first update src/tools/heapcheck/chrome_tests.py to | 350 # New tests must first update src/tools/heapcheck/chrome_tests.py to |
| 351 # handle the test name, without the 'heapcheck_' prefix. | 351 # handle the test name, without the 'heapcheck_' prefix. |
| 352 tests=['heapcheck_googleurl', | 352 tests=['heapcheck_googleurl', |
| 353 'heapcheck_printing', | 353 'heapcheck_printing', |
| 354 'heapcheck_media', | 354 'heapcheck_media', |
| 355 'heapcheck_courgette', | 355 'heapcheck_courgette', |
| 356 'heapcheck_remoting', | 356 'heapcheck_remoting', |
| 357 'heapcheck_app', | 357 'heapcheck_sql', |
| 358 'heapcheck_sync', | 358 'heapcheck_sync', |
| 359 'heapcheck_ipc', | 359 'heapcheck_ipc', |
| 360 'heapcheck_base', | 360 'heapcheck_base', |
| 361 'heapcheck_crypto', | 361 'heapcheck_crypto', |
| 362 'heapcheck_net', | 362 'heapcheck_net', |
| 363 'heapcheck_gfx', | 363 'heapcheck_gfx', |
| 364 'heapcheck_unit', | 364 'heapcheck_unit', |
| 365 'heapcheck_test_shell', | 365 'heapcheck_test_shell', |
| 366 ], | 366 ], |
| 367 factory_properties={ | 367 factory_properties={ |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 f_cr_dbg_mac_valgrind_1 = F_MAC( | 400 f_cr_dbg_mac_valgrind_1 = F_MAC( |
| 401 build_url=chromium_mac_valgrind_archive, | 401 build_url=chromium_mac_valgrind_archive, |
| 402 slave_type='Tester', | 402 slave_type='Tester', |
| 403 factory_properties={ | 403 factory_properties={ |
| 404 'needs_valgrind' : True, | 404 'needs_valgrind' : True, |
| 405 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, | 405 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, |
| 406 # New tests must first be added as dependencies to the | 406 # New tests must first be added as dependencies to the |
| 407 # 'chromium_builder_dbg_valgrind_mac' target in src/build/all.gyp, then | 407 # 'chromium_builder_dbg_valgrind_mac' target in src/build/all.gyp, then |
| 408 # src/tools/valgrind/chrome_tests.py must be updated to handle the test | 408 # src/tools/valgrind/chrome_tests.py must be updated to handle the test |
| 409 # name, without the 'valgrind_' prefix. | 409 # name, without the 'valgrind_' prefix. |
| 410 tests=['valgrind_app', | 410 tests=['valgrind_base', |
| 411 'valgrind_base', | |
| 412 'valgrind_crypto', | 411 'valgrind_crypto', |
| 413 'valgrind_googleurl', | 412 'valgrind_googleurl', |
| 414 'valgrind_ipc', | 413 'valgrind_ipc', |
| 415 'valgrind_media', | 414 'valgrind_media', |
| 416 'valgrind_printing', | 415 'valgrind_printing', |
| 417 'valgrind_remoting', | 416 'valgrind_remoting', |
| 418 'valgrind_safe_browsing', | 417 'valgrind_safe_browsing', |
| 418 'valgrind_sql', |
| 419 'valgrind_gfx', | 419 'valgrind_gfx', |
| 420 'valgrind_unit_1_of_4', | 420 'valgrind_unit_1_of_4', |
| 421 'valgrind_unit_2_of_4', | 421 'valgrind_unit_2_of_4', |
| 422 ]) | 422 ]) |
| 423 | 423 |
| 424 f_cr_dbg_mac_valgrind_2 = F_MAC( | 424 f_cr_dbg_mac_valgrind_2 = F_MAC( |
| 425 build_url=chromium_mac_valgrind_archive, | 425 build_url=chromium_mac_valgrind_archive, |
| 426 slave_type='Tester', | 426 slave_type='Tester', |
| 427 factory_properties={ | 427 factory_properties={ |
| 428 'needs_valgrind' : True, | 428 'needs_valgrind' : True, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 439 f_cr_dbg_mac_tsan = F_MAC( | 439 f_cr_dbg_mac_tsan = F_MAC( |
| 440 build_url=chromium_mac_valgrind_archive, | 440 build_url=chromium_mac_valgrind_archive, |
| 441 slave_type='Tester', | 441 slave_type='Tester', |
| 442 factory_properties={ | 442 factory_properties={ |
| 443 'needs_valgrind' : True, | 443 'needs_valgrind' : True, |
| 444 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, | 444 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, |
| 445 # New tests must first be added as dependencies to the | 445 # New tests must first be added as dependencies to the |
| 446 # 'chromium_builder_dbg_valgrind_mac' target in src/build/all.gyp, then | 446 # 'chromium_builder_dbg_valgrind_mac' target in src/build/all.gyp, then |
| 447 # src/tools/valgrind/chrome_tests.py must be updated to handle the test | 447 # src/tools/valgrind/chrome_tests.py must be updated to handle the test |
| 448 # name, without the 'tsan_' prefix. | 448 # name, without the 'tsan_' prefix. |
| 449 tests=['tsan_app', | 449 tests=['tsan_base', |
| 450 'tsan_base', | |
| 451 'tsan_crypto', | 450 'tsan_crypto', |
| 451 'tsan_gfx', |
| 452 'tsan_googleurl', | 452 'tsan_googleurl', |
| 453 'tsan_net', | 453 'tsan_net', |
| 454 'tsan_ipc', | 454 'tsan_ipc', |
| 455 'tsan_media', | 455 'tsan_media', |
| 456 'tsan_printing', | 456 'tsan_printing', |
| 457 'tsan_remoting', | 457 'tsan_remoting', |
| 458 'tsan_gfx', | 458 'tsan_sql', |
| 459 'tsan_sync']) | 459 'tsan_sync']) |
| 460 | 460 |
| 461 f_cr_rel_mac_valgrind_ui_1 = F_MAC( | 461 f_cr_rel_mac_valgrind_ui_1 = F_MAC( |
| 462 build_url=chromium_mac_valgrind_archive, | 462 build_url=chromium_mac_valgrind_archive, |
| 463 slave_type='Tester', | 463 slave_type='Tester', |
| 464 tests=['valgrind_ui_1_of_8', | 464 tests=['valgrind_ui_1_of_8', |
| 465 'valgrind_ui_2_of_8', | 465 'valgrind_ui_2_of_8', |
| 466 ], | 466 ], |
| 467 factory_properties={ | 467 factory_properties={ |
| 468 'needs_valgrind' : True, | 468 'needs_valgrind' : True, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 factory_properties={ | 502 factory_properties={ |
| 503 'needs_valgrind' : True, | 503 'needs_valgrind' : True, |
| 504 'gclient_env': { 'GYP_DEFINES' : valgrind_mac_gyp_defines } }, | 504 'gclient_env': { 'GYP_DEFINES' : valgrind_mac_gyp_defines } }, |
| 505 tests=['valgrind_test_shell'], | 505 tests=['valgrind_test_shell'], |
| 506 options=['--', '-project', | 506 options=['--', '-project', |
| 507 '../webkit/webkit.xcodeproj']) | 507 '../webkit/webkit.xcodeproj']) |
| 508 | 508 |
| 509 f_chromium_rel_chromeos_valgrind_builder = F_CR_OS( | 509 f_chromium_rel_chromeos_valgrind_builder = F_CR_OS( |
| 510 target='Release', | 510 target='Release', |
| 511 slave_type='Builder', | 511 slave_type='Builder', |
| 512 options=['app_unittests', | 512 options=['base_unittests', |
| 513 'base_unittests', | |
| 514 'crypto_unittests', | 513 'crypto_unittests', |
| 515 'googleurl_unittests', | 514 'googleurl_unittests', |
| 516 'ipc_tests', | 515 'ipc_tests', |
| 517 'media_unittests', | 516 'media_unittests', |
| 518 'net_unittests', | 517 'net_unittests', |
| 519 'gfx_unittests', | 518 'gfx_unittests', |
| 520 'printing_unittests', | 519 'printing_unittests', |
| 521 'remoting_unittests', | 520 'remoting_unittests', |
| 522 'safe_browsing_tests', | 521 'safe_browsing_tests', |
| 522 'sql_unittests', |
| 523 'sync_unit_tests', | 523 'sync_unit_tests', |
| 524 'ui_tests', | 524 'ui_tests', |
| 525 'unit_tests', | 525 'unit_tests', |
| 526 ], | 526 ], |
| 527 factory_properties={ | 527 factory_properties={ |
| 528 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) | 528 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) |
| 529 | 529 |
| 530 f_chromium_rel_chromeos_valgrind_tests_1 = F_CR_OS( | 530 f_chromium_rel_chromeos_valgrind_tests_1 = F_CR_OS( |
| 531 target='Release', | 531 target='Release', |
| 532 slave_type='Tester', | 532 slave_type='Tester', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 562 'valgrind_ui_6_of_10', | 562 'valgrind_ui_6_of_10', |
| 563 ], | 563 ], |
| 564 factory_properties={ | 564 factory_properties={ |
| 565 'needs_valgrind' : True, | 565 'needs_valgrind' : True, |
| 566 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) | 566 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) |
| 567 | 567 |
| 568 f_chromium_rel_chromeos_valgrind_tests_4 = F_CR_OS( | 568 f_chromium_rel_chromeos_valgrind_tests_4 = F_CR_OS( |
| 569 target='Release', | 569 target='Release', |
| 570 slave_type='Tester', | 570 slave_type='Tester', |
| 571 build_url=chromium_chromeos_valgrind_archive, | 571 build_url=chromium_chromeos_valgrind_archive, |
| 572 tests=['valgrind_app', | 572 tests=['valgrind_googleurl', |
| 573 'valgrind_googleurl', | |
| 574 'valgrind_ipc', | 573 'valgrind_ipc', |
| 575 'valgrind_media', | 574 'valgrind_media', |
| 576 'valgrind_printing', | 575 'valgrind_printing', |
| 577 'valgrind_remoting', | 576 'valgrind_remoting', |
| 577 'valgrind_sql', |
| 578 'valgrind_ui_7_of_10', | 578 'valgrind_ui_7_of_10', |
| 579 'valgrind_ui_8_of_10', | 579 'valgrind_ui_8_of_10', |
| 580 ], | 580 ], |
| 581 factory_properties={ | 581 factory_properties={ |
| 582 'needs_valgrind' : True, | 582 'needs_valgrind' : True, |
| 583 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) | 583 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) |
| 584 | 584 |
| 585 f_chromium_rel_chromeos_valgrind_tests_5 = F_CR_OS( | 585 f_chromium_rel_chromeos_valgrind_tests_5 = F_CR_OS( |
| 586 target='Release', | 586 target='Release', |
| 587 slave_type='Tester', | 587 slave_type='Tester', |
| (...skipping 11 matching lines...) Expand all Loading... |
| 599 f_chromium_dbg_win_tsan = F_WIN( | 599 f_chromium_dbg_win_tsan = F_WIN( |
| 600 target='Debug', | 600 target='Debug', |
| 601 # New tests must first be added as dependencies to the | 601 # New tests must first be added as dependencies to the |
| 602 # 'chromium_builder_dbg_tsan_win' target in src/build/all.gyp, then | 602 # 'chromium_builder_dbg_tsan_win' target in src/build/all.gyp, then |
| 603 # src/tools/valgrind/chrome_tests.py must be updated to handle the test | 603 # src/tools/valgrind/chrome_tests.py must be updated to handle the test |
| 604 # name, without the 'tsan_' prefix. | 604 # name, without the 'tsan_' prefix. |
| 605 tests=[ | 605 tests=[ |
| 606 'tsan_googleurl', | 606 'tsan_googleurl', |
| 607 'tsan_printing', | 607 'tsan_printing', |
| 608 'tsan_remoting', | 608 'tsan_remoting', |
| 609 'tsan_app', | 609 'tsan_sql', |
| 610 'tsan_media', | 610 'tsan_media', |
| 611 'tsan_ipc', | 611 'tsan_ipc', |
| 612 'tsan_base', | 612 'tsan_base', |
| 613 'tsan_crypto', | 613 'tsan_crypto', |
| 614 'tsan_net', | 614 'tsan_net', |
| 615 ], | 615 ], |
| 616 project='all.sln;chromium_builder_dbg_tsan_win', | 616 project='all.sln;chromium_builder_dbg_tsan_win', |
| 617 factory_properties={ | 617 factory_properties={ |
| 618 'needs_tsan_win' : True, | 618 'needs_tsan_win' : True, |
| 619 'gclient_env': { 'GYP_DEFINES' : pin_gyp_defines }, | 619 'gclient_env': { 'GYP_DEFINES' : pin_gyp_defines }, |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 886 'buildETAUpdate', 'stepStarted', 'stepTextChanged', | 886 'buildETAUpdate', 'stepStarted', 'stepTextChanged', |
| 887 'stepText2Changed', 'stepETAUpdate', 'logStarted', | 887 'stepText2Changed', 'stepETAUpdate', 'logStarted', |
| 888 'logFinished', 'buildedRemoved', 'slaveConnected', | 888 'logFinished', 'buildedRemoved', 'slaveConnected', |
| 889 'slaveDisconnected'))) | 889 'slaveDisconnected'))) |
| 890 | 890 |
| 891 | 891 |
| 892 ####### PROJECT IDENTITY | 892 ####### PROJECT IDENTITY |
| 893 | 893 |
| 894 # Buildbot master url: | 894 # Buildbot master url: |
| 895 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.memory/' | 895 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.memory/' |
| OLD | NEW |