Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am dansanabria on github.
  • I am dsanabria (https://keybase.io/dsanabria) on keybase.
  • I have a public key ASDNT9OnW2KXpJ7QIP1GuEgBGUzi9MEg_vLpmyI55_hvbQo

To claim this, I am signing this object:

vagrant@includeos:/vagrant/examples/demo_service$ gdb -ex 'target remote:1234' build/IncludeOS_example
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
java.lang.NoSuchMethodError: com.google.common.collect.Maps.asMap(Ljava/util/Set;Lcom/google/common/base/Function;)Ljava/util/Map;
at com.microsoft.azure.management.appservice.implementation.WebAppBaseImpl$1.call(WebAppBaseImpl.java:452)
at com.microsoft.azure.management.appservice.implementation.WebAppBaseImpl$1.call(WebAppBaseImpl.java:443)
at rx.functions.Functions$5.call(Functions.java:141)
at rx.internal.operators.OperatorZip$Zip.tick(OperatorZip.java:252)
at rx.internal.operators.OperatorZip$Zip$InnerSubscriber.onNext(OperatorZip.java:323)
at rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:77)
at rx.internal.operators.OperatorMerge$MergeSubscriber.emitScalar(OperatorMerge.java:511)
at rx.internal.operators.OperatorMerge$MergeSubscriber.tryEmit(OperatorMerge.java:466)
at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:244)
vagrant@builder:/vagrant/examples/vuln/build$ make
[ 25%] Building CXX object CMakeFiles/service.dir/service.cpp.o
/vagrant/examples/vuln/service.cpp:19:10: fatal error: 'net/inet4' file not found
#include <net/inet4>
^~~~~~~~~~~
1 error generated.
CMakeFiles/service.dir/build.make:62: recipe for target 'CMakeFiles/service.dir/service.cpp.o' failed
make[2]: *** [CMakeFiles/service.dir/service.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/service.dir/all' failed
Install the project...
-- Install configuration: ""
-- Installing: /home/vagrant/includeos/includeos/chainloader
/vagrant
>>> IncludeOS installation Done!
To use IncludeOS set env variables for cmake to know your compiler, e.g.:
export CC="clang-5.0"
export CXX="clang++-5.0"
vagrant@rumprun-builder:/vagrant$ ./test.sh
/vagrant/examples/demo_service /vagrant
/vagrant/examples/demo_service/build /vagrant/examples/demo_service /vagrant
-- Building for arch x86_64, platform x86_pc
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <unistd.h>
#define BUFFER_SIZE 1000
vagrant@ubuntu-xenial:/vagrant/examples/vuln/build$ cmake .. [61/382]
-- Building for arch x86_64, platform x86_pc
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
provider "azurerm" {}
variable "location" {
default = "UK South"
}
variable "env" {
default = "int"
}
root@b920eeaae8e3:/inspec-azure# bundle exec rake test:run_integration_tests
----> Run
bundle exec inspec exec test/integration/verify
/root/.azure/credentials was not found or not accessible
bundler: failed to load command: inspec (/inspec-azure/vendor/bundle/ruby/2.4.0/bin/inspec)
NoMethodError: undefined method `sections' for nil:NilClass
libraries/azure_backend.rb:93:in `azure_subscription_id'
libraries/azure_backend.rb:56:in `spn'
libraries/azure_backend.rb:43:in `connection'
libraries/azure_backend.rb:217:in `initialize'