[JIRA] (JENKINS-58196) UTF8 BOM override issue in 1.10.0

7 views
Skip to first unread message

hopkinsp@gmail.com (JIRA)

unread,
Jun 25, 2019, 6:18:02 PM6/25/19
to jenkinsc...@googlegroups.com
Peter Hopkins created an issue
 
Jenkins / Bug JENKINS-58196
UTF8 BOM override issue in 1.10.0
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: packages.config, packages.config.borked
Components: p4-plugin
Created: 2019-06-25 22:17
Environment: p4-plugin 1.10.0
jenkins 2.176.1
docker lts image ubuntu
Server version: P4D/LINUX26X86_64/2017.1/1622573 (2018/02/20)
Priority: Blocker Blocker
Reporter: Peter Hopkins

In upgrading from 1.9.6 to 1.10.1 it seems that the utf8bom filesys options is no longer honoured. Might be related to the p4java upgrade?

We use this normally on a windows slave to correct old utf8bom issues.

-Dcom.perforce.p4java.filesys.utf8bom=0

Attached is a packages.config file synced correctly, and packages.config.borked which is the same file synced with an extra bom character

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

kwirth@perforce.com (JIRA)

unread,
Jun 26, 2019, 4:16:02 AM6/26/19
to jenkinsc...@googlegroups.com
Karl Wirth commented on Bug JENKINS-58196
 
Re: UTF8 BOM override issue in 1.10.0

Hi Peter Hopkins. Thanks for reporting this. I think I can reproduce the behavior but wanted to check your configuration. Please answer the following questions:

  • What is the Perforce filetype for 'packages.config' ('p4 filelog packages.config' will give the answer).
  • What Version of P4D and what OS are you using?
  • Is the P4D server running in Unicode mode?
  • How are you setting '-Dcom.perforce.p4java.filesys.utf8bom=0'? For example do you have a command line that starts the slave?
  • What version of Java are you using on the slave?

Thanks in advance,

Karl

hopkinsp@gmail.com (JIRA)

unread,
Jun 26, 2019, 3:39:01 PM6/26/19
to jenkinsc...@googlegroups.com

Thanks for the quick response Karl.

  • (utf8)
  • versions -
    • P4D/LINUX26X86_64/2017.1/1622573 (2018/02/20)
    • CentOS release 6.7
    • Linux 2.6.32-573.12.1.el6.x86_64 #1 SMP Tue Dec 15 21:19:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
  • server is not Unicode
  • Using the vSphere slave plugin for jenkins, optional Java startup parameter
  • Slave java = SE RE 1.8.0_152

kwirth@perforce.com (JIRA)

unread,
Aug 27, 2019, 11:14:02 AM8/27/19
to jenkinsc...@googlegroups.com

P4Java bug - being tracked internally as P4JAVA-1139.

pallen@perforce.com (JIRA)

unread,
Dec 5, 2019, 10:03:02 AM12/5/19
to jenkinsc...@googlegroups.com
Paul Allen assigned an issue to Karl Wirth
 
Change By: Paul Allen
Assignee: Karl Wirth
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages