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

42867:24:48

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

42892:25:17

running SlapOS.SoftwareReleases.IntegrationTest-Master

42892:24:21

running SlapOS.SoftwareReleases.IntegrationTest-Master

42892:23:18

running SlapOS.SoftwareReleases.IntegrationTest-Master

42892:21:41

running SlapOS.SoftwareReleases.IntegrationTest-Master

42892:20:31

running SlapOS.SoftwareReleases.IntegrationTest-Master

42891:44:28

running SlapOS.SoftwareReleases.IntegrationTest-Master

42891:43:30

running SlapOS.SoftwareReleases.IntegrationTest-Master

42891:42:31

running SlapOS.SoftwareReleases.IntegrationTest-Master

42891:41:35

running SlapOS.SoftwareReleases.IntegrationTest-Master

42891:40:05

running SlapOS.SoftwareReleases.IntegrationTest-Master

42891:38:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

42891:37:46

running SlapOS.SoftwareReleases.IntegrationTest-Master

42891:36:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

42891:35:47

running SlapOS.SoftwareReleases.IntegrationTest-Master

42891:34:35

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:55:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:54:51

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:53:49

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:52:55

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:51:54

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:51:00

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:50:01

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:49:07

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:48:09

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:47:15

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:46:12

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:07:45

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:06:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:06:05

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:05:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:04:24

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:03:36

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:02:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:01:50

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:00:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

42890:00:06

running SlapOS.SoftwareReleases.IntegrationTest-Master

42889:59:07

running SlapOS.SoftwareReleases.IntegrationTest-Master

42889:23:11

running SlapOS.SoftwareReleases.IntegrationTest-Master

42889:21:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

42888:32:22

running SlapOS.SoftwareReleases.IntegrationTest-Master

42888:30:51

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:55:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:54:53

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:54:19

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:53:26

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:52:33

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:51:18

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:49:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:48:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:10:47

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:10:00

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:08:46

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:07:17

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:05:53

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:04:51

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:03:24

running SlapOS.SoftwareReleases.IntegrationTest-Master

42887:01:45

running SlapOS.SoftwareReleases.IntegrationTest-Master

42886:26:28

running SlapOS.SoftwareReleases.IntegrationTest-Master

42886:25:31

running SlapOS.SoftwareReleases.IntegrationTest-Master

42886:24:23

running SlapOS.SoftwareReleases.IntegrationTest-Master

42886:23:27

running SlapOS.SoftwareReleases.IntegrationTest-Master

42886:22:23

running SlapOS.SoftwareReleases.IntegrationTest-Master

42886:21:30

running SlapOS.SoftwareReleases.IntegrationTest-Master

42886:20:35

running SlapOS.SoftwareReleases.IntegrationTest-Master

42886:19:26

running SlapOS.SoftwareReleases.IntegrationTest-Master

42886:18:23

running SlapOS.SoftwareReleases.IntegrationTest-Master

42886:16:46

running SlapOS.SoftwareReleases.IntegrationTest-Master

42885:40:28

running SlapOS.SoftwareReleases.IntegrationTest-Master

42885:38:54

running SlapOS.SoftwareReleases.IntegrationTest-Master

42885:37:09

running SlapOS.SoftwareReleases.IntegrationTest-Master

42885:34:38

running SlapOS.SoftwareReleases.IntegrationTest-Master

42885:33:10

running SlapOS.SoftwareReleases.IntegrationTest-Master

42885:31:37

running SlapOS.SoftwareReleases.IntegrationTest-Master

42884:56:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

42884:55:38

running SlapOS.SoftwareReleases.IntegrationTest-Master

42884:54:52

running SlapOS.SoftwareReleases.IntegrationTest-Master

42884:54:14

running SlapOS.SoftwareReleases.IntegrationTest-Master

42884:53:15

running SlapOS.SoftwareReleases.IntegrationTest-Master

42884:52:40

running SlapOS.SoftwareReleases.IntegrationTest-Master

42884:51:54

running SlapOS.SoftwareReleases.IntegrationTest-Master

42884:51:14

running SlapOS.SoftwareReleases.IntegrationTest-Master

42884:50:23

running SlapOS.SoftwareReleases.IntegrationTest-Master

42884:49:03

running SlapOS.SoftwareReleases.IntegrationTest-Master

42884:18:02

running SlapOS.SoftwareReleases.IntegrationTest-Master

42884:16:37

running SlapOS.SoftwareReleases.IntegrationTest-Master

42883:32:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

42883:30:59

running SlapOS.SoftwareReleases.IntegrationTest-Master

42883:29:04

running SlapOS.SoftwareReleases.IntegrationTest-Master

42883:27:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

42883:26:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

42883:25:39

running SlapOS.SoftwareReleases.IntegrationTest-Master

42883:24:28

running SlapOS.SoftwareReleases.IntegrationTest-Master

42883:23:20

running SlapOS.SoftwareReleases.IntegrationTest-Master

42883:22:06

running SlapOS.SoftwareReleases.IntegrationTest-Master

42883:21:02

running SlapOS.SoftwareReleases.IntegrationTest-Master

