[jira] [Commented] (ATLAS-1221) build failure in windows SyntaxError: invalid syntax
[ https://issues.apache.org/jira/browse/ATLAS-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15581537#comment-15581537 ] zhangqiang2 commented on ATLAS-1221: thanks Shwetha G S I have do as you say , also I find the diffierent between "git diff" and "git diff --full-index" . when i commit in our atlas project can use "git diff" . when add code in https://reviews.apache.org/ we should use "git diff --full-index". > build failure in windows SyntaxError: invalid syntax > - > > Key: ATLAS-1221 > URL: https://issues.apache.org/jira/browse/ATLAS-1221 > Project: Atlas > Issue Type: Bug >Affects Versions: 0.8-incubating > Environment: window7(64) +maven3.2.5+git+python3.5(64)+jdk1.7.80 >Reporter: zhangqiang2 >Assignee: zhangqiang2 >Priority: Critical > Labels: build > Fix For: 0.8-incubating > > Attachments: ATLAS-1221-v2.patch, ATLAS-1221.patch > > > Traceback (most recent call last): > File "unitTests.py", line 118, in > main() > File "unitTests.py", line 87, in main > suite = all_tests_suite() > File "unitTests.py", line 78, in all_tests_suite > suite = unittest.TestLoader().loadTestsFromNames(tests_list) > File "c:\python\lib\unittest\loader.py", line 219, in loadTestsFromNames > suites = [self.loadTestsFromName(name, module) for name in names] > File "c:\python\lib\unittest\loader.py", line 219, in > suites = [self.loadTestsFromName(name, module) for name in names] > File "c:\python\lib\unittest\loader.py", line 153, in loadTestsFromName > module = __import__(module_name) > File > "E:\GITProject-bak\incubator-atlas-eclipse\distro\src\test\python\scripts\TestMetadata.py", > line 26, in > import atlas_config as mc > File > "E:\GITProject-bak\incubator-atlas-eclipse\distro\src\bin\atlas_config.py", > line 135 > except OSError, e: > ^ > SyntaxError: invalid syntax > [INFO] > > [INFO] Reactor Summary: > [INFO] > [INFO] apache-atlas ... SUCCESS [ 19.819 > s] > [INFO] Apache Atlas Common SUCCESS [ 23.974 > s] > [INFO] Apache Atlas Typesystem SUCCESS [ 44.967 > s] > [INFO] Apache Atlas Client SUCCESS [ 26.070 > s] > [INFO] Apache Atlas Server API SUCCESS [ 18.260 > s] > [INFO] Apache Atlas Notification .. SUCCESS [ 24.818 > s] > [INFO] Apache Atlas Graph Database Projects ... SUCCESS [ 1.996 > s] > [INFO] Apache Atlas Graph Database API SUCCESS [ 12.466 > s] > [INFO] Graph Database Common Code . SUCCESS [ 12.562 > s] > [INFO] Apache Atlas Titan 0.5.4 Graph DB Impl . SUCCESS [ 52.199 > s] > [INFO] Apache Atlas Repository SUCCESS [ 53.281 > s] > [INFO] Apache Atlas Authorization . SUCCESS [ 14.496 > s] > [INFO] Apache Atlas Business Catalog .. SUCCESS [ 19.184 > s] > [INFO] Apache Atlas UI SUCCESS [13:55 > min] > [INFO] Apache Atlas Web Application ... SUCCESS [02:13 > min] > [INFO] Apache Atlas Documentation . SUCCESS [ 14.923 > s] > [INFO] Apache Atlas FileSystem Model .. SUCCESS [01:04 > min] > [INFO] Apache Atlas Plugin Classloader SUCCESS [ 12.809 > s] > [INFO] Apache Atlas Hive Bridge Shim .. SUCCESS [ 16.498 > s] > [INFO] Apache Atlas Hive Bridge ... SUCCESS [02:23 > min] > [INFO] Apache Atlas Falcon Bridge Shim SUCCESS [ 17.179 > s] > [INFO] Apache Atlas Falcon Bridge . SUCCESS [02:11 > min] > [INFO] Apache Atlas Sqoop Bridge Shim . SUCCESS [ 7.781 > s] > [INFO] Apache Atlas Sqoop Bridge .. SUCCESS [02:14 > min] > [INFO] Apache Atlas Storm Bridge Shim . SUCCESS [ 9.031 > s] > [INFO] Apache Atlas Storm Bridge .. SUCCESS [02:17 > min] > [INFO] Apache Atlas Distribution .. FAILURE [ 8.631 > s] > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 33:15 min > [INFO] Finished at: 2016-10-12T09:06:02+08:00 > [INFO] Final Memory: 159M/857M > [INFO] > > [WARNING] The requested profile "env-c
[jira] [Commented] (ATLAS-1221) build failure in windows SyntaxError: invalid syntax
[ https://issues.apache.org/jira/browse/ATLAS-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15581525#comment-15581525 ] Shwetha G S commented on ATLAS-1221: Committed to master. Thanks [~zhangqiang2] > build failure in windows SyntaxError: invalid syntax > - > > Key: ATLAS-1221 > URL: https://issues.apache.org/jira/browse/ATLAS-1221 > Project: Atlas > Issue Type: Bug >Affects Versions: 0.8-incubating > Environment: window7(64) +maven3.2.5+git+python3.5(64)+jdk1.7.80 >Reporter: zhangqiang2 >Assignee: zhangqiang2 >Priority: Critical > Labels: build > Fix For: 0.8-incubating > > Attachments: ATLAS-1221-v2.patch, ATLAS-1221.patch > > > Traceback (most recent call last): > File "unitTests.py", line 118, in > main() > File "unitTests.py", line 87, in main > suite = all_tests_suite() > File "unitTests.py", line 78, in all_tests_suite > suite = unittest.TestLoader().loadTestsFromNames(tests_list) > File "c:\python\lib\unittest\loader.py", line 219, in loadTestsFromNames > suites = [self.loadTestsFromName(name, module) for name in names] > File "c:\python\lib\unittest\loader.py", line 219, in > suites = [self.loadTestsFromName(name, module) for name in names] > File "c:\python\lib\unittest\loader.py", line 153, in loadTestsFromName > module = __import__(module_name) > File > "E:\GITProject-bak\incubator-atlas-eclipse\distro\src\test\python\scripts\TestMetadata.py", > line 26, in > import atlas_config as mc > File > "E:\GITProject-bak\incubator-atlas-eclipse\distro\src\bin\atlas_config.py", > line 135 > except OSError, e: > ^ > SyntaxError: invalid syntax > [INFO] > > [INFO] Reactor Summary: > [INFO] > [INFO] apache-atlas ... SUCCESS [ 19.819 > s] > [INFO] Apache Atlas Common SUCCESS [ 23.974 > s] > [INFO] Apache Atlas Typesystem SUCCESS [ 44.967 > s] > [INFO] Apache Atlas Client SUCCESS [ 26.070 > s] > [INFO] Apache Atlas Server API SUCCESS [ 18.260 > s] > [INFO] Apache Atlas Notification .. SUCCESS [ 24.818 > s] > [INFO] Apache Atlas Graph Database Projects ... SUCCESS [ 1.996 > s] > [INFO] Apache Atlas Graph Database API SUCCESS [ 12.466 > s] > [INFO] Graph Database Common Code . SUCCESS [ 12.562 > s] > [INFO] Apache Atlas Titan 0.5.4 Graph DB Impl . SUCCESS [ 52.199 > s] > [INFO] Apache Atlas Repository SUCCESS [ 53.281 > s] > [INFO] Apache Atlas Authorization . SUCCESS [ 14.496 > s] > [INFO] Apache Atlas Business Catalog .. SUCCESS [ 19.184 > s] > [INFO] Apache Atlas UI SUCCESS [13:55 > min] > [INFO] Apache Atlas Web Application ... SUCCESS [02:13 > min] > [INFO] Apache Atlas Documentation . SUCCESS [ 14.923 > s] > [INFO] Apache Atlas FileSystem Model .. SUCCESS [01:04 > min] > [INFO] Apache Atlas Plugin Classloader SUCCESS [ 12.809 > s] > [INFO] Apache Atlas Hive Bridge Shim .. SUCCESS [ 16.498 > s] > [INFO] Apache Atlas Hive Bridge ... SUCCESS [02:23 > min] > [INFO] Apache Atlas Falcon Bridge Shim SUCCESS [ 17.179 > s] > [INFO] Apache Atlas Falcon Bridge . SUCCESS [02:11 > min] > [INFO] Apache Atlas Sqoop Bridge Shim . SUCCESS [ 7.781 > s] > [INFO] Apache Atlas Sqoop Bridge .. SUCCESS [02:14 > min] > [INFO] Apache Atlas Storm Bridge Shim . SUCCESS [ 9.031 > s] > [INFO] Apache Atlas Storm Bridge .. SUCCESS [02:17 > min] > [INFO] Apache Atlas Distribution .. FAILURE [ 8.631 > s] > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 33:15 min > [INFO] Finished at: 2016-10-12T09:06:02+08:00 > [INFO] Final Memory: 159M/857M > [INFO] > > [WARNING] The requested profile "env-common" could not be activated because > it does not exist. > [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec > (python-test) on project atlas-distro: Command execution failed. Proce > exited with
[jira] [Commented] (ATLAS-1221) build failure in windows SyntaxError: invalid syntax
[ https://issues.apache.org/jira/browse/ATLAS-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15573514#comment-15573514 ] Suma Shivaprasad commented on ATLAS-1221: - [~zhangqiang2] Can you pls reattach the patch . Unable to apply it with error - fatal: patch with only garbage at line 3 Also the patch still seems to have the line except OSError , e: which you wanted to remove? > build failure in windows SyntaxError: invalid syntax > - > > Key: ATLAS-1221 > URL: https://issues.apache.org/jira/browse/ATLAS-1221 > Project: Atlas > Issue Type: Bug >Affects Versions: 0.8-incubating > Environment: window7(64) +maven3.2.5+git+python3.5(64)+jdk1.7.80 >Reporter: zhangqiang2 >Assignee: zhangqiang2 >Priority: Critical > Labels: build > > Traceback (most recent call last): > File "unitTests.py", line 118, in > main() > File "unitTests.py", line 87, in main > suite = all_tests_suite() > File "unitTests.py", line 78, in all_tests_suite > suite = unittest.TestLoader().loadTestsFromNames(tests_list) > File "c:\python\lib\unittest\loader.py", line 219, in loadTestsFromNames > suites = [self.loadTestsFromName(name, module) for name in names] > File "c:\python\lib\unittest\loader.py", line 219, in > suites = [self.loadTestsFromName(name, module) for name in names] > File "c:\python\lib\unittest\loader.py", line 153, in loadTestsFromName > module = __import__(module_name) > File > "E:\GITProject-bak\incubator-atlas-eclipse\distro\src\test\python\scripts\TestMetadata.py", > line 26, in > import atlas_config as mc > File > "E:\GITProject-bak\incubator-atlas-eclipse\distro\src\bin\atlas_config.py", > line 135 > except OSError, e: > ^ > SyntaxError: invalid syntax > [INFO] > > [INFO] Reactor Summary: > [INFO] > [INFO] apache-atlas ... SUCCESS [ 19.819 > s] > [INFO] Apache Atlas Common SUCCESS [ 23.974 > s] > [INFO] Apache Atlas Typesystem SUCCESS [ 44.967 > s] > [INFO] Apache Atlas Client SUCCESS [ 26.070 > s] > [INFO] Apache Atlas Server API SUCCESS [ 18.260 > s] > [INFO] Apache Atlas Notification .. SUCCESS [ 24.818 > s] > [INFO] Apache Atlas Graph Database Projects ... SUCCESS [ 1.996 > s] > [INFO] Apache Atlas Graph Database API SUCCESS [ 12.466 > s] > [INFO] Graph Database Common Code . SUCCESS [ 12.562 > s] > [INFO] Apache Atlas Titan 0.5.4 Graph DB Impl . SUCCESS [ 52.199 > s] > [INFO] Apache Atlas Repository SUCCESS [ 53.281 > s] > [INFO] Apache Atlas Authorization . SUCCESS [ 14.496 > s] > [INFO] Apache Atlas Business Catalog .. SUCCESS [ 19.184 > s] > [INFO] Apache Atlas UI SUCCESS [13:55 > min] > [INFO] Apache Atlas Web Application ... SUCCESS [02:13 > min] > [INFO] Apache Atlas Documentation . SUCCESS [ 14.923 > s] > [INFO] Apache Atlas FileSystem Model .. SUCCESS [01:04 > min] > [INFO] Apache Atlas Plugin Classloader SUCCESS [ 12.809 > s] > [INFO] Apache Atlas Hive Bridge Shim .. SUCCESS [ 16.498 > s] > [INFO] Apache Atlas Hive Bridge ... SUCCESS [02:23 > min] > [INFO] Apache Atlas Falcon Bridge Shim SUCCESS [ 17.179 > s] > [INFO] Apache Atlas Falcon Bridge . SUCCESS [02:11 > min] > [INFO] Apache Atlas Sqoop Bridge Shim . SUCCESS [ 7.781 > s] > [INFO] Apache Atlas Sqoop Bridge .. SUCCESS [02:14 > min] > [INFO] Apache Atlas Storm Bridge Shim . SUCCESS [ 9.031 > s] > [INFO] Apache Atlas Storm Bridge .. SUCCESS [02:17 > min] > [INFO] Apache Atlas Distribution .. FAILURE [ 8.631 > s] > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 33:15 min > [INFO] Finished at: 2016-10-12T09:06:02+08:00 > [INFO] Final Memory: 159M/857M > [INFO] > > [WARNING] The requested profile "env-common" could not be activated because > it does not exist. > [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec > (pytho