slapos.cookbook/testing: fix missing version pin for mock

Because we run egg tests with setup.py test, which installs missing
eggs, if an egg was not installed by buildout, then it installed before
running test. This was the case for mock, which is now python3 only (
https://pypi.org/project/mock/4.0.0b1/ ) and we started to see test
failures.

To solve this issue, refactor the setup definition to use
extra_requires, which seems to work fine in buildout now. Keep
test_requires because it's the what `python setup.py test` uses.

Clean buildout profiles to install slapos.cookbook[test] for test
instead of duplicating the content of test_requires.

/reviewed-on !690
283 jobs for erp5-component
Status Job ID Name Coverage
  External
passed SlapOS.SlapRunner.ResilienceTest-Master

00:24:28

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5

01:49:47

running SlapOS.SoftwareReleases.IntegrationTest-Master

43668:43:05

passed SlapOS.SlapRunner.ResilienceTest-Master

00:24:34

passed SlapOS.SlapRunner.ResilienceTest-Master

00:24:32

passed SlapOS.SlapRunner.ResilienceTest-Master

00:24:37

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5

01:45:46

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5

01:43:02

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5

00:20:05

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:43:33

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:42:37

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:41:34

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:39:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:38:47

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:02:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:01:46

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:00:48

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:59:51

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:58:22

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:56:48

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:56:02

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:54:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:54:03

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:52:51

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:14:00

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:13:07

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:12:05

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:11:11

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:10:10

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:09:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:08:17

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:07:23

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:06:26

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:05:31

running SlapOS.SoftwareReleases.IntegrationTest-Master

43692:04:29

running SlapOS.SoftwareReleases.IntegrationTest-Master

43691:26:01

running SlapOS.SoftwareReleases.IntegrationTest-Master

43691:25:13

running SlapOS.SoftwareReleases.IntegrationTest-Master

43691:24:21

running SlapOS.SoftwareReleases.IntegrationTest-Master

43691:23:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

43691:22:40

running SlapOS.SoftwareReleases.IntegrationTest-Master

43691:21:52

running SlapOS.SoftwareReleases.IntegrationTest-Master

43691:20:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

43691:20:06

running SlapOS.SoftwareReleases.IntegrationTest-Master

43691:19:13

running SlapOS.SoftwareReleases.IntegrationTest-Master

43691:18:22

running SlapOS.SoftwareReleases.IntegrationTest-Master

43691:17:24

running SlapOS.SoftwareReleases.IntegrationTest-Master

43690:41:27

running SlapOS.SoftwareReleases.IntegrationTest-Master

43690:39:48

running SlapOS.SoftwareReleases.IntegrationTest-Master

43689:50:39

running SlapOS.SoftwareReleases.IntegrationTest-Master

43689:49:07

running SlapOS.SoftwareReleases.IntegrationTest-Master

43689:14:15

running SlapOS.SoftwareReleases.IntegrationTest-Master

43689:13:09

running SlapOS.SoftwareReleases.IntegrationTest-Master

43689:12:35

running SlapOS.SoftwareReleases.IntegrationTest-Master

43689:11:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

43689:10:49

running SlapOS.SoftwareReleases.IntegrationTest-Master

43689:09:34

running SlapOS.SoftwareReleases.IntegrationTest-Master

43689:08:14

running SlapOS.SoftwareReleases.IntegrationTest-Master

43689:07:13

running SlapOS.SoftwareReleases.IntegrationTest-Master

43688:29:04

running SlapOS.SoftwareReleases.IntegrationTest-Master

43688:28:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

43688:27:02

running SlapOS.SoftwareReleases.IntegrationTest-Master

43688:25:33

running SlapOS.SoftwareReleases.IntegrationTest-Master

43688:24:09

running SlapOS.SoftwareReleases.IntegrationTest-Master

43688:23:07

running SlapOS.SoftwareReleases.IntegrationTest-Master

43688:21:40

running SlapOS.SoftwareReleases.IntegrationTest-Master

43688:20:01

running SlapOS.SoftwareReleases.IntegrationTest-Master

43687:44:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

43687:43:47

running SlapOS.SoftwareReleases.IntegrationTest-Master

43687:42:39

running SlapOS.SoftwareReleases.IntegrationTest-Master

43687:41:43

running SlapOS.SoftwareReleases.IntegrationTest-Master

43687:40:39

running SlapOS.SoftwareReleases.IntegrationTest-Master

43687:39:46

running SlapOS.SoftwareReleases.IntegrationTest-Master

43687:38:52

running SlapOS.SoftwareReleases.IntegrationTest-Master

43687:37:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

43687:36:39

running SlapOS.SoftwareReleases.IntegrationTest-Master

43687:35:02

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:58:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:57:11

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:55:25

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:52:54

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:51:26

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:49:53

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:14:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:13:54

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:13:08

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:12:31

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:11:31

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:10:56

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:10:10

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:09:30

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:08:39

running SlapOS.SoftwareReleases.IntegrationTest-Master

43686:07:19

running SlapOS.SoftwareReleases.IntegrationTest-Master

43685:36:18

running SlapOS.SoftwareReleases.IntegrationTest-Master

43685:34:53

running SlapOS.SoftwareReleases.IntegrationTest-Master

43684:50:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

43684:49:15

running SlapOS.SoftwareReleases.IntegrationTest-Master

43684:47:20

running SlapOS.SoftwareReleases.IntegrationTest-Master

43684:46:13

running SlapOS.SoftwareReleases.IntegrationTest-Master

43684:45:01

running SlapOS.SoftwareReleases.IntegrationTest-Master

43684:43:55

running SlapOS.SoftwareReleases.IntegrationTest-Master

43684:42:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

43684:41:36

running SlapOS.SoftwareReleases.IntegrationTest-Master

43684:40:22

running SlapOS.SoftwareReleases.IntegrationTest-Master

43684:39:18

running SlapOS.SoftwareReleases.IntegrationTest-Master

43684:37:38

running SlapOS.SoftwareReleases.IntegrationTest-Master

43683:58:14

running SlapOS.SoftwareReleases.IntegrationTest-Master

43683:56:10

running SlapOS.SoftwareReleases.IntegrationTest-Master

43683:54:37

running SlapOS.SoftwareReleases.IntegrationTest-Master

43683:53:39

running SlapOS.SoftwareReleases.IntegrationTest-Master

43683:52:10

running SlapOS.SoftwareReleases.IntegrationTest-Master

43683:50:18

running SlapOS.SoftwareReleases.IntegrationTest-Master

43683:49:13

running SlapOS.SoftwareReleases.IntegrationTest-Master

43683:48:01

running SlapOS.SoftwareReleases.IntegrationTest-Master

43683:46:18

running SlapOS.SoftwareReleases.IntegrationTest-Master

43683:44:03

running SlapOS.SoftwareReleases.IntegrationTest-Master

43682:59:52

running SlapOS.SoftwareReleases.IntegrationTest-Master

43682:58:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

43682:27:31

running SlapOS.SoftwareReleases.IntegrationTest-Master

43682:26:28

running SlapOS.SoftwareReleases.IntegrationTest-Master

43682:25:38

running SlapOS.SoftwareReleases.IntegrationTest-Master

43682:24:54

running SlapOS.SoftwareReleases.IntegrationTest-Master

43682:23:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

43682:23:01

running SlapOS.SoftwareReleases.IntegrationTest-Master

43682:22:20

running SlapOS.SoftwareReleases.IntegrationTest-Master

43682:21:27

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:50:18

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:49:41

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:49:02

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:48:28

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:47:48

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:47:13

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:46:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:45:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:45:19

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:44:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:44:01

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:13:53

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:13:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:12:36

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:11:02

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:09:26

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:08:00

running SlapOS.SoftwareReleases.IntegrationTest-Master

43681:07:20

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:37:26

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:36:51

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:36:13

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:35:36

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:34:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:34:24

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:33:43

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:33:07

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:32:30

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:31:53

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:31:13

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:01:39

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:01:04

running SlapOS.SoftwareReleases.IntegrationTest-Master

43680:00:26

running SlapOS.SoftwareReleases.IntegrationTest-Master

43679:59:50

running SlapOS.SoftwareReleases.IntegrationTest-Master

43679:59:13

running SlapOS.SoftwareReleases.IntegrationTest-Master

43679:58:39

running SlapOS.SoftwareReleases.IntegrationTest-Master

43679:57:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

43679:57:23

running SlapOS.SoftwareReleases.IntegrationTest-Master

43679:56:46

running SlapOS.SoftwareReleases.IntegrationTest-Master

43679:56:09

running SlapOS.SoftwareReleases.IntegrationTest-Master

43679:55:31

running SlapOS.SoftwareReleases.IntegrationTest-Master

43679:26:15

running SlapOS.SoftwareReleases.IntegrationTest-Master

43678:45:55

running SlapOS.SoftwareReleases.IntegrationTest-Master

43678:44:50

running SlapOS.SoftwareReleases.IntegrationTest-Master

43678:43:13

running SlapOS.SoftwareReleases.IntegrationTest-Master

43678:41:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

43678:40:29

running SlapOS.SoftwareReleases.IntegrationTest-Master

43678:39:25

running SlapOS.SoftwareReleases.IntegrationTest-Master

43678:38:25

running SlapOS.SoftwareReleases.IntegrationTest-Master

43677:55:00

running SlapOS.SoftwareReleases.IntegrationTest-Master

43677:54:08

running SlapOS.SoftwareReleases.IntegrationTest-Master

43677:53:01

running SlapOS.SoftwareReleases.IntegrationTest-Master

43677:52:10

running SlapOS.SoftwareReleases.IntegrationTest-Master

43677:51:05

running SlapOS.SoftwareReleases.IntegrationTest-Master

43677:49:48

running SlapOS.SoftwareReleases.IntegrationTest-Master

43677:48:48

running SlapOS.SoftwareReleases.IntegrationTest-Master

43677:47:47

running SlapOS.SoftwareReleases.IntegrationTest-Master

43677:46:46

running SlapOS.SoftwareReleases.IntegrationTest-Master

43677:45:50

running SlapOS.SoftwareReleases.IntegrationTest-Master

43677:44:53

running SlapOS.SoftwareReleases.IntegrationTest-Master

43677:06:11

running SlapOS.SoftwareReleases.IntegrationTest-Master

43676:20:08

running SlapOS.SoftwareReleases.IntegrationTest-Master

43676:19:10

running SlapOS.SoftwareReleases.IntegrationTest-Master

43676:18:17

running SlapOS.SoftwareReleases.IntegrationTest-Master

43676:17:05

running SlapOS.SoftwareReleases.IntegrationTest-Master

43676:15:51

running SlapOS.SoftwareReleases.IntegrationTest-Master

43676:14:55

running SlapOS.SoftwareReleases.IntegrationTest-Master

43676:14:05

running SlapOS.SoftwareReleases.IntegrationTest-Master

43676:13:12

running SlapOS.SoftwareReleases.IntegrationTest-Master

43676:12:29

running SlapOS.SoftwareReleases.IntegrationTest-Master

43676:11:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

43676:10:27

running SlapOS.SoftwareReleases.IntegrationTest-Master

43675:32:19

running SlapOS.SoftwareReleases.IntegrationTest-Master

43675:31:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

43675:30:40

running SlapOS.SoftwareReleases.IntegrationTest-Master

43675:29:50

running SlapOS.SoftwareReleases.IntegrationTest-Master

43675:28:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

43675:28:02

running SlapOS.SoftwareReleases.IntegrationTest-Master

43675:26:17

running SlapOS.SoftwareReleases.IntegrationTest-Master

43675:25:21

running SlapOS.SoftwareReleases.IntegrationTest-Master

43675:23:55

running SlapOS.SoftwareReleases.IntegrationTest-Master

43674:43:24

running SlapOS.SoftwareReleases.IntegrationTest-Master

43674:42:07

running SlapOS.SoftwareReleases.IntegrationTest-Master

43674:40:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

43674:39:35

running SlapOS.SoftwareReleases.IntegrationTest-Master

43674:38:48

running SlapOS.SoftwareReleases.IntegrationTest-Master

43674:37:29

running SlapOS.SoftwareReleases.IntegrationTest-Master

43673:46:01

running SlapOS.SoftwareReleases.IntegrationTest-Master

43673:45:02

running SlapOS.SoftwareReleases.IntegrationTest-Master

43673:43:07

running SlapOS.SoftwareReleases.IntegrationTest-Master

43673:41:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

43673:40:25

running SlapOS.SoftwareReleases.IntegrationTest-Master

43673:38:22

running SlapOS.SoftwareReleases.IntegrationTest-Master

43673:36:46

running SlapOS.SoftwareReleases.IntegrationTest-Master

43673:35:25

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:46:12

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:45:33

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:44:46

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:44:05

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:43:13

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:42:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:41:45

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:41:03

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:40:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:39:35

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:38:49

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:03:43

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:03:09

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:02:28

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:01:49

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:01:07

running SlapOS.SoftwareReleases.IntegrationTest-Master

43672:00:34

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:59:50

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:59:14

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:58:35

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:58:00

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:57:19

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:26:34

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:25:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:25:17

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:24:39

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:23:53

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:23:17

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:22:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:21:54

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:21:10

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:20:31

running SlapOS.SoftwareReleases.IntegrationTest-Master

43671:19:43

running SlapOS.SoftwareReleases.IntegrationTest-Master

43670:44:15

running SlapOS.SoftwareReleases.IntegrationTest-Master

43670:42:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

43670:41:01

running SlapOS.SoftwareReleases.IntegrationTest-Master

43670:39:43

running SlapOS.SoftwareReleases.IntegrationTest-Master

43669:56:40

running SlapOS.SoftwareReleases.IntegrationTest-Master

43669:55:01

running SlapOS.SoftwareReleases.IntegrationTest-Master

43669:53:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

43669:52:07

running SlapOS.SoftwareReleases.IntegrationTest-Master

43669:50:45

running SlapOS.SoftwareReleases.IntegrationTest-Master

43669:48:53

running SlapOS.SoftwareReleases.IntegrationTest-Master

43669:46:49

running SlapOS.SoftwareReleases.IntegrationTest-Master

43669:44:50

running SlapOS.SoftwareReleases.IntegrationTest-Master

43669:43:30

running SlapOS.SoftwareReleases.IntegrationTest-Master

43669:42:11

running SlapOS.SoftwareReleases.IntegrationTest-Master

43669:40:49

running SlapOS.SoftwareReleases.IntegrationTest-Master

43668:45:50

running SlapOS.SoftwareReleases.IntegrationTest-Master

43668:57:04

running SlapOS.SoftwareReleases.IntegrationTest-Master

43668:55:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

43668:54:14

running SlapOS.SoftwareReleases.IntegrationTest-Master

43668:52:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

43668:51:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

43668:49:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

43668:48:31

running SlapOS.SoftwareReleases.IntegrationTest-Master

43668:47:13

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:48:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

43668:44:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:47:59

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:47:07

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:46:17

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:45:22

running SlapOS.SoftwareReleases.IntegrationTest-Master

43693:44:32