redmine | 1 Oct 2008 05:34
Favicon

[Puppet - Bug #1622] (Ready for Checkin) User creation requires groups to exist

Issue #1622 has been updated by luke.
  • Status changed from Accepted to Ready for Checkin
  • Assigned to changed from luke to jamtur01

Fixed in the tickets/0.24.x/1622 branch in my repo.

There are some other changes in this branch.

Bug #1622: User creation requires groups to exist

  • Author: luke
  • Status: Ready for Checkin
  • Priority: High
  • Assigned to: jamtur01
  • Category: user
  • Target version: 0.24.6
  • Complexity: Unknown
  • Affected version: 0.24.4
  • Keywords:
When trying to create both a user and its group:
group { bar: ensure => present } user { bar: gid => bar, ensure => present }
It fails during munging:
err: Could not create bar: Parameter gid failed: Munging failed for value ["bar"] in class gid: Did not get id Parameter gid failed: Munging failed for value ["bar"] in class gid: Did not get id

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to puppet-bugs <at> googlegroups.com
To unsubscribe from this group, send email to puppet-bugs+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

redmine | 1 Oct 2008 07:08
Favicon

[Puppet - Bug #791] (Ready for Testing) Users and groups created mid-transaction are not found

Issue #791 has been updated by luke.
  • Status changed from Accepted to Ready for Testing
  • Assigned to changed from luke to jamtur01

I think this is fixed in the tickets/0.24.x/791 branch in my repo. It works on my machine.

Bug #791: Users and groups created mid-transaction are not found

  • Author: porridge
  • Status: Ready for Testing
  • Priority: Normal
  • Assigned to: jamtur01
  • Category: user
  • Target version: 0.24.6
  • Complexity: Medium
  • Patch: None
  • Affected version: 0.24.4
  • Keywords:

I recently noticed the following:

Aug 23 18:09:35 extdns03 puppetdr987: [ID 702911 daemon.error] (//extdns03/common_foglight/foglight_agents_setup/Exec[/opt/foglight/script/setup.sh]) Failed to call refresh on Exec[/opt/foglight/script/setup.sh]: Invalid user: foglight

While I'm reasonably sure that the user did exist at that point. So after long and painful debugging I did the following:

extdns01# RUBYLIB=. irb irb(main):001:0> require 'puppet' => true irb(main):002:0> Puppet::Util.uid('boom') => nil [ Now, in a different window, ran "adduser boom" ] irb(main):003:0> Puppet::Util.uid('boom') => nil irb(main):004:0>

I guess puppet should flush the uid/gid cache on any user/group operation, or possibly even every time.

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to puppet-bugs <at> googlegroups.com
To unsubscribe from this group, send email to puppet-bugs+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

redmine | 1 Oct 2008 23:31
Favicon

[Puppet - Bug #1622] (Closed) User creation requires groups to exist

Issue #1622 has been updated by jamtur01.
  • Status changed from Ready for Checkin to Closed

Pushed.

Bug #1622: User creation requires groups to exist

  • Author: luke
  • Status: Closed
  • Priority: High
  • Assigned to: jamtur01
  • Category: user
  • Target version: 0.24.6
  • Complexity: Unknown
  • Affected version: 0.24.4
  • Keywords:
When trying to create both a user and its group:
group { bar: ensure => present } user { bar: gid => bar, ensure => present }
It fails during munging:
err: Could not create bar: Parameter gid failed: Munging failed for value ["bar"] in class gid: Did not get id Parameter gid failed: Munging failed for value ["bar"] in class gid: Did not get id

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to puppet-bugs <at> googlegroups.com
To unsubscribe from this group, send email to puppet-bugs+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

redmine | 1 Oct 2008 23:36
Favicon

[Puppet - Bug #791] (Closed) Users and groups created mid-transaction are not found

Issue #791 has been updated by jamtur01.
  • Status changed from Ready for Testing to Closed

Pushed in commit:"862077513570c996e9124743369c9af92485151f" in branch 0.24.x

Bug #791: Users and groups created mid-transaction are not found

  • Author: porridge
  • Status: Closed
  • Priority: Normal
  • Assigned to: jamtur01
  • Category: user
  • Target version: 0.24.6
  • Complexity: Medium
  • Patch: None
  • Affected version: 0.24.4
  • Keywords:

I recently noticed the following:

Aug 23 18:09:35 extdns03 puppetdr987: [ID 702911 daemon.error] (//extdns03/common_foglight/foglight_agents_setup/Exec[/opt/foglight/script/setup.sh]) Failed to call refresh on Exec[/opt/foglight/script/setup.sh]: Invalid user: foglight

While I'm reasonably sure that the user did exist at that point. So after long and painful debugging I did the following:

extdns01# RUBYLIB=. irb irb(main):001:0> require 'puppet' => true irb(main):002:0> Puppet::Util.uid('boom') => nil [ Now, in a different window, ran "adduser boom" ] irb(main):003:0> Puppet::Util.uid('boom') => nil irb(main):004:0>

I guess puppet should flush the uid/gid cache on any user/group operation, or possibly even every time.

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to puppet-bugs <at> googlegroups.com
To unsubscribe from this group, send email to puppet-bugs+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

redmine | 1 Oct 2008 23:41
Favicon

[Puppet - Bug #1586] (Closed) Specifying "fully qualified" package names in Gentoo

Issue #1586 has been updated by jamtur01.
  • Status changed from Needs design decision to Closed

Pushed in commit:"93f952a210ff6099c04f8c0157d79e338b901df5" in branch 0.24.x

Bug #1586: Specifying "fully qualified" package names in Gentoo

  • Author: bellman <at> nsc.liu.se
  • Status: Closed
  • Priority: Normal
  • Assigned to: luke
  • Category: Gentoo
  • Target version: 0.24.6
  • Complexity: Unknown
  • Affected version: 0.24.4
  • Keywords:

In Gentoo, you can normally specify package names as either an
unqualified name, e.g. "par", as long as that is unambiguous, or
as a qualified name with the category, e.g. "app-text/par".
However, the package type in Puppet does not support that syntax.
Instead you must use the special parameter 'category'. I.e, you
can't do:

package { "app-text/par": ensure => installed; }

but have to write

package { "par": category => "app-text", ensure => installed; }

Being able to use the normal Gentoo syntax for names would be
more natural and convenient. It would for example make it possible
to pass around qualified package names in variables, or specifying
lists of packages to the package type. If I for example want to
do something like this:

$pkglist = [ "app-text/par", "dev-haskell/parsec" ]
package { $pkglist: ensure => installed; }

I can't do that. (In the above examples, I have deliberately
chosen packages that are ambiguous when not specifying the
category, by the way.)

The attached patch makes it possible to specify the package
category as part of the name. It is still possible to use
unqualified names, or use the category parameter.

Specifying a category both as part of the name and with the
category parameter leads to an error: "No package found with the
specified name [app-text/app-text/par]". The error message is
perhaps not the best, but you would get the exact same message
without it.

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to puppet-bugs <at> googlegroups.com
To unsubscribe from this group, send email to puppet-bugs+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

redmine | 2 Oct 2008 01:15
Favicon

[Puppet - Feature #1624] (Accepted) Add RBAC role support to user provider for solaris

Issue #1624 has been reported by andrew.

Feature #1624: Add RBAC role support to user provider for solaris

  • Author: andrew
  • Status: Accepted
  • Priority: Normal
  • Assigned to: andrew
  • Category:
  • Target version:
  • Complexity: Unknown
  • Affected version: 0.24.5
  • Keywords:

Work sponsored by Sun

Add an ensure = role to the ensure property in user which depends on manage_solaris_rbac
Add roles parameter to manage roles similar to groups

Utility to parse /etc/user_attr and extract role info

user_role_add.rb user provider to manage users and roles on solaris

Language Syntax
user{foo: ensure => role, roles => ["foo","bar"]}

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to puppet-bugs <at> googlegroups.com
To unsubscribe from this group, send email to puppet-bugs+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

redmine | 2 Oct 2008 02:27
Favicon

[Puppet - Feature #1624] (Ready for Checkin) Add RBAC role support to user provider for solaris

Issue #1624 has been updated by andrew.
  • Status changed from Accepted to Ready for Checkin
  • Assigned to changed from andrew to jamtur01

reviewed once by luke
but pending code review on list

on github(littleidea) ticket/0.24.x/1624

Feature #1624: Add RBAC role support to user provider for solaris

  • Author: andrew
  • Status: Ready for Checkin
  • Priority: Normal
  • Assigned to: jamtur01
  • Category:
  • Target version:
  • Complexity: Unknown
  • Affected version: 0.24.5
  • Keywords:

Work sponsored by Sun

Add an ensure = role to the ensure property in user which depends on manage_solaris_rbac
Add roles parameter to manage roles similar to groups

Utility to parse /etc/user_attr and extract role info

user_role_add.rb user provider to manage users and roles on solaris

Language Syntax
user{foo: ensure => role, roles => ["foo","bar"]}

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to puppet-bugs <at> googlegroups.com
To unsubscribe from this group, send email to puppet-bugs+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

redmine | 2 Oct 2008 02:37
Favicon

[Puppet - Feature #1624] (Accepted) Add RBAC role support to user provider for solaris

Issue #1624 has been updated by andrew.
  • Status changed from Ready for Checkin to Accepted

Hold the phone, merging conflicts

Feature #1624: Add RBAC role support to user provider for solaris

  • Author: andrew
  • Status: Accepted
  • Priority: Normal
  • Assigned to: jamtur01
  • Category:
  • Target version:
  • Complexity: Unknown
  • Affected version: 0.24.5
  • Keywords:

Work sponsored by Sun

Add an ensure = role to the ensure property in user which depends on manage_solaris_rbac
Add roles parameter to manage roles similar to groups

Utility to parse /etc/user_attr and extract role info

user_role_add.rb user provider to manage users and roles on solaris

Language Syntax
user{foo: ensure => role, roles => ["foo","bar"]}

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to puppet-bugs <at> googlegroups.com
To unsubscribe from this group, send email to puppet-bugs+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

redmine | 2 Oct 2008 02:52
Favicon

[Puppet - Bug #1248] (Closed) 20 tests fail without rails

Issue #1248 has been updated by luke.
  • Status changed from Accepted to Closed
  • Affected version set to 0.24.4

This doesn't seem to happen now.

Bug #1248: 20 tests fail without rails

  • Author: porridge
  • Status: Closed
  • Priority: Normal
  • Assigned to: luke
  • Category: testing
  • Target version: 0.25.0
  • Complexity: Unknown
  • Patch: None
  • Affected version: 0.24.4
  • Keywords:

Actually I'm just guessing these all are about rails...

NameError in 'Puppet::Rails when initializing any connection should use settings' uninitialized constant Logger /home/porridge/Desktop/coding/puppet-git/spec/unit/rails.rb:12: NameError in 'Puppet::Rails when initializing any connection should set up a logger with the appropriate Rails log file' uninitialized constant Logger /home/porridge/Desktop/coding/puppet-git/spec/unit/rails.rb:12: NameError in 'Puppet::Rails when initializing any connection should set the log level to whatever the value is in the settings' uninitialized constant Logger /home/porridge/Desktop/coding/puppet-git/spec/unit/rails.rb:12: NameError in 'Puppet::Rails when initializing any connection should set ActiveRecord::Base.allow_concurrency' uninitialized constant Logger /home/porridge/Desktop/coding/puppet-git/spec/unit/rails.rb:12: NameError in 'Puppet::Rails when initializing any connection should call ActiveRecord::Base.verify_active_connections!' uninitialized constant Logger /home/porridge/Desktop/coding/puppet-git/spec/unit/rails.rb:12: NameError in 'Puppet::Rails when initializing any connection should call ActiveRecord::Base.establish_connection with database_arguments' uninitialized constant Logger /home/porridge/Desktop/coding/puppet-git/spec/unit/rails.rb:12: NameError in 'Puppet::Parser::Compiler Puppet::Parser::Compiler when storing compiled resources should store the resources' uninitialized constant Puppet::Parser::Compiler::ActiveRecord /home/porridge/Desktop/coding/puppet-git/lib/puppet/parser/compiler.rb:433:in <at> store' /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/compiler.rb:463:in <at> send' /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/compiler.rb:463: NameError in 'Puppet::Parser::Compiler Puppet::Parser::Compiler when storing compiled resources should store to active_record' uninitialized constant Puppet::Rails::Host /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/compiler.rb:468: NameError in 'Puppet::Parser::Collector when collecting exported resources should use initialize the Rails support if ActiveRecord is not connected' uninitialized constant ActiveRecord /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:222: NameError in 'Puppet::Parser::Collector when collecting exported resources should return all matching resources from the current compile' uninitialized constant ActiveRecord /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:212:in <at> stub_rails' /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:231: NameError in 'Puppet::Parser::Collector when collecting exported resources should mark all returned resources as not virtual'uninitialized constant ActiveRecord /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:212:in <at> stub_rails' /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:247: NameError in 'Puppet::Parser::Collector when collecting exported resources should convert all found resources into parser resources' uninitialized constant ActiveRecord /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:212:in <at> stub_rails' /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:260: NameError in 'Puppet::Parser::Collector when collecting exported resources should store converted resources in the compile's resource list' uninitialized constant ActiveRecord /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:212:in <at> stub_rails' /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:280: NameError in 'Puppet::Parser::Collector when collecting exported resources should mark resources collected from the database as not exported' uninitialized constant ActiveRecord /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:212:in <at> stub_rails' /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:301: NameError in 'Puppet::Parser::Collector when collecting exported resources should fail if an equivalent resource already exists in the compile' uninitialized constant ActiveRecord /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:212:in <at> stub_rails' /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:321: NameError in 'Puppet::Parser::Collector when collecting exported resources should ignore exported resources that match already-collected resources' uninitialized constant ActiveRecord /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:212:in <at> stub_rails' /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:340: NameError in 'Puppet::Parser::Collector when building its ActiveRecord query for collecting exported resources should exclude all resources from the host if ActiveRecord contains information for this host' uninitialized constant ActiveRecord /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:373: NameError in 'Puppet::Parser::Collector when building its ActiveRecord query for collecting exported resources should return parameter names and parameter values when querying ActiveRecord' uninitialized constant ActiveRecord /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:373: NameError in 'Puppet::Parser::Collector when building its ActiveRecord query for collecting exported resources should only search for exported resources with the matching type' uninitialized constant ActiveRecord /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:373: NameError in 'Puppet::Parser::Collector when building its ActiveRecord query for collecting exported resources should include the export query if one is provided' uninitialized constant ActiveRecord /home/porridge/Desktop/coding/puppet-git/spec/unit/parser/collector.rb:373:

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to puppet-bugs <at> googlegroups.com
To unsubscribe from this group, send email to puppet-bugs+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

redmine | 2 Oct 2008 05:22
Favicon

[Puppet - Bug #1592] Unit Test failures on Linux (Debian)

Issue #1592 has been updated by luke.

    Some of these tests are fixed in other commits of mine, but I've fixed the package-related problems in the tickets/0.24.x/1592 branch in my repo.

    I might throw a couple of other fixes in there, too.

    Bug #1592: Unit Test failures on Linux (Debian)

    • Author: jamtur01
    • Status: Accepted
    • Priority: Normal
    • Assigned to: plathrop
    • Category: testing
    • Target version:
    • Complexity: Unknown
    • Affected version: 0.24.5
    • Keywords:

    Attached is a test run with the "perpetually" failing tests - this is run from 0.24.x HEAD at 27f0c7d6.

    debian:/sources/puppet/test# uname -a
    Linux debian 2.6.18-4-686 #1 SMP Wed May 9 23:03:12 UTC 2007 i686 GNU/Linux
    debian:/sources/puppet/test# cat /etc/debian_version
    lenny/sid

    debian:/sources/puppet/test# rake test (in /sources/puppet/test) /usr/bin/ruby1.8 -Ilib:lib:../lib "/sources/puppet/test/lib/rake/puppet_test_loader.rb" "other/relationships.rb" "other/transactions.rb" "other/report.rb" "other/dsl.rb" "other/overrides.rb" "other/provider.rb" "other/events.rb" "other/puppet.rb" "util/log.rb" "util/posixtest.rb" "util/metrics.rb" "util/execution.rb" "util/pidlock.rb" "util/settings.rb" "util/utiltest.rb" "util/features.rb" "util/storage.rb" "util/classgen.rb" "util/autoload.rb" "util/inifile.rb" "util/filetype.rb" "util/subclass_loader.rb" "util/package.rb" "util/fileparsing.rb" "util/instance_loader.rb" "ral/providers/port/parsed.rb" "ral/providers/nameservice.rb" "ral/providers/group.rb" "ral/providers/sshkey/parsed.rb" "ral/providers/provider.rb" "ral/providers/package.rb" "ral/providers/mount/netinfo.rb" "ral/providers/package/aptitude.rb" "ral/providers/package/apt.rb" "ral/providers/package/dpkg.rb" "ral/providers/package/aptrpm.rb" "ral/providers/mailalias/aliases.rb" "ral/providers/parsedfile.rb" "ral/providers/cron/crontab.rb" "ral/providers/host/netinfo.rb" "ral/providers/host/parsed.rb" "ral/providers/user.rb" "ral/providers/user/useradd.rb" "ral/providers/service/debian.rb" "ral/providers/service/base.rb" "ral/type/sshkey.rb" "ral/type/filebucket.rb" "ral/type/basic.rb" "ral/type/zone.rb" "ral/type/service.rb" "ral/type/file/target.rb" "ral/type/exec.rb" "ral/type/filesources.rb" "ral/type/group.rb" "ral/type/port.rb" "ral/type/fileignoresource.rb" "ral/type/resources.rb" "ral/type/host.rb" "ral/type/cron.rb" "ral/type/property.rb" "ral/type/file.rb" "ral/type/parameter.rb" "ral/type/user.rb" "ral/type/tidy.rb" "ral/type/yumrepo.rb" "ral/type/mailalias.rb" "ral/manager/type.rb" "ral/manager/instances.rb" "ral/manager/provider.rb" "ral/manager/attributes.rb" "ral/manager/manager.rb" "network/handler/runner.rb" "network/handler/bucket.rb" "network/handler/ca.rb" "network/handler/report.rb" "network/handler/master.rb" "network/handler/resource.rb" "network/handler/fileserver.rb" "network/handler/handler.rb" "network/rights.rb" "network/client_request.rb" "network/server/webrick.rb" "network/server/mongrel_test.rb" "network/authstore.rb" "network/client/client.rb" "network/client/ca.rb" "network/client/master.rb" "network/client/resource.rb" "network/client/dipper.rb" "network/xmlrpc/client.rb" "network/xmlrpc/server.rb" "network/xmlrpc/processor.rb" "network/xmlrpc/webrick_servlet.rb" "network/authorization.rb" "network/authconfig.rb" "network/daemon.rb" "rails/configuration.rb" "rails/rails.rb" "rails/ast.rb" "rails/railsparameter.rb" "rails/railsresource.rb" "rails/host.rb" "certmgr/ca.rb" "certmgr/inventory.rb" "certmgr/support.rb" "certmgr/certmgr.rb" "language/scope.rb" "language/ast.rb" "language/parser.rb" "language/transportable.rb" "language/resource.rb" "language/ast/resource.rb" "language/ast/variable.rb" "language/ast/resource_reference.rb" "language/ast/selector.rb" "language/ast/casestatement.rb" "language/functions.rb" "language/snippets.rb" "executables/puppetca.rb" "executables/filebucket.rb" "executables/puppetmasterd.rb" "executables/puppetbin.rb" "executables/puppetmodule.rb" "executables/puppetd.rb" "puppet/defaults.rb" "puppet/errortest.rb" "puppet/conffiles.rb" "puppet/tc_suidmanager.rb" You must be a member of more than one group to test transactions Install RRD for metric reporting tests Timed out seeking value for lsbmajdistrelease Timed out seeking value for lsbdistcodename Timed out seeking value for lsbdistrelease Timed out seeking value for lsbrelease Timed out seeking value for lsbdistdescription Loaded suite /sources/puppet/test/lib/rake/puppet_test_loader Started ..E.EEEE..EE.............................................................................../tmp/puppettesting24773/configdir91/ssl/private_keys/debian.lovedthanlost.net.pem: false /tmp/puppettesting24773/configdir91/ssl/private_keys/debian.lovedthanlost.net.pem: false /tmp/puppettesting24773/configdir91/ssl/private_keys/debian.lovedthanlost.net.pem: false /tmp/puppettesting24773/configdir91/ssl/private_keys/DEBIAN.LOVEDTHANLOST.NET.pem: false /tmp/puppettesting24773/configdir91/ssl/private_keys/debian.lovedthanlost.net.pem: false /tmp/puppettesting24773/configdir91/ssl/private_keys/DEBIAN.LOVEDTHANLOST.NET.pem: true .....................................................................................F.............................................................Timed out seeking value for netmask_sit0 ......F...................................F.............................FF......................................................F....................F..................................................................................................................F.......................................................................................................................................................................................................................................................................................................F.................................F............EE.EE. Finished in 879.908584 seconds. 1) Error: test_install(AptPackageProviderTest): NoMethodError: undefined method `transaction=' for #<Puppet::Transaction::Change:0xb643b1a4> ./ral/providers/package/apt.rb:44:in `test_install' ./ral/providers/package/apt.rb:44:in `each' ./ral/providers/package/apt.rb:44:in `test_install' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' 2) Error: test_make_sure_we_purge_if_package_still_has_conffiles(AptPackageProviderTest): NoMethodError: undefined method `transaction=' for #<Puppet::Transaction::Change:0xb63f2e68> ./ral/providers/package/apt.rb:150:in `test_make_sure_we_purge_if_package_still_has_conffiles' ./ral/providers/package/apt.rb:150:in `each' ./ral/providers/package/apt.rb:150:in `test_make_sure_we_purge_if_package_still_has_conffiles' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' 3) Error: test_purge(AptPackageProviderTest): NoMethodError: undefined method `transaction=' for #<Puppet::Transaction::Change:0xb63cf9f4> ./ral/providers/package/apt.rb:76:in `test_purge' ./ral/providers/package/apt.rb:76:in `each' ./ral/providers/package/apt.rb:76:in `test_purge' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' 4) Error: test_install(AptitudePackageProviderTest): NoMethodError: undefined method `transaction=' for #<Puppet::Transaction::Change:0xb639f344> ./ral/providers/package/aptitude.rb:44:in `test_install' ./ral/providers/package/aptitude.rb:43:in `each' ./ral/providers/package/aptitude.rb:43:in `test_install' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' 5) Error: test_purge(AptitudePackageProviderTest): NoMethodError: undefined method `transaction=' for #<Puppet::Transaction::Change:0xb6f346a0> ./ral/providers/package/aptitude.rb:70:in `test_purge' ./ral/providers/package/aptitude.rb:70:in `each' ./ral/providers/package/aptitude.rb:70:in `test_purge' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' 6) Error: test_install(DpkgPackageProviderTest): NoMethodError: undefined method `transaction=' for #<Puppet::Transaction::Change:0xb68f724c> ./ral/providers/package/dpkg.rb:39:in `test_install' ./ral/providers/package/dpkg.rb:39:in `each' ./ral/providers/package/dpkg.rb:39:in `test_install' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' 7) Error: test_purge(DpkgPackageProviderTest): NoMethodError: undefined method `transaction=' for #<Puppet::Transaction::Change:0xb68cbcf0> ./ral/providers/package/dpkg.rb:62:in `test_purge' ./ral/providers/package/dpkg.rb:62:in `each' ./ral/providers/package/dpkg.rb:62:in `test_purge' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' 8) Failure: test_autorequire_owner_and_group(TestFile) [./ral/type/file.rb:1269:in `test_autorequire_owner_and_group' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']: Exception raised: Class: <Puppet::Error> Message: <"Parameter gid failed: Munging failed for value [\"pptestg\"] in class gid: Did not get id"> ---Backtrace--- /sources/puppet/lib/puppet/util/posix.rb:11:in `get_posix_field' /sources/puppet/lib/puppet/util/posix.rb:145:in `gid' /sources/puppet/lib/puppet/type/user.rb:120:in `unsafe_munge' /sources/puppet/lib/puppet/parameter.rb:107:in `munge' /sources/puppet/lib/puppet/property.rb:400:in `should=' /sources/puppet/lib/puppet/property.rb:399:in `collect' /sources/puppet/lib/puppet/property.rb:399:in `should=' /sources/puppet/lib/puppet/property.rb:446:in `value=' /sources/puppet/lib/puppet/util/methodhelper.rb:16:in `send' /sources/puppet/lib/puppet/util/methodhelper.rb:16:in `set_options' /sources/puppet/lib/puppet/util/methodhelper.rb:13:in `each' /sources/puppet/lib/puppet/util/methodhelper.rb:13:in `set_options' /sources/puppet/lib/puppet/parameter.rb:296:in `initialize' /sources/puppet/lib/puppet/property.rb:236:in `initialize' /sources/puppet/lib/puppet/type.rb:593:in `new' /sources/puppet/lib/puppet/type.rb:593:in `newattr' /sources/puppet/lib/puppet/type.rb:529:in `[]=' /sources/puppet/lib/puppet/type.rb:2339:in `initialize' /sources/puppet/lib/puppet/type.rb:2336:in `each' /sources/puppet/lib/puppet/type.rb:2336:in `initialize' /sources/puppet/lib/puppet/type.rb:1119:in `new' /sources/puppet/lib/puppet/type.rb:1119:in `create' ./ral/type/file.rb:1270:in `test_autorequire_owner_and_group' ./ral/type/file.rb:1269:in `test_autorequire_owner_and_group' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' --------------- 9) Failure: test_fileserver_expansion(TestFileServer) [./network/handler/fileserver.rb:997:in `test_fileserver_expansion' ./network/handler/fileserver.rb:985:in `each' ./network/handler/fileserver.rb:985:in `test_fileserver_expansion' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']: Exception raised: Class: <Mocha::ExpectationError> Message: <"#<Mock:0xb511e224>.value(:kernel) - expected calls: 0, actual calls: 1\nSimilar expectations:\n#<Mock:0xb511e224>.value(:ipaddress)\n#<Mock:0xb511e224>.value()\n#<Mock:0xb511e224>.value()\n#<Mock:0xb511e224>.value(:domain)"> ---Backtrace--- (eval):1:in `value' /usr/lib/ruby/1.8/facter/util/ip.rb:28:in `get_interface_value_nonbsd' /usr/lib/ruby/1.8/facter/ipmess.rb:26 /usr/lib/ruby/1.8/facter/util/resolution.rb:112:in `call' /usr/lib/ruby/1.8/facter/util/resolution.rb:112:in `value' /usr/lib/ruby/1.8/timeout.rb:62:in `timeout' /usr/lib/ruby/1.8/facter/util/resolution.rb:110:in `value' /usr/lib/ruby/1.8/facter/util/fact.rb:75:in `value' /usr/lib/ruby/1.8/facter/util/fact.rb:71:in `each' /usr/lib/ruby/1.8/facter/util/fact.rb:71:in `inject' /usr/lib/ruby/1.8/facter/util/fact.rb:71:in `value' /usr/lib/ruby/1.8/facter/util/fact.rb:117:in `searching' /usr/lib/ruby/1.8/facter/util/fact.rb:67:in `value' /usr/lib/ruby/1.8/facter/util/collection.rb:104:in `to_hash' /usr/lib/ruby/1.8/facter/util/collection.rb:103:in `each' /usr/lib/ruby/1.8/facter/util/collection.rb:103:in `inject' /usr/lib/ruby/1.8/facter/util/collection.rb:103:in `to_hash' /usr/lib/ruby/1.8/facter.rb:92:in `send' /usr/lib/ruby/1.8/facter.rb:92:in `to_hash' /sources/puppet/lib/puppet/indirector/facts/facter.rb:61:in `find' /sources/puppet/lib/puppet/indirector/indirection.rb:210:in `find' /sources/puppet/lib/puppet/indirector.rb:49:in `find' /sources/puppet/lib/puppet/node.rb:76:in `fact_merge' /sources/puppet/lib/puppet/indirector/node/plain.rb:16:in `find' /sources/puppet/lib/puppet/indirector/indirection.rb:210:in `find' /sources/puppet/lib/puppet/indirector.rb:49:in `find' /sources/puppet/lib/puppet/network/handler/fileserver.rb:248:in `modules_mount' /sources/puppet/lib/puppet/network/handler/fileserver.rb:397:in `splitpath' /sources/puppet/lib/puppet/network/handler/fileserver.rb:234:in `convert' /sources/puppet/lib/puppet/network/handler/fileserver.rb:131:in `list' ./network/handler/fileserver.rb:998:in `test_fileserver_expansion' ./network/handler/fileserver.rb:997:in `test_fileserver_expansion' ./network/handler/fileserver.rb:985:in `each' ./network/handler/fileserver.rb:985:in `test_fileserver_expansion' --------------- 10) Failure: test_sourcerecurse(TestFileSources) [./ral/type/filesources.rb:295:in `test_sourcerecurse' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']: Exception raised: Class: <Puppet::Error> Message: <"None of the provided sources exist"> ---Backtrace--- /sources/puppet/lib/puppet/type/file.rb:907:in `sourcerecurse' ./ral/type/filesources.rb:296:in `test_sourcerecurse' ./ral/type/filesources.rb:295:in `test_sourcerecurse' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' --------------- 11) Failure: test_duplicateIDs(TestGroupProvider) [./ral/providers/group.rb:219:in `test_duplicateIDs' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']: Exception raised: Class: <NoMethodError> Message: <"undefined method `allowdupe?' for #<#<Class:0xb5001ae4>:0xb5001abc>"> ---Backtrace--- /sources/puppet/lib/puppet/provider/group/groupadd.rb:20:in `addcmd' /sources/puppet/lib/puppet/provider/nameservice.rb:222:in `ensure=' /sources/puppet/lib/puppet/provider/nameservice.rb:182:in `create' ./ral/providers/group.rb:220:in `test_duplicateIDs' ./ral/providers/group.rb:219:in `test_duplicateIDs' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' --------------- 12) Failure: test_mkgroup(TestGroupProvider) [./ral/providers/group.rb:190:in `test_mkgroup' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']: Exception raised: Class: <NoMethodError> Message: <"undefined method `allowdupe?' for #<#<Class:0xb5001ae4>:0xb4feba8c>"> ---Backtrace--- /sources/puppet/lib/puppet/provider/group/groupadd.rb:20:in `addcmd' /sources/puppet/lib/puppet/provider/nameservice.rb:222:in `ensure=' /sources/puppet/lib/puppet/provider/nameservice.rb:182:in `create' ./ral/providers/group.rb:191:in `test_mkgroup' ./ral/providers/group.rb:190:in `test_mkgroup' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' --------------- 13) Failure: test_freshness_is_always_now(TestMaster) [./network/handler/master.rb:28:in `test_freshness_is_always_now' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']: Did not return current time as freshness. <0> expected but was <#<Mock:now1>>. 14) Failure: test_splay(TestMasterClient) [./network/client/master.rb:406:in `test_splay' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']: Splay time was not cached. <nil> is not true. 15) Failure: test_command(TestProvider) [./ral/providers/provider.rb:139:in `test_command' ./ral/providers/provider.rb:107:in `each' ./ral/providers/provider.rb:107:in `test_command' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']: Got a value for missing command. <nil> expected but was <"">. 16) Failure: test_autorequire(TestUser) [./ral/type/user.rb:378:in `test_autorequire' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']: Exception raised: Class: <Puppet::Error> Message: <"Parameter gid failed: Munging failed for value [\"pptestg\"] in class gid: Did not get id"> ---Backtrace--- /sources/puppet/lib/puppet/util/posix.rb:11:in `get_posix_field' /sources/puppet/lib/puppet/util/posix.rb:145:in `gid' /sources/puppet/lib/puppet/type/user.rb:120:in `unsafe_munge' /sources/puppet/lib/puppet/parameter.rb:107:in `munge' /sources/puppet/lib/puppet/property.rb:400:in `should=' /sources/puppet/lib/puppet/property.rb:399:in `collect' /sources/puppet/lib/puppet/property.rb:399:in `should=' /sources/puppet/lib/puppet/property.rb:446:in `value=' /sources/puppet/lib/puppet/util/methodhelper.rb:16:in `send' /sources/puppet/lib/puppet/util/methodhelper.rb:16:in `set_options' /sources/puppet/lib/puppet/util/methodhelper.rb:13:in `each' /sources/puppet/lib/puppet/util/methodhelper.rb:13:in `set_options' /sources/puppet/lib/puppet/parameter.rb:296:in `initialize' /sources/puppet/lib/puppet/property.rb:236:in `initialize' /sources/puppet/lib/puppet/type.rb:593:in `new' /sources/puppet/lib/puppet/type.rb:593:in `newattr' /sources/puppet/lib/puppet/type.rb:529:in `[]=' /sources/puppet/lib/puppet/type.rb:2339:in `initialize' /sources/puppet/lib/puppet/type.rb:2336:in `each' /sources/puppet/lib/puppet/type.rb:2336:in `initialize' /sources/puppet/lib/puppet/type.rb:1119:in `new' /sources/puppet/lib/puppet/type.rb:1119:in `create' ./ral/type/user.rb:379:in `test_autorequire' ./ral/type/user.rb:378:in `test_autorequire' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' --------------- 17) Failure: test_basics(TestWebrickServer) [./network/server/webrick.rb:26:in `test_basics' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']: server succeeded with no cert. <Puppet::Error> exception expected but was Class: <Errno::ENOENT> Message: <"No such file or directory - /tmp/puppettesting24773/configdir829/ssl/certs"> ---Backtrace--- /sources/puppet/lib/puppet/sslcertificates/support.rb:136:in `open' /sources/puppet/lib/puppet/sslcertificates/support.rb:136:in `entries' /sources/puppet/lib/puppet/sslcertificates/support.rb:136:in `rename_files_with_uppercase' /sources/puppet/lib/puppet/sslcertificates/support.rb:31:in `read_cert' /sources/puppet/lib/puppet/network/http_server/webrick.rb:85:in `initialize' ./network/server/webrick.rb:27:in `new' ./network/server/webrick.rb:27:in `test_basics' ./network/server/webrick.rb:26:in `test_basics' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' --------------- 18) Error: test_allowdupe(UserAddProviderTest): Puppet::Error: Parameter gid failed: Munging failed for value [5000] in class gid: Did not get id /sources/puppet/lib/puppet/util/posix.rb:11:in `get_posix_field' /sources/puppet/lib/puppet/util/posix.rb:141:in `gid' /sources/puppet/lib/puppet/type/user.rb:120:in `unsafe_munge' /sources/puppet/lib/puppet/parameter.rb:107:in `munge' /sources/puppet/lib/puppet/property.rb:400:in `should=' /sources/puppet/lib/puppet/property.rb:399:in `collect' /sources/puppet/lib/puppet/property.rb:399:in `should=' /sources/puppet/lib/puppet/property.rb:446:in `value=' /sources/puppet/lib/puppet/util/methodhelper.rb:16:in `send' /sources/puppet/lib/puppet/util/methodhelper.rb:16:in `set_options' /sources/puppet/lib/puppet/util/methodhelper.rb:13:in `each' /sources/puppet/lib/puppet/util/methodhelper.rb:13:in `set_options' /sources/puppet/lib/puppet/parameter.rb:296:in `initialize' /sources/puppet/lib/puppet/property.rb:236:in `initialize' /sources/puppet/lib/puppet/type.rb:593:in `new' /sources/puppet/lib/puppet/type.rb:593:in `newattr' /sources/puppet/lib/puppet/type.rb:529:in `[]=' /sources/puppet/lib/puppet/type.rb:2339:in `initialize' /sources/puppet/lib/puppet/type.rb:2336:in `each' /sources/puppet/lib/puppet/type.rb:2336:in `initialize' /sources/puppet/lib/puppet/type.rb:1119:in `new' /sources/puppet/lib/puppet/type.rb:1119:in `create' ./ral/providers/user/useradd.rb:28:in `setup_user' ./ral/providers/user/useradd.rb:137:in `test_allowdupe' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' 19) Error: test_create(UserAddProviderTest): Puppet::Error: Parameter gid failed: Munging failed for value [5000] in class gid: Did not get id /sources/puppet/lib/puppet/util/posix.rb:11:in `get_posix_field' /sources/puppet/lib/puppet/util/posix.rb:141:in `gid' /sources/puppet/lib/puppet/type/user.rb:120:in `unsafe_munge' /sources/puppet/lib/puppet/parameter.rb:107:in `munge' /sources/puppet/lib/puppet/property.rb:400:in `should=' /sources/puppet/lib/puppet/property.rb:399:in `collect' /sources/puppet/lib/puppet/property.rb:399:in `should=' /sources/puppet/lib/puppet/property.rb:446:in `value=' /sources/puppet/lib/puppet/util/methodhelper.rb:16:in `send' /sources/puppet/lib/puppet/util/methodhelper.rb:16:in `set_options' /sources/puppet/lib/puppet/util/methodhelper.rb:13:in `each' /sources/puppet/lib/puppet/util/methodhelper.rb:13:in `set_options' /sources/puppet/lib/puppet/parameter.rb:296:in `initialize' /sources/puppet/lib/puppet/property.rb:236:in `initialize' /sources/puppet/lib/puppet/type.rb:593:in `new' /sources/puppet/lib/puppet/type.rb:593:in `newattr' /sources/puppet/lib/puppet/type.rb:529:in `[]=' /sources/puppet/lib/puppet/type.rb:2339:in `initialize' /sources/puppet/lib/puppet/type.rb:2336:in `each' /sources/puppet/lib/puppet/type.rb:2336:in `initialize' /sources/puppet/lib/puppet/type.rb:1119:in `new' /sources/puppet/lib/puppet/type.rb:1119:in `create' ./ral/providers/user/useradd.rb:28:in `setup_user' ./ral/providers/user/useradd.rb:44:in `test_create' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' 20) Error: test_managehome(UserAddProviderTest): Puppet::Error: Parameter gid failed: Munging failed for value [5000] in class gid: Did not get id /sources/puppet/lib/puppet/util/posix.rb:11:in `get_posix_field' /sources/puppet/lib/puppet/util/posix.rb:141:in `gid' /sources/puppet/lib/puppet/type/user.rb:120:in `unsafe_munge' /sources/puppet/lib/puppet/parameter.rb:107:in `munge' /sources/puppet/lib/puppet/property.rb:400:in `should=' /sources/puppet/lib/puppet/property.rb:399:in `collect' /sources/puppet/lib/puppet/property.rb:399:in `should=' /sources/puppet/lib/puppet/property.rb:446:in `value=' /sources/puppet/lib/puppet/util/methodhelper.rb:16:in `send' /sources/puppet/lib/puppet/util/methodhelper.rb:16:in `set_options' /sources/puppet/lib/puppet/util/methodhelper.rb:13:in `each' /sources/puppet/lib/puppet/util/methodhelper.rb:13:in `set_options' /sources/puppet/lib/puppet/parameter.rb:296:in `initialize' /sources/puppet/lib/puppet/property.rb:236:in `initialize' /sources/puppet/lib/puppet/type.rb:593:in `new' /sources/puppet/lib/puppet/type.rb:593:in `newattr' /sources/puppet/lib/puppet/type.rb:529:in `[]=' /sources/puppet/lib/puppet/type.rb:2339:in `initialize' /sources/puppet/lib/puppet/type.rb:2336:in `each' /sources/puppet/lib/puppet/type.rb:2336:in `initialize' /sources/puppet/lib/puppet/type.rb:1119:in `new' /sources/puppet/lib/puppet/type.rb:1119:in `create' ./ral/providers/user/useradd.rb:28:in `setup_user' ./ral/providers/user/useradd.rb:88:in `test_managehome' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' 21) Error: test_manages_password(UserAddProviderTest): Puppet::Error: Parameter gid failed: Munging failed for value [5000] in class gid: Did not get id /sources/puppet/lib/puppet/util/posix.rb:11:in `get_posix_field' /sources/puppet/lib/puppet/util/posix.rb:141:in `gid' /sources/puppet/lib/puppet/type/user.rb:120:in `unsafe_munge' /sources/puppet/lib/puppet/parameter.rb:107:in `munge' /sources/puppet/lib/puppet/property.rb:400:in `should=' /sources/puppet/lib/puppet/property.rb:399:in `collect' /sources/puppet/lib/puppet/property.rb:399:in `should=' /sources/puppet/lib/puppet/property.rb:446:in `value=' /sources/puppet/lib/puppet/util/methodhelper.rb:16:in `send' /sources/puppet/lib/puppet/util/methodhelper.rb:16:in `set_options' /sources/puppet/lib/puppet/util/methodhelper.rb:13:in `each' /sources/puppet/lib/puppet/util/methodhelper.rb:13:in `set_options' /sources/puppet/lib/puppet/parameter.rb:296:in `initialize' /sources/puppet/lib/puppet/property.rb:236:in `initialize' /sources/puppet/lib/puppet/type.rb:593:in `new' /sources/puppet/lib/puppet/type.rb:593:in `newattr' /sources/puppet/lib/puppet/type.rb:529:in `[]=' /sources/puppet/lib/puppet/type.rb:2339:in `initialize' /sources/puppet/lib/puppet/type.rb:2336:in `each' /sources/puppet/lib/puppet/type.rb:2336:in `initialize' /sources/puppet/lib/puppet/type.rb:1119:in `new' /sources/puppet/lib/puppet/type.rb:1119:in `create' ./ral/providers/user/useradd.rb:28:in `setup_user' ./ral/providers/user/useradd.rb:183:in `test_manages_password' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /sources/puppet/lib/../vendor/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run' 851 tests, 10665 assertions, 10 failures, 11 errors rake aborted! Command failed with status (14): [/usr/bin/ruby1.8 -Ilib:lib:../lib "/source...] (See full trace by running task with --trace)

    You have received this notification because you have either subscribed to it, or are involved in it.
    To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account


    --~--~---------~--~----~------------~-------~--~----~
    You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
    To post to this group, send email to puppet-bugs <at> googlegroups.com
    To unsubscribe from this group, send email to puppet-bugs+unsubscribe <at> googlegroups.com
    For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en
    -~----------~----~----~----~------~----~------~--~---


    Gmane