Skip to content

Rolling upgrade tests failing on Windows #69933

Closed
@danhermann

Description

@danhermann

The tests are failing because path.repo is set to C:\Users\.... and the \U is interpreted as the beginning of a Unicode character code. I believe that backslashes in Windows paths need to be escaped as \\.

Build scan:
https://gradle-enterprise.elastic.co/s/ef5zqt7vow5z4
https://gradle-enterprise.elastic.co/s/i5m4hwzzriz5e

Repro line: n/a

Reproduces locally?: No local Windows environment

Applicable branches: at least master and 7.12

Failure history: At least twice on 3/3/21

Failure excerpt:


:x-pack:qa:rolling-upgrade:v7.13.0#oldClusterTest FAILED |  
-- | --
  | Exec output and error: |  
  | \| Output for cmd:Exception in thread "main" SettingsException[Failed to load settings from [elasticsearch.yml]]; nested: MarkedYAMLException[while scanning a double-quoted scalar |  
  | in 'reader', line 9, column 14: |  
  | path.repo: [ "C:\Users\jenkins\workspace\elas ... |  
  | ^ |  
  | expected escape sequence of 8 hexadecimal numbers, but found: sers\jen |  
  | in 'reader', line 9, column 19: |  
  | path.repo: [ "C:\Users\jenkins\workspace\elastic+e ... |  
  | ^ |  
  |   |  
  | at [Source: (sun.nio.ch.ChannelInputStream); line: 9, column: 13]]; nested: ScannerException[while scanning a double-quoted scalar |  
  | in 'reader', line 9, column 14: |  
  | path.repo: [ "C:\Users\jenkins\workspace\elas ... |  
  | ^ |  
  | expected escape sequence of 8 hexadecimal numbers, but found: sers\jen |  
  | in 'reader', line 9, column 19: |  
  | path.repo: [ "C:\Users\jenkins\workspace\elastic+e ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Delivery/BuildBuild or test infrastructure>test-failureTriaged test failures from CITeam:DeliveryMeta label for Delivery team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions