Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix warning in dlopen-ping-pong/binding.cc #19966

Closed
wants to merge 1 commit into from

Conversation

danbev
Copy link
Contributor

@danbev danbev commented Apr 12, 2018

Currently, the following compiler warning is issued:

../binding.cc:26:27:
warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  const String::Utf8Value filename(args[0]);
                          ^

This commit updates the code to use the Isolate version.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Currently, the following compiler warning is issued:
../binding.cc:26:27:
warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  const String::Utf8Value filename(args[0]);
                          ^

This commit updates the code to use the Isolate version.
@nodejs-github-bot nodejs-github-bot added addons Issues and PRs related to native addons. test Issues and PRs related to the tests. labels Apr 12, 2018
@danbev
Copy link
Contributor Author

danbev commented Apr 12, 2018

@danbev
Copy link
Contributor Author

danbev commented Apr 12, 2018

node-test-commit failure looks unrelated

console output:

01:47:47    Started by user Daniel Bevenius
01:47:47 [EnvInject] - Loading node environment variables.
01:47:47 Building remotely on test-digitalocean-debian9-x64-1 (debian9-64) in workspace /home/iojs/build/workspace/node-test-commit-linux/nodes/debian9-64
01:47:47 Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 138.197.97.208/138.197.97.208:55430
01:47:47 		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1737)
01:47:47 		at hudson.remoting.UserResponse.retrieve(UserRequest.java:313)
01:47:47 		at hudson.remoting.Channel.call(Channel.java:952)
01:47:47 		at hudson.FilePath.act(FilePath.java:998)
01:47:47 		at hudson.FilePath.act(FilePath.java:987)
01:47:47 		at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:137)
01:47:47 		at hudson.plugins.git.GitSCM.createClient(GitSCM.java:795)
01:47:47 		at hudson.plugins.git.GitSCM.createClient(GitSCM.java:786)
01:47:47 		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1154)
01:47:47 		at hudson.scm.SCM.checkout(SCM.java:504)
01:47:47 		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
01:47:47 		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
01:47:47 		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
01:47:47 		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
01:47:47 		at hudson.model.Run.execute(Run.java:1727)
01:47:47 		at hudson.matrix.MatrixRun.run(MatrixRun.java:153)
01:47:47 		at hudson.model.ResourceController.execute(ResourceController.java:97)
01:47:47 		at hudson.model.Executor.run(Executor.java:429)
01:47:47 java.lang.NoClassDefFoundError: Could not initialize class com.sun.proxy.$Proxy11
01:47:47 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
01:47:47 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
01:47:47 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
01:47:47 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
01:47:47 	at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:739)
01:47:47 	at hudson.remoting.RemoteInvocationHandler.wrap(RemoteInvocationHandler.java:165)
01:47:47 	at hudson.remoting.Channel.export(Channel.java:721)
01:47:47 	at hudson.remoting.Channel.export(Channel.java:685)
01:47:47 	at org.jenkinsci.plugins.gitclient.LegacyCompatibleGitAPIImpl.writeReplace(LegacyCompatibleGitAPIImpl.java:198)
01:47:47 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:47:47 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
01:47:47 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
01:47:47 	at java.lang.reflect.Method.invoke(Method.java:498)
01:47:47 	at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:1218)
01:47:47 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1136)
01:47:47 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
01:47:47 	at hudson.remoting.UserRequest._serialize(UserRequest.java:247)
01:47:47 	at hudson.remoting.UserRequest.serialize(UserRequest.java:256)
01:47:47 	at hudson.remoting.UserRequest.perform(UserRequest.java:218)
01:47:47 	at hudson.remoting.UserRequest.perform(UserRequest.java:53)
01:47:47 	at hudson.remoting.Request$2.run(Request.java:358)
01:47:47 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
01:47:47 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01:47:47 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
01:47:47 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
01:47:47 	at hudson.remoting.Engine$1$1.run(Engine.java:98)
01:47:47 	at java.lang.Thread.run(Thread.java:748)
01:47:47 Caused: java.io.IOException: Remote call on JNLP4-connect connection from 138.197.97.208/138.197.97.208:55430 failed
01:47:47 	at hudson.remoting.Channel.call(Channel.java:958)
01:47:47 	at hudson.FilePath.act(FilePath.java:998)
01:47:47 Caused: java.io.IOException: remote file operation failed: /home/iojs/build/workspace/node-test-commit-linux/nodes/debian9-64 at hudson.remoting.Channel@14b2b889:JNLP4-connect connection from 138.197.97.208/138.197.97.208:55430
01:47:47 	at hudson.FilePath.act(FilePath.java:1005)
01:47:47 	at hudson.FilePath.act(FilePath.java:987)
01:47:47 	at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:137)
01:47:47 	at hudson.plugins.git.GitSCM.createClient(GitSCM.java:795)
01:47:47 	at hudson.plugins.git.GitSCM.createClient(GitSCM.java:786)
01:47:47 	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1154)
01:47:47 	at hudson.scm.SCM.checkout(SCM.java:504)
01:47:47 	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
01:47:47 	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
01:47:47 	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
01:47:47 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
01:47:47 	at hudson.model.Run.execute(Run.java:1727)
01:47:47 	at hudson.matrix.MatrixRun.run(MatrixRun.java:153)
01:47:47 	at hudson.model.ResourceController.execute(ResourceController.java:97)
01:47:47 	at hudson.model.Executor.run(Executor.java:429)
01:47:47 Run condition [Always] enabling perform for step [[]]
01:47:47 Run condition [Always] enabling perform for step [[]]
01:47:47 TAP Reports Processing: START
01:47:47 Looking for TAP results report in workspace using pattern: *.tap
01:47:47 Did not find any matching files. Setting build result to FAILURE.
01:47:47 Checking ^not ok
01:47:47 Jenkins Text Finder: File set '*.tap' is empty
01:47:47 Notifying upstream projects of job completion
01:47:47 Finished: FAILURE

@danbev
Copy link
Contributor Author

danbev commented Apr 14, 2018

Landed in bd0a690.

@danbev danbev closed this Apr 14, 2018
@danbev danbev deleted the ldopen-ping-pong-warning branch April 14, 2018 11:30
danbev added a commit that referenced this pull request Apr 14, 2018
Currently, the following compiler warning is issued:
../binding.cc:26:27:
warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  const String::Utf8Value filename(args[0]);
                          ^

This commit updates the code to use the Isolate version.

PR-URL: #19966
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
jasnell pushed a commit that referenced this pull request Apr 16, 2018
Currently, the following compiler warning is issued:
../binding.cc:26:27:
warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  const String::Utf8Value filename(args[0]);
                          ^

This commit updates the code to use the Isolate version.

PR-URL: #19966
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
BridgeAR pushed a commit to BridgeAR/node that referenced this pull request May 1, 2018
Currently, the following compiler warning is issued:
../binding.cc:26:27:
warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  const String::Utf8Value filename(args[0]);
                          ^

This commit updates the code to use the Isolate version.

PR-URL: nodejs#19966
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addons Issues and PRs related to native addons. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants