2017-09-12 15:07
cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs:
https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "nothing compares to the timeshifter, my personal polar expedition in software" - pedronis
00:00
raynold has joined #pypy
00:02
asmeurer_ has joined #pypy
00:04
yuyichao_ has joined #pypy
00:17
asmeurer_ has quit [Quit: asmeurer_]
00:20
asmeurer_ has joined #pypy
00:21
kipras is now known as kipras`away
00:31
tbodt has joined #pypy
00:43
rokujyouhitoma has joined #pypy
00:48
rokujyouhitoma has quit [Ping timeout: 248 seconds]
00:55
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:18
tbodt has joined #pypy
01:23
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:44
tbodt has joined #pypy
01:44
rokujyouhitoma has joined #pypy
01:49
rokujyouhitoma has quit [Ping timeout: 255 seconds]
01:52
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:53
tbodt has joined #pypy
02:00
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:08
exarkun has quit [Ping timeout: 240 seconds]
02:11
exarkun has joined #pypy
02:22
ArneBab has joined #pypy
02:25
ArneBab_ has quit [Ping timeout: 240 seconds]
02:42
forgottenone has joined #pypy
02:45
rokujyouhitoma has joined #pypy
02:50
rokujyouhitoma has quit [Ping timeout: 260 seconds]
03:39
pilne has quit [Quit: Quitting!]
03:46
rokujyouhitoma has joined #pypy
03:49
exarkun has quit [Ping timeout: 248 seconds]
03:50
rokujyouhitoma has quit [Ping timeout: 248 seconds]
03:51
exarkun has joined #pypy
04:46
rokujyouhitoma has joined #pypy
04:51
rokujyouhitoma has quit [Ping timeout: 240 seconds]
05:08
forgottenone has quit [Ping timeout: 260 seconds]
05:08
forgottenone has joined #pypy
05:11
ceridwen has quit [Quit: Ex-Chat]
05:17
ceridwen has joined #pypy
05:17
ceridwen has quit [Changing host]
05:17
ceridwen has joined #pypy
05:28
exarkun has quit [Ping timeout: 240 seconds]
05:30
exarkun has joined #pypy
05:37
cloudyplain has joined #pypy
05:47
rokujyouhitoma has joined #pypy
05:51
rokujyouhitoma has quit [Ping timeout: 248 seconds]
06:16
cloudyplain has quit [Remote host closed the connection]
06:16
cloudyplain has joined #pypy
06:20
cloudyplain has quit [Ping timeout: 240 seconds]
06:31
<
kenaan >
arigo py3.5 79230ba1326e /lib-python/3/distutils/sysconfig_pypy.py: Issue #2660 sysconfig.get_config_var('SHLIB_SUFFIX') should just return '.so', on Posix systems
06:48
rokujyouhitoma has joined #pypy
06:52
rokujyouhitoma has quit [Ping timeout: 240 seconds]
06:55
<
kenaan >
arigo cffi/cffi 0a518e0c9470 /c/: Get rid of deprecated Python C API functions
06:57
cloudyplain has joined #pypy
07:00
cloudyplain has quit [Remote host closed the connection]
07:00
cloudyplain has joined #pypy
07:00
cloudyplain has quit [Remote host closed the connection]
07:00
cloudyplain has joined #pypy
07:05
cloudyplain has quit [Ping timeout: 264 seconds]
07:07
arigato has joined #pypy
07:08
<
mattip >
arigato: do you have time to think about cffi test failures on win32, arm?
07:09
exarkun has quit [Ping timeout: 264 seconds]
07:09
<
arigato >
yes, but do you have something more concrete to think about?
07:09
<
arigato >
the tests pass on my windows VM
07:10
exarkun has joined #pypy
07:12
<
mattip >
I am trying to think of what could cause failures on both platforms
07:13
<
mattip >
and don't really have an idea. At least on ARM I can get a test failure, but not a segfault
07:13
<
mattip >
and on win32 the tests lcoally do seem to complete but there is a timeout on the buildbot
07:15
* arigato
tries to run the tests locally again
07:18
<
arigato >
some of the new tests are long-running
07:18
<
arigato >
unsure why they take so much more time in the windows VM
07:19
<
arigato >
(still only 1-2 minutes)
07:20
<
arigato >
they also take a lot of memory
07:20
<
arigato >
I think there's a risk that it reaches over the 2GB default limit
07:21
<
mattip >
the buildbot should have more, and should be linking now with /LARGEADDRESSAWARE
07:21
<
arigato >
maybe the ARM board is also very unhappy about this amount of memory
07:22
<
mattip >
definitely, it only has 800MB total, and top shows very little left for tests
07:22
<
arigato >
ok, then that's it
07:22
<
mattip >
so skip the memory intensive tests, or lower the block from 50MB?
07:23
<
arigato >
it's "test_ffi_gc_size*" at a few places
07:23
<
arigato >
I'm fine with skipping, maybe everywhere apart from Linux Intel
07:23
<
arigato >
it should test a general algorithm that is not platform-dependent
07:24
<
mattip >
can I do that without touching upstream cffi, only on pypy?
07:24
<
arigato >
not easily
07:24
<
arigato >
but also, upstream cffi has the same problem on CPython, e.g. on low-mem ARM boards
07:25
<
mattip >
do you want a pull request to upstream, or is it trivial for you to do?
07:26
* mattip
checking that the pypy-c exe on windows is /LARGEADDRESSAWARE
07:28
<
arigato >
I can do it
07:32
<
mattip >
thanks. nightlies are now produced with /LARGEADDRESSAWARE, so 2GB should not be a limit on win32 -A tests
07:32
<
mattip >
I will keep digging on win32
07:32
<
arigato >
no clue then
07:36
<
mattip >
ahh, it may indeed be simply exceeding 1hr in testing, which is the timeout limit
07:36
<
kenaan >
arigo cffi/cffi 72b862bbb88e /testing/: Only run the memory-intensive tests on Linux x86 or x64 machines.
07:37
<
kenaan >
arigo default 8de1edd0e447 /pypy/module/test_lib_pypy/cffi_tests/: import cffi/72b862bbb88e
07:38
<
arigato >
done, we'll see
07:40
<
mattip >
it starts a set of tests 11:09:53 starting module/test_lib_pypy [68 started in total]
07:41
<
mattip >
then timeouts in module\test_lib_pypy\cffi_tests\cffi0\test_vgen.py
07:41
<
mattip >
then restarts 12:09:54 starting module/test_lib_pypy/cffi_tests [69 started in total]
07:42
<
mattip >
again times out in the same place
07:42
<
mattip >
then restarts 13:09:56 starting module/test_lib_pypy/cffi_tests/cffi0 [70 started in total]
07:42
<
mattip >
again times out
07:42
<
mattip >
then restarts 14:09:57 starting module/test_lib_pypy/cffi_tests/cffi1 [71 started in total]
07:42
<
arigato >
yes, test_vgen runs test_ffi_gc_size*
07:43
<
arigato >
and cffi1's test_verify1 too
07:43
<
mattip >
so pytest catches the timeout and restarts moving on in the test suite?
07:45
realitix has joined #pypy
07:49
rokujyouhitoma has joined #pypy
07:49
<
mattip >
cool, so now skipped on win32 too, thanks again
07:52
forgottenone has quit [Ping timeout: 240 seconds]
07:53
rokujyouhitoma has quit [Ping timeout: 255 seconds]
08:03
kenaan has quit [Read error: Connection reset by peer]
08:24
cloudyplain has joined #pypy
08:31
arigato has quit [Ping timeout: 252 seconds]
08:32
arigato has joined #pypy
08:34
arigato has quit [Client Quit]
08:36
cloudyplain has quit [Remote host closed the connection]
08:37
cloudyplain has joined #pypy
08:50
rokujyouhitoma has joined #pypy
08:50
exarkun has quit [Ping timeout: 240 seconds]
08:51
exarkun has joined #pypy
08:51
cstratak has joined #pypy
08:54
rokujyouhitoma has quit [Ping timeout: 260 seconds]
09:04
antocuni has joined #pypy
09:29
asmeurer_ has quit [Quit: asmeurer_]
09:32
arigato has joined #pypy
09:39
<
mattip >
after spending some time trying to get vmprof to compile on win32, I admit defeat
09:40
<
mattip >
does anyone use it on cpython windows?
09:42
kenaan has joined #pypy
09:42
<
kenaan >
mattip default 00da64c1290f /pypy/module/_vmprof/: try harder to skip _vmprof tests on win32
09:53
marr has joined #pypy
10:09
antocuni has quit [Ping timeout: 264 seconds]
10:24
marr has quit [Ping timeout: 248 seconds]
10:30
cloudyplain has quit [Remote host closed the connection]
10:35
cloudyplain has joined #pypy
10:38
Hasimir has quit [Read error: Connection reset by peer]
10:39
TheAdversary has quit [Disconnected by services]
10:40
cloudyplain has quit [Ping timeout: 246 seconds]
10:40
cloudyplain has joined #pypy
10:40
TheAdversary has joined #pypy
10:41
Hasimir has joined #pypy
10:42
Hasimir has quit [Remote host closed the connection]
10:44
Hasimir has joined #pypy
10:53
cloudyplain has quit [Remote host closed the connection]
10:59
cloudyplain has joined #pypy
11:04
cloudyplain has quit [Ping timeout: 240 seconds]
11:36
arigato has quit [Quit: Leaving]
12:10
exarkun has quit [Ping timeout: 260 seconds]
12:11
exarkun has joined #pypy
12:20
antocuni has joined #pypy
12:39
arigato has joined #pypy
12:39
<
arigato >
ronan: hi
12:45
arigato has quit [Quit: Leaving]
12:47
realitix has quit [Ping timeout: 264 seconds]
13:02
adamholmberg has joined #pypy
13:08
raynold has quit [Quit: Connection closed for inactivity]
13:17
jcea has quit [Ping timeout: 255 seconds]
13:17
mattip has quit [Ping timeout: 264 seconds]
13:18
jcea has joined #pypy
13:19
mattip has joined #pypy
13:26
jcea has quit [Ping timeout: 240 seconds]
13:30
tormoz has joined #pypy
13:34
marr has joined #pypy
13:40
jcea has joined #pypy
13:42
cstratak has quit [Quit: Leaving]
13:47
cstratak has joined #pypy
13:50
exarkun has quit [Ping timeout: 248 seconds]
13:51
exarkun has joined #pypy
13:55
cstratak has quit [Quit: Leaving]
13:56
cstratak has joined #pypy
14:01
Rhy0lite has joined #pypy
14:24
cstratak has quit [Remote host closed the connection]
14:25
cstratak has joined #pypy
14:30
headcase has joined #pypy
14:37
<
kenaan >
mattip default 6a339c39b5eb /pypy/module/cpyext/test/test_eval.py: fix test to pass on win32
14:40
oberstet has joined #pypy
14:53
oberstet has quit [Ping timeout: 264 seconds]
14:57
yuyichao_ has quit [Ping timeout: 248 seconds]
15:04
Rhy0lite has quit [Quit: Leaving]
15:07
Rhy0lite has joined #pypy
15:12
yuyichao_ has joined #pypy
15:14
Rhy0lite has quit [Ping timeout: 240 seconds]
15:14
Rhy0lite has joined #pypy
15:21
cstratak has quit [Quit: Leaving]
15:26
tbodt has joined #pypy
15:30
exarkun has quit [Ping timeout: 246 seconds]
15:31
exarkun has joined #pypy
15:39
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:45
lritter has joined #pypy
15:53
tormoz has quit [Remote host closed the connection]
15:56
tormoz has joined #pypy
15:58
tbodt has joined #pypy
16:09
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:19
tbodt has joined #pypy
16:25
headcase has quit [Remote host closed the connection]
16:27
tormoz has quit [Remote host closed the connection]
16:29
tormoz has joined #pypy
16:32
forgottenone has joined #pypy
16:50
raynold has joined #pypy
16:51
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:56
tbodt has joined #pypy
16:59
antocuni has quit [Ping timeout: 240 seconds]
17:00
asmeurer_ has joined #pypy
17:09
exarkun has quit [Ping timeout: 248 seconds]
17:10
exarkun has joined #pypy
17:39
adamholmberg has quit [Remote host closed the connection]
17:51
adamholmberg has joined #pypy
17:51
tormoz has quit [Read error: Connection reset by peer]
17:53
tormoz has joined #pypy
17:59
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:05
adamholmberg has quit [Remote host closed the connection]
18:11
adamholmberg has joined #pypy
18:17
jamesaxl has joined #pypy
18:21
tbodt has joined #pypy
18:33
<
kenaan >
rlamy py3.5 36d12b5e3f5a /pypy/module/cpyext/test/test_exception.py: Save and restore sys.exc_info() in the test, like real code (Cython) does
18:33
<
kenaan >
rlamy py3.5 eb4262e7b726 /pypy/module/cpyext/pyerrors.py: Do implicit chaining in PyErr_SetObject()
18:41
forgottenone has quit [Quit: Konversation terminated!]
18:49
exarkun has quit [Ping timeout: 240 seconds]
18:50
exarkun has joined #pypy
18:53
jamesaxl has quit [Quit: WeeChat 1.8]
18:55
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:04
marky1991 has quit [Remote host closed the connection]
19:05
marky1991 has joined #pypy
19:05
tbodt has joined #pypy
19:08
<
mjacob >
mattip: what's the error when compiling vmprof under windows?
19:08
Rhy0lite has quit [Quit: Leaving]
19:08
<
mjacob >
mattip: in the log i only see "Cannot open include file: 'sys/ucontext.h': No such file or directory", which shouldn't be surprising
19:10
marky1991 has quit [Remote host closed the connection]
19:11
marky1991 has joined #pypy
19:11
<
mjacob >
ah, well, the include happens only if HAVE_SYS_UCONTEXT_H is defined, which shouldn't be the case
19:12
<
mjacob >
but it is on all platforms except for openbsd
19:19
kipras`away is now known as kipras
20:02
tbodt has quit [Read error: Connection reset by peer]
20:02
tbodt has joined #pypy
20:31
exarkun has quit [Ping timeout: 246 seconds]
20:32
exarkun has joined #pypy
20:46
marky1991 has quit [Ping timeout: 260 seconds]
20:50
mattip_away has joined #pypy
20:51
<
mattip_away >
mjacob: that is the easy error to fix, after that one there are more
20:52
<
mjacob >
mattip_away: is there a way for me to look at these errors? i can only see that error
20:53
<
mattip_away >
If you enable the rvmprof tests (look in the __init__.py) and run them on windows
20:54
<
mattip_away >
they may show up on the github/vmprof/vmpro-python repo as well but I didn't try that
20:56
<
mattip_away >
aparently there are windows 10 vm images with a limited lifetime you can get from Microsoft for free somewhere
20:59
* mattip_away
off, zzz
20:59
mattip_away has left #pypy [#pypy]
21:04
altendky has quit [Quit: Connection closed for inactivity]
21:13
lritter has quit [Remote host closed the connection]
21:14
lritter has joined #pypy
21:30
adamholmberg has quit [Remote host closed the connection]
21:32
adamholmberg has joined #pypy
21:34
adamholmberg has quit [Remote host closed the connection]
21:40
nimaje1 has joined #pypy
21:40
nimaje1 is now known as nimaje
21:40
nimaje has quit [Killed (barjavel.freenode.net (Nickname regained by services))]
21:55
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:59
rokujyouhitoma has joined #pypy
22:02
tbodt has joined #pypy
22:03
rokujyouhitoma has quit [Ping timeout: 240 seconds]
22:09
exarkun has quit [Ping timeout: 240 seconds]
22:11
exarkun has joined #pypy
22:16
kipras is now known as kipras`away
22:23
lritter_ has joined #pypy
22:24
lritter has quit [Ping timeout: 240 seconds]
23:00
rokujyouhitoma has joined #pypy
23:03
marr has quit [Ping timeout: 240 seconds]
23:04
rokujyouhitoma has quit [Ping timeout: 240 seconds]
23:11
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:15
tbodt has joined #pypy
23:55
yuyichao_ has quit [Ping timeout: 240 seconds]