CHANGES.erp5.util.txt 15 KB
Newer Older
Łukasz Nowak's avatar
Łukasz Nowak committed
1 2 3
Changes
=======

4
0.4.74 (2022-05-13)
5 6 7 8 9
-------------------

  * testnode:
    - retry ``slapos node instance`` more times before running test

10 11 12 13 14 15 16
0.4.73 (2022-04-22)
-------------------

  * testnode:
    - remove unused scalability_tester
    - fix bug in python3

17 18 19 20 21 22
0.4.72 (2021-10-01)
-------------------

  * testnode:
    - update local frontend slave (if configured) so tests use a fast and reliable frontend (on same LAN and / or machine)

23 24 25 26 27 28 29
0.4.71 (2021-09-08)
-------------------

  * testnode:
    - various changes relate to SlapOS' integration of Scalability tests


Julien Muchembled's avatar
Julien Muchembled committed
30 31 32 33 34 35 36 37 38 39 40
0.4.70 (2021-06-14)
-------------------

  * testnode:

    - fix ResourceWarnings on Python 3
    - shorten instance partition paths

  * testsuite: remove EggTestSuite


41 42 43 44 45 46 47 48 49 50
0.4.69 (2020-10-29)
-------------------

  * erp5.util.testnode:

    - propagate test_node_title to runTestSuite
    - pass arguments as environment variables
    - advertise log URL with log_frontend_url


51 52 53 54 55 56 57 58 59 60 61 62 63 64
0.4.68 (2020-05-22)
-------------------

  * erp5.util.taskdistribution:

    - fix DummyTaskDistributor API to be able to run tests locally


  * erp5.util.testnode:

    - fix upgrader when HEAD is a merge commit
    - don't log distributor URL


65 66 67 68 69 70 71 72 73 74 75
0.4.67 (2020-04-27)
-------------------

  * erp5.util:

    - testnode: pass --log_directory to runTestSuite
    - EggTestSuite: support --log_directory
    - testnode: include a link to snapshot dir in log viewer
    - testnode: don't crash log viewer app on network error
    - testnode: make the number of days to keep log configurable

76 77 78 79 80 81 82
0.4.66 (2020-01-30)
-------------------

  * erp5.util:

    - testnode: Use shared parts when building softwares

83 84 85 86 87 88 89 90
0.4.65 (2019-10-30)
-------------------

  * erp5.util:

    - testnode: Allow to run scalability tests against already existing instance


91 92 93 94 95 96 97
0.4.64 (2019-10-10)
-------------------

  * erp5.util:

    - testnode: fix Computer.updateConfiguration call (Compatibility with slapos.core 1.5.0)

98 99 100 101 102 103 104 105 106
0.4.63 (2019-10-08)
-------------------

  * erp5.util:

    - testnode: avoid testnode crash when trying to kill a process already dead
    - testnode: testnode: import xml2dict from its new place (Compatibility with slapos.core 1.5.0)


107 108 109 110 111 112 113
0.4.62 (2019-10-01)
-------------------

  * erp5.util:

    - testnode: Fix scalability test runner logic for importing a test suite class

114 115 116 117 118 119 120
0.4.61 (2019-09-18)
-------------------

  * erp5.util:

    - testnode: Fix scalability test runner

121

122 123 124 125 126 127 128 129
0.4.60 (2019-09-01)
-------------------

  * erp5.util:

    - testnode: Fix some typos in the SlaOS API 


130 131 132 133 134 135 136
0.4.59.1 (2019-08-13)
---------------------

  * erp5.util:

    - Minor fix: Add missing 'six' dependency on setup.py

Rafael Monnerat's avatar
Rafael Monnerat committed
137 138 139 140 141 142 143 144 145 146 147 148
0.4.59 (2019-08-13)
-------------------

  * erp5.util:

    - testnode: Update the SlapOS API
    - erp5.util: add support for Python 3
    - testnode: handle cases of errors when updating git repositories
    - testnode: fixed condition to not build dependencies like firefox
    - testnode: kill processes having slapos_directory in command line
    - testnode: spawn with close_fds=True in ProcessManager

