Commit Graph

73890 Commits

Author SHA1 Message Date
Eric Sagnes
f22aefbba0 vips: 8.0.2 -> 8.1.1 2015-12-15 03:46:35 +09:00
aszlig
90997daab6
Merge branch 'fix-nixos-test-failures'
This fixes #10828 by removing the msize option and also disabling the
writeback cache for the root file system of the test machines.

I've tested this across 5 evaluations on my Hydra, where I run tests for
specific machine configurations:

https://headcounter.org/hydra/eval/304437?filter=tests
https://headcounter.org/hydra/eval/304438?filter=tests
https://headcounter.org/hydra/eval/304439?filter=tests
https://headcounter.org/hydra/eval/304440?filter=tests
https://headcounter.org/hydra/eval/304441?filter=tests

So to summarize on the test failures:

Eval    Test failures
304437  quake3, virtualbox
304438
304439  virtualbox
304440  virtualbox
304441

Both the quake3 and virtualbox test failures are unrelated to this merge
and I didn't have to cancel or restart any other jobs. The only jobs I
really had to cancel were the virtualbox jobs, so we no longer should
have "hanging" jobs in the queue due to page allocation failures of the
9p shares.

This is in controst to every evaluation before 304437, where I needed to
constantly restart VM tests.

Thanks a lot to @wizeman for finding the original issue and to
@domenkozar and @lethalman for testing and additional findings (such as
the issue with the cache option).
2015-12-14 19:31:48 +01:00
Domen Kožar
f4756c5e73 Merge pull request #11697 from mkovacs/add-python-pyrr
pythonPackages.pyrr: init at 0.7.0
2015-12-14 19:02:37 +01:00
Mate Kovacs
7e1ce60869 pythonPackages.pyrr: init at 0.7.0 2015-12-14 10:00:24 -08:00
Eric Sagnes
a77569fd97 jumanji: fixed source 2015-12-15 02:46:04 +09:00
Robert Helgesson
268102ce2a units: add readline dependency
The dependency on `readline` is for tab-completion support. This commit
also enables tests and adds meta information.
2015-12-14 18:34:54 +01:00
Simon Vandel Sillesen
f7e2f8844d sundtek: 2015-09-07 -> 2015-12-12 2015-12-14 18:01:59 +01:00
aszlig
00934bb908
nixos/tests: Revert setting min_free_kbytes
This reverts commit 02b568414d.

With a5bc11f and 6353f58 in place, we really don't need this anymore.

After running about 500 VM tests on my Hydra, it still didn't improve
very much.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-14 17:40:28 +01:00
Frederik Rietdijk
5e3d2b83a2 python odo: 0.3.3 -> 0.3.4 and fix tests 2015-12-14 17:38:33 +01:00
Frederik Rietdijk
556e968924 python blaze: update inputs and fix tests 2015-12-14 17:38:08 +01:00
Frederik Rietdijk
1298fa443d python pandas: use sqlalchemy_1_0 2015-12-14 17:37:13 +01:00
Frederik Rietdijk
e6a4acb241 python sqlalchemy: 1.0.9 -> 1.1.10 2015-12-14 17:36:43 +01:00
aszlig
6353f580f9
nixos/qemu-vm: Disable cache for $NIX_DISK_IMAGE
As @domenkozar noted in #10828, cache=writeback seems to do more harm
than good:

https://github.com/NixOS/nixpkgs/issues/10828#issuecomment-164426821

He has tested it using the openstack NixOS tests and found that
cache=none significantly improves startup performance.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-14 17:36:22 +01:00
aszlig
a5bc11f9eb
nixos/vm-tests: Remove msize mount option
This seems to be the root cause of the random page allocation failures
and @wizeman did a very good job on not only finding the root problem
but also giving a detailed explanation of it in #10828.