42883:19:21

running SlapOS.SoftwareReleases.IntegrationTest-Master

42882:39:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

42882:37:54

running SlapOS.SoftwareReleases.IntegrationTest-Master

42882:36:21

running SlapOS.SoftwareReleases.IntegrationTest-Master

42882:35:22

running SlapOS.SoftwareReleases.IntegrationTest-Master

42882:33:54

running SlapOS.SoftwareReleases.IntegrationTest-Master

42882:32:02

running SlapOS.SoftwareReleases.IntegrationTest-Master

42882:30:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

42882:29:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

42882:28:02

running SlapOS.SoftwareReleases.IntegrationTest-Master

42882:25:47

running SlapOS.SoftwareReleases.IntegrationTest-Master

42881:41:36

running SlapOS.SoftwareReleases.IntegrationTest-Master

42881:40:41

running SlapOS.SoftwareReleases.IntegrationTest-Master

42881:09:15

running SlapOS.SoftwareReleases.IntegrationTest-Master

42881:08:12

running SlapOS.SoftwareReleases.IntegrationTest-Master

42881:07:21

running SlapOS.SoftwareReleases.IntegrationTest-Master

42881:06:37

running SlapOS.SoftwareReleases.IntegrationTest-Master

42881:05:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

42881:04:45

running SlapOS.SoftwareReleases.IntegrationTest-Master

42881:04:04

running SlapOS.SoftwareReleases.IntegrationTest-Master

42881:03:11

running SlapOS.SoftwareReleases.IntegrationTest-Master

42880:32:02

running SlapOS.SoftwareReleases.IntegrationTest-Master

42880:31:25

running SlapOS.SoftwareReleases.IntegrationTest-Master

42880:30:46

running SlapOS.SoftwareReleases.IntegrationTest-Master

42880:30:12

running SlapOS.SoftwareReleases.IntegrationTest-Master

42880:29:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

42880:28:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

42880:28:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

42880:27:41

running SlapOS.SoftwareReleases.IntegrationTest-Master

42880:27:03

running SlapOS.SoftwareReleases.IntegrationTest-Master

42880:26:28

running SlapOS.SoftwareReleases.IntegrationTest-Master

42880:25:45

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:55:37

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:55:00

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:54:20

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:52:45

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:51:10

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:49:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:49:04

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:19:09

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:18:35

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:17:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:17:20

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:16:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:16:08

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:15:27

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:14:51

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:14:14

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:13:37

running SlapOS.SoftwareReleases.IntegrationTest-Master

42879:12:56

running SlapOS.SoftwareReleases.IntegrationTest-Master

42878:43:23

running SlapOS.SoftwareReleases.IntegrationTest-Master

42878:42:48

running SlapOS.SoftwareReleases.IntegrationTest-Master

42878:42:09

running SlapOS.SoftwareReleases.IntegrationTest-Master

42878:41:34

running SlapOS.SoftwareReleases.IntegrationTest-Master

42878:40:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

42878:40:23

running SlapOS.SoftwareReleases.IntegrationTest-Master

42878:39:41

running SlapOS.SoftwareReleases.IntegrationTest-Master

42878:39:07

running SlapOS.SoftwareReleases.IntegrationTest-Master

42878:38:30

running SlapOS.SoftwareReleases.IntegrationTest-Master

42878:37:53

running SlapOS.SoftwareReleases.IntegrationTest-Master

42878:37:15

running SlapOS.SoftwareReleases.IntegrationTest-Master

42878:07:59

running SlapOS.SoftwareReleases.IntegrationTest-Master

42877:27:39

running SlapOS.SoftwareReleases.IntegrationTest-Master

42877:26:34

running SlapOS.SoftwareReleases.IntegrationTest-Master

42877:24:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

42877:23:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

42877:22:12

running SlapOS.SoftwareReleases.IntegrationTest-Master

42877:21:09

running SlapOS.SoftwareReleases.IntegrationTest-Master

42877:20:08

running SlapOS.SoftwareReleases.IntegrationTest-Master

42876:36:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

42876:35:52

running SlapOS.SoftwareReleases.IntegrationTest-Master

42876:34:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

42876:33:54

running SlapOS.SoftwareReleases.IntegrationTest-Master

42876:32:49

running SlapOS.SoftwareReleases.IntegrationTest-Master

42876:31:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

42876:30:31

running SlapOS.SoftwareReleases.IntegrationTest-Master

42876:29:30

running SlapOS.SoftwareReleases.IntegrationTest-Master

42876:28:30

running SlapOS.SoftwareReleases.IntegrationTest-Master

42876:27:34

running SlapOS.SoftwareReleases.IntegrationTest-Master

42876:26:37

running SlapOS.SoftwareReleases.IntegrationTest-Master

42875:47:55

running SlapOS.SoftwareReleases.IntegrationTest-Master

42875:01:52

running SlapOS.SoftwareReleases.IntegrationTest-Master

42875:00:54

running SlapOS.SoftwareReleases.IntegrationTest-Master