Sebastien Robin's avatar
Sebastien Robin committed
149 150 151 152 153 154 155
0.4.58 (2019-03-05)
-------------------

 * erp5.util

   - testnode: Give more time to supervisord to kill subprocess [Sebastien Robin]

Sebastien Robin's avatar
Sebastien Robin committed
156 157 158 159 160 161 162 163 164 165
0.4.57 (2019-02-25)
-------------------

 * erp5.util

   - testnode: Allow to pass max_quantity to runComputerPartition [Lukasz Nowak]
   - testnode: use CPUs a bit less agressively [Jerome Perrin]
   - testnode: avoid to rebuild testnode dependencies (firefox) all the time [Sebastien Robin]
   - testnode: try much more agressively to kill remaining processes [Sebastien Robin]

Sebastien Robin's avatar
Sebastien Robin committed
166 167 168 169 170 171 172
0.4.56 (2018-09-28)
-------------------

 * erp5.util

   - testnode: give more time for the slapos proxy to start

Sebastien Robin's avatar
Sebastien Robin committed
173 174 175 176 177 178 179
0.4.55 (2018-09-28)
-------------------

 * erp5.util

   - testnode: properly support deletion of chmod'ed files [Jerome Perrin]

Sebastien Robin's avatar
Sebastien Robin committed
180 181 182 183 184 185 186
0.4.54 (2018-09-13)
-------------------

 * erp5.util

   - testnode: update path of firefox

Sebastien Robin's avatar
Sebastien Robin committed
187 188 189 190 191 192 193 194
0.4.53 (2018-09-07)
-------------------

 * erp5.util

   - testnode: give project title to runTestSuite [Sebastien Robin]
   - testnode: support chmod'ed files during directories cleanups [Jerome Perrin]

Yusei Tahara's avatar
Yusei Tahara committed
195 196 197 198 199 200 201 202 203 204
0.4.52 (2018-08-21)
-------------------

 * erp5.util

   - Make scalability testing framework more stable. Stop using a dummy frontend master
     and use host.vifib.net frontend with a valid SSL certificate instead. Always use
     https.
     [Yusei Tahara]

Roque's avatar
Roque committed
205 206 207 208 209 210 211
0.4.51 (2017-07-17)
-------------------

 * erp5.util

   - scalability testing framework  [Roque Porchetto]

Sebastien Robin's avatar
Sebastien Robin committed
212
0.4.50 (2017-11-22)
Łukasz Nowak's avatar
Łukasz Nowak committed
213 214 215 216 217 218
-------------------

 * erp5.util.testnode

   - call only methods on Distributor [Lukasz Nowak]

Rafael Monnerat's avatar
Rafael Monnerat committed
219 220 221 222 223 224 225
0.4.49 (2017-05-11)
-------------------

  * erp5.util.taskdistribution:

    - Wrap in xmlrpclib.Binary if needed

Sebastien Robin's avatar
Sebastien Robin committed
226 227 228 229 230 231 232 233
0.4.48 (2017-04-20)
-------------------

 * erp5.util.testnode:

   - fix values of --firefox_bin and --xvfb_bin [Julien Muchembled]

0.4.47 (2017-04-05)
Sebastien Robin's avatar
Sebastien Robin committed
234 235 236 237 238 239 240
-------------------

 * erp5.util.testnode:

   - Make it more robust in cases where we have from time to time failures [Sebastien Robin]
   - cosmetic: avoid -repository suffix [Julien Muchembled]

Rafael Monnerat's avatar
Rafael Monnerat committed
241
0.4.46 (2016-09-29)
Sebastien Robin's avatar
Sebastien Robin committed
242
-------------------
Rafael Monnerat's avatar
Rafael Monnerat committed
243 244 245 246 247

 * erp5.util.testnode:

   - Include js-logtail at the MANIFEST.in