Here is an excerpt:

  The problem here is that the kernel is trying to allocate a contiguous
  section of 2^7=128 pages, which is 512 KB. This is way too much:
  kernel pages tend to get fragmented over time and kernel developers
  often go to great lengths to try allocating at most only 1 contiguous
  page at a time whenever they can.

  From the error message, it looks like the culprit is unionfs, but this
  is misleading: unionfs is the name of the userspace process that was
  running when the system ran out of memory, but it wasn't unionfs who
  was allocating the memory: it was the kernel; specifically it was the
  v9fs_dir_readdir_dotl() function, which is the code for handling the
  readdir() function in the 9p filesystem (the filesystem that is used
  to share a directory structure between a qemu host and its VM).

  If you look at the code, here's what it's doing at the moment it tries
  to allocate memory:

    buflen = fid->clnt->msize - P9_IOHDRSZ;

    rdir = v9fs_alloc_rdir_buf(file, buflen);

  If you look into v9fs_alloc_rdir_buf(), you will see that it will try
  to allocate a contiguous buffer of memory (using kzalloc(), which is a
  wrapper around kmalloc()) of size buflen + 8 bytes or so.

  So in reality, this code actually allocates a buffer of size
  proportional to fid->clnt->msize. What is this msize? If you follow
  the definition of the structures, you will see that it's the
  negotiated buffer transfer size between 9p client and 9p server. On
  the client side, it can be controlled with the msize mount option.

  What this all means is that, the reason for running out of memory is
  that the code (which we can't easily change) tries to allocate a
  contiguous buffer of size more or less equal to "negotiated 9p
  protocol buffer size", which seems to be way too big (in our NixOS
  tests, at least).

After that initial finding, @lethalman tested the gnome3 gdm test
without setting the msize parameter at all and it seems to have resolved
the problem.

