Difference between revisions of "Test PBIs/9.2"

From PC-BSD Wiki
Jump to: navigation, search
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
<!--T:1-->
 
<!--T:1-->
{{NavHeader|back=Submit PBI Requests|forward=Create PBIs}}</noinclude>
+
{{UseTOC{{putVers}}|Nav}}</noinclude>
  
 
<!--T:2-->
 
<!--T:2-->
The previous section indicated that new PBI modules are uploaded to the PBI build server so that they can be built and tested. This section describes the two ways you can assist in testing PBIs.
+
The previous section indicated that new PBI modules are uploaded to the PBI build server so that they can be built and tested. This section describes the two ways you can assist in testing PBIs.[[File:Build1b.png|thumb|393px|'''Figure 11.6a: Viewing the Status of PBIs on the Build Server''']]
  
 
=== Test PBIs Waiting for Approval === <!--T:6-->
 
=== Test PBIs Waiting for Approval === <!--T:6-->
Line 12: Line 12:
 
If you wish to help test a PBI before it has been approved, go to the {{citelink|url=http://pbibuild64.pcbsd.org/|txt=build server}} as shown in Figure 11.6a.  
 
If you wish to help test a PBI before it has been approved, go to the {{citelink|url=http://pbibuild64.pcbsd.org/|txt=build server}} as shown in Figure 11.6a.  
  
'''Figure 11.6a: Viewing the Status of PBIs on the Build Server'''
+
<!--T:15-->
 
+
Find the name of the PBI you wish to test in the "Module" column and click its hyperlink. You can then download the file with the ''.pbi'' extension. Once downloaded, run '''pbi_add /path/to/pbi'''  to install the PBI. If you find any problems with the PBI, send an email to the {{citelink|pcbsdlists|url=pbi-dev|txt=PBI-dev}} mailing list describing how to recreate the problem. Include the text of any error messages you receive.
[[File:Build1b.png|border]]
+
 
+
Find the name of the PBI you wish to test in the "Module" column and click its hyperlink. You can then download the file with the ''.pbi'' extension. Once downloaded, run '''pbi_add /path/to/pbi'''  to install the PBI. If you find any problems with the PBI, send an email to the {{citelink|url=http://lists.pcbsd.org/mailman/listinfo/pbi-dev|txt=PBI-dev}} mailing list describing how to recreate the problem. Include the text of any error messages you receive.
+
  
 
=== Investigate or Fix a Failed Build === <!--T:8-->
 
=== Investigate or Fix a Failed Build === <!--T:8-->
  
 
<!--T:9-->
 
<!--T:9-->
You can try to resolve PBI modules that have a "Build Status" of "FAILED". If you click on the name of a failed module, you can download the ''build.log'' for that module. This file is in ASCII text so it can be viewed in any text editor.
+
You can try to resolve PBI modules that have a "Build Status" of "FAILED". If you click on the name of a failed module, you can download the file named ''last_100.log'' for that module. This file is in ASCII text so it can be viewed in any text editor.
 
+
<!--T:10-->
+
If the file ends in a ''.bz2'' extension, it has been compressed. To uncompress the file, type '''bunzip2 -k build.log.bz2'''. Or, you can read the compressed file directly using the command '''bzcat build.log.bz2'''. This command will scroll down to the end, where the error occurred. Use '''bzcat build.log.bz2 | more''' if you prefer to scroll through the file.
+
  
 
<!--T:11-->
 
<!--T:11-->
If you think you know the cause of the problem after reading the error messages, you can review the PBI's module by clicking its "svn" hyperlink. If you decide to download a file to edit it, look for the "Plain Text" link in the "Download in other formats" section at the bottom of the page.
+
If you think you know the cause of the problem after reading the error messages, you can review the PBI's module by clicking its "git" hyperlink. If you decide to copy/paste a file in order to edit it locally, click the "Raw" link for the file.
 
   
 
   
If you make an edit to correct the problem, send the modified file (or a diff) to the {{citelink|url=http://lists.pcbsd.org/mailman/listinfo/pbi-dev|txt=PBI-dev}} mailing list so the changes can be uploaded to the build server.
+
If you make an edit to correct the problem, send the modified file (or a diff) to the {{citelink|pcbsdlists|url=pbi-dev|txt=PBI-dev}} mailing list so the changes can be uploaded to the build server.
  
 
<!--T:12-->
 
<!--T:12-->

Latest revision as of 02:10, 16 December 2013


Contents


The previous section indicated that new PBI modules are uploaded to the PBI build server so that they can be built and tested. This section describes the two ways you can assist in testing PBIs.
Figure 11.6a: Viewing the Status of PBIs on the Build Server

[edit] Test PBIs Waiting for Approval

If you wish to help test a PBI before it has been approved, go to the build server[1] as shown in Figure 11.6a.

Find the name of the PBI you wish to test in the "Module" column and click its hyperlink. You can then download the file with the .pbi extension. Once downloaded, run pbi_add /path/to/pbi to install the PBI. If you find any problems with the PBI, send an email to the PBI-dev[2] mailing list describing how to recreate the problem. Include the text of any error messages you receive.

[edit] Investigate or Fix a Failed Build

You can try to resolve PBI modules that have a "Build Status" of "FAILED". If you click on the name of a failed module, you can download the file named last_100.log for that module. This file is in ASCII text so it can be viewed in any text editor.

If you think you know the cause of the problem after reading the error messages, you can review the PBI's module by clicking its "git" hyperlink. If you decide to copy/paste a file in order to edit it locally, click the "Raw" link for the file.

If you make an edit to correct the problem, send the modified file (or a diff) to the PBI-dev[2] mailing list so the changes can be uploaded to the build server.


References


  1. http://pbibuild64.pcbsd.org/
  2. 2.0 2.1 http://lists.pcbsd.org/mailman/listinfo/pbi-dev
Other languages:German 20% • ‎English 100% • ‎French 20%