Opened 6 years ago
Last modified 5 years ago
#18905 new defect
dojo build (buildscripts/build.sh --bin java fails when certain regex in js source files
Reported by: | chiefgeek | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.14 |
Component: | BuildSystem | Version: | 1.11.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When building layers (with java) and one of the source files has the following regex in it, the build fails and says there was an error:
this._emailValidationRegEx = /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i;
The builds with node don't fail with this error but they do randomly fail with socket errors. see below a sample (profile with maxOptimizationProcesses: 2, doesn't seem to help either):
starting processing resource AST... starting executing global optimizations... starting writing resources... [Error: This socket is closed.] Error: This socket is closed. at Socket._write (net.js:638:19) at doWrite (_stream_writable.js:226:10) at writeOrBuffer (_stream_writable.js:216:5) at Socket.Writable.write (_stream_writable.js:183:11) at Socket.write (net.js:616:40) at Object.proc.write (/var/lib/jenkins/jobs/hotfix-frontend/workspace/resources/v3/other/dojo-release-1.11.2-src/util/build/transforms/optimizer/sendJob.js:98:20) at sendJob (/var/lib/jenkins/jobs/hotfix-frontend/workspace/resources/v3/other/dojo-release-1.11.2-src/util/build/transforms/optimizer/sendJob.js:40:28) at /var/lib/jenkins/jobs/hotfix-frontend/workspace/resources/v3/other/dojo-release-1.11.2-src/util/build/transforms/optimizer/closure.js:18:7 at /var/lib/jenkins/jobs/hotfix-frontend/workspace/resources/v3/other/dojo-release-1.11.2-src/util/build/node/fs.js:38:9 at Object.oncomplete (fs.js:108:15)
Change History (4)
comment:1 Changed 6 years ago by
Component: | General → BuildSystem |
---|---|
Milestone: | tbd → 1.12.1 |
comment:3 Changed 5 years ago by
Milestone: | 1.12.2 → 1.12.3 |
---|---|
Priority: | undecided → high |
comment:4 Changed 5 years ago by
Milestone: | 1.12.3 → 1.14 |
---|
Note: See
TracTickets for help on using
tickets.
Given the recent updates to a more recent version of the Closure Compiler with 1.12, I'd be curious is this is still an issue. Let's investigate.