The reason why I'm committing this without testing against all of the
NixOS VM test is basically that I think we can only go better but not
worse than the current state.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-14 17:26:24 +01:00
Kevin Cox
2f26b82411 Remove PATH assumption from fhs-userenv.
Previously is was assumed that bash was in the path when calling the
environment setup script. This changes all of the references of bash to
be absolute paths so that the user doesn't have to worry about the
environment they call it with.
2015-12-14 11:14:53 -05:00
Domen Kožar
9688c39709 Merge pull request #11702 from ericsagnes/udevil-patch
udevil: added patch
2015-12-14 16:46:26 +01:00
Daniel Peebles
5caa62dea3 Merge pull request #11689 from sigma/fix/adv_cmds
adv_cmds: fix typo in file name
2015-12-14 09:40:03 -05:00
Jakob Gillich
d241354dcd mopidy: 1.0.5 -> 1.1.1 2015-12-14 14:38:58 +01:00
Jakob Gillich
872d0be1a0 mopidy-gmusic: init at 1.0.0 2015-12-14 14:38:58 +01:00
Jakob Gillich
9571740b1b python-packages: gmusicapi: 4.0.0 -> 7.0.0 2015-12-14 14:38:58 +01:00
Jakob Gillich
2f41c41f95 python-packages: gspoauth: init at 0.0.4 2015-12-14 14:38:58 +01:00
Jakob Gillich
686f1ff924 python-packages: MechanicalSoup: init at 0.4.0 2015-12-14 14:38:58 +01:00
Eelco Dolstra
1ae8f0f0f7 Merge pull request #11675 from abbradar/flashplayer-archive
flashplayer: cleanup, use archive as a source
2015-12-14 13:56:20 +01:00
Eelco Dolstra
a8260e04ad Merge pull request #11655 from lancelotsix/update_gdb
pkgs.gdb: 7.10 -> 7.10.1
2015-12-14 13:55:03 +01:00
Damien Cassou
b31e2aa8c8 Merge pull request #11703 from ericsagnes/signing-party
signing-party: 2.0 -> 2.1
2015-12-14 13:16:05 +01:00
Eric Sagnes
b619983354 signing-party: 2.0 -> 2.1 2015-12-14 21:05:25 +09:00
Eric Sagnes
b22725847d udevil: added patch 2015-12-14 20:49:14 +09:00
Jascha Geerds
7b82e5b2e8 Merge pull request #11700 from magnetophon/khal-master
khal: update 0.6.0->0.7.0
2015-12-14 12:30:37 +01:00
Domen Kožar
59e33d42e4 Merge pull request #11699 from luispedro/add_mahotas
Add mahotas & imread
2015-12-14 11:29:43 +01:00
Luis Pedro Coelho
a77a8e3ca6 python.mahotas: init at 1.4.0
This is a computer vision package for Python based on numpy
2015-12-14 11:22:47 +01:00
Arseniy Seroka
fcf88282f9 Merge pull request #11549 from jgillich/syslinux
syslinux: fix missing mtools dependency
2015-12-14 13:21:31 +03:00
Luis Pedro Coelho
5ff41b047a python.imread: init at 0.5.1
This is a package to read image files into numpy arrays.
2015-12-14 11:19:11 +01:00
Arseniy Seroka
93c24d39b2 Merge pull request #11695 from badi/google-musicmanager
google-musicmanager: beta_1.0.221.5230-r0 -> beta_1.0.243.1116-r0
2015-12-14 13:17:27 +03:00
Oliver Charles
30a99f3185 Merge pull request #11691 from projedi/fish-darwin-hostname-fix
fish: Use /bin/hostname on darwin. Fixes #11012.
2015-12-14 10:00:48 +00:00
Pascal Wittmann
84c3b5f71f Merge pull request #11073 from mogorman/geda_fix
geda: refdes_renum called /usr/bin/perl
2015-12-14 07:56:41 +01:00
Pascal Wittmann
88fc08c367 Merge pull request #11693 from sigma/fix/zile-darwin
zile: build on unix
2015-12-14 07:52:47 +01:00
Pascal Wittmann
393f03d5a9 Merge pull request #11694 from badi/super-user-spark
super-user-spark: 0.1.0.0 -> 0.2.0.3
2015-12-14 07:51:15 +01:00
Matthew O'Gorman
f076a0867f
geda: refdes_renum called /usr/bin/perl 2015-12-14 00:04:12 -05:00
Badi' Abdul-Wahid
a8d43d6950 google-musicmanager: beta_1.0.221.5230-r0 -> beta_1.0.243.1116-r0 2015-12-13 20:46:30 -05:00
Badi' Abdul-Wahid
618414ff46 super-user-spark: 0.1.0.0 -> 0.2.0.3 2015-12-13 20:26:09 -05:00
Bart Brouns
7349f406ff khal: update 0.6.0->0.7.0 2015-12-14 02:05:01 +01:00
Yann Hodique
38161e8372 zile: build on unix
zile works fine on non-linux unix systems
2015-12-13 15:06:46 -08:00
Yann Hodique
9a40af11c3 corkscrew: fix darwin build
corkscrew ships outdated versions of config.{sub,guess}. Point to
automake version instead.
2015-12-13 14:31:00 -08:00
Aristid Breitkreuz
10b8c8496a Merge pull request #11575 from rvlander/fix_container_manual
nixos-manual: fix incomplete container doc
2015-12-13 23:02:54 +01:00
Matej Cotman
0256de74fb Merge pull request #11215 from ArdaXi/efl-without-vlc
e19.efl: remove dependency on VLC
2015-12-13 22:56:14 +01:00
Aristid Breitkreuz
f217579ca6 Merge pull request #11680 from mayflower/fix/claws-mail-fancy
claws-mail: Fix fancy plugin
2015-12-13 22:52:23 +01:00
Aristid Breitkreuz
42952942bc Merge pull request #11649 from mayflower/claws-enable-pgp
[RFC] claws-mail: enable PGP plugin by default
2015-12-13 22:51:03 +01:00
Arseniy Seroka
7bb418e02c Merge pull request #11681 from jgillich/upnpd-fw
miniupnpd: firewall config
2015-12-13 23:03:11 +03:00
Yann Hodique
000fe58769 adv_cmds: fix typo in file name
adv_cmds archive actually contains BSDmakefile, not BSDMakefile. While
that probably doesn't matter in default installations, it does matter
for case-sensitive filesystems.
2015-12-13 12:02:42 -08:00
Alexander Shabalin
020a09adbb fish: Use /bin/hostname on darwin. Fixes #11012. 2015-12-13 22:52:35 +03:00