{"action":"opened","issue":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/10909","repository_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang","labels_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/10909/labels{/name}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/10909/comments","events_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/10909/events","html_url":"https://github.com/ballerina-platform/ballerina-lang/issues/10909","id":371850231,"node_id":"MDU6SXNzdWUzNzE4NTAyMzE=","number":10909,"title":"Intermittent Test failure in VS code plugin tests","user":{"login":"VijithaEkanayake","id":5285626,"node_id":"MDQ6VXNlcjUyODU2MjY=","avatar_url":"https://avatars1.githubusercontent.com/u/5285626?v=4","gravatar_id":"","url":"https://api.github.com/users/VijithaEkanayake","html_url":"https://github.com/VijithaEkanayake","followers_url":"https://api.github.com/users/VijithaEkanayake/followers","following_url":"https://api.github.com/users/VijithaEkanayake/following{/other_user}","gists_url":"https://api.github.com/users/VijithaEkanayake/gists{/gist_id}","starred_url":"https://api.github.com/users/VijithaEkanayake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VijithaEkanayake/subscriptions","organizations_url":"https://api.github.com/users/VijithaEkanayake/orgs","repos_url":"https://api.github.com/users/VijithaEkanayake/repos","events_url":"https://api.github.com/users/VijithaEkanayake/events{/privacy}","received_events_url":"https://api.github.com/users/VijithaEkanayake/received_events","type":"User","site_admin":false},"labels":[{"id":836896406,"node_id":"MDU6TGFiZWw4MzY4OTY0MDY=","url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/labels/Component/VScode%20plugin","name":"Component/VScode plugin","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-19T08:10:54Z","updated_at":"2018-10-19T08:10:54Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Description:**\r\nTests related to the VS code plugin are failing intermittently with below stack trace.\r\n```\r\n> ballerina@0.982.1-SNAPSHOT test /home/travis/build/ballerina-platform/ballerina-lang/tool-plugins/vscode\r\n> npm run compile && node ./node_modules/vscode/bin/test\r\n\r\n\r\n> ballerina@0.982.1-SNAPSHOT compile /home/travis/build/ballerina-platform/ballerina-lang/tool-plugins/vscode\r\n> tsc -p ./\r\n\r\n### VS Code Extension Test Run ###\r\nCurrent working directory: /home/travis/build/ballerina-platform/ballerina-lang/tool-plugins/vscode\r\nDownloading VS Code into \"/home/travis/build/ballerina-platform/ballerina-lang/tool-plugins/vscode/.vscode-test/stable\" from: https://vscode-update.azurewebsites.net/1.28.2/linux-x64/stable\r\nRunning extension tests: /home/travis/build/ballerina-platform/ballerina-lang/tool-plugins/vscode/.vscode-test/stable/VSCode-linux-x64/code /home/travis/build/ballerina-platform/ballerina-lang/tool-plugins/vscode/out/test --extensionDevelopmentPath=/home/travis/build/ballerina-platform/ballerina-lang/tool-plugins/vscode --extensionTestsPath=/home/travis/build/ballerina-platform/ballerina-lang/tool-plugins/vscode/out/test\r\nXlib:  extension \"RANDR\" missing on display \":99.0\".\r\n\r\n\u001B[90m[main 7:41:55 AM]\u001B[0m update#setState idle\r\n\r\nxdg-settings: unknown desktop environment\r\n\r\nbash: cannot set terminal process group (-1): Inappropriate ioctl for device\r\nbash: no job control in this shell\r\n\r\n\r\n\r\n\u001B[0m\u001B[0m\r\n\r\n\u001B[0m  Ballerina Extension Core Tests\u001B[0m\r\n\r\n  \u001B[32m  âœ“\u001B[0m\u001B[90m Test isValidBallerinaHome\u001B[0m\r\n\r\n  \u001B[32m  âœ“\u001B[0m\u001B[90m Test autoDitectBallerinaHome\u001B[0m\u001B[31m (112ms)\u001B[0m\r\n\r\n  \u001B[32m  âœ“\u001B[0m\u001B[90m Test getBallerinaVersion\u001B[0m\r\n\r\n\u001B[0m  Ballerina Debug Adapter\u001B[0m\r\n\r\n\u001B[0m    vscode debugger integration tests\u001B[0m\r\n\r\n    \u001B[32m  âœ“\u001B[0m\u001B[90m Initialize request\u001B[0m\u001B[31m (532ms)\u001B[0m\r\n\r\n    \u001B[32m  âœ“\u001B[0m\u001B[90m launch request\u001B[0m\u001B[31m (3453ms)\u001B[0m\r\n\r\n    \u001B[32m  âœ“\u001B[0m\u001B[90m should stop on a breakpoint, main function\u001B[0m\u001B[31m (2734ms)\u001B[0m\r\n\r\n    \u001B[32m  âœ“\u001B[0m\u001B[90m should stop on a breakpoint, hello world service\u001B[0m\u001B[31m (3516ms)\u001B[0m\r\n\r\n    \u001B[31m  1) should stop on a breakpoint, hello world service - package\u001B[0m\r\n\r\n    \u001B[32m  âœ“\u001B[0m\u001B[90m step In, hello world service - package\u001B[0m\u001B[31m (3445ms)\u001B[0m\r\n\r\n\u001B[92m \u001B[0m\u001B[32m 8 passing\u001B[0m\u001B[90m (15s)\u001B[0m\r\n\r\n\u001B[31m  1 failing\u001B[0m\r\n\r\n\u001B[0m  1) Ballerina Debug Adapter\r\n       vscode debugger integration tests\r\n         should stop on a breakpoint, hello world service - package:\r\n\u001B[0m\u001B[31m     Uncaught Error: socket hang up\u001B[0m\u001B[90m\r\n      at createHangUpError (_http_client.js:331:15)\r\n      at Socket.socketOnEnd (_http_client.js:423:23)\r\n      at endReadableNT (_stream_readable.js:1056:12)\r\n      at _combinedTickCallback (internal/process/next_tick.js:138:11)\r\n      at process._tickCallback (internal/process/next_tick.js:180:9)\r\n\u001B[0m\r\n\r\nTests exited with code: 1\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! ballerina@0.982.1-SNAPSHOT test: `npm run compile && node ./node_modules/vscode/bin/test`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the ballerina@0.982.1-SNAPSHOT test script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /home/travis/.npm/_logs/2018-10-19T07_42_18_853Z-debug.log\r\n[ERROR] Command execution failed.\r\norg.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)\r\n    at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)\r\n    at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)\r\n    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804)\r\n    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:751)\r\n    at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:313)\r\n    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)\r\n    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)\r\n    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)\r\n    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)\r\n    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)\r\n    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)\r\n    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)\r\n    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)\r\n    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)\r\n    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)\r\n    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)\r\n    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)\r\n    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)\r\n    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)\r\n    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)\r\n    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)\r\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)\r\n    at java.lang.reflect.Method.invoke (Method.java:498)\r\n    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)\r\n    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)\r\n    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)\r\n    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)\r\n```"}}
{"actor":{"display_login":"VijithaEkanayake"}}