Closed
Bug 1249087
Opened 8 years ago
Closed 8 years ago
WIn 7 add support to toplevel::slave::releng::test
Categories
(Infrastructure & Operations :: RelOps: Puppet, task)
Infrastructure & Operations
RelOps: Puppet
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: markco, Assigned: markco)
References
Details
(Whiteboard: [windows])
Attachments
(2 files)
26.46 KB,
patch
|
dustin
:
review-
|
Details | Diff | Splinter Review |
9.53 KB,
patch
|
dividehex
:
review+
dustin
:
feedback+
markco
:
checked-in+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
Need to include: disableservices::disableupdates disableservices::disable_indexing tweaks::memory_paging disableservices::disable_win_defend
Assignee: relops → mcornmesser
Assignee | ||
Comment 2•8 years ago
|
||
packages::mozilla::mozilla_maintenance_service
Assignee | ||
Comment 3•8 years ago
|
||
Note this is not full talos support.
Attachment #8727992 -
Flags: review?(dustin)
Comment 4•8 years ago
|
||
Comment on attachment 8727992 [details] [diff] [review] BUG1249087.patch Review of attachment 8727992 [details] [diff] [review]: ----------------------------------------------------------------- Looks good otherwise -- sorry I have to be brief since I'm running off. Happy to talk more. ::: modules/httpd/files/httpd.conf @@ +1,1 @@ > +# For Linux and OS X, we use the default httpd config, and then add any required adjustments using httpd::config. We should do the same for Windows.
Attachment #8727992 -
Flags: review?(dustin) → review-
Assignee | ||
Comment 5•8 years ago
|
||
Below is a diff of original httpd.conf and the one we have been copying over forever now. Some of the changes will need to be carried over. How could I do that in httpd::config ? Compare: (<)C:\Users\mcornmesser\Desktop\scratch\httpd_orig.txt (18215 bytes) with: (>)C:\Users\mcornmesser\Desktop\scratch\httpd_new.txt (18233 bytes) 17,18c17,18 < # with ServerRoot set to "c:/Program Files/Apache Software Foundation/Apache2.2" will be interpreted by the < # server as "c:/Program Files/Apache Software Foundation/Apache2.2/logs/foo.log". --- > # with ServerRoot set to "C:/Program Files (x86)/Apache Software Foundation/Apache2.2" will be interpreted by the > # server as "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/foo.log". 35c35 < ServerRoot "c:/Program Files/Apache Software Foundation/Apache2.2" --- > ServerRoot "C:/Program Files (x86)/Apache Software Foundation/Apache2.2" 163c163 < ServerAdmin --- > ServerAdmin admin@build.mozilla.org 172c172 < #ServerName :80 --- > #ServerName localhost:80 179c179 < DocumentRoot "c:/Program Files/Apache Software Foundation/Apache2.2/htdocs" --- > DocumentRoot "C:\slave\talos-data\talos" 206c206 < <Directory "c:/Program Files/Apache Software Foundation/Apache2.2/htdocs"> --- > <Directory "C:/slave/talos-data/talos"> 290c290 < CustomLog "logs/access.log" common --- > # CustomLog "logs/access.log" common 305c305 < # Redirect permanent /foo http:///bar --- > # Redirect permanent /foo http://localhost/bar 326c326 < ScriptAlias /cgi-bin/ "c:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/" --- > ScriptAlias /cgi-bin/ "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/cgi-bin/" 339,342c339,342 < # "c:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased < # CGI directory exists, if you have that configured. < # < <Directory "c:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin"> --- > # "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased > # CGI directory exists, if you have that configured. > # > <Directory "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/cgi-bin"> 423c423 < #ErrorDocument 402 http:///subscription_info.html --- > #ErrorDocument 402 http://localhost/subscription_info.html
Comment 6•8 years ago
|
||
Wow, I think you can use https://github.com/mozilla/build-puppet/blob/master/modules/talos/templates/talos-httpd.conf.erb unchanged. Just set $apachedocumentroot in https://github.com/mozilla/build-puppet/blob/master/modules/talos/manifests/settings.pp to 'C:/slave/talos-data/talos' on Windows. You can leave $requireall alone. That reverses the slashes on the DocumentRoot directive, but given that the default value for that field has forward slashes, I'm betting that won't matter.
Updated•8 years ago
|
Whiteboard: [windows]
Assignee | ||
Comment 7•8 years ago
|
||
Note: need to include classes added in Bug 1255199: disableservices/manifests/disable_win_driver_signing.pp tweaks/manifests/disable_desktop_interruption.pp tweaks/manifests/sync_logon_scripts.pp
Assignee | ||
Comment 8•8 years ago
|
||
Additional errors that need to be addressed by this patch: Fri Apr 29 10:22:13 -0700 2016 Puppet (err): Unexpected exception from Win32 API. detail: (Access is denied.). ERROR CODE: 5. Puppet Error ID: F46C6AE2-C711-48F9-86D6-5D50E1988E48 Fri Apr 29 10:22:13 -0700 2016 /Stage[main]/Disableservices::Disable_win_defend/Registry::Value[DisableRemovableDriveScanning]/Registry_value[HKLM\SOFTWARE\Microsoft\Windows Defender\Scan\DisableRemovableDriveScanning]/ensure (err): change from absent to present failed: Unexpected exception from Win32 API. detail: (Access is denied.). ERROR CODE: 5. Puppet Error ID: F46C6AE2-C711-48F9-86D6-5D50E1988E48 Fri Apr 29 10:22:55 -0700 2016 /Stage[main]/Packages::Mozilla::Mozilla_build/Exec[uninstall_hg] (err): Could not evaluate: Could not find command 'C:\mozilla-build\msys\bin\ls.exe' Fri Apr 29 10:24:42 -0700 2016 /Stage[main]/Packages::Wget/Packages::Pkgzip[wget-1.16.3-win32.zip]/Shared::Execonce[wget-1.16.3-win32.zip]/Exec[wget-1.16.3-win32.zip] (err): Failed to call refresh: "C:\Program Files\7-Zip\7z.exe" x c:\InstallerSource\puppetagain.pub.build.mozilla.org\ZIPs\wget-1.16.3-win32.zip -oC:\mozilla-build/wget -y returned 2 instead of one of [0] Fri Apr 29 10:24:42 -0700 2016 /Stage[main]/Packages::Wget/Packages::Pkgzip[wget-1.16.3-win32.zip]/Shared::Execonce[wget-1.16.3-win32.zip]/Exec[wget-1.16.3-win32.zip] (err): "C:\Program Files\7-Zip\7z.exe" x c:\InstallerSource\puppetagain.pub.build.mozilla.org\ZIPs\wget-1.16.3-win32.zip -oC:\mozilla-build/wget -y returned 2 instead of one of [0]
Assignee | ||
Comment 9•8 years ago
|
||
Assignee | ||
Comment 10•8 years ago
|
||
Comment on attachment 8748928 [details] [diff] [review] Bug1249087_Win7_support_toplevel slave releng test.patch Note: I have removed the white spaces that show up in the patch. Tagged Dustin for feedback since he reviewed the original patch.
Attachment #8748928 -
Flags: review?(jwatkins)
Attachment #8748928 -
Flags: feedback?(dustin)
Updated•8 years ago
|
Attachment #8748928 -
Flags: feedback?(dustin) → feedback+
Comment 11•8 years ago
|
||
Comment on attachment 8748928 [details] [diff] [review] Bug1249087_Win7_support_toplevel slave releng test.patch Review of attachment 8748928 [details] [diff] [review]: ----------------------------------------------------------------- Fix the trailing whitespaces. Otherwise it looks fine.
Attachment #8748928 -
Flags: review?(jwatkins) → review+
Assignee | ||
Comment 12•8 years ago
|
||
Comment on attachment 8748928 [details] [diff] [review] Bug1249087_Win7_support_toplevel slave releng test.patch https://hg.mozilla.org/build/puppet/rev/e2d039909524
Attachment #8748928 -
Flags: checked-in+
Assignee | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•