248 249 250 251 252 253 254 255
0.4.45 (2016-08-05)
-------------------

 * erp5.util.testnode: 

   - Do not block all test suites if one of them define broken repository [Sebastien Robin]
   - Make sure proxy is really dead before starting new one [Sebastien Robin] 

Julien Muchembled's avatar
Julien Muchembled committed
256
0.4.44 (2016-03-22)
Rafael Monnerat's avatar
Rafael Monnerat committed
257 258
-------------------

Julien Muchembled's avatar
Julien Muchembled committed
259
 * erp5.util.testnode:
Rafael Monnerat's avatar
Rafael Monnerat committed
260

Julien Muchembled's avatar
Julien Muchembled committed
261 262 263 264 265 266
   - Cancel test result if testnodes are unable to create partitions and unable
     to find runTestSuite command.
   - Set specific environment variable to build NumPy/friends & Ruby gems in
     parallel.
   - For local repositories, ignore revision defined in software release.
   - Make it possible to define slapos parameters in test suites.
Rafael Monnerat's avatar
Rafael Monnerat committed
267

Rafael Monnerat's avatar
Rafael Monnerat committed
268 269 270 271 272 273 274 275 276 277 278
0.4.43 (2015-09-02)
-------------------

 * erp5.util

   - Make services much more reactive when server is back [Sebastien Robin] 

 * erp5.util.testnode 
   - Simple log viewer app not to download the whole suite.log [Jérôme Perrin]
   - Make code more robust when checkout git files [Sebastien Robin]

279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301
0.4.42 (2014-12-02)
-------------------

 * erp5.util.testnode

    - Typo [Jérôme Perrin]
    - Run first found runTestSuite from lowest matching partition, not random one [Cédric de Saint Martin]

 * erp5.util

    - Drop support for Python < 2.7 [Julien Muchembled]

0.4.41 (2014-08-07)
-------------------

 * erp5.util.testnode

    - Fix running test location [Rafael Monnerat]

 * erp5.util

    - Move dealShebang into Utils [Rafael Monnerat]

302 303 304 305 306 307 308
0.4.40 (2014-07-30)
-------------------

  * erp5.util.testnode

    - Bugfix for erp5/util/testnode/__init__.py [Rafael Monnerat]

Rafael Monnerat's avatar
Rafael Monnerat committed
309 310 311 312 313 314 315 316 317 318 319 320 321 322
0.4.39 (2014-07-30)
-------------------

  * erp5.util.testnode

    - update SlapOSControler cmd calls [Rafael Monnerat]

0.4.38 (2014-04-16)
-------------------

 * erp5.util.testnode:

   - cleanup after the merge of scalability code [Cedric de Saint Martin]

323 324 325
0.4.37 (2014-01-21)
-------------------

326 327 328 329
 * erp5.util.scalability:

  - New module [Benjamin Blanc]

330 331 332 333
 * erp5.util.testnode:

  - Minimize writes to storage holding MySQL databases.

334 335 336 337 338 339 340
0.4.36 (2013-06-30)
-------------------

 * erp5.util.testsuite:

  - delete git repos if url has changed [Sebastien Robin]

341 342 343 344 345 346 347 348
0.4.35 (2013-06-21)
-------------------

 * erp5.util.testsuite:

  - Fix additional_bt5_repository_id into testnode.py
    [Benjamin Blanc]

Sebastien Robin's avatar
Sebastien Robin committed
349 350 351 352 353 354 355 356
0.4.34 (2013-04-11)
-------------------

 * erp5.util.testsuite:

  - allow to define sub results in tests, like we do for selenium
    [Sebastien Robin]

