Skip to content

Instantly share code, notes, and snippets.

View msavy's full-sized avatar
👋
Apiman Man

Marc Savy msavy

👋
Apiman Man
View GitHub Profile
[msavy@mmbp oai-ts-core](master)$ npm install
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
> fsevents@1.0.15 install /Users/msavy/tmp/oai-ts-core/node_modules/fsevents
> node-pre-gyp install --fallback-to-build
[fsevents] Success: "/Users/msavy/tmp/oai-ts-core/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" is installed via remote
oai-ts-core@0.0.1 /Users/msavy/tmp/oai-ts-core
├── @types/core-js@0.9.34
├── @types/jasmine@2.5.38
Oct 24, 2016 5:44:39 PM io.vertx.core.impl.BlockedThreadChecker
WARNING: Thread Thread[vert.x-eventloop-thread-1,5,main] has been blocked for 5853 ms, time limit is 2000
io.vertx.core.VertxException: Thread blocked
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:997)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231)
at io.apiman.gateway.engine.influxdb.InfluxDb09Metrics.listDatabases(InfluxDb09Metrics.java:215)
[msavy@mmbp homebrew-core](test)$ brew audit --new-formula gofabric8
Error: type mismatch: String given
Please report this bug:
https://git.io/brew-troubleshooting
/usr/local/Homebrew/Library/Homebrew/cmd/search.rb:153:in `=~'
/usr/local/Homebrew/Library/Homebrew/cmd/search.rb:153:in `block in search_tap'
/usr/local/Homebrew/Library/Homebrew/cmd/search.rb:153:in `select'
/usr/local/Homebrew/Library/Homebrew/cmd/search.rb:153:in `search_tap'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/audit.rb:346:in `block (2 levels) in audit_formula_name'
[msavy@mmbp test](mkdir_with_intermediates)$ brew tests
Run options: --seed 41476
# Running:
.................................................................................................................................................................................S......S................S............F.................S........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
package io.vertx.example.core.http2.simple;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.http.HttpServer;
import io.vertx.core.http.HttpServerOptions;
import io.vertx.core.net.OpenSSLEngineOptions;
import io.vertx.core.net.PemKeyCertOptions;
import io.vertx.example.util.Runner;
/*
[msavy@mmbp tools](apiman-vx3-refactoring-rebase)$ curl -k -v https://localhost:8444/tetorg/test/1.0 --http2
* Trying ::1...
* Connected to localhost (::1) port 8444 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /usr/local/etc/openssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
$ unzip -t apiman-distro-tomcat8-1.2.7-SNAPSHOT-overlay.zip
Archive: apiman-distro-tomcat8-1.2.7-SNAPSHOT-overlay.zip
testing: conf/ OK
testing: lib/ OK
testing: conf/apiman.jks OK
testing: conf/apiman.properties OK
testing: conf/server.xml OK
testing: conf/tomcat-users.xml OK
testing: webapps/ OK
testing: webapps/apimanui.war OK
curl -O https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/net/socialchange/doctype/doctype-changer/1.1/doctype-changer-1.1.pom
curl -O https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/net/socialchange/doctype/doctype-changer/1.1/doctype-changer-1.1.jar
mvn install:install-file -Dfile="doctype-changer-1.1.jar" -DpomFile="doctype-changer-1.1.pom"
RULE trace main entry
CLASS BytemanHello
METHOD main
AT ENTRY
IF true
DO traceln("Entering main")
ENDRULE
RULE trace main exit
CLASS BytemanHello
14:06:22,272 INFO [org.elasticsearch.cluster.metadata] (elasticsearch[Gauntlet][clusterService#updateTask][T#1]) [Gauntlet] [apiman_metrics] update_mapping [request] (dynamic)
14:08:48,761 ERROR [stderr] (default task-123) java.lang.ArrayIndexOutOfBoundsException
14:08:48,761 ERROR [stderr] (default task-123) at java.lang.System.arraycopy(Native Method)
14:08:48,761 ERROR [stderr] (default task-123) at org.bouncycastle.crypto.modes.GCMBlockCipher.doFinal(Unknown Source)
14:08:48,761 ERROR [stderr] (default task-123) at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher$AEADGenericBlockCipher.doFinal(Unknown Source)
14:08:48,762 ERROR [stderr] (default task-123) at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(Unknown Source)
14:08:48,762 ERROR [stderr] (default task-123) at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:830)
14:08:48,762 ERROR [stderr] (default task-123) at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
14:08:48,762 ERROR [stder