42875:00:01

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:58:49

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:57:35

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:56:39

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:55:49

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:54:56

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:54:12

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:53:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:52:11

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:14:03

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:13:15

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:12:24

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:11:34

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:10:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:09:45

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:08:01

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:07:05

running SlapOS.SoftwareReleases.IntegrationTest-Master

42874:05:38

running SlapOS.SoftwareReleases.IntegrationTest-Master

42873:25:08

running SlapOS.SoftwareReleases.IntegrationTest-Master

42873:23:51

running SlapOS.SoftwareReleases.IntegrationTest-Master

42873:22:26

running SlapOS.SoftwareReleases.IntegrationTest-Master

42873:21:19

running SlapOS.SoftwareReleases.IntegrationTest-Master

42873:20:32

running SlapOS.SoftwareReleases.IntegrationTest-Master

42873:19:13

running SlapOS.SoftwareReleases.IntegrationTest-Master

42872:27:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

42872:26:45

running SlapOS.SoftwareReleases.IntegrationTest-Master

42872:24:51

running SlapOS.SoftwareReleases.IntegrationTest-Master

42872:23:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

42872:22:09

running SlapOS.SoftwareReleases.IntegrationTest-Master

42872:20:06

running SlapOS.SoftwareReleases.IntegrationTest-Master

42872:18:30

running SlapOS.SoftwareReleases.IntegrationTest-Master

42872:17:08

running SlapOS.SoftwareReleases.IntegrationTest-Master

42871:27:56

running SlapOS.SoftwareReleases.IntegrationTest-Master

42871:27:17

running SlapOS.SoftwareReleases.IntegrationTest-Master

42871:26:30

running SlapOS.SoftwareReleases.IntegrationTest-Master

42871:25:49

running SlapOS.SoftwareReleases.IntegrationTest-Master

42871:24:56

running SlapOS.SoftwareReleases.IntegrationTest-Master

42871:24:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

42871:23:29

running SlapOS.SoftwareReleases.IntegrationTest-Master

42871:22:47

running SlapOS.SoftwareReleases.IntegrationTest-Master

42871:22:00

running SlapOS.SoftwareReleases.IntegrationTest-Master

42871:21:19

running SlapOS.SoftwareReleases.IntegrationTest-Master

42871:20:33

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:45:27

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:44:53

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:44:12

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:43:33

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:42:51

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:42:17

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:41:34

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:40:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:40:19

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:39:43

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:39:03

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:08:18

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:07:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:07:00

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:06:23

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:05:37

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:05:00

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:04:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:03:38

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:02:54

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:02:14

running SlapOS.SoftwareReleases.IntegrationTest-Master

42870:01:27

running SlapOS.SoftwareReleases.IntegrationTest-Master

42869:25:59

running SlapOS.SoftwareReleases.IntegrationTest-Master

42869:24:00

running SlapOS.SoftwareReleases.IntegrationTest-Master

42869:22:45

running SlapOS.SoftwareReleases.IntegrationTest-Master

42869:21:26

running SlapOS.SoftwareReleases.IntegrationTest-Master

42868:38:24

running SlapOS.SoftwareReleases.IntegrationTest-Master

42868:36:44

running SlapOS.SoftwareReleases.IntegrationTest-Master

42868:35:26

running SlapOS.SoftwareReleases.IntegrationTest-Master

42868:33:51

running SlapOS.SoftwareReleases.IntegrationTest-Master

42868:32:29

running SlapOS.SoftwareReleases.IntegrationTest-Master

42868:30:37

running SlapOS.SoftwareReleases.IntegrationTest-Master

42868:28:33

running SlapOS.SoftwareReleases.IntegrationTest-Master

42868:26:33

running SlapOS.SoftwareReleases.IntegrationTest-Master

42868:25:14

running SlapOS.SoftwareReleases.IntegrationTest-Master

42868:23:55

running SlapOS.SoftwareReleases.IntegrationTest-Master

42868:22:33

running SlapOS.SoftwareReleases.IntegrationTest-Master

42867:27:34

running SlapOS.SoftwareReleases.IntegrationTest-Master

42867:38:48

running SlapOS.SoftwareReleases.IntegrationTest-Master

42867:37:27

running SlapOS.SoftwareReleases.IntegrationTest-Master

42867:35:58

running SlapOS.SoftwareReleases.IntegrationTest-Master

42867:34:40

running SlapOS.SoftwareReleases.IntegrationTest-Master

42867:33:00

running SlapOS.SoftwareReleases.IntegrationTest-Master

42867:31:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

42867:30:15

running SlapOS.SoftwareReleases.IntegrationTest-Master

42867:28:57

running SlapOS.SoftwareReleases.IntegrationTest-Master

42892:30:41

running SlapOS.SoftwareReleases.IntegrationTest-Master

42867:26:16

running SlapOS.SoftwareReleases.IntegrationTest-Master

42892:29:42

running SlapOS.SoftwareReleases.IntegrationTest-Master

42892:28:51

running SlapOS.SoftwareReleases.IntegrationTest-Master

42892:28:00

running SlapOS.SoftwareReleases.IntegrationTest-Master

42892:27:06

running SlapOS.SoftwareReleases.IntegrationTest-Master

42892:26:16