Sebastien Robin's avatar
Sebastien Robin committed
357 358 359 360 361 362 363 364
0.4.33 (2013-03-14)
-------------------

 * erp5.util.zodbanalyze:

  - Initial version of an improved version of ZODB's ZODB/scripts/analyze.py
    [Kazuhiko Shiozaki]

Sebastien Robin's avatar
Sebastien Robin committed
365 366 367 368 369 370 371 372 373
0.4.32 (2013-03-13)
-------------------

 * erp5.util.testnode:

  - add handling of httplib.ResponseNotReady error message [Sebastien Robin]
  - do not fail when a different test suite repository branch is specified
    [Sebastien Robin]

Sebastien Robin's avatar
Sebastien Robin committed
374 375 376 377 378 379 380 381
0.4.31 (2013-03-01)
-------------------

 * erp5.util.testnode:

  - after resetting software, retry_software_count was not resetted correctly
    [Sebastien Robin]

Sebastien Robin's avatar
Sebastien Robin committed
382 383 384 385 386 387 388 389
0.4.30 (2013-02-20)
-------------------

 * erp5.util.testnode:

  - keep almost no tmp files, sometimes there is many Gb in /tmp after
    one day [Sebastien Robin]

Sebastien Robin's avatar
Sebastien Robin committed
390 391 392 393 394 395 396 397
0.4.29 (2013-02-20)
-------------------

 * erp5.util.testnode:

  - make it able to resist to problems with slapos proxy when building
    software [Sebastien Robin]

Sebastien Robin's avatar
Sebastien Robin committed
398 399 400 401 402 403 404
0.4.28 (2013-02-19)
-------------------

 * erp5.util.testnode:

  - make it able to resist to problems with slapos proxy [Sebastien Robin]

Sebastien Robin's avatar
Sebastien Robin committed
405 406 407 408 409 410 411 412
0.4.27 (2013-02-15)
-------------------

 * erp5.util.testnode:

  - testnode was still sometimes logging at several files at a time
    [Sebastien Robin]

Sebastien Robin's avatar
Sebastien Robin committed
413 414 415 416 417 418 419
0.4.26 (2013-02-14)
-------------------

 * erp5.util.testnode:

  - do not reraise OSError when cleaning temp files

Sebastien Robin's avatar
Sebastien Robin committed
420 421 422 423 424 425 426 427 428 429 430 431 432
0.4.25 (2013-02-11)
-------------------

 * erp5.util.testnode:

  - close all timers when quitting, this makes stopping an erp5tetsnode
    much faster [Sebastien Robin]
  - remove hack on slapos/testnode after fix of slapos.cookbook [Sebastien Robin]
  - remove old tmp files left by buildout (buildout has te bo fixed too)
    [Sebastien Robin]
  - remove logging handlers where the are not needed any more [Sebastien Robin]
  - fixed the kill command, it was not able to kill properly childs [Sebastien Robin]

433 434 435 436 437 438 439 440
0.4.24 (2013-02-11)
-------------------

 * erp5.util.testnode:

  - Fixed wrong location for the construction os test suite software
    [Sebastien Robin]

Sebastien Robin's avatar
Sebastien Robin committed
441 442 443 444 445 446 447 448 449
0.4.23 (2013-02-11)
-------------------

 * erp5.util.testnode:

  - Make erp5testnode allow remote access to test suite logs instead of
    uploading them to master [Tatuya Kamada], [Sebastien Robin]


450 451 452 453 454 455 456
0.4.22 (2013-01-08)
-------------------

 * erp5.util.taskdistribution:

  - fix regression when used on Python < 2.7

Julien Muchembled's avatar
Julien Muchembled committed
457 458 459 460 461 462 463 464 465 466 467
0.4.21 (2013-01-07)
-------------------

 * erp5.util.taskdistribution:

  - really fix lock to avoid errors with concurrent RPC calls

 * erp5.util.testnode:

  - do not run test suites on deleted branches

468
0.4.20 (2012-12-19)
469
-------------------
470 471 472 473 474

 * erp5.util.testnode:

  - Make sure to kill grandchilds when killing a process [Sebastien Robin]

475
0.4.19 (2012-12-17)
476
-------------------
477 478 479 480 481

 * erp5.util.testnode:

  - Fixed undefined variable [Sebastien Robin]

482
0.4.18 (2012-12-14)
483
-------------------
484 485 486 487 488

 * erp5.util.testnode:

  - Solve ascii issues when deleting software [Sebastien Robin]

489
0.4.17 (2012-12-10)
490
-------------------
491 492 493 494 495 496

 * erp5.util.testnode:

  - Add thread Timer to terminate locked processes [Sebastien Robin]
  - Add more unit tests [Pere Cortes]

497
0.4.16 (2012-11-14)
498
-------------------
499 500 501 502 503 504 505

 * erp5.util.testnode:

  - Improve handling of Xvfb and firefox [Sebastien Robin]
  - check supported parameters of runTestSuite [Pere Cortes]
  - add unit for runTestSuite [Pere Cortes]

Sebastien Robin's avatar
Sebastien Robin committed
506
0.4.15 (2012-11-07)
507
-------------------
Sebastien Robin's avatar
Sebastien Robin committed
508 509 510 511 512 513 514

 * erp5.util.testnode:

  - fixed profile generation when software repos is not defined first
    [Sebastien Robin]
  - ask wich test has priority to master more often [Sebastien Robin]

Sebastien Robin's avatar
Sebastien Robin committed
515
0.4.14 (2012-11-05)
516
-------------------
Sebastien Robin's avatar
Sebastien Robin committed
517 518 519 520 521 522 523 524 525

 * erp5.util.testnode:

  - force rebuilding software to avoid using old soft/code [Sebastien Robin]

 * erp5.util.taskdistribution:

  - handle another possible error with master [Sebastien Robin]

526
0.4.13 (2012-10-31)
527
-------------------
528 529 530 531 532 533 534 535

 * erp5.util.testnode:

  - Add unit test for erp5testnode (with some hardcoded path that
    needs to be fixed ASAP) [Sebastien Robin]
  - Split long functions into several more simple ones for code
    simplicity and readability [Sebastien Robin]

536
0.4.12 (2012-10-25)
537
-------------------
538 539 540 541

 * erp5.util.testnode:

  - Fixed several issues introduced by the management of test
542
    suite by the master [Sebastien Robin]
543 544

0.4.11 (2012-10-22)
545
-------------------
546 547 548 549

 * erp5.util.testnode:

  - Take test suite parameters from the master, to allow distribution
550
    of the work by the master [Pere Cortes], [Sebastien Robin]
551

552
0.4.10 (2012-10-01)
553
-------------------
554 555 556 557 558 559

 * erp5.util.testnode:

  - Allow to use a firefox built by testnode for
    functional tests [Gabriel Monnerat]

Sebastien Robin's avatar
Sebastien Robin committed
560 561 562 563 564 565 566 567
0.4.9 (2012-10-01)
------------------

 * erp5.util.testnode:

  - remove --now parameter when calling slapgrid-sr since
    it is not yet well supported [Sebastien Robin]

568 569 570 571 572 573 574 575
0.4.8 (2012-09-27)
------------------

 * erp5.util.testnode:

  - use taskdistribution module to reduce code
    [Vincent Pelletier], [Pere Cortes]

576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596
0.4.7 (2012-09-03)
------------------

 * erp5.util.taskdistribution:

  - work around test lines acquiring values from parent when no value is
    provided. [Vincent Pelletier]
  - fix a regression introduced in 0.4.6 which allowed parallel XMLRPC calls,
    which is not supported. [Rafael Monnerat]

 * erp5.util.benchmark:

  - check whether at least one result file could be found when generating a
    scalability report. [Arnaud Fontaine]
  - make sure that diagram bars are properly aligned in scalability test
    report. [Arnaud Fontaine]

 * erp5.util.testsuite:

  - new module [Rafael Monnerat]

