Skip to content

Instantly share code, notes, and snippets.

View aeyakovenko's full-sized avatar

anatoly yakovenko aeyakovenko

View GitHub Profile
ayakovenko-ubuntu:minuteman root$ make ct
./rebar3 as test ct --sname=me@localhost
===> Verifying dependencies...
===> Compiling minuteman
===> Running Common Test suites...
----------------------------------------------------
2016-09-13 11:22:25.913
ct_slave:start returned 'minuteman_ct_latency_observer_SUITE_TEST@ayakovenko-ubuntu'
{auto_skipped,
{failed,
{minuteman_ct_latency_observer_SUITE,init_per_testcase,
{{badmatch,
root@ayakovenko-ubuntu:/home/ayakovenko/Public/minuteman# ./rebar3 shell --config app.config.dev
===> Verifying dependencies...
===> Compiling minuteman
Erlang/OTP 19 [erts-8.0] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:0] [kernel-poll:false]
Eshell V8.0 (abort with ^G)
1> ===> The rebar3 shell is a development tool; to deploy applications in production, consider using releases (http://www.rebar3.org/v3.0/docs/releases)
15:47:10.536 [debug] Lager installed handler error_logger_lager_h into error_logger [322/500]
15:47:10.553 [debug] Supervisor gr_param_sup started gr_param:start_link(gr_lager_default_tracer_params) at pid <0.473.0>
15:47:10.553 [debug] Supervisor gr_counter_sup started gr_counter:start_link(gr_lager_default_tracer_counters) at pid <0.474.0>
MESOS_NATIVE_JAVA_LIBRARY is not set. Searching in /usr/lib /usr/local/lib.
MESOS_NATIVE_LIBRARY, MESOS_NATIVE_JAVA_LIBRARY set to '/usr/lib/libmesos.so'
[2016-08-22 14:24:16,689] INFO Starting Marathon 1.4.0-SNAPSHOT/547fdeb8612cd0c5b1b44586ac612ddbb8fa9060 with --master local --zk zk://localhost:2181/marathon (mesosphere.marathon.Main$:main)
[2016-08-22 14:24:17,131] WARN Method [public javax.ws.rs.core.Response mesosphere.marathon.api.MarathonExceptionMapper.toResponse(java.lang.Throwable)] is synthetic and is being intercepted by [mesosphere.marathon.DebugModule$MetricsBehavior@61f3fbb8]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all. (com.google.inject.internal.ProxyFactory:main)
[2016-08-22 14:24:17,373] INFO Logging initialized @2309ms (org.eclipse.jetty.util.log:main)
[2016-08-22 14:24:17,845] INFO Slf4jLogger started (akka.event.slf4j.Slf4jLogger:marathon-akka.actor.default-dispatcher-5)
[2016-08-22 14:24:18,022] WARN session timeout [10000] is less
$ ./bin/start --master local --zk zk://localhost:2181/marathon
MESOS_NATIVE_JAVA_LIBRARY is not set. Searching in /usr/lib /usr/local/lib.
MESOS_NATIVE_LIBRARY, MESOS_NATIVE_JAVA_LIBRARY set to '/usr/lib/libmesos.so'
[2016-08-22 13:25:09,347] INFO Starting Marathon 1.3.0-RC4/unknown with --master local --zk zk://localhost:2181/marathon (mesosphere.marathon.Main$:main)
[2016-08-22 13:25:09,781] WARN Method [public javax.ws.rs.core.Response mesosphere.marathon.api.MarathonExceptionMapper.toResponse(java.lang.Throwable)] is synthetic and is being intercepted by [mesosphere.marathon.DebugModule$MetricsBehavior@70e3f36f]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all. (com.google.inject.internal.ProxyFactory:main)
[2016-08-22 13:25:09,990] INFO Logging initialized @2115ms (org.eclipse.jetty.util.log:main)
[2016-08-22 13:25:10,445] INFO Slf4jLogger started (akka.event.slf4j.Slf4jLogger:marathon-akka.actor.default-dispatcher-3)
[2016-08-22 13:25:10,628] INFO Start
package main.main
import io.finch._
import com.twitter.finagle.Http
import com.twitter.finagle.http.Response
import com.twitter.util.Future
import io.circe._
import io.circe.syntax._
import io.finch.circe._
object Main {
161. Waiting for source changes... (press enter to interrupt)
[info] Compiling 64 Scala sources to /Users/anatolyy/cosmos/cosmos-server/target/scala-2.11/classes...
[error] /Users/anatolyy/cosmos/cosmos-server/src/main/scala/com/mesosphere/cosmos/Cosmos.scala:43: ambigu
ous implicit values:
[error] both value packageListDecoder in object MediaTypedDecoders of type => com.mesosphere.cosmos.circ
e.MediaTypedDecoder[com.mesosphere.cosmos.rpc.v1.model.ListRequest]
[error] and value packageListVersionsDecoder in object MediaTypedDecoders of type => com.mesosphere.cosm
os.circe.MediaTypedDecoder[com.mesosphere.cosmos.rpc.v1.model.ListVersionsRequest]
[error] match expected type com.mesosphere.cosmos.circe.MediaTypedDecoder[Req]
[error] route(post("package" / "install"), packageInstallHandler)(RequestReaders.standard)
> scalastyleGenerateConfig
[success] created: /Users/ayakovenko/cosmos/scalastyle-config.xml
[success] created: /Users/ayakovenko/cosmos/scalastyle-config.xml
[success] created: /Users/ayakovenko/cosmos/scalastyle-config.xml
[success] created: /Users/ayakovenko/cosmos/scalastyle-config.xml
[success] Total time: 1 s, completed Aug 1, 2016 1:11:30 PM
> scalastyle
[info] scalastyle using config /Users/ayakovenko/cosmos/scalastyle-config.xml
[info] scalastyle using config /Users/ayakovenko/cosmos/scalastyle-config.xml
[info] scalastyle using config /Users/ayakovenko/cosmos/scalastyle-config.xml
package org.apache.mesos.edsl
import cats.{Applicative,Functor}
import cats.data.{XorT,StateT}
package object control {
type ErrorTStateT[F[_], S, A] = XorT[({type l[X] = StateT[F, S, X]})#l, String, A]
def bail[F[_], S, A](msg: String)(implicit I1: Applicative[F], I2: Functor[({type l[X] = StateT[F, S, X]})#l]): ErrorTStateT[F, S, A] =
XorT.left[({type l[X] = StateT[F, S, X]})#l, String, A](StateT.pure[F, S, String](msg))
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" dein
" run
" curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
" sh ./installer.sh ~/.dein # or specify the installation directory
" call dein#install()
if &compatible
set nocompatible
endif