Jira (FACT-2835) Acceptance test on puppetlabs-docker fail with puppet 7 nightly

18 views
Skip to first unread message

Bogdan Irimie (Jira)

unread,
Oct 13, 2020, 3:11:02 AM10/13/20
to puppe...@googlegroups.com
Bogdan Irimie assigned an issue to Bogdan Irimie
 
Facter / Bug FACT-2835
Acceptance test on puppetlabs-docker fail with puppet 7 nightly
Change By: Bogdan Irimie
Assignee: Bogdan Irimie
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Bogdan Irimie (Jira)

unread,
Oct 13, 2020, 3:11:03 AM10/13/20
to puppe...@googlegroups.com
Bogdan Irimie created an issue
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/10/13 12:10 AM
Labels: platform_7
Priority: Blocker Blocker
Reporter: Bogdan Irimie

When running the `puppetlabs-docker` acceptance test with puppet 7 nightly on Windows we get:

puppet.bat : Warning: Facter: Command C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Bypass -c docker network ls | tail -n +2 resulted with the following stderr message: 'tail' is not recognized as an internal or external command,
           + CategoryInfo          : NotSpecified: (Warning:...ternal command,:String) [], RemoteException
           + FullyQualifiedErrorId : NativeCommandError
       operable program or batch file.

The command that generates the error is: https://github.com/puppetlabs/puppetlabs-docker/blob/91a6d69716c78f4f753d45d8359536db72aaad5b/lib/facter/docker.rb#L115

Does not happen on Puppet 6 or Puppet 6 nightly builds.

It’s occurring on stock, out-of-the-box” images on Google Cloud and Windows images in VMPooler too. Seems to have been introduced about a week ago - still looking through the previous builds to determine exactly when, however, I do notice this PR made changes to the Facter::Core::Execution::Base.execute_command 6 days ago.

Bogdan Irimie (Jira)

unread,
Oct 13, 2020, 3:11:03 AM10/13/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ready for triage ghost-14.10

Bogdan Irimie (Jira)

unread,
Oct 13, 2020, 3:11:03 AM10/13/20
to puppe...@googlegroups.com
Bogdan Irimie assigned an issue to Florin Dragos
Change By: Bogdan Irimie
Assignee: Bogdan Irimie Florin Dragos

Florin Dragos (Jira)

unread,
Oct 14, 2020, 3:15:03 AM10/14/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Oct 14, 2020, 10:05:46 AM10/14/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-14.10 , ready for triage 2

Bogdan Irimie (Jira)

unread,
Oct 21, 2020, 9:13:09 AM10/21/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-14.10, ghost-21.10 , PR - Triage 2

Ciaran McCrisken (Jira)

unread,
Oct 27, 2020, 12:30:02 PM10/27/20
to puppe...@googlegroups.com
Ciaran McCrisken commented on Bug FACT-2835
 
Re: Acceptance test on puppetlabs-docker fail with puppet 7 nightly

Ran the Docker module acceptance tests against the following build:

  • Puppet Agent Version: **7.0.0.452.gea5047f9
  • Facter Version: 4.0.44

All tests passed successfully

Bogdan Irimie (Jira)

unread,
Oct 28, 2020, 10:10:03 AM10/28/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-14.10, ghost-21.10, ghost-28.10 , PR - Triage 2
Reply all
Reply to author
Forward
0 new messages