597 598 599 600 601 602 603 604
0.4.6 (2012-08-10)
------------------

 * erp5.util.taskdistribution:

  - set socket timeout for RPC calls to prevent a deadlock happens.
    [Rafael Monnerat]

605 606 607 608 609 610 611 612 613
0.4.5 (2012-07-04)
------------------

 * erp5.util.taskdistribution:

  - xmlrpclib does not support named parameters, use positional ones
    [Vincent Pelletier]

0.4.4 (2012-07-04)
614 615 616 617 618 619
------------------

 * erp5.util.taskdistribution:

  - New module [Vincent Pelletier]

620
0.4.3 (2012-04-24)
621
------------------
622 623 624 625 626 627 628 629

 * erp5.util.testnode:

  - Improve detection of the cancellation of a test on the master
  - better management of SIGTERM signal
  - cleanup test instances to make sure nothing stay from a previous
    test run

630
0.4.2 (2012-04-11)
631
------------------
632 633 634 635 636 637 638 639 640 641 642

 * erp5.util.testnode:

  - Improve testnode logs
  - add a thread to upload ongoing logs to the master regularly
  - if the software release is not built successfully after a
    few time, totally erase software. This help unblocking if
    buildout is unable to update software.
  - check if the last test result was cancelled in order to
    allow relaunching test without restarting testnode

Ivan Tyagov's avatar
Ivan Tyagov committed
643
0.4.1 (2012-02-29)
644
------------------
Łukasz Nowak's avatar
Łukasz Nowak committed
645

Ivan Tyagov's avatar
Ivan Tyagov committed
646 647 648 649 650
 * erp5.util.testnode:

  - Improve testnode's reliability when contacting remote master
  - Try to build software releases multiple times before giving up

Łukasz Nowak's avatar
Łukasz Nowak committed
651

Łukasz Nowak's avatar
Łukasz Nowak committed
652
0.3 (2011-12-23)
Aurel's avatar
Aurel committed
653 654
----------------

Łukasz Nowak's avatar
Łukasz Nowak committed
655
 * erp5.util.webchecker:
656

Łukasz Nowak's avatar
Łukasz Nowak committed
657
   - Imported from https://svn.erp5.org/repos/public/erp5/trunk/utils/
658
     Utility to check caching policy of websites
Aurel's avatar
Aurel committed
659

Łukasz Nowak's avatar
Łukasz Nowak committed
660 661 662 663 664 665 666 667 668 669 670
 * erp5.util.testnode:

   - improve logging [Sebastien Robin]
   - fix passing bt5_path [Gabriel Monnerat]
   - fix profile_path concatenation [Nicolas Delaby]
   - fix git updating and parsing repository paths [Julien Muchembled]

 * erp5.util.benchmark:

  - new utility, work in progress [Arnaud Fontaine]

Aurel's avatar
Aurel committed
671
0.2 (2011-09-20)
Łukasz Nowak's avatar
Łukasz Nowak committed
672 673
----------------

674 675 676 677 678 679
 * Imported from https://svn.erp5.org/repos/public/erp5/trunk/utils/

   - erp5.util.test_browser:
     Programmable browser for functional and performance tests for ERP5
   - erp5.util.benchmark:
     Performance benchmarks for ERP5 with erp5.utils.test_browser
Łukasz Nowak's avatar
Łukasz Nowak committed
680

681
0.1 (2011-08-08)
Łukasz Nowak's avatar
Łukasz Nowak committed
682 683
----------------

Łukasz Nowak's avatar
Łukasz Nowak committed
684
 * erp5.util.testnode imported from recipe-like slapos.cookbook
Łukasz Nowak's avatar
Łukasz Nowak committed
685
   [Łukasz Nowak]